/* Online Timer — burnt orange + sky */
.clock-face { position: relative; text-align: center; padding: 28px 16px 22px; border-radius: var(--r-lg); background: #17120f; color: #fff7ed; margin-bottom: 18px; overflow: hidden; }
.clock-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 50% 0%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%); }
.phase { position: relative; z-index: 1; min-height: 22px; font: 700 13px/1.6 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fdba74; }
.digits { position: relative; z-index: 1; font: 800 clamp(64px, 15vw, 150px)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.digits small { font-size: .42em; opacity: .7; }
.clock-face.done { animation: flash 1s steps(2, start) infinite; }
@keyframes flash { 50% { background: var(--accent); } }
.progress { position: relative; z-index: 1; height: 6px; margin: 20px auto 0; max-width: 520px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), #fdba74); transition: width .25s linear; }
.set-time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 0 auto 14px; }
.set-time label { display: grid; gap: 6px; text-align: center; }
.set-time input { text-align: center; font: 750 28px/1 var(--display); min-height: 60px; }
.presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 6px; }
.presets button { font: inherit; font-weight: 650; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); cursor: pointer; }
.presets button:hover { border-color: var(--accent); }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn.big.primary { min-width: 150px; }
.laps { max-width: 520px; margin: 0 auto; padding: 0; list-style: none; counter-reset: lap; max-height: 260px; overflow: auto; }
.laps li { display: flex; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; counter-increment: lap; }
.laps li::before { content: "Lap " counter(lap); color: var(--muted); font-weight: 600; }
.pomo-count { text-align: center; margin: 0; }
/* Full-screen mode */
#tool:fullscreen { display: flex; flex-direction: column; justify-content: center; background: #17120f; padding: 4vw; }
#tool:fullscreen .clock-face { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; }
#tool:fullscreen .digits { font-size: min(26vw, 48vh); }
#tool:fullscreen .tabs, #tool:fullscreen [data-panel-group] { display: none; }
#tool:fullscreen .controls .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15); }
#tool:fullscreen .controls .btn.primary { background: var(--accent); border-color: var(--accent); }
