:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: #ffffff;
  --text: #171713;
  --muted: #797870;
  --line: rgba(23, 23, 19, .13);
  --accent: #f04b2f;
  --accent-ink: #ffffff;
  --soft: #e9e5dc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] { color-scheme: dark; --bg: #11110f; --surface: #1c1c19; --text: #f4f1ea; --muted: #92918a; --line: rgba(255,255,255,.14); --accent: #d8ff63; --accent-ink: #171713; --soft: #292925; }
:root[data-theme="sage"] { --bg: #dfe7dc; --surface: #f5f7f2; --text: #1c2a20; --muted: #667168; --line: rgba(28,42,32,.14); --accent: #28653e; --accent-ink: #fff; --soft: #ccd8cc; }

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--text); transition: background .25s, color .25s; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-header { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; padding: max(22px, env(safe-area-inset-top)) 28px 0; display: flex; justify-content: space-between; align-items: center; }
.brand-area { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; letter-spacing: -.02em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.tool-switch { display: flex; align-items: center; gap: 3px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--soft) 72%, transparent); }
.tool-switch button { padding: 7px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .7rem; white-space: nowrap; }
.tool-switch button:hover { color: var(--text); }
.tool-switch button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 6px rgba(0,0,0,.07); font-weight: 700; }
.header-actions { display: flex; gap: 8px; }
.language-button { min-width: 43px; height: 43px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .65rem; font-weight: 700; letter-spacing: .05em; }
.language-button:hover { background: var(--soft); }
.icon-action { width: 43px; height: 43px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: background .15s, transform .15s; }
.icon-action:hover { background: var(--soft); transform: translateY(-1px); }
.icon-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

.timer-stage { min-height: 100svh; padding: 100px 24px 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.timer-intro { margin-bottom: clamp(22px, 4vh, 34px); }
.timer-intro p { margin: 0 0 9px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.timer-intro h1 { margin: 0; font-size: clamp(1.15rem, 2.8vw, 1.65rem); font-weight: 650; letter-spacing: -.04em; }
.mode-state { display: flex; align-items: center; gap: 9px; margin-bottom: clamp(18px, 4vh, 34px); color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.status-dot.running { animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; transform: scale(.75); } }

.timer-visual { position: relative; display: grid; place-items: center; }
.time-button { position: relative; z-index: 2; grid-area: 1 / 1; padding: 0; border: 0; background: none; line-height: .85; }
.timer-time { display: block; font-size: clamp(5.5rem, 18vw, 15rem); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.085em; white-space: nowrap; }
.time-button:hover .timer-time { color: var(--accent); }
.clock-ring { display: none; grid-area: 1 / 1; width: min(72vw, 410px); height: min(72vw, 410px); overflow: visible; transform: rotate(-90deg); }
.clock-ring circle { fill: none; }
.clock-track { stroke: var(--soft); stroke-width: 7; }
.clock-progress { stroke: var(--accent); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.timer-stage.dial-view .clock-ring { display: block; }
.timer-stage.dial-view .timer-time { font-size: clamp(3.8rem, 11vw, 6.4rem); }
.timer-stage.dial-view .session-note { margin-top: clamp(24px, 4vh, 36px); }
.session-note { min-height: 24px; margin: clamp(22px, 4vh, 38px) 0 16px; color: var(--muted); font-size: .82rem; }

.quick-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 35px; }
.quick-presets button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .72rem; }
.quick-presets button:hover { border-color: var(--text); color: var(--text); }
.quick-presets[hidden] { display: none; }

.timer-actions { margin-top: clamp(27px, 5vh, 46px); display: grid; grid-template-columns: 64px 92px 50px 64px; align-items: center; gap: 14px; }
.timer-actions.stopwatch-actions { grid-template-columns: 64px 92px 50px; }
.text-action { padding: 10px 0; border: 0; background: none; color: var(--muted); font-size: .77rem; }
.text-action:hover { color: var(--text); }
.start-button { width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 25%, transparent); transition: transform .15s; }
.start-button:hover { transform: scale(1.035); }
.start-button:active { transform: scale(.97); }
.start-label { font-size: .72rem; font-weight: 700; }
.play-icon { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.start-button.is-running .play-icon { width: 11px; height: 13px; margin: 0; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.near-pip { width: 48px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); }
.near-pip:hover { border-color: var(--text); color: var(--text); }
.near-pip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.near-pip span { font-size: .58rem; font-weight: 700; }

.ad-container { width: min(calc(100% - 40px), 728px); min-height: 90px; margin: 20px auto 72px; text-align: center; }
.ad-label { display: block; color: var(--muted); font-size: .5rem; letter-spacing: .13em; }
.minimal-footer { width: min(calc(100% - 48px), 1080px); margin: 0 auto; padding: 30px 0 max(30px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; }
.minimal-footer nav { display: flex; gap: 16px; }
.minimal-footer a:hover { color: var(--text); }

.seo-content { width: min(calc(100% - 48px), 1080px); margin: 0 auto; padding: 110px 0 100px; border-top: 1px solid var(--line); }
.seo-content .eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .13em; }
.seo-content h2 { margin: 0; max-width: 780px; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.06; letter-spacing: -.07em; }
.seo-content p { color: var(--muted); line-height: 1.75; }
.seo-lead > p:last-child { max-width: 700px; margin: 25px 0 0; font-size: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 30px; background: var(--bg); }
.feature-grid article > span { color: var(--accent); font-size: .8rem; font-weight: 800; }
.feature-grid h3 { margin: 70px 0 12px; font-size: 1.15rem; letter-spacing: -.03em; }
.feature-grid p { margin: 0; font-size: .86rem; }
.how-to { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 120px 0; border-bottom: 1px solid var(--line); }
.how-to h2, .faq h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.how-to ol { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.how-to li { counter-increment: steps; display: grid; grid-template-columns: 38px 1fr; padding: 24px 0; border-top: 1px solid var(--line); }
.how-to li::before { content: "0" counter(steps); grid-row: 1 / 3; color: var(--accent); font-size: .8rem; font-weight: 800; }
.how-to li b { font-size: .95rem; }
.how-to li span { margin-top: 5px; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.faq { max-width: 820px; padding-top: 120px; }
.faq h2 { margin-bottom: 50px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 32px 24px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -28px; color: var(--accent); font-size: 1.2rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -5px 0 25px; max-width: 700px; font-size: .9rem; }

.settings-dialog { width: min(calc(100% - 24px), 520px); max-height: min(760px, calc(100svh - 24px)); padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: 0 25px 90px rgba(0,0,0,.2); overflow: auto; }
.settings-dialog::backdrop { background: rgba(20,20,17,.46); backdrop-filter: blur(7px); }
.settings-dialog form { padding: 28px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.dialog-kicker { margin: 0 0 5px; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .13em; }
.dialog-heading h2 { margin: 0; font-size: 2rem; letter-spacing: -.05em; }
.close-button { width: 37px; height: 37px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.3rem; }
fieldset { margin: 0; padding: 0; border: 0; }
legend, .section-label { display: block; margin-bottom: 9px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 13px; background: var(--soft); }
.segmented-control label { cursor: pointer; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { display: block; padding: 9px 3px; border-radius: 10px; text-align: center; color: var(--muted); font-size: .77rem; }
.segmented-control input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.06); font-weight: 600; }
.display-selector { margin-top: 18px; }
.segmented-control.two-up { grid-template-columns: repeat(2, 1fr); }
.option-panel { margin-top: 25px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.option-panel[hidden] { display: none; }
.time-inputs { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 9px; }
.time-inputs label { display: flex; flex-direction: column; gap: 5px; text-align: center; color: var(--muted); font-size: .64rem; }
.time-inputs input { width: 100%; padding: 12px 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-align: center; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.time-inputs b { padding-top: 12px; color: var(--muted); font-weight: 400; }
.setting-row { min-height: 51px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: .82rem; }
.setting-row:last-of-type { border-bottom: 0; }
.setting-row div { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.setting-row input { width: 58px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); text-align: center; }
.stopwatch-copy p { margin: 0; color: var(--muted); font-size: .82rem; }
.common-options { padding-top: 8px; }
.toggle-row, .theme-row { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.toggle-row > span, .theme-row > span { display: flex; flex-direction: column; }
.toggle-row b, .theme-row b { font-size: .8rem; }
.toggle-row small, .theme-row small { margin-top: 2px; color: var(--muted); font-size: .66rem; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-row i { position: relative; flex: 0 0 auto; width: 40px; height: 23px; border-radius: 999px; background: var(--soft); transition: background .2s; }
.toggle-row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.toggle-row input:checked + i { background: var(--accent); }
.toggle-row input:checked + i::after { transform: translateX(17px); }
.theme-options { display: flex; gap: 7px; }
.theme-options button { width: 24px; height: 24px; padding: 0; border: 2px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.theme-options button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--text); }
.theme-options [data-theme-choice="paper"] { background: #f4f1ea; }
.theme-options [data-theme-choice="dark"] { background: #11110f; }
.theme-options [data-theme-choice="sage"] { background: #91a894; }
.field-error { min-height: 20px; margin: 7px 0 5px; color: #c93724; font-size: .7rem; }
.save-button { width: 100%; min-height: 48px; border: 0; border-radius: 13px; background: var(--text); color: var(--bg); font-weight: 700; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 72px; max-width: calc(100% - 28px); padding: 11px 16px; transform: translateX(-50%); border-radius: 12px; background: var(--text); color: var(--bg); font-size: .78rem; box-shadow: 0 8px 30px rgba(0,0,0,.2); }

/* Policy pages */
.site-header { width: min(calc(100% - 40px), 920px); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.site-header nav { color: var(--muted); font-size: .8rem; }
.brand-mark { width: 15px; height: 15px; border: 4px solid var(--accent); border-radius: 50%; }
.policy-page { width: min(calc(100% - 40px), 760px); min-height: 72vh; margin: 0 auto; padding: 75px 0 110px; }
.policy-page .eyebrow { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.policy-page h1 { margin: 8px 0 8px; font-size: clamp(2.7rem, 7vw, 4.8rem); letter-spacing: -.07em; }
.policy-page h2 { margin: 44px 0 12px; font-size: 1.25rem; }
.policy-page p, .policy-page li { color: var(--muted); line-height: 1.75; }
.policy-page a { color: var(--accent); text-decoration: underline; }
body > footer:not(.minimal-footer) { width: min(calc(100% - 40px), 920px); margin: 0 auto; padding: 36px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; }
.footer-links { display: flex; gap: 15px; }

/* Guide pages */
.guide-page { width: min(calc(100% - 40px), 920px); margin: 0 auto; padding: 90px 0 120px; }
.guide-hero { max-width: 790px; padding-bottom: 80px; }
.guide-hero .eyebrow, .guide-section .section-number { margin: 0 0 14px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.guide-hero h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.02; letter-spacing: -.075em; }
.guide-lead { max-width: 700px; margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 70px; }
.guide-toc a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; }
.guide-toc a:hover { border-color: var(--text); color: var(--text); }
.guide-section { padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.guide-section h2 { max-width: 700px; margin: 0 0 28px; font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -.055em; }
.guide-section h3 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: -.025em; }
.guide-section > p:not(.section-number), .guide-section li p { max-width: 720px; color: var(--muted); line-height: 1.8; }
.guide-steps { margin: 0; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-steps li { counter-increment: guide-step; display: grid; grid-template-columns: 56px 1fr; max-width: 760px; padding: 24px 0; border-top: 1px solid var(--line); }
.guide-steps li::before { content: "0" counter(guide-step); color: var(--accent); font-size: .78rem; font-weight: 800; }
.guide-steps li b { font-size: 1rem; }
.guide-steps li p { margin: 7px 0 0; font-size: .9rem; }
.guide-callout { max-width: 760px; margin-top: 35px; padding: 24px 26px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--soft) 65%, transparent); }
.guide-callout b { font-size: .9rem; }
.guide-callout p { margin: 7px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.support-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.support-list article { min-height: 210px; padding: 26px; background: var(--bg); }
.support-list article p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.72; }
.guide-list, .check-list { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.guide-list li { display: grid; grid-template-columns: minmax(130px, .7fr) 1.5fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.guide-list span { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.check-list { counter-reset: check-step; }
.check-list li { counter-increment: check-step; position: relative; padding: 22px 0 22px 48px; border-top: 1px solid var(--line); }
.check-list li::before { content: counter(check-step); position: absolute; top: 20px; left: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; }
.check-list li p { margin: 6px 0 0; font-size: .9rem; }
.cycle-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 760px; margin: 34px 0; padding: 22px; border: 1px solid var(--line); }
.cycle-strip span { display: flex; flex-direction: column; min-width: 112px; padding: 14px; background: var(--soft); color: var(--muted); font-size: .74rem; }
.cycle-strip span b { color: var(--text); font-size: 1.25rem; }
.cycle-strip i { color: var(--accent); font-size: .78rem; font-style: normal; font-weight: 800; }
.text-link { color: var(--accent); text-decoration: underline; }
.related-guides { padding-top: 80px; border-top: 1px solid var(--line); }
.related-guides h2 { margin: 0 0 24px; font-size: 1.35rem; }
.related-guides > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-guides a { display: flex; flex-direction: column; min-height: 130px; justify-content: flex-end; padding: 24px; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.related-guides a:hover { border-color: var(--text); transform: translateY(-2px); }
.related-guides span { margin-bottom: 8px; color: var(--accent); font-size: .7rem; font-weight: 800; }
.related-guides b { font-size: 1rem; }

/* Document PiP */
body.pip-document { min-width: 0; min-height: 0; overflow: hidden; background: var(--bg); }
.pip-compact { position: relative; height: 100vh; padding: 17px 19px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 8px 16px; }
.pip-time { font-size: clamp(2.7rem, 18vw, 5rem); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.075em; line-height: 1; }
.pip-status { color: var(--accent); font-size: .67rem; font-weight: 700; letter-spacing: .08em; }
.pip-controls { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; }
.pip-controls.stopwatch-pip-controls { grid-template-columns: 1fr 1.4fr; }
.pip-controls button { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .72rem; }
.pip-controls .pip-primary { border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pip-compact.pip-dial { grid-template-columns: minmax(150px, 1.15fr) minmax(125px, .85fr); grid-template-rows: 1fr; gap: 18px; padding: 16px 18px; }
.pip-dial-clock { position: relative; min-width: 0; display: grid; place-items: center; }
.pip-ring { width: min(100%, 208px); aspect-ratio: 1; grid-area: 1 / 1; overflow: visible; transform: rotate(-90deg); }
.pip-ring circle { fill: none; }
.pip-ring-track { stroke: var(--soft); stroke-width: 6; }
.pip-ring-progress { stroke: var(--accent); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.pip-dial .pip-time { grid-area: 1 / 1; z-index: 1; font-size: clamp(2rem, 10vw, 3.5rem); text-align: center; }
.pip-dial-side { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.pip-dial .pip-status { text-align: center; }
.pip-dial .pip-controls { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pip-dial .pip-controls.stopwatch-pip-controls { grid-template-columns: repeat(2, 1fr); }
.pip-dial .pip-controls button { min-height: 29px; padding: 2px 4px; border-radius: 8px; font-size: .58rem; }
.pip-dial .pip-controls .pip-primary { box-shadow: none; }

@media (max-width: 600px) {
  .app-header { padding-left: 18px; padding-right: 18px; }
  .brand-area { gap: 9px; }
  .brand span:last-child { display: none; }
  .tool-switch button { padding: 7px 8px; font-size: .64rem; }
  .header-actions { gap: 5px; }
  .language-button { min-width: 35px; width: 35px; height: 35px; padding: 0; }
  .icon-action { width: 35px; height: 35px; }
  .timer-stage { padding-left: 14px; padding-right: 14px; }
  .timer-time { font-size: clamp(4.7rem, 25vw, 8rem); }
  .timer-stage.dial-view .timer-time { font-size: clamp(3.25rem, 15vw, 5rem); }
  .quick-presets { max-width: 330px; }
  .minimal-footer { width: calc(100% - 36px); padding-top: 24px; flex-direction: column; gap: 14px; }
  .minimal-footer nav { flex-wrap: wrap; }
  .seo-content { width: calc(100% - 36px); padding: 80px 0 70px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .feature-grid article { min-height: 210px; padding: 24px; }
  .feature-grid h3 { margin-top: 45px; }
  .how-to { grid-template-columns: 1fr; gap: 38px; padding: 80px 0; }
  .faq { padding-top: 80px; }
  .guide-page { width: calc(100% - 36px); padding: 65px 0 80px; }
  .guide-hero { padding-bottom: 55px; }
  .guide-section { padding: 58px 0; }
  .support-list { grid-template-columns: 1fr; }
  .support-list article { min-height: 0; }
  .guide-list li { grid-template-columns: 1fr; gap: 7px; }
  .related-guides > div { grid-template-columns: 1fr; }
  .cycle-strip { gap: 8px; }
  .cycle-strip span { min-width: 100px; }
  .settings-dialog form { padding: 22px 18px; }
  .timer-actions { grid-template-columns: 55px 84px 46px 55px; gap: 9px; }
  .timer-actions.stopwatch-actions { grid-template-columns: 55px 84px 46px; }
  .start-button { width: 84px; height: 84px; }
  body > footer:not(.minimal-footer) { flex-direction: column; gap: 15px; }
}

@media (max-height: 640px) {
  .timer-stage { justify-content: flex-start; padding-top: 90px; }
  .mode-state { margin-bottom: 14px; }
  .session-note { margin-top: 18px; }
  .timer-actions { margin-top: 22px; }
  .start-button { width: 76px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
