/* Kalim clock — styles
   Layout is measured from the 390×843 design frames (1 CSS px = 1 design px at 1x).
   Motion uses the same tokens as the Kalim chat site:
   --ease cubic-bezier(0.2, 0.8, 0.2, 1); sheet slide 0.38s; pop 0.22s; dots blink 1.2s. */

@font-face { font-family: "Peyda"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/Peyda-Light.ttf") format("truetype"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Peyda-Regular.ttf") format("truetype"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Peyda-Medium.ttf") format("truetype"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Peyda-Bold.ttf") format("truetype"); }

:root {
  --font: "Peyda", Tahoma, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bg: #131416;
  --card: #262628;
  --sheet: #333232;
  --tabbar: #333232;
  --text: #ffffff;
  --muted: #848485;
  --soft: #cfcfd0;
  --faint: #4d4d4f;
  --tab-off: #7a7a7a;
  --fab: #424242;
  --fab-fg: #ffffff;
  --line: #4b4b4b;
  --accent: #2a9bdc;
  --red: #ff3737;
  --track-off: #434345;
  --knob-off: #d9d9d9;
  --track-on: #bdbdbe;
  --knob-on: #333333;
  --ctl-bg: #ffffff;
  --ctl-fg: #0e0f10;
  --handle: #858585;
  --icon-soft: #a4a4a5;
  --idle: #8a8a8c;
  --wheel-far: #5c5b5b;
}

[data-theme="light"] {
  --bg: #f2f2f4;
  --card: #ffffff;
  --sheet: #f5f5f7;
  --tabbar: #ffffff;
  --text: #111112;
  --muted: #8a8a90;
  --soft: #3a3a3e;
  --faint: #b9b9bf;
  --tab-off: #9a9aa0;
  --fab: #111112;
  --fab-fg: #ffffff;
  --line: #d6d6da;
  --accent: #1f7ad6;
  --red: #e0302f;
  --track-off: #dcdce0;
  --knob-off: #ffffff;
  --track-on: #111112;
  --knob-on: #ffffff;
  --ctl-bg: #111112;
  --ctl-fg: #ffffff;
  --handle: #c4c4c8;
  --icon-soft: #6e6e74;
  --idle: #8a8a90;
  --wheel-far: #b0b0b6;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  position: relative;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #0b0b0c;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
input { cursor: text; }
p, h1, h2, ul, ol { margin: 0; padding: 0; }
.ico { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- device frame ----------
   The design is 390×843. The device keeps that size everywhere and is scaled
   down (never up) by --fit, which app.js sets from the viewport. */
.device {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 390px;
  height: 843px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 34px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) scale(var(--fit, 1));
  transform-origin: 50% 50%;
  transition: background 0.3s var(--ease);
}
@media (max-width: 520px) {
  .device { border-radius: 0; box-shadow: none; }
  /* app-like on phones: no text selection or long-press menus; text fields still work */
  body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  input, textarea { -webkit-user-select: text; user-select: text; }
}

/* ---------- top bar ---------- */
.theme-btn {
  position: absolute;
  left: 19px;
  top: 26px;
  z-index: 2;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #898a8b;
}
.theme-btn .ico { width: 25px; height: 25px; }
.page-title.swap { animation: reveal 0.35s var(--ease) both; }
.page-title {
  position: absolute;
  right: 28px;
  top: 32px;
  z-index: 2;
  font: 700 26px/28px var(--font);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}

/* ---------- screens ---------- */
.screen { position: absolute; inset: 0; display: none; }
.screen.is-active { display: block; animation: reveal 0.35s var(--ease) both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- alarm ---------- */
.summary { position: absolute; left: 0; right: 0; top: 146px; text-align: center; }
.summary-title { font: 500 26px/30px var(--font); }
.summary-sub {
  max-width: 180px;
  margin: 10px auto 0;
  font: 400 20px/26.5px var(--font);
  color: var(--muted);
}
.alarm-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 302px;
  bottom: 0;
  padding: 0 23px 150px;
  list-style: none;
  overflow-y: auto;
  scrollbar-width: none;
}
.alarm-list::-webkit-scrollbar { display: none; }
.alarm-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  height: 93px;
  margin-bottom: 13px;
  padding: 0 16px 0 18px;
  border-radius: 18px;
  background: var(--card);
}
.alarm-card.is-new { animation: pop 0.22s var(--ease) both; }
.alarm-time { display: block; text-align: left; direction: ltr; }
.time {
  display: block;
  margin-top: 1px;
  font: 500 34px/1 var(--font);
  letter-spacing: 2.8px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.time small { position: relative; top: -1.5px; font: 500 18px/1 var(--font); letter-spacing: 0; margin-left: 3px; }
.repeat {
  display: block;
  margin-top: 5px;
  margin-left: 3px;
  font: 400 14px/16px var(--font);
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.alarm-card.is-on .time { color: var(--text); }
.alarm-card.is-on .repeat { color: var(--soft); }

.toggle {
  position: relative;
  flex: none;
  width: 58px;
  height: 28px;
  border-radius: 14px;
  background: var(--track-off);
  transition: background 0.2s var(--ease);
}
.toggle .knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--knob-off);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.toggle[aria-checked="true"] { background: var(--track-on); }
.toggle[aria-checked="true"] .knob { transform: translateX(30px); background: var(--knob-on); }
.toggle.sm { width: 34px; height: 16px; border-radius: 8px; }
.toggle.sm .knob { top: 2px; left: 2px; width: 12px; height: 12px; }
.toggle.sm[aria-checked="true"] .knob { transform: translateX(18px); }

.fab {
  position: absolute;
  right: 21px;
  bottom: 104px;
  z-index: 3;
  width: 67px;
  height: 67px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--fab);
  color: var(--fab-fg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.fab .ico { width: 44px; height: 44px; }
.fab:active { transform: scale(0.96); }
.fab.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }

/* ---------- tab bar ---------- */
.tabbar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  height: 81.5px;
  border-radius: 22px;
  background: var(--tabbar);
  transition: background 0.3s var(--ease);
}
.tab {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(38.2px + var(--i) * 100.2px);
  width: 80px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--tab-off);
  transition: color 0.2s var(--ease);
}
.tab[aria-current="page"] { color: var(--text); }
.tab-ico { display: block; width: 34px; height: 34px; margin-top: 15.5px; transition: transform 0.15s var(--ease); }
.tab-ico .ico { width: 34px; height: 34px; }
.tab:active .tab-ico { transform: scale(0.9); }
.tab-label { margin-top: 0; font: 400 14px/16px var(--font); white-space: nowrap; }

/* ---------- sheets ---------- */
.sheet-layer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.sheet-layer.is-open { pointer-events: auto; }
.sheet {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 46px;
  bottom: 8px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sheet);
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s, background 0.3s var(--ease);
}
.sheet-layer.is-open .sheet { transform: none; visibility: visible; }
.sheet-handle {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 88px;
  height: 3px;
  margin-left: -44px;
  border-radius: 2px;
  background: var(--handle);
}
.sheet-close, .sheet-done { position: absolute; z-index: 2; color: var(--icon-soft); }
.sheet-close { left: 30.4px; top: 31px; width: 32px; height: 32px; }
.sheet-done { left: 316.4px; top: 29.5px; width: 30px; height: 30px; }
.sheet-close[hidden], .sheet-done[hidden] { display: none; }
.sheet-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 55.5px;
  text-align: center;
  font: 700 20px/26px var(--font);
}
.sheet-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 89.5px;
  text-align: center;
  font: 400 16px/17px var(--font);
  color: var(--muted);
}
.sheet.is-city .sheet-sub { top: 86px; }
.sheet-body { position: absolute; inset: 0; z-index: 1; }
.view { position: absolute; inset: 0; animation: reveal 0.35s var(--ease) both; }

/* picker columns (alarm form, quick dialog) */
.picker-head {
  position: absolute;
  top: 125.5px;
  width: 90px;
  text-align: center;
  font: 400 15px/16px var(--font);
  color: var(--text);
}
.wheel {
  position: absolute;
  top: 154.5px;
  width: 90px;
  height: 110px;
  touch-action: none;
  user-select: none;
  outline: none;
  cursor: grab;
}
.wv {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  transition: top 0.25s var(--ease), font-size 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.wv.is-sel { font-weight: 500; }
.t-col.is-static { pointer-events: none; }
.timer-view.is-low .t-col { top: 229px; }
.timer-view.is-low .t-colon { top: 329px; }
.timer-view.is-low .t-count { top: 353px; }

/* alarm form */
.field-label {
  position: absolute;
  right: 53.5px;
  top: 293px;
  font: 400 18.5px/16px var(--font);
  color: #b4b3b3;
}
.field-input {
  position: absolute;
  left: 45px;
  top: 318px;
  width: 290px;
  height: 49px;
  padding: 0 18px 3px;
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  font: 400 15px var(--font);
  text-align: right;
  outline: none;
}
.field-input::placeholder { color: var(--faint); }
.settings {
  position: absolute;
  left: 45px;
  top: 376px;
  width: 290px;
  height: 365px;
  border-radius: 24px;
  background: var(--card);
}
.set-rows { position: absolute; left: 0; right: 0; top: -1.5px; }
.set-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 20px 0 19px;
  direction: rtl;
  text-align: right;
  font: 400 17px/1 var(--font);
  color: var(--text);
}
.set-val {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  font: 400 12px/1 var(--font);
  color: var(--muted);
}
.set-val .chev { width: 12px; height: 12px; flex: none; }
.snooze-menu {
  position: absolute;
  left: 11px;
  top: 278px;
  z-index: 2;
  width: 68px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  animation: pop 0.22s var(--ease) both;
}
.snooze-menu button {
  display: block;
  width: 100%;
  height: 23.3px;
  border-radius: 5px;
  font: 400 12.5px/23px var(--font);
  text-align: center;
}
.snooze-menu button[aria-checked="true"] { background: #454547; }
[data-theme="light"] .snooze-menu button[aria-checked="true"] { background: #e6e6ea; }
.delete-btn {
  position: absolute;
  left: 45px;
  top: 752px;
  width: 290px;
  height: 34px;
  border-radius: 14px;
  color: var(--red);
  font: 500 15px/34px var(--font);
  text-align: center;
}

/* list sheets (repeat, ringtone, customise days) */
.list-card {
  position: absolute;
  left: 20px;
  width: 335px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 59px;
  padding: 4px 23px 0;
  direction: rtl;
  text-align: right;
  font: 400 21px/1 var(--font);
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.list-row[aria-checked="true"] { color: var(--text); }
[data-theme="light"] .list-row[aria-checked="true"] { color: #111112; }
.list-row.spread { justify-content: space-between; }
.list-row.compact { justify-content: space-between; height: 100%; color: var(--muted); }
.list-row .chev { width: 16px; height: 16px; }
.list-row .tick { width: 18px; height: 18px; margin-left: 12px; color: #fff; }
.list-row .tick[hidden] { display: none; }
[data-theme="light"] .list-row .tick { color: #111112; }

/* city picker */
.search {
  position: absolute;
  left: 16px;
  top: 122px;
  width: 347px;
  height: 38px;
  border-radius: 19px;
  background: var(--card);
}
.search input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 44px 0 16px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  text-align: right;
  font: 400 14px var(--font);
  color: var(--text);
  outline: none;
}
.search input::placeholder { color: var(--faint); }
.search .ico { position: absolute; right: 13px; top: 10px; width: 18px; height: 18px; color: #8a8a8c; }
.alpha {
  position: absolute;
  left: 16px;
  top: 178px;
  width: 24px;
  height: auto;
  padding: 5px 0;
  border-radius: 12px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.alpha button {
  flex: none;
  width: 24px;
  height: 18.2px;
  font: 400 11px/18.2px var(--font);
  color: #8a8a8c;
  text-align: center;
}
.alpha button.is-active { color: var(--accent); }
.alpha:empty { display: none; }
.city-results {
  position: absolute;
  left: 52px;
  right: 6px;
  top: 179.5px;
  bottom: 12px;
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: none;
}
.city-results::-webkit-scrollbar { display: none; }
.city-item {
  position: relative;
  display: block;
  width: 100%;
  height: 52.7px;
  text-align: right;
}
.city-item .name { display: block; font: 400 15.5px/20px var(--font); color: var(--text); }
.city-item .meta { display: block; font: 400 11px/16px var(--font); color: var(--muted); }
.empty-note { padding-top: 20px; text-align: center; font: 400 14px/20px var(--font); color: var(--muted); }

/* typing dots (same as the chat site) */
.loader { position: absolute; left: 0; right: 0; top: 250px; display: flex; justify-content: center; }
.typing { display: inline-flex; gap: 6px; padding: 12px 4px; }
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* ---------- world clock ---------- */
.clock { position: absolute; left: 89px; top: 134px; width: 212px; height: 212px; color: var(--text); direction: ltr; }
.clock text { font-family: var(--font); }
.clock svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* Fixed-width digit cell (0.56em, the average Peyda digit): the seconds never move the layout,
   and the readout keeps the width of the design. The widest digits (8, 0) are about 0.50em of ink. */
.dig { display: inline-flex; justify-content: center; width: 0.56em; }
.digital {
  position: absolute;
  left: 0;
  right: 0;
  top: 379.5px;
  transform: translateX(1.5px);
  text-align: center;
  font: 500 36px/1 var(--font);
  direction: ltr;
}
.local-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 420.5px;
  text-align: center;
  font: 400 17.8px/22px var(--font);
  color: var(--muted);
}
.city-list { position: absolute; left: 16px; right: 16px; top: 489px; list-style: none; }
.city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  height: 66px;
  margin-bottom: 10px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--card);
  user-select: none;
}
.city-card.is-new { animation: pop 0.22s var(--ease) both; }
.c-time { position: relative; top: 4px; font: 500 36px/1 var(--font); white-space: nowrap; }
.c-time small { font: 500 17px/1 var(--font); margin-left: 4px; }
.c-info { direction: rtl; text-align: right; }
.c-name { display: block; font: 400 18px/20px var(--font); }
.c-meta { display: block; margin-top: 7px; font: 400 11.5px/14px var(--font); color: var(--muted); }
.plus-plain {
  position: absolute;
  left: 50%;
  top: 670px;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  color: var(--muted);
}
.plus-plain .ico { width: 28px; height: 28px; margin: 6px; }

/* ---------- stopwatch ---------- */
.sw-display {
  position: absolute;
  left: 0;
  right: 0;
  top: 408px;
  transform: translateY(-50%);
  text-align: center;
  font: 500 66px/1 var(--font);
  white-space: nowrap;
  direction: ltr;
  transition: top 0.35s var(--ease), font-size 0.35s var(--ease);
}
.sw-display.has-laps { top: 168.4px; font-size: 49.5px; transform: translate(-4.5px, -50%); }
.laps {
  position: absolute; left: 60px; right: 62px; top: 232px;
  height: 312.2px; /* seven rows of 44.6px; older laps scroll into view */
  list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.laps::-webkit-scrollbar { display: none; }
/* Lap row as in design frame 37: record number at the left, split centred in the
   free space between the number and the total, total at the right. Peyda Light 23.5px,
   grey #79797b, unrounded glyph advances (geometricPrecision). */
.lap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 44.6px;
  padding-top: 4px;
  direction: ltr;
  white-space: nowrap;
  font: 300 23.5px/1 var(--font);
  color: #79797b;
  text-rendering: geometricPrecision;
}
.lap.is-new { animation: pop 0.22s var(--ease) both; }
.lap .lap-t { color: var(--text); }
[data-theme="light"] .lap { color: var(--muted); }
[data-theme="light"] .lap .lap-t { color: var(--text); }

/* controls shared by stopwatch and timer */
.controls { position: absolute; inset: 0; pointer-events: none; }
.btn-start {
  position: absolute;
  left: 113px;
  top: 676px;
  width: 165px;
  height: 50px;
  border-radius: 16px;
  background: var(--ctl-bg);
  color: var(--ctl-fg);
  font: 500 21px/50px var(--font);
  text-align: center;
  pointer-events: auto;
  transition: transform 0.15s var(--ease), background 0.3s var(--ease);
}
.ctl {
  position: absolute;
  top: 640px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ctl-bg);
  color: var(--ctl-fg);
  pointer-events: auto;
  transition: transform 0.15s var(--ease), background 0.3s var(--ease);
}
.ctl[data-pos="l"] { left: 84px; }
.ctl[data-pos="r"] { left: 237px; }
.ctl .ico { width: 34px; height: 34px; }
.btn-start:active, .ctl:active, .btn:active, .set-row:active, .list-row:active { transform: scale(0.97); }

/* ---------- timer ---------- */
.timer-view { position: absolute; inset: 0; }
.t-col { position: absolute; top: 129px; width: 120px; height: 260px; }
.t-colon {
  position: absolute;
  top: 229px;
  width: 12px;
  transform: translateX(-50%);
  font: 500 52px/48px var(--font);
  color: var(--text);
  text-align: center;
}
.t-count {
  position: absolute;
  left: 0;
  right: 0;
  top: 253px;
  transform: translateY(-50%);
  text-align: center;
  font: 500 46px/1 var(--font);
  direction: ltr;
  white-space: nowrap;
}

/* ---------- dialogs and overlays ---------- */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay:not(.is-open) { pointer-events: none; }
.dialog {
  position: absolute;
  left: 49px;
  top: 212px;
  width: 292px;
  height: 365px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.overlay.is-open .dialog { animation: pop 0.22s var(--ease) both; }
.dialog-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 23.6px;
  text-align: center;
  font: 700 20px/26px var(--font);
}
.dialog-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 57px;
  text-align: center;
  font: 400 16px/17px var(--font);
  color: var(--muted);
}
.dialog-wheels { position: absolute; inset: 0; }
.dialog-wheels .picker-head { top: 94px; }
.dialog-wheels .wheel { top: 125px; }
.dialog-actions {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 317px;
  display: flex;
  gap: 10px;
}
.btn {
  flex: 1;
  height: 38px;
  border-radius: 14px;
  font: 500 15px/36px var(--font);
  text-align: center;
  transition: transform 0.15s var(--ease);
}
.btn-outline { border: 1.5px solid #5c5c5e; color: var(--text); font: 500 14px/35px var(--font); }
.btn-solid { background: var(--ctl-bg); color: var(--ctl-fg); font: 500 16px/38px var(--font); }
.ring .ring-kicker {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  text-align: center;
  font: 400 15px/20px var(--font);
  color: var(--muted);
}
.ring .ring-time {
  position: absolute;
  left: 0;
  right: 0;
  top: 84px;
  text-align: center;
  font: 500 46px/50px var(--font);
  direction: ltr;
}
.ring .ring-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  text-align: center;
  font: 400 15px/20px var(--font);
  color: var(--soft);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
