*{box-sizing:border-box}
:root{--ink:#242424;--paper:#f6f4ef;--vermilion:#cb4233;--fontfactor:1;color:var(--ink);font-family:"Inter","Segoe UI","Microsoft YaHei",sans-serif;background:var(--paper)}
body{margin:0;min-height:100vh}button,select,input,textarea{font:inherit}button,select{cursor:pointer}button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;min-height:44px}button:disabled{opacity:.38;cursor:default}button:focus,select:focus,input:focus,textarea:focus,summary:focus{outline:2px solid #b13c2d;outline-offset:3px}button:focus:not(:focus-visible),select:focus:not(:focus-visible){outline:none}
svg{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}
.mast{background:#202021;color:#f7f3ee}.mastInner,.desk{max-width:1640px;margin:auto;padding-left:5.4vw;padding-right:5.4vw}
.mastInner{min-height:68px;display:flex;justify-content:space-between;align-items:center}.brand,nav,.modes,.intro,.stageLabel,.stageTop,.stageFoot,.transport,.adjust,.markbar,.times,.sheetTop{display:flex;align-items:center}
.brand img{width:36px;margin-right:13px}.brand strong{font-size:19px;letter-spacing:.04em}.brand small{margin-left:14px;padding-left:14px;border-left:1px solid #635f5b;color:#c3beb6;font:italic 16px Georgia,serif}
nav button{margin-left:22px;padding:0 4px;font-size:14px}nav svg,.modes svg{margin-right:7px}nav #import{border:1px solid #797570;border-radius:4px;padding:0 14px;min-height:38px}nav button:hover{color:#ffd4b7}
.desk{padding-top:clamp(25px,4.4vh,52px);padding-bottom:20px}.intro{margin-bottom:clamp(19px,3vh,32px);min-width:0}.trackTitle{min-width:0;flex:1}.source{margin:0 0 6px;color:#696158;font-size:13px;letter-spacing:.035em}.trackTitle h1{font:normal clamp(32px,3.75vw,65px)/1.03 Georgia,"Times New Roman",serif;letter-spacing:-.049em;margin:0;overflow-wrap:anywhere}
.recordSleeve{position:relative;width:99px;height:72px;flex:none;margin-right:22px}.recordSleeve img{position:relative;width:72px;height:72px;object-fit:cover;object-position:56% center;box-shadow:1px 2px 3px #0003}.disc{position:absolute;left:25px;top:1px;width:70px;height:70px;border-radius:50%;background:repeating-radial-gradient(circle,#242424 0 1px,#353535 2px,#202020 3px);box-shadow:inset 0 0 8px #000,inset -4px 0 8px #aaa4}
.modes{margin-left:18px;flex:none;border-bottom:1px solid #c6c1b9}.modes button{padding:0 11px;min-height:40px;font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px;color:#6d6762}.modes button[aria-pressed=true]{border-color:var(--vermilion);color:#a82f24;font-weight:650}.modes svg{width:16px}
.deck{border-radius:5px;overflow:hidden;background:#242426;box-shadow:0 6px 14px -12px #251c1a80}
.spread{position:relative;isolation:isolate;overflow:hidden;height:clamp(320px,48.6vh,635px);background:#c8b9af url('assets/coast.webp') center 55%/cover no-repeat}
.spread:before{content:"";position:absolute;top:0;bottom:0;right:0;left:0;z-index:-1;background:linear-gradient(180deg,#f5ebe12b 0%,#f8ede638 40%,transparent 69%,#211b2040 100%)}
.stageTop,.stageFoot{position:absolute;left:3.7%;right:3.7%;justify-content:space-between}.stageTop{top:19px}.stageFoot{bottom:13px;justify-content:flex-end}.stageLabel{font-size:13px;font-weight:650;color:#292322;letter-spacing:.055em}.signal{display:inline-flex;align-items:center;margin-right:8px}.signal i{width:2px;background:currentColor;margin-right:2px;height:6px}.signal i:nth-child(2){height:13px}.signal i:nth-child(3){height:9px}
.frameBtn{width:44px;border-radius:50%;color:#302826}.frameBtn:hover{background:#fffa}.stageFoot button{color:#fff;background:#211e22b8;font:13px Consolas,monospace;border-radius:2px;min-height:36px;padding:0 12px}.stageFoot svg{width:16px;margin-right:9px}
.lyrics{position:absolute;top:23%;left:5%;right:5%}
#window{position:relative;width:100%;overflow:hidden;padding:8px 0 2px;direction:ltr}
#track{min-width:0}.cue{display:none;margin:0;padding:.25em 2px .16em;border:0;text-align:left;white-space:pre;width:max-content;min-width:0;max-width:none;min-height:0;line-height:1.43;letter-spacing:-.035em;font-family:"Inter","Segoe UI","Roboto","Arial",sans-serif;font-size:calc(clamp(34px,4.1vw,66px)*var(--fontfactor));font-weight:620;color:#342e2d;cursor:inherit;direction:ltr;unicode-bidi:isolate;will-change:transform}
.cue.shown{display:block}.word{position:relative;display:inline-block}.word.read{color:#8b241b}.word.singing{color:#342e2d}.word{font-kerning:none}.word.singing:after{content:attr(data-ink);position:absolute;top:0;left:0;color:#8b241b;pointer-events:none;-webkit-clip-path:inset(0 calc(100% - var(--sweep,0%)) 0 0);clip-path:inset(0 calc(100% - var(--sweep,0%)) 0 0)}.cue .cut:after,.cue .stress:before{z-index:2}
.stress,.cut,.demoDot,.demoCut{position:relative}.cue .stress,.example .stress{display:inline-block;line-height:1}
.mark-stress .cue .stress:before,.example .stress:before,.demoDot:before{content:"";position:absolute;height:.15em;width:.15em;min-width:3px;min-height:3px;border-radius:100%;background:#12100f;left:50%;top:.16em;transform:translate(-50%,-100%);box-shadow:0 0 0 1px #fff8}
.mark-stop .cue .cut:after,.example .cut:after,.demoCut:after{content:"";position:absolute;width:.066em;min-width:1.5px;height:.76em;top:54%;left:50%;background:#8c2019;transform:translate(-50%,-50%) rotate(-36deg);box-shadow:0 0 0 .015em #fff9}
.mark-link .cue .joint:after,.example .joint:after{content:"";position:absolute;left:97%;bottom:.025em;width:.44em;height:.13em;border:solid #4d3b38;border-width:0 0 .047em;border-radius:0 0 55% 55%}
#upcoming{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:clamp(16px,1.52vw,24px);font-weight:450;min-height:32px;line-height:1.5;color:#312a29;padding:0 2px;opacity:.89}#upcoming:empty{visibility:hidden}
.player{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(16px,3vw,45px);align-items:center;background:#242426;color:#f9f6ef;padding:20px 3.7%}
.transport{gap:9px}.transport button{width:44px;height:44px;border-radius:50%}.transport .skip:hover{background:#ffffff18}#play{background:#c64235;width:55px;height:55px;color:white}#play:hover{background:#da4c3d}#play svg{fill:currentColor;width:19px;height:19px}#play svg.pauseIcon{fill:none;stroke-width:4px}.skip svg{width:17px}.times{justify-content:space-between;font:12px/1.1 Consolas,monospace}.times #status{font:12px "Segoe UI","Microsoft YaHei",sans-serif;color:#d9d1ca}.sep,#total{color:#aca5a3}
#seek{display:block;margin:3px 0 -5px;width:100%;height:24px;cursor:pointer;appearance:none;-webkit-appearance:none;background:transparent;--progress:0%}
#seek::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:linear-gradient(to right,#de5a4a var(--progress),#666161 var(--progress))}
#seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;background:#f9f1e9;border-radius:50%;border:none}
#seek::-moz-range-track{height:3px;background:#666161}#seek::-moz-range-progress{height:3px;background:#de5a4a}
.adjust{border-left:1px solid #55504e;padding-left:clamp(12px,2.5vw,35px);gap:14px}.adjust label{font-size:12px;color:#d2c9c3;white-space:nowrap}.adjust select{color:#fff;background:#242426;margin-left:4px;border:0;min-height:40px;font-size:14px}
.markbar{min-height:68px;flex-wrap:wrap;gap:4px;border-bottom:1px solid #d8d3cc}.markTitle{color:#635d59;font-size:13px;margin-right:16px}.markbar button{color:#3e3935;padding:0 12px;font-size:13px}.markbar b{font:600 19px Georgia,serif;margin-right:8px}.markbar button[aria-pressed=false]{opacity:.52;text-decoration:line-through}.markbar .help{width:44px;padding:0;margin-left:auto;font:18px Georgia,serif}.help:after{content:"";position:absolute;width:22px;height:22px;border:1px solid #a39b94;border-radius:50%}
.veil{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;background:#1e191b80;display:grid;place-items:center;padding:16px}[hidden]{display:none!important}
.sheet{background:#fbf9f6;color:#24211f;width:min(540px,100%);max-height:90vh;overflow:auto;padding:22px 26px 26px;border-radius:6px;box-shadow:0 22px 62px #17131544}.sheetTop{justify-content:space-between;margin-bottom:13px;border-bottom:1px solid #ddd5ce}.sheetTop h2{margin:0;font-size:22px}.sheetTop button{font-size:29px;width:44px}.field{display:block;margin:14px 0 5px;font-weight:600;font-size:14px}.sheet input[type=text],.sheet textarea,.editrow input{width:100%;background:white;color:#302925;border:1px solid #bcb3ab;border-radius:3px;padding:9px}.sheet textarea{min-height:103px;resize:vertical}.sheet p,.sheet small,.sheet summary{font-size:14px;line-height:1.6}.sheet input[type=file]{width:100%;padding:6px 0}.sheet progress{width:100%;accent-color:#b83729}.secondary,.primary,.sheet input[type=file]::file-selector-button{border:1px solid #bcb3ab;border-radius:3px;padding:7px 13px;background:#f1eee9;color:#302925}.primary{background:#b83b2e;color:white;border:0;margin:10px 8px 0 0;padding:10px 18px}.error,.editrow small{color:#963027}
.libitem,.editrow,.cueItem{border-bottom:1px solid #ddd6ce;padding:8px 0}.libitem{display:flex;justify-content:space-between;align-items:center;gap:10px}.libitem span,.editrow span{overflow-wrap:anywhere}.editrow{display:grid;grid-template-columns:40px 1fr 69px;gap:8px;align-items:center}.editrow input{padding:6px}.cueItem{display:flex;text-align:left;justify-content:flex-start;width:100%;font-size:16px;line-height:1.4}.cueItem span{font:12px Consolas,monospace;margin:0 14px 0 3px;color:#756b64}.cueItem[aria-pressed=true]{color:#a33328;font-weight:600}.example{display:inline-block;font:600 22px/1.7 Arial,sans-serif;margin:0 6px}.example .joint{position:relative}.example .joint:after{left:-.08em;bottom:-.12em}
#notice{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#211e1e;color:white;padding:10px 16px;border-radius:4px;z-index:20;font-size:14px}
body.focus .mast,body.focus .intro,body.focus .markbar{display:none}body.focus .desk{max-width:none;padding:0}body.focus .deck{border-radius:0}body.focus .spread{height:calc(100vh - 95px);height:calc(100dvh - 95px)}body.focus .lyrics{top:34%}
@media(max-width:800px){.mastInner,.desk{padding-left:4vw;padding-right:4vw}.recordSleeve{width:70px;height:51px;margin-right:14px}.recordSleeve img{width:51px;height:51px}.disc{width:50px;height:50px;left:17px}.intro{flex-wrap:wrap}.modes{margin-left:10px}.modes button{padding:0 8px}.player{gap:13px;padding:14px 3%}.transport{gap:1px}.adjust{gap:3px;padding-left:8px}}
@media(max-width:600px){.mastInner{min-height:57px}.brand img{width:29px;margin-right:8px}.brand strong{font-size:16px}.brand small{display:none}nav button{margin-left:6px;font-size:13px}nav #import{min-height:35px;padding:0 8px}nav svg{width:15px;margin-right:3px}
.desk{padding:22px 3.5vw 12px}.intro{margin-bottom:13px}.recordSleeve{width:56px;height:42px;margin-right:10px}.recordSleeve img{width:42px;height:42px}.disc{width:41px;height:41px;left:13px}.trackTitle h1{font-size:clamp(25px,7.3vw,38px)}.source{font-size:12px;margin-bottom:4px}.modes{flex-basis:100%;margin:11px 0 0;border-bottom:0}.modes button{font-size:13px;min-height:36px;margin-right:9px;padding:0 2px}
.spread{height:clamp(260px,43vh,430px);background-position:59% 50%}.stageTop{top:6px}.stageLabel{font-size:12px}.stageFoot{bottom:8px}.lyrics{left:4.5%;right:4.5%;top:29%}.cue{font-size:calc(clamp(28px,8vw,42px)*var(--fontfactor))}#upcoming{font-size:16px}.player{grid-template-columns:106px minmax(0,1fr);gap:0 11px;padding:12px 12px 5px}.transport button{width:31px;height:44px}.transport #play{width:43px;height:43px}.adjust{grid-column:1/-1;border-left:0;border-top:1px solid #444040;padding:1px 0 0;margin-top:8px;justify-content:flex-end;gap:14px}.adjust select{min-height:32px}.markbar{gap:0;min-height:54px}.markTitle{display:none}.markbar button{padding:0 7px;font-size:12px}.markbar b{margin-right:4px}.sheet{padding:16px}.sheetTop h2{font-size:20px}body.focus .spread{height:calc(100vh - 108px);height:calc(100dvh - 108px)}}
@media(max-height:520px) and (orientation:landscape){.mastInner{min-height:42px}.desk{padding-top:8px}.intro{margin-bottom:6px}.trackTitle h1{font-size:25px}.recordSleeve,.source{display:none}.modes{flex-basis:auto;margin-left:auto}.modes button{min-height:34px}.spread,body.focus .spread{height:calc(100vh - 200px);min-height:140px}.stageTop{top:1px}.lyrics{top:24%}.cue{font-size:calc(27px*var(--fontfactor))}.stageFoot{bottom:6px}.player{padding:5px 3%}.markbar{min-height:40px}.transport #play{width:42px;height:42px}.stageLabel,#upcoming{font-size:13px}body.focus .spread{height:calc(100vh - 56px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}


.cue .pageEnd .joint{display:none}

.markbar .demoLink{width:15px;height:8px;border-bottom:2px solid currentColor;border-radius:0 0 50% 50%}
