/* GG RSPS — shared styles.
   Palette sampled from the logo rather than picked by eye: gold #F0B010 on deep purple
   #1A0040, the same values the launcher splash and error dialogs use, so the site, the
   launcher and the client read as one product. */

:root {
    --purple-900: #0a0018;
    --purple-800: #12002e;
    --purple-700: #1a0040;
    --purple-600: #26065a;
    --purple-500: #350c78;
    --gold:       #f0b010;
    --gold-soft:  #ffd45e;
    --gold-deep:  #b07a00;
    --ink:        #f4f0ff;
    --ink-dim:    #b9a9d8;
    --ink-faint:  #7d6ba3;
    --good:       #35d07f;
    --bad:        #ff5c6c;

    --shell: min(1180px, 100% - 3rem);
    --radius: 16px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --display: "Cinzel", "Trajan Pro", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--purple-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* A slow aurora behind everything. Fixed so it does not scroll with content, and
   pointer-events:none so it can never eat a click. */
body::before {
    content: "";
    position: fixed;
    inset: -30%;
    z-index: -2;
    background:
        radial-gradient(40% 40% at 20% 20%, rgba(120, 40, 220, .40), transparent 70%),
        radial-gradient(35% 35% at 80% 15%, rgba(240, 176, 16, .16), transparent 70%),
        radial-gradient(45% 45% at 60% 85%, rgba(70, 20, 160, .45), transparent 70%);
    filter: blur(40px);
    animation: drift 26s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes drift {
    from { transform: translate3d(-3%, -2%, 0) scale(1); }
    to   { transform: translate3d(3%, 2%, 0) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    html { scroll-behavior: auto; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--display); letter-spacing: .02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; color: var(--ink-dim); }

.gold {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
    font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem; font-weight: 600;
}

/* ---------- nav ---------- */

.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(10, 0, 24, .72);
    border-bottom: 1px solid rgba(240, 176, 16, .14);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.nav__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.nav__brand img { width: 34px; height: 34px; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav__links a { color: var(--ink-dim); text-decoration: none; font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute; inset: 70px 0 auto; flex-direction: column; gap: 0;
        background: rgba(10, 0, 24, .98); padding: 1rem 1.5rem 1.5rem; display: none;
        border-bottom: 1px solid rgba(240, 176, 16, .14);
    }
    .nav__links[data-open="true"] { display: flex; }
    .nav__links a { padding: .7rem 0; width: 100%; }
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 650; font-size: .96rem; text-decoration: none; cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
    font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
    background: linear-gradient(160deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
    color: #2a1a00; box-shadow: 0 10px 34px -12px rgba(240, 176, 16, .85);
}
.btn--gold:hover { box-shadow: 0 16px 44px -12px rgba(240, 176, 16, 1); }
.btn--ghost { border-color: rgba(240, 176, 16, .38); color: var(--ink); background: rgba(240, 176, 16, .06); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(240, 176, 16, .12); }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 10px 34px -14px rgba(88, 101, 242, .9); }
.btn--discord:hover { background: #4752c4; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; padding: 5rem 0 4rem; overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background-image: url("../img/background.jpg");
    background-size: cover; background-position: center;
    /* Fades the artwork into the page rather than ending on a hard edge. */
    mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 55%, transparent 100%);
    opacity: .5;
}
.hero__logo { width: min(560px, 82vw); margin-bottom: 1.2rem; filter: drop-shadow(0 18px 46px rgba(0,0,0,.75)); }
.hero__tag { font-size: clamp(1rem, 2.1vw, 1.3rem); color: var(--ink-dim); max-width: 62ch; margin: 0 auto 2.2rem; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__pills { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.pill {
    font-size: .8rem; padding: .42rem 1rem; border-radius: 999px;
    border: 1px solid rgba(240, 176, 16, .3); color: var(--gold-soft);
    background: rgba(240, 176, 16, .07);
}

/* ---------- sections ---------- */

.section { padding: 5.5rem 0; }
.section__head { text-align: center; max-width: 68ch; margin: 0 auto 3rem; }

.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    background: linear-gradient(165deg, rgba(38, 6, 90, .72), rgba(18, 0, 46, .82));
    border: 1px solid rgba(240, 176, 16, .16);
    border-radius: var(--radius);
    padding: 1.9rem;
    position: relative; overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(240, 176, 16, .42); box-shadow: 0 22px 48px -26px rgba(0,0,0,.9); }
.card__icon { font-size: 1.7rem; margin-bottom: .7rem; display: block; }
.card p:last-child { margin-bottom: 0; }

.card--featured { border-color: rgba(240,176,16,.5); box-shadow: 0 0 0 1px rgba(240,176,16,.18), 0 24px 60px -30px rgba(240,176,16,.5); }
.card__flag {
    position: absolute; top: 1rem; right: -2.6rem; transform: rotate(38deg);
    background: var(--gold); color: #2a1a00; font-size: .68rem; font-weight: 800;
    letter-spacing: .12em; padding: .3rem 3rem; text-transform: uppercase;
}

/* ---------- promise strip ---------- */

.promise { border-block: 1px solid rgba(240,176,16,.14); background: rgba(18,0,46,.55); }
.promise__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding: 3rem 0; text-align: center; }
.promise__n { font-family: var(--display); font-size: 2.3rem; color: var(--gold); line-height: 1; }
.promise__l { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-top: .4rem; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(240,176,16,.16); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
thead th {
    text-align: left; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); padding: 1rem 1.2rem; background: rgba(38,6,90,.85); font-weight: 700;
}
tbody td { padding: .9rem 1.2rem; border-top: 1px solid rgba(240,176,16,.1); color: var(--ink-dim); font-size: .94rem; }
tbody tr:hover td { background: rgba(240,176,16,.05); color: var(--ink); }
.rank { font-family: var(--display); color: var(--gold); font-weight: 700; }
.rank--1 { font-size: 1.15rem; }

/* ---------- forms ---------- */

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .45rem; font-weight: 600; }
.field input {
    width: 100%; padding: .85rem 1rem; border-radius: 10px; font-size: .98rem; font-family: var(--font);
    background: rgba(10,0,24,.75); border: 1px solid rgba(240,176,16,.22); color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240,176,16,.16); }
.field small { display: block; margin-top: .4rem; color: var(--ink-faint); font-size: .8rem; }
.field--code input { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: .4em; text-align: center; font-size: 1.4rem; text-transform: uppercase; }

.notice { border-radius: 10px; padding: .9rem 1.1rem; font-size: .9rem; margin-bottom: 1.2rem; border: 1px solid; }
.notice--info { background: rgba(88,101,242,.1);  border-color: rgba(88,101,242,.4);  color: #c3c9ff; }
.notice--warn { background: rgba(240,176,16,.09); border-color: rgba(240,176,16,.42); color: var(--gold-soft); }
.notice--bad  { background: rgba(255,92,108,.1);  border-color: rgba(255,92,108,.42); color: #ffb3ba; }
.notice--good { background: rgba(53,208,127,.1);  border-color: rgba(53,208,127,.42); color: #a8f0cd; }

/* ---------- status dot ---------- */

.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-dim); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); }
.status__dot--up   { background: var(--good); box-shadow: 0 0 0 4px rgba(53,208,127,.18); animation: pulse 2.4s ease-in-out infinite; }
.status__dot--down { background: var(--bad);  box-shadow: 0 0 0 4px rgba(255,92,108,.18); }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

/* ---------- footer ---------- */

.footer { border-top: 1px solid rgba(240,176,16,.14); background: rgba(10,0,24,.7); padding: 3rem 0 2rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.footer h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.footer a { display: block; color: var(--ink-dim); text-decoration: none; font-size: .9rem; padding: .25rem 0; }
.footer a:hover { color: var(--gold); }
.footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(240,176,16,.1); font-size: .82rem; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

[hidden] { display: none !important; }

.field select,
.field input[type="search"] {
    width: 100%; padding: .85rem 1rem; border-radius: 10px; font-size: .98rem; font-family: var(--font);
    background: rgba(10,0,24,.75); border: 1px solid rgba(240,176,16,.22); color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.6rem;
}
.field select:focus,
.field input[type="search"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240,176,16,.16); }
.field select option { background: var(--purple-800); color: var(--ink); }
.field input[type="search"]::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.field--inline { margin-bottom: 0; }

.tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tabs .btn { padding: .7rem 1.5rem; font-size: .9rem; }

.divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.6rem 0; color: var(--ink-faint);
    font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(240,176,16,.16); }

.auth-card { max-width: 520px; margin-inline: auto; }
.auth-card .btn { width: 100%; }
.auth-foot { margin-top: 1.4rem; text-align: center; font-size: .88rem; color: var(--ink-faint); }
.auth-foot a { color: var(--gold); text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.link-btn {
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
    color: var(--gold); text-decoration: underline;
}

.toolbar {
    display: grid; gap: 1rem; align-items: end;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    background: linear-gradient(165deg, rgba(38, 6, 90, .62), rgba(18, 0, 46, .78));
    border: 1px solid rgba(240,176,16,.16);
    border-radius: var(--radius);
    padding: 1.3rem;
    margin-bottom: 1.6rem;
}
.toolbar__wide { grid-column: 1 / -1; }

.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip {
    border: 1px solid rgba(240,176,16,.24); background: rgba(240,176,16,.05);
    color: var(--ink-dim); border-radius: 999px; padding: .48rem 1.05rem;
    font: 600 .82rem var(--font); cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--ink); border-color: rgba(240,176,16,.5); }
.chip[aria-pressed="true"] { background: rgba(240,176,16,.16); border-color: var(--gold); color: var(--gold-soft); }

.table-meta {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    flex-wrap: wrap; margin-bottom: .9rem; font-size: .84rem; color: var(--ink-faint);
}
.table--sortable th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
.table--sortable th[data-sort]:hover { color: var(--gold-soft); }
.table--sortable th[data-sort]::after { content: "\2195"; margin-left: .4rem; opacity: .3; }
.table--sortable th[aria-sort="descending"]::after { content: "\25BE"; opacity: 1; }
.table--sortable th[aria-sort="ascending"]::after { content: "\25B4"; opacity: 1; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody td.num { color: var(--ink); }
.player-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.player-link:hover { color: var(--gold); }
.you td { background: rgba(240,176,16,.08); }

.tier {
    display: inline-block; border-radius: 999px; padding: .16rem .7rem;
    font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    border: 1px solid currentColor;
}
.tier--legend   { color: #ffd45e; background: rgba(240,176,16,.14); }
.tier--master   { color: #f08bff; background: rgba(240,139,255,.12); }
.tier--diamond  { color: #7ddfff; background: rgba(125,223,255,.12); }
.tier--platinum { color: #d6e2ff; background: rgba(214,226,255,.1); }
.tier--gold     { color: #f0b010; background: rgba(240,176,16,.1); }
.tier--silver   { color: #c3cbe0; background: rgba(195,203,224,.1); }
.tier--bronze   { color: #cf8a44; background: rgba(207,138,68,.12); }

.skeleton {
    display: block; height: .8rem; border-radius: 4px;
    background: linear-gradient(90deg, rgba(240,176,16,.06), rgba(240,176,16,.16), rgba(240,176,16,.06));
    background-size: 200% 100%;
    animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0 } to { background-position: -200% 0 } }

.empty { text-align: center; color: var(--ink-faint); padding: 2.5rem 1rem; }

.lookup { margin-top: 2.5rem; }
.lookup__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.lookup__name { font-family: var(--display); font-size: 1.6rem; color: var(--gold); margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.stat {
    border: 1px solid rgba(240,176,16,.14); border-radius: 10px; padding: .8rem .9rem;
    background: rgba(10,0,24,.42);
}
.stat__k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.stat__v { font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.3; }
.stat__sub { font-size: .76rem; color: var(--ink-faint); }

@media (max-width: 620px) {
    table { min-width: 420px; }
    .hide-sm { display: none; }
    tbody td, thead th { padding-inline: .8rem; }
}

/* ============================================================================
   Website v2 components. Everything below is additive — nothing above changes.
   ========================================================================== */

/* ---------- nav: dropdown groups + CTA ---------- */

.nav__drop { position: relative; }
.nav__drop > button {
    background: none; border: 0; padding: 0; cursor: pointer;
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--ink-dim); font: 500 .93rem var(--font); transition: color .2s;
}
.nav__caret::after { content: "\25BE"; font-size: .72em; opacity: .65; transition: transform .2s; }
.nav__drop > button:hover,
.nav__drop.is-open > button,
.nav__drop--active > button { color: var(--gold); }
.nav__drop.is-open .nav__caret::after { transform: rotate(180deg); }

.nav__menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: .5rem; padding-top: .5rem; margin-top: 21px;
    min-width: 200px; display: flex; flex-direction: column;
    background: rgba(16, 2, 38, .97);
    border: 1px solid rgba(240, 176, 16, .22); border-radius: 12px;
    box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .85);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 60;
}
/* Invisible bridge so the pointer can travel from the button to the menu. */
.nav__menu::before { content: ""; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
@media (hover: hover) and (min-width: 861px) {
    .nav__drop:hover .nav__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
}
.nav__menu a { padding: .55rem .95rem; border-radius: 8px; white-space: nowrap; }
.nav__menu a:hover { background: rgba(240, 176, 16, .08); }
.nav__menu a[aria-current="page"] { background: rgba(240, 176, 16, .1); }

.nav__cta {
    background: linear-gradient(160deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
    color: #2a1a00 !important; font-weight: 700 !important;
    padding: .45rem 1.15rem; border-radius: 999px;
    box-shadow: 0 8px 26px -12px rgba(240, 176, 16, .8);
    transition: transform .18s, box-shadow .18s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -12px rgba(240, 176, 16, 1); }

@media (max-width: 860px) {
    .nav__drop { width: 100%; }
    .nav__drop > button { width: 100%; padding: .7rem 0; justify-content: space-between; font-size: .93rem; }
    .nav__menu {
        position: static; transform: none; margin: 0; padding: 0 0 .4rem .9rem;
        min-width: 0; background: none; border: 0; box-shadow: none;
        opacity: 1; visibility: hidden; pointer-events: none; display: none;
    }
    .nav__menu::before { display: none; }
    .nav__drop.is-open .nav__menu { display: flex; visibility: visible; pointer-events: auto; transform: none; }
    .nav__cta { align-self: flex-start; margin-block: .5rem; }
}

/* ---------- subpage headers ---------- */

.page-head { padding: 3.4rem 0 2.2rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-head .lede { max-width: 64ch; }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-inline: auto; }

/* ---------- panels (data cards without the hover lift) ---------- */

.panel {
    background: linear-gradient(165deg, rgba(38, 6, 90, .55), rgba(18, 0, 46, .8));
    border: 1px solid rgba(240, 176, 16, .16);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
}
.panel__head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.panel__title { font-family: var(--display); font-size: 1.02rem; color: var(--gold); margin: 0; letter-spacing: .05em; }
.panel__meta { font-size: .8rem; color: var(--ink-faint); }
.panel__foot { margin-top: 1rem; font-size: .84rem; color: var(--ink-faint); }
.panel > .table-wrap { border-radius: 10px; }

/* ---------- charts ---------- */

.chart { position: relative; width: 100%; }
.chart svg { display: block; }
.chart__grid { stroke: rgba(240, 176, 16, .09); }
.chart__ylabel { fill: var(--ink-faint); font-size: 11px; text-anchor: end; font-family: var(--font); }
.chart__xlabel { fill: var(--ink-faint); font-size: 11px; font-family: var(--font); }
.chart__cross { stroke: rgba(244, 240, 255, .3); stroke-dasharray: 3 3; }
.chart__tip {
    position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; white-space: nowrap;
    background: rgba(10, 0, 24, .96); border: 1px solid rgba(240, 176, 16, .32);
    border-radius: 8px; padding: .35rem .65rem; font-size: .78rem; color: var(--ink-dim);
}
.chart__tip strong { color: var(--ink); }
.chart__empty { padding-top: 3.2rem; }

/* ---------- activity feed ---------- */

.feed { display: flex; flex-direction: column; }
.feed__item {
    display: flex; align-items: flex-start; gap: .9rem;
    padding: .8rem .2rem; border-top: 1px solid rgba(240, 176, 16, .09);
    font-size: .92rem; color: var(--ink-dim);
}
.feed__item:first-child { border-top: 0; }
.feed__ico {
    width: 34px; height: 34px; flex: none; display: grid; place-items: center;
    border-radius: 10px; font-size: 1rem;
    background: rgba(240, 176, 16, .07); border: 1px solid rgba(240, 176, 16, .14);
}
.feed__item--drop .feed__ico { background: rgba(125, 223, 255, .08); border-color: rgba(125, 223, 255, .25); }
.feed__item--pvp .feed__ico { background: rgba(255, 92, 108, .08); border-color: rgba(255, 92, 108, .28); }
.feed__item--first .feed__ico, .feed__item--maxed .feed__ico { background: rgba(240, 176, 16, .14); border-color: rgba(240, 176, 16, .4); }
.feed__item--completion .feed__ico { background: rgba(178, 130, 255, .1); border-color: rgba(178, 130, 255, .32); }
.feed__item--quest .feed__ico { background: rgba(53, 208, 127, .09); border-color: rgba(53, 208, 127, .3); }
.feed__body { flex: 1; min-width: 0; }
.feed__body a { color: var(--ink); font-weight: 600; text-decoration: none; }
.feed__body a:hover { color: var(--gold); }
.feed__body .item-name { color: var(--gold-soft); font-weight: 600; }
.feed__time { flex: none; margin-left: auto; padding-left: .6rem; color: var(--ink-faint); font-size: .78rem; }

/* ---------- price deltas, items, tags ---------- */

.delta { color: var(--ink-faint); font-weight: 650; font-size: .86em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta--up { color: var(--good); }
.delta--down { color: var(--bad); }

.item-cell { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.item-cell > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-ico {
    width: 32px; height: 32px; flex: none; display: grid; place-items: center;
    border-radius: 8px; font-family: var(--display); font-size: .85rem; color: var(--gold);
    background: rgba(240, 176, 16, .08); border: 1px solid rgba(240, 176, 16, .16);
}

.tag {
    display: inline-block; padding: .14rem .6rem; border-radius: 999px;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    border: 1px solid rgba(240, 176, 16, .3); color: var(--gold-soft); background: rgba(240, 176, 16, .07);
}
.tag--dim { border-color: rgba(185, 169, 216, .3); color: var(--ink-dim); background: rgba(185, 169, 216, .06); }

/* ---------- requirements, pets, quests ---------- */

.reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.req { display: flex; align-items: baseline; gap: .7rem; font-size: .93rem; color: var(--ink-dim); }
.req__ico { flex: none; font-size: .95rem; line-height: 1.3; opacity: .8; }
.req__text { min-width: 0; }
.req__text strong { color: var(--ink); font-weight: 650; }
.req .tag { margin-left: .35rem; vertical-align: middle; }

.pet { display: flex; align-items: center; gap: .9rem; }
.pet__ico {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-size: 1.2rem;
    border-radius: 12px; background: rgba(240, 176, 16, .08); border: 1px solid rgba(240, 176, 16, .2);
}
.pet__name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.pet__rate { font-size: .82rem; color: var(--ink-faint); }

/* One row per quest. Grid rather than a table so it reflows to one column on a phone
   without a horizontal scroller, which a 195-row table would otherwise need. */
.quest-list { display: grid; gap: .5rem; }
.quest-row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center;
    padding: .7rem .95rem; border-radius: 10px; text-decoration: none;
    border: 1px solid rgba(240, 176, 16, .12); background: rgba(10, 0, 24, .42);
}
.quest-row:hover { border-color: rgba(240, 176, 16, .4); background: rgba(240, 176, 16, .05); }
.quest-row__name { color: var(--ink); font-weight: 600; min-width: 0; }
.quest-row__sub { font-size: .78rem; color: var(--ink-faint); }
.quest-row--soon .quest-row__name { color: var(--ink-dim); }
@media (max-width: 560px) {
    .quest-row { grid-template-columns: 1fr auto; }
    .quest-row__diff { display: none; }
}

.raid-card {
    display: block; padding: 1.2rem 1.4rem; border-radius: 14px; text-decoration: none;
    border: 1px solid rgba(240, 176, 16, .16); background: rgba(10, 0, 24, .5);
}
.raid-card:hover { border-color: rgba(240, 176, 16, .45); }
.raid-card--soon { opacity: .68; pointer-events: none; }
.raid-card__name { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.raid-card__sub { font-size: .85rem; color: var(--ink-faint); margin-top: .2rem; }

.kbd {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .84em;
    background: rgba(10, 0, 24, .85); color: var(--gold-soft);
    border: 1px solid rgba(240, 176, 16, .28); border-bottom-width: 2px;
    border-radius: 6px; padding: .08rem .5rem; white-space: nowrap;
}

/* ---------- search suggestions ---------- */

.suggest { position: relative; }
.suggest__list {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
    max-height: 330px; overflow: auto;
    background: rgba(16, 2, 38, .98); border: 1px solid rgba(240, 176, 16, .25);
    border-radius: 12px; box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .85);
}
.suggest__list a, .suggest__list button {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%;
    padding: .6rem .95rem; color: var(--ink-dim); text-decoration: none; font: 500 .92rem var(--font);
    background: none; border: 0; cursor: pointer; text-align: left;
}
.suggest__list a:hover, .suggest__list button:hover,
.suggest__list .is-active { background: rgba(240, 176, 16, .09); color: var(--ink); }
.suggest__list .muted { flex: none; }

/* ---------- player profile ---------- */

.profile-head { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.avatar {
    width: 86px; height: 86px; flex: none; display: grid; place-items: center;
    border-radius: 22px; font-family: var(--display); font-size: 2rem; color: var(--gold);
    background: linear-gradient(160deg, var(--purple-500), var(--purple-700));
    border: 1px solid rgba(240, 176, 16, .38);
    box-shadow: 0 14px 34px -18px rgba(240, 176, 16, .5);
}
.mchips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.mchip {
    font-size: .76rem; padding: .3rem .85rem; border-radius: 999px;
    border: 1px solid rgba(240, 176, 16, .2); color: var(--ink-dim); background: rgba(240, 176, 16, .05);
}
.mchip strong { color: var(--ink); font-weight: 650; }

.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .7rem; }
.skill-tile {
    border: 1px solid rgba(240, 176, 16, .14); border-radius: 10px;
    padding: .7rem .85rem; background: rgba(10, 0, 24, .42);
}
.skill-tile__name { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.skill-tile__lvl { font-family: var(--display); font-size: 1.2rem; color: var(--ink); line-height: 1.4; }
.skill-tile__lvl small { font-size: .68em; color: var(--ink-faint); font-family: var(--font); }
.skill-tile__sub { font-size: .74rem; color: var(--ink-faint); }
.skill-tile--99 { border-color: rgba(240, 176, 16, .45); background: rgba(240, 176, 16, .06); }
.skill-tile--99 .skill-tile__lvl { color: var(--gold-soft); }
.xpbar { height: 4px; border-radius: 2px; background: rgba(240, 176, 16, .12); margin-top: .5rem; overflow: hidden; }
.xpbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }

/* ---------- achievements ---------- */

.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.ach {
    display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem;
    border: 1px solid rgba(240, 176, 16, .14); border-radius: 10px; background: rgba(10, 0, 24, .42);
    font-size: .9rem; color: var(--ink);
}
.ach__ico {
    width: 36px; height: 36px; flex: none; display: grid; place-items: center;
    border-radius: 10px; background: rgba(240, 176, 16, .12); border: 1px solid rgba(240, 176, 16, .3);
}
.ach__sub { font-size: .76rem; color: var(--ink-faint); }
.ach--locked { opacity: .45; filter: grayscale(.7); }

/* ---------- boss cards ---------- */

.boss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1rem; }
.boss-card {
    display: block; text-decoration: none; color: var(--ink);
    background: linear-gradient(165deg, rgba(38, 6, 90, .6), rgba(18, 0, 46, .82));
    border: 1px solid rgba(240, 176, 16, .16); border-radius: var(--radius); padding: 1.2rem 1.3rem;
    transition: transform .22s, border-color .22s, box-shadow .22s;
}
.boss-card:hover { transform: translateY(-3px); border-color: rgba(240, 176, 16, .45); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
.boss-card__name { font-family: var(--display); font-size: 1.06rem; color: var(--gold-soft); margin-bottom: .15rem; }
.boss-card__sub { font-size: .78rem; color: var(--ink-faint); margin-bottom: .7rem; }
.boss-card__stats { display: flex; gap: 1.2rem; font-size: .84rem; color: var(--ink-dim); flex-wrap: wrap; }
.boss-card__stats strong { display: block; font-family: var(--display); font-size: 1.02rem; color: var(--ink); }

/* ---------- vote ---------- */

.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.vote-card {
    display: flex; flex-direction: column; gap: .5rem;
    background: linear-gradient(165deg, rgba(38, 6, 90, .6), rgba(18, 0, 46, .82));
    border: 1px solid rgba(240, 176, 16, .16); border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.vote-card__name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.vote-card__state { font-size: .82rem; color: var(--ink-faint); }
.vote-card--ready { border-color: rgba(53, 208, 127, .4); }
.vote-card--ready .vote-card__state { color: var(--good); }
.vote-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- sidebar layouts (wiki, boss detail) ---------- */

.with-side { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 2.6rem; align-items: start; }
.side-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: .1rem; }
.side-nav h5 {
    margin: 1.1rem 0 .35rem; padding-inline: .8rem;
    font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700;
}
.side-nav h5:first-child { margin-top: 0; }
.side-nav a {
    padding: .42rem .8rem; border-radius: 8px; text-decoration: none;
    color: var(--ink-dim); font-size: .9rem; border-left: 2px solid transparent;
}
.side-nav a:hover { color: var(--gold); }
.side-nav a[aria-current="page"] { background: rgba(240, 176, 16, .08); color: var(--gold-soft); }
@media (max-width: 900px) {
    .with-side { grid-template-columns: 1fr; gap: 1.6rem; }
    .side-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: .3rem; }
    .side-nav h5 { width: 100%; margin: .6rem 0 .2rem; }
}

/* ---------- article typography (wiki) ---------- */

.prose h2 {
    font-size: 1.45rem; margin-top: 2.2rem;
    padding-bottom: .45rem; border-bottom: 1px solid rgba(240, 176, 16, .16);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6rem; color: var(--gold-soft); }
.prose ul, .prose ol { color: var(--ink-dim); padding-left: 1.4rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-soft); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose blockquote {
    margin: 1.2rem 0; padding: .8rem 1.2rem; border-left: 3px solid var(--gold);
    background: rgba(240, 176, 16, .06); border-radius: 0 10px 10px 0; color: var(--ink-dim);
}
.prose code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em;
    background: rgba(10, 0, 24, .8); border: 1px solid rgba(240, 176, 16, .2);
    border-radius: 6px; padding: .06rem .4rem; color: var(--gold-soft);
}

/* ---------- downloads ---------- */

.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.dl-card {
    display: flex; flex-direction: column; gap: .6rem; text-align: center; align-items: center;
    background: linear-gradient(165deg, rgba(38, 6, 90, .68), rgba(18, 0, 46, .84));
    border: 1px solid rgba(240, 176, 16, .16); border-radius: var(--radius); padding: 2rem 1.6rem;
}
.dl-card__ico { font-size: 2.3rem; line-height: 1; }
.dl-card--soon { opacity: .55; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
    counter-increment: step; position: relative; padding: 0 0 1.4rem 3.2rem; color: var(--ink-dim);
}
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: -.15rem;
    width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
    border-radius: 50%; font-family: var(--display); font-weight: 700; color: var(--gold);
    background: rgba(240, 176, 16, .09); border: 1px solid rgba(240, 176, 16, .3);
}
.steps li:not(:last-child)::after {
    content: ""; position: absolute; left: 1.1rem; top: 2.2rem; bottom: .2rem;
    width: 1px; background: rgba(240, 176, 16, .18);
}

/* ---------- pagination + misc ---------- */

.pager { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 1.6rem; }
.pager .chip[disabled] { opacity: .4; pointer-events: none; }
.pager__label { font-size: .84rem; color: var(--ink-faint); padding-inline: .6rem; }

.muted { color: var(--ink-faint); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.section--tight { padding: 3rem 0; }

.stat--wide { grid-column: span 2; }
@media (max-width: 620px) { .stat--wide { grid-column: auto; } }

/* ---------- account choices + service status ---------- */

.auth-primary { width: 100%; justify-content: center; text-align: center; }
.auth-method-title {
    margin: 0 0 1.2rem; text-align: center; font-size: 1rem;
    color: var(--gold-soft); letter-spacing: .03em;
}
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.status-card { max-width: 720px; margin-inline: auto; }
.world-status { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; }
.world-status > .status__dot { width: 18px; height: 18px; flex: none; }
.world-status strong {
    display: block; font-family: var(--display); color: var(--ink);
    font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.2;
}
.world-status span:last-child { display: block; color: var(--ink-faint); margin-top: .2rem; }
.hs-preview-toggle { justify-content: center; margin: 0 0 1.2rem; }
.status-grid { grid-template-columns: minmax(180px, .8fr) minmax(180px, .8fr) minmax(260px, 1.4fr); }
@media (max-width: 760px) {
    .status-grid { grid-template-columns: 1fr; }
    .status-grid .stat--wide { grid-column: auto; }
}

.status-overview {
    display: flex; align-items: center; gap: 1.2rem; padding: 1.35rem 1.5rem;
    border-color: rgba(240,176,16,.24);
}
.status-overview h2 { margin: 0 0 .2rem; font-size: clamp(1.2rem, 3vw, 1.65rem); }
.status-overview p { margin: 0; color: var(--ink-faint); }
.status__dot--large { width: 18px; height: 18px; flex: none; }
.status-group { margin-top: 2.6rem; }
.status-group__head { margin-bottom: 1rem; }
.status-group__head h2 { margin: .25rem 0 0; font-size: 1.35rem; }
.service-grid, .world-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.service-card {
    display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
    min-width: 0; padding: 1.15rem 1.25rem; border-radius: 12px;
    border: 1px solid rgba(240,176,16,.14); background: rgba(10,0,24,.42);
}
.service-card h3 { margin: 0 0 .25rem; font-size: 1rem; color: var(--ink); }
.service-card p { margin: 0; color: var(--ink-faint); font-size: .84rem; }
.service-state { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.service-state strong { font-size: .84rem; color: var(--ink-dim); }
.status-checked { margin: 1.4rem 0 0; text-align: right; color: var(--ink-faint); font-size: .8rem; }
@media (max-width: 520px) {
    .service-grid, .world-list { grid-template-columns: 1fr; }
    .service-card { align-items: flex-start; flex-direction: column; }
}

/* ---------- account manager ---------- */

.account-row {
    display: grid; gap: .35rem; padding: 1rem 0;
    border-top: 1px solid rgba(240, 176, 16, .12);
}
.account-row:first-child { border-top: 0; padding-top: .4rem; }
.account-row__name { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-weight: 700; }
.account-row__name .pill { font-size: .68rem; padding: .2rem .6rem; }
.pill--gold { border-color: rgba(240, 176, 16, .55); color: var(--gold); background: rgba(240, 176, 16, .14); }
.account-row__meta { color: var(--ink-faint); font-size: .82rem; }
.account-row__actions { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: .2rem; }

/* ============================================================================
   Roadmap batch (2026-09-28): period boards, the economy pages, the store's
   price list, guild projects and the what's-live list. Additive only.
   ========================================================================== */

/* A period countdown: "This week ends in 3d 4h - Mon 5 Oct, 10:00 your time". */
.countdown {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem;
    margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 10px; font-size: .9rem;
    border: 1px solid rgba(240, 176, 16, .2); background: rgba(240, 176, 16, .05); color: var(--ink-dim);
}
.countdown__value { font-family: var(--display); color: var(--gold-soft); font-size: 1.05rem; }

/* The cohort beside a rank: "1/3". Roadmap section 8: first of one must not read as a win. */
.rank__of { font-family: var(--font); font-size: .72em; font-weight: 600; color: var(--ink-faint); margin-left: .15rem; }

/* Fill meters (supply orders) and progress bars (guild projects). */
.meter {
    display: inline-block; width: 70px; height: 6px; border-radius: 3px; vertical-align: middle;
    background: rgba(240, 176, 16, .12); overflow: hidden;
}
.meter span, .progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }
.progress { height: 8px; border-radius: 4px; background: rgba(240, 176, 16, .12); overflow: hidden; margin: .7rem 0 .4rem; }

.tag--reserve { border-color: rgba(125, 223, 255, .35); color: #b8ecff; background: rgba(125, 223, 255, .07); }
.req > .tag:first-child { flex: none; margin-left: 0; min-width: 5.2rem; text-align: center; }
tr.table-group td {
    font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
    background: rgba(38, 6, 90, .45); padding-block: .5rem;
}

.btn--sm { padding: .45rem 1rem; font-size: .82rem; }

/* ---------- store: wallet and the cosmetic price list ---------- */

.wallet {
    display: grid; gap: .8rem; align-items: end; margin-bottom: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.shelf { margin-top: 1.8rem; }
.shelf__title { font-family: var(--display); font-size: 1.15rem; color: var(--gold); margin: 0; }
.shelf__sub { margin: .2rem 0 1rem; font-size: .88rem; color: var(--ink-faint); }
.cosmetic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.cosmetic {
    display: flex; gap: .9rem; padding: 1rem; border-radius: 12px;
    border: 1px solid rgba(240, 176, 16, .16); background: rgba(10, 0, 24, .5);
}
.cosmetic--owned { border-color: rgba(53, 208, 127, .4); }
.cosmetic__preview {
    width: 58px; height: 58px; flex: none; display: grid; place-items: center; font-size: 1.6rem;
    border-radius: 12px; background: radial-gradient(circle at 30% 25%, rgba(240, 176, 16, .22), rgba(38, 6, 90, .6));
    border: 1px solid rgba(240, 176, 16, .25);
}
.cosmetic__body { min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.cosmetic__name { font-weight: 650; color: var(--ink); }
.cosmetic__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.cosmetic__prices { display: flex; flex-wrap: wrap; gap: .35rem; }
.cosmetic__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .3rem; }
.price {
    font-size: .76rem; font-weight: 650; padding: .15rem .6rem; border-radius: 999px; white-space: nowrap;
    border: 1px solid rgba(240, 176, 16, .3); color: var(--gold-soft); background: rgba(240, 176, 16, .07);
}
.price--seals { border-color: rgba(53, 208, 127, .35); color: #a8f0cd; background: rgba(53, 208, 127, .07); }
.price--gold { border-color: rgba(185, 169, 216, .3); color: var(--ink-dim); background: rgba(185, 169, 216, .06); }

/* ---------- boards with their own controls (guild, bounty) ---------- */

.board-controls { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.period-nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.period-nav__label { font-size: .88rem; color: var(--ink); padding-inline: .3rem; }
.period-nav .chip[disabled] { opacity: .4; pointer-events: none; }
.board-explain { margin: 0 0 1.1rem; font-size: .9rem; color: var(--ink-dim); max-width: 80ch; }
.board-sub { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 1.4rem 0 .6rem; }
.board-sub:first-child { margin-top: 0; }
.hunter { border-top: 1px solid rgba(240, 176, 16, .12); padding-top: 1rem; }
.hunter__head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.hunter__head h3 { font-family: var(--display); color: var(--gold-soft); }

/* ---------- guild projects ---------- */

.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; }
.project { padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid rgba(240, 176, 16, .16); background: rgba(10, 0, 24, .5); }
.project__region { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.project__name { font-family: var(--display); font-size: 1.1rem; color: var(--ink); margin-top: .15rem; }
.project__stage { font-size: .86rem; color: var(--ink-dim); margin-top: .2rem; }
.project__count { font-size: .84rem; color: var(--ink-faint); }
.project__count strong { color: var(--ink); }
.project__reward { font-size: .82rem; color: var(--ink-dim); margin-top: .35rem; }
.project__meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; font-size: .78rem; }

/* ---------- what's live ---------- */

.status-legend { margin-top: 1.2rem; }
.status-tag {
    display: inline-block; padding: .14rem .6rem; border-radius: 999px; white-space: nowrap;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid;
}
.status-tag--playable { border-color: rgba(53, 208, 127, .45); color: #a8f0cd; background: rgba(53, 208, 127, .08); }
.status-tag--simplified { border-color: rgba(240, 176, 16, .45); color: var(--gold-soft); background: rgba(240, 176, 16, .08); }
.status-tag--unavailable { border-color: rgba(255, 92, 108, .45); color: #ffb3ba; background: rgba(255, 92, 108, .08); }
.status-tag--planned { border-color: rgba(185, 169, 216, .35); color: var(--ink-dim); background: rgba(185, 169, 216, .06); }
.live-section { margin-bottom: 1.4rem; }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: .1rem 1.6rem; }
.live-row {
    display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; align-items: baseline;
    padding: .55rem 0; border-top: 1px solid rgba(240, 176, 16, .08);
}
.live-row__name { color: var(--ink); font-weight: 600; min-width: 0; }
.live-row__name a { color: var(--ink); text-decoration: none; }
.live-row__name a:hover { color: var(--gold); }
.live-row__note { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-faint); }
@media (max-width: 420px) { .live-list { grid-template-columns: 1fr; } }

/* ---------- account modes comparison ---------- */

table.compare th[scope="row"] {
    text-align: left; font-size: .86rem; letter-spacing: 0; text-transform: none; color: var(--ink);
    background: rgba(38, 6, 90, .4); font-weight: 650; padding: .85rem 1.1rem; min-width: 11rem;
}
table.compare th[scope="row"] small { display: block; font-weight: 400; font-size: .74rem; color: var(--ink-faint); margin-top: .15rem; }
table.compare td { font-size: .9rem; }

/* The policy reads as one long document; keep its measure comfortable. */
.policy { max-width: 78ch; }
.policy h2[id], .live-section[id], .panel[id] { scroll-margin-top: 90px; }

/* A chosen title on a profile. The game client cannot draw titles yet; this is where one is seen. */
.profile-title { font-family: var(--display); color: var(--gold-soft); font-size: .98rem; letter-spacing: .04em; margin-top: .2rem; }
.req__text a { color: var(--gold-soft); }
/* Links inside running text. There is no global link colour (several cards are anchors), so the
   browser default blue showed on the dark background wherever a notice or intro carried a link. */
.notice a, .section__head p a, .lede a, .panel__foot a, .board-explain a, .card p a,
.muted a, .stat__sub a, .shelf__sub a, .panel__meta a { color: var(--gold-soft); }
