.scratch-game{--scratch-ink:var(--skin-ink,#151815);--scratch-cream:#ffffff;max-width:560px;margin:auto;color:var(--scratch-ink);font-family:Nunito,sans-serif;padding:12px 4px 20px}.scratch-intro{text-align:center;padding:12px 6px 24px}.scratch-eyebrow{font-size:.625rem;font-weight:900;letter-spacing:1.9px;display:block}.scratch-intro h2{font-size:clamp(2rem,calc(7vw * var(--a11y-text-scale, 1)),2.75rem);letter-spacing:-1.5px;line-height:1.06;margin:13px 0}.scratch-intro h2 em{font-family:Kalam,cursive;font-weight:400;color:var(--skin-accent,#151815);font-size:.9em}.scratch-intro p{font-size:.875rem;line-height:1.6;margin:0}.scratch-ticket{--scratch-ink:#151815;color:var(--scratch-ink);background:var(--scratch-cream);border:1px solid #e0e4db;border-radius:8px;box-shadow:0 12px 35px #15181512;overflow:hidden;position:relative}.scratch-ticket-top{background:#151815;color:#f5f6f3;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.scratch-ticket-wordmark{font-size:1.625rem;font-weight:900;letter-spacing:-1px;display:flex;align-items:center;gap:8px}.scratch-ticket-wordmark em{font-family:Kalam,cursive;font-weight:400;color:#62695f}.scratch-ticket-edition{font-size:.5rem;letter-spacing:1.5px;line-height:1.7;text-align:end}.scratch-ticket-body{padding:22px 22px 24px}.scratch-area-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.scratch-area-heading>div{flex:1 1;min-width:0}.scratch-area-heading strong{font-size:.9375rem;display:block}.scratch-area-heading small{font-size:.6875rem;display:block;margin-top:2px}.scratch-step{display:grid;place-items:center;width:29px;height:29px;background:#f5f6f3;border:1px solid #e0e4db;border-radius:50%;font-weight:900;font-size:.6875rem;flex-shrink:0}.scratch-booster-heading{margin-top:24px}.scratch-booster-heading .scratch-step{background:#f5f6f3;border-color:#e9ce8a}.scratch-surface{position:relative;border:1px solid #62695f;border-radius:8px;overflow:hidden;height:154px;background:#ffffff;isolation:isolate}.scratch-underlay{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:8px;color:#151815}.scratch-underlay>strong{font-size:.75rem;text-align:center}.scratch-symbols{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.scratch-symbols>span{font-size:2.625rem;padding:5px 7px;border-radius:8px;background:#f5f6f3}.scratch-surface canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none}.scratch-surface.is-locked canvas{cursor:default}.scratch-surface.is-locked{opacity:.8}.scratch-surface-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.625rem;margin-top:8px}.scratch-reveal-all,.scratch-surface-actions button{border:0;background:none;color:var(--scratch-ink,#151815);cursor:pointer;font:inherit;text-decoration:underline;text-underline-offset:3px;padding:6px 0;min-height:32px}.scratch-surface-actions button:disabled{opacity:.5;cursor:default}.is-booster .scratch-surface{height:90px;border-color:#62695f;background:#f5f6f3}.is-booster .scratch-underlay{flex-direction:row;gap:12px}.scratch-booster-symbol{font-size:2rem}.scratch-booster-winner{display:flex;align-items:center;justify-content:center;gap:10px;font-size:.75rem;font-weight:800;padding:25px 8px;border-radius:8px;background:#f5f6f3;border:1px dashed #e0e4db}.scratch-ticket-perforation{height:1px;margin:0 14px;border-top:2px dashed #e0e4db;position:relative}.scratch-ticket-perforation:after,.scratch-ticket-perforation:before{content:"";position:absolute;width:20px;height:20px;border:1px solid #e0e4db;border-radius:50%;background:white;top:-11px}.scratch-ticket-perforation:before{left:-25px}.scratch-ticket-perforation:after{right:-25px}.scratch-ticket-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.5625rem;padding:17px 22px}.scratch-ticket-footer>span:first-child{letter-spacing:1.5px;font-weight:800}.scratch-ticket-footer>span:last-child{font-family:Kalam,cursive;font-size:.875rem}.scratch-ticket-preview{transform:rotate(-2deg);margin:4px 12px 24px;background:linear-gradient(130deg,#e0e4db,#f5f6f3 60%,#e0e4db)}.scratch-preview-art{min-height:210px;display:flex;align-items:center;justify-content:center;gap:18px;position:relative}.scratch-preview-art img{transform:rotate(-15deg);object-fit:contain;filter:drop-shadow(0 10px 8px #15181515)}.scratch-preview-art>span{font-size:1.5625rem;font-weight:900;line-height:1.1;letter-spacing:-.8px;transform:rotate(3deg)}.scratch-preview-sparkle{position:absolute;left:21%;top:22px;color:#151815}.scratch-preview-booster{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;background:#f5f6f3;font-size:.75rem;font-weight:800;border-top:1px dashed #62695f}.scratch-start{display:flex;flex-direction:column;gap:12px;padding:0 12px}.scratch-start>.btn{width:100%;justify-content:center;min-height:48px;border-radius:14px}.scratch-prize-peek{padding:18px 12px 0;text-align:center}.scratch-prize-peek>span{color:#151815;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:#f5f6f3;border-radius:8px;font-size:.6875rem;margin:4px}.scratch-reveal-all{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px auto;font-size:.75rem}.scratch-result{color:#151815;padding:24px 14px;text-align:center;margin-top:20px;border-radius:8px;background:#f5f6f3;border:1px solid #e0e4db}.scratch-result.is-win{background:radial-gradient(ellipse at top,#e0e4db,#f5f6f3);border-color:#62695f}.scratch-result-icon{font-size:2.25rem;display:block;margin-bottom:10px}.scratch-result h3{font-size:1.4375rem;line-height:1.2;margin:12px 0}.scratch-result p{font-size:.8125rem;line-height:1.6}.scratch-result small{display:block;font-size:.6875rem;line-height:1.6;margin-top:12px}.scratch-code{display:flex;align-items:center;gap:8px;justify-content:center;background:white;border:1px dashed #62695f;border-radius:8px;padding:10px 8px;max-width:100%}.scratch-code code{font-size:clamp(.5625rem,calc(2.5vw * var(--a11y-text-scale, 1)),.75rem);overflow-wrap:anywhere}.scratch-code button{border:0;background:transparent;cursor:pointer;display:grid;place-items:center;flex-shrink:0;min-width:32px;min-height:32px;color:#151815}.scratch-rules{margin:24px 12px 0;font-size:.6875rem;line-height:1.7;color:var(--skin-muted,#151815)}.scratch-rules summary{cursor:pointer;font-weight:800;font-size:.75rem}.scratch-demo-note,.scratch-error,.scratch-gate{font-size:.75rem;line-height:1.6;padding:12px;border-radius:8px;margin:0 0 16px;background:#f5f6f3}.scratch-demo-note{color:#151815;border:1px dashed #62695f}.scratch-error{background:#ffffff;color:#8c3028}.scratch-gate{color:#151815;text-align:center}.scratch-gate a{color:#151815;font-weight:800;text-decoration:underline}.scratch-owner{margin-top:28px}.scratch-owner-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.scratch-owner-header h2{margin:0}.scratch-owner p{font-size:.8125rem;line-height:1.7}.scratch-owner h3{margin:22px 0 12px}.scratch-owner details{border-top:1px solid #e0e4db;margin-top:20px;padding-top:16px}.scratch-owner summary{cursor:pointer;font-weight:800}.scratch-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.scratch-owner .field{min-width:0}.scratch-owner input,.scratch-owner select{width:100%;min-width:0}.scratch-check{display:flex;align-items:flex-start;gap:9px;font-size:.8125rem;margin:12px 0}.scratch-check input{width:17px;height:17px;flex-shrink:0;margin-top:2px}.scratch-owner-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.scratch-owner-stats>div{background:#f5f6f3;border-radius:8px;padding:12px}.scratch-owner-stats strong{display:block;font-size:1.375rem}.scratch-owner-stats small{font-size:.6875rem}.scratch-prize-row,.scratch-receipt{border:1px solid #e0e4db;border-radius:8px;padding:14px;margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.scratch-prize-row small,.scratch-receipt small{display:block;font-size:.6875rem;line-height:1.7}.scratch-receipt{align-items:flex-start;flex-wrap:wrap}.scratch-receipt code{display:block;font-size:.6875rem;overflow-wrap:anywhere;margin:8px 0}.scratch-owner-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.scratch-owner-notice{background:#f5f6f3;padding:12px;border-radius:10px}.scratch-code-rotate{padding:14px;background:#f5f6f3;border-radius:12px}.scratch-code-rotate code{font-size:1.25rem;letter-spacing:2px;display:block;margin:8px 0}.scratch-budget-note{font-size:.6875rem!important;color:#151815}.scratch-prize-chance{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media(max-width:480px){.scratch-ticket-top{padding:18px}.scratch-ticket-wordmark{font-size:1.4375rem}.scratch-ticket-body{padding:18px 14px}.scratch-symbols>span{font-size:2.25rem;padding:5px}.scratch-ticket-footer{padding:16px 14px;font-size:.5rem}.scratch-preview-art>span{font-size:1.375rem}.scratch-preview-art img{width:95px;height:95px}.scratch-settings-grid{grid-template-columns:1fr}.scratch-owner-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.scratch-prize-row{flex-wrap:wrap}.scratch-owner-header{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:no-preference){.scratch-surface.is-revealed .scratch-underlay{animation:scratch-uncover .35s ease-out}.scratch-result.is-win{animation:scratch-uncover .45s ease-out}@keyframes scratch-uncover{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}.modal:has(.scratch-game) .icon-btn{color:var(--skin-ink,#151815)}