/* 捕鱼大师 — layout over the shared cozy UI kit. */
.cz-stage { background: #cfe9e4; }
.menu { display: flex; flex-direction: column; align-items: center; padding: calc(12px + var(--safe-top)) 16px calc(16px + var(--safe-bottom)); }
.menu-top { width: 100%; max-width: 560px; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; }
.menu-heading { display: flex; align-items: center; justify-content: center; gap: 10px; }
.menu-title { margin: 0; font-size: clamp(34px, 9.5vw, 54px); letter-spacing: .14em; padding-left: .14em; }
.small-round { width: 42px; height: 42px; }
.small-round svg { width: 22px; height: 22px; }
.rank-pill { margin-top: 10px; font-size: 16px; }
.menu-bottom { margin-top: auto; width: 100%; max-width: 460px; display: grid; gap: 16px; }
.start-btn { min-height: 62px; font-size: 22px; }
.scene-picker { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 26px; background: rgba(255, 251, 240, .94); box-shadow: 0 0 0 3px var(--cz-line), 0 5px 0 3px var(--cz-line), 0 12px 24px rgba(60, 44, 28, .2); }
.scene-picker .arrow { width: 46px; height: 46px; }
.scene-info { display: grid; justify-items: center; gap: 6px; }
.scene-info b { font-size: 24px; letter-spacing: .12em; }
.scene-info small { font-size: 12px; color: var(--cz-ink-soft); font-weight: 700; }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; background: #e6d6b5; box-shadow: 0 0 0 2px var(--cz-line); }
.dots button[aria-selected='true'] { width: 28px; border-radius: 999px; background: var(--cz-mint-2); }

.hud-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(10px + var(--safe-top)) 14px 0; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; max-width: 640px; margin: 0 auto; }
.timer-card { justify-self: center; padding: 4px 26px; min-width: 150px; text-align: center; border-radius: 20px; background: linear-gradient(#fffdf6, #f6ead1); box-shadow: 0 0 0 3px var(--cz-line), 0 5px 0 3px var(--cz-line); }
.timer-card b { font-size: 32px; }
.timer-card.urgent b { color: var(--cz-red); animation: czPulse .8s ease-in-out infinite; }
.hud-stats { position: absolute; left: 0; right: 0; top: calc(74px + var(--safe-top)); display: flex; justify-content: space-between; padding: 0 14px; max-width: 640px; margin: 0 auto; pointer-events: none; }
.hud-stats .stat { pointer-events: none; }
.hud-stats .stat b { font-size: 22px; }
.hud-stats .stat small { font-size: 12px; color: var(--cz-ink-2); font-weight: 800; }
.hud-stats .ico svg { color: #e9a23b; }
.tip-bubble { position: absolute; left: 50%; top: calc(126px + var(--safe-top)); transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: rgba(255, 253, 244, .94); box-shadow: 0 0 0 2.5px var(--cz-line); font-size: 13px; font-weight: 800; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .25s; }
.tip-bubble.on { opacity: 1; }
.trap-badge { position: absolute; transform: translate(-50%, -100%); padding: 4px 10px; border-radius: 12px; background: rgba(255, 249, 226, .96); box-shadow: 0 0 0 2.5px var(--cz-line); font-size: 12px; font-weight: 900; white-space: nowrap; pointer-events: none; }
.trap-badge b { color: var(--cz-mint-deep); }
.countdown { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 64px; font-weight: 900; color: #fffaf0; background: linear-gradient(#ffd76a, #f7b13e); box-shadow: 0 0 0 4px var(--cz-line), 0 7px 0 4px var(--cz-line); -webkit-text-stroke: 6px var(--cz-line); paint-order: stroke fill; pointer-events: none; }
.countdown.go { width: auto; padding: 0 34px; border-radius: 999px; font-size: 44px; }

.hud-tools { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 14px calc(30px + var(--safe-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; margin: 0 auto; }
.tool { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 22px; background: linear-gradient(#fffdf6, #f3e6c9); border: 3px solid #fffdf5; box-shadow: 0 0 0 3px var(--cz-line), 0 5px 0 3px var(--cz-line), 0 10px 18px rgba(60,44,28,.2); text-align: left; }
.tool:active { transform: translateY(3px); box-shadow: 0 0 0 3px var(--cz-line), 0 2px 0 3px var(--cz-line); }
.tool .ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #ffeec2; box-shadow: inset 0 0 0 2px rgba(106,74,47,.5); flex: none; }
.tool .ico svg { width: 30px; height: 30px; }
.tool .txt { display: grid; }
.tool .txt b { font-size: 18px; }
.tool .txt small { font-size: 12px; color: var(--cz-ink-2); font-weight: 800; }
.tool .cool { position: absolute; left: 0; bottom: 0; height: 100%; width: 0; background: rgba(106, 74, 47, .14); pointer-events: none; }
.tool.preview { background: repeating-linear-gradient(-55deg, rgba(255,255,255,.2) 0 8px, rgba(255,255,255,0) 8px 16px), linear-gradient(#ffe48f, #f7bf3e); }
.tool.busy .ico { background: #d9f2e2; }
.tool.cooling { filter: saturate(.7); }
.hint-line { position: absolute; left: 0; right: 0; bottom: calc(6px + var(--safe-bottom)); margin: 0; text-align: center; font-size: 12px; font-weight: 800; color: rgba(255,255,255,.95); text-shadow: 0 1px 2px rgba(40,60,50,.6); pointer-events: none; }

.result-fish { width: 150px; margin: -8px auto 0; }
.result-score { text-align: center; font-size: 66px; line-height: 1; margin: 6px 0 4px; color: var(--cz-mint-deep); -webkit-text-stroke: 7px #fffaf0; paint-order: stroke fill; text-shadow: 0 5px 0 rgba(106,74,47,.22); font-weight: 900; }
.badge-new { display: block; width: fit-content; margin: 2px auto 10px; padding: 3px 14px; border-radius: 999px; background: linear-gradient(#ffe48f, #ffc94a); box-shadow: 0 0 0 2.5px var(--cz-line); font-weight: 900; font-size: 14px; }
.tools-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.tools-split div { display: grid; gap: 2px; justify-items: center; font-weight: 800; font-size: 13px; color: var(--cz-ink-2); }
.tools-split svg { width: 26px; height: 26px; color: var(--cz-ink); }
.tools-split b { font-size: 22px; color: var(--cz-mint-deep); }
.rules { display: grid; gap: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.rules p { margin: 0; padding-left: 26px; position: relative; }
.rules p::before { content: '🎣'; position: absolute; left: 0; }
.rules b { color: var(--cz-mint-deep); }
.period { text-align: center; font-size: 13px; font-weight: 800; color: var(--cz-ink-2); margin: 8px 0; }
.lesson { position: absolute; left: 50%; top: calc(126px + var(--safe-top)); transform: translateX(-50%); width: min(360px, calc(100% - 28px)); padding: 10px 16px; border-radius: 18px; background: rgba(255, 253, 244, .97); box-shadow: 0 0 0 3px var(--cz-line), 0 4px 0 3px var(--cz-line); font-size: 14.5px; font-weight: 800; text-align: center; line-height: 1.5; pointer-events: auto; }
.lesson small { display: block; color: var(--cz-ink-soft); font-size: 12px; margin-top: 2px; }
.lesson button { margin-top: 8px; }
@media (max-height: 680px) { .timer-card b { font-size: 26px; } .hud-stats { top: calc(64px + var(--safe-top)); } }
