/* assets/game-popup.css — full-screen game popup. Single-theme by design; every color explicit. */
#sha-game-popup[hidden]{display:none}
.sgp{position:fixed;inset:0;z-index:2147483000;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 26px 40px;text-align:center;color:#0d474f;background:#E9F6FB;overflow:hidden;opacity:0;transform:translateY(12px);transition:opacity 300ms ease-out,transform 300ms ease-out;font-family:"Poppins","Helvetica Neue",Helvetica,Arial,sans-serif}
.sgp.is-open{opacity:1;transform:none}
.sgp *{box-sizing:border-box}
.sgp .sgp-blob{position:absolute;border-radius:50%;background:#fff;opacity:.85;pointer-events:none;z-index:0}
.sgp .sgp-b1{width:78%;aspect-ratio:1;left:-34%;top:-16%}
.sgp .sgp-b2{width:70%;aspect-ratio:1;right:-30%;bottom:-22%}
.sgp .sgp-deco{position:absolute;inset:0;pointer-events:none;z-index:0}
.sgp .sgp-deco img{position:absolute;filter:drop-shadow(0 6px 8px rgba(13,71,79,.12))}
.sgp .sgp-deco svg{position:absolute;fill:#FFE815}
.sgp .g-bear-blue{width:132px;left:-26px;top:-16px;transform:rotate(-18deg)}
.sgp .g-bear-red{width:84px;right:-4px;top:10%;transform:rotate(16deg)}
.sgp .g-pur2{width:124px;right:-24px;bottom:-20px;transform:rotate(-12deg)}
.sgp .g-red2{width:80px;left:-8px;bottom:7%;transform:rotate(-10deg)}
.sgp .g-s1{width:40px;left:18%;top:13%}.sgp .g-s2{width:18px;right:9%;top:25%}.sgp .g-s3{width:26px;left:12%;bottom:27%}
.sgp .g-bear-sm,.sgp .g-pur1{display:none}
.sgp .sgp-x{position:absolute;top:16px;right:16px;width:44px;height:44px;border:1.5px solid rgba(13,71,79,.2);border-radius:50%;background:#fff;color:#0d474f;display:grid;place-items:center;cursor:pointer;z-index:3;transition:border-color 150ms ease}
.sgp .sgp-x:hover,.sgp .sgp-x:focus-visible{border-color:#0d474f}
.sgp .sgp-x svg{width:16px;height:16px}
.sgp .sgp-in{position:relative;z-index:2;width:100%;max-width:340px;margin:auto}
.sgp .sgp-logo{display:block;height:36px;width:auto;margin:0 auto 24px}
.sgp .sgp-kicker{font-family:inherit;font-weight:600;font-size:11px;line-height:1;letter-spacing:.16em;text-transform:uppercase;margin:0 0 16px}
.sgp h2{font-family:"Peridot PE","Peridot","Futura PT","Arial Rounded MT Bold","Arial Black",sans-serif;font-weight:800;font-size:42px;line-height:1;margin:0 0 8px;letter-spacing:-.01em;color:#0d474f;text-transform:none}
.sgp .sgp-sub{font-family:inherit;font-weight:500;font-size:15px;line-height:1.4;margin:0 0 24px;color:#1b2a2e}
.sgp .sgp-field{display:block;width:100%;height:56px;border:1.5px solid rgba(13,71,79,.25);border-radius:999px;padding:0 22px;font-family:inherit;font-size:16px;line-height:1;color:#1b2a2e;background:#fff;margin:0 0 12px}
.sgp .sgp-field:focus-visible{outline:3px solid #4CC3E9;outline-offset:2px}
.sgp .sgp-field::placeholder{color:#7d8a8e}
.sgp .sgp-btn{display:block;width:100%;height:56px;border:0;border-radius:999px;background:#FFE815;color:#0d474f;font-family:"Futura PT","Futura","Century Gothic",sans-serif;font-weight:800;font-size:17px;line-height:1;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:background-color 150ms ease,transform 120ms ease}
.sgp .sgp-btn:hover{background:#F6DE00}.sgp .sgp-btn:active{transform:scale(.985)}
.sgp .sgp-btn[disabled]{opacity:.6;cursor:default}
.sgp .sgp-btn:focus-visible,.sgp .sgp-plain:focus-visible,.sgp .sgp-opt:focus-visible,.sgp .sgp-card:focus-visible{outline:3px solid #0d474f;outline-offset:2px}
.sgp .sgp-plain{display:inline-block;background:none;border:0;color:#0d474f;font-family:inherit;font-weight:500;font-size:14px;line-height:1;text-decoration:underline;text-underline-offset:3px;margin:16px 0 0;cursor:pointer}
.sgp .sgp-fine{font-family:inherit;font-size:10px;line-height:1.5;color:rgba(27,42,46,.72);text-align:left;margin:16px 0 0}
.sgp .sgp-fine p{margin:0}
.sgp .sgp-fine a{color:#0d474f}
.sgp .sgp-err{font-family:inherit;font-weight:500;font-size:13px;line-height:1.3;color:#B42318;margin:-4px 0 10px;min-height:16px}
.sgp .sgp-step{display:none}.sgp .sgp-step.is-on{display:block;animation:sgp-fade 240ms ease-out}
@keyframes sgp-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.sgp .sgp-opts{display:flex;flex-direction:column;gap:10px}
.sgp .sgp-opt{display:block;width:100%;min-height:54px;padding:12px 18px;border:0;border-radius:999px;background:#0d474f;color:#fff;font-family:inherit;font-weight:600;font-size:15px;line-height:1.25;cursor:pointer;transition:transform 120ms ease,background-color 150ms ease}
.sgp .sgp-opt:hover{background:#12626d}.sgp .sgp-opt:active,.sgp .sgp-opt.is-pick{transform:scale(.98);background:#FFE815;color:#0d474f}
.sgp .sgp-cards{display:grid;grid-template-columns:repeat(3,76px);justify-content:center;gap:12px;margin:4px 0 2px;perspective:900px}
.sgp .sgp-card{aspect-ratio:76/100;background:none;border:0;padding:0;cursor:pointer;position:relative;transform-style:preserve-3d;transition:transform 600ms cubic-bezier(.3,.7,.3,1),opacity 400ms ease}
.sgp .sgp-card .f,.sgp .sgp-card .b{position:absolute;inset:0;border-radius:12px;backface-visibility:hidden;display:grid;place-items:center;background:#fff;border:1.5px solid rgba(13,71,79,.28);transition:border-color 150ms ease}
.sgp .sgp-card:hover .f{border-color:#0d474f}
.sgp .sgp-card .f{font-family:"Peridot PE","Peridot","Futura PT",sans-serif;font-weight:800;font-size:30px;line-height:1;color:#4CC3E9}
.sgp .sgp-card .b{transform:rotateY(180deg);background:#0d474f;border-color:#0d474f;color:#fff;font-family:inherit;font-weight:700;font-size:19px;line-height:1.15}
.sgp .sgp-card .b small{display:block;font:inherit}
.sgp .sgp-card.is-flip{transform:rotateY(180deg)}.sgp .sgp-card.is-dim{opacity:.35;pointer-events:none}
.sgp .sgp-win{font-family:"Peridot PE","Peridot","Futura PT",sans-serif;font-weight:800;font-size:24px;line-height:1.05;min-height:30px;margin-top:12px}
.sgp .sgp-scratch{position:relative;width:300px;max-width:100%;aspect-ratio:300/180;margin:0 auto 4px;border-radius:16px;overflow:hidden;background:#fff;border:1.5px solid rgba(13,71,79,.28);touch-action:none;user-select:none;-webkit-user-select:none}
.sgp .sgp-under{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.sgp .sgp-under b{display:block;font-family:"Peridot PE","Peridot","Futura PT",sans-serif;font-weight:800;font-size:58px;line-height:.9;color:#0d474f}
.sgp .sgp-under small{display:block;font-family:"Futura PT",sans-serif;font-weight:600;font-size:11px;line-height:1;letter-spacing:.14em;margin-top:8px;text-transform:uppercase;color:#1b2a2e}
.sgp .sgp-scratch canvas{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair;transition:opacity 500ms ease}
.sgp .sgp-scratch.is-done canvas{opacity:0;pointer-events:none}
@media (min-width:1024px){
  .sgp{padding:60px 40px}.sgp .sgp-in{max-width:520px}.sgp .sgp-logo{height:52px;margin-bottom:28px}.sgp h2{font-size:64px}.sgp .sgp-sub{font-size:18px}
  .sgp .sgp-cards{grid-template-columns:repeat(3,92px);gap:14px}.sgp .sgp-scratch{width:360px}
  .sgp .sgp-b1{width:46%;left:-16%;top:-30%}.sgp .sgp-b2{width:44%;right:-14%;bottom:-36%}
  .sgp .g-bear-blue{width:200px;left:-30px;top:-24px;transform:rotate(-16deg)}
  .sgp .g-bear-red{width:190px;right:5%;top:6%;transform:rotate(14deg)}
  .sgp .g-bear-sm{display:block;width:230px;right:-40px;bottom:-56px;transform:rotate(-14deg)}
  .sgp .g-red2{width:130px;left:5%;bottom:9%;transform:rotate(-10deg)}
  .sgp .g-pur1{display:block;width:118px;left:15%;top:42%;transform:rotate(10deg)}
  .sgp .g-pur2{display:none}
  .sgp .g-s1{width:64px;left:27%;top:14%}.sgp .g-s2{width:28px;right:26%;top:34%}.sgp .g-s3{width:44px;left:21%;bottom:19%}
  .sgp .sgp-x{top:22px;right:22px;width:48px;height:48px}
}
@media (prefers-reduced-motion:reduce){.sgp,.sgp .sgp-card,.sgp .sgp-step{transition:none!important;animation:none!important}}
body.sgp-lock{overflow:hidden}
