.scratch-widget{box-sizing:border-box;color:#17112d;overflow-wrap:anywhere;background:#fff;border:1px solid #e1d3f2;border-radius:26px;max-width:1050px;margin:auto;padding:24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;box-shadow:0 15px 50px #51248414}.scratch-widget *{box-sizing:border-box}.scratch-widget button{font:inherit;cursor:pointer}.scratch-widget :focus-visible{outline-offset:4px;outline:3px solid #8426df}.scratch-heading{text-align:center;margin-bottom:18px}.scratch-heading h2{letter-spacing:-.045em;margin:5px 0 9px;font-size:clamp(30px,5vw,46px);font-weight:900;line-height:1.1}.scratch-heading em{color:#7725df;font-style:normal}.scratch-heading p{color:#73617f;margin:6px 0;font-size:13px}.scratch-heading .scratch-business{color:#5c307b;text-wrap:balance;max-width:100%;font-size:17px;font-weight:750}.scratch-heading .scratch-demo-label{letter-spacing:.14em;color:#86619e;font-size:10px;font-weight:800}.scratch-stage{grid-template-columns:minmax(0,1fr);gap:22px;display:grid}.scratch-play{text-align:center;min-width:0}.scratch-surface{isolation:isolate;aspect-ratio:18/11;background:#c5c3cc;border-radius:18px;width:100%;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #8a849b33}.scratch-prize{color:#fff;background:radial-gradient(circle at 20% 10%,#ffca3b70,#0000 40%),linear-gradient(130deg,#a32ce2,#6724e0 50%,#f1299b);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:14px;display:flex;position:absolute;inset:0}.scratch-prize>span:first-child{color:#ffe675;font-size:25px}.scratch-prize small{letter-spacing:.12em;font-size:11px;font-weight:800}.scratch-prize strong{overflow-wrap:anywhere;text-wrap:balance;max-width:100%;font-size:clamp(24px,7vw,55px);font-weight:900;line-height:1.03}.scratch-prize>span:last-child{font-size:12px}.scratch-surface canvas{z-index:2;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:crosshair;background:linear-gradient(130deg,#9999a4,#f6f6f9 30%,#a2a2b0 55%,#efeff4 75%,#bdbdc7);width:100%;height:100%;display:block;position:absolute;inset:0}.scratch-surface canvas.scratch-revealed{opacity:0;pointer-events:none;transition:opacity .4s}.scratch-progress{background:#eee7f8;border-radius:10px;max-width:220px;height:5px;margin:17px auto}.scratch-progress span{background:#902fee;border-radius:10px;height:100%;transition:width .1s;display:block}.scratch-result{padding:15px 0}.scratch-result h3{color:#6623bd;margin:0 0 8px;font-size:22px}.scratch-result p{font-size:13px;line-height:1.65}.scratch-result>span{letter-spacing:.1em;font-size:11px}.scratch-code{letter-spacing:.08em;-webkit-user-select:all;user-select:all;overflow-wrap:anywhere;margin:8px 0;font-size:27px;display:block}.scratch-limit{color:#82718e;font-size:11px;line-height:1.6}.scratch-conditions{color:#806d8f;margin-top:20px;font-size:12px}.scratch-conditions summary{cursor:pointer;color:#663794;min-height:44px;padding:10px 0}.scratch-conditions p{font-size:11px}.scratch-powered{text-align:center;color:#7234b4;margin-top:20px;font-size:11px;text-decoration:none;display:block}.scratch-gold{background:#fffdf7;border-color:#e8d3a1}.scratch-gold .scratch-heading em,.scratch-gold .scratch-business{color:#7b5619}.scratch-gold .scratch-prize{background:radial-gradient(circle at 20% 10%,#dcbf6670,#0000 40%),linear-gradient(130deg,#2b2341,#131226)}.scratch-minimal{box-shadow:none;border-color:#dedee5}.scratch-minimal .scratch-prize{background:linear-gradient(130deg,#665d82,#3e3557)}.scratch-purple{background:#fdfaff}.scratch-confetti{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:hidden}.scratch-confetti i{background:var(--colour);border-radius:2px;width:7px;height:12px;animation:1s ease-out both scratch-celebrate;position:absolute;top:45%;left:50%}@keyframes scratch-celebrate{0%{opacity:1;transform:translate(-50%,-50%)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--rotation))}}@keyframes scratch-form-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:none}}.scratch-page .scratch-hero{text-align:center;max-width:900px;margin:0 auto 22px}.scratch-page .scratch-hero h1{margin:0 0 12px;font-size:clamp(34px,4.2vw,55px);line-height:1.1}.scratch-page .scratch-hero p{color:#746481;margin:0;font-size:16px}.scratch-page .scratch-builder-grid{grid-template-columns:minmax(0,45fr) minmax(0,55fr);align-items:start;gap:25px;display:grid}.scratch-page .scratch-preview{min-width:0;position:sticky;top:20px}.scratch-page .stw-builder{min-width:0}.scratch-page input,.scratch-page select,.scratch-page textarea{min-width:0;max-width:100%}.scratch-page .scratch-dialog{background:#faf7ff;border:1px solid #d8c1f7;border-radius:24px;width:100%;max-width:min(930px,100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;overflow:auto}.scratch-dialog::backdrop{background:#170b32aa}.scratch-dialog .scratch-dialog-close{color:#5b1dbc;background:#fff;border:1px solid #d8c1f7;border-radius:12px;min-height:44px;margin:0 0 12px auto;padding:9px 15px;display:block}.scratch-page .scratch-builder-title{background:linear-gradient(135deg,#ffe475,#ffc32b);border-radius:50px;padding:10px 23px;font-size:24px;display:inline-block}.scratch-embed-page{background:#fff;margin:0}.scratch-embed-page #root{min-width:0;padding:8px}.scratch-embed-page .scratch-widget{box-shadow:none}.scratch-page .stw-embed-output textarea{overflow-wrap:anywhere}.scratch-widget .stw-secondary{white-space:normal;max-width:100%;margin-block:6px}.scratch-widget .stw-honeypot{width:1px!important;height:1px!important;position:absolute!important;left:-10000px!important;overflow:hidden!important}.scratch-preview-empty{text-align:center;background:#f7f0ff;border-radius:20px;padding:40px}@media (width<=760px){.scratch-page.stw-page{padding-top:17px}.scratch-page .scratch-hero{margin-bottom:18px}.scratch-page .scratch-hero h1{font-size:clamp(32px,8.8vw,38px)}.scratch-page .scratch-builder-grid{flex-direction:column;gap:20px;display:flex}.scratch-page .scratch-preview{order:-1;width:100%;position:static}.scratch-page .scratch-builder{width:100%}.scratch-widget{border-radius:22px;padding:18px 14px}.scratch-heading h2{font-size:34px}.scratch-prize{gap:6px}.scratch-prize strong{font-size:clamp(24px,8vw,40px)}.scratch-prize small,.scratch-prize>span:last-child{font-size:10px}}@media (prefers-reduced-motion:reduce){.scratch-widget *,.scratch-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.scratch-confetti{display:none}}.scratch-page .stw-prize-editor fieldset>label{margin:12px 0 8px;display:block}.scratch-page .stw-prize-editor fieldset>small{color:#80718b;margin:0 0 15px;font-size:12px;display:block}.scratch-page .stw-prize-editor fieldset>label input{margin-top:7px}.scratch-free-summary{max-width:none;margin:32px 0}.scratch-surface{aspect-ratio:18/11}.scratch-prize strong{font-size:clamp(34px,11vw,82px)}.scratch-prize strong.scratch-long-prize{font-size:clamp(27px,7vw,46px)}.scratch-heading{margin-bottom:14px}@media (width<=760px){.scratch-prize strong{font-size:clamp(34px,15vw,64px)}.scratch-prize strong.scratch-long-prize{font-size:clamp(26px,9vw,42px)}.scratch-widget{padding-inline:14px}}.scratch-cannons{z-index:2000;pointer-events:none;isolation:isolate;position:fixed;inset:0;overflow:hidden}.scratch-cannons i{left:var(--start-x);top:var(--start-y);width:var(--size);height:calc(var(--size) * 1.5);background:var(--colour);will-change:transform,opacity;border-radius:1px;animation:4.8s linear both scratch-cannon}.scratch-cannons .scratch-confetti-circle{height:var(--size);border-radius:50%}.scratch-cannons .scratch-confetti-star{width:calc(var(--size) * 1.6);height:calc(var(--size) * 1.6);clip-path:polygon(50% 0,62% 35%,100% 50%,62% 62%,50% 100%,37% 62%,0 50%,37% 35%)}@keyframes scratch-cannon{0%{opacity:0;transform:translate(0)rotate(0)scale(.5)}3%{opacity:1}9%{transform:translate(var(--kick-x),var(--kick-y)) rotate(90deg) scale(1)}24%{opacity:1;transform:translate(var(--mid-x),var(--lift)) rotate(var(--half-rotation)) scale(1);animation-timing-function:cubic-bezier(.35,0,.75,.8)}82%{opacity:.9}to{opacity:0;transform:translate(var(--end-x),var(--fall)) rotate(var(--rotation)) scale(.8)}}.scratch-celebrating .scratch-prize strong{transform-origin:50%;animation:.65s cubic-bezier(.2,.8,.3,1) both scratch-prize-pop}.scratch-celebrating .scratch-prize:after{content:"";pointer-events:none;background:radial-gradient(#fffbd1bb,#0000 70%);animation:1.1s ease-out both scratch-prize-glow;position:absolute;inset:0}.scratch-celebrating .scratch-prize strong,.scratch-celebrating .scratch-prize small{z-index:1;position:relative}.scratch-celebrating .scratch-prize-spark:before,.scratch-celebrating .scratch-prize-spark:after{animation:.85s ease-in-out 2 scratch-prize-twinkle}@keyframes scratch-prize-pop{0%{transform:scale(.96)}45%{transform:scale(1.045)}to{transform:scale(1)}}@keyframes scratch-prize-glow{0%{opacity:0}25%{opacity:.8}to{opacity:0}}@keyframes scratch-prize-twinkle{0%,to{opacity:.4}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.scratch-cannons{display:none}}.scratch-promo-card{--promo-top:#9e1ce7;--promo-bottom:#4f079e;--promo-ink:#fff;--promo-accent:#ffe342;isolation:isolate;background:linear-gradient(145deg,var(--promo-top),var(--promo-bottom));min-width:0;color:var(--promo-ink);border:4px solid #e9c9ff;border-radius:28px;padding:22px 20px 24px;position:relative;overflow:hidden;box-shadow:0 10px 24px #6d24a847,inset 0 1px #fff7}.scratch-promo-card:before{content:"";z-index:-1;pointer-events:none;background:repeating-conic-gradient(from -12deg at 50% 72%,#0000 0deg 10deg,#ffffff0c 10deg 20deg);position:absolute;inset:0}.scratch-promo-card:after{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 50% 72%,#d762ff66,#0000 65%),linear-gradient(120deg,#ffffff13,#0000 35%);position:absolute;inset:0}.scratch-promo-business{color:var(--promo-ink);text-align:center;justify-content:center;align-items:center;gap:10px;max-width:100%;margin:0 auto 9px;font-size:clamp(14px,2.5vw,23px);font-weight:800;line-height:1.2;display:flex}.scratch-promo-business span{overflow-wrap:anywhere;text-wrap:balance;min-width:0}.scratch-shop-icon{filter:drop-shadow(0 2px 1px #39086440);flex:0 0 30px;width:30px;height:30px}.scratch-promo-title{letter-spacing:-.045em;text-shadow:0 3px 1px #30004a4d;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:0 .19em;font-style:italic;font-weight:900;display:flex;position:relative;color:var(--promo-ink)!important;margin:0 0 18px!important;font-size:clamp(28px,4vw,52px)!important;line-height:1.05!important}.scratch-promo-title em{color:var(--promo-accent);font-style:inherit}.scratch-promo-title:before,.scratch-promo-title:after{content:"✦";color:var(--promo-accent);text-shadow:none;font-size:.42em;font-style:normal;position:absolute;top:25%;left:0;transform:rotate(-15deg)}.scratch-promo-title:after{left:auto;right:0;transform:rotate(15deg)}.scratch-promo-card .scratch-surface{aspect-ratio:720/322;background:#d1cfd7;border:1px solid #fff8;border-radius:13px;width:100%;box-shadow:0 3px 10px #30004a30}.scratch-promo-card .scratch-surface canvas{background:linear-gradient(130deg,#b1b0b9,#f8f7fa 30%,#b9b7c1 55%,#f4f3f8 75%,#c0bdc8)}.scratch-promo-card .scratch-prize{color:#5b0a9e;text-shadow:none;background:radial-gradient(at 50% 25%,#fff8ba,#0000 70%),linear-gradient(135deg,#ffce21,#ffe46d 50%,#ffbf10);gap:5px;padding:10px}.scratch-promo-card .scratch-prize small{color:#6a278b;letter-spacing:.12em;font-size:clamp(8px,1.5vw,11px);font-weight:850}.scratch-promo-card .scratch-prize strong{color:#6202a7;letter-spacing:-.05em;text-wrap:balance;text-shadow:0 2px #fff6;max-width:100%;font-size:clamp(30px,5vw,65px);font-weight:950;line-height:1.05}.scratch-promo-card .scratch-prize strong.scratch-long-prize{font-size:clamp(21px,3vw,37px)}.scratch-prize-spark{pointer-events:none;background:radial-gradient(circle at 8% 24%,#b04ae1 0 3px,#0000 4px),radial-gradient(circle at 91% 65%,#b04ae1 0 3px,#0000 4px),radial-gradient(circle at 86% 17%,#ed6e9d 0 2px,#0000 3px),radial-gradient(circle at 13% 80%,#ed6e9d 0 2px,#0000 3px);position:absolute;inset:0}.scratch-prize-spark:before,.scratch-prize-spark:after{content:"✦";color:#9233c8;font-size:21px;position:absolute;top:53%;left:5%;transform:rotate(-15deg)}.scratch-prize-spark:after{font-size:17px;top:25%;left:auto;right:5%;transform:rotate(20deg)}.scratch-promo-card .scratch-no-prize{background:linear-gradient(135deg,#f1e4ff,#fff8e4)}.scratch-gold .scratch-promo-card{--promo-top:#3e2c58;--promo-bottom:#17102b;--promo-accent:#ffe074;border-color:#ead59c}.scratch-purple .scratch-promo-card{--promo-top:#bd38ee;--promo-bottom:#6422c5;border-color:#e9c5ff}.scratch-minimal .scratch-promo-card{--promo-top:#fbfaff;--promo-bottom:#ede7f7;--promo-ink:#3d215e;--promo-accent:#7e25c7;border-color:#ded2ed;box-shadow:0 8px 20px #50316d18}.scratch-minimal .scratch-promo-title{text-shadow:none}@media (width<=760px){.scratch-promo-card{border-width:3px;border-radius:21px;padding:15px 12px 17px}.scratch-promo-business{gap:7px;margin-bottom:8px;font-size:clamp(13px,4vw,18px)}.scratch-shop-icon{flex-basis:25px;width:25px;height:25px}.scratch-promo-title{margin-bottom:13px!important;font-size:clamp(26px,8vw,37px)!important}.scratch-promo-card .scratch-prize{gap:3px;padding:7px}.scratch-promo-card .scratch-prize strong{font-size:clamp(26px,11vw,53px)}.scratch-promo-card .scratch-prize strong.scratch-long-prize{font-size:clamp(19px,7vw,30px)}.scratch-prize-spark:before,.scratch-prize-spark:after{font-size:14px}}.scratch-widget .scratch-promo-title em{color:var(--promo-accent)}.scratch-promo-business .scratch-business-name{z-index:1;overflow-wrap:anywhere;text-wrap:balance;min-width:0;position:relative}.scratch-promo-card{padding-top:18px}.scratch-widget .scratch-promo-title{margin-bottom:14px!important}.scratch-sr-only{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scratch-play{position:relative}.scratch-widget .scratch-keyboard-reveal:not(:focus){clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;overflow:hidden;border:0!important;width:1px!important;min-width:0!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;position:absolute!important}.scratch-widget .scratch-keyboard-reveal:focus{clip:auto;clip-path:none;white-space:normal;outline-offset:4px;outline:3px solid #7b27df;max-width:100%;min-height:44px;display:inline-block;position:relative}@media (width<=760px){.scratch-promo-card{padding-top:12px}.scratch-promo-card .scratch-promo-business{gap:7px;margin-bottom:6px;padding:7px 15px;font-size:clamp(13px,4vw,18px)}.scratch-promo-business .scratch-shop-icon{flex-basis:20px;width:20px;height:20px}.scratch-widget .scratch-promo-title{margin-bottom:10px!important}}.scratch-promo-card .scratch-promo-business{width:100%;max-width:100%;box-shadow:none;color:var(--promo-ink);text-shadow:0 1px 2px #26004080;background:0 0;border:0;border-radius:0;margin:0 auto 6px;padding:0;font-size:clamp(13px,2vw,20px);font-weight:800;line-height:1.18}.scratch-promo-business .scratch-business-name{overflow-wrap:anywhere;text-wrap:balance;min-width:0}.scratch-promo-business .scratch-shop-icon{flex-basis:22px;width:22px;height:22px}.scratch-heading{margin:0 0 9px}.scratch-heading .scratch-demo-label{letter-spacing:.13em;margin:0;font-size:10px;line-height:1.4}.scratch-widget>.scratch-stage{gap:0}.scratch-progress{margin:12px auto 8px}.scratch-play>button:not(.scratch-keyboard-reveal){margin-block:4px}.scratch-play>.scratch-limit{margin:8px 0;font-size:11px}.scratch-widget>p[role=status]:empty{margin:0}.scratch-minimal .scratch-promo-business{text-shadow:none}@media (width<=760px){.scratch-page.stw-page{padding-inline:16px;padding-top:12px}.scratch-page .scratch-hero{margin-bottom:10px}.scratch-page .scratch-hero h1{margin-bottom:0}.scratch-page .scratch-builder-grid{gap:16px}.scratch-page .scratch-preview{width:calc(100% + 32px);margin-inline:-16px}.scratch-widget{padding:10px 8px 13px}.scratch-promo-card{padding:12px 16px 19px}.scratch-promo-card .scratch-promo-business{gap:7px;margin-bottom:6px;padding:0;font-size:clamp(12px,3.8vw,17px)}.scratch-promo-business .scratch-shop-icon{flex-basis:20px;width:20px;height:20px}.scratch-widget .scratch-promo-title{margin-bottom:14px!important}.scratch-progress{margin:10px auto 6px}.scratch-page .scratch-dialog{max-width:calc(100vw - 12px);padding:10px}.scratch-embed-page #root{padding:4px}}
