/* 第一次自己打针 — one canvas, warm and quiet. Scoped to the mini-game dialog. */
.shotGame{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:12px 14px;border:0;background:#2a2326;color:#f6efe4;font-family:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:fixed;overflow:hidden}
.shotGame::backdrop{background:#1d181a}.shotGame *{box-sizing:border-box}.shotGame [hidden]{display:none!important}
.shotGame header,.shotGame footer{width:min(100%,calc((100dvh - 150px)*1000/620),1000px)}
.shotGame header{display:flex;justify-content:space-between;align-items:center;gap:16px}.shotGame header small{font-size:11px;letter-spacing:.13em;opacity:.75}.shotGame h2{margin:3px 0;font-size:22px;font-weight:500;letter-spacing:.08em}.shotGame nav{display:flex;gap:8px}
.shotGame button{font:inherit;cursor:pointer;touch-action:manipulation}
.shotGame header button,.sgCard button{font-size:14px;min-height:40px;padding:8px 15px;border:1px solid #7a6a6e;border-radius:8px;background:#3a3034;color:#f6efe4}
.shotGame button:focus-visible{outline:3px solid #ffd6a0;outline-offset:2px}
.sgStage{position:relative;width:min(100%,calc((100dvh - 150px)*1000/620),1000px);aspect-ratio:1000/620;border-radius:14px;overflow:hidden;box-shadow:0 16px 46px #0009}
.sgStage canvas{display:block;width:100%;height:100%;cursor:none;touch-action:none}
.sgSay{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);margin:0;max-width:80%;padding:9px 16px;border-radius:12px;background:#2a2326e6;color:#fff7ea;font-size:clamp(13px,1.7vw,17px);line-height:1.5;text-align:center;pointer-events:none;animation:sgIn .25s ease-out}
.sgThought{position:absolute;left:15%;right:22%;top:7%;margin:0;font-size:clamp(14px,2vw,21px);line-height:1.7;color:#fffaf0;text-shadow:0 1px 3px #0009,0 0 18px #0006;letter-spacing:.04em;opacity:0;transition:opacity 1.2s ease;pointer-events:none;font-family:"Songti SC","STSong","Noto Serif SC",serif}
.sgThought.on{opacity:1}
.sgCard{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:6% 12%;background:#2a2326d9;backdrop-filter:blur(3px);text-align:center;line-height:1.75}
.sgCard p{margin:0;max-width:34em;font-size:clamp(14px,1.8vw,17px)}.sgCard .sgHelp{opacity:.85;font-size:clamp(13px,1.5vw,15px)}.sgCard .sgNote{opacity:.6;font-size:12px}
.sgCard h3{margin:0;font-size:clamp(20px,2.8vw,28px);font-weight:500;letter-spacing:.08em}
.sgCard button.primary{margin-top:8px;background:#e9b987;border-color:#e9b987;color:#2a1f17;font-weight:600;padding:10px 26px;border-radius:999px}
.shotGame footer{display:flex;flex-direction:column;gap:6px}
.sgHint{margin:0;min-height:1.5em;font-size:clamp(12px,1.5vw,15px);opacity:.9;text-align:center}
.sgBottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
.sgHeart{display:flex;align-items:center;gap:8px;font-size:13px}.sgHeart i{font-style:normal;font-size:13px;opacity:.85;letter-spacing:.1em}
.sgHeart b{display:block;width:120px;height:6px;border-radius:3px;background:#ffffff22;overflow:hidden}.sgHeart u{display:block;height:100%;background:#8fd0a8;transition:width .3s,background .3s}
.sgBreath{min-height:44px;padding:8px 18px;border-radius:999px;border:1px solid #c9b6e4;background:#3d3442;color:#f1e8ff;user-select:none;-webkit-user-select:none;touch-action:none}
.sgBreath small{opacity:.6;font-size:11px;margin-left:4px}.sgBreath.on{background:#c9b6e4;color:#2a2326}
@keyframes sgBeat{0%,100%{transform:scale(1)}15%{transform:scale(1.25)}30%{transform:scale(1)}45%{transform:scale(1.15)}}
@keyframes sgIn{from{opacity:0;transform:translate(-50%,6px)}}
@media (max-width:700px){.shotGame{padding:8px}.shotGame h2{font-size:18px}.sgHeart b{width:70px}.sgBreath small{display:none}.sgThought{right:6%}}
@media (prefers-reduced-motion:reduce){.sgHeart i{animation:none}.sgSay{animation:none}}
.shotGame [data-skip].nope{animation:sgNope .4s}
@keyframes sgNope{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.sgCard .sgNo{color:#ffd6a0;font-size:14px;min-height:1.5em}
.sgCard .sgCal{width:min(42%,320px);image-rendering:pixelated;margin-bottom:4px}
.sgCard .sgCw{font-size:12px;letter-spacing:.08em;padding:3px 12px;border:1px solid #ffffff40;border-radius:999px;opacity:.8}
