:root {
    color-scheme: dark;
    --bg: #050505;
    --bg-2: #0b0b0b;
    --panel: #111;
    --grey: #3c3c3c;
    --grey-2: #2b2b2b;
    --grey-3: #4a4a4a;
    --neon: #c6ff00;
    --neon-fill: #c6ff00;
    --neon-dim: rgba(198, 255, 0, 0.16);
    --text: #f2f2f2;
    --muted: #8f8f8f;
    --line: #1d1d1d;
    --danger: #ff6b6b;
    --text-strong: #fff;
    --text-soft: #ddd;
    --text-dim: #cfcfcf;
    --text-faint: #9a9a9a;
    --on-neon: #111;
    --ink: #000;
    --nav-fg: #fff;
    --nav-muted: #666;
    --nav-bg: linear-gradient(#050505, rgba(5, 5, 5, 0.86));
    --surface: #0a0a0a;
    --surface-2: #080808;
    --surface-hover: #161616;
    --menu-hover: #181818;
    --well: #1a1a1a;
    --input-bg: #0a0a0a;
    --input-fg: #fff;
    --input-border: #333;
    --input-dashed: #444;
    --accent-line: #3a4a10;
    --accent-glow: rgba(198, 255, 0, 0.22);
    --code-bg: #080808;
    --code-inline-bg: #141414;
    --code-border: #2a2a2a;
    --spoiler-bg: #2a2a2a;
    --spoiler-on-bg: #1c1c1c;
    --quote: #bbb;
    --warn-bg: #2a1800;
    --warn-fg: #ffcc66;
    --foot-a: #0a0a0a;
    --foot-b: #0d0d0d;
    --shadow: rgba(0, 0, 0, 0.45);
    --lightbox: rgba(0, 0, 0, 0.9);
    --display: "Teko", sans-serif;
    --body: "Barlow", sans-serif;
    --page: 1180px;
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #ecece6;
    --bg-2: #e3e3db;
    --panel: #fff;
    --grey: #b8b8b0;
    --grey-2: #d0d0c8;
    --grey-3: #8a8a82;
    --neon: #4a6800;
    --neon-fill: #c6ff00;
    --neon-dim: rgba(74, 104, 0, 0.12);
    --text: #1a1a1a;
    --muted: #5c5c56;
    --line: #d2d2ca;
    --danger: #c43c3c;
    --text-strong: #111;
    --text-soft: #2c2c2c;
    --text-dim: #3a3a3a;
    --text-faint: #6a6a64;
    --on-neon: #111;
    --nav-fg: #161616;
    --nav-muted: #6a6a64;
    --nav-bg: linear-gradient(#f4f4ee, rgba(244, 244, 238, 0.94));
    --surface: #fff;
    --surface-2: #f3f3ed;
    --surface-hover: #f0f0e8;
    --menu-hover: #f3f3ed;
    --well: #e8e8e0;
    --input-bg: #fff;
    --input-fg: #161616;
    --input-border: #c4c4bc;
    --input-dashed: #b0b0a8;
    --accent-line: #8aa62a;
    --accent-glow: rgba(74, 104, 0, 0.18);
    --code-bg: #f3f3ed;
    --code-inline-bg: #ecece6;
    --code-border: #d2d2ca;
    --spoiler-bg: #d8d8d0;
    --spoiler-on-bg: #ecece6;
    --quote: #4a4a44;
    --warn-bg: #fff3d6;
    --warn-fg: #7a4e00;
    --foot-a: #e4e4dc;
    --foot-b: #ddddd5;
    --shadow: rgba(20, 20, 16, 0.12);
    --lightbox: rgba(20, 20, 16, 0.82);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.7rem; }

.skip {
    position: absolute;
    left: -999px;
    top: 0;
}
.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 50;
    background: var(--neon-fill);
    color: var(--ink);
    padding: 0.5rem 0.8rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: var(--nav-bg);
    border-bottom: 1px solid transparent;
}
.has-site-notice .nav { flex-wrap: wrap; padding-top: 0; }
.site-notice {
    flex: 1 0 100%;
    margin: 0 -1.5rem 0.75rem;
    padding: 0.55rem 1.1rem;
    background: var(--neon);
    color: #111;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
}
.site-notice.is-backup {
    background: #c62828;
    color: #fff;
}
.nav.is-solid { border-bottom-color: var(--line); }
.nav-mark {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--nav-fg);
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-bolt {
    width: 22px;
    height: 22px;
    background: var(--neon-fill);
    clip-path: polygon(55% 0, 18% 52%, 42% 52%, 30% 100%, 82% 42%, 56% 42%);
    box-shadow: 0 0 14px var(--neon);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-burger {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--grey-3);
    background: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 1.05rem;
    height: 2px;
    background: var(--nav-fg);
}
.nav-burger:hover,
.nav.is-open .nav-burger {
    border-color: var(--neon);
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-burger span { transition: transform 0.16s ease, opacity 0.16s ease; }
.nav-links a {
    color: var(--nav-fg);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.nav-links a:hover { color: var(--neon); }

.theme-toggle {
    background: none;
    border: 1px solid var(--grey-3);
    color: var(--nav-fg);
    font: 600 0.72rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
}
.theme-toggle:hover { color: var(--neon); border-color: var(--neon); }
.theme-toggle .is-for-light { display: none; }
html[data-theme="light"] .theme-toggle .is-for-dark { display: none; }
html[data-theme="light"] .theme-toggle .is-for-light { display: inline; }
html[data-theme="light"] .nav-bolt { box-shadow: 0 0 10px rgba(198, 255, 0, 0.55); }
html[data-theme="light"] .btn-neon { box-shadow: 0 0 16px rgba(198, 255, 0, 0.35); }

.nav-sep {
    color: var(--nav-muted);
    font-weight: 400;
    user-select: none;
}
.nav-drop { position: relative; }
.nav-drop summary {
    list-style: none;
    cursor: pointer;
    color: var(--nav-fg);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after {
    content: " ▾";
    color: var(--nav-muted);
    font-weight: 400;
}
.nav-drop[open] summary,
.nav-drop summary:hover { color: var(--neon); }
.nav-drop-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    min-width: 10.5rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px var(--shadow);
    z-index: 30;
    padding: 0.3rem 0;
}
.nav-drop.nav-user .nav-drop-menu { left: auto; right: 0; min-width: 12.5rem; }
.nav-drop-menu a,
.nav-drop-menu button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.85rem;
    background: none;
    border: 0;
    color: var(--text-strong);
    font: 600 0.78rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.nav-drop-menu svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}
.nav-drop-menu a:hover,
.nav-drop-menu button:hover { color: var(--neon); background: var(--menu-hover); }
.nav-drop-rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0.35rem 0.85rem;
}
.nav-drop-head {
    margin: 0.4rem 0 0.05rem;
    padding: 0.3rem 0.85rem 0.1rem;
    color: var(--muted);
    font: 600 0.68rem var(--body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.nav-drop-head:first-child { margin-top: 0.1rem; }

.nav-search {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.45rem;
    vertical-align: middle;
}
.nav-search summary {
    display: inline;
    list-style: none;
    cursor: pointer;
    color: var(--nav-fg);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    white-space: nowrap;
}
.nav-search summary::-webkit-details-marker { display: none; }
.nav-search summary::after {
    content: none;
}
.nav-search[open] summary,
.nav-search summary:hover { color: var(--neon); }
.nav-search-form {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 1 auto;
    min-width: 0;
}
.nav-search-form input[type="search"],
.nav-search-form button {
    color: var(--nav-fg);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-family: inherit;
    padding: 0;
    line-height: 1.4;
    border: 0;
    border-bottom: 1px solid var(--grey-3);
    background: transparent;
    border-radius: 0;
    height: auto;
    min-height: 0;
}
.nav-search-form input[type="search"] {
    width: 6.5rem;
    min-width: 0;
}
.nav-search-form input[type="search"]::placeholder {
    color: var(--nav-muted);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.nav-search-form input[type="search"]::-webkit-search-decoration,
.nav-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.nav-search-form input[type="search"]:focus {
    outline: none;
    border-bottom-color: var(--neon);
}
.nav-search-form button {
    cursor: pointer;
    border-bottom-color: transparent;
    padding-left: 0.1rem;
}
.nav-search-form button:hover {
    color: var(--neon);
}

.nav-search-form button:hover {
    color: var(--neon);
}

.nav-search-form {
    position: relative;
}
.nav-search-results {
    position: absolute;
    left: 0;
    top: calc(100% + 0.45rem);
    z-index: 45;
    min-width: min(22rem, calc(100vw - 2rem));
    max-width: 26rem;
    max-height: min(24rem, 60vh);
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px var(--shadow);
}
.nav-search-results[hidden] { display: none; }
.nav-search-group + .nav-search-group {
    border-top: 1px solid var(--line);
}
.nav-search-group-label {
    padding: 0.45rem 0.75rem 0.25rem;
    font: 600 0.68rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.nav-search-hit {
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    gap: 0.55rem;
    align-items: center;
    padding: 0.45rem 0.75rem;
    color: var(--text-strong);
    text-decoration: none;
}
.nav-search-hit:hover,
.nav-search-hit.is-active {
    background: var(--menu-hover);
    color: var(--neon);
}
.nav-search-thumb {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}
.nav-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nav-search-thumb .avatar-letter {
    font: 700 0.85rem var(--display);
    color: var(--neon);
}
.nav-search-hit-title {
    font: 600 0.78rem var(--body);
    line-height: 1.25;
}
.nav-search-hit-sub {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.3;
}
.nav-search-empty {
    padding: 0.65rem 0.75rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.product-reviews {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
.product-reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.product-reviews-head h2 {
    margin: 0;
    font-size: 1.6rem;
}
.product-reviews-summary {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    align-items: center;
}
.review-stars {
    color: var(--neon);
    letter-spacing: 0.08em;
}
.review-form {
    margin-bottom: 1.2rem;
    max-width: 40rem;
}
.review-rating {
    margin-bottom: 1.1rem;
}
.review-rating-pick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}
.stack-form .review-rating-opt {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-strong);
}
.stack-form .review-rating-opt input {
    width: auto;
}
.review-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.review-item {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}
.review-item-head {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.45rem;
}
.review-item-title {
    margin: 0 0 0.15rem;
    font-weight: 600;
}
.review-item-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    align-items: center;
    font-size: 0.85rem;
}
.review-item-body {
    margin-left: 2.55rem;
}
.review-reply {
    margin: 0.75rem 0 0 2.55rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.review-reply-kicker {
    margin: 0 0 0.15rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon);
}
.review-reply .review-item-body {
    margin-left: 2.55rem;
}
.admin-review-card {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.admin-review-card.is-open {
    border-color: var(--neon);
}
.admin-review-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 0.75rem;
}
.admin-review-head .card-cat { margin: 0; }
.admin-review-product {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
}
.admin-review-card .review-item-body {
    margin-left: 0;
}
.admin-review-reply {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}
.admin-review-card .review-reply {
    margin: 0 0 0.9rem;
}
.admin-review-as {
    margin: 0.35rem 0 0.65rem;
}
.admin-review-reply .inline-form {
    margin-top: 0.55rem;
}

.product-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    margin: 0.65rem 0 0.85rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}
.product-share-label {
    font: 600 0.72rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.product-share-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}
.product-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-strong);
    cursor: pointer;
    text-decoration: none;
}
.product-share-link svg {
    width: 1rem;
    height: 1rem;
}
.product-share-link:hover {
    color: var(--neon);
    border-color: var(--neon);
}
.nav-drop-menu form { margin: 0; }
.nav-drop.nav-catalog .nav-drop-menu { min-width: 11.5rem; }
.product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.product-card .card-link { flex: 1; }
.wish-form { margin: 0; }
.wish-form-card {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
}
.wish-card-btn {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.72);
    color: #fff;
    cursor: pointer;
}
.wish-card-btn svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}
.wish-card-btn:hover,
.wish-card-btn.is-on {
    border-color: var(--neon);
    color: var(--on-neon);
    background: var(--neon-fill);
}
.wish-card-btn.is-on svg { fill: currentColor; stroke: none; }
.wish-form-page {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.wish-form-page .btn { width: 100%; box-sizing: border-box; }
.wish-wrap { display: grid; gap: 1.4rem; }
.wish-create,
.wish-rename,
.wish-move {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.55rem 0.7rem;
}
.wish-create label,
.wish-rename label,
.wish-move label {
    display: grid;
    gap: 0.28rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 700;
}
.wish-create input,
.wish-rename input,
.wish-move input,
.wish-move select {
    min-width: 12rem;
    background: var(--well);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 0.45rem 0.6rem;
    font: 600 0.95rem var(--body);
    text-transform: none;
    letter-spacing: 0;
}
.wish-board {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 1rem 1rem 0.4rem;
}
.wish-board-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1rem;
    margin-bottom: 0.7rem;
}
.wish-board-head h2 {
    margin: 0;
    font-size: 1.35rem;
}
.wish-board-head .muted { margin: 0.25rem 0 0; }
.wish-board-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    margin-left: auto;
}
.wish-board-empty { margin: 0 0 0.9rem; }
.wish-board .wish-list { margin: 0; }
.wish-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}
.wish-new-inline input { min-width: 9rem; }
.nav-user-rule {
    border: 0;
    border-top: 1px solid var(--code-border);
    margin: 0.35rem 0.7rem;
}
.nav-account {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.nav-msg {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
}
.nav-msg svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}
.nav-msg:hover { color: var(--neon); }
.nav-msg.has-mail {
    color: var(--neon);
    animation: mail-pulse 1.5s ease-in-out infinite;
}
@keyframes mail-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.msg-count {
    position: absolute;
    top: -0.4rem;
    right: -0.55rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: var(--neon-fill);
    color: var(--on-neon);
    font: 700 0.62rem var(--body);
    letter-spacing: 0;
    text-transform: none;
    display: grid;
    place-items: center;
    line-height: 1;
}
.form-wrap .admin-nav,
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.admin-nav > .btn,
.admin-nav-drop-trigger .btn {
    white-space: nowrap;
}
.admin-nav-drop {
    position: relative;
    display: inline-flex;
}
.admin-nav-drop-trigger {
    list-style: none;
    display: inline-flex;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.admin-nav-drop-trigger::-webkit-details-marker { display: none; }
.admin-nav-drop-trigger .btn::after {
    content: " ▾";
    font-size: 0.75em;
    opacity: 0.75;
}
.admin-nav-drop .admin-nav-drop-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    margin-top: 0;
    min-width: 11rem;
    z-index: 30;
}
.admin-nav-drop .admin-nav-drop-menu a[aria-current="page"] {
    color: var(--neon);
    background: var(--menu-hover);
}
/* Shared desk rhythm so every admin page stacks the same way */
.form-wrap > .stack-form,
.form-wrap > form.stack-form {
    margin: 0 0 1.15rem;
}
.form-wrap > .sales-kpis,
.form-wrap > .usage-kpis {
    margin: 0 0 1.35rem;
}
.form-wrap > .desk-ai {
    margin: 0 0 1.35rem;
}
.form-wrap > .desk-builds {
    margin: 0 0 1.5rem;
}
.form-wrap > h2 {
    margin: 1.65rem 0 0.4rem;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-strong);
}
.form-wrap > h2:first-of-type {
    margin-top: 0.35rem;
}
.form-wrap > h2 + .muted,
.form-wrap > .admin-section-lede {
    margin: 0 0 0.75rem;
    max-width: 46rem;
}
.form-wrap > .admin-table-wrap {
    margin: 0 0 0.35rem;
}
.form-wrap > .btn-row {
    margin: 0.85rem 0 0;
}
.form-wrap > .desk-metrics,
.form-wrap > .metrics-note,
.form-wrap > .forum-desk-cat,
.form-wrap > .forum-desk-add,
.form-wrap > .forum-desk-add-cat,
.form-wrap > .admin-review-card,
.form-wrap > .sales-order,
.form-wrap > .tax-sheet {
    margin-top: 0;
}
.form-wrap > .order-list {
    margin-bottom: 0.85rem;
}
.form-wrap > .activity-log-pager {
    margin: 0.85rem 0 0;
}
.form-wrap > .sales-card-events {
    margin: 2.75rem 0 0;
}
.form-grid > .check-label {
    margin-top: 0;
    min-height: 2.65rem;
    align-self: end;
}
.activity-log-empty { margin: 1rem 0 0; }
.activity-log-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--panel);
}
.activity-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.activity-log-table th,
.activity-log-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}
.activity-log-table th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}
.activity-log-table tbody tr:last-child td { border-bottom: 0; }
.activity-log-fail { background: rgba(255, 80, 80, 0.06); }
.activity-log-when time { display: block; white-space: nowrap; }
.activity-log-channel {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.activity-log-who {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 9rem;
}
.activity-log-drill { color: var(--neon); text-decoration: none; }
.activity-log-drill:hover { text-decoration: underline; }
.activity-log-id { font-family: monospace; font-size: 0.78rem; word-break: break-all; }
.activity-log-ip { font-size: 0.78rem; }
.activity-log-action strong { display: block; }
.activity-log-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff8a8a;
    border: 1px solid rgba(255, 138, 138, 0.35);
}
.activity-log-method {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.05rem 0.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--muted);
}
.activity-log-detail details summary {
    cursor: pointer;
    color: var(--neon);
    font-size: 0.82rem;
}
.activity-log-detail pre {
    margin: 0.45rem 0 0;
    padding: 0.55rem;
    max-width: 28rem;
    overflow: auto;
    font-size: 0.72rem;
    line-height: 1.45;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line);
    white-space: pre-wrap;
    word-break: break-word;
}
.activity-log-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.admin-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.desk-ai {
    margin: 0 0 1.35rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.desk-ai-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    list-style: none;
}
.desk-ai-summary::-webkit-details-marker { display: none; }
.desk-ai-summary .btn::after {
    content: " ▾";
    font-size: 0.75em;
    opacity: 0.75;
}
.desk-ai[open] .desk-ai-summary {
    border-bottom: 1px solid var(--line);
}
.desk-ai-panel { padding: 0.85rem 0.95rem 1rem; }
.desk-ai-lede { margin: 0 0 0.75rem; max-width: 46rem; }
.desk-ai-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
}
.desk-ai-requests {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.75rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.desk-ai-requests .card-cat { margin: 0 0 0.45rem; }
.desk-ai-requests .desk-ai-chips { margin: 0; }
.desk-ai-log {
    min-height: 7rem;
    max-height: 28rem;
    overflow: auto;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.desk-ai-msg { margin: 0 0 0.85rem; }
.desk-ai-msg:last-child { margin-bottom: 0; }
.desk-ai-msg p { margin: 0 0 0.4rem; white-space: pre-wrap; }
.desk-ai-msg .card-cat { margin: 0 0 0.25rem; }
.desk-ai-msg.is-user p { color: var(--text-strong); }
.desk-ai-msg.is-bot p { color: var(--text); }
.desk-ai-msg.is-error p { color: var(--warn-fg); }
.desk-ai-chart-wrap {
    margin: 0.55rem 0 0.35rem;
    height: 14rem;
    position: relative;
}
.desk-ai-links,
.desk-ai-offers {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
}
.desk-ai-links li,
.desk-ai-offers li { margin: 0.2rem 0; }
.desk-ai-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}
.desk-ai-form input {
    flex: 1 1 14rem;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.55rem 0.65rem;
    font: 500 1rem var(--body);
    text-transform: none;
    letter-spacing: 0;
}
.desk-ai-form input::placeholder {
    color: var(--muted);
}
.sales-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.4rem;
}
.sales-kpis + .sales-kpis { margin-top: -0.55rem; }
.sales-kpi {
    padding: 0.9rem 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.sales-kpi strong {
    display: block;
    margin: 0.2rem 0 0.15rem;
    font-family: var(--display);
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    color: var(--neon);
}
.sales-kpi span { color: var(--muted); font-size: 0.85rem; }
.sales-card-events {
    margin: 2.75rem 0 0;
    padding: 1.25rem 1.15rem 1.25rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.sales-card-events h2 { margin: 0 0 0.35rem; }
.sales-card-events h3 {
    margin: 1.1rem 0 0.45rem;
    font-size: 1rem;
}
.sales-card-events .stack-form { margin: 0.7rem 0 0.4rem; }
.sales-card-events .admin-table-wrap { margin: 0; }
.sales-card-events td.admin-row-actions { white-space: nowrap; }
.sales-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
    margin-top: 1.4rem;
}
.sales-order {
    margin: 0 0 1.4rem;
    padding: 1rem 1.1rem 1.15rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.sales-order h2 { margin: 0 0 0.35rem; }
.sales-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.2rem;
    margin: 0.85rem 0 1rem;
}
.sales-meta .span-2 { grid-column: 1 / -1; }
.sales-meta dt {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.sales-meta dd { margin: 0.15rem 0 0; white-space: pre-wrap; }
.tax-sheet {
    margin-top: 0.4rem;
    padding: 1.1rem 1.15rem 1.3rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.tax-sheet-head h2 { margin: 0.15rem 0 0.4rem; }
.tax-sheet h3 {
    margin: 1.4rem 0 0.55rem;
    font-family: var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tax-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media print {
    .nav, .site-foot, .flash, .site-notice, .no-print, .nav-burger { display: none !important; }
    body { background: #fff; color: #111; }
    .tax-sheet, .sales-kpi, .admin-table-wrap { border-color: #ccc; background: #fff; box-shadow: none; }
    .sales-kpi strong, .tax-sheet-head h2 { color: #111; }
    .wrap { max-width: none; padding: 0; }
    .tax-sheet { padding: 0; }
}
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.admin-table-wrap.sales-orders-wrap {
    overflow: visible;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
    text-align: left;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.admin-table th {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.admin-subhead {
    margin: 1.6rem 0 0.7rem;
    font-size: 1.05rem;
}
.admin-table tr.is-conflict td {
    background: rgba(255, 90, 60, 0.08);
}
.merge-fields { display: grid; gap: 0.85rem; margin: 1rem 0 0; }
.merge-field h3 {
    margin: 0 0 0.5rem;
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.merge-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
.stack-form label.merge-choice {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--input-bg);
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}
.stack-form label.merge-choice input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}
.stack-form label.merge-choice strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.merge-preview { display: block; color: var(--input-fg); font: 500 0.95rem var(--body); white-space: pre-wrap; }
.merge-face { display: block; margin: 0.35rem 0; }
.stack-form label.merge-choice:has(input:checked) { border-color: var(--neon); }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: flex-start; }
.admin-row-actions form { margin: 0; }
.admin-row-actions > form button,
.admin-row-actions > a.linkish {
    background: none;
    border: 0;
    padding: 0;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
}
.admin-row-actions > a.linkish {
    color: var(--neon);
}
.admin-table td.admin-row-actions {
    overflow: visible;
    vertical-align: middle;
    width: auto;
    min-width: 7.5rem;
    white-space: nowrap;
}
/* Open into the row (left), not off the right edge of the table */
.admin-row-drop.admin-nav-drop {
    display: inline-flex;
}
.admin-row-drop .admin-nav-drop-menu {
    left: 0;
    right: auto;
    top: calc(100% + 0.35rem);
    min-width: 12rem;
    width: max-content;
    z-index: 40;
}
.admin-row-drop.is-float-menu .admin-nav-drop-menu {
    position: fixed;
    z-index: 80;
}
.orders-send-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin: 0;
    padding: 0.5rem 0.85rem;
    font: 600 0.78rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.orders-send-status.is-sent { color: #3dcc6f; }
.orders-send-status.is-unsent { color: var(--danger); }
.orders-send-status.is-wait { color: #e6b84d; }
.upload-wh {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.fulfill-note { margin: 0.45rem 0 0; }
.fulfill-desk { margin: 0 0 1rem; }
.fulfill-list {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
}
.fulfill-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.nav-drop-menu button.orders-send-help,
.orders-send-help {
    display: grid;
    place-items: center;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    min-width: 1.35rem;
    max-width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--muted);
    font: 600 1rem var(--display);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    cursor: pointer;
}
.nav-drop-menu button.orders-send-help:hover,
.orders-send-help:hover,
.orders-send-help.is-on {
    color: var(--on-neon);
    background: var(--neon);
    border-color: var(--neon);
}
.orders-send-bubble {
    position: fixed;
    z-index: 90;
    width: min(22rem, calc(100vw - 1.5rem));
    padding: 0.75rem 0.85rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px var(--shadow);
}
.orders-send-bubble[hidden] { display: none; }
.orders-send-bubble .card-cat { margin: 0 0 0.35rem; }
.orders-send-bubble p {
    margin: 0;
    color: var(--text);
    font: 500 0.88rem var(--body);
    line-height: 1.45;
}
.admin-table tr.is-ftp-focus td {
    background: rgba(198, 255, 0, 0.06);
}
.ftp-probe {
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem 1.15rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.ftp-probe-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    align-items: start;
    margin-bottom: 0.85rem;
}
.ftp-probe-head h2 {
    margin: 0.15rem 0 0.35rem;
    font-family: var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ftp-probe-verdict {
    margin: 0;
    padding: 0.45rem 0.7rem;
    font: 700 0.78rem var(--body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--line);
}
.ftp-probe-verdict.is-found {
    color: var(--neon);
    border-color: var(--neon);
}
.ftp-probe-verdict.is-picked {
    color: #e6b85c;
    border-color: #e6b85c;
}
.ftp-probe-verdict.is-missing {
    color: var(--danger);
    border-color: var(--danger);
}
.ftp-probe-verdict.is-ok {
    color: var(--neon);
    border-color: var(--neon);
}
.ftp-probe-steps {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem 0.75rem 1.4rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--line);
    font: 500 0.9rem/1.45 var(--body);
}
.ftp-probe-step { margin: 0.35rem 0; }
.ftp-probe-step.is-ok { color: var(--neon); }
.ftp-probe-step.is-warn { color: #e6b85c; }
.ftp-probe-step.is-fail { color: var(--danger); }
.ftp-probe-step.is-info { color: var(--text-strong); }
.ftp-probe-reup {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}
.ftp-probe-ask { margin: 0.85rem 0 0; max-width: 46rem; }
.ftp-probe-modal .ftp-probe-card {
    width: min(100%, 40rem);
}
.ftp-probe-modal .ftp-probe-steps {
    max-height: min(42vh, 22rem);
    overflow: auto;
}
.ftp-probe-modal-actions {
    align-items: center;
}
.ftp-probe-dynamic {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ftp-probe-modal.is-busy .ftp-probe-steps {
    opacity: 0.72;
}
.check-label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    gap: 0.55rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-strong);
    margin-top: 0.85rem;
    cursor: pointer;
}
.check-label input { width: auto; flex: 0 0 auto; }
.check-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 0.85rem;
}
.check-list .check-label { margin-top: 0.65rem; }
.check-list .check-label:first-child { margin-top: 0; }
.check-list .muted {
    margin: 0.2rem 0 0.15rem;
    max-width: 34rem;
}

.legal-fieldset .legal-fieldset-note {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    text-transform: none;
    letter-spacing: 0;
}
.legal-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.legal-doc-link {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text-strong);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.legal-doc-link:hover {
    border-color: var(--neon);
    color: var(--neon);
    background: var(--neon-dim);
}
.legal-accept-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    background: var(--panel);
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-soft);
    text-transform: none;
    letter-spacing: 0;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.legal-accept-row:hover {
    border-color: var(--accent-line);
}
.legal-accept-row:has(input:checked) {
    border-color: var(--neon);
    background: var(--neon-dim);
    color: var(--text-strong);
}
.legal-accept-row input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.12rem 0 0;
    flex: 0 0 auto;
    accent-color: var(--neon);
    cursor: pointer;
}
.legal-accept-row span {
    flex: 1;
    min-width: 0;
}
.forum-admin-flag {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.08rem 0.4rem;
    border: 1px solid var(--neon);
    color: var(--neon);
    font: 600 0.62rem var(--body);
    letter-spacing: 0.02em;
    text-transform: none;
    vertical-align: middle;
}
.forum-flags {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
    margin-left: 0.4rem;
    vertical-align: middle;
}
.forum-flag {
    display: inline-block;
    padding: 0.08rem 0.4rem;
    border: 1px solid var(--line);
    font: 600 0.62rem var(--body);
    letter-spacing: 0.02em;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
}
.forum-flag.is-pin {
    border-color: var(--neon);
    color: var(--neon);
}
.forum-flag.is-lock {
    border-color: var(--text-faint);
    color: var(--muted);
}
.forum-flag.is-conflict {
    border-color: #ff5a3c;
    color: #ff5a3c;
}
.forum-notice {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text-soft);
}
.forum-notice.is-conflict {
    border-color: #ff5a3c;
}
.forum-notice.is-lock {
    color: var(--muted);
}
.forum-topic-list li.is-pinned .forum-topic-row {
    box-shadow: inset 3px 0 0 var(--neon);
}
.forum-topic-title .forum-flags {
    margin-left: 0;
    flex: 0 0 auto;
}
.page-hero h1 .forum-flags {
    margin-left: 0.4rem;
}
.forum-desk-cat {
    margin: 0 0 1.15rem;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.forum-desk-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem 1rem;
    align-items: end;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.forum-desk-head .card-cat { grid-column: 1 / -1; margin: 0; }
.forum-desk-cat-form,
.forum-desk-add-row,
.forum-desk-board-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: end;
}
.forum-desk-cat-form { grid-column: 1; }
.forum-desk-cat-form label,
.forum-desk-add-row label,
.forum-desk-board-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.forum-desk-cat-form input,
.forum-desk-add-row input,
.forum-desk-add-row select,
.forum-desk-board-form input,
.forum-desk-board-form select {
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.45rem 0.55rem;
    font: 500 1rem var(--body);
    min-width: 0;
}
.forum-desk-cat-form label:first-child,
.forum-desk-add-row label:first-child,
.forum-desk-board-form label:first-child { flex: 1 1 12rem; }
.forum-desk-order { flex: 0 0 4.6rem; }
.forum-desk-order input { width: 100%; }
.forum-desk-side {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
}
.forum-desk-side form { margin: 0; }
.forum-desk-label {
    margin: 1rem 0 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
}
.forum-desk-empty { margin: 0 0 0.8rem; }
.forum-desk-boards { list-style: none; margin: 0; padding: 0; }
.forum-desk-board {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    align-items: end;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}
.forum-desk-board:first-child { border-top: 0; }
.forum-desk-board-form { flex: 1 1 16rem; }
.forum-desk-check {
    flex-direction: row !important;
    align-items: center;
    gap: 0.4rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text-strong) !important;
    padding-bottom: 0.35rem;
}
.forum-desk-check input { width: auto; }
.forum-desk-count {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    padding-bottom: 0.4rem;
    white-space: nowrap;
}
.forum-desk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-bottom: 0.05rem;
}
.forum-desk-delete { margin: 0; padding-bottom: 0.35rem; }
.forum-desk-add {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--line);
}
.forum-desk-add-cat {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px dashed var(--line);
    background: var(--bg-2);
}
.forum-desk-add-label {
    margin: 0 0 0.2rem;
    font-family: var(--display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
}
.forum-desk-add-cat .muted { margin: 0 0 0.75rem; }
@media (max-width: 800px) {
    .forum-desk-head {
        grid-template-columns: 1fr;
    }
    .forum-desk-side { justify-content: flex-start; }
}
.forum-list { display: grid; gap: 1rem; }
.forum-cat {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.forum-cat h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.forum-sub-list { list-style: none; margin: 0; padding: 0; }
.forum-sub-list li { margin: 0; border-top: 1px solid var(--line); }
.forum-sub-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.15rem;
    color: var(--text-strong);
    text-decoration: none;
}
.forum-sub-list a:hover { color: var(--neon); }
.forum-sub-count { color: var(--muted); font-size: 0.82rem; }
.forum-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.8rem;
}
.forum-crumb a { color: var(--neon); text-decoration: none; }
.forum-crumb strong { color: var(--text-strong); font-weight: 600; }
.forum-topic-list { list-style: none; margin: 0 0 1.6rem; padding: 0; border: 1px solid var(--line); }
.forum-topic-list li { border-bottom: 1px solid var(--line); }
.forum-topic-list li:last-child { border-bottom: 0; }
.forum-topic-list a {
    color: var(--text-strong);
    text-decoration: none;
}
.forum-topic-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    min-width: 0;
}
.forum-topic-row:hover { background: var(--surface-hover); }
.forum-topic-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
    padding: 0;
    color: var(--text-strong);
    text-decoration: none;
}
.forum-topic-title strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-topic-title:hover { background: none; color: var(--neon); }
.forum-topic-icon {
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--neon);
}
.forum-topic-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.forum-topic-meta {
    display: grid;
    justify-items: end;
    gap: 0.12rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
    white-space: nowrap;
    flex: 0 0 auto;
}
.forum-topic-who { display: block; }
.forum-topic-meta .user-link { color: var(--neon); }
.forum-post {
    margin: 0 0 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    scroll-margin-top: 5.5rem;
}
.forum-post.is-op { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-glow); }
.forum-post:target,
.forum-post.is-reply-focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--accent-glow);
}
#forum-reply { scroll-margin-top: 5.5rem; }
.forum-research {
    margin: -0.35rem 0 1.1rem;
    padding: 0.95rem 1.1rem 1rem;
    background: var(--surface-2);
    border: 1px dashed var(--accent-line);
    border-radius: 14px;
}
.forum-research-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
}
.forum-research-kicker {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon);
    font-weight: 700;
}
.forum-research-x {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
}
.forum-research-x:hover { color: var(--text); }
.forum-research-copy {
    margin: 0.45rem 0 0.75rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}
.forum-research-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.forum-research-out {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.95rem;
}
.forum-research-body a { color: var(--neon); }
.forum-research-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.forum-research-links a {
    color: var(--neon);
    text-decoration: none;
    border: 1px solid var(--accent-line);
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
}
.forum-post header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.forum-post header strong { color: var(--neon); }
.forum-who {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    flex-wrap: wrap;
}
.msg-user {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
    text-decoration: none;
    border: 1px solid var(--accent-line);
    padding: 0.12rem 0.4rem;
}
.msg-user:hover { background: var(--neon-dim); }
.avatar-link { display: block; line-height: 0; }
.avatar {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 2.25rem;
    border: 1px solid var(--accent-line);
    background: var(--surface-hover);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-letter {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--neon);
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}
.account-avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.account-avatar .avatar {
    width: 5rem;
    height: 5rem;
    flex-basis: 5rem;
}
.account-avatar .avatar-letter { font-size: 2rem; }
.user-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.2rem 1.4rem;
    align-items: start;
    margin: 0 0 1.6rem;
    padding: 1.15rem 1.2rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.user-card-face .avatar {
    width: 5.5rem;
    height: 5.5rem;
    flex-basis: 5.5rem;
}
.user-card-face .avatar-letter { font-size: 2.1rem; }
.user-card-handle {
    margin: 0;
    font-family: var(--display);
    font-size: 1.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neon);
}
.user-card-name {
    margin: 0.15rem 0 0;
    color: var(--text-strong);
    font-size: 1.15rem;
}
.user-card-place {
    margin: 0.2rem 0 0;
    color: var(--text-soft);
}
.user-card-sig {
    margin: 0.65rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
}
.user-card .btn-row { margin-top: 0.9rem; }
.public-profile-check { margin-top: 1rem !important; }
.forum-post header strong a,
.user-link { color: var(--neon); text-decoration: none; }
.forum-post header strong a:hover,
.user-link:hover { text-decoration: underline; }
.forum-post-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.forum-reply-cite {
    margin: 0 0 0.65rem;
    padding: 0.45rem 0.65rem;
    border-left: 3px solid var(--neon);
    background: var(--well);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}
.forum-reply-cite a {
    display: block;
    color: var(--neon);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.forum-reply-cite a:hover { text-decoration: underline; }
.forum-reply-cite span {
    display: block;
    color: var(--quote);
}
.forum-compose-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}
.forum-manage {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.forum-move {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
}
.forum-move label {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.forum-move select {
    display: block;
    margin-top: 0.25rem;
    min-width: 14rem;
    background: var(--input-bg);
    color: var(--text-strong);
    border: 1px solid var(--input-border);
    padding: 0.4rem 0.5rem;
    font: inherit;
}
.forum-post p { margin: 0; color: var(--text-soft); }
.forum-body { margin: 0; color: var(--text-soft); word-wrap: break-word; }
.forum-sig {
    margin: 0.85rem 0 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    word-wrap: break-word;
}
.forum-sig a { color: var(--neon); }
.forum-votes {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}
.forum-votes-form,
.forum-votes-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}
.forum-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin: 0;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text-soft);
    border-radius: 999px;
    padding: 0.22rem 0.58rem;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.2;
}
.forum-votes-login .forum-vote-btn { cursor: pointer; }
.forum-vote-btn:hover {
    border-color: var(--accent-line);
    color: var(--text);
}
.forum-vote-btn.is-on.is-up {
    border-color: var(--accent-line);
    color: var(--neon);
    box-shadow: 0 0 0 1px var(--accent-glow);
}
.forum-vote-btn.is-on.is-down {
    border-color: #c45;
    color: #f88;
}
.forum-vote-n {
    font-variant-numeric: tabular-nums;
    min-width: 0.75em;
}
.forum-body strong { color: var(--text-strong); }
.forum-body em { font-style: italic; }
.forum-body u { text-decoration: underline; }
.forum-body s { color: var(--text-faint); }
.forum-h { display: block; margin: 0.35rem 0; color: var(--text-strong); font-size: 1.05rem; }
.forum-quote {
    margin: 0.45rem 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    border-left: 3px solid var(--neon);
    color: var(--quote);
}
.forum-code {
    margin: 0.55rem 0;
    padding: 0.7rem 0.8rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    overflow-x: auto;
    color: var(--text-soft);
    font-size: 0.86rem;
}
.forum-code-inline {
    padding: 0.05rem 0.3rem;
    background: var(--code-inline-bg);
    border: 1px solid var(--code-border);
    font-size: 0.86rem;
}
.forum-spoiler {
    background: var(--spoiler-bg);
    color: transparent;
    cursor: pointer;
    border-radius: 2px;
    padding: 0 0.15rem;
}
.forum-spoiler.is-on { color: var(--text-soft); background: var(--spoiler-on-bg); }
.forum-md-link { color: var(--neon); }
.forum-format-hint { margin: 0.35rem 0 0; }
.forum-format-hint code {
    margin-right: 0.35rem;
    color: var(--text-faint);
}
.forum-compose-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    margin-top: 0.55rem;
}
.forum-tool-drop { flex: 0 0 auto; }
.forum-tool-drop[open] { flex: 1 1 100%; }
.forum-tool-drop > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.42rem 0.75rem;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    user-select: none;
}
.forum-tool-drop > summary::-webkit-details-marker { display: none; }
.forum-tool-drop > summary::marker { content: ""; }
.forum-tool-drop > summary::after {
    content: "▾";
    color: var(--muted);
    font-weight: 400;
    font-size: 0.7rem;
}
.forum-tool-drop[open] > summary,
.forum-tool-drop > summary:hover { color: var(--neon); border-color: var(--neon); }
.forum-tool-panel {
    margin-top: 0.55rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 10px 28px var(--shadow);
}
.forum-tool-drop.is-smileys .forum-tool-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    max-width: 22rem;
}
.forum-smiley {
    appearance: none;
    width: 2.1rem;
    height: 2.1rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
}
.forum-smiley:hover,
.forum-smiley:focus-visible {
    background: var(--neon-dim);
    outline: none;
}
.forum-tool-drop .file-label { margin: 0; }
.forum-tool-drop .photo-slots { margin-top: 0.7rem; }
.forum-pics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.85rem;
}
.forum-pic-wrap { max-width: 500px; }
.forum-pic {
    display: block;
    max-width: 500px;
}
.photo-rotate-stage {
    position: relative;
    display: block;
    max-width: 500px;
}
.photo-rotate-dock {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    z-index: 3;
    display: flex;
    gap: 0.28rem;
}
.photo-rotate-form { margin: 0; }
.photo-rotate-dock button {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(198, 255, 0, 0.45);
    background: rgba(5, 5, 5, 0.78);
    color: #c6ff00;
    cursor: pointer;
}
.photo-rotate-dock button:hover {
    background: #c6ff00;
    color: #050505;
}
.photo-rotate-dock svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}
.forum-pic-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0.4rem 0 0;
}
.forum-pic-tools form { margin: 0; }
.forum-pic-tools button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.forum-pic-remove { margin: 0.35rem 0 0; }
.forum-post-tools a { color: var(--neon); text-decoration: none; }
.forum-post-tools a:hover { text-decoration: underline; }
.forum-edit-form { margin-top: 0.85rem; }
.forum-pic img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid var(--line);
    cursor: zoom-in;
}
.forum-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--lightbox);
    display: grid;
    place-items: center;
    padding: 2rem 1.2rem;
    cursor: zoom-out;
}
.forum-lightbox[hidden] { display: none; }
.forum-lightbox img {
    max-width: min(96vw, 1600px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 0 1px var(--accent-glow);
}
.forum-lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: none;
    border: 0;
    color: var(--neon);
    font: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.smut-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.86);
    display: grid;
    place-items: center;
    padding: 1.4rem;
}
.smut-modal[hidden] { display: none; }
.smut-modal-card {
    max-width: 28rem;
    width: min(100%, 28rem);
    text-align: center;
    border: 1px solid var(--neon);
    background: var(--bg-2);
    padding: 2.1rem 1.5rem 1.5rem;
    box-shadow: 0 0 48px rgba(198, 255, 0, 0.22);
}
.smut-modal-kicker {
    font-family: Teko, sans-serif;
    font-size: clamp(2.6rem, 8vw, 4.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--neon);
    margin: 0;
    line-height: 0.9;
}
.smut-modal-line {
    font-family: Teko, sans-serif;
    font-size: clamp(1.35rem, 4vw, 2rem);
    letter-spacing: 0.1em;
    margin: 0.55rem 0 1.5rem;
    color: var(--text);
}
.forum-tease { padding: 2.2rem 0 2.6rem; }
.forum-tease h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.forum-tease-split {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 0.7rem;
    align-items: stretch;
}
.forum-tease-threads,
.forum-tease-reviews { min-width: 0; }
.forum-tease-split .shop-head { margin-bottom: 0.75rem; }
.forum-tease-reviews .shop-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.forum-tease .forum-hot-path {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
    min-width: 0;
}
.forum-tease .forum-hot-crumb {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
}
.forum-tease .forum-hot-crumb > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-tease .forum-hot-crumb .forum-hot-sep { flex: 0 0 auto; }
.forum-tease .forum-hot-path strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-tease .forum-hot-path .forum-flags {
    margin-left: 0;
}
.forum-tease .forum-hot.is-threads .forum-hot-meta { flex-shrink: 0; }
.home-reviews li { border-bottom: 1px solid var(--line); }
.home-reviews li:last-child { border-bottom: 0; }
.forum-tease-reviews .forum-hot.home-reviews a.home-review-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.7rem;
    align-items: start;
    padding: 0.7rem 0.85rem;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}
.home-review-link:hover { text-decoration: none; background: linear-gradient(90deg, rgba(198, 255, 0, 0.08), transparent 70%); }
.home-review-link .review-stars {
    grid-column: 1;
    grid-row: 1 / span 3;
    color: var(--neon);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    line-height: 1.25;
    white-space: nowrap;
    padding-top: 0.12rem;
}
.home-review-link strong {
    grid-column: 2;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.25;
}
.home-review-meta {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.home-review-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-hot { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--bg-2); }
.forum-hot li { border-bottom: 1px solid var(--line); }
.forum-hot li:last-child { border-bottom: 0; }
.forum-hot a {
    display: grid;
    grid-template-columns: 2.4rem 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem 1rem;
    color: inherit;
    text-decoration: none;
}
.forum-hot a:hover {
    background: linear-gradient(90deg, rgba(198, 255, 0, 0.08), transparent 55%);
    text-decoration: none;
}
.forum-hot a.avatar-link,
.forum-hot a.user-link {
    display: inline-flex;
    align-items: center;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    background: none;
    color: inherit;
}
.forum-hot a.user-link,
.forum-hot-meta .user-link {
    color: var(--neon);
}
.forum-hot a.avatar-link:hover,
.forum-hot a.user-link:hover {
    background: none;
    color: var(--neon);
}
.forum-hot.is-threads li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
}
.forum-hot.is-threads .avatar-link {
    flex: 0 0 2.25rem;
}
.forum-hot.is-threads .forum-hot-main {
    display: block;
    flex: 1 1 auto;
    padding: 0;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}
.forum-hot.is-threads .forum-hot-main:hover { background: none; }
.forum-hot.is-threads li:hover {
    background: linear-gradient(90deg, rgba(198, 255, 0, 0.08), transparent 55%);
}
.forum-hot.is-threads .forum-hot-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0;
    white-space: nowrap;
}
.forum-hot-rank {
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--neon);
    letter-spacing: 0.06em;
}
.forum-hot-path {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.45rem;
    min-width: 0;
}
.forum-hot-crumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.45rem;
}
.forum-hot-path span { color: var(--text-faint); }
.forum-hot-path strong { color: var(--text-strong); font-size: 1.02rem; }
.forum-hot a:hover .forum-hot-path strong { color: var(--neon); }
.forum-hot-sep { color: var(--neon) !important; opacity: 0.7; }
.forum-hot-meta { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.forum-hot.is-boards .forum-hot-row {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
}
.forum-hot.is-boards .is-cat .forum-hot-row {
    background: var(--surface-2);
}
.forum-hot.is-boards .is-cat .forum-hot-path strong {
    color: var(--neon);
    font-family: var(--display);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.forum-hot.is-boards .is-sub {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem 0.65rem 1.6rem;
}
.forum-hot.is-boards .is-sub .forum-hot-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    grid-template-columns: none;
    background: none;
}
.forum-hot.is-boards .is-sub .forum-hot-main:hover { background: none; }
.forum-sub-icon {
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--neon);
}
.forum-sub-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.forum-hot.is-boards .is-sub .forum-hot-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0;
    white-space: nowrap;
}
.forum-hot-last {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.forum-hot.is-boards a:hover .forum-hot-path strong { color: var(--neon); }

.forum-hot-empty {
    display: block;
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, var(--panel) 0%, var(--surface) 100%);
    color: inherit;
    text-decoration: none;
}
.forum-hot-empty:hover { border-color: var(--accent-line); }
.forum-hot-kicker {
    display: block;
    color: var(--neon);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.foot-account { margin-top: 2.4rem; }
.foot-logout { margin: 0; }
.foot-logout button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text-dim);
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
    display: block;
}
.foot-logout button:hover { color: var(--neon); }
.auth-wrap { max-width: 28rem; }
.auth-extra { margin: 0.15rem 0 0; }
.auth-extra a { color: var(--neon); }
.auth-wrap-wide { max-width: 42rem; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-3 { grid-column: 1 / -1; }
.captcha-box {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.85rem 1rem;
}
.captcha-refresh {
    padding: 0;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    cursor: pointer;
    line-height: 0;
}
.captcha-refresh:hover { border-color: var(--neon); }
.captcha-refresh img { display: block; }
.captcha-box label { flex: 1 1 10rem; }
.garage-empty { margin: 0 0 1.4rem; }
.garage-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: 1.6rem;
}
.garage-card { color: inherit; }
.garage-card.is-on {
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--accent-glow);
}
.garage-card .setup-shot { text-decoration: none; color: inherit; }
.garage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}
.garage-actions form { margin: 0; }
.garage-form { margin-top: 0.5rem; }
.account-ride-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: 0;
}
.stack-form input[readonly] { color: var(--quote); border-style: dashed; }
.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.cart-count {
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border: 1px solid var(--grey-3);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: var(--text-strong);
}
.nav-cart.has-items .cart-count {
    background: var(--neon-fill);
    border-color: var(--neon);
    color: var(--on-neon);
}

.msg-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    border: 1px solid var(--line);
    background: var(--panel);
    min-height: 28rem;
}
.msg-list {
    border-right: 1px solid var(--line);
    min-width: 0;
}
.msg-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}
.msg-list-head strong {
    font-family: var(--display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.msg-list-head a { color: var(--neon); text-decoration: none; font-size: 0.82rem; }
.msg-list-head a:hover { text-decoration: underline; }
.msg-list ol { list-style: none; margin: 0; padding: 0; }
.msg-empty { padding: 1rem; }
.msg-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.msg-item:hover,
.msg-item.is-on { background: var(--surface-hover); }
.msg-item.is-unread strong { color: var(--neon); }
.msg-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.msg-item-copy strong { color: var(--text-strong); }
.msg-item-copy span,
.msg-item time {
    color: var(--muted);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.msg-thread-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}
.msg-back {
    display: none;
    color: var(--neon);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.msg-log {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    overflow: auto;
    max-height: 28rem;
}
.msg-bubble {
    max-width: min(36rem, 88%);
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}
.msg-bubble.is-me {
    margin-left: auto;
    background: var(--neon-dim);
    border-color: var(--accent-line);
}
.msg-bubble time {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.75rem;
}
.msg-compose {
    margin: 0;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--line);
}
.msg-compose textarea { min-height: 6rem; }
@media (max-width: 800px) {
    .msg-layout { grid-template-columns: 1fr; min-height: 0; }
    .msg-list { border-right: 0; }
    .msg-layout.is-thread .msg-list { display: none; }
    .msg-layout.is-list .msg-thread { display: none; }
    .msg-back { display: inline; }
    .msg-log { max-height: none; }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 46rem;
}
.faq-item {
    margin: 0;
    border: 1px solid var(--line);
    background: var(--panel);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--neon);
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1;
}
.faq-item[open] summary {
    color: var(--neon);
    border-bottom: 1px solid var(--line);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--neon); }
.faq-body {
    padding: 0.95rem 1.15rem 1.2rem;
    line-height: 1.65;
}
.faq-body p { margin: 0; }
.faq-body p + p { margin-top: 0.85rem; }
.faq-links {
    margin-top: 0.9rem !important;
    color: var(--muted);
}
.faq-links a { color: var(--neon); }

.legal-doc {
    padding-bottom: 4rem;
    max-width: 46rem;
}
.legal-draft {
    margin: 0 0 1.5rem;
    padding: 0.75rem 0.9rem;
    background: var(--neon-dim);
    border-left: 3px solid var(--neon);
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}
.legal-section {
    margin-bottom: 1.75rem;
}
.legal-section h2 {
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neon);
}
.legal-section p {
    margin: 0 0 0.85rem;
    line-height: 1.65;
    color: var(--text-soft);
}
.legal-nav {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    font-size: 0.88rem;
}
.legal-nav a { color: var(--neon); }
.legal-nav-here { color: var(--muted); }

.flash {
    margin: 0 1.5rem;
    padding: 0.7rem 1rem;
    background: var(--neon-dim);
    border-left: 3px solid var(--neon);
    color: var(--neon);
    font-weight: 600;
}
.flash-mail a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.flash-mail a:hover { color: var(--text); }

.hero {
    color: #f2f2f2;
    position: relative;
    min-height: min(86vh, 820px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--ink);
}
.hero-media {
    position: absolute;
    inset: 0;
}
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}
.hero-media img + img {
    opacity: 0;
    animation: hero-crossfade 20s ease-in-out infinite;
}
@keyframes hero-crossfade {
    0%, 42% { opacity: 0; }
    50%, 92% { opacity: 1; }
    100% { opacity: 0; }
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(5, 5, 5, 0.15) 55%, #050505 100%);
}
.hero-copy {
    color: #f2f2f2;
    position: relative;
    z-index: 1;
    max-width: 38rem;
    padding: 0 1.5rem 3.5rem;
}
.eyebrow {
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin: 0 0 0.7rem;
}
.hero .lede { color: #d8d8d8; }
.hero .btn-ghost { color: #fff; border-color: #4a4a4a; }
.lede {
    color: var(--text-soft);
    max-width: 32rem;
    margin: 0.9rem 0 1.5rem;
}
.hero .btn-row { margin-top: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 1.15rem;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-neon {
    background: var(--neon-fill);
    color: var(--on-neon);
    box-shadow: 0 0 22px var(--accent-glow);
}
.btn-ghost {
    background: transparent;
    color: var(--text-strong);
    border: 1px solid var(--grey-3);
    clip-path: none;
}
.btn-sm { font-size: 1rem; padding: 0.45rem 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: none;
}

.ticker {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #050505;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: tick var(--tick-time, 40s) linear infinite;
    will-change: transform;
}
.ticker-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 2.2rem;
    padding: 0.7rem 2.2rem 0.7rem 0;
}
.ticker-group a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 36px;
    text-decoration: none;
    opacity: 0.9;
}
.ticker-group a:hover,
.ticker-group a:focus-visible {
    opacity: 1;
    text-decoration: none;
}
.ticker-group img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 118px;
    object-fit: contain;
}
@keyframes tick {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--tick-shift, -50%), 0, 0); }
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .hero-media img + img { animation: none; opacity: 0; }
    .ticker-track { animation: none; }
    .ticker-quotes .ticker-group[aria-hidden="true"] { display: none; }
    .ticker-movers .ticker-group[aria-hidden="true"] { display: none; }
    .ticker-quotes .ticker-track,
    .ticker-movers .ticker-track {
        flex-wrap: wrap;
        width: 100%;
    }
    .ticker-movers .ticker-group {
        display: contents;
    }
    .ticker-movers .ticker-track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .ticker-movers .product-card {
        flex: none;
        width: auto;
    }
}
@media (prefers-reduced-motion: reduce) and (max-width: 980px) {
    .ticker-movers .ticker-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
    .ticker-movers .ticker-track { grid-template-columns: 1fr; }
}

.shop, .cart-wrap, .status-card, .page-hero, .form-wrap, .setups-wrap, .setup-detail, .wrap {
    width: min(var(--page), calc(100% - 2.4rem));
    margin: 0 auto;
}
.page-hero { padding: 2.5rem 0 0.5rem; }
.page-hero .btn-row { margin-top: 0.9rem; }
.about-alert {
    margin: 1rem 0 0;
    max-width: 46rem;
}
.about-alert a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.about-alert a:hover { color: var(--text); }
.shop { padding: 3.5rem 0 4rem; }
.shop-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}
.shop-note { max-width: 22rem; }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}
.filter {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 0.4rem 0.75rem;
    font-family: var(--body);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
    cursor: pointer;
}
.filter.is-on,
.filter:hover {
    color: var(--on-neon);
    background: var(--neon-fill);
    border-color: var(--neon);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.card.is-hidden { display: none; }
.photo {
    position: relative;
    aspect-ratio: 1;
    background:
        linear-gradient(160deg, #4a4a4a 0%, #2f2f2f 42%, #3a3a3a 100%);
    overflow: hidden;
}
.photo-ring {
    position: absolute;
    inset: 16%;
    border: 2px solid #555;
    border-radius: 50%;
    box-shadow: inset 0 0 0 14px #333, 0 0 0 1px #2a2a2a;
}
.photo-ring::after {
    content: "";
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: #262626;
    border: 1px solid #4d4d4d;
}
.photo-well {
    position: absolute;
    left: 0.7rem;
    bottom: 0.65rem;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b0b0b0;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.15rem 0.4rem;
}
.card:hover {
    border-color: var(--accent-line);
    box-shadow: 0 0 0 1px var(--accent-glow);
}
.card:hover .photo {
    box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.35);
}
.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body { padding: 0.9rem 0.95rem 1rem; }
.card-cat {
    margin: 0 0 0.2rem;
    color: var(--neon);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.7rem;
}
.setup-role {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.68rem;
}
.setup-role.is-daily { color: var(--neon); }
.setup-role.is-previous { color: var(--muted); }
.lede .setup-role { letter-spacing: 0.1em; }
.card-tag, .card-specs {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.9rem;
}
.price {
    font-family: var(--display);
    font-size: 1.7rem;
    margin: 0;
    letter-spacing: 0.04em;
}

.flagship, .shop-series {
    padding: 3rem 0 1rem;
}
.about-tease {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2.6rem 0 1.2rem;
}
.about-tease-shot {
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    max-height: 15.5rem;
    background: var(--well);
}
.about-tease-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
.about-tease-copy h2 {
    margin: 0.15rem 0 0.7rem;
}
.about-tease-copy p {
    margin: 0 0 0.85rem;
    color: var(--text-soft);
}
.about-towns {
    margin: 0 0 1rem;
    color: var(--neon);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    line-height: 1.55;
    font-weight: 600;
}
.about-story {
    overflow: hidden;
    padding: 0.4rem 0 2.2rem;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.65;
}
.about-shot {
    float: left;
    width: min(38%, 17.5rem);
    height: 12rem;
    object-fit: cover;
    object-position: center 40%;
    margin: 0.15rem 1.25rem 0.7rem 0;
    border: 1px solid var(--line);
    display: block;
}
.about-story p { margin: 0 0 1rem; }
.about-story p:last-child { margin-bottom: 0; }
.about-cover, .about-quotes { padding: 0 0 3rem; }
.about-map-frame {
    margin-top: 0.85rem;
    border: 1px solid var(--line);
    background: var(--well);
    height: 26rem;
}
.about-map-frame .leaflet-container {
    height: 100%;
    width: 100%;
    background: var(--well);
    font-family: var(--body);
}
.about-map-note { margin: 0.55rem 0 0; font-size: 0.82rem; }
.about-quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.ticker-quotes {
    margin: 0 0 1.4rem;
    border: 0;
    background: transparent;
}
.ticker-quotes .ticker-group {
    align-items: stretch;
    gap: 1rem;
    padding: 0.15rem 1rem 0.15rem 0;
}
.ticker-quotes blockquote {
    flex: 0 0 min(24rem, 82vw);
    width: min(24rem, 82vw);
    margin: 0;
    padding: 1rem 1.05rem 1.05rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.ticker-quotes p,
.about-quote-grid p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.5;
}
.ticker-quotes footer,
.about-quote-grid footer {
    margin-top: 0.85rem;
    color: var(--neon);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.flagship-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
    align-items: start;
}
.flagship-hero {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: linear-gradient(160deg, #4a4a4a 0%, #2f2f2f 42%, #3a3a3a 100%);
    border: 1px solid var(--line);
}
.flagship-hero.is-empty {
    position: relative;
    display: grid;
    place-items: center;
}
.flagship-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.flagship-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--spoiler-bg);
    border: 1px solid var(--line);
}
.flagship-copy p {
    margin: 0 0 1rem;
    color: var(--text-soft);
}
.feature-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    columns: 2;
    gap: 1.2rem;
}
.feature-list li {
    padding: 0.28rem 0 0.28rem 0.9rem;
    position: relative;
    break-inside: avoid;
    color: var(--text-dim);
    font-size: 0.92rem;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 7px;
    height: 7px;
    background: var(--neon-fill);
    clip-path: polygon(55% 0, 18% 52%, 42% 52%, 30% 100%, 82% 42%, 56% 42%);
}
.power-line {
    font-family: var(--display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
    font-size: 1.25rem;
    margin: 0 0 1rem !important;
}
.size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.1rem;
}
.size-pills span {
    border: 1px solid var(--input-border);
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 2.5rem;
}
.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    padding-bottom: 2.2rem;
}
.card-link {
    color: inherit;
    text-decoration: none;
}
.card-link:hover { text-decoration: none; }
.card-link .card-body { padding: 0.45rem 0.55rem 0.6rem; }
.card-link h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}
.card-link .photo { aspect-ratio: 5 / 4; }
.card-link .price { font-size: 1.2rem; margin-top: 0.35rem; }
.start-price {
    margin: 0;
    color: var(--neon);
    white-space: nowrap;
}
.flagship-shop { margin: 0 0 1.5rem; }
.shop-series { padding: 1.6rem 0 0.4rem; }
.shop-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}
.shop-cats a {
    display: inline-block;
    border: 1px solid var(--grey-3);
    color: var(--nav-fg);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
}
.shop-cats a:hover,
.shop-cats a.is-on {
    color: var(--neon);
    border-color: var(--neon);
}
.shop-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
}
.shop-search-field { grid-column: 1 / -1; }
.shop-search-field input[type="search"] {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--input-bg);
    color: var(--text-strong);
    border: 1px solid var(--input-border);
    padding: 0.5rem 0.6rem;
    font: 500 1rem var(--body);
    border-radius: 0;
}
.shop-search-field input[type="search"]::placeholder { color: var(--muted); }
.shop-search-field input[type="search"]::-webkit-search-decoration,
.shop-search-field input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.shop-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 0 2rem;
    color: var(--muted);
}
.shop-pages a { color: var(--neon); }
.product-copy { margin: 1rem 0 0; color: var(--text-soft); }
.product-copy p { margin: 0 0 0.7rem; }
.product-buy { display: grid; gap: 0.75rem; margin-top: 1rem; }
.setup-specs > .btn,
.setup-specs .product-buy .btn {
    width: 100%;
    box-sizing: border-box;
}
.coil-pick {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    display: grid;
    gap: 0.4rem;
}
.coil-pick legend {
    padding: 0 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.coil-pick label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-strong);
}
.setup-specs .feature-list { columns: 1; }
.setup-specs .price { margin: 0 0 0.4rem; }

.strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.strip-item {
    padding: 1.4rem 1.5rem;
    border-right: 1px solid var(--line);
}
.strip-item:last-child { border-right: 0; }
.strip-item strong {
    display: block;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.strip-item span { color: var(--muted); font-size: 0.92rem; }

.muted { color: var(--muted); }
.empty, .status-card {
    padding: 2rem 0 4rem;
}
.empty p, .status-card p { font-size: 1.1rem; }
.cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 1.2rem;
    padding-bottom: 4rem;
}
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-photo {
    width: 92px;
    height: 92px;
    background: linear-gradient(160deg, #4a4a4a, #2c2c2c);
    border: 1px solid var(--input-dashed);
    overflow: hidden;
}
.cart-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-info h2 { font-size: 1.6rem; }
.qty-form {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.qty-form input[type="number"] {
    width: 4.2rem;
    background: var(--input-bg);
    color: var(--text-strong);
    border: 1px solid var(--input-border);
    padding: 0.4rem 0.45rem;
    font: inherit;
}
.cart-line { text-align: right; }
.link-danger {
    background: none;
    border: 0;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
    padding: 0;
}
.summary {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 1.2rem;
    height: fit-content;
    position: sticky;
    top: 4.5rem;
}
.summary h2 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.sum-row {
    display: flex;
    justify-content: space-between;
    margin: 0.45rem 0;
}
.sum-row.is-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
}
.ship-tax-form {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1rem;
}
.ship-tax-label {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.ship-tax-value {
    margin: 0;
    font: 500 1.05rem var(--body);
    color: var(--fg);
}
.ship-tax-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.ship-tax-form select,
.ship-tax-form input,
[data-state-mount] select,
[data-state-mount] input {
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.55rem 0.65rem;
    font: 500 1rem var(--body);
    text-transform: none;
    letter-spacing: 0;
    width: 100%;
}
[data-state-mount] {
    display: block;
}
.summary-note { font-size: 0.88rem; }
.warn {
    background: var(--warn-bg);
    color: var(--warn-fg);
    padding: 0.7rem 0.8rem;
    font-size: 0.88rem;
}
.warn code { color: var(--text-strong); }
.rate-limit-429-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}
.rate-limit-429 {
    width: min(28rem, calc(100vw - 2rem));
    text-align: center;
    padding: 2rem 1rem;
}
.rate-limit-429-code {
    margin: 0 0 0.35rem;
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--neon);
    line-height: 1;
}
.rate-limit-429 h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    color: var(--text-strong);
}
.rate-limit-429 p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}
.rate-limit-429-retry { margin-top: 0.85rem !important; font-size: 0.92rem; }
.btn-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.back-link {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.receipt {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    border-top: 1px solid var(--line);
}
.receipt li {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.order-card {
    margin: 0;
    padding: 1rem 1.1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.order-card header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.order-card header strong { color: var(--neon); }
.order-card .receipt { margin: 0.4rem 0 0.65rem; }
.order-total {
    margin: 0;
    font-weight: 700;
}
.order-list-desk {
    gap: 0;
    border: 1px solid var(--line);
    background: var(--panel);
}
.order-line-status p { margin: 0; }
.order-line-status .muted {
    margin-top: 0.2rem;
    font-size: 0.78rem;
}
.order-line.is-focus {
    box-shadow: inset 3px 0 0 var(--neon);
}
.order-list-head,
.order-line-bar {
    display: grid;
    grid-template-columns: 7.4rem minmax(7.5rem, 0.9fr) minmax(12rem, 1.5fr) 6.4rem 6.2rem 7.4rem;
    gap: 0.65rem 0.8rem;
    align-items: center;
}
.order-list-head {
    padding: 0.65rem 0.85rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}
.order-list-head .num,
.order-line-total {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.order-line {
    margin: 0;
    border-bottom: 1px solid var(--line);
}
.order-line:last-child { border-bottom: 0; }
.order-line-bar { padding: 0.85rem; }
.order-line-id .order-ref {
    margin: 0;
    display: block;
}
.order-line-ship p { margin: 0 0 0.3rem; }
.order-line-ship p:last-child { margin-bottom: 0; }
.order-line-total { margin: 0; font-weight: 700; }
.order-status {
    display: inline-block;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}
.order-status.is-paid { color: var(--neon); }
.order-status.is-pending { color: var(--warn-fg); }
.order-status.is-refunded,
.order-status.is-voided,
.order-status.is-canceled { color: var(--muted); }
.order-track-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--neon);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    word-break: break-all;
}
.order-track-link:hover { color: var(--text); }
.order-track-plain { margin: 0; font-weight: 600; }
.order-invoice-toggle {
    cursor: pointer;
    user-select: none;
    justify-self: end;
}
.order-invoice-toggle::after {
    content: " ▾";
    font-size: 0.75em;
    opacity: 0.75;
}
.order-line:has(.order-invoice-check:checked) .order-invoice-toggle {
    color: var(--on-neon);
    background: var(--neon);
    border-color: var(--neon);
}
.order-invoice-panel {
    display: none;
    padding: 0 0.85rem 1rem;
}
.order-line:has(.order-invoice-check:checked) .order-invoice-panel {
    display: block;
}
.html-invoice {
    margin: 0;
    padding: 1.1rem 1.15rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.html-invoice-head {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.html-invoice-store {
    margin: 0 0 0.2rem;
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.html-invoice-meta {
    text-align: right;
}
.html-invoice-kicker {
    margin: 0 0 0.2rem;
    font-family: var(--display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon);
    font-size: 1.2rem;
}
.html-invoice-meta p { margin: 0; }
.html-invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin: 0 0 1rem;
}
.html-invoice-parties p { margin: 0.15rem 0 0; }
.html-invoice-parties .card-cat { margin: 0 0 0.35rem; }
.html-invoice .admin-table-wrap {
    margin: 0 0 0.85rem;
    border-color: var(--line);
}
.html-invoice-totals {
    margin: 0 0 0 0;
    margin-left: auto;
    width: min(16rem, 100%);
}
.html-invoice-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.28rem 0;
}
.html-invoice-totals dt,
.html-invoice-totals dd {
    margin: 0;
}
.html-invoice-totals .is-total {
    margin-top: 0.25rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--line);
    font-weight: 700;
}
@media (max-width: 860px) {
    .order-list-desk {
        gap: 0.75rem;
        border: 0;
        background: transparent;
    }
    .order-list-head { display: none; }
    .order-line {
        border: 1px solid var(--line);
        background: var(--panel);
    }
    .order-line-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "id status"
            "ship ship"
            "total total"
            "actions invoice";
        gap: 0.55rem 0.7rem;
        align-items: start;
        padding: 1rem 1rem 1.05rem;
    }
    .order-line-status { grid-area: status; justify-self: end; text-align: right; }
    .order-actions { grid-area: actions; width: 100%; }
    .order-line-id { grid-area: id; }
    .order-line-ship { grid-area: ship; }
    .order-line-total {
        grid-area: total;
        text-align: left;
        font-size: 1.15rem;
    }
    .order-status {
        grid-area: status;
        justify-self: end;
        align-self: start;
        font-size: 0.8rem;
        padding-top: 0.2rem;
    }
    .order-invoice-toggle {
        grid-area: invoice;
        justify-self: stretch;
        width: 100%;
        box-sizing: border-box;
    }
    .order-actions .btn,
    .order-invoice-toggle,
    .order-track-link {
        min-height: 2.75rem;
    }
    .order-actions .admin-nav-drop-trigger,
    .order-actions .btn {
        width: 100%;
        box-sizing: border-box;
    }
    .order-track-link {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0.45rem;
        padding: 0.65rem 0.8rem;
        background: var(--neon-dim);
        border: 1px solid var(--accent-line);
        text-decoration: none;
        justify-content: space-between;
        gap: 0.6rem;
    }
    .order-track-link::after {
        content: "↗";
        flex: 0 0 auto;
        opacity: 0.8;
    }
    .order-invoice-panel { padding: 0 0.75rem 0.85rem; }
    .html-invoice { padding: 0.95rem 0.9rem 1rem; }
    .html-invoice-head,
    .html-invoice-parties { grid-template-columns: 1fr; }
    .html-invoice-head { flex-direction: column; }
    .html-invoice-meta { text-align: left; }
    .html-invoice-totals { width: 100%; margin-left: 0; }
    .html-invoice .admin-table th:nth-child(2),
    .html-invoice .admin-table td:nth-child(2) { display: none; }
}

.form-wrap {
    padding: 0 0 4rem;
}
.mail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.mail-meta dt {
    color: var(--neon);
    font-family: var(--display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.mail-meta dd {
    margin: 0.15rem 0 0;
    font-size: 1.15rem;
}
.profile-pill {
    background: var(--neon-dim);
    border-left: 3px solid var(--neon);
    padding: 0.65rem 0.85rem;
    margin: 1rem 0;
}
.stack-form fieldset {
    border: 1px solid var(--line);
    margin: 0 0 1.1rem;
    padding: 1rem 1rem 1.1rem;
}
.stack-form legend {
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon);
    padding: 0 0.4rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}
.stack-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.stack-form label.full { margin-top: 0.85rem; }
.stack-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.stack-form select,
.stack-form textarea {
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.55rem 0.65rem;
    font: 500 1rem var(--body);
    text-transform: none;
    letter-spacing: 0;
    width: 100%;
}
.stack-form input[type="checkbox"],
.stack-form input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    accent-color: var(--neon);
    flex: 0 0 auto;
}
.stack-form label.check-label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    gap: 0.55rem;
    margin-top: 0.85rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-strong);
    cursor: pointer;
}
.stack-form textarea { resize: vertical; min-height: 8rem; }
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.page-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
}
.opt { text-transform: none; letter-spacing: 0; color: var(--nav-muted); }
.file-label input[type="file"] {
    margin-top: 0.4rem;
    padding: 0.45rem;
    border: 1px dashed var(--input-dashed);
}
.photo-slots {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.9rem;
}
.photo-slots.is-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photo-slot {
    aspect-ratio: 1;
    background: linear-gradient(160deg, #4a4a4a 0%, #2f2f2f 42%, #3a3a3a 100%);
    border: 1px solid var(--input-dashed);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--text-faint);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.8rem 0 1rem;
}
.setup-thumb-cell {
    position: relative;
    min-width: 0;
}
.setup-thumb-cell .photo-rotate-dock {
    right: 0.2rem;
    bottom: 0.2rem;
}
.setup-thumb-cell .photo-rotate-dock button {
    width: 1.55rem;
    height: 1.55rem;
}
.setup-thumb-cell .photo-rotate-dock svg {
    width: 0.85rem;
    height: 0.85rem;
}
.thumb-row img, .thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--spoiler-bg);
    display: block;
}
.thumb {
    padding: 0;
    border: 1px solid var(--input-border);
    background: var(--well);
    cursor: pointer;
}
.thumb.is-on { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon); }

.wall-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
    gap: 0.75rem 0.85rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.wall-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.wall-filters select {
    background: var(--input-bg);
    color: var(--text-strong);
    border: 1px solid var(--input-border);
    padding: 0.5rem 0.6rem;
    font: 500 1rem var(--body);
    width: 100%;
}
.wall-filters select:disabled { opacity: 0.45; }
.wall-count { margin: 0 0 1rem; }
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 0 3.5rem;
    align-items: center;
}
.pager a, .pager span {
    min-width: 2.2rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--line);
    text-align: center;
    color: var(--text-strong);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pager a:hover, .pager .is-on {
    background: var(--neon-fill);
    border-color: var(--neon);
    color: var(--on-neon);
}
.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 3.5rem;
}
.home-wall { padding-bottom: 0; }
.wall-cta { margin: 1.2rem 0 0; }
.pay-tease { padding-top: 2.2rem; }
.pay-tease-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    padding-bottom: 0.4rem;
}
.pay-tease-card {
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
}
.pay-tease-card h3 {
    margin: 0 0 0.4rem;
    font-family: var(--body);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}
.pay-tease-card .card-body p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}
.pay-tease-card .photo {
    aspect-ratio: 16 / 10;
}
.pay-tease-card.is-klarna {
    border-color: var(--accent-line);
}
@media (max-width: 860px) {
    .pay-tease-grid { grid-template-columns: 1fr; }
}
.ride-tease { padding: 2.2rem 0 2.4rem; }
.ride-tease h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ride-tease .shop-head { margin-bottom: 0.85rem; }
.ride-tease .home-wall {
    width: 100%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: none;
    margin: 0;
}
.ride-tease .setup-shot { aspect-ratio: 5 / 4; }
.ride-tease .setup-shot .photo-ring { inset: 28%; }
.ride-tease .photo-well { font-size: 0.72rem; }
.ride-tease .card-body { padding: 0.4rem 0.5rem 0.5rem; }
.ride-tease .card-body h3 {
    font-family: var(--body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}
.ride-tease .card-tag { font-size: 0.75rem; margin-top: 0.15rem; }
.setup-card {
    background: var(--panel);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.setup-card-hit { color: inherit; text-decoration: none; display: block; }
.setup-card .card-body h3 a { color: inherit; text-decoration: none; }
.setup-card .card-body h3 a:hover { color: var(--neon); }
.card-cat .user-link { color: inherit; }
.setup-card:hover {
    text-decoration: none;
    border-color: var(--accent-line);
    box-shadow: 0 0 0 1px var(--accent-glow);
}
.setup-shot {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, #4a4a4a 0%, #2f2f2f 42%, #3a3a3a 100%);
    overflow: hidden;
}
.setup-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.setup-shot .photo-ring { inset: 22%; }
.setup-detail {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 1.25rem;
    padding-bottom: 4rem;
    align-items: start;
}
.setup-main {
    background: var(--panel);
    border: 1px solid var(--line);
    min-height: 280px;
}
.setup-main .photo-rotate-stage {
    max-width: none;
    width: 100%;
}
.setup-main img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--well);
}
.setup-specs {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 1.15rem 1.2rem 1.3rem;
}
.setup-specs h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.setup-specs dl { margin: 0; }
.setup-specs dl > div {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.4rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
}
.setup-specs dt {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.setup-specs dd { margin: 0; }
.setup-story {
    margin: 1rem 0;
    color: var(--text-dim);
}

.forum-online {
    margin: 2.2rem auto 0;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.forum-online-kicker {
    margin: 0 0 0.25rem;
    color: var(--neon);
    font-family: var(--display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.forum-online-count {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.85rem;
}
.forum-online-count a { color: var(--neon); }
.forum-online-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.forum-online-list li {
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--accent-line);
    color: var(--neon);
    font-size: 0.88rem;
}
.forum-online-list a { color: inherit; }

.analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.analytics-table-wrap {
    overflow-x: auto;
}
.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.analytics-table th,
.analytics-table td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    color: var(--text-soft);
}
.analytics-table th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}
.analytics-table th:last-child,
.analytics-table td:last-child {
    width: 5rem;
    text-align: right;
    white-space: nowrap;
    color: var(--muted);
}
.analytics-table td:first-child {
    word-break: break-word;
}
.analytics-table tbody tr:last-child td { border-bottom: 0; }
.analytics-table a.analytics-link {
    color: var(--neon);
    text-decoration: none;
}
.analytics-table a.analytics-link:hover {
    text-decoration: underline;
}
.analytics-table .analytics-plain {
    color: var(--text-soft);
}
@media (max-width: 900px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

.site-foot {
    background:
        repeating-linear-gradient(-45deg, var(--foot-a) 0 10px, var(--foot-b) 10px 20px);
    border-top: 1px solid var(--line);
    padding: 2.4rem 1.5rem 1.4rem;
    margin-top: 1rem;
}
.foot-grid {
    width: min(var(--page), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1fr;
    gap: 1.5rem;
}
.foot-mark {
    font-family: var(--display);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}
.foot-label {
    font-family: var(--display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon);
    margin: 0 0 0.4rem;
}
.site-foot a, .site-foot p { display: block; color: var(--text-dim); }
.site-foot .foot-copy {
    width: min(var(--page), 100%);
    margin: 1.8rem auto 0;
    color: var(--nav-muted);
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}
.foot-copy-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 1rem;
    min-width: 0;
}
.foot-copy span { display: inline; }
.foot-legal {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
}
.foot-legal a {
    display: inline;
    color: var(--text-dim);
    text-decoration: none;
}
.foot-legal a:hover { color: var(--neon); }
.foot-legal span[aria-hidden="true"] {
    color: var(--text-faint);
    user-select: none;
}
.site-foot .foot-copy .built-by {
    display: inline;
    margin-left: auto;
    text-align: right;
    color: var(--text-faint);
    flex: 0 0 auto;
}
.site-foot .foot-copy .built-by:hover { color: var(--neon); }

@media (max-width: 980px) {
    .grid, .setup-grid, .series-grid, .product-grid, .account-ride-grid, .garage-grid, .admin-cards { grid-template-columns: repeat(2, 1fr); }
    .sales-kpis, .tax-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sales-tools { grid-template-columns: 1fr; }
    .ride-tease .home-wall { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .strip, .cart-layout, .foot-grid, .form-grid, .mail-meta, .setup-detail, .flagship-layout, .about-tease, .about-quote-grid { grid-template-columns: 1fr; }
    .about-shot {
        float: none;
        width: 100%;
        max-width: none;
        height: 12.5rem;
        margin: 0 0 1rem;
    }
    .feature-list { columns: 1; }
    .wall-filters, .shop-filters { grid-template-columns: 1fr 1fr; }
    .page-hero-row { flex-direction: column; align-items: start; }
    .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .shop-head { flex-direction: column; align-items: start; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .qty-form, .cart-line { grid-column: 1 / -1; }
    .photo-slots, .thumb-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .forum-hot a:not(.avatar-link):not(.user-link) { grid-template-columns: 2rem 1fr; }
    .forum-hot-meta { grid-column: auto; white-space: nowrap; }
    .forum-hot.is-threads li { display: flex; }
    .forum-hot.is-threads .forum-hot-main { grid-template-columns: unset; }
    .forum-hot.is-threads .forum-hot-meta { padding: 0; white-space: nowrap; }
    .forum-tease .forum-hot.is-threads li {
        display: grid;
        grid-template-columns: 2.35rem 1fr;
        align-items: start;
        gap: 0.45rem 0.75rem;
        padding: 0.85rem 0.9rem;
    }
    .forum-tease .forum-hot.is-threads .avatar-link {
        grid-row: 1 / 3;
        align-self: start;
        margin-top: 0.15rem;
    }
    .forum-tease .forum-hot.is-threads .forum-hot-main {
        grid-column: 2;
        min-width: 0;
    }
    .forum-tease .forum-hot-path {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .forum-tease-split { grid-template-columns: 1fr; }
    .forum-tease .forum-hot-path strong {
        order: -1;
        font-size: 1.08rem;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .forum-tease .forum-hot-crumb {
        font-size: 0.75rem;
    }
    .forum-tease .forum-hot.is-threads .forum-hot-meta {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        white-space: normal;
        line-height: 1.45;
        padding-top: 0.15rem;
    }
    .forum-hot.is-boards .is-sub {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.75rem 0.9rem 0.8rem 1rem;
    }
    .forum-hot.is-boards .is-sub .forum-hot-main {
        display: flex;
        grid-template-columns: none;
        padding: 0;
    }
    .forum-hot.is-boards .forum-hot-meta,
    .forum-hot.is-boards .is-sub .forum-hot-meta {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        white-space: normal;
        line-height: 1.45;
        padding-left: 1.8rem;
    }
    .forum-hot-last {
        max-width: none;
        white-space: normal;
    }
    .forum-topic-row { flex-wrap: wrap; }
    .forum-topic-title { flex: 1 1 12rem; }
    .forum-topic-meta {
        padding-left: 1.8rem;
        justify-items: start;
        white-space: normal;
    }
    .nav { flex-wrap: wrap; }
    .nav-burger { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        right: 0.75rem;
        left: auto;
        width: min(18rem, calc(100vw - 1.5rem));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0.45rem 0;
        background: var(--panel);
        border: 1px solid var(--line);
        box-shadow: 0 12px 32px var(--shadow);
        z-index: 40;
    }
    .nav.is-open .nav-links { display: flex; }
    .nav-links a,
    .nav-links .theme-toggle,
    .nav-links .nav-drop,
    .nav-links .nav-search {
        width: 100%;
        padding: 0.7rem 1rem;
        box-sizing: border-box;
    }
    .nav-links .nav-account {
        width: 100%;
        padding: 0.45rem 1rem;
        box-sizing: border-box;
    }
    .nav-links .nav-account .nav-msg {
        width: 2rem;
        height: 2rem;
        padding: 0;
        flex: 0 0 auto;
    }
    .nav-links .nav-account .nav-drop {
        width: auto;
        flex: 1;
        padding: 0.2rem 0;
    }
    .nav-links .theme-toggle {
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        text-align: left;
        justify-content: flex-start;
    }
    .nav-sep { display: none; }
    .nav-search {
        flex-wrap: nowrap;
        align-items: center;
    }
    .nav-search-form {
        flex: 1;
        min-width: 0;
        padding-left: 0;
    }
    .nav-search-form input[type="search"] {
        flex: 1;
        width: auto;
    }
    .nav-search-results {
        left: auto;
        right: 0;
        min-width: min(20rem, calc(100vw - 2rem));
    }
    .review-item-body {
        margin-left: 0;
    }
    .review-reply {
        margin-left: 0;
    }
    .review-reply .review-item-body {
        margin-left: 0;
    }
    .nav-drop-menu {
        position: static;
        box-shadow: none;
        border: 0;
        background: transparent;
        min-width: 0;
    }
}
@media (max-width: 560px) {
    .grid, .setup-grid, .form-grid, .wall-filters, .series-grid, .product-grid, .admin-cards, .merge-choices, .user-card { grid-template-columns: 1fr; }
    .ride-tease .home-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
    .hero { min-height: 70vh; }
    .ticker-group { gap: 1.6rem; padding-right: 1.6rem; }
    .ticker-group a { height: 28px; }
    .ticker-group img { height: 26px; max-width: 96px; }
    .ticker-movers .ticker-group { gap: 0.7rem; padding-right: 0.7rem; }
    .ticker-movers .ticker-group a,
    .ticker-movers .card-link { height: auto; }
    .ticker-movers .ticker-group img {
        height: 100%;
        width: 100%;
        max-width: none;
    }
    .ticker-movers .product-card {
        flex-basis: 12.75rem;
        width: 12.75rem;
    }
    .nav { padding: 0.7rem 1rem; }
    .site-notice { margin-left: -1rem; margin-right: -1rem; }
    .photo-slots, .thumb-row, .flagship-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.es-bot {
    position: fixed;
    right: 0;
    bottom: 1.15rem;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
    pointer-events: none;
}
.es-bot-tab,
.es-bot-panel { pointer-events: auto; }
.es-bot-tab {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: var(--neon-fill);
    color: var(--on-neon);
    border: 0;
    border-radius: 0.45rem 0 0 0.45rem;
    padding: 0.95rem 0.42rem;
    font: 700 1.05rem var(--display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: -4px 4px 18px var(--shadow);
}
.es-bot-tab:hover { filter: brightness(1.05); }
.es-bot-panel {
    width: min(26rem, calc(100vw - 1.2rem));
    max-height: min(36rem, calc(100vh - 5.5rem));
    background: var(--panel);
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 0.7rem 0 0 0.7rem;
    box-shadow: -10px 12px 40px var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.es-bot-panel[hidden] { display: none; }
.es-bot-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem 0.55rem;
    border-bottom: 1px solid var(--line);
}
.es-bot-kicker {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.es-bot-name {
    margin: 0.1rem 0 0;
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neon);
    line-height: 1;
}
.es-bot-head-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}
.es-bot-clear {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1.2;
}
.es-bot-clear:hover {
    color: var(--neon);
    border-color: var(--neon);
}
.es-bot-x {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.2rem;
}
.es-bot-x:hover { color: var(--text); }
.es-bot-disclaimer {
    margin: 0;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    color: var(--muted);
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.es-bot-disclaimer a { color: var(--neon); }
.es-bot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
}
.es-bot-chips button,
.es-bot-chip-link {
    background: var(--well);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font: 600 0.78rem var(--body);
    cursor: pointer;
    text-decoration: none;
}
.es-bot-chips button:hover,
.es-bot-chip-link:hover {
    border-color: var(--neon);
    color: var(--neon);
}
.es-bot-modes {
    display: flex;
    gap: 0;
    padding: 0 0.9rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}
.es-bot-modes button {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font: 700 0.72rem var(--body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.7rem 0.45rem;
    cursor: pointer;
}
.es-bot-modes button.is-on {
    color: var(--neon);
    border-bottom-color: var(--neon);
}
.es-bot-modes button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.es-bot-xai-hint {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}
.es-bot-log {
    flex: 1;
    overflow: auto;
    overflow-x: hidden;
    padding: 0.7rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 10rem;
}
.es-bot-log[hidden] { display: none; }
.es-bot-msg {
    max-width: 100%;
    min-width: 0;
}
.es-bot-msg.is-bot { align-self: stretch; width: 100%; }
.es-bot-msg.is-user { align-self: flex-end; }
.es-bot-bubble {
    background: var(--well);
    border: 1px solid var(--line);
    padding: 0.55rem 0.7rem;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: normal;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.es-bot-msg.is-bot .es-bot-bubble { width: 100%; }
.es-bot-msg.is-user .es-bot-bubble {
    background: var(--neon-dim);
    border-color: var(--accent-line);
}
.es-bot-msg.is-pending .es-bot-bubble { color: var(--muted); }
.es-bot-live { display: flex; flex-direction: column; gap: 0.35rem; }
.es-bot-live-now {
    margin: 0;
    color: var(--text-soft);
}
.es-bot-live-log {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.85;
}
.es-bot-live-log li { margin: 0.12rem 0 0; }
.es-bot-src {
    display: inline-block;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 0.35rem;
}
.es-bot-src.is-local { color: var(--muted); }
.es-bot-src.is-web,
.es-bot-src.is-xai { color: var(--neon); }
.es-bot-dots span {
    animation: es-bot-dot 1.2s infinite;
    opacity: 0;
}
.es-bot-dots span:nth-child(2) { animation-delay: 0.2s; }
.es-bot-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes es-bot-dot {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}
.es-bot-via {
    margin: 0.45rem 0 0;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.es-bot-bubble a,
.es-bot-bubble a:hover,
.es-bot-bubble a:focus-visible,
.es-bot-msg-links a,
.es-bot-msg-links a:hover,
.es-bot-msg-links a:focus-visible {
    color: var(--neon);
    text-decoration: none;
    border-bottom: 0;
    box-shadow: none;
}
.es-bot-section {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    min-width: 0;
}
.es-bot-rides {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    max-width: 100%;
}
.es-bot-ride {
    display: block;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg);
    text-decoration: none;
}
.es-bot-ride:hover,
.es-bot-ride:focus-visible {
    text-decoration: none;
    border-color: var(--neon);
}
.es-bot-ride img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.es-bot-link-kicker {
    margin: 0 0 0.28rem;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.es-bot-msg-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}
.es-bot-msg-links a {
    font-size: 0.85rem;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    max-width: 100%;
}
.es-bot-ext {
    margin-left: 0.3rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.es-bot-research {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--accent-line);
}
.es-bot-research-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.4rem;
}
.es-bot-research-kicker {
    margin: 0;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon);
    font-weight: 700;
}
.es-bot-research-x {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.1rem;
}
.es-bot-research-x:hover { color: var(--text); }
.es-bot-research-copy {
    margin: 0.35rem 0 0.55rem;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}
.es-bot-research-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.es-bot-research-actions .btn {
    font-size: 0.72rem;
    padding: 0.28rem 0.55rem;
}
.es-bot-research-out {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.9rem;
}
.es-bot-notes {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.35;
}
.es-bot-notes li {
    margin: 0.28rem 0 0;
    min-width: 0;
}
.es-bot-notes-skill {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.es-bot-form {
    display: flex;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem 0.8rem;
    border-top: 1px solid var(--line);
}
.es-bot-form input {
    flex: 1;
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.5rem 0.6rem;
    font: 500 0.95rem var(--body);
    min-width: 0;
}
@media print {
    .es-bot { display: none; }
}
@media (max-width: 640px) {
    .es-bot { bottom: 0; }
    .es-bot-panel {
        width: min(100vw - 2.6rem, 26rem);
        max-height: min(70vh, 34rem);
        border-radius: 0.7rem 0.7rem 0 0;
        border-right: 1px solid var(--line);
    }
}
.api-key-once label { margin: 0.75rem 0 0.35rem; }
.api-key-once input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92rem;
    word-break: break-all;
}
.admin-table tr.is-revoked td { color: var(--muted); opacity: 0.7; }
.mcp-setup {
    border: 1px solid var(--line);
    margin: 0 0 1.1rem;
    padding: 1rem 1rem 1.1rem;
}
.mcp-setup legend {
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon);
    padding: 0 0.4rem;
}
.mcp-setup label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.85rem;
}
.mcp-setup input,
.mcp-setup textarea {
    background: var(--input-bg);
    color: var(--input-fg);
    border: 1px solid var(--input-border);
    padding: 0.55rem 0.65rem;
    font: 500 0.95rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-transform: none;
    letter-spacing: 0;
    width: 100%;
}
.mcp-setup textarea { resize: vertical; min-height: 12rem; }
.api-builders {
    width: 100%;
    margin: 0 0 1.4rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.api-builders > summary,
.api-builder > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-strong);
}
.api-builders > summary::-webkit-details-marker,
.api-builder > summary::-webkit-details-marker { display: none; }
.api-builders > summary::after,
.api-builder > summary::after {
    content: " ▾";
    opacity: 0.65;
}
.api-builders[open] > summary,
.api-builder[open] > summary { color: var(--neon); }
.api-builders-list { border-top: 1px solid var(--line); }
.api-builder { border-bottom: 1px solid var(--line); }
.api-builder:last-child { border-bottom: 0; }
.api-builder .mcp-setup {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    padding-top: 0.25rem;
}
.stack-form .admin-table-wrap { margin-top: 1rem; }
.stake-months {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.85rem 0 1rem;
}
.invoice-itemize-row td {
    background: rgba(0, 0, 0, 0.16);
    padding-top: 0;
}
.invoice-itemize {
    margin: 0.15rem 0 0.75rem;
}
.invoice-itemize summary {
    cursor: pointer;
    font-weight: 600;
}
.invoice-doc {
    margin: 0.85rem 0 0.35rem;
}
.invoice-doc p {
    margin: 0 0 0.45rem;
}
.invoice-lines {
    margin: 0;
}
.admin-table th.num,
.admin-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.desk-stake-line { margin: -0.6rem 0 1.3rem; }
.desk-movers { margin: 0 0 1.5rem; }
.desk-movers-scroll {
    max-height: 22rem;
    overflow: auto;
}
.desk-movers-scroll .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--panel);
}
.desk-movers-head {
    margin: 0 0 0.85rem;
}
.desk-movers-title { min-width: 0; }
.desk-movers-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.2rem;
}
.desk-movers-head h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.desk-movers-help {
    position: relative;
    flex-shrink: 0;
    margin: 0.2rem 0 0 auto;
}
.desk-movers-help summary {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--muted);
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    list-style: none;
}
.desk-movers-help summary::-webkit-details-marker { display: none; }
.desk-movers-help summary::marker { content: ""; }
.desk-movers-help summary:hover,
.desk-movers-help[open] summary {
    color: var(--on-neon);
    background: var(--neon);
    border-color: var(--neon);
}
.desk-movers-help-body {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 8;
    width: min(24rem, calc(100vw - 2rem));
    padding: 0.85rem 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px var(--shadow);
}
.desk-movers-help-body p {
    margin: 0 0 0.55rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}
.desk-movers-help-body p:last-child { margin-bottom: 0; }
.desk-mover-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}
.desk-mover-actions form { margin: 0; }
.orders-queue { margin: 0 0 1.6rem; }
.orders-queue-search { margin: 0 0 0.85rem; }
.orders-queue-search fieldset { margin-bottom: 0; }
.orders-queue-scroll {
    max-height: 22rem;
    overflow: auto;
}
.orders-queue-scroll .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--panel);
}
.orders-queue-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin: 0.65rem 0 0;
}
.orders-queue-pager-btns { display: flex; gap: 0.35rem; }
.orders-queue.is-busy { opacity: 0.7; }
.home-spotlights { padding-top: 2.4rem; }
.home-movers { padding-top: 2.2rem; }
.ticker-movers {
    overflow: hidden;
    border: none;
    background: transparent;
}
.ticker-movers .ticker-group {
    align-items: stretch;
    gap: 0.7rem;
    padding: 0 0.7rem 0.2rem 0;
}
.ticker-movers .product-card {
    flex: 0 0 16.35rem;
    width: 16.35rem;
}
.ticker-movers .ticker-group a,
.ticker-movers .card-link {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 1;
}
.ticker-movers .card {
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
}
.ticker-movers .card-link h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ticker-movers .ticker-group img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.desk-metrics-link { margin: -0.35rem 0 1.2rem; }
.metrics-note {
    margin: 0 0 1.2rem;
    padding: 0.95rem 1rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.metrics-note p { margin: 0 0 0.55rem; }
.metrics-note p:last-child { margin-bottom: 0; }
.metrics-note-meta { font-size: 0.85rem; }
.usage-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.usage-kpi strong { font-size: 1.55rem; }
.metrics-usage-chart { margin-bottom: 0; }
.desk-metrics + .desk-metrics { margin-top: 1.2rem; }
.desk-metrics {
    margin: 0 0 1.6rem;
    padding: 1rem 1.1rem 1.15rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.desk-metrics-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem 1.2rem;
    align-items: end;
    margin-bottom: 1rem;
}
.desk-metrics-head h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.desk-metrics-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}
.metrics-status { font-size: 0.82rem; }
.monitor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.monitor-card {
    padding: 0.85rem 0.95rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.monitor-card.is-down {
    border-color: var(--danger);
    box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.18);
}
.monitor-status {
    display: block;
    margin: 0.15rem 0 0.2rem;
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    color: var(--neon);
}
.monitor-card.is-down .monitor-status { color: var(--danger); }
.monitor-meta {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}
.monitor-spark {
    height: 3.2rem;
    margin-top: 0.55rem;
}
.desk-charts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.desk-chart-card {
    padding: 0.85rem 0.95rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.desk-chart-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
}
.metric-chart-wrap {
    position: relative;
    height: 12rem;
}
@media (max-width: 980px) {
    .desk-charts { grid-template-columns: 1fr; }
}
.shop-cats {
    max-height: 8.5rem;
    overflow-y: auto;
}
.inv-pull { margin: 0 0 1.2rem; }
.inv-filters { margin-bottom: 1rem; }
.inv-table td { vertical-align: middle; }
.inv-table tr.is-oos td { color: var(--muted); }
.inv-map { min-width: 6.4rem; }
.inv-map-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    width: 5.8rem;
    margin: 0;
}
.inv-map-suggest {
    display: block;
    font-size: 0.72rem;
    line-height: 1.2;
    color: var(--neon);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.inv-map-form input[type="number"],
.inv-map-form .btn {
    width: 100%;
    height: 2rem;
    box-sizing: border-box;
    margin: 0;
}
.inv-map-form input[type="number"] {
    background: var(--well);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 0 0.4rem;
    font-size: 0.95rem;
}
.inv-map-form .btn {
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}
.inv-map-form input[type="number"]:focus { border-color: var(--neon); }
.inv-table tr.is-oos .inv-map-form input { color: inherit; }
.inv-thumb {
    width: 3rem;
    padding-right: 0.35rem;
}
.inv-thumb img {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    background: #111;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 1.4rem;
    align-items: start;
}
@media (max-width: 860px) {
    .checkout-layout { grid-template-columns: 1fr; }
}
.order-ref {
    margin: 0 0 0.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.order-card .btn-row { margin-top: 0.75rem; }
.linkish {
    background: none;
    border: 0;
    padding: 0;
    color: var(--neon);
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}
dialog.wh-modal {
    position: fixed;
    inset: 0;
    z-index: 240;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 1.2rem;
    border: 0;
    background: rgba(0, 0, 0, 0.86);
    color: inherit;
    overflow: auto;
}
dialog.wh-modal[open] {
    display: grid;
    place-items: center;
}
dialog.wh-modal::backdrop {
    background: rgba(0, 0, 0, 0.86);
}
.wh-modal[hidden] { display: none !important; }
.wh-modal-card {
    width: min(100%, 44rem);
    max-height: min(90vh, 52rem);
    overflow: auto;
    background: var(--bg-2);
    border: 1px solid var(--neon);
    padding: 1.1rem 1.2rem 1.3rem;
    box-shadow: 0 0 48px rgba(198, 255, 0, 0.18);
}
.wh-modal-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    position: sticky;
    top: 0;
    background: var(--bg-2);
    z-index: 1;
    padding-bottom: 0.4rem;
}
.wh-draft {
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.86rem;
    line-height: 1.45;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 0.85rem 0.95rem;
    overflow: auto;
    min-height: 8rem;
    max-height: 18rem;
}
.wh-inbox {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.wh-msg {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.wh-msg header {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.wh-msg strong { color: var(--neon); }
.wh-msg pre {
    white-space: pre-wrap;
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
}
.card-element {
    min-height: 12rem;
    margin: 0.4rem 0 0.85rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--input-bg);
}

/* Comparison shopping modal */
.compare-modal-card {
    width: min(100%, 56rem);
}
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}
.compare-col h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    color: var(--neon);
}
.compare-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.compare-offer {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    gap: 0.65rem;
    padding: 0.55rem 0.6rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.compare-thumb {
    width: 4.2rem;
    height: 4.2rem;
    object-fit: contain;
    background: #111;
}
.compare-thumb.is-empty {
    display: block;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.04) 6px,
        transparent 6px,
        transparent 12px
    );
}
.compare-title {
    display: block;
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
}
.compare-title:hover {
    color: var(--neon);
}
.compare-price {
    margin: 0.25rem 0 0;
    font-weight: 700;
    color: var(--neon);
}
.compare-meta {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}
.compare-open {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
}
.compare-note {
    margin-top: 0.9rem;
    font-size: 0.8rem;
}
.compare-modal.is-busy .compare-modal-card {
    opacity: 0.92;
}
@media (max-width: 760px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
}


form.inline-form { display: inline; margin: 0; }


.es-photo-keep { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0.6rem 0 0.9rem; }
.es-photo-chip { display: grid; gap: 0.35rem; justify-items: center; margin: 0; font-size: 0.75rem; color: var(--muted); }
.es-photo-chip img { width: 4.5rem; height: 4.5rem; object-fit: cover; border: 1px solid var(--line); background: #111; }
.es-photo-urls { margin-top: 0.75rem; }
.es-photo-urls summary { cursor: pointer; color: var(--muted); }


/* Build a system */
.build-saved { margin: 0 0 1.5rem; }
.build-saved-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 0.75rem;
}
.build-saved-head .build-section-head { margin: 0; }
.build-saved-delete { margin: 0; }
.build-saved-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.build-saved-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem 0.9rem 2.55rem;
    border: 1px solid var(--line);
    background: var(--panel);
}
.build-saved-check {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    display: grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}
.build-saved-check input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--neon);
    cursor: pointer;
}
.build-saved-card.is-open { border-color: var(--neon); }
.build-saved-card.is-approved { box-shadow: 0 0 0 1px var(--accent-glow); }
.build-saved-card.is-disapproved { box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.35); }
.build-saved-copy { min-width: 0; flex: 1 1 16rem; }
.build-saved-copy strong {
    display: block;
    margin: 0.2rem 0 0.15rem;
    color: var(--text-strong);
}
.build-saved-parts {
    margin: 0.35rem 0 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.4;
}
.build-saved-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}
.build-status {
    display: inline-block;
    margin: 0;
    padding: 0.12rem 0.45rem;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}
.build-status[data-status="done"],
.build-status[data-status="approved"] {
    color: var(--neon);
    border-color: var(--neon);
    background: var(--neon-dim);
}
.build-status[data-status="open"],
.build-status[data-status="claimed"] { color: var(--text-soft); }
.build-status[data-status="cancelled"],
.build-status[data-status="disapproved"] {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(255, 107, 107, 0.12);
    opacity: 1;
}
.build-status-info { margin: 0.35rem 0 0; max-width: 42rem; }
#build-approved-note { margin: 0.35rem 0 0; }
.build-system { padding-bottom: 3rem; }
.build-system.is-busy { opacity: 0.72; pointer-events: none; }
.form-wrap.build-system > .stack-form.build-prompt {
    margin: 0 0 1.35rem;
}
.build-prompt-actions { margin-top: 0.85rem; }
.build-prompt-hint { margin: 0.65rem 0 0; max-width: 46rem; }
.build-prompt.stack-form textarea { min-height: 6.5rem; }
.build-board {
    display: block;
    margin: 0 0 1.25rem;
}
.build-board h2 {
    margin: 0.15rem 0 0.4rem;
    font-family: var(--display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.build-split {
    display: grid;
    grid-template-columns: minmax(0, 20%) minmax(0, 80%);
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    scroll-margin-top: 5.5rem;
}
.build-split > .build-total-card,
.build-split > .build-steps-card {
    box-sizing: border-box;
    width: auto;
    max-width: none;
}
.build-total-card,
.build-steps-card {
    min-width: 0;
    padding: 0.85rem 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.build-total-card {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    justify-items: stretch;
    scroll-margin-top: 5.5rem;
}
.build-total-card:focus {
    outline: 1px solid var(--neon);
    outline-offset: 3px;
}
.build-total-card form { width: 100%; }
.build-total-card .btn {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
}
.build-total-card strong {
    font-size: 1.55rem;
    color: var(--text-strong);
}
.build-total-note {
    margin: 0;
    font-size: 0.78rem;
}
#build-save-form {
    display: grid;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
}
#build-save-form[hidden] { display: none; }
.build-save-note {
    margin: 0;
    font-size: 0.78rem;
}
.build-review-form {
    margin: 0.35rem 0 0;
    display: grid;
    gap: 0.35rem;
}
.build-review-note {
    margin: 0;
    font-size: 0.78rem;
}
.build-steps-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 0;
    min-height: 100%;
    overflow: hidden;
}
.build-steps-card .card-cat { margin: 0 0 0.45rem; }
.build-steps {
    margin: 0;
    padding: 0 1rem 0.15rem 1.1rem;
    overflow-y: auto;
    min-height: 0;
}
.build-steps li { margin: 0 0 0.65rem; }
.build-steps strong {
    display: block;
    color: var(--text-strong);
}
.build-steps span { color: var(--text); }
.build-section-head {
    margin: 0 0 0.75rem;
}
.build-section-head .muted { margin: 0.2rem 0 0; }

.build-lineup-wrap { margin: 0 0 1.5rem; scroll-margin-top: 5.5rem; }
.build-lineup-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.05rem 0 0.15rem;
}
.build-lineup-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.3rem;
    padding: 0.4rem;
    background: var(--panel);
    border: 1px solid var(--line);
}
.build-lineup-card.is-off {
    display: none;
    opacity: 0.55;
    border-style: dashed;
}
.build-lineup-card .build-slot-include {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text-strong);
    cursor: pointer;
}
.build-lineup-card .build-slot-include input {
    width: auto;
    margin: 0;
    flex: 0 0 auto;
}
.build-lineup-label {
    font: 600 0.65rem var(--body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.build-lineup-body {
    display: grid;
    gap: 0.28rem;
    align-content: start;
    min-height: 0;
}
.build-lineup-body > .muted {
    font-size: 0.75rem;
}
.build-lineup-card .build-picked-shot {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-height: 4.4rem;
}
.build-lineup-card .build-picked-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
}
.build-change-link {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
    text-decoration: none;
}
.build-change-link:hover { text-decoration: underline; }

.build-picked-shot {
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--line);
}
.build-picked-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.build-picked-shot .photo-ring {
    width: 1.6rem;
    height: 1.6rem;
}
.build-picked-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}
.build-picked-copy strong {
    color: var(--text-strong);
    line-height: 1.25;
}
.build-picked-copy span { color: var(--muted); font-size: 0.82rem; }
.build-picked-copy .price {
    color: var(--neon);
    font-weight: 700;
}

.build-picker {
    margin: 0 0 1rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: 5.5rem;
}
.build-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0 0 0.75rem;
    -webkit-overflow-scrolling: touch;
}
.build-tab {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    padding: 0.45rem 0.75rem;
    font: 600 0.72rem var(--body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}
.build-tab.is-on,
.build-tab[aria-selected="true"] {
    border-color: var(--neon);
    color: var(--text-strong);
    box-shadow: inset 0 -2px 0 var(--neon);
}
.build-panel { margin: 0; }
.build-panel-head {
    margin: 0 0 0.75rem;
}
.build-add-slot { margin-top: 0.55rem; }
.build-panel-head h3 {
    margin: 0 0 0.25rem;
    font-family: var(--display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1.05rem;
}
.build-options-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.05rem 0 0.35rem;
}
.build-options-row .build-option,
.build-options-row .product-card {
    min-width: 0;
}
.build-options-row .card-link .photo {
    aspect-ratio: 1;
}
.build-options-row .card-link .card-body {
    padding: 0.35rem 0.4rem 0.45rem;
}
.build-options-row .card-link h3 {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.build-options-row .card-link .price {
    font-size: 0.92rem;
    margin-top: 0.2rem;
}
.build-options-row .card-tag {
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.build-option.is-on {
    outline: 2px solid var(--neon);
    outline-offset: 2px;
}
.build-option-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
}
.build-option-btn:focus-visible {
    outline: 2px solid var(--neon);
    outline-offset: 3px;
}
.build-option-link {
    display: inline-block;
    margin: 0.35rem 0 0 0.15rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.build-option-link:hover { color: var(--neon); }

.desk-builds { margin: 0 0 1.5rem; }
.desk-build-prompt {
    margin: 0.25rem 0 0;
    max-width: 22rem;
    white-space: pre-wrap;
}
.desk-build-parts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.desk-build-parts li { display: grid; gap: 0.05rem; }
.desk-build-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.desk-build-actions form { margin: 0; }

@media (max-width: 1100px) {
    .build-lineup-row,
    .build-options-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .build-lineup-row,
    .build-options-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .build-lineup-row,
    .build-options-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
