:root{color-scheme:dark;--bg:#140f16;--surface:#1e1622;--surface-2:#2a2030;--line:#f4eadf14;--text:#f4eadf;--text-dim:#f4eadfb8;--muted:#f4eadf80;--gold:#e4c48a;--on-gold:#24180c;--coral:#e8896c;--sage:#7ea58a;--hold:#e4c48a;--glow:#e4c48a14;--gold-soft:#e4c48a73;--coral-soft:#e8896c66;--scrim:#0a080cb8;--highlight:#f4eadf0f;--elev:0 0 0 transparent;--lift:0 10px 24px -12px #0009;--radius:18px;--radius-sm:12px;--pill:999px;--player:26rem;--prose:34rem;--font:ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;--space-xs:.35rem;--space-sm:.75rem;--space-md:1.25rem;--space-lg:2.5rem;--ease-out:cubic-bezier(.2, .7, .2, 1);--dur-press:.12s;--dur-enter:.2s;--dur-fill:.5s}:root[data-theme=light]{color-scheme:light;--bg:#f7f0e8;--surface:#fffbf6;--surface-2:#ebe0d3;--line:#22171f1f;--text:#22171f;--text-dim:#22171fc2;--muted:#22171f9e;--gold:#8f6118;--on-gold:#fffbf6;--hold:#8f6118;--coral:#b0432a;--sage:#3f7354;--glow:#8f611812;--gold-soft:#8f611873;--coral-soft:#b0432a66;--scrim:#22171f66;--highlight:#ffffffb3;--elev:0 1px 2px #22171f0a, 0 6px 18px -10px #22171f2e;--lift:0 10px 24px -14px #22171f59}*,:before,:after{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;scrollbar-gutter:stable}body{min-height:100dvh;font-family:var(--font);background:radial-gradient(1200px 600px at 50% -10%, var(--glow), transparent 55%), var(--bg);color:var(--text);padding:max(var(--space-md), env(safe-area-inset-top)) max(var(--space-md), env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(var(--space-md), env(safe-area-inset-left));flex-direction:column;margin:0;line-height:1.5;display:flex}body:is(:lang(ja),:lang(zh),:lang(ko),:lang(ar),:lang(hi)){line-height:1.7}:lang(ja){word-break:auto-phrase}h1,h2,h3,.tagline,.site-footer p{text-wrap:balance}.prose p,.hint,.eta{text-wrap:pretty}a{color:var(--gold);text-underline-offset:.18em;text-decoration-thickness:1px}a:hover{color:var(--text)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.wrap{flex-direction:column;flex:1;width:min(100%,44rem);margin:0 auto;display:flex}.wrap>main{flex:1}.player-col{width:min(100%, var(--player));margin:0 auto}.prose{width:min(100%, var(--prose));margin:0 auto}.site-header{gap:var(--space-xs);margin-bottom:var(--space-md);text-align:center;display:grid}.wordmark{letter-spacing:-.03em;color:var(--gold);view-transition-name:wordmark;margin:0;font-size:clamp(1.8rem,4vw,2.2rem);font-weight:650;text-decoration:none}.tagline{color:var(--text-dim);letter-spacing:normal;margin:0;font-size:.98rem;font-weight:400}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-top{justify-content:space-between;align-items:center;gap:var(--space-sm);width:min(100%, var(--player));margin:0 auto var(--space-md);display:flex}.app-top .wordmark{font-size:1.35rem;text-decoration:none}a.wordmark:hover{color:var(--text)}.info-btn{appearance:none;border:1px solid var(--line);background:var(--surface);width:2.75rem;height:2.75rem;color:var(--gold);font:inherit;cursor:pointer;border-radius:50%;font-style:italic;font-weight:650}.intro{margin-top:0}a.btn{color:var(--on-gold);place-items:center;text-decoration:none;display:grid}a.btn:hover{color:var(--on-gold)}.skip{top:0;clip-path:inset(50%);position:absolute;inset-inline-start:1rem}.skip:focus{margin-bottom:var(--space-sm);clip-path:none;background:var(--surface);border-radius:var(--radius-sm);align-self:flex-start;padding:.4rem .7rem;position:static}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:inset 0 1px 0 var(--highlight), var(--elev);padding:var(--space-md)}.progress-head{justify-content:space-between;align-items:baseline;gap:.75rem;font-size:.92rem;display:flex}.progress-head span{font-variant-numeric:tabular-nums}.bar{border-radius:var(--pill);background:var(--surface-2);height:.45rem;margin:.55rem 0 .35rem;overflow:hidden}.bar>span{border-radius:inherit;background:var(--gold);transform-origin:0;height:100%;display:block}.bar>span:dir(rtl){transform-origin:100%}.bar>span.grow{animation:bar-grow var(--dur-fill) var(--ease-out) backwards}@keyframes bar-grow{0%{transform:scaleX(var(--from,0))}}.muted{color:var(--muted);font-size:.875rem}.eta{margin:var(--space-xs) 0 0;color:var(--text-dim);font-size:.9rem}.strip{grid-template-columns:repeat(21,1fr);gap:.2rem;margin-top:.85rem;display:grid}.strip-day{justify-items:center;gap:.4rem;display:grid}.strip-day i{background:var(--surface-2);border-radius:50%;width:.38rem;height:.38rem}.strip-day i.on{background:var(--gold)}.strip-day i.pop{animation:dot-pop .4s var(--ease-out) backwards;position:relative}.strip-day i.pop:after{content:"";box-shadow:0 0 .5rem .15rem var(--gold-soft);opacity:0;border-radius:50%;animation:.9s ease-out dot-glow;position:absolute;inset:-.2rem}@keyframes dot-pop{0%{transform:scale(.4)}60%{transform:scale(1.15)}}@keyframes dot-glow{30%{opacity:1}}.strip-day.is-today i{outline:1px solid var(--gold-soft);outline-offset:1px}.btn{appearance:none;font:inherit;cursor:pointer;border-radius:var(--pill);background:var(--gold);width:100%;min-height:48px;color:var(--on-gold);transition:transform var(--dur-press) var(--ease-out);border:0;padding:.75rem 1.2rem;font-weight:650}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.secondary{background:var(--surface-2);color:var(--text)}.btn.ghost{color:var(--gold);background:0 0;width:auto;min-height:44px;padding:.4rem .7rem}.btn.danger{color:var(--coral);border:1px solid var(--coral-soft);background:0 0}.stack{gap:var(--space-sm);display:grid}.row{flex-wrap:wrap;gap:.6rem;display:flex}.phase-label{text-align:center;letter-spacing:-.03em;margin:0;font-size:2rem;font-weight:650}.phase-label.tighten,.phase-label.squeeze{color:var(--coral)}.phase-label.hold{color:var(--hold)}.phase-label.release{color:var(--coral)}.phase-label.rest,.phase-label.prepare{color:var(--sage)}.ring-wrap{width:min(100%,17.5rem);margin:.75rem auto 1rem;position:relative}.ring-wrap svg{width:100%;height:auto;display:block}.ring-progress{transition:stroke .2s linear}.ring-center{text-align:center;pointer-events:none;place-content:center;display:grid;position:absolute;inset:0}.count{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:2.5rem;font-weight:650;line-height:1}.count-total{letter-spacing:normal;color:var(--text-dim);margin-inline-start:.2em;font-size:.5em;font-weight:600}.block-line{text-align:center;color:var(--text-dim);margin:0;font-size:.95rem}.count.count-in{animation:count-in var(--dur-enter) var(--ease-out)}@keyframes count-in{0%{opacity:0;transform:translateY(.35em)}}:is(.phase-label,.count,h1:not(.wordmark),h2,h3):is(:lang(ar),:lang(hi),:lang(ja),:lang(zh),:lang(ko)){letter-spacing:normal}[data-player] .row{flex-wrap:nowrap}[data-player] .row .btn.secondary{flex:2}[data-player] .row .btn.ghost{flex:1}[data-player] .row .btn{white-space:nowrap}[data-player] .btn.armed{color:var(--coral);box-shadow:inset 0 0 0 1px var(--coral-soft)}html:has([data-start]){scroll-padding-bottom:calc(48px + 2rem + env(safe-area-inset-bottom))}[data-start]{bottom:calc(1rem + env(safe-area-inset-bottom));z-index:1;box-shadow:var(--lift);position:sticky}section{margin-top:var(--space-lg)}main>section:first-child{margin-top:0}.prose h1,section h2{letter-spacing:-.02em;margin:0 0 .6rem;font-size:1.375rem}section h3{margin:1.1rem 0 .4rem;font-size:1.02rem}section p,section li{color:var(--text-dim)}section ol,section ul{padding-left:1.2rem}.faq-item{border-bottom:1px solid var(--line)}.faq-item summary{cursor:pointer;color:var(--text);justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 0;font-weight:600;list-style:none;display:flex}.faq-item summary::-webkit-details-marker{display:none}.plan summary:after,.faq-item summary:after{content:"";width:.75rem;height:.75rem;color:var(--gold);transition:background-size var(--dur-enter) var(--ease-out);background:linear-gradient(currentColor,currentColor) 50%/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 50%/2px 100% no-repeat;flex:none}.plan[open] summary:after,.faq-item[open] summary:after{background-size:100% 2px,2px 0}@media (forced-colors:active){.plan summary:after,.faq-item summary:after{content:"+";color:canvastext;background:0 0;width:auto;height:auto;font-weight:500;line-height:1}.plan[open] summary:after,.faq-item[open] summary:after{content:"−"}}.plan.opening[open]>:not(summary),.faq-item[open]>:not(summary){animation:view-in var(--dur-enter) var(--ease-out) backwards}.faq-item p{margin:0 0 .9rem}.app-nav{margin:0 auto var(--space-md);width:min(100%, var(--player));border-radius:var(--pill);background:var(--surface-2);grid-template-columns:repeat(2,1fr);gap:.25rem;padding:.25rem;display:grid}.app-nav-btn{appearance:none;color:var(--text-dim);font:inherit;cursor:pointer;border-radius:var(--pill);background:0 0;border:0;min-height:44px}.app-nav-btn[aria-current=page]{color:var(--text);background:var(--surface);box-shadow:var(--elev);font-weight:600}.how-dialog{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:min(100% - 2rem,36rem);max-height:min(90dvh,42rem);color:var(--text);padding:var(--space-md);overflow:auto}.how-dialog::backdrop{background:var(--scrim)}.how-dialog[open]{transition:opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out)}.how-dialog[open]::backdrop{transition:opacity var(--dur-enter) var(--ease-out)}@starting-style{.how-dialog[open]{opacity:0;transform:scale(.98)}.how-dialog[open]::backdrop{opacity:0}}.how-dialog-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.6rem;display:flex}.how-dialog-head h2{margin:0;font-size:1.15rem}.how-dialog .prose{width:100%}.site-footer{padding-top:var(--space-lg);color:var(--muted);text-align:center;margin-top:auto;font-size:.8rem;line-height:1.6}.site-footer p{margin:.6rem 0}.lang-switch ul{flex-wrap:wrap;justify-content:center;gap:0 .7rem;margin:.6rem 0 0;padding:0;list-style:none;display:flex}.lang-switch :is(a,span){padding:.15rem .1rem;display:inline-block}.lang-switch a{color:inherit;text-decoration:none}.lang-switch a:hover{color:var(--text);text-decoration:underline}.lang-switch [aria-current]{color:var(--text-dim);font-weight:600}.lang-hint{width:fit-content;max-width:100%;margin:0 auto var(--space-md);border:1px solid var(--line);border-radius:var(--pill);background:var(--surface);box-shadow:var(--elev);animation:view-in var(--dur-enter) var(--ease-out) backwards;align-items:center;gap:.35rem;padding-block:.25rem;padding-inline:1rem .25rem;font-size:.88rem;display:flex}.lang-hint[hidden]{display:none}.lang-hint-close{appearance:none;width:2rem;height:2rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;font-size:1.1rem;line-height:1;display:grid}.lang-hint-close:hover{background:var(--highlight);color:var(--text)}.field{gap:var(--space-xs);color:var(--text-dim);font-size:.9rem;display:grid}.field input,.field select{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:44px;padding:.4rem .7rem}.settings-list{padding:var(--space-md);gap:0;display:grid}.setting{border-bottom:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:.95rem 0;display:flex}.setting:last-child{border-bottom:0}.settings-list>.setting:first-child{padding-top:0}.settings-list>.setting:last-child{padding-bottom:0}.setting-copy{gap:var(--space-xs);min-width:0;display:grid}.progress-head strong,.setting-copy strong,.plan-set legend{font-size:1rem;font-weight:600}.setting-stacked{align-items:stretch;gap:var(--space-sm);cursor:default;flex-direction:column;min-width:0}.segmented{border-radius:var(--pill);background:var(--surface-2);gap:.2rem;padding:.2rem;font-size:.94rem;display:flex}.segmented label{cursor:pointer;flex:auto;min-width:0}.segmented input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.segmented span{border-radius:var(--pill);min-height:44px;color:var(--text-dim);text-align:center;white-space:nowrap;text-overflow:ellipsis;transition:background-color .15s var(--ease-out), color .15s var(--ease-out);padding:.65rem .45rem;display:block;overflow:hidden}.segmented input:checked+span{background:var(--gold);color:var(--on-gold);font-weight:600}.segmented input:focus-visible+span{outline:2px solid var(--gold);outline-offset:3px}.switch{appearance:none;border-radius:var(--pill);border:1px solid var(--line);background:var(--surface-2);cursor:pointer;width:2.75rem;height:1.65rem;transition:background-color .15s var(--ease-out);flex-shrink:0;position:relative}.switch:after{content:"";background:var(--muted);width:1.28rem;height:1.28rem;transition:transform .15s var(--ease-out), background-color .15s var(--ease-out);border-radius:50%;position:absolute;top:.14rem;left:.14rem}.switch:checked{background:var(--gold);border-color:#0000}.switch:checked:after{background:var(--on-gold);transform:translate(1.08rem)}.setting+.btn.danger,.settings-list~.btn.danger{margin-top:var(--space-xs)}.plan summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;list-style:none;display:flex}.plan summary::-webkit-details-marker{display:none}.plan-set{gap:var(--space-sm);min-width:0;margin:var(--space-md) 0 0;border:0;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;padding:0;display:grid}.plan-set legend{margin-bottom:var(--space-sm);padding:0}.plan .field{grid-template-rows:1fr auto;font-size:.85rem}.plan .field input{width:100%;min-width:0}.plan .setting{margin-top:var(--space-md);border-top:1px solid var(--line);border-bottom:0;padding-bottom:0}.plan .btn.ghost{margin-top:var(--space-sm)}.hint{color:var(--muted);margin:0;font-size:.875rem}.banner{background:var(--surface-2);border-radius:var(--radius);gap:.6rem;padding:.9rem 1rem;display:grid}@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}::view-transition-old(root),::view-transition-new(root){animation-duration:var(--dur-enter)}::view-transition-group(wordmark){animation-duration:.25s;animation-timing-function:var(--ease-out)}.view-enter{animation:view-in var(--dur-enter) var(--ease-out) backwards}@keyframes view-in{0%{opacity:0;transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important;animation:none!important}::backdrop{transition:none!important}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
