:root {
    color-scheme: only light;
    --top: #0e1420;
    --header: rgba(22, 30, 44, .88);
    --blue: #0d6efd;
    --line: #d8dde5;
    --text: #242b35;
    --muted: #6b7280;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background: #080d14 url(../images/background.jpg) center top / cover fixed no-repeat;
}
a { text-decoration: none; }
.top-navbar { height: 39px; color: #fff; border-bottom: 1px solid #3e4653; background: var(--top); }
.top-navbar .container { height: 39px; }
.top-navbar a { color: #fff; font-size: 14px; }
.language-area form, .language-area select { margin: 0; }
.language-area select { width: auto; height: 28px; color: #fff; border: 0; background: transparent; }
.main-navbar { min-height: 58px; border-bottom: 1px solid #555f6b; background: var(--header); }
.main-menu { display: flex; align-items: center; justify-content: center; min-height: 58px; gap: 25px; }
.main-menu a { color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.main-menu a:hover { color: #b8d5ff; }
.mobile-menu { padding: 9px 0; background: var(--header); }
.menu-toggle { padding: 7px 15px; color: #fff; border: 1px solid #718096; background: #111827; }
.mobile-links { display: flex; flex-direction: column; gap: 5px; }
.mobile-links a { padding: 12px; color: #202733; border-bottom: 1px solid #e2e6eb; }
.server-summary { margin-top: 52px; }
.summary-card {
    display: flex;
    align-items: center;
    width: 330px;
    min-height: 102px;
    padding: 14px 18px;
    color: #fff;
    border-radius: 12px;
    background: rgba(14, 20, 32, .82);
    box-shadow: 0 7px 24px rgba(0,0,0,.28);
}
.summary-card img { width: 120px; height: auto; object-fit: contain; }
.summary-values { flex: 1; text-align: right; }
.summary-values p { margin: 0 0 7px; font-size: 13px; }
.content-shell { margin-top: 37px; margin-bottom: 60px; padding: 18px; color: #242b35 !important; background: #f8f9fa !important; box-shadow: 0 8px 28px rgba(0,0,0,.34); }
.content-main, .content-sidebar { min-height: 500px; padding: 14px; color: #242b35 !important; border: 1px solid var(--line); background: #fff !important; }
.page-heading { margin: 0 0 34px; color: #20262e; font-size: 28px; font-weight: 700; text-align: center; }
.side-card { margin-bottom: 18px; padding: 19px; color: #242b35 !important; border: 1px solid var(--line); border-radius: 7px; background: #fff !important; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.side-card h2 { margin: 0 0 18px; font-size: 18px; font-weight: 700; text-align: center; }
.midcore-login { display: grid; gap: 12px; }
.midcore-login input { width: 100%; height: 40px; padding: 0 12px; color: #242b35 !important; border: 1px solid #ccd3dc; border-radius: 5px; background: #fff !important; }
.midcore-login button { height: 39px; color: #fff; border: 0; border-radius: 20px; background: var(--blue); }
.forgot-link { color: var(--blue); font-size: 13px; text-align: center; }
.register-link { padding-top: 10px; color: var(--blue); border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; text-align: center; }
.login-error { margin-bottom: 12px; padding: 10px; color: #842029; border: 1px solid #f5c2c7; background: #f8d7da; }
.where_nav { margin-bottom: 16px; font-size: 0; }
.where_nav::after { content: "Naujausios naujienos"; font-size: 18px; font-weight: 700; }
.tema { margin-top: 16px; padding: 16px 18px; color: #20262e; border: 1px solid var(--line); border-radius: 6px 6px 0 0; background: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.news_color { color: var(--blue); margin-right: 7px; }
.news_date { float: right; color: var(--muted); font-size: 12px; font-weight: 400; }
.news_content { padding: 16px 18px; color: #4e5968; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; background: #fff; }
.author { margin-top: 15px; color: var(--muted); font-size: 12px; }
.template-news-list { display: grid; gap: 18px; margin-top: 16px; }
.template-news-item { padding: 22px; color: #20262e !important; border: 1px solid var(--line); border-radius: 7px; background: #fff !important; box-shadow: 0 2px 7px rgba(0,0,0,.08); }
.template-news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.template-news-badge { padding: 6px 10px; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-update { background: #0d6efd; }
.badge-account { background: #d69e00; }
.badge-download { background: #198754; }
.template-news-item h3 { margin: 0 0 9px; color: #20262e; font-size: 18px; font-weight: 700; }
.template-news-item p { margin: 0 0 12px; color: #596473; line-height: 1.55; }
.template-news-item a { color: var(--blue); font-weight: 600; }
#side_menu { width: 100%; }
.half { width: 100%; }
.tab { margin-bottom: 8px; }
.tab > input { position: absolute; opacity: 0; pointer-events: none; }
.tab > label { display: block; padding: 10px 12px; color: #303946 !important; border: 1px solid var(--line); background: #f5f6f8 !important; cursor: pointer; }
.tab-content { display: none; padding: 8px 12px; color: #242b35 !important; border: 1px solid var(--line); border-top: 0; background: #fff !important; }
.tab > input:checked ~ .tab-content { display: block; }
.side_menu { margin: 0; padding: 0; list-style: none; }
.side_menu a { display: block; padding: 6px 0; color: var(--blue); }
.event_timer { width: 100% !important; margin: 0 !important; font-size: 12px !important; }
.event_timer td { padding: 7px 5px !important; border-bottom: 1px solid #e5e7eb; }
.event_timer td:last-child { text-align: right; }
.module-content { overflow-x: auto; }
.module-content table { width: 100%; }
.top100-description { margin: -18px 0 24px; color: var(--muted); text-align: center; }
.top100-table { margin: 0; color: #242b35 !important; background: #fff !important; }
.top100-table th { padding: 12px 10px; color: #242b35 !important; border-bottom: 2px solid var(--line); background: #f5f6f8 !important; white-space: nowrap; }
.top100-table td { padding: 11px 10px; color: #394352 !important; border-bottom: 1px solid var(--line); background: #fff !important; vertical-align: middle; }
.top100-table tbody tr:hover td { background: #f6f9fd !important; }
.top100-table a { color: var(--blue); font-weight: 700; }
.rank-position { width: 70px; font-weight: 700; }
.top100-table tbody tr:nth-child(1) .rank-position { color: #d69e00 !important; }
.top100-table tbody tr:nth-child(2) .rank-position { color: #7a8796 !important; }
.top100-table tbody tr:nth-child(3) .rank-position { color: #b46a35 !important; }
.top100-empty { padding: 35px 10px !important; color: var(--muted) !important; text-align: center; }
.downloads-table { margin: 0; color: #242b35 !important; background: #fff !important; }
.downloads-table th { padding: 12px 10px; color: #242b35 !important; border-bottom: 2px solid var(--line); background: #f5f6f8 !important; white-space: nowrap; }
.downloads-table td { padding: 12px 10px; color: #394352 !important; border-bottom: 1px solid var(--line); background: #fff !important; vertical-align: middle; }
.downloads-table a { color: var(--blue); font-weight: 700; }
.form { padding: 18px; border: 1px solid var(--line); background: #fff; }
.form input, .form select, .form textarea { max-width: 100%; }
.site-footer { padding: 22px 0; color: #e3e7ed; background: rgba(13,19,33,.95); }
.site-footer .container { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #e3e7ed; }
@media (max-width: 991.98px) {
    .server-summary { margin-top: 25px; }
    .content-shell { margin-top: 25px; padding: 10px; }
    .content-main, .content-sidebar { border: 0; }
}
@media (max-width: 575.98px) {
    .summary-card { width: 100%; }
    .content-shell { width: calc(100% - 16px); }
    .page-heading { font-size: 22px; }
}
