.sgshoot{--ink:#354750;--muted:#708089;max-width:740px;margin:18px auto;padding:22px 20px;background:#fff;border:1px solid #e5e9eb;border-radius:20px;color:var(--ink);font-family:inherit;box-sizing:border-box}.sgshoot *{box-sizing:border-box}.sgshoot-top,.sgshoot-stats,.sgshoot-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.sgshoot-brand{font-size:11px;letter-spacing:.12em;color:#75838c;font-weight:700}.sgshoot-brand span{color:#f06d8d}.sgshoot-sound{border:1px solid #e1e5e8;border-radius:30px;padding:7px 12px;background:#fff;color:#64737b;font-size:12px;cursor:pointer}.sgshoot-stats{padding:18px 0 12px;color:#71808a;font-size:12px}.sgshoot-stats strong{font-size:21px;color:#354750;font-variant-numeric:tabular-nums}.sgshoot-arena{height:clamp(330px,60vw,460px);position:relative;overflow:hidden;isolation:isolate;border:1px solid #e5e8eb;border-radius:18px;background:#fafbfc;touch-action:none}.sgshoot-target{position:absolute;top:0;left:0;border:0;background:transparent;padding:2px;cursor:crosshair;z-index:2;touch-action:none;will-change:transform}.sgshoot-target img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.sgshoot-special img{filter:drop-shadow(0 0 6px #f8c34c)}.sgshoot-target:focus-visible{outline:2px solid #83a1b3}.sgshoot-burst{position:absolute;pointer-events:none;color:#5298c2;font-weight:800;z-index:3;animation:sgshoot-pop .6s ease-out forwards}.sgshoot-burst.special{font-size:19px;color:#e8a720}.sgshoot-overlay{position:absolute;inset:0;z-index:5;background:rgba(255,255,255,.95);display:flex;justify-content:center;align-items:center;text-align:center;padding:18px}.sgshoot-overlay[hidden]{display:none!important}.sgshoot-overlay-inner{max-width:370px}.sgshoot-overline{font-size:12px;color:#86939b;letter-spacing:.08em}.sgshoot-overlay h2{font-size:clamp(24px,5vw,30px);margin:12px 0;color:#354750;font-weight:700;background:none!important;border:0!important;box-shadow:none!important}.sgshoot-overlay p{font-size:14px;line-height:1.85;color:#71808a;margin:0 0 22px}.sgshoot-start,.sgshoot-share{border:0;border-radius:40px;background:#737d84;color:#fff;padding:12px 27px;cursor:pointer;font-size:14px;font-weight:700}.sgshoot-start:hover,.sgshoot-share:hover{background:#5b6870}.sgshoot-bottom{padding:13px 0;color:#85929a;font-size:11px}.sgshoot-ranking{border-top:1px solid #eceff1;padding:15px 0 0;text-align:center}.sgshoot-ranking h3{margin:0 0 8px!important;font-size:16px!important;border:0!important;background:none!important;padding:0!important;color:#354750!important}.sgshoot-rank-status{font-size:12px;color:#72828b}.sgshoot-ranks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sgshoot-ranks>div{border:1px solid #edf0f2;border-radius:12px;padding:12px 5px;font-size:12px}.sgshoot-ranks strong{display:block;margin-top:6px;font-size:16px;color:#40535c}.sgshoot-rank-note{font-size:11px;color:#8c989e;margin:10px 0 0}.sgshoot-actions{text-align:center;margin:12px 0 0}.sgshoot-share[hidden]{display:none!important}@keyframes sgshoot-pop{from{opacity:1;transform:translateY(0) scale(.8)}to{opacity:0;transform:translateY(-40px) scale(1.3)}}@media(max-width:480px){.sgshoot{padding:13px;border-radius:16px}.sgshoot-stats strong{font-size:17px}.sgshoot-brand{font-size:9px}.sgshoot-ranks strong{font-size:14px}}@media(prefers-reduced-motion:reduce){.sgshoot-burst{animation:none}}
/* v0.3: original upright artwork; special golden sparkle; no filled result title */
.sgshoot .sgshoot-target img{transition:none;transform-origin:center center;will-change:transform}
.sgshoot .sgshoot-special{filter:drop-shadow(0 0 5px rgba(245,188,45,.7));animation:sgshoot-gold-glow .65s ease-in-out infinite alternate}
.sgshoot .sgshoot-special::after{content:'✦';position:absolute;top:-12px;right:-8px;color:#f4bf2e;font-size:19px;text-shadow:0 0 7px #ffe28b;animation:sgshoot-twinkle .55s ease-in-out infinite alternate;pointer-events:none}
.sgshoot .sgshoot-overlay h2{background:transparent!important;background-color:transparent!important;box-shadow:none!important;text-decoration:none!important;border:0!important}
@keyframes sgshoot-gold-glow{from{filter:drop-shadow(0 0 3px rgba(245,188,45,.5))}to{filter:drop-shadow(0 0 12px rgba(255,208,49,.95))}}
@keyframes sgshoot-twinkle{from{opacity:.35;transform:scale(.7) rotate(-18deg)}to{opacity:1;transform:scale(1.3) rotate(18deg)}}
@media(prefers-reduced-motion:reduce){.sgshoot .sgshoot-special,.sgshoot .sgshoot-special::after{animation:none}}

/* v0.4: unobtrusive pause button, full freeze, countdown resume */
.sgshoot-top-actions{display:flex;align-items:center;gap:8px}.sgshoot-pause{border:1px solid #e1e5e8;border-radius:30px;padding:7px 12px;background:#fff;color:#64737b;font-size:12px;cursor:pointer}.sgshoot-pause:disabled{opacity:.4;cursor:default}.sgshoot-pause-screen{position:absolute;inset:0;z-index:4;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}.sgshoot-pause-screen[hidden]{display:none!important}.sgshoot-pause-content h2{font-size:24px!important;color:#354750!important;background:none!important;border:0!important;box-shadow:none!important}.sgshoot-pause-content p{font-size:13px;color:#71808a}.sgshoot-resume{border:0;border-radius:30px;background:#737d84;color:white;padding:12px 28px;cursor:pointer}.sgshoot-countdown{font-size:48px;font-weight:700;color:#5298c2;min-height:65px;margin-top:12px;font-variant-numeric:tabular-nums}@media(max-width:480px){.sgshoot-top-actions{gap:4px}.sgshoot-pause,.sgshoot-sound{font-size:11px;padding:6px 8px}}

/* v0.6: earned-piece collection and celebratory score reveal */
.sgshoot-collection{padding:13px 4px 3px;text-align:center}.sgshoot-collection-title{font-size:12px;color:#75838c;letter-spacing:.04em}.sgshoot-collection-pieces{display:flex;justify-content:center;align-items:center;gap:clamp(10px,4vw,30px);padding:10px 0}.sgshoot-collect-item{display:flex;align-items:center;flex-direction:column;gap:3px;min-width:38px}.sgshoot-collect-item img{height:clamp(27px,7vw,38px);width:clamp(27px,7vw,38px);object-fit:contain;opacity:.9}.sgshoot-collect-item strong{font-size:15px;font-variant-numeric:tabular-nums;color:#45545e}.sgshoot-collect-pop{animation:sgshoot-collect-pop .35s cubic-bezier(.2,1.6,.4,1)}@keyframes sgshoot-collect-pop{0%{transform:scale(.75)}55%{transform:scale(1.28)}100%{transform:scale(1)}}.sgshoot-celebrate .sgshoot-overlay h2{animation:sgshoot-score-reveal 1.1s cubic-bezier(.18,1.5,.32,1) both;color:#354750!important;font-variant-numeric:tabular-nums}.sgshoot-celebrate .sgshoot-overlay-inner::before{content:'✦  ✧  ✦';display:block;color:#e5b647;letter-spacing:18px;font-size:24px;animation:sgshoot-stars 1.25s ease-in-out both}.sgshoot-celebrate .sgshoot-overlay p{font-size:17px;font-weight:700;color:#45545e;animation:sgshoot-praise .8s .4s both}@keyframes sgshoot-score-reveal{0%{transform:translateY(42px) scale(.45);opacity:0}55%{transform:translateY(-16px) scale(1.23);opacity:1}78%{transform:translateY(5px) scale(.94)}100%{transform:translateY(0) scale(1)}}@keyframes sgshoot-stars{0%{opacity:0;transform:scale(.4) rotate(-15deg)}50%{opacity:1;transform:scale(1.25) rotate(8deg)}100%{opacity:1;transform:scale(1)}}@keyframes sgshoot-praise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.sgshoot-collect-pop,.sgshoot-celebrate .sgshoot-overlay h2,.sgshoot-celebrate .sgshoot-overlay-inner::before,.sgshoot-celebrate .sgshoot-overlay p{animation:none}}

/* v0.9: hidden bonus hint, same light SGT visual language */
.sgshoot .sgshoot-secret-hint{margin:10px auto 14px;font-size:.9rem;font-weight:650;color:#667681;line-height:1.6}

/* Hint belongs only on the pre-game screen. */
.sgshoot .sgshoot-overlay.sgshoot-finished .sgshoot-secret-hint{display:none!important}

/* v1.4: visually centered, equal-width collection slots at every viewport size. */
.sgshoot .sgshoot-collection-pieces{
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,1fr));
 justify-content:center!important;
 align-items:start!important;
 gap:clamp(3px,1.8vw,14px)!important;
 width:min(100%,360px)!important;
 margin-inline:auto!important;
 padding-inline:0!important;
}
.sgshoot .sgshoot-collect-item{min-width:0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:column!important}
.sgshoot .sgshoot-collect-item img{width:38px!important;height:38px!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;margin-inline:auto!important}
.sgshoot .sgshoot-collect-item strong{display:block!important;text-align:center!important;width:100%!important}
@media(max-width:380px){.sgshoot .sgshoot-collection-pieces{width:min(100%,310px)!important}.sgshoot .sgshoot-collect-item img{width:32px!important;height:32px!important}}

/* v1.5 leaderboard: quiet, matching the existing SGT palette */
.sgshoot .sgshoot-leaders{margin:10px auto 0;max-width:280px;text-align:center;font-size:13px;line-height:1.9;color:#53646d}
.sgshoot .sgshoot-leaders-title{font-weight:700;color:#354750;margin-bottom:4px}

/* Social share choices: neutral SGT design, no platform SDKs. */
.sgshoot-share-options[hidden]{display:none!important}.sgshoot-share-heading{font-size:13px;font-weight:700;color:#354750;margin:0 0 10px}.sgshoot-share-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.sgshoot-share-buttons button{background:#fff!important;color:#354750!important;border:1px solid #d9e1e5!important;border-radius:24px!important;padding:9px 14px!important;min-width:78px;font-size:13px!important;line-height:1.3!important;cursor:pointer}.sgshoot-share-buttons button:hover,.sgshoot-share-buttons button:focus-visible{background:#f5f8fa!important;border-color:#aabdc8!important}.sgshoot-share-feedback{font-size:12px;color:#657680;min-height:1.5em;margin:10px 0 0}

/* v1.7: lightweight top-10 celebration */
.sgshoot-overlay{overflow:hidden}.sgshoot-topten-message{font-size:20px;font-weight:800;color:#e6aa30;animation:sgshoot-topten .7s cubic-bezier(.2,1.5,.4,1) both}.sgshoot-confetti{position:absolute;z-index:7;pointer-events:none;width:8px;height:13px;border-radius:2px;animation:sgshoot-confetti 2.1s cubic-bezier(.18,.72,.45,1) forwards}@keyframes sgshoot-confetti{0%{opacity:0;transform:translate(var(--sx),0) rotate(0deg) scale(.6)}10%{opacity:1}100%{opacity:0;transform:translate(var(--tx),calc(var(--ty) + 210px)) rotate(var(--rot)) scale(.8)}}@keyframes sgshoot-topten{from{opacity:0;transform:scale(.3) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}@media(prefers-reduced-motion:reduce){.sgshoot-confetti,.sgshoot-topten-message{animation:none}}

/* v1.9 brand title: fit mobile while preserving existing SGT style */
.sgshoot .sgshoot-overlay:not(.sgshoot-finished) h2{font-size:clamp(19px,4.4vw,27px)!important;line-height:1.35;overflow-wrap:anywhere}
.sgshoot .sgshoot-brand{letter-spacing:.045em;font-size:clamp(9px,1.7vw,11px)}

/* v2.0: hierarchy for the start-screen game title */
.sgshoot .sgshoot-overlay h2{display:flex!important;flex-direction:column;align-items:center;gap:3px;margin:15px 0 19px!important;line-height:1.25!important;text-align:center}
.sgshoot .sgshoot-title-small{display:block;font-size:clamp(13px,3vw,16px);font-weight:600;letter-spacing:.045em;line-height:1.4}
.sgshoot .sgshoot-title-star{display:block;font-size:18px;line-height:1.2;font-weight:400;margin:1px 0}
.sgshoot .sgshoot-title-main{display:block;font-size:clamp(26px,6vw,32px);font-weight:800;letter-spacing:.025em;line-height:1.2}

.sgshoot-leader{display:block;margin-top:7px;font-size:12px;color:#708089;font-weight:500}

/* v2.0.6: three result diamonds are individually centered, not spaced text. */
.sgshoot.sgshoot .sgshoot-celebrate .sgshoot-overlay-inner::before{content:'✦ ✧ ✦';display:block;width:max-content;max-width:100%;margin:0 auto 12px!important;text-align:center!important;letter-spacing:0!important;white-space:pre!important;font-size:24px;line-height:1.5}
/* Use a flex container with three equal cells for visual centering. */
.sgshoot.sgshoot .sgshoot-overlay-inner{width:100%;margin-inline:auto!important;text-align:center!important}
.sgshoot.sgshoot .sgshoot-collection-pieces{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;place-items:center!important;gap:clamp(4px,2vw,12px)!important;max-width:360px;margin-inline:auto!important}
.sgshoot.sgshoot .sgshoot-collect-item{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sgshoot.sgshoot .sgshoot-collect-item img{display:block!important;margin-inline:auto!important}
.sgshoot-play-counts{font-size:12px;color:#708089;margin:12px auto 2px;text-align:center}.sgshoot-play-counts strong{color:#40535c;font-variant-numeric:tabular-nums}

/* v2.0.9: visually center collection numerals beneath the puzzle-piece notch.
   Shift only the numerals by approximately half a numeral width. */
.sgshoot.sgshoot .sgshoot-collect-item strong{position:relative;left:.5ch}
/* Restore consistent bold weight for the all-time highest score. */
.sgshoot.sgshoot .sgshoot-ranks .sgshoot-leader{font-weight:700!important}

/* No explanatory status copy between ranking and share controls. */
.sgshoot .sgshoot-rank-status,.sgshoot .sgshoot-rank-note{display:none!important}

.sgshoot-ranks > div[hidden]{display:none!important}
