:root{
  --bg:#1b211a;--sidebar:#20271e;--panel:#293127;--panel-raised:#343e30;--panel-dark:#222a20;
  --line:#4d5845;--line-soft:#3c4736;--text:#f8f6ed;--dim:#c3cbbb;--muted:#aab69f;
  --gold:#e5c681;--gold-light:#f1dca7;--green:#b6d5a5;--red:#ed9d91;--blue:#a9c4d3;
  --radius:22px;--sidebar-width:224px;--ease:cubic-bezier(.22,.8,.22,1);
  --font:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;
  --mono:"SFMono-Regular","Cascadia Code","Menlo",monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-color:#414c3b var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
button,input,select{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button{color:inherit}
button:disabled{cursor:not-allowed}
button:focus-visible,a:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
input:focus-visible{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px #e5c68116}
button:disabled:not(.is-loading):not(.is-success){opacity:.42}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:650;letter-spacing:-.035em;text-wrap:balance}
p{text-wrap:pretty}
svg.icon{width:20px;height:20px;display:inline-block;flex-shrink:0;vertical-align:middle}
[hidden]{display:none!important}
.gold{color:var(--gold)}.teal,.win{color:var(--green)}.lose{color:var(--red)}.push{color:var(--dim)}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.sub{font-size:16px;line-height:1.8;color:var(--dim)}
.eyebrow{color:var(--dim);font-size:13px;letter-spacing:.19em;font-weight:650;line-height:1.5}
.skip-link{position:fixed;z-index:1000;top:-60px;left:20px;background:var(--gold);color:var(--bg);padding:12px 20px;border-radius:8px}
.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);padding:35px 18px 20px;background:var(--sidebar);border-right:1px solid var(--line-soft);z-index:40;display:flex;flex-direction:column}
.logo{display:flex;align-items:center;gap:12px;margin:0 13px 44px}
.logo-mark,.mobile-logo{font-size:33px;font-weight:800;letter-spacing:-4px;line-height:1}
.logo-mark b,.mobile-logo b,.modal-logo b{color:var(--gold)}
.logo-word{font-size:13px;font-weight:700;letter-spacing:2.4px;line-height:1.5;white-space:nowrap}
.logo-word small{display:block;font-size:12px;font-weight:400;letter-spacing:.6px;color:var(--muted);margin-top:5px}
.sidebar-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;letter-spacing:1px;padding:0 16px;margin-bottom:15px}
.sidebar-caption span{font-family:var(--mono);font-size:12px}
nav.main{display:flex;flex-direction:column;gap:7px}
nav.main a{display:flex;align-items:center;gap:13px;min-height:50px;border:1px solid transparent;border-radius:12px;padding:0 16px;color:var(--dim);font-size:16px;transition:background .2s,color .2s,transform .2s}
nav.main a:hover{background:var(--panel);color:var(--text);transform:translateX(2px)}
nav.main a.on{color:var(--gold-light);background:#e5c68111;border-color:#e5c68118}
nav.main a.on::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--gold);margin-left:auto;box-shadow:0 0 12px #e5c68150}
nav.main a .icon{width:18px;height:18px}
.sidebar-bottom{margin-top:auto;padding-top:32px}
.network-card{display:flex;align-items:center;gap:10px;background:#2a3425;border:1px solid var(--line-soft);border-radius:12px;padding:13px 11px}
.network-symbol{font-size:23px;color:var(--gold)}
.network-card b{font-size:13px;font-weight:600;display:block}
.network-card small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;margin-top:3px}
.network-arrow{margin-left:auto;color:var(--muted);font-size:18px}
.live-dot{width:5px;height:5px;background:var(--green);border-radius:50%;display:inline-block;box-shadow:0 0 0 3px #b6d5a50a;flex-shrink:0}
body[data-chain="offline"] .live-dot{background:var(--muted);box-shadow:none}
.sidebar-note{display:flex;flex-direction:column;gap:8px;padding:22px 14px 0;color:var(--muted);font-size:12px;letter-spacing:.6px}
.sidebar-note small{font-size:12px;letter-spacing:2px}
.workspace{margin-left:var(--sidebar-width);min-width:0}
.topbar{height:81px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 38px;border-bottom:1px solid var(--line-soft);background:#1b211ae8;backdrop-filter:blur(22px);position:sticky;top:0;z-index:35}
.breadcrumb{display:flex;gap:13px;align-items:center;font-size:15px;color:var(--muted);white-space:nowrap}
.breadcrumb i{font-style:normal;color:#495142}.breadcrumb strong{font-weight:500;color:var(--text)}
.topbar-right{display:flex;align-items:center;gap:23px}
.chain-chip{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--dim);white-space:nowrap}
.chain-chip-extra{color:var(--muted)}
.top-right{display:flex;gap:12px;align-items:center}
.mobile-logo{display:none}
.btn{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 20px;border:1px solid transparent;border-radius:11px;background:var(--gold);color:#24271b;font-size:15px;font-weight:650;line-height:1.5;overflow:hidden;transition:background .2s,box-shadow .2s,transform .2s,width .3s var(--ease),border-radius .3s var(--ease);text-align:center}
.btn:hover:not(:disabled){background:var(--gold-light);box-shadow:0 6px 25px #e5c68112;transform:translateY(-1px)}
.btn:active:not(:disabled){transform:translateY(1px) scale(.98)}
.btn .icon{width:16px;height:16px}
.btn.small{min-height:38px;padding:8px 15px;font-size:14px}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{background:var(--panel-raised);border-color:#55604e;box-shadow:none}
.btn.teal{background:var(--green);color:#1d3017}
.btn.full{width:100%}
.btn.text-btn{background:none;padding:4px;color:var(--gold)}
.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:none;border:none;font-size:15px;color:var(--dim);min-height:40px}
.text-btn:hover{color:var(--gold)}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:transparent;border:1px solid var(--line);width:40px;height:40px;border-radius:10px;flex-shrink:0}
.icon-btn:hover{background:var(--panel-raised)}
.icon-btn .icon{width:17px;height:17px}
.user-chip{display:flex;align-items:center;gap:10px;white-space:nowrap}
.user-avatar{width:32px;height:32px;border-radius:10px;background:#e5c68116;border:1px solid #e5c68124;display:grid;place-items:center;font-size:16px;color:var(--gold)}
.user-chip b{font-size:14px;font-weight:600}
.user-chip small{display:block;font-family:var(--mono);font-size:13px;color:var(--dim);margin-top:2px}
.logout-btn{border:0;color:var(--muted);width:30px}
.wrap{max-width:1550px;margin:auto;padding:30px 38px 50px;min-height:calc(100vh - 240px);outline:none;view-transition-name:none}
.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.page-intro h1{font-size:28px;letter-spacing:-1px;line-height:1.3}
.page-intro p{font-size:14px;color:var(--dim);margin-top:5px}
.page-intro .intro-side{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}
.home-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:18px}
.hero-main{position:relative;min-height:276px;overflow:hidden;border:1px solid #414937;border-radius:var(--radius);background:radial-gradient(ellipse at 95% 20%,#46503670,transparent 63%),linear-gradient(115deg,#242d21,#1b221b);padding:29px 30px;display:flex;align-items:center}
.hero-copy{position:relative;z-index:2;max-width:65%}
.hero-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--gold);font-size:12px;font-weight:600;letter-spacing:1.5px;margin-bottom:16px}
.hero-kicker i{width:4px;height:4px;background:var(--gold);border-radius:50%}
.hero-main h2{font-size:clamp(30px,2.7vw,45px);line-height:1.35;letter-spacing:-1.6px}
.hero-main h2 em{font-style:normal;color:var(--gold-light)}
.hero-copy>p{max-width:320px;font-size:14px;line-height:1.9;color:#d0d8c5;margin-top:12px}
.hero-actions{display:flex;gap:10px;margin-top:23px;flex-wrap:wrap}
.hero-actions .btn{font-size:14px;min-height:38px;padding:9px 15px}
.hero-actions .btn.ghost{border-color:#5a654b;color:#d3ddc9}
.hash-visual{position:absolute;right:-19px;top:13px;bottom:0;width:43%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.hash-orbit{position:absolute;width:245px;height:245px;border:1px solid #c9d7ae1b;border-radius:50%;transform:rotate(-25deg) scaleY(.65)}
.hash-orbit.two{width:193px;height:193px;transform:rotate(38deg) scaleY(.8);border-style:dashed}
.hash-orbit::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--gold);position:absolute;left:21px;top:24px;box-shadow:0 0 16px #e5c68190}
.hash-cube{width:116px;height:116px;transform:rotate(-14deg);border-radius:28px;background:linear-gradient(145deg,#e0d4a8,#b4b588 50%,#737b54);box-shadow:inset 2px 3px 3px #f9eed38a,inset -5px -6px 10px #414c30,14px 22px 38px #060b0660;display:grid;place-items:center;position:relative}
.hash-cube .icon{width:75px;height:75px;color:#444e2c;stroke-width:1}
.hash-cube::after{content:"";position:absolute;inset:8px;border:1px solid #ffffff30;border-radius:22px}
.hash-tag{position:absolute;bottom:25px;left:30%;padding:6px 10px;border-radius:7px;background:#263021d9;border:1px solid #5b6845;font-family:var(--mono);font-size:12px;color:#cad8b8;transform:rotate(-6deg);backdrop-filter:blur(8px)}
.hero-lottery{border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(ellipse at 50% 30%,#3e38224d,transparent 75%),var(--panel);padding:18px 20px 12px;overflow:hidden}
.prize-fan{width:100%;position:relative}
.fan-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fan-heading .eyebrow{color:var(--gold);font-size:12px}
.badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;border:1px solid #e5c68125;background:#e5c6810a;border-radius:5px;color:var(--gold);font-size:12px;padding:2px 6px}
.badge.quiet{border-color:var(--line);color:var(--dim);background:transparent;font-size:12px}
.badge.green{border-color:#b6d5a526;color:var(--green);background:#b6d5a50b}
.fan-stage{height:193px;position:relative;perspective:800px;margin-top:4px}
.fan-card{position:absolute;left:50%;bottom:12px;width:132px;height:156px;border-radius:12px;padding:10px 12px;border:1px solid #a58a4c;background:linear-gradient(145deg,#e8ce93,#bba066);color:#383420;text-align:left;box-shadow:0 12px 25px #00000030;transform-origin:50% 105%;transition:transform .62s cubic-bezier(.2,.85,.25,1.15),box-shadow .4s,filter .4s;transition-delay:calc((2 - var(--card-index)) * 45ms)}
.fan-card-0{z-index:3;transform:translateX(-50%) rotate(-9deg)}
.fan-card-1{z-index:2;transform:translateX(-42%) rotate(3deg);background:linear-gradient(145deg,#d1d3c4,#929e89);border-color:#8b9d80}
.fan-card-2{z-index:1;transform:translateX(-35%) rotate(14deg);background:linear-gradient(145deg,#a8b8ae,#5c7a68);border-color:#698c73}
.fan-card .icon{position:absolute;right:11px;top:41px;width:31px;height:31px;stroke-width:1;color:#4b432a70}
.fan-card-top{display:flex;justify-content:space-between;letter-spacing:2px;font-size:12px;font-weight:700}
.fan-card-top>span{font-family:var(--mono);letter-spacing:0;font-size:12px;opacity:.6}
.fan-card strong{font-family:var(--font);display:block;font-size:36px;line-height:1.1;margin-top:27px;font-weight:650;letter-spacing:-2px}
.fan-card strong small{font-size:18px;letter-spacing:0;margin-left:2px}
.fan-tier{display:block;font-size:12px;font-weight:500;margin-top:9px;white-space:nowrap}
.fan-amount{display:block;font-size:12px;font-family:var(--mono);margin-top:3px;opacity:.7}
.fan-toggle{width:100%;justify-content:space-between;border-top:1px solid var(--line-soft);font-size:13px;color:var(--dim);padding-top:7px}
.fan-toggle .icon{width:14px;height:14px}
.prize-fan.expanded .fan-card{transition-delay:calc(var(--card-index) * 70ms)}
.prize-fan.expanded .fan-card-0{transform:translateX(calc(-50% - 69px)) translateY(-4px) rotate(-20deg)}
.prize-fan.expanded .fan-card-1{transform:translateX(-50%) translateY(-16px) rotate(0)}
.prize-fan.expanded .fan-card-2{transform:translateX(calc(-50% + 69px)) translateY(-4px) rotate(20deg);z-index:4}
.prize-fan.expanded .fan-card.selected{filter:brightness(1.09);box-shadow:0 16px 34px #0007}
.stats-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:23px 0;margin:0 0 5px;border-bottom:1px solid var(--line-soft)}
.strip-stat{padding:0 24px;border-right:1px solid var(--line-soft)}
.strip-stat:first-child{padding-left:3px}.strip-stat:last-child{border-right:0}
.stat-label{display:flex;gap:6px;align-items:center;color:var(--dim);font-size:13px;margin-bottom:5px}
.stat-label .icon{width:12px;height:12px}
.stat-value{font-size:23px;line-height:1.4;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.stat-value small{font-size:13px;font-weight:400;color:var(--dim);margin-left:5px;letter-spacing:0}
.stat-value.mono{font-size:20px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.section-heading h2{font-size:20px;font-weight:600}
.section-heading .sub{font-size:13px}
.catalog{margin-top:27px}
.catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.filter-tabs{display:flex;align-items:center;gap:5px;padding:4px;background:var(--panel-dark);border:1px solid var(--line-soft);border-radius:11px}
.filter-tab{position:relative;overflow:hidden;min-height:34px;background:transparent;border:0;border-radius:7px;font-size:13px;color:var(--dim);padding:6px 13px;transition:background .25s,color .25s}
.filter-tab.on{background:var(--panel-raised);color:var(--text);box-shadow:0 2px 4px #0002}
.filter-tab .icon{width:12px;height:12px;margin-right:4px}
.catalog-types{display:flex;gap:12px;align-items:center}
.type-check{position:relative;display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-size:13px;color:var(--dim);min-height:36px;white-space:nowrap}
.type-check input{position:absolute;opacity:0;width:20px;height:20px}
.check-box{display:grid;place-items:center;width:14px;height:14px;border:1px solid #58624f;border-radius:4px;transition:background .25s,border-color .25s,transform .25s}
.check-box .icon{width:11px;height:11px;opacity:0;transform:scale(.3);transition:transform .25s var(--ease),opacity .2s}
.type-check input:checked+.check-box{background:var(--gold);border-color:var(--gold);color:#26301c}
.type-check input:checked+.check-box .icon{opacity:1;transform:scale(1)}
.type-check input:focus-visible+.check-box{outline:2px solid var(--gold);outline-offset:4px}
.catalog-summary{display:flex;align-items:center;gap:8px;color:var(--dim);font-size:13px;white-space:nowrap}
.catalog-summary b{color:var(--text);font-weight:500}
.progress-ring{width:40px;height:40px;position:relative;display:inline-grid;place-items:center;flex-shrink:0}
.progress-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:3}
.ring-track{stroke:#e5c68118}
.ring-fill{stroke:var(--gold);stroke-linecap:round;transition:stroke-dashoffset .65s var(--ease)}
.progress-ring>span{font-size:12px;font-family:var(--mono)}
.catalog-progress{width:26px;height:26px}.catalog-progress>span{font-size:12px}
.games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;--selection-level:1}
.game-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line-soft);border-radius:17px;background:linear-gradient(140deg,rgba(44,54,37,calc(.16 + var(--selection-level)*.3)),transparent 80%),var(--panel);padding:15px 17px 16px;transition:border-color .25s,transform .28s var(--ease),box-shadow .28s,background .4s;animation:card-arrive .4s both;animation-delay:calc(var(--i,0) * 22ms)}
.game-card:hover{border-color:#7a815a;transform:translateY(-4px);box-shadow:0 15px 30px #00000025}
.game-card:active{transform:translateY(-1px) scale(.985)}
.game-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.game-index{font-family:var(--mono);color:var(--muted);font-size:12px}
.game-card h3{font-size:16px;letter-spacing:-.3px;margin-top:6px;line-height:1.5}
.game-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:var(--muted);font-size:12px}
.game-card-meta b{font-family:var(--mono);font-size:13px;color:var(--gold);font-weight:500}
.card-arrow{position:absolute;right:17px;bottom:42px;width:20px;height:20px;display:grid;place-items:center;color:#b4c0a4;opacity:0;transform:translateX(-5px);transition:opacity .2s,transform .2s}
.card-arrow .icon{width:14px;height:14px}
.game-card:hover .card-arrow{opacity:1;transform:translateX(0)}
.game-art{height:97px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;margin-top:2px}
.game-art::before{content:"";width:105px;height:45px;position:absolute;bottom:7px;border-radius:50%;background:#0003;filter:blur(11px);z-index:-1}
.game-die{width:54px;height:54px;border-radius:13px;position:absolute;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;padding:11px;box-shadow:inset 2px 2px 2px #ffffe03d,inset -4px -4px 6px #554b2a60,0 10px 18px #0003;transition:transform .5s var(--ease)}
.die-front{background:linear-gradient(140deg,#eee1b8,#bfa46b);transform:translate(15px,4px) rotate(17deg);z-index:2}
.die-back{background:linear-gradient(140deg,#91a381,#4f6343);transform:translate(-22px,-10px) rotate(-18deg);width:48px;height:48px;padding:10px}
.game-die i{width:6px;height:6px;background:#5b4d2c;border-radius:50%;box-shadow:inset 1px 1px 2px #0006;align-self:center;justify-self:center}
.game-die i:nth-child(2){grid-column:3}.game-die i:nth-child(3){grid-row:2;grid-column:2}.game-die i:nth-child(4){grid-row:3;grid-column:1}.game-die i:nth-child(5){grid-row:3;grid-column:3}
.die-back i{background:#25391f;width:5px;height:5px}
.die-back i:nth-child(3){grid-row:3;grid-column:1}.die-back i:nth-child(4){grid-row:3;grid-column:3}
.game-card:hover .die-front{transform:translate(20px,-1px) rotate(25deg)}
.game-card:hover .die-back{transform:translate(-25px,-15px) rotate(-24deg)}
.game-coin{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;position:absolute;font-size:21px;font-weight:600;line-height:1;border:4px double #dec48a;box-shadow:inset 0 0 0 3px #574d2920,3px 5px 0 #7d703f,0 10px 18px #0003;transition:transform .5s var(--ease)}
.coin-front{color:#514324;background:linear-gradient(135deg,#f1deaa,#b3995e);transform:translate(17px,5px) rotate(15deg);z-index:2}
.coin-back{color:#293c25;background:linear-gradient(135deg,#b5c6a6,#7a9268);border-color:#a3b993;box-shadow:3px 5px 0 #4e6543,0 8px 16px #0003;transform:translate(-21px,-9px) rotate(-23deg);width:54px;height:54px}
.game-card:hover .coin-front{transform:translate(22px,0) rotate(23deg)}
.game-card:hover .coin-back{transform:translate(-24px,-13px) rotate(-32deg)}
.playing-card{width:46px;height:65px;border-radius:7px;display:grid;place-items:center;position:absolute;font-size:27px;box-shadow:inset 1px 1px 0 #ffffff70,0 8px 12px #0004;transition:transform .5s var(--ease)}
.back-card{background:repeating-linear-gradient(45deg,#496b55 0 3px,#3b5945 3px 5px);color:#b8c7a5;border:3px double #a2b89b;transform:translate(-16px,-5px) rotate(-20deg)}
.front-card{background:linear-gradient(140deg,#f0e8cf,#c6bfa0);color:#95594b;transform:translate(12px,3px) rotate(15deg)}
.playing-card i{position:absolute;font-style:normal;font-size:12px;top:3px;left:5px}.playing-card i:last-child{top:auto;left:auto;bottom:3px;right:5px;transform:rotate(180deg)}
.game-card:hover .front-card{transform:translate(17px,-3px) rotate(25deg)}
.game-card:hover .back-card{transform:translate(-20px,-10px) rotate(-27deg)}
.empty-filter{grid-column:1/-1;padding:45px;text-align:center;background:var(--panel);border:1px dashed var(--line);border-radius:18px;color:var(--dim);font-size:15px}
.panel{min-width:0;background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);padding:24px;margin-top:20px}
.panel h2{font-size:18px;margin-bottom:7px}.panel h3{font-size:16px}
.panel .section-heading h2{margin-bottom:0}
.timeline-panel{overflow:hidden;margin-top:28px}
.timeline-panel .eyebrow{font-size:12px;color:var(--gold);margin-bottom:5px}
.timeline-panel .section-heading h2{font-size:17px}
.timeline-counter{font-family:var(--mono);color:var(--muted);font-size:15px}.timeline-counter b{color:var(--gold);font-weight:500}
.timeline-line{height:2px;position:relative;margin:19px 0}
.timeline-line svg{display:block;width:100%;height:2px;overflow:visible;fill:none;stroke-width:1.3}
.timeline-track{stroke:var(--line)}
.timeline-draw{stroke:var(--gold);transition:stroke-dashoffset .7s var(--ease)}
.snap-viewport{overflow:hidden;cursor:grab;touch-action:pan-y;position:relative;margin-right:-4px}
.snap-viewport:active{cursor:grabbing}
.snap-track{display:flex;gap:12px;position:relative;will-change:transform;user-select:none}
.snap-card{flex:0 0 39%;min-width:240px;display:flex;gap:14px;padding:18px 17px;border:1px solid var(--line);border-radius:12px;background:var(--panel-dark);transition:border-color .3s,background .3s}
.snap-card.active{background:#e5c68109;border-color:#b2a16955}
.step-number{font-family:var(--mono);font-size:22px;line-height:1.2;color:#697661;letter-spacing:-1px}
.snap-card.active .step-number{color:var(--gold)}
.snap-card h3{font-size:15px;font-weight:600;margin:0 0 5px}
.snap-card p{font-size:13px;line-height:1.8;color:var(--dim)}
.drag-hint{margin-left:auto;align-self:center;color:#606b56}.drag-hint .icon{width:12px;height:18px}
.timeline-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:13px}
.timeline-bottom>span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.timeline-bottom .icon{width:11px;height:11px}
.step-dots{display:flex;gap:1px}
.step-dots button{background:none;border:0;padding:12px 6px;min-width:25px;min-height:30px;position:relative}
.step-dots button::after{content:"";display:block;width:5px;height:5px;background:#536049;border-radius:5px;transition:width .3s,background .3s}
.step-dots button.on::after{width:18px;background:var(--gold)}
.chain-receipt{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:19px;padding:16px 21px;border:1px solid var(--line-soft);border-radius:14px;background:#252d22}
.chain-receipt .icon{color:var(--green);width:20px;height:20px}
.chain-receipt>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}
.chain-receipt b{display:block;font-size:14px;font-weight:500}
.chain-receipt small{color:var(--muted);font-size:12px;display:block;margin-top:3px}
.chain-receipt a{display:flex;gap:6px;align-items:center;color:var(--dim);font-size:13px;white-space:nowrap}
.chain-receipt a .icon{width:12px;height:12px;color:var(--dim)}
.feature-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;overflow:hidden;background:radial-gradient(ellipse at 85% 30%,#54613c3d,transparent 62%),linear-gradient(120deg,#222b20,#1b2019);border:1px solid #414937;border-radius:var(--radius);padding:32px}
.feature-hero .eyebrow{color:var(--gold);margin-bottom:14px}
.feature-hero h2{font-size:32px;line-height:1.45}.feature-hero h2 em{font-style:normal;color:var(--gold-light)}
.feature-hero p.sub{max-width:500px;margin-top:12px}
.feature-hero-copy{max-width:69%}
.feature-orb{width:150px;height:150px;border:1px solid #89926530;border-radius:50%;display:grid;place-items:center;flex-shrink:0;position:relative;box-shadow:0 0 0 20px #a8bd7805,0 0 0 40px #a8bd7804}
.feature-orb::after{content:"";position:absolute;inset:14px;border-radius:50%;border:1px dashed #b3c18a30}
.feature-orb strong{font-size:46px;letter-spacing:-3px;font-weight:500;color:var(--gold-light);line-height:1}
.feature-orb strong small{font-size:20px;letter-spacing:0}
.feature-orb>span{position:absolute;bottom:29px;font-size:12px;color:var(--dim);letter-spacing:1px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:18px}
.metric-card{padding:18px 20px;border:1px solid var(--line-soft);border-radius:15px;background:var(--panel)}
.metric-card .stat-value{font-size:23px;min-width:0;overflow-wrap:anywhere}
.metric-card .stat-value small{font-size:12px}
.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.two-col>.panel{margin-top:18px}
.panel-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.panel-topline h2{margin:0}
.panel-topline>.icon{width:16px;height:16px;color:var(--gold)}
.panel .eyebrow{font-size:12px;margin-bottom:5px}
.row{margin-top:18px}
label.field-label,.row>label{display:flex;justify-content:space-between;font-size:14px;color:var(--dim);margin-bottom:8px}
.row>label>span{font-size:12px;color:var(--muted)}
input.amt,input.txt{width:100%;min-width:0;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#20271d;color:var(--text);transition:border-color .2s,box-shadow .2s}
input.amt{font-size:22px;font-weight:500;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
input.amt::-webkit-inner-spin-button{-webkit-appearance:none}
input.txt{font-size:16px}
input::placeholder{color:#a2af96;font-size:15px;letter-spacing:0;font-weight:400}
.amount-field{position:relative}
.amount-field input{padding-right:70px}
.amount-field>span{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--muted)}
.quick{display:flex;gap:7px;margin:10px 0 18px}
.quick button{position:relative;min-width:0;flex:1;padding:9px 5px;min-height:36px;color:var(--dim);border:1px solid var(--line);border-radius:8px;background:var(--panel-dark);font-size:13px;transition:background .2s,border-color .2s,color .2s}
.quick button:hover,.quick button.on{background:#e5c6810c;border-color:#a98f555e;color:var(--gold)}
.action-row{display:flex;gap:9px}.action-row>*{flex:1;min-width:0}
.action-slot{min-height:47px;display:flex;justify-content:center;align-items:center;margin-top:16px}
.action-slot>.btn{min-height:46px}
.kv{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--line-soft);font-size:14px}
.kv:last-child{border:0}.kv>span{color:var(--dim)}.kv>b{font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}
.rule-note{display:flex;gap:9px;align-items:flex-start;background:#e5c68107;border:1px solid #e5c68115;border-radius:10px;padding:12px 14px;font-size:13px;color:var(--dim);line-height:1.9;margin-top:16px}
.rule-note .icon{width:14px;height:14px;color:var(--gold);margin-top:3px}
.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:165px;padding:20px;gap:8px;color:var(--muted)}
.empty-icon{width:43px;height:43px;display:grid;place-items:center;background:#b6d5a508;border:1px solid var(--line);border-radius:13px;margin-bottom:4px}
.empty-icon .icon{width:20px;height:20px;color:#8e9d80}
.empty-state h3{font-size:15px;color:var(--dim);font-weight:500}
.empty-state p{font-size:13px;max-width:300px;line-height:1.9}
.login-note{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e5c6812b;background:#e5c68108;border-radius:12px;padding:14px 17px;margin-top:19px}
.login-note p{font-size:14px;color:var(--dim)}
.login-note .btn{white-space:nowrap}
.claim-card{margin-top:18px;padding:19px;background:linear-gradient(120deg,#323a28,#252e20);border:1px solid #e5c68124;border-radius:14px}
.claim-card .stat-value{color:var(--gold);margin:6px 0 10px;font-size:29px}
.claim-card .btn{width:100%}
.table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin}
table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}
th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line-soft)}
th{font-size:12px;color:var(--muted);font-weight:500}td{color:var(--dim)}
th:first-child,td:first-child{padding-left:0}
.status-pill{padding:3px 7px;border:1px solid currentColor;border-radius:5px;font-size:12px}
.game-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:18px;align-items:start}
.game-layout>.panel{margin:0}
.game-overview{position:relative;min-height:266px;padding:27px;border:1px solid #414937;background:radial-gradient(ellipse at 65% 40%,#6d704b38,transparent 70%),#20271d;border-radius:var(--radius);overflow:hidden}
.game-overview .game-art{position:absolute;right:9%;top:34px;transform:scale(1.7);width:110px;margin:0}
.game-overview h2{font-size:27px;margin-top:27px;max-width:60%}
.game-overview>p{color:var(--dim);font-size:14px;margin-top:8px;max-width:55%}
.game-overview .badge{font-size:12px}
.game-live{display:flex;justify-content:space-between;align-items:flex-end;margin-top:29px;position:relative}
.game-live .stat-label{font-size:12px}
.game-live .count{font-family:var(--mono);font-size:27px;letter-spacing:-1px;color:var(--gold);line-height:1.1}
.game-live>span{font-size:12px;color:var(--muted)}
.choice-row{display:flex;gap:10px;margin:18px 0}
.choice{position:relative;flex:1;min-width:0;padding:16px 8px;border:1px solid var(--line);border-radius:13px;background:var(--panel-dark);text-align:center;transition:transform .3s var(--ease),border-color .25s,background .25s}
.choice:hover{transform:translateY(-2px);border-color:#717a61}
.choice.sel{border-color:var(--gold);background:linear-gradient(140deg,#e5c68119,#e5c68104);box-shadow:inset 0 0 0 1px #e5c68120}
.choice .t{font-size:26px;font-weight:600;line-height:1.4}.choice .o{font-family:var(--mono);font-size:13px;color:var(--muted);margin-top:5px}
.choice.red .t{color:var(--red)}.choice.green .t{color:var(--green)}
.choice .choice-check{position:absolute;right:7px;top:6px;width:15px;height:15px;border-radius:50%;background:var(--gold);display:grid;place-items:center;color:var(--bg);transform:scale(0);transition:transform .3s cubic-bezier(.2,1.5,.4,1)}
.choice.sel .choice-check{transform:scale(1)}.choice-check .icon{width:10px;height:10px}
.wheel-caption{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin:18px 0 4px}.wheel-caption .icon{width:11px;height:11px}
.amount-wheel{height:73px;overflow:hidden;position:relative;touch-action:pan-y;cursor:grab;user-select:none;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.amount-wheel:active{cursor:grabbing}
.amount-wheel::before{content:"";position:absolute;left:50%;transform:translateX(-50%);top:1px;width:7px;height:5px;background:var(--gold);clip-path:polygon(0 0,100% 0,50% 100%);z-index:2}
.amount-wheel::after{content:"";position:absolute;left:50%;transform:translateX(-50%);height:31px;top:10px;border-left:1px solid var(--gold);pointer-events:none;opacity:.8}
.wheel-track{display:flex;width:max-content;will-change:transform}
.wheel-tick{position:relative;flex:0 0 62px;height:72px;text-align:center;color:var(--muted)}
.wheel-tick i{display:block;width:1px;height:17px;background:#637058;margin:13px auto 9px;position:relative}
.wheel-tick i::before,.wheel-tick i::after{content:"";position:absolute;top:7px;height:10px;width:1px;background:#3e4b34;left:-20px}.wheel-tick i::after{left:20px}
.wheel-tick b{font-family:var(--mono);font-size:12px;font-weight:400;transition:color .2s}
.wheel-tick.active{color:var(--gold)}.wheel-tick.active i{background:var(--gold)}
.bet-summary{margin-top:12px;padding:15px;border:1px solid var(--line-soft);border-radius:11px;background:var(--panel-dark);display:flex;justify-content:space-between;align-items:center;gap:14px}
.bet-summary>span{color:var(--dim);font-size:13px}
.bet-summary strong{font-size:22px;color:var(--gold);font-weight:500;letter-spacing:-.5px}
.bet-summary strong small{font-size:13px;margin-left:4px;color:var(--dim)}
.bet-summary small.sub{font-size:12px;display:block;color:var(--muted)}
.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--dim);font-size:13px;min-height:35px;margin-top:-7px;margin-bottom:11px}
.back-link .icon{width:13px;height:13px}
.records-list{display:grid;gap:10px;margin-top:15px}
.record-card{border:1px solid var(--line-soft);background:var(--panel-dark);border-radius:12px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:12px}
.record-head{display:flex;align-items:center;gap:8px;font-size:14px}
.record-head b{font-weight:500}.record-time{color:var(--muted);font-size:12px;margin-top:7px}
.record-result{text-align:right;font-size:16px;font-variant-numeric:tabular-nums}.record-result small{display:block;font-size:12px;color:var(--dim);margin-top:5px}
.record-chain{grid-column:1/-1;border-top:1px solid var(--line-soft);padding-top:9px;color:var(--muted);font-size:12px;display:flex;gap:8px;justify-content:space-between;min-width:0}
.record-chain a{overflow-wrap:anywhere}
.lottery-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px}
.lottery-summary{padding:30px;border:1px solid #414937;border-radius:var(--radius);background:radial-gradient(ellipse at 80% 20%,#68592c40,transparent 65%),#23291e;display:flex;flex-direction:column}
.lottery-summary h2{font-size:31px;line-height:1.4;margin-top:12px}
.pool-amount{font-size:43px;font-weight:500;letter-spacing:-1.8px;color:var(--gold-light);margin:15px 0 11px;font-variant-numeric:tabular-nums}
.pool-amount small{font-size:16px;letter-spacing:0;color:var(--dim);margin-left:8px}
.lottery-summary .sub{font-size:14px;max-width:440px}
.draw-clock{display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid #525c3b;margin-top:auto;gap:15px}
.draw-clock>span{color:var(--dim);font-size:13px;display:flex;align-items:center;gap:6px}
.draw-clock>span .icon{width:13px;height:13px}
.draw-clock>b{font-family:var(--mono);font-weight:400;font-size:21px;color:var(--gold-light)}
.lottery-layout .hero-lottery{padding:20px 24px}
.lottery-layout .fan-stage{height:252px}
.lottery-layout .fan-card{height:184px;width:150px;bottom:20px}
.lottery-layout .fan-card strong{font-size:46px;margin-top:35px}
.lottery-layout .fan-tier{margin-top:14px}
.burn-preview{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border:1px solid #e5c68122;border-radius:12px;background:#e5c68108;transition:background .4s}
.burn-preview .progress-ring{width:43px;height:43px}
.burn-preview>div>span{font-size:13px;color:var(--dim)}
.burn-preview strong{font-size:23px;font-weight:500;color:var(--gold);margin-right:4px;line-height:1.6}
.burn-preview small{font-size:13px;color:var(--dim)}
.burn-preview .field-error{margin:0;font-size:12px}
.ticket-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:9px;margin-top:15px}
.ticket{padding:12px 10px;border:1px dashed #83754e;border-radius:9px;background:linear-gradient(130deg,#343527,#252a1f);color:var(--gold-light);font-family:var(--mono);font-size:15px;position:relative;text-align:center}
.ticket small{font-family:var(--font);font-size:12px;display:block;color:var(--dim);margin-top:4px}
.draw-history{border:1px solid var(--line-soft);border-radius:12px;overflow:hidden;margin-top:10px}
.draw-history summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px;font-size:14px;background:var(--panel-dark)}
.draw-history summary small{font-size:12px;color:var(--muted)}
.draw-history-body{padding:0 16px 15px;font-size:13px;color:var(--dim);overflow-wrap:anywhere}
.draw-history .kv{font-size:13px}
.invite-share{position:relative;margin-top:21px;padding:20px;border:1px solid #e5c68120;border-radius:15px;background:#2a3425}
.invite-share .copyrow{display:flex;gap:8px;margin-top:10px}
.copyrow input{background:#20271d;border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0;flex:1;font-family:var(--mono);font-size:14px;color:var(--dim)}
.copyrow .btn{white-space:nowrap}
.invite-code{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;font-size:14px;color:var(--dim)}
.invite-code b{font-family:var(--mono);letter-spacing:2px;color:var(--gold);font-size:17px;font-weight:400}
.invite-code .text-btn{font-size:13px;min-height:36px}
.asset-balance{padding:29px;background:radial-gradient(ellipse at 95% 10%,#58633c40,transparent 70%),#232c1f;border:1px solid #4b573d;border-radius:var(--radius)}
.asset-balance h2{font-size:16px;font-weight:500;color:var(--dim);display:flex;align-items:center;gap:10px}
.asset-balance .asset-value{font-size:43px;font-weight:500;line-height:1.5;margin:12px 0 20px;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.asset-value small{font-size:17px;color:var(--dim);margin-left:7px}
.asset-chips{display:flex;gap:10px;flex-wrap:wrap}
.asset-chips>a{display:flex;align-items:center;gap:7px;padding:9px 13px;background:#ffffff09;border:1px solid #ffffff13;border-radius:9px;font-size:13px;color:var(--text)}
.asset-chips>a .icon{width:14px;height:14px}
.wallet-network{display:flex;align-items:center;gap:10px;padding:13px;background:var(--panel-dark);border:1px solid var(--line);border-radius:10px;margin-top:16px;font-size:14px}
.wallet-network .icon{color:var(--gold)}
.wallet-network small{display:block;font-size:12px;color:var(--muted)}
.wallet-network .badge{margin-left:auto}
.wallet-unavailable{padding:15px 0 0;font-size:13px;color:var(--muted)}
.filter-records{display:flex;gap:6px;flex-wrap:wrap}
.loading-shell{min-height:450px;display:grid;place-items:center}
.loading-box{display:flex;align-items:center;flex-direction:column;gap:17px;color:var(--dim);font-size:15px}
.skeleton{height:16px;border-radius:8px;background:linear-gradient(90deg,#242d20,#303b28,#242d20);background-size:200% 100%;animation:shimmer 1.4s infinite}
.page-loading-bar{position:fixed;z-index:150;top:0;left:var(--sidebar-width);right:0;height:2px;background:var(--gold);transform-origin:left;animation:load-bar 1.5s var(--ease) infinite}
.page-error{max-width:500px;margin:70px auto;text-align:center;padding:36px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}
.page-error>.icon{width:30px;height:30px;color:var(--gold);margin-bottom:12px}
.page-error h2{font-size:20px}.page-error p{font-size:15px;color:var(--dim);margin:12px 0 22px}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1474px;margin:0 auto;padding:26px 38px 33px;border-top:1px solid var(--line-soft);color:var(--muted)}
.footer-brand{font-size:19px;letter-spacing:-1px;font-weight:700;color:var(--dim);white-space:nowrap}.footer-brand small{font-size:12px;letter-spacing:1.5px;display:block}
footer p{font-size:12px;line-height:1.9;max-width:600px}
.footer-end{font-size:12px;white-space:nowrap}
.mobile-nav{display:none}
.modal-bg{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#070b07c9;backdrop-filter:blur(12px);padding:20px;opacity:0;transition:opacity .22s;overflow-y:auto}
.modal-bg.open{opacity:1}
.modal{position:relative;background:linear-gradient(145deg,#252c22,#191f17);border:1px solid #46513c;border-radius:24px;padding:32px;width:min(420px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;transform:translateY(18px) scale(.97);transition:transform .35s var(--ease);box-shadow:0 35px 100px #0006}
.modal-bg.open .modal{transform:none}
.modal-close{position:absolute;right:18px;top:18px;border:0;color:var(--dim);font-size:22px;width:32px;height:32px}
.modal-logo{font-size:32px;font-weight:800;letter-spacing:-3px;margin-bottom:14px}
.modal .eyebrow{font-size:12px;color:var(--gold);margin-bottom:8px}
.modal h2{font-size:27px;margin-bottom:7px}
.modal .sub{font-size:14px}
.modal .row{margin-top:20px}
.password-field{position:relative}.password-field input{padding-right:49px}
.password-field>.icon-btn{position:absolute;right:4px;top:3px;border:0;color:var(--muted)}
.field-error{color:var(--red);font-size:14px;line-height:1.7;margin:12px 0 0;min-height:0}
.field-error:empty{display:none}
.modal .btn.full{margin-top:22px;min-height:46px}
.switch{margin-top:19px;color:var(--muted);font-size:14px;text-align:center}
.switch button{border:0;background:none;color:var(--gold);font-size:14px;padding:8px}
body.modal-open{overflow:hidden}
.toast-region{position:fixed;left:calc(50% + var(--sidebar-width)/2);bottom:28px;transform:translateX(-50%);z-index:500;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;max-width:calc(100vw - 40px)}
.toast{display:flex;align-items:center;gap:10px;max-width:100%;padding:12px 18px;border:1px solid #5a664d;border-radius:12px;box-shadow:0 10px 30px #0005;color:var(--text);background:#283021ef;backdrop-filter:blur(20px);font-size:15px;transform:translateY(16px) scale(.96);opacity:0;transition:transform .28s var(--ease),opacity .25s}
.toast.visible{opacity:1;transform:none}
.toast .icon{width:17px;height:17px;color:var(--gold)}
.toast.error{border-color:#9e5b4b;background:#3a2823ef}.toast.error .icon{color:var(--red)}
.toast.success .icon{color:var(--green)}
.button-spinner{width:15px;height:15px;border:1.8px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .65s linear infinite}
.action-btn.is-loading{width:var(--action-width);pointer-events:none}
.action-btn.is-success{width:46px!important;min-width:46px!important;height:46px;padding:0!important;border-radius:50%;background:var(--green);color:#21391b;flex:0 0 auto!important}
.success-check{width:31px;height:31px;overflow:visible}
.success-check path{stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:draw-check .35s .18s var(--ease) forwards}
.feedback-particle{position:fixed;z-index:450;width:4px;height:4px;border-radius:2px;pointer-events:none}
.press-ripple{position:absolute;z-index:-1;pointer-events:none;width:9px;height:9px;border-radius:50%;background:currentColor;opacity:.16;transform:translate(-50%,-50%);animation:ripple .5s ease-out forwards}
.number-changed{animation:number-shift .35s var(--ease)}
.route-veil{position:fixed;inset:0;pointer-events:none;z-index:100;display:none}
::view-transition-group(root){animation-duration:480ms}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2}
html[data-reverse-transition="true"]::view-transition-old(root){z-index:2}
html[data-reverse-transition="true"]::view-transition-new(root){z-index:1}
@keyframes card-arrive{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@keyframes draw-check{to{stroke-dashoffset:0}}
@keyframes ripple{to{width:400px;height:400px;opacity:0}}
@keyframes number-shift{0%{transform:translateY(4px);opacity:.35}100%{transform:none;opacity:1}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes shimmer{to{background-position:-200% 0}}
@keyframes load-bar{0%{transform:scaleX(.1)}70%{transform:scaleX(.85)}100%{transform:scaleX(1);opacity:0}}
@media(min-width:1700px){.wrap{padding-top:38px}.home-hero{grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr)}.hero-main{min-height:315px;padding:35px}.hero-main h2{font-size:46px}.fan-stage{height:227px}.fan-card{width:146px;height:179px;bottom:18px}.fan-card strong{font-size:43px;margin-top:31px}.game-art{height:112px}.game-card{padding:18px 20px}.game-card h3{font-size:17px}}
@media(max-width:1200px){:root{--sidebar-width:194px}.sidebar{padding:30px 12px 18px}.logo{gap:9px;margin-left:10px}.logo-word{font-size:12px;letter-spacing:1.4px}.logo-word small{font-size:12px;letter-spacing:0}.topbar{padding:0 25px}.wrap{padding:25px}.home-hero{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.hero-main{padding:25px}.hero-main h2{font-size:32px}.hero-copy{max-width:69%}.hero-copy>p{font-size:13px}.hash-visual{right:-25px;width:40%;transform:scale(.9)}.games{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-value{font-size:21px}.strip-stat{padding:0 16px}.stat-value.mono{font-size:18px}.catalog-types{gap:9px}.metric-card{padding:16px}.metric-card .stat-value{font-size:20px}.feature-hero h2{font-size:29px}.game-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}footer{padding:26px 25px}.footer-end{display:none}}
@media(max-width:1000px){.home-hero{grid-template-columns:minmax(0,1fr)}.hero-main{min-height:265px}.hero-main h2{font-size:38px}.hero-copy>p{font-size:14px}.hero-copy{max-width:64%}.hash-visual{right:15px;transform:scale(1.05);width:37%}.hero-lottery{display:none}.lottery-layout .hero-lottery{display:block}.catalog-tools{gap:8px}.catalog-types{gap:13px}.game-layout{grid-template-columns:1fr}.game-overview{min-height:245px}.game-overview .game-art{right:15%;top:45px;transform:scale(1.9)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-orb{width:125px;height:125px}.feature-orb strong{font-size:37px}.feature-orb>span{bottom:20px}.lottery-layout{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}.lottery-layout .fan-card{width:125px;height:168px}.lottery-layout .prize-fan.expanded .fan-card-0{transform:translateX(calc(-50% - 45px)) rotate(-17deg)}.lottery-layout .prize-fan.expanded .fan-card-2{transform:translateX(calc(-50% + 45px)) rotate(17deg)}.lottery-summary{padding:25px}.lottery-summary h2{font-size:26px}.pool-amount{font-size:34px}.two-col{gap:14px}.two-col>.panel{padding:19px}.copyrow{flex-wrap:wrap}.copyrow input{flex-basis:100%}.copyrow .btn{flex:1}}
@media(max-width:760px){
  :root{--sidebar-width:0px;--radius:18px}
  body{font-size:16px;background:radial-gradient(ellipse at 80% 0,#29312135,transparent 600px),var(--bg)}
  .sidebar{display:none}.workspace{margin:0}.topbar{height:68px;padding:0 18px;gap:13px}.mobile-logo{display:block;font-size:29px;letter-spacing:-3.4px}
  .breadcrumb{margin-right:auto;font-size:14px;gap:9px}.breadcrumb>span,.breadcrumb>i{display:none}
  .topbar-right{gap:13px}.chain-chip{font-size:12px;gap:6px}.chain-chip-extra{display:none}.top-right{gap:6px}
  .top-right .btn{min-height:34px;font-size:13px;padding:7px 13px;border-radius:8px}
  .user-chip{gap:6px}.user-avatar{width:27px;height:27px;border-radius:8px;font-size:14px}
  .user-chip .user-info>b{max-width:65px;display:block;overflow:hidden;text-overflow:ellipsis;font-size:13px}
  .user-chip small{font-size:12px}.logout-btn{width:26px;height:30px}
  .wrap{padding:22px 18px 28px;min-height:calc(100dvh - 210px)}
  .page-intro{margin-bottom:17px;gap:10px}.page-intro h1{font-size:24px;letter-spacing:-.7px}.page-intro p{font-size:13px;margin-top:4px}.page-intro .intro-side{font-size:12px}.page-intro .intro-side .optional{display:none}
  .home-hero{gap:14px}.hero-main{min-height:256px;padding:23px}.hero-main h2{font-size:33px;letter-spacing:-1.4px}.hero-copy{max-width:72%}.hero-kicker{font-size:12px;letter-spacing:1.1px;margin-bottom:14px}
  .hero-copy>p{font-size:13px;max-width:250px;line-height:1.9;margin-top:11px}.hero-actions{margin-top:21px;gap:8px}.hero-actions .btn{min-height:37px;padding:8px 13px;font-size:13px}
  .hash-visual{right:-25px;top:17px;width:37%;transform:scale(.85);transform-origin:right center}.hash-orbit{width:190px;height:190px}.hash-orbit.two{width:155px;height:155px}.hash-cube{width:99px;height:99px;border-radius:24px}.hash-cube .icon{width:62px;height:62px}.hash-tag{left:0;bottom:12px;font-size:12px;padding:5px 7px}
  .stats-strip{padding:19px 0;margin-bottom:0;grid-template-columns:repeat(4,minmax(0,1fr))}.strip-stat{padding:0 12px}.strip-stat:first-child{padding-left:2px}.stat-label{font-size:12px;gap:4px;margin-bottom:6px}.stat-label .icon{width:10px;height:10px}.stat-value{font-size:20px;line-height:1.2}.stat-value small{font-size:12px;display:block;margin:6px 0 0;white-space:nowrap}.stat-value.mono{font-size:18px}
  .stats-strip .block-stat .stat-value{font-size:15px;letter-spacing:-.5px;line-height:1.8}
  .section-heading{margin-bottom:15px;gap:10px}.section-heading h2{font-size:18px}.section-heading .sub{font-size:12px}
  .catalog{margin-top:23px}.catalog-tools{margin-bottom:13px;gap:8px;align-items:flex-start}.filter-tabs{padding:3px;gap:2px;border-radius:9px}.filter-tab{font-size:12px;padding:6px 10px;min-height:34px}.filter-tab .icon{width:11px;height:11px}
  .catalog-types{gap:13px;order:3;width:100%;padding-left:1px}.type-check{font-size:13px;gap:6px;min-height:34px}.check-box{width:15px;height:15px}.catalog-summary{font-size:12px;padding-top:7px;gap:5px}
  .games{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.game-card{padding:12px 13px 14px;border-radius:14px}.game-card h3{font-size:16px;margin-top:2px}.game-art{height:100px}.game-card-meta{font-size:12px;margin-top:5px}.game-card-meta b{font-size:12px}.game-index{font-size:12px}.badge{font-size:12px;padding:2px 5px}.card-arrow{display:none}
  .timeline-panel{margin-top:22px;padding:19px 17px}.timeline-panel .section-heading h2{font-size:17px}.timeline-panel .eyebrow{font-size:12px}.timeline-line{margin:16px 0}.snap-card{flex-basis:84%;min-width:0;padding:17px 14px;gap:12px}.snap-card h3{font-size:15px}.snap-card p{font-size:13px}.step-number{font-size:22px}.timeline-bottom>span{font-size:12px}
  .chain-receipt{padding:14px;gap:10px;margin-top:14px;border-radius:12px}.chain-receipt b{font-size:13px}.chain-receipt small{font-size:12px}.chain-receipt a{font-size:12px}.chain-receipt>div:first-child{gap:8px}.chain-receipt>.chain-hash{display:none}
  .panel{padding:20px 18px;margin-top:17px}.panel h2{font-size:17px}.panel .sub{font-size:14px}.panel-topline{margin-bottom:16px}
  .feature-hero{padding:25px 22px;gap:16px;min-height:238px;align-items:center}.feature-hero h2{font-size:27px;letter-spacing:-.8px}.feature-hero-copy{max-width:75%}.feature-hero .eyebrow{font-size:12px;margin-bottom:12px}.feature-hero p.sub{font-size:13px;line-height:1.9;margin-top:10px}.feature-orb{width:91px;height:91px;margin-right:-30px;box-shadow:0 0 0 14px #a8bd7805,0 0 0 28px #a8bd7804}.feature-orb strong{font-size:30px;letter-spacing:-1.7px}.feature-orb strong small{font-size:16px}.feature-orb>span{bottom:12px;font-size:11px}.feature-orb::after{inset:9px}
  .metric-grid{gap:10px;margin-top:13px}.metric-card{padding:15px 16px;border-radius:13px}.metric-card .stat-label{font-size:12px}.metric-card .stat-value{font-size:23px}.metric-card .stat-value small{display:inline-block;margin-left:4px;font-size:12px}
  .two-col{grid-template-columns:1fr;gap:0}.two-col>.panel{padding:20px 18px;margin-top:14px}
  .row{margin-top:17px}.row>label,label.field-label{font-size:14px}input.amt{font-size:25px;padding:14px 15px}input.txt{font-size:18px;padding:13px 14px}
  input::placeholder{font-size:15px}.amount-field>span{font-size:14px}.quick{gap:7px;margin:10px 0 17px}.quick button{font-size:13px;min-height:39px;padding:9px 4px}
  .btn{min-height:44px;font-size:15px;border-radius:10px}.action-slot{min-height:49px}.action-slot .btn{min-height:48px}.action-btn.is-success{height:48px;width:48px!important}
  .rule-note{padding:12px;font-size:13px}.kv{padding:12px 0;font-size:14px}.empty-state{min-height:160px}.empty-state h3{font-size:15px}.empty-state p{font-size:13px}
  .login-note{padding:13px 14px;margin-top:15px;gap:10px}.login-note p{font-size:13px}.login-note .btn{min-height:36px;font-size:13px;padding:8px 12px}
  .game-layout{gap:14px}.game-overview{min-height:238px;padding:23px}.game-overview h2{font-size:25px;margin-top:26px}.game-overview .game-art{right:8%;top:37px;transform:scale(1.6)}.game-overview>p{font-size:13px}.game-live{margin-top:27px}.game-live .count{font-size:24px}.game-live>span{font-size:12px}.choice{padding:17px 7px}.choice .t{font-size:27px}.choice .o{font-size:13px}
  .bet-summary{padding:13px}.bet-summary strong{font-size:24px}.amount-wheel{height:78px}.wheel-tick{height:77px}.wheel-tick b{font-size:13px}.wheel-caption{margin-top:19px}.back-link{margin-top:-9px}
  .record-card{padding:14px;gap:10px}.record-head{font-size:14px}.record-time{font-size:12px}.record-result{font-size:16px}.record-chain{font-size:12px;flex-wrap:wrap}
  .lottery-layout{grid-template-columns:1fr;gap:13px}.lottery-summary{min-height:260px;padding:25px 23px}.lottery-summary h2{font-size:29px}.lottery-summary .eyebrow{font-size:12px}.pool-amount{font-size:39px;margin:13px 0 8px}.pool-amount small{font-size:14px}.lottery-summary .sub{font-size:13px}.draw-clock{margin-top:20px;padding-top:15px}.draw-clock>b{font-size:21px}
  .lottery-layout .hero-lottery{padding:18px 22px 10px}.lottery-layout .fan-stage{height:228px}.lottery-layout .fan-card{width:143px;height:177px;bottom:18px}.lottery-layout .fan-card strong{font-size:42px;margin-top:33px}.lottery-layout .prize-fan.expanded .fan-card-0{transform:translateX(calc(-50% - 67px)) translateY(-4px) rotate(-20deg)}.lottery-layout .prize-fan.expanded .fan-card-2{transform:translateX(calc(-50% + 67px)) translateY(-4px) rotate(20deg)}.fan-toggle{font-size:13px;min-height:43px}
  .ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ticket{padding:13px 5px;font-size:14px}.ticket small{font-size:12px}.draw-history summary{font-size:13px;padding:14px}.draw-history-body{padding:0 14px 13px}
  .invite-share{padding:16px;margin-top:17px}.copyrow{flex-wrap:nowrap}.copyrow input{flex-basis:auto;font-size:13px;padding:12px 10px}.copyrow .btn{flex:none;font-size:13px;padding:9px 12px}.invite-code b{font-size:18px}.invite-code>span{font-size:13px}
  .asset-balance{padding:25px 23px}.asset-balance .asset-value{font-size:39px;margin-bottom:18px}.asset-value small{font-size:16px}.asset-chips{gap:8px}.asset-chips>a{font-size:13px;padding:10px 12px}
  footer{padding:21px 18px calc(100px + env(safe-area-inset-bottom));gap:15px;align-items:flex-start}.footer-brand{font-size:17px}.footer-brand small{font-size:10px;letter-spacing:1px}footer p{font-size:12px;line-height:1.9}
  .mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:80;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#252d22f5;border-top:1px solid #3d4734;backdrop-filter:blur(25px);padding:8px 7px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -10px 25px #0002}
  .mobile-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:48px;border-radius:10px;font-size:12px;color:var(--muted);transition:background .25s,color .25s}
  .mobile-nav a .icon{width:19px;height:19px}.mobile-nav a.on{color:var(--gold);background:#e5c6810a}.mobile-nav a.on::after{content:"";position:absolute;top:-9px;left:50%;width:15px;height:2px;border-radius:3px;transform:translateX(-50%);background:var(--gold)}
  .toast-region{left:50%;bottom:calc(87px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 28px)}.toast{font-size:14px;padding:12px 15px;border-radius:11px}
  .modal-bg{align-items:flex-end;padding:0;background:#070b07bf}
  .modal{border-radius:25px 25px 0 0;padding:28px 24px calc(26px + env(safe-area-inset-bottom));width:100%;max-height:calc(100dvh - 40px);transform:translateY(100%);border-bottom:none}
  .modal-bg.open .modal{transform:translateY(0)}.modal .row{margin-top:20px}.modal .btn.full{min-height:49px}.modal h2{font-size:27px}.modal .sub{font-size:14px}.modal-close{top:17px;right:17px}.password-field>.icon-btn{top:4px}
  .page-loading-bar{left:0}.page-error{padding:30px 21px;margin:40px auto}
}
@media(max-width:370px){.topbar{padding:0 14px;gap:10px}.topbar-right{gap:9px}.wrap{padding:19px 14px 25px}.hero-main{padding:21px 19px;min-height:253px}.hero-main h2{font-size:29px}.hero-copy{max-width:76%}.hero-actions{gap:6px}.hero-actions .btn{font-size:12px;padding:9px 10px}.hash-visual{right:-38px;transform:scale(.72)}.game-card{padding:11px 11px 13px}.game-card h3{font-size:15px}.game-art{height:91px}.game-card-meta{font-size:12px}.catalog-summary{font-size:12px}.filter-tab{padding:6px 8px}.strip-stat{padding:0 8px}.stat-label{font-size:12px}.stat-value{font-size:18px}.stats-strip .block-stat .stat-value{font-size:13px}.feature-hero{padding:23px 19px}.feature-hero h2{font-size:25px}.feature-orb{width:79px;height:79px;margin-right:-33px}.feature-orb>span{bottom:9px}.feature-orb strong{font-size:26px}.feature-hero-copy{max-width:80%}.lottery-layout .fan-card{width:128px}.lottery-layout .prize-fan.expanded .fan-card-0{transform:translateX(calc(-50% - 55px)) rotate(-18deg)}.lottery-layout .prize-fan.expanded .fan-card-2{transform:translateX(calc(-50% + 55px)) rotate(18deg)}.catalog-types{gap:17px}.chain-chip{display:none}.ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick button{font-size:12px}.mobile-nav a{font-size:12px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .game-card{animation:none}.feedback-particle,.press-ripple{display:none}.success-check path{stroke-dashoffset:0}.snap-track,.wheel-track{will-change:auto}
}
/* 小屏的文字和触摸区域单独校准，避免仅把桌面整体缩小。 */
.pool-amount,.asset-value{overflow-wrap:anywhere}
@media(max-width:760px){
  .hero-copy>p{font-size:14px}
  .hero-actions .btn{font-size:14px;min-height:42px}
  .panel .sub,.feature-hero p.sub{font-size:15px}
  .lottery-summary .sub{font-size:14px}
  .filter-tab{min-height:42px;font-size:13px}
  .type-check{min-height:42px;font-size:14px}
  .catalog-types{gap:18px}
  .game-card h3{font-size:16px}
  .game-card-meta{font-size:13px}
  .quick button{min-height:44px;font-size:14px}
  .snap-card p{font-size:14px}
  .snap-card h3{font-size:16px}
  .step-dots button{min-width:40px;min-height:40px}
  .mobile-nav a{font-size:13px}
  .fan-toggle{min-height:44px;font-size:14px}
  .logout-btn{min-width:34px;min-height:38px}
  .modal-close{width:44px;height:44px}
}
@media(max-width:370px){
  .hero-main{min-height:273px}
  .hero-actions .btn{font-size:13px;padding:9px 11px}
  .hero-copy>p{font-size:13px}
  .game-card h3{font-size:16px}
  .mobile-nav a{font-size:12px}
  .hero-copy{max-width:80%}
  .feature-hero-copy{max-width:79%}
  .feature-hero p.sub{font-size:14px}
}
/* 转场快照不拦截点击，连续切换导航时仍由真实页面接收输入。 */
::view-transition,::view-transition-group(root),::view-transition-old(root),::view-transition-new(root){pointer-events:none}
#app{position:relative;z-index:2}
.route-snapshot{background:var(--bg);pointer-events:none!important;user-select:none}
#app{background:var(--bg)}
@media(max-width:1000px){
  .game-layout{display:flex;flex-direction:column;gap:16px}
  .game-layout>div{display:contents}
  .game-layout .game-overview{order:0;width:100%}
  .game-layout>.panel{order:1;width:100%}
  .game-layout>div>.panel{order:2;width:100%;margin-top:0}
}
@media(max-width:760px){
  .wrap[data-page="home"]>.page-intro{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .hero-main{padding:22px;min-height:236px}
  .hero-main h2{font-size:30px;line-height:1.28}
  .hero-kicker{margin-bottom:11px}
  .hero-copy>p{font-size:14px;line-height:1.8;margin-top:10px}
  .hero-actions{margin-top:17px}
  .hero-actions .btn{min-height:40px}
}
@media(max-width:370px){
  .hero-main{padding:20px 18px;min-height:235px}
  .hero-main h2{font-size:28px}
  .hero-copy>p{font-size:13px}
}
@media(max-width:760px){
  .hero-actions{flex-wrap:nowrap;gap:7px}
  .hero-actions .btn{padding:8px 10px;gap:6px;white-space:nowrap}
  .hero-actions .btn .icon{width:14px;height:14px}
}
@media(max-width:370px){
  .hero-actions .btn{font-size:13px;padding:8px 9px}
}
@media(max-width:760px){
  .hero-main{min-height:226px;padding-block:20px}
  .hero-kicker{display:none}
  .stats-strip{padding-block:16px}
  .catalog{margin-top:20px}
}
