
#guc-scratch,#guc-scratch-portal{--gucw-base:#111118;--gucw-surface:#232330;--gucw-surface2:#2c2c3b;--gucw-line:#3a3a4c;--gucw-text:#f4f4f5;--gucw-muted:#b9b9c4;--gucw-accent:#ffc711;--gucw-accent-h:#ffd447;--gucw-link:#f0a65a;--gucw-ok:#4ade80;
 font:400 16px/1.5 "DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--gucw-text)}#guc-scratch{max-width:480px;margin:0 auto;position:relative}#guc-scratch *,#guc-scratch-portal *,#guc-scratch *::before,#guc-scratch-portal *::before,#guc-scratch *::after,#guc-scratch-portal *::after{box-sizing:border-box}#guc-scratch .gucw-card,#guc-scratch-portal .gucw-card{background:var(--gucw-surface);border:1px solid var(--gucw-line);border-radius:16px;padding:20px 16px;box-shadow:0 12px 32px rgba(0,0,0,.4)}#guc-scratch .gucw-title,#guc-scratch-portal .gucw-title{margin:0 0 4px;font-size:21px;line-height:1.3;font-weight:700}#guc-scratch .gucw-sub,#guc-scratch-portal .gucw-sub{margin:0 0 16px;color:var(--gucw-muted);font-size:14px}#guc-scratch .gucw-btn,#guc-scratch-portal .gucw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:var(--gucw-accent);color:var(--gucw-base);font:700 16px "DM Sans",system-ui,sans-serif;border:0;padding:12px 26px;border-radius:999px;cursor:pointer;text-decoration:none;box-shadow:0 6px 20px rgba(255,199,17,.25);transition:transform .2s,background .2s}#guc-scratch .gucw-btn:hover,#guc-scratch-portal .gucw-btn:hover{background:var(--gucw-accent-h);transform:translateY(-2px);color:var(--gucw-base)}#guc-scratch .gucw-btn:disabled,#guc-scratch-portal .gucw-btn:disabled{opacity:.6;cursor:default;transform:none}#guc-scratch :focus-visible,#guc-scratch-portal :focus-visible{outline:2px solid var(--gucw-text);outline-offset:3px}#guc-scratch .gucw-note,#guc-scratch-portal .gucw-note{margin:16px 0 0;font-size:12px;color:var(--gucw-muted);border-top:1px solid var(--gucw-line);padding-top:12px;text-align:left}#guc-scratch .gucw-note a,#guc-scratch-portal .gucw-note a{color:var(--gucw-link)}#guc-scratch .gucw-age,#guc-scratch-portal .gucw-age{display:inline-grid;place-items:center;min-width:30px;height:22px;padding:0 6px;border:2px solid var(--gucw-accent);border-radius:999px;font-size:11px;font-weight:700;color:var(--gucw-text);margin-right:6px}#guc-scratch .gucw-won,#guc-scratch-portal .gucw-won{margin:14px 0 0;font-size:14px;color:var(--gucw-muted);text-align:center}#guc-scratch .gucw-won b,#guc-scratch-portal .gucw-won b{color:var(--gucw-accent);font-size:18px;letter-spacing:.04em}#guc-scratch .gucw-overlay,#guc-scratch-portal .gucw-overlay{position:fixed;inset:0;background:rgba(5,5,10,.72);display:grid;place-items:center;padding:16px;z-index:9999;opacity:0;transition:opacity .25s}#guc-scratch .gucw-overlay[hidden],#guc-scratch-portal .gucw-overlay[hidden]{display:none}#guc-scratch .gucw-overlay.show,#guc-scratch-portal .gucw-overlay.show{opacity:1}#guc-scratch .gucw-modal,#guc-scratch-portal .gucw-modal{position:relative;width:100%;max-width:380px;background:var(--gucw-surface);border:1px solid var(--gucw-line);border-radius:16px;padding:24px 20px 20px;text-align:center;box-shadow:0 20px 48px rgba(0,0,0,.6);transform:scale(.92);transition:transform .3s cubic-bezier(.2,.7,.2,1)}#guc-scratch .gucw-overlay.show .gucw-modal,#guc-scratch-portal .gucw-overlay.show .gucw-modal{transform:none}#guc-scratch .gucw-x,#guc-scratch-portal .gucw-x{position:absolute;right:8px;top:8px;width:40px;height:40px;border:0;background:transparent;color:var(--gucw-muted);font-size:24px;cursor:pointer;border-radius:8px}#guc-scratch .gucw-mtitle,#guc-scratch-portal .gucw-mtitle{margin:0 0 6px;font-size:22px}#guc-scratch .gucw-prize,#guc-scratch-portal .gucw-prize{margin:0 0 16px;color:var(--gucw-accent);font-weight:800;font-size:30px;line-height:1.15}#guc-scratch .gucw-codebox,#guc-scratch-portal .gucw-codebox{display:flex;gap:8px;background:var(--gucw-base);border:1px dashed var(--gucw-accent);border-radius:10px;padding:6px 6px 6px 14px;align-items:center}#guc-scratch .gucw-code,#guc-scratch-portal .gucw-code{flex:1;min-width:0;color:var(--gucw-text);font:700 22px ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;text-align:left;overflow-wrap:anywhere}#guc-scratch .gucw-copy,#guc-scratch-portal .gucw-copy{margin:0;min-height:40px;padding:8px 16px;font-size:14px;box-shadow:none}#guc-scratch .gucw-copy.ok,#guc-scratch-portal .gucw-copy.ok{background:var(--gucw-ok)}#guc-scratch .gucw-mtext,#guc-scratch-portal .gucw-mtext{margin:12px 0 0;font-size:13px;color:var(--gucw-muted)}#guc-scratch .gucw-sr,#guc-scratch-portal .gucw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (min-width:768px){#guc-scratch .gucw-card,#guc-scratch-portal .gucw-card{padding:24px}}
@media (prefers-reduced-motion:reduce){#guc-scratch *,#guc-scratch-portal *{animation:none!important;transition:none!important}}#guc-scratch,#guc-scratch-portal{--gucw-foil:#c9c9d4;--gucw-foil2:#8e8ea0}#guc-scratch .gucw-card,#guc-scratch-portal .gucw-card{text-align:center}#guc-scratch .gucw-ticket,#guc-scratch-portal .gucw-ticket{position:relative;width:100%;max-width:420px;margin:0 auto;aspect-ratio:16/10;border-radius:14px;overflow:hidden;border:2px solid var(--gucw-accent);background:radial-gradient(circle at 30% 20%,rgba(255,199,17,.22),transparent 60%),var(--gucw-base);user-select:none;-webkit-user-select:none}#guc-scratch .gucw-under,#guc-scratch-portal .gucw-under{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px}#guc-scratch .gucw-ulabel,#guc-scratch-portal .gucw-ulabel{font-size:14px;color:var(--gucw-muted);text-transform:uppercase;letter-spacing:.08em}#guc-scratch .gucw-uprize,#guc-scratch-portal .gucw-uprize{font-size:clamp(28px,8vw,40px);line-height:1.1;font-weight:800;color:var(--gucw-accent);text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.5)}#guc-scratch .gucw-ucode,#guc-scratch-portal .gucw-ucode{background:rgba(0,0,0,.35);color:var(--gucw-text);font:700 clamp(20px,5.5vw,26px) ui-monospace,Menlo,Consolas,monospace;letter-spacing:.08em;padding:4px 12px;border:1px dashed var(--gucw-accent);border-radius:8px}#guc-scratch canvas,#guc-scratch-portal canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;transition:opacity .5s}#guc-scratch canvas.gone,#guc-scratch-portal canvas.gone{opacity:0;pointer-events:none}#guc-scratch .gucw-prog,#guc-scratch-portal .gucw-prog{margin:12px 0 0;font-size:13px;color:var(--gucw-muted)}#guc-scratch .gucw-actions,#guc-scratch-portal .gucw-actions{margin-top:12px}
#guc-scratch .gucw-ticket.win{animation:nlwGlow 1.6s ease-out 1 both}#guc-scratch .gucw-ticket.win .gucw-uprize,#guc-scratch .gucw-ticket.win .gucw-ucode{animation:nlwPop .7s cubic-bezier(.2,1.4,.4,1) both}#guc-scratch .gucw-ticket.win .gucw-ucode{animation-delay:.12s}#guc-scratch .gucw-ticket.win .gucw-ulabel{color:var(--gucw-ok)}
@keyframes nlwPop{0%{transform:scale(.6);opacity:.3}60%{transform:scale(1.15);opacity:1}100%{transform:scale(1)}}@keyframes nlwGlow{0%{box-shadow:0 0 0 0 rgba(255,199,17,.0)}35%{box-shadow:0 0 36px 8px rgba(255,199,17,.65)}100%{box-shadow:0 0 18px 2px rgba(255,199,17,.3)}}
#guc-scratch-portal .gucw-confetti{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:10000}
@media (prefers-reduced-motion:reduce){#guc-scratch *,#guc-scratch-portal *{animation:none!important;transition:none!important}}

#guc-scratch,#guc-scratch-portal{--gucw-base:#ffffff;--gucw-surface:#ffffff;--gucw-line:#e4e1ea;--gucw-text:#1d1a24;--gucw-muted:#6b6676;--gucw-accent:var(--guc-cta,#7c3aed);--gucw-accent-h:var(--guc-cta-hi,#9f6af0);--gucw-link:var(--guc-cta,#7c3aed);--gucw-sector-a:#f3f0f8;--gucw-sector-b:#e7e2f0;--gucw-sector-text:#1d1a24}
#guc-scratch [class$=-card],#guc-scratch-portal [class$=-card]{box-shadow:0 10px 30px rgba(20,10,40,.08)}
