body.timer-page{background:#f5f3fb;color:#29245f}
.timer-main{max-width:900px;margin:0 auto;padding:35px 22px 80px}
.timer-back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 18px;color:#42377f;font-weight:800;text-decoration:none}
.timer-back:hover,.timer-related a:hover{text-decoration:underline}
.timer-card{background:#fff;border:1px solid #e7e4f0;border-radius:32px;padding:clamp(24px,5vw,52px);box-shadow:0 16px 44px #29245f0a}
.timer-heading{text-align:center;max-width:680px;margin:0 auto 28px}
.timer-kicker{display:inline-block;color:#6758a4;font-size:.9rem;font-weight:900;letter-spacing:.12em}
.timer-heading h1{font-size:clamp(2.3rem,6vw,4rem);line-height:1.05;margin:12px 0;color:#29245f}
.timer-heading p{font-size:1.15rem;line-height:1.55;color:#5c5a70;margin:0}
.timer-settings{max-width:590px;margin:0 auto 28px;display:grid;gap:9px}
.timer-settings label{font-weight:800;margin-top:7px}
.timer-settings label span{font-size:.9rem;font-weight:500;color:#727087}
.timer-settings input{width:100%;min-height:54px;border:1.5px solid #d8d4e8;border-radius:15px;padding:12px 16px;font:inherit;font-size:1rem;color:#29245f;background:#fff}
.timer-settings input:focus-visible,.timer-button:focus-visible,.sound-setting input:focus-visible,.timer-back:focus-visible,.timer-related a:focus-visible{outline:3px solid #9a83d2;outline-offset:3px}
.duration-control{display:flex;align-items:center;gap:12px}.duration-control input{max-width:155px;font-weight:800;font-size:1.25rem}.duration-control span{color:#5d5a70;font-weight:700}.timer-help{font-size:.9rem;color:#77748b;margin:0}
.timer-display{text-align:center;padding:4px 0 20px}
.timer-ring{width:min(68vw,310px);aspect-ratio:1;position:relative;margin:0 auto 16px}
.timer-ring svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.timer-ring circle{fill:none;stroke-width:13}
.ring-track{stroke:#eeeafa}
.ring-value{stroke:#87c9a0;stroke-linecap:round;stroke-dasharray:603.19;stroke-dashoffset:0;transition:stroke-dashoffset .4s ease,stroke .3s ease}
.timer-reading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.timer-reading strong{font-size:clamp(3.4rem,10vw,5.3rem);line-height:1;letter-spacing:-.06em;color:#29245f;font-variant-numeric:tabular-nums}
.timer-reading span{margin-top:8px;color:#77719a;font-size:1.15rem}
.timer-status{font-weight:800;font-size:1.2rem;margin:0 0 14px}
.activity-chip{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:10px 20px;background:#edf7f0;border-radius:999px;font-weight:800;color:#29245f;overflow-wrap:anywhere}
.activity-icon{width:30px;height:30px;display:grid;place-items:center;background:#fff;border-radius:50%;color:#598d66;font-size:1.25rem;flex:none}
.timer-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 26px}
.timer-button{min-height:58px;border:1.5px solid #cfc9e2;border-radius:15px;padding:12px 14px;display:flex;align-items:center;justify-content:center;gap:9px;font:inherit;font-size:1rem;font-weight:800;cursor:pointer}
.timer-button.primary{background:#382b78;color:#fff;border-color:#382b78}.timer-button.primary:hover:not(:disabled){background:#2d225f}
.timer-button.secondary{background:#faf9fd;color:#302763}.timer-button:disabled{opacity:.55;cursor:not-allowed}
.timer-note{background:#f0ecfa;border-left:5px solid #8068b3;border-radius:0 20px 20px 0;padding:20px 22px;margin:0 0 20px}
.timer-note strong{font-size:1.1rem}.timer-note p{margin:6px 0 0;line-height:1.55;color:#474365}
.sound-setting{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 2px;border-top:1px solid #e7e4f0;border-bottom:1px solid #e7e4f0;cursor:pointer}
.sound-setting span{display:grid;gap:3px}.sound-setting small{font-size:.9rem;color:#77748b}
.sound-setting input{appearance:none;width:56px;height:32px;border-radius:999px;background:#d8d6e1;position:relative;cursor:pointer;transition:background .2s;flex:none}
.sound-setting input::before{content:"";position:absolute;left:4px;top:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}
.sound-setting input:checked{background:#85bd91}.sound-setting input:checked::before{transform:translateX(24px)}
.timer-disclaimer{font-size:.9rem;line-height:1.5;color:#6a687d;margin:16px 0 0}
.timer-related{display:flex;flex-wrap:wrap;gap:12px 24px;padding:22px 4px}.timer-related a{min-height:44px;display:inline-flex;align-items:center;color:#40367c;font-weight:800}
@media(max-width:600px){.timer-main{padding:22px 14px 54px}.timer-card{border-radius:25px;padding:24px 18px}.timer-controls{grid-template-columns:1fr;gap:9px}.timer-button{min-height:54px}.timer-heading p{font-size:1.05rem}.timer-related{display:grid;gap:6px}}
@media(prefers-reduced-motion:reduce){.ring-value,.sound-setting input,.sound-setting input::before{transition:none}}
@media print{.topbar,.site-menu,.timer-back,.timer-settings,.timer-controls,.sound-setting,.timer-related,footer{display:none!important}.timer-main{padding:0}.timer-card{box-shadow:none;border:0}}
