:root {
    --bg: #060b0a;
    --bg-deep: #030605;
    --surface: #0d1714;
    --surface-2: #12211c;
    --surface-3: #172b24;
    --jade: #2f7760;
    --jade-bright: #66b18f;
    --jade-soft: #a3d7bd;
    --gold: #d7aa54;
    --gold-bright: #f2d78e;
    --gold-dark: #81511e;
    --red: #9e3930;
    --red-bright: #d76555;
    --ink: #f2ecdd;
    --muted: #a7aea7;
    --subtle: #737e77;
    --line: rgba(215, 170, 84, .18);
    --line-soft: rgba(231, 236, 225, .09);
    --danger: #f18479;
    --success: #78c99f;
    --warning: #e8bd67;
    --display: "Cinzel", Georgia, serif;
    --body: "Manrope", system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .36);
    --gold-shadow: 0 18px 50px rgba(99, 56, 16, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 50% -10%, rgba(47, 119, 96, .14), transparent 38%), linear-gradient(180deg, #09100e 0%, var(--bg) 45%, #040706 100%); }
.page-grain { position: fixed; inset: 0; z-index: 50; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E"); }
img { max-width: 100%; }
a { color: var(--jade-soft); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: var(--display); line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 5.2rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.2rem; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line-soft); background: rgba(5, 10, 8, .88); box-shadow: 0 10px 35px rgba(0, 0, 0, .2); backdrop-filter: blur(18px); }
.nav-container, .page-shell, .footer-inner { width: min(100% - 48px, 1240px); margin-inline: auto; }
.nav-container { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand-crest { width: 46px; height: 46px; filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .35)); transition: transform .25s ease; }
.brand:hover .brand-crest { transform: translateY(-2px); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy b { font-family: var(--display); font-size: .93rem; letter-spacing: .04em; }
.brand-copy small { margin-top: .28rem; color: var(--gold); font-size: .63rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.nav-menu { position: relative; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a, .link-button { padding: .72rem .9rem; color: #bcc3bd; background: transparent; border: 0; border-radius: 7px; font-size: .76rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; }
.nav-links a:hover, .nav-links a.active, .link-button:hover { color: var(--ink); background: rgba(255, 255, 255, .045); }
.nav-links a.active { color: var(--gold-bright); }
.nav-links .nav-cta { margin-left: .45rem; padding-inline: 1.15rem; color: #170e04; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); border: 1px solid #f5d986; box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 8px 22px rgba(126, 77, 20, .22); }
.nav-links .nav-cta:hover { color: #170e04; background: linear-gradient(135deg, #ffebb1, #e4b960); }
.nav-admin { color: var(--red-bright) !important; }
.nav-logout { margin: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.nav-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--gold); }

.page-shell { min-height: calc(100vh - 240px); padding: 3rem 0 6rem; }
.home-page .page-shell { width: 100%; max-width: none; padding-top: 0; }
.home-page .page-shell > :not(.hero-home) { width: min(100% - 48px, 1240px); margin-inline: auto; }
.hero-home { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; background: url("../images/private-server-hero.svg") center right / cover no-repeat; animation: hero-reveal 1.2s ease both; }
.hero-vignette { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3, 7, 6, .98) 0%, rgba(4, 9, 8, .91) 28%, rgba(4, 9, 8, .42) 59%, rgba(4, 8, 7, .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 23%, rgba(0, 0, 0, .15) 100%); }
.hero-home::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero-content { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 5rem 0 5.4rem; }
.hero-content > * { max-width: 675px; }
.hero-kicker, .section-kicker { display: flex; align-items: center; gap: .65rem; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-kicker span { width: 32px; height: 1px; background: linear-gradient(90deg, var(--red-bright), var(--gold)); }
.hero-content h1 { margin: 1.05rem 0 1.2rem; font-size: clamp(2.8rem, 5.2vw, 5rem); text-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.hero-content h1 em { color: var(--gold-bright); font-style: normal; background: linear-gradient(180deg, #fff1b5, #c99039); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content > p { max-width: 620px; margin: 0; color: #c1c8c1; font-size: 1.04rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-trust { display: flex; gap: 0; margin-top: 3.2rem; }
.hero-trust div { min-width: 138px; padding: 0 1.3rem; border-left: 1px solid var(--line); }
.hero-trust div:first-child { padding-left: 0; border-left: 0; }
.hero-trust b, .hero-trust span { display: block; }
.hero-trust b { color: var(--ink); font-family: var(--display); font-size: .86rem; }
.hero-trust span { margin-top: .1rem; color: var(--subtle); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }


.btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: .55rem; padding: .68rem 1rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .025em; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(215, 170, 84, .42); }
.btn-large { min-height: 50px; padding: .85rem 1.35rem; }
.btn-primary { color: #160e05; background: linear-gradient(135deg, var(--gold-bright), #c58d35); border-color: #ebc975; box-shadow: inset 0 1px rgba(255, 255, 255, .45), 0 12px 30px rgba(116, 70, 18, .2); }
.btn-primary:hover { color: #160e05; background: linear-gradient(135deg, #fff0b7, #dda84c); box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 16px 36px rgba(116, 70, 18, .3); }
.btn-gold { color: #170e04; background: linear-gradient(135deg, #f8dfa0, #c78e35); border-color: #f3d98b; }
.btn-glass { color: var(--ink); background: rgba(8, 18, 15, .66); border-color: rgba(238, 222, 182, .26); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(18, 38, 31, .82); }
.btn-secondary { color: var(--ink); background: rgba(20, 38, 32, .92); border-color: rgba(105, 159, 133, .3); }
.btn-secondary:hover { background: #1a332a; border-color: rgba(105, 184, 145, .5); }
.btn-quiet { color: var(--muted); background: transparent; border-color: transparent; }
.btn-quiet:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.btn-vote { color: #07110d; background: linear-gradient(135deg, #8dd0ae, #4e9a79); border-color: #91d1b0; }
.btn-danger { color: #fff; background: rgba(158, 57, 48, .12); border-color: rgba(241, 132, 121, .35); }
.btn-block { width: 100%; margin-top: .65rem; }
.btn-submit { min-height: 50px; padding-inline: 1.35rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-bright); font-size: .75rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #fff1b1; }

.featured-section { padding-top: 5.4rem; }
.ornament-heading, .directory-heading, .page-heading, .detail-topbar, .form-intro-inline { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.ornament-heading { position: relative; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.ornament-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.ornament-heading h2, .directory-heading h2 { margin: .55rem 0 .35rem; }
.ornament-heading p, .directory-heading p { max-width: 660px; margin: 0; color: var(--muted); }
.sponsored-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--subtle); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sponsored-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(215, 170, 84, .7); }
.featured-grid { display: grid; grid-template-columns: 1fr; gap: 1.15rem; margin-top: 1.5rem; }
.premium-card { position: relative; display: grid; grid-template-columns: minmax(340px, .9fr) 1.1fr; min-width: 0; overflow: hidden; border: 1px solid rgba(215, 170, 84, .3); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(26, 41, 35, .97), rgba(9, 16, 14, .98)); box-shadow: var(--gold-shadow); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.premium-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 230, 164, .04); }
.premium-card:hover { transform: translateY(-5px); border-color: rgba(242, 215, 142, .55); box-shadow: 0 28px 70px rgba(75, 43, 13, .34); }
.premium-media { position: relative; min-height: 340px; overflow: hidden; background: #07100d; }
.premium-media > img:first-child, .premium-banner-link > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.premium-banner-link { position: absolute; inset: 0; display: block; }
.premium-banner-link:focus-visible, .server-premium-banner-link:focus-visible, .detail-banner-link:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--gold-bright); }
.premium-banner-link:focus-visible { z-index: 5; }
.premium-card:hover .premium-media > img:first-child, .premium-card:hover .premium-banner-link > img { transform: scale(1.035); }
.premium-media-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(4, 9, 7, .12) 45%, rgba(8, 17, 14, .98)); }
.premium-ribbon { position: absolute; top: 15px; left: 15px; padding: .4rem .65rem; pointer-events: none; color: #211305; background: linear-gradient(135deg, #ffe9a8, #c78c32); border: 1px solid rgba(255, 236, 177, .75); border-radius: 6px; box-shadow: 0 5px 15px rgba(0, 0, 0, .3); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.premium-disclosure { position: absolute; top: 19px; right: 15px; pointer-events: none; color: rgba(255, 255, 255, .78); font-size: .58rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; text-shadow: 0 2px 6px #000; }
.premium-logo { position: absolute; left: 22px; bottom: -1px; width: 62px; height: 62px; pointer-events: none; object-fit: contain; padding: .4rem; border: 1px solid rgba(242, 215, 142, .45); border-radius: 13px 13px 0 0; background: #0b1512; box-shadow: 0 -8px 25px rgba(0, 0, 0, .35); }
.premium-monogram, .server-monogram { display: grid; place-items: center; color: var(--gold-bright); font-family: var(--display); font-weight: 800; }
.premium-body { display: flex; flex-direction: column; justify-content: center; padding: 2rem 2.4rem; }
.premium-body h3 { margin: .75rem 0 .45rem; font-size: 1.35rem; }
.premium-body h3 a { color: var(--ink); text-decoration: none; }
.premium-body p { max-width: 58ch; margin: 0; color: var(--muted); font-size: .86rem; }
.premium-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; padding: .95rem 0; margin-top: 1rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.premium-facts span { min-width: 0; }
.premium-facts small, .premium-facts b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.premium-facts small { color: var(--subtle); font-size: .55rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.premium-facts b { margin-top: .15rem; color: var(--gold-bright); font-size: .79rem; }
.premium-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.premium-actions .btn { flex: 1; }

.directory-section { padding-top: 6rem; scroll-margin-top: 80px; }
.directory-heading { align-items: center; margin-bottom: 1.5rem; }
.realm-count { min-width: 125px; padding: .85rem 1.1rem; text-align: right; border-right: 2px solid var(--gold); }
.realm-count strong, .realm-count span { display: block; }
.realm-count strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.realm-count span { margin-top: .3rem; color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter-panel { display: grid; grid-template-columns: 1.15fr minmax(210px, 1.45fr) repeat(4, minmax(115px, 1fr)) auto; gap: .65rem; align-items: end; padding: 1rem; margin-bottom: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(21, 39, 32, .96), rgba(10, 18, 15, .96)); box-shadow: 0 14px 40px rgba(0, 0, 0, .16); }
.filter-title { display: flex; align-items: center; gap: .7rem; align-self: center; }
.filter-title b, .filter-title small { display: block; }
.filter-title b { font-family: var(--display); font-size: .75rem; }
.filter-title small { color: var(--subtle); font-size: .58rem; }
.filter-glyph { width: 35px; height: 35px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; }
.filter-panel label, .server-form label, .auth-form label, .profile-form label { display: block; margin-bottom: .38rem; color: #b6beb7; font-size: .66rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.filter-actions { display: flex; gap: .25rem; }
.form-control { width: 100%; min-height: 44px; padding: .68rem .78rem; color: var(--ink); background: rgba(3, 10, 7, .72); border: 1px solid rgba(202, 219, 207, .14); border-radius: 8px; outline: 0; transition: border .18s ease, box-shadow .18s ease, background .18s ease; }
.form-control::placeholder { color: #66716a; }
.form-control:focus { background: rgba(4, 13, 9, .92); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215, 170, 84, .11); }
select.form-control { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 15px) 19px, calc(100% - 10px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea.form-control { resize: vertical; }
.ranking-key { display: grid; grid-template-columns: 62px minmax(0, 1fr) 155px; gap: .9rem; padding: 0 1.2rem .55rem; color: #69746d; font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ranking-key span:last-child { text-align: center; }
.server-list { display: grid; gap: .65rem; }
.directory-ad-card { display: flex; justify-content: center; align-items: center; min-height: 85px; padding: .65rem 1rem; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 12px; background: linear-gradient(105deg, rgba(17, 31, 26, .92), rgba(9, 17, 14, .95)); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.notabis-responsive-ad { display: flex; justify-content: center; width: 100%; max-width: 100%; margin: .65rem auto; overflow: hidden; }
.notabis-responsive-ad .notabis-ads { position: relative; z-index: 1; flex: none; }
.notabis-ads--desktop { display: block; width: min(728px, 100%); height: 90px; }
.notabis-ads--mobile { display: none; width: min(300px, 100%); height: 250px; }
.global-ad-card.notabis-global-slot { width: min(100% - 48px, 780px); margin: 0 auto 1.35rem; }
.global-ad-card.notabis-global-slot .notabis-responsive-ad { margin: 0 auto; }
.global-ad-frame iframe { width: 70%; }
.global-ad-card { width: min(100% - 48px, 780px); margin: 0 auto 1.35rem; }
.global-ad-frame iframe { width: 70%; }

.server-card { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) 155px; align-items: center; gap: .9rem; padding: .8rem 1rem; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 12px; background: linear-gradient(105deg, rgba(17, 31, 26, .92), rgba(9, 17, 14, .95)); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.server-card::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; background: linear-gradient(180deg, transparent, var(--jade), transparent); opacity: 0; transition: opacity .18s ease; }
.server-card:hover { transform: translateX(3px); border-color: rgba(80, 145, 114, .38); background: linear-gradient(105deg, rgba(20, 39, 32, .96), rgba(10, 19, 16, .98)); }
.server-card:hover::before { opacity: 1; }
.server-card-premium { border-color: rgba(215, 170, 84, .42); background: linear-gradient(105deg, rgba(34, 35, 24, .95), rgba(12, 14, 20, .98) 72%); box-shadow: 0 10px 30px rgba(75, 43, 13, .2), inset 0 0 0 1px rgba(255, 230, 164, .035); }
.server-card-premium::before { width: 3px; background: linear-gradient(180deg, transparent, #f2d78e 22%, #81511e 78%, transparent); opacity: 1; box-shadow: 0 0 14px rgba(215, 170, 84, .6); }
.server-card-premium:hover { border-color: rgba(242, 215, 142, .7); background: linear-gradient(105deg, rgba(43, 42, 27, .98), rgba(13, 15, 22, .98) 72%); box-shadow: 0 16px 38px rgba(75, 43, 13, .3), inset 0 0 0 1px rgba(255, 230, 164, .06); }
.listing-placeholder { color: inherit; border-style: dashed; border-color: rgba(215, 170, 84, .24); text-decoration: none; opacity: .86; }
.listing-placeholder:hover { border-color: rgba(215, 170, 84, .55); background: linear-gradient(105deg, rgba(28, 31, 40, .96), rgba(10, 12, 19, .98)); opacity: 1; }
.listing-placeholder h3 { color: var(--ink); font-family: var(--display); font-size: .9rem; }
.listing-placeholder .server-rank strong, .listing-placeholder .server-vote strong { color: var(--gold); }
.listing-placeholder .server-vote .btn { pointer-events: none; }
.server-rank { text-align: center; border-right: 1px solid var(--line-soft); }
.server-rank strong, .server-rank small { display: block; }
.server-rank strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.35rem; }
.server-rank small { color: var(--subtle); font-size: .54rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.server-rank-inline { display: none; }
.server-identity { min-width: 0; }
.server-title-row { display: flex; align-items: center; min-width: 0; gap: .65rem; }
.server-title-row > div { min-width: 0; }
.server-logo { flex: 0 0 auto; width: 45px; height: 45px; object-fit: contain; padding: .25rem; border: 1px solid var(--line); border-radius: 9px; background: #08100d; }
.server-monogram { font-size: .82rem; }
.server-premium-banner-wrap { position: relative; width: min(468px, 100%); margin-bottom: .72rem; overflow: hidden; border: 1px solid rgba(242, 215, 142, .62); border-radius: 8px; background: #080a10; box-shadow: 0 0 0 1px rgba(215, 170, 84, .12), 0 0 22px rgba(215, 170, 84, .24); }
.server-premium-banner-link { display: block; }
.server-premium-banner { display: block; width: 100%; height: auto; max-height: 85px; object-fit: contain; }
.server-premium-badge { position: absolute; right: .3rem; bottom: .25rem; padding: .12rem .3rem; pointer-events: none; color: #130725; background: linear-gradient(135deg, #ffe6a4, #9b6921); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); font-size: .46rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.server-identity h3 { margin: .1rem 0 0; overflow: hidden; font-family: var(--body); font-size: 1.02rem; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.server-identity h3 a { color: var(--ink); text-decoration: none; }
.server-identity h3 a:hover { color: var(--gold-bright); }
.server-identity > p { display: -webkit-box; overflow: hidden; margin: .45rem 0 0; color: #939d96; font-size: .8rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tag-row, .tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem; }
.tag { display: inline-flex; padding: .18rem .42rem; color: #aad6c0; background: rgba(68, 141, 108, .12); border: 1px solid rgba(84, 157, 123, .13); border-radius: 4px; font-size: .55rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.tag-verified { color: #b7f0cf; background: rgba(68, 180, 120, .13); border-color: rgba(100, 211, 155, .28); }
.tag-muted, .tag-dark { color: #9fa8a1; background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .06); }
.tag-gold, .tag-featured { color: #f7d98d; background: rgba(215, 170, 84, .11); border-color: rgba(215, 170, 84, .2); }
.tag-approved { color: var(--success); }.tag-pending { color: var(--warning); }.tag-rejected, .tag-suspended { color: var(--danger); }
.status-dot { display: inline-flex; align-items: center; gap: .3rem; color: var(--subtle); font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.status-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 7px currentColor; }
.status-dot.online { color: var(--success); }.status-dot.offline { color: var(--danger); }
.server-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem; margin-top: .45rem; }
.server-meta-pill { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; overflow: hidden; padding: .2rem .42rem; color: #b9c8be; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; font-size: .57rem; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.server-meta-pill small { margin-left: .22rem; color: var(--subtle); font-size: .48rem; letter-spacing: .06em; }
.server-meta-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .28rem; min-width: 0; }
.server-meta-pill-status { padding: .16rem .42rem; }
.server-meta-pill-status .status-dot { color: var(--subtle); }
.server-meta-pill-status.monitoring-status.online .status-dot { color: var(--success); }
.server-meta-pill-status.monitoring-status.offline .status-dot { color: var(--danger); }
.server-meta-pill-status.monitoring-locked { color: var(--gold-bright); background: rgba(215, 170, 84, .08); border-color: rgba(215, 170, 84, .25); }
.server-meta-pill-status.monitoring-locked .status-dot { color: var(--gold-bright); }
.server-meta-pill-players { color: var(--jade-soft); background: rgba(68, 141, 108, .13); border-color: rgba(84, 157, 123, .2); }
.server-cta { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: .65rem; padding: 0 0 .28rem .9rem; border-left: 1px solid var(--line-soft); }
.server-vote { text-align: center; }
.server-vote-count { display: flex; align-items: baseline; justify-content: center; gap: .35rem; margin-bottom: 5px; }
.server-vote strong { color: var(--jade-soft); font-family: var(--display); font-size: 1.3rem; line-height: 1; }
.server-vote span { display: block; margin: 0; color: var(--subtle); font-size: .51rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.server-vote .btn { width: 100%; min-height: 34px; padding: .35rem; }
.server-actions { display: grid; gap: .45rem; text-align: center; }
.server-actions .btn { min-height: 34px; padding: .35rem; }
.server-actions .text-link { justify-content: center; }
.empty-state { padding: 4rem 1rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(13, 25, 21, .56); }
.empty-state h3 { margin-bottom: .3rem; }.empty-state p { color: var(--muted); }.empty-icon { color: var(--gold); font-size: 2.5rem; }

.pagination-wrap { display: flex; justify-content: center; margin-top: 1.65rem; }
.pagination-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: min(100%, 880px); padding: .8rem 1rem; border: 1px solid var(--line-soft); border-radius: 12px; background: linear-gradient(110deg, rgba(17, 31, 26, .92), rgba(9, 17, 14, .97)); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.pagination-summary { flex: 0 1 auto; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.pagination-summary strong { color: var(--ink); font-weight: 800; }
.pagination-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.pagination-list .page-link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; color: var(--muted); background: rgba(4, 10, 7, .7); border: 1px solid var(--line-soft); border-radius: 9px; text-decoration: none; font-size: .78rem; font-weight: 750; font-variant-numeric: tabular-nums; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.pagination-list a.page-link:hover { color: var(--gold-bright); background: rgba(215, 170, 84, .09); border-color: rgba(215, 170, 84, .48); transform: translateY(-1px); }
.pagination-list .is-current .page-link { color: #170e04; background: linear-gradient(135deg, #f2d78e, #d7aa54); border-color: #f2d78e; box-shadow: 0 3px 12px rgba(215, 170, 84, .2); }
.pagination-list .is-disabled .page-link { color: #68736b; background: rgba(4, 10, 7, .35); border-color: rgba(202, 219, 207, .08); }
.pagination-list .page-ellipsis .page-link { width: 24px; color: var(--subtle); background: transparent; border-color: transparent; }
.pagination-list a.page-link:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
@media (max-width: 640px) { .pagination-nav { align-items: center; flex-direction: column; gap: .65rem; padding: .8rem .65rem; }.pagination-summary { text-align: center; }.pagination-list { justify-content: center; gap: .3rem; }.pagination-list .page-link { width: 36px; height: 36px; border-radius: 8px; } }

.alert { display: flex; align-items: flex-start; gap: .65rem; padding: .85rem 1rem; margin-bottom: 1rem; border: 1px solid; border-radius: 9px; font-size: .82rem; }
.alert > span { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .65rem; }
.alert-success { color: var(--success); background: rgba(67, 137, 102, .09); border-color: rgba(105, 197, 151, .24); }
.alert-error { color: var(--danger); background: rgba(158, 57, 48, .09); border-color: rgba(241, 132, 121, .28); }
.alert-warning { color: var(--warning); background: rgba(215, 170, 84, .08); border-color: rgba(215, 170, 84, .25); }
.alert ul { margin: .45rem 0 0; padding-left: 1.2rem; }

/* Authentication */
.auth-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: #060b09; }
.auth-header, .auth-footer { width: min(100% - 48px, 1240px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.auth-header { min-height: 82px; }
.auth-back { color: var(--muted); font-size: .72rem; font-weight: 700; text-decoration: none; }.auth-back:hover { color: var(--gold-bright); }
.auth-shell { width: min(100% - 48px, 1100px); min-height: 630px; display: grid; grid-template-columns: .92fr 1.08fr; margin: 1rem auto 4rem; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.auth-story { position: relative; min-height: 100%; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.auth-story-art { position: absolute; inset: 0; z-index: -3; background: url("../images/private-server-hero.svg") 65% center / cover no-repeat; }
.auth-story-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(3, 8, 6, .15), rgba(3, 8, 6, .55) 38%, rgba(4, 10, 8, .98) 88%), linear-gradient(90deg, rgba(7, 19, 14, .25), transparent); }
.auth-story-content { padding: 3rem; }
.auth-story-content h2 { max-width: 420px; margin: .8rem 0 1rem; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.auth-story-content > p { max-width: 430px; color: #b7c0b9; font-size: .88rem; }
.auth-story-content ul { display: grid; gap: .7rem; padding: 1.25rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.auth-story-content li { display: flex; align-items: center; gap: .7rem; color: #d7ddd8; font-size: .76rem; font-weight: 700; }
.auth-story-content li span { color: var(--gold); font-family: var(--display); font-size: .63rem; }
.auth-card { display: grid; place-items: center; padding: 3rem clamp(2rem, 6vw, 5rem); background: linear-gradient(145deg, rgba(19, 35, 29, .96), rgba(9, 16, 14, .98)); }
.auth-card-inner { width: 100%; max-width: 470px; }
.auth-card h1 { margin: .7rem 0 .65rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.auth-intro { margin: 0 0 1.7rem; color: var(--muted); font-size: .86rem; }
.auth-form { display: grid; gap: 1rem; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-group { min-width: 0; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.label-row a { margin-bottom: .38rem; color: var(--gold); font-size: .67rem; text-decoration: none; }
.checkbox-label { display: flex !important; align-items: center; gap: .55rem; margin: .1rem 0; color: var(--muted) !important; font-size: .7rem !important; letter-spacing: 0 !important; text-transform: none !important; }
.checkbox-label input { width: 17px; height: 17px; accent-color: var(--gold); }
.auth-form .btn-submit, .auth-card-inner > .btn-submit { width: 100%; margin-top: .2rem; }
.field-error { display: block; margin-top: .32rem; color: var(--danger); font-size: .67rem; }
.auth-status { padding: .75rem; margin-bottom: 1rem; color: var(--success); background: rgba(77, 160, 118, .08); border-radius: 8px; font-size: .75rem; }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.35rem 0; color: var(--subtle); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.auth-switch, .form-consent, .verification-copy { color: var(--muted); font-size: .72rem; text-align: center; }.auth-switch { margin-top: 1.3rem; }.auth-switch a, .form-consent a { color: var(--gold-bright); }
.verification-mark { width: 74px; height: 74px; display: grid; place-items: center; margin: 1.4rem auto 1rem; color: var(--gold-bright); border: 1px solid var(--line); border-radius: 50%; background: rgba(215, 170, 84, .07); font-size: 1.8rem; }
.auth-actions-split { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }.auth-actions-split form { margin: 0; }
.auth-footer { min-height: 70px; padding: 1rem 0; color: var(--subtle); border-top: 1px solid var(--line-soft); font-size: .65rem; }.auth-footer div { display: flex; gap: 1rem; }.auth-footer a { color: var(--muted); text-decoration: none; }

/* Forms and owner surfaces */
.form-page, .server-detail-page, .dashboard-page, .stats-page, .profile-page { max-width: 1080px; margin: 0 auto; }
.form-intro { margin-bottom: 1.5rem; }
.form-intro-art { position: relative; min-height: 285px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.4rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(6, 13, 10, .97), rgba(8, 17, 13, .75)), url("../images/private-server-hero.svg") center / cover; box-shadow: var(--shadow); }
.form-intro-art > div:first-child { max-width: 650px; }
.form-intro h1, .page-heading h1 { margin: .55rem 0; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.form-intro p, .page-heading p { margin: 0; color: var(--muted); }
.form-intro-note { flex: 0 0 210px; display: grid; gap: .4rem; padding: 1.1rem; border: 1px solid rgba(215, 170, 84, .26); border-radius: 12px; background: rgba(5, 12, 9, .7); backdrop-filter: blur(8px); }
.form-intro-note span, .form-intro-note small { color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.form-intro-note b { color: #d7ddd8; font-size: .72rem; }.form-intro-note small { padding-top: .45rem; margin-top: .2rem; border-top: 1px solid var(--line-soft); color: var(--gold); }
.form-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; padding: .75rem; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(14, 26, 22, .75); }
.form-steps span { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--subtle); font-size: .63rem; font-weight: 700; }.form-steps b { color: var(--gold); font-family: var(--display); font-size: .6rem; }
.server-form { display: grid; gap: 1rem; }
.form-section { min-width: 0; padding: 0 1.5rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18, 34, 28, .84), rgba(9, 17, 14, .88)); }
.form-section:focus-within { border-color: rgba(215, 170, 84, .26); }
.form-section-heading { display: grid; grid-template-columns: 34px auto; column-gap: .65rem; align-items: center; padding: 1.15rem .55rem 1rem; margin: 0 0 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.form-section-heading > span { grid-row: 1 / span 2; width: 32px; height: 32px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line); border-radius: 50%; font-family: var(--display); font-size: .62rem; }
.form-section-heading > b { font-family: var(--display); font-size: .95rem; }.form-section-heading > small { color: var(--subtle); font-size: .58rem; font-weight: 500; }
.form-grid { display: grid; gap: 1rem; }.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-section .form-group { margin-top: .8rem; }.required { color: var(--gold); }.optional, .field-help { color: var(--subtle); font-size: .67rem; font-weight: 500; }.field-help { display: block; margin-top: .3rem; }
.field-help a { color: var(--gold); }.field-help a .external-link-icon { width: .8em; height: .8em; margin-left: .12em; vertical-align: -.06em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }.image-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .2rem; }.image-tools .btn { min-width: 170px; text-align: center; }.image-upload-list { display: grid; gap: 1rem; }.image-upload { min-width: 0; }.image-file-input { padding: .55rem; font-size: .7rem; }.image-upload-status { min-height: 1.05rem; margin-top: .45rem; font-size: .68rem; }.image-upload-status.is-pending { color: var(--gold); }.image-upload-status.is-valid { color: var(--success); }.image-upload-status.is-invalid { color: var(--danger); }.image-preview-wrap { display: grid; gap: .55rem; padding: .65rem; margin-top: .4rem; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(4, 5, 10, .45); }.image-upload-preview { width: 100%; max-height: 90px; object-fit: contain; border-radius: 5px; }.image-upload[data-image-slot="logo"] .image-upload-preview { width: 64px; height: 64px; }.image-remove { margin: 0; }
.screenshot-carousel { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: .45rem; padding: .7rem; margin-top: .55rem; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(4, 5, 10, .45); }.screenshot-slides { min-width: 0; }.screenshot-slide { display: none; margin: 0; }.screenshot-slide.is-active { display: block; }.screenshot-slide img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 6px; }.screenshot-remove { margin-top: .55rem; }.carousel-control { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--gold-bright); background: rgba(215, 170, 84, .08); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }.carousel-control:hover { background: rgba(215, 170, 84, .16); }.carousel-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: .35rem; }.carousel-dot { width: 6px; height: 6px; padding: 0; background: var(--subtle); border: 0; border-radius: 50%; cursor: pointer; }.carousel-dot.is-active { background: var(--gold); transform: scale(1.35); }
.form-section-technical { border-color: rgba(69, 135, 104, .24); }.admin-form-section { border-color: rgba(215, 170, 84, .3); }
.admin-promotion-section { border-color: rgba(215, 170, 84, .34); }
.admin-promotion-section .form-section-heading { grid-template-columns: 34px auto; }
.promotion-admin-form { display: grid; gap: 1rem; }
.promotion-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.promotion-control-card { min-width: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1rem; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(5, 12, 9, .52); }
.promotion-control-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-soft); }
.promotion-control-card h2 { margin: .15rem 0 0; font-family: var(--display); font-size: 1.05rem; }
.promotion-state { flex: 0 0 auto; padding: .24rem .5rem; color: var(--subtle); border: 1px solid var(--line-soft); border-radius: 999px; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.promotion-state.is-active { color: var(--success); border-color: rgba(86, 170, 124, .35); background: rgba(86, 170, 124, .08); }
.promotion-control-card .form-group { margin-top: 0; }
.promotion-control-card .field-help { line-height: 1.5; }
.promotion-date-time-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: .6rem; }
.promotion-date-time-grid .form-group { min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.promotion-date-time-grid label { margin: 0; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .045em; }
.promotion-date-time-grid input[type="date"], .promotion-date-time-grid input[type="time"] { min-width: 0; padding-inline: .5rem; color-scheme: dark; font-variant-numeric: tabular-nums; }
.promotion-date-time-grid input::-webkit-calendar-picker-indicator { opacity: .9; cursor: pointer; }
.promotion-toggle { padding: .4rem 0; }
.promotion-current-expiry { color: var(--success); font-size: .67rem; }
.promotion-warning { margin: 0; padding: .55rem .65rem; color: #d7bd84; border-left: 2px solid var(--gold); background: rgba(215, 170, 84, .06); font-size: .65rem; line-height: 1.5; }
.promotion-grant-button { align-self: flex-start; margin-top: auto; }
.promotion-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--line-soft); }
.promotion-save-bar > span { color: var(--subtle); font-size: .68rem; }
.promotion-stop-notice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid rgba(241, 132, 121, .24); border-radius: 10px; background: rgba(158, 57, 48, .07); }
.promotion-stop-notice p { display: grid; gap: .15rem; margin: 0; }
.promotion-stop-notice p strong { color: var(--danger); font-size: .72rem; }
.promotion-stop-notice p span { color: var(--muted); font-size: .66rem; }
.promotion-stop-form { flex: 0 0 auto; margin: 0; }
@media (max-width: 980px) { .promotion-control-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .promotion-save-bar { align-items: stretch; flex-direction: column; }.promotion-save-bar .btn { width: 100%; }.promotion-stop-notice { align-items: stretch; flex-direction: column; }.promotion-stop-form .btn { width: 100%; } }
@media (max-width: 380px) { .promotion-date-time-grid { grid-template-columns: 1fr; } }
.locked-field { padding: .85rem; color: var(--muted); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-soft); border-radius: 8px; font-size: .76rem; }.locked-field a { color: var(--gold); }
.form-submit-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border: 1px solid rgba(215, 170, 84, .28); border-radius: 12px; background: rgba(7, 14, 11, .92); box-shadow: 0 15px 40px rgba(0, 0, 0, .32); backdrop-filter: blur(14px); }.form-submit-bar strong, .form-submit-bar span { display: block; }.form-submit-bar strong { font-family: var(--display); font-size: .82rem; }.form-submit-bar > div > span { color: var(--subtle); font-size: .63rem; }
.page-heading { align-items: center; margin-bottom: 1.5rem; }.component-header { max-width: 1080px; margin: 0 auto 1.2rem; }

/* Server detail, dashboard and admin */
.back-link { color: var(--muted); font-size: .75rem; text-decoration: none; }.back-link:hover { color: var(--gold-bright); }.detail-topbar { margin-bottom: 1rem; align-items: center; }
.detail-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 80% 10%, rgba(66, 135, 103, .16), transparent 35%), linear-gradient(135deg, rgba(20, 39, 32, .96), rgba(7, 14, 12, .98)); box-shadow: var(--shadow); }
.detail-hero::after { content: ""; position: absolute; right: -45px; top: -55px; width: 230px; height: 230px; border: 1px solid rgba(215, 170, 84, .08); border-radius: 50%; box-shadow: inset 0 0 0 18px rgba(215, 170, 84, .025); }
.detail-title { display: flex; align-items: center; gap: 1rem; }.detail-logo { width: 82px; height: 82px; object-fit: contain; padding: .35rem; border: 1px solid var(--line); border-radius: 14px; background: #07100c; }.detail-title h1 { margin: .5rem 0 .35rem; font-size: clamp(2rem, 4vw, 3.7rem); }.detail-title p { max-width: 670px; margin: 0; color: var(--muted); }
.detail-rank-card { min-width: 125px; z-index: 1; padding: .75rem; text-align: center; border-left: 1px solid var(--line); }.detail-rank-card span, .detail-rank-card small { display: block; }.detail-rank-card span { color: var(--gold-bright); font-family: var(--display); font-size: 2rem; }.detail-rank-card small { color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-banner { max-height: 320px; margin: 1rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }.detail-banner-link { display: block; }.detail-banner img { width: 100%; max-height: 320px; display: block; object-fit: cover; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 1rem; margin-top: 1rem; }.detail-main { display: grid; gap: 1rem; }.detail-panel, .cta-panel, .side-note, .owner-card, .locked-panel, .metric-card, .admin-callout, .panel { padding: 1.3rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 32, 26, .86), rgba(9, 17, 14, .9)); }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.detail-stats-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }.detail-stats div, .metric-card, .owner-metrics div { text-align: center; }.detail-stats strong, .metric-card strong, .owner-metrics strong { display: block; color: var(--gold-bright); font-family: var(--display); font-size: 1.55rem; }.detail-stats span, .metric-card span, .owner-metrics span { display: block; color: var(--subtle); font-size: .57rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.panel-heading { margin-bottom: 1rem; }.panel-heading h2 { margin: .25rem 0 0; }.eyebrow { color: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }.prose-lite p { margin: 0; color: var(--muted); white-space: pre-line; }.prose-lite-body { color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }.prose-lite-body > :first-child { margin-top: 0; }.prose-lite-body > :last-child { margin-bottom: 0; }.prose-lite-body p { margin: 0 0 1rem; }.prose-lite-body h1, .prose-lite-body h2, .prose-lite-body h3 { margin: 1.2rem 0 .55rem; color: var(--ink); font-family: var(--display); line-height: 1.25; }.prose-lite-body h1 { font-size: 1.35rem; }.prose-lite-body h2 { font-size: 1.15rem; }.prose-lite-body h3 { font-size: 1rem; }.prose-lite-body ul, .prose-lite-body ol { margin: .55rem 0 1rem; padding-left: 1.35rem; }.prose-lite-body li + li { margin-top: .3rem; }.prose-lite-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }.prose-lite-body blockquote { padding: .65rem .85rem; margin: 1rem 0; color: var(--jade-soft); border-left: 2px solid var(--gold); background: rgba(215, 170, 84, .06); }.prose-lite-body code { padding: .12rem .3rem; color: var(--jade-soft); background: rgba(3, 5, 10, .72); border-radius: 4px; font-size: .86em; }.prose-lite-body pre { padding: .75rem; margin: 1rem 0; overflow-x: auto; color: var(--jade-soft); background: #05070c; border-radius: 7px; }.prose-lite-body pre code { padding: 0; background: transparent; }.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }.facts-grid dt { color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.facts-grid dd { margin: .18rem 0 0; color: var(--ink); font-size: .82rem; font-weight: 700; }.tag-cloud { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line-soft); }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }.screenshot-grid img { width: 100%; height: 165px; object-fit: cover; border: 1px solid var(--line-soft); border-radius: 9px; }.screenshot-public-carousel .screenshot-slide img { max-height: 360px; }.cta-panel { border-color: rgba(215, 170, 84, .25); box-shadow: var(--gold-shadow); }.cta-panel h2 { min-width: 0; overflow-wrap: anywhere; font-size: 1.325rem; }.cta-panel p, .side-note span, .owner-panel p { color: var(--muted); font-size: .78rem; }.side-note { margin-top: .75rem; }.side-note strong, .side-note span { display: block; }.owner-panel code { display: block; overflow-wrap: anywhere; padding: .7rem; margin-top: .55rem; color: var(--jade-soft); background: #050c09; border-radius: 7px; font-size: .7rem; }.related-section { margin-top: 3.5rem; }
.voucher-redemption-counter { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }.voucher-redemption-counter strong { color: var(--gold-bright); }.form-hint { display: block; margin: .3rem 0 .75rem; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.voucher-redemptions-dialog { width: min(960px, calc(100% - 2rem)); max-width: none; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto; color: var(--ink); background: linear-gradient(145deg, rgba(18, 22, 34, .99), rgba(5, 10, 8, .99)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 25px 90px rgba(0, 0, 0, .6); }
.voucher-redemptions-dialog::backdrop { background: rgba(1, 2, 5, .82); backdrop-filter: blur(5px); }.voucher-redemptions-dialog-inner { padding: clamp(1rem, 3vw, 1.6rem); }.voucher-redemptions-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }.voucher-redemptions-dialog-header h2 { margin: .25rem 0 0; font-size: 1.3rem; }.voucher-redemptions-dialog-header .btn { flex: 0 0 auto; }.voucher-redemptions-summary { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; }
.screenshot-lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }.screenshot-lightbox-trigger:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 7px; }
.screenshot-lightbox[hidden] { display: none; }.screenshot-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem; }.screenshot-lightbox-backdrop { position: absolute; inset: 0; background: rgba(1, 2, 5, .9); backdrop-filter: blur(6px); }.screenshot-lightbox-dialog { position: relative; z-index: 1; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: .75rem; width: min(1120px, 100%); max-height: calc(100vh - 2.5rem); padding: 3.5rem 1.25rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(18, 22, 34, .98), rgba(5, 6, 11, .99)); box-shadow: 0 25px 90px rgba(0, 0, 0, .55); }.screenshot-lightbox-image-wrap { min-width: 0; text-align: center; }.screenshot-lightbox-image-wrap img { display: block; width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 7px; }.screenshot-lightbox-caption { margin: .7rem 0 0; color: var(--subtle); font-size: .68rem; }.screenshot-lightbox-close { position: absolute; top: .7rem; right: .8rem; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--ink); background: rgba(215, 170, 84, .1); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }.screenshot-lightbox-close:hover, .screenshot-lightbox-close:focus-visible { color: var(--gold-bright); background: rgba(215, 170, 84, .2); }.screenshot-lightbox-nav { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--gold-bright); background: rgba(215, 170, 84, .08); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }.screenshot-lightbox-nav:hover, .screenshot-lightbox-nav:focus-visible { background: rgba(215, 170, 84, .18); }.screenshot-lightbox-open { overflow: hidden; }
.vote-page { max-width: 1080px; margin: 1rem auto; }.vote-card { padding: 2.2rem; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(21, 40, 33, .96), rgba(7, 14, 12, .98)); box-shadow: var(--shadow); }.vote-logo { width: 70px; height: 70px; object-fit: contain; }.vote-card h1 { max-width: 100%; margin-inline: auto; overflow-wrap: anywhere; font-size: clamp(1.45rem, 2.1vw, 1.85rem); }.vote-card p { color: var(--muted); }.vote-context { padding: .75rem; margin: 1rem 0; color: var(--jade-soft); background: rgba(65, 137, 104, .09); border-radius: 8px; font-size: .78rem; }.vote-footnote { display: block; margin-top: 1rem; color: var(--subtle); font-size: .68rem; }
.vote-link-card { text-align: left; }.vote-link-heading h1 { margin: 0; font-size: clamp(1.65rem, 3.2vw, 2.6rem); line-height: 1.15; }.dashboard-back-link, .vote-link-back { display: inline-flex; align-items: center; gap: .45rem; }.stats-page .stats-page-title { font-size: clamp(1.65rem, 2.6vw, 2.55rem); line-height: 1.15; }.vote-link-card > .vote-logo, .vote-link-card > .eyebrow, .vote-link-card > h1, .vote-link-card > p { display: block; margin-right: auto; margin-left: auto; text-align: center; }.vote-link-builder { padding: 1rem; margin-top: 1.4rem; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(4, 5, 10, .42); }.vote-link-builder .form-group + .form-group { margin-top: 1rem; }.vote-link-output { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }.vote-link-output .form-control { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; }.vote-html-output { min-height: 7rem; resize: vertical; white-space: pre-wrap; overflow-wrap: anywhere; }.vote-link-copy-status { display: block; min-height: 1.2em; margin-top: .35rem; color: var(--success); font-size: .68rem; }.vote-link-guide { padding-top: 1.3rem; margin-top: 1.35rem; border-top: 1px solid var(--line-soft); }.vote-link-guide h2 { margin: .35rem 0 .65rem; font-size: 1.35rem; }.vote-link-guide ol { padding-left: 1.25rem; margin: 0; color: var(--muted); font-size: .78rem; }.vote-link-guide code { color: var(--jade-soft); }.vote-link-guide pre { overflow-x: auto; padding: .8rem; margin: 1rem 0 .75rem; border: 1px solid var(--line-soft); border-radius: 7px; background: #05070c; color: var(--jade-soft); font: .7rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }.vote-link-guide p { margin: 0; font-size: .74rem; }.vote-callback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1rem; }.vote-callback-actions form { margin: 0; }.vote-callback-actions .btn { border: 1px solid var(--line); background: rgba(255, 255, 255, .035); }.vote-callback-actions .btn:hover, .vote-callback-actions .btn:focus-visible { border-color: rgba(215, 170, 84, .6); background: rgba(215, 170, 84, .08); }
.owner-list { display: grid; gap: .8rem; }.owner-card-title, .owner-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }.owner-title-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }.owner-card h2 { margin: .45rem 0 .25rem; font-size: 1.35rem; }.owner-card h2 a { color: var(--ink); text-decoration: none; }.owner-card p { margin: 0; color: var(--muted); font-size: .8rem; }.owner-metrics, .metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }.owner-metrics { padding: 1rem 0; margin-top: 1rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }.owner-metrics strong { font-size: 1.18rem; }.owner-actions { justify-content: flex-start; margin-top: .8rem; }.owner-actions .btn-quiet { border-color: var(--line); background: rgba(255, 255, 255, .025); }.owner-actions .btn-quiet:hover { border-color: rgba(215, 170, 84, .5); background: rgba(215, 170, 84, .07); }.notice-line { padding: .65rem .75rem; margin-top: .8rem; color: var(--warning); background: rgba(215, 170, 84, .07); border-radius: 7px; font-size: .74rem; }.notice-line-danger { color: var(--danger); background: rgba(158, 57, 48, .08); }.metrics-grid { margin-bottom: 1rem; }.locked-panel { display: flex; align-items: center; gap: 1.2rem; }.lock-icon { color: var(--gold); font-size: 2rem; }.locked-panel p { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.admin-overview-card { padding: clamp(1rem, 2.2vw, 1.55rem); margin-top: 0; }
.admin-overview-card .page-heading { margin-bottom: 1.1rem; }
.admin-overview-card .admin-metrics { margin-bottom: 0; }
.ip-reputation-table-hint { margin: .45rem 0 .55rem; color: var(--subtle); font-size: .68rem; }
.ip-reputation-table-wrap { max-width: 100%; margin: .55rem 0 .8rem; overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(4, 9, 7, .32); -webkit-overflow-scrolling: touch; scrollbar-color: rgba(215, 170, 84, .55) rgba(7, 13, 10, .9); scrollbar-width: thin; }
.ip-reputation-table-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ip-reputation-table { width: 100%; min-width: 1220px; table-layout: fixed; border-collapse: collapse; }
.ip-reputation-table th, .ip-reputation-table td { padding: .72rem .68rem; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(202, 219, 207, .13); }
.ip-reputation-table th { position: sticky; top: 0; z-index: 1; color: var(--gold-bright); background: #0b1711; font-size: .61rem; font-weight: 850; letter-spacing: .045em; line-height: 1.35; text-transform: uppercase; }
.ip-reputation-table td { color: #c4cec7; font-size: .72rem; line-height: 1.45; overflow-wrap: anywhere; }
.ip-reputation-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }
.ip-reputation-table tbody tr:hover { background: rgba(215, 170, 84, .045); }
.ip-reputation-table tbody tr:last-child td { border-bottom: 0; }
.ip-reputation-table th:nth-child(1), .ip-reputation-table td:nth-child(1) { width: 10%; }
.ip-reputation-table th:nth-child(2), .ip-reputation-table td:nth-child(2) { width: 11%; }
.ip-reputation-table th:nth-child(3), .ip-reputation-table td:nth-child(3) { width: 12%; }
.ip-reputation-table th:nth-child(4), .ip-reputation-table td:nth-child(4) { width: 15%; }
.ip-reputation-table th:nth-child(5), .ip-reputation-table td:nth-child(5) { width: 6%; }
.ip-reputation-table th:nth-child(6), .ip-reputation-table td:nth-child(6) { width: 9%; }
.ip-reputation-table th:nth-child(7), .ip-reputation-table td:nth-child(7) { width: 21%; }
.ip-reputation-table th:nth-child(8), .ip-reputation-table td:nth-child(8) { width: 8%; }
.ip-reputation-table th:nth-child(9), .ip-reputation-table td:nth-child(9) { width: 8%; }
.ip-reputation-table .ip-reputation-time, .ip-reputation-table .ip-reputation-risk, .ip-reputation-table .ip-reputation-country { white-space: nowrap; }
.ip-reputation-table .ip-reputation-risk { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 800; }
.ip-reputation-table .ip-reputation-listing { font-weight: 700; }
.ip-reputation-fingerprint { display: inline-block; padding: .25rem .38rem; color: var(--gold-bright); border: 1px solid rgba(215, 170, 84, .2); border-radius: 6px; background: rgba(3, 8, 5, .72); font: .67rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.ip-reputation-signals { display: flex; flex-wrap: wrap; gap: .3rem; }
.ip-reputation-signal { display: inline-flex; padding: .17rem .38rem; color: #e8d59e; border: 1px solid rgba(215, 170, 84, .24); border-radius: 999px; background: rgba(215, 170, 84, .06); font-size: .62rem; line-height: 1.35; white-space: nowrap; }
.ip-reputation-network-details { display: grid; gap: .1rem; }
.ip-reputation-network-details strong { color: var(--jade-soft); font-size: .68rem; white-space: nowrap; }
.ip-reputation-network-details small { color: var(--subtle); font-size: .64rem; }
.ip-reputation-decision { display: inline-flex; justify-content: center; min-width: 68px; padding: .25rem .45rem; border: 1px solid var(--line-soft); border-radius: 999px; font-size: .63rem; font-weight: 800; white-space: nowrap; }
.ip-reputation-decision-allowed { color: var(--success); border-color: rgba(105, 197, 151, .28); background: rgba(105, 197, 151, .06); }
.ip-reputation-decision-rejected { color: var(--danger); border-color: rgba(241, 132, 121, .28); background: rgba(241, 132, 121, .06); }
.data-table { width: 100%; min-width: 480px; border-collapse: collapse; }.data-table th, .data-table td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--line-soft); }.data-table th { color: var(--subtle); font-size: .62rem; text-transform: uppercase; }.data-table td { color: var(--muted); font-size: .78rem; }
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.2rem; }.admin-nav { align-self: start; position: sticky; top: 98px; padding: 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }.admin-nav h2 { margin: .35rem 0 1rem; font-size: 1.2rem; }.admin-nav nav { display: grid; gap: .25rem; }.admin-nav a { padding: .6rem .7rem; color: var(--muted); border-radius: 7px; text-decoration: none; font-size: .76rem; }.admin-nav a:hover, .admin-nav a.active { color: var(--gold-bright); background: rgba(215, 170, 84, .07); }.admin-content { min-width: 0; }.admin-callout { margin-top: 1rem; color: var(--muted); }.admin-list { display: grid; gap: .65rem; }.admin-list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }.admin-list-main h2 { margin: .3rem 0 .12rem; font-size: 1rem; }.admin-list-main h2 a { color: var(--ink); text-decoration: none; }.admin-list-main p, .admin-list-stats { margin: 0; color: var(--muted); font-size: .7rem; }.admin-list-stats, .admin-list-actions { display: flex; gap: .7rem; align-items: center; }.admin-list-stats strong { color: var(--gold); }.admin-list-actions form { margin: 0; }

/* Footer and lightweight compatibility */
.site-footer { border-top: 1px solid var(--line-soft); background: #040806; }.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem 2rem; padding: 2.5rem 0; }.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }.footer-crest { width: 42px; height: 42px; }.footer-brand strong { font-family: var(--display); font-size: .84rem; }.footer-brand p { margin: .25rem 0 0; color: var(--subtle); font-size: .68rem; }.footer-cooldown-linkback { display: inline-flex; align-items: center; justify-content: center; justify-self: end; width: 88px; height: 31px; }.footer-cooldown-linkback img { display: block; width: 88px; height: 31px; object-fit: contain; }.footer-cooldown-linkback:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 4px; }.footer-ranking-reset { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem; padding: .8rem 1rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(17, 21, 35, .55); }.footer-reset-label { color: var(--gold-bright); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.footer-ranking-reset strong { color: var(--text); font-size: .85rem; }.footer-ranking-reset small { color: var(--subtle); font-size: .65rem; }.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .9rem; }.footer-links a { color: var(--muted); font-size: .68rem; text-decoration: none; }.footer-links a:hover { color: var(--gold-bright); }.footer-inner > small { grid-column: 1 / -1; color: #566059; font-size: .6rem; }
.panel h1 { color: var(--ink) !important; }.panel p, .panel li { color: var(--muted); }.space-y-6 > * + * { margin-top: 1rem; }
.profile-page { display: grid; gap: 1rem; }.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.profile-panel { padding: 1.4rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }.profile-panel h2 { margin-bottom: .35rem; font-size: 1.2rem; }.profile-panel > p { color: var(--muted); font-size: .76rem; }.profile-form { display: grid; gap: .9rem; margin-top: 1rem; }.profile-form .btn { justify-self: start; }
.profile-save { display: flex; align-items: center; gap: .8rem; }.profile-save > span { color: var(--success); font-size: .7rem; }.profile-danger { border-color: rgba(241, 132, 121, .2); }.danger-disclosure > summary { width: max-content; list-style: none; }.danger-disclosure > summary::-webkit-details-marker { display: none; }.danger-form { max-width: 520px; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid rgba(241, 132, 121, .16); }.danger-form p { margin: 0; color: var(--danger); font-size: .72rem; }
.sponsor-slot { padding: 1.2rem; margin: 1.25rem 0 1.5rem; border: 1px solid rgba(215, 170, 84, .28); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(25, 29, 43, .92), rgba(8, 10, 16, .95)); box-shadow: var(--gold-shadow); }.sponsor-slot-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }.sponsor-slot-heading h2 { margin: .25rem 0 0; font-size: 1.1rem; }.sponsor-rotation { min-height: 90px; }.sponsor-banner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 90px; overflow: hidden; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: #070910; text-decoration: none; }.sponsor-banner.is-hidden { display: none; }.sponsor-banner-picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 90px; }.sponsor-banner-image { display: block; width: min(728px, 100%); height: 90px; object-fit: contain; object-position: center; }.sponsor-banner-copy { position: absolute; inset: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: linear-gradient(90deg, rgba(3, 4, 8, .93), rgba(3, 4, 8, .72) 55%, rgba(3, 4, 8, .2)); }.sponsor-banner-copy b { font-family: var(--display); font-size: 1rem; }.sponsor-banner-copy small { max-width: 520px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }.sponsor-banner-copy em { margin-left: auto; color: var(--gold-bright); font-size: .67rem; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }.sponsor-banner-copy-fallback { position: static; width: 100%; background: none; }.billing-page { max-width: 1080px; margin: 0 auto; }.billing-explainer { margin-bottom: 1rem; }.billing-explainer h2 { margin: .35rem 0; }.billing-explainer p { margin: 0; color: var(--muted); }.billing-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.billing-package { display: grid; gap: .65rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.billing-package strong { color: var(--gold-bright); font-family: var(--display); font-size: 2rem; }.billing-package small { color: var(--subtle); }.billing-package .btn { margin-top: .5rem; }
.legal-page { max-width: 1080px; margin: 0 auto; }.legal-header { padding: 2rem 0 1.6rem; border-bottom: 1px solid var(--line); }.legal-header h1 { margin: .6rem 0 .35rem; font-size: clamp(2.5rem, 5vw, 4.4rem); }.legal-header p { margin: 0; color: var(--muted); }.legal-copy { padding: 2rem; margin-top: 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(18, 34, 28, .86), rgba(8, 16, 13, .92)); }.legal-copy > p { color: var(--muted); }.legal-copy h2 { display: flex; align-items: center; gap: .7rem; margin: 2rem 0 .5rem; font-family: var(--body); font-size: 1rem; }.legal-copy h2 span { color: var(--gold); font-family: var(--display); font-size: .7rem; }.legal-copy h2 + p { margin-top: 0; color: var(--muted); font-size: .84rem; }
.api-docs { max-width: 1080px; }.api-docs .legal-copy h3 { margin: 1.5rem 0 .45rem; font-size: .95rem; }.api-docs .legal-copy p, .api-docs .legal-copy li { color: var(--muted); font-size: .84rem; line-height: 1.7; }.api-docs .legal-copy ul, .api-docs .legal-copy ol { padding-left: 1.35rem; }.api-docs .doc-callout { padding: 1rem 1.1rem; margin: 1rem 0; border: 1px solid rgba(215, 170, 84, .3); border-left: 3px solid var(--gold); border-radius: 8px; background: rgba(215, 170, 84, .07); }.api-docs .doc-callout p { margin: 0; }.api-docs .doc-table { width: 100%; margin: 1rem 0 1.35rem; border-collapse: collapse; font-size: .78rem; }.api-docs .doc-table th, .api-docs .doc-table td { padding: .7rem .75rem; border: 1px solid var(--line-soft); text-align: left; vertical-align: top; }.api-docs .doc-table th { color: var(--jade-soft); background: rgba(4, 5, 10, .55); font-weight: 800; }.api-docs .doc-table td { color: var(--muted); }.api-docs .doc-table code { color: var(--jade-soft); }.api-docs pre { overflow-x: auto; padding: 1rem; margin: 1rem 0 1.35rem; border: 1px solid var(--line-soft); border-radius: 8px; background: #05070c; color: #d9e9df; font: .72rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }.api-docs pre code { color: inherit; }.api-docs .doc-note { color: var(--subtle); font-size: .72rem; }.api-docs .doc-link { color: var(--gold); }.api-docs .doc-endpoint { display: inline-block; padding: .5rem .7rem; border: 1px solid var(--line-soft); border-radius: 6px; background: #05070c; color: var(--jade-soft); font: .75rem ui-monospace, SFMono-Regular, Consolas, monospace; }

@keyframes hero-reveal { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1120px) {
    .filter-panel { grid-template-columns: repeat(3, 1fr); }.filter-title { grid-column: span 1; }.search-field { grid-column: span 2; }.filter-actions { grid-column: span 3; }
    .server-card { grid-template-columns: 54px minmax(0, 1fr) 140px; }.server-cta { padding-left: .75rem; }
    .ranking-key { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }.nav-links { display: none; position: absolute; right: 0; top: 50px; min-width: 220px; padding: .6rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 11px; background: #0d1814; box-shadow: var(--shadow); }.nav-menu-open .nav-links { display: flex; }.nav-links .nav-cta { margin: .3rem 0 0; text-align: center; }
    .hero-home { min-height: 500px; }.hero-vignette { background: linear-gradient(90deg, rgba(3, 7, 6, .96), rgba(4, 9, 8, .65) 70%, rgba(4, 8, 7, .35)), linear-gradient(0deg, var(--bg), transparent 28%); }
    .featured-grid { grid-template-columns: 1fr; }.premium-card { grid-template-columns: 1fr; }.premium-media { min-height: 250px; }.premium-body { padding: 1.35rem; }.premium-body p { min-height: 0; }
    .server-card { grid-template-columns: 48px minmax(0, 1fr) 132px; padding: .75rem; gap: .7rem; }.server-cta { padding-left: .65rem; }
    .detail-layout { grid-template-columns: 1fr; }.cta-panel { position: static; }.form-intro-art { align-items: flex-start; flex-direction: column; }.form-intro-note { width: 100%; flex-basis: auto; grid-template-columns: repeat(3, 1fr); }.form-intro-note span, .form-intro-note small { grid-column: 1 / -1; }
    .auth-shell { grid-template-columns: 1fr; }.auth-story { min-height: 280px; }.auth-story-content { padding: 2rem; }.auth-story-content ul { display: none; }.auth-card { padding: 2.5rem; }
    .admin-shell { grid-template-columns: 1fr; }.admin-nav { position: static; }.admin-nav nav { display: flex; overflow-x: auto; }.profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .nav-container, .page-shell, .footer-inner, .auth-header, .auth-footer { width: min(100% - 24px, 1240px); }.home-page .page-shell > :not(.hero-home) { width: min(100% - 24px, 1240px); }.nav-container { min-height: 68px; }.brand-crest { width: 38px; height: 38px; }.brand-copy b { font-size: .78rem; }.brand-copy small { font-size: .54rem; }
    .page-shell { padding: 1.6rem 0 4rem; }.hero-home { min-height: 590px; }.hero-art { background-position: 63% center; }.hero-vignette { background: linear-gradient(90deg, rgba(3, 7, 6, .97), rgba(4, 9, 8, .73)), linear-gradient(0deg, var(--bg), transparent 25%); }.hero-content { width: min(100% - 28px, 1240px); padding: 4.4rem 0 5.5rem; }.hero-content h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }.hero-content > p { font-size: .9rem; }.hero-actions { display: grid; grid-template-columns: 1fr; }.hero-trust { justify-content: space-between; gap: .6rem; }.hero-trust div { min-width: 0; padding: 0 .55rem; }.hero-trust b { font-size: .72rem; }.hero-trust span { font-size: .48rem; }
    .featured-section { padding-top: 3.8rem; }.ornament-heading, .directory-heading, .page-heading, .detail-topbar, .form-intro-inline { align-items: flex-start; flex-direction: column; gap: 1rem; }.sponsored-note { align-self: flex-start; }.directory-section { padding-top: 4rem; }.realm-count { padding-left: 0; text-align: left; border-right: 0; border-left: 2px solid var(--gold); padding-inline-start: .8rem; }
    .filter-panel { grid-template-columns: 1fr 1fr; }.filter-title, .search-field, .filter-actions { grid-column: span 2; }.filter-title { padding-bottom: .45rem; border-bottom: 1px solid var(--line-soft); }.filter-actions .btn { flex: 1; }
    .server-card { display: block; padding: .8rem; }.server-rank { display: none; }.server-rank-inline { display: inline-flex; flex: 0 0 auto; align-items: baseline; gap: .22rem; padding-right: .55rem; margin-right: .05rem; border-right: 1px solid var(--line-soft); }.server-rank-inline strong { color: var(--gold-bright); font-family: var(--display); font-size: .95rem; }.server-rank-inline small { color: var(--subtle); font-size: .48rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.server-title-row { gap: .45rem; }.server-logo { width: 40px; height: 40px; }.server-identity h3 { font-size: .96rem; }.server-premium-banner-wrap { width: min(468px, 100%); margin-bottom: .5rem; }.server-meta { gap: .25rem; margin-top: .38rem; }.server-meta-pill { padding: .18rem .36rem; font-size: .54rem; }.server-identity > p { margin-top: .4rem; }.server-cta { display: flex; flex-direction: row; align-items: center; gap: .45rem; padding: .55rem 0 .3rem; margin-top: .65rem; border-top: 1px solid var(--line-soft); border-left: 0; }.server-vote { display: flex; flex: 0 1 auto; align-items: center; gap: .35rem; min-width: 0; text-align: left; }.server-vote-count { min-width: 0; padding: 0; margin: 0; gap: .18rem; white-space: nowrap; }.server-vote strong { font-size: 1.05rem; }.server-vote span { font-size: .46rem; }.server-vote .btn { flex: 0 0 auto; width: auto; min-width: 50px; min-height: 34px; padding: .35rem .5rem; }.server-actions { display: flex; flex: 1 1 auto; align-items: center; gap: .35rem; min-width: 0; text-align: center; }.server-actions .btn, .server-actions .text-link { flex: 1 1 0; width: auto; min-width: 0; padding: .35rem; font-size: .65rem; white-space: nowrap; }.server-actions .text-link { justify-content: center; }
    .premium-media { height: 175px; }.premium-actions { align-items: stretch; flex-direction: column; }.premium-actions .text-link { justify-content: center; padding: .5rem; }
    .detail-hero { align-items: flex-start; flex-direction: column; padding: 1.2rem; }.detail-title { align-items: flex-start; }.detail-logo { width: 58px; height: 58px; }.detail-rank-card { width: 100%; padding: .65rem 0 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }.detail-rank-card span, .detail-rank-card small { display: inline; margin-right: .35rem; }.detail-stats, .facts-grid, .metrics-grid, .owner-metrics { grid-template-columns: repeat(2, 1fr); }.screenshot-grid { grid-template-columns: 1fr; }
    .form-intro-art { min-height: 0; padding: 1.4rem; }.form-intro-note { grid-template-columns: 1fr; }.form-intro-note span, .form-intro-note small { grid-column: auto; }.form-steps { grid-template-columns: repeat(5, minmax(55px, 1fr)); overflow-x: auto; }.form-steps span { display: grid; text-align: center; }.form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }.form-section { padding: 0 1rem 1rem; }.form-section-heading { padding: 1rem .25rem .85rem; margin-bottom: 1rem; }.form-submit-bar { position: static; align-items: stretch; flex-direction: column; margin-top: 1.25rem; }.form-submit-bar .btn { width: 100%; }
    .auth-header { min-height: 68px; }.auth-back { font-size: .62rem; }.auth-shell { width: min(100% - 20px, 1100px); margin: .5rem auto 2rem; border-radius: 18px; }.auth-story { min-height: 210px; }.auth-story-content { padding: 1.4rem; }.auth-story-content h2 { font-size: 1.85rem; }.auth-story-content > p { display: none; }.auth-card { padding: 2rem 1.25rem; }.auth-form-grid { grid-template-columns: 1fr; }.auth-actions-split { align-items: stretch; flex-direction: column; }.auth-actions-split .btn { width: 100%; }.auth-footer { align-items: flex-start; flex-direction: column; }
    .sponsor-slot { padding: .8rem; }.sponsor-slot-heading { align-items: flex-start; flex-direction: column; }.sponsor-rotation, .sponsor-banner, .sponsor-banner-picture { min-height: 60px; height: 60px; }.sponsor-banner-image { width: min(468px, 100%); height: 60px; object-fit: contain; }.sponsor-banner-copy { align-items: flex-start; flex-direction: column; justify-content: center; gap: .2rem; padding: .8rem; }.sponsor-banner-copy small { max-width: 78%; }.sponsor-banner-copy em { margin-left: 0; }.billing-packages { grid-template-columns: 1fr; }
    .owner-card-title, .owner-actions { flex-direction: column; }.owner-card-title .btn, .owner-title-actions, .owner-title-actions .btn { width: 100%; }.owner-title-actions { flex-direction: column; }.owner-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.vote-callback-actions { align-items: stretch; flex-direction: column; }.vote-callback-actions .btn { width: 100%; }.vote-link-output { grid-template-columns: 1fr; }.vote-link-output .btn { width: 100%; }.admin-list-row { grid-template-columns: 1fr; }.admin-list-stats, .admin-list-actions { justify-content: space-between; }.footer-inner { grid-template-columns: 1fr; }.footer-links { justify-content: flex-start; }.footer-inner > small { grid-column: auto; }
}
.vote-embed-preview { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line-soft); }
@media (max-width: 620px) {
    .notabis-ads--desktop { display: none; }
    .notabis-ads--mobile { display: block; }
    .notabis-responsive-ad { min-height: 250px; }
}
.vote-embed-preview-surface { display: flex; align-items: center; min-height: 63px; padding: 1rem; margin-top: .55rem; border: 1px dashed var(--line-soft); border-radius: 7px; background: rgba(0, 0, 0, .2); }
.footer-links .notabis-consent-link, .auth-footer .notabis-consent-link { color: var(--muted); font-size: inherit; }
.footer-links .notabis-consent-link:hover, .auth-footer .notabis-consent-link:hover { color: var(--gold-bright); }
.vote-embed-preview-surface img { display: block; width: 88px; height: 31px; }
.vote-embed-preview-url { display: block; overflow-wrap: anywhere; padding: .55rem .7rem; margin-top: .55rem; border: 1px solid var(--line-soft); border-radius: 7px; background: #05070c; color: var(--jade-soft); font: .7rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitoring-config { padding: 1rem; margin-bottom: 1.25rem; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(4, 5, 10, .35); }.monitoring-config .panel-heading h2 { margin-top: .25rem; font-size: 1.15rem; }.monitoring-config .field-help { display: block; }.monitoring-status-value, .monitoring-state { font-weight: 800; }.monitoring-status-value.online, .monitoring-state.online { color: var(--success); }.monitoring-status-value.offline, .monitoring-state.offline { color: var(--danger); }.monitoring-status-value.unknown, .monitoring-state.unknown { color: var(--muted); }.monitoring-endpoints { display: grid; gap: .65rem; }.monitoring-endpoint { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .85rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(4, 5, 10, .3); }.monitoring-endpoint > div { display: grid; gap: .15rem; }.monitoring-endpoint span { color: var(--muted); font-size: .72rem; }.monitoring-endpoint-result { text-align: right; }.monitoring-endpoint-result b { font-size: .7rem; }.monitoring-last-checked, .monitoring-muted { margin: .8rem 0 0; color: var(--muted); font-size: .75rem; }

.tag-archived { color: var(--muted); border-color: rgba(175, 182, 190, .35); background: rgba(175, 182, 190, .08); }
.admin-list-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; margin: 0 0 1rem; }
.admin-list-filter label { color: var(--muted); font-size: .72rem; font-weight: 800; }
.admin-list-filter select { min-width: 170px; }
.admin-list-row-pending { position: relative; border-color: rgba(255, 176, 72, .8); background: linear-gradient(105deg, rgba(103, 57, 12, .34), rgba(22, 24, 27, .98) 40%); box-shadow: 0 0 0 1px rgba(255, 176, 72, .18), 0 8px 26px rgba(0, 0, 0, .2); }
.admin-list-row-pending::before { position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: var(--radius) 0 0 var(--radius); background: #ffb048; content: ""; }
.pending-review-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .27rem .55rem; color: #211102; border: 1px solid #ffd07c; border-radius: 999px; background: linear-gradient(135deg, #ffd17b, #ffad3d); box-shadow: 0 2px 10px rgba(255, 176, 72, .28); font-size: .62rem; font-weight: 950; letter-spacing: .055em; text-transform: uppercase; }
.pending-review-badge::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.pending-review-alert { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; margin: 0 0 1rem; border: 1px solid rgba(255, 176, 72, .7); border-left: 5px solid #ffb048; border-radius: var(--radius); background: linear-gradient(110deg, rgba(92, 50, 9, .48), rgba(25, 24, 22, .96)); box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }
.pending-review-alert-copy { display: flex; align-items: center; gap: .8rem; }
.pending-review-alert-copy > div { display: grid; gap: .12rem; }
.pending-review-alert-copy strong { color: #ffe0a7; font-size: .95rem; }
.pending-review-alert-copy span:not(.pending-review-alert-icon) { color: var(--muted); font-size: .72rem; }
.pending-review-alert-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: #241404; border-radius: 50%; background: #ffb048; font-size: 1.2rem; font-weight: 950; }
.pending-review-alert .btn { flex: 0 0 auto; }
.admin-list-actions form, .owner-actions form { margin: 0; }
@media (max-width: 700px) { .pending-review-alert { align-items: stretch; flex-direction: column; }.pending-review-alert .btn { width: 100%; }.pending-review-alert-copy strong { font-size: .82rem; } }
.footer-site-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; padding: .7rem .9rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(4, 5, 10, .35); }
.footer-site-stats > div { display: grid; gap: .12rem; }
.footer-site-stats strong { color: var(--gold-bright); font-family: var(--display); font-size: .9rem; }
.footer-site-stats span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.agent-key-output { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .65rem; margin-top: .8rem; }
.agent-key-output code { min-width: 0; padding: .8rem; overflow-wrap: anywhere; color: var(--jade-soft); border: 1px solid var(--line-soft); border-radius: 7px; background: #05070c; font: .76rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.agent-key-list { margin-top: 1rem; }
.agent-key-list td form { margin: 0; }
.agent-key-panel > .form-section-heading,
.agent-key-list > .form-section-heading { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .agent-key-output { grid-template-columns: 1fr; }.agent-key-output .btn { width: 100%; } }
.detail-sidebar { display: grid; align-content: start; gap: 1rem; position: sticky; top: 98px; align-self: start; }
@media (max-width: 820px) {
    .detail-sidebar { position: static; top: auto; align-self: stretch; }
}
.discord-widget { padding: 1.15rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 21, 32, .86), rgba(9, 11, 17, .9)); }
.discord-widget .panel-heading { margin-bottom: .9rem; }
.discord-widget .panel-heading h2 { font-size: 1.02rem; }
.discord-widget-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0 0 1rem; }
.discord-widget-stats div { padding: .7rem .45rem; border: 1px solid var(--line-soft); border-radius: calc(var(--radius) * .65); background: rgba(17, 21, 32, .58); text-align: center; }
.discord-widget-stats strong { display: block; color: var(--gold-bright); font-family: var(--display); font-size: 1.35rem; }
.discord-widget-stats span { display: block; color: var(--subtle); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.discord-widget-unavailable { margin: 0 0 1rem; color: var(--subtle); font-size: .8rem; }
.detail-sidebar > .cta-panel,
.detail-sidebar > .discord-widget,
.detail-sidebar > .side-note { position: static; inset: auto; }

/* Commercial admin controls */
.admin-commercial-page { display: grid; gap: 1rem; }
.admin-commercial-page .page-heading { margin-bottom: .2rem; }
.admin-commercial-page .detail-panel { border-color: rgba(215, 170, 84, .18); background: linear-gradient(145deg, rgba(18, 34, 28, .9), rgba(8, 16, 13, .96)); }
.admin-commercial-page .detail-panel > h2 { margin: .25rem 0 .85rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.admin-commercial-page .form-grid { align-items: start; gap: 1rem; }
.admin-commercial-page .form-group { display: grid; align-content: start; gap: .55rem; }
.admin-commercial-page .form-group > label:not(.commercial-checkbox),
.admin-commercial-page form:not(.form-grid) > label { display: block; margin: .1rem 0 -.3rem; color: #c0cbc3; font-size: .65rem; font-weight: 800; letter-spacing: .055em; line-height: 1.4; text-transform: uppercase; }
.admin-commercial-page .form-group .form-control,
.admin-commercial-page form:not(.form-grid) .form-control { min-height: 44px; }
.admin-commercial-page .commercial-edit-form { padding: 1.15rem 0 0; margin-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.admin-commercial-page .commercial-checkbox { display: flex; align-items: center; gap: .65rem; width: fit-content; max-width: 100%; min-height: 44px; padding: .55rem .75rem; margin: 0; color: #d6dfd9; background: rgba(4, 10, 7, .54); border: 1px solid rgba(202, 219, 207, .18); border-radius: 9px; font-size: .74rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; text-transform: none; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.admin-commercial-page .commercial-checkbox:hover { border-color: rgba(215, 170, 84, .52); background: rgba(215, 170, 84, .065); }
.admin-commercial-page .commercial-checkbox:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215, 170, 84, .14); }
.admin-commercial-page .commercial-checkbox input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.admin-commercial-page .btn { min-height: 44px; padding: .7rem 1rem; border-radius: 9px; font-size: .74rem; }
.admin-commercial-page .btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.admin-commercial-page .btn:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.admin-commercial-page .form-group > .btn { justify-self: start; min-width: 142px; margin-top: .1rem; }
.admin-commercial-page .detail-panel > form:not(.form-grid) { display: grid; gap: .7rem; }
.admin-commercial-page .detail-panel > form[method="GET"] { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.admin-commercial-page [data-copy-status] { display: inline-block; min-height: 1.2em; margin-left: .65rem; color: var(--success); font-size: .72rem; }
@media (max-width: 620px) {
    .admin-commercial-page .detail-panel { padding: 1rem; }
    .admin-commercial-page .commercial-checkbox { width: 100%; }
    .admin-commercial-page .form-group > .btn { width: 100%; justify-self: stretch; }
    .admin-commercial-page .detail-panel > form[method="GET"] { grid-template-columns: 1fr; }
    .admin-commercial-page .detail-panel > form[method="GET"] .btn { width: 100%; }
}

/* Commercial campaign controls and voucher register */
.admin-commercial-page .commercial-campaign-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 1rem; margin-top: .25rem; border-top: 1px solid var(--line-soft); }
.admin-commercial-page .commercial-choice-group { min-width: 0; padding: .85rem; margin: 0; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(4, 10, 7, .3); }
.admin-commercial-page .commercial-choice-group legend { padding: 0 .4rem; color: var(--gold-bright); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.admin-commercial-page .commercial-choice-group legend span { display: block; margin-top: .16rem; color: var(--subtle); font-size: .61rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.admin-commercial-page .commercial-checkbox-grid { display: grid; gap: .55rem; }
.admin-commercial-page .commercial-checkbox-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-commercial-page .commercial-checkbox-grid-rules { grid-template-columns: 1fr; }
.admin-commercial-page .commercial-checkbox-grid .commercial-checkbox { width: 100%; }
.admin-commercial-page .commercial-campaign-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: .1rem; }
.admin-commercial-page .commercial-campaign-actions .btn { min-width: 170px; }
.admin-commercial-page .commercial-table-filter { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: .65rem; max-width: 640px; margin: 0 0 1rem; }
.admin-commercial-page .commercial-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(4, 9, 7, .32); -webkit-overflow-scrolling: touch; scrollbar-color: rgba(215, 170, 84, .55) rgba(7, 13, 10, .9); scrollbar-width: thin; }
.admin-commercial-page .commercial-table-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.admin-commercial-page .commercial-table { width: 100%; min-width: 920px; margin: 0; border-collapse: collapse; table-layout: fixed; color: var(--ink); }
.admin-commercial-page .commercial-table th,
.admin-commercial-page .commercial-table td { padding: .8rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(202, 219, 207, .13); }
.admin-commercial-page .commercial-table th { position: sticky; top: 0; z-index: 1; color: var(--gold-bright); background: #0b1711; font-size: .63rem; font-weight: 850; letter-spacing: .065em; line-height: 1.35; text-transform: uppercase; }
.admin-commercial-page .commercial-table td { color: #c4cec7; font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; }
.admin-commercial-page .commercial-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }
.admin-commercial-page .commercial-table tbody tr:hover { background: rgba(215, 170, 84, .045); }
.admin-commercial-page .commercial-table tbody tr:last-child td { border-bottom: 0; }
.admin-commercial-page .commercial-table th:nth-child(1), .admin-commercial-page .commercial-table td:nth-child(1) { width: 19%; }
.admin-commercial-page .commercial-table th:nth-child(2), .admin-commercial-page .commercial-table td:nth-child(2) { width: 15%; }
.admin-commercial-page .commercial-table th:nth-child(3), .admin-commercial-page .commercial-table td:nth-child(3) { width: 18%; }
.admin-commercial-page .commercial-table th:nth-child(4), .admin-commercial-page .commercial-table td:nth-child(4) { width: 29%; }
.admin-commercial-page .commercial-table th:nth-child(5), .admin-commercial-page .commercial-table td:nth-child(5) { width: 9%; }
.admin-commercial-page .commercial-table th:nth-child(6), .admin-commercial-page .commercial-table td:nth-child(6) { width: 10%; }
.admin-commercial-page .commercial-table td code { display: inline-block; max-width: 100%; padding: .28rem .42rem; color: var(--gold-bright); border: 1px solid rgba(215, 170, 84, .2); border-radius: 6px; background: rgba(3, 8, 5, .72); font-size: .68rem; overflow-wrap: anywhere; }
.admin-commercial-page .commercial-table-action { display: flex; margin: 0; }
.admin-commercial-page .commercial-table-action .btn { min-width: 84px; padding-inline: .65rem; white-space: nowrap; }
.admin-commercial-page .voucher-register-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.admin-commercial-page .commercial-flash { margin: 0 0 1rem; padding: .7rem .85rem; border: 1px solid rgba(215, 170, 84, .25); border-radius: 8px; background: rgba(215, 170, 84, .06); }
.admin-commercial-page .commercial-flash-error, .admin-commercial-page .voucher-delete-note { color: var(--danger); }
@media (max-width: 720px) {
    .admin-commercial-page .commercial-campaign-options { grid-template-columns: 1fr; }
    .admin-commercial-page .commercial-campaign-actions { grid-column: auto; }
    .admin-commercial-page .commercial-campaign-actions .btn { width: 100%; }
}
@media (max-width: 620px) {
    .admin-commercial-page .commercial-table-filter { grid-template-columns: 1fr; max-width: none; }
    .admin-commercial-page .commercial-checkbox-grid-products { grid-template-columns: 1fr; }
}

/* Premium owner reporting */
.stats-lifetime-grid { margin-bottom: 1.2rem; }
.report-overview { padding: 1.3rem; margin-bottom: 1rem; border: 1px solid rgba(215, 170, 84, .32); border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 0, rgba(215, 170, 84, .08), transparent 30%), linear-gradient(145deg, rgba(18, 34, 28, .94), rgba(8, 16, 13, .96)); box-shadow: var(--gold-shadow); }
.report-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.report-section-heading h2 { margin: .25rem 0 .25rem; font-size: 1.45rem; }
.report-section-heading p { margin: 0; color: var(--muted); font-size: .76rem; }
.report-metrics-grid { margin-top: 1rem; }
.report-metric-card { min-width: 0; }
.report-metric-card small { display: block; margin-top: .48rem; color: var(--jade-soft); font-size: .61rem; line-height: 1.45; }
.report-overview .btn, .report-section-heading > .btn { flex: 0 0 auto; }
.report-activity-panel, .callback-report-panel { margin-top: 1rem; }
.report-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .65rem; }
.report-heading-actions .btn { white-space: nowrap; }
.report-legend { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .35rem; color: var(--muted); font-size: .68rem; }
.report-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.report-legend i { width: 8px; height: 8px; display: inline-block; border-radius: 2px; }
.legend-votes { background: var(--gold-bright); }.legend-clicks { background: var(--jade-soft); }
.report-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.report-chart-card { min-width: 0; padding: .9rem 1rem .75rem; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(4, 8, 6, .38); }
.report-chart-heading, .report-chart-axis { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.report-chart-heading span { color: var(--muted); font-size: .7rem; font-weight: 700; }.report-chart-heading strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.1rem; }
.report-bars { display: grid; grid-template-columns: repeat(30, minmax(2px, 1fr)); align-items: end; gap: 3px; min-height: 118px; padding: .55rem 0 0; border-bottom: 1px solid var(--line-soft); }
.report-bar { align-self: end; display: block; width: 100%; min-height: 3px; border-radius: 3px 3px 0 0; transition: opacity .15s ease; }
.report-bar:hover { opacity: .72; }.report-bar-votes { background: linear-gradient(180deg, var(--gold-bright), rgba(215, 170, 84, .38)); }.report-bar-clicks { background: linear-gradient(180deg, var(--jade-soft), rgba(112, 176, 155, .35)); }.report-bar.is-empty { height: 3px !important; background: rgba(255, 255, 255, .055); }
.report-chart-axis { padding-top: .38rem; color: var(--subtle); font-size: .57rem; }
.report-note { margin: .8rem 0 0; color: var(--subtle); font-size: .68rem; line-height: 1.55; }
.report-data-details { margin-top: 1rem; border-top: 1px solid var(--line-soft); }
.report-data-details summary { width: max-content; max-width: 100%; padding: .85rem 0 .15rem; color: var(--gold-bright); font-size: .72rem; font-weight: 750; cursor: pointer; }
.report-data-table { min-width: 720px; margin-top: .55rem; }
.report-data-table th, .report-data-table td { padding: .62rem .7rem; white-space: nowrap; }
.callback-config-status { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; padding: .42rem .6rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-size: .62rem; white-space: nowrap; }
.callback-config-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--subtle); }
.callback-config-status.is-configured { color: var(--success); border-color: rgba(105, 197, 151, .28); }.callback-config-status.is-configured i { background: var(--success); }
.callback-setup-note { padding: .7rem .8rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(255, 255, 255, .025); }.callback-setup-note a { color: var(--gold-bright); }
.callback-report-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.callback-report-stats > div { min-width: 0; padding: .8rem .55rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(4, 8, 6, .34); text-align: center; }
.callback-report-stats strong, .callback-report-stats span { display: block; }.callback-report-stats strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.15rem; }.callback-report-stats span { margin-top: .22rem; color: var(--subtle); font-size: .56rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.callback-failures { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line-soft); }.callback-failures .panel-heading { margin-bottom: .55rem; }.callback-failures h3 { margin: .2rem 0 0; font-size: 1rem; }
.report-empty-state { padding: .75rem; margin: 0; color: var(--success); border: 1px solid rgba(105, 197, 151, .2); border-radius: 8px; background: rgba(105, 197, 151, .04); font-size: .75rem; }
.premium-report-locked { align-items: flex-start; margin-top: 1rem; border-color: rgba(215, 170, 84, .24); background: linear-gradient(135deg, rgba(215, 170, 84, .06), rgba(10, 17, 13, .92)); }.premium-report-locked h2 { margin: .25rem 0 .4rem; font-size: 1.25rem; }.premium-report-locked p { max-width: 720px; margin: 0 0 .9rem; font-size: .76rem; line-height: 1.6; }
@media (max-width: 760px) {
    .callback-report-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .report-overview, .detail-panel.report-activity-panel, .detail-panel.callback-report-panel { padding: 1rem; }
    .report-section-heading { align-items: flex-start; flex-direction: column; }
    .report-section-heading > .btn { width: 100%; }
    .report-heading-actions { width: 100%; align-items: stretch; flex-direction: column; }
    .report-heading-actions .btn { width: 100%; }
    .report-chart-grid { grid-template-columns: 1fr; }
    .callback-report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .callback-config-status { white-space: normal; }
    .callback-failures-table { width: 100%; min-width: 0; table-layout: fixed; }
    .callback-failures-table th, .callback-failures-table td { padding: .48rem .28rem; white-space: normal; overflow-wrap: anywhere; }
    .callback-failures-table th:nth-child(1) { width: 34%; }
    .callback-failures-table th:nth-child(2) { width: 18%; }
    .callback-failures-table th:nth-child(3) { width: 28%; }
    .callback-failures-table th:nth-child(4) { width: 20%; }
}

/* Compact commercial admin tables and accessible edit dialogs */
.admin-commercial-page .commercial-page-heading,
.admin-commercial-page .commercial-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.admin-commercial-page .commercial-page-heading { align-items: center; }
.admin-commercial-page .commercial-page-heading h1 { margin-bottom: .3rem; }
.admin-commercial-page .commercial-page-heading p,
.admin-commercial-page .commercial-section-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .76rem; }
.admin-commercial-page .commercial-page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.admin-commercial-page .commercial-section { min-width: 0; }
.admin-commercial-page .commercial-section-heading { margin-bottom: 1rem; }
.admin-commercial-page .commercial-section-heading h2 { margin: .25rem 0 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.admin-commercial-page .commercial-section-heading > .btn,
.admin-commercial-page .commercial-page-actions > .btn { flex: 0 0 auto; }
.admin-commercial-page .commercial-table { table-layout: auto; min-width: 850px; }
.admin-commercial-page .commercial-table-products { min-width: 760px; }
.admin-commercial-page .commercial-table-campaigns { min-width: 1190px; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(1), .admin-commercial-page .commercial-table-campaigns td:nth-child(1) { width: 20%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(2), .admin-commercial-page .commercial-table-campaigns td:nth-child(2) { width: 14%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(3), .admin-commercial-page .commercial-table-campaigns td:nth-child(3) { width: 14%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(4), .admin-commercial-page .commercial-table-campaigns td:nth-child(4) { width: 15%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(5), .admin-commercial-page .commercial-table-campaigns td:nth-child(5) { width: 21%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(6), .admin-commercial-page .commercial-table-campaigns td:nth-child(6) { width: 8%; }
.admin-commercial-page .commercial-table-campaigns th:nth-child(7), .admin-commercial-page .commercial-table-campaigns td:nth-child(7) { width: 8%; }
.admin-commercial-page .commercial-table-vouchers { min-width: 900px; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(1), .admin-commercial-page .commercial-table-vouchers td:nth-child(1) { width: 16%; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(2), .admin-commercial-page .commercial-table-vouchers td:nth-child(2) { width: 19%; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(3), .admin-commercial-page .commercial-table-vouchers td:nth-child(3) { width: 17%; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(4), .admin-commercial-page .commercial-table-vouchers td:nth-child(4) { width: 20%; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(5), .admin-commercial-page .commercial-table-vouchers td:nth-child(5) { width: 8%; }
.admin-commercial-page .commercial-table-vouchers th:nth-child(6), .admin-commercial-page .commercial-table-vouchers td:nth-child(6) { width: 20%; }
.admin-commercial-page .commercial-table-vouchers th,
.admin-commercial-page .commercial-table-vouchers td { padding: .55rem .62rem; }
.admin-commercial-page .commercial-table td { vertical-align: middle; }
.admin-commercial-page .commercial-table td strong,
.admin-commercial-page .commercial-table-subtext,
.admin-commercial-page .commercial-promo-link { display: block; }
.admin-commercial-page .commercial-table td strong { color: var(--ink); font-size: .76rem; }
.admin-commercial-page .commercial-table-subtext { margin-top: .22rem; color: var(--subtle); font-size: .66rem; line-height: 1.45; }
.admin-commercial-page .commercial-promo-link { width: fit-content; margin-top: .28rem; color: var(--jade-soft); font-size: .65rem; }
.admin-commercial-page .commercial-table td code { margin-top: .28rem; }
.admin-commercial-page .commercial-status { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem; border: 1px solid var(--line-soft); border-radius: 999px; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.admin-commercial-page .commercial-status::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.admin-commercial-page .commercial-status.is-active { color: var(--success); border-color: rgba(105, 197, 151, .28); background: rgba(105, 197, 151, .055); }
.admin-commercial-page .commercial-status.is-inactive { color: var(--subtle); background: rgba(255, 255, 255, .025); }
.admin-commercial-page .commercial-performance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .22rem .65rem; font-size: .66rem; font-variant-numeric: tabular-nums; }
.admin-commercial-page .commercial-performance-list strong { grid-column: 1 / -1; margin-top: .22rem; color: var(--gold-bright); }
.admin-commercial-page .commercial-row-action { min-width: 68px; }
.admin-commercial-page .commercial-empty-state { margin: 0; padding: .7rem; color: var(--subtle); font-size: .76rem; }
.admin-commercial-page .commercial-table-note { display: block; margin-top: .6rem; color: var(--subtle); font-size: .66rem; }
.admin-commercial-page .commercial-table-filter { display: flex; align-items: center; gap: .55rem; max-width: 430px; margin: 0 0 .85rem; }
.admin-commercial-page .commercial-table-filter > label { color: var(--muted); font-size: .72rem; font-weight: 700; }
.admin-commercial-page .commercial-section > .commercial-table-filter { display: flex; align-items: center; gap: .55rem; max-width: none; width: fit-content; padding: .45rem .65rem; margin: 0 0 .7rem; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(4, 9, 7, .28); }
.admin-commercial-page .commercial-section > .commercial-table-filter > label { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-commercial-page .commercial-section > .commercial-table-filter .form-control { width: 180px; min-width: 0; min-height: 38px; padding-block: .4rem; }
.admin-commercial-page .commercial-section > .commercial-table-filter .btn { min-height: 38px; padding-block: .4rem; white-space: nowrap; }
.admin-commercial-page .voucher-redemption-counter { gap: .2rem; }
.admin-commercial-page .voucher-redemption-counter .btn { width: fit-content; min-height: 30px; padding: .3rem .45rem; font-size: .61rem; }
.admin-commercial-page .voucher-register-actions { display: grid; grid-template-columns: repeat(2, max-content); align-items: center; gap: .3rem; }
.admin-commercial-page .voucher-register-actions .commercial-table-action { min-width: 0; }
.admin-commercial-page .voucher-register-actions .btn { min-width: 0; min-height: 30px; padding: .3rem .48rem; font-size: .61rem; white-space: nowrap; }
.admin-commercial-page .voucher-register-actions .btn:disabled { cursor: not-allowed; opacity: .55; }
.admin-commercial-page .commercial-table-filter .form-control { min-width: 170px; }
.admin-commercial-page .commercial-generated-codes { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); align-items: start; gap: 1rem; }
.admin-commercial-page .commercial-generated-codes h2 { margin: .2rem 0; font-size: 1.1rem; }
.admin-commercial-page .commercial-generated-codes p { margin: 0; color: var(--muted); font-size: .72rem; }
.admin-commercial-page .commercial-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .7rem; }
.admin-commercial-page .commercial-copy-row .form-control { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; }
.admin-commercial-page .commercial-copy-row [data-copy-status] { display: block; margin: .25rem 0 0; }
.admin-commercial-page .commercial-trial-settings { padding: 0; overflow: hidden; }
.admin-commercial-page .commercial-trial-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; list-style: none; cursor: pointer; }
.admin-commercial-page .commercial-trial-settings > summary::-webkit-details-marker { display: none; }
.admin-commercial-page .commercial-trial-settings > summary::after { flex: 0 0 auto; color: var(--gold-bright); content: "+"; font-size: 1.2rem; }
.admin-commercial-page .commercial-trial-settings[open] > summary::after { content: "−"; }
.admin-commercial-page .commercial-trial-settings > summary > span:first-child { display: grid; gap: .15rem; }
.admin-commercial-page .commercial-trial-settings > summary strong { color: var(--ink); font-size: .9rem; }
.admin-commercial-page .commercial-trial-current { margin-left: auto; color: var(--jade-soft); font-size: .68rem; }
.admin-commercial-page .commercial-trial-content { padding: .1rem 1.2rem 1.2rem; border-top: 1px solid var(--line-soft); }
.admin-commercial-page .commercial-trial-content > p { color: var(--muted); font-size: .72rem; }
.admin-commercial-page .commercial-inline-settings { display: grid; grid-template-columns: minmax(260px, 1fr) 150px auto; align-items: end; gap: .65rem; }
.admin-commercial-page .commercial-inline-settings > label { color: var(--muted); font-size: .7rem; font-weight: 700; }
.admin-commercial-page .commercial-dialog { width: min(860px, calc(100% - 1.5rem)); max-width: none; max-height: min(92dvh, 940px); padding: 0; overflow: auto; color: var(--ink); background: linear-gradient(145deg, rgba(18, 34, 28, .99), rgba(5, 10, 8, .995)); border: 1px solid rgba(215, 170, 84, .36); border-radius: var(--radius-lg); box-shadow: 0 25px 90px rgba(0, 0, 0, .65); }
.admin-commercial-page .commercial-dialog-wide { width: min(1080px, calc(100% - 1.5rem)); }
.admin-commercial-page .commercial-dialog::backdrop { background: rgba(1, 3, 2, .8); backdrop-filter: blur(5px); }
.admin-commercial-page .commercial-dialog-inner { padding: clamp(1rem, 3vw, 1.5rem); }
.admin-commercial-page .commercial-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.admin-commercial-page .commercial-dialog-header h2 { margin: .2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.admin-commercial-page .commercial-dialog-header .btn { flex: 0 0 auto; }
.admin-commercial-page .commercial-modal-form { display: grid; gap: 1rem; }
.admin-commercial-page .commercial-modal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .9rem; }
.admin-commercial-page .commercial-modal-grid .form-group { min-width: 0; display: grid; align-content: start; gap: .48rem; }
.admin-commercial-page .commercial-modal-grid .form-group > label:not(.commercial-checkbox) { margin: .15rem 0 -.2rem; color: #c0cbc3; font-size: .64rem; font-weight: 800; letter-spacing: .045em; line-height: 1.4; text-transform: uppercase; }
.admin-commercial-page .commercial-modal-grid .form-control { min-height: 42px; }
.admin-commercial-page .commercial-modal-grid textarea.form-control { min-height: 92px; }
.admin-commercial-page .commercial-choice-products { grid-column: 1 / -1; }
.admin-commercial-page .commercial-choice-products .commercial-checkbox-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-commercial-page .commercial-modal-grid .commercial-choice-group { min-width: 0; padding: .75rem; margin: .2rem 0 0; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(4, 10, 7, .34); }
.admin-commercial-page .commercial-modal-grid .commercial-choice-group legend { padding: 0 .3rem; color: var(--gold-bright); font-size: .65rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.admin-commercial-page .commercial-modal-grid .commercial-choice-group legend span { display: block; margin-top: .14rem; color: var(--subtle); font-size: .61rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.admin-commercial-page .commercial-modal-grid .commercial-checkbox-grid { display: grid; gap: .45rem; }
.admin-commercial-page .commercial-modal-grid .commercial-checkbox-grid-rules { grid-template-columns: 1fr; }
.admin-commercial-page .commercial-voucher-rules { padding-top: .2rem; }
.admin-commercial-page .commercial-field-error { color: var(--danger); font-size: .66rem; }
.admin-commercial-page .commercial-input-suffix { position: relative; }
.admin-commercial-page .commercial-input-suffix .form-control { padding-right: 2.2rem; }
.admin-commercial-page .commercial-input-suffix > span { position: absolute; top: 50%; right: .8rem; color: var(--subtle); font-size: .72rem; transform: translateY(-50%); }
.admin-commercial-page .commercial-dialog-actions { display: flex; justify-content: flex-end; gap: .55rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.admin-commercial-page .commercial-dialog-actions .btn { min-width: 110px; }
.admin-commercial-page .commercial-dialog :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.admin-commercial-page .commercial-flash-error ul { margin: .4rem 0 0; padding-left: 1.15rem; }
@media (max-width: 760px) {
    .admin-commercial-page .commercial-page-heading,
    .admin-commercial-page .commercial-section-heading { align-items: stretch; flex-direction: column; }
    .admin-commercial-page .commercial-page-actions { justify-content: stretch; }
    .admin-commercial-page .commercial-page-actions .btn,
    .admin-commercial-page .commercial-section-heading > .btn { width: 100%; }
    .admin-commercial-page .commercial-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-commercial-page .commercial-choice-products { grid-column: 1 / -1; }
    .admin-commercial-page .commercial-choice-products .commercial-checkbox-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-commercial-page .commercial-generated-codes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .admin-commercial-page .commercial-page-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .admin-commercial-page .commercial-modal-grid { grid-template-columns: 1fr; }
    .admin-commercial-page .commercial-choice-products { grid-column: auto; }
    .admin-commercial-page .commercial-choice-products .commercial-checkbox-grid-products { grid-template-columns: 1fr; }
    .admin-commercial-page .commercial-copy-row { grid-template-columns: 1fr; }
    .admin-commercial-page .commercial-copy-row > div { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
    .admin-commercial-page .commercial-inline-settings { grid-template-columns: 1fr; }
    .admin-commercial-page .commercial-inline-settings .btn { width: 100%; }
    .admin-commercial-page .commercial-table-filter { display: grid; grid-template-columns: 1fr; max-width: none; }
    .admin-commercial-page .commercial-section > .commercial-table-filter { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; }
    .admin-commercial-page .commercial-section > .commercial-table-filter .btn { grid-column: 1 / -1; width: 100%; }
    .admin-commercial-page .commercial-table-filter .form-control { min-width: 0; }
    .admin-commercial-page .commercial-table-filter .btn { width: 100%; }
    .admin-commercial-page .commercial-trial-settings > summary { align-items: flex-start; padding: .9rem; }
    .admin-commercial-page .commercial-trial-content { padding: .1rem .9rem .9rem; }
    .admin-commercial-page .commercial-dialog-actions { flex-direction: column-reverse; }
    .admin-commercial-page .commercial-dialog-actions .btn { width: 100%; }
}

.admin-paypal-page { display: grid; gap: 1.1rem; }
.admin-paypal-page > .detail-panel { margin: 0; min-width: 0; }
.admin-paypal-page .page-heading { align-items: center; margin-bottom: .85rem; gap: 1rem; }
.admin-paypal-page .page-heading p { max-width: 72ch; margin-top: .3rem; line-height: 1.6; }
.admin-paypal-page > small,
.admin-paypal-page .detail-panel > small { display: block; max-width: 76ch; color: var(--subtle); line-height: 1.65; }
.admin-paypal-page .notice-line { line-height: 1.6; }
.admin-paypal-page #paypal-settings-form { display: grid; gap: .65rem; }
.admin-paypal-page #paypal-settings-form .commercial-grid { display: grid; gap: 1rem; }
.admin-paypal-page #paypal-settings-form .detail-panel { display: grid; align-content: start; gap: .55rem; min-width: 0; }
.admin-paypal-page #paypal-settings-form .detail-panel h2 { margin: .1rem 0 .35rem; }
.admin-paypal-page #paypal-settings-form .detail-panel p { margin: .1rem 0 .4rem; line-height: 1.55; }
.admin-paypal-page #paypal-settings-form .detail-panel small { overflow-wrap: anywhere; }
.admin-paypal-page .paypal-operations-panel { display: grid; gap: .65rem; min-width: 0; }
.admin-paypal-page .table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(215, 170, 84, .5) rgba(7, 13, 10, .75); }
.admin-paypal-page .paypal-operations-panel .page-heading { margin-bottom: .25rem; }
.admin-paypal-page .paypal-action-note { max-width: 88ch; margin: 0; padding: .75rem .9rem; border-left: 2px solid var(--gold); border-radius: 4px; background: rgba(215, 170, 84, .07); color: var(--muted); font-size: .76rem; line-height: 1.65; }
.admin-paypal-page .paypal-empty-state { margin: .3rem 0; color: var(--muted); }
.admin-paypal-page .paypal-operations-table { min-width: 960px; }
.admin-paypal-page .paypal-operations-table th,
.admin-paypal-page .paypal-operations-table td { padding: .85rem .8rem; vertical-align: top; line-height: 1.55; }
.admin-paypal-page .paypal-operations-table td { overflow-wrap: anywhere; }
.admin-paypal-page .paypal-operations-table td:first-child,
.admin-paypal-page .paypal-operations-table td:nth-child(3),
.admin-paypal-page .paypal-operations-table td:nth-child(5) { white-space: nowrap; }
.admin-paypal-page .paypal-operations-table td:nth-child(4) { min-width: 170px; }
.admin-paypal-page .paypal-operations-table td:nth-child(6) { min-width: 135px; }
.admin-paypal-page .paypal-operations-table code { overflow-wrap: anywhere; }
.admin-paypal-page .paypal-payment-actions { display: grid; gap: .45rem; min-width: 112px; }
.admin-paypal-page .paypal-payment-actions form,
.admin-paypal-page .paypal-payment-actions .btn { width: 100%; }
.admin-paypal-page #paypal-refund-review,
.admin-paypal-page #paypal-webhook-events { display: grid; gap: .65rem; }
.admin-paypal-page #paypal-refund-review .table-scroll,
.admin-paypal-page #paypal-webhook-events .table-scroll { margin-top: .15rem; }
.admin-paypal-page #paypal-refund-review .data-table,
.admin-paypal-page #paypal-webhook-events .data-table { min-width: 760px; }
.admin-paypal-page #paypal-refund-review .data-table td,
.admin-paypal-page #paypal-webhook-events .data-table td { vertical-align: top; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .admin-paypal-page .page-heading { align-items: flex-start; }
    .admin-paypal-page #paypal-settings-form .commercial-grid { grid-template-columns: 1fr; }
    .admin-paypal-page #paypal-settings-form > .btn { width: 100%; }
    }

    /* Compact directory-first homepage experiment */
    .home-page .hero-home { min-height: 0; display: grid; align-content: center; row-gap: 0; padding-bottom: .65rem; }
    .home-page .hero-art { background-position: 74% 44%; }
    .home-page .hero-home::after { height: 26px; z-index: 0; }
    .home-page .hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: center; text-align: center; column-gap: 1.25rem; row-gap: .35rem; width: min(100% - 48px, 1080px); padding: 1.1rem 0 .75rem; }
    .home-page .hero-content > * { max-width: none; }
    .home-page .hero-kicker { grid-column: 1 / -1; font-size: .62rem; }
    .home-page .hero-content h1 { grid-column: 1; max-width: 100%; margin: .15rem 0 .1rem; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.08; text-align: center; }
    .home-page .hero-content > p { grid-column: 1; max-width: 760px; margin-inline: auto; font-size: .9rem; line-height: 1.45; text-align: center; }
    .home-page .hero-actions { grid-column: 2; grid-row: 3; align-self: center; gap: .55rem; margin: 0; }
    .home-page .hero-actions .btn-large { min-height: 42px; padding: .62rem .9rem; }
    .home-page .hero-trust { grid-column: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; width: min(100%, 900px); margin: .25rem auto 0; }
    .home-page .hero-trust div { flex: 1 1 auto; min-width: 130px; padding: .45rem .8rem; border: 1px solid rgba(215, 170, 84, .22); border-radius: 8px; background: linear-gradient(145deg, rgba(3, 6, 5, .86), rgba(3, 6, 5, .68)); box-shadow: 0 6px 18px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .035); text-align: center; }
    .home-page .hero-trust div:first-child { padding-left: .8rem; }
    .home-page .hero-trust b { font-size: .78rem; }
    .home-page .hero-trust span { font-size: .58rem; color: #cdb66f; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
    .home-page .hero-trust .hero-stat-primary b { color: var(--gold-bright); font-size: .98rem; }

    .home-page .filter-panel { position: relative; z-index: 1; grid-template-columns: minmax(220px, 1.55fr) repeat(4, minmax(115px, 1fr)) auto; gap: .5rem; align-items: end; width: min(100% - 48px, 1080px); padding: .65rem 0 .85rem; margin: 0 auto; border: 0; border-top: 1px solid rgba(215, 170, 84, .25); border-radius: 0; background: transparent; box-shadow: none; scroll-margin-top: 88px; }
    .home-page .filter-panel > div { text-align: center; }
    .home-page .filter-panel label { margin-bottom: .3rem; font-size: .62rem; text-align: center; }
    .home-page .filter-panel .form-control { min-height: 44px; }
    .home-page .filter-panel .filter-actions { gap: .35rem; justify-content: center; }
    .home-page .filter-panel .filter-actions .btn { white-space: nowrap; }
    .home-page .directory-section { padding-top: 0; }
    .home-page .sponsor-slot { padding: .65rem 1.2rem; margin: .75rem 0 .85rem; }
    .home-page .sponsor-slot-heading { gap: .75rem; margin-bottom: .45rem; }
    .home-page .sponsor-slot-heading h2 { margin: .1rem 0 0; font-size: 1.02rem; }
    .home-page .sponsor-slot-heading .section-kicker { font-size: .6rem; }
    .home-page .sponsored-note { font-size: .58rem; }
    .home-page .server-description { display: -webkit-box; overflow: hidden; max-width: 100%; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }

    @media (max-width: 1120px) {
        .home-page .hero-content { width: min(100% - 40px, 1080px); }
        .home-page .filter-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100% - 40px, 1080px); }
        .home-page .filter-panel .search-field { grid-column: span 2; }
        .home-page .filter-panel .filter-actions { grid-column: span 2; }
        .home-page .hero-content h1 { max-width: 100%; font-size: clamp(2rem, 4.2vw, 3.2rem); }
    }

    @media (max-width: 760px) {
        .home-page .hero-art { background-position: 67% center; }
        .home-page .hero-content { grid-template-columns: minmax(0, 1fr); row-gap: .45rem; width: min(100% - 32px, 1080px); padding: 1.1rem 0 .75rem; }
        .home-page .hero-content h1 { grid-column: 1; margin: .1rem 0 .15rem; font-size: clamp(2rem, 7.2vw, 2.9rem); }
        .home-page .hero-content > p { grid-column: 1; font-size: .83rem; }
        .home-page .hero-actions { grid-column: 1; grid-row: auto; flex-wrap: wrap; margin-top: .3rem; }
        .home-page .hero-actions .btn-large { flex: 1 1 190px; }
        .home-page .hero-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .5rem; margin-top: .25rem; }
        .home-page .filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; width: min(100% - 32px, 1080px); padding: .6rem 0 .75rem; }
        .home-page .filter-panel .search-field, .home-page .filter-panel .filter-actions { grid-column: span 2; }
        .home-page .filter-panel .filter-actions { flex-wrap: wrap; }
        .home-page .sponsor-slot { padding: .65rem .8rem; margin: .65rem 0 .75rem; }
        .home-page .hero-trust div,
        .home-page .hero-trust div:first-child { min-width: 0; padding: .35rem .5rem; }
        .home-page .hero-trust div:nth-child(odd) { padding-left: .5rem; }
        .home-page .hero-trust b { font-size: .72rem; }
        .home-page .hero-trust span { font-size: .53rem; }
        .home-page .directory-section { padding-top: 0; }
    }