:root{--bg:#17101c;--s1:#231a2b;--s2:#30243a;--line:#463756;--text:#f6eee9;--muted:#c3b4c4;--accent:#ff8a4c;--accent-ink:#1f0f08;--ok:#8fe3a8;--err:#ff9d9d;--bar:#17101c;--bar2:#120c16;--pop:#1b1220;--focus:#ffd2b8;--r:14px;--sp:8px;font-size:100%;color-scheme:dark}
/* walk 66 #8: a light palette for devices that ask for it (bright studio, tablet); every pair keeps WCAG AA */
@media (prefers-color-scheme:light){:root{--bg:#faf5f0;--s1:#ffffff;--s2:#f0e6df;--line:#85768a;--text:#231a2b;--muted:#5b4b60;--accent:#a3410d;--accent-ink:#ffffff;--ok:#1d6b3a;--err:#a31d1d;--bar:#faf5f0;--bar2:#f0e6df;--pop:#ffffff;--focus:#7a2e00;color-scheme:light}#steps-list li.level.locked{opacity:.88}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:max(72px,6rem);scroll-padding-bottom:max(88px,3.6rem);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:1rem/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding-bottom:calc(var(--tabbar-h,84px) + env(safe-area-inset-bottom,0px));padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}
h1,h2,h3{font-family:Georgia,"Iowan Old Style",serif;line-height:1.2;margin:0 0 calc(var(--sp)*1.5)}
h1{font-size:min(clamp(1.7rem,6vw,2.7rem),8.5vw)}/* walk 18 #6: at 200 % system text the rem floor made five lines; the vw cap keeps it near the body size */h2{font-size:1.6rem}h3{font-size:1.2rem}
p{margin:0 0 calc(var(--sp)*1.5)}
h1,h2,h3,p,li,summary,td{overflow-wrap:break-word}
main:focus{outline:none}
a{color:var(--accent)}
a:focus-visible,.tabbar a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.filebtn:focus-within,.tapbtn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--accent-ink);padding:8px 12px;border-radius:8px;z-index:20}
.skip:focus{left:8px}
.top{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 8px;background:var(--bar);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:8px;color:var(--text);text-decoration:none;font-family:Georgia,serif;font-weight:700;font-size:1.15rem;min-height:44px}
.brand .amp{color:var(--accent)}
.mark{width:32px;height:32px}
.topnav{display:none;gap:4px}
.topnav a{color:var(--muted);text-decoration:none;padding:10px 12px;border-radius:10px;min-height:44px}
.topnav a[aria-current=page],.topnav a:hover{color:var(--text);background:var(--s2)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:2px solid var(--accent);border-radius:999px;background:var(--accent);color:var(--accent-ink);font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.btn:hover{filter:brightness(1.08)}
.btn[disabled],.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--accent);filter:none}
.btn-ghost[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
.btn-small{padding:6px 14px;font-size:.92rem}
.hero{padding:32px 0 8px;background:var(--bg)}
.eyebrow{color:var(--accent);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;margin-bottom:8px}
.lead{font-size:1.1rem;color:var(--muted);max-width:60ch}
.fine,.note{color:var(--muted);font-size:.9rem}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}
.tab{padding-top:24px;padding-bottom:32px}
.intro{color:var(--muted);max-width:62ch}
.card{background:var(--s1);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:16px 0}
.transport{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.slider{display:flex;flex-direction:column;gap:4px;flex:1;min-width:200px;font-weight:600}
input[type=range]{width:100%;min-height:44px;accent-color:var(--accent)}
.counter{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;list-style:none;margin:16px 0;padding:0}
.counter li{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:12px;background:var(--s2);border:2px solid transparent;font-weight:800;font-size:1.3rem;color:var(--muted)}
.counter li.tapc{border-color:var(--line)}
.counter li.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.counter.hide li{visibility:hidden}
.beatpulse{position:fixed;top:10px;right:10px;z-index:9;width:44px;height:44px;border-radius:50%;background:var(--s2);border:3px solid var(--line)}
.beatpulse.on{background:var(--accent);border-color:var(--accent)}
fieldset{border:0;margin:0;padding:0}
legend{font-weight:700;margin-bottom:8px;padding:0}
.chip{min-height:44px;padding:8px 16px;margin:0 8px 8px 0;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--muted);font:inherit;cursor:pointer}
.chip[aria-pressed=true]{background:var(--s2);border-color:var(--accent);color:var(--text)}
.status{min-height:1.5em;color:var(--muted)}
.tapbtn{display:block;width:100%;min-height:120px;margin:16px 0;border-radius:var(--r);border:3px solid var(--accent);background:var(--s2);color:var(--text);font:inherit;font-size:1.5rem;font-weight:800;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.tapbtn:active{background:var(--accent);color:var(--accent-ink)}
.result{border-top:1px solid var(--line);padding-top:12px;margin-top:8px}
.big{font-size:2rem;font-family:Georgia,serif;color:var(--accent);margin:0}
.result ul{padding-left:20px;margin:8px 0}
.parts{display:grid;gap:12px}
.part .fit{color:var(--muted)}
.subtabs{margin:12px 0}
.tags{display:flex;gap:8px;flex-wrap:wrap}
.tag{padding:2px 10px;border-radius:999px;border:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.grades{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;padding:4px 0 8px}
.step{margin:0;min-width:0}
.step svg{width:100%;max-width:160px;height:auto;aspect-ratio:1;display:block}
.step figcaption{font-size:.82rem;color:var(--muted);margin-top:4px}
.step figcaption strong{color:var(--text);margin-right:4px}
.floor{fill:var(--s2);stroke:var(--line)}
.axis{stroke:var(--line);stroke-dasharray:3 3}
.foot ellipse{stroke-width:2.5}
.foot text{font:700 .625rem system-ui,sans-serif;fill:#fff}
.foot-l ellipse{stroke:#c8a6ff;fill:#c8a6ff}
.foot-r ellipse{stroke:var(--accent);fill:var(--accent)}
.foot-r text{fill:var(--accent-ink)}
.foot-l text{fill:#1b1030}
.foot-f ellipse{fill:transparent}
.foot-f text{fill:var(--text)}
.foot-t ellipse{fill:transparent;stroke-dasharray:4 3}
.foot-t text{fill:var(--text)}
.counts{width:100%;border-collapse:collapse;margin:8px 0}
.counts th,.counts td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
.counts tbody th{width:4.5em;color:var(--accent)}
.hintbox{background:var(--s2);border-radius:10px;padding:10px 12px;color:var(--text)}
.filters{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0}
select,input[type=text],input[type=email]{min-height:44px;padding:8px 12px;border-radius:10px;border:2px solid var(--line);background:var(--bg);color:var(--text);font:inherit;width:100%}
.filters select{width:auto}
label{font-weight:600;display:block}
details.entry,details{border:1px solid var(--line);border-radius:12px;margin:8px 0;background:var(--s1)}
summary{min-height:44px;padding:10px 14px;cursor:pointer;font-weight:600}
details>*:not(summary){padding:0 14px}
details>p{padding-bottom:10px}
.fields{display:grid;gap:12px;margin-bottom:12px}
.clock{font:700 3rem/1.1 Georgia,serif;color:var(--accent);margin:8px 0}
.marks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0}
.marklist{padding-left:20px;margin:12px 0}
.timeline{position:relative;display:flex;height:18px;border-radius:9px;overflow:hidden;background:var(--s2);margin:8px 0}
.timeline span{display:block;min-width:2px}
.timeline .brk{position:absolute;top:0;bottom:0;box-shadow:inset 0 0 0 2px #fff}
.timeline span{font-size:.7rem;line-height:18px;font-weight:700;color:#fff;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 3px;box-sizing:border-box}.l-Derecho,.l-Majao,.l-Mambo{color:#1a1020!important}.l-Outro{background:#5d4f6c}.l-Intro{background:#5d4f6c}.l-Derecho{background:#6aa7d8}.l-Majao{background:#e0b64f}.l-Mambo{background:#ff6f4c}.l-Break{background:#3b2e47}.l-Teil{background:#8a8196}.timeline .l-Teil:nth-child(even){background:#b5aec0}
#own-tl span{box-shadow:inset 0 0 0 99px rgba(255,255,255,.55)}#own-tl .on{box-shadow:none}
.savedmap{border-top:1px solid var(--line);padding:12px 0}
.filebtn{position:relative;overflow:hidden}
.filebtn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.ticks{padding-left:20px}.ticks li{margin-bottom:8px}
.steps-list{padding-left:20px}.steps-list li{margin-bottom:8px}
#wl-form{display:grid;gap:8px;max-width:460px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.error{color:var(--err)}.success{color:var(--ok)}
.foot a{display:inline-block;padding:10px 6px;min-height:44px;min-width:44px;box-sizing:border-box;text-align:center}
.foot{border-top:1px solid var(--line);padding:16px 0;color:var(--muted);font-size:.9rem}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;background:var(--bar2);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.tabbar::-webkit-scrollbar{display:none}
.tabbar a{flex:1 0 auto;min-width:max(44px,calc(100% / 6));scroll-snap-align:center;white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;padding:0 10px;box-sizing:border-box;color:var(--muted);text-decoration:none;font-size:.75rem;letter-spacing:-.02em;text-align:center}
.tabbar a .ic{font-size:1.25rem;line-height:1}
.tabbar a .ic svg{display:block;margin:0 auto;height:1em}
.tabbar a[aria-current=page]{color:var(--accent);font-weight:700}
/* walk 18 #2: one scrollable row at any text size (it wrapped to two rows at 200 %); the active tab is scrolled into view by app.js */
/* walk 11 #7: with large system text (390 px at a 32 px root is 12 em, a normal phone is 22 em or more) the header scrolls away and the tab bar loses its icons, so the fixed chrome shrinks */
@media (max-width:15em){.top{position:static}.tabbar a{min-height:44px}.tabbar a .ic,.tabbar .morebtn .ic{display:none}.tabbar .morebtn{min-height:44px}html{scroll-padding-top:1rem}}
@media (max-width:24em) and (min-width:15em){.tabbar a{min-width:44px;padding:0 4px}}
@media (max-width:600px){.tabbar a{min-width:calc(100% / 5.5)}}
.planbar{margin:0;padding:8px 16px;background:var(--s2);text-align:center}
.planbar a{display:inline-block;padding:10px 4px;min-height:44px}
.deckbanner{background:var(--s2);border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.vocabpick,.drillpick{margin:12px 0}
.check,.radio{display:flex;align-items:center;gap:12px;min-height:44px;font-weight:400;cursor:pointer}
.check input,.radio input,.chk input{appearance:none;-webkit-appearance:none;width:44px;height:44px;margin:0 -8px 0 -10px;flex:none;display:inline-grid;place-content:center;cursor:pointer;background:none;border-radius:8px}/* walk 58 #8: the box is drawn 24 px, the control itself is a 44 px hit area */
.check input::before,.radio input::before,.chk input::before{content:"";width:20px;height:20px;border:2px solid var(--muted,#c3b4c4);border-radius:5px;background:var(--bg);box-sizing:content-box}
.radio input::before{border-radius:50%}
.check input:checked::before,.chk input:checked::before{content:"\2713";color:var(--accent-ink);font:700 16px/20px system-ui,sans-serif;text-align:center;background:var(--accent);border-color:var(--accent)}
.radio input:checked::before{background:var(--accent);box-shadow:inset 0 0 0 3px var(--bg);border-color:var(--accent)}
.hp input{min-width:44px}
#pl-form,#plan-form{display:grid;gap:8px;max-width:460px}
#plan-form{max-width:560px}
input[type=number]{min-height:44px;padding:8px 12px;border-radius:10px;border:2px solid var(--line);background:var(--bg);color:var(--text);font:inherit;width:100%}
#pl-link{font-size:.9rem}
.spark{color:var(--accent);margin:4px 0}.spark svg{max-width:100%;height:auto}
/* walk 33 #6: from 1100 px the width is used: home cards sit in two columns, the own-song result has the song and its controls left and the practice groups right (DOM order unchanged); text lines stay readable; mobile and the 760-1199 header rules are untouched */
@media (min-width:1100px){
  #hero>.wrap{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-items:start}
  #hero>.wrap>*{grid-column:1/-1}
  #hero>.wrap>.card{grid-column:auto}
  #hero>.wrap>.card[open],#hero>.wrap>#home-ear,#hero>.wrap>#dance{grid-column:1/-1}
  #own-result:not([hidden]){display:grid;grid-template-columns:minmax(380px,5fr) 7fr;column-gap:24px;align-items:start}
  #own-result>*{grid-column:1/-1}
  #own-result>#own-jump{grid-row:1}
  #own-result>#own-beatline{grid-row:2}
  #own-result>.owndetails{grid-row:5}
  #own-result>.ownstep:nth-of-type(1),#own-result>.ownstep:nth-of-type(2){grid-column:1}
  #own-result>.ownstep:nth-of-type(3){grid-column:2;grid-row:3/span 2;border-top:0}
  #own-result>.ownstep:nth-of-type(2){grid-row:4}
  #own-result>.ownstep:nth-of-type(1){grid-row:3}
  .ownintro,.lead,.note{max-width:72ch}
}
@media (display-mode:standalone){.hero{display:none}}
@media (min-width:760px){
  body{padding-bottom:0}
  .tabbar{display:none}.playbar{bottom:env(safe-area-inset-bottom)}
  .topnav{display:flex}
  .parts{grid-template-columns:repeat(3,1fr)}
  .fields{grid-template-columns:1fr 1fr}
  .marks{grid-template-columns:repeat(5,1fr)}
  .grades{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:759px){.top .btn-small{display:none}}
/* walk 17 #1/#2: at tablet widths (760 to 1199 px, es labels are the longest) the header stays one row: tabs do not wrap and scroll sideways inside the bar, the waitlist button (also on the About tab) steps aside; #8: a closed details renders nothing, so its buttons are not laid out; #7: the class-plan checkbox is a 44 px target */
@media (min-width:760px) and (max-width:1199px){.top .btn-small{display:none}.top{flex-wrap:wrap}.topnav{flex:1 1 auto;min-width:0;flex-wrap:wrap}/* walk 53 #2: no hidden sideways strip: when the links do not fit beside brand and language switch, they drop to their own full row */.topnav a{white-space:nowrap;padding:10px 8px}.brand{flex:none}.langsw{flex:none}/* walk 35 #1: big text wraps the links */html.bigtext .top{position:static;flex-wrap:wrap}html.bigtext .topnav{flex:1 0 auto;max-width:100%;flex-wrap:wrap;overflow-x:visible}}
.top{overflow-x:clip}@media (min-width:760px) and (max-height:800px){.top{position:static}}
details:not([open])>:not(summary){display:none}
#cp-count{width:44px;height:44px;min-width:44px;vertical-align:middle;margin:0 4px 0 0}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.radios{border:0;padding:0;margin:12px 0}.radios legend{font-weight:600;padding:0;margin-bottom:4px}
.steps{list-style:none;padding:0;margin:0}.steps li{background:var(--s1);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:16px 0}
.steps h3{margin:0 0 4px}.steps .goal{font-weight:600}
#own progress{width:100%;height:10px;accent-color:var(--accent)}
#own .counter li.on{transition:none}
#own-nudge-out{min-width:5em;text-align:center;font-weight:700}
.chips{margin:8px 0}
.songlist{list-style:none;padding:0;margin:0}
.song{border-top:1px solid var(--line);padding:12px 0}
.song .tempo{font-weight:600}
.song .tempo.unk{color:var(--muted);font-weight:400}
.song .cta-row{margin:8px 0 0}
/* walk 66 #5: level cards need ~20em each, so 130 % text or a tablet width stacks them in one column */
.steps#steps-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,20em),1fr))}
@media (max-width:599px){.steps#steps-list{grid-template-columns:1fr}}
@media (max-width:900px){.steps#steps-list{grid-template-columns:1fr}}
.steps li.level{padding:16px}.steps li.level.locked{opacity:.7}
.steps ol{list-style:none;padding:0;margin:0}.steps ol li{margin:12px 0;padding:16px}.steps ol li.done{border-color:var(--accent)}
.steps h4{margin:0 0 4px}
#onboard{margin-top:16px}
.countbig{min-height:6rem;display:flex;align-items:center;justify-content:center;font-size:5rem;font-weight:800;color:var(--muted);line-height:1}
.countbig[hidden]{display:none}.countbig.tapc{color:var(--accent)}
.liblist{list-style:none;padding:0;margin:8px 0}.libitem{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-top:1px solid var(--line);padding:8px 0}.libitem .note{flex:1 1 200px;margin:0}.libsave{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}
.skip{min-height:44px;display:inline-flex;align-items:center}
input[type=search]{min-height:44px;padding:8px 12px;border-radius:10px;border:2px solid var(--line);background:var(--bg);color:var(--text);font:inherit;width:100%}
.note a,.foot a,.fine a{display:inline-block;padding:12px 6px;min-height:44px;min-width:44px;text-align:center;box-sizing:border-box}
.check span{min-width:0}
.hero .eyebrow{text-transform:none;letter-spacing:0;font-size:1rem}
.hero .hero-pitch{display:none}
#hero-more{flex:1 1 100%}#hero-more>summary{display:none}#hero-more>.cta-row{margin:0 0 12px}
.hero-new #hero-more>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--muted)}
.hero-new #today-open-row,.hero-new #hero-social{display:none}
.hero-new #hero-demo{min-height:56px;font-size:1.15rem;flex:1 1 100%}
.libhint{margin:8px 0}
.libitem>.btn{display:inline-block;text-align:center}
#lib:not([hidden])+.libhint{display:none}
.glossary dt{font-weight:700}.glossary dd{margin:0 0 8px}
body.first-visit main,body.first-visit .topnav,body.first-visit .tabbar,body.first-visit .top>.btn,body.first-visit .foot{display:none}
#onboard{width:min(1100px,calc(100% - 32px));box-sizing:border-box;margin:24px 16px;padding:20px;text-align:left}#onboard .onb-shot{display:block;width:100%;height:auto;border:1px solid var(--line);margin:0 0 12px}#onboard .btn{text-align:center;justify-content:center}#onb-h:focus{outline-color:transparent}@media (min-width:900px){#onboard div[data-onb="1"]:not([hidden]){display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:32px;align-items:start}#onboard div[data-onb="1"]>.onb-shot{grid-column:2;grid-row:1/span 3;margin:0;align-self:center}#onboard div[data-onb="1"]>:not(.onb-shot){grid-column:1}}
body.first-visit #onboard{margin-top:min(12vh,3rem)}/* walk 49 #3: at 130 % text the 12vh gap pushed the example button below the fold */
body.first-visit .langnote{flex-wrap:nowrap;font-size:.8rem;margin-bottom:0}#onboard .onb-foot>.cta-row{display:flex;flex-wrap:wrap;gap:8px}#onb-demo{flex:1 1 100%}
#onboard>.onb-foot{position:sticky;bottom:0;z-index:2;background:var(--s1);margin:8px -4px 0;padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
#onboard .onb-foot>.fine{margin:0 0 8px}#onboard .onb-foot>.cta-row{margin:0}#onb-backup{text-wrap:balance}
.ownstep{border-top:1px solid var(--line);padding:8px 0}.ownstep:first-child{border-top:0}
.ownstep h4{margin:8px 0;font-size:1.05rem}
.btn-big{width:100%;min-height:64px;font-size:1.25rem}
#own-s2-slot .cta-row{margin:8px 0}
.langsw{display:flex;align-items:center}.langsw .chip{margin:0 0 0 8px;padding:8px 12px;min-width:44px}
@media (max-width:420px){.top{gap:8px;padding:8px 10px}.langsw .chip{padding:8px 4px}.brand{font-size:1rem;gap:6px;flex:none}.mark{width:26px;height:26px}}

.step.on{outline:3px solid var(--accent);outline-offset:3px;border-radius:8px}
@media (prefers-reduced-motion:no-preference){.step{transition:outline-color .08s}}
#goal-time{min-height:44px;font:inherit}
input[type=time]{min-height:44px;padding:8px 12px;border-radius:10px;border:2px solid var(--line);background:var(--bg);color:var(--text);font:inherit;color-scheme:dark}
.kurs-row{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 8px}
.kurs-row label{flex:1 1 12rem}
.kurs-row input[type=number]{width:5.5rem}
ul:has(>.kurs-row){padding:0;margin:8px 0}
.ownacc{border-top:1px solid var(--line);padding:0}.ownacc>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;padding:4px 14px}.ownacc[open]>summary{margin-bottom:8px}

.inst-list{list-style:none;padding:0;margin:12px 0}.inst-row{margin:0 0 12px}
.igrid{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:1px;max-width:100%;margin:4px 0 8px;font-size:11px;line-height:1.2;text-align:center}.ig{min-width:0;padding:2px 0;border-radius:3px;background:rgba(127,127,127,.12)}.ig.beat{border-left:2px solid rgba(127,127,127,.5)}.ig b,.ig i{display:block;font-style:normal}.ig b{font-weight:400;opacity:.45}.ig.on{background:rgba(127,127,127,.28)}.ig.on b{font-weight:700;opacity:1}.ig.acc{outline:2px solid currentColor;outline-offset:-2px}.ig i{font-size:10px;opacity:.8}
.brcue{margin:.4rem 0;padding:.4rem .7rem;border-left:4px solid currentColor;background:rgba(127,127,127,.12);font-weight:600}
@media (prefers-reduced-motion:no-preference){.brcue{animation:brcue-in .25s ease-out}}
@keyframes brcue-in{from{opacity:0}to{opacity:1}}
.tapex{margin:8px 0}.tapex-cap{margin:0 0 6px;font-weight:700}.tapex-row{display:flex;gap:4px;margin:0}.tapex-row span{flex:1;max-width:3em;text-align:center;padding:6px 0;border:2px solid var(--line);border-radius:8px;font-weight:700}.tapex-row span:first-child{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);outline:3px solid var(--accent);outline-offset:1px}.tapcount{margin:0;font-size:1.25rem;font-weight:800;text-align:center}
@keyframes tapex{0%{background:var(--accent);color:var(--accent-ink)}12.5%,100%{background:transparent;color:var(--text)}}
@media (prefers-reduced-motion:no-preference){.tapex-row span{animation:tapex calc(var(--b)*8) step-end infinite;animation-delay:calc(var(--i)*var(--b))}}

details.card>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;font-size:1.17em}details.card[open]>summary{margin-bottom:8px}
#own:has(#own-result:not([hidden])) :is(.libhint,.ownintro){display:none}
.bodyrow:has(input:not(:checked)) .bodyhint{display:none}
.linkbtn{background:none;border:0;padding:12px 4px;min-height:44px;box-sizing:border-box;color:var(--accent);font:inherit;text-decoration:underline;cursor:pointer}
#own-count>h3:first-child{display:none}
.song:focus{outline:2px solid var(--accent);outline-offset:2px}
.kurs-level{margin:12px 0 4px}
.kurs-row[hidden]{display:none}

.srclink,[data-i18n-html="ueber.19"] a{display:inline-block;padding:11px 4px;min-height:44px;box-sizing:border-box}
.steps li.next{outline:2px solid var(--accent);outline-offset:4px;border-radius:8px}.nextmark{display:inline-block;font-size:.75rem;font-weight:700;background:var(--accent);color:var(--accent-ink);border-radius:6px;padding:2px 8px;vertical-align:middle}
.eartraining{list-style:none;padding:0;margin:8px 0;display:flex;flex-wrap:wrap;gap:8px}
.takt-adv{border-top:1px solid var(--line);margin:8px 0}.takt-adv>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;padding:4px 0}.takt-adv[open]>summary{margin-bottom:8px}
.ownadv{border-top:1px solid var(--line);margin:8px 0}.ownadv>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;padding:4px 0}.ownadv[open]>summary{margin-bottom:8px}.ownstart{margin:0 0 16px;padding:0}.ownstart .counter{margin:8px 0}.ownstart #own-play{width:100%}.ownstart .cta-row{margin:6px 0}
.ownfix{margin:8px 0}input.bpmset{min-height:44px;width:5.5em;max-width:8em;box-sizing:border-box;font:inherit;padding:6px 8px}
#about-mount p a{display:inline-block;padding:12px 6px;min-height:44px;box-sizing:border-box}
#home-ear>summary{justify-content:space-between;gap:12px}
#home-ear>summary::after{content:"+";flex:none;font-size:1.5em;line-height:1;color:var(--accent)}
#home-ear[open]>summary::after{content:"\2212"}
#home-ear .sumtxt{display:flex;flex-direction:column;min-width:0}
#home-ear .sumd{font-weight:400;font-size:.85rem;color:var(--muted)}
.updatebar{position:fixed;left:8px;right:8px;bottom:calc(64px + env(safe-area-inset-bottom));z-index:12;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:10px 14px;background:var(--s1);border:1px solid var(--accent);border-radius:var(--r);color:var(--text)}
.updatebar .bar-news{flex-basis:100%;text-align:center}.updatebar ul{text-align:left;margin:0;padding-left:20px}.updatebar summary{min-height:44px;display:inline-flex;align-items:center}
.updatebar[hidden]{display:none}
.playbar{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:11;height:64px;display:flex;align-items:center;justify-content:center;padding:0 12px;background:var(--s1);border-top:1px solid var(--accent)}.playbar .btn{width:100%;max-width:520px;min-height:48px}.playbar[hidden]{display:none}
.tab h2,.tab h3,.card,#steps-list li,#steps-list .level{scroll-margin-top:76px}
@media (forced-colors:active){.counter li.on,.chip[aria-pressed=true],.btn-ghost[aria-pressed=true]{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:HighlightText}.counter li.tapc{border-color:CanvasText}}
/* UX-Walk 14 #2: while the count aid runs the big number floats in the corner, readable from 2 m, and a tap on it stops the song */
.counting .countbig:not([hidden]){position:fixed;right:1rem;bottom:1rem;z-index:30;min-width:8rem;min-height:8rem;padding:0 1.25rem;background:var(--s2);border:2px solid var(--line);border-radius:var(--r);box-shadow:0 4px 18px #0008;font-size:6.5rem;cursor:pointer}
@media (max-width:759px){.counting .countbig:not([hidden]){bottom:4.5rem;min-width:min(5.5rem,24vw);min-height:min(5.5rem,24vw);padding:0 .5rem;font-size:min(4rem,16vw)}}

.offlinehint{position:fixed;left:8px;right:8px;bottom:calc(64px + env(safe-area-inset-bottom));z-index:11;margin:0;padding:6px 12px;text-align:center;font-size:.85rem;color:var(--muted);background:var(--s1);border:1px solid var(--line);border-radius:8px}
.offlinehint[hidden]{display:none}

.ownname{font-weight:600;overflow-wrap:anywhere;margin:0 0 6px}.ownname:empty{display:none}
.ownjump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.ownjump .btn{min-height:44px;min-width:44px;flex:1 1 auto}
#lib-sort{width:auto;min-width:44px}

.fwrow{display:flex;gap:4px;list-style:none;padding:0;margin:0 0 8px}.fwrow li{flex:1;text-align:center;padding:8px 0;border:1px solid var(--line);border-radius:6px;font-weight:700}.fwrow li.fw-s{background:var(--line)}.fwlist{padding-left:20px}
.mic-ui{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,6,14,.88);overflow:auto}
.mic-card{width:100%;max-width:26rem;padding:20px;background:var(--s1);border:1px solid var(--accent);border-radius:var(--r);text-align:center}
.mic-ringbox{position:relative;width:160px;height:160px;margin:0 auto 12px}
.mic-ring{width:100%;height:100%;transform:rotate(-90deg)}
.mic-ring circle{fill:none;stroke-width:8}
.mic-track{stroke:var(--line)}.mic-arc{stroke:var(--accent)}
.mic-left{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;font-weight:700;padding:0 28px}
.mic-meter{height:12px;margin:8px 0;border-radius:6px;background:var(--s2);overflow:hidden}
.mic-fill{display:block;height:100%;width:0;background:var(--ok)}
.mic-hint{min-height:1.6em;margin:0 0 8px;color:var(--err);font-weight:700}
.mic-bpm{font-size:2.4rem;font-weight:700;margin:8px 0;font-family:Georgia,"Iowan Old Style",serif}
.mic-card .cta-row{justify-content:center}
@media (prefers-reduced-motion:no-preference){.mic-fill{transition:width .1s linear}}
.libset{margin:8px 0}.libset summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.settable{overflow-x:auto}#set-table{border-collapse:collapse;width:100%}#set-table th,#set-table td{padding:6px 8px;border-top:1px solid var(--line);text-align:left}#set-table th:nth-child(n+3),#set-table td.num{text-align:right;white-space:nowrap}.settext{width:100%;font-family:monospace;white-space:pre;overflow-x:auto}#set-table .setone{display:none}#set-table .oneq,.libchip .oneq{font-weight:700;color:var(--accent);cursor:help}#set-table .setcb{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:-6px -8px;cursor:pointer}#set-table .setcb input{width:24px;height:24px;margin:0;accent-color:var(--accent)}#drill1-status:empty,#drill1-last:empty{min-height:0;margin:0}#drill1{scroll-margin-top:0}/* walk 67 #2: no blank gap under Start drill; scroll-padding-top of html already clears the sticky header (the card margin stacked to 172 px) */

.libren{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex:1 1 100%;margin:0}.libren input,.libren select{min-height:44px;box-sizing:border-box;max-width:100%;font:inherit}.libren .btn{min-height:44px}.libtitle{margin-right:6px}#lib-title{min-height:44px;box-sizing:border-box;max-width:100%;font:inherit}
/* walk 26 #5: prefers-contrast: more (an older eye): borders and muted text at full strength */
@media (prefers-contrast:more){:root{--line:#c3b4c4;--muted:#f6eee9}@media (prefers-color-scheme:light){:root{--line:#5b4b60;--muted:#231a2b}}.btn-ghost,.chip,select,input[type=text],input[type=number],input[type=search]{border-width:2px}}

.langnote{display:flex;align-items:center;gap:8px;justify-content:space-between;max-width:60rem;margin:4px auto;padding:0 12px}.langnote .chip{margin:0;min-width:44px;min-height:44px}
.langnote{flex-wrap:wrap;overflow-wrap:anywhere}.langnote ul{flex:1 1 10rem;min-width:0;margin:0;padding-left:1.1rem}.langnote .chip{flex:none}
#home-style .cta-row .btn{min-height:44px;min-width:44px}.dom-label{display:block;margin:2px 0 8px}

/* walk 34 #7: the answer "Wir üben für einen Anlass" hides the social-dancer line and shows the one-song line */
body.occasion #hero-social{display:none}
.gloss summary{min-height:44px;display:flex;align-items:center}

/* w38 #10: no German below the hero until the full dictionary applied */
html.i18n-wait main>.tab,html.i18n-wait .foot{visibility:hidden}
/* walk 45 #5: a non-German visitor never sees the German first paint; index.html sets the class, i18n.js lifts it once the first slice is applied */
html.i18n-pre body{visibility:hidden}

.chgcue{display:none;margin:8px 0;min-height:72px;border:3px solid var(--line);border-radius:var(--r);align-items:center;justify-content:center;font-size:1.6rem;font-weight:800;background:var(--s1)}
.chgcue.arm{display:flex}.chgcue span{visibility:hidden}
.chgcue.on{background:var(--accent);border-color:#fff;color:var(--accent-ink)}.chgcue.on span{visibility:visible}
#drill2.flip{border-color:var(--accent)}
@media (min-width:600px){.langsw .chip{font-size:0;padding:8px 10px}.langsw .chip::after{content:attr(title);font-size:.9rem}}
/* walk 44 #7/#12: phone in landscape (390 px high): the header scrolls away instead of sticking (it took 62 px = 16 %), is one tight row, and the tab links are 14 px instead of 12 px */
@media (orientation:landscape) and (max-height:480px){.top{position:static;padding:calc(3px + env(safe-area-inset-top,0px)) 12px 3px}.brand{min-height:36px}.topnav a{min-height:36px;padding:6px 10px}.mark{width:28px;height:28px}.langsw .chip{min-height:44px;padding-top:4px;padding-bottom:4px}.top .btn-small{min-height:36px;padding-top:4px;padding-bottom:4px}.tabbar a,.topnav a,.langsw .chip,.langsw .chip::after{font-size:.875rem}html{scroll-padding-top:1rem}}
/* walk 54 #7: under 420 px of height the links sit beside the brand, one row (139 px -> about 50 px on 800x360); class mode hides this header anyway */
@media (orientation:landscape) and (max-height:419px){.top{flex-wrap:nowrap;gap:8px;padding-left:8px;padding-right:8px}.topnav{display:flex;flex:1 1 auto;min-width:0;flex-wrap:nowrap;gap:0}.topnav a{white-space:nowrap;padding:6px 6px;font-size:.8rem}.brand{flex:none;font-size:1rem}.langsw{flex:none}.langsw .chip{font-size:0;padding:4px 6px}.langsw .chip::after{content:attr(lang);font-size:.8rem;text-transform:uppercase}/* walk 71 #3: the chip's own text was also shown beside the ::after code (DEDE) */}
/* walk 55 #2/#4: the bar shows five slots (the course tab stays on it), the rest sits behind "Mehr" in a small menu; no sideways scroll, label size follows the width so "Vocabulario" fits one fifth of 360 px at 130 % text */
.tabbar a,.tabbar .morebtn{flex:1 1 0;min-width:0}
.tabbar .morebtn{font:inherit;font-size:.75rem;letter-spacing:-.02em;background:none;border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;min-width:44px;padding:0 4px;color:var(--muted);cursor:pointer;box-sizing:border-box}
.tabbar .morebtn .ic{font-size:1.25rem;line-height:1}
.tabbar{overflow-x:visible;overflow:visible}
.tabbar a{white-space:normal;overflow-wrap:normal;padding:0 2px;font-size:.8125rem;line-height:1.15}
.tabbar .morebtn span:not(.ic){font-size:.8125rem}
.tabbar a[aria-current=page],.morebtn[aria-current=page]{color:var(--accent);font-weight:700}
.topnav .morebtn{display:none;font:inherit;background:none;border:0;border-radius:10px;color:var(--muted);padding:10px 12px;min-height:44px;cursor:pointer}
.topnav .morebtn[aria-current=page],.topnav .morebtn:hover{color:var(--text);background:var(--s2)}
.morebtn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.moremenu{position:fixed;z-index:30;min-width:11rem;max-width:calc(100vw - 16px);background:var(--pop);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 8px 28px rgba(0,0,0,.55)}
.moremenu[hidden]{display:none}
.moremenu a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:8px;color:var(--text);text-decoration:none}
.moremenu a.ml{display:none}.moremenu a[aria-current=page]{color:var(--accent);font-weight:700;background:var(--s2)}
.moremenu a:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
@media (min-width:760px){.tabbar .morebtn{display:none}}
@media (orientation:landscape) and (max-height:419px){.topnav a.mo,.topnav a.ml{display:none}.moremenu a.ml{display:flex}.topnav .morebtn{display:block;white-space:nowrap;padding:6px 6px;min-height:36px;font-size:.8rem}}
body.first-visit .moremenu{display:none}
/* Walk 44 #11: solo styling: while counting, the big number fills the screen (earbuds, phone on a shelf); a tap anywhere on it stops */
.solo.counting .countbig:not([hidden]){inset:0;width:auto;height:auto;min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none;font-size:min(60vh,40vw);cursor:pointer}
/* walk 46 #3: "Was ist neu?" as a normal stacked card: heading, list, one Show link per line, the x in the corner */
#newsnote{display:block;position:relative;box-sizing:border-box;max-width:60rem;margin:8px auto;padding:12px 60px 12px 16px;border:1px solid var(--line);border-radius:12px}
#newsnote>strong{display:block;margin:0 0 4px}#newsnote>strong~strong{margin-top:12px}
#newsnote ul{margin:0 0 4px;padding-left:1.1rem}#newsnote li{margin:4px 0}#newsnote details{margin:4px 0 0;border:0;background:transparent}#newsnote details>*:not(summary){padding:0}#newsnote details{flex:0 1 auto;align-self:flex-start;max-width:100%}#newsnote summary{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:2px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font-weight:700;cursor:pointer;list-style:none}#newsnote summary::-webkit-details-marker{display:none}#newsnote summary::after{content:'\25B8';transition:transform .15s}#newsnote details[open]>summary{border-color:var(--accent)}#newsnote details[open]>summary::after{transform:rotate(90deg)}#newsnote summary:hover{border-color:var(--accent)}#newsnote details>ul{margin-top:6px}
#newsnote li a.btn{display:block;width:fit-content;max-width:100%;margin:6px 0 4px;white-space:normal}
#newsnote>.chip{position:absolute;top:6px;right:6px;margin:0}
.rival{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.rival .rival-main{font-size:1.6rem;font-weight:700}.rival .rival-alt{font-size:.95rem;color:var(--muted)}
.libchip{display:inline-block;font-weight:700;font-variant-numeric:tabular-nums;border:1px solid var(--line);border-radius:999px;padding:2px 10px;font-size:.9rem;white-space:nowrap}
@media (max-width:520px){#set-table th:nth-child(4),#set-table td:nth-child(4){display:none}#set-table .setone{display:block;font-size:.8rem;opacity:.85}#set-table td:last-child{white-space:normal}/* walk 60 #1: the hidden First-1 column moves under the title */#set-table td{overflow-wrap:anywhere}#set-table td:nth-child(2){min-width:0;padding-left:0}/* walk 60 #3: titles wrap by word at 130 % text, no sideways scroll *//* walk 55 #8: the length stays on a phone, only the first 1 goes */#set-table th,#set-table td{padding:6px 3px;font-size:.88rem}#set-table .setcb{margin:-6px -3px}}

#home-songs ul{list-style:none;margin:0;padding:0}#home-songs li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0}#home-songs .btn{flex:1 1 12rem;min-width:0;overflow-wrap:anywhere;text-align:left}
#set-table th{overflow-wrap:anywhere;hyphens:auto;line-height:1.25}#set-table th:last-child,#set-table td:last-child{font-size:.85rem}/* walk 49 #8: 'Breaks' wraps instead of clipping at 130 % text */
/* walk 49 #7/#10: row = title + chip on line 1, Delete and a closed More below; the page-bottom More holds the rare actions */
.libitem>.libtitle{flex:1 1 100%;min-width:0;font-weight:700;overflow-wrap:anywhere}.libitem>.libopen{flex:0 0 auto;white-space:nowrap}.libitem>.libchip{flex:0 0 auto}.libitem>.note{flex:1 1 100%}
.libmore summary{min-height:44px;min-width:44px;display:inline-flex;align-items:center;padding:0 12px;cursor:pointer}.libmore[open]{flex:1 1 100%}.libmore[open] .btn{margin:0 8px 8px 0}
.libmore-bottom{margin:8px 0}

/* walk 52 #9: level-1 home folds the cards around the first lesson behind one button (js/homelite.js) */
body.home-lite :is(#home-style,#today,#home-ear,#home-bk,#home-trip,#home-wl,#inst,#goal){display:none}
#home-more{display:block;width:calc(100% - 32px);max-width:60rem;box-sizing:border-box;margin:12px auto;min-height:44px}
/* walk 52 #7: checkbox rows are full-width 44 px tap boxes */
.check{box-sizing:border-box;min-height:44px}p>.check:only-child{display:flex;width:100%}
/* walk 52 #5: the language note and its x share one row */
#langnote{flex-wrap:nowrap}#langnote>span{flex:1 1 0;min-width:0}#langnote>.chip{flex:none}#langnote .chip:last-child{width:44px;height:44px;padding:0}#langnote:has(#langnote-es){flex-wrap:wrap}#langnote:has(#langnote-es)>span{flex:1 1 10rem}

#hero-welcome p{margin:0 0 8px}
body:has(#home-back:not([hidden])) #hero-welcome,body:has(#onboard:not([hidden])) #hero-welcome{display:none}
/* walk 57 #5: the note reads at 14 px, its text and x share row 1, the language choice sits on row 2 */
#langnote,body.first-visit #langnote{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;column-gap:8px;font-size:.875rem}#langnote>span:first-child{grid-column:1;grid-row:1}#langnote>.chip:last-child{grid-column:2;grid-row:1}#langnote>#langnote-es{grid-column:1/-1;justify-self:start}
#langnote>.lnpick{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}#langnote .lnpick .chip{min-width:44px;min-height:44px;padding:0 10px}
/* walk 61 #4: below 360 px and at larger text the labels shrink with the width instead of wrapping ("Vocabulaire" was 69 of 71 px) */
.tabbar a,.tabbar .morebtn span:not(.ic){white-space:nowrap}
@media (max-width:359px){.tabbar a,.tabbar .morebtn span:not(.ic){font-size:min(.8125rem,3.6vw);letter-spacing:-.04em}}
@media (min-width:360px){.tabbar a,.tabbar .morebtn span:not(.ic){font-size:min(.8125rem,3.7vw)}}
/* walk 62 M5/L7: Slower, rate, Faster stay one line (Beginner sits in its own row right under Play); language chips shrink on narrow phones */
#pr-speedrow{flex-wrap:nowrap;gap:6px}#pr-speedrow .btn{flex:1 1 0;min-width:0;padding-left:6px;padding-right:6px;min-height:44px}#pr-speedrow output{flex:0 0 auto;min-width:3.2rem;text-align:center;font-weight:700}#pr-begrow{margin:8px 0}#pr-begrow .btn{min-height:44px}
@media (max-width:420px){.langsw .chip{margin-left:8px;padding:8px 2px;min-width:44px}.top{gap:4px}}@media (max-width:340px){.top{padding-left:6px;padding-right:6px}.brand{font-size:.9rem}}

.big.unclear #own-bpm{font-size:.5em;opacity:.75}.big .bigq{font-weight:700}
.libchip .oneq{font-weight:700;color:var(--accent)}
/* walk 66 #9: the spoken-count box shows a border and a tick, the count label is a 44 px target */
#cp-count{accent-color:var(--accent);appearance:auto;opacity:1}.cp-cnt{display:inline-flex;align-items:center;min-height:44px}.cp-cnt label{cursor:pointer}
/* walk 69 #2: on a short or narrow phone the Stop bar is one compact line (46 px, 44 px button) and the page gets its height as bottom padding, so it never covers content */
body.has-playbar{padding-bottom:calc(var(--tabbar-h,84px) + 64px + env(safe-area-inset-bottom,0px))}
@media (max-height:700px),(max-width:400px){.playbar{height:46px;padding:0 12px;bottom:var(--tabbar-h,58px)}.playbar .btn{min-height:44px;padding-block:0;line-height:1.2}body.has-playbar{padding-bottom:calc(var(--tabbar-h,84px) + 46px + env(safe-area-inset-bottom,0px))}}
@media (min-width:821px){body.has-playbar{padding-bottom:64px}}
/* walk 69 #1: at phone width each Set row is a stacked card (checkbox + title, then labelled values), words break by word, never per letter */
@media (max-width:400px){
#set-table,#set-table tbody{display:block}#set-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#set-table tr{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:8px;padding:8px 0;border-top:1px solid var(--line)}
#set-table td{display:block;border:0;padding:2px 0;font-size:.9rem;overflow-wrap:break-word;white-space:normal;text-align:left;min-width:0;grid-column:2}
#set-table td:nth-child(1){grid-column:1;grid-row:1 / span 5;padding:0}#set-table td:nth-child(1) .setcb{margin:0}
#set-table td:nth-child(2){font-size:1rem;font-weight:700;overflow-wrap:break-word;padding-left:0}
#set-table td:nth-child(4){display:none}
#set-table td.num{text-align:left;white-space:normal}
#set-table td[data-label]::before{content:attr(data-label) ": ";opacity:.75;font-weight:400}
#set-table td:last-child{font-size:.9rem}
}
#set-table .setnoaudio{display:inline-block;margin-left:6px;padding:0 6px;border:1px solid currentColor;border-radius:4px;font-size:.8rem;white-space:nowrap}/* walk 70 #6: a text mark, not colour only; on a phone it drops under the title */
@media (max-width:400px){#set-table .setnoaudio{display:block;width:fit-content;margin:2px 0 0}}
/* walk 71 #3: narrow headers (400 % zoom): the tab bar offers the same places, so the top link row goes; brand and language chips never share a line with it */
@media (max-width:559px){.topnav{display:none!important}.top{flex-wrap:wrap}}

/* walk 71 #5: the ask before class mode takes one slim row in a short window */
@media (max-height:640px){.pp-ask{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 10px !important;max-width:none !important}.pp-ask p{margin:0;flex:1 1 14rem;font-size:.9rem;line-height:1.25}.pp-ask .btn{min-height:44px;padding:4px 12px}}
.pp-ask .btn{min-width:56px}
/* walk 81 #1: the sticky footer took 36 % of a 360x740 screen; the legal line now sits after it, demo button and Weiter/Überspringen are compact */
#onboard .onb-legal{margin:8px 0 0}
@media (max-width:600px){#onboard>.onb-foot{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}#onboard .onb-foot>.cta-row{gap:6px;flex-wrap:nowrap}#onboard .onb-foot>.cta-row>.btn{flex:1 1 0;min-width:0;min-height:44px;padding:6px 8px;font-size:.95rem;line-height:1.2}#onb-demo{flex:1 1 100%!important;min-width:100%!important}#onboard .onb-foot>.cta-row{flex-wrap:wrap}#onb-next,#onb-skip{flex:1 1 calc(50% - 3px)!important;min-width:0!important}}
#onb-levels .radio{align-items:flex-start;margin:0 0 8px;padding:4px 0}#onb-levels .radio>span{display:block}#onb-levels .radio .hint{display:block;font-size:.85em;color:var(--muted,#c3b4c4);margin-top:2px}#onb-levels .radio input{margin-top:0}/* walk 82 #2: hint on its own line, 8 px between options */
/* walk 82 #4 #5: the hear tick and the fast-songs link are labelled lines of their own */
.onbhear { border-top: 1px solid var(--line, #ccc); margin-top: 1rem; padding-top: .75rem; }
.onblead { display: block; font-weight: 600; }
#onb-skips .onbfast a { display: inline-block; min-height: 44px; padding: .6rem 0; }
/* walk 83 #7: a two-line phone button was 74 px (24.8 px lines, 10 px padding); 1.2 line height and 6 px padding make it ~54 px, still over 44 */
@media (max-width:600px){#steps-list [data-skip],#steps-list [data-unskip],#own-first8{padding:6px 14px;line-height:1.2;font-size:.95rem}}
@media (max-width:600px){#own-first8-row{margin:0 0 4px}}

.tapalong{min-height:44px}#own-tapverdict{margin-top:6px}
/* m39: first visit = the live trainer with a short welcome strip above it (no modal card, no wizard on screen one) */
body.onb-strip main,body.onb-strip .topnav,body.onb-strip .tabbar,body.onb-strip .top>.btn,body.onb-strip .foot{display:revert}
body.onb-strip .topnav{display:flex}body.onb-strip .tabbar{display:flex}@media (min-width:760px){body.onb-strip .tabbar{display:none}}/* m39 round 2: one nav per viewport */
body.onb-strip #onboard{width:auto;max-width:none;margin:0;padding:12px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--s1);box-sizing:border-box}
body.onb-strip #onboard>.fine#onb-count{display:none}
body.onb-strip #onboard [data-onb="1"] h2{font-size:1.05rem;margin:0 0 4px}
body.onb-strip #onboard [data-onb="1"] p{margin:0 0 6px;max-width:68ch}
body.onb-strip #onb-backup,body.onb-strip #onb-next,body.onb-strip #onb-skip{display:none}
body.onb-strip #onboard>.onb-foot{position:static;margin:4px 0 0;padding:0;border:0;background:none}
body.onb-strip #onboard .onb-foot>.cta-row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
body.onb-strip #onb-demo{flex:0 0 auto}
body.onb-strip #onb-next,body.onb-strip #onb-skip{display:inline-flex;min-height:44px;align-items:center;border:0;background:none;padding:0 4px;color:var(--text);text-decoration:underline;font:inherit}
body.onb-strip #onboard .onb-legal{margin:2px 0 0}
body.onb-strip #onb-backup{display:inline-flex;text-align:left;min-height:44px;align-items:center;border:0;background:none;padding:0 4px;text-decoration:underline;font:inherit;color:var(--muted)}
body.onb-strip #onboard>div[data-onb="1"]>p:has(#onb-backup){display:block;margin:0}
@media (min-width:900px){body.onb-strip #onboard{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center}body.onb-strip #onboard>div[data-onb="1"]{grid-column:1;grid-row:1/span 2}body.onb-strip #onboard>.onb-foot{grid-column:2;grid-row:1}body.onb-strip #onboard>.onb-legal{grid-column:2;grid-row:2}}
/* compact language switch: codes, not names */
.langsw .chip{font-size:.85rem!important;padding:6px 8px;min-width:44px;margin-left:2px}.langsw .chip::after{content:none!important}
body.onb-strip #hero,body.onb-strip #drill1,body.onb-strip #drill1~*{display:none!important}
body.onb-strip #tab-takt{padding-top:16px}
body.onb-strip .top>.btn{display:none!important}body.onb-strip .foot .wrap>p:not(.onb-bk):not(.onb-legal){display:none}.foot .onb-bk,.foot .onb-legal{display:none}body.onb-strip .foot .onb-bk,body.onb-strip .foot .onb-legal{display:block;margin:0 0 4px}body.onb-strip .foot{padding-bottom:16px}/* the legal links sit in the strip; the footer text is in the part of the dictionary that loads after the strip closes */
@media (min-width:900px){body.onb-strip #onboard div[data-onb="1"]:not([hidden]){display:block}body.onb-strip #onboard [data-onb="1"] p{max-width:72ch}}
body.onb-strip #tab-takt>.intro,body.onb-strip #tab-takt>details.gloss{display:none}
@media (max-width:600px){body.onb-strip #onboard{padding:8px 12px}body.onb-strip #onboard [data-onb="1"] p:not(:has(button)){font-size:.875rem;line-height:1.4}body.onb-strip #onboard .onb-foot>.cta-row{flex-wrap:wrap;gap:0 12px}body.onb-strip #onb-demo{flex:1 1 100%;min-height:44px}body.onb-strip #onb-backup{min-height:44px;padding:0}body.onb-strip #onb-next,body.onb-strip #onb-skip{min-height:44px}body.onb-strip #onboard .onb-legal{font-size:.8rem}}

/* m39 round 2: Next/Skip are quiet links under the button; backup + legal live in the footer; phone = one text line + the button */
body.onb-strip #onboard .onb-foot>.cta-row{gap:0 16px}
body.onb-strip #onb-demo{order:1}body.onb-strip #onb-next,body.onb-strip #onb-skip{order:2;flex:0 0 auto;font-size:.875rem;color:var(--muted)}
@media (max-width:600px){body.onb-strip #onboard [data-onb="1"] p{display:none}body.onb-strip #onboard [data-onb="1"] h2{margin:0 0 6px;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.onb-strip #onb-next,body.onb-strip #onb-skip{flex:0 0 auto!important;min-width:44px!important}}
body.onb-strip #onb-demo{flex:0 0 100%;max-width:max-content}body.onb-strip #onboard .onb-foot>.cta-row{justify-content:flex-start}
/* m39 round 2: the legal + backup footer stays on the first-visit screen, above the phone tab bar (walk 31 #3: legal links reachable before the first tap) */
body.onb-strip .foot{position:sticky;bottom:var(--tabbar-h,0);z-index:9;background:var(--bar);border-top:1px solid var(--line);padding:0 0 env(safe-area-inset-bottom,0)}
@media (min-width:760px){body.onb-strip .foot{bottom:0}}
body.onb-strip .foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 16px;padding-top:0;padding-bottom:0}
body.onb-strip .foot .onb-bk,body.onb-strip .foot .onb-legal{margin:0}body.onb-strip .foot .onb-legal{font-size:.8rem}body.onb-strip .foot .onb-legal a{display:inline-flex;align-items:center;min-height:44px}
body.onb-strip{padding-bottom:calc(var(--tabbar-h,84px) + 8px)}
@media (min-width:760px){body.onb-strip{padding-bottom:0}}
@media (max-width:600px){body.onb-strip .foot .wrap{padding:0 8px;gap:0 8px;justify-content:space-between;flex-wrap:nowrap}body.onb-strip .foot .onb-bk,body.onb-strip .foot .onb-legal{font-size:.75rem;line-height:1.2}body.onb-strip #onb-backup{font-size:.75rem;min-height:44px;padding:0;text-align:left}body.onb-strip .foot .onb-legal{font-size:.75rem;text-align:right}body.onb-strip .foot .onb-legal a{padding:0 3px}body.onb-strip .foot .onb-legal .onb-sent{display:none}body.onb-strip{padding-bottom:calc(var(--tabbar-h,84px) + 8px)}}
@media (max-width:600px){body.onb-strip .foot .onb-legal{font-size:0}body.onb-strip .foot .onb-legal a{font-size:.75rem;padding:0 6px}}/* phone: the sentence and the dots drop out, three links stay */
body.onb-strip #onboard .onb-foot>.cta-row{display:grid!important;grid-template-columns:auto auto 1fr;justify-items:start;gap:0 16px}body.onb-strip #onb-demo{grid-column:1/-1;max-width:none}body.onb-strip #onb-next,body.onb-strip #onb-skip{grid-row:2}
@media (max-width:600px){body.onb-strip #onb-demo{justify-self:stretch}}
