﻿:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #0f1114;
  --panel-2: #131519;
  --panel-3: #181a1f;
  --line: #262930;
  --line-soft: #1b1d22;
  --text: #f2f1f3;
  --muted: #91929a;
  --dim: #686a73;
  --accent: #e45760;
  --accent-strong: #ff747c;
  --accent-dark: #351418;
  --green: #74c9a4;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; letter-spacing: -.008em; }
::selection { color: #fff; background: #8d3038; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.055em; }
p { color: var(--muted); }
em { color: var(--accent); font-style: normal; }
.hidden, [hidden] { display: none !important; }
.mono, code, pre { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
main { min-height: calc(100vh - 72px); }
.topbar { position: relative; z-index: 40; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 72px; padding: 0 5.5%; border-bottom: 1px solid var(--line-soft); background: rgba(8, 9, 11, .9); }
body[data-page="/"] .topbar, body[data-page="/login"] .topbar, body[data-page="/signin"] .topbar, body[data-page="/register"] .topbar, body[data-page="/signup"] .topbar { position: fixed; top: 16px; left: 50%; width: min(1120px, calc(100% - 32px)); height: 56px; transform: translateX(-50%); border: 1px solid #2a2c32; border-radius: 17px; background: rgba(11, 12, 15, .84); box-shadow: 0 20px 70px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.07em; }
.brand strong { font-weight: 850; }
.brand span { padding: 3px 6px; border: 1px solid #512a35; border-radius: 4px; color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.topbar nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 11px; }
.topbar nav a { transition: color .18s, border-color .18s, background .18s; }
.topbar nav a:hover { color: var(--text); }
.nav-dashboard { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #35363d; border-radius: 9px; color: var(--text) !important; background: #15171b; }
.nav-dashboard span { color: var(--accent); font-size: 14px; }
.nav-signin { color: #d3d2d7 !important; }
.nav-user { display: inline-flex; align-items: center; gap: 7px; color: #d7d5da !important; }
.nav-user-dot, .user-dot { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--accent-dark); color: var(--accent-strong); font-size: 10px; font-weight: 800; }
.inline-form { display: inline-flex; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font-size: 12px; font-weight: 700; white-space: nowrap; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-1px); border-color: #555862; }
.button.primary { border-color: var(--accent); background: var(--accent); color: #1a1115; }
.button.primary:hover { border-color: var(--accent-strong); background: var(--accent-strong); }
.button.ghost { background: #15171b; }
.button.wide { width: 100%; }
.button[data-loading] { cursor: wait; transform: none; }
.button[data-loading] .button-spinner { color: #fff5f5; }
.button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spinner-rotate .72s linear infinite;
}
@keyframes button-spinner-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .button-spinner { animation: none; border-right-color: currentColor; opacity: .72; }
}
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 10px; }
.live-pill i, .hero-proof i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(116,201,164,.48); }
footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 34px 24px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 10px; }
footer span:first-child { color: #c4c2c8; font-weight: 800; letter-spacing: .1em; }

.landing-hero { position: relative; display: flex; min-height: 880px; align-items: center; justify-content: center; overflow: hidden; padding: 150px 24px 120px; }
.landing-hero-image, .landing-hero-shade { position: absolute; inset: 0; }
.landing-hero-image { background: url("/static/images/valhanna-hero.jpg") center right / cover no-repeat; filter: saturate(.72) contrast(1.03); }
.landing-hero-shade { background: linear-gradient(90deg, rgba(8,9,11,1) 0%, rgba(8,9,11,.95) 32%, rgba(8,9,11,.42) 69%, rgba(8,9,11,.82) 100%), linear-gradient(0deg, rgba(8,9,11,1) 0%, transparent 32%, rgba(8,9,11,.45) 100%); }
.landing-hero-content { position: relative; z-index: 1; width: min(860px, 100%); text-align: center; }
.landing-hero h1 { margin: 0 0 25px; font-size: clamp(62px, 9vw, 132px); font-weight: 850; line-height: .9; letter-spacing: -.1em; }
.hero-lede { max-width: 520px; margin: 0 auto 30px; color: #b7b5bd; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; justify-content: center; gap: 10px; }
.hero-actions .button { min-height: 47px; padding-inline: 20px; }
.hero-proof { display: flex; justify-content: center; gap: 22px; margin-top: 30px; color: #8b8b94; font-size: 10px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-scroll { position: absolute; z-index: 1; bottom: 35px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translateX(-50%); color: #85858e; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.hero-scroll b { color: var(--accent); font-size: 20px; font-weight: 400; }
.landing-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 128px 0; border-top: 1px solid var(--line-soft); }
.landing-heading { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.landing-heading.align-left { margin-left: 0; text-align: left; }
.landing-heading.compact { margin-bottom: 35px; }
.landing-heading h2 { margin-bottom: 18px; font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.08em; }
.landing-heading p:not(.eyebrow) { max-width: 510px; font-size: 14px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-card { display: flex; min-height: 340px; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #0d0f12; transition: transform .22s, border-color .22s; }
.product-card:hover { transform: translateY(-4px); border-color: #5b3a43; }
.product-card.featured { border-color: #68404a; background: #151015; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; }
.product-index { color: #77404d; font-size: 38px; font-weight: 800; letter-spacing: -.08em; }
.product-status { padding: 5px 8px; border: 1px solid #2c5847; border-radius: 5px; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.product-kicker { color: var(--accent); font-size: 9px; letter-spacing: .16em; }
.product-card h3 { margin: 12px 0 9px; font-size: 26px; }
.product-card p { max-width: 260px; margin: 0; font-size: 12px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-strong); font-size: 12px; }
.text-link span { font-size: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.value-grid article { min-height: 220px; padding: 30px 26px; background: var(--panel); }
.value-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 27px; border: 1px solid #54303b; border-radius: 7px; color: var(--accent); font-size: 10px; font-weight: 800; }
.value-grid h3 { margin-bottom: 10px; font-size: 18px; }
.value-grid p { margin: 0; font-size: 12px; line-height: 1.8; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-grid article { min-height: 205px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.steps-grid b { color: #703845; font-size: 54px; line-height: 1; letter-spacing: -.08em; }
.steps-grid h3 { margin: 20px 0 9px; font-size: 18px; }
.steps-grid p { margin: 0; font-size: 12px; line-height: 1.8; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; padding: 21px 5px; color: #d9d7dc; cursor: pointer; font-size: 14px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { float: right; color: var(--accent); content: "+"; font-size: 18px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 680px; padding: 0 5px 22px; margin: 0; font-size: 12px; line-height: 1.8; }
.landing-cta { display: flex; width: min(1180px, calc(100% - 48px)); align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto 120px; padding: 54px 60px; border: 1px solid #4a2b35; border-radius: 12px; background: #171015; }
.landing-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.08em; }
.auth-screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(1020px, calc(100% - 40px)); min-height: 650px; margin: 126px auto 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.auth-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 52px 56px; }
.auth-back { display: inline-block; align-self: flex-start; margin-bottom: 50px; color: var(--muted); font-size: 11px; }
.auth-back:hover { color: var(--text); }
.auth-form-head h1 { margin: 0 0 11px; font-size: 43px; }
.auth-form-head p:not(.eyebrow) { max-width: 330px; margin-bottom: 27px; font-size: 13px; line-height: 1.75; }
.auth-form { display: grid; gap: 17px; }
.auth-form label, .stack-form label, .admin-form label { display: grid; gap: 8px; color: #d4d2d8; font-size: 11px; font-weight: 650; }
.auth-form input, .stack-form input, .stack-form textarea, .stack-form select, .admin-form input, .admin-form select { min-height: 46px; width: 100%; padding: 12px 13px; border: 1px solid #30333a; border-radius: 7px; outline: none; background: #111318; color: var(--text); }
.auth-form input:focus, .stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus, .admin-form input:focus, .admin-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231,131,150,.12); }
.auth-form input::placeholder, textarea::placeholder { color: #60626b; }
.auth-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-submit { min-height: 48px; margin-top: 3px; border-radius: 7px; }
.auth-switch { margin: 24px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-switch a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.auth-aside { position: relative; display: flex; min-height: 650px; align-items: flex-end; overflow: hidden; padding: 42px; background: #161015; }
.auth-aside::after { position: absolute; inset: 0; background: linear-gradient(145deg, transparent 20%, rgba(224,103,126,.2) 100%); content: ""; pointer-events: none; }
.auth-aside-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 68px 68px; transform: perspective(500px) rotateX(52deg) scale(1.6) translateY(90px); transform-origin: center bottom; }
.auth-aside-copy { position: relative; z-index: 1; max-width: 350px; }
.auth-aside-copy h2 { margin-bottom: 16px; font-size: 41px; }
.auth-aside-copy p:not(.eyebrow) { max-width: 260px; font-size: 13px; line-height: 1.8; }
.auth-aside-copy small { color: #aaa6ad; font-size: 10px; }
.auth-aside-rule { display: block; width: 46px; height: 1px; margin: 28px 0 15px; background: var(--accent); }
.human-check { padding: 10px; border: 1px solid #30333a; border-radius: 8px; background: #111318; }
.human-check-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 2px; border: 0; background: transparent; text-align: left; }
.human-check-button:disabled { cursor: wait; opacity: .8; }
.human-check-box { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; border: 1px solid #7e8089; border-radius: 4px; background: #0c0e11; }
.human-check.is-verifying .human-check-box { border-color: var(--accent); animation: verify-pulse 1s ease-in-out infinite; }
.human-check.is-verified .human-check-box { border-color: var(--green); background: var(--green); }
.human-check-button [data-human-label] { color: #e2e0e5; font-size: 11px; font-weight: 650; }
.human-check-mark { display: grid; width: 20px; height: 20px; place-items: center; margin-left: auto; border-radius: 50%; color: #10251e; background: var(--green); opacity: 0; transform: scale(.7); transition: opacity .18s, transform .18s; }
.human-check-mark.visible { opacity: 1; transform: scale(1); }
.human-status { margin: 8px 0 0 31px; color: var(--dim); font-size: 10px; }
.human-check.is-verified .human-status { color: var(--green); }
@keyframes verify-pulse { 50% { box-shadow: 0 0 0 4px rgba(231,131,150,.16); } }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 8px !important; color: var(--muted) !important; font-size: 10px !important; font-weight: 500 !important; }
.consent input { width: 15px !important; min-height: 15px !important; margin-top: 1px; accent-color: var(--accent); }

.alert { padding: 12px 14px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 11px; }
.alert.error { border-color: #69313e; color: #ffadb8; background: #251419; }
.alert.success { border-color: #2f604c; color: #9be2bf; background: #13231c; }

.portal-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.portal-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: calc(100vh - 72px); padding: 25px 12px 16px; border-right: 1px solid var(--line-soft); background: #0b0d10; }
.sidebar-brand { display: flex; align-items: center; justify-content: center; padding: 0 11px 16px; }
.sidebar-logo { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #68404b; border-radius: 7px; color: var(--accent); font-size: 16px; }
.sidebar-brand-logo { display: block; width: 100%; max-width: 170px; height: 96px; object-fit: cover; object-position: center 55%; }
.sidebar-label { padding: 19px 12px 8px; color: #60626a; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-left: 2px solid transparent; border-radius: 6px; color: #898b94; font-size: 11px; }
.side-link:hover { color: var(--text); background: #131519; }
.side-link.active { border-left-color: var(--accent); color: var(--text); background: #17151a; }
.side-link > span { display: inline-flex; width: 17px; justify-content: center; }
.side-link b { margin-left: auto; color: var(--accent); font-size: 10px; }
.nav-icon { width: 15px; height: 15px; opacity: .72; filter: invert(70%); }
.side-link.active .nav-icon { opacity: 1; filter: invert(70%) sepia(26%) saturate(850%) hue-rotate(295deg); }
.sidebar-bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 18px 9px 0; border-top: 1px solid var(--line-soft); }
.sidebar-bottom strong { display: block; max-width: 118px; overflow: hidden; color: #d6d4d9; font-size: 10px; text-overflow: ellipsis; }
.sidebar-bottom small { display: block; margin-top: 3px; color: var(--dim); font-size: 8px; }
.portal-main { position: relative; width: min(1160px, 100%); padding: 42px 42px 70px; }
.portal-particles { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; opacity: .78; mix-blend-mode: screen; mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.9) 78%, transparent 100%); }
.portal-main > .portal-mobile-head, .portal-main > .portal-heading { position: relative; z-index: 3; }
.portal-main > .portal-tab-loading { position: relative; z-index: 5; }
.portal-particle { position: absolute; top: -8%; left: var(--x); width: var(--size); height: var(--size); border: 0; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 9px rgba(255,255,255,.9); animation: portal-particle-rain var(--duration) linear var(--delay) infinite; }
.portal-particle::after { position: absolute; top: calc(var(--size) * -4); left: 50%; width: 1px; height: calc(var(--size) * 5); background: linear-gradient(to top, rgba(255,255,255,.5), transparent); content: ""; transform: translateX(-50%); }
.portal-particle:nth-child(21n+1){--x:2.00%;}.portal-particle:nth-child(21n+2){--x:6.75%;}.portal-particle:nth-child(21n+3){--x:11.50%;}.portal-particle:nth-child(21n+4){--x:16.25%;}.portal-particle:nth-child(21n+5){--x:21.00%;}.portal-particle:nth-child(21n+6){--x:25.75%;}.portal-particle:nth-child(21n+7){--x:30.50%;}.portal-particle:nth-child(21n+8){--x:35.25%;}.portal-particle:nth-child(21n+9){--x:40.00%;}.portal-particle:nth-child(21n+10){--x:44.75%;}.portal-particle:nth-child(21n+11){--x:49.50%;}.portal-particle:nth-child(21n+12){--x:54.25%;}.portal-particle:nth-child(21n+13){--x:59.00%;}.portal-particle:nth-child(21n+14){--x:63.75%;}.portal-particle:nth-child(21n+15){--x:68.50%;}.portal-particle:nth-child(21n+16){--x:73.25%;}.portal-particle:nth-child(21n+17){--x:78.00%;}.portal-particle:nth-child(21n+18){--x:82.75%;}.portal-particle:nth-child(21n+19){--x:87.50%;}.portal-particle:nth-child(21n+20){--x:92.25%;}.portal-particle:nth-child(21n+21){--x:97.00%;}.portal-particle:nth-child(7n+1){--size:3px;--duration:3.0s;--delay:-0.2s;--drift:5px;}.portal-particle:nth-child(7n+2){--size:2px;--duration:4.25s;--delay:-1.7s;--drift:-4px;}.portal-particle:nth-child(7n+3){--size:4px;--duration:3.6s;--delay:-2.9s;--drift:6px;}.portal-particle:nth-child(7n+4){--size:2px;--duration:5.0s;--delay:-4.1s;--drift:-5px;}.portal-particle:nth-child(7n+5){--size:3px;--duration:3.35s;--delay:-1.1s;--drift:4px;}.portal-particle:nth-child(7n+6){--size:2px;--duration:4.65s;--delay:-3.3s;--drift:-3px;}.portal-particle:nth-child(7n+7){--size:3px;--duration:3.8s;--delay:-0.8s;--drift:5px;}@keyframes portal-particle-rain { 0% { opacity: 0; transform: translate3d(0, -20px, 0) scale(.7); } 8% { opacity: .9; } 86% { opacity: .72; } 100% { opacity: 0; transform: translate3d(var(--drift), calc(100vh + 35px), 0) scale(1); } }
.portal-mobile-head { display: none; }
.portal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.portal-heading h1 { margin-bottom: 8px; font-size: 35px; }
.portal-heading p { margin: 0; font-size: 12px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: panel-in .16s ease-out; }
@keyframes panel-in { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.portal-main.is-loading > :not(.portal-tab-loading) { opacity: 1; }
.portal-main.is-loading .tab-panel.is-active { visibility: hidden; pointer-events: none; user-select: none; }
.portal-tab-loading { position: relative; z-index: 5; display: grid; align-content: start; gap: 12px; width: 100%; margin: 0 0 20px; padding: 12px 0 2px; pointer-events: none; }
.tab-loading-status { display: inline-flex; align-items: center; gap: 9px; min-height: 12px; width: max-content; color: #777982; font-size: 10px; letter-spacing: .04em; }
.tab-loading-orb { width: 7px; height: 7px; border: 1px solid #e45760; border-radius: 50%; box-shadow: 0 0 0 4px rgba(228,87,96,.12); animation: tab-loading-pulse 1.2s ease-in-out infinite; }
.tab-loading-status-line { position: relative; display: block; width: 145px; height: 7px; overflow: hidden; border-radius: 4px; background: #171a1f; }
.tab-loading-card { position: relative; display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px; overflow: hidden; border: 1px solid #1b1e23; border-radius: 8px; background: #0d0f12; }
.tab-loading-card::after { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.035) 45%, transparent 72%); content: ""; transform: translateX(-115%); animation: tab-loading-sweep 1.55s ease-in-out infinite; }
.tab-loading-hero { display: grid; grid-template-columns: 46px minmax(0,1fr) 116px; align-items: center; }
.tab-loading-hero .tab-skeleton-action { grid-column: 3; grid-row: 1; }
.tab-loading-list { display: grid; grid-template-columns: minmax(0,1fr) 116px; align-content: center; gap: 9px 18px; min-height: 78px; }
.tab-skeleton { position: relative; display: block; overflow: hidden; border-radius: 5px; background: #171a1f; }
.tab-skeleton::after, .tab-loading-status-line::after { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.09) 45%, transparent 72%); content: ""; transform: translateX(-115%); animation: tab-loading-sweep 1.55s ease-in-out infinite; }
.tab-skeleton-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; }
.tab-skeleton-copy { display: grid; gap: 10px; min-width: 0; }
.tab-skeleton-title { width: 31%; height: 12px; }
.tab-skeleton-line { width: 58%; height: 9px; }
.tab-skeleton-line.short { width: 31%; }
.tab-skeleton-line.medium { width: 46%; }
.tab-skeleton-action { width: 100%; height: 30px; }
.tab-loading-overview { display: grid; grid-template-columns: 46px minmax(0,1fr) 116px; align-items: center; }
.tab-loading-overview .tab-skeleton-action { grid-column: 3; grid-row: 1; }
.tab-loading-wizard, .tab-loading-docs, .tab-loading-tickets, .tab-loading-wallet, .tab-loading-buy, .tab-loading-settings, .tab-loading-form { display: grid; align-content: start; gap: 16px; min-height: 214px; }
.tab-loading-wizard { grid-template-columns: minmax(0,1fr) 116px; }
.tab-loading-wizard > .tab-skeleton-action { grid-column: 2; grid-row: 1; }
.tab-loading-steps { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; padding: 13px 0; border-top: 1px solid #1b1e23; border-bottom: 1px solid #1b1e23; }
.tab-loading-steps .tab-skeleton { height: 9px; }
.tab-loading-requirements { display: grid; grid-column: 1 / -1; gap: 8px; }
.tab-loading-requirements .tab-skeleton { height: 34px; }
.tab-loading-docs { min-height: 260px; }
.tab-loading-doc-rows { display: grid; gap: 0; margin-top: 2px; border-top: 1px solid #1b1e23; }
.tab-loading-doc-rows .tab-skeleton { height: 46px; border-bottom: 1px solid #1b1e23; border-radius: 0; background: #111318; }
.tab-loading-tickets { min-height: 268px; }
.tab-loading-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 116px; align-items: center; gap: 16px; }
.tab-loading-toolbar .tab-skeleton-title { width: 120px; }
.tab-loading-filters { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; padding: 8px; border-radius: 5px; background: #111318; }
.tab-loading-filters .tab-skeleton { height: 10px; }
.tab-loading-ticket-rows { display: grid; gap: 1px; overflow: hidden; border: 1px solid #1b1e23; background: #1b1e23; }
.tab-loading-ticket-rows .tab-skeleton { height: 47px; border-radius: 0; background: #0f1114; }
.tab-loading-wallet { grid-template-columns: minmax(0,1fr) 120px; min-height: 190px; }
.tab-loading-wallet > .tab-skeleton-copy { grid-column: 1; }
.tab-skeleton-wallet-value { grid-column: 2; grid-row: 1; height: 26px; }
.tab-loading-wallet-facts { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding-top: 16px; border-top: 1px solid #1b1e23; }
.tab-loading-wallet-facts .tab-skeleton { height: 32px; }
.tab-skeleton-wallet-action { grid-column: 1 / -1; width: 125px; height: 30px; }
.tab-loading-buy { min-height: 248px; }
.tab-loading-product { display: grid; grid-template-columns: 64px minmax(0,1fr) 116px; align-items: center; gap: 14px; }
.tab-skeleton-product-art { width: 64px; height: 64px; border-radius: 6px; }
.tab-loading-inbox { display: grid; gap: 7px; padding-top: 16px; border-top: 1px solid #1b1e23; }
.tab-loading-inbox .tab-skeleton { height: 42px; }
.tab-loading-settings { min-height: 210px; }
.tab-loading-profile { display: flex; align-items: center; gap: 14px; }
.tab-loading-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; padding-top: 16px; border-top: 1px solid #1b1e23; }
.tab-loading-facts .tab-skeleton { height: 34px; }
.tab-loading-form { min-height: 170px; }
.tab-loading-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.tab-loading-form-fields .tab-skeleton { height: 40px; }
.tab-skeleton-form-action { width: 116px; height: 30px; }
.tab-loading-form.compact { grid-template-columns: minmax(0,1fr) 116px; align-items: center; min-height: 106px; }
.tab-loading-form.compact .tab-skeleton-form-action { grid-column: 2; grid-row: 1; }
@keyframes tab-loading-sweep { to { transform: translateX(115%); } }
@keyframes tab-loading-pulse { 50% { opacity: .4; transform: scale(.72); } }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }
.metric-card, .surface { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.metric-card { padding: 19px; }
.metric-card > span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 10px; }
.metric-card > strong { display: block; margin-bottom: 5px; font-size: 25px; letter-spacing: -.06em; }
.metric-card > small { color: var(--dim); font-size: 9px; }
.content-grid { display: grid; gap: 14px; margin-bottom: 15px; }
.content-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.surface { padding: 22px; }
.section-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-top h2 { margin-bottom: 7px; font-size: 20px; }
.section-top p { margin: 0; font-size: 10px; line-height: 1.7; }
.surface-icon, .status-orb, .download-icon { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #5b3540; border-radius: 7px; color: var(--accent); background: var(--accent-dark); font-size: 16px; }
.inline-redeem { display: flex; gap: 9px; margin-top: 27px; }
.inline-redeem input { flex: 1; min-height: 40px; padding: 10px 12px; border: 1px solid #30333a; border-radius: 7px; background: #111318; color: var(--text); outline: none; }
.inline-redeem input:focus { border-color: var(--accent); }
.service-row, .stat-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line-soft); color: #bab9c0; font-size: 11px; }
.service-row b { font-weight: 600; }
.status-chip { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid #2a2c32; border-radius: 5px; background: #191b20; color: #a9aab2; font-size: 9px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.status-chip.ready, .status-chip.active { border-color: #2d5c4a; color: var(--green); background: #14241d; }
.status-chip.revoked, .status-chip.banned { border-color: #64303d; color: #ff9eac; background: #27151b; }
.status-chip.pending { border-color: #64552f; color: #ddc47e; background: #262116; }
.status-chip.closed, .status-chip.expired { color: #7f8189; }
.license-panel { margin-bottom: 15px; }
.license-row { display: grid; grid-template-columns: 1fr auto 140px; align-items: center; gap: 15px; padding: 15px 0; border-top: 1px solid var(--line-soft); }
.license-row strong, .license-row small { display: block; }
.license-row strong { font-size: 12px; }
.license-row small { margin-top: 3px; color: var(--dim); font-size: 9px; }
.empty-license-row { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 7px; }
.empty-license-icon { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.empty-license-row > div { flex: 1; }
.empty-license-row strong { display: block; font-size: 11px; }
.empty-license-row small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }
.empty-license-row .button { min-height: 31px; padding: 7px 11px; font-size: 10px; }
.portal-lower { margin-top: 0; }
.update-row, .guide-link { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.update-row > div, .guide-link strong { flex: 1; }
.update-row strong, .guide-link strong { display: block; font-size: 11px; }
.update-row small, .guide-link small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }
.update-row time { color: var(--dim); font-size: 9px; }
.update-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(116,201,164,.12); }
.update-dot.muted-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(231,131,150,.1); }
.guide-link > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #3d2a31; border-radius: 6px; background: #171217; }
.guide-link b { color: var(--muted); font-size: 14px; }
.download-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.download-hero > div:nth-child(2) { flex: 1; }
.download-hero h2 { margin-bottom: 6px; }
.download-hero p { margin: 0; font-size: 11px; }
.requirement-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.requirement { display: flex; align-items: center; gap: 13px; padding: 15px; background: var(--panel); }
.requirement:hover { background: var(--panel-2); }
.requirement-number { color: var(--accent); font-size: 10px; font-weight: 800; }
.requirement div { flex: 1; }
.requirement strong, .requirement small { display: block; }
.requirement strong { font-size: 11px; }
.requirement small { margin-top: 3px; color: var(--dim); font-size: 9px; }
.requirement > span:last-child { color: var(--muted); }
.step-count { color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 15px; padding: 14px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.steps li b { color: var(--accent); font-size: 10px; }
.docs-list { display: grid; gap: 0; }
.docs-list details { border-top: 1px solid var(--line-soft); }
.docs-list summary { padding: 16px 0; color: #d5d3d8; cursor: pointer; font-size: 12px; font-weight: 650; list-style: none; }
.docs-list summary::-webkit-details-marker { display: none; }
.docs-list summary::after { float: right; color: var(--accent); content: "+"; font-size: 16px; font-weight: 400; }
.docs-list details[open] summary::after { content: "−"; }
.docs-list p { max-width: 650px; padding: 0 0 16px; margin: 0; font-size: 11px; line-height: 1.8; }
.ticket-items { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.ticket-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; background: var(--panel); }
.ticket-item:hover, .ticket-item.selected { background: var(--panel-2); }
.ticket-item strong, .ticket-item small { display: block; }
.ticket-item strong { font-size: 11px; }
.ticket-item small { margin-top: 4px; color: var(--dim); font-size: 9px; }
.ticket-detail { min-height: 300px; }
.message-list { display: grid; gap: 10px; max-height: 470px; overflow: auto; }
.message { padding: 13px; border: 1px solid var(--line-soft); border-radius: 7px; background: #0d0f12; }
.message.mine { border-color: #4b2c36; background: #151015; }
.message-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.message-meta time { color: var(--dim); }
.message p { margin: 9px 0 0; color: #c4c2c8; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.reply-form { margin-top: 16px; }
.reply-form textarea, .stack-form textarea { min-height: 105px; resize: vertical; }
.reply-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.file-button { display: inline-flex !important; width: max-content !important; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted) !important; cursor: pointer; font-size: 10px !important; }
.file-button input { display: none; }
.settings-hero { margin-bottom: 15px; background: #151015; }
.settings-hero h2 { margin-bottom: 7px; }
.settings-hero p { margin: 0; font-size: 11px; }
.stack-form { display: grid; gap: 14px; }
.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.7); }
.modal-backdrop.open { display: flex; }
.modal { position: relative; width: min(470px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow: auto; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 25px 100px rgba(0,0,0,.55); }
.modal h2 { margin-bottom: 8px; }
.modal > p { font-size: 11px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); }
.toast-stack { position: fixed; z-index: 60; top: 88px; right: 25px; display: grid; gap: 8px; width: min(340px, calc(100% - 34px)); }
.toast { display:flex; align-items:center; gap:10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: #17191d; color: var(--muted); font-size: 11px; box-shadow: 0 14px 40px rgba(0,0,0,.3); animation: toast-enter .28s cubic-bezier(.2,.8,.2,1) both; }
.toast-mark { display:grid; width:19px; height:19px; flex:0 0 19px; place-items:center; border:1px solid currentColor; border-radius:50%; font-size:11px; font-weight:800; animation: toast-mark-pop .4s .08s both; }
.toast.error { border-color: #69313e; color: #ffadb8; background: #251419; }
.toast.success { border-color: #2f604c; color: #9be2bf; background: #13231c; }
.toast.leaving { opacity: 0; transform: translateY(-4px); transition: .25s; }
@keyframes toast-enter { from { opacity:0; transform:translate3d(14px,-8px,0) scale(.97); } to { opacity:1; transform:translate3d(0,0,0) scale(1); } }
@keyframes toast-mark-pop { from { opacity:0; transform:scale(.4) rotate(-30deg); } to { opacity:1; transform:scale(1) rotate(0); } }

.admin-page { width: min(1280px, calc(100% - 48px)); margin: 45px auto 80px; }
.admin-heading { margin-bottom: 25px; }
.admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin: 15px 0; }
.admin-alert { margin-bottom: 14px; }
.loader-admin-panel { margin-bottom: 15px; }
.release-state { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #2d5c4a; border-radius: 16px; color: var(--green); font-size: 10px; }
.release-state.offline { border-color: #64303d; color: #ff9eac; }
.release-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.release-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--line); }
.release-meta > div { padding: 14px; background: #0d0f12; }
.release-meta span, .release-meta strong { display: block; }
.release-meta span { margin-bottom: 7px; color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.release-meta strong { color: #dedce1; font-size: 12px; }
.loader-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.upload-drop { display: grid; flex: 1; gap: 8px; padding: 16px; border: 1px dashed #5c3943; border-radius: 7px; background: #130f13; color: #d8d5da; cursor: pointer; font-size: 11px; }
.upload-drop input { width: 100%; padding: 5px 0 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.upload-drop small { color: var(--dim); font-size: 9px; }
.upload-progress { width: 100%; height: 3px; overflow: hidden; border-radius: 3px; background: #2a2025; }
.upload-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .15s linear; }
.upload-status { grid-column: 1 / -1; color: var(--dim); font-size: 9px; }
.admin-form { display: grid; gap: 14px; }
.admin-form .button { width: max-content; margin-top: 4px; }
.admin-stats .stat-row:first-of-type { border-top: 0; }
.admin-table-panel { margin-top: 15px; }
.admin-table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th, .admin-table td { padding: 13px 10px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: middle; font-size: 10px; }
.admin-table th { border-top: 0; color: var(--dim); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.admin-table td { color: #c3c1c7; }
.admin-table td strong { color: var(--text); }
.admin-table a { color: var(--accent-strong); }
.table-sub { display: block; margin-top: 3px; color: var(--dim); }
.action-cell { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-button { min-height: 30px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: #15171b; color: var(--muted); font-size: 9px; }
.icon-button:hover { border-color: #666871; color: var(--text); }
.icon-button.danger { border-color: #64303d; color: #ff9eac; }
.assign-form { display: flex; align-items: center; gap: 6px; }
.assign-form select, .small-select { min-height: 30px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #15171b; color: var(--text); font-size: 9px; }
.table-empty { padding: 30px !important; color: var(--dim) !important; text-align: center !important; }

@media (max-width: 900px) {
  .topbar nav { gap: 13px; }
  .topbar nav > a:not(.nav-dashboard):not(.nav-signin):not(.nav-user), .topbar .inline-form { display: none; }
  .landing-hero { min-height: 760px; }
  .product-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .portal-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .portal-main { padding-inline: 25px; }
  .content-grid.two-col { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  main { min-height: calc(100vh - 60px); }
  .topbar, body[data-page="/"] .topbar, body[data-page="/login"] .topbar, body[data-page="/signin"] .topbar, body[data-page="/register"] .topbar, body[data-page="/signup"] .topbar { top: 10px; width: calc(100% - 20px); height: 52px; padding-inline: 14px; }
  .brand { font-size: 16px; }
  .brand span { display: none; }
  .topbar nav { gap: 8px; font-size: 10px; }
  .nav-user { max-width: 85px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .landing-hero { min-height: 700px; padding: 128px 20px 90px; }
  .landing-hero h1 { font-size: clamp(54px, 16vw, 82px); }
  .hero-lede { font-size: 14px; }
  .hero-proof { flex-direction: column; gap: 8px; align-items: center; }
  .landing-section { width: calc(100% - 34px); padding: 82px 0; }
  .landing-heading h2 { font-size: 44px; }
  .product-grid, .value-grid, .steps-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 285px; }
  .landing-cta { width: calc(100% - 34px); display: grid; margin-bottom: 80px; padding: 32px 25px; }
  .landing-cta .button { width: 100%; }
  footer { display: grid; gap: 8px; padding: 28px 18px; }
  .auth-screen { grid-template-columns: 1fr; width: calc(100% - 24px); min-height: 0; margin: 91px auto 65px; }
  .auth-aside { min-height: 260px; padding: 26px; order: -1; }
  .auth-aside-copy h2 { font-size: 31px; }
  .auth-form-panel { padding: 31px 23px 35px; }
  .auth-back { margin-bottom: 34px; }
  .auth-form-head h1 { font-size: 36px; }
  .auth-form-split { grid-template-columns: 1fr; }
  .portal-shell { display: block; min-height: calc(100vh - 52px); }
  .portal-sidebar { position: fixed; z-index: 50; top: 52px; left: 0; width: 245px; height: calc(100vh - 52px); transform: translateX(-102%); transition: transform .2s; }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
  .portal-main { padding: 21px 16px 50px; }
  .portal-heading { display: grid; gap: 12px; }
  .portal-heading h1 { font-size: 31px; }
  .portal-tab-loading { inset: auto; gap: 10px; margin-bottom: 14px; padding: 8px 0 2px; }
  .tab-loading-card { min-height: 78px; padding: 14px; }
  .tab-loading-overview { grid-template-columns: 36px minmax(0,1fr) 82px; }
  .tab-loading-overview .tab-skeleton-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .tab-loading-list { grid-template-columns: minmax(0,1fr) 82px; }
  .tab-loading-wizard, .tab-loading-docs, .tab-loading-tickets, .tab-loading-wallet, .tab-loading-buy, .tab-loading-settings, .tab-loading-form { gap: 12px; }
  .tab-loading-wizard { grid-template-columns: minmax(0,1fr) 82px; }
  .tab-loading-toolbar { grid-template-columns: minmax(0,1fr) 82px; gap: 10px; }
  .tab-loading-product { grid-template-columns: 42px minmax(0,1fr) 82px; gap: 9px; }
  .tab-skeleton-product-art { width: 42px; height: 42px; }
  .tab-loading-form.compact { grid-template-columns: minmax(0,1fr) 82px; }
  .tab-loading-form-fields { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .inline-redeem { display: grid; }
  .license-row { grid-template-columns: 1fr auto; }
  .license-row > small { grid-column: 1 / -1; }
  .download-hero { display: grid; }
  .download-hero .button { width: 100%; }
  .release-meta { grid-template-columns: 1fr; }
  .loader-upload-form { display: grid; align-items: stretch; }
  .loader-upload-form .button, .admin-form .button { width: 100%; }
  .admin-page { width: calc(100% - 30px); margin-top: 30px; }
  .admin-grid { grid-template-columns: 1fr; }
  .reply-actions { align-items: stretch; flex-direction: column; }
  .file-button { width: 100% !important; justify-content: center; }
  .toast-stack { top: 73px; right: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Valhanna editorial landing layer */
.skip-link{position:fixed;left:-999px;top:12px;z-index:100;padding:10px 14px;background:#f0a0b3;color:#150d11}.skip-link:focus{left:12px}
:root{--bg:#09090b;--panel:#101013;--panel-2:#15151a;--line:#28272d;--line-soft:#1c1c21;--text:#f4f2f3;--muted:#97949c;--dim:#65636b;--accent:#e892a6;--accent-strong:#f2a8ba}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#09090b}
.topbar{height:68px;padding:0 max(28px,5vw);background:rgba(9,9,11,.88);border-bottom:1px solid #1d1d21}
body[data-page="/"] .topbar,body[data-page="/login"] .topbar,body[data-page="/signin"] .topbar,body[data-page="/register"] .topbar,body[data-page="/signup"] .topbar{top:14px;height:56px;width:min(1100px,calc(100% - 36px));border-color:#2b2930;border-radius:30px;background:rgba(12,12,15,.76);box-shadow:none}
.brand{font-size:18px;letter-spacing:-.065em}.brand-dot{color:var(--accent)}.brand span{border:0;padding:0;color:var(--accent);font-size:inherit;letter-spacing:inherit}
.topbar nav{gap:24px;font-size:11px}.nav-dashboard{padding:8px 14px;border-radius:20px}.nav-signout{border:0;background:transparent;color:var(--muted);font-size:11px}.nav-toggle{display:none}
.landing-hero{min-height:clamp(700px,94vh,930px);padding:150px 24px 115px;align-items:center}
.landing-hero-image{background-image:url("/static/images/valhanna-hero.webp");background-position:center right;filter:saturate(.7) contrast(1.08)}
.landing-hero-shade{background:linear-gradient(90deg,rgba(9,9,11,.98) 0%,rgba(9,9,11,.9) 35%,rgba(9,9,11,.5) 66%,rgba(9,9,11,.82) 100%),linear-gradient(0deg,#09090b 0%,transparent 27%,rgba(9,9,11,.4) 100%)}
.landing-hero-content{width:min(900px,100%);text-align:center}.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#d6a0ad}.hero-eyebrow span{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.landing-hero h1{margin:0;font-size:clamp(88px,14vw,188px);font-weight:850;letter-spacing:-.105em;line-height:.85}.hero-period{color:var(--accent)}.hero-tagline{margin:25px 0 0;color:#f4f0f2;font-size:clamp(22px,3vw,34px);font-weight:500;letter-spacing:-.04em}.hero-lede{margin:12px auto 30px;color:#aaa6ae;font-size:14px}.hero-secondary{border-color:#54505a!important;background:rgba(20,19,23,.7)!important}
.hero-bottom{position:absolute;bottom:31px;left:5%;right:5%;display:flex;justify-content:space-between;color:#75727b;font-size:9px;letter-spacing:.16em}.hero-bottom a{color:#aaa2aa}.hero-bottom a span{color:var(--accent);margin-left:7px}
.landing-section{width:min(1180px,calc(100% - 72px));padding:145px 0;border-top-color:#1c1b21}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:65px}.section-heading-row h2{margin:0;font-size:clamp(46px,6vw,82px);line-height:.94}.section-heading-row>p{margin:0 0 6px;max-width:260px;font-size:12px;line-height:1.7;text-align:right}.muted-heading{color:#75717a}
.collection-layout{display:grid;grid-template-columns:1.03fr .97fr;gap:52px;align-items:stretch}.collection-art{position:relative;min-height:580px;overflow:hidden;background:#111}.collection-art img{width:100%;height:100%;object-fit:cover;opacity:.8;filter:saturate(.65)}.collection-art:after{position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,9,12,.95),transparent 60%),linear-gradient(90deg,rgba(11,9,12,.45),transparent);content:""}.collection-art>div{position:absolute;z-index:1;left:30px;bottom:30px}.collection-art span{display:block;margin-bottom:11px;color:#c993a2;font-size:9px;letter-spacing:.18em}.collection-art strong{font-size:28px;line-height:1;letter-spacing:-.06em}
.product-list{border-top:1px solid var(--line)}.product-entry{padding:29px 0 31px;border-bottom:1px solid var(--line)}.product-entry-top{display:flex;justify-content:space-between;align-items:center}.product-number{color:#746170;font-size:11px;letter-spacing:.13em}.product-state{padding:4px 8px;border:1px solid #4c4147;color:#9b929a;font-size:8px;letter-spacing:.12em;text-transform:uppercase}.product-state.ready{border-color:#37634f;color:#81c7a5}.product-entry h3{margin:22px 0 8px;font-size:26px}.product-entry p{max-width:410px;margin:0 0 22px;font-size:12px;line-height:1.75}.text-link{font-size:11px;color:var(--accent-strong)}.collection-note{margin:30px 0 0;color:#77737b;font-size:11px}.collection-note a{color:#d699aa}
.principle-section{padding-top:125px}.advantages{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.advantages article{min-height:245px;padding:27px 25px 23px;border-right:1px solid var(--line)}.advantages article:last-child{border-right:0}.advantages article>span{color:#7a5362;font-size:11px;letter-spacing:.14em}.advantages h3{margin:55px 0 12px;font-size:17px;letter-spacing:-.035em}.advantages p{margin:0;font-size:11px;line-height:1.8}
.faq-section{display:grid;grid-template-columns:.75fr 1.25fr;gap:90px}.faq-heading h2{margin:0 0 15px;font-size:clamp(42px,5vw,66px)}.faq-heading>p:last-child{font-size:12px}.faq-list{max-width:none}.faq-item summary{padding:21px 0;font-size:13px}.faq-item p{padding:0 0 23px;font-size:11px}.faq-item summary:after{content:"+";color:#a57988}.faq-item[open] summary:after{content:"−"}
.landing-cta{width:min(1180px,calc(100% - 72px));margin:0 auto 130px;padding:60px 0;border-top:1px solid #36242b;border-bottom:1px solid #36242b;border-radius:0;background:linear-gradient(90deg,rgba(44,23,32,.6),transparent 70%)}.landing-cta h2{margin:0 0 10px;font-size:clamp(46px,6vw,78px)}.landing-cta>p:not(.eyebrow){margin-bottom:28px;font-size:13px}
.site-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;width:min(1180px,calc(100% - 72px));padding:65px 0 48px;border-top:0}.footer-brand p{margin:14px 0 28px;font-size:11px}.footer-brand small{color:#57545d;font-size:10px}.footer-column{display:grid;align-content:start;gap:11px}.footer-column h2{margin:0 0 7px;color:#77737c;font-size:9px;letter-spacing:.15em;text-transform:uppercase}.footer-column a{color:#aaa6ad;font-size:11px}.footer-column a:hover{color:var(--text)}
@media(max-width:900px){.collection-layout{grid-template-columns:1fr}.collection-art{min-height:360px}.advantages{grid-template-columns:1fr 1fr}.advantages article:nth-child(2){border-right:0}.advantages article:nth-child(n+3){border-top:1px solid var(--line)}.faq-section{grid-template-columns:1fr;gap:45px}.site-footer{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:700px){.game-grid{grid-template-columns:1fr}.game-card{min-height:250px}.game-card-title{margin-top:145px}body[data-page="/"] .topbar,body[data-page="/login"] .topbar,body[data-page="/signin"] .topbar,body[data-page="/register"] .topbar,body[data-page="/signup"] .topbar{top:10px;width:calc(100% - 20px);height:52px}.topbar nav{display:none;position:absolute;top:60px;left:0;right:0;padding:18px;border:1px solid var(--line);border-radius:15px;background:#101013}.topbar nav.open{display:grid;gap:15px}.nav-toggle{display:block;border:0;background:none;color:#aaa;font-size:10px}.nav-toggle span{margin-left:5px;color:var(--accent)}.landing-hero{min-height:680px;padding:128px 20px 90px}.landing-hero h1{font-size:clamp(69px,20vw,112px)}.hero-tagline{font-size:22px}.hero-bottom{left:20px;right:20px;font-size:8px}.hero-bottom span:first-child{display:none}.landing-section,.landing-cta,.site-footer{width:calc(100% - 34px)}.landing-section{padding:90px 0}.section-heading-row{display:block;margin-bottom:42px}.section-heading-row>p{text-align:left;margin-top:20px}.section-heading-row h2{font-size:47px}.collection-art{min-height:310px}.collection-art strong{font-size:24px}.advantages{grid-template-columns:1fr}.advantages article{border-right:0!important}.advantages article+article{border-top:1px solid var(--line)}.faq-section{gap:35px}.landing-cta{display:block;margin-bottom:70px;padding:45px 0}.landing-cta .hero-actions{justify-content:flex-start}.site-footer{grid-template-columns:1fr 1fr;gap:35px;padding:45px 0 35px}.footer-brand{grid-column:1/-1}}

.auth-aside{background:#111014 url("/static/images/valhanna-hero.webp") center/cover no-repeat}.auth-aside::before{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,11,16,.96),rgba(15,11,16,.35)),linear-gradient(90deg,rgba(15,11,16,.85),transparent);content:""}.auth-aside-grid{opacity:.12}
/* Reference-aligned presentation pass */
:root{--accent:#e38aa1;--accent-strong:#ee9bb1;--pink-soft:#c77d93;--line:#202126;--line-soft:#18191d;--panel:#0d0f12;--muted:#8b8a92;--text:#f2f1f2}
@font-face{font-family:Inter;src:url('/static/fonts/Inter-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
body{background:#08090b;color:var(--text);font-size:13px;letter-spacing:-.01em}
h1,h2,h3,.brand,.hero-tagline{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar{position:fixed;z-index:40;top:0;left:0;width:100%;height:54px;padding:0 18px;border-bottom:1px solid #1c1d21;background:rgba(7,8,10,.84);backdrop-filter:blur(14px)}
body.public-page .topbar,body.portal-page .topbar{position:fixed;top:0;width:100%;border-radius:0;box-shadow:none}
.brand{font-size:18px;letter-spacing:-.07em}.brand strong{font-weight:850}.brand span{color:var(--accent);border:0;padding:0;font-size:inherit;letter-spacing:inherit}
.topbar nav{position:absolute;left:50%;display:flex;gap:29px;transform:translateX(-50%);color:#75747d;font-size:10px}.topbar nav a[aria-current=page]{color:#ddd9de}.nav-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.nav-support{display:inline-grid;place-items:center;color:#a9a7af}.nav-dashboard{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid #303138;border-radius:18px;background:#15161a;color:#d8d6db!important;font-size:10px}.nav-dashboard .nav-icon,.nav-support .nav-icon{width:13px;height:13px;filter:invert(80%);opacity:.8}.nav-signout{border:0;background:none;color:#77757d}.nav-signout .nav-icon{width:14px}.nav-toggle{display:none}
.landing-hero{min-height:calc(100vh - 54px);margin-top:54px;padding:110px 25px 80px}
.landing-hero-image{background-image:url('/static/images/valhanna-hero.webp');background-position:center right;filter:saturate(.72) contrast(1.08)}
.landing-hero-shade{background:linear-gradient(90deg,rgba(8,9,11,.98) 0%,rgba(8,9,11,.9) 31%,rgba(8,9,11,.48) 70%,rgba(8,9,11,.85) 100%),linear-gradient(0deg,rgba(8,9,11,1) 0%,transparent 32%,rgba(8,9,11,.42) 100%)}
.hero-grid{position:absolute;inset:0;opacity:.07;background-image:linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(90deg,black,transparent 75%);pointer-events:none}
.landing-hero-content{width:min(900px,100%);text-align:center}.hero-announcement{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid #37343a;border-radius:20px;background:rgba(20,19,23,.68);color:#bbb7be;font-size:10px}.hero-announcement span{padding:3px 7px;border-radius:12px;background:#5b3041;color:#efa2b6}.hero-announcement .nav-icon{width:12px;height:12px;filter:invert(80%);opacity:.7}
.landing-hero h1{margin:28px 0 12px;font-size:clamp(74px,11vw,152px);font-weight:850;line-height:.88;letter-spacing:-.105em}.hero-tagline{margin:0 0 28px;color:#c0bdc2;font-size:clamp(22px,2.9vw,34px);letter-spacing:-.045em}.hero-cta{min-height:44px;border-radius:22px;padding:11px 22px}.hero-cta .nav-icon{width:14px;height:14px;filter:invert(12%);opacity:.85}.hero-scroll{bottom:27px;font-size:23px;color:var(--accent);line-height:1}
.landing-section{width:min(1080px,calc(100% - 48px));padding:115px 0;border-top:0}.section-heading{text-align:center;margin:0 auto 35px}.section-heading .eyebrow{margin-bottom:17px}.section-heading h2{margin:0 0 10px;font-size:clamp(28px,4vw,45px);letter-spacing:-.07em}.section-heading>p:last-child{margin:0 auto;color:#77767e;font-size:12px}.products-section{padding-top:102px}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.product-card{min-width:0;border:0;border-radius:5px;background:#101115;overflow:hidden}.product-visual{position:relative;display:block;height:185px;overflow:hidden;background:#222}.product-visual img{width:100%;height:100%;object-fit:cover;filter:saturate(.42) contrast(1.06);opacity:.78;transition:transform .35s,opacity .35s}.product-card:hover .product-visual img{transform:scale(1.045);opacity:.94}.product-card:nth-child(2) .product-visual img{object-position:73% center;filter:hue-rotate(12deg) saturate(.5)}.product-card:nth-child(3) .product-visual img{object-position:100% center;filter:hue-rotate(-16deg) saturate(.48)}.product-visual:after{position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,9,11,.74),transparent 70%);content:""}.product-monogram{position:absolute;z-index:1;top:22px;left:22px;color:rgba(255,255,255,.78);font-size:36px;font-weight:850;letter-spacing:-.12em}.product-monogram small{margin-left:6px;color:var(--accent);font-size:10px;letter-spacing:.05em}.product-visual-title{position:absolute;z-index:1;bottom:17px;left:20px;right:16px;display:flex;justify-content:space-between;align-items:center;color:#f2eff2;font-size:14px;font-weight:720}.product-visual-title .nav-icon{width:14px;height:14px;filter:invert(90%);opacity:.7}.product-info{padding:17px 17px 19px}.product-info-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.product-kicker{color:#77747e;font-size:8px;letter-spacing:.16em}.product-info p{min-height:43px;margin:14px 0;color:#8e8c94;font-size:11px;line-height:1.65}.product-info .text-link{display:inline-flex;align-items:center;gap:6px;font-size:10px}.product-info .text-link .nav-icon{width:12px;height:12px;filter:invert(73%) sepia(27%) saturate(550%);}.status-chip{border-radius:3px;font-size:8px;padding:4px 7px}.section-link{text-align:center;margin-top:23px}.section-link .text-link{font-size:10px}.principle-section{padding-top:115px}.advantages{display:grid;grid-template-columns:repeat(4,1fr);border:0;gap:1px;background:#202126}.advantages article{min-height:190px;padding:25px 20px;background:#0d0f12;border:0}.advantages article .nav-icon{width:18px;height:18px;margin-bottom:34px;filter:invert(70%) sepia(18%) saturate(600%) hue-rotate(300deg)}.advantages h3{margin:0 0 9px;font-size:14px}.advantages p{margin:0;color:#817f88;font-size:10px;line-height:1.75}
.faq-section{display:block;width:min(820px,calc(100% - 48px));padding-top:135px}.faq-list{border-top:1px solid #1b1c20}.faq-item{border-bottom:1px solid #1b1c20}.faq-item summary{display:flex;align-items:center;justify-content:space-between;padding:19px 0;color:#d2d0d5;font-size:12px;font-weight:650}.faq-item summary .nav-icon{width:13px;height:13px;filter:invert(75%);transition:transform .2s}.faq-item[open] summary .nav-icon{transform:rotate(90deg);filter:invert(67%) sepia(35%) saturate(550%)}.faq-item p{padding:0 30px 18px 0;margin:0;color:#88868e;font-size:11px;line-height:1.7}.landing-cta{width:100%;max-width:none;margin:0;padding:66px max(24px,calc((100% - 1080px)/2));border:0;border-radius:0;background:linear-gradient(90deg,rgba(43,20,31,.82),rgba(29,20,39,.6),rgba(9,9,11,.3));}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.landing-cta h2{margin:0 0 8px;font-size:clamp(27px,4vw,44px)}.landing-cta p{margin:0;color:#8e8a94;font-size:12px}.site-footer{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:34px;width:min(1080px,calc(100% - 48px));padding:69px 0 28px;border:0}.footer-brand p{margin:14px 0 22px;font-size:11px}.footer-brand small{color:#56545b;font-size:9px}.footer-socials{display:flex;gap:8px}.footer-social{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #2c2b32;border-radius:7px}.footer-social .nav-icon{width:14px;height:14px;filter:invert(69%)}.footer-column{display:grid;align-content:start;gap:10px}.footer-column h2{margin:0 0 8px;color:#69676f;font-size:8px;letter-spacing:.14em;text-transform:uppercase}.footer-column a{color:#85828a;font-size:10px}.footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:24px;border-top:1px solid #17181c;color:#55535b;font-size:9px}.footer-bottom a{color:#77737c}
.public-content{width:min(1080px,calc(100% - 48px));margin:0 auto;padding:150px 0 110px}.public-content>.section-heading{text-align:left;margin:0 0 48px}.public-content>.section-heading h1{font-size:clamp(40px,6vw,70px);margin-bottom:12px}.public-content>.section-heading p{margin:0;max-width:410px}.status-list{border-top:1px solid var(--line)}.status-row{display:flex;align-items:center;gap:17px;padding:20px 0;border-bottom:1px solid var(--line)}.status-brand{display:grid;place-items:center;width:36px;height:36px;border:1px solid #603849;border-radius:8px;color:var(--accent);font-weight:850}.status-row>div{flex:1}.status-row h2{margin:0 0 4px;font-size:16px}.status-row p{margin:0;font-size:10px}.status-note,.public-note{margin-top:18px;color:#6e6b74;font-size:10px}.support-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;padding:38px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.support-intro h2{margin:0 0 12px;font-size:32px}.support-intro p{font-size:12px;line-height:1.8}.support-checklist{padding:4px 0 0 24px;border-left:1px solid var(--line)}.support-checklist h3{margin:0 0 15px;font-size:14px}.support-checklist ul{padding:0 0 0 16px;margin:0;color:#aaa6ae;font-size:11px;line-height:2}.support-checklist p{margin-top:18px;color:#6f6c75;font-size:10px}.support-links{display:grid;margin-top:28px;border-top:1px solid var(--line)}.support-links a{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);color:#bbb8c0;font-size:11px}.support-links a .nav-icon:first-child{filter:invert(72%) sepia(20%) saturate(570%);}.support-links a .nav-icon:last-child{margin-left:auto;filter:invert(74%);width:13px}
.auth-page .topbar{display:none}.auth-screen{width:min(680px,calc(100% - 30px));min-height:500px;margin:95px auto 70px;grid-template-columns:1fr 1fr;border-radius:5px;border-color:#202126;background:#0c0e11}.auth-form-panel{padding:38px 34px}.auth-aside{min-height:500px;padding:30px;background-position:68% center}.auth-back{margin-bottom:38px;color:#7e7b84;font-size:10px}.auth-form-head h1{font-size:31px}.auth-form-head p:not(.eyebrow){font-size:11px}.auth-form{gap:13px}.auth-form label{font-size:10px}.auth-form input{min-height:40px;padding:10px 11px;font-size:11px}.human-check{padding:8px;border-radius:5px}.human-status{font-size:9px}.auth-submit{min-height:42px;border-radius:4px}.auth-switch{font-size:10px}.auth-aside-copy h2{font-size:30px}.auth-aside-copy p:not(.eyebrow){font-size:11px}.auth-aside-grid{opacity:.08}
.portal-page .topbar{position:fixed}.portal-shell{padding-top:54px}.portal-sidebar{top:54px;height:calc(100vh - 54px)}
@media(max-width:900px){.topbar nav{gap:17px}.product-grid{grid-template-columns:1fr 1fr}.product-card:last-child{grid-column:1/-1;max-width:50%;justify-self:center}.advantages{grid-template-columns:1fr 1fr}.advantages article:nth-child(2){border-right:0}.advantages article:nth-child(n+3){border-top:1px solid #202126}.site-footer{grid-template-columns:1.5fr repeat(3,1fr)}.site-footer .footer-column:last-of-type{display:none}}
@media(max-width:700px){.topbar{height:52px;padding:0 14px}.topbar nav{display:none;top:58px;left:10px;right:10px;transform:none;padding:16px;border:1px solid #28272d;border-radius:7px;background:#101114;box-shadow:0 20px 45px rgba(0,0,0,.45)}.topbar nav.open{display:grid;gap:14px}.nav-actions{gap:10px}.nav-support{display:none}.nav-dashboard{padding:6px 9px}.nav-toggle{display:inline-grid;place-items:center;border:0;background:none;color:#aaa}.landing-hero{min-height:650px;margin-top:52px;padding:105px 18px 78px}.landing-hero h1{font-size:clamp(65px,19vw,105px)}.hero-tagline{font-size:22px}.hero-announcement{font-size:9px}.hero-bottom span{display:none}.landing-section,.public-content{width:calc(100% - 32px);padding:82px 0}.section-heading h2{font-size:32px}.product-grid{grid-template-columns:1fr}.product-card:last-child{grid-column:auto;max-width:none}.product-visual{height:170px}.advantages{grid-template-columns:1fr}.advantages article{border-right:0!important}.advantages article+article{border-top:1px solid #202126}.faq-section{width:calc(100% - 32px);padding-top:88px}.landing-cta{padding:47px 16px}.cta-inner{display:grid;gap:25px}.cta-inner .button{width:max-content}.site-footer{grid-template-columns:1fr 1fr;width:calc(100% - 32px);padding-top:45px}.footer-brand{grid-column:1/-1}.footer-bottom{display:grid;gap:10px}.public-content>.section-heading{text-align:left}.support-intro{grid-template-columns:1fr;gap:30px}.support-checklist{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.auth-screen{grid-template-columns:1fr;width:calc(100% - 22px);margin:76px auto 45px}.auth-aside{min-height:190px;order:-1;padding:24px}.auth-form-panel{padding:28px 20px 30px}.auth-form-split{grid-template-columns:1fr}.auth-aside-copy h2{font-size:25px}.portal-shell{padding-top:52px}.portal-sidebar{top:52px;height:calc(100vh - 52px)}}
/* Keep every navigation action reachable at tablet and mobile widths. */
@media (max-width: 900px) {
  .topbar .inline-form { display: inline-flex; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .topbar nav > a:not(.nav-dashboard):not(.nav-signin):not(.nav-user) {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 700px) {
  .topbar nav.open > a:not(.nav-dashboard):not(.nav-signin):not(.nav-user) {
    display: flex;
    align-items: center;
    min-height: 28px;
    color: #d2cfd5;
  }
  .topbar nav.open > a:not(.nav-dashboard):not(.nav-signin):not(.nav-user):hover {
    color: var(--accent-strong);
  }
}
/* Native details remain keyboard accessible while the answer opens with a quiet slide. */
.faq-answer { display:grid; grid-template-rows:0fr; transition:grid-template-rows .24s ease; }
.faq-answer > p { min-height:0; overflow:hidden; }
.faq-item[open] .faq-answer { grid-template-rows:1fr; }
.live-pill.status-attention { border-color:#64424b; color:#e0b0bc; }
.live-pill.status-attention i { background:#e0b56c; box-shadow:0 0 12px rgba(224,181,108,.35); }

/* Setup wizard and support surfaces keep the portal compact and task focused. */
.setup-wizard { padding: 0; overflow: hidden; }
.wizard-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:24px 24px 20px; }
.wizard-heading h2 { margin:7px 0 6px; font-size:22px; }
.wizard-heading p, .wizard-panel-heading p { margin:0; color:var(--muted); font-size:11px; line-height:1.7; }
.wizard-steps { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.wizard-step { display:flex; align-items:center; gap:10px; min-height:55px; padding:13px 18px; border:0; border-right:1px solid var(--line); background:#0b0d10; color:var(--muted); text-align:left; cursor:pointer; }
.wizard-step:last-child { border-right:0; }
.wizard-step span { display:grid; width:25px; height:25px; place-items:center; border:1px solid #34343b; border-radius:50%; color:#81818a; font-size:9px; font-weight:750; }
.wizard-step strong { font-size:10px; font-weight:700; }
.wizard-step:hover { color:var(--text); background:#111318; }
.wizard-step.active { color:var(--text); background:#17141a; box-shadow:inset 0 -2px 0 var(--accent); }
.wizard-step.active span { border-color:#744354; color:var(--accent); background:#24161e; }
.wizard-panel { padding:25px 24px 24px; }
.wizard-panel[hidden] { display:none !important; }
.wizard-panel.active { display:block; animation:panel-in .16s ease-out; }
.wizard-panel-heading { margin-bottom:19px; }
.wizard-panel-heading h3 { margin:7px 0 6px; font-size:18px; }
.wizard-actions { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line-soft); color:var(--dim); font-size:10px; }
.wizard-actions .button { min-height:35px; padding:8px 13px; }
.download-hero { margin:0; padding:0; border:0; background:transparent; }
.download-hero h3 { margin:0 0 6px; font-size:21px; }
.download-hero p { max-width:540px; color:var(--muted); line-height:1.7; }
.tickets-layout { grid-template-columns:1fr 1fr; align-items:start; }
.tickets-layout:not(.has-ticket) { grid-template-columns:1fr; }
.ticket-list { min-width:0; padding:24px; border:1px solid var(--line); border-radius:9px; background:var(--panel); }
.ticket-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.ticket-toolbar h2 { margin:0; font-size:21px; }
.ticket-toolbar .button { min-height:34px; padding:8px 13px; }
.ticket-filters { display:flex; gap:4px; padding:4px; margin-bottom:15px; border:1px solid var(--line-soft); border-radius:6px; background:#0b0d10; }
.ticket-filters button { flex:1; min-height:29px; padding:6px 9px; border:0; border-radius:4px; background:transparent; color:var(--dim); font:inherit; font-size:10px; cursor:pointer; }
.ticket-filters button:hover, .ticket-filters button.active { color:var(--text); background:#1b1820; }
.ticket-filters button.active { box-shadow:inset 0 0 0 1px #5b3544; }
.ticket-items[hidden], .ticket-empty[hidden] { display:none !important; }
.ticket-empty { min-height:210px; margin:0; border-top:1px solid var(--line-soft); border-bottom:0; }
.ticket-empty .nav-icon { width:22px; height:22px; margin-bottom:5px; opacity:.5; filter:invert(72%) sepia(20%) saturate(500%); }
.ticket-empty strong { font-size:12px; }
.ticket-empty p { max-width:300px; margin:6px auto 0; font-size:10px; }
.ticket-item small { letter-spacing:.01em; }
.ticket-attachment { display:flex; flex-wrap:wrap; align-items:center; gap:7px; width:max-content; max-width:100%; color:var(--muted); font-size:10px; cursor:pointer; }
.ticket-attachment input { width:100%; font-size:10px; }
.ticket-attachment small { width:100%; color:var(--dim); font-size:9px; }
.ticket-modal { width:min(520px,100%); padding:27px 20px 20px; }
.ticket-modal h2 { margin:0 0 6px; font-size:21px; }
.ticket-modal > p { margin:0 0 19px; color:var(--muted); }
.ticket-modal .stack-form { gap:11px; }
.ticket-modal .stack-form label { gap:6px; }
.input-count { margin-top:-7px; color:var(--dim); font-size:9px; text-align:right; }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
@media (max-width:700px) {
  .wizard-heading { display:block; padding:20px 17px 17px; }
  .wizard-heading .step-count { display:block; margin-top:14px; }
  .wizard-steps { grid-template-columns:1fr; }
  .wizard-step { min-height:43px; border-right:0; border-bottom:1px solid var(--line-soft); }
  .wizard-step:last-child { border-bottom:0; }
  .wizard-panel { padding:20px 17px 17px; }
  .wizard-actions { align-items:stretch; flex-direction:column; }
  .wizard-actions .button { width:100%; }
  .wizard-actions > span { order:2; text-align:center; }
  .ticket-list { padding:17px; }
  .ticket-toolbar { align-items:stretch; flex-direction:column; }
  .ticket-toolbar .button { width:100%; }
  .ticket-filters button { padding-inline:4px; font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
  .wizard-panel.active { animation:none; }
}

/* Desktop portal proportions follow the wide customer-panel layout: a clear
   navigation rail, a generous content canvas, and readable control labels. */
@media (min-width:901px) {
  .portal-shell { grid-template-columns:235px minmax(0,1fr); }
  .portal-sidebar { padding:28px 16px 18px; }
  .portal-main { width:100%; max-width:none; padding:42px 92px 70px 98px; }
  .sidebar-brand { padding:0 10px 18px; }
  .sidebar-logo { width:34px; height:34px; border-radius:8px; font-size:18px; }
  .sidebar-label { padding:22px 12px 9px; font-size:9px; letter-spacing:.15em; }
  .side-link { gap:12px; padding:12px 12px; border-left-width:3px; border-radius:7px; font-size:13px; }
  .side-link > span { width:19px; }
  .side-link b { font-size:11px; }
  .side-link .nav-icon { width:17px; height:17px; }
  .sidebar-bottom { gap:10px; padding:20px 10px 0; }
  .sidebar-bottom strong { font-size:11px; }
  .sidebar-bottom small { font-size:9px; }
  .portal-heading { margin-bottom:32px; }
  .portal-heading h1 { margin-bottom:9px; font-size:42px; letter-spacing:-.07em; }
  .portal-heading p { font-size:13px; }
  .section-top h2, .ticket-toolbar h2 { font-size:23px; }
  .ticket-list { padding:27px; }
  .ticket-toolbar { margin-bottom:23px; }
  .ticket-toolbar .button { min-height:39px; padding:9px 16px; font-size:12px; }
  .ticket-filters { padding:5px; margin-bottom:18px; }
  .ticket-filters button { min-height:34px; font-size:12px; }
  .ticket-item { padding:17px 16px; }
  .ticket-item strong { font-size:13px; }
  .ticket-item small { margin-top:5px; font-size:10px; }
}
@media (min-width:701px) and (max-width:900px) {
  .portal-shell { grid-template-columns:220px minmax(0,1fr); }
  .portal-main { width:100%; max-width:none; padding:36px 32px 60px; }
  .side-link { font-size:12px; }
  .side-link .nav-icon { width:16px; height:16px; }
  .portal-heading h1 { font-size:36px; }
}

/* Auth presentation: a compact editorial split screen with the supplied artwork. */
.auth-page {
  background:
    radial-gradient(circle at 80% 15%, rgba(126, 23, 32, .12), transparent 36rem),
    #070809;
}
.auth-page .topbar { display: none; }
.auth-screen {
  width: min(920px, calc(100% - 36px));
  min-height: 560px;
  margin: clamp(68px, 12vh, 118px) auto 64px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  border: 1px solid #292126;
  border-radius: 8px;
  background: #090a0c;
  box-shadow: 0 26px 90px rgba(0,0,0,.34);
}
.auth-form-panel { padding: 46px 42px; }
.auth-back {
  margin-bottom: 38px;
  color: #77747b;
  font-size: 10px;
  letter-spacing: .01em;
}
.auth-back:hover { color: #f0edef; }
.auth-form-head .eyebrow { margin-bottom: 15px; color: #bf5861; }
.auth-form-head h1 {
  margin-bottom: 8px;
  color: #f2eff0;
  font-size: clamp(30px, 3.4vw, 39px);
  letter-spacing: -.055em;
}
.auth-form-head p:not(.eyebrow) {
  max-width: 245px;
  margin-bottom: 25px;
  color: #8b878d;
  font-size: 12px;
  line-height: 1.65;
}
.auth-form { gap: 14px; }
.auth-form label {
  gap: 7px;
  color: #cbc7cb;
  font-size: 11px;
  letter-spacing: .01em;
}
.auth-form input {
  min-height: 44px;
  padding: 11px 12px;
  border-color: #2e2a30;
  border-radius: 5px;
  background: #101114;
  font-size: 12px;
}
.auth-form input:focus {
  border-color: #b54752;
  box-shadow: 0 0 0 3px rgba(192, 55, 68, .16);
}
.auth-form input::placeholder { color: #66636a; }
.auth-form-split { gap: 10px; }
.auth-submit {
  min-height: 44px;
  margin-top: 2px;
  border: 1px solid #b64954;
  border-radius: 5px;
  background: #b9434e;
  color: #fff5f5;
  font-size: 12px;
  font-weight: 700;
}
.auth-submit:hover { border-color: #db5b66; background: #cc4e59; }
.auth-submit:disabled { border-color: #422027; background: #3a1a20; color: #84636a; }
.auth-switch { margin-top: 20px; color: #77737a; font-size: 10px; }
.auth-switch a { color: #dd6871; }
.auth-aside {
  min-height: 560px;
  padding: 40px;
  background-color: #120d0f;
  background-image:
    linear-gradient(180deg, rgba(8, 9, 11, .04) 20%, rgba(8, 9, 11, .84) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, .46), rgba(8, 9, 11, .02) 64%),
    url('/static/images/valhanna-auth-character.jpg');
  background-position: center, center, 56% 26%;
  background-size: cover, cover, cover;
}
.auth-aside::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 65% 35%, rgba(182, 38, 48, .27), transparent 50%);
  content: "";
  pointer-events: none;
}
.auth-aside::after {
  background: linear-gradient(180deg, transparent 26%, rgba(7, 8, 10, .76) 100%);
}
.auth-aside-grid { display: none; }
.auth-aside-copy { max-width: 300px; }
.auth-aside-copy .eyebrow { color: #dc646e; }
.auth-aside-copy h2 {
  margin-bottom: 14px;
  color: #f5f1f2;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.07em;
  line-height: .98;
}
.auth-aside-copy h2 em { color: #e06069; font-style: normal; }
.auth-aside-copy p:not(.eyebrow) {
  max-width: 235px;
  color: #d0c9cc;
  font-size: 12px;
  line-height: 1.7;
}
.auth-aside-rule { width: 42px; margin: 23px 0 12px; background: #d4545e; }
.auth-aside-copy small { color: #aaa2a6; font-size: 9px; letter-spacing: .02em; }
.human-check {
  padding: 9px 10px;
  border-color: #332d32;
  border-radius: 5px;
  background: #111216;
}
.human-check-button { min-height: 25px; gap: 9px; }
.human-check-box {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  border-color: #77737a;
  border-radius: 3px;
  background: #0a0b0d;
}
.human-check.is-verifying .human-check-box { border-color: #d3545e; }
.human-check.is-verified .human-check-box { border-color: #d3545e; background: #d3545e; }
.human-check.is-verified .human-check-mark { color: #210b0f; background: #e66b74; }
.human-check-button [data-human-label] { color: #d9d4d7; font-size: 11px; }
.human-check-mark { width: 18px; height: 18px; }
.human-status { margin: 7px 0 0 29px; color: #77737a; font-size: 9px; }
.human-check.is-verified .human-status { color: #dd6871; }
@keyframes verify-pulse-red { 50% { box-shadow: 0 0 0 4px rgba(211,84,94,.17); } }
.human-check.is-verifying .human-check-box { animation-name: verify-pulse-red; }
.alert.error { border-color: #71303a; background: #201013; color: #f39aa2; }
.alert.success { border-color: #4a2830; background: #171013; color: #dc8790; }

@media (max-width: 700px) {
  .auth-screen {
    width: calc(100% - 24px);
    min-height: 0;
    margin: 32px auto 38px;
    grid-template-columns: 1fr;
  }
  .auth-aside {
    order: -1;
    min-height: 275px;
    padding: 28px 24px;
    background-position: center, center, 56% 20%;
  }
  .auth-aside-copy h2 { font-size: 34px; }
  .auth-form-panel { padding: 30px 22px 27px; }
  .auth-back { margin-bottom: 28px; }
  .auth-form-split { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .human-check.is-verifying .human-check-box { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tab-loading-orb, .tab-loading-card::after, .tab-skeleton::after, .tab-loading-status-line::after, .portal-particle { animation: none; }
  .portal-particle { opacity: .28; }
}

/* Account dashboard: red-on-black product surfaces with real account actions. */
:root { --accent:#d95763; --accent-strong:#ed6c76; --accent-dark:#3a151b; --pink-soft:#a9424e; }
.button.primary { color:#1b0b0f; }
.dashboard-help-banner { display:flex; align-items:center; gap:12px; min-height:58px; padding:12px 16px; margin-bottom:16px; border:1px solid #3d252b; border-radius:8px; background:#171013; color:var(--text); }
.dashboard-help-banner:hover { border-color:#6a343e; background:#1d1216; }
.dashboard-help-banner > span:nth-child(2) { flex:1; }
.dashboard-help-banner strong, .dashboard-help-banner small { display:block; }
.dashboard-help-banner strong { font-size:13px; }
.dashboard-help-banner small { margin-top:2px; color:var(--muted); font-size:10px; }
.dashboard-help-banner > b { color:var(--muted); font-size:17px; font-weight:400; }
.dashboard-help-icon { display:grid; width:29px; height:29px; place-items:center; border:1px solid #4f2932; border-radius:7px; background:#28141a; }
.dashboard-help-icon .nav-icon { width:15px; height:15px; filter:invert(52%) sepia(54%) saturate(850%) hue-rotate(310deg); }
.subscription-panel { margin-bottom:16px; }
.subscription-panel .section-top { align-items:center; }
.subscription-panel .section-top p { max-width:540px; }
.subscription-panel .section-top .button { min-height:36px; padding:8px 13px; }
.license-add-row { display:flex; align-items:center; width:100%; gap:12px; padding:13px 11px; margin-top:14px; border:1px solid var(--line-soft); border-radius:6px; background:#0d0f12; color:var(--text); text-align:left; }
.license-add-row:hover { border-color:#63333d; background:#151015; }
.license-add-row > span:nth-child(2) { flex:1; }
.license-add-row strong, .license-add-row small { display:block; }
.license-add-row strong { font-size:12px; }
.license-add-row small { margin-top:3px; color:var(--dim); font-size:10px; }
.license-add-row > b { color:var(--accent); font-size:18px; font-weight:400; }
.redeem-modal { width:min(512px,100%); padding:27px 24px 24px; }
.redeem-modal h2 { margin-bottom:5px; font-size:22px; }
.redeem-modal > p { margin-bottom:19px; font-size:12px; }
.redeem-modal .stack-form { gap:12px; }
.redeem-modal .button { align-self:flex-end; min-width:114px; }
.redeem-support { margin: -1px 0 4px; color:var(--muted); font-size:11px; }
.redeem-support a { color:var(--accent-strong); text-decoration:underline; text-underline-offset:3px; }
.settings-profile, .settings-section, .settings-danger { margin-bottom:15px; }
.settings-profile-head { display:flex; align-items:center; gap:14px; padding-bottom:20px; border-bottom:1px solid var(--line-soft); }
.settings-avatar { display:grid; width:46px; height:46px; place-items:center; border:1px solid #63313c; border-radius:50%; background:#251218; color:var(--accent-strong); font-size:17px; font-weight:800; }
.settings-profile-head h2 { margin:4px 0 3px; font-size:22px; }
.settings-profile-head p { margin:0; font-size:11px; }
.settings-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:0; }
.settings-facts > div { padding:15px 15px 0 0; }
.settings-facts dt { color:var(--dim); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.settings-facts dd { margin:4px 0 0; color:var(--text); font-size:12px; }
.settings-action-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) auto; align-items:end; gap:12px; }
.settings-action-form label { min-width:0; }
.settings-action-form .button { min-height:43px; }
.settings-danger { display:flex; align-items:center; justify-content:space-between; gap:20px; border-color:#4d252d; background:#160e11; }
.settings-danger h2 { margin:5px 0 4px; font-size:19px; }
.settings-danger p { margin:0; font-size:11px; }
.settings-danger form { margin:0; }
.button.danger { border-color:#78323d; background:#5c202a; color:#ffecef; }
.button.danger:hover { border-color:#a83f4d; background:#762b37; }
.commerce-grid { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:15px; margin-top:15px; }
.buy-commerce-grid { grid-template-columns:minmax(0,1fr); }
.wallet-panel, .purchase-panel, .inbox-panel { min-width:0; }
.wallet-panel h2, .purchase-panel h2, .inbox-panel h2 { margin-bottom:7px; font-size:22px; }
.wallet-panel p, .purchase-panel p, .inbox-panel p { max-width:570px; margin:0; font-size:11px; line-height:1.75; }
.wallet-mark { display:grid; width:42px; height:42px; flex:0 0 42px; place-items:center; border:1px solid #71333d; border-radius:50%; background:#2a1117; color:#ff747c; font-size:14px; font-weight:850; }
.wallet-facts { display:flex; gap:22px; margin:19px 0 17px; padding-top:14px; border-top:1px solid var(--line-soft); color:var(--dim); font-size:10px; }
.wallet-facts strong { display:block; margin-top:3px; color:var(--text); font-size:16px; }
.wallet-panel .button { margin-right:10px; }
.wallet-only-panel { max-width: 760px; }
.wallet-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:18px; }
.wallet-actions .button { margin-right:0; }
.purchase-form { display:grid; gap:16px; }
.purchase-form fieldset { min-width:0; padding:0; margin:0; border:0; }
.purchase-form legend { margin-bottom:9px; color:var(--dim); font-size:9px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.choice-card { position:relative; display:flex !important; min-width:0; gap:8px !important; align-items:flex-start; padding:11px 10px; border:1px solid var(--line-soft); border-radius:6px; background:#0d0f12; color:var(--muted) !important; cursor:pointer; }
.choice-card:hover { border-color:#66333d; background:#151015; }
.choice-card input { position:absolute; width:1px !important; height:1px !important; opacity:0; pointer-events:none; }
.choice-card input:checked + span { color:var(--text); }
.choice-card:has(input:checked) { border-color:#93404b; background:#1b1014; box-shadow:inset 0 0 0 1px #6a2f39; }
.choice-card strong, .choice-card small { display:block; }
.choice-card strong { font-size:11px; }
.choice-card small { margin-top:4px; color:var(--dim); font-size:9px; }
.purchase-form > .button { width:max-content; min-width:160px; }
.inbox-panel { margin-top:15px; }
.inbox-list { display:grid; gap:1px; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:var(--line); }
.inbox-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px; background:var(--panel); }
.inbox-row-main { min-width:0; flex:1; }
.inbox-row-title { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.inbox-row-title strong { color:var(--text); font-size:13px; }
.inbox-row-main > small { display:block; margin-top:5px; color:var(--dim); font-size:9px; }
.inbox-row-main > p { margin-top:8px; color:var(--muted); font-size:10px; }
.inbox-key { display:grid; min-width:235px; gap:8px; justify-items:end; }
.inbox-key code { padding:8px 10px; border:1px solid #4a2831; border-radius:5px; background:#160d10; color:#ed8a92; font-size:10px; letter-spacing:.04em; }
.inbox-key .button { min-height:32px; padding:7px 11px; font-size:10px; }
.empty-state { display:grid; min-height:190px; place-items:center; align-content:center; gap:6px; border-top:1px solid var(--line-soft); color:var(--dim); text-align:center; }
.empty-state .nav-icon { width:24px; height:24px; opacity:.55; filter:invert(70%) sepia(20%) saturate(550%); }
.empty-state strong { color:var(--muted); font-size:12px; }
.empty-state p { max-width:330px; font-size:10px; }
.admin-inline-form, .admin-review-form { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.admin-inline-form input, .admin-review-form input { min-height:30px; width:125px; padding:6px 8px; border:1px solid var(--line); border-radius:5px; outline:0; background:#101114; color:var(--text); font-size:9px; }
.admin-inline-form input:focus, .admin-review-form input:focus { border-color:var(--accent); box-shadow:0 0 0 2px rgba(217,87,99,.16); }
.admin-review-form input { width:140px; }
.admin-form-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.admin-credit-user-form, .admin-product-form { max-width:860px; }
.admin-plan-form { display:grid; grid-template-columns:minmax(130px,1fr) 110px auto auto; align-items:center; gap:12px; padding:13px 0; border-top:1px solid var(--line-soft); }
.admin-plan-form > div { min-width:0; }
.admin-plan-form strong, .admin-plan-form small { display:block; }
.admin-plan-form strong { color:var(--text); font-size:11px; }
.admin-plan-form small { margin-top:3px; color:var(--dim); font-size:9px; }
.admin-plan-form label { margin:0; }
.admin-plan-form input { min-height:32px; }
.admin-plan-form > span { color:var(--dim); font-size:10px; }
@media (max-width:700px) {
  .dashboard-help-banner { align-items:flex-start; }
  .subscription-panel .section-top { align-items:stretch; flex-direction:column; }
  .subscription-panel .section-top .button { width:100%; }
  .settings-facts { grid-template-columns:1fr; }
  .settings-facts > div + div { padding-top:11px; }
  .settings-action-form { grid-template-columns:1fr; }
  .settings-action-form .button { width:100%; }
  .settings-danger { align-items:stretch; flex-direction:column; }
  .settings-danger .button { width:100%; }
  .redeem-modal { padding:25px 18px 19px; }
  .redeem-modal .button { width:100%; }
  .commerce-grid { grid-template-columns:1fr; }
  .choice-grid { grid-template-columns:1fr; }
  .purchase-form > .button { width:100%; }
  .wallet-panel .button { width:100%; margin:0 0 10px; }
  .wallet-actions { align-items:stretch; flex-direction:column; }
  .wallet-actions .text-link { padding:6px 0; }
  .inbox-row { align-items:stretch; flex-direction:column; }
  .inbox-key { min-width:0; justify-items:stretch; }
  .inbox-key .button { width:100%; }
  .admin-inline-form, .admin-review-form { align-items:stretch; flex-direction:column; }
  .admin-inline-form input, .admin-review-form input, .admin-inline-form .icon-button, .admin-review-form .icon-button { width:100%; }
  .admin-form-row { grid-template-columns:1fr; }
  .admin-plan-form { grid-template-columns:minmax(0,1fr) 84px auto; gap:8px; }
  .admin-plan-form > span { display:none; }
}

/* Shared controls: keep every form in the portal on the same custom dark treatment. */
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #30333a;
  border-radius: 7px;
  outline: none;
  background: #111318;
  color: var(--text);
  color-scheme: dark;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
select:hover,
textarea:hover { border-color: #4a4d56; }

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: #14161b;
  box-shadow: 0 0 0 3px rgba(217, 87, 99, .14);
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder,
textarea::placeholder { color: #60636c; opacity: 1; }

select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%2391939a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px;
}

textarea { min-height: 112px; resize: vertical; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text);
  background-color: #111318 !important;
  -webkit-box-shadow: 0 0 0 1000px #111318 inset !important;
  box-shadow: 0 0 0 1000px #111318 inset !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
}

input[type="file"] {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #30333a;
  border-radius: 7px;
  background: #111318;
  color: var(--muted);
  font: inherit;
}

input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 10px;
  border: 1px solid #4b252d;
  border-radius: 5px;
  background: #251217;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

/* Compact forms keep their deliberate dimensions while inheriting the shared colors. */
.upload-drop input[type="file"] {
  min-height: auto;
  padding: 5px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* These two labels are informational only; the primary content stays uncluttered. */
.inbox-panel .section-top > .wallet-mark,
.update-card .section-top > .status-chip { display: none; }

/* Final spacing pass: compact controls, readable text insets, and a calmer navigation rail. */
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select {
  min-height: 42px;
  padding: 10px 12px;
}

textarea { min-height: 100px; padding: 11px 12px; }

.admin-inline-form input,
.admin-review-form input,
.admin-plan-form input,
.assign-form select,
.small-select {
  min-height: 32px !important;
  padding: 7px 9px !important;
}

.side-link { padding-inline: 14px; }
.sidebar-label { padding-inline: 14px; }
.sidebar-bottom { padding-inline: 12px; }

.portal-heading > div,
.portal-heading h1,
.portal-heading p,
.section-top > div,
.wizard-heading > div,
.ticket-toolbar > div { padding-inline: 5px; }

.portal-heading h1,
.public-content > .section-heading h1,
.support-intro h2,
.landing-heading h2,
.section-heading-row h2 { padding-inline: 8px; }

.public-content > .section-heading { padding-inline: 20px; }
.support-intro { padding-inline: 22px; }
.support-links a { padding-inline: 8px; }
.landing-heading, .section-heading-row { padding-inline: 10px; }

@media (max-width: 700px) {
  .portal-heading > div,
  .section-top > div,
  .wizard-heading > div,
  .ticket-toolbar > div { padding-inline: 2px; }
  .public-content > .section-heading { padding-inline: 12px; }
  .support-intro { padding-inline: 14px; }
  .landing-heading, .section-heading-row { padding-inline: 4px; }
}

/* Typography correction: keep display headings expressive without crowding glyphs. */
body { letter-spacing: normal; word-spacing: normal; }
h1, h2, h3 { letter-spacing: -.02em; }
.brand { letter-spacing: -.025em; }
.landing-hero h1 { letter-spacing: -.035em; }
.hero-tagline { letter-spacing: -.015em; }
.landing-heading h2,
.section-heading h2,
.landing-cta h2,
.faq-heading h2 { letter-spacing: -.025em; }
.product-index,
.steps-grid b,
.product-monogram,
.metric-card > strong,
.collection-art strong { letter-spacing: -.03em; }
.portal-heading h1 { letter-spacing: -.025em; }

/* FiveM purchase presentation */
.product-grid-single { grid-template-columns: minmax(0, 1fr); }
.product-grid-single .product-card { width: 100%; }
.game-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,280px)); gap:16px; }
.game-card { position:relative; display:grid; min-height:300px; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#090a0c; color:var(--text); text-decoration:none; transition:transform .22s,border-color .22s; }
.game-card:hover { transform:translateY(-4px); border-color:#8b3b48; }
.game-card img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; opacity:.72; filter:saturate(.8) contrast(1.1); transition:transform .35s,opacity .35s; }
.game-card:hover img { transform:scale(1.04); opacity:.9; }
.game-card::after { position:absolute; inset:0; background:linear-gradient(180deg,rgba(9,9,11,.08),rgba(9,9,11,.86)); content:""; }
.game-card-title { position:relative; z-index:1; margin-top:180px; font-size:26px; font-weight:800; }
.game-card-arrow { position:absolute; z-index:1; right:18px; bottom:17px; color:var(--accent-strong); font-size:18px; }
.game-card-fallback { display:grid; width:92px; height:92px; place-items:center; border-radius:22px; background:#171015; color:var(--accent-strong); font-size:44px; font-weight:850; }
.game-detail-top { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:26px; }
.buy-product-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 15px; margin-top: 15px; }
.buy-product-showcase, .buy-price-panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.buy-product-showcase { overflow: hidden; }
.buy-product-copy { padding: 25px 25px 20px; }
.buy-product-heading { display:flex; gap:13px; align-items:center; }
.buy-product-logo-wrap { display:grid; width:46px; height:46px; place-items:center; border:1px solid var(--line); border-radius:8px; background:#0a0b0e; overflow:hidden; }
.buy-product-logo { width:34px; height:34px; object-fit:contain; }
.buy-product-copy h2 { margin: 7px 0 10px; font-size: clamp(28px, 4vw, 48px); }
.buy-product-copy p:not(.eyebrow) { max-width: 540px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.buy-product-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.buy-product-media { aspect-ratio: 16 / 7; border-top: 1px solid var(--line); background: #090a0c; }
.buy-product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .78; filter: saturate(.55) contrast(1.05); }
.buy-product-switcher { display:flex; gap:8px; padding:0 25px 19px; overflow-x:auto; }
.buy-product-switch { display:flex; min-width:140px; align-items:center; gap:8px; padding:8px 10px; border:1px solid var(--line-soft); border-radius:6px; color:var(--muted); text-decoration:none; }
.buy-product-switch:hover, .buy-product-switch.active { border-color:#8b3b48; color:var(--text); background:#171015; }
.buy-product-switch img { width:23px; height:23px; object-fit:contain; }
.buy-product-switch span { font-size:11px; font-weight:700; }
.buy-product-switch small { margin-left:auto; color:var(--dim); font-size:9px; }
.product-requirements { padding:20px 25px 24px; border-top:1px solid var(--line); }
.product-requirements > .eyebrow { margin-bottom:11px; }
.product-requirement-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.product-requirement { display:flex; align-items:center; gap:9px; min-height:47px; padding:10px 12px; border:1px solid var(--line-soft); border-radius:6px; background:#0d0f12; }
.product-requirement span { display:grid; width:22px; height:22px; place-items:center; border-radius:5px; background:#2a1117; color:#ff8795; font-size:12px; }
.product-requirement strong { font-size:10px; }
.buy-price-panel { padding: 25px; }
.buy-price-heading h3 { margin: 7px 0 8px; font-size: 21px; }
.buy-price-heading p { margin: 0 0 21px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.buy-product-select { display: grid; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.buy-product-select select { width: 100%; }
.buy-coupon-field { display:grid; gap:7px; margin:0 0 17px; color:var(--muted); font-size:10px; }
.buy-coupon-field input { width:100%; min-height:38px; padding:9px 11px; border:1px solid #30333a; border-radius:7px; background:#111318; color:var(--text); outline:none; text-transform:uppercase; }
.buy-coupon-field input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(217,75,94,.13); }
.buy-purchase-form fieldset { padding: 0; margin: 0 0 19px; border: 0; }
.buy-purchase-form legend { margin-bottom: 9px; color: var(--text); font-size: 11px; font-weight: 700; }
.buy-plan-list { display: grid; gap: 7px; }
.buy-plan-option { display: flex; align-items: center; gap: 10px; padding: 12px 11px; border: 1px solid var(--line-soft); border-radius: 6px; color: var(--muted); cursor: pointer; }
.buy-plan-option:hover { border-color: #69333e; background: #151014; }
.buy-plan-option:has(input:checked) { border-color: #a74452; background: #1b1014; box-shadow: inset 0 0 0 1px #71333d; color: var(--text); }
.buy-plan-option input { accent-color: #d94b5e; }
.buy-plan-option span { display: grid; gap: 3px; flex: 1; }
.buy-plan-option strong { color: inherit; font-size: 12px; }
.buy-plan-option small { color: var(--dim); font-size: 9px; }
.buy-plan-option > b { color: var(--text); font-size: 13px; white-space: nowrap; }
.buy-plan-option > b small { margin-left: 2px; }
.buy-request-button { width: 100%; justify-content: center; }
.buy-secure-note { margin: 13px 0 0; color: var(--dim); font-size: 9px; text-align: center; }
@media (max-width: 900px) { .buy-product-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .buy-product-copy, .buy-price-panel { padding: 20px; } .buy-product-media { aspect-ratio: 16 / 9; } .buy-product-switcher { padding-left:20px; padding-right:20px; } .product-requirements { padding-left:20px; padding-right:20px; } .product-requirement-grid { grid-template-columns:1fr; } }

/* Buy flow: choose a game, then a release, before opening purchase details. */
.buy-selector-panel { margin-top: 15px; padding: 25px; }
.buy-selector-panel .section-top { margin-bottom: 22px; }
.buy-game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); gap: 14px; }
.buy-game-card { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #090a0c; color: var(--text); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.buy-game-card:hover, .buy-release-card:hover { transform: translateY(-3px); border-color: #8b3b48; }
.buy-game-art { position: relative; min-height: 205px; overflow: hidden; background: #111217; }
.buy-game-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.05), rgba(8,9,11,.72)); content: ""; }
.buy-game-art img { width: 100%; height: 100%; object-fit: cover; opacity: .78; filter: saturate(.78) contrast(1.08); transition: transform .3s ease, opacity .3s ease; }
.buy-game-card:hover .buy-game-art img { transform: scale(1.04); opacity: .92; }
.buy-game-fallback { display: grid; width: 82px; height: 82px; margin: 58px auto 0; place-items: center; border: 1px solid #5b3540; border-radius: 18px; background: #171015; color: var(--accent-strong); font-size: 38px; font-weight: 850; }
.buy-game-copy { display: grid; gap: 7px; padding: 16px 17px 17px; }
.buy-game-copy strong { font-size: 18px; }
.buy-game-copy small { min-height: 32px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.buy-game-copy b { color: var(--accent-strong); font-size: 10px; font-weight: 700; }
.buy-game-copy b span { margin-left: 5px; font-size: 14px; }
.buy-back-link { display: inline-flex; margin-bottom: 13px; font-size: 10px; }
.buy-release-grid { display: grid; gap: 10px; max-width: 760px; }
.buy-release-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 18px; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #0b0d10; color: var(--text); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.buy-release-card:hover { background: #131014; }
.buy-release-logo { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #08090b; }
.buy-release-logo img { width: 31px; height: 31px; object-fit: contain; }
.buy-release-copy { display: grid; gap: 4px; min-width: 0; }
.buy-release-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.buy-release-copy small { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.buy-release-card .status-chip { white-space: nowrap; }
.buy-release-arrow { color: var(--accent-strong); font-size: 17px; }
@media (max-width: 700px) {
  .buy-selector-panel { padding: 20px; }
  .buy-game-grid { grid-template-columns: 1fr; }
  .buy-game-card { min-height: 270px; }
  .buy-game-art { min-height: 180px; }
  .buy-release-card { grid-template-columns: 38px minmax(0,1fr) 17px; gap: 10px; }
  .buy-release-card .status-chip { grid-column: 2; justify-self: start; }
  .buy-release-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .buy-release-logo { width: 38px; height: 38px; }
  .buy-product-heading { align-items: flex-start; }
}
/* Games and product catalog */
.games-experience { display:grid; gap:28px; }
.games-search { display:flex; align-items:end; gap:10px; max-width:560px; }
.games-search label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.games-search input { flex:1; min-height:42px; padding:11px 13px; border:1px solid #2b2e34; border-radius:7px; background:#111318; color:var(--text); outline:none; }
.games-search input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(217,75,94,.13); }
.game-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(235px,1fr)); gap:15px; }
.game-card { display:grid; grid-template-rows:170px auto; min-height:290px; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:#0d0f12; color:var(--text); text-decoration:none; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.game-card:hover,.game-card:focus-visible { transform:translateY(-3px); border-color:#96404b; background:#131014; }
.game-card-art { display:block; overflow:hidden; background:#111217; }
.game-card-art img { width:100%; height:100%; object-fit:cover; filter:saturate(.78) contrast(1.08); transition:transform .3s ease; }
.game-card:hover .game-card-art img { transform:scale(1.04); }
.game-card-body { display:grid; gap:7px; align-content:start; padding:15px 16px 17px; }
.game-card-body strong { font-size:17px; }
.game-card-body small { min-height:30px; color:var(--muted); font-size:10px; line-height:1.6; }
.game-card-body b { color:var(--accent-strong); font-size:10px; }
.game-card-body b span { margin-left:6px; font-size:14px; }
.public-empty { display:grid; gap:7px; min-height:130px; place-content:center; padding:30px; border:1px solid var(--line); border-radius:9px; background:var(--panel); color:var(--muted); text-align:center; }
.public-empty strong { color:var(--text); font-size:15px; }
.public-empty p { margin:0; font-size:11px; }
.game-detail-page { display:grid; gap:32px; }
.game-detail-hero { position:relative; min-height:330px; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:#0d0f12; }
.game-detail-hero > a { position:absolute; z-index:2; top:20px; left:22px; padding:7px 10px; border:1px solid rgba(255,255,255,.18); border-radius:6px; background:rgba(7,8,10,.72); }
.game-detail-hero > img { width:100%; height:330px; object-fit:cover; opacity:.65; filter:saturate(.75) contrast(1.12); }
.game-detail-overlay { position:absolute; inset:auto 28px 25px; }
.game-detail-overlay h2 { margin:8px 0 8px; font-size:clamp(30px,5vw,58px); }
.game-detail-overlay p { max-width:650px; margin:0; color:#d0ccd1; font-size:12px; line-height:1.7; }
.game-products-heading { margin-bottom:0; }
.game-product-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.game-product-card { display:grid; grid-template-rows:155px auto; overflow:hidden; padding:0; }
.game-product-card > img { width:100%; height:155px; object-fit:cover; opacity:.78; filter:saturate(.65) contrast(1.08); }
.product-entry-content { display:grid; gap:8px; padding:17px; }
.product-entry-content h3 { margin:0; font-size:19px; }
.product-entry-content p { min-height:34px; margin:0; color:var(--muted); font-size:10px; line-height:1.65; }
@media (max-width:700px) {
 .games-search { align-items:stretch; flex-direction:column; }
 .game-grid,.game-product-list { grid-template-columns:1fr; }
 .game-detail-hero,.game-detail-hero > img { min-height:300px; height:300px; }
 .game-detail-overlay { inset:auto 19px 20px; }
}

/* Catalog media controls stay compact in the admin table without changing the
   surrounding table layout. */
.admin-media-gallery { display:grid; gap:6px; justify-items:start; }
.admin-media-thumb { width:72px; height:44px; object-fit:cover; border:1px solid var(--line); border-radius:5px; background:#0b0d10; }
.admin-media-gallery > span { color:var(--dim); font-size:10px; }
.admin-gallery-order { display:flex; align-items:center; gap:5px; margin-top:3px; }
.admin-gallery-order input { width:76px; min-height:30px !important; padding:6px 7px !important; font-size:11px; }
.config-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:26px}.config-intro p{max-width:650px;color:#9ca0ad;line-height:1.65}.config-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:18px}.config-card{padding:24px;display:flex;flex-direction:column;gap:13px;min-width:0;transition:transform .2s,border-color .2s}.config-card:hover{transform:translateY(-3px);border-color:#66303c}.config-card h2{font-size:21px;overflow-wrap:anywhere;margin:0}.config-card p{margin:0}.config-card-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.config-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#391820;color:#ff657c;font-size:24px}.config-meta,.config-card small{color:#9ca0ad;font-size:12px;line-height:1.6}.config-description{color:#d2d3dc;line-height:1.6;overflow-wrap:anywhere;flex:1}.config-price{color:#ff657c;font-size:23px;font-weight:700}.config-price small{font-size:11px}.config-card>.button,.config-card>form .button{width:100%;margin-top:4px}.config-publish,.config-delete{border-top:1px solid #30272d;padding-top:14px}.config-publish summary,.config-delete summary{cursor:pointer;font-size:13px;color:#d5d6df}.config-delete summary{color:#9ca0ad}.config-form{display:flex;flex-direction:column;gap:12px;margin-top:16px}.config-form label,.config-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#a9aab7}.config-form input,.config-form textarea,.config-form select,.config-filters input,.config-filters select{box-sizing:border-box;width:100%;background:#111217;color:#ececf1;border:1px solid #363039;border-radius:8px;padding:10px;font:inherit}.config-form input:focus,.config-form textarea:focus,.config-form select:focus,.config-filters input:focus,.config-filters select:focus{outline:2px solid #ed3b57;outline-offset:2px}.config-filters{display:grid;grid-template-columns:1fr 220px auto;gap:14px;align-items:end;padding:20px;margin-bottom:20px}.config-empty{text-align:center;padding:50px 24px}.config-empty .config-symbol{margin:0 auto 20px}.config-empty p{color:#9ca0ad;max-width:540px;margin:14px auto 24px;line-height:1.7}.config-delete p{font-size:12px;color:#9ca0ad;padding:12px 0}.market-card>small{margin-bottom:5px}@media(max-width:700px){.config-intro{align-items:flex-start;flex-direction:column;padding:20px}.config-filters{grid-template-columns:1fr}.config-card{padding:20px}}@media(prefers-reduced-motion:reduce){.config-card{transition:none}.config-card:hover{transform:none}}
