/* cloud-traum · Fokus-Timer */
.fk > .about { margin-bottom: 16px; }
.fk .tabs { margin-bottom: 12px; }
.fk__modeabout { margin: 0 0 16px; }
.fk__grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .fk__grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); } }
.fk__panel { --fk: var(--c-brand); padding: clamp(18px, 4vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.fk__panel[data-phase='short'], .fk__panel[data-phase='long'] { --fk: var(--c-local); }
.fk__panel[data-phase='timer'] { --fk: var(--c-sky); }
.fk__panel[data-phase='watch'] { --fk: var(--c-amber); }
.fk__panel[data-phase='done'] { --fk: var(--c-coral); }
.fk__panel:fullscreen { justify-content: center; background: var(--c-bg); }
.fk__phase { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--fk); }
.fk__ring { position: relative; width: min(340px, 80vw); aspect-ratio: 1; }
.fk__panel:fullscreen .fk__ring { width: min(70vh, 80vw); }
.fk__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fk__track { fill: none; stroke: var(--c-bg-2); stroke-width: 10; }
.fk__prog { fill: none; stroke: var(--fk); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 565.49; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear, stroke .3s; }
.fk__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 14%; }
.fk__time { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.fk__panel:fullscreen .fk__time { font-size: clamp(3rem, 14vh, 8rem); }
.fk__panel[data-phase='watch'] .fk__time { font-size: clamp(2rem, 9vw, 3.4rem); }
.fk__panel[data-phase='done'] .fk__time { animation: fk-blink 1s steps(2) 6; color: var(--c-coral); }
@keyframes fk-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .fk__panel[data-phase='done'] .fk__time { animation: none; } .fk__prog { transition: none; } }
.fk__sub { margin: 0; color: var(--c-soft); font-weight: 600; overflow-wrap: anywhere; max-width: 100%; }
.fk__sub:empty { display: none; }
.fk__dots { display: flex; gap: 8px; }
.fk__dots[hidden] { display: none; }
.fk__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-brand); }
.fk__dot.is-done { background: var(--c-brand); }
.fk__dot.is-cur { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 30%, transparent); }
.fk__ctrl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fk__main { min-width: 140px; justify-content: center; }
.fk__keys { margin: 0; }
.fk__laps { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 420px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.fk__laps[hidden] { display: none; }
.fk__lapitem { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 6px 12px; border-radius: 8px; background: var(--c-bg); text-align: left; }
.fk__lapt { color: var(--c-muted); }
.fk__lapitem.is-best .fk__lapd { color: var(--c-local); font-weight: 700; }
.fk__lapitem.is-worst .fk__lapd { color: var(--c-coral); font-weight: 700; }
.fk__side { padding: clamp(16px, 3vw, 22px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#fkPomoOpts, #fkTimerOpts, .fk__common { display: flex; flex-direction: column; gap: 10px; }
#fkPomoOpts[hidden], #fkTimerOpts[hidden] { display: none; }
.fk__common { border-top: 1px dashed var(--c-line); padding-top: 14px; }
.fk__common p, #fkPomoOpts p, #fkTimerOpts p { margin: 0; }
.fk__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fk__hms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fk__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.fk__today { font-weight: 600; color: var(--c-soft); }
