/* LORWY — City Edition. One shared layout system for the existing portal. */
:root {
  --theme-primary: #101419;
  --theme-secondary: #edf1f5;
  --bg: color-mix(in srgb, var(--theme-primary) 44%, #080d0e);
  --surface: color-mix(in srgb, var(--theme-primary) 48%, #15191d);
  --surface-raised: color-mix(in srgb, var(--theme-primary) 44%, #22272d);
  --ink: var(--theme-secondary);
  --muted: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --faint: color-mix(in srgb, var(--ink) 47%, var(--bg));
  --accent: #8abbf3;
  --accent-ink: #131b24;
  --border: color-mix(in srgb, var(--ink) 12%, transparent);
  --border-soft: color-mix(in srgb, var(--ink) 7%, transparent);
  --radius: 18px;
  --page: 1280px;
  --display: 'Space Grotesk', 'Manrope', 'Segoe UI', sans-serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --black: var(--bg); --black2: var(--surface); --panel: var(--surface);
  --white: var(--ink); --line: var(--border); --soft: var(--muted);
  --edge: var(--border); --edge-soft: var(--border-soft);
  --theme-muted: var(--muted); --theme-faint: var(--faint);
  --theme-surface-1: var(--surface); --theme-surface-2: var(--surface-raised);
  --theme-surface-3: var(--surface-raised);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, video { display: block; max-width: 100%; }
figure, form { margin: 0; }
[hidden], input[type="hidden"] { display: none !important; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
em, i { font-style: normal; }
svg.icon { width: 21px; height: 21px; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.public-body { min-height: 100vh; background: var(--bg); color: var(--ink); font: 14px/1.65 var(--body); }
.public-body main { min-width: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1100; padding: 12px 20px; color: var(--accent-ink); background: var(--accent); border-radius: 10px; }
.skip-link:focus { top: 12px; }
/* Navigation */
.topbar { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(28px, calc((100vw - 1380px)/2)); border-bottom: 1px solid var(--border-soft); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(22px); }
.topbar.scrolled { box-shadow: 0 8px 30px #0002; border-color: var(--border); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand-orb { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #8abbf344; border-radius: 12px; color: var(--accent); background: #8abbf30a; }
.brand-orb > span { font: 700 29px/.9 var(--display); transform: skew(-9deg); }
.brand-orb img { width: 32px; height: 32px; object-fit: contain; }
.brand-copy { display: grid; gap: 3px; min-width: 0; }
.brand-copy b { max-width: 240px; font: 700 13px/1.4 var(--display); letter-spacing: .025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy small { color: var(--faint); font-size: 8px; letter-spacing: .16em; }
.toplinks { display: flex; align-items: center; gap: 7px; min-width: 0; }
.nav-category { display: flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 9px; padding: 10px 12px; color: var(--muted); font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.nav-category > .icon { width: 16px; height: 16px; }
.nav-category:hover, .nav-category.active { color: var(--ink); background: var(--surface-raised); }
.nav-wheel > .icon { color: var(--accent); }
.nav-login { display: flex; align-items: center; gap: 10px; padding: 12px 17px; margin-left: 14px; border: 1px solid #8abbf340; border-radius: 10px; background: #8abbf30b; color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.nav-login:hover { background: #8abbf31a; }
.nav-login .icon { width: 18px; height: 18px; }
.nav-login i { margin-left: 8px; }
.nav-account { display: flex; align-items: center; gap: 6px; border-left: 1px solid var(--border); padding-left: 10px; margin-left: 5px; }
.nav-balance-chip { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 10px; }
.nav-balance-chip span { color: var(--muted); }
.nav-balance-chip strong { color: var(--accent); font-size: 12px; white-space: nowrap; }
.nav-balance-chip i { color: var(--accent); }
.nav-cart-chip { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 43px; padding: 10px 7px; }
.nav-cart-chip .icon { width: 19px; height: 19px; }
.nav-cart-chip em { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-radius: 5px; padding: 1px 5px; font: 700 10px/1.5 var(--body); }
.inline-form { display: inline; }
.link-button { padding: 10px 9px; border: 0; background: transparent; color: var(--faint); font-size: 11px; }
.link-button:hover { color: var(--ink); }
.mobile-nav-toggle { display: none; flex: 0 0 42px; width: 42px; height: 42px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.mobile-nav-toggle span { display: block; height: 1.5px; width: 18px; margin: 5px auto; background: var(--ink); transition: transform .2s; }
.mobile-nav-toggle.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.mobile-nav-toggle.active span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
/* Typography and shared controls */
.eyebrow, .page-kicker, .panel-kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .14em; color: var(--accent); }
.eyebrow-line { flex: 0 0 24px; width: 24px; height: 1px; background: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 14px 22px; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; font-weight: 800; line-height: 1.5; transition: background .2s, border-color .2s, transform .2s; }
.button .icon { width: 18px; height: 18px; }
.button-light { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.button-light:hover:not(:disabled) { background: #9fccff; border-color: #9fccff; transform: translateY(-2px); }
.button-ghost { background: #ffffff03; color: var(--ink); }
.button-ghost:hover { background: var(--surface-raised); border-color: #ffffff33; }
.button-outline { color: #e4ecf5; background: #172937; border-color: #628493; font-family: var(--body); }
.button-outline:hover:not(:disabled) { color: #0b202b; background: #a8c5e7; border-color: #a8c5e7; }
.button-outline:focus-visible { outline: 3px solid #a8c5e7; outline-offset: 4px; }
.button-disabled, .button:disabled { background: var(--surface-raised); border-color: var(--border); color: var(--faint); transform: none; }
.button-outline:disabled { color: #aac2ce; background: #132331; border-color: #496273; opacity: 1; cursor: not-allowed; }
.button i { font-size: 18px; }
.button > span { min-width: 0; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; color: var(--accent); font-size: 12px; font-weight: 700; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { width: 18px; transition: transform .2s; }
.arrow-pill { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.arrow-pill .icon { width: 17px; height: 17px; }
/* Home */
.hero { padding: 159px 32px 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); background: radial-gradient(ellipse at 70% 30%, #8abbf304, transparent 55%); }
.hero-shell { max-width: var(--page); margin: auto; display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); gap: 64px; align-items: center; }
.hero-copy { min-width: 0; padding: 15px 0 32px; }
.hero-copy h1 { margin: 24px 0 25px; font-size: clamp(42px,4.65vw,70px); letter-spacing: -.065em; line-height: 1.08; font-weight: 600; }
.hero-copy h1 > span { display: block; }
.accent-text { color: var(--accent); }
.hero-text { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-community { display: flex; align-items: center; gap: 12px; max-width: 430px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.community-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--surface); border-radius: 10px; color: var(--muted); flex: 0 0 auto; }
.community-mark .icon { width: 19px; height: 19px; }
.hero-community > div { display: grid; gap: 3px; }
.hero-community b { font-size: 11px; font-weight: 600; }
.hero-community small { font-size: 10px; color: var(--faint); }
.hero-community > a { margin-left: auto; font-size: 20px; color: var(--muted); padding: 7px; }
.hero-side { min-width: 0; }
.city-card { position: relative; height: 388px; min-height: 388px; border: 1px solid #8abbf320; background: #15191e; border-radius: 20px; isolation: isolate; overflow: hidden; }
.city-card-top { display: flex; justify-content: space-between; gap: 10px; position: absolute; top: 21px; left: 22px; right: 22px; z-index: 3; }
.city-card-top > span { font-size: 9px; color: #d7dfe9; letter-spacing: .12em; display: flex; align-items: center; gap: 7px; }
.city-card-top i { display: block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.city-card-top small { color: #9ba3ad; font: 10px var(--display); }
.city-art { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.hero-image { position: absolute; z-index: 1; width: 100%; height: 100%; inset: 0; object-fit: cover; opacity: .52; }
.city-card::after { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(0deg,#0c1116 2%,#0d111569 40%,transparent 73%); pointer-events: none; }
.city-caption { position: absolute; z-index: 3; bottom: 29px; left: 28px; right: 28px; }
.city-caption > span { color: #a2b1c2; font-size: 9px; letter-spacing: .18em; }
.city-caption h2 { color: #e9eef4; margin: 8px 0 0; font-size: 39px; line-height: 1.08; letter-spacing: -.05em; }
.city-caption h2 em { color: var(--accent); }
.city-caption > a { position: absolute; right: 0; bottom: 1px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #8abbf315; border: 1px solid #8abbf340; color: var(--accent); }
.hero-status { margin-top: 12px; padding: 17px 21px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; }
.status-top { display: flex; align-items: center; gap: 8px; }
.status-top b { font-size: 10px; font-weight: 600; }
.status-top > small { margin-left: auto; color: var(--faint); font-size: 8px; letter-spacing: .1em; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6b777c; flex: 0 0 auto; }
.live-dot.is-live { background: var(--accent); box-shadow: 0 0 0 4px #8abbf30b; }
.status-stats { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 16px; margin-top: 17px; }
.status-stats > div { min-width: 0; }
.status-stats > div + div { border-left: 1px solid var(--border); padding-left: 16px; }
.status-number, .status-stats strong { display: block; color: var(--ink); font: 600 26px/1.3 var(--display); letter-spacing: -.04em; }
.status-number small { color: var(--faint); font-size: 13px; }
.status-stats strong.status-word { font-size: 19px; padding-top: 6px; }
.status-stats p { margin: 2px 0 0; color: var(--faint); font-size: 9px; line-height: 1.6; }
.hero-foot { max-width: var(--page); margin: 51px auto 0; padding: 23px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); color: var(--faint); font-size: 10px; }
.hero-foot > a { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.scroll-cue { color: var(--accent); font-size: 19px; line-height: 1; }
.hero-foot small { font: 11px var(--display); letter-spacing: .12em; }
.section { padding: 88px 32px; border-bottom: 1px solid var(--border-soft); }
.section-inner { max-width: var(--page); margin: auto; }
.section-label { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 10px; letter-spacing: .12em; margin-bottom: 27px; }
.section-label > span { color: var(--accent); font: 11px var(--display); }
.section-label > i { height: 1px; background: var(--border-soft); flex: 1; margin-left: 12px; }
.split-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: end; margin-bottom: 39px; }
.split-head h2 { font-size: clamp(30px,3.3vw,46px); line-height: 1.16; letter-spacing: -.05em; margin: 0; }
.split-head h2 em { color: var(--muted); }
.split-head > p { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 450px; margin: 0 0 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feature-card { padding: 27px; min-height: 245px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feature-top { display: flex; justify-content: space-between; align-items: center; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #8abbf320; background: #8abbf308; border-radius: 12px; color: var(--accent); }
.feature-no { font: 11px var(--display); color: var(--faint); }
.feature-card h3 { margin: 33px 0 10px; font-size: 19px; letter-spacing: -.03em; line-height: 1.4; }
.feature-card p { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 0; }
.wealth-strip { max-width: var(--page); margin: 45px auto; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.wealth-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wealth-strip-head h2 { margin: 5px 0 0; font-size: 21px; letter-spacing: -.03em; }
.wealth-strip-head > small { color: var(--faint); font-size: 10px; }
.wealth-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
.wealth-empty { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; padding: 21px 0 4px; border-top: 1px solid var(--border); }
.wealth-empty > .icon { color: var(--accent); width: 29px; height: 29px; }
.wealth-empty b { font-size: 12px; font-weight: 600; }
.wealth-empty p { font-size: 11px; margin: 3px 0 0; color: var(--faint); }
.wealth-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border-soft); min-width: 0; }
.wealth-rank { font: 11px var(--display); color: var(--accent); }
.wealth-avatar { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: var(--surface-raised); font-size: 12px; }
.wealth-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.wealth-person { display: grid; gap: 2px; flex: 1; min-width: 0; }
.wealth-person b { font-size: 11px; overflow-wrap: anywhere; }
.wealth-person small { font-size: 9px; color: var(--faint); overflow-wrap: anywhere; }
.wealth-money { display: grid; gap: 2px; text-align: right; }
.wealth-money strong { color: var(--accent); font: 500 15px var(--display); }
.wealth-money small { color: var(--faint); font-size: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.media-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; min-width: 0; }
.media-wide { grid-column: span 2; }
.media-card:only-child { grid-column: 1/-1; }
.media-visual { aspect-ratio: 16/9; background: var(--surface-raised) url('/assets/city.svg') center/cover; overflow: hidden; }
.media-card:only-child .media-visual { aspect-ratio: 2.5; }
.media-visual img, .media-visual video { width: 100%; height: 100%; object-fit: cover; }
.media-visual img { transition: transform .5s; }
.media-card:hover .media-visual img { transform: scale(1.025); }
.media-card figcaption { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.media-card figcaption > span { font: 10px var(--display); color: var(--accent); }
.media-card figcaption > div { display: grid; gap: 4px; min-width: 0; flex: 1; }
.media-card figcaption strong { font-size: 12px; }
.media-card figcaption small { color: var(--faint); font-size: 11px; }
.media-card figcaption > .icon { color: var(--faint); width: 16px; height: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .25s, transform .25s; }
.product-card:hover { border-color: #8abbf340; transform: translateY(-4px); }
.product-image { position: relative; height: 220px; overflow: hidden; background: linear-gradient(145deg,#1d2329,#151d24); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-art { height: 100%; display: grid; place-items: center; align-content: center; gap: 15px; position: relative; background-image: linear-gradient(#8abbf305 1px,transparent 1px),linear-gradient(90deg,#8abbf305 1px,transparent 1px); background-size: 28px 28px; }
.product-art > .icon { width: 70px; height: 70px; color: #aac5e4; stroke-width: .85; z-index: 1; }
.product-art small { color: #bbc7d5; font: 10px var(--display); letter-spacing: .18em; text-transform: uppercase; z-index: 1; }
.product-art-orbit { position: absolute; width: 148px; height: 148px; border: 1px solid #8abbf310; border-radius: 50%; }
.product-art-orbit::before { content: ''; position: absolute; inset: -23px; border: 1px solid #8abbf308; border-radius: 50%; }
.stock { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ffffff1c; border-radius: 6px; background: #111b20e0; color: #dae2eb; font-size: 9px; }
.stock i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.stock.out { color: #adb0b4; }
.stock.out i { background: #8f969b; }
.sale-badge { position: absolute; left: 14px; top: 14px; padding: 5px 9px; border-radius: 6px; font-size: 9px; font-weight: 700; color: var(--accent-ink); background: var(--accent); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.product-body > span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-body h3 { font-size: 21px; letter-spacing: -.03em; margin: 7px 0 10px; line-height: 1.3; }
.product-body p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 22px; }
.product-body > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.product-body strong { font: 600 24px var(--display); letter-spacing: -.03em; }
.product-body strong del { display: inline-block; color: var(--faint); font-size: 13px; margin-right: 8px; }
.product-card:hover .arrow-pill { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pay-tags { display: block; color: var(--faint); font-size: 9px; margin-top: 14px; }
.store-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.store-toolbar > span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.store-toolbar small { font-size: 10px; color: var(--faint); }
.application-grid { display: grid; gap: 12px; }
.application-card { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 22px; align-items: center; padding: 26px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.application-card:hover { border-color: #8abbf344; background: var(--surface-raised); }
.application-card > span { font: 12px var(--display); color: var(--accent); }
.application-card h3 { margin: 0 0 5px; font-size: 21px; letter-spacing: -.025em; }
.application-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.application-card small { display: block; margin-top: 7px; font-size: 10px; color: var(--faint); }
.application-card > i:not(.arrow-pill) { color: var(--accent); font-size: 21px; text-align: right; }
.rule-row { display: grid; grid-template-columns: 38px minmax(150px,.7fr) minmax(0,1.3fr); gap: 26px; padding: 25px 0; border-top: 1px solid var(--border); }
.rule-row:last-child { border-bottom: 1px solid var(--border); }
.rule-row > span { font: 11px var(--display); color: var(--accent); padding-top: 4px; }
.rule-row h3 { font-size: 17px; margin: 0; }
.rule-row p { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 0; }
.community-banner { margin-top: 56px; border: 1px solid #8abbf325; border-radius: var(--radius); background: linear-gradient(110deg,#8abbf308,transparent); padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.community-banner h3 { margin: 7px 0 0; font-size: 32px; letter-spacing: -.04em; }
/* Interior pages, forms and character panel */
.simple-page { width: 100%; max-width: 1100px; padding: 152px 32px 88px; margin: auto; min-height: calc(100vh - 260px); }
.wide-page { max-width: 1344px; }
.page-title { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; margin: 16px 0 48px; }
.page-title h1, .legal-hero h1 { font-size: clamp(36px,4.3vw,62px); line-height: 1.13; letter-spacing: -.055em; margin: 0; }
.page-title h1 em, .legal-hero h1 em { color: var(--accent); }
.page-title p, .legal-hero p { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 610px; margin: 0; }
.back-link { display: inline-flex; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.back-link:hover { color: var(--accent); }
.form-page { max-width: 880px; }
.form-page .page-title { grid-template-columns: 1fr; gap: 15px; }
.premium-form { display: grid; gap: 22px; padding-top: 25px; border-top: 1px solid var(--border); }
.compact-form { border: 0; padding-top: 0; }
.premium-form > .button { justify-self: start; }
.field { display: grid; gap: 9px; min-width: 0; }
.field > span { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.6; }
.field input, .field textarea, .field select, .coupon-form input, .mini-business-form input, .mini-business-form select { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink); padding: 13px 15px; font-size: 13px; line-height: 1.5; outline: none; transition: border-color .2s; color-scheme: dark; }
.field input:focus, .field textarea:focus, .field select:focus, .coupon-form input:focus { border-color: #8abbf399; box-shadow: 0 0 0 3px #8abbf308; }
.field textarea { resize: vertical; min-height: 110px; }
.field small, .form-note { font-size: 11px; line-height: 1.75; color: var(--faint); }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--accent); }
.empty-panel { grid-column: 1/-1; border: 1px dashed var(--border); border-radius: 10px; background: #ffffff02; padding: 22px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.product-page { max-width: 1280px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; }
.product-detail-visual { display: grid; place-items: center; overflow: hidden; min-height: 410px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(140deg,#202b37,#172027); position: sticky; top: 112px; }
.product-detail-visual img { width: 100%; height: 410px; object-fit: cover; }
.product-detail-visual > span { font: 500 clamp(24px,3vw,48px) var(--display); color: var(--accent); letter-spacing: -.04em; }
.product-detail-copy h1 { font-size: clamp(34px,3.8vw,52px); line-height: 1.15; letter-spacing: -.05em; margin: 14px 0 16px; }
.product-detail-copy > p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.product-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.product-price-line strong { font: 600 33px var(--display); color: var(--accent); }
.product-price-line del { color: var(--faint); }
.product-price-line em { font-size: 11px; color: var(--muted); }
.sale-strip { display: flex; justify-content: space-between; gap: 16px; border: 1px solid #8abbf330; background: #8abbf308; border-radius: 10px; padding: 12px 15px; color: var(--accent); font-size: 11px; }
.bundle-note, .tier-note { padding: 16px; display: flex; flex-direction: column; gap: 7px; background: var(--surface); border-radius: 10px; border: 1px solid var(--border); font-size: 11px; margin: 18px 0; }
.bundle-note > span { font-size: 9px; color: var(--accent); letter-spacing: .1em; }
.bundle-note small, .tier-note > span { color: var(--muted); }
.variant-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.variant-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.variant-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.variant-card > input { position: absolute; top: 12px; left: 12px; z-index: 2; }
.variant-card.occupied { opacity: .55; cursor: not-allowed; }
.variant-photo { height: 125px; background: var(--surface-raised); display: grid; place-items: center; color: var(--faint); font-size: 12px; }
.variant-photo img { width: 100%; height: 100%; object-fit: cover; }
.variant-thumbs { display: flex; gap: 4px; padding: 5px; }
.variant-thumbs img { width: 23%; height: 37px; object-fit: cover; border-radius: 4px; }
.variant-card > div:last-child { display: grid; gap: 4px; padding: 12px; font-size: 12px; }
.variant-card small { font-size: 10px; color: var(--faint); }
.variant-card strong { font-size: 10px; color: var(--accent); }
.online-check { display: flex; gap: 10px; align-items: center; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; font-size: 11px; color: var(--muted); }
.online-check span, .membership-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: 0 0 auto; }
.online-check.ok span, .membership-pill.ok span { background: var(--accent); }
.online-check.bad span, .membership-pill.bad span { background: #d28c8c; }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 34px; }
.user-lockup { display: flex; align-items: center; gap: 16px; min-width: 0; }
.user-lockup img { width: 57px; height: 57px; border-radius: 15px; object-fit: cover; background: var(--surface); }
.user-lockup > div { min-width: 0; }
.user-lockup span { color: var(--accent); font-size: 9px; letter-spacing: .12em; }
.user-lockup h1 { font-size: 26px; line-height: 1.3; margin: 3px 0; overflow-wrap: anywhere; }
.user-lockup small { color: var(--faint); font-size: 10px; overflow-wrap: anywhere; }
.membership-pill { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 25px; padding: 10px 14px; font-size: 10px; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.dash-card { display: flex; flex-direction: column; padding: 24px; min-width: 0; min-height: 205px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.dash-card > span { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.dash-card strong { font: 600 39px/1.3 var(--display); letter-spacing: -.04em; margin: 23px 0 9px; overflow-wrap: anywhere; }
.dash-card strong.smaller { font-size: 27px; }
.dash-card small { font-size: 11px; line-height: 1.7; color: var(--faint); }
.balance-card { border-color: #8abbf330; background: linear-gradient(145deg,#8abbf308,var(--surface)); }
.balance-card strong, .balance-card > a { color: var(--accent); }
.balance-card > a { font-size: 11px; font-weight: 700; margin-top: 14px; }
.panel-block { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 26px; min-width: 0; }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.panel-title > span { color: var(--accent); font: 11px var(--display); flex: 0 0 auto; }
.panel-title h2 { font-size: 16px; line-height: 1.4; margin: 0; letter-spacing: -.025em; }
.panel-title > small { color: var(--faint); margin-left: auto; font-size: 11px; }
.balance-topup-panel { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; margin: 26px 0; padding: 34px; }
.balance-topup-copy h2 { font-size: 32px; letter-spacing: -.04em; margin: 9px 0 16px; }
.balance-topup-copy p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.wallet-balance { display: grid; gap: 4px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.wallet-balance span { font-size: 11px; color: var(--faint); }
.wallet-balance strong { color: var(--accent); font: 500 30px var(--display); }
.topup-form { padding: 0; border: 0; gap: 17px; }
.topup-form > .button { width: 100%; }
.money-input { position: relative; }
.money-input i { position: absolute; left: 16px; top: 10px; font-size: 19px; color: var(--accent); }
.money-input input { padding-left: 41px; font-weight: 700; }
.topup-history { margin-top: 26px; }
.topup-history-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.topup-history-head > span { color: var(--muted); font-size: 10px; }
.topup-history-head small { color: var(--faint); font-size: 9px; }
.topup-history-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--border); }
.topup-history-row > div { display: grid; gap: 3px; min-width: 0; }
.topup-history-row b { font: 500 15px var(--display); }
.topup-history-row small { font-size: 9px; color: var(--faint); overflow-wrap: anywhere; }
.dashboard-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.info-list > div, .table-lite > div:not(.empty-panel) { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.info-list span { font-size: 11px; color: var(--muted); }
.info-list strong { font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.table-lite > div > span { display: grid; gap: 5px; min-width: 0; }
.table-lite b { font-size: 12px; overflow-wrap: anywhere; }
.table-lite small { font-size: 10px; color: var(--faint); }
.table-lite strong { font: 500 17px var(--display); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips > span { display: flex; gap: 12px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 11px; background: var(--bg); }
.chips small { color: var(--faint); }
.orders-block { margin-top: 22px; }
.status-tag { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 6px; background: #ffffff03; padding: 5px 8px; font-size: 8px; font-weight: 700; line-height: 1.5; color: var(--muted); }
.status-tag.approved, .status-tag.fulfilled { color: var(--accent); border-color: #8abbf340; background: #8abbf306; }
.status-tag.pending { color: #dec88e; border-color: #dec88e33; }
.status-tag.rejected { color: #e0a0a0; }
.business-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.business-dash-card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.business-dash-card h3 { font-size: 22px; margin: 6px 0; }
.business-dash-card > div > span { font-size: 10px; color: var(--accent); }
.business-dash-card small, .business-dash-card > p { font-size: 10px; color: var(--faint); line-height: 1.8; }
.mini-business-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; margin-top: 13px; }
.mini-business-form button { grid-column: 1/-1; border: 1px solid var(--border); border-radius: 9px; padding: 10px; background: var(--surface-raised); color: var(--ink); font-size: 11px; }
/* Checkout and legal pages */
.legal-hero { margin: 0 0 39px; }
.legal-hero h1 { margin: 10px 0 18px; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr); align-items: start; gap: 22px; }
.cart-section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.cart-section-head span, .checkout-head > span { color: var(--accent); font-size: 9px; letter-spacing: .12em; }
.cart-section-head h2, .checkout-head h2 { font-size: 23px; margin: 4px 0 0; letter-spacing: -.03em; }
.cart-section-head > a { font-size: 11px; color: var(--muted); }
.cart-items-panel > .empty-panel { margin-top: 20px; }
.cart-row { display: grid; grid-template-columns: 62px minmax(0,1fr) auto auto; gap: 15px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--border-soft); }
.cart-product-mark { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; background: var(--surface-raised); color: var(--accent); border: 1px solid var(--border); border-radius: 12px; font: 500 24px var(--display); }
.cart-product-mark img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-copy { display: grid; gap: 3px; }
.cart-product-copy b { font-size: 13px; overflow-wrap: anywhere; }
.cart-product-copy small { font-size: 10px; color: var(--muted); }
.cart-pay-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cart-pay-tags span { font-size: 9px; color: var(--faint); }
.cart-row > strong { font: 500 17px var(--display); }
.cart-remove { background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--faint); padding: 7px; font-size: 11px; }
.cart-remove:hover { color: #e0a0a0; border-color: #e0a0a055; }
.checkout-side { position: sticky; top: 112px; }
.checkout-head > strong { display: block; color: var(--accent); font: 600 35px/1.4 var(--display); margin: 9px 0; letter-spacing: -.04em; }
.checkout-head > small { display: block; font-size: 10px; line-height: 1.8; color: var(--faint); }
.recipient-confirm { display: grid; gap: 11px; padding: 15px; border: 1px solid #8abbf330; border-radius: 11px; background: #8abbf306; }
.recipient-confirm > b { color: var(--accent); font-size: 10px; }
.recipient-confirm > span { color: var(--muted); font-size: 11px; }
.coupon-form label { display: grid; gap: 7px; }
.coupon-form label > span { font-size: 10px; color: var(--muted); }
.coupon-form > button { align-self: end; min-height: 47px; }
.checkout-head p { font-size: 11px; color: var(--muted); margin: 9px 0 0; }
.coupon-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; margin: 22px 0; }
.coupon-form button { padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-raised); font-size: 11px; }
.checkout-totals { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; margin: 20px 0; }
.checkout-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 8px 0; }
.checkout-totals span { color: var(--muted); font-size: 11px; }
.checkout-totals strong { font: 500 17px var(--display); }
.checkout-totals .discount strong { color: var(--accent); }
.checkout-totals .grand { border-top: 1px solid var(--border-soft); margin-top: 6px; padding-top: 15px; }
.checkout-totals .grand strong { color: var(--accent); font-size: 27px; }
.checkout-form { border: 0; padding-top: 0; }
.checkout-button { width: 100%; }
.checkout-legal { display: grid; gap: 10px; }
.checkout-legal-head { display: grid; gap: 4px; }
.checkout-legal-head > span { color: var(--muted); font-size: 10px; font-weight: 700; }
.checkout-legal-head small { color: var(--faint); font-size: 10px; line-height: 1.7; }
.legal-check { display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 10px; align-items: start; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); cursor: pointer; }
.legal-check input { width: 15px; height: 15px; margin: 3px 0 0; }
.legal-check > span { font-size: 10px; line-height: 1.85; color: var(--muted); }
.legal-check a, .privacy-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.privacy-note { color: var(--faint); font-size: 10px; line-height: 1.7; margin: 0; }
.legal-layout { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr); gap: 24px; align-items: start; }
.legal-company-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); position: sticky; top: 112px; }
.legal-company-card > span { font-size: 9px; color: var(--accent); letter-spacing: .1em; }
.legal-company-card > strong { display: block; margin: 10px 0 22px; font-size: 15px; }
.legal-company-card dl { display: grid; gap: 18px; margin: 0; }
.legal-company-card dt { color: var(--faint); font-size: 10px; }
.legal-company-card dd { font-size: 12px; margin: 4px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.legal-document { white-space: pre-wrap; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 13px; line-height: 1.95; color: var(--muted); overflow-wrap: anywhere; }
.team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.team-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.team-card > span { color: var(--accent); font-size: 10px; }
.team-card h2 { font-size: 28px; margin: 25px 0 10px; }
.team-card > p, .team-members > small { color: var(--muted); font-size: 12px; }
.team-members { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 9px; }
.team-members > div { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 0; }
.team-members img { width: 34px; height: 34px; border-radius: 9px; }
.team-members b { font-size: 11px; overflow-wrap: anywhere; }
.team-members small { font-size: 9px; color: var(--faint); overflow-wrap: anywhere; }
.message-card { padding: 44px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); max-width: 720px; }
.message-card h1 { margin: 18px 0; font-size: clamp(30px,4vw,49px); line-height: 1.2; letter-spacing: -.04em; }
.message-card p { color: var(--muted); margin-bottom: 27px; }
.flash { position: fixed; top: 105px; left: 50%; transform: translateX(-50%); z-index: 1000; width: max-content; max-width: calc(100vw - 32px); padding: 15px 21px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); color: var(--ink); font-size: 12px; box-shadow: 0 15px 40px #0005; overflow-wrap: anywhere; }
.flash-success { border-color: #8abbf350; }
.flash-error { color: #f0b7b7; border-color: #e0a0a050; }
/* Wheel: SVG sectors begin at twelve o'clock; the pointer stays fixed. */
.wheel-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.wheel-hero h1 { font-size: clamp(36px,4vw,59px); line-height: 1.12; letter-spacing: -.055em; margin: 16px 0 17px; }
.wheel-hero h1 em { color: var(--accent); }
.wheel-hero p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0; }
.wheel-hero-note { display: flex; align-items: center; gap: 13px; padding: 16px 0; }
.wheel-hero-note > .icon { width: 33px; height: 33px; color: var(--accent); stroke-width: 1.2; }
.wheel-hero-note > span { display: grid; gap: 5px; }
.wheel-hero-note b { font-size: 12px; }
.wheel-hero-note small { color: var(--faint); font-size: 10px; }
.wheel-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.9fr); gap: 24px; align-items: start; }
.wheel-stage-card { overflow: hidden; border: 1px solid #8abbf328; border-radius: 22px; background: radial-gradient(ellipse at 50% 28%,#8abbf308,transparent 68%),var(--surface); }
.wheel-card-head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--border-soft); }
.wheel-card-head > span { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 600; letter-spacing: .07em; }
.wheel-card-head > small { font-size: 9px; color: var(--faint); letter-spacing: .08em; }
.wheel-stage { display: grid; place-items: center; gap: 24px; padding: 35px 32px 28px; }
.wheel-frame { width: min(100%,445px); aspect-ratio: 1; position: relative; padding: 12px; border: 1px solid #8abbf325; border-radius: 50%; background: linear-gradient(135deg,#424b55,#171c21 47%,#434b54); box-shadow: 0 19px 60px #0005,inset 0 0 0 5px #0e181b; }
.wheel { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; transform: rotate(0deg); transition: transform 30s cubic-bezier(.65,0,.35,1); will-change: transform; }
.wheel-disc { width: 100%; height: 100%; display: block; }
.wheel-disc text { font-family: var(--body); }
.wheel-pointer { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; z-index: 4; filter: drop-shadow(0 4px 4px #0007); }
.wheel-pointer span { display: block; width: 100%; height: 100%; clip-path: polygon(0 0,100% 0,100% 28%,50% 100%,0 28%); background: var(--accent); border-radius: 4px; }
.wheel-center { width: 94px; height: 94px; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; border: 6px solid #a8b9cd66; background: radial-gradient(circle at 40% 25%,#343d47,#121921 80%); display: grid; place-items: center; align-content: center; box-shadow: 0 4px 22px #0008; color: var(--accent); }
.wheel-center > span { font: 700 43px/1 var(--display); transform: skew(-9deg); }
.wheel-center > small { color: #9ca8b5; font-size: 6px; letter-spacing: .16em; margin-top: 4px; }
.wheel-controls { width: 100%; max-width: 380px; display: grid; gap: 18px; }
.wheel-spin-button { width: 100%; min-height: 53px; font-size: 13px; }
.wheel-spin-button > i { margin-left: auto; font-size: 21px; }
.wheel-result { min-height: 54px; text-align: center; }
.wheel-result > span { display: block; color: var(--faint); font-size: 8px; font-weight: 700; letter-spacing: .15em; margin-bottom: 6px; }
.wheel-result > b { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; font-weight: 500; }
.wheel-result code { display: inline-block; margin: 7px 0 0; border: 1px dashed #8abbf355; border-radius: 7px; padding: 5px 11px; color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
.wheel-result .coupon-copy { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #8abbf350; border-radius: 8px; background: #8abbf30a; padding: 8px 12px; color: var(--accent); font-size: 10px; margin-top: 8px; }
.wheel-result.is-error > b { color: #e6aeae; }
.wheel-result.is-success > b { color: var(--accent); font-weight: 700; }
.wheel-card-foot { border-top: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 20px; color: var(--faint); font-size: 9px; }
.wheel-card-foot > .icon { width: 15px; height: 15px; }
.wheel-side-stack { display: grid; gap: 18px; }
.wheel-side-stack .panel-block { padding: 24px; }
.wheel-side-stack .panel-title { margin-bottom: 17px; }
.wheel-side-stack .panel-title > span > .icon { width: 19px; height: 19px; }
.reward-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border-soft); }
.reward-swatch { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid color-mix(in srgb,var(--swatch) 40%,transparent); color: color-mix(in srgb,var(--swatch) 65%,#fff); background: color-mix(in srgb,var(--swatch) 14%,transparent); border-radius: 9px; font: 500 10px var(--display); }
.reward-row > div { display: grid; gap: 3px; flex: 1; min-width: 0; }
.reward-row b { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.reward-row small { font-size: 9px; color: var(--faint); line-height: 1.7; }
.reward-row > .icon { width: 15px; height: 15px; color: var(--faint); }
.reward-row.is-winner b, .reward-row.is-winner > .icon { color: var(--accent); }
.reward-row.is-winner { background: #8abbf306; border-radius: 9px; padding-inline: 8px; }
.wheel-history > div > i { color: var(--accent); font-size: 17px; }
.wheel-info-note { display: flex; align-items: flex-start; gap: 11px; padding: 0 6px; }
.wheel-info-note .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--faint); }
.wheel-info-note p { margin: 0; color: var(--faint); font-size: 10px; line-height: 1.9; }
.wheel-win { border-color: #8abbf370; }
/* Footer and support */
.site-footer { max-width: 1344px; margin: auto; padding: 52px 32px 56px; display: grid; grid-template-columns: 1.4fr .65fr 1.2fr; gap: 55px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #8abbf333; color: var(--accent); border-radius: 8px; font: 600 21px var(--display); }
.footer-brand > strong { font: 600 13px var(--display); letter-spacing: .03em; }
.footer-main > p { font-size: 10px; color: var(--faint); line-height: 1.8; white-space: pre-line; margin: 15px 0; }
.footer-main > small { font-size: 9px; color: var(--faint); line-height: 1.8; }
.footer-links { display: grid; align-content: start; gap: 10px; font-size: 11px; color: var(--muted); }
.footer-links > span { font-size: 9px; letter-spacing: .13em; color: var(--faint); margin-bottom: 6px; }
.footer-links a:hover { color: var(--accent); }
.footer-legal-links { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
.footer-legal-links > span { grid-column: 1/-1; }
.support-shell { position: fixed; right: 24px; bottom: 22px; z-index: 120; }
.support-fab { display: flex; align-items: center; gap: 10px; padding: 12px 17px; border: 1px solid #8abbf330; border-radius: 12px; background: #1c2228; color: #dfe7f1; font-size: 11px; box-shadow: 0 10px 30px #0004; }
.support-fab > .icon { width: 18px; height: 18px; color: var(--accent); }
.support-pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.support-panel { display: none; flex-direction: column; width: min(360px,calc(100vw - 32px)); max-height: calc(100dvh - 110px); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 22px 90px #0008; position: absolute; right: 0; bottom: 65px; overflow: hidden; }
.support-panel.open { display: flex; }
.support-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 21px; border-bottom: 1px solid var(--border); }
.support-head > div { display: grid; gap: 5px; }
.support-head span { font-size: 8px; color: var(--faint); letter-spacing: .12em; }
.support-head strong { display: flex; align-items: center; gap: 9px; font: 500 19px var(--display); }
.support-head strong i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.support-head button { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 8px; background: transparent; font-size: 23px; line-height: 1; }
.support-messages { min-height: 170px; max-height: 285px; padding: 18px; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.support-msg { padding: 11px 13px; border-radius: 11px; max-width: 90%; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-msg.bot { align-self: flex-start; color: var(--muted); background: var(--surface-raised); border: 1px solid var(--border-soft); }
.support-msg.user { align-self: flex-end; background: #8abbf314; border: 1px solid #8abbf325; color: var(--ink); }
.support-form { display: grid; grid-template-columns: minmax(0,1fr) 40px; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--border); }
.support-form input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--ink); font-size: 12px; }
.support-form button { display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--accent); color: var(--accent-ink); }
.support-form button:disabled { opacity: .55; }
.support-panel > small { padding: 0 18px 16px; color: var(--faint); font-size: 9px; line-height: 1.7; }
/* Native select controls retain keyboard, required-field and mobile behavior. */
select { color-scheme: dark; }
select option { background: #182022; color: #e9eef3; }
.zvx-select { position: relative; min-width: 0; width: 100%; }
.zvx-select.open { z-index: 80; }
.zvx-native-select { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; clip-path: inset(50%); pointer-events: none; padding: 0 !important; }
.zvx-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink); text-align: left; font-size: 12px; }
.zvx-select-value { min-width: 0; overflow-wrap: anywhere; }
.zvx-select-chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); flex: 0 0 auto; }
.zvx-select-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-raised); padding: 6px; max-height: 280px; overflow: auto; box-shadow: 0 15px 35px #0006; }
.zvx-select.open .zvx-select-menu { display: grid; }
.zvx-select-option { padding: 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; text-align: left; }
.zvx-select-option.selected, .zvx-select-option:hover { background: #8abbf313; color: var(--accent); }
.zvx-select-option:disabled { opacity: .4; }
/* Setup uses the same form styling without the public navigation. */
.legal-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.legal-card h1 { font-size: 39px; margin: 12px 0; }
.legal-card > p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.legal-card .admin-form { display: grid; gap: 18px; }
.legal-card .admin-form label { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.legal-card input:not([type='checkbox']) { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink); }
.legal-card .check-line { display: flex !important; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.legal-note { font-size: 12px; padding: 18px; border-radius: 10px; background: var(--bg); overflow-wrap: anywhere; }
.legal-note small { color: var(--muted); }
.primary-action { border: 0; border-radius: 10px; padding: 15px; color: var(--accent-ink); background: var(--accent); font-weight: 700; }
.reveal, .reveal.visible { opacity: 1; transform: none; }
.side-dock { display: none; }
/* Tablet and mobile */
@media (max-width: 1320px) {
  .topbar.is-authenticated .mobile-nav-toggle { display: block; }
  .topbar.is-authenticated .toplinks { display: none; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; max-height: calc(100dvh - 115px); overflow-y: auto; box-shadow: 0 18px 50px #0007; }
  .topbar.is-authenticated .toplinks.mobile-open { display: flex; flex-direction: column; align-items: stretch; }
  .topbar.is-authenticated .nav-account { display: flex; flex-wrap: wrap; gap: 9px; border-left: 0; border-top: 1px solid var(--border); padding: 12px 0 0; margin: 8px 0 0; }
  .topbar.is-authenticated .nav-category { min-height: 43px; }
  .wealth-strip { margin-inline: 32px; }
}
@media (max-width: 1100px) {
  .topbar { min-height: 78px; padding: 16px 25px; }
  .topbar .mobile-nav-toggle { display: block; }
  .topbar .toplinks { display: none; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; max-height: calc(100dvh - 115px); overflow-y: auto; box-shadow: 0 18px 50px #0007; }
  .topbar .toplinks.mobile-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-category { min-height: 43px; font-size: 13px; }
  .nav-login { margin: 7px 0 0; justify-content: center; }
  .hero { padding-top: 127px; }
  .hero-shell { gap: 32px; }
  .hero-copy h1 { font-size: 51px; }
  .city-card { height: 340px; min-height: 340px; }
  .hero-status { padding: 15px; }
  .status-stats { gap: 10px; }
  .status-stats > div + div { padding-left: 10px; }
  .status-stats p { font-size: 8px; }
  .split-head { gap: 40px; }
  .feature-card { padding: 22px; }
  .feature-card h3 { font-size: 18px; }
  .wheel-layout { grid-template-columns: minmax(0,1.15fr) minmax(0,.9fr); gap: 18px; }
  .wheel-stage { padding-inline: 22px; }
  .wheel-side-stack .panel-block { padding: 20px; }
  .balance-topup-panel { gap: 30px; }
  .cart-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
  .cart-row { grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; }
  .cart-product-mark { width: 48px; height: 48px; }
  .cart-row > form { grid-column: 2/-1; justify-self: end; }
}
@media (max-width: 860px) {
  .hero-shell { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .hero-copy { padding: 10px 0 0; }
  .hero-copy h1 { font-size: clamp(40px,7.6vw,67px); max-width: 680px; }
  .hero-side { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 15px; align-items: stretch; }
  .city-card { height: 330px; min-height: 330px; }
  .hero-status { margin: 0; padding: 21px; display: flex; flex-direction: column; justify-content: center; }
  .status-top > small { display: none; }
  .status-stats { display: grid; grid-template-columns: 1fr; gap: 17px; }
  .status-stats > div + div { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 1px solid var(--border); }
  .status-number, .status-stats strong { font-size: 25px; }
  .status-stats p { font-size: 10px; }
  .status-stats strong.status-word { padding-top: 0; font-size: 21px; }
  .hero-foot { margin-top: 32px; }
  .section { padding-block: 62px; }
  .split-head, .page-title { grid-template-columns: 1fr; gap: 19px; }
  .split-head h2 { font-size: 40px; }
  .split-head > p { max-width: 620px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 25px; }
  .feature-card h3 { margin-top: 23px; font-size: 21px; }
  .feature-card p { max-width: 570px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-card:only-child .media-visual { aspect-ratio: 16/9; }
  .wealth-list { grid-template-columns: 1fr; }
  .simple-page { padding-top: 128px; padding-bottom: 60px; }
  .page-title h1 { font-size: 48px; }
  .product-detail-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .product-detail-visual { position: static; min-height: 340px; }
  .product-detail-visual img { height: 340px; }
  .dashboard-grid { gap: 12px; }
  .dash-card { padding: 20px; }
  .dash-card strong { font-size: 31px; }
  .dash-card strong.smaller { font-size: 22px; }
  .balance-topup-panel { grid-template-columns: 1fr; gap: 24px; }
  .wallet-balance { margin-top: 20px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  .wheel-layout { grid-template-columns: 1fr; }
  .wheel-stage { padding-top: 36px; }
  .wheel-side-stack { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .wheel-info-note { grid-column: 1/-1; }
  .wheel-hero-note { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-company-card { position: static; }
  .site-footer { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .footer-main { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 92px; }
  .topbar { min-height: 74px; padding: 14px 18px; gap: 15px; }
  .brand-orb { width: 37px; height: 37px; flex-basis: 37px; border-radius: 10px; }
  .brand-copy b { font-size: 12px; max-width: calc(100vw - 143px); }
  .brand-copy small { font-size: 7px; letter-spacing: .13em; }
  .brand { gap: 10px; }
  .mobile-nav-toggle { width: 39px; height: 39px; flex-basis: 39px; }
  .topbar .toplinks, .topbar.is-authenticated .toplinks { left: 12px; right: 12px; }
  .nav-account > .nav-category { flex: 1 1 130px; }
  .hero { padding: 114px 20px 0; }
  .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .eyebrow-line { flex-basis: 17px; }
  .hero-copy h1 { font-size: clamp(33px,8.4vw,48px); letter-spacing: -.057em; margin: 24px 0 23px; line-height: 1.12; }
  .hero-text { font-size: 12px; line-height: 1.9; }
  .hero-actions { gap: 9px; margin-top: 25px; }
  .hero-actions .button { flex: 1 1 145px; padding: 13px 12px; font-size: 11px; gap: 9px; }
  .hero-community { margin-top: 27px; padding-top: 21px; }
  .hero-side { display: block; }
  .city-card { height: 330px; min-height: 330px; }
  .city-card-top { left: 20px; right: 20px; }
  .city-caption { left: 23px; right: 23px; }
  .city-caption h2 { font-size: 37px; }
  .hero-status { display: block; padding: 18px; margin-top: 12px; }
  .status-stats { grid-template-columns: 1.2fr 1fr .8fr; gap: 12px; }
  .status-stats > div + div { padding: 0 0 0 12px; border-top: 0; border-left: 1px solid var(--border); }
  .status-stats p { font-size: 8px; }
  .status-stats strong.status-word { font-size: 18px; padding-top: 5px; }
  .status-number, .status-stats strong { font-size: 25px; }
  .status-number small { font-size: 11px; }
  .hero-foot { padding: 19px 0; margin-top: 29px; font-size: 9px; }
  .hero-foot > span { display: none; }
  .section { padding: 53px 20px; }
  .section-label { margin-bottom: 23px; font-size: 9px; }
  .split-head { margin-bottom: 27px; gap: 19px; }
  .split-head h2 { font-size: 34px; }
  .split-head > p { font-size: 12px; }
  .feature-card { padding: 23px; }
  .feature-card h3 { font-size: 20px; }
  .wealth-strip { padding: 22px 18px; margin: 29px 20px; }
  .wealth-strip-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .wealth-strip-head h2 { font-size: 18px; }
  .wealth-money small { display: none; }
  .wealth-money strong { font-size: 13px; }
  .wealth-row { gap: 9px; }
  .wealth-avatar { width: 28px; height: 28px; border-radius: 8px; }
  .wealth-empty { gap: 13px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-wide { grid-column: auto; }
  .media-card figcaption { padding: 15px 17px; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-image { height: 230px; }
  .product-body { padding: 22px; }
  .application-card { grid-template-columns: 23px minmax(0,1fr) 31px; gap: 13px; padding: 21px 17px; }
  .application-card h3 { font-size: 19px; }
  .application-card p { font-size: 11px; }
  .application-card .arrow-pill { width: 31px; height: 31px; }
  .rule-row { grid-template-columns: 24px minmax(0,1fr); gap: 9px 15px; padding: 21px 0; }
  .rule-row p { grid-column: 2; font-size: 11px; }
  .community-banner { flex-direction: column; align-items: flex-start; padding: 25px; margin-top: 37px; gap: 21px; }
  .community-banner h3 { font-size: 28px; }
  .simple-page { padding: 117px 20px 53px; }
  .page-title { gap: 15px; margin-bottom: 32px; }
  .page-title h1, .legal-hero h1 { font-size: 39px; }
  .page-title p, .legal-hero p { font-size: 12px; }
  .store-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-detail-visual { min-height: 300px; }
  .product-detail-visual img { height: 300px; }
  .field input, .field textarea, .field select, .coupon-form input, .mini-business-form input, .mini-business-form select { font-size: 16px; }
  .premium-form > .button { width: 100%; }
  .dashboard-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .dashboard-grid, .dashboard-columns { grid-template-columns: 1fr; }
  .dash-card { min-height: 173px; padding: 23px; }
  .dash-card strong { font-size: 36px; margin-top: 20px; }
  .dash-card strong.smaller { font-size: 27px; }
  .panel-block { padding: 21px; }
  .balance-topup-panel { padding: 23px; }
  .balance-topup-copy h2 { font-size: 28px; }
  .topup-history-head { flex-direction: column; gap: 5px; }
  .topup-history-row { flex-wrap: wrap; gap: 10px; }
  .info-list > div, .table-lite > div:not(.empty-panel) { flex-wrap: wrap; gap: 10px; }
  .table-lite > div > span { flex: 1 1 165px; }
  .business-dashboard-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 45px minmax(0,1fr) auto; gap: 10px; }
  .cart-product-mark { width: 45px; height: 45px; }
  .cart-row > strong { font-size: 14px; }
  .cart-section-head { flex-wrap: wrap; gap: 10px; }
  .coupon-form { grid-template-columns: minmax(0,1fr) auto; }
  .coupon-form input { padding-inline: 12px; }
  .legal-document { padding: 24px; font-size: 12px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-members > div { grid-template-columns: 34px minmax(0,1fr); }
  .team-members small { grid-column: 2; }
  .message-card { padding: 27px; }
  .wheel-hero { margin-bottom: 27px; }
  .wheel-hero h1 { font-size: 40px; }
  .wheel-card-head { padding: 18px; }
  .wheel-card-head > span { font-size: 8px; letter-spacing: .03em; }
  .wheel-card-head > small { font-size: 8px; }
  .wheel-stage { padding: 32px 18px 20px; gap: 25px; }
  .wheel-frame { padding: 9px; }
  .wheel-center { width: 76px; height: 76px; border-width: 5px; }
  .wheel-center > span { font-size: 35px; }
  .wheel-center > small { font-size: 5px; }
  .wheel-pointer { width: 19px; height: 31px; top: -10px; }
  .wheel-side-stack { grid-template-columns: 1fr; }
  .wheel-result > b { font-size: 11px; }
  .site-footer { padding: 38px 20px 100px; gap: 31px 24px; grid-template-columns: .8fr 1.3fr; }
  .footer-legal-links { grid-template-columns: 1fr; }
  .footer-links { font-size: 10px; }
  .support-shell { right: 16px; bottom: 16px; }
  .support-fab { padding: 11px 14px; }
  .support-form input { font-size: 16px; }
  .flash { top: 86px; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .product-card:hover, .button-light:hover { transform: none; }
}
