/* GoFindServers.com: black, flat theme on top of Bootstrap 5.3 */
:root,
[data-bs-theme="dark"] {
  --bg: #000000;
  --surface: #0b0b0c;
  --surface-2: #121214;
  --surface-3: #1a1a1d;
  --line: #1f1f23;
  --line-strong: #2a2a30;
  --text: #f4f4f5;
  --muted: #8b8b94;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-ink: #ffffff;
  --accent-soft: rgba(59, 130, 246, .14);
  --online: #22c55e;
  --online-soft: rgba(34, 197, 94, .12);
  --gold: #facc15;
  --gold-soft: rgba(250, 204, 21, .1);
  --danger: #f87171;
  --radius: 4px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-2);
  --bs-link-color-rgb: 96, 165, 250;
  --bs-link-hover-color-rgb: 147, 197, 253;
  color-scheme: dark;
}

* { -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-size: 15px; letter-spacing: -.005em; }
a { text-decoration: none; }
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -.025em; }
.text-muted, .text-body-secondary { color: var(--muted) !important; }
.text-accent { color: var(--accent) !important; }
.link-accent { color: var(--accent); }
.link-accent:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- buttons ---------- */
.btn { border-radius: 4px; font-weight: 600; letter-spacing: -.01em; }
.btn-accent {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: var(--accent-ink);
  --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover); --bs-btn-hover-color: var(--accent-ink);
  --bs-btn-active-bg: var(--accent-hover); --bs-btn-active-border-color: var(--accent-hover); --bs-btn-active-color: var(--accent-ink);
  --bs-btn-disabled-bg: var(--surface-3); --bs-btn-disabled-border-color: var(--surface-3); --bs-btn-disabled-color: var(--muted);
  --bs-btn-focus-shadow-rgb: 59, 130, 246;
}
.btn-ghost {
  --bs-btn-color: var(--text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-bg: var(--surface-3); --bs-btn-hover-border-color: var(--line-strong); --bs-btn-hover-color: var(--text);
  --bs-btn-active-bg: var(--surface-3); --bs-btn-active-color: var(--text);
}
.btn-gold {
  --bs-btn-bg: #2563eb; --bs-btn-border-color: #2563eb; --bs-btn-color: #ffffff;
  --bs-btn-hover-bg: #3b82f6; --bs-btn-hover-border-color: #3b82f6; --bs-btn-hover-color: #ffffff;
  --bs-btn-disabled-bg: var(--surface-3); --bs-btn-disabled-border-color: var(--surface-3); --bs-btn-disabled-color: var(--muted);
}

/* ---------- forms ---------- */
.form-control, .form-select, .input-group-text {
  background-color: var(--surface-2); border-color: var(--line-strong); color: var(--text); border-radius: 4px;
}
.form-control::placeholder { color: #5f5f68; }
.form-control:focus, .form-select:focus {
  background-color: var(--surface-2); color: var(--text); border-color: var(--accent);
  box-shadow: none;
}
.form-floating > label { color: var(--muted); }
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after { background: transparent; }

/* ---------- nav ---------- */
.site-nav {
  background: #18181b;
  border-bottom: 1px solid #27272a; padding: .7rem 0;
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.035em; color: var(--text) !important; }
.brand b { color: var(--accent); font-weight: 800; }
.brand small { font-size: .62em; font-weight: 700; color: var(--muted, #a1a1aa); letter-spacing: 0; margin-left: .05em; }
.site-nav .nav-link { color: var(--muted); font-weight: 500; font-size: .92rem; padding: .45rem .8rem !important; border-radius: 4px; white-space: nowrap; }
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .nav-link.show { color: var(--text); background: #27272a; }
.nav-search input { width: 240px; background: #0f0f11; border-color: #2e2e33; height: 38px; font-size: .9rem; }
.navbar-toggler { border-color: var(--line-strong); color: var(--text); font-size: .85rem; font-weight: 600; padding: .35rem .75rem; }
.navbar-toggler:focus { box-shadow: none; }
.dropdown-menu {
  --bs-dropdown-bg: var(--surface-2); --bs-dropdown-border-color: var(--line-strong); --bs-dropdown-link-color: var(--text);
  --bs-dropdown-link-hover-bg: var(--surface-3); --bs-dropdown-link-hover-color: var(--text); --bs-dropdown-divider-bg: var(--line-strong);
  --bs-dropdown-link-active-bg: var(--accent); --bs-dropdown-link-active-color: var(--accent-ink);
  border-radius: 4px; box-shadow: none; padding: .4rem;
}
.dropdown-item { border-radius: 2px; font-size: .9rem; padding: .45rem .7rem; }
.profile-dropdown .dropdown-menu { max-height: min(70vh, 30rem); overflow-y: auto; }
.mega { min-width: 360px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .4rem .7rem .2rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4.5rem; }
/* Keep the artwork centered within the hero, with dark side gutters. */
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero-media > img { position: absolute; top: 0; left: 50%; width: min(92%, 1200px); height: 100%; object-fit: contain; object-position: center; transform: translateX(-50%); }
.hero-media .hero-slide { width: min(100%, 1440px); opacity: 0; object-fit: cover; filter: saturate(1.12) blur(.35px); transform: translateX(-50%) scale(1.04); transition: opacity 1.25s ease, transform 6s linear; }
.hero-media .hero-slide.is-active { opacity: 1; transform: translateX(-50%) scale(1.02); }
.hero-art-credit { position: absolute; z-index: 2; right: max(1rem, calc((100vw - 1320px) / 2)); bottom: .55rem; margin: 0; padding: .25rem .55rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(0,0,0,.55); color: rgba(255,255,255,.72); font-size: .68rem; line-height: 1.2; }
.hero-art-credit a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 2px; }
.hero-art-credit a:hover { color: #fff; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(0, 0, 0, .7);
}
.hero .hero-sub, .hero .hero-stats span { color: #c4c4cc; }
.hero > .container-xl { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--text);
  padding: .3rem .8rem; border-radius: 4px; border: 1px solid var(--line-strong); background: #000;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.02; margin: 1.25rem 0 1rem; letter-spacing: -.045em; -webkit-text-stroke: 1px #fff; paint-order: stroke fill; text-shadow: 0 2px 4px #000, 0 5px 18px rgba(0,0,0,.95); }
.hero-title .grad { color: #3b82f6; }
.seo-title-prefix { color: var(--text); }
.hero-title--rotating { display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero-title--rotating .seo-title-prefix { display: block; }
.seo-title-window { display: block; width: max-content; height: 1.18em; max-width: 100%; margin-inline: auto; padding-inline: .12em; overflow: hidden; text-align: center; color: #3b82f6; line-height: 1.18; }
.seo-title-track { display: flex; flex-direction: column; transition: transform .65s cubic-bezier(.22,.75,.25,1); will-change: transform; }
.seo-title-track > span { display: flex; height: 1.18em; flex: 0 0 1.18em; align-items: center; justify-content: center; padding-inline: .08em; line-height: 1.18; white-space: nowrap; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; text-shadow: 0 2px 5px #000, 0 4px 14px rgba(0,0,0,.95); }
.hero-stats { display: flex; justify-content: center; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; }
.hero-stats span { font-size: .82rem; color: var(--muted); }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; }
.toolbar .form-control { flex: 1 1 320px; height: 48px; font-size: 1rem; }
.toolbar .form-select { width: auto; height: 48px; }
.toolbar .btn { height: 48px; padding: 0 1.5rem; }
.tabs { display: flex; gap: .35rem; overflow-x: auto; padding: 1rem 0 .25rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  white-space: nowrap; font-size: .87rem; font-weight: 500; color: var(--muted);
  padding: .45rem .9rem; border-radius: 4px; border: 1px solid var(--line); background: var(--surface);
  transition: color .15s, border-color .15s, background .15s;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ---------- section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0 1rem; }
.section-head h2 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.section-head p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- server table ---------- */
.stable { display: flex; flex-direction: column; gap: .6rem; }
.stable-head, .srow {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 468px) 150px; gap: 0; align-items: stretch;
}
.stable-head {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600;
  padding: 0 0 .25rem;
}
.stable-head > div { padding: 0 1rem; }
.stable-head > div:first-child { text-align: center; }
.srow {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s;
}
.srow[data-card-href] { cursor: pointer; }
.srow[data-card-href]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.srow:hover { border-color: var(--line-strong); }
.srow > div { padding: 1rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.srow > div + div { border-left: 1px solid var(--line); }
.srow-rank { align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--text); }
.srow-rank.top { color: var(--accent); }
.srow-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--text); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow-name:hover { color: var(--accent); }
.srow-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.tag { font-size: .72rem; font-weight: 500; color: var(--muted); background: var(--surface-3); border: 1px solid var(--line-strong); padding: .12rem .5rem; border-radius: 2px; white-space: nowrap; }
a.tag:hover { color: var(--text); }
.srow-sub { font-size: .78rem; color: var(--muted); margin-top: .45rem; }
.srow-main .claim-server-btn { align-self: flex-start; margin: .55rem 0 0 calc(40px + .7rem); padding: .3rem .65rem; font-size: .75rem; }
.srow-server { gap: 0; }
.server-card { border-radius: 2px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-2); }
.banner { display: block; width: 100%; height: auto; aspect-ratio: 468 / 60; object-fit: cover; }

/* ---------- server logos: square box, art fitted inside ---------- */
.srv-logo {
  flex: none; width: var(--sz); height: var(--sz); display: inline-grid; place-items: center; overflow: hidden;
  border-radius: 4px; background: var(--surface-3); border: 1px solid var(--line-strong);
}
.srv-logo img { width: 100%; height: 100%; object-fit: contain; }
.srv-logo .ph {
  width: 100%; height: 100%; display: grid; place-items: center; background: var(--c2); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--sz) * .38); letter-spacing: -.04em;
  box-shadow: inset 0 calc(var(--sz) * -.08) 0 var(--c1); /* flat colour band, no gradient */
}
.is-pixel img { image-rendering: pixelated; }
.srow-head { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.srow-main .srow-tags, .srow-main .srow-sub { padding-left: calc(40px + .7rem); }
@media (max-width: 767.98px) {
  .srow-main .srow-tags, .srow-main .srow-sub { padding-left: 0; }
  .srow-main .claim-server-btn { margin-left: 0; }
}
.line-item .srv-logo { margin-right: .1rem; }
.ipbar { display: flex; align-items: stretch; border-top: 1px solid var(--line-strong); }
.ipbar code { flex: 1; min-width: 0; color: var(--text); background: none; font-size: .85rem; padding: .5rem .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.ipbar .copy-ip { border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; background: var(--surface-3); color: var(--text); font-size: .8rem; font-weight: 600; padding: 0 1rem; }
.ipbar .copy-ip:hover { background: var(--accent); color: var(--accent-ink); }
.copy-ip.copied { background: var(--accent) !important; color: var(--accent-ink) !important; }
.srow-info { gap: .65rem; }
.kv span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kv strong { font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.status-on { color: var(--online); }
.status-off { color: var(--danger); }

.srow.sponsored { border-color: rgba(250, 204, 21, .35); }
.srow.sponsored:hover { border-color: rgba(250, 204, 21, .6); }
.srow.sponsor-empty { border-style: dashed; border-color: rgba(250, 204, 21, .3); }
.srow.sponsor-empty .srow-rank { color: var(--gold); }
.srow.sponsor-empty .srow-main { gap: .35rem; }
.srow.sponsor-empty-action { align-items: flex-start; }
.srow.sponsor-empty .srow-info { color: var(--muted); }
.srow.sponsored .srow-rank { font-size: .7rem; font-family: var(--font); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

.promo {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  border: 1px dashed rgba(250, 204, 21, .35); background: var(--gold-soft); color: var(--text);
}
.promo:hover { color: var(--text); border-style: solid; }
.promo p { margin: 0; color: var(--muted); font-size: .88rem; }

/* pagination */
.pager { display: flex; justify-content: center; gap: .35rem; margin: 2rem 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .8rem; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; font-size: .9rem; }
.pager a:hover { color: var(--text); border-color: var(--line-strong); }
.pager .current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager .gap { border: 0; background: none; }

@media (max-width: 1199.98px) {
  .stable-head, .srow { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 380px) 130px; }
}
@media (max-width: 991.98px) {
  .stable-head { display: none; }
  .srow { grid-template-columns: 56px minmax(0, 1fr) 120px; }
  .srow-rank { grid-row: span 2; }
  .srow-server { grid-column: 2 / 4; grid-row: 2; border-top: 1px solid var(--line); }
  .srow > .srow-info { grid-column: 3; grid-row: 1; }
}
@media (max-width: 575.98px) {
  .srow { grid-template-columns: 44px minmax(0, 1fr); }
  .srow > div { padding: .8rem; }
  .srow-rank { font-size: 1.05rem; grid-row: span 3; }
  .srow > .srow-info { grid-column: 2; grid-row: 2; flex-direction: row; gap: 1.5rem; border-left: 0 !important; padding-top: 0; }
  .srow-server { grid-column: 2; grid-row: 3; border-left: 0 !important; }
  .srow.sponsored .srow-rank { writing-mode: vertical-rl; transform: rotate(180deg); }
  .toolbar .form-select, .toolbar .btn { flex: 1; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
}

/* ---------- generic surfaces ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: .9rem; font-family: var(--font); }
.empty { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty h2 { color: var(--text); font-size: 1.4rem; }
.alert { border-radius: 4px; border-width: 1px; }
.alert-success { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .3); color: #86efac; }
.alert-danger { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .3); color: #fca5a5; }
.alert-warning { background: var(--gold-soft); border-color: rgba(250, 204, 21, .3); color: #fde68a; }
.alert-info { background: rgba(56, 189, 248, .08); border-color: rgba(56, 189, 248, .3); color: #bae6fd; }
.flash-overlay { position: fixed; z-index: 1080; top: var(--flash-top, 5rem); left: 50%; width: min(760px, calc(100vw - 2rem)); transform: translateX(-50%); pointer-events: none; }
.flash-overlay .alert { pointer-events: auto; box-shadow: 0 12px 34px rgba(0,0,0,.5); }
.ad-spots-popup { position: fixed; z-index: 1010; left: .75rem; top: 56%; display: flex; flex-direction: column; gap: .65rem; width: 196px; padding: .9rem; transform: translateY(-50%); border: 1px solid rgba(59,130,246,.4); border-left: 3px solid #3b82f6; border-radius: 6px; background: rgba(18,18,20,.97); box-shadow: 0 12px 32px rgba(0,0,0,.45); color: var(--text); transition: transform .15s, border-color .15s; }
.ad-spots-popup:hover { transform: translate(4px,-50%); border-color: #3b82f6; }
.ad-spots-art { position: relative; width: 100%; height: 76px; overflow: hidden; border-radius: 4px; background: #101012; }
.ad-spots-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.ad-spots-slide.is-active { opacity: 1; }
.ad-spots-copy { display: grid; gap: .1rem; min-width: 0; }
.ad-spots-copy strong { font-size: .95rem; }
.ad-spots-copy .ad-spots-game-name { color: #86efac; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.ad-spots-copy small { color: var(--muted); font-size: .75rem; }
.ad-spots-button { display: block; padding: .6rem .7rem; text-align: center; }
@media (max-width: 767.98px) { .ad-spots-popup { top: auto; bottom: 1rem; left: .75rem; width: min(230px, calc(100vw - 1.5rem)); transform: none; } .ad-spots-popup:hover { transform: translateY(-2px); } }

/* ---------- monthly advertising page ---------- */
.monthly-ads-page { padding-top: 3.25rem; padding-bottom: 4rem; }
.monthly-ads-hero { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
.monthly-ads-hero h1 { margin: .8rem 0; font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; }
.monthly-ads-hero h1 span { color: #60a5fa; }
.monthly-ads-hero > p { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.monthly-ads-points { display: flex; justify-content: center; gap: .7rem 1.5rem; flex-wrap: wrap; margin-top: 1.4rem; color: #c4c4cc; font-size: .86rem; }
.monthly-ads-points span:first-child { color: #93c5fd; }
.monthly-ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.monthly-ad-card { overflow: hidden; background: linear-gradient(145deg, #111113, #09090a 72%); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.24); }
.monthly-ad-preview { height: 166px; position: relative; overflow: hidden; padding: .65rem; background: #080809; border-bottom: 1px solid var(--line); }
.monthly-preview-top { height: 23px; display: flex; justify-content: space-between; align-items: center; padding: 0 .45rem; color: #96969f; font-size: .5rem; background: #141416; border: 1px solid #242428; border-radius: 4px; }
.monthly-preview-brand { color: #e5e5e7; font-size: .6rem; font-weight: 800; }
.monthly-preview-content { padding: 1rem .4rem; }
.monthly-preview-line { display: block; width: 48%; height: 7px; margin-bottom: 7px; background: #252529; border-radius: 6px; }
.monthly-preview-line.short { width: 30%; height: 5px; background: #1c1c20; }
.monthly-preview-list { display: grid; gap: 5px; margin-top: 11px; }
.monthly-preview-list i { display: block; height: 16px; border: 1px solid #202024; border-radius: 3px; background: linear-gradient(90deg, #171719 0 27%, #101012 27%); }
.monthly-preview-placement { position: absolute; display: grid; place-content: center; gap: 2px; z-index: 2; text-align: center; color: #eff6ff; background: linear-gradient(135deg, #1d4ed8, #2563eb); border: 1px solid #60a5fa; border-radius: 5px; box-shadow: 0 0 24px rgba(59,130,246,.23); }
.monthly-preview-placement span { font-size: .43rem; font-weight: 700; letter-spacing: .12em; opacity: .78; }
.monthly-preview-placement b { font-size: .63rem; }
.monthly-ad-preview--top .monthly-preview-placement { left: 21%; right: 21%; top: 34px; height: 38px; }
.monthly-ad-preview--left .monthly-preview-placement { left: 9px; top: 39px; bottom: 15px; width: 28px; writing-mode: vertical-rl; transform: rotate(180deg); }
.monthly-ad-preview--right .monthly-preview-placement { right: 9px; top: 39px; bottom: 15px; width: 28px; writing-mode: vertical-rl; }
.monthly-ad-preview--footer .monthly-preview-placement { left: 10%; right: 10%; bottom: 12px; height: 32px; }
.monthly-preview-footer { position: absolute; bottom: 2px; left: 10px; color: #5e5e66; font-size: .42rem; }
.monthly-ad-preview--footer .monthly-preview-footer { opacity: .25; }
.monthly-ad-card-body { padding: 1.2rem 1.25rem 1.25rem; }
.monthly-ad-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.monthly-ad-kicker { color: #60a5fa; font-size: .63rem; font-weight: 700; letter-spacing: .1em; }
.monthly-ad-card h2 { margin: .28rem 0 0; font-size: 1.25rem; font-weight: 700; }
.monthly-ad-badge { white-space: nowrap; padding: .28rem .5rem; color: #93c5fd; border: 1px solid rgba(147,197,253,.28); border-radius: 999px; background: rgba(59,130,246,.1); font-size: .65rem; }
.monthly-ad-card-body > p { min-height: 2.8rem; margin: .65rem 0 1rem; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.monthly-ad-card-bottom { display: flex; justify-content: space-between; gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--line); color: #aaaab2; font-size: .75rem; }
.monthly-ad-price { color: #dedee2; font-weight: 700; }
.monthly-ad-cta { width: 100%; border-radius: 5px; cursor: not-allowed; }
.monthly-ads-note { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; border: 1px solid rgba(96,165,250,.22); border-radius: 9px; background: radial-gradient(ellipse at 0 0, rgba(59,130,246,.1), transparent 58%), #0c0c0e; }
.monthly-ads-note h2 { margin: .35rem 0; font-size: 1.2rem; }
.monthly-ads-note p { max-width: 680px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
@media (max-width: 767.98px) { .monthly-ads-page { padding-top: 2rem; } .monthly-ad-grid { grid-template-columns: 1fr; } .monthly-ads-note { align-items: flex-start; flex-direction: column; } }

/* Dashboard layout used by the monthly advertising page. */
.advertise-dashboard { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; margin-top: 2rem; margin-bottom: 3rem; padding: 0; border: 1px solid #29292d; border-radius: 5px; background: #101012; overflow: hidden; }
.advertise-sidebar { display: flex; flex-direction: column; gap: .2rem; padding: 1.3rem .75rem; background: #171719; border-right: 1px solid #29292d; }
.advertise-sidebar-title { padding: .5rem .7rem 1rem; color: #777780; font-family: "Pixelify Sans", sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; }
.advertise-sidebar a { padding: .7rem; color: #9a9aa2; font-family: "Pixelify Sans", sans-serif; font-size: .95rem; font-weight: 600; text-transform: uppercase; border-left: 3px solid transparent; }
.advertise-sidebar a:hover { color: #e5e5e7; background: #1e1e21; }
.advertise-sidebar a.is-active { color: #f4f4f5; border-left-color: #60a5fa; background: rgba(59,130,246,.1); }
.advertise-main { min-width: 0; padding: 1.4rem; background: #111113; }
.advertise-main-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #303034; }
.advertise-overline { color: #60a5fa; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.advertise-main-heading h1 { margin: .2rem 0 0; font-family: "Pixelify Sans", sans-serif; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
.advertise-main-heading .btn-3d { padding: .55rem .85rem; white-space: nowrap; }
.advertise-empty-state { display: flex; min-height: 190px; margin: 1rem 0 1.5rem; padding: 1.25rem; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: #1a1a1c; border: 1px solid #28282b; border-radius: 5px; }
.advertise-empty-icon { display: grid; width: 52px; height: 52px; margin-bottom: .75rem; place-items: center; color: #60a5fa; border: 1px solid rgba(96,165,250,.3); border-radius: 50%; background: rgba(59,130,246,.1); font-size: 1.65rem; }
.advertise-empty-state h2 { margin: 0 0 .4rem; font-family: "Pixelify Sans", sans-serif; font-size: 1rem; }
.advertise-empty-state p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.advertise-empty-state p a { color: #60a5fa; }
.advertise-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 1.25rem 0 .8rem; scroll-margin-top: 90px; }
.advertise-section-heading h2 { margin: .15rem 0 0; font-size: 1.15rem; font-weight: 700; }
.advertise-section-heading > span { color: var(--muted); font-size: .75rem; }
.advertise-main .monthly-ad-grid { gap: .8rem; }
.advertise-main .monthly-ad-preview { height: 130px; }
.advertise-main .monthly-ad-card-body { padding: .9rem; }
.advertise-main .monthly-ad-card-heading h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.advertise-main .monthly-ad-card-body > p { min-height: 2.5rem; margin: .5rem 0; font-size: .78rem; }
.advertise-main .monthly-ad-card-bottom { padding: .55rem 0; font-size: .68rem; }
.advertise-main .monthly-ad-cta { padding: .55rem; font-size: .78rem; }
@media (max-width: 767.98px) { .advertise-dashboard { grid-template-columns: 1fr; margin: 1rem .75rem 2rem; width: auto; } .advertise-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: .6rem; border-right: 0; border-bottom: 1px solid #29292d; } .advertise-sidebar-title { grid-column: 1 / -1; padding: .45rem .65rem; } .advertise-sidebar a { font-size: .78rem; } .advertise-main { padding: .9rem; } .advertise-main-heading { align-items: flex-start; flex-direction: column; } }

/* Compact package chooser for monthly ad buyers. */
.advertise-packages-page { max-width: 960px; min-height: 56vh; display: grid; place-items: start center; padding-top: 4rem; padding-bottom: 4rem; }
.advertise-packages-panel { width: 100%; padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid #29292d; border-radius: 8px; background: #101012; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.advertise-packages-panel h1 { margin: .35rem 0; font-size: clamp(1.65rem, 4vw, 2.25rem); font-weight: 800; }
.advertise-packages-intro { margin: 0 0 1.5rem; color: var(--muted); }
.advertise-package-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.advertise-package-button { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; text-align: left; color: var(--text); border: 1px solid #303036; border-radius: 6px; background: #171719; transition: border-color .16s, background .16s, transform .16s, box-shadow .16s; }
.advertise-package-button:hover { border-color: #3b82f6; background: #111c2c; transform: translateY(-1px); }
.advertise-package-button.is-selected { border-color: #60a5fa; background: linear-gradient(130deg, #1d4ed8, #2563eb); box-shadow: 0 0 0 2px rgba(96,165,250,.13), 0 4px 0 #1e40af; }
.advertise-package-main { display: grid; gap: .3rem; }
.advertise-package-main strong { font-size: 1rem; }
.advertise-package-main small { color: #a8a8b0; font-size: .78rem; }
.advertise-package-term { flex: 0 0 auto; padding: .3rem .55rem; color: #bfdbfe; border: 1px solid rgba(147,197,253,.35); border-radius: 999px; font-size: .7rem; font-weight: 700; }
.is-selected .advertise-package-term { color: white; border-color: rgba(255,255,255,.38); }
.advertise-package-continue { display: block; width: 100%; margin-top: 1rem; padding: .85rem 1rem; border-radius: 5px; font-weight: 700; }
.advertise-package-selection { min-height: 1.3rem; margin: 1rem 0 .25rem; color: #93c5fd; font-size: .88rem; font-weight: 600; }
.advertise-package-note { margin: 0; color: var(--muted); font-size: .78rem; }
@media (max-width: 575.98px) { .advertise-packages-page { padding-top: 2rem; } .advertise-package-buttons { grid-template-columns: 1fr; gap: .6rem; } .advertise-package-button { min-height: 68px; } }
.badge-soft { font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 2px; }
.badge-soft.green { background: var(--online-soft); color: var(--online); }
.badge-soft.red { background: rgba(248, 113, 113, .12); color: var(--danger); }
.badge-soft.gold { background: var(--gold-soft); color: var(--gold); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-hover-bg: var(--surface-2); --bs-table-hover-color: var(--text); margin: 0; }
.table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

/* how-to + about */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--surface); padding: 1.75rem; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin: 1rem 0 .35rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.prose { color: var(--muted); max-width: 760px; }
.prose strong { color: var(--text); }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- server detail ---------- */
.detail-hero { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.detail-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.04em; margin: 0; }
.rank-pill { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; padding: .35rem .9rem; border-radius: 4px; border: 1px solid var(--line-strong); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--surface); padding: 1.1rem 1.25rem; }
.stats span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stats strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats small { display: block; margin-top: .18rem; color: var(--muted); font-size: .72rem; }

@media (max-width: 767.98px) {
  .stats { grid-template-columns: 1fr 1fr; }
  
  
  
}
.chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.chart span { flex: 1; min-width: 2px; background: var(--accent); opacity: .75; }
.chart span:hover { opacity: 1; }
.ip-big { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 4px; padding: .85rem 1rem; text-align: center; margin-bottom: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; font-size: .9rem; margin: 0; }
.dl dt { color: var(--muted); font-weight: 400; }
.dl dd { margin: 0; text-align: right; font-weight: 500; }
.sticky-side { position: sticky; top: 88px; }
.reviews-section { margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.reviews-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.reviews-heading h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.reviews-heading p { margin: .35rem 0 0; color: var(--muted); font-size: .86rem; }
.reviews-average { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.reviews-average strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.reviews-average > span:last-child, .reviews-none { color: var(--muted); font-size: .8rem; }
.review-stars { display: inline-flex; gap: .08em; color: var(--line-strong); font-size: 1.05rem; line-height: 1; letter-spacing: .04em; }
.review-stars .is-filled { color: #fbbf24; }
.review-form { margin: 1.15rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }
.review-rating-field { margin: .15rem 0 .65rem; padding: 0; border: 0; }
.review-rating-field legend { float: none; margin-bottom: .25rem; }
.review-rating-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; width: max-content; }
.review-rating-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.review-rating-picker label { padding: .05rem .12rem; color: var(--line-strong); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .12s, transform .12s; }
.review-rating-picker label:hover, .review-rating-picker label:hover ~ label, .review-rating-picker input:checked ~ label { color: #fbbf24; }
.review-rating-picker label:hover { transform: translateY(-1px); }
.review-rating-picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.review-comment { min-height: 5rem; resize: vertical; }
.review-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .7rem; }
.review-form-footer > span { color: var(--muted); font-size: .75rem; }
.review-login, .review-owner-note { margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); }
.review-login { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-login p, .review-owner-note { color: var(--muted); font-size: .85rem; }
.review-login p { margin: 0; }
.review-list { display: grid; gap: .75rem; margin-top: 1rem; }
.review-item { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-avatar { display: grid; flex: 0 0 38px; width: 38px; height: 38px; overflow: hidden; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-3); color: var(--text); font-size: .7rem; font-weight: 800; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-item-body { flex: 1; min-width: 0; }
.review-item-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.review-item-heading strong { font-size: .9rem; }
.review-item-heading time { color: var(--muted); font-size: .72rem; }
.review-item-stars { margin-top: .3rem; font-size: .9rem; }
.review-item-body p { margin: .4rem 0 0; color: var(--text); font-size: .9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.reviews-empty { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 575.98px) { .reviews-heading, .review-login { align-items: flex-start; flex-direction: column; } .reviews-average { flex-wrap: wrap; } .review-form-footer { align-items: flex-start; flex-direction: column; } }

/* ---------- auction house ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.countdown div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: .85rem .25rem; text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.auction { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; transition: border-color .2s; }
.auction.top { border-color: rgba(250, 204, 21, .35); }
.auction.is-leading { border-color: rgba(236, 72, 153, .45); }
.auction.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { border-color: var(--gold); } 100% { border-color: var(--line); } }
.slot-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.slot-no { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; }
.auction.top .slot-no { color: var(--gold); }
.bid-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.auction.top .bid-amount { font-size: 3.4rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.25rem 0; }
.meta-row span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.meta-row strong { font-size: .92rem; font-weight: 600; }
.quick { display: flex; gap: .35rem; align-items: center; margin-top: .6rem; flex-wrap: wrap; }
.quick .btn { font-size: .78rem; padding: .2rem .6rem; }
.history { margin-top: auto; padding-top: 1rem; }
.history summary { cursor: pointer; color: var(--muted); font-size: .85rem; list-style: none; }
.history summary::-webkit-details-marker { display: none; }
.history summary::after { content: " +"; }
.history[open] summary::after { content: " –"; }
.history tr.mine td { color: var(--accent); }
.history td { font-size: .82rem; padding: .4rem 0; }
.live { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; }
.line-item { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: .92rem; }
.line-item:last-child { border-bottom: 0; }
a.line-item:hover { background: var(--surface-2); color: var(--text); }
.slot-pill { font-family: var(--font-display); font-weight: 800; color: var(--gold); background: var(--gold-soft); border-radius: 2px; padding: .1rem .5rem; font-size: .85rem; min-width: 2.3rem; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }

/* ---------- auth ---------- */
.auth { max-width: 420px; margin: 4rem auto 0; }
.auth h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }

/* ---------- toggle chips (add server) ---------- */
.btn-check + .btn-chip { border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface-2); font-weight: 500; font-size: .85rem; border-radius: 4px; padding: .35rem .85rem; }
.btn-check:checked + .btn-chip { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-check + .btn-chip:hover { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 6rem; }
.site-footer a { color: var(--muted); font-size: .9rem; }
.site-footer a:hover { color: var(--text); }
.site-footer li { margin-bottom: .5rem; }
.footer-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); font-weight: 600; margin-bottom: 1rem; font-family: var(--font); }

/* toast */
.toast { --bs-toast-bg: var(--surface-3); --bs-toast-border-color: var(--line-strong); --bs-toast-color: var(--text); border-radius: 4px; }

/* logo */
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.logo { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; image-rendering: pixelated; }
.brand .logo { width: 68px; height: 54px; }
.site-nav .brand { gap: .65rem; font-size: 1.35rem; }

.banner.banner-thumb { aspect-ratio: 468 / 100; object-position: center 35%; background: var(--surface-3); }

.banner.banner-wide { aspect-ratio: 16 / 9; background: var(--surface-3); }
.ipbar .play-link { display: flex; align-items: center; text-decoration: none; }
.tag.tag-platform { color: var(--accent); border-color: var(--accent); }

/* ---------- ranked sponsor auction ---------- */
.notices { margin: 0 0 1.25rem; }
.notices p { margin: 0 0 .45rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.notices .n-red { color: #f87171; }
.notices .n-green { color: #4ade80; }
.notices a { color: inherit; text-decoration: underline; }
.bid-panel { margin-bottom: .5rem; }
.bid-table .table { font-size: .93rem; }
.bid-table td, .bid-table th { padding-top: .6rem; padding-bottom: .6rem; }
.bid-table .rank-col { width: 4.5rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.bid-table td.fw-semibold { font-variant-numeric: tabular-nums; }
.bid-table a { color: var(--text); }
.bid-table a:hover { color: var(--accent); }
.bid-table tr.pos-slot .rank-col { color: var(--gold); font-weight: 700; }
.bid-table tr.pos-none td { color: var(--muted); }
.bid-table tr.pos-none a { color: var(--muted); }
.bid-table tr.mine td { background: rgba(236, 72, 153, .08); }
.bid-table tr.cut td { border-bottom: 2px solid var(--gold); }
.bid-table tr.cut-reserve td { border-bottom: 2px dashed var(--line-strong, #3f3f46); }
.st { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.st-slot { color: var(--gold); }
.st-paid { color: #4ade80; }
.st-await { color: var(--gold); }
.st-reserve { color: #93c5fd; }
.st-lost { color: #f87171; }
.st-none { color: var(--muted); font-weight: 500; }
@media (max-width: 575.98px) {
  .bid-table .rank-col { width: 3rem; }
  .bid-table .table { font-size: .86rem; }
}
.st-open { color: var(--muted); font-weight: 500; }
.bid-table tr.pos-open .rank-col { color: var(--muted); }

/* ---------- buy-out sidebar ---------- */
.buyout-panel { position: sticky; top: 88px; }
.buyout-list { list-style: none; padding: 0; margin: 0; }
.buyout-list li { display: flex; align-items: center; gap: .65rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.buyout-list li:last-child { border-bottom: 0; }
.buyout-list .bo-body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .4rem; }
.buyout-list .bo-body strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.buyout-list .bo-body small { color: var(--muted); font-size: .72rem; }
.buyout-list .bo-holder { flex-basis: 100%; font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyout-list .bo-holder a { color: var(--text); }
.buyout-list li.is-taken .bo-body strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.buyout-list li.is-mine { background: rgba(236, 72, 153, .08); margin: 0 -.5rem; padding-left: .5rem; padding-right: .5rem; }
@media (max-width: 1199.98px) { .buyout-panel { position: static; } }
.auction-layout { margin-top: 2rem; }
@media (min-width: 1200px) { .auction-layout { margin-top: 2.5rem; --bs-gutter-x: 2.5rem; } }

/* green 3D "Reserve now" button (buy-out sidebar) */
.btn-3d {
  display: inline-block; flex-shrink: 0; white-space: nowrap; cursor: pointer;
  font-family: var(--font); font-size: .78rem; font-weight: 800; letter-spacing: .01em; line-height: 1;
  color: #ffffff !important; text-decoration: none; text-shadow: 0 1px 0 rgba(255, 255, 255, .15);
  background: #3b82f6; border: 0; border-radius: 6px; padding: .55rem .75rem .5rem;
  box-shadow: 0 4px 0 #1d4ed8, 0 6px 10px rgba(0, 0, 0, .45);
  transform: translateY(0); transition: transform .08s ease, box-shadow .08s ease, background-color .15s;
}
.btn-3d:hover { background: #60a5fa; color: #ffffff; }
.btn-3d:disabled { background: #1e40af; border-color: #1e40af; color: #fff !important; opacity: .78; box-shadow: 0 3px 0 #1e3a8a, 0 4px 8px rgba(0,0,0,.35); }
.btn-3d:active { transform: translateY(3px); box-shadow: 0 1px 0 #1d4ed8, 0 2px 4px rgba(0, 0, 0, .45); }
.btn-3d:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
.profile-dropdown { display: flex; align-items: center; gap: .45rem; }
.profile-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; overflow: hidden; border: 2px solid #3b82f6; border-radius: 50%; background: var(--surface-2); }
.profile-avatar .srv-logo { width: 100%; height: 100%; border: 0; border-radius: 50%; }
.profile-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1d4ed8; color: #fff; font-family: var(--font-display); font-size: .7rem; font-weight: 800; }
.profile-initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1d4ed8; color: #fff; font-family: var(--font-display); font-size: .7rem; font-weight: 800; }
.profile-button { display: inline-flex; align-items: center; padding: .45rem .7rem .5rem; }
.profile-dropdown .profile-button.dropdown-toggle:active { background: #3b82f6; border-color: #3b82f6; color: #fff; transform: translateY(3px); box-shadow: 0 1px 0 #1d4ed8, 0 2px 4px rgba(0,0,0,.45); }
.profile-dropdown .profile-button.dropdown-toggle.show { background: #3b82f6; border-color: #3b82f6; color: #fff; transform: none; box-shadow: 0 4px 0 #1d4ed8, 0 6px 10px rgba(0,0,0,.45); }
.profile-dropdown .profile-button.dropdown-toggle:focus { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.settings-page { padding-top: 1.5rem; padding-bottom: 3rem; font-size: .92rem; }
.set-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.set-head-user { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.set-head-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; overflow: hidden; border: 2px solid #3b82f6; border-radius: 50%; background: var(--surface-2); }
.set-head-avatar img { width: 100%; height: 100%; object-fit: cover; }
.set-head-avatar .profile-initials { font-size: .9rem; }
.set-head h1 { font-family: var(--font-display); font-size: 1.35rem; margin: 0; }
.set-head p { margin: 0; font-size: .82rem; color: var(--muted, #a1a1aa); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-page.container-xl { max-width: 1180px; }
.set-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.set-nav { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 2px; }
.set-nav a { padding: .45rem .7rem; border-radius: 8px; color: var(--muted, #a1a1aa); text-decoration: none; font-size: .88rem; font-weight: 600; }
.set-nav a:hover { background: var(--surface-2); color: var(--text); }
.set-nav a.active { background: rgba(59,130,246,.14); color: #60a5fa; }
.set-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.set-card { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, rgba(255,255,255,.02)); }
.set-card h2 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 .2rem; }
.set-desc { font-size: .82rem; color: var(--muted, #a1a1aa); margin-bottom: .85rem; }
.set-hint { font-size: .76rem; color: var(--muted, #a1a1aa); margin: .25rem 0 0; }
.set-card .form-label { font-size: .8rem; font-weight: 600; margin-bottom: .25rem; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.set-grid .span-2 { grid-column: 1 / -1; }
.set-actions { display: flex; justify-content: flex-end; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.set-inline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); margin: 0; }
.set-card h2 + .set-row, .set-desc + .set-row, input[type=hidden] + h2 + .set-row { border-top: 0; }
.set-row b { display: block; font-size: .86rem; font-weight: 600; }
.set-row small { display: block; font-size: .76rem; color: var(--muted, #a1a1aa); }
.set-switch { cursor: pointer; }
.set-switch .form-check-input { flex: none; width: 2.3em; height: 1.25em; margin: 0; cursor: pointer; }
.set-select { width: auto; min-width: 130px; }
.set-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: .5rem 0 0; }
.set-facts dt { font-size: .74rem; font-weight: 600; color: var(--muted, #a1a1aa); }
.set-facts dd { margin: 0; font-weight: 600; }
.set-danger { border-color: rgba(239,68,68,.45); }
.set-danger h2 { color: #f87171; }
.avatar-editor { display: flex; align-items: center; gap: 1.25rem; }
.avatar-crop-frame { width: 150px; flex: 0 0 150px; overflow: hidden; border: 2px solid #3b82f6; border-radius: 50%; background: var(--surface-2); }
.avatar-crop-frame canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; touch-action: none; cursor: grab; }
.avatar-crop-frame canvas:active { cursor: grabbing; }
.avatar-editor-controls { flex: 1; min-width: 0; }
@media (max-width: 767.98px) {
  .set-layout { grid-template-columns: 1fr; gap: 1rem; }
  .set-nav { position: static; flex-direction: row; overflow-x: auto; gap: .25rem; padding-bottom: .25rem; scrollbar-width: none; }
  .set-nav a { white-space: nowrap; }
  .set-grid { grid-template-columns: 1fr; }
  .set-inline { flex-direction: column; align-items: flex-start; }
  .set-facts { grid-template-columns: 1fr 1fr; }
  .avatar-editor { flex-direction: column; align-items: stretch; }
  .avatar-crop-frame { align-self: center; }
}
.checkout-page { padding-top: 2.5rem; padding-bottom: 4rem; }
.checkout-wrap { max-width: 980px; margin: 0 auto; }
.checkout-back { display: inline-block; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.checkout-back:hover { color: var(--text); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 1rem; align-items: start; }
.checkout-main { padding: clamp(1.1rem, 3vw, 2rem); }
.checkout-summary { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface-2); }
.checkout-summary-row, .checkout-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.checkout-summary-row span, .checkout-total span { color: var(--muted); }
.checkout-summary-row strong, .checkout-total strong { text-align: right; }
.checkout-total { border: 0; background: var(--surface-3); font-size: 1.05rem; }
.checkout-total strong { color: var(--gold); font-size: 1.25rem; }
.checkout-note { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem; padding: .9rem; border: 1px solid rgba(250,204,21,.25); border-radius: 5px; background: var(--gold-soft); }
.checkout-note p { color: var(--muted); font-size: .88rem; }
.checkout-note-icon, .checkout-payment-icon { display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-weight: 700; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.checkout-payment { padding: 1.25rem; }
.checkout-payment-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; font-size: 1.2rem; }
@media (max-width: 767.98px) { .checkout-grid { grid-template-columns: 1fr; } }
.buyout-list li { padding-top: .75rem; padding-bottom: .85rem; }

/* ownership verification */
.verify-code { display: flex; align-items: center; gap: .5rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: .4rem .4rem .4rem .7rem; }
.verify-code code { flex: 1; min-width: 0; color: var(--gold); font-size: .9rem; overflow-wrap: anywhere; }
#ownership summary { cursor: pointer; list-style: none; }
#ownership summary::-webkit-details-marker { display: none; }
#ownership summary::after { content: " +"; color: var(--muted); }
#ownership details[open] summary::after { content: " –"; }

/* ---------- site-wide light theme ---------- */
[data-bs-theme="light"] {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f5;
  --surface-3: #e7eaed;
  --line: #e1e4e8;
  --line-strong: #c9ced4;
  --text: #17191c;
  --muted: #626a73;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(37, 99, 235, .1);
  --online: #15803d;
  --online-soft: rgba(21, 128, 61, .1);
  --gold: #a16207;
  --gold-soft: rgba(202, 138, 4, .11);
  --danger: #dc2626;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-2);
  --bs-link-color-rgb: 37, 99, 235;
  --bs-link-hover-color-rgb: 29, 78, 216;
  color-scheme: light;
}
[data-bs-theme="light"] body { background: var(--bg); color: var(--text); }
[data-bs-theme="light"] .site-nav { background: #fff; border-color: var(--line); box-shadow: 0 2px 12px rgba(15,23,42,.05); }
[data-bs-theme="light"] .site-nav .nav-link:hover,
[data-bs-theme="light"] .site-nav .nav-link.active,
[data-bs-theme="light"] .site-nav .nav-link.show { background: #eef2ef; }
[data-bs-theme="light"] .nav-search input { background: #f5f6f7; border-color: var(--line-strong); }
[data-bs-theme="light"] .form-control::placeholder { color: #7a828b; }
[data-bs-theme="light"] .hero-media { background: #fff; }
[data-bs-theme="light"] .hero::after { background: rgba(255,255,255,.46); }
[data-bs-theme="light"] .hero .hero-sub,
[data-bs-theme="light"] .hero .hero-stats span { color: #27313a; text-shadow: 0 1px 3px rgba(255,255,255,.75); }
[data-bs-theme="light"] .hero-title { text-shadow: 0 1px 4px rgba(255,255,255,.7); }
[data-bs-theme="light"] .hero-title .grad { color: #2563eb; }
[data-bs-theme="light"] .seo-title-window { color: #2563eb; }
@media (max-width: 767.98px) { .hero-title--rotating .seo-title-window { width: max-content; max-width: calc(100vw - 2rem); font-size: clamp(.42em, 5vw, .6em); } }
[data-bs-theme="light"] .eyebrow { color: #30363d; background: rgba(255,255,255,.86); }
[data-bs-theme="light"] .ad-spots-popup { background: rgba(255,255,255,.98); color: #17191c; box-shadow: 0 12px 32px rgba(15,23,42,.18); }
[data-bs-theme="light"] .ad-spots-art { background: #e7eaed; }
[data-bs-theme="light"] .monthly-ad-card { background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.08); }
[data-bs-theme="light"] .advertise-packages-panel { background: #fff; border-color: var(--line); box-shadow: 0 18px 50px rgba(15,23,42,.08); }
[data-bs-theme="light"] .advertise-package-button { color: var(--text); background: #f4f6f7; border-color: var(--line-strong); }
[data-bs-theme="light"] .advertise-package-button:hover { background: #eff6ff; }
[data-bs-theme="light"] .advertise-package-button.is-selected { color: #fff; background: linear-gradient(130deg, #1d4ed8, #2563eb); border-color: #1d4ed8; }
[data-bs-theme="light"] .advertise-package-main small { color: #626a73; }
[data-bs-theme="light"] .advertise-package-button.is-selected .advertise-package-main small { color: #e3f7e8; }
[data-bs-theme="light"] .advertise-package-selection { color: #166534; }
[data-bs-theme="light"] .alert-success { color: #166534; }
[data-bs-theme="light"] .alert-danger { color: #991b1b; }
[data-bs-theme="light"] .alert-warning { color: #854d0e; }
[data-bs-theme="light"] .alert-info { color: #075985; }
[data-bs-theme="light"] .text-white { color: var(--text) !important; }

.theme-toggle { display: inline-grid; width: 42px; height: 42px; flex: none; place-items: center; padding: 0; color: #fff; background: #2563eb; border: 2px solid #1d4ed8; border-radius: 50%; box-shadow: 0 4px 0 #1e40af, 0 5px 8px rgba(0,0,0,.25); font: inherit; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.theme-toggle:hover { color: #fff; background: #3b82f6; transform: translateY(-1px); box-shadow: 0 5px 0 #1e40af, 0 6px 9px rgba(0,0,0,.25); }
.theme-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 #1e40af; }
.theme-toggle:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
.theme-toggle [data-theme-icon] { display: grid; width: 22px; height: 22px; place-items: center; color: #fff; font-family: Arial, sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1; text-align: center; }
@media (max-width: 991.98px) { .theme-toggle { margin: .3rem 0; } }

/* Hero layout */
.hero { padding: 2rem 0 1.35rem; }
.hero-title { margin: .7rem 0 .55rem; }
.hero-title--rotating { line-height: 1.02; }
.hero-stats { margin-top: 1.15rem; }
@media (max-width: 767.98px) { .hero-media > img { width: 96%; } }
@media (max-width: 767.98px) { .hero { padding: 1.55rem 0 1rem; } .hero-stats { margin-top: .8rem; } }
@media (prefers-reduced-motion: reduce) { .hero-media .hero-slide { transition: none; filter: saturate(1.02) blur(1px); } }

/* ---------- game nickname generator ---------- */
.nickname-studio { width: min(100% - 2rem, 1000px); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) 0 4rem; }
.nickname-heading { margin: 0 auto 1.7rem; text-align: center; }
.nickname-eyebrow { color: #60a5fa; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.nickname-heading h1 { margin: .45rem 0; font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 850; letter-spacing: -.055em; }
.nickname-heading h1 span { color: var(--accent); }
.nickname-heading p { margin: 0; color: var(--muted); font-size: .98rem; }
.nickname-generator { max-width: 780px; margin: 0 auto; padding: clamp(1.1rem, 3vw, 1.8rem); border-color: var(--line-strong); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.nickname-generator-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.nickname-generator-title h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.nickname-generator-title p { margin: .3rem 0 0; color: var(--muted); font-size: .82rem; }
.nickname-spark { display: grid; width: 42px; height: 42px; place-items: center; color: #bfdbfe; background: var(--accent-soft); border: 1px solid rgba(96,165,250,.2); border-radius: 12px; font-size: 1.35rem; }
.nickname-controls { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(150px, 1fr) 100px; gap: .75rem; }
.nickname-field label, .nickname-preview-options label { display: block; margin: 0 0 .35rem; color: var(--muted); font-size: .73rem; font-weight: 650; }
.nickname-field .form-control, .nickname-field .form-select { min-height: 42px; }
.nickname-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0; }
.nickname-check { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.nickname-check input { flex: none; width: 16px; height: 16px; margin-top: .12rem; accent-color: var(--accent); }
.nickname-check span { display: grid; gap: .2rem; }
.nickname-check strong { font-size: .78rem; }
.nickname-check small { color: var(--muted); font-size: .68rem; line-height: 1.35; }
.nickname-generate-button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; color: #fff; background: linear-gradient(135deg, #2563eb, #3b82f6); border: 1px solid #60a5fa; border-radius: 7px; box-shadow: 0 4px 0 #1e40af, 0 8px 18px rgba(37,99,235,.18); font-size: .9rem; font-weight: 800; transition: transform .12s, box-shadow .12s, filter .12s; }
.nickname-generate-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.nickname-generate-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #1e40af; }
.nickname-results-section { max-width: 900px; margin: 2.4rem auto 0; }
.nickname-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.nickname-results-heading h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.nickname-results-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; }
.nickname-copy-all { padding: .5rem .8rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 6px; font-size: .75rem; font-weight: 700; }
.nickname-copy-all:hover:not(:disabled) { color: #fff; background: var(--accent); border-color: var(--accent); }
.nickname-copy-all:disabled { opacity: .45; }
.nickname-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.nickname-result { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; align-items: center; gap: .55rem; min-height: 58px; padding: .55rem .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; transition: border-color .14s, transform .14s; }
.nickname-result:hover { border-color: var(--accent); transform: translateY(-1px); }
.nickname-result-number { color: var(--muted); font: .65rem ui-monospace, monospace; }
.nickname-result-name { overflow: hidden; color: var(--text); font-size: .9rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.nickname-copy-one { min-width: 50px; padding: .35rem .5rem; color: #bfdbfe; background: var(--accent-soft); border: 1px solid rgba(96,165,250,.18); border-radius: 5px; font-size: .68rem; font-weight: 700; }
.nickname-copy-one:hover { color: #fff; background: var(--accent); }
.nickname-availability-note { margin: .75rem 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
[data-bs-theme="light"] .nickname-spark { color: #1d4ed8; border-color: rgba(37,99,235,.2); }
[data-bs-theme="light"] .nickname-generate-button { color: #fff; }
[data-bs-theme="light"] .nickname-copy-one { color: #1d4ed8; }
@media (max-width: 767.98px) { .nickname-controls { grid-template-columns: 1fr 1fr; } .nickname-seed-field { grid-column: 1 / -1; } .nickname-options { grid-template-columns: 1fr; } .nickname-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .nickname-results { grid-template-columns: 1fr; } .nickname-controls { grid-template-columns: 1fr; } .nickname-seed-field { grid-column: auto; } }

/* ---------- refined site navigation ---------- */
.site-nav {
  padding: .48rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}
.site-nav > .container-fluid { gap: .8rem; padding-inline: clamp(1rem, 2vw, 2rem); }
.site-nav .brand { gap: .55rem; flex: none; font-size: 1.2rem; }
.site-nav .brand .logo { width: 56px; height: 46px; }
.site-nav .navbar-nav { gap: .12rem; flex-wrap: nowrap; }
.site-nav .navbar-nav.me-auto { margin-left: .35rem !important; }
.site-nav .nav-link {
  padding: .55rem .68rem !important;
  border: 1px solid transparent;
  border-radius: .65rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.show { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.site-nav .nav-link.active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, .22);
}
.site-nav .nav-link:focus-visible,
.site-nav .navbar-toggler:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.nav-search {
  position: relative;
  flex: 0 0 clamp(205px, 15vw, 260px);
}
.nav-search input {
  width: 100%;
  height: 40px;
  padding-left: 2.35rem;
  background: var(--surface-2);
  border-color: var(--line-strong);
  border-radius: .7rem;
  font-size: .84rem;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.nav-search input:focus { border-color: rgba(96, 165, 250, .72); box-shadow: 0 0 0 3px rgba(59, 130, 246, .14); }
.nav-search-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: .82rem;
  width: 16px;
  height: 16px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}
.site-nav .d-flex.align-items-center.gap-2 { gap: .55rem !important; flex: none; }
.site-nav .theme-toggle {
  width: 38px;
  height: 38px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.site-nav .theme-toggle:hover { color: var(--accent-hover); background: var(--accent-soft); border-color: rgba(96, 165, 250, .38); transform: none; box-shadow: none; }
.site-nav .theme-toggle:active { transform: scale(.96); box-shadow: none; }
.site-nav .theme-toggle [data-theme-icon] { color: inherit; font-size: 1.2rem; }
.site-nav .profile-dropdown {
  gap: .35rem;
  padding: 3px 5px 3px 3px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .16s ease, background-color .16s ease;
}
.site-nav .profile-dropdown:hover { border-color: rgba(96, 165, 250, .4); }
.site-nav .profile-avatar { width: 32px; height: 32px; border: 1px solid rgba(96, 165, 250, .5); }
.site-nav .profile-button.btn-3d,
.site-nav .profile-button.btn-3d:hover,
.site-nav .profile-button.btn-3d:active,
.site-nav .profile-button.btn-3d.show,
.site-nav .profile-button.btn-3d:focus {
  padding: .42rem .55rem .42rem .18rem;
  color: var(--text) !important;
  text-shadow: none;
  background: transparent !important;
  border: 0;
  border-radius: 999px;
  box-shadow: none !important;
  transform: none !important;
}
.site-nav .profile-button.btn-3d:hover { color: var(--accent-hover) !important; }
.site-nav .profile-button:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.site-nav .dropdown-menu { border-radius: .8rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.site-nav .btn-ghost,
.site-nav .btn-accent { min-height: 38px; padding-inline: .9rem; border-radius: .65rem; }
.site-nav .navbar-toggler { border-radius: .65rem; }

@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-nav > .container-fluid { gap: .45rem; padding-inline: 1rem; }
  .site-nav .brand { gap: .38rem; font-size: 1.08rem; }
  .site-nav .brand .logo { width: 46px; height: 42px; }
  .site-nav .navbar-nav { gap: 0; }
  .site-nav .nav-link { padding-inline: .48rem !important; font-size: .8rem; }
  .nav-search { flex-basis: 190px; }
}
@media (max-width: 991.98px) {
  .site-nav > .container-fluid { flex-wrap: wrap; }
  .site-nav .navbar-collapse { flex-basis: 100%; padding: .9rem .1rem .25rem; border-top: 1px solid var(--line); }
  .site-nav .navbar-nav { flex-wrap: wrap; gap: .18rem; margin: 0 0 .75rem !important; }
  .site-nav .nav-link { padding: .58rem .75rem !important; }
  .nav-search { flex: 1 1 100%; margin: 0 0 .75rem !important; }
  .nav-search input { height: 42px; }
  .site-nav .d-flex.align-items-center.gap-2 { padding-top: .1rem; }
}
@media (max-width: 575.98px) {
  .site-nav > .container-fluid { padding-inline: .8rem; }
  .site-nav .brand { gap: .35rem; font-size: 1.05rem; }
  .site-nav .brand .logo { width: 42px; height: 38px; }
  .site-nav .navbar-toggler { padding: .32rem .58rem; }
}
[data-bs-theme="light"] .site-nav { background: rgba(255, 255, 255, .94); }
[data-bs-theme="light"] .site-nav .nav-link.active { color: #1d4ed8; background: rgba(37, 99, 235, .09); border-color: rgba(37, 99, 235, .14); }
[data-bs-theme="light"] .nav-search input { background: #f7f8fa; }

/* ---------- sitewide monthly ad placements ---------- */
.site-ad-placement--top,
.site-ad-placement--bottom { width: min(calc(100% - 2rem), 1100px); margin-inline: auto; }
.site-ad-placement--top { margin-top: 1rem; margin-bottom: 1.25rem; }
.site-ad-placement--bottom { margin-top: 1.5rem; margin-bottom: 2rem; }
.site-ad-slot {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 92px;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(110deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.site-ad-slot:hover { color: var(--text); border-color: rgba(96, 165, 250, .55); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .24); }
.site-ad-slot-art { position: relative; display: grid; height: 100%; min-height: 92px; overflow: hidden; place-items: center; background: #101318; }
.site-ad-slot-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3, 7, 14, .18), rgba(3, 7, 14, .76)); }
.site-ad-slot-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-ad-slot-art > span { position: relative; z-index: 1; padding: .3rem .5rem; color: #fff; background: rgba(8, 12, 20, .72); border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-ad-slot-copy { display: grid; min-width: 0; gap: .2rem; padding: .8rem 1.2rem; }
.site-ad-slot-copy small { color: #93c5fd; font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.site-ad-slot-copy strong { overflow: hidden; font-family: var(--font-display); font-size: 1.03rem; font-weight: 800; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.site-ad-slot-copy > span { color: var(--muted); font-size: .78rem; }
.site-ad-slot-action { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin-right: 1rem; padding: .65rem .8rem; color: #dbeafe; background: rgba(37, 99, 235, .18); border: 1px solid rgba(96, 165, 250, .25); border-radius: .65rem; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.site-ad-slot-action b { font-size: 1rem; transition: transform .16s ease; }
.site-ad-slot:hover .site-ad-slot-action b { transform: translateX(3px); }
.site-ad-slot--side { position: fixed; z-index: 1010; top: 50%; grid-template-columns: minmax(0, 1fr); width: 180px; min-height: 0; padding: .45rem; border-radius: 11px; transform: translateY(-50%); }
.site-ad-slot--side:hover { transform: translateY(calc(-50% - 2px)); }
.site-ad-slot--left { left: max(1rem, calc((100vw - 1320px) / 2 - 192px)); }
.site-ad-slot--right { right: max(1rem, calc((100vw - 1320px) / 2 - 192px)); }
.site-ad-slot--side .site-ad-slot-art { height: 88px; min-height: 88px; border-radius: 7px; }
.site-ad-slot--side .site-ad-slot-art::after { background: linear-gradient(180deg, rgba(3, 7, 14, .08), rgba(3, 7, 14, .8)); }
.site-ad-slot--side .site-ad-slot-copy { gap: .3rem; padding: .65rem .35rem .5rem; }
.site-ad-slot--side .site-ad-slot-copy small { font-size: .56rem; }
.site-ad-slot--side .site-ad-slot-copy strong { display: -webkit-box; font-size: .88rem; line-height: 1.25; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.site-ad-slot--side .site-ad-slot-copy > span { font-size: .7rem; line-height: 1.4; }
.site-ad-slot--side .site-ad-slot-action { margin: 0 .1rem .1rem; padding: .55rem .5rem; font-size: .69rem; }
.site-ad-slot--bottom { grid-template-columns: 160px minmax(0, 1fr) auto; min-height: 84px; }
.site-ad-slot--bottom .site-ad-slot-art { min-height: 84px; }
.site-ad-slot:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
@media (min-width: 1760px) { .site-ad-slot--side { display: grid; } }
@media (max-width: 1759.98px) { .site-ad-slot--side { display: none; } }
@media (max-width: 767.98px) {
  .site-ad-placement--top,
  .site-ad-placement--bottom { width: calc(100% - 1rem); }
  .site-ad-placement--top { margin-top: .7rem; margin-bottom: .9rem; }
  .site-ad-placement--bottom { margin-top: 1rem; margin-bottom: 1.25rem; }
  .site-ad-slot,
  .site-ad-slot--bottom { grid-template-columns: 82px minmax(0, 1fr); min-height: 78px; border-radius: 9px; }
  .site-ad-slot-art,
  .site-ad-slot--bottom .site-ad-slot-art { min-height: 78px; }
  .site-ad-slot-art > span { padding: .22rem .33rem; font-size: .48rem; }
  .site-ad-slot-copy { gap: .14rem; padding: .6rem .7rem; }
  .site-ad-slot-copy small { font-size: .5rem; letter-spacing: .08em; }
  .site-ad-slot-copy strong { font-size: .84rem; white-space: normal; }
  .site-ad-slot-copy > span { font-size: .68rem; line-height: 1.35; }
  .site-ad-slot-action { display: none; }
}

/* Ad placement previews on the monthly package page. */
.advertise-packages-page { max-width: 1120px; padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.advertise-packages-panel { border-radius: 14px; }
.advertise-packages-heading { max-width: 760px; margin-bottom: 1.7rem; }
.advertise-packages-heading h1 { margin: .4rem 0 .55rem; }
.advertise-packages-intro { max-width: 700px; line-height: 1.65; }
.advertise-placement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.advertise-placement-card { border-radius: 11px; }
.advertise-placement-card:hover { border-color: rgba(96, 165, 250, .4); transform: translateY(-2px); }
.advertise-placement-card .monthly-ad-preview { height: 154px; }
.advertise-placement-card .monthly-ad-preview--left .monthly-preview-placement,
.advertise-placement-card .monthly-ad-preview--right .monthly-preview-placement { width: 35px; }
.advertise-placement-card .monthly-ad-preview--left .monthly-preview-placement b,
.advertise-placement-card .monthly-ad-preview--right .monthly-preview-placement b { font-size: .48rem; white-space: nowrap; }
.advertise-placement-card .monthly-preview-placement span { font-size: .39rem; }
.advertise-placement-card .monthly-preview-placement b { max-width: 100%; font-size: .57rem; }
.advertise-placement-card .monthly-ad-card-body { padding: 1rem 1.1rem 1.1rem; }
.advertise-placement-card .monthly-ad-card-body > p { min-height: 2.6rem; }
.advertise-placement-card .monthly-ad-card-bottom { padding: .6rem 0; }
.advertise-placement-card .advertise-package-button { width: 100%; min-height: 62px; margin-top: .75rem; padding: .7rem .85rem; border-radius: 8px; }
.advertise-placement-card .advertise-package-main { gap: .14rem; }
.advertise-placement-card .advertise-package-main strong { font-size: .88rem; }
.advertise-placement-card .advertise-package-main small { font-size: .68rem; }
.advertise-placement-card .advertise-package-term { font-size: .65rem; }
.advertise-package-next { margin-top: 1.15rem; }
.advertise-package-next .advertise-package-continue { margin-top: 0; }
.advertise-package-next .advertise-package-selection { margin-bottom: 0; text-align: center; }
.advertise-packages-panel .monthly-ads-note { margin-top: 1.15rem; padding: 1.15rem 1.25rem; border-radius: 10px; }
.advertise-packages-panel .monthly-ads-note h2 { margin: .35rem 0; font-size: 1.02rem; font-weight: 750; }
.advertise-packages-panel .monthly-ads-note p { font-size: .8rem; }
[data-bs-theme="light"] .site-ad-slot { background: linear-gradient(110deg, #fff, #f5f8fd); box-shadow: 0 10px 28px rgba(15, 23, 42, .09); }
[data-bs-theme="light"] .site-ad-slot-copy small { color: #1d4ed8; }
[data-bs-theme="light"] .site-ad-slot-action { color: #1d4ed8; background: rgba(37, 99, 235, .07); border-color: rgba(37, 99, 235, .18); }
[data-bs-theme="light"] .advertise-packages-panel .monthly-ads-note { background: #f6f9ff; }
@media (max-width: 767.98px) {
  .advertise-placement-grid { grid-template-columns: 1fr; gap: .8rem; }
  .advertise-placement-card .monthly-ad-preview { height: 136px; }
}

/* ---------- legal pages, directory sitemap, and expanded footer ---------- */
.legal-page,
.sitemap-page { max-width: 980px; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: 2rem; }
.legal-heading { margin: 0 auto 2rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); }
.legal-heading h1,
.sitemap-heading h1 { margin: .45rem 0 .35rem; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 850; letter-spacing: -.055em; }
.legal-heading p,
.sitemap-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.legal-content { max-width: 840px; margin-inline: auto; color: var(--text); font-size: .94rem; line-height: 1.75; }
.legal-content > p { margin: 0 0 1.3rem; color: #c4c4cc; }
.legal-content section { margin-top: 1.65rem; scroll-margin-top: 6rem; }
.legal-content h2 { margin: 0 0 .55rem; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.legal-content p { margin: 0 0 .7rem; color: #b2b2bb; }
.legal-content ul { display: grid; gap: .45rem; padding-left: 1.2rem; color: #b2b2bb; }
.legal-content a,
.sitemap-page a { color: var(--accent-hover); }
.legal-content a:hover,
.sitemap-page a:hover { color: var(--text); }
.register-age-options { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.register-age-options legend { margin-bottom: .45rem; font-size: .9rem; font-weight: 650; }
.register-age-option { display: flex; align-items: center; gap: .7rem; padding: .85rem .9rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; }
.register-age-option:hover { border-color: rgba(96, 165, 250, .55); }
.register-age-option input { width: 17px; height: 17px; flex: none; margin: 0; accent-color: var(--accent); }
.register-age-option:has(input:checked) { background: var(--accent-soft); border-color: rgba(96, 165, 250, .55); }
.sitemap-page { max-width: 1180px; }
.sitemap-heading { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.sitemap-heading .btn { margin-top: 1rem; }
.sitemap-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sitemap-directory,
.sitemap-other-links { min-width: 0; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; }
.sitemap-directory > header { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.sitemap-directory h2 { margin: .25rem 0; font-size: 1.2rem; font-weight: 800; }
.sitemap-directory header p { margin: 0; color: var(--muted); font-size: .75rem; }
.sitemap-directory h3 { margin: 1rem 0 .55rem; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.sitemap-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .7rem; margin: 0; padding: 0; list-style: none; }
.sitemap-tags a { font-size: .8rem; }
.sitemap-listings { margin-top: 1rem; border-top: 1px solid var(--line); }
.sitemap-listings summary { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0 .15rem; color: var(--text); font-size: .82rem; font-weight: 700; cursor: pointer; }
.sitemap-listings summary span { color: var(--muted); font-variant-numeric: tabular-nums; }
.sitemap-listings ul,
.sitemap-other-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .8rem; max-height: 26rem; overflow: auto; margin: .65rem 0 0; padding: 0; list-style: none; }
.sitemap-listings li,
.sitemap-other-links li { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sitemap-listings li a,
.sitemap-other-links li a { font-size: .78rem; }
.sitemap-other-links { margin-top: 1rem; }
.sitemap-other-links h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.footer-site-grid { display: grid; grid-template-columns: minmax(210px, 1.45fr) repeat(5, minmax(125px, 1fr)); gap: 1.5rem; }
.footer-about { min-width: 0; max-width: 310px; }
.footer-about .brand { gap: .45rem; font-size: 1.05rem; }
.footer-about .brand .logo { width: 52px; height: 46px; }
.footer-column { min-width: 0; }
.footer-column .footer-h { margin-bottom: .8rem; }
.footer-column ul { margin: 0; }
.footer-column li { margin-bottom: .45rem; }
.footer-column li a { font-size: .8rem; line-height: 1.5; }
.site-footer .container-xl > .d-flex { align-items: center; }
[data-bs-theme="light"] .legal-content > p,
[data-bs-theme="light"] .legal-content p,
[data-bs-theme="light"] .legal-content ul { color: #4b5563; }
[data-bs-theme="light"] .register-age-option { background: #f7f8fa; }
[data-bs-theme="light"] .register-age-option:has(input:checked) { background: rgba(37, 99, 235, .08); }
[data-bs-theme="light"] .sitemap-directory,
[data-bs-theme="light"] .sitemap-other-links { background: #fff; }
@media (max-width: 1199.98px) {
  .footer-site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.3rem; }
  .footer-about { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .footer-site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .footer-about { grid-column: 1 / -1; max-width: 360px; }
  .sitemap-directory-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Navbar v2: one clean bar. Overrides the earlier nav layers above.
   ========================================================================== */
.site-nav.gnav {
  --gnav-h: 64px;
  --gnav-bg: rgba(10, 10, 12, .78);
  --gnav-solid: #0a0a0c;
  --gnav-line: rgba(255, 255, 255, .07);
  --gnav-chip: rgba(255, 255, 255, .055);
  --gnav-chip-hover: rgba(255, 255, 255, .09);
  --gnav-text: #a1a1aa;
  padding: 0;
  min-height: var(--gnav-h);
  background: var(--gnav-bg);
  border-bottom: 1px solid var(--gnav-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.site-nav.gnav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .55) 30%, rgba(96, 165, 250, .55) 70%, transparent);
  opacity: .55;
}
[data-bs-theme="light"] .site-nav.gnav {
  --gnav-bg: rgba(255, 255, 255, .82);
  --gnav-solid: #ffffff;
  --gnav-line: rgba(15, 23, 42, .08);
  --gnav-chip: rgba(15, 23, 42, .045);
  --gnav-chip-hover: rgba(15, 23, 42, .08);
  --gnav-text: #52525b;
  background: var(--gnav-bg);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .25);
}
.site-nav.gnav > .gnav-inner {
  min-height: var(--gnav-h); gap: .9rem; flex-wrap: nowrap;
  padding-inline: clamp(1rem, 2.2vw, 2rem);
}

/* brand */
.site-nav.gnav .gnav-brand { margin: 0; padding: 0; gap: .5rem; font-size: 1.18rem; flex: none; }
.site-nav.gnav .gnav-brand .logo { width: 48px; height: 38px; transition: transform .25s cubic-bezier(.2, .8, .2, 1.4); }
.site-nav.gnav .gnav-brand:hover .logo { transform: rotate(-6deg) scale(1.06); }

/* links */
.site-nav.gnav .gnav-collapse { gap: .9rem; }
.site-nav.gnav .gnav-links { flex-direction: row; gap: .1rem; margin: 0 auto 0 0 !important; flex-wrap: nowrap; }
.site-nav.gnav .gnav-link {
  position: relative; padding: .5rem .75rem !important; border: 0; border-radius: 10px;
  color: var(--gnav-text); background: transparent; font-size: .88rem; font-weight: 600; letter-spacing: -.01em;
}
.site-nav.gnav .gnav-link:hover,
.site-nav.gnav .gnav-link.show { color: var(--text); background: var(--gnav-chip-hover); border: 0; }
.site-nav.gnav .gnav-link.active { color: var(--text); background: transparent; border: 0; }
.site-nav.gnav .gnav-link.active:not(.dropdown-toggle)::after,
.site-nav.gnav .gnav-link.dropdown-toggle.active::before {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -.62rem; height: 2px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 10px rgba(59, 130, 246, .8);
}
.site-nav.gnav .gnav-link.dropdown-toggle::after {
  width: .42em; height: .42em; margin-left: .45em; vertical-align: .18em;
  border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); opacity: .7;
  transition: transform .2s;
}
.site-nav.gnav .gnav-link.dropdown-toggle.show::after { transform: rotate(-135deg) translate(-1px, -1px); }

/* dropdown panels */
.site-nav.gnav .gnav-menu {
  --bs-dropdown-bg: var(--surface-2); --bs-dropdown-border-color: var(--gnav-line);
  padding: .45rem; border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03);
  animation: gnav-pop .16s cubic-bezier(.2, .8, .2, 1);
  transform-origin: top;
}
[data-bs-theme="light"] .site-nav.gnav .gnav-menu { --bs-dropdown-bg: #fff; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28); }
@keyframes gnav-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-nav.gnav .gnav-menu { animation: none; } }
.site-nav.gnav .gnav-menu .dropdown-item { border-radius: 8px; font-size: .88rem; padding: .5rem .65rem; color: var(--text); }
.site-nav.gnav .gnav-menu .dropdown-item:hover { background: var(--gnav-chip-hover); }
.site-nav.gnav .gnav-menu .dropdown-label { padding: .55rem .65rem .3rem; font-size: .68rem; font-weight: 700; }
.site-nav.gnav .gnav-menu .dropdown-divider { margin: .4rem .2rem; border-color: var(--gnav-line); opacity: 1; }
.site-nav.gnav .mega { min-width: 380px; }
.gnav-mega-all {
  display: flex; flex-direction: column; gap: .1rem; margin-bottom: .2rem; padding: .7rem .8rem;
  border-radius: 10px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(59, 130, 246, .05));
  border: 1px solid rgba(59, 130, 246, .25);
}
.gnav-mega-all span { font-weight: 700; font-size: .92rem; }
.gnav-mega-all small { color: var(--muted); font-size: .76rem; }
.gnav-mega-all:hover { color: var(--text); border-color: rgba(96, 165, 250, .5); }

/* search */
.site-nav.gnav .gnav-search { position: relative; flex: 0 1 260px; margin: 0 !important; }
.site-nav.gnav .gnav-search input {
  width: 100%; height: 40px; padding: 0 2.3rem; border-radius: 10px;
  background: var(--gnav-chip); border: 1px solid var(--gnav-line); color: var(--text); font-size: .86rem;
}
.site-nav.gnav .gnav-search input::placeholder { color: var(--gnav-text); opacity: .85; }
.site-nav.gnav .gnav-search input:focus { background: var(--surface-2); border-color: rgba(96, 165, 250, .6); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.site-nav.gnav .gnav-search input::-webkit-search-cancel-button { display: none; }
.site-nav.gnav .nav-search-icon { left: .8rem; }
.gnav-kbd {
  position: absolute; top: 50%; right: .6rem; transform: translateY(-50%);
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .3rem;
  font: 600 .7rem/1 var(--font); color: var(--gnav-text);
  background: transparent; border: 1px solid var(--gnav-line); border-radius: 5px; box-shadow: none; pointer-events: none;
  transition: opacity .15s;
}
.gnav-search input:focus ~ .gnav-kbd, .gnav-search input:not(:placeholder-shown) ~ .gnav-kbd { opacity: 0; }

/* right-hand actions */
.gnav-actions { display: flex; align-items: center; gap: .55rem; flex: none; }
.site-nav.gnav .gnav-icon-btn,
[data-platform] .site-nav.gnav button.gnav-icon-btn {
  display: inline-grid !important; place-items: center; width: 40px; height: 40px; padding: 0; margin: 0;
  color: var(--gnav-text) !important; background: transparent !important;
  border: 1px solid transparent !important; border-radius: 10px !important;
  box-shadow: none !important; text-shadow: none; transform: none !important;
  font-family: var(--font) !important; transition: color .15s, background-color .15s;
}
.site-nav.gnav .gnav-icon-btn:hover,
[data-platform] .site-nav.gnav button.gnav-icon-btn:hover { color: var(--text) !important; background: var(--gnav-chip-hover) !important; border-color: var(--gnav-line) !important; }
.site-nav.gnav .gnav-icon-btn:focus-visible { outline: 2px solid var(--accent-hover) !important; outline-offset: 2px; }
.site-nav.gnav [data-theme-icon] { display: grid; width: 20px; height: 20px; }
.site-nav.gnav [data-theme-icon] svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, transform .3s; }
.site-nav.gnav .i-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-bs-theme="light"] .site-nav.gnav .i-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-bs-theme="light"] .site-nav.gnav .i-moon { opacity: 1; transform: none; }

.gnav-cta {
  display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 1rem;
  border-radius: 10px; color: #fff; text-decoration: none; white-space: nowrap;
  font-size: .86rem; font-weight: 700; letter-spacing: -.01em;
  background: linear-gradient(180deg, #4f8ff7, #2f6fe4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 18px -6px rgba(59, 130, 246, .8);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.gnav-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.gnav-cta:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 22px -6px rgba(59, 130, 246, .9); }
.gnav-cta:active { transform: translateY(0); }
.gnav-cta--ghost { background: var(--gnav-chip); color: var(--text); box-shadow: inset 0 0 0 1px var(--gnav-line); }
.gnav-cta--ghost:hover { color: var(--text); background: var(--gnav-chip-hover); box-shadow: inset 0 0 0 1px var(--gnav-line); }
.gnav-login { padding: .5rem .6rem; color: var(--gnav-text); font-size: .88rem; font-weight: 600; text-decoration: none; }
.gnav-login:hover { color: var(--text); }

/* profile: avatar only, no button chrome */
.site-nav.gnav .gnav-profile { padding: 0 !important; border: 0 !important; background: none !important; gap: 0; }
.site-nav.gnav button.gnav-avatar-btn,
[data-platform] .site-nav.gnav button.gnav-avatar-btn {
  display: grid !important; place-items: center; padding: 0 !important; margin: 0;
  width: 42px; height: 42px; border-radius: 50% !important; cursor: pointer;
  background: transparent !important; border: 0 !important; box-shadow: none !important; transform: none !important;
}
.site-nav.gnav .gnav-avatar {
  position: relative; display: block; width: 38px; height: 38px; overflow: visible; border: 0 !important; border-radius: 50%;
  background: var(--surface-3);
  box-shadow: 0 0 0 2px var(--gnav-solid), 0 0 0 3.5px rgba(96, 165, 250, .55);
  transition: box-shadow .2s, transform .2s;
}
.site-nav.gnav .gnav-avatar .profile-photo,
.site-nav.gnav .gnav-avatar .profile-initials { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.site-nav.gnav .gnav-avatar-btn .gnav-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--online); box-shadow: 0 0 0 2.5px var(--gnav-solid);
}
.site-nav.gnav .gnav-avatar-btn:hover .gnav-avatar,
.site-nav.gnav .gnav-avatar-btn.show .gnav-avatar { box-shadow: 0 0 0 2px var(--gnav-solid), 0 0 0 3.5px var(--accent-hover), 0 0 18px rgba(59, 130, 246, .55); transform: scale(1.04); }
.site-nav.gnav .gnav-avatar-btn:focus-visible { outline: 2px solid var(--accent-hover) !important; outline-offset: 3px; }
.site-nav.gnav .gnav-account { min-width: 250px; max-height: none; overflow: visible; }
.gnav-account-head { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem .75rem; margin-bottom: .3rem; border-bottom: 1px solid var(--gnav-line); }
.site-nav.gnav .gnav-avatar--lg { width: 44px; height: 44px; box-shadow: none; }
.gnav-account-id { display: flex; flex-direction: column; min-width: 0; }
.gnav-account-id strong { overflow: hidden; color: var(--text); font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.gnav-account-id small { color: var(--online); font-size: .74rem; font-weight: 600; }
.site-nav.gnav .gnav-item { display: flex; align-items: center; gap: .65rem; }
.site-nav.gnav .gnav-item svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.site-nav.gnav .gnav-item:hover svg { stroke: var(--accent-hover); }
.site-nav.gnav button.gnav-logout,
[data-platform] .site-nav.gnav button.gnav-logout {
  width: 100%; text-align: left; font-family: var(--font) !important; font-weight: 400; letter-spacing: 0; text-shadow: none;
  color: var(--danger) !important; background: transparent !important; border: 0 !important; border-radius: 8px !important;
  box-shadow: none !important; transform: none !important; font-size: .88rem;
}
.site-nav.gnav button.gnav-logout svg { stroke: var(--danger); }
.site-nav.gnav button.gnav-logout:hover,
[data-platform] .site-nav.gnav button.gnav-logout:hover { background: rgba(248, 113, 113, .1) !important; color: var(--danger) !important; }

/* mobile toggler */
.site-nav.gnav .gnav-toggler,
[data-platform] .site-nav.gnav button.gnav-toggler {
  display: none; place-items: center; width: 42px; height: 42px; margin-left: auto; padding: 0 !important;
  color: var(--text) !important; background: var(--gnav-chip) !important; border: 1px solid var(--gnav-line) !important;
  border-radius: 10px !important; box-shadow: none !important; transform: none !important;
}
.site-nav.gnav .gnav-toggler svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* medium desktops: tighten */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .site-nav.gnav > .gnav-inner { gap: .6rem; }
  .site-nav.gnav .gnav-brand span small { display: none; }
  .site-nav.gnav .gnav-link { padding-inline: .55rem !important; font-size: .84rem; }
  .site-nav.gnav .gnav-search { flex-basis: 180px; }
  .site-nav.gnav .gnav-kbd { display: none; }
  .gnav-cta:not(.gnav-cta--ghost) span { display: none; }
  .gnav-cta:not(.gnav-cta--ghost) { width: 40px; padding: 0; justify-content: center; }
}

/* phones and tablets: bar + slide-down panel */
@media (max-width: 991.98px) {
  .site-nav.gnav > .gnav-inner { flex-wrap: wrap; gap: .6rem; padding-block: .55rem; }
  .site-nav.gnav .gnav-toggler, [data-platform] .site-nav.gnav button.gnav-toggler { display: inline-grid !important; margin-left: 0; }
  .site-nav.gnav .gnav-brand { margin-right: auto; }
  .site-nav.gnav .gnav-collapse { flex-basis: 100%; padding: .75rem 0 .6rem; border-top: 1px solid var(--gnav-line); }
  .site-nav.gnav .gnav-collapse.show, .site-nav.gnav .gnav-collapse.collapsing { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav.gnav .gnav-links { flex-direction: column; margin: 0 !important; gap: .1rem; }
  .site-nav.gnav .gnav-link { padding: .7rem .8rem !important; font-size: .95rem; }
  .site-nav.gnav .gnav-link.active { background: var(--gnav-chip-hover); }
  .site-nav.gnav .gnav-link.active:not(.dropdown-toggle)::after,
  .site-nav.gnav .gnav-link.dropdown-toggle.active::before { display: none; }
  .site-nav.gnav .mega { min-width: 0; }
  .site-nav.gnav .gnav-menu { box-shadow: none; animation: none; }
  .site-nav.gnav .gnav-search { flex: 1 1 auto; order: -1; }
  .site-nav.gnav .gnav-search input { height: 44px; }
  .gnav-kbd { display: none; }
  .gnav-actions { justify-content: space-between; }
  .gnav-actions .gnav-cta:not(.gnav-cta--ghost) { flex: 1; justify-content: center; }
}
@media (max-width: 420px) {
  .site-nav.gnav .gnav-brand span small { display: none; }
  .site-nav.gnav .gnav-brand { font-size: 1.02rem; }
  .site-nav.gnav .gnav-brand .logo { width: 40px; height: 32px; }
}

/* small laptops: keep the search usable by dropping the wordmark next to the logo */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav.gnav .gnav-brand > span { display: none; }
}
@media (min-width: 992px) { .site-nav.gnav .gnav-search { min-width: 150px; } }

/* dashboard: one block per game auction house */
.dash-house { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.dash-house-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dash-house-head h2 { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.45rem; }

/* Roblox "Press Play": launches the experience in the Roblox app */
.press-play { display: inline-flex !important; align-items: center; justify-content: center; gap: .4rem; color: #fff !important; font-weight: 800; text-decoration: none; background: linear-gradient(180deg, #22c55e, #16a34a) !important; border: 0 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -6px rgba(34,197,94,.7); transition: filter .15s, transform .15s, box-shadow .15s; }
.press-play svg { width: 14px; height: 14px; flex: none; fill: currentColor; }
.press-play:hover { color: #fff !important; filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px -6px rgba(34,197,94,.9); }
.press-play:active { transform: translateY(1px); }
.ipbar .press-play { padding: 0 1rem; border-left: 0 !important; white-space: nowrap; }
.press-play--lg { padding: .85rem 1rem; border-radius: 10px; font-size: 1.05rem; letter-spacing: .01em; }
.press-play--lg svg { width: 18px; height: 18px; }
.press-play:focus-visible { outline: 2px solid #86efac; outline-offset: 3px; }

/* Hero brand lockup above the live counter */
.hero-brand { display: flex; justify-content: center; width: fit-content; margin: 0 auto .9rem; font-size: 1.6rem; position: relative; z-index: 1; }
.hero-brand .logo { width: 68px; height: 48px; object-fit: contain; }
@media (max-width: 575.98px) { .hero-brand { font-size: 1.3rem; } .hero-brand .logo { width: 54px; height: 38px; } }

/* Hero brand animation: pop-in, floating mark, shimmering wordmark */
.hero-brand { animation: heroBrandIn .8s cubic-bezier(.2,.9,.3,1.25) both; }
.hero-brand .logo { animation: heroLogoFloat 3.2s ease-in-out .8s infinite; filter: drop-shadow(0 6px 14px rgba(120,160,255,.35)); transition: transform .3s ease; }
.hero-brand:hover .logo { transform: rotate(-6deg) scale(1.08); animation-play-state: paused; }
.hero-brand > span { background: linear-gradient(100deg, var(--text) 0%, var(--text) 40%, #bcd4ff 50%, var(--text) 60%, var(--text) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: heroBrandShine 4.5s ease-in-out 1s infinite; }
.hero-brand > span b, .hero-brand > span small { -webkit-text-fill-color: currentColor; }
@keyframes heroBrandIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes heroLogoFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes heroBrandShine { 0%,55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-brand, .hero-brand .logo, .hero-brand > span { animation: none; } }

/* Copy-IP toast: green check, no close box */
.copy-toast-body { display: flex; align-items: center; gap: .6rem; }
.copy-toast-check { width: 22px; height: 22px; flex: none; }
.copy-toast-check circle { fill: #22c55e; }
.copy-toast-check path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; }
#copyToast.show .copy-toast-check path { animation: copyCheckDraw .35s ease-out .1s forwards; }
@keyframes copyCheckDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .copy-toast-check path { stroke-dashoffset: 0; } #copyToast.show .copy-toast-check path { animation: none; } }

/* ---------- Google / Discord sign-in buttons ---------- */
.social-auth { display: grid; gap: .6rem; }
.social-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 48px; padding: .6rem 1rem; border: 1px solid transparent; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.social-btn svg { width: 20px; height: 20px; flex: none; }
.social-btn:hover { transform: translateY(-1px); }
.social-btn:active { transform: translateY(0); }
.social-btn:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.social-btn--google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.social-btn--google:hover { background: #f8f9fa; color: #1f1f1f; box-shadow: 0 4px 14px rgba(255,255,255,.12); }
.social-btn--discord { background: #5865f2; color: #fff; }
.social-btn--discord:hover { background: #4752c4; color: #fff; box-shadow: 0 4px 16px rgba(88,101,242,.45); }
[data-bs-theme="light"] .social-btn--google { box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; color: var(--muted, #a1a1aa); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (prefers-reduced-motion: reduce) { .social-btn, .social-btn:hover { transition: none; transform: none; } }

/* Flash messages float over the page, so they need a solid background to stay readable. */
.flash-overlay .alert { display: flex; align-items: center; gap: .6rem; padding: .85rem 3rem .85rem 1rem; border-radius: 12px; border-width: 1px 1px 1px 4px; font-weight: 600; font-size: .95rem; background-color: #111318; color: #f4f4f5; box-shadow: 0 14px 40px rgba(0,0,0,.6); animation: flashIn .25s ease-out; }
.flash-overlay .alert::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.flash-overlay .alert-success { background-color: #0f1f15; border-color: #22c55e; color: #bbf7d0; }
.flash-overlay .alert-success::before { background: #22c55e; }
.flash-overlay .alert-danger { background-color: #241012; border-color: #ef4444; color: #fecaca; }
.flash-overlay .alert-danger::before { background: #ef4444; }
.flash-overlay .alert-warning { background-color: #241c0b; border-color: #f59e0b; color: #fde68a; }
.flash-overlay .alert-warning::before { background: #f59e0b; }
.flash-overlay .alert-info { background-color: #0e1a2b; border-color: #3b82f6; color: #bfdbfe; }
.flash-overlay .alert-info::before { background: #3b82f6; }
.flash-overlay .alert .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .7; }
.flash-overlay .alert .btn-close:hover { opacity: 1; }
[data-bs-theme="light"] .flash-overlay .alert { background-color: #fff; color: #18181b; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
[data-bs-theme="light"] .flash-overlay .alert-success { background-color: #f0fdf4; color: #14532d; }
[data-bs-theme="light"] .flash-overlay .alert-danger { background-color: #fef2f2; color: #7f1d1d; }
[data-bs-theme="light"] .flash-overlay .alert-warning { background-color: #fffbeb; color: #78350f; }
[data-bs-theme="light"] .flash-overlay .alert-info { background-color: #eff6ff; color: #1e3a8a; }
[data-bs-theme="light"] .flash-overlay .alert .btn-close { filter: none; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .flash-overlay .alert { animation: none; } }
/* No dot; success messages get a clap instead */
.flash-overlay .alert::before { content: none; }
.flash-overlay .alert-success::before { content: '\1F44F'; width: auto; height: auto; border-radius: 0; background: none; font-size: 1.15rem; line-height: 1; }

/* per-slot reservation checkout (/checkout/:game/slot/:n) */
.slot-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.slot-chip { display: flex; flex-direction: column; align-items: center; min-width: 4.6rem; padding: .45rem .7rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface-2); color: var(--text); text-decoration: none; line-height: 1.15; }
.slot-chip span { color: var(--gold); font-weight: 700; font-size: .85rem; }
.slot-chip strong { font-size: .95rem; }
a.slot-chip:hover { border-color: var(--gold); color: var(--text); }
.slot-chip.is-current { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.slot-chip.is-taken { opacity: .45; }
.slot-chip.is-taken strong { color: var(--muted); font-weight: 500; }
.slot-perks { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.slot-perks li + li { margin-top: .3rem; }
.slot-agree { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.1rem; padding: .8rem .9rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface-2); font-size: .9rem; cursor: pointer; }
.slot-agree input { margin-top: .2rem; flex: none; width: 1.05rem; height: 1.05rem; accent-color: var(--gold); }
.slot-agree.is-invalid { border-color: #dc3545; }
.text-gold { color: var(--gold) !important; }
.checkout-payment .checkout-summary-row { border-bottom: 0; }

/* ---------- auction cooldown: bid controls gray and unclickable between 2-day bidding rounds ---------- */
.bid-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cooldown-notice { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid #3f3f46; border-left: 3px solid #a1a1aa; border-radius: 6px; background: #18181b; color: var(--text); }
.cooldown-notice strong { display: block; font-size: 1rem; margin-bottom: .2rem; }
.cooldown-notice p { margin: 0; color: var(--muted); font-size: .9rem; }
.cooldown-notice a { color: var(--accent); font-weight: 600; }
.bid-zone.is-closed { opacity: .6; }
.bid-zone.is-closed .btn, .bid-zone.is-closed .btn-3d, .bid-zone.is-closed button,
.bid-zone.is-closed .btn:hover, .bid-zone.is-closed .btn-3d:hover, .bid-zone.is-closed .btn:disabled, .bid-zone.is-closed .btn-3d:disabled {
  background: #3f3f46 !important; border-color: #3f3f46 !important; color: #a1a1aa !important; box-shadow: none !important;
  transform: none !important; cursor: not-allowed; opacity: 1;
}
.bid-zone.is-closed a.btn, .bid-zone.is-closed a.btn-3d { pointer-events: none; }
.bid-zone.is-closed .form-control, .bid-zone.is-closed .form-select, .bid-zone.is-closed .input-group-text { background: #27272a; color: #71717a; cursor: not-allowed; }
.bid-zone .bid-action.btn-3d { padding: .5rem 1rem; }

.bidding-closed-badge { margin-top: .4rem; padding: 1.1rem 1rem; border: 1px solid #3f3f46; border-radius: 8px; background: #18181b; color: #a1a1aa; font-size: 2rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

/* open sponsor slot cards: price stands out */
.sponsor-empty .slot-price { color: #facc15; font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; text-shadow: 0 0 12px rgba(250, 204, 21, .35); }
.sponsor-empty .kv span { color: #fde68a; }

/* admin sign-ups page */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.admin-stats > div { background: #18181b; border: 1px solid #27272a; border-radius: 8px; padding: .8rem 1rem; }
.admin-stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: #facc15; }
.admin-stats span { color: var(--muted); font-size: .8rem; }
.admin-table-wrap { overflow-x: auto; border: 1px solid #27272a; border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { padding: .6rem .8rem; border-bottom: 1px solid #27272a; text-align: left; white-space: nowrap; vertical-align: top; }
.admin-table th { background: #18181b; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table .num { text-align: right; }
.admin-table tr.is-new td { background: rgba(250, 204, 21, .06); }
.admin-badge { display: inline-block; margin-left: .3rem; padding: 0 .4rem; border-radius: 4px; font-size: .7rem; font-weight: 700; background: #3b82f6; color: #fff; vertical-align: middle; }
.admin-badge.new { background: #facc15; color: #111; }
.admin-search input { min-width: 220px; }
/* admin: edit button (far left of each row) and account pictures */
.admin-table .admin-edit-col { width: 1%; padding-right: 0; }
.admin-edit-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #3f3f46; border-radius: 8px; color: #facc15; background: #18181b; }
.admin-edit-btn:hover, .admin-edit-btn:focus-visible { border-color: #facc15; color: #fde047; background: #27272a; }
.admin-user-cell { display: flex; align-items: center; gap: .6rem; }
.admin-avatar { width: 34px; height: 34px; }
.admin-avatar .profile-photo { width: 100%; height: 100%; object-fit: cover; }
.admin-user-head { display: flex; align-items: center; gap: 1rem; }
.admin-user-head .profile-avatar { width: 64px; height: 64px; }
.admin-user-head .profile-photo { width: 100%; height: 100%; object-fit: cover; }
.admin-user-head .profile-initials { font-size: 1.1rem; }
.admin-user-layout { display: grid; gap: 1rem; max-width: 820px; }
/* game page media gallery (views/partials/listing/gallery.ejs) */
.lp-gallery { padding: 0; overflow: hidden; }
.lp-gallery-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lp-gallery-slide { position: absolute; inset: 0; }
.lp-gallery-slide[hidden] { display: none; }
.lp-gallery-slide .banner-wide, .lp-gallery-video, .lp-gallery-fallback img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lp-gallery-video { object-fit: contain; background: #000; }
.lp-gallery-fallback { position: relative; display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.lp-gallery-fallback span { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); padding: .45rem .9rem; border-radius: 999px; background: rgba(0,0,0,.75); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.lp-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; }
.lp-gallery-nav:hover, .lp-gallery-nav:focus-visible { background: rgba(0,0,0,.85); }
.lp-gallery-nav.prev { left: .6rem; }
.lp-gallery-nav.next { right: .6rem; }
.lp-gallery-count { position: absolute; top: .6rem; right: .6rem; z-index: 2; padding: .15rem .55rem; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: .75rem; font-weight: 700; }
.lp-gallery-thumbs { display: flex; gap: .5rem; padding: .6rem; overflow-x: auto; scrollbar-width: thin; }
.lp-gallery-thumb { position: relative; flex: 0 0 auto; width: 112px; aspect-ratio: 16 / 9; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: .65; transition: opacity .15s, border-color .15s; }
.lp-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-gallery-thumb:hover, .lp-gallery-thumb:focus-visible { opacity: 1; }
.lp-gallery-thumb.is-active { opacity: 1; border-color: #3b82f6; }
.lp-gallery-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.35); }
.lp-gallery-play svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(0,0,0,.6); }
@media (max-width: 575.98px) { .lp-gallery-thumb { width: 88px; } .lp-gallery-nav { width: 34px; height: 34px; } }
/* save (bookmark) button: game cards and the game page (views/partials/save-button.ejs) */
.save-form { display: inline-flex; margin: 0; flex: none; }
.save-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; width: 34px; height: 34px; padding: 0; flex: none;
  border: 1px solid var(--line-strong, #3f3f46); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s, background .15s, transform .1s; }
.save-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.save-btn:hover, .save-btn:focus-visible { color: #facc15; border-color: #facc15; }
.save-btn:active { transform: scale(.92); }
.save-btn.is-saved { color: #facc15; border-color: rgba(250, 204, 21, .55); background: rgba(250, 204, 21, .1); }
.save-btn.is-saved svg { fill: currentColor; }
.save-btn--label { width: auto; padding: 0 .8rem; font-weight: 700; font-size: .9rem; }
.save-btn.is-busy { opacity: .6; pointer-events: none; }
.srow-head .save-form, .srow-head > .save-btn { margin-left: auto; }
.lp-h1-row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.lp-h1-row .save-btn--label { height: 38px; }
.saved-page .section-head { margin-top: 2rem; }
.saved-because { font-size: .8rem; color: var(--muted); margin: -.35rem 0 .7rem; padding-left: .25rem; }
/* reserving paused while bidding is open (sponsor page, home slot cards, slot checkout) */
.reserve-paused { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin: 0 0 .9rem; padding: .75rem .85rem; border: 1px solid rgba(250, 204, 21, .35); border-radius: 8px; background: rgba(250, 204, 21, .07); font-size: .85rem; }
.reserve-paused strong { color: #fde047; }
.reserve-paused span { color: var(--muted); }
.btn-3d.btn-3d--gold { background: #ca8a04; box-shadow: 0 4px 0 #854d0e, 0 6px 10px rgba(0, 0, 0, .45); }
.btn-3d.btn-3d--gold:hover { background: #eab308; }
/* friends and game invites (views/friends.ejs, partials/listing/invite-friends.ejs) */
.friends-page .friends-block { margin-top: 1.8rem; }
.friends-page .friends-block h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .7rem; }
.friend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-width: 820px; }
.friend-row { display: flex; align-items: center; gap: .75rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #111); }
.friend-row.is-new { border-color: rgba(250, 204, 21, .45); background: rgba(250, 204, 21, .05); }
.friend-avatar { flex: none; }
.friend-avatar .profile-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.friend-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.friend-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; justify-content: flex-end; }
.friend-actions form { margin: 0; }
.friend-actions .press-play { display: inline-flex; align-items: center; gap: .35rem; }
.friend-actions .press-play svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 575.98px) { .friend-row { flex-wrap: wrap; } .friend-actions { width: 100%; justify-content: flex-start; } }
.invite-details > summary { list-style: none; cursor: pointer; }
.invite-details > summary::-webkit-details-marker { display: none; }
.invite-pick { display: grid; gap: .25rem; max-height: 220px; overflow: auto; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 8px; }
.invite-friend { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.gnav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: auto; border-radius: 999px; background: #ef4444; color: #fff; font-size: .72rem; font-weight: 800; }
.gnav-avatar-btn { position: relative; }
.gnav-avatar-dot { position: absolute; top: -4px; right: -4px; z-index: 2; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .66rem; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--gnav-solid, #000); }
/* home page link sections (Recently added, Popular in each genre) */
.link-section { margin-top: 2rem; }
.link-section h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.link-cols { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 1.5rem; }
.link-cols li { break-inside: avoid; padding: .2rem 0; font-size: .92rem; }
.link-cols a { color: var(--text); text-decoration: none; }
.link-cols a:hover { color: var(--accent); text-decoration: underline; }
.facet-related { margin: .25rem 0 .9rem; color: var(--muted); }
/* "Listed on GoFindServers" badge box on game pages (views/partials/listing/badge.ejs) */
.badge-panel summary { cursor: pointer; list-style: none; }
.badge-panel summary::-webkit-details-marker { display: none; }
.badge-panel summary::after { content: " +"; color: var(--muted); font-size: .8rem; }
.badge-panel details[open] summary::after { content: " −"; }
.badge-preview { display: block; max-width: 100%; height: auto; margin: .25rem 0 .25rem; }
.badge-code { display: flex; gap: .4rem; align-items: flex-start; }
.badge-code textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; resize: none; }
