.shelf-game {margin-block:clamp(1.25rem,4vw,3.2rem);color:#153b48}
.shelf-game>a,.shelf-links a {color:#086358;text-underline-offset:.2em;font-weight:650}
.shelf-game header {margin:1.25rem 0}
.shelf-game h1 {font-size:clamp(2.15rem,4vw,3.65rem);line-height:1.06;margin:0;color:#0e303e}
.shelf-game header p {font-size:1.08rem;line-height:1.55;margin:.55rem 0}
.shelf-layout {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(1rem,3vw,2.4rem);align-items:start}
.shelf-game [hidden] {display:none!important}
.shelf-photo {position:relative;isolation:isolate;overflow:hidden;border-radius:.8rem;background:#102e38}
.shelf-photo img {display:block;width:100%;height:auto}
.shelf-photo::after {content:"";position:absolute;z-index:0;inset:22% 58% 31% 10%;border-radius:3%;background:radial-gradient(ellipse at 65% 55%,rgba(255,225,154,.27),transparent 75%);opacity:0;pointer-events:none}
[data-aimed=true] .shelf-photo::after {opacity:1}
.shelf-game .shelf-pin {position:absolute;z-index:1;display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #123237;background:#114e56;color:white;cursor:pointer;font:700 .96rem/1 system-ui;transform:translate(-50%,calc(-100% - .65rem))}
.shelf-pin::after {content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:.33rem solid transparent;border-top:.6rem solid #fff}
.shelf-pin,.shelf-guide h2 {scroll-margin-block:6rem}
.shelf-pin.pin-0 {left:25.5%;top:48%}
.shelf-pin.pin-1 {left:65.4%;top:49%}
.shelf-game .shelf-pin[data-active=true] {background:#f6cc67;color:#132d32}
.shelf-game .shelf-pin:disabled {cursor:default}
.shelf-game :focus-visible {outline:3px solid #07786d;outline-offset:4px}
.shelf-game .shelf-pin:focus-visible {outline:4px solid #ffda72;outline-offset:4px}
.shelf-meter {position:absolute;z-index:1;left:.8rem;bottom:.8rem;display:flex;align-items:center;gap:.75rem;min-height:2.7rem;color:#ecfbf3;background:#0d2c31;padding:.4rem .85rem;border-radius:.45rem;box-shadow:0 2px 8px #172f3940}
.shelf-meter span {font-size:.84rem}
.shelf-meter strong {min-width:4.4ch;font:700 1.35rem/1.3 ui-monospace,monospace;color:#d0f39c}
.shelf-caption {margin:.4rem 0 1rem;font-size:.88rem}
.shelf-game table {width:100%;border-collapse:collapse;color:#173b44;background:#fff}
.shelf-game caption {text-align:left;margin:0 0 .4rem;font-weight:750}
.shelf-game th,.shelf-game td {text-align:left;padding:.55rem .65rem;border-bottom:1px solid #d0dcd7}
.shelf-game thead {background:#e8f1ed}
.shelf-game tbody td {font-variant-numeric:tabular-nums;white-space:nowrap}
.shelf-guide {padding:clamp(1rem,2.5vw,2rem);border:1px solid #c8d8d1;background:#fff;border-radius:.8rem}
.shelf-guide h2 {font-size:clamp(1.45rem,2.6vw,2.15rem);line-height:1.12;color:#113c44;margin:0 0 .7rem}
.shelf-guide p {line-height:1.52;margin:.65rem 0}
.shelf-guide button,.shelf-action {font:inherit;cursor:pointer;min-height:44px}
.shelf-answers {display:grid;gap:.48rem;margin:.9rem 0}
.shelf-answers button {text-align:left;padding:.55rem .8rem;border:1px solid #8eaaa1;border-radius:.45rem;background:#f7faf6;color:#103742}
.shelf-answers button[aria-pressed=true] {background:#d6ece2;border:2px solid #086455;padding:calc(.55rem - 1px) calc(.8rem - 1px);font-weight:700}
.shelf-game .shelf-action {display:inline-flex;align-items:center;border:0;border-radius:.4rem;background:#0b5852;color:#fff;padding:.55rem .9rem;text-decoration:none;font-weight:700}
.shelf-game .shelf-action:disabled {background:#d8e1dd;color:#41534e;cursor:default}
.shelf-guide [data-restart] {display:block;margin-top:.8rem;border:0;background:transparent;color:#125953;padding:0;text-decoration:underline;text-underline-offset:.17em}
.shelf-links {display:flex;gap:.8rem 1.5rem;flex-wrap:wrap;margin-top:1.5rem}
@media(max-width:760px){.shelf-layout {grid-template-columns:1fr}.shelf-guide {grid-row:1}.shelf-game th,.shelf-game td {padding:.42rem;font-size:.9rem}.shelf-guide [data-restart] {margin-top:.25rem}}
