/* ArcherGram design system — ported from the Xenvora App design (monochrome, springs, flat tiles). */
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-cyrillic-ext.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-cyrillic.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin-ext.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#000;--card:#141416;--card-hi:#1b1b1e;--card-flat:#151517;--card-2:#1f1f23;--card-3:#2a2a2f;
  --stroke:rgba(255,255,255,.07);--stroke-2:rgba(255,255,255,.12);
  --text:#fff;--text-2:rgba(255,255,255,.62);--text-3:rgba(255,255,255,.4);
  --accent:#f2f2f4;--accent-ink:#000;--link:#fff;--logo-bg:#151718;
  --lime:#c6f432;--green:#34c759;--orange:#ff9f0a;--red:#ff453a;--bad:#ff453a;--good:#34c759;--gold:#ffc83d;
  --r-xl:28px;--r-lg:22px;--r-md:18px;--r-sm:14px;--tabbar-h:58px;
  --tile-bg:#151517;
  --bubble-in:#1c1c1f;--bubble-out:#f2f2f4;--bubble-out-ink:#000;
  --ease:cubic-bezier(.22,1,.36,1);--spring-pill:cubic-bezier(.3,1.35,.5,1);--spring-pop:cubic-bezier(.34,1.56,.64,1);--spring-knob:cubic-bezier(.3,1.4,.5,1);
  --fs:15px;--br:18px;
  --muted:var(--text-2);--hint:var(--text-3);--line:var(--stroke);--card2:var(--card-2);--bg2:#0a0a0b;
  color-scheme:dark;
}
body.aurora{--bg:#07070d;--card:#12111b;--card-flat:#13121c;--card-2:#1c1a2a;--card-3:#29263d;--stroke:rgba(170,160,255,.1);--stroke-2:rgba(170,160,255,.18);
  --text-2:rgba(232,230,255,.66);--text-3:rgba(222,220,255,.42);--accent:#8b7bff;--accent-ink:#fff;--link:#b9b0ff;--logo-bg:#0d0c17;--tile-bg:#13121c;--bubble-out:#6d5cff;--bubble-out-ink:#fff;--bg2:#0b0a14}
body.light{--bg:#f2f2f7;--card:#fff;--card-flat:#fff;--card-2:#f0f0f4;--card-3:#e4e4ea;--stroke:rgba(0,0,0,.07);--stroke-2:rgba(0,0,0,.12);--text:#000;--text-2:rgba(0,0,0,.6);--text-3:rgba(0,0,0,.4);
  --accent:#111;--accent-ink:#fff;--link:#111;--tile-bg:#fff;--bubble-in:#fff;--bubble-out:#111;--bubble-out-ink:#fff;--logo-bg:#e9e9ee;--bg2:#e9e9ee;color-scheme:light}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);font:500 var(--fs)/1.4 "Inter Variable",Inter,-apple-system,"Segoe UI",Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior:none}
button,input,textarea,select{font:inherit;color:inherit;background:none;border:0}
button{cursor:pointer}
a{color:var(--link);text-decoration:none}
.hidden{display:none!important}
::-webkit-scrollbar{display:none}

#boot{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#000;transition:opacity .45s ease,visibility .45s}
#boot.out{opacity:0;visibility:hidden}
#boot .in{display:flex;flex-direction:column;align-items:center;gap:18px}
#boot img{width:96px;height:auto;animation:bootIn .7s var(--spring-pop) both,float 3s .7s ease-in-out infinite}
#boot b{font:800 15px/1 "Inter Variable",system-ui,sans-serif;letter-spacing:.32em;color:#e9e9ee;padding-left:.32em;animation:bootTxt .8s .25s ease both}
#boot i{display:block;width:120px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,#fff,transparent) 0 0/50% 100% no-repeat,#1c1c21;animation:bootBar 1.1s linear infinite}
@keyframes bootIn{from{transform:scale(.5) rotate(-12deg);opacity:0}}
@keyframes bootTxt{from{opacity:0;letter-spacing:.6em}}
@keyframes bootBar{from{background-position:-100% 0,0 0}to{background-position:200% 0,0 0}}
@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-1.5deg)}}
@keyframes page-in{0%{opacity:0;transform:translateY(8px) scale(.995)}to{opacity:1;transform:none}}
@keyframes rise-in{0%{opacity:0;transform:translateY(12px) scale(.98)}}
@keyframes fade{from{opacity:0}}
@keyframes up{from{transform:translateY(100%)}}
@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@keyframes tw{50%{opacity:.2;transform:scale(.6)}}
@keyframes glint{0%,60%{transform:translate(-130%)}to{transform:translate(130%)}}

#app{height:100%;position:relative;overflow:hidden;max-width:560px;margin:0 auto;background:var(--bg)}
.screen{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg);animation:page-in .32s var(--ease);z-index:1}
.screen.root{animation:none}
.scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:none}
.top{display:flex;align-items:center;gap:6px;padding:10px 10px;min-height:58px;flex:none}
.top h1{font-size:18px;font-weight:800;letter-spacing:-.02em;margin:0;flex:1;text-align:center}
.top .ttl{flex:1;min-width:0}
.ib{width:40px;height:40px;border-radius:50%;background:#ffffff14;display:grid;place-items:center;flex:none;color:var(--text);transition:transform .2s var(--spring-pop)}
body.light .ib{background:#0000000d}
.ib svg{width:22px;height:22px}
.ib:active,.cb:active{transform:scale(.9)}
.big-title{font-size:30px;font-weight:880;letter-spacing:-.035em;margin:4px 16px 4px;line-height:1.05}
.label,.sec{font-size:11.5px;font-weight:750;letter-spacing:.07em;text-transform:uppercase;color:var(--text-3);margin:20px 18px 10px;padding:0}
.note{color:var(--text-3);font-size:12.5px;padding:6px 18px 8px}
.muted{color:var(--text-2)}.small{font-size:12.5px}.center{text-align:center}
.row{display:flex;align-items:center;gap:10px}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.btn{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:54px;padding:0 20px;border-radius:var(--r-md);font-size:16px;font-weight:760;letter-spacing:-.01em;white-space:nowrap;
  background:var(--accent);color:var(--accent-ink);box-shadow:0 10px 30px #ffffff14,inset 0 -2px #00000014;transition:transform .2s var(--spring-pop),opacity .2s}
.btn:active{transform:scale(.97)}
.btn.ghost{background:transparent;color:var(--text-2);box-shadow:none;height:auto;padding:8px 14px;font-size:14px;font-weight:650}
.btn.dim{background:var(--card-2);color:var(--text);box-shadow:none}
.btn.danger{background:#ff453a24;color:#ff6b62;box-shadow:none}
.btn.small{width:auto;height:40px;padding:0 14px;font-size:14px;border-radius:13px;display:inline-flex}
.btn:disabled{opacity:.45}
.link{color:var(--text-2);padding:8px 14px;font-size:14px;font-weight:650}
.chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:650;background:#ffffff14;color:var(--text-2);white-space:nowrap}
.chip.lime{background:var(--lime);color:#000;font-weight:800;letter-spacing:.02em}
.chip.green{background:#34c75924;color:#5fe08a}

.card{background:var(--tile-bg);border-radius:var(--r-lg);margin:10px 12px;overflow:hidden;position:relative}
html:not(.tile-flat) .card{border:1px solid var(--stroke);box-shadow:inset 0 1px #ffffff0a}
.item{display:flex;align-items:center;gap:12px;min-height:58px;padding:11px 14px;cursor:pointer;position:relative;font-weight:650}
.item:active{background:#ffffff08}
.item+.item::before{content:"";position:absolute;top:0;left:64px;right:14px;height:1px;background:var(--stroke)}
.card.plain .item+.item::before{left:14px}
.item .sub{font-size:12.5px;color:var(--text-2);font-weight:500;margin-top:1px}
.item .val{color:var(--text-2);font-size:14px;font-weight:650}
.ico{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:18px;flex:none;color:#fff;background:#ffffff0d!important;position:relative}
body.light .ico{background:#0000000a!important}
.ico .lt{width:24px;height:24px}
.ico.gif{background:none!important}
body.light .lt svg path{fill:#000}
.field{background:var(--card-2);border-radius:14px;margin:8px 12px;padding:2px 14px}
.field input,.field textarea{width:100%;background:transparent;border:0;outline:none;padding:12px 0;font-size:15px;resize:none}
.field input+input{border-top:1px solid var(--stroke)}
.tbox{background:var(--card-2);border-radius:14px;padding:8px 14px;margin:8px 16px;position:relative}
.tbox label{font-size:12px;font-weight:650;color:var(--text-2)}
.tbox input{width:100%;background:transparent;border:0;outline:none;font-size:22px;font-weight:800;letter-spacing:.02em;padding:4px 0}

.av{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;font-size:19px;flex:none;overflow:hidden;background:linear-gradient(135deg,#46464d,#18181b)!important;box-shadow:inset 0 0 0 1px #ffffff1f}
.av img{width:100%;height:100%;object-fit:cover}
.av.s{width:40px;height:40px;font-size:15px}.av.xs{width:28px;height:28px;font-size:11px}
.av.l{width:96px;height:96px;font-size:36px}
.av.xl{width:112px;height:112px;font-size:42px;position:relative;z-index:1}
.bic{width:18px;height:18px;vertical-align:-3px;border-radius:50%;object-fit:cover;margin-left:3px}
.vf{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#fff;color:#000;font-size:10px;font-weight:900;margin-left:4px;vertical-align:-2px}
.vf.big{width:22px;height:22px;font-size:12px;margin:0}

.search{position:relative;display:flex;align-items:center;gap:8px;margin:6px 12px 8px;height:48px;padding:0 14px;border-radius:14px;background:var(--card-2);color:var(--text-3)}
.search input{flex:1;background:transparent;border:0;outline:none;font-size:15px;color:var(--text)}
.pills{display:flex;gap:6px;overflow-x:auto;padding:2px 12px 8px;scrollbar-width:none}
.pills button{flex:none;height:40px;padding:0 15px;border-radius:999px;font-size:14px;font-weight:760;background:var(--tile-bg);color:var(--text);transition:background .25s var(--ease),color .25s}
.pills button.on{background:#f4f4f6;color:#000}
body.aurora .pills button.on{background:var(--accent);color:#fff}

.chat{display:flex;gap:12px;padding:9px 14px;cursor:pointer;align-items:center;animation:rise-in .4s var(--ease) backwards}
.chat:active{background:#ffffff08}
.chat .meta{flex:1;min-width:0;padding-bottom:9px;border-bottom:1px solid var(--stroke)}
.chat .t{display:flex;align-items:center;gap:5px}
.chat .t b{font-weight:760;letter-spacing:-.01em}
.chat .time{margin-left:auto;font-size:12px;color:var(--text-3);flex:none;font-weight:600}
.chat .p{display:flex;gap:6px;color:var(--text-2);font-size:14px;margin-top:2px;font-weight:500}
.unr{background:#f4f4f6;color:#000;border-radius:999px;font-size:12px;min-width:21px;height:21px;padding:0 6px;display:grid;place-items:center;font-weight:800;margin-left:auto;flex:none}
.unr.mute{background:var(--card-3);color:var(--text-2)}
.fab{position:absolute;right:16px;bottom:calc(var(--tabbar-h) + 30px);width:56px;height:56px;border-radius:50%;background:#f4f4f6;color:#000;display:grid;place-items:center;box-shadow:0 14px 36px #000000a0;z-index:3;transition:transform .2s var(--spring-pop)}
.fab:active{transform:scale(.9)}
body.aurora .fab{background:var(--accent);color:#fff}
.fab svg{width:24px;height:24px}

.tabbar-wrap{position:absolute;left:0;right:0;bottom:0;padding:0 0 14px;display:flex;justify-content:center;gap:10px;pointer-events:none;z-index:10;background:linear-gradient(#0000,#000000d1 55%)}
body.light .tabbar-wrap{background:linear-gradient(#f2f2f700,#f2f2f7d9 55%)}
.tabbar{position:relative;pointer-events:auto;width:min(calc(var(--tab-n,3) * 76px),calc(100% - 56px - var(--tabbar-h)));height:var(--tabbar-h);padding:5px;border-radius:999px;display:flex;gap:2px;background:#1e1e21f5;box-shadow:0 18px 50px #000000a6,inset 0 1px #ffffff0f}
html.tile-flat .tabbar,html.tile-flat .tabbar-solo{background:var(--tile-bg)}
body.light .tabbar,body.light .tabbar-solo{background:#fff}
.tabbar-solo{pointer-events:auto;flex:none;width:var(--tabbar-h);height:var(--tabbar-h);border-radius:50%;display:grid;place-items:center;background:#121214f7;box-shadow:0 18px 50px #000000a6;overflow:hidden}
.tabbar-solo .av{width:38px;height:38px;font-size:14px}
.tab{position:relative;flex:1;border-radius:999px;display:grid;place-items:center;min-height:44px;z-index:1}
.tab .lt{width:26px;height:26px;opacity:.45;transition:opacity .25s var(--ease)}
.tab.on .lt{opacity:1}
.tab .dot{position:absolute;top:6px;left:calc(50% + 8px);min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}
.tab-pill{position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 10px - (var(--tab-n,3) - 1) * 2px) / var(--tab-n,3));border-radius:999px;background:#ffffff2b;box-shadow:inset 0 1px #ffffff1a;transform:translate(calc(var(--tab-i,0) * (100% + 2px)));transition:transform .36s var(--spring-pill),opacity .2s;pointer-events:none}
.tab-pill.off{opacity:0}
body.light .tab-pill{background:#0000001a}
.tabbar-solo.on{box-shadow:0 0 0 2px #fff,0 18px 50px #000000a6}

.xhero{position:relative;height:196px;border-radius:var(--r-xl);overflow:hidden;margin:6px 12px 0;background:radial-gradient(90% 120% at 0% 0%,#ffffff0f,#fff0 55%),var(--logo-bg)}
html:not(.tile-flat) .xhero{border:1px solid var(--stroke-2)}
.xhero .cube{position:absolute;right:-14px;top:-4px;width:205px;height:205px;object-fit:contain;animation:float 7s ease-in-out infinite;
  -webkit-mask-image:radial-gradient(circle at 55% 50%,#000 52%,transparent 74%);mask-image:radial-gradient(circle at 55% 50%,#000 52%,transparent 74%)}
.xhero .glint{position:absolute;inset:0;background:linear-gradient(105deg,#fff0 40%,#ffffff1c,#fff0 60%);transform:translate(-130%);animation:glint 6.5s ease-in-out infinite;pointer-events:none}
.xhero .hc{position:absolute;inset:0;padding:20px;display:flex;flex-direction:column;z-index:1}
.xhero .hn{font-size:21px;font-weight:850;letter-spacing:-.02em;text-shadow:0 2px 14px #000c;display:flex;align-items:center;gap:6px}
.xhero .hl{font-size:11.5px;font-weight:760;letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);margin-top:auto}
.xhero .hb{font-size:42px;line-height:1;font-weight:880;letter-spacing:-.035em;margin-top:6px;text-shadow:0 2px 18px #000d;display:flex;align-items:center;gap:8px}
.xhero .hb .gi{width:34px;height:34px}
.xhero .hav{position:absolute;right:18px;top:18px;z-index:2}
.xhero .hplus{position:absolute;right:18px;bottom:18px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#ffffff1f;font-size:24px;font-weight:400;z-index:2;color:#fff}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 12px}
.ptile{position:relative;display:flex;flex-direction:column;min-height:132px;padding:14px;border-radius:var(--r-lg);background:var(--tile-bg);overflow:hidden;isolation:isolate;text-align:left;cursor:pointer;animation:rise-in .45s var(--ease) backwards;transition:transform .25s var(--spring-pop)}
html:not(.tile-flat) .ptile{border:1px solid var(--stroke)}
.ptile:active{transform:scale(.97)}
.ptile .halo{position:absolute;width:160px;height:160px;left:-50px;top:-52px;border-radius:50%;background:radial-gradient(circle,rgba(var(--halo,255,255,255),.24),rgba(var(--halo,255,255,255),0) 62%);z-index:-1;pointer-events:none}
html.no-glow .ptile .halo{display:none}
.ptile .arrow{position:absolute;top:14px;right:14px;color:var(--text-3);font-size:15px}
.ptile .badge{position:absolute;top:12px;right:12px}
.ptile .lt,.ptile .gi{width:34px;height:34px}
.ptile .t{font-size:15.5px;font-weight:760;letter-spacing:-.015em;margin-top:12px}
.ptile .s{font-size:12.5px;color:var(--text-2);margin-top:3px}
.ptile .v{font-size:22px;font-weight:830;letter-spacing:-.02em;margin-top:auto;padding-top:8px}
.stat{padding:14px 16px;min-height:92px;display:flex;flex-direction:column;border-radius:var(--r-lg);background:var(--tile-bg)}
.stat .k{font-size:12.5px;color:var(--text-2);font-weight:600}
.stat .v{font-size:26px;font-weight:860;letter-spacing:-.03em;margin-top:6px}
.info-block{position:relative;margin:10px 12px;padding:14px 14px 14px 22px;border-radius:var(--r-md);overflow:hidden;background:var(--tile-bg);font-size:14px;line-height:1.5;color:#ffffffdb}
body.light .info-block{color:#000c}
.info-block:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:repeating-linear-gradient(110deg,#8f8f93 0 3.2px,#6f6f73 3.2px 6.4px,#51515a 6.4px 9.6px)}
.swatches{display:flex;flex-wrap:wrap;gap:10px;padding:12px 14px 14px}
.swatch{position:relative;width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.18);cursor:pointer;padding:0}
.swatch.on{outline:2px solid #fff;outline-offset:2px}
.swatch.custom{overflow:hidden;background:conic-gradient(#ff5f5f,#ffd45f,#6fff7a,#5fd4ff,#8a5fff,#ff5fd4,#ff5f5f)}
.swatch.custom input{position:absolute;inset:-8px;width:60px;height:60px;opacity:0;cursor:pointer}

.msgs{flex:1;overflow-y:auto;padding:10px 10px 6px;display:flex;flex-direction:column;gap:3px;background:var(--bg2);
  background-image:radial-gradient(circle at 20% 10%,#ffffff07 0 2px,transparent 3px),radial-gradient(circle at 70% 60%,#ffffff06 0 2px,transparent 3px);background-size:46px 46px,64px 64px}
.bubble{max-width:82%;padding:7px 11px 6px;border-radius:var(--br);background:var(--bubble-in);align-self:flex-start;position:relative;word-wrap:break-word;font-size:var(--fs);font-weight:500;animation:rise-in .3s var(--ease)}
.bubble.out{align-self:flex-end;background:var(--bubble-out);color:var(--bubble-out-ink)}
.bubble.out a{color:inherit;text-decoration:underline}
.bubble .who{font-size:13px;font-weight:760;color:var(--text-2)}
.bubble .tm{float:right;font-size:11px;opacity:.55;margin:7px 0 -4px 10px;font-weight:600}
.bubble .rp{border-left:3px solid currentColor;padding:2px 8px;margin:2px 0 4px;border-radius:4px;background:#8882;font-size:13.5px;opacity:.85}
.bubble img.media,.bubble video{max-width:100%;border-radius:12px;display:block}
.bubble.sticker{background:transparent;padding:0;color:var(--text)}
.bubble.sticker img{width:150px;height:150px}
.rxs{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}
.rx{background:#8883;border-radius:999px;padding:1px 8px;font-size:13px;cursor:pointer}
.rx.mine{background:#888a}
.svc{align-self:center;background:#ffffff14;color:var(--text-2);font-size:12.5px;font-weight:650;padding:4px 12px;border-radius:999px;margin:8px 0}
.composer{display:flex;align-items:flex-end;gap:6px;padding:6px 8px 10px;background:var(--bg)}
.composer .in{flex:1;display:flex;align-items:flex-end;background:var(--card-2);border-radius:24px;padding:0 4px}
.composer .in .ib{background:transparent}
.composer textarea{flex:1;background:transparent;border:0;outline:none;resize:none;padding:12px 6px;max-height:120px;font-size:15.5px}
.send{width:48px;height:48px;border-radius:50%;background:#f4f4f6;color:#000;display:grid;place-items:center;flex:none;transition:transform .2s var(--spring-pop)}
body.aurora .send{background:var(--accent);color:#fff}
.send:active{transform:scale(.9)}
.send svg{width:22px;height:22px}
.panel{background:var(--card);max-height:300px;overflow-y:auto;border-radius:22px 22px 0 0}
.stk{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:4px;padding:8px}
.stk img{width:100%;aspect-ratio:1;cursor:pointer}
.stk .lock{opacity:.4}
.tabsbar{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;scrollbar-width:none}
.tabsbar button{height:38px;padding:0 14px;border-radius:999px;white-space:nowrap;font-weight:760;font-size:14px;background:var(--tile-bg);color:var(--text)}
.tabsbar button.on{background:#f4f4f6;color:#000}

.phead{padding:8px 16px 14px;text-align:center}
.phead .av{margin:0 auto 10px}
.phead h2{margin:0;font-size:24px;font-weight:850;letter-spacing:-.02em}
.acts{display:flex;gap:8px;margin:14px 0 6px}
.acts button{flex:1;border-radius:18px;background:var(--tile-bg);padding:10px 4px 9px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--text);transition:transform .2s var(--spring-pop)}
.acts button:active{transform:scale(.95)}
.acts button .lt,.acts button .gi{width:28px;height:28px}
.acts button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.chips{display:flex;justify-content:center;gap:8px;margin:8px 0 4px}
.chips>span{background:#ffffff14;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.chips .gi{width:18px;height:18px}
.ginfo{padding:12px 16px}
.ginfo .k{font-size:12.5px;color:var(--text-3);font-weight:600}
.ginfo .v{font-size:16px;font-weight:650}
.verif{display:flex;align-items:center;gap:8px;justify-content:center;color:var(--text-2);font-size:13px;font-weight:600;padding:8px 16px}
.ggrid,.ggrid2{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px 12px 20px}
.gcell,.gc2{position:relative;background:var(--tile-bg);border-radius:18px;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;
  background-image:radial-gradient(circle at 50% 45%,#ffffff12,transparent 65%);animation:rise-in .4s var(--ease) backwards;transition:transform .2s var(--spring-pop)}
.gcell:active,.gc2:active{transform:scale(.95)}
.gcell img,.gc2 img{width:70%;height:70%;object-fit:contain}
.gcell .pr,.gc2 .pr{position:absolute;bottom:6px;background:#000a;border-radius:999px;padding:1px 8px;font-size:11.5px;font-weight:700;color:#fff;display:inline-flex;align-items:center;gap:3px}
.gcell .pr .gi,.gc2 .pr .gi{width:13px;height:13px}
.gcell .rib{position:absolute;top:10px;right:-24px;transform:rotate(45deg);background:var(--lime);color:#000;font-size:9px;font-weight:800;padding:1px 26px}
.gcell .sn,.gc2 .sn{position:absolute;top:7px;left:9px;font-size:10px;color:var(--text-3);font-weight:700}
.gc2 .pin{position:absolute;top:6px;left:8px;font-size:12px;filter:grayscale(1) brightness(2)}
.gc2 .sav{position:absolute;top:7px;left:7px;width:20px;height:20px;border-radius:50%;font-size:11px;display:grid;place-items:center;color:#fff;font-weight:800}
.gc2 .rb{position:absolute;top:9px;right:-22px;transform:rotate(45deg);background:#000a;color:#fff;font-size:9px;font-weight:700;padding:1px 24px}
.status{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:#ffffff14;display:inline-flex;align-items:center;gap:5px}

.prof{background:var(--bg)}
.ph2{text-align:center;padding:8px 14px 6px;position:relative}
.ptop{position:relative;z-index:2}
.cb{width:40px;height:40px;border-radius:50%;background:#ffffff14;color:var(--text);display:grid;place-items:center;transition:transform .2s}
.cb svg{width:22px;height:22px}
.avwrap{position:relative;width:210px;height:156px;margin:-18px auto 4px;display:grid;place-items:center}
.avwrap .glow{position:absolute;width:156px;height:156px;border-radius:50%;background:radial-gradient(circle,#ffffff2e,#fff0 66%);animation:float 6s ease-in-out infinite}
.avwrap .fl{position:absolute;width:42px;height:42px;object-fit:contain;z-index:2;animation:float 4s ease-in-out infinite}
.pname{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:6px 0 2px;font-size:25px;font-weight:880;letter-spacing:-.03em}
.pname .bic{width:22px;height:22px;margin:0}
.pstar{color:#fff;font-size:20px}
.info .item+.item::before{display:none}
.segs{display:flex;gap:4px;justify-content:center;margin:12px auto 8px;background:var(--tile-bg);border-radius:999px;padding:4px;width:max-content;max-width:94%}
.segs button{color:var(--text-2);border-radius:999px;padding:8px 14px;font-weight:760;display:flex;align-items:center;gap:6px;font-size:14px}
.segs button.on{background:#f4f4f6;color:#000}
.segs .mini{display:inline-flex}.segs .mini img{width:18px;height:18px;margin-left:-4px}
.filters{display:flex;gap:6px;overflow-x:auto;padding:4px 12px 10px;scrollbar-width:none}
.filters button{color:var(--text-2);padding:7px 13px;border-radius:999px;white-space:nowrap;font-weight:760;font-size:13.5px;background:var(--tile-bg)}
.filters button.on{background:#f4f4f6;color:#000}

.sheet-bg{position:absolute;inset:0;background:#000000a3;z-index:40;display:flex;align-items:flex-end;animation:fade .25s var(--ease)}
.sheet-bg.mid{align-items:center;justify-content:center;padding:20px}
.sheet{width:100%;max-height:88%;overflow-y:auto;border-radius:28px 28px 0 0;background:#111113;box-shadow:0 -20px 60px #0009;padding:8px 14px 24px;animation:up .4s var(--ease)}
body.light .sheet{background:#fff}
.sheet::before{content:"";display:block;width:38px;height:5px;border-radius:3px;background:#ffffff38;margin:0 auto 12px}
.sheet-bg.mid .sheet{border-radius:24px;max-width:380px;animation:rise-in .3s var(--spring-pop)}
.sheet-bg.mid .sheet::before{display:none}
.sheet h2,.sheet h3{font-weight:850;letter-spacing:-.02em}
.sheet .card{margin:0;background:var(--card-2)}
.toast{position:absolute;left:50%;top:14px;transform:translateX(-50%);max-width:calc(100% - 40px);padding:11px 16px;border-radius:16px;background:#242428f7;color:#fff;box-shadow:0 12px 40px #00000080;font-size:14px;font-weight:650;z-index:100;animation:rise-in .35s var(--spring-pop);text-align:center}
.toast.err{color:#ff8a82}

.welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}
.welcome img.logo{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 24px 60px #ffffff2e);animation:float 5s ease-in-out infinite}
.welcome h1{font-size:34px;font-weight:880;letter-spacing:-.035em;margin:18px 0 8px}
.dots{display:flex;gap:6px;justify-content:center;margin:18px 0}
.dots i{width:6px;height:6px;border-radius:3px;background:var(--text-3)}.dots i.on{background:#fff;width:18px}
.codebox{display:flex;gap:10px;justify-content:center;margin:26px 0}
.codebox div{width:48px;height:58px;background:var(--card-2);border-radius:14px;display:grid;place-items:center;font-size:26px;font-weight:820;box-shadow:inset 0 0 0 1px var(--stroke)}
.codebox div.cur{box-shadow:inset 0 0 0 1.5px #ffffffaa}
.codebox.err div{box-shadow:inset 0 0 0 1.5px var(--red);animation:shake .3s}
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 10px 16px;background:var(--bg)}
.pad button{border-radius:14px;background:var(--tile-bg);padding:11px 0;font-size:24px;font-weight:650;display:flex;align-items:baseline;justify-content:center;gap:8px;transition:transform .15s}
.pad button small{font-size:10.5px;color:var(--text-3);letter-spacing:1px;font-weight:700}
.pad button:active{transform:scale(.94);background:var(--card-3)}
.hero{text-align:center;padding:16px 20px 6px;position:relative;overflow:hidden}
.hero .big{line-height:1;animation:float 4s ease-in-out infinite;display:inline-block;filter:drop-shadow(0 10px 40px #ffffff30)}
.hero h2{margin:10px 0 6px;font-size:26px;font-weight:880;letter-spacing:-.03em}
.sparkle{position:absolute;color:#fff;opacity:.6;font-size:11px;animation:tw 2.4s infinite}
.bal{background:var(--tile-bg);border-radius:var(--r-xl);margin:14px 12px;padding:20px;text-align:center}
.bal .n{font-size:42px;font-weight:880;letter-spacing:-.035em;display:flex;justify-content:center;align-items:center;gap:8px}
.feat{display:flex;gap:14px;padding:12px 14px;align-items:flex-start}
.feat b{display:block;font-weight:760}
.slider{width:100%;accent-color:#fff}
.toggle{position:relative;width:51px;height:31px;border-radius:999px;background:#78788052;transition:background .25s var(--ease);flex:none}
.toggle::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px #00000040;transition:transform .38s var(--spring-knob)}
.toggle.on{background:var(--green)}.toggle.on::after{transform:translate(20px)}
.radio{width:22px;height:22px;border-radius:50%;border:2px solid var(--text-3);flex:none;transition:border .25s var(--spring-pop)}
.radio.on{border:7px solid #fff}
.themes{display:flex;gap:10px;overflow-x:auto;padding:12px 14px}
.themes div{width:76px;height:96px;border-radius:16px;flex:none;cursor:pointer;display:flex;align-items:flex-end;justify-content:center;font-size:11px;font-weight:700;padding:6px;color:#fff}
.themes div.on{outline:2px solid #fff;outline-offset:2px}

.gi{object-fit:contain;vertical-align:middle;flex:none}
.empty-gif{display:block;margin:0 auto 8px}
.lt{display:inline-block;flex:none;vertical-align:middle}
.lt svg{display:block}

.adminwrap .page{padding:6px 12px 40px}
.adminwrap .page>h1,.adminwrap .tabs{display:none}
.adminwrap .tablewrap{overflow:auto;background:var(--tile-bg);border-radius:var(--r-lg)}
.adminwrap table{width:100%;border-collapse:collapse;font-size:13px}
.adminwrap th,.adminwrap td{padding:10px;border-bottom:1px solid var(--stroke);text-align:left;vertical-align:middle}
.adminwrap th{font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.adminwrap tr:last-child td{border-bottom:0}
.adminwrap .grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.adminwrap .grid .card{margin:0;padding:14px 16px}
.adminwrap .grid .card>div:last-child{font-size:26px!important;font-weight:860!important;letter-spacing:-.03em}
.adminwrap input,.adminwrap select,.adminwrap textarea{background:var(--card-2);border-radius:14px;padding:12px 14px;width:100%;outline:none}
.adminwrap button{border-radius:13px;padding:8px 13px;background:var(--card-3);font-weight:700;font-size:13px}
.adminwrap button.primary{background:#f4f4f6;color:#000}
.adminwrap button.danger{background:#ff453a24;color:#ff6b62}
.adminwrap .card{margin:10px 0;padding:14px}
.adminwrap .col{display:flex;flex-direction:column;gap:8px}
.adminwrap h3{font-size:12px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);margin:18px 4px 8px}
.adminwrap .status.completed,.adminwrap .status.SOLD,.adminwrap .status.paid{background:#34c75924;color:#5fe08a}
.adminwrap .status.failed,.adminwrap .status.CANCELLED{background:#ff453a24;color:#ff7a72}
.adminwrap .status.refunded,.adminwrap .status.RESERVED,.adminwrap .status.LISTED{background:#ff9f0a24;color:#ffb340}
#modal{position:fixed;inset:0;background:#000000b8;display:grid;place-items:center;z-index:60;padding:14px}
#modal .box{background:#111113;border-radius:28px;padding:18px;width:min(520px,100%);max-height:90vh;overflow:auto}
#modal.hidden{display:none}
#toast{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:70;display:flex;flex-direction:column;gap:6px}
#toast div{background:#242428f7;color:#fff;padding:10px 16px;border-radius:16px;font-weight:650}#toast .err{color:#ff8a82}
.item>svg{width:24px;height:24px;flex:none}

/* role badges + role line */
.rbadge{display:inline-grid;place-items:center;border-radius:50%;margin-left:3px;vertical-align:-4px;flex:none;box-shadow:0 2px 8px #0006}
.rbadge .lt svg path{fill:#fff!important}
.pname .rbadge{margin:0}
.roleline{text-align:center;color:var(--text-2);font-size:13.5px;font-weight:650;padding:4px 16px 8px}
