/* Gaming Bureau — site styles.
   Plum night with jade, coral and brass. One 4px spacing scale, a serif for
   headings and the system sans for everything else. */

:root {
    --bx-bg: #120d1c;
    --bx-bg-2: #171025;
    --bx-surface: #1e1630;
    --bx-surface-2: #281d3e;
    --bx-raise: #32264b;
    --bx-line: rgba(243, 236, 223, .11);
    --bx-line-2: rgba(243, 236, 223, .2);
    --bx-ink: #f3ecdf;
    --bx-muted: #c0b5d0;
    --bx-faint: #9d91b2;
    --bx-jade: #3fe0b0;
    --bx-jade-2: #7af2cf;
    --bx-jade-ink: #08231a;
    --bx-coral: #ff6b57;
    --bx-gold: #f5c451;
    --bx-brass: #d9b56a;
    --bx-cobalt: #7e98ff;
    --bx-ivory-c: #efe6d2;
    --bx-jade-c: #2fbf93;
    --bx-cobalt-c: #4d6ff0;
    --bx-garnet-c: #b8324a;
    --bx-onyx-c: #0b0a10;
    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s5: 20px;
    --s6: 24px;
    --s7: 32px;
    --s8: 40px;
    --s9: 48px;
    --s10: 64px;
    --s11: 80px;
    --r-s: 8px;
    --r: 14px;
    --r-l: 22px;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1360px;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 140px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--bx-ink);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(63, 224, 176, .09), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(255, 107, 87, .07), transparent 60%),
        var(--bx-bg);
    background-attachment: fixed;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--bx-jade); text-underline-offset: 3px; }
a:hover { color: var(--bx-jade-2); }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 var(--s3);
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s4); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 3px solid var(--bx-gold);
    outline-offset: 2px;
    border-radius: 6px;
}

code {
    font-size: .9em;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--bx-surface-2);
}

.bx-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.bx-ico { width: 20px; height: 20px; flex: none; }
.bx-ico--xs { width: 14px; height: 14px; }
.bx-ico--s { width: 16px; height: 16px; }
.bx-ico--xl { width: 44px; height: 44px; }
.bx-stampmark { width: 20px; height: 20px; flex: none; }

.bx-skip {
    position: absolute;
    left: var(--s4);
    top: -60px;
    z-index: 100;
    padding: var(--s2) var(--s4);
    border-radius: var(--r-s);
    color: var(--bx-jade-ink);
    background: var(--bx-jade);
    font-weight: 700;
    transition: top .15s ease-out;
}

.bx-skip:focus { top: var(--s2); }

.bx-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    margin: 0 0 var(--s3);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bx-brass);
}

.bx-kicker .bx-ico { width: 16px; height: 16px; }

.bx-fine { font-size: .85rem; color: var(--bx-faint); }

/* ---------------------------------------------------------------- buttons */

.bx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-height: 46px;
    padding: 0 var(--s5);
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.1;
    text-decoration: none;
    color: var(--bx-jade-ink);
    background: linear-gradient(180deg, var(--bx-jade-2), var(--bx-jade));
    box-shadow: 0 8px 22px -12px rgba(63, 224, 176, .8), inset 0 1px 0 rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: transform .14s var(--ease), filter .15s ease-out, background-color .15s ease-out;
}

.bx-btn:hover { color: var(--bx-jade-ink); filter: brightness(1.06); }
.bx-btn:active { transform: scale(.97); }
.bx-btn .bx-ico { width: 18px; height: 18px; }

.bx-btn--ghost {
    color: var(--bx-ink);
    background: rgba(243, 236, 223, .06);
    border-color: var(--bx-line-2);
    box-shadow: none;
}

.bx-btn--ghost:hover { color: var(--bx-ink); background: rgba(243, 236, 223, .12); filter: none; }
.bx-btn--sm { min-height: 38px; padding: 0 var(--s4); font-size: .88rem; }
.bx-btn--block { display: flex; width: 100%; }

.bx-btn--warn {
    color: #fff;
    background: linear-gradient(180deg, #ff8a78, var(--bx-coral));
    box-shadow: 0 8px 22px -12px rgba(255, 107, 87, .8);
}

.bx-btn--warn:hover { color: #fff; }
.bx-btn[aria-disabled="true"] { pointer-events: none; opacity: .45; filter: grayscale(.6); }
.bx-btn:disabled { opacity: .45; cursor: default; filter: grayscale(.6); }

.bx-round {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--bx-line-2);
    border-radius: 50%;
    color: var(--bx-ink);
    background: rgba(243, 236, 223, .05);
    cursor: pointer;
    transition: background-color .15s ease-out, transform .12s ease-out, color .15s ease-out;
}

.bx-round:hover { background: rgba(243, 236, 223, .13); }
.bx-round:active { transform: scale(.94); }
.bx-round--s { width: 36px; height: 36px; }
.bx-round[aria-pressed="true"] { color: var(--bx-coral); border-color: rgba(255, 107, 87, .5); }

.bx-linkbtn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--bx-jade);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.bx-more {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
}

.bx-more .bx-ico { width: 16px; height: 16px; transition: transform .15s ease-out; }
.bx-more:hover .bx-ico { transform: translateX(3px); }

.bx-acts { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------------------------------------------------------------- strip + top */

.bx-strip {
    background: #0b0812;
    border-bottom: 1px solid var(--bx-line);
    font-size: .76rem;
    color: var(--bx-muted);
}

.bx-strip p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px var(--s4);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 6px var(--s4);
}

.bx-strip b {
    padding: 0 7px;
    border-radius: 4px;
    color: var(--bx-jade-ink);
    background: var(--bx-gold);
}

.bx-strip span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: var(--s4);
    vertical-align: middle;
    border-radius: 50%;
    background: var(--bx-brass);
}

.bx-top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(18, 13, 28, .9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--bx-line);
}

.bx-top__bar {
    display: flex;
    align-items: center;
    gap: var(--s5);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--s3) var(--s6);
}

.bx-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s3);
    text-decoration: none;
    color: var(--bx-ink);
    flex: none;
}

.bx-brand:hover { color: var(--bx-ink); }
.bx-seal { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.bx-seal--s { width: 22px; height: 22px; }
.bx-seal--xl { width: 96px; height: 96px; }

.bx-brand__word {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--serif);
}

.bx-brand__word b { font-size: 1.12rem; letter-spacing: .02em; }

.bx-brand__word i {
    font-style: normal;
    font-family: var(--sans);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--bx-brass);
    margin-top: 3px;
}

.bx-find {
    position: relative;
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
}

.bx-find__field {
    display: flex;
    align-items: center;
    gap: var(--s2);
    height: 46px;
    padding: 0 var(--s3) 0 var(--s4);
    border: 1px solid var(--bx-line-2);
    border-radius: 999px;
    background: rgba(243, 236, 223, .05);
    color: var(--bx-faint);
    transition: border-color .15s ease-out, background-color .15s ease-out;
}

.bx-find__field:focus-within { border-color: var(--bx-jade); background: rgba(243, 236, 223, .08); }

.bx-find__field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: none;
    color: var(--bx-ink);
    outline: none;
}

.bx-find__field input::placeholder { color: var(--bx-faint); }

.bx-find__field kbd {
    padding: 1px 7px;
    border: 1px solid var(--bx-line-2);
    border-radius: 6px;
    font: 600 .75rem var(--sans);
    color: var(--bx-faint);
}

.bx-find__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + var(--s2));
    max-height: min(70vh, 520px);
    overflow: auto;
    margin: 0;
    padding: var(--s2);
    list-style: none;
    border: 1px solid var(--bx-line-2);
    border-radius: var(--r);
    background: var(--bx-surface);
    box-shadow: var(--shadow);
    transform-origin: top center;
    animation: bx-pop .16s var(--ease);
}

.bx-find__list a {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s2);
    border-radius: var(--r-s);
    text-decoration: none;
    color: var(--bx-ink);
}

.bx-find__list a:hover, .bx-find__list [aria-selected="true"] a { background: var(--bx-surface-2); }
.bx-find__list img { width: 36px; height: 48px; object-fit: cover; border-radius: 6px; }
.bx-find__list small { display: block; color: var(--bx-faint); font-size: .78rem; }
.bx-find__list .bx-find__h { padding: var(--s2) var(--s2) var(--s1); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-brass); }
.bx-find__list .bx-find__none { padding: var(--s3); color: var(--bx-faint); }

@keyframes bx-pop {
    from { opacity: 0; transform: scale(.97) translateY(-4px); }
    to { opacity: 1; transform: none; }
}

.bx-top__end {
    display: flex;
    align-items: center;
    gap: var(--s2);
    flex: none;
}

.bx-wallet {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    height: 42px;
    padding: 0 var(--s4) 0 var(--s3);
    border-radius: 999px;
    border: 1px solid rgba(245, 196, 81, .35);
    background: linear-gradient(180deg, rgba(245, 196, 81, .14), rgba(245, 196, 81, .04));
    color: var(--bx-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bx-wallet:hover { color: var(--bx-ink); background: rgba(245, 196, 81, .18); }
.bx-wallet.is-bump { animation: bx-bump .35s var(--ease); }

@keyframes bx-bump {
    40% { transform: scale(1.06); }
}

.bx-me { position: relative; }

.bx-me__btn {
    display: flex;
    align-items: center;
    gap: var(--s2);
    height: 46px;
    padding: 0 var(--s3) 0 4px;
    border: 1px solid var(--bx-line-2);
    border-radius: 999px;
    background: rgba(243, 236, 223, .05);
    cursor: pointer;
}

.bx-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: var(--serif);
    font-weight: 700;
    color: var(--bx-jade-ink);
    background: conic-gradient(from 200deg, var(--bx-jade), var(--bx-gold), var(--bx-coral), var(--bx-jade));
}

.bx-me__who { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.bx-me__who b { font-size: .88rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-me__who small { font-size: .7rem; color: var(--bx-faint); }

.bx-me__menu {
    position: absolute;
    right: 0;
    top: calc(100% + var(--s2));
    min-width: 230px;
    padding: var(--s2);
    border: 1px solid var(--bx-line-2);
    border-radius: var(--r);
    background: var(--bx-surface);
    box-shadow: var(--shadow);
    transform-origin: top right;
    animation: bx-pop .16s var(--ease);
}

.bx-me__menu a, .bx-me__menu button {
    display: flex;
    align-items: center;
    gap: var(--s3);
    width: 100%;
    padding: 10px var(--s3);
    border: 0;
    border-radius: var(--r-s);
    background: none;
    color: var(--bx-ink);
    text-decoration: none;
    font-size: .92rem;
    text-align: left;
    cursor: pointer;
}

.bx-me__menu a:hover, .bx-me__menu button:hover { background: var(--bx-surface-2); }
.bx-top__menu { display: none; }

/* Folder tabs: the main navigation, cut like the tabs of a filing drawer. */
.bx-tabs {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--s6);
}

.bx-tabs ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.bx-tabs ul::-webkit-scrollbar { display: none; }

.bx-tabs a {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: 10px var(--s4) 11px;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bx-muted);
    text-decoration: none;
    border-radius: 10px 10px 0 0;
    transition: color .15s ease-out, background-color .15s ease-out;
}

.bx-tabs a .bx-ico { width: 17px; height: 17px; opacity: .8; }
.bx-tabs a:hover { color: var(--bx-ink); background: rgba(243, 236, 223, .05); }

.bx-tabs a[aria-current="page"] {
    color: var(--bx-ink);
    background: linear-gradient(180deg, var(--bx-surface-2), rgba(40, 29, 62, .4));
}

.bx-tabs a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: var(--s4);
    right: var(--s4);
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--bx-jade);
}

.bx-tabs a[aria-current="page"] .bx-ico { color: var(--bx-jade); opacity: 1; }

/* Mobile sheet */
.bx-sheet {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(5, 3, 9, .6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bx-sheet__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    padding: var(--s5);
    overflow-y: auto;
    background: var(--bx-surface);
    border-left: 1px solid var(--bx-line-2);
    animation: bx-slide .22s var(--ease);
}

@keyframes bx-slide {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.bx-sheet__head { display: flex; align-items: center; justify-content: space-between; }

.bx-sheet__wallet {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin: 0;
    padding: var(--s3) var(--s4);
    border-radius: var(--r);
    font-weight: 700;
    background: rgba(245, 196, 81, .1);
}

.bx-sheet__auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.bx-sheet nav { display: flex; flex-direction: column; }

.bx-sheet nav a {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: 12px var(--s2);
    border-bottom: 1px solid var(--bx-line);
    color: var(--bx-ink);
    text-decoration: none;
}

/* ---------------------------------------------------------------- main frame */

.bx-main {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--s6) var(--s6) var(--s11);
}

.bx-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin: 0 0 var(--s5);
    padding: 0;
    list-style: none;
    font-size: .82rem;
    color: var(--bx-faint);
}

.bx-crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--bx-line-2); }
.bx-crumbs a { color: var(--bx-muted); text-decoration: none; }
.bx-crumbs a:hover { color: var(--bx-ink); text-decoration: underline; }

.bx-pagehead { max-width: 820px; margin-bottom: var(--s7); }
.bx-pagehead > p:last-child { font-size: 1.08rem; color: var(--bx-muted); margin: 0; }

.bx-pagehead--art {
    position: relative;
    display: grid;
    max-width: none;
    min-height: 340px;
    padding: var(--s9);
    border-radius: var(--r-l);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--bx-line);
}

.bx-pagehead--art > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bx-pagehead--art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(18, 13, 28, .95) 0%, rgba(18, 13, 28, .75) 45%, rgba(18, 13, 28, .1) 100%);
}

.bx-pagehead--art > div { max-width: 620px; align-self: end; }
.bx-pagehead--art p:last-child { color: var(--bx-ink); opacity: .9; }

.bx-sechead { max-width: 720px; margin-bottom: var(--s6); }
.bx-sechead p:last-child { color: var(--bx-muted); margin: 0; }

.bx-panel {
    padding: var(--s6);
    margin-bottom: var(--s5);
    border: 1px solid var(--bx-line);
    border-radius: var(--r-l);
    background: linear-gradient(180deg, var(--bx-surface), var(--bx-bg-2));
}

.bx-panel h2 {
    display: flex;
    align-items: center;
    gap: var(--s2);
    font-size: 1.3rem;
}

.bx-panel h2 .bx-ico { color: var(--bx-brass); }

.bx-note {
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
    margin: var(--s6) 0;
    padding: var(--s4) var(--s5);
    border: 1px dashed rgba(63, 224, 176, .45);
    border-radius: var(--r);
    background: rgba(63, 224, 176, .06);
}

.bx-note .bx-ico { color: var(--bx-jade); margin-top: 2px; }
.bx-note p, .bx-note span { margin: 0; color: var(--bx-ink); }
.bx-note--inline { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); font-size: .92rem; }

.bx-alert {
    margin: 0 0 var(--s4);
    padding: var(--s3) var(--s4);
    border-radius: var(--r-s);
    border: 1px solid rgba(255, 107, 87, .5);
    background: rgba(255, 107, 87, .1);
    color: #ffd1c9;
}

.bx-alert--ok {
    display: flex;
    gap: var(--s2);
    align-items: center;
    border-color: rgba(63, 224, 176, .5);
    background: rgba(63, 224, 176, .1);
    color: #c9f7e9;
}

/* ---------------------------------------------------------------- home: masthead + front */

.bx-mast {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--s6) var(--s9);
    align-items: end;
    margin: var(--s3) 0 var(--s7);
}

.bx-mast h1 { max-width: 19ch; margin-bottom: var(--s4); }
.bx-mast__lede { max-width: 62ch; font-size: 1.06rem; color: var(--bx-muted); margin: 0; }

.bx-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}

.bx-facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px var(--s3);
    border: 1px solid var(--bx-line-2);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 600;
    background: rgba(243, 236, 223, .04);
}

.bx-facts .bx-ico { width: 15px; height: 15px; color: var(--bx-jade); }

.bx-front {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--s5);
    margin-bottom: var(--s6);
}

.bx-spot {
    position: relative;
    min-height: 440px;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    isolation: isolate;
}

.bx-spot__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: var(--s7);
    padding: var(--s8) var(--s9) var(--s10);
}

.bx-spot__slide[hidden] { display: none; }
.bx-spot__slide.is-on { animation: bx-fade .45s var(--ease); }

@keyframes bx-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bx-spot__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.15);
}

.bx-spot__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(18, 13, 28, .25), rgba(18, 13, 28, .7) 50%, rgba(18, 13, 28, .9));
}

.bx-spot__cover {
    width: 230px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--r);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12);
    transform: rotate(-3deg);
}

.bx-spot__copy h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); margin-bottom: var(--s3); }
.bx-spot__copy > p { max-width: 52ch; color: var(--bx-ink); opacity: .9; }

.bx-spot__file {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bx-gold) !important;
    opacity: 1 !important;
}

.bx-spot__tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }

.bx-spot__tags > span:not(.bx-temper) {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .78rem;
    background: rgba(243, 236, 223, .1);
}

.bx-spot__nav {
    position: absolute;
    left: var(--s9);
    right: var(--s9);
    bottom: var(--s5);
    display: flex;
    align-items: center;
    gap: var(--s3);
}

.bx-spot__dots { display: flex; gap: var(--s2); }

.bx-spot__dots button {
    width: 28px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(243, 236, 223, .25);
    cursor: pointer;
    transition: background-color .2s ease-out, width .2s ease-out;
}

.bx-spot__dots button[aria-current="true"] { width: 44px; background: var(--bx-jade); }

/* ID card */
.bx-idcard {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid rgba(217, 181, 106, .35);
    background:
        radial-gradient(140% 80% at 100% 0%, rgba(63, 224, 176, .16), transparent 55%),
        repeating-linear-gradient(135deg, rgba(243, 236, 223, .025) 0 2px, transparent 2px 9px),
        linear-gradient(180deg, #2a1f40, #1a1229);
    box-shadow: var(--shadow);
}

.bx-idcard__band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding: var(--s3) var(--s5);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #2b1d06;
    background: linear-gradient(90deg, var(--bx-brass), var(--bx-gold), var(--bx-brass));
}

.bx-idcard__band span:first-child { display: inline-flex; align-items: center; gap: var(--s2); }

.bx-idcard__body {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    padding: var(--s5);
    flex: 1;
}

.bx-idcard__name {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
}

.bx-idcard__clear { display: flex; align-items: center; gap: var(--s3); margin: 0; font-size: .9rem; color: var(--bx-muted); }

.bx-idcard__rows { margin: 0 0 var(--s2); }

.bx-idcard__rows div {
    display: flex;
    justify-content: space-between;
    gap: var(--s3);
    padding: var(--s2) 0;
    border-bottom: 1px dashed var(--bx-line-2);
    font-size: .88rem;
}

.bx-idcard__rows dt { color: var(--bx-faint); }
.bx-idcard__rows dd { margin: 0; text-align: right; font-weight: 600; }
.bx-idcard--big .bx-idcard__name { font-size: 2rem; }

.bx-clear-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #22180a;
    background: var(--bx-ivory-c);
}

[data-clear="jade"] .bx-clear-chip, .bx-clear-chip[data-clear="jade"] { background: var(--bx-jade-c); color: #052117; }
[data-clear="cobalt"] .bx-clear-chip, .bx-clear-chip[data-clear="cobalt"] { background: var(--bx-cobalt-c); color: #fff; }
[data-clear="garnet"] .bx-clear-chip, .bx-clear-chip[data-clear="garnet"] { background: var(--bx-garnet-c); color: #fff; }
[data-clear="onyx"] .bx-clear-chip, .bx-clear-chip[data-clear="onyx"] { background: var(--bx-onyx-c); color: var(--bx-gold); box-shadow: inset 0 0 0 1px var(--bx-gold); }

.bx-meter {
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(243, 236, 223, .1);
}

.bx-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bx-jade), var(--bx-gold));
    transition: width .5s var(--ease);
}

/* ---------------------------------------------------------------- tiles + rails */

.bx-rail { margin: var(--s9) 0; }

.bx-rail__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s2) var(--s4);
    margin-bottom: var(--s4);
}

.bx-rail__head h2 {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin: 0;
    font-size: 1.45rem;
}

.bx-rail__head h2 .bx-ico { color: var(--bx-jade); }
.bx-rail__head p { margin: 0; color: var(--bx-faint); font-size: .9rem; }
.bx-rail__nav { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.bx-rail__nav .bx-round { width: 36px; height: 36px; }
.bx-rail__nav .bx-more { margin-left: var(--s2); }

.bx-rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 184px;
    gap: var(--s4);
    overflow-x: auto;
    padding: var(--s1) var(--s1) var(--s4);
    margin: 0 calc(var(--s1) * -1);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--bx-raise) transparent;
}

.bx-rail__track > * { scroll-snap-align: start; }

.bx-tile { position: relative; }

.bx-tile__link {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    color: var(--bx-ink);
    text-decoration: none;
}

.bx-tile__link:hover { color: var(--bx-ink); }

.bx-tile__art {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bx-surface-2);
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
    transition: transform .2s var(--ease), box-shadow .2s ease-out;
}

.bx-tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }

.bx-tile__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    color: var(--bx-jade-ink);
    background: var(--bx-jade);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8);
    opacity: 0;
    transform: scale(.9);
    transition: opacity .18s ease-out, transform .18s var(--ease);
}

.bx-tile__play .bx-ico { width: 24px; height: 24px; fill: currentColor; }

.bx-tile__flag {
    position: absolute;
    left: var(--s2);
    bottom: var(--s2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--bx-coral);
}

.bx-tile__meta { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.bx-tile__name { font-size: .95rem; line-height: 1.25; }
.bx-tile__dept { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--bx-faint); }

.bx-tile__pin {
    position: absolute;
    right: var(--s2);
    top: var(--s2);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--bx-ink);
    background: rgba(18, 13, 28, .65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform .12s ease-out, color .15s ease-out;
}

.bx-tile__pin .bx-ico { width: 17px; height: 17px; }
.bx-tile__pin:active { transform: scale(.9); }
.bx-tile__pin[aria-pressed="true"], [data-pin][aria-pressed="true"] { color: var(--bx-coral); }
[data-pin][aria-pressed="true"] .bx-ico { fill: currentColor; }

@media (hover: hover) and (pointer: fine) {
    .bx-tile__link:hover .bx-tile__art { transform: translateY(-4px); box-shadow: 0 22px 36px -18px rgba(0, 0, 0, .95), 0 0 0 2px var(--bx-jade); }
    .bx-tile__link:hover .bx-tile__art img { transform: scale(1.04); }
    .bx-tile__link:hover .bx-tile__play { opacity: 1; transform: none; }
}

.bx-tile__link:focus-visible .bx-tile__art { box-shadow: 0 0 0 3px var(--bx-gold); }

.bx-temper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--bx-muted);
}

.bx-temper__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bx-temper__bars i { width: 4px; border-radius: 1px; background: rgba(243, 236, 223, .2); }
.bx-temper__bars i:nth-child(1) { height: 5px; }
.bx-temper__bars i:nth-child(2) { height: 7px; }
.bx-temper__bars i:nth-child(3) { height: 9px; }
.bx-temper__bars i:nth-child(4) { height: 12px; }
.bx-temper__bars i.on { background: var(--bx-gold); }
.bx-temper--choice .bx-ico { color: var(--bx-gold); }

/* ---------------------------------------------------------------- case board */

.bx-caseboard { margin: var(--s10) 0; }

.bx-caseboard__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 200px;
    gap: var(--s4);
}

.bx-case {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--s5);
    border-radius: var(--r-l);
    overflow: hidden;
    isolation: isolate;
    color: var(--bx-ink);
    text-decoration: none;
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    transition: transform .2s var(--ease), border-color .2s ease-out;
}

.bx-case:hover { color: var(--bx-ink); border-color: rgba(63, 224, 176, .5); }
.bx-case--reels { grid-column: span 3; grid-row: span 2; order: 1; }
.bx-case--cascades { grid-column: span 3; order: 2; }
.bx-case--instant { grid-column: span 3; order: 3; }
.bx-case--classics { grid-column: span 2; order: 4; }
.bx-case--tables { grid-column: span 2; order: 5; }
.bx-case--all { grid-column: span 2; order: 6; justify-content: center; background: linear-gradient(135deg, rgba(63, 224, 176, .2), rgba(245, 196, 81, .12)), var(--bx-surface); }

.bx-case__art {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    padding-right: var(--s5);
}

.bx-case__art img {
    width: 34%;
    max-width: 200px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--r);
    margin-left: -10%;
    box-shadow: -14px 18px 30px -12px rgba(0, 0, 0, .85);
    transition: transform .3s var(--ease);
}

.bx-case__art img:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.bx-case__art img:nth-child(2) { transform: rotate(-1deg); z-index: 1; }
.bx-case__art img:nth-child(3) { transform: rotate(7deg) translateY(6px); z-index: 2; }

.bx-case::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(18, 13, 28, .96) 25%, rgba(18, 13, 28, .5) 65%, rgba(18, 13, 28, .1));
}

.bx-case--reels .bx-case__art img { width: 30%; max-width: 240px; }
.bx-case--reels::before { background: linear-gradient(0deg, rgba(18, 13, 28, .98) 15%, rgba(18, 13, 28, .4) 60%, rgba(18, 13, 28, .1)); }
.bx-case--reels .bx-case__art { justify-content: center; align-items: flex-start; padding: var(--s7) 0 0; }

@media (hover: hover) {
    .bx-case:hover { transform: translateY(-3px); }
    .bx-case:hover .bx-case__art img:nth-child(1) { transform: rotate(-11deg) translate(-8px, 8px); }
    .bx-case:hover .bx-case__art img:nth-child(3) { transform: rotate(10deg) translate(8px, 4px); }
}

.bx-case__copy { display: flex; flex-direction: column; gap: var(--s1); max-width: 60%; }
.bx-case--reels .bx-case__copy, .bx-case--all .bx-case__copy { max-width: 90%; }
.bx-case__copy b { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.bx-case--reels .bx-case__copy b { font-size: 2.1rem; }
.bx-case__copy > span:last-child { font-size: .88rem; color: var(--bx-muted); }

.bx-case__no {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bx-gold);
}

.bx-case__no .bx-ico { width: 16px; height: 16px; }
.bx-case__go { position: absolute; right: var(--s5); top: var(--s5); width: 28px; height: 28px; color: var(--bx-jade); }

/* ---------------------------------------------------------------- feature bands */

.bx-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--s8);
    margin: var(--s10) 0;
    padding: var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: linear-gradient(135deg, var(--bx-surface), var(--bx-bg-2));
}

.bx-feature__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.bx-feature__copy { padding: var(--s4) var(--s5); }
.bx-feature__copy > p { color: var(--bx-muted); max-width: 60ch; }
.bx-feature__copy b { color: var(--bx-ink); }

.bx-ladder {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s2);
    margin: 0 0 var(--s5);
    padding: 0;
    list-style: none;
}

.bx-ladder li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--s3) var(--s2);
    border-radius: var(--r-s);
    text-align: center;
    border-top: 4px solid;
    background: rgba(243, 236, 223, .05);
}

.bx-ladder b { font-size: .9rem; }
.bx-ladder small { font-size: .72rem; color: var(--bx-faint); }
.bx-ladder--ivory { border-color: var(--bx-ivory-c) !important; }
.bx-ladder--jade { border-color: var(--bx-jade-c) !important; }
.bx-ladder--cobalt { border-color: var(--bx-cobalt-c) !important; }
.bx-ladder--garnet { border-color: var(--bx-garnet-c) !important; }
.bx-ladder--onyx { border-color: var(--bx-gold) !important; background: #0b0a10; }

/* steps */
.bx-steps { margin: var(--s10) 0; }

.bx-steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s4);
    margin: 0 0 var(--s4);
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.bx-steps__list li {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding: var(--s6);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
}

.bx-steps__list span:last-child { color: var(--bx-muted); }

.bx-steps__no {
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--bx-brass);
}

.bx-steps__fine { font-size: .9rem; color: var(--bx-faint); max-width: 80ch; }

/* news */
.bx-news { margin: var(--s10) 0; }

.bx-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s5);
}

.bx-post a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    color: var(--bx-ink);
    text-decoration: none;
    transition: transform .2s var(--ease), border-color .2s ease-out;
}

.bx-post a:hover { color: var(--bx-ink); border-color: rgba(63, 224, 176, .45); transform: translateY(-3px); }
.bx-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bx-post__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); }
.bx-post time, .bx-lead time { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-brass); }
.bx-post b { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.bx-post__body > span { font-size: .92rem; color: var(--bx-muted); }

.bx-lead a {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    color: var(--bx-ink);
    text-decoration: none;
    margin-bottom: var(--s6);
}

.bx-lead img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.bx-lead__copy { display: flex; flex-direction: column; justify-content: center; gap: var(--s3); padding: var(--s8); }
.bx-lead__copy b { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.bx-lead__copy > span { color: var(--bx-muted); }

/* faq */
.bx-faq { margin: var(--s10) 0; max-width: 900px; }
.bx-faq--narrow { max-width: 820px; }
.bx-faq__list { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }

.bx-qa {
    border: 1px solid var(--bx-line);
    border-radius: var(--r);
    background: var(--bx-surface);
}

.bx-qa summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    padding: var(--s4) var(--s5);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.bx-qa summary::-webkit-details-marker { display: none; }
.bx-qa__chev { transition: transform .2s var(--ease); color: var(--bx-brass); }
.bx-qa[open] .bx-qa__chev { transform: rotate(180deg); }
.bx-qa[open] { border-color: var(--bx-line-2); }
.bx-qa__a { padding: 0 var(--s5) var(--s4); color: var(--bx-muted); }
.bx-qa__a p { margin: 0; }

.bx-care {
    display: flex;
    gap: var(--s5);
    align-items: flex-start;
    margin: var(--s10) 0 0;
    padding: var(--s7);
    border-radius: var(--r-l);
    border: 1px solid rgba(63, 224, 176, .3);
    background: linear-gradient(135deg, rgba(63, 224, 176, .1), rgba(18, 13, 28, 0) 60%), var(--bx-surface);
}

.bx-care__ico { width: 44px; height: 44px; color: var(--bx-jade); }
.bx-care p { color: var(--bx-muted); max-width: 75ch; }

/* ---------------------------------------------------------------- archive */

.bx-folders { margin-bottom: var(--s6); border-bottom: 1px solid var(--bx-line-2); }

.bx-folders ul {
    display: flex;
    gap: var(--s1);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.bx-folders ul::-webkit-scrollbar { display: none; }

.bx-folders a {
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: 10px var(--s5);
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
    white-space: nowrap;
    font-weight: 600;
    font-size: .9rem;
    color: var(--bx-muted);
    text-decoration: none;
    background: rgba(243, 236, 223, .04);
    transition: background-color .15s ease-out, color .15s ease-out;
}

.bx-folders a:hover { color: var(--bx-ink); background: rgba(243, 236, 223, .09); }

.bx-folders a[aria-current="page"] {
    color: var(--bx-jade-ink);
    background: linear-gradient(180deg, var(--bx-jade-2), var(--bx-jade));
}

.bx-folders .bx-ico { width: 17px; height: 17px; }

.bx-shelf {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--s7);
    align-items: start;
}

.bx-facets {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: var(--s5);
    padding: var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
}

.bx-facets__head { display: flex; align-items: center; justify-content: space-between; }
.bx-facets__head h2 { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: 1.15rem; }
.bx-facets__fine { margin: 0; font-size: .8rem; color: var(--bx-faint); }
.bx-facet { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--s2); }
.bx-facet legend { margin-bottom: var(--s2); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-brass); }

.bx-check { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; font-size: .92rem; }
.bx-check span { display: inline-flex; align-items: center; gap: 6px; }
.bx-check--block span { display: block; }

.bx-check input, .bx-radio input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--bx-jade);
}

.bx-check--block { margin: var(--s3) 0; color: var(--bx-ink); }

.bx-shelf__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-bottom: var(--s4);
}

.bx-shelf__count { margin: 0 auto 0 0; font-size: 1.2rem; font-family: var(--sans); font-weight: 700; }
.bx-shelf__count [data-count] { color: var(--bx-jade); }
.bx-facets-open { display: none; }

.bx-select select {
    height: 40px;
    padding: 0 var(--s8) 0 var(--s4);
    border: 1px solid var(--bx-line-2);
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b56a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px,
        var(--bx-surface);
    cursor: pointer;
}

.bx-viewtoggle { display: flex; gap: var(--s1); }
.bx-viewtoggle .bx-round { width: 40px; height: 40px; }
.bx-viewtoggle .bx-round[aria-pressed="true"] { color: var(--bx-jade); border-color: rgba(63, 224, 176, .5); }

.bx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--s6) var(--s4);
}

.bx-grid[data-view="list"] { grid-template-columns: 1fr; gap: var(--s2); }
.bx-grid[data-view="list"] .bx-tile__link { flex-direction: row; align-items: center; gap: var(--s4); padding: var(--s2); border-radius: var(--r); background: var(--bx-surface); }
.bx-grid[data-view="list"] .bx-tile__art { width: 66px; flex: none; border-radius: var(--r-s); }
.bx-grid[data-view="list"] .bx-tile__play, .bx-grid[data-view="list"] .bx-tile__flag { display: none; }
.bx-grid[data-view="list"] .bx-tile__pin { top: 50%; right: var(--s4); margin-top: -17px; }
.bx-grid[data-view="list"] .bx-tile__name { font-size: 1.05rem; }

.bx-empty {
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s7);
    border: 1px dashed var(--bx-line-2);
    border-radius: var(--r-l);
    color: var(--bx-muted);
}

/* ---------------------------------------------------------------- prose + docs */

.bx-prose { max-width: 75ch; margin: var(--s10) 0 0; }
.bx-prose--narrow { max-width: 75ch; }
.bx-prose p, .bx-prose li { color: var(--bx-muted); }
.bx-prose b, .bx-prose strong { color: var(--bx-ink); }
.bx-prose h2 { margin-top: var(--s7); }
.bx-prose h2:first-child { margin-top: 0; }
.bx-prose ul { padding-left: var(--s5); }
.bx-prose li { margin-bottom: var(--s2); }

.bx-doc {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0 var(--s9);
    align-items: start;
}

.bx-doc__head { grid-column: 1 / -1; }

.bx-toc {
    position: sticky;
    top: 140px;
    padding: var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
}

.bx-toc__h { margin: 0 0 var(--s3); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-brass); }
.bx-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.bx-toc a { display: block; padding: 6px var(--s2); border-radius: 6px; font-size: .88rem; color: var(--bx-muted); text-decoration: none; }
.bx-toc a:hover { color: var(--bx-ink); background: var(--bx-surface-2); }
.bx-doc__body { margin: 0; }
.bx-doc__body section { padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 1px solid var(--bx-line); }
.bx-doc__body section:last-child { border-bottom: 0; }
.bx-doc__body h2 { display: flex; align-items: baseline; gap: var(--s3); margin-top: 0; font-size: 1.45rem; }
.bx-doc__no { font-family: var(--sans); font-size: .8rem; font-weight: 800; color: var(--bx-brass); letter-spacing: .08em; }
.bx-doc:not(:has(.bx-toc)) .bx-doc__body { grid-column: 1 / -1; }

.bx-orglist { list-style: none; padding: 0 !important; display: grid; gap: var(--s2); }
.bx-orglist li { display: flex; flex-direction: column; padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--bx-surface); border: 1px solid var(--bx-line); }

.bx-tablewrap { overflow-x: auto; border: 1px solid var(--bx-line); border-radius: var(--r); }

.bx-datatable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bx-datatable th, .bx-datatable td { padding: 10px var(--s3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--bx-line); }
.bx-datatable thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-brass); background: var(--bx-surface); }
.bx-datatable tbody tr:last-child > * { border-bottom: 0; }
.bx-datatable td { color: var(--bx-muted); }
.bx-datatable .is-up { color: var(--bx-gold); font-weight: 700; }

/* article */
.bx-article { max-width: 860px; }
.bx-article__dek { font-size: 1.15rem; color: var(--bx-muted); }
.bx-article__img { width: 100%; border-radius: var(--r-l); margin: var(--s6) 0; aspect-ratio: 16 / 9; object-fit: cover; }
.bx-article__body { margin: 0; max-width: 70ch; font-size: 1.05rem; }
.bx-article__fine { font-size: .88rem !important; color: var(--bx-faint) !important; border-top: 1px solid var(--bx-line); padding-top: var(--s4); }

/* ---------------------------------------------------------------- footer */

.bx-foot {
    border-top: 1px solid var(--bx-line);
    background: #0d0915;
    padding-bottom: 90px;
}

.bx-foot__care {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: var(--s6);
    align-items: center;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--s8) var(--s6);
    border-bottom: 1px solid var(--bx-line);
}

.bx-foot__care-copy { display: flex; gap: var(--s4); align-items: flex-start; }
.bx-foot__care h2 { font-size: 1.2rem; margin-bottom: var(--s2); }
.bx-foot__care p { margin: 0; color: var(--bx-muted); font-size: .92rem; }

.bx-age {
    display: grid;
    place-items: center;
    flex: none;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 50%;
    border: 3px solid var(--bx-coral);
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--bx-ink);
}

.bx-orgs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--s2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.bx-orgs a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: var(--s3);
    border-radius: var(--r);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    color: var(--bx-ink);
    text-decoration: none;
    transition: border-color .15s ease-out;
}

.bx-orgs a:hover { color: var(--bx-ink); border-color: var(--bx-jade); }
.bx-orgs small { font-size: .74rem; color: var(--bx-faint); line-height: 1.3; }

.bx-foot__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: var(--s7);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--s8) var(--s6);
}

.bx-foot__brand p { color: var(--bx-muted); font-size: .9rem; max-width: 42ch; margin-top: var(--s4); }
.bx-foot__mail { display: flex; align-items: center; gap: var(--s2); }
.bx-foot__col { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.bx-foot__col h2 { font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-brass); margin-bottom: var(--s2); }
.bx-foot__col a { color: var(--bx-muted); text-decoration: none; font-size: .92rem; }
.bx-foot__col a:hover { color: var(--bx-ink); text-decoration: underline; }
.bx-foot__col .bx-linkbtn { font-size: .92rem; color: var(--bx-muted); text-decoration: none; }

.bx-foot__legal {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--s6) var(--s6) var(--s4);
    border-top: 1px solid var(--bx-line);
    font-size: .82rem;
    color: var(--bx-faint);
}

.bx-foot__legal p { max-width: 120ch; }
.bx-foot__legal strong { color: var(--bx-ink); }
.bx-foot__legal a { color: var(--bx-muted); }

.bx-dock { display: none; }

/* ---------------------------------------------------------------- overlays */

.bx-gate {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: var(--s4);
    background: rgba(8, 5, 13, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bx-gate[hidden] { display: none; }

.bx-gate__card {
    width: min(480px, 100%);
    padding: var(--s8) var(--s7);
    border-radius: var(--r-l);
    border: 1px solid rgba(217, 181, 106, .4);
    background: linear-gradient(180deg, #2a1f40, #1a1229);
    text-align: center;
    box-shadow: var(--shadow);
    animation: bx-pop .25s var(--ease);
}

.bx-gate__card .bx-seal { margin: 0 auto var(--s4); }
.bx-gate__card p { color: var(--bx-muted); }
.bx-gate__acts { display: flex; flex-direction: column; gap: var(--s2); margin: var(--s5) 0 var(--s4); }

.bx-consent {
    position: fixed;
    left: var(--s4);
    right: var(--s4);
    bottom: var(--s4);
    z-index: 80;
    display: flex;
    align-items: center;
    gap: var(--s5);
    max-width: 980px;
    margin: 0 auto;
    padding: var(--s4) var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line-2);
    background: var(--bx-surface);
    box-shadow: var(--shadow);
    animation: bx-rise .25s var(--ease);
}

.bx-consent[hidden] { display: none; }

@keyframes bx-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.bx-consent__copy p { margin: 0; font-size: .88rem; color: var(--bx-muted); }
.bx-consent__h { display: flex; align-items: center; gap: var(--s2); font-weight: 700; color: var(--bx-ink) !important; margin-bottom: var(--s1) !important; }
.bx-consent__acts { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); flex: none; }
.bx-consent__acts .bx-btn { min-width: 160px; }
.bx-consent__acts a { font-size: .85rem; }

.bx-toasts {
    position: fixed;
    right: var(--s4);
    bottom: var(--s4);
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--s2);
    pointer-events: none;
}

.bx-toast {
    display: flex;
    align-items: center;
    gap: var(--s3);
    max-width: 380px;
    padding: var(--s3) var(--s4);
    border-radius: var(--r);
    border: 1px solid var(--bx-line-2);
    border-left: 4px solid var(--bx-jade);
    background: var(--bx-surface-2);
    box-shadow: var(--shadow);
    font-size: .92rem;
    pointer-events: auto;
    animation: bx-rise .22s var(--ease);
    transition: opacity .2s ease-out, transform .2s ease-out;
}

.bx-toast.is-out { opacity: 0; transform: translateY(6px); }
.bx-toast--good { border-left-color: var(--bx-gold); }
.bx-toast--warn { border-left-color: var(--bx-coral); }

.bx-remind {
    position: fixed;
    inset: 0;
    z-index: 92;
    display: grid;
    place-items: center;
    padding: var(--s4);
    background: rgba(8, 5, 13, .7);
}

.bx-remind__card {
    width: min(440px, 100%);
    padding: var(--s7);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line-2);
    background: var(--bx-surface);
    animation: bx-pop .2s var(--ease);
}

.bx-remind__card dl { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); margin: var(--s4) 0; }
.bx-remind__card dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------------------------------------------------------------- game file */

.bx-file {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--s5);
    align-items: start;
}

.bx-file.is-theatre { grid-template-columns: minmax(0, 1fr); }
.bx-file.is-theatre .bx-dossier { display: none; }

.bx-demo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s3) var(--s4);
    margin-bottom: var(--s4);
    padding: var(--s3) var(--s4);
    border-radius: var(--r);
    border: 1px solid rgba(245, 196, 81, .4);
    background: linear-gradient(90deg, rgba(245, 196, 81, .14), rgba(245, 196, 81, .03));
}

.bx-demo__ico { color: var(--bx-gold); width: 26px; height: 26px; }
.bx-demo__copy { flex: 1; min-width: 240px; }
.bx-demo h2 { font-family: var(--sans); font-size: 1rem; margin: 0 0 2px; }
.bx-demo p { margin: 0; font-size: .86rem; color: var(--bx-muted); }
.bx-demo__acts { display: flex; gap: var(--s2); }

.bx-file__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-bottom: var(--s3);
}

.bx-file__title { display: flex; align-items: center; gap: var(--s3); margin-right: auto; min-width: 0; }
.bx-file__title img { width: 46px; height: 61px; object-fit: cover; border-radius: var(--r-s); }
.bx-file__title h1 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin: 0 0 4px; }
.bx-file__title p { display: flex; align-items: center; gap: var(--s3); margin: 0; }
.bx-file__tools { display: flex; align-items: center; gap: var(--s2); }

.bx-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(243, 236, 223, .08);
}

.bx-purse {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    height: 42px;
    padding: 0 var(--s4) 0 var(--s3);
    border-radius: 999px;
    border: 1px solid rgba(245, 196, 81, .35);
    background: rgba(245, 196, 81, .08);
    font-weight: 700;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

[data-sound] .bx-sound-on { display: none; }
[data-sound][aria-pressed="true"] .bx-sound-on { display: block; }
[data-sound][aria-pressed="true"] .bx-sound-off { display: none; }
[data-sound][aria-pressed="true"] { color: var(--bx-jade); border-color: rgba(63, 224, 176, .5); }
[data-theatre][aria-pressed="true"] { color: var(--bx-jade); border-color: rgba(63, 224, 176, .5); }

.bx-table--wide { aspect-ratio: 16 / 10; min-height: 520px; }
.bx-table--square { aspect-ratio: 4 / 3; min-height: 520px; }
.bx-file.is-theatre .bx-table { max-height: calc(100vh - 220px); min-height: 560px; }
.bx-table:fullscreen { aspect-ratio: auto; border-radius: 0; }
.bx-table { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 181, 106, .25); }

.bx-table__wait {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
    color: var(--bx-muted);
}

.bx-table__wait .bx-seal { animation: bx-breathe 1.6s ease-in-out infinite; }

@keyframes bx-breathe {
    50% { opacity: .55; transform: scale(.97); }
}

.bx-file__fine {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin: var(--s3) 0 0;
    font-size: .8rem;
    color: var(--bx-faint);
}

.bx-dossier {
    position: sticky;
    top: 140px;
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bx-dossier__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--bx-line);
    flex: none;
}

.bx-dossier__tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--s3) var(--s2);
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font-size: .86rem;
    font-weight: 700;
    color: var(--bx-faint);
    cursor: pointer;
    transition: color .15s ease-out, border-color .15s ease-out;
}

.bx-dossier__tabs .bx-ico { width: 16px; height: 16px; }
.bx-dossier__tabs [aria-selected="true"] { color: var(--bx-ink); border-bottom-color: var(--bx-jade); }
.bx-dossier__pane { padding: var(--s5); overflow-y: auto; }
.bx-dossier__tag { font-family: var(--serif); font-size: 1.15rem; color: var(--bx-ink); }
.bx-dossier__h { font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-brass); margin: var(--s5) 0 var(--s3); }
.bx-dossier__note { font-size: .85rem; color: var(--bx-faint); }

.bx-facts-list { margin: 0; }
.bx-facts-list div { display: grid; grid-template-columns: 110px 1fr; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px dashed var(--bx-line); font-size: .88rem; }
.bx-facts-list dt { color: var(--bx-faint); }
.bx-facts-list dd { margin: 0; }

.bx-tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.bx-tips li { display: flex; gap: var(--s2); font-size: .88rem; color: var(--bx-muted); }
.bx-tips .bx-ico { color: var(--bx-jade); margin-top: 4px; }

.bx-log { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--s1); font-size: .86rem; }
.bx-log li { display: flex; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-s); background: var(--bx-bg-2); font-variant-numeric: tabular-nums; }
.bx-log li span:first-child { color: var(--bx-faint); }
.bx-log .is-up { color: var(--bx-gold); font-weight: 700; }
.bx-log__empty { color: var(--bx-faint); justify-content: center !important; }

/* rules rendered in the dossier (engines bring their own detail) */
.bx-rules h3 { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-brass); margin: var(--s5) 0 var(--s2); }
.bx-rules h3:first-child { margin-top: 0; }
.bx-rules p, .bx-rules li { font-size: .88rem; color: var(--bx-muted); }
.bx-rules ul, .bx-rules ol { padding-left: var(--s5); }
.bx-paytable { width: 100%; border-collapse: collapse; font-size: .85rem; margin-bottom: var(--s3); }
.bx-paytable th, .bx-paytable td { padding: 6px var(--s2); border-bottom: 1px solid var(--bx-line); text-align: left; }
.bx-paytable th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-faint); }
.bx-paytable img { width: 36px; height: 36px; object-fit: contain; display: inline-block; vertical-align: middle; }

.bx-prose--game { margin-top: var(--s9); }

/* ---------------------------------------------------------------- auth forms */

.bx-auth {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--s7);
    align-items: start;
    margin-top: var(--s3);
}

.bx-auth--narrow { grid-template-columns: minmax(0, 560px); justify-content: center; }

.bx-auth__panel {
    padding: var(--s8);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: linear-gradient(180deg, var(--bx-surface), var(--bx-bg-2));
}

.bx-auth__panel h1 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.bx-auth__lede { color: var(--bx-muted); }
.bx-auth__alt { margin: var(--s5) 0 0; color: var(--bx-muted); }
.bx-auth__help { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--bx-line); }
.bx-auth__help h2 { font-size: 1.1rem; }
.bx-auth__help p { font-size: .9rem; color: var(--bx-muted); }

.bx-auth__side {
    padding: var(--s5);
    border-radius: var(--r-l);
    border: 1px solid rgba(217, 181, 106, .3);
    background: var(--bx-surface);
}

.bx-auth__side img { border-radius: var(--r); margin-bottom: var(--s5); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bx-ticks { margin: 0 0 var(--s4); padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.bx-ticks li { display: flex; gap: var(--s3); font-size: .92rem; color: var(--bx-muted); }
.bx-ticks .bx-ico { color: var(--bx-jade); margin-top: 2px; }

.bx-stepper {
    display: flex;
    gap: var(--s2);
    margin: var(--s5) 0 var(--s6);
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.bx-stepper li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding-top: var(--s2);
    border-top: 3px solid rgba(243, 236, 223, .14);
    font-size: .84rem;
    font-weight: 700;
    color: var(--bx-faint);
    transition: border-color .2s ease-out, color .2s ease-out;
}

.bx-stepper span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: .76rem;
    background: rgba(243, 236, 223, .1);
}

.bx-stepper .is-done { border-top-color: var(--bx-jade); color: var(--bx-muted); }
.bx-stepper [aria-current="step"] { border-top-color: var(--bx-gold); color: var(--bx-ink); }
.bx-stepper [aria-current="step"] span { color: #2b1d06; background: var(--bx-gold); }

.bx-form { display: flex; flex-direction: column; gap: var(--s4); }
.bx-form__step { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.bx-form__step:not([hidden]) { animation: bx-fade .25s ease-out; }
.bx-form__acts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s2); }
.bx-form__acts .bx-btn:only-child { margin-left: auto; }
.bx-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.bx-form__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin: 0; font-size: .9rem; }
.bx-form__done h2 { display: flex; align-items: center; gap: var(--s2); }
.bx-form__done h2 .bx-ico { color: var(--bx-jade); width: 28px; height: 28px; }
.bx-form h3 { font-family: var(--sans); font-size: 1rem; margin: 0; }
.bx-form > p { margin: 0; color: var(--bx-muted); font-size: .92rem; }

.bx-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bx-field > span:first-child, .bx-field legend { font-size: .88rem; font-weight: 700; }
.bx-field small { font-size: .8rem; color: var(--bx-faint); }
.bx-field__err { color: #ffb3a7 !important; }

.bx-field input, .bx-field select, .bx-field textarea, .bx-dob select {
    width: 100%;
    min-height: 48px;
    padding: 10px var(--s4);
    border: 1px solid var(--bx-line-2);
    border-radius: var(--r-s);
    background: var(--bx-bg);
    color: var(--bx-ink);
    transition: border-color .15s ease-out, box-shadow .15s ease-out;
}

.bx-field textarea { resize: vertical; min-height: 140px; }

.bx-field input:focus, .bx-field select:focus, .bx-field textarea:focus, .bx-dob select:focus {
    outline: none;
    border-color: var(--bx-jade);
    box-shadow: 0 0 0 3px rgba(63, 224, 176, .2);
}

.bx-field [aria-invalid="true"] { border-color: var(--bx-coral); }
.bx-field__row { display: flex; gap: var(--s2); align-items: center; }
.bx-field__row input { flex: 1; }
.bx-field--search input { min-height: 42px; }
.bx-dob { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: var(--s2); }
.bx-radios { display: flex; flex-direction: column; gap: var(--s2); margin: 0; padding: 0; border: 0; }

.bx-radio {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s3) var(--s4);
    border: 1px solid var(--bx-line-2);
    border-radius: var(--r-s);
    cursor: pointer;
    transition: border-color .15s ease-out, background-color .15s ease-out;
}

.bx-radio:has(input:checked) { border-color: var(--bx-jade); background: rgba(63, 224, 176, .07); }

.bx-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bx-strength i { height: 4px; border-radius: 2px; background: rgba(243, 236, 223, .12); transition: background-color .2s ease-out; }
.bx-strength[data-level="1"] i:nth-child(-n+1) { background: var(--bx-coral); }
.bx-strength[data-level="2"] i:nth-child(-n+2) { background: var(--bx-gold); }
.bx-strength[data-level="3"] i:nth-child(-n+3) { background: var(--bx-jade-c); }
.bx-strength[data-level="4"] i { background: var(--bx-jade); }

.bx-code {
    margin: var(--s2) 0;
    padding: var(--s4);
    border: 1px dashed var(--bx-gold);
    border-radius: var(--r);
    font: 700 1.35rem/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    letter-spacing: .08em;
    text-align: center;
    color: var(--bx-gold);
    background: rgba(245, 196, 81, .06);
    word-break: break-all;
}

.bx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* contact */
.bx-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.bx-contact__side .bx-panel p { color: var(--bx-muted); font-size: .92rem; }

/* ---------------------------------------------------------------- desk */

.bx-desk-guest { display: flex; gap: var(--s5); align-items: flex-start; }
.bx-desk-guest .bx-ico--xl { color: var(--bx-brass); }
.bx-desk-guest p { color: var(--bx-muted); }

.bx-desk__id { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--s5); margin-bottom: var(--s5); }

.bx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }

.bx-stat {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding: var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
}

.bx-stat > span { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-brass); }
.bx-stat b { font-family: var(--serif); font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.bx-stat .bx-btn { align-self: flex-start; }

.bx-subnav {
    position: sticky;
    top: 118px;
    z-index: 5;
    display: flex;
    gap: var(--s2);
    margin-bottom: var(--s5);
    padding: var(--s2);
    overflow-x: auto;
    border-radius: 999px;
    border: 1px solid var(--bx-line);
    background: rgba(30, 22, 48, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bx-subnav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px var(--s4);
    border-radius: 999px;
    white-space: nowrap;
    font-size: .86rem;
    font-weight: 600;
    color: var(--bx-muted);
    text-decoration: none;
}

.bx-subnav a:hover { color: var(--bx-ink); background: var(--bx-surface-2); }
.bx-subnav .bx-ico { width: 16px; height: 16px; }

.bx-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 150px)); gap: var(--s4); }
.bx-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.bx-split .bx-form { padding: var(--s5); border-radius: var(--r); background: var(--bx-bg-2); border: 1px solid var(--bx-line); }

/* ---------------------------------------------------------------- mailroom */

.bx-mail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s5);
    margin-top: var(--s6);
}

.bx-mailcard {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--s6);
    align-items: center;
    padding: var(--s6);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background:
        radial-gradient(90% 90% at 0% 0%, rgba(245, 196, 81, .08), transparent 60%),
        linear-gradient(180deg, var(--bx-surface), var(--bx-bg-2));
}

.bx-mailcard h2 { display: flex; align-items: center; gap: var(--s2); font-size: 1.45rem; }
.bx-mailcard h2 .bx-ico { color: var(--bx-gold); }
.bx-mailcard__copy > p { color: var(--bx-muted); font-size: .94rem; }
.bx-mailcard__state { font-weight: 700; color: var(--bx-jade) !important; }
.bx-mailcard--memo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.bx-mailcard--env { grid-template-columns: 300px minmax(0, 1fr); }
.bx-env img { width: 100%; transform: scale(1.25); }

.bx-dial { position: relative; width: 220px; aspect-ratio: 1; }
.bx-dial__wheel { width: 100%; height: 100%; transition: transform 3.2s cubic-bezier(.12, .7, .14, 1); }

.bx-dial__pin {
    position: absolute;
    left: 50%;
    top: -6px;
    width: 0;
    height: 0;
    margin-left: -11px;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 22px solid var(--bx-coral);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6));
}

.bx-envs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }

.bx-env {
    position: relative;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: transform .18s var(--ease);
}

.bx-env:disabled { cursor: default; }
.bx-env:not(:disabled):hover { transform: translateY(-6px) rotate(-2deg); }
.bx-env.is-open img { opacity: .35; }
.bx-env.is-dim { opacity: .4; }

.bx-env__out {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--bx-gold);
    text-shadow: 0 2px 6px rgba(0, 0, 0, .8);
}

.bx-passport {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s2);
    padding: var(--s3);
    border-radius: var(--r);
    background: linear-gradient(180deg, #3a2a52, #2a1f40);
    border: 1px solid rgba(217, 181, 106, .35);
}

.bx-passport__slot {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(243, 236, 223, .2);
    color: rgba(243, 236, 223, .14);
    transition: transform .25s var(--ease);
}

.bx-passport__slot.is-on {
    border: 2px solid var(--bx-coral);
    color: var(--bx-coral);
    background: rgba(255, 107, 87, .12);
    transform: rotate(-12deg);
}

.bx-memos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--s3); }

.bx-memo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s2) var(--s3);
    align-items: center;
    padding: var(--s4);
    border-radius: var(--r);
    background: #f3ecdf;
    color: #2a1f33;
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .9);
}

.bx-memo:nth-child(2) { transform: rotate(.6deg); }
.bx-memo:nth-child(3) { transform: rotate(-.5deg); }
.bx-memo b { font-size: .95rem; }
.bx-memo__reward { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.bx-memo .bx-meter { grid-column: 1 / -1; background: rgba(42, 31, 51, .15); }
.bx-memo small { grid-column: 1 / -1; color: #5b4c66; }
.bx-memo .bx-btn { grid-column: 1 / -1; justify-self: start; }

/* ---------------------------------------------------------------- clearance */

.bx-tiers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--s4);
    margin: var(--s7) 0;
}

.bx-tier {
    position: relative;
    padding: var(--s6) var(--s5);
    border-radius: var(--r-l);
    border: 1px solid var(--bx-line);
    background: var(--bx-surface);
    overflow: hidden;
}

.bx-tier::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--tier);
}

.bx-tier--ivory { --tier: var(--bx-ivory-c); }
.bx-tier--jade { --tier: var(--bx-jade-c); }
.bx-tier--cobalt { --tier: var(--bx-cobalt-c); }
.bx-tier--garnet { --tier: var(--bx-garnet-c); }
.bx-tier--onyx { --tier: var(--bx-gold); background: linear-gradient(180deg, #0b0a10, #17121f); border-color: rgba(245, 196, 81, .4); }

.bx-tier__badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--s4);
    border-radius: 50%;
    background: var(--tier);
    color: rgba(0, 0, 0, .55);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), 0 0 0 3px rgba(217, 181, 106, .5);
}

.bx-tier--onyx .bx-tier__badge { background: #0b0a10; color: var(--bx-gold); }
.bx-tier h2 { font-size: 1.4rem; margin-bottom: var(--s1); }
.bx-tier h2 small { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-faint); }
.bx-tier__range { font-weight: 700; margin-bottom: var(--s1); }
.bx-tier__boost { color: var(--bx-gold); font-weight: 700; }
.bx-tier p:last-child { color: var(--bx-muted); font-size: .9rem; margin: 0; }

/* ---------------------------------------------------------------- 404 */

.bx-lost { text-align: center; max-width: 620px; margin: var(--s9) auto; }
.bx-lost .bx-seal { margin: 0 auto var(--s4); }
.bx-lost p { color: var(--bx-muted); }
.bx-lost .bx-acts { justify-content: center; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
    .bx-front { grid-template-columns: minmax(0, 1fr); }
    .bx-idcard { flex-direction: row; flex-wrap: wrap; }
    .bx-idcard__band { width: 100%; }
    .bx-mast { grid-template-columns: 1fr; }
    .bx-facts { justify-content: flex-start; }
    .bx-file { grid-template-columns: minmax(0, 1fr); }
    .bx-dossier { position: static; max-height: none; }
    .bx-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bx-mail { grid-template-columns: 1fr; }
    .bx-orgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bx-foot__care { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .bx-hide-s { display: none; }
    .bx-find { display: none; }
    .bx-top__bar { justify-content: space-between; padding: var(--s2) var(--s4); gap: var(--s3); }
    .bx-top__menu { display: inline-grid; }
    .bx-me__who { display: none; }
    .bx-tabs { padding: 0 var(--s2); }
    .bx-main { padding: var(--s5) var(--s4) var(--s11); }
    .bx-shelf { grid-template-columns: 1fr; }
    .bx-facets {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 75;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: var(--r-l) var(--r-l) 0 0;
        transform: translateY(105%);
        transition: transform .25s var(--ease);
        box-shadow: 0 -20px 40px rgba(0, 0, 0, .6);
    }
    .bx-facets.is-open { transform: none; }
    .bx-facets-open { display: inline-flex; }
    .bx-doc { grid-template-columns: 1fr; }
    .bx-toc { position: static; margin-bottom: var(--s6); }
    .bx-caseboard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .bx-case--reels { grid-column: span 2; grid-row: span 2; }
    .bx-case--cascades, .bx-case--instant, .bx-case--classics, .bx-case--tables, .bx-case--all { grid-column: span 1; }
    .bx-case__copy { max-width: 100%; }
    .bx-case__art { opacity: .5; }
    .bx-feature { grid-template-columns: 1fr; gap: var(--s4); }
    .bx-steps__list, .bx-news__grid { grid-template-columns: 1fr; }
    .bx-lead a { grid-template-columns: 1fr; }
    .bx-lead__copy { padding: var(--s6); }
    .bx-auth { grid-template-columns: 1fr; }
    .bx-desk__id { grid-template-columns: 1fr; }
    .bx-split, .bx-contact, .bx-form__two { grid-template-columns: 1fr; }
    .bx-foot__grid { grid-template-columns: 1fr 1fr; }
    .bx-foot__brand { grid-column: 1 / -1; }
    .bx-subnav { top: 104px; }
    .bx-dock {
        position: fixed;
        left: var(--s3);
        right: var(--s3);
        bottom: calc(var(--s3) + env(safe-area-inset-bottom));
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 6px;
        border-radius: 22px;
        border: 1px solid var(--bx-line-2);
        background: rgba(30, 22, 48, .94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .9);
    }
    .bx-dock a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 0;
        border-radius: 16px;
        font-size: .68rem;
        font-weight: 700;
        color: var(--bx-faint);
        text-decoration: none;
    }
    .bx-dock a[aria-current="page"] { color: var(--bx-jade-ink); background: var(--bx-jade); }
    .bx-dock__find { color: var(--bx-gold) !important; }
    .bx-consent { bottom: 96px; flex-direction: column; align-items: stretch; }
    .bx-toasts { bottom: 96px; left: var(--s3); right: var(--s3); align-items: stretch; }
    .bx-toast { max-width: none; }
}

@media (max-width: 720px) {
    body { font-size: .98rem; }
    .bx-strip p { gap: 0 var(--s2); font-size: .7rem; }
    .bx-strip span + span::before { margin-right: var(--s2); }
    .bx-brand__word b { font-size: 1rem; }
    .bx-seal { width: 36px; height: 36px; }
    .bx-wallet { height: 38px; padding: 0 var(--s3) 0 var(--s2); font-size: .78rem; }
    .bx-tabs a { padding: 8px var(--s3) 9px; font-size: .82rem; }
    .bx-tabs a .bx-ico { display: none; }
    .bx-spot { min-height: 560px; }
    .bx-spot__slide { grid-template-columns: 1fr; align-content: end; gap: var(--s4); padding: var(--s6) var(--s5) 80px; }
    .bx-spot__cover { width: 120px; }
    .bx-spot__nav { left: var(--s5); right: var(--s5); }
    .bx-spot__slide::before { background: linear-gradient(180deg, rgba(18, 13, 28, .3), rgba(18, 13, 28, .92) 45%); }
    .bx-idcard { flex-direction: column; }
    .bx-rail__track { grid-auto-columns: 148px; }
    .bx-rail__nav .bx-round { display: none; }
    .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
    .bx-caseboard__grid { grid-template-columns: 1fr; grid-auto-rows: 150px; }
    .bx-case--reels { grid-column: span 1; grid-row: span 1; }
    .bx-case--reels .bx-case__copy b, .bx-case__copy b { font-size: 1.35rem; }
    .bx-ladder { grid-template-columns: repeat(3, 1fr); }
    .bx-pagehead--art { padding: var(--s6) var(--s5); min-height: 300px; }
    .bx-pagehead--art::before { background: linear-gradient(0deg, rgba(18, 13, 28, .96) 35%, rgba(18, 13, 28, .4)); }
    .bx-auth__panel { padding: var(--s6) var(--s5); }
    .bx-mailcard, .bx-mailcard--memo { grid-template-columns: 1fr; justify-items: start; }
    .bx-dial { width: 200px; margin: 0 auto; }
    .bx-tiers { grid-template-columns: 1fr 1fr; }
    .bx-orgs { grid-template-columns: 1fr 1fr; }
    .bx-file__tools { width: 100%; }
    .bx-file__tools .bx-purse { margin-right: auto; }
    .bx-table--wide, .bx-table--square { aspect-ratio: auto; height: clamp(540px, calc(100svh - 110px), 680px); min-height: 0; }
    .bx-top__end > .bx-btn { display: none; }
    .bx-stats { grid-template-columns: 1fr 1fr; }
    .bx-stat b { font-size: 1.6rem; }
    .bx-care { flex-direction: column; padding: var(--s6) var(--s5); }
    .bx-foot__grid { padding: var(--s6) var(--s4); gap: var(--s6); }
    .bx-foot__care { padding: var(--s6) var(--s4); }
    .bx-desk-guest { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.bx-rules__scroll { overflow-x: auto; max-width: 100%; }

.bx-rules__lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin: 0 0 1em; padding: 0 !important; list-style: none; }
.bx-rules__lines li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .75rem; }
.bx-rules__grid { display: grid; grid-template-columns: repeat(5, 8px); gap: 2px; }
.bx-rules__grid i { width: 8px; height: 8px; border-radius: 2px; background: rgba(185, 174, 203, .25); }
.bx-rules__grid i.is-on { background: var(--bx-jade); }
