@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#173f35;--paper:#f7f5ed;--muted:#777d71;--yellow:#f8cf50}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--green);font-family:'DM Sans',sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b28b1e;outline-offset:4px}button{min-height:44px}header{max-width:1240px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dcded2}.brand{text-decoration:none;color:inherit;display:flex;gap:12px;align-items:center;font-weight:800;font-size:17px;line-height:1.05;letter-spacing:1px}.brand-icon{font-size:54px;line-height:1}.brand small{font-size:9px;letter-spacing:1px;display:block;margin-top:7px;font-weight:500}.session-btn{border:1px solid #b8c3b5;border-radius:30px;background:transparent;padding:0 20px;color:var(--green);font-size:13px}.session-btn span{margin-left:18px}main{max-width:1240px;padding:0 32px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;padding:48px 0 36px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;margin:0 0 14px}h1,h2,h3,p{margin-top:0}h1{font-family:Manrope,sans-serif;font-size:clamp(36px,4.5vw,58px);letter-spacing:-2.8px;line-height:1.12;font-weight:800;margin-bottom:18px}h1 em{font-family:Georgia,serif;font-weight:400}p{font-size:14px;line-height:1.7;color:#747c70}.intro p:last-child{margin-bottom:0}.hero-stamp{height:156px;width:156px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #b3bca6;border-radius:50%;transform:rotate(12deg);margin-right:55px;background:#ecefdd;outline:1px dashed #a8b69a;outline-offset:-8px}.hero-stamp span{font-size:9px;letter-spacing:2px;font-weight:700}.hero-stamp b{font-size:72px;line-height:1.1}.wallet{display:flex;align-items:center;gap:48px;background:var(--green);color:#fff;border-radius:14px;padding:23px 30px;position:relative;overflow:hidden}.wallet-label{display:block;font-size:9px;letter-spacing:2px;color:#c3d2b7}.wallet strong{display:block;font:700 32px Manrope,sans-serif;margin-top:5px;letter-spacing:-1px}.wallet-stat{border-left:1px solid #547060;padding-left:35px;display:flex;flex-direction:column;gap:6px;font-size:12px}.wallet-stat span{color:#b7c8b9}.wallet-stat b{font-size:18px;font-weight:500}.virtual{margin-left:auto;background:#2b5144;color:#d6e1c6;border:1px solid #4b6956;border-radius:20px;padding:9px 13px;font-size:11px}.section-title{display:flex;justify-content:space-between;align-items:end;padding-top:38px;margin-bottom:23px}.section-title .eyebrow{margin-bottom:8px}h2{font:800 25px Manrope,sans-serif;letter-spacing:-.8px;margin-bottom:0}.counter{font-size:11px;color:#8a8f81;padding-bottom:4px}.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.ticket{background:white;border:1px solid #e2e4d8;border-radius:15px;padding:10px;box-shadow:0 5px 15px #183b3504}.ticket-art{height:228px;border-radius:9px;position:relative;overflow:hidden;text-align:center;display:flex;align-items:center;flex-direction:column;padding-top:22px}.ticket-art:after{content:'';position:absolute;inset:8px;border:1px solid currentColor;border-radius:5px;opacity:.25;pointer-events:none}.mint{background:#dbe8cb;color:#234b39}.gold{background:#f4cb52;color:#5b3e20}.night{background:#253c69;color:#efdb9f}.ticket-art .edition{font-size:8px;letter-spacing:2px;font-weight:700}.ticket-art h3{font:900 28px Manrope,sans-serif;letter-spacing:-1px;margin:7px 0 0}.ticket-art .symbol{font-family:Georgia,serif;font-size:72px;line-height:1.2;position:relative}.ticket-art .max-label{font-size:9px;letter-spacing:1px}.ticket-art .max-value{font-size:23px;font-weight:800}.price-badge{position:absolute;right:17px;top:16px;background:var(--paper);border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;transform:rotate(12deg);box-shadow:0 2px 0 #0001}.ticket-info{padding:17px 8px 8px}.ticket-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:17px}.ticket-meta span:first-child{display:flex;align-items:center;gap:5px}.dot{width:5px;height:5px;border-radius:50%;background:#719b57}.buy{width:100%;background:var(--green);color:white;border:0;border-radius:7px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;transition:background .2s,transform .2s}.buy:hover{background:#2f5b45;transform:translateY(-1px)}.buy:disabled{opacity:.45;cursor:not-allowed;transform:none}.buy b{font-size:16px}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:38px;padding:28px 0;border-top:1px solid #dcded2}.how{display:flex;gap:18px;padding-top:5px}.small-star{font-size:40px;color:#a3af87}.how h3,.history h3{font-size:14px;margin:0 0 8px}.how p{font-size:12px;max-width:360px;margin-bottom:0}.text-button{background:none;color:var(--green);border:0;padding:6px 0;font-size:11px;text-decoration:underline;text-underline-offset:4px}.history-heading{display:flex;align-items:center;justify-content:space-between}.history-heading>span{font-size:10px;color:var(--muted)}.empty{font-size:12px;padding:15px 0;color:#909587}.history-row{display:flex;justify-content:space-between;border-bottom:1px solid #e4e7dc;padding:9px 0;font-size:12px}.history-row small{color:var(--muted)}.history-row b{font-size:12px}.loss{color:#8b9187}footer{border-top:1px solid #dcded2;padding:22px 0;display:flex;justify-content:space-between;gap:20px;align-items:center}footer span{font-size:9px;letter-spacing:1px}footer p{font-size:10px;margin:0}dialog{border:1px solid #d6dccb;border-radius:20px;padding:32px;background:var(--paper);color:var(--green);max-width:450px;width:calc(100% - 28px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#08271dc4;backdrop-filter:blur(7px)}dialog h2{font-size:29px;line-height:1.18;margin:10px 0 16px}dialog p{font-size:13px}#budgetDialog{text-align:center}.dialog-icon{font-size:54px;display:block;color:#819866;margin-bottom:12px}.budget-presets{display:flex;gap:8px;margin:20px 0}.budget-presets button{flex:1;border:1px solid #cad2bf;border-radius:8px;background:transparent;color:var(--green)}.budget-presets button.chosen{background:#e2e9d4;border-color:#6c8552}label{display:block;text-align:left;font-size:11px;margin-bottom:6px}input{width:100%;padding:12px;border:1px solid #b3c0a9;background:#fffdf7;border-radius:8px;margin-bottom:12px;font-size:18px;color:var(--green)}.primary{background:var(--green);border:0;border-radius:8px;color:white;width:100%;padding:15px;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:14px}.primary[hidden],button[hidden]{display:none}form>small{display:block;font-size:10px;margin-top:15px;color:#878f7e}.game-top{display:flex;justify-content:space-between;align-items:center}.game-top .eyebrow{margin:0}.close{background:none;border:0;font-size:28px;color:var(--green);width:44px;line-height:1}.game-top+.h2{margin-top:0}#scratchArea{position:relative;width:100%;aspect-ratio:1.1;border:5px solid #e2decf;border-radius:12px;overflow:hidden;background:#fffcf0;margin:20px 0 12px}#prizeGrid{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;padding:10px}#prizeGrid div{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f0edda;border-radius:6px;font:800 19px Manrope,sans-serif}#prizeGrid small{font-size:10px;font-weight:400;margin-top:3px}#scratchCanvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}#gameResult{min-height:46px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;text-align:center;padding-bottom:8px}.game-foot{font-size:10px;text-align:center;margin:12px 0 0}#oddsDialog>.close{float:right}#oddsList section{border-top:1px solid #d6dccb;padding:15px 0}#oddsList b{font-size:14px}#oddsList p{margin:5px 0 0;font-size:11px}#toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:14px 20px;border-radius:12px;font-size:13px;box-shadow:0 4px 30px #0003;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10;width:max-content;max-width:90%}#toast.visible{opacity:1}
@media(max-width:700px){header{padding:18px 20px}.brand{font-size:14px}.brand-icon{font-size:43px}.brand small{font-size:7px}.session-btn{padding:0 13px;font-size:11px}.session-btn span{margin-left:9px}main{padding:0 20px}.intro{padding:30px 0 26px}.intro .eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:37px;letter-spacing:-1.8px}.intro p:last-child{font-size:12px;max-width:290px}.hero-stamp{display:none}.wallet{padding:19px 20px;gap:0;flex-wrap:wrap;border-radius:12px}.wallet>div:first-child{width:46%}.wallet strong{font-size:28px}.wallet-stat{width:27%;padding-left:16px}.wallet-stat b{font-size:16px}.wallet-stat span{font-size:10px}.wallet-label{font-size:8px;letter-spacing:1.4px}.virtual{margin:15px 0 0;padding:0;background:none;border:0;font-size:9px;width:100%;color:#b9d2b0}.section-title{padding-top:29px;margin-bottom:17px}.section-title .eyebrow{font-size:8px}h2{font-size:21px}.counter{display:none}.catalog{grid-template-columns:1fr;gap:16px}.ticket{display:grid;grid-template-columns:45% 55%;padding:8px;border-radius:13px}.ticket-art{height:196px;padding-top:18px}.ticket-art h3{font-size:22px}.ticket-art .edition{font-size:6px;letter-spacing:1.3px}.ticket-art .symbol{font-size:55px;margin:6px 0}.ticket-art .max-value{font-size:20px}.ticket-art .max-label{font-size:7px}.price-badge{top:12px;right:10px;width:29px;height:29px;font-size:10px}.ticket-info{display:flex;flex-direction:column;justify-content:center;padding:12px 0 12px 13px}.ticket-meta{flex-direction:column;align-items:start;gap:10px;font-size:10px;margin-bottom:20px}.buy{padding:12px 11px;font-size:11px}.buy b{font-size:13px}.bottom-grid{grid-template-columns:1fr;gap:24px;margin-top:27px;padding-top:24px}.how{gap:13px}.how h3{font-size:13px}.how p{font-size:12px}.history{border-top:1px solid #ddd;padding-top:23px}footer{align-items:start;flex-direction:column;gap:10px;padding-bottom:max(24px,env(safe-area-inset-bottom))}footer span:last-child{display:none}dialog{padding:23px}dialog h2{font-size:27px}#gameDialog{padding:20px}#prizeGrid div{font-size:17px}#gameHelp{font-size:12px;margin-bottom:8px}#scratchArea{margin-top:14px}#gameResult{font-size:16px}.game-foot{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.words{background:#eadff0;color:#603d6b}.objects{background:#cde5eb;color:#205b6b}.words .symbol{font-style:italic;font-size:62px}.catalog{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}[hidden]{display:none!important}#gameDialog.extended{max-width:920px}.extended #gameHelp{max-width:650px}.extended .game-foot{margin-bottom:0}#extendedGame{display:grid;grid-template-columns:1fr 1.1fr;gap:25px;margin:22px 0}.part-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.part-heading h3{font-size:14px;margin:0}.part-heading>span{font-size:11px;white-space:nowrap;color:#6b795d}.tile-hint{font-size:11px;line-height:1.5;margin-bottom:12px}.draw-tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.draw-tile{position:relative;aspect-ratio:1;min-height:44px;border-radius:8px;overflow:hidden;border:1px solid #c2cbb4;background:#e7eddb}.draw-tile button{border:0;background:none;width:100%;height:100%;padding:0;color:var(--green);font-weight:800;font-size:23px}.draw-tile canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.word-board{display:grid;grid-template-columns:1fr 1fr;gap:9px 13px}.word{display:flex;align-items:center;gap:3px;padding:6px 0}.word>span{display:flex;align-items:center;justify-content:center;width:23px;height:30px;background:#e8e7df;border:1px solid #dbdfd0;border-radius:3px;font-weight:700;font-size:14px;color:#798071}.word>span.matched{background:#d2e2b6;border-color:#a3ba85;color:#274826}.word.complete>span{background:#244f39;color:#fff;border-color:#244f39}.word>b{font-size:12px;color:#52783e}.object-board{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.object-cell{min-height:48px;border-radius:7px;border:1px solid #d2d9cb;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e8e9df;filter:grayscale(1);opacity:.6}.object-cell>span{font-size:24px}.object-cell>small{font-size:9px;line-height:1}.object-cell.matched{filter:none;opacity:1;background:#dae8cb;border-color:#94b87e}.object-cell.complete{background:#b8d797;border:2px solid #457336}.pay-table{display:flex;flex-wrap:wrap;gap:5px;margin-top:16px;margin-bottom:10px}.pay-table>span{background:#eeede2;border:1px solid #e0e3d6;border-radius:5px;padding:6px;font-size:9px;min-width:47px;text-align:center}.pay-table b{display:block;margin-top:3px;font-size:10px}.pay-table .current{background:#f8cf50;border-color:#c6a136}.extended #gameResult{min-height:32px}.extended .primary{max-width:400px;margin:0 auto}
@media(min-width:701px) and (max-width:1050px){main{padding:0 24px}.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}#gameDialog.extended{width:calc(100% - 48px);padding:24px}.word-board{gap:5px}.word{gap:2px}.word>span{width:20px;font-size:13px}.draw-tiles{grid-template-columns:repeat(6,1fr);gap:5px}}
@media(max-width:700px){.catalog{grid-template-columns:1fr}.words .symbol{font-size:48px}#gameDialog.extended{max-width:450px;max-height:calc(100dvh - 20px);padding:20px}.extended #gameTitle{font-size:25px;margin:5px 0 9px}.extended #gameHelp{margin-bottom:0;font-size:12px}#extendedGame{grid-template-columns:1fr;gap:20px;margin:18px 0 8px}.draw-tiles{gap:6px}.draw-tile{min-height:44px}.word-board{gap:5px 12px}.word{padding:2px 0}.word>span{height:27px;width:21px;font-size:13px}.part-heading h3{font-size:13px}.object-cell{min-height:45px}.object-cell>span{font-size:23px}.extended #gameResult{font-size:14px;min-height:26px}.extended .game-foot{font-size:9px}.pay-table{margin-top:12px}.play-board>.tile-hint{margin:0}}
