
:root{--navy:#142B45;--terra:#B94E1C;--top:#D9571C;--muted:#555;--cream:#FFF8ED;--rule:#D8DCE1;--size:28px;--font:'Source Sans 3','Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--navy);font:16px/1.5 var(--font)}body.open-font{--font:'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}main{max-width:950px;margin:auto;padding:24px 24px 40px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:2px solid var(--top);padding-bottom:16px}.logo{width:250px;max-width:58%;height:auto}.book{font-size:14px;color:var(--muted);text-align:right}.book span{display:block;letter-spacing:.09em;font-weight:600;color:#013780}h1{color:var(--terra);font-size:clamp(24px,3vw,30px);line-height:1.25;margin:21px 0 2px}.title-en{font-style:italic;font-size:19px;margin:0 0 18px}.art{display:block;width:100%;height:auto;border-radius:3px}.intro{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0 12px}.intro h2{margin:0;font-size:20px;color:var(--terra)}.intro p{margin:2px 0;color:var(--muted);font-size:14px}.settings{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}button,select,input{font:inherit;color:inherit}button,select{min-height:44px;border:1px solid #CBD3DC;border-radius:7px;background:white;padding:8px 12px;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--terra);outline-offset:3px}button svg{vertical-align:middle;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.toggle[aria-pressed=true]{background:var(--cream);border-color:var(--terra)}.toggle{display:inline-flex;align-items:center;gap:7px}.size{display:flex;gap:4px;align-items:center}.size button{min-width:44px}.settings label{display:flex;align-items:center;gap:6px}.settings select{max-width:100%}details{margin-top:12px}summary{cursor:pointer;padding:10px 0;min-height:44px;color:var(--navy)}.small{font-size:14px;color:var(--muted)}.notice{background:#F5F6F8;border-radius:7px;padding:12px 14px;margin:14px 0;font-size:14px}.notice p{margin:0 0 8px}.notice p:last-child{margin:0}.notice button{margin:3px 4px 3px 0}.lyrics{margin:8px 0 0;padding:10px 0}.js .lyrics{max-height:clamp(260px,42vh,520px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#B8B8B8 transparent;border-bottom:1px solid var(--rule);scroll-padding:22px}.verse-label{text-align:center;color:var(--muted);font-size:14px;font-weight:600;letter-spacing:.06em;margin:23px 0 9px}.line{text-align:center;padding:9px 12px;border-radius:10px;position:relative}.line-button{border:0;background:transparent;width:100%;padding:0;min-height:44px;font-size:calc(var(--size)*.80);font-weight:400;line-height:1.36;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.line-button:disabled{opacity:1;cursor:default}.translation{font-size:calc(var(--size)*.70);font-style:italic;font-weight:400;line-height:1.4;color:var(--navy);margin:1px auto 4px;max-width:38em}.js .lyrics.focus .translation{display:none}.js .lyrics.focus .line.active .translation{display:block}.hide-support .translation,.hide-support .title-en{display:none!important}.line.active{background:radial-gradient(ellipse at center,rgba(242,178,103,.17),rgba(255,248,237,0) 78%)}.line.active .line-button{font-size:var(--size);font-weight:600;color:var(--terra)}.line.recording-target{outline:2px solid var(--terra);outline-offset:-2px}.line.recorded .line-button:before{content:'✓ ';font-size:14px;color:var(--muted)}.line.past:not(.active) .line-button{color:#555}.player-shell{padding:14px 0 12px;background:#fff;border-top:1px solid var(--rule);margin-top:8px}.js .player-shell{position:sticky;bottom:0;z-index:5;padding-bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 -5px 12px #142B4509}.player-shell audio{width:100%;display:block}.player-shell audio[hidden]{display:none}.timeline{display:flex;align-items:center;gap:10px}.timeline input{min-width:0;width:100%;height:44px;accent-color:var(--terra);cursor:pointer}.times{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}.player-actions{display:flex;justify-content:center;align-items:center;gap:12px}.round{border:0;min-width:44px;min-height:44px;background:transparent;padding:8px}.play{width:58px;height:58px;min-width:58px;background:var(--terra);color:#fff;border:none;border-radius:50%;box-shadow:0 0 0 6px #B94E1C12;display:grid;place-items:center}.play svg{width:27px;height:27px;fill:currentColor;stroke:none}.skip{display:flex;align-items:center;gap:4px}.speed{font-size:14px;min-width:65px}.player-actions .repeat{min-width:44px}.calibration{border:1px solid var(--rule);border-radius:8px;padding:12px;margin:10px 0}.calibration p{margin:5px 0}.mark{background:var(--terra);color:white;border-color:var(--terra);font-weight:600;width:100%;margin:8px 0;min-height:52px}.cal-actions{display:flex;gap:6px;flex-wrap:wrap}.cal-actions button{flex:1}.calibration .target{font-weight:600;font-size:19px}.error{color:#9B3019}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}footer{margin-top:22px;border-top:1px solid var(--rule);padding-top:10px;display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}@media(min-width:701px){:root{--size:32px}.art{max-height:270px;object-fit:contain;background:#fff}.js .lyrics{max-height:48vh}.settings{justify-content:flex-start}}@media(max-width:480px){main{padding:17px 16px 30px}.logo{width:185px}.book{font-size:13px}.title-en{font-size:17px}.intro{margin-top:14px}.player-actions{gap:7px}.line{padding:8px 5px}.settings{gap:6px}.settings button{padding:7px 9px}.skip span{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-height:500px){.js .player-shell{position:static}.js .lyrics{max-height:45vh}}

/* Keep decorative player icons out of pointer hit testing. */
.play svg,.play svg *{pointer-events:none}
