:root {
  color-scheme: dark;
  --bg: #090a0d;
  --panel: #14161c;
  --panel-2: #1c1f27;
  --panel-3: #242832;
  --hairline: rgba(255,255,255,.09);
  --text: #f6f7f9;
  --muted: #9aa2b0;
  --dim: #727b89;
  --blue: #2f73eb;
  --blue-soft: rgba(47,115,235,.18);
  --green: #3ad08a;
  --green-soft: rgba(58,208,138,.13);
  --red: #ef536b;
  --radius: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: 'DM Sans', system-ui, sans-serif; }
button, input { font: inherit; }
button { border: 0; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid #6aa1ff; outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; padding: 10px 12px 98px; }
.store-shell { width: min(464px, 100%); margin: 0 auto; }
.market-shell { width: min(900px, 100%); margin: 0 auto; }
.shell-inner { width: min(1160px, 100%); margin: 0 auto; }
.topbar { height: 54px; display: flex; align-items: center; gap: 12px; padding: 6px 10px; border: 1px solid var(--hairline); border-radius: 999px; background: rgba(17,19,24,.78); backdrop-filter: blur(18px); position: sticky; top: 10px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.brand-mark { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#f1f4fa,#66717f); color: #0a0b0e; font-weight: 800; }
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }
.brand-word { line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { display: block; color: var(--dim); margin-top: 3px; font-size: 8px; letter-spacing: .2em; }
.topbar-spacer { flex: 1; }
.icon-btn, .top-pill { min-height: 34px; border: 1px solid var(--hairline); background: rgba(255,255,255,.055); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; color: var(--muted); transition: transform .2s var(--ease), background .2s var(--ease); }
.icon-btn:hover, .top-pill:hover { background: rgba(255,255,255,.11); transform: translateY(-1px); }
.top-pill strong { color: var(--text); font-size: 13px; }
.locale { gap: 4px; padding: 3px; }
.locale span { padding: 6px 8px; border-radius: 999px; font-size: 11px; }
.locale .active { background: rgba(255,255,255,.15); color: var(--text); }
.segmented { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; padding: 4px; margin: 10px auto 16px; max-width: 560px; background: rgba(255,255,255,.095); border-radius: 999px; }
.segmented button { min-height: 36px; border-radius: 999px; color: var(--muted); background: transparent; font-weight: 600; font-size: 13px; position: relative; }
.segmented button.active { color: var(--text); background: #4a4b53; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.segmented .new::after { content: 'NEW'; position: absolute; top: -8px; right: 2px; padding: 2px 5px; border-radius: 8px; font-size: 7px; background: #2378ee; color: #fff; }
.section-intro { text-align: center; color: var(--muted); font-family: 'Playfair Display',serif; font-style: italic; font-size: 17px; margin: 20px 0 13px; }
.catalog-card { overflow: hidden; margin: 17px 0 24px; border: 1px solid var(--hairline); border-radius: 22px; background: var(--panel); box-shadow: 0 14px 38px rgba(0,0,0,.18); }
.catalog-poster { position: relative; aspect-ratio: 16 / 9; background-color: #1a202b; background-position: center; background-size: cover; border-bottom: 1px solid var(--hairline); }
.verify-poster { background-image: url('https://duskyr.com/a316f209d2/static/verifier4/posters/verify-xpremium-3m.webp'); }
.methods-poster { background-image: url('https://duskyr.com/a316f209d2/static/verifier4/posters/methods.webp'); }
.ads-poster { background-image: linear-gradient(135deg,#1b2945,#202838 52%,#11151f), url('https://duskyr.com/a316f209d2/static/verifier4/posters/ads-direct.webp'); }
.ads-poster::before { content: '📣   📰\A  🐥  🐥'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 47px; line-height: 1.2; white-space: pre; text-align: center; }
.catalog-poster::after { content: ''; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(180deg, transparent, var(--panel)); }
.catalog-badge { position: absolute; z-index: 1; top: 10px; left: 10px; min-height: 20px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.popular-badge { background: rgba(10,11,14,.72); color: #a8c8ff; backdrop-filter: blur(6px); }
.catalog-body { padding: 2px 16px 16px; }
.catalog-kicker, .catalog-label { margin-bottom: 6px; color: var(--dim); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8.5px; font-weight: 600; letter-spacing: .14em; }
.catalog-label { margin-top: 16px; }
.catalog-body h1 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.catalog-body p { margin: 7px 0 0; color: #c0c6d0; font-size: 12.5px; line-height: 1.55; }
.catalog-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.catalog-price { display: flex; align-items: baseline; gap: 5px; min-width: 0; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.catalog-price strong { color: #8bb7ff; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.catalog-price span { white-space: nowrap; }
.choice-row { display: flex; gap: 7px; margin-top: 13px; flex-wrap: wrap; }
.choice { position: relative; flex: 1 1 0; min-width: 84px; padding: 9px 6px; border: 1px solid var(--hairline); border-radius: 13px; background: var(--panel-2); color: var(--muted); text-align: center; }
.choice.selected { border-color: var(--blue); background: var(--blue-soft); }
.choice span:not(.deal-badge) { display: block; font-size: 11px; font-weight: 600; }
.choice strong { display: block; margin-top: 2px; color: #8bb7ff; font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.deal-badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); min-height: 16px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 8px; font-weight: 800; white-space: nowrap; }
.range-row { display: flex; align-items: center; gap: 12px; margin-top: 15px; color: var(--text); font-size: 11px; }
.range-track { position: relative; flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.range-track span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--blue); }
.range-track i { position: absolute; top: 50%; left: 45%; width: 20px; height: 20px; transform: translate(-50%,-50%); border: 3px solid #fff; border-radius: 50%; background: #c7ccd3; }
.switch-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--panel-2); text-align: left; }
.switch-row span { min-width: 0; }
.switch-row b { font-size: 12px; }
.switch-row em { color: #9ec3ff; font-size: 11px; font-style: normal; font-weight: 700; }
.switch-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.switch-row i { flex: 0 0 auto; width: 38px; height: 22px; border-radius: 999px; background: #3d434f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.switch-row i::after { content: ''; display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch-row.on i { background: var(--blue); }
.switch-row.on i::after { transform: translateX(16px); }
.hero { position: relative; overflow: hidden; min-height: 252px; border: 1px solid var(--hairline); border-radius: 22px; background: radial-gradient(circle at 72% 10%, rgba(55,91,158,.35), transparent 38%), linear-gradient(130deg,#18202b,#0d0f14 65%); box-shadow: 0 18px 44px rgba(0,0,0,.2); }
.hero-art { position: absolute; inset: 0; opacity: .82; background: radial-gradient(ellipse at 72% 37%, rgba(209,220,242,.36), transparent 15%), radial-gradient(ellipse at 70% 45%, rgba(133,174,234,.22), transparent 24%), linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 35.2%, transparent 35.8%); }
.store-shell .hero-art { background-size: cover; background-position: center; background-repeat: no-repeat; }
.store-shell .hero-copy { max-width: 100%; background: linear-gradient(180deg, transparent 24%, rgba(6,8,12,.48) 58%, rgba(6,8,12,.94) 100%); }
.store-shell .hero h1 { max-width: 290px; font-size: 26px; line-height: 1.02; }
.hero-copy { position: relative; z-index: 1; min-height: 252px; padding: 28px 22px 22px; display: flex; flex-direction: column; justify-content: flex-end; max-width: 72%; }
.eyebrow { color: #93baff; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.hero h1 { font-size: clamp(26px,5vw,46px); margin: 8px 0 4px; letter-spacing: -.045em; line-height: .98; }
.hero p { margin: 0 0 14px; color: #c1c9d7; font-size: 13px; max-width: 420px; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.primary { min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--blue); font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px rgba(47,115,235,.3); }
.secondary { min-height: 38px; padding: 0 15px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--hairline); font-size: 13px; font-weight: 600; }
.dots { position: absolute; top: 13px; right: 14px; display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.34); }
.dots i.active { width: 18px; border-radius: 999px; background: #4281f5; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 12px; }
.section-heading h2 { margin: 0; font-family: 'Playfair Display',serif; font-style: italic; font-size: 26px; letter-spacing: -.03em; }
.section-heading small { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--hairline); border-radius: 17px; background: linear-gradient(180deg,#171a20,#121419); transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease); }
.product-card:hover { transform: translateY(-3px); border-color: rgba(111,160,246,.42); box-shadow: 0 14px 28px rgba(0,0,0,.23); }
.poster { position: relative; aspect-ratio: 1.52; overflow: hidden; background: linear-gradient(135deg,#cfd7e2,#6e7b91 52%,#1d2a38); }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; color: rgba(255,255,255,.88); font-size: clamp(17px,3vw,25px); font-weight: 800; text-align: center; padding: 16px; background: radial-gradient(circle at 75% 25%, rgba(255,255,255,.33), transparent 20%), linear-gradient(145deg,#4f607b,#1a202a 65%); }
.poster img + .poster-fallback { opacity: 0; }
.badge-row { position: absolute; top: 6px; left: 6px; display: flex; gap: 5px; }
.badge { padding: 3px 7px; border-radius: 999px; font-size: 8px; line-height: 1; font-weight: 800; background: #ed5a60; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.badge.official { background: rgba(16,20,25,.78); border: 1px solid rgba(255,255,255,.25); }
.card-body { padding: 10px 10px 11px; }
.card-kicker { color: #7d8798; font-size: 8px; text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { margin: 5px 0 10px; font-size: 14px; line-height: 1.17; min-height: 33px; font-weight: 700; letter-spacing: -.02em; }
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.price { color: #80b0ff; font-weight: 800; font-size: 17px; }
.stock { color: #67d5a5; background: var(--green-soft); border-radius: 999px; padding: 4px 7px; font-size: 9px; white-space: nowrap; }
.stock.low { color: #ffc56e; background: rgba(247,178,59,.13); }
.stock.none { color: #ff7888; background: rgba(239,83,107,.12); }
.dock { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 30; display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; width: min(370px, calc(100vw - 28px)); padding: 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(38,40,47,.82); backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.dock button { min-height: 46px; padding: 4px 8px; border-radius: 999px; display: grid; place-items: center; gap: 1px; background: transparent; color: var(--muted); font-size: 10px; }
.dock button.active { color: var(--text); background: rgba(255,255,255,.12); }
.dock-icon { font-size: 18px; line-height: 1; }
.market-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 18px; }
.market-sidebar { position: sticky; top: 82px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding: 14px; border: 1px solid var(--hairline); border-radius: 18px; background: rgba(20,22,28,.75); }
.market-sidebar h3 { margin: 0 0 12px; color: var(--dim); font-size: 10px; letter-spacing: .18em; }
.filter-list { display: grid; gap: 3px; }
.filter-list button { display: flex; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; font-size: 12px; }
.filter-list button:hover, .filter-list button.active { background: var(--blue-soft); color: var(--text); }
.count { color: var(--dim); }
.brand-check { display: flex; align-items: center; gap: 8px; padding: 7px 8px; color: var(--muted); font-size: 12px; }
.brand-check input { accent-color: var(--blue); }
.market-main { min-width: 0; }
.market-tools { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; margin-bottom: 12px; }
.search-wrap { position: relative; }
.search-wrap input { width: 100%; min-height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--hairline); border-radius: 13px; color: var(--text); background: var(--panel); }
.search-icon { position: absolute; left: 13px; top: 11px; color: var(--dim); }
.tool-btn { min-height: 42px; padding: 0 13px; border: 1px solid var(--hairline); border-radius: 13px; background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 600; }
.tool-btn.active { background: var(--blue-soft); color: #bcd4ff; border-color: rgba(47,115,235,.55); }
.popular { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.popular-card { min-width: 0; padding: 11px; border: 1px solid var(--hairline); border-radius: 13px; background: linear-gradient(145deg,#1a1d25,#12141a); }
.popular-card b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.popular-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.market-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; color: var(--muted); font-size: 12px; }
.status-live { color: var(--green); }
.category-chips { display: none; }
.mobile-filter-panel { display: block; margin: 10px 0; padding: 10px; border: 1px solid var(--hairline); border-radius: 15px; background: var(--panel); }
.load-more { display: block; margin: 18px auto 6px; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.63); backdrop-filter: blur(8px); opacity: 0; animation: fade-in .2s forwards; }
.detail-sheet { position: fixed; z-index: 41; left: 50%; bottom: 0; width: min(680px,100%); max-height: 92vh; overflow: auto; transform: translate(-50%,105%); border: 1px solid var(--hairline); border-bottom: 0; border-radius: 24px 24px 0 0; background: #14161c; animation: sheet-up .35s var(--ease) forwards; box-shadow: 0 -20px 60px rgba(0,0,0,.35); }
.sheet-handle { width: 40px; height: 4px; margin: 10px auto 2px; border-radius: 999px; background: rgba(255,255,255,.2); }
.sheet-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 6px 12px; background: linear-gradient(#14161c 68%,transparent); }
.sheet-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--muted); }
.detail-content { padding: 0 16px 24px; }
.detail-poster { width: 100%; aspect-ratio: 1.86; border-radius: 18px; overflow: hidden; }
.detail-poster img, .detail-poster .poster-fallback { width: 100%; height: 100%; }
.detail-kicker { margin-top: 14px; color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.detail-content h2 { margin: 5px 0 7px; font-size: 22px; letter-spacing: -.035em; }
.detail-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.detail-price { margin: 12px 0; color: #83b3ff; font-size: 25px; font-weight: 800; }
.detail-description { white-space: pre-line; color: #c2c8d2; font-size: 13px; line-height: 1.55; }
.detail-list { display: grid; gap: 8px; padding: 0; margin: 14px 0; list-style: none; color: #d9dee7; font-size: 12px; }
.detail-list li::before { content: '✓'; margin-right: 8px; color: var(--green); }
.buy-bar { display: flex; gap: 8px; align-items: center; position: sticky; bottom: 0; padding: 12px 0 0; background: linear-gradient(transparent,#14161c 28%); }
.buy-bar .primary { flex: 1; min-height: 46px; }
.quantity { display: flex; align-items: center; gap: 8px; padding: 0 9px; min-height: 46px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.05); }
.quantity button { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.09); }
.empty { padding: 34px 14px; border: 1px dashed var(--hairline); border-radius: 16px; text-align: center; color: var(--muted); }
.account-page { padding: 28px 0 24px; }
.account-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.account-heading h1 { margin: 5px 0 7px; font-size: 30px; letter-spacing: -.045em; }
.account-heading p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.order-list { display: grid; gap: 9px; }
.order-row, .profile-card, .balance-card { border: 1px solid var(--hairline); border-radius: 17px; background: linear-gradient(145deg,#171a20,#111318); }
.order-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px; }
.order-row strong { display: block; font-size: 13px; }
.order-row small { display: block; margin-top: 5px; color: var(--dim); font-size: 10px; }
.order-side { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: 10px; text-align: right; }
.order-side b { color: var(--green); font-size: 11px; text-transform: capitalize; }
.link-btn { padding: 0; background: transparent; color: #8bb7ff; font-size: 11px; }
.balance-card { padding: 22px; }
.balance-label { display: block; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.balance-card strong { display: block; margin-top: 8px; color: #9bc0ff; font-size: 34px; letter-spacing: -.05em; }
.balance-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.profile-card { display: grid; gap: 0; overflow: hidden; }
.profile-card > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px; border-bottom: 1px solid var(--hairline); font-size: 12px; }
.profile-card > div:last-child { border-bottom: 0; }
.profile-card b { color: var(--text); }
.profile-card span { color: var(--muted); text-align: right; }
.auth-card, .topup-card, .topup-list { margin-top: 14px; padding: 16px; border: 1px solid var(--hairline); border-radius: 17px; background: linear-gradient(145deg,#171a20,#111318); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.05); }
.auth-tabs button { min-height: 36px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.auth-tabs button.active { background: var(--blue); color: #fff; }
.auth-card form, .topup-card form { display: grid; gap: 11px; }
.auth-card label, .topup-card label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.auth-card input, .topup-card input { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--hairline); border-radius: 11px; background: rgba(255,255,255,.06); color: var(--text); }
.auth-card .primary, .topup-card .primary { width: 100%; margin-top: 3px; }
.topup-card h2, .topup-list h2 { margin: 0 0 6px; font-size: 16px; }
.topup-card p { margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.topup-list { display: grid; gap: 8px; }
.topup-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: 11px; }
.topup-row > div:first-child { min-width: 0; display: grid; gap: 4px; }
.topup-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; text-align: right; }
.topup-reason { color: #f4c86d; line-height: 1.35; }
.receipt-replace { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--hairline); border-radius: 9px; color: var(--text); cursor: pointer; font-size: 10px; }
.receipt-replace input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.topup-row:last-child { border-bottom: 0; }
.topup-row b { color: var(--green); text-transform: capitalize; }
.commerce-notice { display: grid; gap: 7px; margin: 14px 0; padding: 12px 13px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 11px; line-height: 1.45; }
.commerce-notice strong { color: var(--text); font-size: 12px; }
.commerce-notice.success { border-color: rgba(58,208,138,.38); background: var(--green-soft); }
.commerce-notice.error { border-color: rgba(239,83,107,.38); background: rgba(239,83,107,.1); color: #ffabb7; }
.commerce-notice pre { max-height: 180px; overflow: auto; margin: 2px 0; padding: 9px; border-radius: 10px; background: rgba(0,0,0,.25); color: #c9d8ef; font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.account-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.admin-page { padding-bottom: 80px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.admin-metrics > div, .admin-card { border: 1px solid var(--hairline); border-radius: 15px; background: linear-gradient(145deg,#171a20,#111318); }
.admin-metrics > div { padding: 12px; }
.admin-metrics b { display: block; color: #9bc0ff; font-size: 21px; }
.admin-metrics small, .admin-muted { color: var(--muted); font-size: 10px; }
.admin-card { margin-top: 12px; padding: 14px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.admin-section-heading h2 { margin: 0; font-size: 15px; }
.admin-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.admin-row > div:first-child { min-width: 0; display: grid; gap: 3px; }
.admin-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.admin-row small, .admin-row span { color: var(--muted); font-size: 10px; line-height: 1.35; }
.admin-row span b { color: #f4c86d; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px; }
.compact { min-height: 30px !important; padding: 0 9px !important; font-size: 10px !important; }
.danger { min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(239,83,107,.16); color: #ffb0bb; border: 1px solid rgba(239,83,107,.4); }
.status-approved, .status-rejected { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.status-approved { color: var(--green); }
.audit-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 10px; }
.audit-row small { color: var(--dim); white-space: nowrap; }
.market-topbar { height: 58px; display: flex; align-items: center; gap: 17px; padding: 6px 14px; border: 1px solid var(--hairline); border-radius: 999px; background: rgba(7,8,10,.86); position: sticky; top: 10px; z-index: 20; }
.market-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.market-mark { width: 25px; height: 25px; display: grid; place-items: center; font-size: 22px; color: #e5e8ef; }
.market-search-icon, .theme-btn, .market-link { color: var(--muted); background: transparent; }
.market-search-icon { font-size: 22px; }
.sell-btn, .signup-btn { min-height: 38px; padding: 0 15px; border-radius: 999px; font-weight: 700; }
.sell-btn { background: #3278ec; }
.signup-btn { background: #3c82f2; }
.market-link { white-space: nowrap; }
.market-page { padding: 32px 8px 26px; }
.invite-hero { min-height: 304px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 20px; background: #090a0d url('https://duskyr.com/assets/invite-stars-1800-afc92b206ec9.webp') right center / cover no-repeat; }
.invite-copy { max-width: 55%; padding: 28px 30px; }
.invite-copy > span { color: #c9a76c; font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.invite-copy h1 { margin: 11px 0 9px; font-size: clamp(29px,5vw,43px); line-height: .98; letter-spacing: -.05em; }
.invite-copy p { max-width: 290px; margin: 0 0 15px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.invite-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; background: #f6f6f3; color: #202124; font-weight: 700; }
.invite-copy small { display: block; margin-top: 20px; color: #96969b; font-size: 10px; line-height: 1.6; }
.market-shell .market-tools { grid-template-columns: minmax(0,1fr) auto auto auto; margin-top: 16px; }
.market-shell .search-wrap kbd { position: absolute; right: 10px; top: 12px; padding: 2px 5px; border: 1px solid var(--hairline); border-radius: 5px; color: var(--dim); font-size: 10px; }
.sort-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: -4px 0 10px; }
.sort-menu button { min-height: 32px; padding: 0 11px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 11px; }
.sort-menu button.active { border-color: rgba(47,115,235,.6); background: var(--blue-soft); color: #c7dbff; }
.market-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 12px; }
.market-shortcuts button { min-height: 40px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--panel); color: var(--text); font-size: 12px; }
.market-shell .category-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.market-shell .category-chips::-webkit-scrollbar { display: none; }
.market-shell .category-chips button { flex: 0 0 auto; display: inline-flex; gap: 7px; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 11px; }
.market-shell .category-chips button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.market-shell .category-chips small { color: var(--dim); font-size: 10px; }
.market-metrics { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 16px 0 18px; color: var(--muted); font-size: 12px; }
.market-metrics strong { color: var(--text); }
.popular-heading { margin: 4px 0 8px; color: var(--text); font-size: 16px; font-weight: 700; }
.market-shell .product-grid { margin-top: 15px; }
.onboarding { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #090a0d; }
.onboarding-card { width: min(320px, calc(100vw - 44px)); text-align: center; }
.onboarding-flag, .welcome-duck { margin-bottom: 19px; font-size: 70px; line-height: 1; }
.welcome-duck { font-size: 68px; }
.onboarding-card h1 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.04em; }
.onboarding-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.language-row { display: flex; justify-content: center; gap: 12px; margin: 24px 0 28px; }
.language-row button { width: 66px; height: 66px; border-radius: 50%; background: #20232c; color: var(--muted); font-weight: 700; border: 1px solid rgba(255,255,255,.08); }
.language-row button.selected { background: #347af2; color: #fff; }
.onboarding-cta { width: 100%; min-height: 46px; }
.welcome-card ul { display: grid; gap: 9px; padding: 0; margin: 23px 0 26px; list-style: none; text-align: left; }
.welcome-card li { display: flex; gap: 12px; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--hairline); border-radius: 13px; background: rgba(255,255,255,.05); color: #66d0b0; font-size: 14px; }
.welcome-card li span { color: var(--muted); }
@keyframes sheet-up { to { transform: translate(-50%,0); } }
@keyframes fade-in { to { opacity: 1; } }
@media (min-width: 760px) {
  .app-shell { padding: 16px 22px 36px; }
  .topbar { top: 16px; }
  .market-shell .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dock { position: static; transform: none; margin: 26px auto 0; }
}
@media (min-width: 1050px) {
  .market-shell .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 759px) {
  .market-layout { display: block; }
  .market-sidebar { display: none; }
  /* Keep both quick filters reachable on narrow screens. Search gets a full
     row, then Instant and Filters sit side-by-side like the reference UI. */
  .market-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-tools .search-wrap { grid-column: 1 / -1; }
  .market-tools .tool-btn { display: inline-flex; align-items: center; justify-content: center; }
  .popular { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .popular-card:last-child { display: none; }
  .category-chips { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
  .category-chips::-webkit-scrollbar { display: none; }
  .category-chips button { flex: 0 0 auto; min-height: 30px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 11px; }
  .category-chips button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .mobile-filter-panel .market-sidebar { display: block; position: static; max-height: 270px; padding: 2px; border: 0; background: transparent; }
  .brand { min-width: 0; }
  .brand-word { font-size: 14px; }
  .locale { display: none; }
  .market-page { padding-top: 20px; }
  .invite-hero { min-height: 290px; background-position: 62% center; }
  .invite-copy { max-width: 68%; padding: 23px 18px; }
  .invite-copy h1 { font-size: 31px; }
  .market-shell .market-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-shell .market-tools .search-wrap { grid-column: 1 / -1; }
  .market-shell .market-tools .tool-btn { display: inline-flex; align-items: center; justify-content: center; }
  .account-page { padding-top: 20px; }
  .account-heading { align-items: stretch; flex-direction: column; }
  .account-heading .secondary { align-self: flex-start; }
  .order-row { flex-direction: column; }
  .order-side { justify-items: start; text-align: left; }
  .profile-card > div { flex-direction: column; gap: 5px; }
  .profile-card span { text-align: left; }
  .admin-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-row { flex-direction: column; }
  .admin-actions { justify-content: flex-start; }
}
@media (min-width: 760px) and (max-width: 1199px) {
  .market-shell .market-sidebar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
