/* Visuell rekonstruiert nach Wayback-Snapshots von hackthenet.org (crystal2, 2006/2010). */
html, body {
    background: #fff;
    color: #000;
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    min-height: 100%;
}
html { height: 100%; }
a { color: rgb(0, 64, 150); text-decoration: none; }
a:hover { text-decoration: underline; }
label { cursor: pointer; }
label:hover { color: red; }

h1 {
    background: #fff url(../images/logo-light.png) no-repeat 50px 0;
    border-bottom: 0;
    color: #c0c0c0;
    font-size: 12px;
    font-weight: bold;
    height: 145px;
    margin: 2px 6px 10px 0;
    padding: 0;
    position: relative;
    text-align: right;
}
h1 a {
    color: transparent;
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    text-indent: -999em;
    white-space: nowrap;
}

#generation-time {
    color: #2a6b45;
    font-size: x-small;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 14px;
}
#clock {
    color: #2a6b45;
    font-size: small;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 36px;
}
#app-version {
    color: #2a6b45;
    font-size: small;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 56px;
}

#theme-switch {
    position: absolute;
    right: 10px;
    top: 78px;
    margin: 0;
    z-index: 6;
}
#theme-switch button {
    -webkit-appearance: none;
    appearance: none;
    background: #e8e8e8;
    border: 1px solid #000;
    color: #111;
    -webkit-text-fill-color: #111;
    font: 11px Verdana, Arial, sans-serif;
    padding: 2px 8px;
    cursor: pointer;
}
td .captcha-reload {
    margin-left: 8px;
    font-size: 11px;
    white-space: nowrap;
}

div.content {
    margin: 0 140px 10px 0;
    padding: 0 10px 10px;
}

h2.pagetitle {
    background-repeat: no-repeat;
    border-style: none none solid;
    border-width: 1px;
    border-color: rgb(192, 192, 192);
    color: rgb(128, 128, 128);
    font-size: 24px;
    margin: 0 0 20px;
    padding: 20px 20px 20px 80px;
    text-transform: uppercase;
}
#public h2.pagetitle { display: none; }

h2:not(.pagetitle), h3 {
    background-repeat: no-repeat;
    font-size: 14px;
    height: 32px;
    margin: 40px 0 2px 80px;
    padding: 5px 40px;
    text-decoration: underline;
}
h4 {
    font-size: 12px;
    margin: 40px 0 10px 80px;
}
p, .browser-note, .powered { margin: 0 0 10px 80px; }
ul { margin-left: 80px; list-style-type: square; }
ul li { margin-bottom: 5px; }

table {
    font-size: 12px;
    margin: 10px 0 10px 80px;
    border: 1px solid rgb(192, 192, 192);
    border-collapse: separate;
    border-spacing: 2px;
}
table.form {
    border: 0;
    border-spacing: 0;
}
th {
    background: rgb(213, 213, 213);
    font-weight: bold;
    padding: 5px;
    text-align: left;
    vertical-align: middle;
}
thead th, tr.head th {
    color: #fff;
    background: #7a7a9a url(../images/tr_head_bg.gif) repeat-x;
    white-space: nowrap;
}
td {
    background: rgb(229, 229, 229);
    padding: 5px;
    vertical-align: middle;
}
table.form th, table.form td { background: transparent; }
table.form th { text-align: right; width: 140px; white-space: nowrap; }
table.kv {
    border-collapse: separate;
    border-spacing: 2px;
}
table.kv th {
    background: rgb(213, 213, 213);
    font-weight: bold;
    width: 260px;
    text-align: left;
    white-space: nowrap;
}
table ul { margin: 0 0 0 18px; padding: 0; }
table.kv td { background: rgb(229, 229, 229); }
.req-ok { color: #008000; }
.req-miss { color: #d00; }
div.pgb {
    padding: 0;
    border: 1px solid rgb(192, 192, 192);
    display: block;
    width: 220px;
    height: 21px;
    position: relative;
    background: #fff;
    margin: 4px 0;
}
div.pgb div.inner_pgb {
    position: absolute;
    left: 0;
    top: 0;
    height: 21px;
    background: rgb(68, 68, 170);
    transition: width 0.1s linear;
}
hr.hc-queue-sep {
    border: 0;
    border-top: 1px solid rgb(192, 192, 192);
    margin: 6px 0;
}
div.hc-queue { line-height: 1.45; }
span.live-eta { font-weight: bold; }
div.sig {
    background: rgb(229, 229, 229);
    border: 1px solid rgb(192, 192, 192);
    padding: 8px;
    margin: 8px 0 10px 80px;
    max-width: 480px;
}
div.pgb span.inner_pgb_label {
    position: relative;
    display: block;
    text-align: center;
    font-weight: bold;
    line-height: 21px;
    z-index: 1;
}
div.sub_navi {
    float: left;
    border-right: 1px solid rgb(192, 192, 192);
    width: 183px;
}
div.sub_navi ul { margin: 0; padding: 0 0 0 10px; }
div.sub_navi ul li { list-style: none; margin: 0 0 5px 17px; }
div.sub_navi ul li.main { font-weight: bold; margin: 0 0 5px 0; }
div.sub_navi ul li.main::before { content: "▶ "; font-size: 9px; }
div.sub_navi a.here { font-weight: bold; }
form.wiki-search { margin: 0 0 10px 10px; }
form.wiki-search p { margin: 0 0 6px; }
form.wiki-search input[type=text] { width: 150px; }
div.subnavi_content { margin: 0 0 0 185px; }
div.subnavi_content h3 { margin-left: 20px; }
div.subnavi_content p,
div.subnavi_content table,
div.subnavi_content ul,
div.subnavi_content ol { margin-left: 20px; }
div.subnavi_content h3:first-child { margin-top: 0; }
div.subnavi_content ul.wiki-index {
    columns: 2;
    column-gap: 28px;
    padding-left: 18px;
}
div.subnavi_content ul.wiki-index li { break-inside: avoid; }
p.wiki-also { font-size: 11px; }
table.wiki td { vertical-align: top; }
div.subnavi_content form { margin: 0 0 12px 20px; }
div.subnavi_content form.inline { margin: 0; }
div.subnavi_content textarea.news-body {
    width: 92%;
    max-width: 520px;
    height: 140px;
}
span.st-banned { color: #a00; font-weight: bold; }
span.st-active { color: rgb(0, 136, 0); }
span.st-vacation { color: #a60; }
span.st-other { color: #555; }
#admin table td small { color: #555; }
div.subnavi_content code {
    font: 11px Consolas, "Courier New", monospace;
    background: #eee;
    padding: 0 3px;
}

input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], select, textarea,
input.stylish, textarea.stylish {
    background: rgb(240, 240, 240) url(../images/input-bg-fade.png) repeat-x;
    border: 1px solid rgb(192, 192, 192);
    font: 12px Verdana, Arial, sans-serif;
    padding: 2px;
}
input[type=text]:hover, input[type=password]:hover, input[type=email]:hover,
input[type=number]:hover, select:hover, textarea:hover,
input[type=text]:focus, input[type=password]:focus, textarea:focus {
    background-color: #fff;
    outline: none;
}
button, input[type=submit], input.flatbutton {
    -webkit-appearance: none;
    appearance: none;
    background: #e8e8e8 url(../images/input-bg-fade.png) repeat-x;
    background-color: #e8e8e8;
    border: 1px solid #000;
    color: #111;
    -webkit-text-fill-color: #111;
    font: 13px Tahoma, Arial, sans-serif;
    margin: 2px;
    padding: 2px 10px;
    cursor: pointer;
}
body.theme-day button:not(.act-x),
body.theme-day input[type=submit]:not(.linkish),
body.theme-day input.flatbutton,
body.theme-day #theme-switch button,
body.theme-day #menu-toggle {
    color: #111;
    -webkit-text-fill-color: #111;
    background-color: #e8e8e8;
}

ul.navigation {
    position: absolute;
    display: block;
    margin: 10px 6px 0 0;
    padding: 0;
    right: 0;
    top: 135px;
    z-index: 5;
    background: none;
    border: none;
}
ul.navigation li {
    display: block;
    list-style: none;
    margin: 0 0 1px;
    padding: 0;
    width: 125px;
    overflow: hidden;
    background: none;
    border: none;
}
ul.navigation li a {
    background: #e0e0e0;
    border: 1px solid rgb(192, 192, 192);
    color: #000;
    display: block;
    font-size: 11px;
    padding: 4px 5px;
    text-decoration: none;
}
ul.navigation li a:hover,
ul.navigation li a.here {
    background: #cbd0de;
    border-color: rgb(10, 36, 106);
    text-decoration: none;
}
ul.navigation a b {
    font-size: 12px;
    font-weight: bold;
}
ul.navigation li.navmeta {
    font-style: italic;
    font-size: 11px;
    padding: 4px 5px 2px;
    background: none;
    border: none;
    color: #000;
}
ul.navigation li.badge {
    font-size: 10px;
    color: #a00;
    padding: 2px 5px;
}

#menu-toggle { display: none; }

div.box {
    margin: 10px 35px 10px 80px;
    padding: 4px;
}
div.box h3 {
    float: right;
    margin: 0;
    padding: 3px;
    text-decoration: none;
    font-size: 10px;
    height: auto;
    background: none;
}
div.box.success, div.box.ok { background: #d5f5d5; border: 1px solid #2e842e; }
div.box.info, div.box.warn { background: #ffffdf; border: 1px solid #afaf00; }
div.box.error { background: #ffe5e5; border: 1px solid #d00; }
span.useronline, .ok { color: rgb(0, 160, 0); font-weight: bold; }
div.profile-head {
    margin: 0 0 12px 80px;
    max-width: 640px;
}
img.profile-banner {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid rgb(192, 192, 192);
}
form.profile-report {
    margin: 4px 0 0;
    text-align: center;
}
form.profile-report input.linkish,
input[type=submit].linkish {
    background: none;
    border: 0;
    color: rgb(0, 64, 150);
    font: 12px Verdana, Arial, sans-serif;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-decoration: none;
}
form.profile-report input.linkish:hover,
input[type=submit].linkish:hover { text-decoration: underline; }
p.bb-error {
    color: #8b0000;
    font-weight: bold;
    max-width: 640px;
}
div.profile-about {
    margin: 8px 0 14px 80px;
    max-width: 640px;
    line-height: 1.45;
}
span.bb-u { text-decoration: underline; }
textarea.profile-about-edit { width: 360px; height: 140px; }
div.subnavi_content textarea.profile-about-edit {
    width: 92%;
    max-width: 520px;
}
div.subnavi_content .box { margin-left: 20px; }
#user-config img.profile-banner,
#cluster img.profile-banner { max-width: 360px; max-height: 160px; object-fit: cover; }
#cluster div.profile-head img.profile-banner { max-width: 640px; max-height: none; object-fit: unset; }
span.debit, td.debit { color: red; }
#credits { font-style: italic; }
.muted, small.src { color: #666; font-size: 11px; }
img.ico { display: none; }
table img.ico, table img.extra-ico { display: inline; vertical-align: middle; border: 0; }
table img.extra-ico { width: 32px; height: 32px; }

#mainpage-news > div {
    margin: 10px 0 10px 80px;
    padding: 0;
    border: 1px solid rgb(192, 192, 192);
}
#mainpage-news > div > h4 {
    background: rgb(229, 229, 229);
    margin: 2px;
    padding: 5px;
}
#mainpage-news > div > div {
    display: block;
    margin: 2px;
    padding: 10px 10px 10px 84px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
    min-height: 80px;
}
#mainpage-news .news-info { background-image: url(../crystal/64/info.png); }
#mainpage-news .news-pc { background-image: url(../crystal/64/computer.png); }
#mainpage-news .news-tip { background-image: url(../crystal/64/tip.png); }
#mainpage-news .news-ok { background-image: url(../crystal/64/ok.png); }
#mainpage-news .news-important { background-image: url(../crystal/64/important.png); }
#mainpage-news p { margin-left: 0; }
#mainpage-news > h3 { margin-top: 0; }

#infocenter h2.pagetitle { background-image: url(../crystal/64/info.png); }
#hackcenter h2.pagetitle { background-image: url(../crystal/64/network.png); }
#hardware h2.pagetitle { background-image: url(../crystal/64/hardware.png); }
#pc h2.pagetitle { background-image: url(../crystal/64/computer.png); }
#software-shop h2.pagetitle { background-image: url(../crystal/64/kpackage.png); }
#messages h2.pagetitle { background-image: url(../crystal/64/mail.png); }
#cluster h2.pagetitle { background-image: url(../crystal/64/cluster.png); }
#user-config h2.pagetitle { background-image: url(../crystal/64/settings.png); }
#user-info h2.pagetitle { background-image: url(../crystal/64/user.png); }
#help h2.pagetitle, #wiki h2.pagetitle { background-image: url(../crystal/64/help.png); }
#opc h2.pagetitle { background-image: url(../crystal/64/attack1.png); }
#syslogs h2.pagetitle { background-image: url(../crystal/64/syslogs.png); }
#auction h2.pagetitle { background-image: url(../crystal/64/abook.png); }
#admin h2.pagetitle { background-image: url(../crystal/64/footstep.png); }
#register h2.pagetitle { background-image: url(../crystal/64/signup.png); }
#bank h2.pagetitle { background-image: url(../crystal/64/bank.png); }
#subnet h2.pagetitle { background-image: url(../crystal/64/subnet.png); }
#lottery h2.pagetitle { background-image: url(../crystal/64/lottery.png); }
#research h2.pagetitle { background-image: url(../crystal/64/research.png); }
#income h2.pagetitle { background-image: url(../crystal/64/spread.png); }
#transfer h2.pagetitle { background-image: url(../crystal/64/transmit.png); }
#support h2.pagetitle { background-image: url(../crystal/64/kmail.png); }
#ranking h2.pagetitle { background-image: url(../crystal/64/chart.png); }
#stats h2.pagetitle { background-image: url(../crystal/64/sysguard.png); }
#privacy h2.pagetitle { background-image: url(../crystal/64/lock.png); }
#notepad h2.pagetitle { background-image: url(../crystal/64/notes.png); }

.formgrid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 6px 8px;
    max-width: 540px;
    margin: 10px 0 10px 80px;
    align-items: center;
}
div.content > form { margin: 0 0 10px 80px; }
div.content > form table { margin-left: 0; }
div.content > form p { margin-left: 0; }

h3.info, .info h3 { background-image: url(../crystal/32/info.png); }
h3.tip, .tip h3 { background-image: url(../crystal/32/tip.png); }
h3.statistic { background-image: url(../crystal/32/statistic.png); }
h3.signup, h3.login, #public-login h3 { background-image: url(../crystal/32/signup.png); }
h3.pc { background-image: url(../crystal/32/computer.png); }
h3.hardware, h3.mb { background-image: url(../crystal/32/hardware.png); }
h3.mail { background-image: url(../crystal/32/mail.png); }
h3.cluster { background-image: url(../crystal/32/cluster.png); }
h3.config { background-image: url(../crystal/32/settings.png); }
h3.help { background-image: url(../crystal/32/help.png); }
h3.user { background-image: url(../crystal/32/user.png); }
h3.keys { background-image: url(../crystal/32/password.png); }
h3.software { background-image: url(../crystal/32/software.png); }
h3.research { background-image: url(../crystal/32/research.png); }
h3.makemoney { background-image: url(../crystal/32/makemoney.png); }
h3.attack { background-image: url(../crystal/32/attack2.png); }
h3.download { background-image: url(../crystal/32/download.png); }
h3.transfer { background-image: url(../crystal/32/transmit.png); }
h3.identity { background-image: url(../crystal/32/identity.png); }
h3.edit { background-image: url(../crystal/32/edit.png); }
h3.document { background-image: url(../crystal/32/document.png); }
h3.ram { background-image: url(../crystal/32/memory.png); }
h3.cpu { background-image: url(../crystal/32/cpu.png); }
h3.hdd { background-image: url(../crystal/32/hdd.png); }
h3.ok, .ok h3 { background-image: url(../crystal/32/ok.png); }
h3.error, .error h3 { background-image: url(../crystal/32/stop.png); }
h3.important { background-image: url(../crystal/32/important.png); }
h3.work { background-image: url(../crystal/32/work.png); }
h3.search { background-image: url(../crystal/32/search.png); }
h3.package { background-image: url(../crystal/32/package.png); }
h3.folder { background-image: url(../crystal/32/folder.png); }
h3.netconn { background-image: url(../crystal/32/pipe.png); }
h3.login { background-image: url(../crystal/32/signup.png); }
h3.whoson { background-image: url(../crystal/32/user.png); }
h3.upgrade { background-image: url(../crystal/32/upgrade.png); }
h3.wrench { background-image: url(../crystal/32/wrench.png); }
h3.misc { background-image: url(../crystal/32/misc.png); }
h3.board { background-image: url(../crystal/32/folder.png); }
h3.techtree { background-image: url(../crystal/32/package.png); }
h3.lottery { background-image: url(../crystal/32/lottery.png); }
h3.bank { background-image: url(../crystal/32/bank.png); }
h3.notes { background-image: url(../crystal/32/notes.png); }
h3.support { background-image: url(../crystal/32/kmail.png); }
h3.privacy { background-image: url(../crystal/32/lock.png); }
h3.cards { background-image: url(../crystal/32/cards.png); }

table.tt td ul { margin: 0 0 0 18px; padding: 0; list-style-type: square; }
table.tt td ul li { margin: 0 0 2px; }
table.tt img.ico { margin-left: 4px; }

ul.fn { margin: 0; padding: 0; list-style: none; }
table ul.fn { margin: 0; padding: 0; }
ul.fn li { margin: 0 0 3px; }
ul.fn li.fn-alert a { font-weight: bold; color: #b33; }
body.theme-night ul.fn li.fn-alert a { color: #ff8a8a; }
table.shop td { vertical-align: top; }
form.inline { display: inline; margin: 0; }
button.act-x, input.act-x {
    background: none;
    border: 0;
    color: #c00;
    font: bold 13px Verdana, Arial, sans-serif;
    cursor: pointer;
    padding: 0 4px;
    margin: 0;
}
button.act-x:hover { color: #f00; text-decoration: underline; }
table.income-svc td { vertical-align: top; }
table.income-svc ul.fn { margin: 0; padding: 0; list-style: none; }
table.income-svc ul.fn li { margin: 0 0 3px; }
table.shop select { max-width: 280px; }
table.queue td { vertical-align: middle; }
.svc-load { color: #444; font-size: 11px; }
table.weapons td { vertical-align: top; }
.status-ok { color: rgb(0, 136, 0); }
.status-no { color: #a00; }
.status-cd { color: #a60; }
table.cart td { vertical-align: middle; }
form.hw-filter { margin: 8px 0 10px 80px; }
form.hw-filter input[type=number] { width: 64px; }
textarea { width: 220px; }
td ul.fn li { margin: 0 0 3px; line-height: 1.35; }
.rights-editor label { display: block; margin: 3px 0; }
.rights-editor input[type=checkbox] { margin-right: 6px; }
a.cl-ico { margin-left: 4px; font-size: 11px; }

body.style-crystallica ul.navigation {
    width: 8px;
    overflow: hidden;
}
body.style-crystallica ul.navigation:hover,
body.style-crystallica ul.navigation:focus-within {
    width: 125px;
}

#site-legal {
    clear: both;
    margin: 28px 140px 16px 80px;
    padding-top: 8px;
    border-top: 1px solid rgb(192, 192, 192);
    color: #666;
    font-size: 11px;
}
#site-legal a { color: rgb(0, 64, 150); }

html:has(body.theme-night),
body.theme-night {
    background: #070a10;
    color: #d5deea;
    color-scheme: dark;
    scrollbar-color: #3a4d6a #0b1018;
}
body.theme-night ::selection {
    background: #245aa8;
    color: #fff;
}
body.theme-night h1 {
    background-color: #000;
    background-image: url(../images/logo-dark.png);
    border-bottom: 0;
}
body.theme-night h1 a,
body.theme-night h1 a:hover {
    color: transparent;
}
body.theme-night #generation-time,
body.theme-night #clock,
body.theme-night #app-version {
    color: #8ec8ff;
    text-shadow: 0 0 10px rgba(70, 150, 255, 0.45);
}
body.theme-night a { color: #6eb4ff; }
body.theme-night a:hover { color: #c2e0ff; }
body.theme-night a:focus-visible,
body.theme-night button:focus-visible,
body.theme-night input:focus-visible,
body.theme-night select:focus-visible,
body.theme-night textarea:focus-visible {
    outline: 1px dotted #8ec8ff;
    outline-offset: 2px;
}
body.theme-night label:hover { color: #ff9a9a; }
body.theme-night h2.pagetitle {
    border-color: #243044;
    color: #9eb0c8;
}
body.theme-night h2:not(.pagetitle),
body.theme-night h3 {
    color: #e6edf7;
}
body.theme-night h4 { color: #b7c4d6; }
body.theme-night th {
    background: #1a2436;
    color: #dbe6f4;
}
body.theme-night thead th,
body.theme-night tr.head th {
    color: #f2f7ff;
    background: #163868 url(../images/tr_head_bg.gif) repeat-x;
}
body.theme-night td {
    background: #121826;
    color: #d5deea;
}
body.theme-night table:not(.form) tbody tr:nth-child(even) > td {
    background: #161e30;
}
body.theme-night table:not(.form) tbody tr:hover > td {
    background: #1c2a44;
}
body.theme-night table { border-color: #2a3a52; }
body.theme-night table.form th,
body.theme-night table.form td { background: transparent; }
body.theme-night table.kv th { background: #1a2436; }
body.theme-night table.kv td { background: #121826; }
body.theme-night input[type=text],
body.theme-night input[type=password],
body.theme-night input[type=email],
body.theme-night input[type=number],
body.theme-night input[type=date],
body.theme-night select,
body.theme-night textarea,
body.theme-night input.stylish,
body.theme-night textarea.stylish {
    background: #101620;
    border-color: #3a4d68;
    color: #e8eef8;
}
body.theme-night input[type=text]::placeholder,
body.theme-night input[type=password]::placeholder,
body.theme-night input[type=email]::placeholder,
body.theme-night textarea::placeholder {
    color: #7d8ca3;
    opacity: 1;
}
body.theme-night option,
body.theme-night optgroup {
    background: #121826;
    color: #e8eef8;
}
body.theme-night input[type=text]:hover,
body.theme-night input[type=password]:hover,
body.theme-night input[type=email]:hover,
body.theme-night input[type=number]:hover,
body.theme-night input[type=date]:hover,
body.theme-night select:hover,
body.theme-night textarea:hover,
body.theme-night input[type=text]:focus,
body.theme-night input[type=password]:focus,
body.theme-night input[type=email]:focus,
body.theme-night input[type=number]:focus,
body.theme-night input[type=date]:focus,
body.theme-night select:focus,
body.theme-night textarea:focus {
    background-color: #182233;
    border-color: #6eb4ff;
}
body.theme-night input:disabled,
body.theme-night select:disabled,
body.theme-night textarea:disabled {
    opacity: 0.55;
}
body.theme-night button:not(.act-x),
body.theme-night input[type=submit]:not(.linkish),
body.theme-night input.flatbutton,
body.theme-night #theme-switch button,
body.theme-night #menu-toggle {
    background: #152036;
    border-color: #4a7ec8;
    color: #e8eef8;
    -webkit-text-fill-color: #e8eef8;
}
body.theme-night button:not(.act-x):hover,
body.theme-night input[type=submit]:not(.linkish):hover,
body.theme-night input.flatbutton:hover,
body.theme-night #theme-switch button:hover,
body.theme-night #menu-toggle:hover {
    background: #1e3358;
    border-color: #8ec8ff;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
body.theme-night ul.navigation li a {
    background: #121a28;
    border-color: #2a3a52;
    color: #d5deea;
}
body.theme-night ul.navigation li a:hover {
    background: #1a2c48;
    border-color: #4a7ec8;
    color: #f2f7ff;
}
body.theme-night ul.navigation li a.here {
    background: #163056;
    border-color: #6eb4ff;
    color: #fff;
    box-shadow: inset 3px 0 0 #6eb4ff;
}
body.theme-night ul.navigation li.navmeta { color: #8b97ab; }
body.theme-night ul.navigation li.badge { color: #ff8a8a; }
body.theme-night #credits { color: #c8d8ec; }
body.theme-night div.pgb {
    background: #0b1018;
    border-color: #2a3a52;
}
body.theme-night div.pgb div.inner_pgb { background: #2f62c8; }
body.theme-night div.pgb span.inner_pgb_label {
    color: #f2f7ff;
    text-shadow: 0 1px 2px #000;
}
body.theme-night div.sig,
body.theme-night #mainpage-news > div {
    background: #121826;
    border-color: #2a3a52;
}
body.theme-night #mainpage-news > div > h4 { background: #1a2436; }
body.theme-night div.box.success,
body.theme-night div.box.ok { background: #102818; border-color: #2e842e; color: #c8f0c8; }
body.theme-night div.box.info,
body.theme-night div.box.warn { background: #2a2610; border-color: #8a8400; color: #f0e8a8; }
body.theme-night div.box.error { background: #2a1214; border-color: #d00; color: #ffc8c8; }
body.theme-night .req-ok,
body.theme-night .status-ok,
body.theme-night span.useronline,
body.theme-night .ok,
body.theme-night span.st-active { color: #6edc7a; }
body.theme-night .req-miss,
body.theme-night .status-no,
body.theme-night span.debit,
body.theme-night td.debit,
body.theme-night span.st-banned { color: #ff8a8a; }
body.theme-night span.st-vacation,
body.theme-night .status-cd { color: #e0b05a; }
body.theme-night .muted,
body.theme-night small.src,
body.theme-night #admin table td small,
body.theme-night span.st-other { color: #8b97ab; }
body.theme-night div.sub_navi { border-color: #2a3a52; }
body.theme-night div.sub_navi a.here { color: #c2e0ff; }
body.theme-night code,
body.theme-night div.subnavi_content code {
    background: #1a2436;
    color: #d5deea;
}
body.theme-night #site-legal { border-color: #2a3a52; color: #8b97ab; }
body.theme-night #site-legal a { color: #6eb4ff; }
body.theme-night hr.hc-queue-sep { border-top-color: #2a3a52; }
body.theme-night img.profile-banner { border-color: #2a3a52; }
body.theme-night form.profile-report input.linkish,
body.theme-night input[type=submit].linkish {
    background: none;
    border: 0;
    color: #6eb4ff;
}
body.theme-night p.bb-error { color: #ff9a9a; }
body.theme-night .svc-load { color: #8b97ab; }
body.theme-night button.act-x {
    background: none;
    border: 0;
    color: #ff8a8a;
}

@media (max-width: 800px) {
    h1 {
        background-position: 10px 0;
        background-size: 312px 72px;
        height: 80px;
        margin-bottom: 0;
    }
    #generation-time,
    #clock,
    #app-version,
    #theme-switch {
        position: static;
    }
    #generation-time,
    #clock,
    #app-version {
        display: inline-block;
        margin: 0 10px 0 0;
        font-size: 11px;
    }
    #theme-switch {
        display: inline-block;
        margin: 0 8px 0 0;
        vertical-align: middle;
    }
    button:not(.act-x),
    input[type=submit]:not(.linkish),
    input.flatbutton,
    #theme-switch button,
    #menu-toggle {
        -webkit-appearance: none;
        appearance: none;
        color: #111;
        -webkit-text-fill-color: #111;
        background-color: #e8e8e8;
        background-image: none;
        border: 1px solid #000;
    }
    #theme-switch button,
    #menu-toggle {
        min-height: 40px;
        min-width: 44px;
        padding: 8px 12px;
        font-size: 13px;
    }
    body.theme-night button:not(.act-x),
    body.theme-night input[type=submit]:not(.linkish),
    body.theme-night input.flatbutton,
    body.theme-night #theme-switch button,
    body.theme-night #menu-toggle {
        color: #e8eef8;
        -webkit-text-fill-color: #e8eef8;
        background: #152036;
        border-color: #4a7ec8;
    }
    #menu-toggle {
        display: inline-block;
        margin: 8px 8px 8px 10px;
        font: 13px Verdana, Arial, sans-serif;
        cursor: pointer;
    }
    div.content {
        margin: 0;
        padding: 0 10px 16px;
        overflow-x: auto;
    }
    ul.navigation {
        position: static;
        width: auto;
        max-width: none;
        margin: 0 10px 12px;
        padding: 0;
        right: auto;
        top: auto;
        background: #f4f4f4;
        border: 1px solid rgb(192, 192, 192);
    }
    body.theme-night ul.navigation {
        background: #0d1420;
        border-color: #2a3a52;
    }
    ul.navigation li,
    ul.navigation li a {
        width: auto;
    }
    ul.navigation li a {
        padding: 10px 12px;
        font-size: 14px;
        min-height: 20px;
    }
    ul.navigation a b { font-size: 14px; }
    body.style-crystallica ul.navigation,
    body.style-crystallica ul.navigation:hover,
    body.style-crystallica ul.navigation:focus-within {
        width: auto;
        overflow: visible;
    }
    body:not(.menu-open) ul.navigation { display: none; }
    body.menu-open ul.navigation { display: block; }
    p, h2:not(.pagetitle), h3, h4, table, ul, .formgrid, div.content > form,
    div.profile-head, div.profile-about, form.hw-filter, div.box, div.sig,
    #mainpage-news > div {
        margin-left: 0;
    }
    h2:not(.pagetitle), h3 {
        margin-left: 0;
        padding-left: 40px;
    }
    h2.pagetitle {
        padding: 12px 8px 12px 72px;
        background-size: 48px 48px;
        background-position: 8px center;
        font-size: 20px;
        margin-bottom: 12px;
    }
    div.sub_navi {
        float: none;
        width: auto;
        border: 0;
        border-bottom: 1px solid rgb(192, 192, 192);
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    body.theme-night div.sub_navi { border-bottom-color: #2a3a52; }
    div.subnavi_content { margin: 0; }
    div.subnavi_content h3,
    div.subnavi_content p,
    div.subnavi_content table,
    div.subnavi_content ul,
    div.subnavi_content ol,
    div.subnavi_content form,
    div.subnavi_content .box { margin-left: 0; }
    div.subnavi_content ul.wiki-index { columns: 1; }
    .formgrid {
        grid-template-columns: 1fr;
        max-width: none;
    }
    table { margin-left: 0; }
    #site-legal { margin: 16px 10px; }
    img.ico { display: inline; }
    textarea,
    textarea.profile-about-edit,
    div.subnavi_content textarea.news-body,
    div.subnavi_content textarea.profile-about-edit {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=number],
    select { max-width: 100%; box-sizing: border-box; }
}

/* PC-Modi */
.pc-modes .hint { font-size: 0.92em; opacity: 0.85; margin-top: 4px; }
.pc-modes form.inline { display: inline; margin: 0 0 0 8px; }
.pc-modes th { width: 7.5em; vertical-align: top; }

