:root{
  --bg:#141518;--bg-2:#191a1e;--panel:#1e1f24;--panel-2:#26272d;--panel-3:#2e2f36;
  --line:#2f3037;--line-2:#3b3c45;--muted:#9a9ca6;--text:#ececee;
  --amber:#FFC107;--amber-soft:#ffe08a;--amber-ink:#1d1700;
  --light:#ececee;--light-ink:#16171a;
  --danger:#ff6b6b;--green:#34d399;
  --radius:16px;--radius-sm:10px;
  --font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;font-feature-settings:'cv11','ss01'}
body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(60% 40% at 90% -5%,rgba(255,193,7,.16),transparent 70%),radial-gradient(45% 35% at -5% 105%,rgba(255,193,7,.06),transparent 70%),radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.2px) 0 0/28px 28px;-webkit-mask-image:linear-gradient(#000 0,#000 50%,rgba(0,0,0,.25) 100%);mask-image:linear-gradient(#000 0,#000 50%,rgba(0,0,0,.25) 100%)}
.hero,.content,.foot{position:relative;z-index:1}
h1,h2,h3,p{margin:0}
a{color:inherit}
img{max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em;background:rgba(255,255,255,.08);padding:1px 6px;border-radius:6px}
:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
[hidden]{display:none!important}
.muted{color:var(--muted)}.small{font-size:.85rem}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}

/* Top bar */
.topbar{position:sticky;top:0;z-index:20;background:rgba(20,21,24,.72);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:68px;gap:16px}
.brand{font-weight:800;font-size:1.35rem;letter-spacing:-.045em;text-decoration:none;color:var(--text)}
.brand .dot{color:var(--amber)}
.nav{display:flex;gap:6px;justify-content:center;padding:4px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}
.nav-link{font-size:.87rem;font-weight:500;color:var(--muted);text-decoration:none;padding:7px 16px;border-radius:999px;transition:color .15s,background .15s}
.nav-link:hover{color:#fff}
.nav-link[aria-current=page]{color:#fff;background:var(--panel-3)}
.top-right{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.pill-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border-radius:999px;background:var(--light);color:var(--light-ink);font-weight:600;font-size:.88rem;text-decoration:none;border:0;cursor:pointer;line-height:1.2;transition:background .15s}
.pill-btn:hover{background:#fff}
.pill-btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip-user{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:.9rem}
.avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--amber),#ff9f1a);color:var(--amber-ink);display:inline-flex;align-items:center;justify-content:center;font-weight:800;flex:none;text-transform:uppercase;position:relative;overflow:hidden}
.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 20px;border-radius:var(--radius-sm);border:1px solid transparent;font-weight:600;font-size:.92rem;text-decoration:none;cursor:pointer;background:none;line-height:1.2;color:var(--text);transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}
.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.btn:disabled{opacity:.6;cursor:wait}
.btn-lg{padding:14px 26px;font-size:1rem;border-radius:12px}
.btn-small{padding:7px 12px;font-size:.85rem;border-radius:8px}
.btn-outline{border-color:var(--line-2)}
.btn-outline:hover{border-color:var(--muted);background:rgba(255,255,255,.04)}
.btn-grad{background:var(--amber);color:var(--amber-ink);box-shadow:0 8px 22px -10px rgba(255,193,7,.7)}
.btn-grad:hover:not(:disabled){background:#ffcd38;transform:translateY(-1px)}
.btn-blue{border-color:rgba(255,193,7,.5);color:var(--amber)}
.btn-blue:hover{background:rgba(255,193,7,.1)}
.btn-green{background:var(--light);color:var(--light-ink)}
.btn-green:hover{background:#fff}
.btn-ghost{border-color:var(--line);background:var(--panel-2)}
.btn-ghost:hover{border-color:var(--muted)}
.btn-danger{color:var(--danger);border-color:var(--line);background:var(--panel-2)}
.btn-danger:hover{border-color:var(--danger)}
.btn-discord{background:#5865f2;color:#fff;width:100%;padding:14px 18px;font-size:1rem}
.btn-discord:hover{background:#4752c4}
.btn-discord svg{width:22px;height:22px;fill:currentColor;stroke:none}
.btn-auto{width:auto}
.btn-disabled{background:var(--panel-2);color:var(--muted);cursor:default;border-color:var(--line)}
.btn-wide{width:100%}
.split{display:flex;width:100%;border:1px solid rgba(255,193,7,.5);border-radius:var(--radius-sm);overflow:hidden}
.split .btn{flex:1;border-radius:0;border:0;padding:11px 8px;box-shadow:none}

/* Hero */
.hero{padding:84px 0 56px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:center}
.badge{display:inline-flex;align-items:center;gap:9px;padding:6px 14px;border:1px solid rgba(255,193,7,.3);border-radius:999px;font-size:.78rem;font-weight:600;color:var(--amber);background:rgba(255,193,7,.07)}
.badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--amber);animation:pulse 2.4s infinite}
.hero h1{margin-top:22px;font-size:clamp(2.4rem,5.2vw,4rem);line-height:1.05;letter-spacing:-.04em;font-weight:700;max-width:14ch}
.hero p{margin-top:22px;max-width:480px;font-size:1.06rem;line-height:1.7;color:var(--muted)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.hero-trust{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:34px;padding-top:24px;border-top:1px solid var(--line);font-size:.86rem;color:var(--muted)}
.hero-trust span{display:inline-flex;align-items:center;gap:9px}
.hero-trust svg{width:17px;height:17px;stroke:var(--amber);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.showcase{position:relative;display:grid;gap:12px;padding:22px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(160deg,rgba(255,193,7,.06),transparent 40%),rgba(30,31,36,.8);backdrop-filter:blur(8px);box-shadow:0 40px 80px -40px rgba(0,0,0,.9)}
.sc-head{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted);font-weight:600}
.live-dot{color:var(--green);font-weight:600;display:inline-flex;align-items:center;gap:7px}
.live-dot::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;animation:pulse-g 2s infinite}
.sc-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;background:var(--panel-2);border:1px solid var(--line);cursor:pointer;text-align:left;width:100%;transition:border-color .15s,transform .15s}
.sc-row:hover{border-color:var(--amber);transform:translateX(4px)}
.sc-text{display:flex;flex-direction:column;min-width:0}
.sc-row .thumb,.sc-empty .thumb{width:46px;height:46px;border-radius:12px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
.sc-row .thumb img{width:100%;height:100%;object-fit:cover}
.sc-row .thumb img.fallback{width:20px;height:auto}
.sc-row .nm{font-weight:600}
.sc-row .ds{font-size:.8rem;color:var(--muted)}
.sc-row .pr{margin-left:auto;font-weight:700;color:var(--amber);white-space:nowrap}
.sc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:34px 16px;border:1px dashed var(--line-2);border-radius:14px}
.sc-empty .thumb{width:54px;height:54px;border-radius:50%;margin-bottom:6px}
.sc-empty svg{width:24px;height:24px;stroke:var(--amber);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sc-empty p{margin:0;max-width:none;font-size:1rem;color:var(--text);font-weight:600}
.sc-foot{display:flex;justify-content:space-between;gap:12px;padding-top:12px;margin-top:2px;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.sc-foot strong{color:var(--text)}

/* Sections */
.content{padding-top:44px;padding-bottom:96px;flex:1;width:100%}
.section+.section{margin-top:64px}
.section-title{font-size:1.5rem;font-weight:700;letter-spacing:-.03em;margin-bottom:18px;display:flex;align-items:center;gap:12px}
.section-title::before{content:'';width:4px;height:1.1em;border-radius:4px;background:var(--amber)}
.section-sub{color:var(--muted);margin:-10px 0 24px}
.lib-gap{margin-top:44px}

/* Bundles */
.bundles{display:grid;gap:16px}
.bundle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:22px 26px;background:linear-gradient(135deg,rgba(255,193,7,.07),transparent 45%),var(--panel);border:1px solid var(--line);border-radius:20px;transition:border-color .2s}
.bundle:hover{border-color:rgba(255,193,7,.35)}
.stack{display:flex}
.stack .thumb{width:66px;height:66px;border-radius:50%;border:3px solid var(--panel);margin-left:-20px;background:var(--panel-2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.stack .thumb:first-child{margin-left:0}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb img.fallback,.card-img img.fallback{width:26px;height:auto;object-fit:contain;opacity:.9}
.bundle-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.bundle-title h3{font-size:1.2rem;font-weight:700;letter-spacing:-.02em}
.save{background:rgba(255,193,7,.14);color:var(--amber);font-weight:700;font-size:.78rem;padding:3px 10px;border-radius:999px;border:1px solid rgba(255,193,7,.4)}
.bundle-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.bundle-chips span{padding:3px 11px;border-radius:999px;background:var(--panel-2);border:1px solid var(--line);font-size:.8rem;font-weight:500;color:#d5d6da}
.bundle-side{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.bundle-price{text-align:right;line-height:1.1}
.bundle-price strong{display:block;font-size:1.7rem;font-weight:700;color:var(--amber);letter-spacing:-.02em}
.bundle-price s{color:var(--muted);font-size:.85rem}
.bundle-actions{display:flex;gap:10px}

/* Product cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s,transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);border-color:rgba(255,193,7,.35);box-shadow:0 24px 44px -24px rgba(0,0,0,.9)}
.card-img{height:164px;background:var(--panel-2);display:flex;align-items:center;justify-content:center;overflow:hidden;border:0;padding:0;cursor:pointer;width:100%;position:relative}
.card-img::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(30,31,36,.9));pointer-events:none}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card:hover .card-img img{transform:scale(1.05)}
.card-img img.fallback{width:auto;height:56px;transform:none!important}
.card-flag{position:absolute;top:12px;left:12px;z-index:1;font-size:.74rem;font-weight:700;padding:3px 11px;border-radius:999px;background:var(--amber);color:var(--amber-ink)}
.card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.card-cat{font-size:.78rem;font-weight:600;color:var(--muted)}
.card-name{font-size:1.12rem;font-weight:700;letter-spacing:-.02em;background:none;border:0;cursor:pointer;padding:0;text-align:left}
.card-name:hover{color:var(--amber)}
.card-desc{color:var(--muted);font-size:.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.card-actions{display:flex;gap:8px;margin-top:auto;padding-top:12px}
.card-actions>.btn{flex:1;padding:11px 8px}

/* Status */
.status{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;font-weight:600;white-space:nowrap}
.status::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.s-live{color:var(--green)}.s-beta{color:var(--amber)}.s-soon{color:#b9a4ff}.s-retired{color:#8a91a3}.s-hidden{color:#6b7280}

/* Finder */
.finder{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;align-items:center}
.search{flex:1;min-width:220px;max-width:420px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:transparent;border-radius:999px;padding:6px 14px;font-weight:500;font-size:.88rem;cursor:pointer;color:var(--muted);transition:all .15s}
.chip:hover{border-color:var(--muted);color:#fff}
.chip[aria-pressed=true]{background:rgba(255,193,7,.12);border-color:var(--amber);color:var(--amber)}

/* Empty states */
.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:64px 24px;border:1px dashed var(--line-2);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent)}
.empty-icon{width:60px;height:60px;border-radius:50%;background:rgba(255,193,7,.1);border:1px solid rgba(255,193,7,.3);display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.empty-icon svg{width:26px;height:26px;stroke:var(--amber);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.empty-state h3{font-size:1.2rem;font-weight:700;letter-spacing:-.02em}
.empty-state p{color:var(--muted);max-width:42ch;margin-bottom:10px}
.empty-state strong{color:#fff}

/* Features */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}
.feature svg{width:26px;height:26px;stroke:var(--amber);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:16px}
.feature h3{font-size:1.05rem;font-weight:700;letter-spacing:-.02em;margin-bottom:6px}
.feature p{color:var(--muted);font-size:.92rem}

/* Forms */
.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 14px;background:var(--panel);color:#fff;transition:border-color .15s,box-shadow .15s}
.input::placeholder,.textarea::placeholder{color:#6c6e76}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 3px rgba(255,193,7,.15)}
.select option{background:var(--panel)}
.textarea{min-height:110px;resize:vertical}
input[type=file].input{padding:8px 10px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.field{display:block}
.field.full{grid-column:1/-1}
.field>span{display:block;font-weight:600;font-size:.85rem;margin-bottom:6px;color:#d5d6da}
.check{display:flex;align-items:center;gap:10px;font-weight:600}
.check input{width:18px;height:18px;accent-color:var(--amber)}
.picker{display:grid;gap:6px;max-height:190px;overflow-y:auto;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel)}
.picker label{display:flex;align-items:center;gap:10px;font-weight:500}
.picker input{width:16px;height:16px;accent-color:var(--amber)}
.form-error{color:var(--danger);font-weight:600;min-height:1.4em;margin-top:14px}
.alert{margin-bottom:20px;padding:12px 16px;border-radius:var(--radius-sm);background:#3a1220;color:#ff9db3;font-weight:500}

/* Dialog */
dialog{border:1px solid var(--line);border-radius:22px;padding:0;width:calc(100% - 32px);max-width:620px;max-height:calc(100% - 32px);background:var(--panel);color:#fff;box-shadow:0 30px 90px rgba(0,0,0,.65)}
dialog::backdrop{background:rgba(8,8,10,.78);backdrop-filter:blur(3px)}
dialog[open]{animation:pop .16s ease-out}
.dlg{padding:30px}
.dlg h2{font-size:1.6rem;letter-spacing:-.03em;line-height:1.15;font-weight:700}
.dlg-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:10px 0 16px;color:var(--muted)}
.dlg-img{width:100%;max-height:220px;object-fit:cover;border-radius:14px;margin-bottom:18px}
.dlg-text{white-space:pre-wrap;color:#d5d6da}
.dlg-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:26px}

/* Login */
.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;position:relative;z-index:1}
.login-art{position:relative;overflow:hidden;background:radial-gradient(70% 55% at 0% 0%,rgba(255,193,7,.16),transparent 70%),var(--bg);border-right:1px solid var(--line);padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;gap:48px}
.login-art .brand{padding:0}
.login-art h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;letter-spacing:-.04em;font-weight:700;max-width:11ch}
.login-art p{max-width:36ch;color:var(--muted);margin-top:16px}
.login-points{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px;color:#d5d6da}
.login-points li{display:flex;gap:12px;align-items:center}
.login-points li::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--amber);flex:none}
.login-panel{display:flex;align-items:center;justify-content:center;padding:48px 28px;background:var(--bg)}
.login-box{width:100%;max-width:400px;padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--panel);box-shadow:0 30px 70px -30px rgba(0,0,0,.8)}
.login-box h2{font-size:1.8rem;letter-spacing:-.03em;font-weight:700}
.login-box>p{margin:10px 0 26px;color:var(--muted)}
.login-box .btn+.btn{margin-top:10px;width:100%}
.back{display:inline-block;margin-top:22px;color:var(--muted)}

/* Library */
.lib{display:grid;gap:12px}
.lib-row{display:flex;align-items:center;gap:16px;padding:14px 18px;background:var(--panel);border:1px solid var(--line);border-radius:16px;transition:border-color .15s}
.lib-row:hover{border-color:var(--line-2)}
.lib-row .cell-thumb{width:52px;height:52px;border-radius:12px}
.lib-main{flex:1;min-width:0;display:flex;flex-direction:column}
.lib-main .nm{font-weight:600}

/* Staff panel */
.admin-head{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;padding-top:24px;margin-bottom:22px}
.admin-head h1{font-size:2rem;font-weight:700;letter-spacing:-.035em}
.admin-head .btn svg{width:17px;height:17px;stroke-width:2.2}
.banner{margin-bottom:20px;padding:13px 18px;border-radius:var(--radius-sm);border:1px solid rgba(255,193,7,.35);background:rgba(255,193,7,.07);color:#f1dc9a;font-size:.9rem}
.banner strong{color:var(--amber)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}
.stat{display:flex;gap:14px;align-items:center;padding:18px 20px;background:var(--panel);border:1px solid var(--line);border-radius:18px}
.stat-icon{width:44px;height:44px;border-radius:12px;background:rgba(255,193,7,.1);border:1px solid rgba(255,193,7,.25);display:flex;align-items:center;justify-content:center;flex:none}
.stat-icon svg{width:21px;height:21px;stroke:var(--amber);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stat>div{display:flex;flex-direction:column;min-width:0}
.stat-label{font-size:.78rem;font-weight:600;color:var(--muted)}
.stat-value{font-size:1.55rem;font-weight:700;letter-spacing:-.03em;line-height:1.2}
.stat-sub{font-size:.78rem;color:var(--muted)}
.tabs{display:inline-flex;gap:4px;margin:0 0 20px;padding:4px;border-radius:12px;background:var(--panel);border:1px solid var(--line);max-width:100%;overflow-x:auto}
.tab{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:8px 16px;border-radius:9px;font-weight:600;font-size:.88rem;color:var(--muted);cursor:pointer;white-space:nowrap;transition:color .15s,background .15s}
.tab:hover{color:#fff}
.tab[aria-selected=true]{color:var(--amber-ink);background:var(--amber)}
.tab .count{font-size:.74rem;font-weight:700;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.09);color:var(--muted)}
.tab[aria-selected=true] .count{background:rgba(0,0,0,.16);color:var(--amber-ink)}
.toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.toolbar .input{flex:1;min-width:200px;width:auto}
.toolbar .select{width:auto}
.table-wrap{overflow-x:auto;background:var(--panel);border:1px solid var(--line);border-radius:18px}
table{width:100%;border-collapse:collapse;min-width:720px}
th{text-align:left;font-size:.76rem;font-weight:600;color:var(--muted);padding:13px 18px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.02);white-space:nowrap}
td{padding:13px 18px;border-bottom:1px solid var(--line);vertical-align:middle}
tbody tr{transition:background .12s}
tbody tr:hover{background:rgba(255,255,255,.025)}
tr:last-child td{border-bottom:0}
.cell{display:flex;align-items:center;gap:12px}
.cell-thumb{width:42px;height:42px;border-radius:12px;background:var(--panel-2);overflow:hidden;display:flex;align-items:center;justify-content:center;flex:none}
.cell-thumb img{width:100%;height:100%;object-fit:cover}
.cell-thumb img.fallback{width:16px;height:auto;object-fit:contain;opacity:.9}
.cell-name{font-weight:600}
.tag{margin-left:8px;font-size:.72rem;font-weight:700;color:var(--amber);background:rgba(255,193,7,.12);padding:2px 8px;border-radius:999px}
.actions{display:flex;gap:8px;justify-content:flex-end}
td.empty-cell{text-align:center;color:var(--muted);padding:48px 16px}
td.empty-cell strong{color:#fff}
#gerr{margin:0 0 14px;margin-top:0}

/* Toast, footer, scrollbar */
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--light);color:var(--light-ink);padding:12px 20px;border-radius:12px;font-weight:600;z-index:50;max-width:calc(100% - 32px);box-shadow:0 18px 40px -12px rgba(0,0,0,.6);animation:pop .2s ease-out}
.toast.error{background:var(--danger);color:#fff}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:28px;padding-bottom:40px}
.foot::before{content:'';position:absolute;top:0;left:24px;right:24px;height:1px;background:var(--line)}
.foot-right{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.foot-link{font-size:.85rem;color:var(--muted);text-decoration:none}
.foot-link:hover{color:var(--amber)}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#3b3c43;border-radius:10px}
::-webkit-scrollbar-track{background:transparent}

@keyframes pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,193,7,.6)}70%{box-shadow:0 0 0 8px rgba(255,193,7,0)}100%{box-shadow:0 0 0 0 rgba(255,193,7,0)}}
@keyframes pulse-g{0%{box-shadow:0 0 0 0 rgba(52,211,153,.55)}70%{box-shadow:0 0 0 7px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.hero-copy,.showcase,.login-box{animation:rise .5s ease-out both}
.showcase{animation-delay:.08s}

/* Responsive */
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,1fr)}.features{grid-template-columns:1fr}}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .login{grid-template-columns:1fr}
  .login-art{padding:32px 24px;gap:32px;border-right:0;border-bottom:1px solid var(--line)}
  .login-panel{padding:40px 24px 56px}
  .bundle{grid-template-columns:1fr;gap:18px}
  .bundle-side{align-items:stretch}
  .bundle-price{text-align:left}
}
@media(max-width:720px){
  .topbar-in{grid-template-columns:1fr auto;height:auto;padding-top:14px;padding-bottom:10px}
  .nav{grid-column:1/-1;order:3;justify-content:flex-start;overflow-x:auto}
  .hero{padding:48px 0 40px}
}
@media(max-width:600px){
  .form-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr;gap:12px}
  .card-desc{display:none}
  .chip-user .who{display:none}
  .wrap{padding-left:16px;padding-right:16px}
  .login-box{padding:24px}
  .stats-grid{grid-template-columns:1fr}
  .dlg{padding:22px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

.head-actions{display:flex;gap:10px;flex-wrap:wrap}
.section-note{color:var(--muted);margin-bottom:16px;font-size:.92rem}
.section-note strong{color:var(--text)}
.hint{display:block;margin-top:6px;font-size:.78rem;font-weight:400;color:var(--muted);line-height:1.45}
.picker label .muted{margin-left:auto;font-size:.8rem}

#root{min-height:100vh;display:flex;flex-direction:column}
.login{flex:1}
.hero{flex:none}

/* Cookie notice */
.cookie-modal{max-width:440px;overflow:hidden;border-radius:26px}
.cookie-modal::backdrop{background:rgba(8,8,10,.8);backdrop-filter:blur(5px)}
.cookie-in{padding:34px 30px 28px;text-align:center;background:radial-gradient(90% 60% at 50% 0%,rgba(255,193,7,.13),transparent 70%)}
.cookie-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:rgba(255,193,7,.12);border:1px solid rgba(255,193,7,.35);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px rgba(255,193,7,.05)}
.cookie-icon svg{width:30px;height:30px;stroke:var(--amber);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cookie-icon circle{fill:var(--amber);stroke:none}
.cookie-in h2{font-size:1.4rem;font-weight:700;letter-spacing:-.03em;line-height:1.2}
.cookie-lead{margin:10px auto 0;max-width:36ch;color:var(--muted);font-size:.92rem;line-height:1.6}
.cookie-pills{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.cookie-pills li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 9px;border-radius:999px;background:rgba(52,211,153,.1);border:1px solid rgba(52,211,153,.28);color:#7ee7bd;font-size:.8rem;font-weight:600}
.cookie-pills svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cookie-more{margin-top:18px;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--panel-2);overflow:hidden}
.cookie-more summary{cursor:pointer;list-style:none;padding:12px 16px;font-size:.88rem;font-weight:600;display:flex;justify-content:space-between;align-items:center}
.cookie-more summary::-webkit-details-marker{display:none}
.cookie-more summary::after{content:'';width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.cookie-more[open] summary::after{transform:rotate(-135deg)}
.cookie-list{display:grid;gap:0;max-height:210px;overflow-y:auto;border-top:1px solid var(--line)}
.cookie-list>div{display:grid;gap:2px;padding:11px 16px;border-bottom:1px solid var(--line)}
.cookie-list>div:last-child{border-bottom:0}
.cookie-list strong{font-size:.84rem}
.cookie-list span{color:var(--muted);font-size:.82rem;line-height:1.45}
.cookie-buttons{display:flex;gap:10px;margin-top:22px}
.cookie-buttons .btn{padding:13px 20px}
.cookie-buttons .btn-wide{flex:1;width:auto}
@media(max-width:600px){.foot::before{left:16px;right:16px}.cookie-in{padding:28px 20px 22px}}