/* مؤقت صبّات V60 — tokens follow the Stitch "Specialty Coffee Brewing Companion" system */
:root {
  --bg: #F8F4EE;
  --surface: #FFFDF9;
  --latte: #F0E2D4;
  --latte-2: #E8D6C3;
  --track: #ECE5DC;
  --line: rgba(196, 178, 160, .38);
  --text: #1E1A17;
  --muted: #74685E;
  --accent: #B87440;
  --accent-ink: #8A4A1C;
  --on-accent: #FFFDF9;
  --ok: #8A4A1C;
  --warn-bg: #FBEBDD;
  --shadow-1: 0 4px 20px -2px rgba(30, 26, 23, .05), 0 2px 6px -1px rgba(184, 116, 64, .03);
  --shadow-2: 0 14px 34px -6px rgba(30, 26, 23, .09), 0 4px 12px -2px rgba(184, 116, 64, .05);
  --beans: url("../assets/beans.webp"), url("https://lh3.googleusercontent.com/aida-public/AB6AXuApbesUgYUZCOT6v6jnnSf32R_Gu37275KgoGGC_j6NoZOzV2ETgqDJTMiddu5Mk3x8szHEPhgSDRnuqJ5qhGtvHWtqvikq8miclWs1hfZVj94FXEAyxIiilFXZgoj3Iv6HHHKtGYCCIGni68P-uDiaS5qF-F_ahZpFGVjsEqqUBH_Pf77WTQV61aC0E-yEbYTjtyzvQmJBsSuQpty_ot_mf24SduQvg2zM1tTRZxsNXXIwKmrX5vlgUgIuPj1zMxksop6_xBBnKzs");
  --r-card: 24px;
  --r-tile: 18px;
  --gutter: 20px;
  --maxw: 560px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

/* dark is the default look; light only when the visitor picks it */
:root:not([data-theme="light"]) {
  --bg: #15110E; --surface: #1E1915; --latte: #36271C; --latte-2: #45321F;
  --track: #2C241E; --line: rgba(120, 98, 80, .35);
  --text: #F3EAE0; --muted: #AE9F92; --accent: #D08A52; --accent-ink: #E7A46E;
  --on-accent: #1A120C; --warn-bg: #33241A;
  --shadow-1: 0 4px 20px -4px rgba(0, 0, 0, .4); --shadow-2: 0 14px 34px -6px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 22px; height: 22px; flex: none; }
html[dir="rtl"] .dir-flip { transform: scaleX(-1); }
b, .clock-big, .tile-v, .time, .t-val { font-variant-numeric: tabular-nums; }
h1, h2, h3, p { margin: 0; }

#app { min-height: 100dvh; }
.screen {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  max-width: var(--maxw); margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) max(20px, env(safe-area-inset-bottom));
}
.screen.enter > * { animation: rise .55s var(--ease) both; }
.screen.enter > *:nth-child(2) { animation-delay: .04s; }
.screen.enter > *:nth-child(3) { animation-delay: .08s; }
.screen.enter > *:nth-child(4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- top bar ---------- */
.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.icon-btn, .brand-mark {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-1);
}
.icon-btn.soft { color: var(--text); }
.brand-mark svg { width: 24px; height: 24px; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang-pill, .theme-btn {
  height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent);
  color: var(--accent-ink); backdrop-filter: blur(6px); box-shadow: var(--shadow-1);
}
.lang-pill { padding: 0 14px 0 12px; font-weight: 600; font-size: 14.5px; }
.lang-pill svg, .theme-btn svg { width: 19px; height: 19px; }
.theme-btn { width: 42px; }
.dots { display: flex; gap: 6px; align-items: center; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--track); transition: width .35s var(--ease), background .35s; }
.dots i.past { background: var(--latte-2); }
.dots i.on { width: 26px; background: var(--accent); }

/* ---------- shared ---------- */
.body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.body.center { align-items: center; text-align: center; justify-content: center; }
.h1 { font-size: clamp(26px, 6.5vw, 32px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.sub { color: var(--muted); font-size: 15px; margin-top: -8px; margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.accent { color: var(--accent-ink); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px; box-shadow: var(--shadow-1);
}
.field-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.field-h h3 { font-size: 17px; font-weight: 600; }
.f-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--latte); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.f-ico svg { width: 20px; height: 20px; }
.f-ico.big { width: 48px; height: 48px; border-radius: 16px; }
.hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--latte) 45%, transparent); color: var(--muted); font-size: 13.5px; }
.hint svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.actions.sticky {
  position: sticky; bottom: 0; margin: 0 calc(-1 * var(--gutter)); padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.actions.two, .t-actions { flex-direction: row; }
.actions.two .btn, .t-actions .btn { flex: 1; }
.btn {
  height: 60px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 18px; font-weight: 600; transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.975); }
.btn.primary { background: var(--accent-ink); color: var(--on-accent); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent-ink) 60%, transparent); }
.btn.latte { background: var(--latte); color: var(--accent-ink); }
.btn svg { width: 22px; height: 22px; }
.foot-note { text-align: center; color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.foot-note svg { width: 16px; height: 16px; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--latte); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; }
.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--warn-bg); color: var(--accent-ink); font-size: 14px; }
.warn svg { width: 20px; height: 20px; margin-top: 1px; }
.warn.soft { background: color-mix(in srgb, var(--latte) 55%, transparent); }

/* ---------- home ---------- */
.home { padding-top: max(12px, env(safe-area-inset-top)); }
.beans-hero {
  position: absolute; inset: 0 calc(50% - 50vw) auto; height: 360px; z-index: 0; pointer-events: none;
  background-image: var(--beans); background-size: cover; background-position: center 30%;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.beans-hero.small { height: 240px; opacity: .85; }
:root:not([data-theme="light"]) .beans-hero { opacity: .6; }
.home-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 170px; }
.emblem {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-2); border: 1px solid var(--line);
}
.emblem svg { width: 38px; height: 38px; stroke-width: 1.4; }
.app-title { margin-top: 22px; font-size: clamp(26px, 7vw, 34px); font-weight: 600; letter-spacing: -.01em; }
.tagline { color: var(--muted); font-size: 16px; margin-top: 2px; }
.hair { width: 48px; border: 0; border-top: 1px solid var(--latte-2); margin: 22px auto; }
.q { font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.choice {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 14px 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1); transition: background .25s, border-color .25s, transform .2s var(--ease);
}
.choice:active { transform: scale(.98); }
.choice.on { background: var(--latte); border-color: color-mix(in srgb, var(--accent-ink) 55%, transparent); box-shadow: var(--shadow-2); }
.choice-top { width: 100%; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; }
.choice.on .choice-top { color: var(--accent-ink); }
.radio { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--latte-2); display: grid; place-items: center; color: transparent; }
.radio svg { width: 14px; height: 14px; stroke-width: 2.4; }
.choice.on .radio { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); }
.choice-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--accent-ink); margin-top: 4px; }
.choice.on .choice-ico { background: var(--surface); }
.choice-ico svg { width: 30px; height: 30px; stroke-width: 1.4; }
.choice strong { font-size: 24px; font-weight: 600; line-height: 1.2; }
.choice.on strong { color: var(--accent-ink); }
.choice-note { color: var(--muted); font-size: 13px; }
.guide { position: relative; z-index: 1; margin-top: 28px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.guide summary { cursor: pointer; color: var(--text); font-weight: 500; }
.guide p { margin-top: 10px; }

.credit { position: relative; z-index: 1; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.credit p { color: var(--muted); font-size: 14px; }
.credit p a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.socials a:hover, .socials a:focus-visible { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- method ---------- */
.method-list { display: flex; flex-direction: column; gap: 14px; }
.card.method { display: flex; align-items: center; gap: 14px; text-align: start; transition: background .25s, border-color .25s; }
.card.method.on { background: var(--latte); border-color: color-mix(in srgb, var(--accent-ink) 55%, transparent); }
.method-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--bg); color: var(--accent-ink); flex: none; }
.method.on .method-ico { background: var(--surface); }
.method-ico svg { width: 28px; height: 28px; stroke-width: 1.4; }
.method-ico b { font-size: 18px; letter-spacing: .02em; }
.method-text { flex: 1; display: flex; flex-direction: column; }
.method-text strong { font-size: 18px; font-weight: 600; }
.method-text span { color: var(--muted); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; }
.badge svg { width: 15px; height: 15px; }

/* ---------- beans & amount ---------- */
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-radius: 20px; background: var(--bg); }
.step-btn { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-1); }
.step-btn:disabled { opacity: .35; cursor: default; }
.step-val { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.step-val b { font-size: 40px; font-weight: 600; }
.step-val small { color: var(--muted); font-size: 14px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip { height: 48px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-weight: 500; transition: all .2s; }
.chip.on { background: var(--latte); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); color: var(--accent-ink); font-weight: 600; }
.custom-in { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 0 16px; height: 52px; border-radius: 16px; border: 1.5px solid var(--accent); background: var(--surface); }
.custom-in input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 20px; font-weight: 600; color: var(--text); text-align: center; outline: none; }
.custom-in span { color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 20px; background: var(--bg); }
.seg-opt { min-height: 52px; padding: 8px 6px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-weight: 500; line-height: 1.25; transition: background .2s, color .2s, box-shadow .2s; }
.seg-opt small { font-size: 12.5px; opacity: .85; direction: ltr; }
.seg-opt.on { background: var(--surface); color: var(--accent-ink); font-weight: 600; box-shadow: var(--shadow-1); }
.seg-ico svg { width: 20px; height: 20px; }
.summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.summary-bar b { color: var(--text); font-weight: 600; }
.summary-bar b.accent { color: var(--accent-ink); }
.summary-bar .sep { width: 4px; height: 4px; border-radius: 9px; background: var(--latte-2); }

/* ---------- recipe ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 14px 16px; box-shadow: var(--shadow-1); }
.tile-h { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.tile-h svg { width: 20px; height: 20px; color: var(--accent); }
.tile-v { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.tile-v b { font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.tile-v small { color: var(--muted); font-size: 14px; }
.grind-card { display: flex; gap: 14px; align-items: flex-start; }
.grind-card h3 { font-size: 15px; color: var(--muted); font-weight: 500; }
.grind-card p { font-size: 17px; font-weight: 600; margin: 2px 0 4px; }
.grind-card small { color: var(--muted); font-size: 13px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.check { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); text-align: start; font-size: 15px; transition: color .2s; }
.check .box { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--latte-2); display: grid; place-items: center; color: transparent; flex: none; transition: all .2s; }
.check .box svg { width: 15px; height: 15px; stroke-width: 2.4; }
.check.on .box { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); }
.check.on > span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--latte-2); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 14px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 15px; top: 34px; bottom: 0; border-inline-start: 1.5px dashed var(--latte-2); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--latte); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.tl-body { flex: 1; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.tl-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tl-h strong { font-size: 16px; font-weight: 600; }
.time { padding: 2px 10px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.tl-target { color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.tl-body p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- timer ---------- */
.timer { overflow: hidden; }
.beans-veil {
  position: absolute; inset: 0 calc(50% - 50vw) auto; height: 220px; z-index: 0; pointer-events: none; opacity: .32;
  background-image: var(--beans); background-size: cover; background-position: center 30%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
.t-title { display: flex; flex-direction: column; align-items: center; line-height: 1.3; text-align: center; }
.t-title strong { font-size: 18px; font-weight: 600; }
.t-title small { color: var(--muted); font-size: 13px; }
.t-grid { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.t-dial { display: flex; justify-content: center; padding-top: 10px; }
.ring-wrap { position: relative; width: min(74vw, 330px); aspect-ratio: 1; }
.ring-wrap::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-2), inset 0 1px 2px rgba(255,255,255,.7); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--track); }
.ring .arc { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset .3s linear; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.elapsed-l { color: var(--muted); font-size: 13px; }
.clock-big { font-size: clamp(64px, 19vw, 92px); font-weight: 300; letter-spacing: -.03em; line-height: 1; margin: 4px 0; }
.of { color: var(--muted); font-size: 14px; }

.step-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-card.flash { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: .2; transform: translateY(6px); } }
.step-name { font-size: clamp(28px, 7.5vw, 36px); font-weight: 600; line-height: 1.25; }
.step-tip { color: var(--muted); font-size: 16px; max-width: 34ch; }
.target { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: start; }
.target.none { opacity: .7; }
.t-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--latte); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.t-text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.t-text small { color: var(--muted); font-size: 13px; }
.t-text span { font-weight: 500; }
.t-val { display: flex; align-items: baseline; gap: 4px; padding: 6px 16px; border-radius: 14px; background: var(--bg); color: var(--accent-ink); }
.t-val b { font-size: 34px; font-weight: 600; line-height: 1.1; }
.next-in { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin-top: 4px; transition: color .2s; }
.next-in svg { width: 18px; height: 18px; }
.next-in b { color: var(--text); font-weight: 600; }
.next-in.soon { color: var(--accent-ink); font-weight: 600; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.chips-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 6px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.chips-strip::-webkit-scrollbar { display: none; }
.sc { flex: none; scroll-snap-align: center; min-width: 84px; padding: 8px 14px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; line-height: 1.3; color: var(--muted); transition: background .25s, color .25s; }
.sc span { font-size: 14px; white-space: nowrap; }
.sc small { font-size: 12.5px; }
.sc.on { background: var(--latte); color: var(--accent-ink); font-weight: 600; }
.sc.past { color: color-mix(in srgb, var(--muted) 60%, transparent); }
.timer.idle .chips-strip .sc { cursor: default; }
.t-actions { padding-top: 14px; }
.btn.wide { flex: 1; }

/* ---------- done ---------- */
.done-mark { margin-top: 140px; position: relative; z-index: 1; }
.done .body { position: relative; z-index: 1; gap: 10px; }
.done .h1 { margin-top: 14px; }
.dial { width: 100%; text-align: start; margin-top: 14px; }
.dial h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.dial-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dial-row b { color: var(--accent-ink); }

/* ---------- tablet & larger ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; --maxw: 680px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .beans-hero { height: 440px; }
  .home-body { padding-top: 220px; }
  .choice { padding: 22px 18px 26px; }
  .chips { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 900px) and (orientation: landscape), (min-width: 1100px) {
  .timer { --maxw: 1180px; }
  .t-grid { flex-direction: row; align-items: center; gap: 56px; }
  .t-dial { flex: 1.05; padding: 0; }
  .ring-wrap { width: min(42vw, 52vh, 460px); }
  .clock-big { font-size: clamp(80px, 9vw, 120px); }
  .t-info { flex: 1; display: flex; flex-direction: column; gap: 22px; }
  .step-card { align-items: flex-start; text-align: start; padding: 26px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .chips-strip { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 6px; }
  .sc { flex-direction: row; justify-content: space-between; width: 100%; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
  .sc span { font-size: 16px; }
  .sc small { font-size: 14px; }
  .t-actions { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
