
@import url("../../prosilver/theme/stylesheet.css");

/* =========================================================
   SlayDistrict Premium — phpBB 3.3.17
   Slightly lighter dark / glass / blue-red gaming design
   ========================================================= */

:root {
    --sd-bg: #111923;
    --sd-bg-2: #17212d;
    --sd-panel: rgba(31, 43, 56, .92);
    --sd-panel-soft: rgba(40, 53, 68, .84);
    --sd-line: rgba(152, 177, 205, .16);
    --sd-blue: #1888ff;
    --sd-blue-2: #57b4ff;
    --sd-red: #f04455;
    --sd-green: #33d17a;
    --sd-gold: #f3b93f;
    --sd-text: #f5f8fb;
    --sd-muted: #aebdcb;
    --sd-shadow: 0 18px 50px rgba(0, 0, 0, .30);
    --sd-radius: 15px;
}

html, body {
    min-height: 100%;
    background: #0b121a;
}

body {
    color: var(--sd-text);
    background:
        linear-gradient(rgba(8, 15, 23, .70), rgba(8, 15, 23, .82)),
        url("./images/sd-wallpaper.png") center top / cover fixed no-repeat;
    font-family: "Segoe UI", Arial, sans-serif;
}

.wrap {
    max-width: 1450px;
    padding: 0 22px;
    background: transparent;
    border: 0;
}

#page-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(13, 20, 29, .88);
    border-bottom: 1px solid var(--sd-line);
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
}

.headerbar {
    min-height: 74px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.headerbar .inner {
    display: flex;
    align-items: center;
    min-height: 74px;
}

.site-description {
    float: none;
    width: auto;
    margin: 0;
}

.site-description h1,
.site-description p {
    display: none;
}

.site_logo {
    width: 245px;
    height: 50px;
    background: url("./images/slaydistrict-logo.svg") center left / contain no-repeat;
}

.search-header {
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    border: 1px solid var(--sd-line);
}

.navbar {
    background: rgba(26, 36, 48, .88);
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    color: var(--sd-text);
}

.navbar a,
.navbar li,
.navbar .icon {
    color: #dbe6ef;
}

.navbar a:hover {
    color: var(--sd-blue-2);
}

.breadcrumbs .crumb a {
    color: #dce8f1;
}

.sd-portal {
    margin-top: 18px;
}

.sd-card {
    position: relative;
    background: linear-gradient(180deg, rgba(42, 56, 72, .88), rgba(22, 32, 43, .90));
    backdrop-filter: blur(10px);
    border: 1px solid var(--sd-line);
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow);
    overflow: hidden;
}

.sd-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(87,180,255,.55), transparent);
    pointer-events: none;
}

.sd-announce {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 14px;
    padding: 12px 16px;
    color: #dce9f3;
}

.sd-announce strong {
    color: var(--sd-blue-2);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.sd-hero {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background:
        linear-gradient(90deg, rgba(12,20,29,.93) 0%, rgba(12,20,29,.71) 48%, rgba(13,19,27,.48) 100%),
        url("./images/hero-bg.svg") center / cover no-repeat;
}

.sd-hero-copy {
    padding: 64px 54px;
    align-self: center;
}

.sd-kicker {
    color: var(--sd-blue-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sd-hero h1 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.05em;
}

.sd-hero h1 span {
    color: var(--sd-blue);
    text-shadow: 0 0 24px rgba(24,136,255,.20);
}

.sd-hero p {
    max-width: 640px;
    color: #b9c7d4;
    font-size: 16px;
    line-height: 1.65;
}

.sd-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
    transition: .2s ease;
}

.sd-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(87,180,255,.50);
    text-decoration: none;
}

.sd-btn-primary {
    background: linear-gradient(180deg, #2296ff, #0876e7);
    border-color: rgba(113,194,255,.48);
    box-shadow: 0 10px 28px rgba(24,136,255,.22);
}

.sd-btn-red {
    background: linear-gradient(180deg, #fa5a69, #d92f42);
}

.sd-hero-side {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
}

.sd-mini-stats {
    width: min(420px, 100%);
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    backdrop-filter: blur(14px);
    background: rgba(17,27,38,.72);
    border: 1px solid var(--sd-line);
    border-radius: 13px;
}

.sd-stat {
    text-align: center;
    padding: 10px 4px;
}

.sd-stat strong {
    display: block;
    color: #fff;
    font-size: 22px;
}

.sd-stat span {
    display: block;
    margin-top: 4px;
    color: #8fa2b3;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sd-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sd-line);
}

.sd-section-title h2,
.sd-section-title h3 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sd-section-title small {
    color: var(--sd-muted);
}

.sd-server-wrap {
    margin-top: 14px;
}

.sd-server-grid {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sd-server {
    min-height: 128px;
    padding: 14px;
    background: rgba(15,23,32,.58);
    border: 1px solid var(--sd-line);
    border-radius: 12px;
}

.sd-server-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sd-server-name {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.sd-online {
    color: var(--sd-green);
    font-weight: 800;
    font-size: 11px;
}

.sd-offline {
    color: var(--sd-red);
    font-weight: 800;
    font-size: 11px;
}

.sd-server-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    color: #9fb0bf;
    font-size: 11px;
}

.sd-server-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.sd-playerbar {
    flex: 1;
    height: 7px;
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    overflow: hidden;
}

.sd-playerbar > span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--sd-blue), #50b4ff);
    border-radius: inherit;
}

.sd-ad-area {
    margin-top: 14px;
    padding: 15px;
}

.sd-ad-label {
    margin-bottom: 10px;
    color: #aab9c7;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.sd-ad-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sd-ad {
    width: 468px;
    max-width: 100%;
    aspect-ratio: 468 / 60;
    border: 1px dashed rgba(87,180,255,.38);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(11,18,26,.50);
}

.sd-ad img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, .72fr);
    gap: 14px;
    margin-top: 14px;
    align-items: start;
}

.sd-main,
.sd-side {
    display: grid;
    gap: 14px;
}

.sd-forum-shell {
    padding: 12px;
}

.sd-forum-shell .forabg,
.sd-forum-shell .forumbg {
    margin: 0 0 9px;
    background: rgba(19,29,39,.68);
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.sd-forum-shell .forabg .header,
.sd-forum-shell .forumbg .header {
    background: linear-gradient(90deg, rgba(24,136,255,.20), rgba(240,68,85,.10));
    color: #fff;
}

.sd-forum-shell li.row {
    background: rgba(255,255,255,.016);
    border-top-color: rgba(255,255,255,.055);
}

.sd-forum-shell li.row:hover {
    background: rgba(24,136,255,.055);
}

.sd-forum-shell a.forumtitle,
.sd-forum-shell a.topictitle {
    color: #fff;
}

.sd-forum-shell .forum-description,
.sd-forum-shell .responsive-hide,
.sd-forum-shell .lastpost {
    color: #9fb0c0;
}

.sd-widget-body {
    padding: 16px;
}

.sd-list {
    display: grid;
    gap: 10px;
}

.sd-list-item {
    padding: 11px 12px;
    background: rgba(13,21,30,.48);
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
}

.sd-list-item a {
    color: #fff;
    font-weight: 700;
}

.sd-list-item small {
    display: block;
    margin-top: 3px;
    color: #91a3b3;
}

.sd-community-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sd-num {
    padding: 13px;
    text-align: center;
    background: rgba(13,21,30,.48);
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
}

.sd-num strong {
    display: block;
    color: var(--sd-blue-2);
    font-size: 20px;
}

.sd-num span {
    display: block;
    margin-top: 4px;
    color: #94a5b4;
    font-size: 10px;
    text-transform: uppercase;
}

.sd-discord {
    background:
        radial-gradient(circle at 90% 50%, rgba(88,101,242,.28), transparent 46%),
        linear-gradient(180deg, rgba(43,53,73,.95), rgba(28,38,51,.96));
}

.sd-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.sd-feature {
    min-height: 185px;
}

.sd-feature .sd-widget-body {
    color: #b3c0cc;
    line-height: 1.55;
}

.sd-feature strong {
    color: #fff;
}

.sd-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(24,136,255,.12);
    color: var(--sd-blue-2);
    border: 1px solid rgba(24,136,255,.18);
    font-size: 10px;
    font-weight: 800;
}

.sd-poll-row {
    margin: 10px 0;
}

.sd-poll-track {
    height: 7px;
    margin-top: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

.sd-poll-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1888ff, #56b5ff);
}

.sd-footer-note {
    margin: 18px 0 6px;
    color: #8295a6;
    font-size: 11px;
    text-align: center;
}

.panel,
.post,
.bg1,
.bg2,
.bg3 {
    color: #dbe4ec;
}

.panel,
.post {
    background: rgba(35,47,61,.90);
    border: 1px solid var(--sd-line);
    border-radius: 13px;
}

.postprofile,
.content,
.signature {
    color: #d5dfe8;
}

a {
    color: var(--sd-blue-2);
}

a:hover {
    color: #8ecbff;
}

.button,
.button1,
.button2,
input.button1,
input.button2 {
    border-radius: 8px;
}

.button1 {
    background: linear-gradient(180deg, #2399ff, #0a75df);
    border-color: #399fff;
}

input.inputbox,
textarea.inputbox,
select {
    color: #e9f1f7;
    background: rgba(14,22,31,.70);
    border-color: rgba(255,255,255,.12);
    border-radius: 8px;
}

#page-footer .navbar {
    margin-top: 18px;
}

@media (max-width: 1050px) {
    .sd-hero {
        grid-template-columns: 1fr;
    }

    .sd-hero-side {
        justify-content: flex-start;
    }

    .sd-server-grid {
        grid-template-columns: 1fr;
    }

    .sd-layout {
        grid-template-columns: 1fr;
    }

    .sd-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .wrap {
        padding: 0 9px;
    }

    .sd-hero-copy {
        padding: 42px 22px;
    }

    .sd-mini-stats {
        grid-template-columns: 1fr;
    }

    .sd-community-numbers {
        grid-template-columns: 1fr 1fr;
    }

    .site_logo {
        width: 200px;
    }
}


/* =========================================================
   SD2026 V2 - forum readability + HD wallpaper + glass fixes
   ========================================================= */

#page-body,
#page-footer {
    background: transparent !important;
}

.wrap {
    background: transparent !important;
}

/* The old prosilver whites are fully neutralized */
.forabg,
.forumbg,
.panel,
.post,
.bg1,
.bg2,
.bg3,
li.row,
ul.topiclist li.row {
    background: rgba(22, 33, 45, .90) !important;
    color: #e8f0f7 !important;
}

.forabg,
.forumbg {
    border: 1px solid rgba(111, 151, 185, .20) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

.forabg .header,
.forumbg .header,
ul.topiclist .header {
    background: linear-gradient(90deg, rgba(17, 54, 89, .98), rgba(47, 31, 48, .96)) !important;
    color: #f6f9fc !important;
}

ul.topiclist .header dt,
ul.topiclist .header dd {
    color: #f6f9fc !important;
}

ul.topiclist li.row {
    border-top: 1px solid rgba(255,255,255,.055) !important;
    border-bottom: 0 !important;
}

ul.topiclist li.row:nth-child(even) {
    background: rgba(27, 40, 54, .92) !important;
}

ul.topiclist li.row:hover {
    background: rgba(36, 61, 83, .95) !important;
}

a.forumtitle,
a.topictitle,
li.row a.forumtitle,
li.row a.topictitle {
    color: #f8fbff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
}

a.forumtitle:hover,
a.topictitle:hover {
    color: #68baff !important;
}

.forum-description,
li.row .forum-description,
li.row dd,
li.row dt,
li.row .lastpost,
li.row .posts,
li.row .topics,
li.row .views,
li.row .responsive-hide,
.topic-poster,
.topic-time,
.lastpost {
    color: #aebdca !important;
}

li.row dd.lastpost a,
li.row dd.lastpost .username,
li.row dd.lastpost .username-coloured {
    color: #68baff !important;
}

li.row dd.posts,
li.row dd.topics,
li.row dd.views {
    border-left-color: rgba(255,255,255,.06) !important;
}

.list-inner,
.list-inner a,
.content,
.postbody,
.postprofile,
.signature,
.panel p,
.panel li,
.panel dd,
.panel dt {
    color: #e5edf4;
}

.pagination a,
.pagination span {
    border-radius: 6px;
}

/* More premium transparent forum shell */
.sd-card {
    background: linear-gradient(180deg, rgba(38, 52, 67, .88), rgba(18, 28, 39, .90)) !important;
    backdrop-filter: blur(10px);
}

.sd-forum-shell {
    background: rgba(8, 16, 24, .28);
    border-radius: 12px;
}

.sd-hero {
    background:
        linear-gradient(90deg, rgba(11,18,27,.88) 0%, rgba(11,18,27,.66) 50%, rgba(25,18,24,.50) 100%),
        url("./images/sd-wallpaper.png") center 36% / cover no-repeat !important;
    min-height: 365px;
}

.sd-hero-copy {
    max-width: 760px;
}

.sd-ad {
    background: rgba(12, 20, 29, .78);
}

.sd-full-btn {
    width: 100%;
    box-sizing: border-box;
}

.sd-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.sd-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(14, 24, 34, .62);
    border: 1px solid rgba(255,255,255,.07);
    color: #dce8f1 !important;
    font-weight: 700;
    text-align: center;
}

.sd-quick:hover {
    border-color: rgba(87,180,255,.35);
    background: rgba(24,136,255,.09);
    text-decoration: none;
}

.sd-rank-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sd-rank {
    min-width: 34px;
    color: var(--sd-gold);
    font-weight: 900;
    font-size: 16px;
}

.sd-spotlight {
    background:
        radial-gradient(circle at 80% 20%, rgba(24,136,255,.16), transparent 52%),
        linear-gradient(180deg, rgba(35,49,65,.90), rgba(17,27,38,.92)) !important;
}

.sd-spot-name {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.sd-spot-stat {
    margin: 7px 0 18px;
    color: #6fc0ff;
    font-size: 14px;
}

.sd-featured-topic {
    display: block;
    color: #fff !important;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.35;
}

.sd-online-total {
    color: #78caff;
    font-weight: 800;
}

@media (max-width: 700px) {
    body {
        background-attachment: scroll;
    }

    .sd-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SD2026 FINAL V3 — AUTHORITATIVE OVERRIDES
   Fixes phpBB/prosilver light rows and weak text contrast.
   ========================================================= */

html,
body {
    min-height: 100%;
    color: #eef5fa !important;
    background-color: #0a1119 !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7,13,20,.42), rgba(7,13,20,.76)),
        radial-gradient(circle at 18% 15%, rgba(24,136,255,.12), transparent 34rem),
        radial-gradient(circle at 84% 30%, rgba(240,68,85,.10), transparent 30rem);
    pointer-events: none;
}

.wrap,
#page-body,
#page-footer {
    background: transparent !important;
}

#page-header {
    background: rgba(10,17,25,.86) !important;
    backdrop-filter: blur(16px);
}

.headerbar {
    background: rgba(11,20,29,.82) !important;
    border: 1px solid rgba(110,150,185,.13) !important;
    border-radius: 0 0 14px 14px !important;
}

.navbar {
    background: rgba(24,36,49,.88) !important;
    border-color: rgba(108,151,187,.20) !important;
}

/* ---------- FORUM CATEGORY HEADERS ---------- */
#page-body .forabg,
#page-body .forumbg,
.sd-forum-shell .forabg,
.sd-forum-shell .forumbg {
    background: rgba(15,25,35,.92) !important;
    border: 1px solid rgba(85,132,171,.24) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
    overflow: hidden !important;
}

#page-body .forabg > .inner,
#page-body .forumbg > .inner {
    background: transparent !important;
}

#page-body ul.topiclist,
#page-body ul.topiclist.forums,
#page-body ul.topiclist.topics {
    background: transparent !important;
}

#page-body ul.topiclist > li.header,
#page-body .forabg li.header,
#page-body .forumbg li.header {
    background:
        linear-gradient(90deg, rgba(18,61,101,.98), rgba(35,47,62,.98) 58%, rgba(61,31,45,.94)) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(94,176,255,.23) !important;
}

#page-body ul.topiclist > li.header dt,
#page-body ul.topiclist > li.header dd,
#page-body li.header a {
    color: #f8fbff !important;
    text-shadow: none !important;
}

/* ---------- FORUM / TOPIC ROWS ---------- */
#page-body ul.topiclist li.row,
#page-body li.row,
.sd-forum-shell li.row {
    background:
        linear-gradient(90deg, rgba(25,38,52,.97), rgba(21,32,44,.96)) !important;
    border-top: 1px solid rgba(255,255,255,.055) !important;
    border-bottom: 0 !important;
}

#page-body ul.topiclist li.row:nth-child(even),
#page-body li.row:nth-child(even) {
    background:
        linear-gradient(90deg, rgba(30,44,59,.97), rgba(24,36,49,.96)) !important;
}

#page-body ul.topiclist li.row:hover,
#page-body li.row:hover {
    background:
        linear-gradient(90deg, rgba(33,61,84,.98), rgba(28,46,63,.98)) !important;
}

/* Kill every inherited white/light row */
#page-body .bg1,
#page-body .bg2,
#page-body .bg3,
#page-body .panel,
#page-body .post,
#page-body .post.bg1,
#page-body .post.bg2 {
    background-color: rgba(25,38,52,.94) !important;
    background-image: none !important;
    color: #e7f0f7 !important;
    border-color: rgba(255,255,255,.07) !important;
}

#page-body .row .list-inner,
#page-body .row dt,
#page-body .row dd,
#page-body .row .forum-description,
#page-body .row .responsive-hide,
#page-body .row .lastpost,
#page-body .row .posts,
#page-body .row .topics,
#page-body .row .views,
#page-body .row small,
#page-body .row span {
    color: #aebdca !important;
}

#page-body a.forumtitle,
#page-body a.topictitle,
#page-body li.row a.forumtitle,
#page-body li.row a.topictitle {
    color: #f9fcff !important;
    font-weight: 750 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.24);
}

#page-body a.forumtitle:hover,
#page-body a.topictitle:hover {
    color: #65baff !important;
}

#page-body .lastpost a,
#page-body .lastpost .username,
#page-body .lastpost .username-coloured,
#page-body .row a {
    color: #5eb8ff !important;
}

#page-body dd.posts,
#page-body dd.topics,
#page-body dd.views,
#page-body dd.lastpost {
    border-left-color: rgba(255,255,255,.06) !important;
}

/* ---------- TOPIC / POST VIEW ---------- */
#page-body .post {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.14);
}

#page-body .postbody,
#page-body .postprofile,
#page-body .content,
#page-body .signature,
#page-body .panel p,
#page-body .panel dt,
#page-body .panel dd,
#page-body .panel li {
    color: #dbe6ee !important;
}

#page-body .postprofile {
    border-color: rgba(255,255,255,.08) !important;
}

/* ---------- INPUTS ---------- */
input.inputbox,
textarea.inputbox,
select {
    background: rgba(12,21,30,.86) !important;
    color: #eef5fa !important;
    border: 1px solid rgba(113,159,198,.20) !important;
}

input.inputbox:focus,
textarea.inputbox:focus,
select:focus {
    border-color: rgba(72,169,255,.58) !important;
    box-shadow: 0 0 0 3px rgba(24,136,255,.08);
}

/* ---------- PREMIUM GLASS PORTAL ---------- */
.sd-card {
    background:
        linear-gradient(180deg, rgba(37,52,67,.87), rgba(18,28,39,.90)) !important;
    border: 1px solid rgba(118,158,191,.18) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(10px);
}

.sd-hero {
    min-height: 380px !important;
    background:
        linear-gradient(90deg, rgba(8,15,23,.90) 0%, rgba(9,17,25,.68) 55%, rgba(30,16,22,.48) 100%),
        url("./images/sd-wallpaper.png") center 40% / cover no-repeat !important;
}

.sd-hero h1 {
    font-size: clamp(48px, 6vw, 82px) !important;
    letter-spacing: -.055em;
}

.sd-hero h1::first-letter {
    color: #ffffff;
}

.sd-ad-area {
    background:
        linear-gradient(180deg, rgba(34,48,63,.91), rgba(17,27,38,.92)) !important;
}

.sd-ad-row {
    gap: 20px !important;
}

.sd-ad {
    display: block;
    flex: 0 1 468px;
    width: 468px !important;
    height: 60px !important;
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    border: 1px solid rgba(86,177,255,.26) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

.sd-ad img {
    width: 468px !important;
    max-width: 100%;
    height: 60px !important;
    object-fit: cover !important;
}

.sd-list-item {
    background: rgba(12,21,30,.56) !important;
    border-color: rgba(255,255,255,.065) !important;
}

.sd-list-item:hover {
    background: rgba(27,51,71,.62) !important;
}

.sd-num {
    background: rgba(11,20,29,.58) !important;
}

.sd-section-title {
    background: rgba(255,255,255,.015);
}

.sd-server {
    background: rgba(10,19,28,.61) !important;
}

.sd-quick {
    background: rgba(11,21,30,.62) !important;
}

@media (max-width: 980px) {
    html,
    body {
        background-attachment: scroll !important;
    }

    .sd-ad {
        width: min(468px, 100%) !important;
    }

    .sd-ad img {
        width: 100% !important;
    }
}



/* SD2026 V5 - live GameTracker visual fallback */
.sd-tracker-fallback {
    grid-column: 1 / -1;
}

.sd-gt-banner {
    display: block;
    margin-top: 14px;
    max-width: 560px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid rgba(90, 182, 255, .25);
    background: rgba(7, 14, 21, .75);
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.sd-gt-banner img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 95px;
    object-fit: contain;
}

.sd-tracker-note {
    color: #9fb4c5;
    font-size: 11px;
}

@media (max-width: 650px) {
    .sd-gt-banner {
        max-width: 100%;
    }
}



/* =========================================================
   SD2026 ULTIMATE V6
   Game bridge / Top15 / POTW / bans / VIP / events / cards
   ========================================================= */

.sd-ultimate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    gap: 14px;
    margin-top: 14px;
}

.sd-ultimate-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sd-badge-live {
    color: #83efb2 !important;
    border-color: rgba(51,209,122,.28) !important;
    background: rgba(51,209,122,.09) !important;
}

.sd-vip-badge {
    color: #ffd66e !important;
    border-color: rgba(243,185,63,.28) !important;
    background: rgba(243,185,63,.09) !important;
}

.sd-top15-head,
.sd-top15-row {
    display: grid;
    grid-template-columns: 44px minmax(170px, 1fr) 64px 64px 64px 74px;
    align-items: center;
    gap: 8px;
}

.sd-top15-head {
    padding: 0 12px 9px;
    color: #8297a8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sd-top15-row {
    min-height: 43px;
    margin-top: 5px;
    padding: 0 12px;
    background: rgba(10,19,28,.55);
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 9px;
    color: #cbd8e2;
}

.sd-top15-row:hover {
    background: rgba(27,55,78,.57);
    border-color: rgba(86,183,255,.18);
}

.sd-top-pos {
    color: #69bcff;
    font-weight: 900;
}

.sd-top-player {
    color: #f5f9fc;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-top-player em {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(243,185,63,.11);
    color: #ffd876;
    font-size: 9px;
    font-style: normal;
}

.sd-dot-live,
.sd-dot-off {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
}

.sd-dot-live {
    background: #43dc89;
    box-shadow: 0 0 9px rgba(67,220,137,.6);
}

.sd-dot-off {
    background: #6e7e8d;
}

.sd-potw-card {
    background:
        radial-gradient(circle at 80% 12%, rgba(243,185,63,.12), transparent 42%),
        linear-gradient(180deg, rgba(43,53,67,.90), rgba(19,29,40,.92)) !important;
}

.sd-potw-card .sd-widget-body {
    text-align: center;
    padding: 26px 18px 24px;
}

.sd-potw-crown {
    color: #f3b93f;
    font-size: 44px;
    line-height: 1;
    text-shadow: 0 0 22px rgba(243,185,63,.22);
}

.sd-potw-name {
    margin-top: 8px;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.sd-potw-steam {
    margin-top: 4px;
    color: #8fa3b4;
    font-size: 10px;
}

.sd-potw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.sd-potw-stats span {
    padding: 10px 5px;
    border-radius: 9px;
    background: rgba(8,17,25,.50);
    color: #91a5b5;
    font-size: 9px;
    text-transform: uppercase;
}

.sd-potw-stats b {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 18px;
}

.sd-empty-sync {
    padding: 17px;
    border: 1px dashed rgba(107,153,190,.22);
    border-radius: 10px;
    color: #879aaa;
    background: rgba(7,15,23,.30);
    text-align: center;
}

.sd-ban-row {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 10px;
}

.sd-ban-row b {
    color: #f1b0b7;
}

.sd-vip-row > div {
    display: flex;
    align-items: center;
}

.sd-record-boxes {
    display: grid;
    gap: 9px;
}

.sd-record-boxes > div {
    padding: 13px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    background: rgba(8,17,25,.48);
}

.sd-record-boxes b,
.sd-record-boxes span {
    display: block;
}

.sd-record-boxes b {
    color: #fff;
    font-size: 18px;
}

.sd-record-boxes span {
    margin-top: 3px;
    color: #899dad;
    font-size: 10px;
    text-transform: uppercase;
}

.sd-timeline {
    display: grid;
    gap: 8px;
}

.sd-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(8,17,25,.44);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
}

.sd-timeline-item > i {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: #4cafff;
    box-shadow: 0 0 10px rgba(76,175,255,.4);
}

.sd-timeline-item strong {
    color: #f7fbff;
}

.sd-timeline-item p,
.sd-news-item p {
    margin: 4px 0;
    color: #a8b7c4;
}

.sd-timeline-item small,
.sd-news-item small {
    color: #708697;
}

.sd-mini-player-card {
    margin-top: 8px;
    padding: 13px;
    border-radius: 11px;
    background:
        radial-gradient(circle at 92% 12%, rgba(24,136,255,.13), transparent 45%),
        linear-gradient(180deg, rgba(28,42,56,.93), rgba(15,25,35,.94));
    border: 1px solid rgba(91,173,237,.20);
}

.sd-mini-player-head {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.sd-mini-player-head strong {
    color: #fff;
    font-size: 15px;
}

.sd-mini-online,
.sd-mini-offline,
.sd-mini-vip {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.sd-mini-online {
    color: #6be9a1;
    background: rgba(51,209,122,.10);
}

.sd-mini-offline {
    color: #9baab6;
    background: rgba(155,170,182,.08);
}

.sd-mini-vip {
    color: #ffd66b;
    background: rgba(243,185,63,.11);
}

.sd-mini-player-id {
    margin-top: 4px;
    color: #788d9e;
    font-size: 9px;
}

.sd-mini-player-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 11px;
}

.sd-mini-player-stats span {
    padding: 7px 4px;
    border-radius: 7px;
    text-align: center;
    background: rgba(6,14,21,.45);
    color: #8095a5;
    font-size: 8px;
}

.sd-mini-player-stats b {
    display: block;
    color: #eaf5ff;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .sd-ultimate-grid,
    .sd-ultimate-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .sd-top15-head,
    .sd-top15-row {
        grid-template-columns: 34px minmax(120px, 1fr) 45px 45px;
    }

    .sd-top15-head span:nth-child(5),
    .sd-top15-head span:nth-child(6),
    .sd-top15-row span:nth-child(5),
    .sd-top15-row span:nth-child(6) {
        display: none;
    }

    .sd-mini-player-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
