/* ═══════════════════════════════════════════════════════════════
   SHADOWS AIO: site styles (v2)
   One stylesheet for every page. Crimson + purple on black, gold for credits and prices.
   Old variable names (--crimson, --gold, --text-dim …) are kept because page scripts use them inline.
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  /* palette from the OneStopShop design: black + gold, purple/crimson accents */
  --black: #000;
  --void: #08060A;
  --deep: #0E0B12;
  --bg: #0D0B11;
  --panel: rgba(24, 19, 30, 0.78);
  --panel-2: #16111C;
  --line: rgba(226, 182, 92, 0.14);
  --line-2: #2F2739;
  --crimson: #D6334E;
  --blood: #8B1A30;
  --ember: #FF4D6A;
  --purple: #9B6BFF;
  --purple-bright: #B48CFF;
  --purple-dark: #4A2A8A;
  --purple-glow: #C9B2FF;
  --violet: #7B5BD6;
  --gold: #E2B65C;
  --gold-hi: #F4D488;
  --gold-dark: #B98A3A;
  --gold-dim: #8B6F2A;
  --green: #4CD685;
  --text: #F3EFF7;
  --text-dim: #ACA2BC;
  --text-faint: #6B6178;
  --grad: linear-gradient(135deg, #F4D488 0%, #D9A84A 55%, #B98A3A 100%);
  --duo: linear-gradient(135deg, #9B6BFF 0%, #D6334E 100%);
  --grad-soft: linear-gradient(135deg, rgba(155, 107, 255, 0.14), rgba(214, 51, 78, 0.12));
  --card: linear-gradient(180deg, rgba(46, 38, 60, 0.5) 0%, rgba(20, 16, 26, 0.82) 100%);
  --display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 18px;
  --r-sm: 10px;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
a { color: var(--purple-glow); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; text-wrap: balance; }
code, .mono { font-family: var(--mono); }
::selection { background: var(--crimson); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #3A1F3D; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--crimson); }
:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; }
input, select, textarea, button { font: inherit; color: inherit; }

/* background canvas (effects.js) */
#chaos-canvas, #bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cursor-glow { display: none; }

/* ═══ HEADER ═══ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 4, 10, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--crimson) 30%, var(--purple) 70%, transparent); opacity: 0.7; }
.hdr { max-width: 1100px; margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand img, .brand svg { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 18px rgba(224, 36, 78, 0.35); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.08em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 6px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: var(--text-dim); font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: 10px; position: relative; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* user chip + dropdown (auth.js) */
#auth-slot { position: relative; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer; color: var(--text); }
.user-chip:hover { border-color: rgba(224, 36, 78, 0.5); }
.user-chip img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--crimson); }
.user-chip .who { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.user-chip .who b { font-size: 13px; font-weight: 600; }
.user-chip .who small { font-size: 11.5px; color: var(--gold); font-weight: 600; }
.user-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #140A16; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8); display: none; }
.user-menu.open { display: block; }
.user-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 14px; }
.user-menu a:hover { background: rgba(224, 36, 78, 0.12); }
.user-menu .sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
.user-menu .bal { padding: 8px 12px 10px; font-size: 12px; color: var(--text-dim); }
.user-menu .bal b { display: block; font-family: var(--display); color: var(--gold); font-size: 18px; }

@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px max(16px, env(safe-area-inset-left, 0px)) 16px; background: rgba(8, 4, 10, 0.97); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .main-nav a.active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .menu-btn { display: grid; }
  .user-chip .who { display: none; }
  .user-chip { padding: 4px; }
}

/* ═══ FOOTER ═══ */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: rgba(6, 3, 8, 0.85); }
.ftr { max-width: 1100px; margin: 0 auto; padding: 36px max(16px, env(safe-area-inset-right, 0px)) calc(36px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--text-dim); font-size: 14px; }
.ftr nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr nav a { color: var(--text-dim); }
.ftr nav a:hover { color: #fff; }
.ftr .brand span { font-size: 14px; }
.ftr .brand img { width: 26px; height: 26px; }
footer:not(.site-footer), .mobile-nav, .footer-links { display: none !important; }

/* ═══ LAYOUT ═══ */
.container, .shop-wrap, .creator-wrap, .profile-wrap, .download-wrap, .orders-wrap, .admin-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 48px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.profile-wrap, .orders-wrap, .creator-wrap, .download-wrap { max-width: 920px; }
section { position: relative; }
.section-pad { padding-block: 72px; }

/* page headers */
.shop-header, .creator-header, .download-header, .orders-header, .admin-header, .page-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; text-align: left; }
.shop-header h1, .creator-header h1, .download-header h1, .orders-header h1, .admin-header h1, .page-head h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: 0.03em; color: #fff; background: linear-gradient(180deg, #fff 30%, #E9C6D3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-header p, .creator-header p, .download-header p, .orders-header p, .admin-header p, .page-head p { color: var(--text-dim); font-size: 16px; max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-glow); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-title { font-size: clamp(26px, 3.4vw, 38px); text-align: left; color: #fff; }
.section-sub, .section-desc { color: var(--text-dim); font-size: 16px; margin-top: 10px; max-width: 62ch; }

/* ═══ BUTTONS ═══ */
.btn, .buy-btn, .stripe-btn, .confirm-btn, .download-btn, .dl-btn, .copy-btn, .refresh-btn, .topup-btn, .pay-toggle-btn, .actions a, .back-link, .contact-btn, .discord-btn, .empty-state a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: var(--text); font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s, background .15s, border-color .15s;
}
.btn:hover, .copy-btn:hover, .refresh-btn:hover, .pay-toggle-btn:hover, .actions a:hover, .back-link:hover, .contact-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-primary, .buy-btn, .stripe-btn, .confirm-btn, .download-btn, .dl-btn, .topup-btn, .actions a.primary, .empty-state a, .btn.primary {
  background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(168, 107, 255, 0.35), 0 14px 30px -14px rgba(224, 36, 78, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover, .buy-btn:hover, .stripe-btn:hover, .confirm-btn:hover, .download-btn:hover, .dl-btn:hover, .topup-btn:hover, .actions a.primary:hover, .empty-state a:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.buy-btn.gold, .btn.gold { background: linear-gradient(135deg, #FFE08A, #F2C14E 55%, #C8902F); color: #1E1204; box-shadow: 0 0 0 1px #000, 0 14px 30px -14px rgba(242, 193, 78, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-outline, .btn.secondary { background: transparent; border-color: rgba(224, 36, 78, 0.5); }
.discord-btn { background: linear-gradient(135deg, #5865F2, #7A5CFF); border-color: transparent; color: #fff; }
.discord-btn:hover { filter: brightness(1.08); color: #fff; }
.discord-btn svg, .btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
button:disabled, .btn:disabled, .buy-btn:disabled, .stripe-btn:disabled, .confirm-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; filter: none !important; }
.back-link { margin-top: 28px; min-height: 38px; font-size: 13px; color: var(--text-dim); }
.btn-row, .actions, .nav-actions, .hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ PANELS ═══ */
.card, .section-box, .section, .stat-card, .license-box, .payment-box, .active-license, .lock-screen, .setup-info, .order-card, .profile-head, .contact-box, .faq-item, .feature, .dl-card, .acct-card, .credit-card, .result-wrap, .auth-status, .gate, .license-card, .product-detail {
  background: linear-gradient(180deg, rgba(40, 20, 44, 0.55), rgba(16, 8, 18, 0.88)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 50px -36px rgba(0, 0, 0, 0.9); clip-path: none !important;
}
.section-box, .section, .license-box, .payment-box, .active-license, .lock-screen, .setup-info, .contact-box { padding: 26px; margin-bottom: 20px; }
.section-box.gold, .section.gold { border-color: rgba(242, 193, 78, 0.35); }
.section-box h2, .section h2, .license-box h2, .payment-box h2, .lock-screen h2, .contact-box h3 { font-size: 15px; letter-spacing: 0.1em; color: #fff; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.section-box h2::before, .section h2::before, .license-box h2::before, .payment-box h2::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); flex-shrink: 0; }
.section h2 .badge { margin-left: 4px; }
.card { padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: rgba(224, 36, 78, 0.45); }
.card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { color: var(--text-dim); }
.card ul, .license-card ul, .product-info ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.card ul li, .license-card ul li, .product-info ul li { display: flex; gap: 10px; align-items: baseline; color: #DCCFDD; font-size: 14px; }
.card ul li::before, .license-card ul li::before, .product-info ul li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; transform: rotate(45deg) translateY(-2px); background: var(--crimson); flex-shrink: 0; }
.card .price, .price { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--gold); letter-spacing: 0.02em; }
.price-sub { color: var(--text-dim); font-size: 13px; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; background: rgba(224, 36, 78, 0.16); color: #FF8DA2; text-transform: uppercase; }
.stock { font-family: var(--mono); font-size: 12.5px; color: var(--green); letter-spacing: 0.04em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* reveal on scroll (effects.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══ FORMS ═══ */
input[type=text], input[type=number], input[type=email], input[type=search], textarea, select, .search-input {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 2, 7, 0.7); color: var(--text); outline: none; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus, .search-input:focus { border-color: rgba(168, 107, 255, 0.6); }
textarea { min-height: 96px; resize: vertical; }
input[readonly], .readonly { color: var(--text-dim); background: rgba(255, 255, 255, 0.02); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label, .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #DCCFDD; }
.checkbox-group input { width: 18px; height: 18px; accent-color: var(--crimson); }

/* ═══ TOAST / MESSAGES ═══ */
.toast { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); top: auto; left: auto; z-index: 100; background: #1A0D1C; border: 1px solid rgba(168, 107, 255, 0.45); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 40px); }
.toast.show { opacity: 1; transform: none; }
.error-msg { color: #FF8DA2; font-size: 14px; min-height: 0; margin-top: 10px; }
.error-msg:empty { display: none; }
.warning { padding: 12px 14px; border-radius: 12px; background: rgba(242, 193, 78, 0.08); border: 1px solid rgba(242, 193, 78, 0.25); color: #F5DFA6; font-size: 13.5px; margin: 14px 0; }
.warning strong { color: var(--gold); }
.status-msg, .stripe-status { display: none; padding: 12px 14px; border-radius: 12px; margin-top: 12px; font-size: 14px; background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.3); color: #A6F0C4; }
.status-msg.show, .stripe-status.show { display: block; }
.status-msg.error, .stripe-status.error { background: rgba(224, 36, 78, 0.1); border-color: rgba(224, 36, 78, 0.4); color: #FF8DA2; }
.status-msg.pending { background: rgba(242, 193, 78, 0.08); border-color: rgba(242, 193, 78, 0.3); color: #F5DFA6; }

/* ═══ HOME ═══ */
.hero { padding: 88px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: 0.01em; color: #fff; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--text-dim); font-size: 18px; max-width: 52ch; margin-top: 18px; }
.hero-btns { margin-top: 28px; }
.ticks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--text-dim); font-size: 14px; }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: var(--green); }
.hero-art { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; border: 1px solid rgba(224, 36, 78, 0.35); box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(168, 107, 255, 0.3), 0 40px 90px -30px rgba(224, 36, 78, 0.55); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art .stockcard { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-art .stockcard div { background: rgba(8, 4, 10, 0.78); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 12px 14px; }
.hero-art .stockcard b { display: block; font-family: var(--display); font-size: 24px; color: #fff; }
.hero-art .stockcard span { font-size: 12px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: 48px; } }
.strip { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(16, 8, 18, 0.7); }
.strip div { flex: 1; padding: 16px 18px; border-right: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.strip div:last-child { border-right: 0; }
.strip b { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .strip { flex-direction: column; } .strip div { border-right: 0; border-bottom: 1px solid var(--line-2); } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.step { padding: 24px; }
.step .k { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: var(--grad); margin-bottom: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.prod-art { margin: -26px -26px 6px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.prod-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.marquee { display: none; }

/* ═══ SHOP ═══ */
.balance-bar { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(242, 193, 78, 0.1); border: 1px solid rgba(242, 193, 78, 0.35); color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.stock-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-pill { padding: 6px 12px; border-radius: 999px; background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.25); color: #A6F0C4; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; }
.stock-pill .num, .tier-stock .num { font-family: var(--mono); color: #fff; }
.shop-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 5, 12, 0.75); margin-bottom: 20px; }
.shop-tab { border: 0; background: transparent; color: var(--text-dim); border-radius: 13px; padding: 12px; cursor: pointer; font-weight: 700; letter-spacing: 0.08em; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.shop-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.03); }
.shop-tab.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(224, 36, 78, 0.45); }
.shop-tab .tab-icon { font-size: 20px; }
.shop-tab .tab-sub { font-weight: 500; letter-spacing: 0; font-size: 12px; color: var(--text-dim); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.acct-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.acct-card { padding: 20px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.acct-card:hover { transform: translateY(-2px); }
.acct-card.selected { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson), 0 0 0 4px rgba(224, 36, 78, 0.15); }
.tier-name { font-family: var(--display); font-size: 18px; color: #fff; }
.tier-badge { align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.tier-badge.fresh { background: rgba(168, 107, 255, 0.15); color: #D2B6FF; }
.tier-badge.tutored { background: rgba(242, 193, 78, 0.15); color: var(--gold); }
.tier-cost { font-family: var(--display); font-size: 24px; color: var(--gold); margin-top: 6px; }
.tier-gbp, .tier-stock { color: var(--text-dim); font-size: 13px; }
.buy-row { display: flex; gap: 10px; }
.buy-row input { max-width: 140px; }
.buy-row .buy-btn { flex: 1; }
.price-info { color: var(--text-dim); font-size: 14px; margin-top: 10px; }
.price-info span { color: var(--gold); font-weight: 600; }
.result-box { display: none; margin-top: 18px; padding: 18px; border-radius: 14px; border: 1px solid rgba(61, 220, 132, 0.35); background: rgba(61, 220, 132, 0.05); }
.result-box.show { display: block; }
.result-box h3 { font-size: 14px; letter-spacing: 0.1em; color: var(--green); margin-bottom: 10px; }
.accounts-list, .accounts-box { font-family: var(--mono); font-size: 12.5px; background: #050206; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; max-height: 280px; overflow: auto; white-space: pre; color: #EFD9A0; margin-bottom: 12px; }
.credit-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.credit-card { padding: 18px 12px; text-align: center; cursor: pointer; transition: transform .15s, border-color .15s; }
.credit-card:hover { transform: translateY(-2px); }
.credit-card.selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px rgba(242, 193, 78, 0.15); }
.credit-card .credits { font-family: var(--display); font-size: 28px; color: #fff; }
.credit-card .label { font-size: 11px; }
.credit-card .gbp { font-family: var(--display); color: var(--gold); font-size: 18px; margin-top: 8px; }
.credit-card .per { color: var(--text-dim); font-size: 12px; }
.pay-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-toggle .pay-toggle-btn { flex: 1; }
.pay-toggle-btn.active { background: var(--grad-soft); border-color: rgba(224, 36, 78, 0.55); color: #fff; }
.ltc-rate { color: var(--text-dim); font-size: 13px; margin-bottom: 8px; }
.ltc-box, .ltc-addr, .ltc-amount, .ltc-address, .license-key, .license-key-box { font-family: var(--mono); background: #050206; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; text-align: center; color: var(--gold); word-break: break-all; cursor: pointer; font-size: 14px; }
.ltc-box.disabled { color: var(--text-faint); cursor: default; }
.ltc-addr, .ltc-address { color: #C9F7DC; font-size: 13px; margin-top: 10px; }
.copy-hint { color: var(--text-faint); font-size: 12px; text-align: center; margin-top: 4px; }
.qr-wrap { text-align: center; margin: 14px 0; }
.qr-wrap img { width: 180px; height: 180px; border-radius: 12px; background: #fff; padding: 8px; }
.license-card { padding: 24px; margin-bottom: 16px; overflow: hidden; }
.license-status { margin-top: 12px; }
@media (max-width: 760px) {
  .acct-tiers { grid-template-columns: 1fr; }
  .credit-tiers { grid-template-columns: 1fr 1fr; }
  .shop-tab .tab-sub { display: none; }
  .buy-row { flex-wrap: wrap; }
  .buy-row input { max-width: none; }
}

/* ═══ CREATOR ═══ */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.feature { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.feature .icon { font-size: 22px; }
.feature .text { color: var(--text-dim); font-size: 13.5px; }
.active-license { display: none; border-color: rgba(61, 220, 132, 0.4); }
.active-license.show { display: block; }
.license-key { margin: 8px 0; }
.expiry { color: var(--text-dim); font-size: 13px; }
.license-box { text-align: left; }
.license-box .price { font-size: 40px; }
.payment-box { display: none; }
.payment-box.show { display: block; }
.payment-box h2 { margin-top: 10px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }

/* ═══ DOWNLOAD ═══ */
.lock-screen { text-align: center; padding: 40px 26px; }
.lock-screen .icon { font-size: 40px; margin-bottom: 10px; }
.lock-screen h2 { justify-content: center; }
.lock-screen p { color: var(--text-dim); margin-bottom: 18px; }
.download-wrap .license-box { display: none; }
.download-wrap .license-box.show { display: block; }
.license-info { padding: 12px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.license-info:last-of-type { border-bottom: 0; }
.license-info .value { font-family: var(--mono); font-size: 14px; color: var(--text); }
.dl-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.dl-card { padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, border-color .15s; }
.dl-card:hover { transform: translateY(-2px); border-color: rgba(224, 36, 78, 0.45); }
.dl-card h3 { font-size: 15px; }
.dl-card p { color: var(--text-dim); font-size: 13px; }
.dl-card .dl-btn { margin-top: auto; align-self: flex-start; }
.dl-card .size { color: var(--text-faint); font-size: 12px; font-family: var(--mono); }
.setup-info { color: var(--text-dim); font-size: 14px; }
@media (max-width: 700px) { .dl-options { grid-template-columns: 1fr; } }

/* ═══ PROFILE ═══ */
.profile-head { display: flex; align-items: center; gap: 18px; padding: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.profile-head img { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--crimson); }
.profile-head .info { flex: 1; min-width: 0; }
.profile-head h1 { font-size: 24px; }
.display-name { color: var(--purple-glow); font-weight: 600; }
.meta { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.stat-grid, .admin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat, .stat-card { padding: 16px 18px; border-radius: 14px; background: rgba(5, 2, 7, 0.55); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.stat .value, .stat-card .value { font-family: var(--display); font-size: 26px; color: #fff; }
.stat-card.gold .value, #stat-credits { color: var(--gold); }
.stat-card .sub { color: var(--text-dim); font-size: 12px; }
@media (max-width: 760px) { .stat-grid, .admin-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ ORDERS ═══ */
.order-card { margin-bottom: 10px; overflow: hidden; }
.order-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.order-head:hover { background: rgba(255, 255, 255, 0.02); }
.order-head .qty { font-weight: 600; }
.order-head .date { color: var(--text-dim); font-size: 13px; }
.order-head .credits { margin-left: auto; color: var(--gold); font-weight: 600; }
.order-head .chevron { color: var(--text-dim); transition: transform .2s; }
.order-card.open .order-head .chevron { transform: rotate(90deg); }
.order-body { display: none; padding: 0 18px 18px; }
.order-card.open .order-body { display: block; }
.summary { color: var(--text-dim); font-size: 13px; margin-bottom: 10px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-dim); border: 1px dashed var(--line); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ═══ ADMIN ═══ */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.section { overflow-x: auto; }
th { text-align: left; color: var(--text-dim); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.green { color: var(--green); }
.refresh-btn, .topup-btn { min-height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.search-input { margin-bottom: 12px; }
#last-updated { color: var(--text-faint); font-size: 12px; font-family: var(--mono); }

/* ═══ FAQ / CONTACT ═══ */
.faq-item { margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 18px 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q::after { content: "+"; color: var(--crimson); font-size: 22px; line-height: 1; font-weight: 400; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-item.open { border-color: rgba(224, 36, 78, 0.45); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--text-dim); }
.faq-item.open .faq-a { display: block; }
.faq-a code { background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; color: var(--gold); }
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.contact-methods .card { text-align: left; }
@media (max-width: 860px) { .contact-methods { grid-template-columns: 1fr; } }

/* ═══ CENTRED STATUS PAGES (login, success, cancelled, oauth) ═══ */
.center-page { flex: 1; display: grid; place-items: center; padding: 48px 16px; }
.result-wrap, .auth-status, .gate { width: min(480px, 100%); padding: 36px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(168, 107, 255, 0.25), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.result-wrap .icon { font-size: 48px; }
.result-wrap h1, .auth-status h2, .gate h1 { font-size: 24px; }
.result-wrap p, .gate p { color: var(--text-dim); }
.result-wrap .balance { font-family: var(--display); color: var(--gold); font-size: 22px; }
.result-wrap.ok { border-color: rgba(61, 220, 132, 0.45); }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(224, 36, 78, 0.2); border-top-color: var(--purple-glow); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gate .brand img { width: 52px; height: 52px; border-radius: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }
.topup-btn.green { background: linear-gradient(135deg, #46E38F, #1E9E5A); color: #04130A; }


/* ═══════════════════════════════════════════════════════════════
   OneStopShop look (v2.1): gold primary actions, duo (purple→crimson) accents,
   Unbounded headings with white→gold text, gold hairlines.
   ═══════════════════════════════════════════════════════════════ */
body { line-height: 1.55; }
a { color: var(--gold-hi); }
:focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
::selection { background: var(--gold); color: #1A1206; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* header */
.site-header { background: rgba(8, 6, 10, 0.78); backdrop-filter: blur(12px); border-bottom: 0; }
.site-header::after { background: linear-gradient(90deg, transparent, rgba(226, 182, 92, 0.35) 20%, rgba(244, 212, 136, 0.7) 50%, rgba(226, 182, 92, 0.35) 80%, transparent); opacity: 1; }
.brand img { box-shadow: 0 6px 14px rgba(155, 107, 255, 0.4); border-radius: 9px; }
.brand span { font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 4px; }
.main-nav a.active::after { background: var(--duo); left: 12px; right: 12px; }
.user-chip { border-color: var(--line); font-weight: 600; }
.user-chip img { box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--gold); }
.user-menu { background: #16111C; border-color: rgba(226, 182, 92, 0.25); }
.user-menu a:hover { background: rgba(226, 182, 92, 0.1); }
.site-footer { border-top-color: var(--line); background: rgba(6, 5, 8, 0.7); }

/* buttons: gold primary like the mockup */
.btn-primary, .buy-btn, .stripe-btn, .confirm-btn, .download-btn, .dl-btn, .topup-btn, .actions a.primary, .empty-state a, .btn.primary, .buy-btn.gold, .btn.gold {
  background: var(--grad); color: #1A1206; border-color: transparent;
  box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(214, 51, 78, 0.45), 0 14px 30px -14px rgba(226, 182, 92, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover, .buy-btn:hover, .stripe-btn:hover, .confirm-btn:hover, .download-btn:hover, .dl-btn:hover, .topup-btn:hover, .actions a.primary:hover, .empty-state a:hover { color: #1A1206; filter: brightness(1.05); }
.btn-outline, .btn.secondary { border-color: rgba(226, 182, 92, 0.4); }
.topup-btn:not(.green) { background: rgba(214, 51, 78, 0.14); color: #FF9AAD; box-shadow: none; border: 1px solid rgba(214, 51, 78, 0.4); }
.topup-btn.green { background: rgba(76, 214, 133, 0.14); color: var(--green); border: 1px solid rgba(76, 214, 133, 0.4); box-shadow: none; }

/* text bits */
.eyebrow { color: var(--gold); }
.eyebrow::before { width: 20px; background: var(--duo); }
.shop-header h1, .creator-header h1, .download-header h1, .orders-header h1, .admin-header h1, .page-head h1, .section-title, .h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 35%, #E8D7B0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shop-header h1, .creator-header h1, .download-header h1, .orders-header h1, .admin-header h1, .page-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.lead, .section-sub, .section-desc, .shop-header p, .creator-header p, .download-header p, .orders-header p, .admin-header p, .page-head p { color: var(--text-dim); font-size: 17px; }

/* cards & panels */
.card, .section-box, .section, .stat-card, .license-box, .payment-box, .active-license, .lock-screen, .setup-info, .order-card, .profile-head, .contact-box, .faq-item, .feature, .dl-card, .acct-card, .credit-card, .result-wrap, .auth-status, .gate, .license-card, .product-detail {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 214, 120, 0.1), 0 24px 50px -36px rgba(0, 0, 0, 0.9);
}
.card:hover, .dl-card:hover { border-color: rgba(226, 182, 92, 0.35); }
.section-box h2::before, .section h2::before, .license-box h2::before, .payment-box h2::before { background: var(--gold); }
.section-box h2, .section h2, .license-box h2, .payment-box h2, .lock-screen h2, .contact-box h3 { font-family: var(--display); font-size: 14px; letter-spacing: 0.06em; }
.card ul li::before, .license-card ul li::before, .product-info ul li::before { background: var(--gold); }
.badge { background: rgba(226, 182, 92, 0.13); color: #F3D58C; }
.stat .value, .stat-card .value { font-family: var(--display); }
.price, .card .price, .tier-cost, .credit-card .gbp { color: var(--gold-hi); font-family: var(--display); }
.faq-q::after { color: var(--gold); }
.faq-item.open { border-color: rgba(226, 182, 92, 0.4); }
.section-box.gold, .section.gold { border-color: rgba(226, 182, 92, 0.32); }
th { color: var(--gold); }

/* selections use purple (like the launcher's selected tiles) */
.shop-tab.active, .pay-toggle-btn.active { background: rgba(155, 107, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.4); border-color: transparent; color: #fff; }
.acct-card.selected { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(155, 107, 255, 0.5); }
.credit-card.selected { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(155, 107, 255, 0.5); }
.tier-badge.fresh { background: rgba(155, 107, 255, 0.15); color: #D5C6FF; }
.tier-badge.tutored { background: rgba(226, 182, 92, 0.15); color: var(--gold-hi); }
.balance-bar { background: rgba(226, 182, 92, 0.12); border-color: rgba(226, 182, 92, 0.4); color: var(--gold-hi); }
.stock-pill { background: rgba(76, 214, 133, 0.1); border-color: rgba(76, 214, 133, 0.28); color: #A6F0C4; }
input:focus, textarea:focus, select:focus, .search-input:focus { border-color: rgba(226, 182, 92, 0.5); }
.checkbox-group input { accent-color: var(--gold); }
.toast { background: rgba(32, 26, 40, 0.95); border-color: rgba(226, 182, 92, 0.35); }
.spinner { border-top-color: var(--gold); }
.gate, .result-wrap, .auth-status { box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(155, 107, 255, 0.28), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }

/* home: mockup sections */
.hero h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .d { background: var(--duo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticks svg { color: var(--gold); }
.hero-art { border-radius: 18px; border: 1px solid rgba(226, 182, 92, 0.3); box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(155, 107, 255, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(214, 51, 78, 0.45); }
.hero-art .stockcard div { border-color: rgba(226, 182, 92, 0.2); }
.step .k { background: var(--grad); color: #1A1206; }
.strip { background: var(--card); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.feat { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(155, 107, 255, 0.12); color: #C9B2FF; box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.3); }
.feat .ic svg { width: 20px; height: 20px; }
.feat h3 { font-size: 16px; }
.feat p { color: var(--text-dim); font-size: 14px; }
.prod { padding: 0; overflow: hidden; gap: 0; }
.prod .prod-art { margin: 0; border-radius: 0; aspect-ratio: auto; height: 150px; position: relative; border-bottom: 1px solid rgba(226, 182, 92, 0.3); }
.prod .prod-art .pill { position: absolute; top: 12px; right: 12px; background: rgba(8, 6, 10, 0.75); }
.prod .bd { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod .nm { font-weight: 700; font-size: 17px; }
.prod .d { color: var(--text-dim); font-size: 14px; flex: 1; }
.prod .ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; flex-wrap: wrap; }
.plabel { font-weight: 600; font-size: 14px; color: var(--gold-hi); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.gold { color: #F3D58C; background: rgba(226, 182, 92, 0.13); }
.pill.ok { color: var(--green); background: rgba(76, 214, 133, 0.12); }
.pill.dim { color: var(--text-dim); background: rgba(255, 255, 255, 0.06); }
details.qa { border-bottom: 1px solid var(--line-2); padding: 16px 0; }
details.qa summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa p { color: var(--text-dim); margin-top: 10px; max-width: 70ch; }

/* account area: profile, orders, creator download share a side menu like the mockup */
.acct-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1100px; }
.acct-layout > * { grid-column: 2; min-width: 0; }
.acct-layout > .side { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 88px; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.side .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); padding: 6px 10px; }
.side a { color: var(--text-dim); padding: 10px 12px; border-radius: 10px; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.side a svg { width: 16px; height: 16px; flex-shrink: 0; }
.side a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.side a[aria-current="page"] { color: var(--text); background: rgba(155, 107, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.3); }
.side a[aria-current="page"] svg { color: var(--gold); }
@media (max-width: 860px) {
  .acct-layout { grid-template-columns: minmax(0, 1fr); }
  .acct-layout > *, .acct-layout > .side { grid-column: 1; grid-row: auto; position: static; }
  .side { flex-direction: row; overflow-x: auto; }
  .side .lbl { display: none; }
}
.h2 { font-size: clamp(26px, 3.4vw, 38px); }
.acct-layout > .back-link { justify-self: start; }

/* ═══ OneStopShop pages (Scripts, Features, API, Updates): mockup styles scoped to .oss-ui ═══ */
:root { --muted: #ACA2BC; --ok: #4CD685; --warn: #F2B544; --panel-solid: #16111C; }
.oss-ui { color: var(--text); font-family: var(--body); }
.oss-ui p { margin: 0; }
.oss-ui h1, .oss-ui h2, .oss-ui h3 { margin: 0; }
.oss-ui button, .oss-ui input { font: inherit; color: inherit; }
.oss-ui button { cursor: pointer; }
.oss-ui .mono {font-family: var(--mono);}
.oss-ui .num {font-variant-numeric: tabular-nums;}
.oss-ui .wrap {max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));}
.oss-ui .nav {position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: rgba(8, 6, 10, 0.78); backdrop-filter: blur(12px);}
.oss-ui .nav::after {content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 182, 92, 0.35) 20%, rgba(244, 212, 136, 0.7) 50%, rgba(226, 182, 92, 0.35) 80%, transparent);}
.oss-ui .nav .wrap {display: flex; align-items: center; gap: 22px; height: 68px;}
.oss-ui .brand {display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex-shrink: 0;}
.oss-ui .logo {filter: drop-shadow(0 6px 14px rgba(155, 107, 255, 0.4));}
.oss-ui .wordmark {font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;}
.oss-ui .wordmark span {background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;}
.oss-ui .links {display: flex; gap: 2px;}
.oss-ui .links a {color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; position: relative;}
.oss-ui .links a:hover {color: var(--text);}
.oss-ui .links a[aria-current="page"] {color: var(--text);}
.oss-ui .links a[aria-current="page"]::after {content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--duo);}
.oss-ui .spacer {flex: 1;}
.oss-ui .nav-actions {display: flex; align-items: center; gap: 8px;}
.oss-ui .cart-btn {position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);}
.oss-ui .cart-btn .n {position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--duo); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;}
.oss-ui .me {display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-decoration: none; color: var(--text); font-weight: 600; font-size: 13px;}
.oss-ui .me i {width: 30px; height: 30px; border-radius: 50%; background: var(--duo); box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--gold); display: block;}
.oss-ui .menu-btn {display: none;}
@media (max-width: 1040px) {
.oss-ui .links {display: none;}
.oss-ui .links.open {display: flex; position: absolute; top: 68px; z-index: 9; left: 0; right: 0; flex-direction: column; background: rgba(8, 6, 10, 0.96); padding: 10px max(16px, env(safe-area-inset-left, 0px)) 16px; border-bottom: 1px solid var(--line);}
.oss-ui .menu-btn {display: grid;}
.oss-ui .me span {display: none;}
.oss-ui .me {padding: 4px;}
}
@media (max-width: 480px) {
.oss-ui .nav .wrap {gap: 10px;}
.oss-ui .wordmark {font-size: 14px;}
.oss-ui .nav-actions {gap: 6px;}
.oss-ui .nav-actions .btn.discord {padding: 0 10px;}
.oss-ui .cart-btn {width: 38px; height: 38px;}
}
.oss-ui .btn {display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s, filter .15s;}
.oss-ui .btn:hover {background: rgba(255, 255, 255, 0.08);}
.oss-ui .btn.gold {background: var(--grad); color: #1A1206; border-color: transparent; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(214, 51, 78, 0.45), 0 14px 30px -14px rgba(226, 182, 92, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);}
.oss-ui .btn.gold:hover {transform: translateY(-1px); filter: brightness(1.05);}
.oss-ui .btn.discord {background: linear-gradient(135deg, #5865F2, #7A5CFF); border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px rgba(108, 99, 255, 0.9);}
.oss-ui .btn.big {height: 52px; padding: 0 24px; font-size: 15px; border-radius: 14px;}
.oss-ui .btn.sm {height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px;}
.oss-ui .btn[disabled] {opacity: 0.45; cursor: not-allowed; transform: none;}
.oss-ui .eyebrow {display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);}
.oss-ui .eyebrow::before {content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--duo);}
.oss-ui .h2 {font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; background: linear-gradient(180deg, #FFFFFF 35%, #E8D7B0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;}
.oss-ui .lead {color: var(--muted); font-size: 17px; max-width: 62ch;}
.oss-ui .pill {display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;}
.oss-ui .pill.gold {color: #F3D58C; background: rgba(226, 182, 92, 0.13);}
.oss-ui .pill.ok {color: var(--ok); background: rgba(76, 214, 133, 0.12);}
.oss-ui .pill.warn {color: var(--warn); background: rgba(242, 181, 68, 0.13);}
.oss-ui .pill.dim {color: var(--muted); background: rgba(255, 255, 255, 0.06);}
.oss-ui .card {background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 214, 120, 0.1), 0 24px 50px -36px rgba(0, 0, 0, 0.9);}
.oss-ui section {padding-block: 72px;}
.oss-ui .sec-head {display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px;}
.oss-ui .hero {padding-block: 72px 48px;}
.oss-ui .hero-grid {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center;}
@media (max-width: 980px) {
.oss-ui .hero-grid {grid-template-columns: minmax(0, 1fr);}
}
.oss-ui .hero h1 {font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em;}
.oss-ui .hero h1 .g {background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;}
.oss-ui .hero h1 .d {background: var(--duo); -webkit-background-clip: text; background-clip: text; color: transparent;}
.oss-ui .hero-copy {display: flex; flex-direction: column; gap: 22px;}
.oss-ui .hero-cta {display: flex; gap: 12px; flex-wrap: wrap;}
.oss-ui .hero-note {display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px;}
.oss-ui .hero-note span {display: inline-flex; align-items: center; gap: 7px;}
.oss-ui .hero-note svg {color: var(--gold);}
.oss-ui .shot {position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(226, 182, 92, 0.3); box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(155, 107, 255, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(214, 51, 78, 0.45); background: #0E0B12;}
.oss-ui .shot-bar {display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #08060A; border-bottom: 1px solid rgba(226, 182, 92, 0.25);}
.oss-ui .shot-bar .wm {font-family: var(--display); font-weight: 700; font-size: 11px;}
.oss-ui .shot-bar .wm span {color: var(--gold);}
.oss-ui .shot-tabs {display: flex; gap: 4px; margin-left: 8px;}
.oss-ui .shot-tabs i {font-style: normal; font-size: 10.5px; color: var(--muted); padding: 4px 7px; border-radius: 6px;}
.oss-ui .shot-tabs i.on {color: #fff; background: rgba(155, 107, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.35);}
.oss-ui .shot-body {display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 0; min-height: 300px;}
.oss-ui .shot-main {padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start;}
.oss-ui .shot-card {border-radius: 10px; padding: 9px; background: linear-gradient(180deg, rgba(46, 38, 60, 0.55), rgba(20, 16, 26, 0.9)); border: 1px solid rgba(226, 182, 92, 0.12); display: flex; flex-direction: column; gap: 7px;}
.oss-ui .shot-card.sel {border-color: var(--gold); box-shadow: 0 0 0 1px rgba(155, 107, 255, 0.5);}
.oss-ui .shot-card .av {width: 22px; height: 22px; border-radius: 6px;}
.oss-ui .shot-card .ln {height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12);}
.oss-ui .shot-card .ln.s {width: 60%;}
.oss-ui .shot-card .hb {height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden;}
.oss-ui .shot-card .hb b {display: block; height: 100%; background: linear-gradient(90deg, #2FD3B5, #4CD685);}
.oss-ui .shot-dock {border-left: 1px solid rgba(226, 182, 92, 0.15); background: #09070C; padding: 12px; display: flex; flex-direction: column; gap: 8px;}
.oss-ui .shot-dock .t {font-size: 10px; color: var(--gold); font-weight: 700;}
.oss-ui .shot-dock .r {height: 18px; border-radius: 6px; background: rgba(255, 255, 255, 0.06);}
.oss-ui .shot-dock .go {margin-top: auto; height: 26px; border-radius: 7px; background: var(--grad);}
@media (max-width: 560px) {
.oss-ui .shot-body {grid-template-columns: minmax(0, 1fr);}
.oss-ui .shot-dock {display: none;}
.oss-ui .shot-tabs i:nth-child(n+4) {display: none;}
}
.oss-ui .steps {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;}
@media (max-width: 860px) {
.oss-ui .steps {grid-template-columns: minmax(0, 1fr);}
}
.oss-ui .step {padding: 24px; display: flex; flex-direction: column; gap: 12px;}
.oss-ui .step .k {width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #1A1206; background: var(--grad);}
.oss-ui .step h3 {font-size: 18px;}
.oss-ui .step p {color: var(--muted);}
.oss-ui .feats {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;}
@media (max-width: 980px) {
.oss-ui .feats {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 620px) {
.oss-ui .feats {grid-template-columns: minmax(0, 1fr);}
}
.oss-ui .feat {padding: 22px; display: flex; flex-direction: column; gap: 10px;}
.oss-ui .feat .ic {width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(155, 107, 255, 0.12); color: #C9B2FF; box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.3);}
.oss-ui .feat h3 {font-size: 16.5px;}
.oss-ui .feat p {color: var(--muted); font-size: 14px;}
.oss-ui .filters {display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px;}
.oss-ui .chip {height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-weight: 500; font-size: 14px;}
.oss-ui .chip:hover {color: var(--text);}
.oss-ui .chip[aria-pressed="true"] {background: rgba(226, 182, 92, 0.12); color: var(--gold-hi); border-color: rgba(226, 182, 92, 0.45);}
.oss-ui .search {display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--muted); margin-left: auto; min-width: 0; flex: 0 1 260px;}
.oss-ui .search input {border: 0; background: transparent; outline: none; flex: 1; min-width: 0; color: var(--text);}
.oss-ui .sgrid {display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;}
.oss-ui .script {overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; color: var(--text); transition: transform .15s, border-color .15s;}
.oss-ui .script:hover {transform: translateY(-3px); border-color: rgba(226, 182, 92, 0.35);}
.oss-ui .art {height: 128px; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(226, 182, 92, 0.3);}
.oss-ui .art::after {content: ""; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.14);}
.oss-ui .art::before {content: ""; position: absolute; left: 40%; bottom: -46px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);}
.oss-ui .art b {position: relative; font-family: var(--display); font-size: 34px; color: #fff; letter-spacing: -0.02em; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);}
.oss-ui .art .pill {position: relative; background: rgba(8, 6, 10, 0.6);}
.oss-ui .script .bd {padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1;}
.oss-ui .script .nm {font-weight: 700; font-size: 17px;}
.oss-ui .script .d {color: var(--muted); font-size: 14px; flex: 1;}
.oss-ui .script .ft {display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px;}
.oss-ui .price {font-family: var(--display); font-weight: 700; font-size: 16px;}
.oss-ui .price small {font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted);}
.oss-ui .ph {color: var(--gold-hi);}
.oss-ui .back {position: fixed; inset: 0; z-index: 20; background: rgba(4, 3, 6, 0.66); backdrop-filter: blur(4px); display: flex; justify-content: flex-end;}
.oss-ui .sheet {width: min(520px, 100%); height: 100%; overflow: auto; background: linear-gradient(180deg, #1B1522, #0E0B12); border-left: 1px solid rgba(226, 182, 92, 0.3); box-shadow: -3px 0 0 #000, -4px 0 0 rgba(155, 107, 255, 0.3); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);}
.oss-ui .sheet-art {height: 180px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 20px 24px; border-bottom: 1px solid rgba(226, 182, 92, 0.3);}
.oss-ui .sheet-art::after {content: ""; position: absolute; right: -40px; top: -50px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.14);}
.oss-ui .sheet-art b {position: relative; font-family: var(--display); font-size: 58px; color: #fff; line-height: 1;}
.oss-ui .sheet-x {position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(8, 6, 10, 0.6); color: #fff; display: grid; place-items: center;}
.oss-ui .sheet-bd {padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 18px;}
.oss-ui .sheet h2 {font-family: var(--display); font-size: 24px;}
.oss-ui .feats-list {display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none;}
.oss-ui .feats-list li {display: flex; gap: 10px; align-items: baseline; color: #DDD5E6;}
.oss-ui .feats-list li::before {content: ""; width: 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--gold); border-radius: 1px; flex-shrink: 0;}
.oss-ui .opt-label {font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;}
.oss-ui .seg {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;}
.oss-ui .seg button {height: 64px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 600;}
.oss-ui .seg button small {font-weight: 500; color: var(--muted); font-size: 12px;}
.oss-ui .seg button[aria-pressed="true"] {border-color: var(--gold); background: rgba(226, 182, 92, 0.1); box-shadow: 0 0 0 1px rgba(155, 107, 255, 0.4);}
.oss-ui .stepper {display: flex; align-items: center; gap: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; width: max-content;}
.oss-ui .stepper button {width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, 0.04); font-size: 18px;}
.oss-ui .stepper span {min-width: 56px; text-align: center; font-family: var(--mono);}
.oss-ui .sum {display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);}
.oss-ui .cart-line {display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);}
.oss-ui .mini {width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; flex-shrink: 0; font-size: 13px;}
.oss-ui .cart-line .info {flex: 1; min-width: 0;}
.oss-ui .cart-line .nm {font-weight: 600;}
.oss-ui .cart-line .d {color: var(--muted); font-size: 13px;}
.oss-ui .x {width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center;}
.oss-ui .x:hover {background: rgba(255, 255, 255, 0.06); color: var(--text);}
.oss-ui .note {padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;}
.oss-ui .note.info {background: rgba(155, 107, 255, 0.1); color: #D5C6FF; border: 1px solid rgba(155, 107, 255, 0.25);}
.oss-ui .note.ok {background: rgba(76, 214, 133, 0.1); color: #A6F0C4; border: 1px solid rgba(76, 214, 133, 0.25);}
.oss-ui .dl {display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px;}
@media (max-width: 900px) {
.oss-ui .dl {grid-template-columns: minmax(0, 1fr);}
}
.oss-ui .dl-main {padding: 28px; display: flex; flex-direction: column; gap: 18px;}
.oss-ui .kv {display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px;}
.oss-ui .kv:last-child {border-bottom: 0;}
.oss-ui .kv span {color: var(--muted);}
.oss-ui .kv b {font-weight: 500;}
.oss-ui .acct-grid {display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start;}
@media (max-width: 860px) {
.oss-ui .acct-grid {grid-template-columns: minmax(0, 1fr);}
.oss-ui .side {flex-direction: row !important; overflow-x: auto;}
}
.oss-ui .side {display: flex; flex-direction: column; gap: 4px; padding: 10px;}
.oss-ui .side button {text-align: left; border: 0; background: transparent; color: var(--muted); padding: 10px 12px; border-radius: 10px; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 10px;}
.oss-ui .side button:hover {color: var(--text); background: rgba(255, 255, 255, 0.04);}
.oss-ui .side button[aria-current="true"] {color: var(--text); background: rgba(155, 107, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(155, 107, 255, 0.3);}
.oss-ui .side button[aria-current="true"] svg {color: var(--gold);}
.oss-ui .profile {padding: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;}
.oss-ui .profile .av {width: 60px; height: 60px; border-radius: 50%; background: var(--duo); box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--gold);}
.oss-ui .profile .nm {font-family: var(--display); font-size: 20px; font-weight: 700;}
.oss-ui .strip {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card);}
.oss-ui .strip > div {padding: 18px 20px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px;}
.oss-ui .strip > div:last-child {border-right: 0;}
.oss-ui .strip b {font-family: var(--display); font-size: 26px;}
.oss-ui .strip span {color: var(--muted); font-size: 13px;}
@media (max-width: 560px) {
.oss-ui .strip {grid-template-columns: minmax(0, 1fr);}
.oss-ui .strip > div {border-right: 0; border-bottom: 1px solid var(--line-2);}
}
.oss-ui .table-wrap {overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--card);}
.oss-ui table {width: 100%; border-collapse: collapse; min-width: 560px;}
.oss-ui th {text-align: left; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding: 13px 18px; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid var(--line);}
.oss-ui td {padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle;}
.oss-ui tr:last-child td {border-bottom: 0;}
.oss-ui .changes {display: flex; flex-direction: column; gap: 14px; max-width: 880px;}
.oss-ui .change {padding: 20px 22px; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px;}
.oss-ui .change .v {font-family: var(--mono); color: var(--gold); font-size: 13px;}
.oss-ui .change .w {color: var(--muted); font-size: 12.5px;}
.oss-ui .change ul {margin: 8px 0 0; padding-left: 18px; color: #DDD5E6;}
@media (max-width: 620px) {
.oss-ui .change {grid-template-columns: minmax(0, 1fr); gap: 6px;}
}
.oss-ui details {border-bottom: 1px solid var(--line-2); padding: 16px 0;}
.oss-ui details summary {cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px;}
.oss-ui details summary::after {content: "+"; color: var(--gold); font-size: 20px; line-height: 1;}
.oss-ui details[open] summary::after {content: "–";}
.oss-ui details p {color: var(--muted); margin-top: 10px; max-width: 70ch;}
.oss-ui footer {border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 5, 8, 0.7);}
.oss-ui .foot {display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px;}
.oss-ui .foot nav {display: flex; gap: 18px; flex-wrap: wrap;}
.oss-ui .foot a {color: var(--muted); text-decoration: none;}
.oss-ui .foot a:hover {color: var(--text);}
.oss-ui .gate {min-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px)); display: grid; place-items: center; padding-block: 40px;}
.oss-ui .gate .card {width: min(460px, 100%); padding: 32px; display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(155, 107, 255, 0.28), 0 40px 80px -30px rgba(0, 0, 0, 0.9);}
.oss-ui .waiting {height: 52px; width: 100%; border-radius: 14px; background: rgba(155, 107, 255, 0.12); color: #D5C6FF; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600;}
.oss-ui .spin {width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: oss-spin .8s linear infinite;}
@keyframes oss-spin { to { transform: rotate(360deg); } }
.oss-ui .toast {position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: rgba(32, 26, 40, 0.95); backdrop-filter: blur(8px); border: 1px solid rgba(226, 182, 92, 0.35); padding: 12px 16px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; max-width: calc(100% - 40px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);}
.oss-ui .toast svg {color: var(--gold); flex-shrink: 0;}
.oss-ui .script .ft {flex-wrap: wrap;}
.oss-ui .plabel {font-weight: 600; font-size: 13.5px; color: var(--gold-hi);}
.oss-ui .fx-grid {display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start;}
.oss-ui .flist {display: flex; flex-direction: column; gap: 3px; padding: 10px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 104px); overflow: auto;}
.oss-ui .flist .lbl, .oss-ui .secs .lbl {font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); padding: 6px 8px;}
.oss-ui .fitem {display: flex; gap: 11px; align-items: center; border: 0; background: transparent; text-align: left; padding: 8px; border-radius: 12px; color: var(--text);}
.oss-ui .fitem:hover {background: rgba(255, 255, 255, 0.04);}
.oss-ui .fitem[aria-current="true"] {background: rgba(226, 182, 92, 0.1); box-shadow: inset 0 0 0 1px rgba(226, 182, 92, 0.4);}
.oss-ui .fitem[aria-current="true"] .nm {color: var(--gold-hi);}
.oss-ui .fitem .mini {width: 42px; height: 42px; font-size: 12px; border-radius: 10px;}
.oss-ui .fitem .nm {font-weight: 600; font-size: 14px;}
.oss-ui .fitem .p {color: var(--muted); font-size: 12px;}
.oss-ui .fhero {padding: 20px; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 26px; align-items: center; border-color: rgba(226, 182, 92, 0.3);}
.oss-ui .fart {aspect-ratio: 16 / 10; max-width: 100%; border-radius: 14px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; border: 1px solid rgba(226, 182, 92, 0.45); box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(155, 107, 255, 0.3);}
.oss-ui .fart::after {content: ""; position: absolute; right: -40px; top: -50px; width: 200px; height: 200px; border-radius: 50%; border: 24px solid rgba(255, 255, 255, 0.14);}
.oss-ui .fart b {position: relative; font-family: var(--display); font-size: 60px; color: #fff; line-height: 1; text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);}
.oss-ui .fart-tag {position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 8px; background: rgba(8, 6, 10, 0.65); font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 0.04em;}
.oss-ui .fname {font-family: var(--display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;}
.oss-ui .fprice {font-family: var(--display); font-size: 20px; font-weight: 700;}
.oss-ui .fh {font-family: var(--display); font-size: 18px;}
.oss-ui .tags {display: flex; gap: 6px; flex-wrap: wrap;}
.oss-ui .groups {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;}
.oss-ui .group {padding: 18px 20px; display: flex; flex-direction: column; gap: 12px;}
.oss-ui .group h4 {margin: 0; color: var(--gold-hi); font-size: 15.5px;}
.oss-ui .checks {list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px;}
.oss-ui .checks li {display: flex; gap: 9px; color: #DDD5E6; font-size: 14px;}
.oss-ui .checks svg {color: var(--gold); flex-shrink: 0; margin-top: 2px;}
@media (max-width: 900px) {
.oss-ui .fx-grid {grid-template-columns: minmax(0, 1fr);}
.oss-ui .flist {position: static; flex-direction: row; overflow-x: auto; max-height: none;}
.oss-ui .flist .lbl {display: none;}
.oss-ui .fitem {flex-shrink: 0;}
.oss-ui .fhero {grid-template-columns: minmax(0, 1fr);}
.oss-ui .groups {grid-template-columns: minmax(0, 1fr);}
}
.oss-ui .api-grid {display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start;}
.oss-ui .secs {display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px));}
.oss-ui .sec {display: flex; align-items: center; gap: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.025); border-radius: 10px; padding: 8px 10px; color: var(--muted); font-size: 14px; text-align: left; white-space: nowrap;}
.oss-ui .sec:hover {color: var(--text); background: rgba(255, 255, 255, 0.05);}
.oss-ui .sec i {width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0;}
.oss-ui .sec .c {margin-left: auto; padding-left: 10px; font-size: 12px; font-family: var(--mono); color: var(--muted);}
.oss-ui .sec[aria-current="true"] {background: rgba(226, 182, 92, 0.12); color: var(--text); border-color: rgba(226, 182, 92, 0.4); font-weight: 600;}
.oss-ui .apisearch {display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 6, 10, 0.6); color: var(--muted);}
.oss-ui .apisearch:focus-within {border-color: rgba(226, 182, 92, 0.5);}
.oss-ui .apisearch input {border: 0; background: transparent; outline: none; flex: 1; min-width: 0; color: var(--text);}
.oss-ui .apihead {border-left: 3px solid var(--gold); padding: 2px 0 2px 12px;}
.oss-ui .entries {display: flex; flex-direction: column; gap: 10px;}
.oss-ui .entry {padding: 14px 52px 14px 16px; display: flex; flex-direction: column; gap: 6px; position: relative;}
.oss-ui .ehead {display: flex; align-items: center; gap: 10px; flex-wrap: wrap;}
.oss-ui .entry code {font-family: var(--mono); font-size: 14.5px; color: #fff; font-weight: 500; overflow-wrap: anywhere;}
.oss-ui .kind {font-size: 11px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted);}
.oss-ui .entry .d {color: var(--muted); font-size: 14px;}
.oss-ui .stags {display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted);}
.oss-ui .stags span {display: inline-flex; align-items: center; gap: 6px;}
.oss-ui .stags i {width: 8px; height: 8px; border-radius: 2px;}
.oss-ui .copy {position: absolute; top: 10px; right: 10px;}
@media (max-width: 860px) {
.oss-ui .api-grid {grid-template-columns: minmax(0, 1fr);}
.oss-ui .secs {position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px;}
.oss-ui .secs .lbl {display: none;}
.oss-ui .sec {flex-shrink: 0;}
}
.oss-ui .os {display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 6, 10, 0.6); gap: 4px; margin-top: 6px;}
.oss-ui .os button {height: 40px; padding: 0 20px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-weight: 600;}
.oss-ui .os button[aria-pressed="true"] {background: var(--grad); color: #1A1206;}
.oss-ui .runs {margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 14px; color: #DDD5E6;}
.oss-ui .runs li > span {display: block; margin-bottom: 8px;}
.oss-ui .cmd {display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; background: #07060A; border: 1px solid var(--line-2); min-width: 0;}
.oss-ui .cmd code {flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: #F0DFB4; overflow-x: auto; white-space: nowrap; padding-block: 4px;}
.oss-ui .art {height: auto; aspect-ratio: 3 / 2; padding: 0; display: block;}
.oss-ui .art::before, .oss-ui .art::after, .oss-ui .sheet-art::after, .oss-ui .fart::after {display: none;}
.oss-ui .art img, .oss-ui .sheet-art img, .oss-ui .fart img {width: 100%; height: 100%; object-fit: cover; display: block;}
.oss-ui .art .pill {position: absolute; top: 10px; right: 10px; background: rgba(8, 6, 10, 0.78); backdrop-filter: blur(4px);}
.oss-ui .sheet-art {height: auto; aspect-ratio: 3 / 2; padding: 0; display: block; flex-shrink: 0;}
.oss-ui .fart {padding: 0; display: block; aspect-ratio: 3 / 2;}
.oss-ui .thumb {border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(226, 182, 92, 0.3); display: block;}
.oss-ui .cart-line .thumb {border-radius: 10px;}
.oss-ui .flist .lbl:not(:first-child) {margin-top: 10px;}
.oss-ui .hl {display: flex; flex-wrap: wrap; gap: 8px;}
.oss-ui .hl span {display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(226, 182, 92, 0.1); border: 1px solid rgba(226, 182, 92, 0.3); color: var(--gold-hi); font-size: 13.5px; font-weight: 600;}
.oss-ui .uday {display: flex; flex-direction: column; gap: 10px;}
.oss-ui .udate {font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding: 8px 0 2px;}
.oss-ui .change {grid-template-columns: 110px minmax(0, 1fr);}
.oss-ui .utag {display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; margin-bottom: 6px;}
.oss-ui .t-new {background: rgba(226, 182, 92, 0.15); color: var(--gold-hi);}
.oss-ui .t-fix {background: rgba(76, 214, 133, 0.12); color: var(--ok);}
.oss-ui .t-update {background: rgba(155, 107, 255, 0.15); color: #C9B2FF;}
.oss-ui .t-beta {background: rgba(214, 51, 78, 0.16); color: #FF8FA3;}
.oss-ui .changes {max-width: 920px; gap: 16px;}
@media (max-width: 900px) {
.oss-ui .flist .lbl {display: none;}
.oss-ui .fitem .p {display: none;}
}
@media (prefers-reduced-motion: reduce) {
.oss-ui *, .oss-ui *::before, .oss-ui *::after {animation: none !important; transition: none !important;}
}

/* overrides */
.oss-ui .card:hover { transform: none; }
.oss-ui .script:hover { transform: translateY(-3px); }
.oss-ui .art img, .oss-ui .sheet-art img, .oss-ui .fart img { position: absolute; inset: 0; }
.oss-ui .btn.btn-primary { background: var(--grad); color: #1A1206; border-color: transparent; }
.oss-ui .btn svg { width: 18px; height: 18px; }
.oss-toast { opacity: 1; transform: none; pointer-events: auto; display: flex; align-items: center; gap: 10px; }
.oss-toast svg { color: var(--gold); flex-shrink: 0; }
[hidden] { display: none !important; }
.oss-ui .sec-head { align-items: flex-start; justify-content: flex-start; text-align: left; }
.oss-ui .checks li::before, .oss-ui .hl span::before { content: none; display: none; }
.oss-ui .card ul { margin: 0; }
.oss-ui .back { z-index: 60; }

/* v2.3: OneStopShop brand, author markers and tabs */
.brand img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 6px 14px rgba(155, 107, 255, 0.4)); }
.gate .brand img { border-radius: 0; }
.by { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #1A1206; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 0 0 1px #000, 0 6px 16px -6px rgba(226, 182, 92, 0.7); }
.by::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: #1A1206; transform: rotate(45deg); }
.oss-ui .art .by { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.atabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 6, 10, 0.6); margin-bottom: 16px; max-width: 100%; overflow-x: auto; }
.atabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--text-dim); font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.atabs button span { font-family: var(--mono); font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--text-dim); }
.atabs button:hover { color: var(--text); }
.atabs button[aria-selected="true"] { background: var(--grad); color: #1A1206; }
.atabs button[aria-selected="true"] span { background: rgba(26, 18, 6, 0.15); color: #1A1206; }
.oss-ui .flist .atabs { display: flex; margin: 0 0 6px; }
.oss-ui .flist .atabs button { flex: 1; justify-content: center; padding: 0 10px; }
