*{box-sizing:border-box}:root{color:#f5f5f5;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#000;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,sans-serif}body{min-width:320px;min-height:100dvh;margin:0}#root{width:100%;min-height:100dvh}button{font-family:inherit}h1,p{margin:0}button,img{-webkit-tap-highlight-color:transparent}.wallet-heading{color:#e5c36b;margin:0 0 20px;font-size:22px}.wallet-debug{background:#171717;border:1px dashed #777;border-radius:10px;margin-top:20px;padding:16px}.wallet-debug h3{color:#aaa;margin:0 0 14px;font-size:13px}.wallet-debug-buttons{grid-template-columns:1fr 1fr;gap:12px;display:grid}.wallet-debug-buttons button{color:#e5c36b;cursor:pointer;background:#211b10;border:1px solid #8c733d;border-radius:8px;padding:14px 8px;font-weight:700}.wallet-debug-buttons button:disabled{opacity:.35;cursor:not-allowed}.wallet-debug-buttons .wallet-debug-reset{color:#ed9999;background:#291717;border-color:#8c4848;grid-column:1/-1}.transaction-panel{background:#151515;border:1px solid #333;border-radius:12px;margin-top:20px;padding:18px}.transaction-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.transaction-panel h3{color:#e5c36b;margin:0;font-size:16px}.transaction-count{color:#999;font-variant-numeric:tabular-nums;font-size:12px}.transaction-empty{color:#888;text-align:center;padding:30px 0;font-size:13px}.transaction-row{border-bottom:1px solid #303030;align-items:center;gap:12px;padding:15px 0;display:flex}.transaction-row:last-child{border-bottom:none}.transaction-icon{background:#252525;border:1px solid #444;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:23px;display:flex}.transaction-icon.earn{background:#19291f;border-color:#345640}.transaction-icon.spend{background:#2b2020;border-color:#573939}.transaction-info{flex:1;min-width:0}.transaction-title{color:#eee;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.5}.transaction-date{color:#888;margin:6px 0 0;font-size:11px}.transaction-result{text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0}.transaction-earn{color:#66d99a;margin:0;font-size:16px;font-weight:700}.transaction-spend{color:#ed7777;margin:0;font-size:16px;font-weight:700}.transaction-unit{font-size:11px;font-weight:400}.transaction-balance{color:#999;margin:6px 0 0;font-size:11px}@media (width<=380px){.transaction-panel{padding:12px}.transaction-row{gap:8px}.transaction-icon{width:34px;height:34px;font-size:19px}.transaction-title{font-size:12px}.transaction-date{font-size:10px}.transaction-earn,.transaction-spend{font-size:14px}.transaction-balance{font-size:10px}}.game-center-heading{text-align:center;margin-bottom:22px}.game-center-heading h2{color:#e5c36b;letter-spacing:4px;text-shadow:0 0 20px #c9a34440;margin:0;font-size:30px}.game-center-heading p{color:#b99a50;letter-spacing:2px;margin-top:8px;font-size:12px}.game-balance{background:#211a0e;border:1px solid #8c733d;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:16px;display:flex}.game-balance span{color:#c9a34e;font-size:13px}.game-balance strong{color:#e5c36b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:20px}.game-list{flex-direction:column;gap:12px;display:flex}.game-card{color:#eee;text-align:left;cursor:pointer;background:linear-gradient(135deg,#201c14,#151515);border:1px solid #66522d;border-radius:12px;align-items:center;gap:14px;width:100%;min-height:125px;padding:16px 12px;transition:all .15s;display:flex}.game-card:hover{background:#2c2415;border-color:#e5c36b;box-shadow:0 0 15px #c9a34420}.game-card:active{transform:scale(.98)}.game-card-icon{background:#111;border:1px solid #443b2b;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:65px;height:75px;font-size:40px;display:flex}.game-card-info{flex:1;min-width:0}.game-card-info h3{color:#e5c36b;margin:0 0 5px;font-size:17px}.game-english{color:#b99a50;letter-spacing:1px;font-size:10px}.game-description{color:#bbb;margin-top:9px;font-size:12px;line-height:1.6}.game-price{margin-top:8px;font-size:12px;font-weight:700}.game-arrow{color:#c9a34e;font-size:28px}.game-hammer-panel{background:#171717;border:1px solid #333;border-radius:12px;align-items:center;gap:14px;margin-top:20px;padding:14px;display:flex}.game-hammer-panel img{object-fit:contain;width:70px;height:85px;image-rendering:pixelated;flex-shrink:0}.game-hammer-panel h3{color:#e5c36b;margin:0 0 8px;font-size:13px}.game-hammer-panel p{color:#ccc;font-size:13px;line-height:1.8}.game-back-button{color:#e5c36b;cursor:pointer;background:#19160f;border:1px solid #66522d;border-radius:8px;padding:10px 14px}.game-placeholder{text-align:center;padding:50px 10px}.game-placeholder-icon{margin-bottom:20px;font-size:72px}.game-placeholder h2{color:#e5c36b;margin:0 0 10px}.game-placeholder p{color:#b99a50}.game-placeholder .game-coming-soon{color:#aaa;margin-top:30px}@media (width>=600px){.game-card{min-height:145px;padding:20px}.game-card-icon{width:85px;height:90px;font-size:48px}.game-card-info h3{font-size:21px}.game-description{font-size:14px}}.game-scratch-details{font-variant-numeric:tabular-nums;background:#0000004d;border:1px solid #66522d;border-radius:8px;margin-top:12px;padding:12px}.game-scratch-detail-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:6px 0;font-size:12px;display:flex}.game-scratch-detail-row>span{color:#b99a50}.game-scratch-detail-row strong{color:#eee;white-space:nowrap;font-size:12px}.game-scratch-detail-row .game-scratch-max{color:#ffe58c;text-shadow:0 0 8px #d4af3733;font-size:14px}.game-scratch-detail-row:nth-child(3){border-top:1px solid #66522d;margin-top:6px;padding-top:12px}.game-scratch-tickets{align-items:center;gap:3px;display:inline-flex}.game-scratch-ticket{font-size:14px;display:inline-block}.game-scratch-ticket.available{opacity:1;filter:drop-shadow(0 0 3px #d4af3755)}.game-scratch-ticket.used{opacity:.2;filter:grayscale()}.game-scratch-tickets strong{color:#e5c36b;margin-left:4px}.game-scratch-status{text-align:center;border:1px solid #0000;border-radius:6px;margin:10px 0 0;padding:9px 6px;font-size:11px;font-weight:700;line-height:1.6}.game-scratch-status.ready{color:#79ce98;background:#79ce9810;border-color:#79ce9840}.game-scratch-status.resume{color:#a5d7ff;background:#79b6e518;border-color:#79b6e560}.game-scratch-status.limit{color:#e3bb63;background:#e3bb6310;border-color:#e3bb6340}.game-scratch-status.insufficient{color:#f99;background:#e67b7b10;border-color:#e67b7b40}.game-scratch-reset{color:#9e906f;text-align:center;margin:10px 0 0;font-size:10px;line-height:1.6}@media (width<=380px){.game-scratch-details{padding:8px}.game-scratch-detail-row,.game-scratch-detail-row strong{font-size:11px}.game-scratch-detail-row .game-scratch-max,.game-scratch-ticket{font-size:12px}.game-scratch-tickets{gap:2px}.game-scratch-status{font-size:10px}.game-scratch-reset{font-size:9px}}.math-challenge{max-width:480px;margin:0 auto}.math-heading{text-align:center;margin:24px 0}.math-heading h2{color:#e5c36b;letter-spacing:3px;margin:0;font-size:clamp(20px,6vw,28px)}.math-heading p{color:#b99a50;margin-top:8px;font-size:13px}.math-status{color:#e5c36b;justify-content:space-between;margin-bottom:10px;font-size:13px;display:flex}.math-progress{background:#29251c;border-radius:5px;height:5px;margin-bottom:18px;overflow:hidden}.math-progress div{background:#c9a34e;height:100%;transition:width .25s}.math-lcd{color:#26371d;background:#b5c598;border:6px solid #383b30;border-radius:12px;padding:22px 16px;font-family:monospace;box-shadow:inset 0 0 18px #45563c44}.math-lcd-label{letter-spacing:2px;font-size:11px;font-weight:700}.math-question{text-align:center;font-variant-numeric:tabular-nums;margin:25px 0;font-size:clamp(23px,7vw,36px);font-weight:700}.math-input{text-align:right;background:#a8ba8a;border:2px solid #71835b;border-radius:4px;min-height:70px;padding:12px 16px;font-size:36px;font-weight:700}.math-judgment{text-align:center;margin-top:15px;font-size:17px;font-weight:700}.math-keypad{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;display:grid}.math-key{color:#e5c36b;cursor:pointer;touch-action:manipulation;background:linear-gradient(#302a1d,#1c1912);border:1px solid #806b3d;border-radius:8px;min-height:58px;font-size:26px;font-weight:700;box-shadow:0 3px #0a0a0a}.math-key:active:not(:disabled){box-shadow:none;background:#544326;transform:translateY(2px)}.math-key:disabled{opacity:.45;cursor:default}.math-function-key{color:#e3a47d;background:#2c211a}.math-submit-button{color:#17130b;cursor:pointer;touch-action:manipulation;background:linear-gradient(#e5c36b,#a47c2d);border:1px solid #f0d58a;border-radius:8px;width:100%;min-height:54px;margin-top:18px;padding:14px;font-size:17px;font-weight:700;display:block}.math-submit-button:disabled{opacity:.4;cursor:not-allowed}.math-hammer{background:#171717;border:1px solid #333;border-radius:12px;align-items:center;gap:14px;margin-top:22px;padding:14px;display:flex}.math-hammer img{object-fit:contain;width:75px;height:90px;image-rendering:pixelated;flex-shrink:0}.math-hammer h3{color:#e5c36b;margin:0 0 8px;font-size:13px}.math-hammer p{color:#ddd;font-size:13px;line-height:1.8}.math-result{text-align:center;background:#1b170e;border:1px solid #8c733d;border-radius:14px;padding:30px 20px}.math-result h3{color:#e5c36b;letter-spacing:5px;margin:0 0 28px;font-size:30px}.math-result p{color:#b99a50;font-size:14px}.math-result-score{color:#e5c36b;margin:15px 0;font-size:64px;font-weight:700}.math-result-score span{font-size:26px}.math-result-rate{margin-bottom:25px}.math-result .game-back-button{width:100%;margin-top:14px}.math-current-reward{color:#c9a34e;background:#211a0e;border:1px solid #66522d;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;padding:12px;font-size:12px;display:flex}.math-current-reward strong{color:#e5c36b;font-size:16px}.math-perfect{color:#ffe58c;letter-spacing:5px;text-shadow:0 0 20px #fc57;margin-bottom:18px;font-size:28px;font-weight:700;animation:1.5s infinite alternate math-perfect-glow}@keyframes math-perfect-glow{0%{text-shadow:0 0 8px #fc54}to{text-shadow:0 0 24px #fc5b}}.math-reward-breakdown{border-top:1px solid #66522d;border-bottom:1px solid #66522d;margin:24px 0;padding:12px 0}.math-reward-row{text-align:left;color:#ddd;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:13px;display:flex}.math-reward-row strong{color:#e5c36b;white-space:nowrap}.math-total-reward{background:radial-gradient(#423016,#1b160d);border:1px solid #c9a34e;border-radius:12px;padding:24px 12px;box-shadow:0 0 20px #c9a34422}.math-total-reward img{object-fit:contain;filter:drop-shadow(0 0 12px #d9ad4466);width:85px;height:85px;margin:15px auto;display:block}.math-total-reward>p:first-child{letter-spacing:3px;font-size:12px}.math-reward-value{color:#ffe08a;overflow-wrap:anywhere;font-size:clamp(32px,10vw,52px);font-weight:700}.math-reward-value span{font-size:18px}.math-total-reward .math-payment-success{color:#79ce98;margin-top:15px;font-size:12px}.math-total-reward .math-payment-error{color:#ef7777;margin-top:15px;font-size:12px}.math-wallet-balance{color:#b99a50;justify-content:space-between;align-items:center;gap:10px;margin-top:20px;padding:14px 0;font-size:13px;display:flex}.math-wallet-balance strong{color:#e5c36b;font-size:18px}.math-special-bonus{text-align:center;background:linear-gradient(135deg,#4b2d0d,#211709);border:2px solid #e5c36b;border-radius:10px;margin-top:16px;padding:18px 10px;animation:.4s ease-out math-bonus-appear}.math-special-bonus p{color:#e5c36b;letter-spacing:4px;font-size:11px}.math-special-bonus h3{color:#ffe08a;margin:12px 0;font-size:22px}.math-special-bonus strong{color:#ffe08a;font-size:26px}@keyframes math-bonus-appear{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}.math-judgment.special-correct{color:#304617;text-shadow:0 0 8px #fff8;font-size:24px;font-weight:900;animation:.7s ease-in-out 4 math-secret-judgment}@keyframes math-secret-judgment{0%,to{transform:scale(1)}25%{transform:scale(1.12)rotate(-2deg)}75%{transform:scale(1.12)rotate(2deg)}}.math-zero-bonus{isolation:isolate;text-align:center;background:radial-gradient(#89601b,#39230b,#171007);border:3px solid #ffe58c;border-radius:14px;margin-top:18px;padding:26px 12px;animation:.4s ease-out math-bonus-appear,1.2s infinite alternate math-zero-glow;position:relative;overflow:hidden;box-shadow:0 0 18px #fc57,inset 0 0 24px #fc53}.math-zero-bonus:before{content:"";z-index:-1;aspect-ratio:1;pointer-events:none;background:repeating-conic-gradient(#ffe58c33 0deg 12deg,#0000 12deg 30deg);width:200%;animation:12s linear infinite math-zero-rays;position:absolute;top:50%;left:50%}.math-zero-bonus p{color:#fff0b0;letter-spacing:4px;font-size:13px;font-weight:700}.math-zero-bonus h3{color:#fff4bd;text-shadow:0 0 8px #fc5,0 0 18px #fc57;margin:15px 0;font-size:clamp(22px,6vw,30px)}.math-zero-bonus strong{color:#fff4bd;text-shadow:0 0 15px #fc5;font-size:clamp(32px,9vw,44px);font-weight:900;display:block}.math-zero-bonus .math-zero-total{color:#ffe5a0;letter-spacing:0;margin-top:12px;font-size:13px}@keyframes math-zero-glow{0%{box-shadow:0 0 12px #fc54,inset 0 0 15px #fc52}to{box-shadow:0 0 28px #fc59,inset 0 0 30px #fc55}}@keyframes math-zero-rays{0%{transform:translate(-50%,-50%)rotate(0)}to{transform:translate(-50%,-50%)rotate(360deg)}}.math-hammer.zero-excited{background:radial-gradient(#493313,#211709);border:2px solid #e5c36b;padding-top:24px;padding-bottom:24px;position:relative;overflow:hidden;box-shadow:0 0 20px #fc54}.math-hammer.zero-excited img{z-index:1;filter:drop-shadow(0 0 10px #fd78);animation:.5s ease-in-out 8 math-hammer-jump;position:relative}.math-hammer.zero-excited h3{color:#ffe58c;font-size:14px}.math-hammer.zero-excited p{color:#fff0bd;text-shadow:0 0 8px #fc54;font-size:16px;font-weight:700;line-height:1.9}@keyframes math-hammer-jump{0%,to{transform:translateY(0)rotate(-5deg)scale(1)}50%{transform:translateY(-16px)rotate(5deg)scale(1.1)}}.math-hammer.zero-excited:before,.math-hammer.zero-excited:after{content:"✦";color:#ffe58c;pointer-events:none;text-shadow:0 0 12px #fc5;font-size:26px;animation:1.5s ease-in-out infinite math-secret-star;position:absolute}.math-hammer.zero-excited:before{top:10px;left:12px}.math-hammer.zero-excited:after{animation-delay:.75s;bottom:10px;right:12px}@keyframes math-secret-star{0%,to{opacity:.3;transform:scale(.7)rotate(0)}50%{opacity:1;transform:scale(1.3)rotate(45deg)}}@media (prefers-reduced-motion:reduce){.math-perfect,.math-special-bonus,.math-judgment.special-correct,.math-zero-bonus,.math-zero-bonus:before,.math-hammer.zero-excited img,.math-hammer.zero-excited:before,.math-hammer.zero-excited:after{animation:none}}.math-debug-panel{background:#151e29;border:1px dashed #527da5;border-radius:8px;margin-top:16px;padding:12px}.math-debug-panel h3{color:#79b6e5;letter-spacing:1px;margin:0 0 10px;font-size:11px}.math-debug-buttons{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.math-debug-buttons button{color:#a9d6ff;cursor:pointer;background:#23364b;border:1px solid #527da5;border-radius:5px;min-height:36px;padding:6px 2px;font-size:13px;font-weight:700}.math-debug-buttons button:active{background:#426487}.math-debug-buttons .math-debug-zero{color:#ffe58c;background:#493313;border-color:#e5c36b}.scratch-view{max-width:480px;margin:0 auto}.scratch-heading{text-align:center;margin:24px 0}.scratch-heading h2{color:#e5c36b;letter-spacing:3px;margin:0;font-size:clamp(20px,6vw,28px)}.scratch-heading p{color:#b99a50;margin-top:8px;font-size:13px}.scratch-balance{color:#b99a50;background:#211b10;border:1px solid #594b2b;border-radius:8px;justify-content:space-between;align-items:center;padding:14px;font-size:13px;display:flex}.scratch-balance strong{color:#e5c36b;font-size:18px}.scratch-daily{color:#b99a50;justify-content:space-between;align-items:center;gap:8px;margin:16px 0;font-size:13px;display:flex}.scratch-tickets{align-items:center;gap:6px;display:flex}.scratch-ticket-icon{font-size:21px}.scratch-ticket-icon.used{filter:grayscale();opacity:.25}.scratch-tickets strong{color:#e5c36b;margin-left:4px}.scratch-purchase{text-align:center;background:radial-gradient(at top,#3b3019,#17150f 75%);border:1px solid #9b7e3d;border-radius:14px;padding:28px 18px}.scratch-purchase img{object-fit:contain;filter:drop-shadow(0 0 15px #d4af3755);width:90px;height:90px}.scratch-purchase h3{color:#e5c36b;letter-spacing:2px;margin:16px 0;font-size:21px}.scratch-purchase p{color:#b99a50;font-size:13px;line-height:1.8}.scratch-max-label{margin-top:18px}.scratch-max-prize{color:#ffe58c;text-shadow:0 0 15px #d4af3755;margin:8px 0 20px;font-size:48px;font-weight:700}.scratch-max-prize span{font-size:18px}.scratch-reset-time{margin-top:15px}.scratch-main-button{color:#17130b;cursor:pointer;touch-action:manipulation;background:linear-gradient(#e5c36b,#a47c2d);border:1px solid #f0d58a;border-radius:8px;width:100%;min-height:54px;margin-top:18px;padding:12px;font-size:16px;font-weight:700;display:block}.scratch-main-button:disabled{opacity:.4;cursor:not-allowed}.scratch-board{background:linear-gradient(145deg,#293d2e,#142119);border:2px solid #c9a34e;border-radius:14px;padding:18px;box-shadow:inset 0 0 25px #0004,0 0 15px #c9a34e15}.scratch-board h3{text-align:center;color:#ffe58c;letter-spacing:2px;margin:0;font-size:clamp(16px,5vw,22px)}.scratch-instruction{text-align:center;color:#c3d0b1;margin:14px 0 18px;font-size:13px}.scratch-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.scratch-cell{aspect-ratio:1;cursor:pointer;touch-action:manipulation;border-radius:8px;justify-content:center;align-items:center;min-width:0;font-family:monospace;font-size:clamp(28px,10vw,48px);font-weight:700;display:flex}.scratch-cell.covered{color:#e4e8e5;text-shadow:1px 2px 2px #0005;background:repeating-linear-gradient(135deg,#ffffff08 0 1px,#0000 1px 5px),linear-gradient(135deg,#d1d5d2,#777e7b,#b6bcb9);border:2px solid #b4b9b6;box-shadow:0 3px #0d160f}.scratch-cell.covered:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.scratch-cell:disabled{cursor:default}.scratch-cell.opened{color:#26371d;background:#b5c598;border:2px solid #71835b;box-shadow:inset 0 0 10px #45563c44}.scratch-cell.winning{color:#fff4bd;text-shadow:0 2px 3px #0005;background:linear-gradient(145deg,#d9b95c,#8d681d);border:2px solid #ffe58c;box-shadow:0 0 12px #ffe58c55}.scratch-lines{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:18px;display:grid}.scratch-lines button{color:#e4edcf;cursor:pointer;touch-action:manipulation;background:#293d2e;border:1px solid #77926b;border-radius:6px;min-width:0;min-height:42px;padding:5px 2px;font-size:11px}.scratch-lines button:active{background:#657e4f}.scratch-result{text-align:center;background:#211b10;border:1px solid #9b7e3d;border-radius:12px;margin-top:18px;padding:25px 16px}.scratch-result h3{color:#ffe58c;letter-spacing:3px;margin:0 0 15px;font-size:28px}.scratch-result p{color:#b99a50;font-size:13px}.scratch-sum{color:#e5c36b;margin:14px 0;font-size:20px;font-weight:700}.scratch-win-amount{color:#ffe58c;margin:15px 0;font-size:clamp(34px,10vw,48px);font-weight:700}.scratch-win-amount span{font-size:17px}.scratch-result .scratch-profit{color:#79ce98}.scratch-result.big,.scratch-result.super,.scratch-result.jackpot{background:radial-gradient(#503b16,#211b10);border-color:#e5c36b;box-shadow:0 0 18px #d4af3733}.scratch-result.jackpot{border-width:2px;box-shadow:0 0 25px #d4af3766}.scratch-payout-panel{background:#171812;border:1px solid #806b3d;border-radius:10px;margin-top:20px;padding:15px 12px}.scratch-payout-panel h3{color:#e5c36b;text-align:center;letter-spacing:2px;margin:0;font-size:15px}.scratch-payout-panel>p{color:#b99a50;text-align:center;margin:8px 0 14px;font-size:11px}.scratch-payout-grid{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.scratch-payout-row{background:#22251e;border:1px solid #383a30;border-radius:4px;justify-content:space-between;align-items:center;gap:4px;padding:8px 6px;font-size:12px;display:flex}.scratch-payout-row span{color:#b99a50}.scratch-payout-row strong{color:#e3e7d7;font-variant-numeric:tabular-nums}.scratch-payout-row.premium{background:#493313;border-color:#9b7e3d}.scratch-payout-row.premium strong{color:#ffe58c}.scratch-payout-row.matched{background:#80601d;border-color:#ffe58c}.scratch-payout-row.matched span,.scratch-payout-row.matched strong{color:#fff4bd}.scratch-hammer{background:#171717;border:1px solid #333;border-radius:12px;align-items:center;gap:14px;margin-top:20px;padding:14px;display:flex}.scratch-hammer img{object-fit:contain;width:75px;height:90px;image-rendering:pixelated;flex-shrink:0}.scratch-hammer h3{color:#e5c36b;margin:0 0 8px;font-size:13px}.scratch-hammer p{color:#ddd;font-size:13px;line-height:1.8}.scratch-debug{background:#17212b;border:1px dashed #526b88;border-radius:8px;margin-top:20px;padding:14px}.scratch-debug h3{color:#9dbce0;margin:0 0 10px;font-size:13px}.scratch-debug p,.scratch-result .scratch-dev-note{color:#9dbce0;margin-top:12px;font-size:11px;line-height:1.6}.scratch-debug button{color:#c5d9f0;cursor:pointer;background:#293b50;border:1px solid #526b88;border-radius:6px;width:100%;margin-top:10px;padding:10px;font-size:12px}.scratch-error{color:#ef9999;text-align:center;margin-top:14px;font-size:13px}.scratch-arrow-board{grid-template-columns:34px repeat(3,minmax(0,1fr)) 34px;align-items:center;gap:7px;display:grid}.scratch-arrow{color:#e4edcf;cursor:pointer;touch-action:manipulation;background:linear-gradient(#3b5540,#25382a);border:1px solid #77926b;border-radius:6px;justify-content:center;align-items:center;width:100%;min-height:34px;padding:0;font-size:26px;font-weight:700;transition:background .15s,color .15s,box-shadow .15s;display:flex}.scratch-arrow.active{color:#35250c;background:linear-gradient(#ffe58c,#b78b32);border-color:#fff4bd;box-shadow:0 0 12px #ffe58c88}.scratch-arrow:disabled:not(.active){opacity:.25;cursor:default}.scratch-arrow:disabled{cursor:default}.scratch-cell.previewing{border-color:#ffe58c;outline:1px solid #d4af37;box-shadow:0 0 10px #ffe58c88}.scratch-cell.covered.previewing{color:#fff4bd;background:repeating-linear-gradient(135deg,#ffffff12 0 1px,#0000 1px 5px),linear-gradient(135deg,#c9bd82,#8d8050,#b9aa6d)}.scratch-cell.opened.previewing{color:#514718;background:#d6d39b}.scratch-line-confirm{text-align:center;background:#111c15;border:1px solid #61765a;border-radius:10px;margin-top:20px;padding:15px 12px}.scratch-line-confirm p{color:#b8c9a6;font-size:12px}.scratch-line-confirm strong{color:#ffe58c;margin-top:8px;font-size:20px;display:block}.scratch-line-confirm .scratch-main-button{margin-top:14px}@media (width<=380px){.scratch-arrow-board{grid-template-columns:28px repeat(3,minmax(0,1fr)) 28px;gap:4px}.scratch-arrow{min-height:30px;font-size:22px}.scratch-board{padding:12px}}.scratch-arrow{box-sizing:border-box;place-self:center;width:34px;height:34px;min-height:34px}@media (width<=380px){.scratch-arrow{width:28px;height:28px;min-height:28px}}.scratch-canvas-cell{-webkit-user-select:none;user-select:none;background:#b5c598;padding:0;position:relative;overflow:hidden}.scratch-canvas-cell.covered{color:#26371d;text-shadow:none;background:#b5c598}.scratch-cell-number{z-index:1;pointer-events:none;position:relative}.scratch-cover-canvas{z-index:2;cursor:crosshair;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.scratch-canvas-cell.locked .scratch-cover-canvas{pointer-events:none;cursor:default}.scratch-canvas-cell.covered.previewing .scratch-cover-canvas{filter:sepia(.8)saturate(1.3)}.scratch-canvas-cell.covered:active{transform:none}.scratch-accessible-button{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.scratch-accessible-button:focus-visible{clip-path:none;z-index:3;color:#fff4bd;background:#293d2e;border:1px solid #ffe58c;border-radius:4px;width:90%;height:auto;padding:8px 2px}.scratch-accessible-button{pointer-events:none}.scratch-cover-canvas{pointer-events:auto;touch-action:none;z-index:5}.scratch-canvas-cell.locked .scratch-cover-canvas{pointer-events:none}.scratch-canvas-cell{touch-action:none;-webkit-user-drag:none}.scratch-canvas-cell.scratching{border-color:#ffe58c;outline:2px solid #d4af37;box-shadow:0 0 14px #ffe58c88}.scratch-canvas-cell.blocked{cursor:not-allowed}.scratch-canvas-cell.blocked:after{content:"";z-index:6;pointer-events:none;background:#0000006b;position:absolute;inset:0}.scratch-canvas-cell.blocked .scratch-cover-canvas{pointer-events:none}.scratch-lock-icon{z-index:7;pointer-events:none;font-size:15px;line-height:1;position:absolute;bottom:5px;right:6px}.scratch-count-up{font-size:inherit;font-weight:inherit;font-variant-numeric:tabular-nums;color:inherit;display:inline-block}.scratch-win-amount .scratch-count-up{font-size:inherit;font-weight:inherit;color:inherit;font-variant-numeric:tabular-nums}.scratch-result{transition:background .3s,border-color .3s,box-shadow .3s;position:relative;overflow:hidden}.scratch-result.win{color:#d0e5ae;background:radial-gradient(#293a20,#151d13);border:1px solid #829e65;box-shadow:0 0 12px #829e6522}.scratch-result.good{color:#a5e1ff;background:radial-gradient(#24445c,#101d2b);border:2px solid #559fc8;animation:2s ease-in-out infinite scratch-good-glow;box-shadow:0 0 18px #559fc855}.scratch-result.big{color:#e9b5ff;background:radial-gradient(#513064,#24152f);border:2px solid #c17ae8;animation:1.5s ease-in-out infinite scratch-big-glow;box-shadow:0 0 24px #c17ae866}.scratch-result.super{color:#ffdf82;background:radial-gradient(#68501f,#30230e);border:2px solid #ffe58c;animation:1.2s ease-in-out infinite scratch-super-glow;box-shadow:0 0 28px #d4af3788}.scratch-result.jackpot{color:#fff2b3;background:radial-gradient(#967024,#3c290b);border:3px solid #fff0a0;animation:1s ease-in-out infinite scratch-jackpot-glow;box-shadow:0 0 36px #ffe45caa}.scratch-result h3,.scratch-result .scratch-win-amount,.scratch-result .scratch-sum{color:inherit}@keyframes scratch-good-glow{0%,to{box-shadow:0 0 10px #559fc833}50%{box-shadow:0 0 24px #559fc888}}@keyframes scratch-big-glow{0%,to{box-shadow:0 0 15px #c17ae844}50%{box-shadow:0 0 32px #c17ae8aa}}@keyframes scratch-super-glow{0%,to{box-shadow:0 0 20px #d4af3766}50%{box-shadow:0 0 38px #ffe58cbb}}@keyframes scratch-jackpot-glow{0%,to{box-shadow:0 0 24px #ffe45c88,inset 0 0 12px #ffe45c33}50%{box-shadow:0 0 45px #ffe45cdd,inset 0 0 28px #ffe45c66}}@media (prefers-reduced-motion:reduce){.scratch-result{animation:none}}.scratch-cell.winning{animation:.7s ease-in-out 4 scratch-winning-pulse}@keyframes scratch-winning-pulse{0%,to{box-shadow:0 0 8px #ffe58c88}50%{box-shadow:0 0 24px #ffe58c,inset 0 0 12px #fff8}}.scratch-result.jackpot{color:#fff5cc;background:radial-gradient(#30203d,#100e19) 0 0/100% 100% padding-box padding-box,linear-gradient(120deg,#f44,#f90,#ff4,#4f8,#4df,#86f,#f4c,#f44) 0 0/300% 300% border-box;border:3px solid #0000;animation:3s linear infinite scratch-rainbow-border,3s linear infinite scratch-rainbow-glow}.scratch-result.jackpot h3,.scratch-result.jackpot .scratch-count-up{background:linear-gradient(90deg,#f66,#fc4,#ff6,#6f9,#6df,#a8f,#f6d,#f66) 0 0/300% 100%;color:#0000;filter:drop-shadow(0 0 6px #fff5);-webkit-background-clip:text;background-clip:text;animation:2.5s linear infinite scratch-rainbow-text}.scratch-result.jackpot h3{letter-spacing:2px;font-size:clamp(26px,7vw,38px);font-weight:900}@keyframes scratch-rainbow-border{0%{background-position:50%,0%}to{background-position:50%,150%}}@keyframes scratch-rainbow-text{0%{background-position:0%}to{background-position:150%}}@keyframes scratch-rainbow-glow{0%,to{box-shadow:0 0 30px #f449}16%{box-shadow:0 0 30px #fc49}33%{box-shadow:0 0 30px #4f89}50%{box-shadow:0 0 30px #4df9}66%{box-shadow:0 0 30px #86f9}83%{box-shadow:0 0 30px #f4c9}}@media (prefers-reduced-motion:reduce){.scratch-cell.winning,.scratch-result.jackpot,.scratch-result.jackpot h3,.scratch-result.jackpot .scratch-count-up{animation:none}}.scratch-coin-rain{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.scratch-falling-coin{object-fit:contain;opacity:0;-webkit-user-select:none;user-select:none;pointer-events:none;filter:drop-shadow(0 0 5px #ffe58c88);animation:scratch-coin-fall var(--coin-duration) linear var(--coin-delay) both;position:absolute;top:-60px}.scratch-result>:not(.scratch-coin-rain){z-index:2;position:relative}@keyframes scratch-coin-fall{0%{opacity:0;top:-60px;transform:translate(0)rotateY(0)rotate(0)}10%{opacity:.9}85%{opacity:.9}to{opacity:0;transform:translateX(var(--coin-drift)) rotateY(1080deg) rotateZ(180deg);top:110%}}.scratch-result.jackpot .scratch-falling-coin{filter:drop-shadow(0 0 8px #ffe58c)drop-shadow(0 0 4px #fff)}@media (prefers-reduced-motion:reduce){.scratch-coin-rain{display:none}}.scratch-view.jackpot-mode{isolation:isolate;position:relative}.scratch-view.jackpot-mode:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 10% 20%,#f333,#0000 55%),radial-gradient(at 90% 30%,#3cf3,#0000 55%),radial-gradient(at 50% 80%,#c3f3,#0000 60%);animation:6s linear infinite scratch-jackpot-aura;position:fixed;inset:0}.jackpot-mode .scratch-board{border-color:#fff0a0;animation:3s linear infinite scratch-rainbow-glow}.jackpot-mode .scratch-cell.winning{color:#202020;text-shadow:0 0 5px #fffa;background:linear-gradient(120deg,#f77,#fb5,#ff8,#7f9,#7df,#b8f,#f8d,#f77) 0 0/300% 300%;border:2px solid #fff;animation:2.5s linear infinite scratch-jackpot-cell-rainbow,1.5s ease-in-out infinite scratch-jackpot-cell-glow}@keyframes scratch-jackpot-cell-rainbow{0%{background-position:0%}to{background-position:150%}}@keyframes scratch-jackpot-cell-glow{0%,to{box-shadow:0 0 8px #fff8}50%{box-shadow:0 0 20px #fffc,inset 0 0 12px #fff8}}@keyframes scratch-jackpot-aura{0%{filter:hue-rotate()}to{filter:hue-rotate(360deg)}}@media (prefers-reduced-motion:reduce){.scratch-view.jackpot-mode:before,.jackpot-mode .scratch-board,.jackpot-mode .scratch-cell.winning{animation:none}}.scratch-dev-ranks{flex-direction:column;gap:8px;margin:16px 0;display:flex}.scratch-dev-ranks>p{color:#8bcaff;margin:0 0 4px;font-size:13px;font-weight:700}.scratch-dev-ranks .scratch-dev-rank{box-sizing:border-box;cursor:pointer;background:#151c25;border:1px solid;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:12px;font-size:13px;font-weight:700;display:flex}.scratch-dev-ranks .scratch-dev-rank.win{color:#b5c598}.scratch-dev-ranks .scratch-dev-rank.good{color:#8bd5ff}.scratch-dev-ranks .scratch-dev-rank.big{color:#d49aff}.scratch-dev-ranks .scratch-dev-rank.super{color:#ffe58c}.scratch-dev-ranks .scratch-dev-rank.jackpot{color:#fad;background:linear-gradient(120deg,#382033,#28203e,#183044)}.scratch-dev-ranks .scratch-dev-rank:disabled{opacity:.35;cursor:not-allowed}.scratch-dev-ranks .scratch-dev-rank:not(:disabled):active{transform:scale(.98)}.scratch-insufficient{color:#f99;text-align:center;margin:12px 0;font-size:13px;font-weight:700}.scratch-payment-pending{color:#ffe0b0;text-align:center;background:linear-gradient(145deg,#38291d,#211b16);border:1px solid #c58b55;border-radius:14px;margin:18px 0;padding:20px}.scratch-payment-pending img{object-fit:contain;width:90px;height:110px;image-rendering:pixelated}.scratch-payment-pending h3{color:#fc8;font-size:17px}.scratch-payment-pending p{font-size:13px;line-height:1.8}.scratch-payment-back{color:#ffe0b0;cursor:pointer;background:0 0;border:1px solid #9c8059;border-radius:8px;width:100%;margin-top:10px;padding:12px;font-size:13px}.scratch-financial-summary{text-align:left;font-variant-numeric:tabular-nums;background:#00000073;border:1px solid #ffffff26;border-radius:12px;margin:20px 0 16px;padding:16px}.scratch-summary-row{justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:13px;display:flex}.scratch-summary-row>span{color:#ccc}.scratch-summary-row>strong{color:#eee;text-align:right;white-space:nowrap;font-size:15px}.scratch-summary-row .scratch-summary-spend{color:#ed7777}.scratch-summary-row .scratch-summary-earn{color:#66d99a}.scratch-summary-row.total{border-top:1px solid #ffffff2e;margin-top:8px;padding-top:14px;padding-bottom:14px}.scratch-summary-row.total>span{color:#eee;font-weight:700}.scratch-summary-row.total>strong{font-size:clamp(18px,5vw,24px);font-weight:700}.scratch-summary-balance{border-top:1px solid #ffffff2e;flex-direction:column;gap:8px;padding-top:14px;display:flex}.scratch-summary-balance>span{color:#bbb;font-size:12px}.scratch-summary-balance>strong{color:#ffe58c;text-align:right;overflow-wrap:anywhere;text-shadow:0 0 10px #d4af3733;font-size:clamp(22px,6vw,30px);font-weight:700}.scratch-financial-summary.dev-summary{background:#0f1926d9;border-color:#526b88}.scratch-result .scratch-summary-dev-title{color:#9dbce0;border-bottom:1px solid #526b88;margin:0 0 10px;padding-bottom:10px;font-size:13px;font-weight:700}@media (width<=380px){.scratch-financial-summary{padding:12px}.scratch-summary-row{gap:6px;font-size:12px}.scratch-summary-row>strong{font-size:13px}.scratch-summary-row.total>strong{font-size:18px}.scratch-summary-balance>strong{font-size:22px}}.scratch-jackpot-overlay{z-index:9999;overscroll-behavior:contain;box-sizing:border-box;background:radial-gradient(#38234d,#100b19 75%);padding:20px;animation:.6s ease-out both jackpot-overlay-enter;display:flex;position:fixed;inset:0;overflow-y:auto}.scratch-jackpot-content{text-align:center;color:#ffe58c;width:100%;max-width:480px;margin:auto;position:relative}.scratch-jackpot-label{letter-spacing:4px;color:#d4af37;font-size:13px}.scratch-jackpot-title{letter-spacing:1px;margin:12px 0;font-size:clamp(36px,11vw,64px);font-weight:900}.scratch-jackpot-subtitle{letter-spacing:4px;color:#fff2bd;font-size:16px}.scratch-jackpot-amount{font-variant-numeric:tabular-nums;font-size:clamp(52px,15vw,100px);font-weight:900;line-height:1.3}.scratch-jackpot-unit{letter-spacing:5px;font-size:22px;font-weight:700}.scratch-jackpot-stars{margin:12px 0;font-size:26px}.scratch-jackpot-title,.scratch-jackpot-amount .scratch-count-up,.scratch-jackpot-stars{background:linear-gradient(90deg,#f77,#fc5,#ff8,#7f9,#7df,#b8f,#f8d,#f77) 0 0/300% 100%;color:#0000;filter:drop-shadow(0 0 8px #fff6);-webkit-background-clip:text;background-clip:text;animation:2.5s linear infinite jackpot-full-rainbow}.scratch-jackpot-hammer{object-fit:contain;width:100px;height:120px;image-rendering:pixelated;filter:drop-shadow(0 0 12px #ffe58c88)}.scratch-jackpot-message{color:#fff2bd;margin:12px 0 24px;font-size:14px;font-weight:700;line-height:1.8}.scratch-jackpot-close{color:#201607;cursor:pointer;background:linear-gradient(#f2d780,#ae8430);border:1px solid #ffe58c;border-radius:10px;width:100%;padding:16px;font-size:16px;font-weight:700}.scratch-jackpot-close:disabled{opacity:.45;cursor:default}@keyframes jackpot-full-rainbow{0%{background-position:0%}to{background-position:150%}}@keyframes jackpot-overlay-enter{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.scratch-jackpot-overlay,.scratch-jackpot-title,.scratch-jackpot-amount .scratch-count-up,.scratch-jackpot-stars{animation:none}}.scratch-jackpot-overlay{isolation:isolate;overflow-x:hidden}.scratch-jackpot-rays{z-index:-1;pointer-events:none;background:repeating-conic-gradient(#f554 0deg,#0000 12deg,#fc54 24deg,#0000 36deg,#5f84 48deg,#0000 60deg,#5cf4 72deg,#0000 84deg,#c5f4 96deg,#0000 120deg);width:180vmax;height:180vmax;animation:24s linear infinite jackpot-rays-rotate;position:fixed;top:50%;left:50%}@keyframes jackpot-rays-rotate{0%{transform:translate(-50%,-50%)rotate(0)}to{transform:translate(-50%,-50%)rotate(360deg)}}.scratch-jackpot-particles{pointer-events:none;z-index:0;position:fixed;inset:0;overflow:hidden}.scratch-jackpot-particle{font-size:var(--particle-size);color:var(--particle-color);text-shadow:0 0 8px,0 0 16px;animation:jackpot-particle-float var(--particle-duration) var(--particle-delay) linear infinite;position:absolute;bottom:-30px}@keyframes jackpot-particle-float{0%{opacity:0;transform:translateY(0)rotate(0)scale(.5)}20%{opacity:.9}75%{opacity:.9}to{opacity:0;transform:translateY(-110vh)rotate(180deg)scale(1.2)}}.scratch-jackpot-content{z-index:2;position:relative}@media (prefers-reduced-motion:reduce){.scratch-jackpot-rays{animation:none;transform:translate(-50%,-50%)}.scratch-jackpot-particles{display:none}}.scratch-jackpot-overlay .scratch-coin-rain{pointer-events:none;z-index:1;position:fixed;inset:0;overflow:hidden}.scratch-jackpot-overlay .scratch-falling-coin{filter:drop-shadow(0 0 8px #ffe58c)drop-shadow(0 0 4px #fff8);animation-name:jackpot-full-coin-fall}@keyframes jackpot-full-coin-fall{0%{opacity:0;transform:translate(0,0)rotateY(0)rotate(0)}10%{opacity:.95}85%{opacity:.95}to{transform:translate3d(var(--coin-drift), calc(100dvh + 120px), 0) rotateY(1080deg) rotateZ(360deg);opacity:0}}@media (prefers-reduced-motion:reduce){.scratch-jackpot-overlay .scratch-coin-rain{display:none}}.scratch-jackpot-burst{pointer-events:none;z-index:1;border:5px solid #fff2a0;border-radius:50%;width:100px;height:100px;animation:1.4s ease-out both jackpot-celebration-burst;position:fixed;top:50%;left:50%;box-shadow:0 0 30px #f7d,0 0 60px #7df,inset 0 0 30px #ffe58c}@keyframes jackpot-celebration-burst{0%{opacity:.8;transform:translate(-50%,-50%)scale(.5)}to{opacity:0;transform:translate(-50%,-50%)scale(25)}}.scratch-jackpot-overlay.celebration .scratch-jackpot-amount{animation:.9s ease-out both jackpot-amount-bounce}@keyframes jackpot-amount-bounce{0%,to{transform:scale(1)}35%{transform:scale(1.18)}65%{transform:scale(.97)}85%{transform:scale(1.04)}}.scratch-jackpot-maximum{color:#ffe58c;letter-spacing:2px;text-shadow:0 0 8px #ffe58c,0 0 16px #d4af37;opacity:0;min-height:24px;margin:12px 0;font-size:14px;font-weight:900}.scratch-jackpot-overlay.celebration .scratch-jackpot-maximum{animation:.8s ease-out both jackpot-maximum-appear}@keyframes jackpot-maximum-appear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.scratch-jackpot-burst{display:none}.scratch-jackpot-overlay.celebration .scratch-jackpot-amount{animation:none}.scratch-jackpot-overlay.celebration .scratch-jackpot-maximum{opacity:1;animation:none}}.options-view{box-sizing:border-box;overscroll-behavior:contain;min-block-size:0;max-block-size:100dvh;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));color:#eee;background:#090909;overflow:auto}.options-panel{overflow-wrap:anywhere;background:#15130e;border:1px solid #806b3e;border-radius:14px;gap:14px;max-inline-size:520px;margin-inline:auto;padding:clamp(12px,4vw,24px);display:grid}.options-header,.options-volume-label,.options-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.options-header h2{color:#e5c36b;margin:0}.options-hammer{background:#211b10;border-radius:8px;align-items:center;gap:12px;padding:8px;font-size:.875rem;line-height:1.65;display:flex}.options-hammer img{object-fit:contain;image-rendering:pixelated;flex:none}.options-audio{accent-color:#e5c36b;border:1px solid #806b3e;border-radius:8px;min-inline-size:0;margin:0;padding:8px 12px}.options-audio legend,.options-volume-label output{color:#e5c36b;font-weight:700}.options-volume-label output{font-variant-numeric:tabular-nums}.options-slider{cursor:pointer;min-block-size:44px;inline-size:100%;margin:0;display:block}.options-mute{cursor:pointer;align-items:center;gap:8px;min-block-size:44px;display:flex}.options-mute input{block-size:20px;inline-size:20px;margin:0}.options-panel button{color:#e5c36b;min-block-size:44px;min-inline-size:44px;font:inherit;cursor:pointer;background:#17130b;border:1px solid #806b3e;border-radius:6px;padding:8px 12px}.options-panel button:hover:enabled{background:#302613}.options-panel :focus-visible{outline-offset:2px;outline:2px solid #e5c36b}.options-panel :disabled{opacity:.6;cursor:default}.options-error{color:#ffb6aa;margin:0;font-size:.875rem}.options-error:empty{margin-block-start:-14px}.options-footer{text-align:center;gap:12px;display:grid}.options-footer p{color:#c5b998;font-size:.75rem}.options-visually-hidden{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.exchange-layout{color:#eee;background:#090909;min-height:100dvh}.exchange-header{border-bottom:1px solid #40351e;justify-content:space-between;align-items:center;gap:12px;max-width:760px;margin:0 auto;padding:24px 18px 18px;display:flex}.exchange-header h1{color:#e5c36b;font-size:22px}.exchange-header p{color:#b99a50;letter-spacing:2px;margin-top:5px;font-size:10px}.title-return-button{color:#c9a34e;cursor:pointer;background:0 0;border:1px solid #66522d;border-radius:6px;padding:8px 12px}.exchange-header-actions{flex:none;align-items:center;gap:8px;display:flex}.home-options-button{color:#e5c36b;cursor:pointer;background:#17130b;border:1px solid #806b3e;border-radius:8px;place-items:center;width:44px;height:44px;padding:0;font-size:26px;line-height:1;display:grid}.home-options-button:hover{background:#302613}.home-options-button:focus-visible{outline-offset:2px;outline:2px solid #e5c36b}.home-options-dialog{border:0;width:min(100%,544px);max-width:100%;max-height:100dvh;padding:0;overflow:clip}.home-options-dialog::backdrop{background:#000000b3}html:has(.home-options-dialog[open]){overflow:hidden}.exchange-main{max-width:760px;margin:0 auto;padding:20px 16px 110px}.balance-panel{text-align:center;background:radial-gradient(at top,#302411,#13110c);border:1px solid #8c733d;border-radius:14px;padding:24px 16px}.balance-label{color:#c9a34e;letter-spacing:2px;font-size:13px}.balance-coin{object-fit:contain;width:70px;height:70px;margin:14px 0 6px}.balance-value{color:#e5c36b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:42px;font-weight:700}.balance-value span{font-size:20px}.yen-value{color:#aaa18c;margin-top:8px;font-size:13px}.exchange-rate{color:#a99b7d;border-top:1px solid #59482a;margin-top:18px;padding-top:14px;font-size:12px}.hammer-panel{box-sizing:border-box;text-align:left;width:100%;height:190px;color:inherit;cursor:pointer;background:#171717;border:1px solid #303030;border-radius:12px;align-items:flex-start;gap:16px;margin-top:18px;padding:14px;display:flex}.hammer-panel img{object-fit:contain;width:84px;height:100px;image-rendering:pixelated;flex-shrink:0;align-self:flex-start}.hammer-message{flex-direction:column;flex:1;align-items:flex-start;min-width:0;height:100%;display:flex}.hammer-message h2{color:#e5c36b;flex-shrink:0;margin:0 0 8px;font-size:14px;line-height:1.5}.hammer-message p{color:#ddd;overflow-wrap:anywhere;width:100%;min-height:0;margin:0;font-size:13px;line-height:1.8;overflow-y:auto}@media (width<=359px){.hammer-panel{height:220px}}@media (width>=400px){.hammer-panel{height:160px}}@media (width>=600px){.hammer-panel{height:130px}}.home-menu-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;display:grid}.home-menu-button{color:#e5c36b;cursor:pointer;background:#1a1710;border:1px solid #66522d;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:105px;padding:12px 4px;font-size:12px;transition:all .15s;display:flex}.home-menu-button:hover{background:#302613;border-color:#d4b15d}.home-menu-button:active{transform:scale(.96)}.menu-icon{font-size:32px}.notice-panel{background:#151515;border:1px solid #303030;border-radius:10px;margin-top:18px;padding:16px}.notice-panel h2{color:#c9a34e;margin:0 0 10px;font-size:14px}.notice-panel p{color:#bbb;font-size:13px}.bottom-navigation{width:100%;max-width:760px;padding:8px 4px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:100;background:#111;border-top:1px solid #66522d;grid-template-columns:repeat(7,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-button{color:#888;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;padding:8px 0;display:flex}.nav-button.active{color:#e5c36b;background:#211b10;border-radius:8px}.nav-icon{font-size:22px}.nav-label{white-space:nowrap;font-size:9px}.placeholder-panel{text-align:center;padding:60px 12px}.placeholder-icon{margin-bottom:20px;font-size:64px}.placeholder-panel h2{color:#e5c36b}.placeholder-panel p{color:#aaa;margin-top:20px}@media (width>=600px){.home-menu-button{min-height:130px;font-size:15px}.menu-icon{font-size:40px}.nav-label{font-size:12px}.hammer-message p{font-size:15px}}.early-access-panel{background:#15130e;border:1px solid #806b3e;border-radius:10px;margin-top:18px;overflow:hidden}.early-access-toggle{color:#e5c36b;text-align:left;cursor:pointer;background:#1b1810;border:none;align-items:center;gap:12px;width:100%;padding:16px 14px;transition:background .15s;display:flex}.early-access-toggle:hover{background:#292215}.early-access-toggle:focus-visible,.early-access-close:focus-visible{outline-offset:-3px;outline:2px solid #e5c36b}.early-access-icon{flex-shrink:0;font-size:24px}.early-access-heading{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.early-access-heading strong{color:#e5c36b;font-size:13px;line-height:1.5}.early-access-heading small{color:#a99b7d;letter-spacing:1px;font-size:10px}.early-access-arrow{color:#c9a34e;flex-shrink:0;font-size:12px}.early-access-details{border-top:1px solid #59482a;padding:18px 16px}.early-access-details[hidden]{display:none}.early-access-intro{color:#ddd;margin:0 0 18px;font-size:13px;line-height:1.8}.early-access-item{border-top:1px solid #40351e;margin-top:16px;padding-top:16px}.early-access-item h3{color:#e5c36b;margin:0 0 8px;font-size:13px}.early-access-item p{color:#c5c0b4;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.9}.early-access-hammer{background:#211b10;border:1px solid #66522d;border-radius:8px;align-items:center;gap:12px;margin-top:22px;padding:14px;display:flex}.early-access-hammer img{object-fit:contain;width:64px;height:80px;image-rendering:pixelated;flex-shrink:0}.early-access-hammer div{flex:1;min-width:0}.early-access-hammer h3{color:#e5c36b;margin:0 0 8px;font-size:12px}.early-access-hammer p{color:#ddd;margin:0;font-size:13px;line-height:1.8}.early-access-close{color:#e5c36b;cursor:pointer;background:#17130b;border:1px solid #806b3e;border-radius:6px;width:100%;margin-top:18px;padding:12px;font-size:13px;font-weight:700;transition:background .15s;display:block}.early-access-close:hover{background:#302613}.exchange-main{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}@media (width>=600px){.early-access-toggle{padding:18px 20px}.early-access-heading strong{font-size:15px}.early-access-details{padding:24px}.early-access-item h3{font-size:15px}.early-access-item p,.early-access-intro{font-size:14px}}.update-notice{--notice-top:max(12px, env(safe-area-inset-top,0px));--notice-right:max(12px, env(safe-area-inset-right,0px));--notice-bottom:max(12px, env(safe-area-inset-bottom,0px));--notice-left:max(12px, env(safe-area-inset-left,0px));box-sizing:border-box;inset:var(--notice-top) var(--notice-right) var(--notice-bottom) var(--notice-left);inline-size:min(420px, calc(100% - var(--notice-left) - var(--notice-right)));max-inline-size:none;max-block-size:calc(100dvh - var(--notice-top) - var(--notice-bottom));overscroll-behavior:contain;overflow-wrap:anywhere;color:#eee;background:#15130e;border:1px solid #806b3e;border-radius:14px;margin:auto;padding:clamp(16px,5vw,24px);overflow:auto}.update-notice::backdrop{background:#000000bf}.update-notice-hammer{object-fit:contain;image-rendering:pixelated;margin-inline:auto;display:block}.update-notice h2{color:#e5c36b;margin:12px 0 8px;font-size:1.125rem;line-height:1.5}.update-notice p{margin:0;line-height:1.65}.update-notice-actions{flex-wrap:wrap;gap:8px;margin-block-start:16px;display:flex}.update-notice-actions button{color:#e5c36b;min-block-size:44px;min-inline-size:44px;font:inherit;cursor:pointer;background:#17130b;border:1px solid #806b3e;border-radius:6px;flex:7.5rem;padding:8px 12px}.update-notice-actions button:focus-visible{outline-offset:2px;outline:2px solid #fff1c5}.save-protection-notice{--save-notice-top:max(12px, env(safe-area-inset-top,0px));--save-notice-right:max(12px, env(safe-area-inset-right,0px));--save-notice-bottom:max(12px, env(safe-area-inset-bottom,0px));--save-notice-left:max(12px, env(safe-area-inset-left,0px));box-sizing:border-box;inset:var(--save-notice-top) var(--save-notice-right) var(--save-notice-bottom) var(--save-notice-left);inline-size:min(420px, calc(100% - var(--save-notice-left) - var(--save-notice-right)));max-inline-size:none;max-block-size:calc(100dvh - var(--save-notice-top) - var(--save-notice-bottom));overscroll-behavior:contain;overflow-wrap:anywhere;color:#eee;background:#15130e;border:1px solid #806b3e;border-radius:14px;margin:auto;padding:clamp(16px,5vw,24px);overflow:auto}.save-protection-notice::backdrop{background:#000000bf}.save-protection-notice img{object-fit:contain;image-rendering:pixelated;margin-inline:auto;display:block}.save-protection-notice h2,.save-protection-reason h3{color:#e5c36b;margin:0;font-size:1rem;line-height:1.5}.save-protection-notice h2{margin-block:12px;font-size:1.125rem}.save-protection-details{gap:12px;display:grid}.save-protection-details p{margin:0;line-height:1.65}.save-protection-reason h3{margin-block-end:4px}.save-protection-notice button,.save-protection-summary{color:#e5c36b;min-block-size:44px;min-inline-size:44px;font:inherit;overflow-wrap:anywhere;cursor:pointer;background:#17130b;border:1px solid #806b3e;border-radius:8px;padding:8px 12px}.save-protection-notice button{inline-size:100%;margin-block-start:16px}.save-protection-summary{inline-size:100%}.save-protection-notice button:focus-visible,.save-protection-summary:focus-visible{outline-offset:2px;outline:2px solid #fff1c5}.title-screen,.home-screen{text-align:center;background:radial-gradient(#211a0b 0%,#0b0b0b 55%,#000 100%);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:32px 20px 64px;display:flex;position:relative}.title-screen{box-sizing:border-box;padding-bottom:100px}.title-content{flex-direction:column;align-items:center;width:100%;max-width:480px;display:flex}.project-label{color:#b99a50;letter-spacing:4px;margin-bottom:32px;font-size:11px}.title-coin{object-fit:contain;filter:drop-shadow(0 0 24px #daa52059);width:180px;height:180px;animation:4s ease-in-out infinite coin-float}.title-name{color:#e5c36b;letter-spacing:2px;text-shadow:0 0 18px #a47c3340;margin:28px 0 8px;font-size:clamp(25px,7vw,38px)}.title-english{color:#c9a34e;letter-spacing:4px;font-size:12px}.early-access-label{color:#e5c36b;letter-spacing:4px;background:#c9a34e0f;border:1px solid #9d8145;border-radius:4px;margin:20px 0 0;padding:6px 18px;font-size:11px;font-weight:700;line-height:1.5;display:inline-block;box-shadow:0 0 12px #c9a34e14}.title-message{color:#a09a89;margin-top:28px;font-size:13px}.start-button{color:#e5c36b;letter-spacing:3px;cursor:pointer;background:#17130b;border:1px solid #c9a34e;border-radius:8px;width:min(240px,100%);margin-top:48px;padding:16px 24px;font-size:16px;font-weight:700;transition:all .2s}.start-button:hover{color:#000;background:#c9a34e;box-shadow:0 0 24px #c9a34555}.start-button:active{transform:scale(.97)}.version{bottom:calc(24px + env(safe-area-inset-bottom,0px));color:#8f8570;letter-spacing:2px;text-align:center;font-size:11px;position:absolute;left:16px;right:16px}.version p{margin:0}.version .title-disclaimer{color:#8f8570;letter-spacing:.5px;margin-top:8px;font-size:10px;font-weight:400;line-height:1.6}.home-coin{object-fit:contain;width:100px;height:100px}.home-screen h1{color:#e5c36b;margin:24px 0}@keyframes coin-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@media (height<=750px){.title-screen{padding-top:24px;padding-bottom:90px}.project-label{margin-bottom:20px}.title-coin{width:140px;height:140px}.title-name{margin-top:20px}.early-access-label{margin-top:16px}.title-message{margin-top:20px}.start-button{margin-top:32px}}@media (height<=550px){.title-screen{justify-content:flex-start;padding-bottom:24px}.title-coin{width:100px;height:100px}.version{padding-bottom:env(safe-area-inset-bottom,0px);margin-top:32px;position:static}}@media (prefers-reduced-motion:reduce){.title-coin{animation:none}}.save-operation-screen{min-block-size:100dvh;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));color:#eee;background:#11100d;place-items:center;display:grid}.save-operation-panel{box-sizing:border-box;overflow-wrap:anywhere;background:#15130e;border:1px solid #806b3e;border-radius:14px;inline-size:min(100%,420px);padding:clamp(16px,5vw,24px)}.save-operation-panel img{object-fit:contain;image-rendering:pixelated;margin-inline:auto;display:block}.save-operation-panel h1{color:#e5c36b;margin:12px 0;font-size:1.125rem;line-height:1.5}.save-operation-panel p{margin:0 0 12px;line-height:1.65}.save-operation-panel p:last-child{margin-block-end:0}.save-operation-status{color:#e5c36b}
