:root{--bg:#101916;--panel:#17211d;--raised:#223023;--line:#354236;--text:#f1f3e9;--muted:#abb7ac;--green:#d8ee8a;--amber:#edc47c;--red:#ff9f92;--mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;--sans:'Avenir Next','Segoe UI',system-ui,sans-serif;color-scheme:dark;font-family:var(--sans);color:var(--text);background:var(--bg);font-size:16px}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{height:100dvh;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}button,select{font:inherit}button{cursor:pointer;color:var(--text);touch-action:manipulation}button:disabled{cursor:default;opacity:.4}a{color:var(--green)}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--green);outline-offset:3px}button:focus:not(:focus-visible){outline:none}.site-header{flex:0 0 72px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);gap:20px}.brand{font-size:25px;font-weight:650;letter-spacing:-1px;white-space:nowrap}.brand i{font-family:Georgia,serif;font-weight:400;color:var(--green)}.brand-mark{color:var(--green);font-family:var(--mono);margin-right:14px;letter-spacing:0}.controller-status{font:11px var(--mono);letter-spacing:1px;color:var(--muted)}.quiet,.primary{border:1px solid var(--line);border-radius:6px;background:transparent;padding:11px 16px;font-size:14px;min-height:44px}.quiet:hover:not(:disabled){color:var(--green);border-color:var(--green)}.primary{background:var(--green);color:#1c291a;border-color:var(--green);font-weight:650}.primary:hover:not(:disabled){background:#e7ff9f}.text-button{border:0;background:transparent;color:var(--muted);font-size:13px;padding:8px 3px;min-height:36px}.text-button:hover:not(:disabled){color:var(--green)}.eyebrow,.section-label{font:500 12px/1.5 var(--mono);letter-spacing:1.3px}.eyebrow{color:var(--green)}.section-label{color:var(--muted);display:flex;justify-content:space-between;gap:12px;align-items:center}.section-label span{letter-spacing:0}h1,h2,h3,p{margin-top:0}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.65}.key-hint{font:11px var(--mono);margin-left:7px;opacity:.65}
/* Start menu */
.start-screen{flex:1;min-height:0;overflow-y:auto;padding:38px max(24px,calc((100vw - 1150px)/2)) 20px}.menu-intro{text-align:center;margin:0 auto 30px}.menu-intro h1{font-size:clamp(36px,5vw,62px);font-weight:500;line-height:1.08;letter-spacing:-2.5px;margin:18px 0}.menu-intro p{color:var(--muted);font-size:16px;margin-bottom:0}.difficulty-picker>.section-label{margin-bottom:15px}.difficulty-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.difficulty-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:20px 14px;text-align:left;position:relative;min-height:170px;display:flex;flex-direction:column;gap:10px}.difficulty-card.selected{border-color:var(--green);background:#263121;box-shadow:inset 0 0 0 1px var(--green)}.difficulty-card .emoji{font-size:36px;line-height:1.2}.difficulty-card strong{font-size:17px;font-weight:600}.difficulty-card small{font:12px/1.6 var(--mono);color:var(--muted)}.difficulty-card .difficulty-number{position:absolute;right:14px;top:16px;font:12px var(--mono);color:var(--muted)}.difficulty-card .card-progress{font:12px var(--mono);color:var(--green);margin-top:auto}.difficulty-card:disabled{opacity:.5}.menu-bottom{display:grid;grid-template-columns:1fr auto;gap:30px;padding:24px 0;border-bottom:1px solid var(--line)}.preset-details h2{font-size:19px;font-weight:500;letter-spacing:-.4px;margin-bottom:10px}.preset-details p{font-size:14px;color:var(--muted);margin:0;max-width:650px}.preset-stats{display:flex;gap:22px;flex-wrap:wrap;margin:13px 0}.preset-stats span{font-size:13px;color:var(--muted)}.preset-stats b{color:var(--text);font-size:17px;margin-right:5px}.menu-actions{min-width:245px;display:flex;flex-direction:column;gap:10px;justify-content:center}.menu-actions .primary{min-height:52px;font-size:16px}.menu-note,.control-note{color:var(--muted);font-size:12px;text-align:center;margin:15px 0 0}.control-note{font-family:var(--mono);font-size:11px;margin-top:10px}
/* Game */
.shell{flex:1;min-height:0;display:grid;grid-template-columns:235px minmax(0,1fr) 220px;width:100%;max-width:1600px;margin:0 auto}.curriculum{padding:24px 18px;border-right:1px solid var(--line);overflow-y:auto}.sidebar-title{font-size:26px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:23px 0}.lesson-list{display:flex;flex-direction:column;gap:6px}.lesson{width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;text-align:left;padding:11px 8px;border-radius:6px;min-height:60px}.lesson:hover:not(:disabled){background:var(--panel)}.lesson.selected{background:#263121;border-color:#647850}.lesson-no{font:12px var(--mono);color:var(--muted)}.lesson strong{display:block;font-size:13px;line-height:1.4;font-weight:550}.lesson small{display:block;font-size:11px;line-height:1.4;color:var(--muted);margin-top:4px}.lesson-state{margin-left:auto;color:var(--green);font-size:13px}.course-note{margin:22px 5px 0;color:var(--muted);font-size:12px;line-height:1.6}.practice{display:flex;flex-direction:column;min-height:0;min-width:0;padding:22px 30px 14px;overflow-y:auto}.practice-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.practice-top>div{display:flex;align-items:center;gap:10px}.practice-top .eyebrow{font-size:11px}.practice-top .quiet{padding:7px 12px;min-height:36px}.mobile-lessons{display:none}.verse-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.verse-heading .section-label{justify-content:flex-start;margin-bottom:8px;font-size:12px}.verse-heading .section-label span{font-size:10px;border:1px solid var(--line);border-radius:3px;padding:0 5px}.verse-heading h2{font-size:clamp(22px,2.2vw,30px);font-weight:500;line-height:1.15;letter-spacing:-1px;margin-bottom:10px}.difficulty-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:8px}.difficulty-row #active-preset{color:var(--green)}.difficulty-row .text-button{font-size:12px;margin-left:auto;min-height:28px;padding:4px}.stages{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;border-bottom:1px solid var(--line);flex-shrink:0}.stages button{background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:12px 0;font-size:13px;min-height:44px;text-align:left;white-space:nowrap}.stages button.active{color:var(--green);border-color:var(--green)}.stages button.completed:after{content:' ✓'}.stages button:disabled:after{content:' ·';color:var(--muted)}.verse-area{display:flex;flex-direction:column;min-height:132px;flex:1;padding:13px 0 10px;max-height:330px}.verse-meta,.verse-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);flex-shrink:0}.verse-meta{min-height:32px;line-height:1.45}.verse-meta #position{font:11px var(--mono);white-space:nowrap}.verse-tiles{position:relative;flex:1;min-height:70px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:15px;overflow-y:auto;padding:19px 3px 13px;scrollbar-width:thin;scrollbar-color:#647850 transparent}.word{display:flex;flex-wrap:wrap;gap:4px;max-width:100%}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;width:41px;min-height:67px;border:1px solid var(--line);border-radius:5px;background:var(--panel);position:relative}.tile b{font:500 24px var(--mono)}.tile small{font:13px var(--mono);color:var(--muted);white-space:nowrap;margin-top:7px;letter-spacing:-1px}.tile.current{border-color:var(--green);box-shadow:0 0 0 1px var(--green);color:var(--green);background:#283125}.tile.current:after{content:'';position:absolute;bottom:-7px;width:4px;height:4px;border-radius:50%;background:var(--green)}.tile.current small{color:var(--green)}.tile.done{opacity:.4}.tile.fading{border-top:2px solid var(--amber)}.tile.fading:before{content:'•';color:var(--amber);position:absolute;top:-15px;font-size:13px}.tile.masked b{color:var(--muted)}.verse-bottom{font-size:11px;min-height:33px}.verse-bottom .text-button{font-size:12px}.transmitter{flex-shrink:0;background:var(--panel);border:1px solid var(--line);padding:15px 19px 10px;border-radius:9px}.transmitter-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.transmitter-head .section-label{font-size:10px;gap:10px}.transmitter-head .section-label span{color:var(--green);font-size:9px}.transmitter-head .text-button{font-size:12px;min-height:28px;padding:3px}.signal-readout{display:flex;align-items:center;gap:15px;min-height:52px}.signal-readout #sent-code{font:25px var(--mono);letter-spacing:3px;color:var(--green);min-width:96px}.signal-readout #feedback{font-size:13px;line-height:1.4;color:var(--muted)}.timing-scale{height:34px;position:relative;isolation:isolate;border-bottom:1px solid #647850;font:10px var(--mono);color:var(--muted);background:repeating-linear-gradient(90deg,transparent,transparent calc(12.5% - 1px),#364337 calc(12.5% - 1px),#364337 12.5%)}.timing-scale span{position:absolute;bottom:8px;white-space:nowrap}.scale-dot{left:12.5%}.scale-dash{left:37.5%}.scale-word{right:2%}.timing-fill{position:absolute;inset:0 auto 0 0;width:0;background:#b8d67120;z-index:-1}.timing-needle{position:absolute;top:0;bottom:0;left:0;width:2px;background:var(--green)}.waveform{height:29px;display:flex;align-items:center;gap:3px;overflow:hidden;position:relative;padding:0 1px}.wave-baseline{position:absolute;left:0;right:0;top:14px;height:1px;background:var(--line)}.wave-mark{height:10px;background:var(--green);flex-shrink:0;z-index:1;border-radius:2px}.wave-gap{height:2px;background:#63745b;flex-shrink:0}.telegraph-key{width:100%;border:1px solid var(--green);background:var(--green);color:#1f2b1b;border-radius:6px;min-height:80px;display:flex;align-items:center;justify-content:center;gap:25px;user-select:none;-webkit-user-select:none;touch-action:none;box-shadow:0 4px 0 #758541;transition:background .08s,transform .08s}.telegraph-key strong{display:block;font-size:20px;font-weight:650;letter-spacing:-.4px}.telegraph-key small{display:block;font:10px var(--mono);letter-spacing:1px;margin-top:7px}.key-icon{font:25px var(--mono)}.key-lamp{width:9px;height:9px;border-radius:100%;background:#789244;margin-left:12px}.telegraph-key.pressed{transform:translateY(3px);box-shadow:0 1px 0 #758541;background:#edffc2}.pressed .key-lamp{background:#fbfff5;box-shadow:0 0 12px white}.key-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;font-size:11px;color:var(--muted)}.key-footer .text-button{font-size:12px;min-height:32px}.live-scores{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:10px;font-size:12px;color:var(--muted);flex-shrink:0}.live-scores b{font:13px var(--mono);color:var(--text);margin-left:5px}.live-scores .text-button{font-size:12px}.insight{padding:24px 22px;border-left:1px solid var(--line);overflow-y:auto}.insight h3{font-size:24px;line-height:1.3;font-weight:450;letter-spacing:-.6px;margin:24px 0}.alphabet{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.alphabet button{font:14px var(--mono);aspect-ratio:1;border:1px solid var(--line);border-radius:4px;background:transparent;color:#a0aea3}.alphabet button.encountered{background:#2e3b27;color:var(--green);border-color:#657d45}.alphabet button.mastered{background:var(--green);color:var(--bg);border-color:var(--green)}.insight-divider{height:1px;background:var(--line);margin:26px 0}.rhythm-guide{margin:18px 0}.rhythm-guide>div{display:flex;justify-content:space-between;font-size:12px;margin-bottom:16px;gap:10px}.rhythm-guide b{font:11px var(--mono);color:var(--green);white-space:nowrap}.insight .quiet{width:100%;margin-top:20px;font-size:12px}.error{color:var(--red)!important}.good{color:var(--green)!important}
/* Dialogs own the viewport. Completion never lives below the play area. */
dialog{background:var(--panel);border:1px solid #526348;border-radius:12px;color:var(--text);width:min(610px,calc(100% - 28px));padding:26px;max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#050b08d9;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-top .quiet{padding:7px 12px}dialog h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:22px 0 14px;font-weight:500}dialog p,dialog li{font-size:15px;color:var(--muted);line-height:1.65}dialog li{margin-bottom:10px}dialog b{color:var(--text)}dialog blockquote{font-family:Georgia,serif;font-size:25px;line-height:1.4;margin:20px 0}dialog .morse-big{font:38px var(--mono);color:var(--green);letter-spacing:7px}.pause-content{display:flex;flex-direction:column;gap:10px}.pause-content h2{margin:12px 0 0}.pause-content p{margin:0 0 12px}.pause-content button{width:100%;min-height:48px}.result-dialog{width:min(530px,calc(100% - 28px));text-align:center;padding:28px}.result-symbol{font-size:38px;line-height:1;margin-bottom:15px;color:var(--green)}.result-dialog h2{margin-top:10px}.result-dialog p{font-size:14px;margin-bottom:16px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:19px 0}.result-stat{border:1px solid var(--line);padding:14px 7px;border-radius:6px}.result-stat b{display:block;font:24px var(--mono);margin-bottom:7px}.result-stat span{font-size:12px;color:var(--muted);display:block}.result-stat small{font-size:11px;color:var(--muted);display:block;margin-top:7px}.result-actions{display:flex;flex-direction:column;gap:9px}.result-actions button{width:100%;min-height:46px}.challenge-grid{display:flex;flex-direction:column;gap:14px;margin-top:23px}.challenge-row>strong{display:block;font-size:14px;margin-bottom:9px}.challenge-row>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.challenge-row button{font-size:12px;padding:10px 5px;background:var(--raised);border:1px solid var(--line);border-radius:5px;min-height:42px}.challenge-row button.completed{color:var(--green);border-color:#647850}.dialog-alphabet{grid-template-columns:repeat(7,1fr);margin:20px 0}.dialog-alphabet button{min-height:42px}.inline-note{color:var(--amber)!important}
@media(max-width:1200px){.shell{grid-template-columns:200px minmax(0,1fr)}.insight{display:none}.practice{padding:20px 28px 12px}.start-screen{padding:28px 26px 18px}.curriculum{padding:24px 13px}.sidebar-title{font-size:24px}.verse-area{max-height:none}.menu-intro h1{font-size:46px}.difficulty-card strong{font-size:15px}.difficulty-card{padding:18px 12px;min-height:160px}.menu-intro{margin-bottom:22px}}
@media(max-width:760px){.site-header{flex-basis:59px;padding:0 16px;gap:12px}.brand{font-size:22px}.brand-mark{font-size:21px;margin-right:9px}.site-header>.quiet{font-size:12px;padding:8px 10px;min-height:36px}.controller-status{display:none}.start-screen{padding:22px 18px 16px}.menu-intro h1{font-size:38px;margin:13px 0;letter-spacing:-1.6px}.menu-intro p{font-size:14px}.menu-intro .eyebrow{font-size:10px}.difficulty-picker>.section-label{font-size:11px}.difficulty-cards{gap:7px}.difficulty-card{padding:13px 5px;align-items:center;text-align:center;min-height:119px;gap:7px}.difficulty-card .emoji{font-size:27px}.difficulty-card strong{font-size:10px}.difficulty-card small{font-size:10px}.difficulty-card .difficulty-number{display:none}.difficulty-card .card-progress{font-size:9px}.menu-bottom{display:flex;flex-direction:column;gap:16px;padding:20px 0}.preset-details h2{font-size:18px}.preset-details p{font-size:13px}.preset-stats{gap:18px;margin:12px 0}.menu-actions{min-width:0}.menu-actions .primary{min-height:48px}.menu-actions .quiet{font-size:13px;min-height:42px}.menu-note{font-size:11px}.control-note{font-size:10px;line-height:1.6}.shell{grid-template-columns:minmax(0,1fr)}.curriculum{display:none}.practice{padding:10px 16px 7px}.practice-top{margin-bottom:8px}.practice-top .eyebrow{font-size:10px;letter-spacing:.6px}.practice-top .quiet{padding:6px 9px;font-size:12px;min-height:34px}.practice-top .key-hint{display:none}.mobile-lessons{display:inline-block;font-size:12px}.verse-heading h2{font-size:22px;letter-spacing:-.7px;margin-bottom:5px}.verse-heading .section-label{font-size:10px;margin-bottom:5px}.verse-heading .text-button{font-size:12px}.difficulty-row{gap:10px;font-size:10px;margin-bottom:3px}.difficulty-row .text-button{font-size:11px}.stages{gap:5px}.stages button{font-size:11px;padding:9px 0;min-height:37px}.verse-area{padding:7px 0 5px;min-height:128px}.verse-meta{font-size:11px;min-height:28px;gap:9px}.verse-meta #position{font-size:10px}.verse-tiles{gap:12px;padding-top:15px;padding-bottom:12px}.word{gap:3px}.tile{width:33px;min-height:59px}.tile b{font-size:21px}.tile small{font-size:12px}.verse-bottom{font-size:10px;min-height:30px;line-height:1.5}.verse-bottom .text-button{font-size:12px;min-height:32px;white-space:nowrap}.transmitter{padding:10px 13px 6px}.transmitter-head .section-label{font-size:9px;letter-spacing:.7px}.transmitter-head .text-button{font-size:11px}.signal-readout{min-height:49px;gap:10px}.signal-readout #sent-code{font-size:23px;min-width:86px}.signal-readout #feedback{font-size:12px}.timing-scale{height:28px;font-size:9px}.waveform{height:23px}.wave-baseline{top:11px}.telegraph-key{min-height:76px;gap:19px}.telegraph-key strong{font-size:19px}.telegraph-key small{font-size:9px;letter-spacing:.4px}.key-lamp{margin-left:0}.key-footer{margin-top:7px;font-size:10px}.key-footer .text-button{font-size:11px;min-height:28px}.live-scores{gap:8px;font-size:11px;padding-top:5px;flex-wrap:nowrap}.live-scores b{font-size:11px;margin-left:3px}.live-scores .text-button{font-size:11px;min-height:28px}.key-hint{font-size:9px}.result-dialog{padding:22px 18px}.result-dialog h2{font-size:27px}.result-symbol{font-size:32px}.result-stat b{font-size:22px}.result-stat{padding:12px 5px}dialog{padding:22px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}
@media(max-height:700px){.site-header{flex-basis:54px}.practice{padding-top:8px}.practice-top{margin-bottom:4px}.verse-heading h2{font-size:21px;margin-bottom:5px}.verse-heading .section-label{margin-bottom:4px}.verse-area{min-height:112px;padding-top:5px}.verse-meta{min-height:24px}.verse-tiles{padding-top:12px;padding-bottom:10px}.tile{min-height:53px}.tile b{font-size:20px}.tile small{margin-top:4px}.transmitter{padding-top:8px}.signal-readout{min-height:42px}.telegraph-key{min-height:66px}.waveform{height:20px}.live-scores{padding-top:3px}.result-dialog{padding:18px}.result-dialog h2{font-size:24px;margin:8px 0}.result-symbol{font-size:25px;margin-bottom:8px}.result-stats{margin:12px 0}.result-dialog p{font-size:13px;margin-bottom:12px}.result-actions{gap:7px}.result-actions button{min-height:40px;padding:8px}.menu-intro{margin-bottom:18px}.menu-intro h1{font-size:35px}.start-screen{padding-top:22px}}
@media(max-height:520px) and (min-width:650px){.shell{grid-template-columns:170px minmax(0,1fr)}.curriculum{padding-top:15px}.sidebar-title{display:none}.insight{display:none}.practice{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:5px 20px;overflow:hidden;padding:10px 20px}.practice-top{grid-column:1/-1;margin:0}.verse-heading{grid-column:1;grid-row:2}.difficulty-row{grid-column:1;grid-row:3;margin:0}.stages{grid-column:1;grid-row:4;align-self:start}.verse-area{grid-column:1;grid-row:4/6;margin-top:40px}.transmitter{grid-column:2;grid-row:2/5;align-self:center}.live-scores{grid-column:2;grid-row:5}.verse-heading h2{font-size:20px}.verse-meta{display:none}.verse-bottom #fade-note{display:none}.mobile-lessons{display:inline-block}.result-dialog{width:min(550px,calc(100% - 30px))}.result-actions{flex-direction:row;flex-wrap:wrap}.result-actions button{flex:1;min-width:130px}.result-stats{margin:10px 0}.result-symbol{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Discrete marks preserve the count even when three dashes sit together. */
.morse-marks{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:12px;vertical-align:middle}.morse-mark{display:block;flex-shrink:0;background:currentColor}.morse-mark.dot{width:6px;height:6px;border-radius:50%}.morse-mark.dash{width:18px;height:5px;border-radius:2px}.tile .morse-marks{gap:2px;min-height:8px}.tile .morse-mark.dot{width:2.5px;height:3px}.tile .morse-mark.dash{width:7.5px;height:3px;border-radius:1px}.tile small{color:#c4d1bd;letter-spacing:0}.morse-big .morse-marks{gap:12px}.morse-big .dot{width:12px;height:12px}.morse-big .dash{width:36px;height:10px}
.mobile-mascot{display:none}.campaign-reward{display:flex;gap:24px;justify-content:center;margin:-9px 0 25px;color:var(--green);font-size:13px}.coffee-button{display:block;margin:17px auto 0;border:1px solid #6f5b37;border-radius:100px;padding:9px 17px;background:#302b1d;color:#f6dfaa;font-size:13px;min-height:42px}.coffee-button span{font-size:10px;color:#c4b58f;margin-left:8px}.coffee-preview{text-align:center}.coffee-emoji{font-size:50px;margin:18px 0}.coffee-preview h2{font-size:32px}.coffee-options{display:flex;justify-content:center;gap:9px;margin:24px 0 15px}.coffee-options button[aria-pressed=true]{border-color:var(--green);color:var(--green)}.coffee-preview>.primary{width:100%}.coffee-preview #coffee-preview-note{margin-top:18px;font-size:12px}.challenge-progress{height:5px;border-radius:10px;background:#2a382b;margin-top:12px;flex-shrink:0;overflow:hidden}#challenge-fill{height:100%;background:var(--green);width:0;transition:width .22s ease}.streak-row{display:flex;justify-content:space-between;gap:10px;font-size:11px;line-height:1.5;padding-top:6px;color:var(--muted);flex-shrink:0}.streak-row #streak{color:var(--green)}.coach-strip{display:flex;align-items:center;gap:11px;flex-shrink:0;border:1px solid #4c5849;border-radius:7px;background:#1c2921;padding:9px 12px;text-align:left;min-height:49px;margin-top:4px}.coach-icon{color:var(--amber);font-size:20px}.coach-strip.on-beat .coach-icon{color:var(--green)}.coach-strip #coach-tip{font-size:12px;line-height:1.4;color:var(--muted);flex:1}.coach-open{font-size:11px;color:var(--green)}.coach-breakdown{display:flex;flex-direction:column;gap:12px}.coach-breakdown article{background:var(--raised);border-radius:7px;padding:16px}.coach-breakdown strong{font-size:15px;display:flex;justify-content:space-between;gap:12px}.coach-breakdown strong span{color:var(--amber);font-size:13px}.coach-breakdown p{margin:9px 0 5px;font-size:14px}.coach-breakdown small{font-size:12px;color:var(--muted)}.result-coach{text-align:left;border-radius:7px;background:var(--raised);padding:12px 14px;margin-bottom:15px}.result-coach strong{font-size:14px;color:var(--amber)}.result-coach p{font-size:13px!important;margin:6px 0 0!important}.result-symbol{letter-spacing:8px}.quick-retry{color:var(--green);border-color:#617843}
@font-face{font-family:'Nunito';src:url('fonts/nunito-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Nunito';src:url('fonts/nunito-latin-700-normal.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}
@media(max-width:760px),(pointer:coarse){body{--sans:'Nunito',ui-rounded,system-ui,sans-serif;font-family:var(--sans);--green:#cfed88;--panel:#1b2923;--line:#384b3e}.site-header{background:#14221b}.brand{font-size:23px;font-weight:700}.brand-mark{font-size:20px}.site-header>.quiet{border-radius:100px}.mobile-mascot{display:block;font-size:49px;line-height:1;filter:drop-shadow(0 8px 16px #0005);margin:2px 0 16px}.menu-intro h1{font-family:var(--sans);font-size:36px;font-weight:700;line-height:1.08;letter-spacing:-1px;margin:10px 0}.menu-intro .eyebrow{font-family:var(--sans);font-size:11px;letter-spacing:1.2px;font-weight:700}.menu-intro p{font-size:15px;line-height:1.5}.campaign-reward{gap:15px;margin:-5px 0 21px;font-size:12px}.difficulty-card{border-radius:15px;box-shadow:0 3px 0 #050a0759;gap:7px;min-height:112px;padding:12px 4px}.difficulty-card.selected{background:#35462b;box-shadow:0 3px 0 #94ae62}.difficulty-card .emoji{font-size:29px}.difficulty-card strong{font-size:10px;font-weight:700}.difficulty-card small,.difficulty-card .card-progress{font-family:var(--sans);font-size:11px;font-weight:700}.difficulty-card .card-progress{font-size:10px}.preset-details h2{font-size:18px;letter-spacing:0}.preset-details p{font-size:14px;line-height:1.5}.preset-stats{gap:16px}.preset-stats b{font-size:20px}.menu-actions .primary{border-radius:15px;box-shadow:0 4px 0 #73864c;font-size:18px;min-height:51px}.menu-actions .quiet{border-radius:12px;font-size:14px}.control-note{font-family:var(--sans);font-size:11px}.practice-top>.eyebrow{font:700 11px var(--sans);letter-spacing:.6px}.practice-top>div{gap:7px}.practice-top .quiet{border-radius:100px;min-height:34px}.practice-top .quick-retry{font-size:16px;padding:3px 10px}.quick-retry span{font-size:12px}.verse-heading h2{font-weight:700;font-size:23px;letter-spacing:-.5px}.section-label,.eyebrow{font-family:var(--sans);font-weight:700}.difficulty-row{font-size:11px}.stages{gap:5px;border-bottom:0;margin-top:3px}.stages button{border:1px solid var(--line);border-radius:100px;min-height:34px;font-size:11px;text-align:center;padding:7px 2px}.stages button.active{background:#cfee8917;color:var(--green);border-color:var(--green)}.stages button.completed:after{content:''}.stages button:disabled:after{content:''}.challenge-progress{margin-top:10px;height:6px}.streak-row{font-size:11px}.verse-meta{font-size:12px}.tile{border-radius:8px;background:#203127;min-height:59px;box-shadow:0 2px 0 #080f0a60}.tile b{font:700 23px var(--sans)}.tile small{margin-top:6px}.verse-bottom{font-size:11px}.transmitter{border-radius:16px;background:#1b2b22;padding:10px 13px 6px}.transmitter-head .section-label{font-size:10px}.signal-readout #feedback{font-size:13px}.telegraph-key{border-radius:17px;min-height:78px;box-shadow:0 5px 0 #718844}.telegraph-key strong{font-size:22px;letter-spacing:-.2px;font-weight:700}.telegraph-key small{font:700 10px var(--sans);letter-spacing:.4px}.key-footer{font-size:11px}.key-footer .text-button{font-size:12px}.live-scores{font-size:12px}.live-scores b{font:700 13px var(--sans)}.coach-strip{border-radius:12px;padding:8px 11px;min-height:47px}.coach-strip #coach-tip{font-size:12px}.coach-open{font-size:11px}.result-dialog{border-radius:24px}.result-dialog h2{font-family:var(--sans);font-weight:700;letter-spacing:-.5px}.result-dialog .eyebrow{font-size:12px}.result-stat{border-radius:13px}.result-stat b{font-family:var(--sans);font-weight:700;font-size:28px}.result-actions .primary{border-radius:13px;font-size:17px;box-shadow:0 3px 0 #73864c}.result-actions .quiet{border-radius:12px}.result-coach{border-radius:12px}}
@media(max-width:370px){.brand{font-size:21px}.site-header{padding:0 12px}.practice{padding-left:12px;padding-right:12px}.quick-retry span{display:none}.practice-top .text-button{font-size:11px}.difficulty-card strong{font-size:9px}.difficulty-card .emoji{font-size:26px}.menu-intro h1{font-size:33px}.coffee-options{gap:5px}.coffee-options .quiet{font-size:12px;padding:10px}}
@media(max-height:730px) and (max-width:760px){.practice{padding-top:7px}.verse-heading h2{font-size:21px}.challenge-progress{margin-top:7px}.verse-area{min-height:107px}.verse-meta{min-height:22px;font-size:11px}.verse-tiles{min-height:57px;padding-top:11px;padding-bottom:8px}.tile{min-height:51px}.tile b{font-size:20px}.tile small{margin-top:4px}.verse-bottom{min-height:28px;font-size:10px}.verse-bottom .text-button{min-height:28px}.signal-readout{min-height:44px}.signal-readout #feedback{font-size:12px}.telegraph-key{min-height:68px}.telegraph-key strong{font-size:20px}.coach-strip{min-height:40px;padding:6px 9px}.coach-strip #coach-tip{font-size:11px}.live-scores .text-button{min-height:26px}.result-symbol{font-size:25px}.result-dialog h2{font-size:24px}.result-stats{margin:10px 0}.result-stat b{font-size:22px}.result-stat{padding:9px 5px}.result-dialog p{margin-bottom:10px}.result-coach{padding:9px 11px;margin-bottom:10px}.result-coach strong{font-size:12px}.result-coach p{font-size:12px!important}}
@media(max-height:520px) and (min-width:650px){.practice{grid-template-rows:auto auto auto minmax(0,1fr) auto}.challenge-progress,.streak-row{display:none}.coach-strip{grid-column:2;grid-row:5;margin:0;min-height:38px}.live-scores{grid-column:1;grid-row:5}.verse-area{grid-row:4;margin-bottom:3px}.verse-meta{display:none}.transmitter{grid-row:2/5}.result-coach{display:none}.result-dialog{max-height:calc(100dvh - 12px);padding:12px 18px}.result-stat{padding:8px}.result-stats{margin:8px 0}.result-stat b{font-size:21px}.result-dialog p{margin-bottom:8px}.result-actions button{min-height:37px;font-size:13px}.result-dialog .result-symbol{display:none}.result-dialog h2{font-size:22px;margin:5px 0}}
.tile .morse-marks{gap:3px}.tile .morse-mark.dot{width:2.2px}.tile .morse-mark.dash{width:6.6px}
.result-dialog[open]{display:flex;flex-direction:column;overflow:hidden}#result-content{display:flex;flex-direction:column;min-height:0;width:100%}.result-details{overflow:auto;min-height:0;flex:1}.result-actions{flex-shrink:0;padding-top:3px}.result-stats,.result-symbol,.result-dialog h2,.result-dialog .eyebrow{flex-shrink:0}
/* Compact phones keep the key and coach reachable without page scrolling. */
@media(max-height:640px) and (max-width:760px){
 .site-header{flex-basis:42px}.site-header .quiet{min-height:30px;padding:5px 10px;font-size:11px}.brand{font-size:20px}
 .practice{padding:5px 12px}.practice-top{margin-bottom:3px}.practice-top .quiet{min-height:29px;padding:4px 9px}.practice-top .text-button{min-height:29px}
 .verse-heading h2{display:none}.verse-heading .section-label{margin:0}.verse-heading>.text-button{min-height:23px;padding:2px}.difficulty-row{font-size:10px;margin:0}.difficulty-row .text-button{min-height:22px;padding:2px}
 .stages{margin-top:1px}.stages button{min-height:29px;padding:5px 2px;font-size:10px}.challenge-progress{margin-top:5px;height:4px}.streak-row{padding-top:3px;font-size:10px}
 .verse-area{min-height:100px;padding:2px 0;max-height:160px}.verse-meta{min-height:19px;font-size:10px}.verse-tiles{min-height:52px;padding:6px 2px;gap:8px}.tile{min-height:46px}.tile b{font-size:19px}.verse-bottom{min-height:23px}.verse-bottom .text-button{min-height:23px;padding:2px}
 .transmitter{padding:6px 11px 3px}.transmitter-head{display:none}.signal-readout{min-height:35px}.signal-readout #feedback{font-size:11px}.timing-scale{height:22px}.waveform{display:none}.telegraph-key{min-height:57px;margin-top:7px}.telegraph-key strong{font-size:18px}.telegraph-key small{font-size:8px;margin-top:4px}.key-footer{margin-top:4px;font-size:10px}.key-footer .text-button{min-height:23px;font-size:10px;padding:2px}
 .live-scores{min-height:25px;padding-top:3px;font-size:10px}.live-scores b{font-size:11px}.live-scores .text-button{font-size:10px;min-height:23px}
 .coach-strip{min-height:35px;padding:5px 8px;margin-top:3px}.coach-strip #coach-tip{font-size:10px;line-height:1.2}.coach-icon{font-size:16px}
}
@media(max-height:520px) and (min-width:500px){
 .site-header{flex-basis:42px;padding:0 20px}.site-header .quiet{min-height:30px;padding:5px 12px}.controller-status{display:none}
 .shell{grid-template-columns:minmax(0,1fr)}.curriculum,.insight{display:none}
 .practice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:30px 25px 22px 30px minmax(0,1fr) 38px;gap:4px 18px;padding:7px 20px;overflow:hidden}
 .practice-top{grid-column:1/-1;grid-row:1;margin:0}.practice-top .quiet{min-height:29px;padding:4px 10px}.mobile-lessons{display:inline-block}
 .verse-heading{grid-column:1;grid-row:2}.verse-heading h2{display:none}.verse-heading .section-label{margin:0}.verse-heading .text-button{min-height:23px;padding:2px}
 .difficulty-row{grid-column:1;grid-row:3;margin:0;font-size:10px;flex-wrap:nowrap;gap:8px}.difficulty-row .text-button{min-height:22px;font-size:10px;padding:2px;white-space:nowrap}
 .stages{grid-column:1;grid-row:4;align-self:stretch;margin:0}.stages button{min-height:29px;padding:4px 0;font-size:11px}
 .verse-area{grid-column:1;grid-row:5;margin:0;padding:3px 0;min-height:0;max-height:none}.verse-meta{display:none}.verse-tiles{min-height:0;padding:8px 2px}.verse-bottom{min-height:24px}.verse-bottom #fade-note{display:none}.verse-bottom .text-button{min-height:24px;padding:2px}
 .challenge-progress,.streak-row{display:none}.transmitter{grid-column:2;grid-row:2/6;align-self:stretch;padding:6px 12px;display:flex;flex-direction:column;justify-content:center}.transmitter-head{display:flex}.signal-readout{min-height:36px}.waveform{display:none}.timing-scale{height:25px;flex-shrink:0}.telegraph-key{min-height:58px;margin-top:8px}.telegraph-key strong{font-size:19px}.key-footer{margin-top:4px}.key-footer .text-button{min-height:26px;padding:2px}
 .live-scores{grid-column:1;grid-row:6;margin:0;padding:0;flex-wrap:nowrap;font-size:10px;gap:6px}.live-scores b{font-size:11px}.live-scores .text-button{font-size:10px;min-height:27px}
 .coach-strip{grid-column:2;grid-row:6;margin:0;min-height:0;padding:4px 9px}.coach-strip #coach-tip{font-size:10px;line-height:1.2}.result-coach{display:block}
}
/* Guided first-run lesson and full-challenge listening. */
.listen-controls{display:flex;gap:12px}.listen-controls .text-button{color:var(--green);white-space:nowrap}.tile.listening{border-color:var(--amber);background:#493d20;box-shadow:0 0 0 2px var(--amber)}
.intro-dialog{width:min(600px,calc(100% - 24px));padding:24px;border-radius:24px}
.intro-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden}
.intro-top,.intro-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.intro-top{padding-bottom:10px;border-bottom:1px solid var(--line)}.intro-top .eyebrow{font-size:11px;letter-spacing:1px}.intro-top .text-button{white-space:nowrap;color:var(--muted);font-size:12px}
.intro-body{overflow-y:auto;min-height:0;padding:8px 3px 14px;text-align:center}.intro-body h2{font-size:34px;line-height:1.15;margin:14px 0}.intro-body p{line-height:1.55;font-size:15px;margin-bottom:16px}.intro-body p.small{font-size:13px;margin:16px 0 0}.intro-emblem{font-size:45px;color:var(--green);margin-top:12px}.intro-promise{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;padding:8px 0;font-size:13px;color:var(--green)}.intro-promise span{background:var(--raised);padding:10px 12px;border-radius:30px}
.intro-footer{border-top:1px solid var(--line);padding-top:14px}.intro-footer .primary{margin-left:auto;min-width:150px;border-radius:12px}.intro-footer .quiet{border-radius:12px}
.intro-example{display:flex;align-items:center;justify-content:center;gap:16px;margin:14px 0 18px;color:var(--green)}.intro-example>b{font-size:34px}.intro-example>span:last-child{font-size:12px;color:var(--muted)}
.intro-demo{border:1px solid var(--line);background:var(--bg);padding:20px 16px 14px;border-radius:16px;min-height:156px;margin-bottom:12px}.intro-demo.signal-on{background:#2a3b26;border-color:var(--green)}.intro-signal{height:40px;color:var(--green);display:flex;align-items:center;justify-content:center}.intro-signal .dot{width:12px;height:12px}.intro-signal .dash{width:36px;height:10px}.intro-silence{font-size:15px;color:var(--muted)}#intro-caption{font-size:12px;letter-spacing:.7px}.intro-meter{height:8px;overflow:hidden;background:#354336;border-radius:10px;margin:14px 0 8px}.intro-meter>span{display:block;width:0;height:100%;background:var(--green)}#intro-beats{display:block;font-size:12px;color:var(--muted);min-height:18px}.intro-audio-note{display:block;font-size:11px;color:var(--muted);margin-top:8px}.intro-gaps{display:flex;gap:7px;align-items:center;justify-content:center;margin:16px 0}.intro-gaps>span{padding:10px 6px;flex:1;background:var(--raised);border-radius:10px;font-size:11px;color:var(--muted)}.intro-gaps b,.intro-gaps small{display:block;color:var(--green);margin-top:4px}.intro-gaps b{font-size:20px}.intro-key{margin:15px 0;min-height:88px}.intro-body #intro-feedback{font-size:13px;min-height:42px;margin-bottom:0}.intro-stages{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.intro-stages>div{background:var(--raised);border-radius:12px;padding:15px;text-align:left}.intro-stages b{font-size:15px;color:var(--green)}.intro-stages span{display:block;font-size:12px;color:var(--muted);margin-top:6px}
@media(max-width:600px){.intro-dialog{padding:17px}.intro-body h2{font-size:28px}.intro-body p{font-size:14px}.intro-top .eyebrow{font-size:10px}.intro-top .text-button{font-size:11px}.intro-example{gap:11px}.intro-gaps{gap:4px}.intro-gaps>span{padding:8px 4px;font-size:10px}.intro-footer .primary{min-width:130px}}
@media(max-height:640px){.intro-dialog{padding:14px 18px}.intro-body h2{font-size:25px;margin:10px 0}.intro-body p{font-size:13px;margin-bottom:10px}.intro-emblem{font-size:30px;margin:7px 0}.intro-demo{min-height:120px;padding:10px;margin-bottom:8px}.intro-signal{height:30px}.intro-gaps,.intro-example{margin:8px 0}.intro-footer{padding-top:10px}.intro-key{min-height:66px;margin:10px 0}.intro-stages{margin:12px 0;gap:7px}.intro-stages>div{padding:10px}}
/* Four-mark letters get real breathing room instead of overflowing narrow tiles. */
.tile{width:44px;flex-shrink:0}.tile small{display:flex;justify-content:center;width:100%;padding:0 3px;min-height:10px;overflow:visible}.tile .morse-marks{gap:3px;min-height:10px;max-width:100%}.tile .morse-mark.dot{width:3px;height:3px;flex:0 0 3px}.tile .morse-mark.dash{width:7px;height:3px;flex:0 0 7px;border-radius:1px}
.translation-tag{font-size:10px;border:1px solid var(--line);border-radius:4px;padding:1px 5px;text-decoration:none}
@media(max-width:760px){.tile{width:42px}.word{gap:4px}.tile small{padding:0 2px}}
/* Two equal, touch-friendly listening stations stay above the scrolling notes. */
.audio-comparison{flex-shrink:0;text-align:left;margin:2px 0 14px}.comparison-heading{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:8px;font-size:13px}.comparison-heading>span{font-size:11px;color:var(--muted)}.comparison-tracks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.comparison-card{background:#1a2821;border:1px solid var(--line);border-radius:13px;padding:12px;min-width:0;transition:border-color .15s}.comparison-card.playing{border-color:var(--green)}.comparison-card h3{font-size:14px;margin:0 0 4px;font-weight:700}.result-dialog .comparison-card p{font-size:11px;line-height:1.4;color:var(--muted);margin:0 0 12px}.comparison-meter{height:4px;border-radius:4px;overflow:hidden;background:#3a493d;margin-bottom:10px}.comparison-meter span{display:block;height:100%;width:0;background:var(--green)}.comparison-card.sounding .comparison-meter{box-shadow:0 0 9px #cfee8955}.comparison-controls{display:flex;align-items:center;justify-content:space-between;gap:5px}.comparison-play{background:#cfed8812;border:1px solid #718754;border-radius:100px;color:var(--green);min-height:44px;min-width:76px;font-size:13px;padding:6px 10px}.comparison-time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.result-dialog .comparison-note{font-size:10px;line-height:1.4;color:var(--muted);margin:7px 0 0}.result-details{flex-shrink:1;min-height:28px}.result-dialog{width:min(560px,calc(100% - 24px))}
@media(max-width:380px){.comparison-tracks{gap:7px}.comparison-card{padding:9px}.comparison-card h3{font-size:12px}.comparison-controls{flex-wrap:wrap}.comparison-time{font-size:10px}.comparison-play{min-width:67px;padding:6px 8px}.result-dialog{padding:16px}}
@media(max-height:800px){.audio-comparison{margin:0 0 8px}.comparison-card{padding:8px}.result-dialog .comparison-card p{display:none}.comparison-heading{margin-bottom:6px}.comparison-meter{margin:8px 0}.result-dialog .result-symbol{font-size:22px;margin-bottom:5px}.result-dialog .result-stats{margin:8px 0}.result-dialog .comparison-note{margin-top:5px}.result-dialog h2{font-size:22px}.result-actions{gap:5px}}
@media(max-height:450px) and (min-width:650px){#result-content{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;overflow:auto}.result-dialog .result-symbol{display:none}.result-dialog .eyebrow,.result-dialog h2,#result-content>p,.result-stats,.result-details{grid-column:1}.audio-comparison{grid-column:2;grid-row:1/6;align-self:center}.result-actions{grid-column:1/-1}.result-dialog .result-stats{margin:2px 0}.result-details{max-height:62px}.result-dialog .comparison-card p{display:block}}
@media(max-height:700px) and (max-width:649px){.result-dialog .result-symbol{display:none}.result-dialog h2{font-size:20px;margin:6px 0;letter-spacing:-.4px}.result-dialog #result-content>p{font-size:11px;margin:0 0 5px}.result-stat{padding:7px 4px}.result-stat b{font-size:21px;margin-bottom:3px}.result-stat span{font-size:11px}.result-stat small{font-size:10px;margin-top:3px}.result-details{min-height:60px}.result-details>p{font-size:11px;line-height:1.4;margin-bottom:6px}.result-coach{padding:7px 9px;margin-bottom:4px}.result-coach p{font-size:11px!important;line-height:1.4}.comparison-card h3{font-size:12px}.result-dialog .comparison-note{font-size:9px}.result-dialog .result-actions button{min-height:39px;padding:7px;font-size:14px}}
/* Seven rungs and two earned ways to keep practicing. */
.difficulty-cards{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.difficulty-card{padding:17px 10px}.difficulty-card strong{font-size:14px}.extra-modes{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.mode-card{display:grid;grid-template-columns:38px 1fr;column-gap:12px;text-align:left;border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:16px;min-height:90px}.mode-card>span{grid-row:1/3;font-size:28px;align-self:center}.mode-card strong{font-size:16px}.mode-card small{font-size:12px;color:var(--muted);line-height:1.5;margin-top:5px}.mode-card:disabled{opacity:.65}.mode-card:not(:disabled){border-color:#708750}.mode-card:not(:disabled):hover{background:#293925}.picker-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.picker-dialog>.dialog-top{flex-shrink:0;margin-bottom:16px}#picker-content{min-height:0;overflow-y:auto;padding:4px 4px 10px}.picker-dialog h2{margin:10px 0 14px}.picker-dialog h3{margin:20px 0 12px;font-size:18px}.translation-picker{display:flex;gap:8px;margin-bottom:15px}.translation-picker button[aria-pressed=true]{background:#34472b;border-color:var(--green);color:var(--green)}.reference-lookup{display:flex;gap:8px;margin-bottom:15px}.reference-lookup input{min-width:0;width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--bg);color:var(--text);font:inherit;font-size:16px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.book-grid button{text-align:left;font-size:13px;padding:10px;min-height:46px}.number-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.number-grid button{padding:8px;min-height:44px}.picker-start{width:100%;margin-top:18px}.picker-explainer{padding:14px;background:var(--raised);border-radius:10px}.picker-explainer p{font-size:13px;margin:8px 0 0}.picker-metrics{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-mode=practice] .curriculum,body[data-mode=speed] .curriculum{display:none}body[data-mode=practice] .shell,body[data-mode=speed] .shell{grid-template-columns:minmax(0,1fr) 220px;max-width:1200px}
@media(max-width:1200px){body[data-mode=practice] .shell,body[data-mode=speed] .shell{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.difficulty-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.difficulty-card{min-height:109px;padding:10px 4px;gap:5px}.difficulty-card strong{font-size:10px}.difficulty-card:last-child{grid-column:span 2}.extra-modes{gap:9px;margin-top:16px}.mode-card{display:flex;flex-direction:column;gap:6px;padding:12px;min-height:135px;border-radius:15px}.mode-card>span{align-self:flex-start;font-size:25px}.mode-card strong{font-size:15px}.mode-card small{font-size:11px;margin:0}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.picker-dialog{padding:18px}.picker-dialog blockquote{font-size:22px}.picker-dialog h2{font-size:26px}}
@media(max-height:520px) and (min-width:650px){body[data-mode=practice] .practice,body[data-mode=speed] .practice{grid-template-rows:auto auto auto minmax(0,1fr) auto auto}body[data-mode=practice] .verse-area,body[data-mode=speed] .verse-area{margin-top:0}}

/* A quiet Scripture interlude, sized for phones as well as desktop. */
.pause-content h2.eyebrow{font:700 11px var(--mono);letter-spacing:1.8px;margin:0;color:var(--green)}
.pause-scripture{margin:8px 0 12px}.pause-scripture blockquote{font-family:Georgia,serif;font-size:clamp(22px,4.8vw,30px);line-height:1.4;margin:0 0 14px;text-wrap:balance}.pause-scripture figcaption{font-size:13px;color:var(--green)}.pause-scripture figcaption span{color:var(--muted)}

/* Earned composition and portable, account-free replay sharing. */
.extra-modes{grid-template-columns:repeat(3,minmax(0,1fr))}.coffee-button{width:fit-content;text-decoration:none;text-align:center}
.own-dialog label,.share-dialog label{display:block;font-size:14px;margin:12px 0 8px}.own-dialog textarea,.share-dialog input{box-sizing:border-box;width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;font-size:16px;resize:vertical}.own-preview{padding:14px;background:var(--raised);border-radius:10px;min-height:48px;line-height:1.6;overflow-wrap:anywhere;color:var(--green);font-size:15px}.own-actions{display:flex;gap:10px;margin-top:16px}.own-actions button{flex:1;min-height:46px}.own-keyboard{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:12px 0}.own-keyboard button{min-width:0;padding:8px 2px;min-height:42px}.own-keyboard button:nth-last-child(-n+2){font-size:10px}.own-dialog .small,.share-dialog .small{font-size:12px;line-height:1.5}.own-dialog h2,.share-dialog h2{margin:14px 0}.share-dialog input{font-size:13px}
body[data-mode=authored] .curriculum{display:none}body[data-mode=authored] .shell{grid-template-columns:minmax(0,1fr) 220px;max-width:1200px}
@media(max-width:1200px){body[data-mode=authored] .shell{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.extra-modes{grid-template-columns:1fr 1fr}.extra-modes .mode-card:last-child{grid-column:1/-1;min-height:96px;display:grid;grid-template-columns:38px 1fr;gap:6px 12px}.own-dialog,.share-dialog{padding:18px}.own-actions{flex-wrap:wrap}.own-dialog #own-pace{font-size:13px}}
@media(max-height:520px) and (min-width:650px){body[data-mode=authored] .practice{grid-template-rows:auto auto auto minmax(0,1fr) auto auto}body[data-mode=authored] .verse-area{margin-top:0}}
.replay-page{height:auto;min-height:100dvh;overflow:auto}.replay-shell{width:min(760px,100%);margin:0 auto;padding:40px 22px;box-sizing:border-box}.replay-shell>.brand{text-decoration:none;color:var(--text);font-size:25px}.replay-panel{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:32px;margin-top:30px}.replay-panel h1{font-family:Georgia,serif;font-size:clamp(28px,5vw,42px);font-weight:400;line-height:1.15;margin:18px 0}.replay-panel blockquote{margin:24px 0;font-family:Georgia,serif;font-size:clamp(22px,4vw,30px);line-height:1.5;overflow-wrap:anywhere;color:var(--green)}.replay-stats{font-size:13px;color:var(--muted);line-height:1.6}.replay-light{text-align:center;color:#64745a;font-size:44px;height:80px;line-height:80px;margin-top:14px;border-radius:12px;background:var(--bg)}.replay-light.sounding{color:var(--green);background:#34492a;box-shadow:inset 0 0 35px #cfed8822}.replay-meter{height:5px;margin:10px 0;background:var(--line);overflow:hidden;border-radius:3px}.replay-meter>span{display:block;height:100%;width:0;background:var(--green)}#replay-status{font-size:13px;color:var(--muted);min-height:38px;line-height:1.5}.replay-panel .comparison-card h2{font-size:16px;margin:0 0 9px}.replay-panel .comparison-card p{font-size:12px;color:var(--muted);line-height:1.5;min-height:36px}.replay-panel .comparison-play{width:100%}.replay-panel .small,.replay-footer{font-size:12px;line-height:1.6;color:var(--muted)}.replay-home{display:block;text-align:center;text-decoration:none;margin-top:24px}.replay-footer{text-align:center;margin-top:20px}
@media(max-width:480px){.replay-shell{padding:24px 14px}.replay-panel{padding:20px 16px;margin-top:22px}.replay-panel .comparison-play{font-size:12px;padding:8px 4px}.replay-panel .comparison-card h2{font-size:14px}.replay-panel .comparison-card{padding:10px}}

.verse-tiles .word{max-width:100%;flex-wrap:wrap}
/* Keep sharing and all retry/menu actions visible on a 320 × 568 phone. */
.result-actions:has(#result-share){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.result-actions #result-share,.result-actions:has(#result-share) #result-menu{grid-column:1/-1}.result-actions:has(#result-share) button{min-width:0}.result-actions:has(#result-share) #result-pick{font-size:12px}#result-content:has(#result-share) .result-details{min-height:44px}
