.fun-mode-tabs{flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto 10px;display:flex}.fun-mode-tabs button{font:inherit;background:var(--bg);border:1px solid var(--line);color:var(--muted);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:12px;font-weight:750;display:flex}.fun-mode-tabs button svg{width:16px;height:16px}.fun-mode-tabs button.selected{background:var(--mint-soft);color:var(--mint-dark);border-color:var(--mint-soft)}.fun-stage{justify-content:center;align-items:center;min-height:290px;margin:20px 0 0;display:flex;position:relative}.fun-sand{width:216px;height:270px;overflow:visible}.hourglass-glass{fill:var(--surface-2);stroke:var(--line);stroke-width:2px;stroke-linejoin:round}.hourglass-sand{fill:#dca755}.hourglass-frame{stroke:var(--ink);stroke-width:8px;stroke-linecap:round}.hourglass-shine{fill:none;stroke:var(--surface);stroke-width:4px;stroke-linecap:round;opacity:.7}.sand-stream{fill:none;stroke:#dca755;stroke-width:2px;stroke-dasharray:3 4;animation:.7s linear infinite sand-fall}.fun-rainbow{width:min(440px,100%);height:auto;max-height:290px;overflow:visible}.fun-rainbow path{fill:none;stroke-width:11px;stroke-linecap:butt}.fun-rainbow .rainbow-track{stroke:var(--surface-2)}.fun-traffic-wrap{justify-content:center;align-items:center;gap:32px;display:flex}.fun-traffic{background:#25302d;border-radius:28px;flex-direction:column;gap:10px;padding:17px;display:flex;box-shadow:inset 0 0 0 3px #ffffff0f,0 12px 26px #00000014}.traffic-bulb{opacity:.65;background:#39433f;border-radius:50%;width:66px;height:66px;display:block;box-shadow:inset 0 4px 8px #0000003d}.traffic-bulb.red.lit{background:#ee7973;box-shadow:0 0 30px #ee797340}.traffic-bulb.amber.lit{background:#efbc60;box-shadow:0 0 30px #efbc6040}.traffic-bulb.green.lit{background:#50cc9d;box-shadow:0 0 30px #50cc9d40}.traffic-bulb.lit{opacity:1}.traffic-legend{text-align:left;flex-direction:column;gap:8px;display:flex}.traffic-legend strong{font-family:var(--display);letter-spacing:-.04em;margin-bottom:12px;font-size:24px}.traffic-legend span{color:var(--muted);font-size:12px}.traffic-legend span.current{color:var(--mint-dark);font-weight:750}.fun-readout .timer-readout{margin:10px 0;font-size:clamp(56px,9vw,86px)}.fun-readout>p{color:var(--muted);margin:0 0 22px;font-size:12px}.fun-status{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:10px;font-weight:750}.fun-adjust{justify-content:center;gap:8px;margin-top:14px;display:flex}.fun-adjust button{padding:8px 14px;font-size:12px}.fun-repeat{color:var(--muted);cursor:pointer;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;font-size:12px;display:flex}.fun-repeat input{accent-color:var(--mint-dark);width:16px;height:16px}.fun-timer-panel .preset-row button:disabled{opacity:.4;cursor:not-allowed}.fun-timer-panel:fullscreen .fun-stage{flex:1;min-height:240px}.fun-timer-panel:fullscreen .fun-sand{width:min(32vh,340px);height:min(40vh,420px)}.fun-timer-panel:fullscreen .fun-rainbow{width:min(600px,70%);max-height:40vh}@keyframes sand-fall{to{stroke-dashoffset:-14px}}@media (max-width:500px){.fun-stage{min-height:240px}.fun-sand{width:188px;height:235px}.fun-mode-tabs{gap:6px}.fun-mode-tabs button{padding:9px 10px;font-size:11px}.fun-mode-tabs button svg{width:14px;height:14px}.fun-traffic-wrap{gap:18px}.fun-traffic{border-radius:22px;padding:13px}.traffic-bulb{width:54px;height:54px}.traffic-legend{gap:7px}.traffic-legend strong{margin-bottom:7px;font-size:20px}.traffic-legend span{font-size:10px}}@media (prefers-reduced-motion:reduce){.sand-stream{animation:none}}.fun-mode-tabs a{background:var(--bg);border:1px solid var(--line);color:var(--muted);border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:12px;font-weight:750;display:flex}.fun-mode-tabs a svg{width:16px;height:16px}.fun-mode-tabs a[aria-current=page]{background:var(--mint-soft);color:var(--mint-dark);border-color:var(--mint-soft)}.fun-mode-tabs button,.fun-mode-tabs a{padding:8px 10px;font-size:11px}.fun-illustration{width:min(340px,100%);height:290px;overflow:visible}.fun-stage-rocket .fun-illustration{height:305px}.fun-stage .candle-flame.is-running{animation:1.8s ease-in-out infinite alternate candle-glow}.fun-stage.is-running .rocket-flame{animation:.8s ease-in-out infinite alternate candle-glow}.fun-burst.is-completed{animation:.8s ease-out both fun-finish-reveal}.fun-stage.is-running .firework-warmup{animation:.8s ease-in-out infinite alternate candle-glow}.rainbow-style{justify-content:center;align-items:center;gap:8px;margin:8px 0 25px;display:flex}.rainbow-style button{padding:8px 12px;font-size:11px}.rainbow-style button[aria-pressed=true]{border-color:var(--mint);background:var(--mint-soft);color:var(--mint-dark)}.traffic-phase-time{font-size:26px;font-family:var(--display);font-variant-numeric:tabular-nums;margin:0 0 12px;font-weight:700;line-height:1}.traffic-timing{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:15px 0 22px;padding:18px 0}.traffic-timing summary{color:var(--muted);cursor:pointer;font-size:12px;font-weight:650}.traffic-timing>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding-top:20px;display:grid}.traffic-timing .duration-fields{max-width:100%;margin-bottom:0}.traffic-timing p{color:var(--muted);margin:15px 0 0;font-size:11px}.fun-tool-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1050px;margin:0 auto 75px;padding:0 24px;display:grid}.fun-tool-links a{border:1px solid var(--line);background:var(--surface);color:var(--mint-dark);border-radius:16px;padding:18px 20px;font-size:14px;font-weight:700}.fun-tool-links a:hover{border-color:var(--mint)}.fun-timer-panel:fullscreen .fun-illustration,.fun-timer-panel.focus-view .fun-illustration{width:min(52dvh,560px);height:min(48dvh,520px)}.fun-timer-panel:fullscreen .fun-mode-tabs,.fun-timer-panel.focus-view .fun-mode-tabs,.fun-timer-panel:fullscreen .traffic-timing,.fun-timer-panel.focus-view .traffic-timing,.fun-timer-panel:fullscreen .rainbow-style,.fun-timer-panel.focus-view .rainbow-style{display:none}@keyframes candle-glow{0%{opacity:1}to{opacity:.7}}@keyframes fun-finish-reveal{0%{opacity:0}to{opacity:1}}@media (max-width:600px){.fun-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.fun-mode-tabs button,.fun-mode-tabs a{gap:4px;min-width:0;padding:8px 5px;font-size:9px}.fun-mode-tabs svg{flex-shrink:0;width:12px!important;height:12px!important}.fun-illustration{width:min(290px,100%);height:250px}.fun-stage-rocket .fun-illustration{height:260px}.traffic-timing>div{grid-template-columns:1fr;gap:17px}.traffic-timing .duration-fields{width:250px;max-width:100%}.traffic-legend strong{margin-bottom:0;font-size:19px}.traffic-phase-time{font-size:24px}.fun-tool-links{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}.fun-tool-links a{padding:15px;font-size:12px}}@media (prefers-reduced-motion:reduce){.fun-stage *,.fun-burst.is-completed{transition:none!important;animation:none!important}}
.world-clock-panel:is(:fullscreen,.focus-view){width:100vw!important;max-width:none!important}.clock-panel:is(:fullscreen,.focus-view) .clock-stage{flex:1}.clock-panel:is(:fullscreen,.focus-view) .digital-clock-readout{font-size:clamp(70px,17vw,250px)}.clock-panel:is(:fullscreen,.focus-view) .flip-card{width:clamp(100px,22vw,300px);height:clamp(120px,26vw,350px)}.clock-panel:is(:fullscreen,.focus-view) .flip-card>span:first-child{font-size:clamp(70px,17vw,210px)}.fun-timer-panel:is(:fullscreen,.focus-view) .fun-stage{flex:1;min-height:240px}.fun-timer-panel:is(:fullscreen,.focus-view) .fun-sand{width:min(32vh,340px);height:min(40vh,420px)}.fun-timer-panel:is(:fullscreen,.focus-view) .fun-rainbow{width:min(600px,70%);max-height:40vh}@media (max-width:600px){.clock-panel:is(:fullscreen,.focus-view) .flip-card{width:clamp(76px,26vw,144px);height:clamp(92px,33vw,170px)}.clock-panel:is(:fullscreen,.focus-view) .flip-card>span:first-child{font-size:clamp(48px,16vw,85px)}}
