.sgtmatch{box-sizing:border-box;max-width:760px;margin:16px auto;padding:clamp(18px,3vw,28px);border:1px solid #e0e5e9;border-radius:24px;background:#fff;color:#374a54;font-family:inherit;text-align:center;box-shadow:0 5px 24px #25374608}.sgtmatch *{box-sizing:border-box}.sgtmatch button{font:inherit;cursor:pointer;touch-action:manipulation}.sgtmatch button:focus-visible{outline:3px solid #6e9ab3;outline-offset:3px}.sgtmatch [hidden]{display:none!important}.sgtmatch-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:32px}.sgtmatch-brand{font-size:11px;color:#7a8993;font-weight:700;letter-spacing:.025em}.sgtmatch-sound{font-size:12px;color:#71808a;background:white;border:1px solid #dbe1e6;border-radius:999px;padding:9px 12px}.sgtmatch-cover{max-width:430px;margin:0 auto 20px}.sgtmatch-kicker{font-size:13px;color:#92a1ac;margin:0 0 12px}.sgtmatch-subtitle{font-size:17px;font-weight:700;margin-top:23px}.sgtmatch-star{font-size:17px;color:#8897a2;margin:9px 0}.sgtmatch h2{font-size:clamp(27px,6vw,35px);letter-spacing:.025em;margin:0 0 16px;line-height:1.3;color:#374a54}.sgtmatch-cover p{font-size:14px;line-height:1.85;color:#7c8b97;margin:12px 0 25px}.sgtmatch-primary,.sgtmatch-secondary{background:#77848c;color:white;border:0;border-radius:999px;padding:12px 28px;font-weight:700}.sgtmatch-secondary{background:#eef0f2;color:#374a54;margin-top:4px}.sgtmatch-play{max-width:510px;margin:0 auto}.sgtmatch-stat{font-size:16px;font-weight:700;margin:10px 0}.sgtmatch-track{height:7px;background:#e9edf0;border-radius:999px;overflow:hidden}.sgtmatch-track span{display:block;height:100%;width:100%;background:#8ba7b8;transition:width .075s linear}.sgtmatch-target{padding:10px;min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.sgtmatch-target p{margin:0;font-size:13px;color:#82919c}.sgtmatch-target img{width:112px;height:112px;object-fit:contain}.sgtmatch-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sgtmatch-choice{display:grid;place-items:center;min-width:0;min-height:90px;border:1px solid #dce2e7;border-radius:15px;background:#fff;padding:9px;transition:transform .12s}.sgtmatch-choice:active{transform:scale(.94)}.sgtmatch-choice img{width:100%;max-width:73px;height:70px;object-fit:contain;pointer-events:none}.sgtmatch-correct{background:#f0f7fa;border-color:#89aabc}.sgtmatch-wrong{animation:sgtmatch-shake .19s linear}.sgtmatch-message{min-height:26px;font-weight:700;font-size:14px;margin:14px 0;color:#617784}@keyframes sgtmatch-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@media(max-width:420px){.sgtmatch{padding:15px;border-radius:18px}.sgtmatch-top{margin-bottom:22px}.sgtmatch-brand{font-size:9px}.sgtmatch-choice{min-height:66px;padding:4px}.sgtmatch-choice img{height:55px}.sgtmatch-target img{height:90px;width:90px}.sgtmatch-target{min-height:130px}}@media(prefers-reduced-motion:reduce){.sgtmatch *{animation:none!important;transition:none!important}}

/* v1.0.2 — Shooter-matched presentation, no decorative title rules */
.sgtmatch{max-width:740px;margin:18px auto;padding:22px 20px;border-color:#e5e9eb;border-radius:20px;color:#354750;box-shadow:none}
.sgtmatch-top{margin-bottom:18px}.sgtmatch-brand{font-size:11px;letter-spacing:.12em;color:#75838c}
.sgtmatch-top-actions{display:flex;align-items:center;gap:8px}.sgtmatch-sound{border-color:#e1e5e8;border-radius:30px;padding:7px 12px;color:#64737b}
.sgtmatch-cover{max-width:none;min-height:370px;border:1px solid #e5e8eb;border-radius:18px;background:#fafbfc;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px;margin:0 auto 14px}
.sgtmatch-cover::before,.sgtmatch-cover::after,.sgtmatch-cover h2::before,.sgtmatch-cover h2::after{display:none!important;content:none!important}
.sgtmatch-kicker{font-size:12px;color:#86939b;margin:0 0 36px}.sgtmatch-subtitle{font-size:17px;color:#354750;margin:0 0 9px;font-weight:700}
.sgtmatch-star{font-size:17px;color:#354750;margin:0 0 12px}.sgtmatch-cover h2{font-size:clamp(24px,5vw,30px)!important;color:#354750!important;margin:0 0 35px!important;padding:0!important;border:0!important;border-top:0!important;border-bottom:0!important;background:none!important;box-shadow:none!important;text-decoration:none!important;line-height:1.4}
.sgtmatch-cover p{font-size:14px;color:#71808a;margin:0 0 25px;line-height:1.85}.sgtmatch-primary{background:#737d84;font-size:14px}.sgtmatch-primary:hover{background:#5b6870}
.sgtmatch-play{max-width:none;position:relative;padding:16px 0}.sgtmatch-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px auto}
.sgtmatch-secondary{margin:0;background:#eef0f2}.sgtmatch-ranking{border-top:1px solid #eceff1;padding:15px 0 0;text-align:center;position:relative;overflow:hidden}
.sgtmatch-ranking h3{margin:0 0 8px!important;font-size:16px!important;border:0!important;background:none!important;padding:0!important;color:#354750!important}
.sgtmatch-rank-status{font-size:12px;color:#72828b}.sgtmatch-ranks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sgtmatch-ranks>div{border:1px solid #edf0f2;border-radius:12px;padding:12px 5px;font-size:12px}.sgtmatch-ranks strong{display:block;margin-top:6px;font-size:16px;color:#40535c}.sgtmatch-rank-note{font-size:11px;color:#8c989e;margin:10px 0 0}
.sgtmatch-pause-screen{position:absolute;inset:0;z-index:10;background:rgba(255,255,255,.94);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px}.sgtmatch-pause-screen h2{border:0!important;background:none!important;font-size:24px!important}.sgtmatch-pause-screen p{font-size:13px;color:#71808a}.sgtmatch-countdown{font-size:44px;color:#5298c2;font-weight:700;min-height:54px}
.sgtmatch-topten{font-size:20px;font-weight:800;color:#e6aa30;animation:sgtmatch-topten .7s cubic-bezier(.2,1.5,.4,1) both}.sgtmatch-confetti{position:absolute;z-index:7;pointer-events:none;width:8px;height:13px;border-radius:2px;animation:sgtmatch-confetti 2.1s cubic-bezier(.18,.72,.45,1) forwards}
@keyframes sgtmatch-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 sgtmatch-topten{from{opacity:0;transform:scale(.3) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}
@media(max-width:480px){.sgtmatch{padding:13px;border-radius:16px}.sgtmatch-brand{font-size:9px}.sgtmatch-top-actions{gap:4px}.sgtmatch-sound{font-size:11px;padding:6px 8px}.sgtmatch-cover{min-height:350px}.sgtmatch-ranks strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.sgtmatch-confetti,.sgtmatch-topten{animation:none!important}}

/* 1.0.3: exact compact shooter controls, restore hidden semantics and title reset */
.sgtmatch .sgtmatch-top-actions button.sgtmatch-sound{appearance:none!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;line-height:1.3!important;font-size:12px!important;font-weight:400!important;padding:7px 12px!important;margin:0!important;border:1px solid #e1e5e8!important;border-radius:30px!important;background:#fff!important;color:#64737b!important;box-shadow:none!important;white-space:nowrap!important;letter-spacing:normal!important}
.sgtmatch [hidden]{display:none!important}
.sgtmatch .sgtmatch-cover h2{border:0!important;outline:0!important;box-shadow:none!important;text-decoration:none!important}
.sgtmatch .sgtmatch-cover p{white-space:pre-line}
.sgtmatch .sgtmatch-ranking{margin-top:12px}
@media(max-width:480px){.sgtmatch .sgtmatch-top-actions button.sgtmatch-sound{font-size:11px!important;padding:6px 8px!important}}

/* Result best count and two-sided top-ten celebration */
.sgtmatch-best-count{display:block;font-size:12px;font-weight:600;color:#71828d;margin-top:6px}
.sgtmatch-ranking{position:relative;isolation:isolate;overflow:hidden}
.sgtmatch-confetti{position:absolute;z-index:5;pointer-events:none;width:8px;height:13px;border-radius:2px;animation:sgtmatch-confetti 2.1s cubic-bezier(.18,.72,.45,1) forwards}
.sgtmatch-target img,.sgtmatch-choice img{transition:transform .16s ease-out}

/* v1.0.7: Shooter-style visible confetti across the full game, not clipped by rankings */
.sgtmatch{position:relative;isolation:isolate}
.sgtmatch>.sgtmatch-confetti{position:absolute!important;z-index:50!important;pointer-events:none!important;width:8px;height:13px;border-radius:2px;opacity:0;animation:sgtmatch-confetti 2.1s cubic-bezier(.18,.72,.45,1) var(--delay,0s) forwards!important}
@keyframes sgtmatch-confetti{0%{opacity:0;transform:translate(var(--sx),0) rotate(0deg) scale(.6)}10%{opacity:1}65%{opacity:1}100%{opacity:0;transform:translate(var(--tx),calc(var(--ty) + 210px)) rotate(var(--rot)) scale(.8)}}
@media(prefers-reduced-motion:reduce){.sgtmatch>.sgtmatch-confetti{animation:none!important;display:none!important}}

/* v1.0.8: align start panel white with PUZZLE SHOOT */
.sgtmatch .sgtmatch-cover{background:#fff!important;border-color:#e5e9eb!important;}

/* v1.0.9: four clear leaderboard metrics, centered heading */
.sgtmatch .sgtmatch-ranking h3{display:block!important;width:100%!important;text-align:center!important;margin:0 auto 12px!important;padding:0!important;float:none!important;transform:none!important;position:static!important;}
.sgtmatch .sgtmatch-ranks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.sgtmatch .sgtmatch-ranks>div{min-width:0;}
.sgtmatch .sgtmatch-rank-label{display:block;font-size:12px;}
.sgtmatch .sgtmatch-ranks strong{font-size:17px;overflow-wrap:anywhere;}

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