/* DAYDAY design tokens. Global style intentionally uses local system fonts and assets. */
:root{color-scheme:dark;--bg:#060d1c;--bg-deep:#040914;--panel:#0c1c3b;--panel-raised:#132a57;--gold:#ffd65a;--gold-bright:#fff1b0;--gold-dark:#8e4b05;--purple:#2e8bff;--text:#f4f8ff;--muted:#b2c4e0;--green:#42ec9d;--danger:#ff6483;--line:rgba(255,207,90,.24);--radius:20px;--nav-height:78px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;--safe-top:max(env(safe-area-inset-top,0px),var(--tg-safe-top,0px));--safe-bottom:max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px));--content-top:var(--tg-content-top,0px)}
*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth;background:var(--bg-deep)}body{margin:0;font-family:var(--font);font-size:15px;line-height:1.55;color:var(--text);background:radial-gradient(ellipse at 85% -5%,#0f2e675c 0,transparent 35%),linear-gradient(125deg,#060e1d,#030913 65%,#060f21);min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button{touch-action:manipulation}a{color:var(--gold);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f8dc87;outline-offset:4px}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.25}h1{font-size:22px}h2{font-size:21px}h3{font-size:18px}p+p{margin-top:12px}ul,ol{padding-left:22px;margin:10px 0}li+li{margin-top:8px}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0}.ui-icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.ambient{position:fixed;pointer-events:none;inset:0;z-index:0;overflow:hidden;background:linear-gradient(156deg,transparent 8%,#0d2a5e33 8.2%,transparent 18%),linear-gradient(335deg,transparent 30%,#0e2c6322 30.2%,transparent 42%)}.ambient:before{content:"";position:absolute;width:120%;height:280px;left:-20%;top:-200px;border:1px solid #4599ff;border-radius:50%;transform:rotate(-23deg);box-shadow:0 0 13px #207ef0,0 0 60px #126ede90}.app-stage{position:relative;max-width:600px;margin:0 auto;min-height:100vh;padding:calc(var(--safe-top) + var(--content-top)) 15px calc(var(--nav-height) + var(--safe-bottom) + 8px)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:82px;position:relative;z-index:5}.brand-logo{width:49%;max-width:238px;flex-shrink:1;padding:8px 0}.brand-logo img{width:100%}.header-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}.icon-btn{width:38px;height:38px;padding:8px;display:inline-flex;align-items:center;justify-content:center;background:#0c193170;border:1px solid #ad78384d;border-radius:50%;color:var(--gold);flex-shrink:0}.icon-btn:hover{background:#1d345e}.notification-btn{border:0;background:transparent;position:relative;width:29px;padding:3px}.notification-btn .ui-icon{width:25px;height:25px}.notification-btn i{position:absolute;right:0;top:2px;width:8px;height:8px;border-radius:50%;background:linear-gradient(#ff6a48,#da0b1f);box-shadow:0 0 5px #ff4240}.language-switch{display:flex;align-items:center;gap:5px;padding:4px 8px;color:var(--gold);border:1px solid #f5c14d;border-radius:22px;background:linear-gradient(#152645,#060d1c);box-shadow:0 0 7px #ffb51b38,inset 0 1px 2px #ffedb644;font-size:12px;font-weight:700;min-height:32px}.language-switch .ui-icon{width:17px;height:17px}.language-chevron{font-size:14px;line-height:1}.header-profile{width:43px;height:45px;border:0;background:none;padding:0;position:relative}.header-profile img{width:39px;height:39px;border-radius:50%;border:2px solid #ffd55b;box-shadow:0 0 10px #ffd00064;object-fit:cover}.header-profile span{position:absolute;bottom:0;left:0;right:3px;text-align:center;line-height:1.3;font-size:10px;font-weight:900;letter-spacing:.6px;color:#211006;background:linear-gradient(#fff0ad,#ffc231);border-radius:7px;border:1px solid #ffe17f}.inner-header{padding:9px 0 18px;min-height:82px}.inner-header:after{position:absolute;content:"";height:1px;bottom:8px;left:0;right:0;background:linear-gradient(90deg,transparent,#eac05c88,#318bf9cc,transparent);box-shadow:0 0 9px #2a87f8}.page-heading{display:flex;align-items:center;gap:10px;min-width:0}.page-heading h1{font-size:20px;color:var(--gold-bright);letter-spacing:.04em}.inner-header .header-profile{display:none}.inner-header .notification-btn{display:none}.back-btn{width:34px;height:34px;background:linear-gradient(140deg,#162644,#080f1d);border-color:#a7773c99}.main-content{outline:0;min-width:0}.app-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px 3px 12px;font-size:9px;letter-spacing:1.2px;color:#74859f}.app-foot button{background:none;border:0;color:#b8c6db;font-size:10px;letter-spacing:0;padding:7px 0}.desktop-sidebar{display:none}.bottom-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);height:calc(var(--nav-height) + var(--safe-bottom));padding:7px 12px calc(8px + var(--safe-bottom));background:radial-gradient(ellipse at 50% 100%,#0e3c8085,transparent 70%),linear-gradient(170deg,#0a1730f5,#050e1ef8 60%,#0a162bf8);border-top:2px solid #f8d272;border-bottom:1px solid #ffcf6690;box-shadow:0 -2px 4px #fff3a76b,0 -6px 22px #1a78ec70,inset 0 1px 8px #f8ba5629;backdrop-filter:blur(18px)}.bottom-nav:before{content:"";position:absolute;height:3px;width:45%;top:-3px;left:28%;background:linear-gradient(90deg,transparent,#63a9ff,#f5f9fe,#58a3ff,transparent);box-shadow:0 0 14px 3px #006cef;border-radius:50%;pointer-events:none}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border:0;background:transparent;color:#c5cfdf;font-size:12px;min-width:0;padding:0 4px 5px;line-height:1.25}.nav-art{position:relative;width:32px;height:31px;display:block;margin:0 auto 5px}.nav-art img{position:absolute;width:66px;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%)}.nav-item:last-child .nav-art img{width:52px}.nav-item.is-active{color:#ffe575;font-weight:800;text-shadow:0 0 12px #f4b022}.nav-item.is-active .nav-art{filter:drop-shadow(0 0 5px #ffc21b) drop-shadow(0 0 12px #ffc21b99)}.nav-item.is-active:after{content:"";position:absolute;bottom:0;left:calc(50% - 13px);width:26px;height:3px;border-radius:3px;background:#ffdb4c;box-shadow:0 0 7px #ffd43d,0 0 16px #f9af1c}.gold-card,.purple-card{position:relative;isolation:isolate;border-radius:var(--radius);min-width:0;overflow:hidden}.gold-card{border:1.3px solid #ffc95b;background:radial-gradient(ellipse at 14% -20%,#0e54aa30,transparent 50%),linear-gradient(148deg,#111d34,#060e1d 60%,#08142b);box-shadow:0 0 3px #fff0c083,0 0 16px #f4a91926,inset 0 0 12px #ed8f1d15}.gold-card:before{content:"";position:absolute;z-index:2;pointer-events:none;left:12%;right:10%;top:0;height:1px;background:linear-gradient(90deg,transparent,#fff8d0 12%,#ffb421 30%,#5ca5ff 66%,transparent);box-shadow:0 0 7px #ffcf59}.purple-card{border:1px solid #6283b552;background:linear-gradient(135deg,#111d34,#080f1c)}.card-pad{padding:23px}.page-stack{display:flex;flex-direction:column;gap:20px}.page-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}.section-title{font-size:20px;color:#fff4db;margin-bottom:16px}.section-title:before{content:"";display:inline-block;width:3px;height:19px;margin-right:10px;border-radius:3px;background:var(--gold);vertical-align:-3px;box-shadow:0 0 8px #f5b92e}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 14px}.section-head h2{font-size:20px}.section-head>span,.section-head>a{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;gap:4px}.eyebrow{font-size:11px;text-transform:uppercase;color:var(--gold);letter-spacing:2.6px;font-weight:800;margin-bottom:8px}.muted{color:var(--muted)}.gold-text{color:var(--gold)}.green-text{color:var(--green)}.danger-text{color:var(--danger)}.small{font-size:12px;line-height:1.7}.money{font-variant-numeric:tabular-nums;letter-spacing:.02em}.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 21px;border:1px solid transparent;border-radius:24px;font-weight:750;line-height:1.25;text-align:center;transition:filter .15s,transform .15s,box-shadow .15s;text-decoration:none}.btn:hover:not(:disabled){filter:brightness(1.13)}.btn:active:not(:disabled){transform:translateY(1px);filter:brightness(.93)}.btn-gold{color:#301306;background:linear-gradient(180deg,#fff5c5 0,#ffe477 17%,#ffd449 43%,#ffb715 78%,#f7b12a 94%,#ffe78e 100%);border-color:#ffefae;box-shadow:0 0 7px #ffd53f87,0 3px 12px #d8771a5c,inset 0 1px 1px #fff9de,inset 0 -2px 2px #d87c21;font-weight:850;text-shadow:0 1px #ffe77f}.btn-gold:active,.btn-gold.is-pressed{background:linear-gradient(#ad650a,#e7a51e 22%,#fbd054 64%,#ffc53c);box-shadow:0 0 5px #ffd54966,inset 0 2px 5px #553009;text-shadow:none}.btn-gold:disabled{background:linear-gradient(#715b43,#645336);border-color:#9d8255;color:#e4d6bb;box-shadow:none;opacity:.64;text-shadow:none}.btn-outline{border-color:#d6ac595e;color:var(--gold-bright);background:linear-gradient(140deg,#152441,#0c162a);box-shadow:inset 0 1px 0 #dab97012}.btn-ghost{background:transparent;color:var(--gold);padding:6px 8px}.btn-blue{color:#fff;background:linear-gradient(#5473e4,#283d96);border-color:#9dacf4;box-shadow:0 0 10px #5168d866}.btn-sm{min-height:32px;font-size:12px;padding:6px 12px;gap:4px}.btn-sm .ui-icon{width:16px;height:16px}.btn-block{display:flex;width:100%}.btn:disabled{opacity:.6}.field{margin-bottom:18px}.field-label{display:block;font-size:14px;color:#c2cee0;margin-bottom:9px;font-weight:600}.input,input[type="number"],select,textarea{background:#09101ccc;border:1px solid #987d4f77;color:var(--text);border-radius:12px;padding:13px 14px;width:100%;min-width:0;outline:none}.input:focus,input[type="number"]:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px #ffca3d15}input::placeholder,textarea::placeholder{color:#7c8aa0}textarea{resize:vertical;min-height:100px}.amount-input{display:flex;align-items:center;gap:10px;padding:17px 20px;border:1px solid #85633780;border-radius:16px;background:#060c18}.amount-input>span{font-size:23px;color:#95accf;font-weight:750}.amount-input input{font-size:38px;font-weight:800;line-height:1.1;border:0!important;box-shadow:none!important;background:none;padding:0;min-width:0;outline:none}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.choice{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:10px;border:1px solid #89674085;border-radius:12px;background:linear-gradient(135deg,#16243d,#0b162a);color:#e9f1fd;font-weight:700}.choice.is-active{border-color:#ffe399;color:#ffdf73;background:radial-gradient(ellipse at 50% 100%,#8c462141,#122547);box-shadow:0 0 8px #e7ae2942,inset 0 0 14px #bb79202a}.choice input{accent-color:var(--gold)}.tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:3px 1px 7px}.tabs::-webkit-scrollbar{display:none}.tab{flex:0 0 auto;min-height:38px;padding:8px 19px;border:1px solid #b28d4f69;background:#0d1729;border-radius:22px;color:var(--muted);font-size:13px;font-weight:700}.tab.is-active{color:#2b0c1c;background:linear-gradient(#ffefae,#ffd653 50%,#efae26);border-color:#ffedb0;box-shadow:0 0 9px #edb33743}.divider{height:1px;background:linear-gradient(90deg,#a7833d66,#54719d47,#a7833d66);margin:19px 0}.info-box{display:flex;align-items:flex-start;gap:12px;padding:17px 18px;border:1px solid #6277975e;border-radius:16px;background:linear-gradient(140deg,#162239,#121228);color:#bdcadd;line-height:1.7;font-size:13px}.info-box>.ui-icon{color:#a4c0eb;margin-top:2px}.row{display:flex;align-items:center;gap:12px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat{min-width:0}.stat>span,.stat>small{font-size:12px;color:var(--muted);display:block;margin-bottom:5px}.stat>strong{font-size:25px;color:var(--text);display:block;font-variant-numeric:tabular-nums}.progress-track{height:8px;overflow:hidden;border-radius:20px;background:#53617633;box-shadow:inset 0 1px 3px #02050b80}.progress-fill{display:block;height:100%;background:linear-gradient(90deg,#b97620,#ffe384);border-radius:inherit;box-shadow:0 0 11px #ffc54766}.list-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid #8999b022;min-width:0}.list-row:last-child{border-bottom:0}.empty-state{padding:34px 18px;text-align:center;color:var(--muted);border:1px dashed #d3b26949;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-state>.ui-icon{width:34px;height:34px;color:#b99458}.empty-state strong{color:#e7f0fd;font-size:17px}.empty-state p{max-width:420px;font-size:13px}.avatar{width:60px;height:60px;object-fit:cover;border:2px solid #f8d573;border-radius:50%;box-shadow:0 0 13px #e7bb363d;flex-shrink:0}.tag{display:inline-flex;align-items:center;gap:5px;max-width:max-content;padding:4px 10px;border:1px solid #b99b6255;border-radius:20px;background:#b7913f12;color:#e2c686;font-size:10px;font-weight:700;letter-spacing:.5px}.badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:3px 9px;font-size:11px;font-weight:750;border-radius:30px;white-space:nowrap;line-height:1.25;border:1px solid;min-height:22px}.badge i{display:block;width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 6px currentColor}.badge-live{background:#042a17cc;color:#54ff9b;border-color:#25d76d}.badge-waiting{background:#152138cc;color:#d1dbeb;border-color:#8a96a8}.badge-locked{background:#131e33cc;color:#a5b6cf;border-color:#576881}.badge-gold{color:#ffdd76;border-color:#9e7737;background:#42281b55}.badge .ui-icon{width:12px;height:12px}.sticky-action{position:sticky;bottom:calc(var(--nav-height) + var(--safe-bottom) + 10px);z-index:12;background:linear-gradient(transparent,#080f1d);padding-top:12px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;z-index:90;top:-70px;left:20px;background:var(--gold);color:#09111f;padding:10px 16px;border-radius:8px}.skip-link:focus{top:12px}.toast{position:fixed;z-index:90;bottom:calc(var(--nav-height) + var(--safe-bottom) + 15px);left:50%;transform:translate(-50%,10px);padding:12px 20px;border:1px solid #f3cd7499;border-radius:14px;background:#141f34f5;color:#fff0cf;box-shadow:0 4px 30px #0008;max-width:min(90vw,480px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:14px}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.modal{padding:0;max-width:500px;width:calc(100% - 36px);max-height:85dvh;border:1px solid #f6ce6a;border-radius:22px;background:linear-gradient(130deg,#142442,#0a111e);color:var(--text);box-shadow:0 0 3px #fff4b0,0 0 45px #2780ed52;overscroll-behavior:contain}.modal::backdrop{background:#020710bc;backdrop-filter:blur(7px)}.modal-head{padding:20px 22px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #ad88453f}.modal-head h2{font-size:21px;color:#ffe8a2}.modal-body{padding:22px;line-height:1.7}.modal-body p{font-size:14px}.modal-actions{padding:0 22px 22px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.modal-open{overflow:hidden}.preview-notice{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#ffda79}.loading-brand{display:grid;place-content:center;min-height:80vh;text-align:center;color:var(--muted);gap:20px}.loading-brand img{width:240px;margin:auto}.noscript{padding:30px;background:#101c31;position:fixed;top:20%;left:5%;right:5%}.wallet-strip{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:7px;border-radius:18px;margin-bottom:14px;overflow:visible;background:radial-gradient(ellipse at 30% 0,#153a7165,transparent 60%),#060e1c}.wallet-strip-value{display:flex;align-items:center;gap:6px;min-width:0}.wallet-symbol{color:var(--gold)}.wallet-symbol .ui-icon{width:24px;height:24px}.wallet-caption{font-size:11px;color:#ced8e8;white-space:nowrap;display:none}.wallet-strip strong{font-size:18px;color:#ffdf69;line-height:1.2;white-space:nowrap}.wallet-strip strong small{font-size:10px}.balance-eye{padding:2px;background:transparent;border:0;color:#a3b2c9;display:flex;align-items:center}.balance-eye .ui-icon{width:15px;height:15px}.wallet-strip-actions{display:flex;gap:8px;flex-shrink:0}.wallet-strip .btn{padding:6px 11px;min-height:31px;font-size:12px}.wallet-strip .btn .ui-icon{width:14px;height:14px}.hero-banner{padding:0;display:block;width:100%;aspect-ratio:3.4;min-height:108px;text-align:left;border-radius:20px;background:#06132c;box-shadow:0 0 4px #fff3bb,0 0 16px #ee9e3266,inset 0 0 8px #f8b428;isolation:isolate}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:61%;height:100%;padding:12px 3px 14px}.hero-overline{font-size:7px;font-weight:700;letter-spacing:1.7px;color:#ffeeb4;text-shadow:0 0 5px #fba029;margin-bottom:2px}.hero-title{font-size:clamp(27px,8.2vw,49px);font-weight:950;font-style:italic;letter-spacing:-1px;line-height:1.07;white-space:nowrap;background:linear-gradient(180deg,#fffde0 3%,#fff9ad 28%,#ffd745 40%,#f79612 60%,#fff179 75%,#fbb72d 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(1px 1px 0 #783004) drop-shadow(2px 3px 0 #562305) drop-shadow(0 0 8px #fdb12a50)}.hero-ribbon{margin-top:6px;padding:3px 8px;max-width:94%;color:#f4f8fe;font-size:clamp(9px,2.7vw,16px);font-style:italic;font-weight:800;line-height:1.3;letter-spacing:.04em;background:linear-gradient(180deg,#1064ca,#0c2450 48%,#0f5ebe);border-top:1px solid #ffdc6c;border-bottom:1px solid #ffdc6c;box-shadow:0 0 6px #519cf8;transform:skew(-8deg)}html[lang="en"] .hero-title{font-size:clamp(21px,6.1vw,38px);line-height:.97;letter-spacing:-.6px}html[lang="en"] .hero-overline{font-size:6px}html[lang="en"] .hero-ribbon{font-size:7px}.hero-spark{position:absolute;z-index:3;width:40%;height:2px;top:0;left:8%;background:linear-gradient(90deg,transparent,#fff,transparent);box-shadow:0 0 8px #ffd438}.hero-spark-two{top:auto;bottom:0;left:60%;width:25%}.utility-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:8px 0 9px}.utility-link{display:flex;flex-direction:column;align-items:center;gap:1px;background:transparent;border:0;padding:0;min-width:0;font-size:12px;color:#ebf1fa;white-space:nowrap}.utility-link:hover .utility-art{filter:brightness(1.16) drop-shadow(0 0 5px #539bf2)}.utility-art{display:block;position:relative;width:100%;height:53px}.utility-art img{position:absolute;width:82px;max-width:none;left:50%;top:50%;transform:translate(-50%,-57%)}.utility-announcements .utility-art img{width:90px;transform:translate(-50%,-61%)}.utility-live-support .utility-art img{transform:translate(-50%,-54%)}.game-hall-heading{margin:3px 0 9px;position:relative}.game-hall-heading:after{content:"";position:absolute;height:1px;left:38%;right:28%;top:50%;background:linear-gradient(90deg,transparent,#3388ef,transparent);box-shadow:0 0 8px #2c84f0}.game-hall-heading h2{display:flex;align-items:center;gap:5px;font-size:19px;letter-spacing:.04em}.game-hall-heading>span{font-size:12px}.game-hall-heading .ui-icon{width:15px;height:15px}.gold-laurel{color:#ffdc62;font-size:32px;line-height:1;display:inline-block;transform:rotate(-25deg);text-shadow:0 0 5px #ed9a24}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.game-card{padding:10px 12px 11px;display:flex;flex-direction:column;border-radius:17px;background:linear-gradient(147deg,transparent 51%,#0b3e8b39 51.1%,#091b3c50 67%,transparent 67.1%),radial-gradient(ellipse at 20% 0,#233e668f,transparent 59%),linear-gradient(140deg,#08152d,#040c1b 65%,#081937);box-shadow:0 0 3px #ffe49b,0 0 11px #ee98163d,inset 0 0 12px #8b14531c;min-height:139px}.game-card:after{position:absolute;content:"";z-index:-1;left:-10%;right:5%;height:1px;top:22%;transform:rotate(19deg);background:linear-gradient(90deg,transparent,#4698fc77,transparent);box-shadow:0 0 6px #2784f5}.game-card-top{height:42px;display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.game-art{position:relative;width:59px;height:39px;flex-shrink:0}.game-art img{position:absolute;width:91px;max-width:none;left:50%;top:49%;transform:translate(-50%,-50%)}.game-art-f1 img{width:100px}.game-art-horse img{width:89px}.game-card .badge{font-size:9px;padding:2px 6px;min-height:18px;gap:4px;margin-top:0}.game-card .badge i{width:5px;height:5px}.game-card h3{font-size:16px;letter-spacing:.01em;line-height:1.22;font-weight:800;margin:0 0 3px;overflow-wrap:anywhere}.game-card>p{font-size:10px;color:#becadd;line-height:1.4;min-height:28px}.game-card-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:4px;margin-top:auto;padding-top:5px}.game-card-bottom>span{font-size:10px;color:#c3cedf;line-height:1.3;max-width:50%}.game-card-bottom .btn{font-size:10px;min-height:26px;padding:4px 8px;white-space:nowrap}.game-card-bottom .btn .ui-icon{width:12px;height:12px}.game-card:hover{box-shadow:0 0 4px #fff4bd,0 0 16px #f2b54466,inset 0 0 17px #1440812b}.component-page-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.component-page h2{margin-bottom:15px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asset-grid figure{margin:0;text-align:center;min-width:0}.asset-preview{height:90px;position:relative;overflow:hidden;background:radial-gradient(ellipse,#172c5433,transparent 68%);border-radius:12px}.asset-preview img{width:120px;max-width:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.asset-grid figcaption{font-size:12px}.asset-grid a{font-size:10px;display:inline-flex;align-items:center;gap:5px;margin-top:4px}.asset-grid a .ui-icon{width:12px;height:12px}.component-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.component-buttons .btn{font-size:13px}.component-page .card-pad p{font-size:13px}
@media(min-width:480px) and (max-width:899px){.app-stage{padding-inline:22px}.wallet-caption{display:inline}.app-header{min-height:100px}.wallet-strip strong{font-size:22px}.hero-banner{min-height:145px}.utility-art{height:65px}.utility-art img{width:98px}.utility-announcements .utility-art img{width:106px}.utility-link{font-size:14px}.game-card{min-height:172px;padding:14px 18px}.game-card-top{height:55px}.game-art img{width:110px}.game-card h3{font-size:20px}.game-card>p{font-size:12px}.game-card-bottom>span{font-size:12px}.game-card-bottom .btn{font-size:12px;min-height:29px}.game-card .badge{font-size:10px}.game-card-top .game-art{width:73px}.game-hall-heading{margin-top:8px;margin-bottom:14px}}
@media(min-width:900px){:root{--radius:23px}body{font-size:15px}.desktop-sidebar{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;width:224px;padding:30px 18px 20px;background:linear-gradient(170deg,#0b182fee,#030915ee 60%,#09162d);border-right:1px solid #c49b4655;box-shadow:5px 0 26px #02050c80;z-index:20}.sidebar-logo{display:block;margin:0 -4px 28px}.sidebar-logo img{width:100%}.sidebar-label{font-size:9px;letter-spacing:3px;color:#899cb8;padding:0 15px 13px}.desktop-nav{display:flex;flex-direction:column;gap:7px}.desktop-nav .nav-item{flex-direction:row;justify-content:flex-start;gap:18px;padding:12px 17px;border-radius:12px;font-size:14px;min-height:53px}.desktop-nav .nav-art{margin:0;width:24px;height:24px}.desktop-nav .nav-art img{width:51px}.desktop-nav .nav-item:last-child .nav-art img{width:40px}.desktop-nav .nav-item.is-active{background:linear-gradient(105deg,#65431d33,#0c499439);box-shadow:inset 0 0 0 1px #d2ab5d38}.desktop-nav .nav-item.is-active:after{left:0;top:14px;bottom:14px;height:auto;width:3px}.sidebar-divider{height:1px;margin:21px 8px;background:linear-gradient(90deg,transparent,#93714277,transparent)}.sidebar-link{position:relative;border:0;background:none;display:flex;align-items:center;gap:15px;padding:12px 19px;border-radius:12px;text-align:left;font-size:13px;color:#a3b5d0}.sidebar-link:hover{color:#ffe386}.sidebar-link.is-active{color:#ffe575;font-weight:700;text-shadow:0 0 12px #f4b022;background:linear-gradient(105deg,#65431d33,#0c499439);box-shadow:inset 0 0 0 1px #d2ab5d38}.sidebar-link.is-active:after{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:3px;background:#ffdb4c;box-shadow:0 0 7px #ffd43d,0 0 16px #f9af1c}.sidebar-link .ui-icon{width:18px;height:18px;color:#d1a75b}.sidebar-link.is-active .ui-icon{color:#ffe575;filter:drop-shadow(0 0 5px #ffc21b99)}.sidebar-foot{margin-top:auto;padding:20px 10px 0;display:flex;flex-direction:column;gap:10px}.sidebar-foot small{font-size:8px;color:#576881;letter-spacing:1.1px}.studio-link{background:none;border:0;text-align:left;padding:7px 0;color:#9dafca;font-size:11px;display:flex;align-items:center;justify-content:space-between}.studio-link .ui-icon{width:13px;height:13px}.app-stage{margin-left:224px;margin-right:0;padding:12px clamp(24px,3.1vw,56px) 30px;max-width:none;min-height:100vh}.app-header{max-width:1200px;margin:0 auto;min-height:97px}.brand-logo{width:230px;padding:0}.home-header{padding-bottom:15px}.header-tools{gap:20px}.language-switch{font-size:13px;padding:6px 13px;min-height:36px}.header-profile{width:49px;height:52px}.header-profile img{width:45px;height:45px}.header-profile span{font-size:11px}.notification-btn .ui-icon{width:27px;height:27px}.inner-header{min-height:99px;padding:13px 0 29px}.inner-header .header-profile,.inner-header .notification-btn{display:block}.page-heading{gap:16px}.page-heading h1{font-size:26px}.main-content,.app-foot{max-width:1200px;margin:auto}.bottom-nav{display:none}.app-foot{padding:34px 0 0}.app-foot button{font-size:11px}.lobby-layout{display:flex;flex-direction:column;gap:20px}.wallet-strip{padding:14px 22px;border-radius:20px;margin-bottom:20px;gap:15px}.wallet-strip-value{gap:12px}.wallet-caption{display:inline;font-size:13px}.wallet-strip strong{font-size:26px}.wallet-strip strong small{font-size:14px}.wallet-symbol .ui-icon{width:29px;height:29px}.balance-eye .ui-icon{width:20px;height:20px}.wallet-strip-actions{gap:12px}.wallet-strip .btn{min-height:38px;padding:8px 24px;font-size:15px}.wallet-strip .btn .ui-icon{width:18px;height:18px}.hero-banner{aspect-ratio:3.4;min-height:230px;max-height:335px;border-radius:25px}.hero-copy{padding:25px 15px 33px}.hero-overline{font-size:12px;letter-spacing:5px;margin-bottom:10px}.hero-title{font-size:clamp(49px,5.8vw,82px);letter-spacing:-2px}.hero-ribbon{font-size:clamp(17px,1.8vw,27px);padding:6px 16px;margin-top:16px}html[lang="en"] .hero-title{font-size:clamp(36px,4.4vw,65px)}html[lang="en"] .hero-overline{font-size:10px}html[lang="en"] .hero-ribbon{font-size:12px}.utility-row{max-width:850px;margin:0 auto;padding:14px 0 4px}.utility-art{height:75px}.utility-art img{width:116px}.utility-announcements .utility-art img{width:126px}.utility-link{font-size:14px}.game-hall-heading{margin-bottom:17px}.game-hall-heading h2{font-size:25px}.game-hall-heading>span{font-size:14px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.game-card{min-height:205px;padding:17px 20px;border-radius:21px}.game-card-top{height:69px}.game-art{width:100px;height:61px}.game-art img{width:140px}.game-art-f1 img{width:147px}.game-art-horse img{width:130px}.game-card .badge{font-size:11px;min-height:23px;padding:4px 8px}.game-card .badge i{width:6px;height:6px}.game-card h3{font-size:21px;margin-bottom:6px}.game-card>p{font-size:12px;min-height:34px}.game-card-bottom{padding-top:12px}.game-card-bottom>span{font-size:11px}.game-card-bottom .btn{font-size:12px;min-height:30px;padding:6px 10px}.game-card-bottom .btn .ui-icon{width:15px;height:15px}.page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.page-stack{gap:24px}.card-pad{padding:28px}.choice-grid{gap:12px}.tabs{gap:12px}.tab{font-size:14px}.toast{bottom:26px;left:calc(50% + 112px)}.sticky-action{bottom:16px}.asset-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.asset-preview{height:125px}.asset-preview img{width:165px}.asset-grid figcaption{font-size:13px}.asset-grid a{font-size:12px}.component-page h2{font-size:23px}.component-page .card-pad p{font-size:14px}.page-heading h1:focus{outline:0}}
@media(min-width:900px) and (max-width:1120px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-banner{min-height:200px}.header-tools{gap:14px}.wallet-caption{display:none}.hero-title{font-size:52px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.app-stage{padding-inline:10px}.header-tools{gap:6px}.brand-logo{width:46%}.header-profile{width:36px}.header-profile img{width:33px;height:33px}.language-switch{padding:4px 7px}.wallet-symbol{display:none}.wallet-strip{padding:9px}.wallet-strip-actions{gap:6px}.wallet-strip .btn{font-size:11px;padding:6px 8px}.wallet-strip strong{font-size:17px}.wallet-strip strong small{font-size:9px}.game-card{padding:9px;min-height:143px}.game-card h3{font-size:14px}.game-card-bottom .btn{font-size:9px;padding:4px 6px}.game-card-bottom>span{font-size:9px}.utility-link{font-size:10px}.utility-art img{width:74px}.utility-announcements .utility-art img{width:81px}.game-card .badge{font-size:8px}.card-pad{padding:18px}.page-heading h1{font-size:18px}.hero-overline{font-size:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Optical normalization and small-screen display. */
.wallet-symbol{display:block;position:relative;width:24px;height:24px;flex-shrink:0}.wallet-symbol img{width:51px;max-width:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.connection-state{max-width:540px;margin:0 auto;padding:12vh 24px 40px;text-align:center;position:relative}.connection-state>img{width:240px;margin:0 auto 32px}.connection-state h1{font-size:23px;margin-bottom:16px}.connection-state .btn{margin-top:22px}.loading-line{display:block;width:80px;height:3px;border-radius:3px;background:#ffda69;box-shadow:0 0 15px #e9ae38;margin:24px auto 0}
@media(max-width:899px){html{scrollbar-width:none}html::-webkit-scrollbar{display:none}.game-card{padding:9px 10px;min-height:124px}.game-card-top{height:37px}.game-art{height:35px}.game-card h3{font-size:15px}.game-card>p{min-height:24px;font-size:10px}.game-card-bottom{padding-top:3px}.game-card-bottom>span{font-size:9px}.game-card-bottom .btn{padding:4px 7px;font-size:10px}.game-hall-heading:after{left:43%}.utility-link{font-size:11px}}
@media(min-width:900px){.wallet-symbol{width:29px;height:29px}.wallet-symbol img{width:61px}}

@media(max-width:479px){.brand-logo{width:44%;max-width:175px;padding:0}.app-header.home-header{min-height:80px}.wallet-strip{padding:7px 11px;margin-bottom:12px}.wallet-strip .btn{min-height:29px}.utility-row{padding:2px 0 6px}.utility-art{height:46px}.utility-art img{width:76px}.utility-announcements .utility-art img{width:84px}.utility-link{line-height:1.25}}
/* Five-language labels: let words wrap rather than clipping translations. */
.language-options{display:flex;flex-direction:column;gap:9px}.language-option{display:flex;align-items:center;gap:12px;text-align:left;padding:14px 16px;border:1px solid #96744965;border-radius:12px;background:linear-gradient(130deg,#13213c,#0b1323);color:#dee9f9;width:100%;min-height:53px}.language-option.is-selected{border-color:#ffdf8a;background:linear-gradient(120deg,#79532644,#22355944);color:#ffe79d;box-shadow:0 0 10px #e7a83325}.language-native{flex:1;font-weight:700;font-size:16px;line-height:1.5}.language-code{font-size:11px;color:#a3b3ca;letter-spacing:1px}.language-option .ui-icon{width:18px;height:18px}.language-note{font-size:12px!important;margin-top:16px}.modal:has(.language-options) .modal-actions{display:none}
html:lang(th){--font:"Leelawadee UI","Noto Sans Thai",Tahoma,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}html:lang(th) :is(h1,h2,h3,.eyebrow,.hero-title,.hero-ribbon,.btn,.badge){letter-spacing:0}html:lang(th) :is(h1,h2,h3){line-height:1.5}
:is(html:lang(th),html:lang(vi),html:lang(ms)) .utility-link{white-space:normal;line-height:1.4;justify-content:flex-start}:is(html:lang(th),html:lang(vi),html:lang(ms)) .utility-link>span:last-child{overflow-wrap:break-word;min-height:2.8em;width:100%;padding-inline:2px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-card h3{overflow-wrap:break-word}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-title{white-space:normal;font-size:clamp(19px,5.6vw,37px);line-height:1.17;letter-spacing:0;text-align:center}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-ribbon{font-size:7px;letter-spacing:0;text-align:center}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-overline{font-size:6px;letter-spacing:1px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .page-heading h1{overflow-wrap:break-word;letter-spacing:0}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-card-bottom{flex-wrap:wrap;align-items:center;gap:5px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-card-bottom>span{max-width:100%}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-card-bottom .btn{margin-left:auto;white-space:normal;max-width:100%}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-hall-heading:after{display:none}:is(html:lang(th),html:lang(vi),html:lang(ms)) .app-foot{flex-wrap:wrap}
@media(max-width:899px){:is(html:lang(th),html:lang(vi),html:lang(ms)) .nav-item{font-size:10px;line-height:1.4}:is(html:lang(th),html:lang(vi),html:lang(ms)) .wallet-strip{flex-wrap:wrap;row-gap:9px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .wallet-strip-actions{margin-left:auto}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-card .badge{white-space:normal;text-align:center;max-width:74px;line-height:1.35}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-hall-heading h2{font-size:17px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .game-hall-heading>span{font-size:11px;flex-shrink:0}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-copy{padding:7px 3px 10px}}
@media(min-width:900px){:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-title{font-size:clamp(36px,4.3vw,61px)}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-ribbon{font-size:11px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .hero-overline{font-size:10px}:is(html:lang(th),html:lang(vi),html:lang(ms)) .utility-link{font-size:13px}.header-tools{gap:12px}.home-header{flex-wrap:wrap}.web-auth-actions{flex-shrink:0}}

/* 首页轮播 Banner：多张叠放淡入淡出，每 4 秒切换（app.js heroCarousel） */
.hero-carousel{position:relative}
.hero-carousel>.hero-slide{transition:opacity .6s ease}
.hero-carousel>.hero-slide:not(.is-active){position:absolute;inset:0;opacity:0;pointer-events:none}
.hero-image-slide{position:relative;overflow:hidden}
.hero-image-slide .hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.hero-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px;z-index:3;pointer-events:none}
.hero-dot{pointer-events:auto;width:7px;height:7px;padding:0;border:0;border-radius:999px;background:#ffffff66;box-shadow:0 0 3px #0008;transition:width .3s ease,background .3s ease}
.hero-dot.is-active{width:18px;background:linear-gradient(90deg,#ffe48a,#f5b301)}
@media(prefers-reduced-motion:reduce){.hero-carousel>.hero-slide,.hero-dot{transition:none}}

/* ── Lucky Wheel Bottom Bar & Top Shortcut (Tonplay style) ── */
.bottom-nav{overflow:visible}
.bottom-nav .nav-item{border-radius:14px;margin:0 2px}
.bottom-nav .nav-item.is-active:not(.nav-item--wheel){background:rgba(255,255,255,0.08);box-shadow:inset 0 1px 0 rgba(255,255,255,0.12)}
.nav-item--wheel{position:relative;overflow:visible;padding:0!important;z-index:5}
.nav-item--wheel.is-active:after{display:none}
.nav-wheel-wrap{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;width:96px;height:110px;margin-top:-44px;pointer-events:none}
.nav-wheel-ribbon{position:relative;z-index:3;padding:2px 9px;border-radius:999px;background:linear-gradient(135deg,#d81b7a 0%,#9c115b 100%);border:1px solid rgba(186, 211, 249,0.55);color:#fff;font-size:9px;font-weight:800;letter-spacing:.02em;line-height:1.25;white-space:nowrap;box-shadow:0 3px 10px rgba(216,27,122,0.55);transform:none;margin-bottom:1px}
.nav-wheel-title{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;line-height:.98;font-weight:900;font-size:12px;letter-spacing:-.02em;color:#ffb43a;text-shadow:0 1px 0 #5b1d00,0 2px 4px rgba(0,0,0,0.85);margin-bottom:-2px}
.nav-wheel-title span:first-child{color:#ffd86b}
.nav-wheel-title span:last-child{color:#ff942e;font-size:11px}
.nav-wheel-disc{position:relative;width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 -2px 12px rgba(255,168,38,0.55))}
.nav-wheel-pointer{position:absolute;top:-3px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #fff2b2;filter:drop-shadow(0 1px 2px rgba(0,0,0,0.8));z-index:4}
.nav-wheel-rotor{width:60px;height:60px;animation:ddWheelSpin 14s linear infinite}
.nav-item--wheel.is-active .nav-wheel-disc{filter:drop-shadow(0 0 14px rgba(255,212,92,0.9))}
@keyframes ddWheelSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

.utility-art--wheel{display:flex!important;align-items:center;justify-content:center;border-radius:14px;background:radial-gradient(circle at 50% 60%,rgba(255,210,90,0.35),rgba(42, 130, 238,0.55) 68%,rgba(13, 31, 63,0.92));border:1.5px solid rgba(255,212,110,0.55);box-shadow:0 4px 12px rgba(42, 130, 238,0.35),inset 0 1px 0 rgba(255,255,255,0.28)}
.utility-wheel-pill{position:absolute;top:-5px;left:50%;transform:translateX(-50%);z-index:3;padding:1px 6px;border-radius:999px;background:linear-gradient(135deg,#2575fc 0%,#1b52d4 100%);border:1px solid rgba(175,215,255,0.65);color:#fff;font-size:8px;font-weight:800;white-space:nowrap;line-height:1.25;box-shadow:0 2px 6px rgba(27,82,212,0.6)}
.utility-wheel-svg{width:38px;height:38px;margin-top:4px;animation:ddWheelSpin 16s linear infinite}

