:root{--accent-red:#c43c45;--accent-soft:#fff0ed;--accent-shadow:#c43c4526}
:root{--bg:#f7f3eb;--ink:#292826;--green:#292826;--muted:#655f55;--line:#dedfd5;--gold:#8d7348;--orange:var(--accent-red);--white:#ffffff;--radius:23px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #dc9c35;outline-offset:4px}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}a{color:inherit}.topbar{max-width:1260px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:23px;letter-spacing:-.8px;font-weight:800;text-decoration:none;display:flex;align-items:center;gap:10px}.brandmark{background:var(--green);color:#f7d56f;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:25px}.header-note{font-size:12px;color:var(--muted)}.help-btn,.text-btn,.hear,.close{border:0;background:none;color:var(--ink)}.help-btn{font-size:13px}.help-btn span{margin-left:10px}main{max-width:1180px;margin:auto;padding:0 40px}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;align-items:center;padding:65px 0 50px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;line-height:1.5}.small-dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:7px}h1{font-size:clamp(38px,4.8vw,60px);letter-spacing:-2.3px;line-height:1.07;font-weight:500;margin:21px 0}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--orange)}.intro{font-size:15px;line-height:1.7;color:var(--muted)}.instrument{background:#edeeda;border:1px solid #e0e4ca;border-radius:150px 150px 24px 24px;min-height:265px;padding:30px 10px 22px;text-align:center;transform:rotate(-3deg)}.instrument-tag,.instrument-foot{display:block;font-size:8px;font-weight:700;letter-spacing:2px}.instrument svg{width:100%;margin:30px 0 0;transform:rotate(3deg)}.instrument-foot{color:#687653;margin-top:-5px}.lobby-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:24px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}.setup{padding:30px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.pill{display:inline-block;background:#eef1e7;border:1px solid #e0e4d6;padding:6px 9px;border-radius:20px;font-size:10px;white-space:nowrap}.setup h2{font-size:26px;font-weight:500;letter-spacing:-.7px;margin:23px 0 26px}fieldset{padding:0;margin:0 0 24px;border:0;min-width:0}legend{font-size:12px;font-weight:700;margin-bottom:12px}label{cursor:pointer}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:10px}.segmented label input,.mode-options input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;border:1px solid var(--line);border-radius:12px;padding:14px 16px;font-size:14px;font-weight:700}.segmented small,.mode-options small{display:block;font-size:11px;font-weight:400;margin-top:6px;color:var(--muted)}input:checked+span{background:#f7f3eb;border-color:var(--green);box-shadow:inset 0 0 0 .5px var(--green)}input:focus-visible+span{outline:3px solid #dc9c35;outline-offset:3px}.mode-options{display:grid;gap:8px}.mode-options label{display:flex;position:relative}.mode-options label>span:first-of-type{flex:1;padding:13px 17px;border:1px solid var(--line);border-radius:12px}.mode-options b{font-size:13px}.mode-options label>span:last-child{position:absolute;right:18px;top:20px;font-size:15px;pointer-events:none}.primary{width:100%;border:0;border-radius:12px;background:var(--green);color:#fffdf4;font-size:14px;font-weight:700;padding:17px 22px;display:flex;align-items:center;justify-content:center;gap:15px;transition:background .15s,transform .15s}.primary:hover:not(:disabled){background:#292826}.primary:active:not(:disabled){transform:translateY(1px)}.start{justify-content:space-between}.quiet{font-size:10px;color:var(--muted);line-height:1.6}.setup>.quiet{text-align:center;margin:14px 0 0}.side{display:grid;gap:22px}.progress{background:#f7f3eb;border-color:#ddd4c5;padding:28px}.trail-icon{width:52px;height:52px;border-radius:50%;background:#d9e1ce;display:grid;place-items:center;font-size:35px;color:var(--green);margin:23px 0}.progress h2{font-family:Georgia,serif;font-size:27px;letter-spacing:-.7px;font-weight:400;margin:0 0 14px}.progress p{font-size:13px;line-height:1.65;color:#5a6a5c}.stats{display:flex;gap:25px;border-top:1px solid #ddd4c5;padding-top:23px;margin-top:23px}.stats strong{display:block;font-size:25px;letter-spacing:-1px}.stats span{display:block;font-size:9px;margin-top:7px;color:var(--muted)}.progress .quiet{font-size:10px;margin-top:20px}.tip{padding:0 22px 5px;border-left:2px solid #dda859;margin:0 12px}.tip .eyebrow{color:#925324}.tip p{font-family:Georgia,serif;font-size:18px;line-height:1.5;margin:10px 0 0}.bottomline{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:28px 0 45px}footer{max-width:1260px;margin:0 auto;padding:25px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px}footer b{color:var(--orange);padding:0 5px}footer button{font-size:10px}#game{padding:30px 0 65px}.game-top{display:flex;justify-content:space-between;align-items:center}.text-btn{font-size:12px;padding:9px 0;text-decoration:underline;text-underline-offset:4px}.round-bar{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px}.round-bar h1{font-size:34px;letter-spacing:-1px;margin:9px 0 0}.scorebox{display:flex;gap:10px;font-size:12px}.scorebox span{border:1px solid var(--line);border-radius:20px;padding:10px 14px}.track{height:5px;background:#e4e5d9;border-radius:5px;margin-bottom:30px;overflow:hidden}.track div{height:100%;background:var(--orange);transition:width .3s}.play-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:24px}.music-card{padding:25px;display:flex;flex-direction:column;justify-content:space-between;min-height:440px}.hear{font-size:11px;color:#8c552f;border:1px solid #e4d6bd;background:#fbf4e7;border-radius:20px;padding:8px 12px}.staff-svg{width:100%;display:block;max-height:265px;margin:25px 0 5px}.music-caption{text-align:center;font-size:10px;color:var(--muted);margin:0}.music-bottom{display:flex;gap:10px;align-items:center;justify-content:center;color:var(--muted);font-size:11px;border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.music-bottom>span:first-child{color:var(--orange);font-size:20px}.answer-card{padding:28px}.answer-card legend{font-size:14px;display:flex;align-items:center;gap:9px}.step{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eff0e6;font-size:11px}.letter-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.choice{padding:13px 4px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:17px;font-weight:700;min-height:46px}.choice:hover{background:#f1f1e8}.choice[aria-pressed=true]{background:var(--green);color:#fff; border-color:var(--green)}.accidental-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.accidental-grid .choice{font-size:12px;font-weight:400}.position-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.position-grid .none-choice{grid-column:1/-1;font-size:12px;font-weight:400}.reveal{width:100%;margin-top:8px;font-size:11px}.feedback-badge{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#29755b}.feedback-badge.miss{color:#a2502b}.feedback-title{font-family:Georgia,serif;font-size:30px;margin:12px 0 22px}.answer-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid var(--line);font-size:13px}.answer-row strong{font-size:17px}.feedback-note{font-size:12px;line-height:1.65;color:var(--muted)}#next{margin-top:24px}.result{max-width:650px;margin:60px auto;padding:40px;text-align:center}.result-symbol{font-size:60px;color:var(--orange);margin:20px 0}.result h1{font-family:Georgia,serif;font-size:38px;letter-spacing:-1px}.result-score{font-size:20px}.result-stats{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:20px 0}.result>p{line-height:1.6;color:var(--muted);font-size:14px}.result-actions{display:grid;gap:12px;margin-top:30px}.secondary{border:1px solid var(--green);background:none;border-radius:12px;padding:15px;color:var(--green);font-weight:700;font-size:13px}dialog{border:1px solid var(--line);border-radius:22px;max-width:620px;width:calc(100% - 28px);max-height:88vh;background:var(--white);color:var(--ink);padding:30px}dialog::backdrop{background:#292826a6;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.close{font-size:28px;padding:0 5px}dialog h2{font-family:Georgia,serif;font-size:30px;margin:18px 0}dialog h3{font-size:14px;margin:25px 0 8px}dialog p{font-size:13px;line-height:1.7;color:#5e6e62}.sources a{line-height:2.2}.choice:disabled{opacity:1}.answer-card form:has(.choice:disabled){opacity:.6}@media(max-width:800px){.header-note{display:none}.hero{gap:25px}.instrument{min-height:220px}.lobby-grid{grid-template-columns:1.25fr 1fr}.setup,.progress{padding:22px}.section-top .pill{font-size:9px}.hero h1{font-size:43px}.intro{font-size:13px}.play-grid{gap:16px}.answer-card{padding:20px}.music-card{padding:20px}.scorebox{gap:5px}.scorebox span{font-size:11px;padding:9px}.letter-grid,.position-grid{gap:4px}.choice{font-size:15px}}@media(max-width:600px){.topbar{padding:19px 20px}.brand{font-size:21px}.help-btn{font-size:11px}main{padding:0 20px}.hero{display:block;padding:36px 0 27px}.hero h1{font-size:46px;letter-spacing:-1.8px}.instrument{display:none}.intro{font-size:14px}.desktop{display:none}.lobby-grid{display:block}.side{margin-top:20px;grid-template-columns:1fr}.progress{padding:24px}.trail-icon{float:right;margin:15px 0 0}.progress h2{font-size:26px;margin-top:20px}.tip{margin:0 8px}.bottomline{display:block;line-height:1.8;padding-bottom:30px}.bottomline span{display:block}footer{padding:20px;gap:12px;align-items:start;font-size:9px}footer>span{max-width:130px}footer button{max-width:160px;text-align:right}#game{padding-top:22px}.round-bar{align-items:start;gap:10px}.round-bar h1{font-size:29px;letter-spacing:-.8px}.scorebox{flex-direction:column;gap:6px;text-align:center}.scorebox span{font-size:10px;padding:6px 9px}.track{margin-bottom:18px}.play-grid{display:block}.music-card{min-height:250px;margin-bottom:16px}.staff-svg{height:180px;margin:8px 0 0}.music-bottom{display:none}.music-caption{margin:0 0 8px}.answer-card{padding:22px}.position-grid,.letter-grid{gap:7px}.choice{padding:12px 3px}.result{padding:25px;margin:30px auto}.result h1{font-size:33px}.game-top>.pill{font-size:9px}.game-top button{font-size:11px}.setup .section-top .pill{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.install-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:17px 0;font-size:11px;color:var(--muted)}.install-strip b{color:var(--ink)}.install-button{border:1px solid var(--green);border-radius:20px;padding:9px 15px;background:none;color:var(--green);white-space:nowrap;font-size:11px;font-weight:700}html[data-native=true] .install-strip{display:none}body{padding-bottom:env(safe-area-inset-bottom)}@media(max-width:600px){.install-strip{gap:10px;font-size:10px;line-height:1.5}.install-strip b{display:block}.install-button{font-size:10px;padding:8px 12px}}
.player-bar{padding:19px 24px;margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.player-bar select{background:transparent;border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:15px;color:var(--ink);max-width:220px;margin:5px 10px 0 0}.player-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.player-actions .secondary{padding:10px 12px;font-size:11px}.player-actions a{font-size:10px}.player-actions #account-label{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-bar #sync-status{flex-basis:100%;margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#score-dashboard{padding:30px 0 50px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.metric{padding:24px}.metric span{font-size:11px;color:var(--muted)}.metric strong{display:block;font-size:34px;letter-spacing:-1px;margin-top:10px}.score-panel{padding:24px;margin-top:20px}.score-panel h2{font-size:20px;font-weight:500;margin-top:0}.mode-line{display:grid;grid-template-columns:140px 1fr 60px;align-items:center;gap:15px;margin:17px 0;font-size:12px}.mode-line progress{width:100%;height:11px;accent-color:var(--green)}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}td,th{padding:15px 10px;border-bottom:1px solid var(--line)}th{font-size:10px;color:var(--muted)}.table-scroll{overflow:auto}.table-scroll td{white-space:nowrap}.trend-bars{display:flex;align-items:end;gap:8px;height:150px}.trend-day{flex:1;text-align:center;min-width:30px}.trend-bar{background:#8d7348;border-radius:5px 5px 0 0;min-height:2px}.trend-day small{font-size:9px;color:var(--muted);display:block;margin-top:6px}#profile-name{width:100%;border:1px solid var(--line);border-radius:10px;padding:14px;font-size:16px;margin:12px 0}.new-profile-help{font-size:12px;line-height:1.6}.error{color:#a64227!important}@media(max-width:600px){.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:17px}.metric strong{font-size:27px}.metric span{font-size:10px}.player-bar{padding:18px}.player-actions{width:100%;justify-content:space-between}.player-bar select{max-width:190px}.mode-line{grid-template-columns:110px 1fr 45px;gap:9px;font-size:11px}.score-panel{padding:17px}.trend-bars{gap:4px;overflow:auto}.trend-day{min-width:33px}#score-dashboard .round-bar{flex-wrap:wrap}.player-actions #account-label{max-width:110px}}

.brandmark{width:38px;height:38px;background:none;border-radius:9px}.brandmark svg{width:100%;height:100%;display:block}.brand{letter-spacing:-.7px;gap:11px}.instrument{background:#292826;border:0;border-radius:30px;transform:none;padding:28px;min-height:300px;box-shadow:0 14px 35px #2928260d}.instrument svg{width:170px;height:170px;display:block;margin:16px auto 13px;transform:none}.instrument-tag{color:#ddd4c5;opacity:.85}.instrument-foot{color:#f1dfb5;margin:0;font-size:9px;letter-spacing:2.2px}@media(max-width:800px){.instrument{padding:25px 10px;min-height:265px}.instrument svg{width:140px;height:140px}.instrument-tag{font-size:7px}}

.rhythm-entry{margin-top:24px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.rhythm-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.rhythm-lesson{padding:28px;margin:24px 0}.rhythm-lesson p{line-height:1.7}.rhythm-lesson select{width:100%;padding:12px;margin:12px 0}.rhythm-lesson input[type=range]{display:block;width:100%;margin:18px 0}.rhythm-value{display:flex;align-items:center;gap:16px;border-bottom:1px solid #dfded4;padding:8px}.rhythm-value svg{width:64px;height:64px}#rhythm-example svg{width:100%;height:100px}#rhythm-counts{display:flex;gap:3px;flex-wrap:wrap;margin:12px 0}#rhythm-counts span{padding:8px;background:#efeee5;border-radius:6px;min-width:26px;text-align:center}#rhythm-counts .active{background:#292826;color:white}#rhythm-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}#rhythm-choices button{padding:16px;border:1px solid #b6c9bf;border-radius:10px;background:#f5f6ef;color:#292826;font:inherit;text-align:left}#rhythm-choices button:disabled{opacity:.7}#rhythm-choices button[data-correct=true]{background:#f7f3eb;border-color:#292826}@media(max-width:700px){.rhythm-grid{grid-template-columns:1fr;gap:0}.rhythm-entry{align-items:stretch;flex-direction:column}.rhythm-lesson{padding:20px}#rhythm-choices{grid-template-columns:1fr}}

.mission-reward{font-size:24px;color:#97631b;background:#fff1cf;border-radius:18px;padding:18px;margin:18px auto;font-weight:700}.rhythm-entry{background:#f5efe2}.setup{border-top:6px solid #8d7348}.progress{border-top:6px solid #ddd4c5}.primary{min-height:48px}#rhythm-feedback{font-weight:600}.letter-grid button,.position-grid button{min-height:48px}

.sensei-logo{text-align:center}.sensei-logo img{display:block;width:100%;max-width:340px;height:auto;margin:auto}.hero{padding:28px 0;gap:24px;grid-template-columns:1fr 1fr}@media(max-width:700px){.hero{grid-template-columns:1fr;gap:12px;padding:24px 0}.sensei-logo img{max-width:240px}.hero h1{font-size:32px;margin:0}}

.hero .sound-heading{font-size:clamp(50px,6.5vw,82px);font-weight:800;letter-spacing:-3px;line-height:1.02;color:#292826;margin:0;position:relative;padding-bottom:24px}.sound-heading em{font-family:Georgia,serif;font-weight:500;color:#ae6b12;letter-spacing:-2px}.sound-heading:after{content:"";display:block;width:76px;height:5px;border-radius:6px;background:#efb542;margin-top:22px}@media(max-width:700px){.hero .sound-heading{font-size:48px;letter-spacing:-1.8px;text-align:center;padding-bottom:0}.sound-heading:after{margin:14px auto 0;width:54px;height:4px}}

.hero .sound-heading{font-size:clamp(36px,4.3vw,58px);line-height:1.12;letter-spacing:-1.8px}.sound-heading em{letter-spacing:-1px}@media(max-width:700px){.hero .sound-heading{font-size:36px}}

dialog form{display:grid;gap:12px;margin-bottom:24px}dialog input,dialog select{font:inherit;padding:12px;border:1px solid #b5bdb4;border-radius:8px;width:100%}dialog label{font-weight:600}dialog{max-height:90dvh;overflow:auto}#owner-dashboard{font-size:13px}

#slide-chart{width:min(1000px,95vw);max-width:1000px}.chart-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.chart-note{border:1px solid #d9dfd7;border-radius:12px;padding:12px;text-align:center;background:#ffffff}.chart-note .staff-svg{width:100%;height:110px;margin:0}.chart-note h3{margin:0 0 10px;font-size:18px}.chart-position{font-weight:700;font-size:20px;color:#292826}.chart-trigger{color:#87590c;font-weight:700;margin-top:8px}.chart-note svg{display:block}.chart-actions{display:flex;gap:12px;align-items:center}@media(max-width:600px){.chart-grid{grid-template-columns:repeat(2,1fr)}.chart-note{padding:8px}.chart-note .staff-svg{height:95px}}@media print{body>*{display:none!important}body>#slide-chart{display:block!important;position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0}.chart-grid{grid-template-columns:repeat(3,1fr)}.chart-note{break-inside:avoid}.chart-actions button,#slide-chart .close{display:none!important}}

.study-chart{margin:30px 0;padding:26px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.study-controls{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0}.study-controls label{display:grid;gap:8px;font-weight:700}.study-controls select{padding:10px;border-radius:8px;font:inherit;background:#ffffff}.chart-note details{margin:12px 0;text-align:left;font-size:13px;line-height:1.6}.chart-note summary{cursor:pointer;font-weight:700;color:#292826}.chart-note h3{font-size:22px}.chart-position{font-size:24px}.study-chart .chart-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:900px){.study-chart .chart-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.study-chart{padding:16px}.study-chart .chart-grid{grid-template-columns:repeat(2,1fr)}.chart-note h3{font-size:18px}.chart-position{font-size:20px}}@media print{body>main{display:block!important}#lobby{display:block!important}#lobby>*:not(#slide-chart){display:none!important}#game,#results,#score-dashboard,#rhythm{display:none!important}#slide-chart{display:block!important;max-height:none;overflow:visible;margin:0;padding:0}.study-controls,.chart-note details,#print-slide-chart{display:none!important}.study-chart .chart-grid{grid-template-columns:repeat(3,1fr)}}

.practice-nav{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 24px}.practice-nav a,.practice-nav button{display:block;padding:14px 20px;border:1px solid #c6d0c8;border-radius:12px;background:#ffffff;text-decoration:none;font:inherit;font-weight:700;color:#292826;min-height:48px}.practice-nav a:hover,.practice-nav button:hover{background:#ecf0e8}.player-actions{flex-wrap:wrap;gap:12px}.hero{padding:20px 0}.sensei-logo img{max-width:270px}#note-practice,#slide-chart{scroll-margin-top:20px}#owner-login-details{margin:20px 0;padding:16px;background:#f5f4ec;border-radius:12px}#owner-login-details summary{cursor:pointer;font-weight:700;margin-bottom:12px}@media(max-width:600px){.topbar{padding:16px 20px;flex-wrap:wrap;gap:12px}.topbar .brand{font-size:20px}.topbar .help-btn{margin-left:auto}.player-bar{padding:18px!important}.player-actions{width:100%;justify-content:flex-start!important}.practice-nav{gap:8px}.practice-nav a,.practice-nav button{flex:1;min-width:110px;text-align:center;padding:12px 10px;font-size:13px}.sensei-logo img{max-width:190px}.hero .sound-heading{font-size:32px}.study-controls{gap:12px}.study-controls label{flex:1;min-width:135px}.study-controls select{width:100%}}

/* Readable type and clear sign-in across practice and account screens. */
:root{font-size:16px}body{line-height:1.5}.quiet,.header-note,.music-caption,.feedback-note,.pill,.eyebrow,footer,.game-top button,.game-top>.pill,.scorebox span,.setup .quiet,.mode-options small,.segmented small,.stats span,.metric span,.chart-note details{font-size:14px!important;line-height:1.55}.eyebrow{letter-spacing:1px}.quiet,.header-note{color:#48584f}button,.text-btn,.help-btn,.hear,.install-button,select,input,dialog p,dialog label,td,th{font-size:16px!important}button,a.secondary{min-height:44px}#sign-in{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#292826;color:#ffffff;padding:12px 22px;border-radius:12px;text-decoration:none;font-weight:700;font-size:18px;min-height:52px;box-shadow:0 4px 12px #29282618}#sign-in:hover{background:#292826}.login-symbol{width:30px;height:30px;flex:none}.player-actions{align-items:center}.player-actions a:not(#sign-in){font-size:16px}.mode-options label{line-height:1.5}dialog form input,dialog form select{min-height:48px}.chart-note details p{color:#292826}.result-stats{font-size:16px}.topbar{gap:16px}.header-note{max-width:220px}.sources{font-size:16px!important}footer{align-items:center!important}.trend-day small{font-size:13px!important}@media(max-width:600px){.topbar{flex-wrap:wrap}.player-actions #sign-in{flex:1;min-width:160px}.help-btn{white-space:nowrap}.segmented small,.mode-options small{display:block}.game-top{flex-wrap:wrap}.scorebox span{font-size:14px!important}.position-grid,.letter-grid{gap:6px}.choice{font-size:16px!important}.practice-nav a,.practice-nav button{font-size:15px!important}.chart-heading{flex-wrap:wrap}footer>span,footer button{max-width:none!important}footer{flex-wrap:wrap!important}}

.signup-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#account-list>p{padding:14px;border-bottom:1px solid #d9dfd7;line-height:1.6}#account-list button{margin-left:12px}#open-signup{width:100%;margin-bottom:16px}

.meter-reference{margin:20px 0}.meter-reference summary{font-weight:700;cursor:pointer;padding:12px 0}

.sync-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.sync-timeline>div{padding:12px 4px;border:1px solid #cad3ca;border-radius:8px;text-align:center}.sync-timeline span{display:block;font-size:14px}.sync-timeline b{font-size:22px}

.maintenance-area{padding:26px;margin:30px 0;scroll-margin-top:20px}.care-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.care-grid article{border:1px solid #d1d9d1;padding:20px;border-radius:14px}.care-grid li{margin:10px 0;line-height:1.65}.care-grid p{line-height:1.65}.care-checklist{list-style:none;padding:0}.care-checklist label{display:flex;gap:12px;align-items:flex-start}.care-checklist input{width:22px;height:22px;flex:none}.care-sources{margin-top:20px}.care-sources summary{font-weight:700;cursor:pointer}.care-sources li{margin:12px 0}@media(max-width:650px){.care-grid{grid-template-columns:1fr}.maintenance-area{padding:16px}}

.key-panel{padding:24px;margin:24px 0}.key-panel select{font:inherit;padding:12px;margin:12px}.key-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.key-choices button{padding:12px}#keys-staff svg{width:100%;max-width:600px;display:block;margin:auto}#keys-feedback{font-size:18px;font-weight:700}@media(max-width:650px){.key-choices{grid-template-columns:repeat(3,1fr)}}

.flashcard-deck{padding:20px 0;border-bottom:1px solid #ddd4c5;margin-bottom:24px}.flashcard-deck h3{font-size:22px}.flash-front{min-height:160px;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:16px}.flash-front svg{width:100%;max-width:480px}.flash-answer{padding:18px;background:#f3ecd9;border-radius:12px;margin-top:12px;font-size:18px}.flash-answer h4{font-size:24px;margin:0 0 12px}.flash-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.flash-progress{font-size:16px}.meter-card{display:flex;flex-direction:column;font-family:Georgia,serif;font-weight:bold;font-size:64px;line-height:1;text-align:center;padding:20px}.flash-quiz{margin-top:4px}

.thein-feature{display:flex;align-items:center;gap:22px;max-width:670px;margin:0 auto 28px;padding:18px 24px;border:1px solid #ddd4c5;border-radius:18px;background:#ffffff;text-decoration:none;color:#292826}.thein-feature img{width:82px;height:auto;flex-shrink:0}.thein-feature>span{display:flex;flex-direction:column;gap:6px;font-size:17px;line-height:1.45}.thein-feature strong{font-size:20px}.thein-visit{font-size:16px;text-decoration:underline;text-underline-offset:4px}.thein-feature:hover{border-color:#292826}.thein-feature:focus-visible{outline:3px solid var(--action);outline-offset:4px}@media(max-width:480px){.thein-feature{gap:16px;padding:16px}.thein-feature img{width:68px}.thein-feature>span{font-size:16px}}

:root{--bg:#f7f3eb;--ink:#292826;--green:#292826;--muted:#655f55;--line:#ddd4c5;--gold:#8d7348;--orange:var(--accent-red);--white:#ffffff}.primary{background:#292826}.primary:hover:not(:disabled){background:#292826}.secondary{background:#ffffff;color:#292826;border:1px solid #b9a88c}.progress{background:#f7f3eb}.setup{border-top-color:#8d7348}input:checked+span{background:#f7f3eb}.practice-nav a:hover,.practice-nav button:hover{background:#f7f3eb}.flashcard-hub{padding:28px;margin-bottom:28px;max-width:760px;margin-left:auto;margin-right:auto}.flashcard-hub select{display:block;width:100%;padding:14px;border:1px solid #b9a88c;border-radius:10px;background:#ffffff;color:#292826;font:inherit;margin:10px 0 20px}.flashcard-hub label{font-size:16px;font-weight:700}.flashcard-deck{border:0;margin:0;padding-bottom:0}.flashcard-deck h3{font-size:24px}.flash-flip{margin-top:18px}.flash-navigation{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.flash-navigation button{width:100%;min-height:48px}.flash-quiz{display:block;margin:18px auto 0}.flashcard-hub .flash-front{border:1px solid #ddd4c5}.flashcard-hub .flash-answer{background:#f7f3eb}.flashcard-hub .flash-answer h4{margin-bottom:10px}#flashcards{scroll-margin-top:24px}@media(max-width:600px){.flashcard-hub{padding:20px}.flash-navigation{gap:10px}.flash-navigation button{padding:14px 8px}}

.home-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:18px 0 28px}.menu-option{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffff;border:1px solid #ddd4c5;border-radius:18px;padding:26px;text-align:left;color:#292826;font:inherit;width:100%;min-height:120px}.menu-option>span:first-child{display:grid;gap:12px}.menu-option strong{font-size:26px}.menu-option>span:first-child>span{font-size:17px;line-height:1.5;color:#655f55}.menu-option:hover{border-color:var(--action);background:#f7f3eb}.home-sections .menu-option{border-top:5px solid #8d7348;align-items:flex-start;min-height:200px}.home-progress{margin:28px 0;display:block}.home-progress .progress{padding:22px}.home-progress .stats{margin-top:12px;padding-top:16px}.section-menu{max-width:760px;margin:24px auto 60px}.section-options{display:grid;gap:16px}.section-back{display:block;margin-bottom:20px!important;text-align:left}.flashcard-hub{margin-top:26px}#note-practice{max-width:760px;margin:26px auto 60px}#printable-scales{padding:28px;margin:26px auto 60px;max-width:850px}#maintenance{margin-top:26px}#rhythm-quiz-page{max-width:850px;margin:26px auto 60px}.thein-feature{margin-top:32px}.topbar{gap:18px}.topbar .help-btn{margin-left:auto}@media(max-width:700px){.home-sections{grid-template-columns:1fr;gap:14px}.home-sections .menu-option{min-height:120px;padding:22px}.menu-option strong{font-size:24px}.menu-option>span:first-child>span{font-size:16px}.section-options .menu-option{padding:22px}#printable-scales{padding:22px}}
/* The deck selector already names the topic; avoid a second competing heading. */
.flashcard-hub .flashcard-deck h3{display:none}.flashcard-hub .flashcard-deck{padding-top:0}.flashcard-hub h2{margin:8px 0 20px}.flashcard-hub .section-back{margin-bottom:12px!important}.flashcard-hub select{margin:8px 0 16px}.flashcard-hub .flash-progress{margin:8px 0 16px}@media(max-width:600px){.flashcard-hub .staff-svg{height:145px;margin:0}.flashcard-hub .flash-front{min-height:145px}.topbar{padding:12px 20px;gap:8px}.flashcard-hub h2{margin-bottom:16px}}

#sound-settings{width:min(480px,92vw)}#sound-settings label{display:block;font-size:17px;margin:20px 0 10px}#sound-settings select{width:100%;font:inherit;padding:14px;border:1px solid #b9a88c;border-radius:10px;background:#ffffff}#sound-settings input[type=range]{width:100%;margin:12px 0 20px}#sound-settings .sound-toggle{display:flex;gap:12px;align-items:center}#sound-settings input[type=checkbox]{width:22px;height:22px}.sound-previews{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sound-previews button{padding:14px 8px;font-size:16px}
/* Spacious page rhythm, with one primary purpose per screen. */
main{max-width:1120px;padding:0 36px}body{line-height:1.5}.topbar{max-width:1120px;display:grid;grid-template-columns:1fr auto auto;padding:24px 36px;gap:24px;align-items:center}.topbar .brand{font-size:23px;letter-spacing:-.5px}.topbar #sign-in{flex:none;min-width:0;font-size:16px;min-height:46px;padding:10px 18px;box-shadow:none}.topbar .login-symbol{width:24px;height:24px}.site-menu{position:relative}.site-menu>summary{list-style:none;cursor:pointer;font-weight:700;font-size:16px;padding:12px 16px;border:1px solid #ddd4c5;border-radius:10px;min-height:46px}.site-menu>summary::-webkit-details-marker{display:none}.site-menu-content{position:absolute;z-index:20;right:0;top:calc(100% + 12px);width:250px;padding:14px;background:#ffffff;border:1px solid #ddd4c5;border-radius:16px;box-shadow:0 12px 32px #29282618;display:grid;gap:10px}.site-menu-content button,.site-menu-content a{width:100%;text-align:left;justify-content:flex-start;font:inherit;font-size:16px;text-decoration:none;padding:12px 14px;border:0;border-radius:8px;min-height:44px;background:transparent;color:#292826}.site-menu-content button:hover,.site-menu-content a:hover{background:#f7f3eb}.site-menu-content .install-strip{padding:0;margin:0;display:block;border:0}.site-menu-content .install-strip>span{display:none}.site-menu-content .help-btn{margin:0}.hero{padding:64px 0 58px;gap:56px;grid-template-columns:1.3fr 1fr}.hero .sound-heading{font-size:clamp(36px,4vw,52px);line-height:1.16}.sensei-logo img{max-width:250px}.home-sections{gap:28px;margin:0 0 48px}.home-sections .menu-option{padding:30px;min-height:185px;border-top-width:3px}.menu-option>span:first-child{gap:16px}.menu-option strong{font-size:25px}.menu-option>span:first-child>span{font-size:16px;line-height:1.6}.player-summary{margin:0 0 48px;border-top:1px solid #ddd4c5;border-bottom:1px solid #ddd4c5;padding:18px 0}.player-summary>summary{font-size:17px;font-weight:700;cursor:pointer;padding:10px 0}.player-summary .player-bar{margin-top:18px;padding:24px;gap:20px}.player-summary .home-progress{margin:24px 0 12px}.thein-feature{margin:56px auto 64px;padding:22px 28px;border-color:transparent;background:transparent}.thein-feature img{width:70px}.thein-feature strong{font-size:18px}.thein-feature>span{font-size:16px;gap:8px}.section-menu{margin:40px auto 80px;max-width:780px}.section-menu h1{margin:24px 0 36px;font-size:42px}.section-options{gap:22px}.section-options .menu-option{padding:28px;min-height:126px}.section-back{margin:0 0 32px!important;padding:8px 0}.flashcard-hub{background:transparent;border:0;padding:0;margin:40px auto 80px;max-width:760px}.flashcard-hub h2{font-size:36px;margin:12px 0 32px}.flashcard-hub select{padding:14px 16px;margin:10px 0 24px;min-height:50px}.flashcard-hub .flash-front{min-height:210px;margin-top:24px}.flashcard-hub .staff-svg{height:205px;margin:0}.flashcard-hub .flash-answer{padding:24px;margin-top:20px}.flash-navigation{gap:18px;margin-top:18px}.flash-flip{margin-top:24px}.flash-quiz{margin-top:28px}#note-practice,#printable-scales{padding:36px;margin:40px auto 80px}#note-practice fieldset{margin-bottom:30px}#note-practice h2{margin:8px 0 32px}.mode-options{gap:14px}.segmented{gap:14px}.rhythm-lesson,.key-panel{padding:32px;margin:32px 0}.rhythm-grid{gap:32px}.care-grid{gap:26px}.care-grid article{padding:28px}.maintenance-area{padding:36px}#rhythm,#keys{padding:40px 0 80px}.key-choices{gap:16px}.key-choices button{min-height:52px}.play-grid{gap:32px}.music-card,.answer-card{padding:32px}dialog{padding:32px}dialog form{gap:16px}footer{max-width:1120px;padding:28px 36px;margin-top:24px}.stats{gap:42px}@media(max-width:700px){main{padding:0 24px}.topbar{padding:20px 24px;gap:12px}.topbar .brand{font-size:18px;gap:8px}.topbar .brandmark{width:30px;height:30px}.topbar #sign-in{font-size:15px;padding:10px 12px;gap:7px}.site-menu>summary{font-size:15px;padding:10px 12px}.hero{padding:40px 0;gap:28px;grid-template-columns:1fr}.hero .sound-heading{font-size:32px;line-height:1.2}.sensei-logo img{max-width:190px}.home-sections{gap:20px;margin-bottom:36px}.home-sections .menu-option{padding:24px;min-height:124px}.menu-option strong{font-size:23px}.menu-option>span:first-child{gap:10px}.player-summary{margin-bottom:36px}.player-summary .player-bar{padding:20px}.thein-feature{margin:40px auto 48px;padding:12px 0;gap:20px}.thein-feature img{width:62px}.section-menu{margin:32px auto 64px}.section-menu h1{font-size:34px;margin-bottom:28px}.section-options{gap:18px}.section-options .menu-option{padding:24px;min-height:120px}.flashcard-hub{margin:32px auto 64px;padding:0}.flashcard-hub h2{font-size:32px;margin-bottom:28px}.flashcard-hub .section-back{margin-bottom:24px!important}.flashcard-hub .flash-front{min-height:170px}.flashcard-hub .staff-svg{height:170px}.flash-navigation{gap:14px}.flashcard-hub .flash-answer{padding:22px}#note-practice,#printable-scales{padding:24px;margin:32px auto 64px}.rhythm-lesson,.key-panel,.maintenance-area{padding:24px}.rhythm-grid{gap:0}.care-grid{gap:20px}.care-grid article{padding:22px}.key-choices{grid-template-columns:repeat(3,1fr);gap:12px}.key-panel select{margin:12px 0;max-width:100%}.music-card,.answer-card{padding:24px}dialog{padding:24px}footer{padding:24px}.section-back{margin-bottom:28px!important}}@media(max-width:370px){.topbar #sign-in span{display:none}.topbar #sign-in{width:44px;padding:10px}.topbar{gap:10px}.topbar .brand{font-size:17px}}

.scale-downloads{display:grid;gap:22px;margin:32px 0}.scale-download{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:20px;padding:26px;border:1px solid #ddd4c5;border-radius:16px;color:#292826;background:#ffffff;text-decoration:none}.scale-download:hover{border-color:var(--action);background:#f7f3eb}.scale-icon{width:42px;height:42px}.scale-download>span:nth-child(2){display:grid;gap:8px}.scale-download strong{font-size:23px}.scale-download>span:nth-child(2)>span{font-size:16px;color:#655f55;line-height:1.5}.scale-download-action{font-size:16px;font-weight:700;white-space:nowrap}@media(max-width:600px){.scale-download{grid-template-columns:36px 1fr;padding:22px;gap:14px}.scale-icon{width:34px;height:34px}.scale-download strong{font-size:21px}.scale-download-action{grid-column:2;margin-top:4px}}

/* A discreet manufacturer link above the main branding. */
.thein-feature{max-width:none;margin:0;padding:14px 0;gap:12px;border:0;border-bottom:1px solid #ddd4c5;border-radius:0;background:transparent;justify-content:flex-end;box-shadow:none}.thein-feature img{width:38px;height:auto}.thein-feature>span{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:15px;line-height:1.5}.thein-feature strong{font-size:15px}.thein-feature .thein-visit{font-size:16px;text-decoration:none}.thein-feature:hover{background:transparent;border-bottom-color:#8d7348}@media(max-width:700px){.thein-feature{justify-content:flex-start;padding:12px 0;gap:12px}.thein-feature img{width:34px;flex-shrink:0}.thein-feature>span{display:block;font-size:14px;line-height:1.5}.thein-feature strong{display:block;font-size:14px;margin-bottom:2px}.thein-feature .thein-visit{display:none}.hero{padding-top:32px}}

.meme-preview-list,.sound-credits{margin-top:24px}.meme-preview-list summary,.sound-credits summary{cursor:pointer;font-weight:700;font-size:16px;min-height:44px;padding:10px 0}#meme-clips{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}#meme-clips button{font-size:15px;padding:12px 8px;min-height:48px}.sound-credits p{font-size:14px;line-height:1.6}

.menu-option .card-chevron{display:grid;place-items:center;width:48px;height:48px;min-width:48px;flex-shrink:0;border-radius:14px;background:#f7f3eb;color:#292826;align-self:center;border:1px solid #ddd4c5}.card-chevron svg{display:block;width:25px;height:25px}.menu-option:hover .card-chevron{background:#292826;border-color:#292826;color:#ffffff}.menu-option:focus-visible .card-chevron{background:#292826;color:#ffffff}@media(max-width:700px){.menu-option .card-chevron{width:44px;height:44px;min-width:44px;border-radius:13px}.card-chevron svg{width:24px;height:24px}}

.instrument-choice{display:block;font-size:16px;font-weight:700;margin:0 0 24px}.instrument-choice select{display:block;width:100%;font:inherit;padding:14px 16px;margin-top:10px;border:1px solid #b9a88c;border-radius:10px;background:#ffffff;color:#292826;min-height:50px}

.rhythm-question-notation{display:block;width:100%;max-width:680px;margin:16px auto 24px;color:#292826;background:#fff;border:1px solid #ddd4c5;border-radius:12px;padding:12px;min-height:140px}.rhythm-diagram-caption{font-size:15px;color:#655f55;line-height:1.6;margin:18px 0 12px}.beat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin:16px 0 28px}.beat-cell{border:1px solid #ddd4c5;border-radius:9px;text-align:center;padding:12px 4px;background:#fff}.beat-cell b{display:block;font-size:14px;font-weight:600}.beat-cell span{display:block;font-size:14px;text-transform:uppercase;margin-top:10px}.beat-cell.play,.beat-cell.accent{background:#f7f3eb;border-color:#8d7348}.beat-cell.hold{background:#f7f3eb}.beat-cell.accent span{font-weight:800}.key-choices{grid-template-columns:repeat(2,1fr);gap:16px}.key-choices button{font-size:18px;padding:18px}.rhythm-choices button{line-height:1.5}@media(max-width:600px){.beat-grid{grid-template-columns:repeat(4,1fr)}.rhythm-question-notation{min-height:115px;padding:8px}.key-choices{grid-template-columns:repeat(2,1fr)}.key-choices button{font-size:16px;padding:15px 10px}}

.key-choices button[data-correct=true]{background:#f7f3eb;border-color:#292826;opacity:1}.key-choices button[data-correct=true]:after{content:' ✓'}

.sync-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:28px 0}.sync-examples article{padding:24px;border:1px solid #ddd4c5;border-radius:20px;background:#ffffff}.sync-examples h3{font-size:22px;margin-top:0}.sync-examples p{line-height:1.65}.sync-examples .rhythm-question-notation{width:100%;height:auto}@media(max-width:760px){.sync-examples{grid-template-columns:1fr;gap:20px}.sync-examples article{padding:18px}}

/* Give Slide Sensei priority; retain the manufacturer link's existing size. */
.topbar .brand{font-size:34px;gap:14px;letter-spacing:-.7px}.topbar .brandmark{width:52px;height:52px;flex-shrink:0}.topbar .thein-feature{grid-column:1/-1;grid-row:2;border-bottom:0;padding:0;margin-top:2px}.sensei-logo img{max-width:360px;width:100%;height:auto}.topbar .thein-feature:hover{border-bottom:0}
@media(max-width:700px){.topbar{grid-template-columns:1fr auto;gap:16px}.topbar .brand{grid-column:1/-1;grid-row:1;font-size:30px;gap:12px}.topbar .brandmark{width:46px;height:46px}.topbar #sign-in{grid-column:1;grid-row:2;justify-self:start}.topbar .site-menu{grid-column:2;grid-row:2;justify-self:end}.topbar .thein-feature{grid-row:3;margin-top:0;padding:0}.sensei-logo img{max-width:280px}}

.nav-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:68px;min-height:82px;padding:10px 12px;border-radius:18px;background:#292826;color:#ffffff;box-shadow:0 4px 0 #292826;font-size:14px;font-weight:700;align-self:center;flex-shrink:0}.nav-action svg{width:32px;height:32px;color:#ddd4c5}.menu-option:hover .nav-action{background:#292826;transform:translateY(-2px)}.menu-option:active .nav-action{transform:translateY(2px);box-shadow:0 2px 0 #292826}.flash-navigation button{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:15px;border:2px solid #8d7348;background:#f7f3eb;box-shadow:0 3px 0 #ddd4c5;min-height:58px;font-weight:700}.deck-icon{font-size:26px;color:var(--action)}.flash-quiz{background:#292826!important;color:#ffffff!important;padding:14px 24px;border-radius:14px;box-shadow:0 3px 0 #292826;font-weight:700}.flash-quiz span{color:#ddd4c5;font-size:24px;margin-right:10px}@media(max-width:700px){.nav-action{min-width:60px;min-height:74px;padding:9px}.nav-action svg{width:28px;height:28px}.home-sections .menu-option{gap:16px}}

.belt-entry{display:flex;align-items:center;justify-content:center;gap:12px;margin:-12px auto 36px;padding:16px 24px;font-weight:700;border:2px solid #8d7348;border-radius:16px;background:#f7f3eb}.belt-symbol{color:var(--action);font-size:26px}.belt-dialog,.privacy-dialog{width:min(850px,calc(100% - 32px));max-height:90vh;overflow:auto}.belt-panel{margin:24px 0;padding:24px;border-radius:18px;background:#f7f3eb}.belt-swatch{display:inline-block;width:76px;height:22px;background:var(--belt-color);border:1px solid #88909b;border-radius:4px;box-shadow:0 3px 0 #29282622;flex-shrink:0}.belt-step{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #ddd4c5}.leaderboard-row{display:grid;grid-template-columns:40px 1fr 1fr;gap:14px;padding:18px 0;border-bottom:1px solid #ddd4c5;font-size:16px}.owner-sharing-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #ddd4c5}.privacy-dialog p{line-height:1.7}.belt-dialog summary{cursor:pointer;font-size:18px;font-weight:700;padding:16px 0}@media(max-width:600px){.leaderboard-row{grid-template-columns:34px 1fr}.leaderboard-row>span:last-child{grid-column:2}.owner-sharing-row{align-items:flex-start;flex-direction:column}.belt-step{align-items:flex-start}.belt-swatch{width:54px}.belt-dialog,.privacy-dialog{padding:22px}}

.guardian-confirm{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.5}.guardian-confirm input{width:22px;min-height:22px;height:22px;margin-top:2px;flex-shrink:0}

.badge-entry{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 32px;padding:16px 26px;border:2px solid #8d7348;border-radius:16px;background:#292826;color:#ffffff;font-weight:700}.badge-entry span{font-size:24px;color:#ddd4c5}.badge-dialog{width:min(1000px,calc(100% - 32px));max-height:90vh;overflow:auto}.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.collectible-badge{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px;border:2px solid #ddd4c5;border-radius:22px;background:#ffffff}.collectible-badge.earned{border-color:var(--badge-color);background:linear-gradient(145deg,#ffffff,#f7f3eb)}.badge-emblem{width:90px;height:100px;display:grid;place-items:center;background:var(--badge-color);color:#ffffff;clip-path:polygon(50% 0,95% 20%,95% 67%,50% 100%,5% 67%,5% 20%);filter:drop-shadow(0 4px 2px #29282633)}.badge-emblem svg{width:54px;height:54px}.locked .badge-emblem{background:#ddd4c5;color:#655f55}.collectible-badge h3{font-size:20px;margin:16px 0 8px}.badge-state{font-size:14px;font-weight:700;color:#655f55}.earned .badge-state{color:#305d40}.collectible-badge p{font-size:16px;line-height:1.5;flex:1}.collectible-badge progress{width:100%;accent-color:var(--badge-color);height:10px}.collectible-badge small{font-size:14px;margin-top:8px}.badge-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:99;width:min(700px,calc(100% - 32px));display:flex;align-items:center;gap:18px;background:#292826;color:#ffffff;padding:20px;border:2px solid #ddd4c5;border-radius:20px;box-shadow:0 10px 40px #29282644;animation:badge-pop .3s ease-out}.badge-toast>span svg{width:44px;height:44px;color:#ddd4c5}.badge-toast>div{display:grid;gap:6px;flex:1}.badge-toast strong{font-size:20px}.badge-toast .text-btn{color:white}.badge-toast button{flex-shrink:0}.badge-toast .secondary{padding:10px 16px}@keyframes badge-pop{from{opacity:0;bottom:0}to{opacity:1;bottom:24px}}@media(prefers-reduced-motion:reduce){.badge-toast{animation:none}}@media(max-width:700px){.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.badge-dialog{padding:20px}.collectible-badge{padding:18px 12px}.badge-emblem{width:72px;height:80px}.badge-emblem svg{width:44px;height:44px}.collectible-badge h3{font-size:18px}.collectible-badge p{font-size:15px}.badge-toast{gap:10px;padding:16px}.badge-toast>span{display:none}.badge-toast strong{font-size:18px}}

.sensei-entry{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 36px;padding:16px 24px;border:2px solid #8d7348;border-radius:18px;font-weight:700}.sensei-entry svg{width:32px;height:32px;color:var(--action)}.sensei-entry span{display:grid;gap:5px}.sensei-entry small{font-size:14px;font-weight:400}.sensei-dialog{width:min(800px,calc(100% - 32px));max-height:90vh;overflow:auto}.sensei-dialog form,.sensei-question-card form{display:grid;gap:14px}.sensei-dialog label,.sensei-question-card label{display:grid;gap:10px;font-size:16px;font-weight:700}.sensei-dialog textarea,.sensei-question-card textarea{width:100%;padding:14px;border:1px solid #b9a88c;border-radius:12px;background:#ffffff;color:#292826;font:inherit;font-size:16px;line-height:1.6;resize:vertical}.sensei-question-card{padding:24px;margin:24px 0;border:1px solid #ddd4c5;border-radius:18px;background:#ffffff}.sensei-question-text,.sensei-answer-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.sensei-dialog select{min-height:48px;padding:12px}.sensei-question-card form{margin-top:20px}@media(max-width:600px){.sensei-dialog{padding:22px}.sensei-question-card{padding:18px}}

/* Fresh blue, teal and coral palette, with the original Sensei artwork preserved. */
:root{--bg:#f7f3eb;--ink:#292826;--green:#292826;--muted:#655f55;--line:#ddd4c5;--gold:#8d7348;--orange:var(--accent-red);--white:#fff}body{background:radial-gradient(ellipse at 95% 12%,#f7f3eb 0,transparent 42%),radial-gradient(ellipse at 0 50%,#f7f3eb 0,transparent 45%),#f7f3eb}.primary{background:#292826;color:#fff}.primary:hover:not(:disabled){background:#292826}.secondary{background:#fff;border-color:#ddd4c5;color:#292826}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#292826}.hero .sound-heading em{color:var(--accent-red)}.hero .sound-heading:after{background:#8d7348}.panel{background:#fff;border-color:#ddd4c5}.topbar{grid-template-columns:minmax(260px,1fr) auto 215px auto;gap:22px;padding-top:24px;padding-bottom:24px}.topbar .brand{font-size:34px;color:#292826}.topbar .brandmark{width:64px;height:64px;background:#f7f3eb;border-radius:20px;border:2px solid #8d7348;overflow:hidden;box-shadow:0 4px 0 #ddd4c5}.topbar .brandmark svg{display:block;width:100%;height:100%}.topbar #sign-in{grid-column:2;grid-row:1;background:#292826}.topbar .site-menu{grid-column:4;grid-row:1}.topbar .thein-feature{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;margin:0;padding:0;width:215px;border:0;color:#292826}.topbar .thein-feature .thein-heading{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px}.topbar .thein-feature .thein-heading img{width:24px;height:auto}.topbar .thein-feature .thein-heading strong{font-size:13px;margin:0;display:block}.topbar .thein-feature .thein-tagline{font-size:12px;line-height:1.45;display:block}.topbar .thein-feature:hover .thein-tagline{text-decoration:underline;text-underline-offset:3px}.site-menu>summary{background:#fff;border-color:#ddd4c5}.menu-option{background:#fff;border-color:#ddd4c5;box-shadow:0 7px 20px #29282608}.home-sections .menu-option{border-top-color:#292826}.home-sections .menu-option:nth-child(2){border-top-color:#292826}.home-sections .menu-option:nth-child(3){border-top-color:var(--action)}.nav-action{background:#292826;box-shadow:0 4px 0 #292826;color:#fff}.nav-action svg{color:#fff}.home-sections .menu-option:nth-child(2) .nav-action{background:#292826;box-shadow:0 4px 0 #292826}.home-sections .menu-option:nth-child(3) .nav-action{background:var(--action);box-shadow:0 4px 0 #9f3032}.menu-option:hover{background:#f7f3eb;border-color:#b9a88c}.menu-option:hover .nav-action{background:#292826}.flash-navigation button{border-color:#b9a88c;background:#f7f3eb;box-shadow:0 3px 0 #ddd4c5}.deck-icon{color:#292826}.flash-quiz{background:#292826!important}.flash-quiz span{color:#fff}.badge-entry{background:#292826;color:#fff;border-color:#292826}.badge-entry span{color:#fff}.belt-entry,.sensei-entry{background:#fff;border-color:#8d7348}.belt-symbol,.sensei-entry svg{color:#292826}.badge-toast{background:#292826;border-color:#ddd4c5}.feedback-badge{background:#e1f3ee;color:#21624a}.feedback-badge.miss{background:#ffe9e8;color:#a12f34}.quiet,.header-note{color:#655f55}
@media(max-width:980px){.topbar{grid-template-columns:minmax(0,1fr) auto 185px auto;gap:16px;padding-left:24px;padding-right:24px}.topbar .brand{font-size:29px;gap:10px}.topbar .brandmark{width:54px;height:54px}.topbar .thein-feature{width:185px}}
@media(max-width:760px){.topbar{grid-template-columns:1fr auto auto;gap:18px 14px}.topbar .brand{grid-column:1/3;grid-row:1;font-size:30px}.topbar #sign-in{grid-column:3;grid-row:1}.topbar .thein-feature{grid-column:1/3;grid-row:2;justify-self:end;width:205px}.topbar .site-menu{grid-column:3;grid-row:2}.topbar .thein-feature .thein-heading strong{font-size:13px}.topbar .thein-feature .thein-tagline{font-size:12px}.topbar .brandmark{width:54px;height:54px}}
@media(max-width:430px){.topbar{grid-template-columns:1fr auto;gap:16px 12px}.topbar .brand{grid-column:1/-1;grid-row:1}.topbar #sign-in{grid-column:1;grid-row:2;justify-self:start}.topbar .thein-feature{grid-column:1;grid-row:3;justify-self:end;width:min(205px,100%)}.topbar .site-menu{grid-column:2;grid-row:3}.topbar .brandmark{width:56px;height:56px}.topbar .brand{font-size:30px}}
@media(max-width:430px){.topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:16px 10px}.topbar .brand{grid-column:1/-1;grid-row:1}.topbar #sign-in{grid-column:1;grid-row:2;justify-self:start;padding:10px;gap:6px}.topbar .thein-feature{grid-column:2;grid-row:2;justify-self:stretch;width:auto}.topbar .site-menu{grid-column:3;grid-row:2}.topbar .thein-feature .thein-heading{gap:6px}.topbar .thein-feature .thein-heading img{width:20px}.topbar .thein-feature .thein-heading strong{font-size:12px}.topbar .thein-feature .thein-tagline{font-size:12px;line-height:1.5}.site-menu>summary{padding:10px}.topbar .brand{font-size:30px}}

/* Leaderboard: clear goals, readable rules, and celebratory ranks. */
.leaderboard-intro{display:flex;align-items:center;gap:18px;margin:18px 0}.board-emblem{display:grid;place-items:center;background:#292826;color:white;border-radius:22px;width:68px;height:68px;flex-shrink:0;font-size:36px;box-shadow:5px 5px 0 #b9a88c}.board-kicker{font-size:12px;font-weight:800;letter-spacing:.1em;color:#292826;margin:0 0 6px}.leaderboard-intro p:last-child{font-size:23px;font-weight:700;line-height:1.3;margin:0}.board-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.board-shortcuts button{min-height:46px;font-weight:700}.belt-dialog details{border:1px solid #ddd4c5;border-radius:16px;padding:0 18px;margin:16px 0;background:white}.belt-dialog p{line-height:1.6}.board-rules{list-style:none;counter-reset:step;padding:0;display:grid;gap:18px}.board-rules li{counter-increment:step;position:relative;padding-left:44px}.board-rules li:before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;background:#292826;color:white;border-radius:50%;font-weight:800}.board-rules strong,.board-rules span{display:block}.board-rules span{margin-top:5px;line-height:1.5;font-size:16px}.belt-panel progress{display:block;width:100%;height:16px;accent-color:#292826;margin:16px 0 8px}.belt-meter-label{display:block;font-size:16px}.belt-step>span:last-child{display:grid;gap:5px}.belt-step>span:last-child>span{line-height:1.5;font-size:16px}.belt-current{background:#f7f3eb;border-radius:10px;padding:14px 10px}.belt-earned strong:after{content:' ✓';color:#292826}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 12px}.board-heading h3{margin:0}.board-heading>span{font-size:14px;color:#655f55}.leaderboard-row{grid-template-columns:48px minmax(0,1fr);align-items:center;border:1px solid #ddd4c5;border-left:5px solid var(--rank-belt,#292826);border-radius:14px;padding:16px;margin:10px 0;background:#fff;gap:5px 16px}.leaderboard-row>span:first-of-type{font-weight:750;overflow-wrap:anywhere}.leaderboard-row>span:last-child{grid-column:2;font-size:15px;color:#655f55;line-height:1.5}.rank-medal{grid-row:1/3;display:grid;place-items:center;background:#f7f3eb;border:2px solid #ddd4c5;border-radius:50%;width:44px;height:44px;font-size:21px}.leader-top-1{background:#fff9e6}.leader-top-1 .rank-medal{background:#ffe797;border-color:#d7aa33}.leader-top-2 .rank-medal{background:#f7f3eb;border-color:#b9a88c}.leader-top-3 .rank-medal{background:#f5dfca;border-color:#bf8c60}.leader-you{outline:2px solid #292826}.you-label{font-size:13px;background:#292826;color:white;padding:3px 8px;border-radius:12px}.board-empty{text-align:center;background:#f7f3eb;border:1px dashed #b9a88c;border-radius:18px;padding:24px}.board-empty>span{color:#292826;font-size:34px}.board-empty h4{margin:8px 0;font-size:20px}.board-empty p{margin-bottom:0}.belt-dialog .quiet{font-size:15px}.belt-dialog summary:focus-visible{outline:3px solid #292826;outline-offset:3px}@media(max-width:500px){.leaderboard-intro p:last-child{font-size:21px}.board-emblem{width:52px;height:52px;font-size:28px}.board-heading{align-items:flex-start;flex-direction:column}.belt-dialog details{padding:0 14px}.leaderboard-row{padding:14px 10px;gap:5px 10px}.board-kicker{font-size:12px}.belt-panel{padding:18px}}
/* Live tournament arena */
.tournament-entry{width:100%;display:flex;align-items:center;gap:20px;text-align:left;margin:0 0 32px;padding:24px 28px;border:0;border-radius:22px;color:white;background:linear-gradient(110deg,#292826,#292826);box-shadow:0 8px 24px #29282625}.tournament-entry svg{width:62px;height:62px;flex-shrink:0;color:#ffdf87}.tournament-entry>span{display:grid;gap:6px;flex:1}.tournament-entry strong{font-size:26px}.tournament-entry>span>span{font-size:16px}.tournament-entry>b{font-size:16px;background:#ffffff20;padding:12px 18px;border-radius:12px}.tournament-entry:hover{filter:brightness(1.07)}.tournament-dialog{width:min(1000px,calc(100% - 24px));max-width:1000px;max-height:94dvh;padding:32px;overflow:auto;background:#f7f3eb}.tournament-dialog .dialog-head{position:sticky;top:-32px;background:#f7f3eb;z-index:2;padding:16px 0}.tournament-dialog .close{min-width:44px;min-height:44px;font-size:28px}.tournament-dialog .tournament-body{font-size:17px;line-height:1.55}.tournament-body>button{margin:12px 12px 0 0}.tournament-connection:not(:empty){background:#fff0d1;padding:12px 16px;border-radius:10px;color:#654710}.tournament-hero{display:flex;align-items:center;gap:24px;padding:24px;border-radius:20px;background:#292826;color:white}.tournament-hero svg{width:82px;height:82px;flex-shrink:0;color:#ffe094}.tournament-hero h3{font-size:30px;line-height:1.2;margin:8px 0}.tournament-hero p{margin:0;color:#f7f3eb}.tournament-eyebrow{letter-spacing:.13em;font-size:13px;font-weight:800;color:#ffe094}.tournament-rules{border:1px solid #ddd4c5;background:white;border-radius:16px;padding:16px 20px;margin:20px 0}.tournament-rules summary{font-size:18px;font-weight:800;cursor:pointer;min-height:28px}.tournament-rules ol{padding-left:24px}.tournament-rules li{padding:6px 0}.tournament-setup{display:grid;gap:12px;padding:24px;background:white;border:1px solid #ddd4c5;border-radius:18px;margin:24px 0}.tournament-setup h3{margin:0 0 8px}.tournament-setup label{font-weight:700}.tournament-setup input,.tournament-setup select{width:100%;padding:14px;min-height:50px;font-size:18px;border:1px solid #b9a88c;border-radius:10px;background:white;color:#292826}.tournament-setup p{margin:4px 0;color:#655f55}.tournament-setup input{text-transform:uppercase;font-family:monospace;letter-spacing:.14em}.tournament-history{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;margin:10px 0;border:1px solid #ddd4c5;border-radius:12px;background:white}.tournament-history span{font-size:15px;color:#655f55}.tournament-room-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0;font-weight:750}.tournament-alias{color:#292826;font-weight:700}.tournament-lobby,.tournament-finish{text-align:center;background:linear-gradient(140deg,#f7f3eb,#def5ef);border-radius:20px;padding:28px;margin:20px 0}.tournament-lobby>svg,.tournament-finish>svg{width:80px;height:80px;color:#292826}.tournament-lobby h3,.tournament-finish h3{font-size:30px;margin:8px 0}.tournament-code-display{font-family:monospace;font-size:42px;font-weight:900;letter-spacing:.1em;background:white;border:2px dashed #292826;border-radius:14px;padding:14px;margin:16px auto;max-width:460px;color:#292826}.tournament-body progress{width:100%;height:12px;accent-color:#292826}.tournament-stage{background:white;border:1px solid #ddd4c5;border-radius:20px;padding:28px;margin-top:18px}.tournament-stage h3{font-size:25px;line-height:1.4;margin:0 0 18px}.tournament-visual{background:#fff;border-radius:12px;margin:8px auto 20px;max-width:580px;color:#292826}.tournament-visual svg{width:100%;height:auto;max-height:270px}.tournament-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tournament-choice{position:relative;display:flex;align-items:center;gap:12px;text-align:left;min-height:82px;padding:16px;font-size:18px;font-weight:700;background:#f7f3eb;border:2px solid #ddd4c5;border-radius:14px;color:#292826;line-height:1.4;flex-wrap:wrap}.tournament-choice:nth-child(2){background:#f7f3eb;border-color:#b9a88c}.tournament-choice:nth-child(3){background:#fff2e8;border-color:#ecc8ab}.tournament-choice:nth-child(4){background:#f7f3eb;border-color:#ddd4c5}.tournament-choice-letter{display:grid;place-items:center;width:32px;height:32px;border:1px solid currentColor;border-radius:8px;flex-shrink:0}.tournament-choice:disabled{opacity:1;cursor:default}.tournament-choice.selected{outline:3px solid #292826;outline-offset:2px}.tournament-choice.correct{background:#dbf4e6;border-color:#087745;color:#125032}.tournament-choice.incorrect{background:var(--accent-soft);border-color:#bc4c37}.tournament-answer-mark{width:100%;font-size:14px}.tournament-answer-count{font-size:16px;font-weight:700;color:#655f55}.tournament-feedback{padding:18px 22px;border-radius:14px;background:#f7f3eb;font-size:19px;margin:18px 0}.tournament-feedback p{font-size:17px;margin:8px 0 0}.tournament-standings{margin:24px 0}.tournament-rank{display:grid;grid-template-columns:50px minmax(0,1fr) 86px;align-items:center;gap:14px;padding:16px;border:1px solid #ddd4c5;border-radius:12px;background:white;margin:10px 0}.tournament-rank strong{overflow-wrap:anywhere}.tournament-rank-number{display:grid;place-items:center;background:#f7f3eb;border-radius:50%;width:42px;height:42px}.tournament-rank.is-first{background:#fff9e6;border-color:#e8cc6d}.tournament-rank.is-you{outline:2px solid #292826}.tournament-rank>span{text-align:right;font-weight:800}.tournament-finish>strong{font-size:30px;color:#292826}.tournament-finish p{overflow-wrap:anywhere}.tournament-dialog button:focus-visible,.tournament-dialog summary:focus-visible{outline:3px solid #292826;outline-offset:4px}#quiz-menu .menu-option>span>svg{width:52px;height:52px;color:#292826}@media(max-width:620px){.tournament-dialog{padding:18px}.tournament-dialog .dialog-head{top:-18px}.tournament-dialog .dialog-head h2{font-size:26px}.tournament-entry{padding:20px;gap:12px;flex-wrap:wrap}.tournament-entry svg{width:44px;height:44px}.tournament-entry strong{font-size:23px}.tournament-entry>b{margin-left:56px}.tournament-hero{padding:20px;gap:14px}.tournament-hero svg{width:50px;height:50px}.tournament-hero h3{font-size:24px}.tournament-stage{padding:18px}.tournament-stage h3{font-size:21px}.tournament-answers{grid-template-columns:1fr}.tournament-choice{min-height:66px}.tournament-room-top,.tournament-history{align-items:flex-start;flex-direction:column}.tournament-code-display{font-size:29px;letter-spacing:.05em}.tournament-rank{grid-template-columns:38px minmax(0,1fr) 68px;gap:8px;padding:12px;font-size:15px}.tournament-rank-number{width:34px;height:34px}.tournament-setup{padding:18px}.tournament-lobby,.tournament-finish{padding:20px}}

.tournament-dialog .text-btn{color:#292826;font-weight:700}.tournament-meter{display:grid;justify-content:center;text-align:center;font:700 54px/.85 Georgia,serif;padding:20px;color:#292826}.tournament-meter span{display:block}.tournament-lobby{padding:20px}.tournament-lobby>svg{width:60px;height:60px}.tournament-lobby h3{font-size:26px}.tournament-code-display{font-size:36px;padding:12px}.tournament-feedback button{margin-top:12px}@media(max-width:620px){.tournament-code-display{font-size:28px}.tournament-meter{font-size:48px}}

.tournament-dialog .dialog-head h2{margin:0;line-height:1.2}.tournament-connection:empty{display:none}.tournament-alias{margin:12px 0}@media(max-width:620px){.tournament-room-top{flex-direction:row;align-items:center;flex-wrap:wrap;font-size:15px;margin:16px 0}.tournament-dialog .dialog-head{padding:8px 0}.tournament-stage{margin-top:12px}.tournament-meter{padding:12px}}
/* Keep the original vector mark legible without enlarging the sponsor text. */
.topbar .thein-feature .thein-heading{gap:10px;min-width:0}
.topbar .thein-feature .thein-heading img{width:52px;height:auto;flex-shrink:0;display:block}
@media(max-width:760px){.topbar .thein-feature .thein-heading img{width:46px}}
@media(max-width:430px){.topbar .thein-feature .thein-heading{gap:8px}.topbar .thein-feature .thein-heading img{width:42px}.topbar .thein-feature .thein-heading strong{min-width:0;line-height:1.3}}

.signup-details{border:1px solid #ddd4c5;border-radius:16px;padding:20px;margin:24px 0}.signup-details legend{font-weight:800;padding:0 8px}.signup-details legend span{font-weight:500}.signup-details p{margin:0 0 16px}.signup-privacy-note{padding:18px;background:#f7f3eb;border-radius:12px;line-height:1.6}.signup-privacy-note strong{display:block}.account-details{display:block;font-size:16px;line-height:1.6;overflow-wrap:anywhere}#signup-user{font-weight:800}#signup-form .guardian-confirm{display:flex;gap:12px;align-items:flex-start}#signup-form .guardian-confirm input{width:20px;height:20px;flex-shrink:0;margin-top:3px}

.signup-details>label:not(.guardian-confirm){display:block;margin-top:14px;margin-bottom:6px}.signup-details>.guardian-confirm{margin-top:16px}

/* Flashcard deck controls: visible, touch-friendly choices. */
.flashcard-hub .deck-choices{border:0;padding:0;margin:0;min-width:0}.flashcard-hub .deck-choices legend{font-size:15px;font-weight:800;color:#655f55;padding:0;margin-bottom:12px}.deck-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.deck-topics .deck-choice-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.deck-choice{border:1.5px solid #ddd4c5;border-radius:16px;padding:17px 18px;display:flex;align-items:center;gap:14px;text-align:left;color:#292826;background:#fff;box-shadow:0 2px 4px #29282605;transition:background .15s,border-color .15s,box-shadow .15s;min-width:0;min-height:80px}.deck-choice>svg{width:32px;height:32px;flex-shrink:0;color:#292826}.deck-choice>span{display:block;min-width:0}.deck-choice strong{display:block;font-size:17px;line-height:1.35;font-weight:800}.deck-choice small{display:block;font-size:14px;line-height:1.5;margin-top:5px;color:#655f55}.deck-choice:hover{border-color:#8d7348;background:#f7f3eb}.deck-choice[aria-pressed="true"]{border-color:#292826;background:#f7f3eb;box-shadow:inset 0 0 0 1px #292826}.deck-choice[aria-pressed="true"] strong{color:#292826}.deck-choice:focus-visible{outline:3px solid #292826;outline-offset:4px}.deck-settings{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin:26px 0 30px;padding:22px;background:#f7f3eb;border:1px solid #f7f3eb;border-radius:20px}.deck-settings .deck-choice{padding:14px;min-height:90px}.deck-settings .deck-choice-row:has(>button[hidden]){grid-template-columns:1fr}.flashcard-hub .flashcard-deck{margin-top:28px}@media(max-width:900px){.deck-settings{grid-template-columns:1fr}.deck-topics .deck-choice{align-items:flex-start;flex-direction:column}.deck-topics .deck-choice small{font-size:14px}}@media(max-width:600px){.deck-topics .deck-choice-row{grid-template-columns:1fr;gap:9px}.deck-topics .deck-choice{flex-direction:row;align-items:center;min-height:76px;padding:13px 16px}.deck-settings{padding:15px;gap:20px;margin-top:20px}.deck-choice strong{font-size:16px}.deck-settings .deck-choice{padding:12px 10px;min-height:106px}.deck-choice small{font-size:14px}.deck-choices legend{font-size:15px}.flashcard-hub .flashcard-deck{margin-top:22px}}

/* Warm ivory, charcoal, and restrained brass accents. */
:root{--bg:#f6f2ea;--ink:#292826;--green:#292826;--muted:#655f55;--line:#ded6c8;--gold:#bd9246;--orange:#98692c}
body{background:#f6f2ea;background-image:none}.topbar .brand{color:#292826}.primary,#sign-in,.badge-entry,.flash-quiz{background:#292826!important;color:#fffdf7!important}.primary:hover:not(:disabled),#sign-in:hover,.flash-quiz:hover{background:#464038!important}.hero .sound-heading{color:#292826}.sound-heading em{color:#98692c}.sound-heading:after{background:#bd9246}.tournament-entry{background:linear-gradient(110deg,#292826,#484036);box-shadow:0 8px 24px #29282618}.tournament-entry svg{color:#e8c77f}.deck-choice[aria-pressed="true"]{background:#f7edda;border-color:#987338;box-shadow:inset 0 0 0 1px #987338}.deck-choice[aria-pressed="true"] strong{color:#59431d}.deck-choice>svg,.menu-option svg,.deck-icon,.belt-symbol,.sensei-entry svg{color:#8b672d}.deck-choice:hover{border-color:#a78d61;background:#faf7f0}.deck-settings{background:#f2eee6;border-color:#ded6c8}.belt-entry,.sensei-entry{border-color:#cdbb9b}.flash-navigation .secondary{background:#fffdf8;border-color:#cfc3ad;box-shadow:0 3px 0 #e2d8c6}.tournament-lobby,.tournament-finish{background:#f4edde}.signup-privacy-note{background:#f4edde}.tournament-choice:nth-child(4){background:#f4f0e9;border-color:#cfc3ad}

.home-sections .menu-option{border-top-color:#bd9246}.menu-option .nav-action{background:#292826!important;color:#fffdf7}.menu-option .nav-action svg{color:#e8c77f}.hero .sound-heading em{color:var(--accent-red)}

.history-page{max-width:850px;margin:28px auto 60px}.history-eyebrow{font-size:12px;letter-spacing:.13em;font-weight:700;color:#766346}.history-intro{font-size:17px;line-height:1.65;max-width:720px}.history-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 12px}.history-level{display:grid;gap:8px;background:#fff;border:1px solid #d8cbb5;padding:18px;border-radius:14px;text-align:left;color:#292826}.history-level span{font-size:14px;color:#655f55}.history-level strong{font-size:18px}.history-level[aria-pressed=true],.history-modes button[aria-pressed=true]{background:#f7edda;border-color:#987338;box-shadow:inset 0 0 0 1px #987338}.history-modes{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 28px}.history-modes button{flex:1;min-width:130px}.history-lessons{list-style:none;padding:0;counter-reset:lesson}.history-lessons li{counter-increment:lesson;padding:20px 22px 20px 64px;position:relative;background:white;border:1px solid #e3dacd;border-radius:14px;margin:12px 0}.history-lessons li:before{content:counter(lesson);position:absolute;left:20px;top:22px;color:#8b672d;font-weight:700}.history-lessons h3{font-size:20px;margin:0 0 8px}.history-lessons p{margin:0;line-height:1.65}.history-card{background:#fff;border:1px solid #d8cbb5;border-radius:20px;padding:32px;min-height:230px;margin:20px 0}.history-card h3{font-size:26px;line-height:1.4;margin:0}.history-answer{background:#f7edda;border-radius:12px;padding:20px;margin-top:22px}.history-answer h4{font-size:22px;margin:0 0 12px}.history-answer p{margin:0;line-height:1.65}.history-options{display:grid;gap:12px;margin:24px 0}.history-option{padding:20px;border:2px solid #d8cbb5;border-radius:14px;background:white;text-align:left;font-size:18px;color:#292826;line-height:1.5}.history-option:disabled{opacity:1}.history-option.correct{background:#e5f3e8;border-color:#34704b}.history-option.incorrect{background:#fbeae6;border-color:#b84b39}.history-feedback{font-size:17px;line-height:1.65}.history-feedback:not(:empty){background:#f7edda;border-radius:12px;padding:20px}#history-content>button{margin:14px 0}.history-sources{margin-top:32px;border-top:1px solid #ded6c8;padding-top:20px}.history-sources summary{font-weight:700;cursor:pointer}#history-source-list{display:grid;gap:12px;font-size:15px}.deck-topics .deck-choice-row{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.history-levels{grid-template-columns:1fr}.history-level{grid-template-columns:65px 1fr;align-items:center;padding:14px}.history-level strong{font-size:17px}.history-modes{gap:6px}.history-modes button{min-width:0;font-size:14px;padding:13px 8px}.history-card{padding:22px}.history-card h3{font-size:22px}.deck-topics .deck-choice-row{grid-template-columns:1fr}}

/* A readable editorial caption beneath the Thein mark. */
.topbar .thein-feature{gap:9px}
.topbar .thein-feature .thein-tagline{font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:400;font-style:normal;line-height:1.45;letter-spacing:.05px;color:#4b4439;text-wrap:balance;border-left:2px solid #bd9246;padding-left:9px}
@media(max-width:430px){.topbar .thein-feature .thein-tagline{font-size:14px;line-height:1.4;padding-left:7px}}

/* Friends Arena: focused stages, strong hierarchy, warm brass accents. */
.tournament-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:92dvh;background:#f6f2ea;border:1px solid #d7cbb8;padding:28px;border-radius:24px;color:#292826}
.tournament-dialog::backdrop{background:rgba(28,26,23,.7);backdrop-filter:blur(5px)}
.tournament-dialog h2{font-size:30px}.tournament-dialog h3{font-size:25px;line-height:1.2}.tournament-dialog p{line-height:1.55}.tournament-connection:empty{display:none}
.tournament-hero{display:flex;align-items:center;gap:28px;background:radial-gradient(ellipse at top right,#675236 0%,#292826 65%);color:#fff8eb;padding:36px;border-radius:20px;margin-bottom:24px}.tournament-hero>svg{width:88px;height:88px;flex-shrink:0;color:#e4bb72}.tournament-hero h3{font-size:clamp(32px,4vw,48px);letter-spacing:-1.3px;margin:10px 0}.tournament-hero p{color:#eee0c9;margin:12px 0 0}.tournament-eyebrow,.arena-kicker{font-size:12px;font-weight:700;letter-spacing:1.3px;line-height:1.5}.tournament-eyebrow{color:#f0ca84}
.arena-setup-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:24px}.arena-setup-grid:has(>.arena-create:only-child){grid-template-columns:1fr}.tournament-setup{padding:24px;background:#fff;border:1px solid #ddd4c5;border-radius:18px;margin:0}.tournament-setup h3{margin:10px 0 12px}.tournament-setup>label{display:block;font-weight:650;margin:20px 0 8px}.tournament-setup input,.tournament-lobby input{width:100%;font:inherit;border:1px solid #b9ae9a;padding:14px;background:white;border-radius:10px}.tournament-setup #tournament-code{font-size:24px;letter-spacing:2px;text-transform:uppercase}.arena-choices{margin:22px 0}.arena-choices legend{font-size:15px;font-weight:650;margin-bottom:10px}.arena-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.arena-pick{display:flex;flex-direction:column;text-align:left;gap:6px;padding:14px;min-height:64px;background:#faf8f3;border:1px solid #d7cebe;border-radius:12px;color:#292826}.arena-pick strong{font-size:15px}.arena-pick span{font-size:13px;line-height:1.4;color:#655b4b}.arena-pick[aria-pressed=true]{border:2px solid #9b742f;padding:13px;background:#f8edda;box-shadow:0 0 0 2px #9b742f15}.arena-pick:hover{background:#f4ecde}.arena-join{align-self:start}.tournament-setup>.primary{width:100%;padding:16px}.arena-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.arena-actions>button{flex:1;min-height:48px}
.tournament-lobby{background:#fff;border:1px solid #d7cebe;border-radius:20px;padding:28px;text-align:center;margin:20px 0}.tournament-lobby>svg,.tournament-finish>svg{width:64px;height:64px;color:#a27934;margin:0 auto}.tournament-lobby .arena-actions{max-width:500px;margin:20px auto}.tournament-lobby input{max-width:560px;font-size:14px;margin:0 auto 22px;display:block}.tournament-code-display{font-size:clamp(30px,6vw,52px);font-weight:700;letter-spacing:5px;line-height:1.5;color:#292826}.tournament-lobby>strong{display:block}.arena-round-status{display:flex;justify-content:space-between;gap:16px;margin:20px 0 12px}.arena-round-status span{color:#6c5c42}.tournament-body>progress,.arena-crew progress{width:100%;height:10px;accent-color:#a27934;display:block;margin-bottom:20px}.tournament-stage{border:1px solid #ddd4c5;background:white;border-radius:20px;padding:28px;margin:20px 0}.tournament-stage h3{font-size:clamp(23px,3vw,30px);text-align:center;margin:4px auto 20px;max-width:760px}.tournament-answers{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tournament-choice{min-height:80px;padding:18px;display:flex;align-items:center;gap:14px;position:relative;background:#faf8f3;color:#292826;border:2px solid #d8cebd;border-radius:13px;text-align:left;font-size:18px;font-weight:600}.tournament-choice:not(:disabled):hover{border-color:#9b742f;transform:translateY(-2px)}.tournament-choice-letter{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;background:#eae0ce;color:#51452f;font-size:15px}.tournament-choice:disabled{opacity:1;cursor:default}.tournament-choice.selected{border-color:#9b742f;background:#f8edda}.tournament-choice.correct{background:#e8f3e7;border-color:#417946;color:#254829}.tournament-choice.incorrect{background:#faeae6;border-color:#a65243;color:#72392e}.tournament-answer-mark{font-size:12px;display:block;margin-left:auto}.tournament-feedback{background:#eee6d7;border-radius:12px;padding:18px 22px;margin:18px 0}.tournament-feedback strong{font-size:22px}.tournament-feedback p{margin-bottom:0}.tournament-body>.primary{min-height:50px;margin:8px 8px 18px 0}.tournament-rank{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;padding:15px 18px;margin:8px 0;background:#fff;border:1px solid #ddd4c5;border-radius:12px}.tournament-rank.is-you{border:2px solid #967333;background:#fbf2df}.tournament-rank.is-first .tournament-rank-number{color:#8b621d}.tournament-rank strong{display:block;font-size:16px;overflow-wrap:anywhere}.arena-player-progress{display:block;font-size:13px;color:#6c6354;margin-top:4px}.arena-live-scores>summary,.tournament-rules>summary{cursor:pointer;font-size:16px;font-weight:650;padding:16px 0}.tournament-rules{border-top:1px solid #d7cebe;margin:28px 0 16px}.tournament-rules li{margin:12px 0;line-height:1.5}.arena-crew{border:1px solid #dac9a8;background:#f7eddc;border-radius:14px;margin:24px 0;padding:20px}.arena-crew>strong{font-size:18px}.arena-crew>span{display:block;margin:8px 0 12px}.arena-crew p{font-size:14px;margin:0}.arena-crew progress{margin-bottom:12px}.tournament-finish{background:#292826;color:#fff7e7;border-radius:20px;padding:32px;text-align:center;margin:20px 0}.tournament-finish>svg{color:#e4bb72;display:block;margin-bottom:18px}.tournament-finish h3{font-size:38px;margin:12px 0}.tournament-finish>strong{font-size:30px;color:#f0ca84;display:block}.arena-awards{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.arena-awards span{background:#f6e6c9;border:1px solid #ccb07c;border-radius:8px;padding:12px;font-size:15px;font-weight:650}.arena-review{padding:24px;background:#fff;border:1px solid #d6c7ac;border-radius:16px;margin:20px 0}.arena-review>strong{font-size:22px;color:#365d37}.arena-review .tournament-visual{max-width:600px;margin:auto}.tournament-history{width:100%;padding:18px;text-align:left;background:#fff;border:1px solid #ddd4c5;border-radius:12px;margin:8px 0}.tournament-history strong,.tournament-history span{display:block}.tournament-history span{margin-top:6px;font-size:14px;color:#655b4b}.tournament-visual svg{max-width:100%;height:auto}.tournament-visual{overflow:hidden}.tournament-entry{background:linear-gradient(115deg,#292826,#534530);border:1px solid #796342;color:#fff5e3}.tournament-entry>b{background:#e8bc72;color:#30291e;border-radius:9px;padding:12px 18px}.tournament-entry strong{font-size:25px}
@media(max-width:700px){.tournament-dialog{width:calc(100vw - 16px);padding:18px;max-height:96dvh;border-radius:16px}.arena-setup-grid{grid-template-columns:1fr}.tournament-hero{padding:24px;gap:18px}.tournament-hero>svg{width:56px;height:56px}.tournament-hero h3{font-size:34px}.tournament-setup,.tournament-stage{padding:18px}.tournament-choice{font-size:16px;min-height:76px;padding:12px;gap:10px}.tournament-rank{padding:12px;gap:10px}.tournament-rank strong{font-size:14px}.arena-round-status{font-size:14px}.tournament-entry{flex-wrap:wrap}.tournament-entry>b{font-size:14px}.tournament-code-display{letter-spacing:3px}.tournament-lobby{padding:20px}}
@media(max-width:430px){.tournament-answers{grid-template-columns:1fr}.arena-choice-grid{gap:8px}.arena-pick{padding:12px}.arena-pick[aria-pressed=true]{padding:11px}.tournament-hero>svg{display:none}.tournament-rank{grid-template-columns:30px 1fr auto}.tournament-rank>span{font-size:14px}.tournament-entry strong{font-size:22px}.tournament-dialog h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.tournament-choice{transition:none!important;transform:none!important}}
.tournament-stage .tournament-visual svg,.arena-review .tournament-visual svg{display:block;width:100%;height:180px;margin:0 auto 18px}
.tournament-stage .tournament-visual{max-width:680px;margin:auto}
.arena-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.arena-podium-place{border:1px solid #d7cebe;background:#fff;border-radius:16px;padding:22px 16px;text-align:center;display:flex;flex-direction:column;gap:12px}.arena-podium-place.gold{background:#f7e8ca;border-color:#aa813d}.arena-podium-place>span{font-size:32px;font-weight:700;color:#876126}.arena-podium-place>strong{font-size:15px;overflow-wrap:anywhere}.arena-podium-place>b{font-size:18px}.arena-podium:has(>.arena-podium-place:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:430px){.arena-podium-place{padding:16px 10px}.arena-podium-place>strong{font-size:13px}}
.tournament-finish p{color:#eee0c9}.tournament-finish .arena-kicker{color:#f0ca84}

/* Match Dojo: belt motif and orderly match stations, with clear musical topics. */
#quiz-menu.match-dojo{max-width:1020px;margin:32px auto 64px}.dojo-header{position:relative;display:flex;justify-content:space-between;align-items:center;gap:28px;padding:36px 40px;border-radius:20px;background:#292826;color:#fff7e7;overflow:hidden;margin-bottom:28px;border:1px solid #584936}.dojo-header:after{content:'';position:absolute;right:-30px;top:-60px;width:300px;height:300px;border:1px solid #e5c78c25;transform:rotate(35deg);pointer-events:none}.dojo-header .dojo-eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;color:#e9c484;margin:0 0 12px}.dojo-header h1{font-size:clamp(36px,5vw,54px);letter-spacing:-1.5px;margin:0 0 14px!important;line-height:1.1}.dojo-header p{font-size:17px;line-height:1.5;color:#eee0c9;margin:0}.dojo-belt{width:160px;flex-shrink:0;color:#f7eedb;transform:rotate(-7deg);z-index:1}.dojo-formats{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.dojo-formats span{font-size:13px;padding:7px 11px;border:1px solid #8a7654;border-radius:6px;color:#f3d7a2}.match-dojo .section-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}.match-dojo .dojo-match{position:relative;min-height:170px;padding:24px;border:1px solid #d3c5ae;border-top:4px solid #292826;border-radius:15px;background:#fffdf8;box-shadow:0 4px 12px #35291008;gap:20px;transition:transform .15s,box-shadow .15s}.match-dojo .dojo-match:hover{transform:translateY(-3px);box-shadow:0 8px 20px #35291012;border-color:#947137}.match-dojo .dojo-match>span:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.match-dojo .dojo-match strong{font-size:23px;line-height:1.2}.dojo-match-label{font-size:11px!important;font-weight:700;letter-spacing:1.5px;line-height:1.5;color:#7c633c!important}.match-dojo .dojo-match>span:first-child>span:last-child{font-size:15px;line-height:1.5;color:#615a4e}.match-dojo .nav-action{background:#292826;border-radius:10px;min-width:64px;min-height:74px;padding:12px 8px;color:#f0c782;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;flex-shrink:0}.match-dojo .nav-action svg{width:28px;height:28px}.match-dojo .nav-action span{font-size:12px;font-weight:650;white-space:nowrap;color:#f7eedb}.match-dojo .dojo-friends{background:#f7edd9;border-top-color:#ad8038}.match-dojo .dojo-friends .nav-action{min-width:78px}.match-dojo .dojo-friends strong{color:#49381f}
@media(max-width:700px){.match-dojo .section-options{grid-template-columns:1fr}.dojo-header{padding:28px 24px;gap:16px}.dojo-belt{width:100px}.dojo-header p{font-size:16px}.match-dojo .dojo-match{min-height:150px;padding:22px}.match-dojo .dojo-match strong{font-size:22px}}
@media(max-width:430px){.dojo-header{display:block}.dojo-belt{position:absolute;right:18px;top:20px;width:60px;opacity:.65}.dojo-header h1{padding-right:50px}.dojo-header .dojo-eyebrow{max-width:210px;font-size:10px}.dojo-formats span{font-size:12px}.match-dojo .dojo-match{gap:14px;padding:20px}.match-dojo .dojo-match strong{font-size:21px}.match-dojo .nav-action{min-width:58px}.match-dojo .dojo-friends .nav-action{min-width:70px}}
@media(prefers-reduced-motion:reduce){.match-dojo .dojo-match{transition:none}.match-dojo .dojo-match:hover{transform:none}}
#quiz-menu .dojo-match .nav-action svg{width:28px;height:28px;display:block;color:#e8c77f;flex-shrink:0}#quiz-menu .dojo-match .nav-action{box-shadow:none}

/* A music-dojo tournament poster, using the existing mascot and uniform. */
#quiz-menu .dojo-header{background:#292826;border:0;border-radius:6px 26px 6px 26px;padding:36px 44px 30px;min-height:340px;isolation:isolate;box-shadow:inset 0 0 0 7px #292826,inset 0 0 0 8px #ac885055}
#quiz-menu .dojo-header:after{width:60%;height:220%;top:-60%;right:-12%;border:0;background:repeating-linear-gradient(135deg,transparent 0 28px,#fff8e907 28px 29px);transform:rotate(0);z-index:-1}
.dojo-poster-copy{position:relative;z-index:2;flex:1}.dojo-header .dojo-poster-copy h1{font-size:clamp(48px,6vw,72px);line-height:.95;letter-spacing:-2.5px;font-weight:750;margin-bottom:22px!important}.dojo-poster-copy h1 span{color:#ecc379;position:relative;display:inline-block}.dojo-poster-copy h1 span:after{content:'';position:absolute;bottom:-8px;left:0;right:-16px;height:4px;background:#c5604e;transform:rotate(-2deg);border-radius:3px}.dojo-header .dojo-eyebrow{color:#e6cfa6}.dojo-header .dojo-formats{gap:0}.dojo-header .dojo-formats span{padding:0;border:0;font-size:13px;color:#eee0c9}.dojo-header .dojo-formats span+span:before{content:'·';padding:0 10px;color:#e6bc70}.dojo-poster-art{position:relative;width:360px;height:280px;flex-shrink:0;display:grid;place-items:center;align-self:center}.dojo-poster-art svg{position:relative;z-index:1;width:100%;height:270px;filter:drop-shadow(0 12px 8px #0005)}.dojo-spotlight{position:absolute;width:220px;height:220px;border-radius:50%;background:#d8b16a;box-shadow:0 0 0 10px #d8b16a20,0 0 0 11px #d8b16a40;right:52px;top:35px}.dojo-art-caption{position:absolute;bottom:-17px;right:26px;font-size:9px;font-weight:700;letter-spacing:1.6px;color:#e6cfa6}.match-dojo .section-options{position:relative;padding:20px;background:repeating-linear-gradient(0deg,#eee6d7 0 3px,#ece3d3 3px 4px);border:1px solid #cbb998;border-radius:4px 18px 4px 18px;gap:18px}.match-dojo .section-options:before,.match-dojo .section-options:after{content:'';position:absolute;width:34px;height:34px;pointer-events:none;border-color:#9e7640;border-style:solid}.match-dojo .section-options:before{left:-3px;top:-3px;border-width:3px 0 0 3px}.match-dojo .section-options:after{right:-3px;bottom:-3px;border-width:0 3px 3px 0}.match-dojo .dojo-match{border:1px solid #cfc1a8;border-left:5px solid #292826;border-top-width:1px;border-radius:4px 14px 4px 14px;min-height:180px;background:#fffdf7;padding:24px;overflow:hidden}.match-dojo .dojo-match:before{content:attr(data-match);position:absolute;top:-7px;right:92px;font-size:62px;line-height:1;font-weight:800;letter-spacing:-4px;color:#e7ddcb66;pointer-events:none}.match-dojo .dojo-match>span{position:relative;z-index:1}.match-dojo .dojo-match .dojo-match-label{color:#8c6040!important;font-size:10px!important;letter-spacing:1.4px}.match-dojo .dojo-match strong{font-size:23px;letter-spacing:-.4px}.match-dojo .dojo-friends{background:#f7e9ca;border-left-color:#ac7b30}.match-dojo .dojo-friends:before{content:'VS';color:#d5b57550;font-size:60px}.match-dojo .dojo-friends .dojo-match-label{color:#7b5322!important}#quiz-menu .dojo-match .nav-action{min-height:82px;background:#292826!important;border-radius:6px 13px 6px 13px;box-shadow:3px 3px 0 #d2bd92}#quiz-menu .dojo-match .nav-action svg{width:34px;height:34px;color:#f0ce89}.match-dojo .dojo-match:hover{border-left-color:#b76b4d}.match-dojo .dojo-match:focus-visible{outline:3px solid #93651d;outline-offset:4px}
@media(max-width:760px){#quiz-menu .dojo-header{padding:30px;min-height:290px}.dojo-poster-art{width:230px;height:230px}.dojo-poster-art svg{height:220px}.dojo-spotlight{width:155px;height:155px;right:30px;top:28px}.dojo-art-caption{font-size:8px;letter-spacing:.7px;right:0;bottom:-4px}.match-dojo .section-options{padding:14px}.match-dojo .dojo-match{padding:20px}}
@media(max-width:540px){#quiz-menu .dojo-header{display:block;padding:30px 25px 190px;min-height:0}.dojo-header .dojo-poster-copy h1{font-size:57px;padding:0;line-height:.95}.dojo-header .dojo-eyebrow{max-width:none;font-size:10px}.dojo-header .dojo-poster-copy>p:last-of-type{font-size:16px}.dojo-poster-art{position:absolute;bottom:16px;right:24px;width:218px;height:168px}.dojo-poster-art svg{height:168px;width:220px}.dojo-spotlight{width:120px;height:120px;top:18px;right:30px}.dojo-art-caption{display:none}.dojo-header .dojo-formats{margin-top:16px}.match-dojo .section-options{padding:10px;gap:12px}.match-dojo .dojo-match{min-height:174px;padding:20px 16px;gap:14px}.match-dojo .dojo-match strong{font-size:20px}.match-dojo .dojo-match:before{right:82px;font-size:52px}.match-dojo .dojo-match>span:first-child>span:last-child{font-size:14px}}

/* Home: open editorial navigation, with achievement access at the same level. */
#lobby .home-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:16px 0 36px}
#lobby .home-sections .home-destination{position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:flex-end;gap:22px;width:100%;min-height:240px;margin:0;padding:24px 0 30px;text-align:left;border:0;border-bottom:1px solid #cfc5b5;border-radius:0;background:transparent;box-shadow:none;color:#292826;transition:border-color .18s,transform .18s}
#lobby .home-destination>span:first-child{display:flex;flex-direction:column;gap:14px;width:100%}
#lobby .home-destination strong{font-size:clamp(24px,2.7vw,31px);line-height:1.15;letter-spacing:-.04em;font-weight:650;min-height:72px;display:flex;align-items:flex-end}
#lobby .home-destination>span:first-child>span{font-size:16px;line-height:1.5;color:#6a6257;min-height:48px}
#lobby .home-destination .nav-action{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-width:0;min-height:0;gap:16px;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;color:#8b672d}
#lobby .home-destination .nav-action svg{width:38px;height:38px;color:#98743a}
#lobby .home-destination .nav-action span{font-size:13px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:#786c58}
#lobby .home-destination:hover{background:transparent;border-bottom-color:#9a7131;transform:translateY(-3px)}
#lobby .home-destination:hover strong{color:#886126}
#lobby .home-destination:focus-visible{outline:3px solid #98743a;outline-offset:8px}
#lobby .home-extras{display:flex;align-items:center;justify-content:flex-start;gap:36px;flex-wrap:wrap;margin:0 0 32px;padding:0}
#lobby .home-extras .secondary{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:auto;min-height:48px;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent!important;color:#292826!important;box-shadow:none;font-size:17px;text-align:left}
#lobby .home-extras .badge-entry>span{color:#98743a;font-size:28px}
#lobby .home-extras .sensei-entry svg{width:28px;height:28px;color:#98743a}
#lobby .home-extras .sensei-entry span{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#lobby .home-extras .sensei-entry small{font-size:14px;color:#71675a}
#lobby .home-extras button:hover{text-decoration:underline;text-underline-offset:5px}
#lobby .tournament-entry{border:0;border-radius:12px;padding:24px 28px;box-shadow:none;margin-bottom:24px}
@media(max-width:1000px){#lobby .home-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}#lobby .home-sections .home-destination{min-height:208px}#lobby .home-destination strong{min-height:36px;font-size:28px}}
@media(max-width:560px){#lobby .home-sections{grid-template-columns:1fr;gap:0;margin-top:4px;margin-bottom:28px}#lobby .home-sections .home-destination{display:grid;grid-template-columns:minmax(0,1fr) 40px;min-height:128px;padding:24px 0;gap:20px}#lobby .home-destination strong{font-size:27px;min-height:0}#lobby .home-destination>span:first-child{gap:8px}#lobby .home-destination>span:first-child>span{min-height:0;font-size:16px}#lobby .home-destination .nav-action{display:block}#lobby .home-destination .nav-action span{display:none}#lobby .home-destination .nav-action svg{width:34px;height:34px}#lobby .home-extras{gap:6px;flex-direction:column;align-items:flex-start}#lobby .home-extras .sensei-entry span{display:grid;gap:3px}#lobby .tournament-entry{padding:22px}#lobby .tournament-entry>b{margin-left:0}}
@media(prefers-reduced-motion:reduce){#lobby .home-destination{transition:none}#lobby .home-destination:hover{transform:none}}
@media(max-width:560px){#lobby .tournament-entry{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px 16px}#lobby .tournament-entry>svg{width:34px;height:34px}#lobby .tournament-entry>span{min-width:0}#lobby .tournament-entry>b{grid-column:2;justify-self:start;margin:0}#lobby .tournament-entry strong{font-size:23px}#lobby .tournament-entry>span>span{font-size:16px;line-height:1.5}}
/* Daily learning: a quiet editorial feature between navigation and friend matches. */
.daily-discovery{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:40px;padding:32px 0 36px;margin:0 0 32px;border-bottom:1px solid #d8cebc}
.daily-kicker{font-size:13px;letter-spacing:.14em;font-weight:700;color:#886429;margin:0 0 12px}.daily-copy h2{font-size:26px;margin:0 0 18px}.daily-kind{font-size:14px;color:#726854;margin:0 0 10px}.daily-text{font-size:23px;line-height:1.45;margin:0;border:0;padding:0;color:#302c25}.daily-copy blockquote{font:italic 28px/1.4 Georgia,serif}.daily-author{font-size:16px;margin:12px 0}.daily-context{font-size:15px;color:#6d6251;line-height:1.5}.daily-source{font-size:14px;line-height:1.6;margin-top:18px;color:#6d6251}.daily-source summary{cursor:pointer;min-height:36px;padding:6px 0;font-weight:600}.daily-source a{text-decoration:underline;text-underline-offset:3px}.daily-source p{font-size:14px}.daily-reward{padding-left:28px;border-left:1px solid #d8cebc;align-self:center}.daily-sun{display:block;color:#a47a32;font-size:32px;margin-bottom:8px}.daily-reward>strong{font-size:19px;line-height:1.4;display:block}.daily-reward p{font-size:15px;line-height:1.55;color:#6d6251}.daily-reward button{min-height:48px;padding:12px 20px;border-radius:8px}.daily-reward #daily-points{font-weight:650;color:#65502c}.daily-dialog{max-width:640px;padding:28px}.daily-dialog h2{font-size:26px}.daily-dialog h3{font-size:25px;line-height:1.35;margin:24px 0 18px}.daily-bonus-rules{font-size:15px!important}.daily-read-again{margin:18px 0}.daily-read-again summary{min-height:44px;cursor:pointer;font-weight:600}.daily-read-again .daily-text{font-size:20px}.daily-answers{display:grid;gap:12px}.daily-answers button{text-align:left;min-height:58px;padding:16px;border-radius:9px}.daily-answers button:hover{background:#f6ecd9}.daily-answer{font-weight:650}.daily-earned{padding:14px;background:#f5e7c8;border-radius:8px;color:#62491e!important}.daily-bonus-invite{display:block;margin:24px auto 0;border-color:#a8874c;background:#faf2e2;min-height:50px}.daily-dialog .close{min-width:44px;min-height:44px}
@media(max-width:700px){.daily-discovery{grid-template-columns:1fr;gap:24px;padding:26px 0}.daily-reward{border-left:0;border-top:1px solid #d8cebc;padding:22px 0 0}.daily-sun{float:right;margin-left:16px}.daily-text{font-size:21px}.daily-copy blockquote{font-size:25px}.daily-dialog{padding:22px}.daily-dialog h2{font-size:23px}.daily-copy h2{font-size:25px}}
/* Make the four actions the primary navigation labels at every screen size. */
#lobby .home-sections .home-destination{min-height:218px;gap:24px;border-bottom:2px solid #c9b58f;padding:24px 0 28px}
#lobby .home-destination .nav-action{flex-direction:row-reverse;gap:10px;align-items:center}
#lobby .home-destination .nav-action span{display:block;font-size:clamp(32px,3.25vw,44px);line-height:1.12;font-weight:750;letter-spacing:-.045em;text-transform:none;color:#292826}
#lobby .home-destination .nav-action svg{width:32px;height:32px;flex-shrink:0;color:#886429}
#lobby .home-destination strong{min-height:0;font-size:21px;line-height:1.25;font-weight:650;letter-spacing:-.025em}
#lobby .home-destination>span:first-child{gap:10px}
#lobby .home-destination:hover .nav-action span{color:#805719}
#lobby .home-destination:hover{border-bottom-color:#805719}
@media(max-width:1000px){#lobby .home-destination .nav-action span{font-size:40px}#lobby .home-sections .home-destination{min-height:206px}}
@media(max-width:560px){#lobby .home-sections .home-destination{display:flex;flex-direction:column-reverse;align-items:stretch;gap:16px;min-height:0;padding:26px 0}#lobby .home-destination .nav-action{display:flex;width:100%;flex-direction:row-reverse}#lobby .home-destination .nav-action span{display:block;font-size:36px}#lobby .home-destination .nav-action svg{width:32px;height:32px}#lobby .home-destination strong{font-size:20px}#lobby .home-destination>span:first-child>span{min-height:0}}
/* Coral hover accents echo the logo's sound waves. */
#lobby .home-destination:hover .nav-action span,#lobby .home-destination:hover strong,#lobby .home-destination:hover .nav-action svg{color:var(--action)}
#lobby .home-destination:hover{border-bottom-color:var(--action)}
.primary:hover:not(:disabled),#sign-in:hover,.flash-quiz:hover{background:var(--action)!important;color:#fff!important}
.menu-option:hover{border-color:var(--action);background:var(--accent-soft)}
.site-menu-content button:hover,.site-menu-content a:hover,.daily-answers button:hover:not(:disabled),.arena-pick:hover:not(:disabled){background:var(--accent-soft)}
.tournament-choice:not(:disabled):hover,.match-dojo .dojo-match:hover{border-color:var(--action)}
#lobby .home-destination:focus-visible,.match-dojo .dojo-match:focus-visible{outline-color:var(--action)}
/* Learning hierarchy: quiet surfaces, clear actions, generous spacing. */
#lobby .hero{padding:30px 0 24px;gap:24px}#lobby .sound-heading{font-size:clamp(30px,3.5vw,44px);line-height:1.15;margin:8px 0}.learning-start{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;border-top:0;border-bottom:1px solid #ded6c8;margin:0 0 24px}.learning-start>div{display:grid;gap:8px}.learning-start strong{font-size:25px;font-weight:600}.learning-start .primary{min-height:52px;white-space:nowrap}.learning-page,.learning-page p,#learning-progress p{font-size:18px;line-height:1.65}.learning-heading{max-width:760px;margin:36px 0}.learning-heading h1{font-size:44px}.learning-level{margin:32px 0 48px}.learning-level h2{font-size:24px}.lesson-link{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;text-align:left;padding:22px 0;border:0;border-bottom:1px solid #d8d4cd;background:transparent;color:#292826;font-size:22px;font-weight:600}.lesson-link small{font-size:16px;font-weight:400;color:#655f55}.lesson-link:hover:not(:disabled){color:var(--action);background:var(--accent-soft)}.learning-notation{max-width:660px;margin:auto}.learning-notation svg{width:100%;height:auto;max-height:320px}.learning-choices{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.learning-choices button{min-height:48px;min-width:64px}.learning-feedback{min-height:30px}.learning-page article{margin:30px auto;max-width:850px;padding:28px;border-radius:12px}.learning-page article>button{margin:8px 12px 8px 0}.learning-page h3{font-size:24px;line-height:1.4}.learning-page .flash-navigation{max-width:100%;margin:18px 0}.checkpoint-result{font-size:40px!important;font-weight:700}.progress-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 40px}.skill-row{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #ded6c8;font-size:18px}.skill-row span{color:#655f55}.resume-activities{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 24px}.resume-activities button{padding:12px 16px;background:var(--accent-soft);color:var(--action);border-radius:8px}.learning-page .primary:hover,.learning-start .primary:hover{background:var(--action)!important}#learning-progress .player-summary{margin:32px 0}.learning-page button:focus-visible,.lesson-link:focus-visible{outline:3px solid var(--action);outline-offset:4px}#learning-sync{font-size:15px;color:#655f55}.phrase-notes{display:flex;gap:8px}.phrase-notes>div{flex:1;min-width:0}.phrase-notes span{font-size:16px}.phrase-meter{align-self:center;font-weight:700}@media(max-width:600px){.learning-start{align-items:flex-start;flex-direction:column;gap:16px}.learning-start .primary{width:100%}.learning-start strong{font-size:23px}.lesson-link,.skill-row{flex-direction:column;align-items:flex-start;gap:6px}.learning-heading h1{font-size:34px}.learning-page article{padding:18px}.learning-page h3{font-size:22px}.progress-actions button{width:100%}.learning-page .learning-choices button{flex:1 1 25%}.home-sections{margin-top:16px}}
.learning-page:has(#learning-lesson:not([hidden])) .learning-heading{display:none}.learning-page:has(#learning-lesson:not([hidden])) #learning-sync{margin:8px 0}.learning-page #learning-lesson h2{margin:16px 0}.learning-page .learning-notation svg{max-height:245px}.learning-page #learning-lesson{margin-top:16px}.learning-page #learning-lesson>.eyebrow{margin-bottom:8px}.learning-page #learning-lesson h3{margin:8px 0}
.learning-start>div{flex:1;min-width:0}.learning-start .primary{width:auto;min-width:210px;flex:0 0 auto}@media(max-width:600px){.learning-start .primary{width:100%;min-width:0}}
.lesson-guide{margin:12px 0 18px}.lesson-guide summary{font-size:17px;font-weight:600;cursor:pointer}.lesson-guide p{font-size:17px}@media(max-width:600px){#lobby .hero{display:grid;grid-template-columns:1fr 1fr!important;align-items:center;gap:10px;padding:22px 0}#lobby .hero .sound-heading{font-size:24px;letter-spacing:-.8px;text-align:left;line-height:1.15}#lobby .hero .sensei-logo{width:100%;max-width:180px;margin:0}#lobby .hero .sensei-logo img{width:100%;height:auto}#lobby .hero .sound-heading:after{margin-left:0}#lobby .learning-start{padding:20px 0;margin-bottom:12px}}

.hero .sound-heading .voice-wave{display:inline-block;width:.92em;height:.84em;margin-left:.2em;vertical-align:-.04em;overflow:visible}

#sign-in{background:var(--action)!important;color:#fff!important;box-shadow:0 4px 12px var(--accent-shadow)}#sign-in:hover{background:var(--action)!important}#sign-in:focus-visible{outline:3px solid var(--action);outline-offset:4px}

/* Manufacturer credit sits beneath the learning experience. */
footer{flex-wrap:wrap;gap:20px}footer .thein-feature{flex:0 0 100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:8px 0 0;padding:24px 0 0;border:0;border-top:1px solid var(--line);text-align:center}footer .thein-feature .thein-heading{display:flex;align-items:center;gap:12px}footer .thein-feature img{width:52px;height:auto}footer .thein-feature strong{font-size:16px;margin:0}footer .thein-feature .thein-tagline{display:block;font-family:Georgia,'Times New Roman',serif;font-size:16px;line-height:1.5;color:#4b4439}footer .thein-feature:hover .thein-tagline{text-decoration:underline;text-underline-offset:4px}.topbar{grid-template-columns:minmax(0,1fr) auto auto}.topbar .brand{grid-column:1;grid-row:1}.topbar #sign-in{grid-column:2;grid-row:1}.topbar .site-menu{grid-column:3;grid-row:1}
@media(max-width:700px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:16px}.topbar .brand{grid-column:1/-1;grid-row:1}.topbar #sign-in{grid-column:1;grid-row:2;justify-self:start}.topbar .site-menu{grid-column:2;grid-row:2}}

.sensei-logo .sensei-artwork{display:block;width:100%;max-width:360px;height:auto;margin:auto}.sensei-logo .brand-motto{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-style:italic;font-size:clamp(16px,2.2vw,25px);line-height:1.25;letter-spacing:-.5px;color:var(--accent-red);margin:6px 0 0;text-align:center}@media(max-width:700px){.sensei-logo .sensei-artwork{max-width:280px}}@media(max-width:600px){.sensei-logo .brand-motto{font-size:clamp(12px,3.3vw,19px);letter-spacing:-.3px;margin-top:5px}}

.topbar .animated-wordmark{display:block;line-height:1;min-width:0}.wordmark-name{white-space:nowrap;font-size:clamp(28px,3.3vw,38px);font-weight:900;letter-spacing:-1.4px;paint-order:stroke fill;-webkit-text-stroke:4px #07162f;text-shadow:0 3px 0 #07162f}.wordmark-slide{color:#ffbd18}.wordmark-sensei{color:#fff6e6}
.topbar .brandmark.playing-sensei{width:100px;height:82px;flex:none;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}.header-musician{transform-origin:49px 73px;animation:sensei-playing 4.8s ease-in-out infinite}.header-music-note{animation:sensei-notes 4.8s ease-out infinite}.header-music-note.second-note{animation-delay:.15s}.brand:hover .header-musician,.brand:focus-visible .header-musician{animation:sensei-playing 4.8s ease-in-out infinite}.brand:hover .header-music-note,.brand:focus-visible .header-music-note{animation:sensei-notes 4.8s ease-out infinite}
@keyframes sensei-playing{0%,50%,100%{transform:rotate(0)}25%,75%{transform:rotate(-3deg)}}@keyframes sensei-playing-hover{0%,50%,100%{transform:rotate(0)}25%,75%{transform:rotate(-3deg)}}@keyframes sensei-notes{0%,50%,100%{transform:translateY(0);opacity:1}24%,74%{transform:translateY(-5px);opacity:.45}}@keyframes sensei-notes-hover{0%,50%,100%{transform:translateY(0);opacity:1}24%,74%{transform:translateY(-5px);opacity:.45}}
@media(max-width:700px){.wordmark-name{font-size:32px}.topbar .brandmark.playing-sensei{width:84px;height:70px}.topbar .brand{gap:8px}}@media(prefers-reduced-motion:reduce){.header-musician,.header-music-note,.brand:hover .header-musician,.brand:hover .header-music-note,.brand:focus-visible .header-musician,.brand:focus-visible .header-music-note{animation:none}}


#sign-in:hover{box-shadow:0 5px 16px var(--accent-shadow)}

.owner-dashboard-dialog{width:min(1100px,95vw);max-width:1100px}.owner-contacts{margin:28px 0}.contact-toolbar,.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.contact-toolbar input{flex:1;min-width:210px}.contact-toolbar input,.contact-toolbar select{min-height:46px;padding:10px;border:1px solid var(--line);border-radius:8px}.contact-table-scroll{overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:10px}.contact-table-scroll table{width:100%;border-collapse:collapse;min-width:850px}.contact-table-scroll th,.contact-table-scroll td{padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-size:15px;overflow-wrap:anywhere}.contact-table-scroll th{background:#f6f2ea}.contact-table-scroll small{display:block;margin:6px 0}.signup-email{margin:24px 0}.owner-dashboard-dialog details{margin:24px 0}.owner-dashboard-dialog summary{font-size:18px;font-weight:600;cursor:pointer}
.contact-table-scroll td:nth-child(1),.contact-table-scroll td:nth-child(2),.contact-table-scroll td:nth-child(5){white-space:nowrap;overflow-wrap:normal}.contact-table-scroll td:nth-child(3),.contact-table-scroll td:nth-child(4){min-width:120px}

.topbar .animated-wordmark{display:flex;align-items:center;gap:5px}.brand-soundwaves{width:22px;height:43px;overflow:visible;flex:none}.brand-soundwaves.right-wave{transform:scaleX(-1)}.red-dotted-i{position:relative;display:inline-block}.red-dotted-i:after{content:"";position:absolute;width:.19em;height:.19em;left:50%;top:.04em;transform:translateX(-50%);border-radius:50%;background:var(--accent-red);box-shadow:0 0 0 2px #07162f}@media(max-width:430px){.topbar .brandmark.playing-sensei{width:65px;height:60px}.topbar .brand{gap:5px}.wordmark-name{font-size:clamp(26px,7.7vw,32px)}.topbar .animated-wordmark{gap:3px}.brand-soundwaves{width:17px;height:36px}}

.topbar #owner-dashboard{grid-column:2;grid-row:1;white-space:nowrap;border-color:var(--action);color:var(--action);font-weight:700;padding:12px 18px;min-height:48px}@media(max-width:700px){.topbar #owner-dashboard{grid-column:1;grid-row:2;justify-self:start}}


.scale-options{border:1px solid #d9d5cf;border-radius:12px;padding:20px 24px;margin:26px 0;color:#292826;background:#fff}.scale-options legend{padding:0 8px;font-size:20px;font-weight:700}.scale-option-row{display:flex;flex-wrap:wrap;gap:12px 32px}.scale-option-row label{display:flex;align-items:center;gap:12px;min-height:48px;font-size:18px;font-weight:600;cursor:pointer}.scale-option-row input{appearance:auto;width:24px;height:24px;margin:0;accent-color:var(--action);cursor:pointer}.scale-option-row input:focus-visible{outline:3px solid var(--action);outline-offset:4px}.scale-options p{font-size:16px;line-height:1.5;margin:12px 0 0;color:#514c46}

/* Articulated motion is driven by the shared slide-and-hand rig. */
.header-musician,.brand:hover .header-musician,.brand:focus-visible .header-musician{animation:none}

.rig-wink,.rig-grin{transition:opacity .09s ease-out}@media(prefers-reduced-motion:reduce){.rig-wink,.rig-grin{transition:none}}
.sensei-customize-button{font-size:16px!important;font-weight:600;margin-top:14px;color:var(--action)!important;text-underline-offset:5px}.sensei-customizer{width:min(1000px,calc(100% - 28px));max-width:1000px;max-height:90dvh;overflow:auto;padding:28px;border:1px solid #d9d4cc;border-radius:18px;background:#faf8f3;color:#292826}.sensei-customizer::backdrop{background:#16181baa}.sensei-custom-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.sensei-custom-heading h2{font-size:32px;margin:0}.sensei-customizer p{font-size:17px;line-height:1.5}.sensei-custom-layout{display:grid;grid-template-columns:minmax(220px,1fr) 1.7fr;gap:28px}.sensei-live-preview svg{width:100%;height:300px}.sensei-live-preview summary{font-size:17px;font-weight:600;cursor:pointer}.sensei-live-preview details p{font-size:15px}.sensei-choice-panels legend{font-size:21px;margin:20px 0 12px}.sensei-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sensei-choice{position:relative;display:block}.sensei-choice input{position:absolute;opacity:0}.sensei-choice>span{height:100%;min-height:70px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px solid #d9d4cc;border-radius:10px;background:white;text-align:center}.sensei-choice input:checked+span{border-color:var(--action);background:#fff2ed;box-shadow:none}.sensei-choice input:focus-visible+span{outline:3px solid var(--action);outline-offset:3px}.sensei-choice input:disabled+span{background:#efede8;color:#706d67}.sensei-choice strong{font-size:15px;line-height:1.35}.sensei-choice small{font-size:13px;line-height:1.4}.sensei-choice svg{width:100%;height:112px}.sensei-swatch{display:block;width:32px;height:32px;border-radius:50%;border:1px solid #0003}.sensei-custom-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;border-top:1px solid #ddd6ca;padding-top:20px}.sensei-custom-actions .primary{width:auto;min-width:180px;min-height:48px}.sensei-custom-actions p{font-size:15px}.sensei-customizer .secondary{min-height:44px;padding:10px 16px}@media(max-width:650px){.sensei-customizer{padding:20px}.sensei-custom-layout{grid-template-columns:1fr;gap:4px}.sensei-live-preview svg{height:230px}.sensei-custom-actions{flex-direction:column;align-items:stretch}.sensei-custom-actions .primary{width:100%}.sensei-custom-heading h2{font-size:27px}}

.sensei-customizer[open]{display:flex;flex-direction:column;height:min(850px,90dvh);overflow:hidden}.sensei-custom-heading,.sensei-customizer>p,.sensei-custom-actions{flex-shrink:0}.sensei-custom-layout{overflow:auto;min-height:0;flex:1;padding:0 4px}.sensei-live-preview{position:sticky;top:0;align-self:start}.sensei-live-preview svg{height:310px}.sensei-custom-actions{margin-top:12px;padding-top:12px}.sensei-unlock-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:90;padding:18px 24px;background:#292826;color:white;border-radius:12px;box-shadow:0 6px 24px #0003;display:flex;align-items:center;gap:20px;max-width:calc(100% - 32px)}.sensei-unlock-notice button{background:white;color:#292826;padding:10px 14px;border:0;border-radius:8px;font-weight:700}@media(max-width:650px){.sensei-live-preview{position:static}.sensei-live-preview svg{height:210px}.sensei-custom-actions{gap:8px}.sensei-custom-actions p{margin:0}.sensei-unlock-notice{width:calc(100% - 32px)}}

.sensei-choice-panels,.sensei-choice-panels fieldset,.sensei-live-preview{min-width:0}.sensei-choice-panels fieldset{margin:0;padding:0;border:0}.sensei-custom-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)}@media(max-width:650px){.sensei-custom-layout{grid-template-columns:minmax(0,1fr)}}

/* A dedicated portrait stays recognizable at navigation size. */
.topbar .brandmark.sensei-emblem{width:72px;height:72px;flex:0 0 72px;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}.sensei-emblem img{display:block;width:100%;height:100%;object-fit:contain}.topbar .brand{gap:12px}@media(max-width:700px){.topbar .brandmark.sensei-emblem{width:60px;height:60px;flex-basis:60px}}@media(max-width:430px){.topbar .brandmark.sensei-emblem{width:52px;height:52px;flex-basis:52px}.topbar .brand{gap:8px}}

.header-auth-actions{grid-column:2;grid-row:1;display:flex;align-items:center;gap:16px}.header-auth-actions[hidden],.hero-join[hidden]{display:none!important}.signup-free{min-height:54px;padding:16px 24px;border:0;border-radius:10px;background:var(--action);color:#fff;font-size:18px;font-weight:750;line-height:1.2;white-space:nowrap;box-shadow:0 4px 12px var(--accent-shadow)}.signup-free:hover{filter:brightness(.92)}.signup-free:focus-visible,.join-signin:focus-visible{outline:3px solid var(--action);outline-offset:4px}.topbar .header-auth-actions #sign-in{background:transparent!important;color:#292826!important;box-shadow:none;border:0;padding:12px 0;font-size:17px;white-space:nowrap}.header-auth-actions .login-symbol{display:none}.hero-join{display:flex;align-items:flex-start;flex-direction:column;gap:16px;margin-top:30px}.hero-join .signup-free{font-size:22px;padding:20px 30px;min-height:66px}.join-signin{background:none;border:0;padding:0;min-height:44px;font-size:16px;color:#514c46;text-align:left}.join-signin strong{color:var(--action);text-decoration:underline;text-underline-offset:4px}@media(max-width:900px){.topbar{grid-template-columns:minmax(0,1fr) auto}.topbar .brand{grid-column:1/-1;grid-row:1}.header-auth-actions{grid-column:1;grid-row:2;justify-self:start}.topbar .site-menu{grid-column:2;grid-row:2}.topbar #owner-dashboard{grid-column:1;grid-row:2}}@media(max-width:430px){.header-auth-actions{gap:12px}.header-auth-actions .signup-free{padding:15px 18px;font-size:17px}.hero-join .signup-free{font-size:20px;padding:19px 22px;width:100%}.hero-join{align-items:stretch}.join-signin{text-align:center}}

.trivia-page{max-width:980px;margin:auto;padding:28px 0 60px}.trivia-heading{margin:28px 0 36px}.trivia-kicker{color:var(--action);font-size:14px;font-weight:750;letter-spacing:.12em}.trivia-heading h1{font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-.04em;margin:14px 0 20px}.trivia-heading p,.trivia-page p{font-size:18px;line-height:1.6}.trivia-summary{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 0;border-block:1px solid var(--line);margin-bottom:26px}.trivia-summary span{color:#625c54;font-size:16px}.trivia-level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.trivia-level{padding:28px;background:#fffdf8;border:1px solid #ddd5c8;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start}.trivia-level h2{font-size:24px;margin:14px 0 4px}.trivia-level p{font-size:17px}.trivia-level-number{font-size:34px;font-weight:800;color:var(--action)}.trivia-level .primary{margin-top:auto;min-height:48px}.trivia-level-state{font-weight:650}.trivia-level.completed{border-color:#8b9c80}.trivia-level.locked{background:#efede7}.trivia-level.locked .trivia-level-number{color:#746e65}.trivia-round-meta{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:28px 0 14px}.trivia-page progress{width:100%;height:10px;accent-color:var(--action)}.trivia-question{padding:32px;background:#fffdf8;border-radius:16px;margin:22px 0}.trivia-question h2{font-size:clamp(24px,3vw,32px);line-height:1.35;margin:0 0 28px}.trivia-answers{display:grid;gap:12px}.trivia-answer{font-size:19px!important;text-align:left;min-height:62px;padding:18px 22px;border:2px solid #d9d3c9;border-radius:10px;background:white;color:#292826}.trivia-answer:hover:not(:disabled){border-color:var(--action);background:var(--accent-soft)}.trivia-answer.correct{border-color:#447454;background:#edf5ed;color:#21482c;opacity:1}.trivia-answer.incorrect{border-color:var(--accent-red);background:#fff0ef;color:#772a30;opacity:1}.trivia-feedback{margin:24px 0 16px}.trivia-feedback strong{font-size:20px}.trivia-result{padding:34px;background:#fffdf8;border-radius:16px;margin:24px 0}.trivia-result-score{font-size:60px!important;margin:10px 0;color:var(--action)}.trivia-result-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.trivia-review{padding:20px 0;border-bottom:1px solid var(--line)}.trivia-review h4{font-size:20px}.trivia-page button:focus-visible{outline:3px solid var(--action);outline-offset:4px}@media(max-width:600px){.trivia-level-grid{grid-template-columns:1fr}.trivia-question,.trivia-result{padding:22px}.trivia-level{padding:24px}.trivia-result-actions button{width:100%}}

.speed-page{max-width:960px;margin:auto;padding:28px 0 60px}.speed-page h1{font-size:clamp(34px,4vw,48px);letter-spacing:-.04em}.speed-page p{font-size:18px;line-height:1.6}.speed-kicker{color:var(--action);font-weight:750;letter-spacing:.12em;font-size:14px!important}.speed-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px 0}.speed-mode{padding:24px;text-align:left;background:#fffdf8;border:2px solid #dad4c9;border-radius:14px;color:#292826}.speed-mode strong,.speed-mode span{display:block}.speed-mode strong{font-size:22px;margin-bottom:12px}.speed-mode span{font-size:16px;line-height:1.5}.speed-mode[aria-pressed=true],.speed-settings button[aria-pressed=true]{border-color:var(--action);background:var(--accent-soft);color:#292826}.speed-settings{display:grid;gap:22px;margin:30px 0}.speed-settings fieldset{border:0;padding:0;margin:0;min-width:0}.speed-settings legend{font-size:20px;font-weight:700;margin-bottom:12px}.speed-settings button{margin:0 10px 8px 0;min-height:48px;border:2px solid #dad4c9}.speed-helper,.speed-best{font-size:16px!important}.speed-start{min-height:60px;padding:18px 28px;margin:12px 0 24px}.speed-page details{margin-top:16px}.speed-page summary{font-size:17px;cursor:pointer;padding:12px 0}.speed-hud{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.speed-hud>div{padding:16px;background:#fffdf8;border:1px solid #ddd5c8;border-radius:12px}.speed-hud span{display:block;font-size:15px;color:#635b50}.speed-hud strong{font-size:36px;line-height:1.4}.speed-hud>div:first-child strong{color:var(--action)}.speed-page>progress{width:100%;height:10px;accent-color:var(--action)}.speed-question{background:#fffdf8;padding:24px;border-radius:16px;margin-top:20px}.speed-staff{max-width:560px;margin:auto}.speed-staff svg{width:100%;max-height:240px}.speed-prompt{margin:0}.speed-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.speed-answer{min-height:58px;font-size:20px!important;border:2px solid #d4cfc5;background:white;border-radius:10px;color:#292826}.speed-answer.correct{background:#eaf4e9;border-color:#46734b;color:#23492d;opacity:1}.speed-answer.incorrect{background:#fff0ed;border-color:var(--accent-red);color:#782d30;opacity:1}.speed-feedback{min-height:28px;margin:16px 0 0}.speed-count-in{font-size:110px;text-align:center;color:var(--action);padding:60px 0}.speed-result{padding:30px;background:#fffdf8;border-radius:16px;margin:26px 0}.speed-result button{margin:12px 12px 0 0;min-height:48px}.speed-review{border-bottom:1px solid var(--line);padding:20px 0}.speed-review svg{width:300px;max-width:100%;max-height:190px}.speed-page button:focus-visible{outline:3px solid var(--action);outline-offset:4px}@media(max-width:600px){.speed-mode-grid{grid-template-columns:1fr;gap:10px}.speed-mode{padding:18px}.speed-mode strong{font-size:21px;margin-bottom:6px}.speed-hud{gap:8px}.speed-hud>div{padding:12px}.speed-hud strong{font-size:30px}.speed-question{padding:16px}.speed-staff svg{max-height:200px}.speed-result{padding:22px}}

.speed-page{scroll-margin-top:12px;overflow-anchor:none}.speed-hud{margin:12px 0}.speed-hud>div{padding:10px 16px}.speed-page>.speed-hud+h2{font-size:26px;margin:12px 0}.speed-question{margin-top:12px;padding:16px 24px}.speed-staff svg{max-height:180px}.speed-feedback{margin-top:8px}.speed-question .text-btn{min-height:44px}

/* A quiet, consistent customization surface; appearance is independent of level. */
.sensei-customizer{background:#faf8f4;border:0;border-radius:24px;box-shadow:0 28px 90px #17191f38}.sensei-custom-heading h2{letter-spacing:-.04em}.sensei-live-preview{background:linear-gradient(145deg,#f0e9df,#fffdf8);border-radius:20px;padding:16px}.sensei-choice-panels legend{font-size:18px;font-weight:700}.sensei-choice>span{border-radius:14px;border-color:#ded9d1;transition:border-color .18s,background .18s}.sensei-choice input:checked+span{background:#fff5f1;border-color:var(--action)}.skin-choice-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.skin-choice-grid .sensei-choice>span{padding:12px 4px;gap:6px}.skin-choice-grid .sensei-swatch{width:36px;height:36px}.sensei-choice strong{font-size:14px}.sensei-motion-toggle{font-size:14px!important;min-height:44px;margin:6px 10px;color:#61564d}.sensei-customize-button{min-height:44px}.sensei-live-preview>svg{height:320px}.sensei-customizer .sensei-custom-actions{border-color:#e4dcd2}.sensei-choice svg{height:100px}.sensei-choice input:disabled+span{opacity:.75}@media(max-width:650px){.sensei-live-preview>svg{height:230px}.sensei-customizer[open]{height:94dvh;max-height:94dvh}.sensei-custom-layout{display:block}.sensei-choice strong{font-size:13px}.skin-choice-grid .sensei-swatch{width:30px;height:30px}}

.support-section{max-width:1120px;margin:96px auto 30px;padding:52px 0 20px;border-top:1px solid #dcd5ca;scroll-margin-top:28px;text-align:left}.support-heading{display:grid;grid-template-columns:1fr 1fr;column-gap:60px;align-items:end;margin-bottom:44px}.support-eyebrow{grid-column:1/-1;font-size:13px!important;font-weight:750;letter-spacing:.15em;color:var(--action)}.support-heading h2{font-size:clamp(34px,4vw,50px)!important;line-height:1.08!important;letter-spacing:-.045em;margin:10px 0 0!important}.support-heading h2 span{color:var(--action)}.support-heading>p:last-child{font-size:20px;line-height:1.55;max-width:440px;margin:0}.support-ways{display:grid;grid-template-columns:1fr 1fr;gap:64px}.support-ways article{display:flex;flex-direction:column;align-items:flex-start;padding:28px 0;border-top:1px solid #ded7cc}.support-icon{color:var(--action);margin-bottom:12px}.support-icon svg{width:44px;height:44px}.support-ways h3{font-size:25px!important;line-height:1.25;margin:8px 0 14px!important;letter-spacing:-.025em}.support-ways p{font-size:18px;line-height:1.65;margin:0 0 24px;color:#554f48;max-width:480px}.support-action{margin-top:auto}.support-link{display:inline-flex;align-items:center;min-height:48px;background:var(--action);color:white!important;border-radius:10px;padding:13px 22px;font-weight:700;text-decoration:none}.support-link:hover{filter:brightness(.92)}.support-link:focus-visible,.support-open:focus-visible{outline:3px solid var(--action);outline-offset:4px}.support-pending{display:inline-block;font-size:15px;color:#685e53;border:1px solid #d7cec1;border-radius:99px;padding:10px 16px;background:#f2eee6}.support-note{font-size:15px!important;line-height:1.6;color:#696158;border-top:1px solid #ded7cc;padding-top:22px;margin-top:12px}.support-open{min-height:44px;font-size:15px!important}@media(max-width:650px){.support-section{margin-top:64px;padding-top:32px}.support-heading,.support-ways{grid-template-columns:1fr;gap:22px}.support-heading{margin-bottom:16px}.support-heading>p:last-child{font-size:18px}.support-ways{gap:8px}.support-ways article{padding:24px 0}.support-ways h3{font-size:23px!important}.support-ways p{font-size:17px}.support-pending{font-size:14px}}
/* Teacher and student dojos */
.teacher-page{max-width:1080px;margin:0 auto;padding:10px 0 50px}.teacher-heading{padding:30px 0 36px;max-width:760px}.teacher-heading h1{font-size:clamp(42px,6vw,72px);line-height:1.05;letter-spacing:-.04em;margin:12px 0 20px}.teacher-heading h1 span{color:var(--accent,#b83e45)}.teacher-heading>p:not(.support-eyebrow){font-size:20px;line-height:1.5}.dojo-plan{display:inline-block;padding:9px 14px;background:#f6eceb;border-radius:6px;color:#653336;font-weight:700}.dojo-content{display:grid;gap:24px}.dojo-panel{border-top:1px solid #dcd6d0;padding:26px 0}.dojo-panel h2,.dojo-panel h3{margin:0 0 12px}.dojo-panel p{line-height:1.6;max-width:750px}.dojo-panel form{max-width:650px;display:grid;gap:14px}.dojo-panel input:not([type=checkbox]){width:100%;font-size:17px;min-height:48px;background:#fff;border:1px solid #b9b3ae;border-radius:6px;padding:12px}.dojo-panel label{display:block;line-height:1.5;font-weight:600}.dojo-panel .guardian-confirm{display:flex;align-items:flex-start;gap:12px;font-weight:400}.dojo-panel .guardian-confirm input{flex:none;margin-top:5px;width:18px;height:18px}.dojo-panel button{margin:6px 12px 6px 0;min-height:44px}.dojo-preview{margin-top:24px}.dojo-preview:empty{display:none}.dojo-status{font-weight:600;line-height:1.5;color:#943740}.dojo-table-wrap{overflow-x:auto;margin-top:20px}.dojo-table-wrap table{width:100%;border-collapse:collapse;min-width:600px;text-align:left;font-size:16px}.dojo-table-wrap th,.dojo-table-wrap td{padding:16px 12px;border-bottom:1px solid #e6e1dc}.dojo-table-wrap thead{background:#f3efeb}.dojo-empty{padding:24px;background:#f5f1ee;border-radius:8px}.dojo-membership{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e6e1dc;padding:14px 0}.teacher-home-link{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 0;margin-top:28px;border-top:1px solid #dcd6d0;font-size:18px}.teacher-home-link button{flex:none}@media(max-width:600px){.teacher-home-link{align-items:flex-start;flex-direction:column}.teacher-heading>p:not(.support-eyebrow){font-size:18px}.dojo-membership{align-items:flex-start;flex-direction:column}}
/* The original illustrated character and wordmark, with independent performance motion. */
.sensei-logo .sensei-artwork{overflow:visible;max-width:440px}.character-art{isolation:isolate}.original-wordmark{pointer-events:none}.sensei-logo .brand-motto{margin-top:0}.bond-dance{display:inline-block;position:relative;transform-origin:50% 90%;animation:bond-step 8s cubic-bezier(.4,0,.2,1) infinite}.bond-sparkle{position:absolute;width:12px;height:12px;fill:var(--accent-red,#b74448);pointer-events:none;opacity:0;animation:bond-glint 8s ease-in-out infinite}.bond-sparkle.one{right:-4px;top:-7px}.bond-sparkle.two{left:-7px;bottom:2px;width:8px;height:8px;animation-delay:.35s}.sensei-move-button{margin:0 5px}.sensei-paused .bond-dance,.sensei-paused .bond-sparkle{animation-play-state:paused}@keyframes bond-step{0%,58%,76%,100%{transform:translateY(0) rotate(0)}62%{transform:translateY(-2px) rotate(-2deg)}67%{transform:translateY(-1px) rotate(1.5deg)}72%{transform:translateY(-2px) rotate(-1deg)}}@keyframes bond-glint{0%,59%,76%,100%{opacity:0;transform:scale(.4) rotate(-20deg)}65%{opacity:.95;transform:scale(1) rotate(10deg)}71%{opacity:.5;transform:scale(.7) rotate(30deg)}}@media(prefers-reduced-motion:reduce){.bond-dance,.bond-sparkle{animation:none!important}.bond-sparkle{display:none}}
.sensei-motion-toggle,.sensei-move-button{margin:6px 5px 0;padding:7px 10px;border:1px solid #dcd6cd;border-radius:8px;text-decoration:none;font-size:13px;line-height:1.2;background:#fffaf5}.sensei-motion-toggle:hover,.sensei-move-button:hover{border-color:var(--red,#b74448);color:var(--red,#b74448)}
/* Sensei creator: a clear invitation, detailed portraits, and visual-only swatches. */
.sensei-logo .sensei-customize-button{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:100%;min-height:58px;margin:18px auto 12px;padding:15px 25px;background:var(--action);color:#fff!important;border:1px solid var(--action);border-radius:13px;box-shadow:0 5px 14px #b7444825;font-family:inherit;font-weight:700;font-size:18px!important;line-height:1.2;text-decoration:none;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.sensei-customize-button svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sensei-logo .sensei-customize-button:hover{background:#a63d43;transform:translateY(-2px);box-shadow:0 9px 22px #b7444835}.sensei-logo .sensei-customize-button:active{transform:translateY(0)}.sensei-customize-button:focus-visible{outline:3px solid #282725;outline-offset:4px}.site-menu-content .sensei-customize-button{display:flex;gap:10px;align-items:center;text-align:left}.site-menu-content .sensei-customize-button svg{width:23px;height:23px}.sensei-customizer{width:min(1080px,calc(100% - 28px));max-width:1080px}.sensei-customizer>p{margin:8px 0 20px}.sensei-choice-grid .sensei-choice>span{cursor:pointer}.sensei-choice input:disabled+span{cursor:not-allowed}.portrait-choice-grid .sensei-choice>span{padding:12px 7px 14px;background:linear-gradient(155deg,#fffefb,#f1ece3);overflow:hidden}.portrait-choice-grid .sensei-choice svg{height:146px;filter:none}.portrait-choice-grid .sensei-choice input:checked+span{background:linear-gradient(145deg,#fffaf7,#f8e7df)}.portrait-choice-grid .sensei-choice strong{font-size:15px}.skin-choice-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.skin-choice-grid .sensei-choice>span{position:relative;min-height:52px;padding:5px;border:2px solid transparent;background:transparent;border-radius:50%;aspect-ratio:1}.skin-choice-grid .sensei-swatch{width:100%;height:auto;aspect-ratio:1;border:1px solid #0002;box-shadow:inset 0 2px 3px #ffffff38,0 2px 4px #30251e12}.skin-choice-grid .sensei-choice input:checked+span{border-color:var(--action);background:transparent}.skin-choice-grid .sensei-choice input:focus-visible+span{outline-offset:2px}.swatch-selected{display:none;position:absolute;bottom:0;right:0;width:19px;height:19px;background:#292826;border:2px solid #faf8f4;border-radius:50%}.swatch-selected svg{display:block!important;width:15px!important;height:15px!important;stroke:white;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}.sensei-choice input:checked+span .swatch-selected{display:block}.sensei-live-preview>svg{height:355px}.sensei-choice:not(:has(input:disabled)):hover>span{border-color:var(--action)}@media(max-width:1000px){.skin-choice-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.skin-choice-grid .sensei-choice>span{max-width:62px;margin:auto;min-width:48px}}@media(max-width:650px){.sensei-logo .sensei-customize-button{font-size:17px!important;min-height:56px;padding:14px 20px}.portrait-choice-grid .sensei-choice svg{height:108px}.sensei-live-preview>svg{height:250px}.skin-choice-grid .sensei-choice>span{max-width:56px}.sensei-customizer>p{font-size:15px;margin-bottom:12px}}@media(prefers-reduced-motion:reduce){.sensei-logo .sensei-customize-button{transition:none}.sensei-logo .sensei-customize-button:hover{transform:none}}
/* Ivory, ink, jade and brass. Vermilion is reserved for the brand and errors. */
:root{--bg:#f4f1e8;--ink:#282e2b;--muted:#62685f;--line:#d8d9ce;--white:#fffef9;--green:#355c52;--gold:#826a3f;--orange:#826a3f;--action:#355c52;--action-hover:#284a42;--accent-red:#b74448;--accent-soft:#e8efea;--accent-shadow:#355c521f;--surface:#fffef9;--jade-tint:#e8efea;--brass-tint:#eee5d2}
body{background:var(--bg);color:var(--ink)}
.primary,.learning-page .primary,.signup-free,.support-link{background:var(--ink);color:var(--surface);box-shadow:none}
.primary:hover:not(:disabled),.learning-page .primary:hover,.signup-free:hover,.support-link:hover{background:var(--action);filter:none;color:white}
.header-auth-actions .signup-free{background:transparent;color:var(--ink);border:1px solid #90998e;box-shadow:none}
.header-auth-actions .signup-free:hover{background:var(--jade-tint);border-color:var(--action)}
.hero-join .signup-free{background:var(--ink);box-shadow:0 5px 15px #282e2b14}
.hero-join .signup-free:hover{background:var(--action)}
.join-signin strong{color:var(--action)}
.sensei-logo .sensei-customize-button{background:var(--action);border-color:var(--action);box-shadow:0 5px 15px #355c5224}
.sensei-logo .sensei-customize-button:hover{background:var(--action-hover);box-shadow:0 9px 22px #355c522b}
.sensei-logo .brand-motto{color:#48534b}
.sensei-motion-toggle,.sensei-move-button{background:transparent;color:#62685f!important;border-color:#cfd3c9}
.sensei-motion-toggle:hover,.sensei-move-button:hover{color:var(--action)!important;border-color:var(--action);background:var(--jade-tint)}
#lobby .home-sections .home-destination{border-bottom-color:#b9c4b8}
#lobby .home-destination .nav-action,#lobby .home-destination .nav-action span,#lobby .home-destination .nav-action svg{color:var(--action)}
#lobby .home-destination:hover{background:transparent;border-color:var(--action)}
#lobby .home-destination:hover strong{color:var(--action)}
#lobby .home-destination .nav-action svg{color:var(--gold)}
.menu-option,.trivia-level,.trivia-question,.trivia-result,.speed-mode,.speed-question,.speed-result,.speed-hud>div{background:var(--surface);border-color:var(--line)}
.menu-option:hover,.trivia-answer:hover:not(:disabled),.speed-mode[aria-pressed=true],.speed-settings button[aria-pressed=true]{background:var(--jade-tint);border-color:var(--action)}
.sensei-customizer{background:#f8f6ef}.sensei-live-preview{background:linear-gradient(150deg,#e5ece4,#f9f6ed)}
.portrait-choice-grid .sensei-choice>span{background:linear-gradient(155deg,#fffef9,#f0eee4)}
.sensei-choice input:checked+span,.portrait-choice-grid .sensei-choice input:checked+span{border-color:var(--action);background:linear-gradient(145deg,#f8fbf6,#e4eee5)}
.skin-choice-grid .sensei-choice input:checked+span{background:transparent;border-color:var(--action)}
.sensei-choice input:disabled+span{background:#efeee7;color:#656b62}
.support-eyebrow,.support-icon,.trivia-kicker,.speed-kicker{color:var(--gold)}
.support-heading h2 span,.teacher-heading h1 span{color:var(--action)}
.support-pending{background:#eeeee5;border-color:#d4d8cb;color:#596252}
.dojo-plan{background:var(--jade-tint);color:var(--action)}
.match-dojo .section-options{background:#e8eade;border-color:#cdd2c1}
.match-dojo .section-options:before,.match-dojo .section-options:after{border-color:#a59572}
.match-dojo .dojo-match{background:var(--surface);border-color:#ccd2c7;border-left-color:var(--action)}
.match-dojo .dojo-friends{background:#f0e9d8;border-left-color:var(--gold)}
#quiz-menu .dojo-match .nav-action{background:var(--ink)!important;box-shadow:3px 3px 0 #c6b58b}
.trivia-answer.incorrect,.speed-answer.incorrect{border-color:var(--accent-red);background:#fff0ed;color:#782d30}
.position-label-help{text-align:left;margin:12px 0 22px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:16px}.position-label-help summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 16px;font-weight:650;color:var(--action);cursor:pointer;list-style:none}.position-label-help summary::-webkit-details-marker{display:none}.position-label-help summary:after{content:'+';margin-left:auto;font-size:22px;line-height:1}.position-label-help[open] summary:after{content:'−'}.position-label-help summary:focus-visible{outline:3px solid var(--action);outline-offset:3px;border-radius:8px}.position-help-icon{display:inline-grid;place-items:center;border:1.5px solid currentColor;border-radius:50%;width:21px;height:21px;font-size:14px;flex:none}.position-help-content{padding:0 18px 16px}.position-help-content dl{margin:0}.position-help-content dl>div{display:grid;grid-template-columns:75px 1fr;gap:16px;padding:12px 0;border-top:1px solid var(--line)}.position-help-content dt{font-weight:750;color:var(--ink)}.position-help-content dd{margin:0;line-height:1.5}.position-help-content p{font-size:15px!important;margin:10px 0 0;line-height:1.5}.scale-options .position-label-help{margin:18px 0 0}@media(max-width:500px){.position-help-content dl>div{grid-template-columns:60px 1fr;gap:10px}.position-label-help summary{padding:12px}.position-help-content{padding:0 12px 14px}}
#lobby .home-extras .sensei-entry{padding:15px 19px;border:1px solid #c6d2c7;border-radius:12px;background:#e8efea!important;min-height:70px;max-width:100%;gap:15px}#lobby .home-extras .sensei-entry svg{width:32px;height:32px;flex:none;color:var(--action)}#lobby .home-extras .sensei-entry span{display:grid;gap:4px}#lobby .home-extras .sensei-entry strong{font-size:18px;line-height:1.35;font-weight:700;color:var(--ink)}#lobby .home-extras .sensei-entry small{font-size:14px;color:#59675e;font-weight:400}#lobby .home-extras .sensei-entry:hover{background:#dfe9e1!important;border-color:#8ba493;text-decoration:none}#lobby .home-extras .sensei-entry:focus-visible{outline:3px solid var(--action);outline-offset:4px}@media(max-width:560px){#lobby .home-extras .sensei-entry{width:100%;padding:15px}#lobby .home-extras .sensei-entry strong{font-size:17px}}
/* Private practice calendar and friendship tools. */
.practice-home-links{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.practice-home-links>button{display:flex;gap:16px;align-items:center;text-align:left;padding:21px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.practice-home-links svg{width:32px;height:32px;stroke:var(--action);stroke-width:1.8;fill:none;flex:none;stroke-linecap:round;stroke-linejoin:round}.practice-home-links span{display:grid;gap:5px}.practice-home-links strong{font-size:21px}.practice-home-links small{font-size:15px;color:var(--muted)}.practice-home-links>button:hover{background:var(--jade-tint);border-color:var(--action)}.practice-log-page,.friends-page{max-width:1080px;margin:auto;padding:24px 0 60px}.practice-heading{margin:30px 0}.practice-heading h1{font-size:clamp(36px,5vw,58px);font-weight:750;letter-spacing:-.04em;margin:8px 0 16px}.practice-heading>p{font-size:19px;line-height:1.5}.practice-status{min-height:28px;font-size:17px;font-weight:650;color:var(--action);line-height:1.5;position:sticky;bottom:8px;background:var(--bg);z-index:2}.practice-status:empty{display:none}.practice-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.practice-stats>div{display:grid;gap:6px;padding:20px;background:var(--jade-tint);border-radius:12px}.practice-stats strong{font-size:36px;line-height:1.1;color:var(--action)}.practice-stats span{font-size:15px}.practice-calendar-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.practice-calendar{position:sticky;top:12px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.calendar-heading h2{font-size:22px!important;margin:0;text-align:center}.calendar-heading button{font-size:27px;padding:5px 14px;min-height:44px;line-height:1}.practice-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekday{text-align:center;font-size:13px;font-weight:700;padding-bottom:10px}.calendar-day{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:58px;padding:4px;border:1px solid transparent;border-radius:8px;background:#f3f2eb;color:var(--ink);font-size:17px}.calendar-day small{font-size:11px;font-weight:700}.calendar-day.has-practice{background:var(--jade-tint);color:var(--action)}.calendar-day[aria-pressed=true]{background:var(--action);color:#fff;border-color:var(--action)}.calendar-day.is-today>span{text-decoration:underline;text-underline-offset:3px}.calendar-day:disabled{opacity:.4}.practice-calendar>.text-btn{min-height:44px;margin-top:10px}.practice-day>h2{font-size:23px!important;margin:0 0 18px}.practice-session{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.practice-session p{white-space:pre-wrap;line-height:1.6}.practice-session .text-btn{min-height:44px;margin-right:18px;padding:5px 0}.practice-entry-form{display:grid;gap:14px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-top:20px}.practice-entry-form h3{margin:0;font-size:23px}.practice-entry-form label,.friend-panel label{display:grid;gap:8px;font-weight:650;font-size:16px}.practice-times{display:grid;grid-template-columns:1fr 1fr;gap:14px}.practice-entry-form input,.practice-entry-form textarea,.friend-panel input:not([type=checkbox]),.friend-actions select{width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid #aab5a8;border-radius:7px;background:white;font:inherit;color:var(--ink)}.practice-entry-form textarea{resize:vertical;line-height:1.5}.practice-duration{font-size:15px;color:var(--action);margin:0}.practice-entry-form .quiet{font-size:14px;margin:0}.practice-form-actions{display:flex;gap:12px;flex-wrap:wrap}.practice-form-actions .primary{width:auto}.practice-badges{margin:48px 0}.practice-badges h2{font-size:28px}.practice-badges>.quiet{line-height:1.6;max-width:800px}.practice-badge-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.practice-badge{padding:20px 12px;text-align:center;border:1px dashed #bdc4b6;border-radius:12px;background:#efeee7;color:#656b60}.practice-badge.earned{background:#fffaf0;border:1px solid #c7ad72;color:var(--ink)}.practice-badge svg{width:48px;height:56px;fill:#e2e6dc;stroke:#77836e;stroke-width:1.6}.practice-badge.earned svg{fill:#dfc284;stroke:#81683d}.practice-badge h3{font-size:16px;line-height:1.3;margin:12px 0}.practice-badge p{font-size:14px;line-height:1.4}.practice-badge>strong{font-size:13px;color:var(--action)}.friend-panel{padding:26px 0;border-top:1px solid var(--line)}.friend-panel h2{font-size:26px;margin:0 0 18px}.friend-panel p{font-size:17px;line-height:1.6}.friend-panel form{display:grid;gap:14px;max-width:660px;margin-top:24px}.friend-panel>input{margin:14px 0}.friend-panel>button,.friend-panel>div>button{margin:8px 12px 8px 0;min-height:44px}.friend-panel .primary{width:fit-content}.friend-check{display:flex!important;align-items:flex-start;gap:12px!important;font-weight:500!important;line-height:1.5;margin:14px 0}.friend-check input{width:20px;height:20px;flex:none;accent-color:var(--action);margin-top:3px}.friend-settings{display:flex;align-items:center;justify-content:space-between;gap:20px}.friend-message{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:18px;margin:12px 0}.friend-message.unread{background:var(--jade-tint);border-left:4px solid var(--action)}.friend-message p{margin:8px 0}.friend-message small{font-size:13px;color:var(--muted)}.friend-row{padding:20px 0;border-top:1px solid var(--line)}.friend-row h3{font-size:21px;margin:0 0 12px}.friend-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.friend-actions select{width:auto;max-width:100%;flex:1;min-width:240px}.friend-actions button{min-height:46px;width:auto}.friend-panel summary{font-size:19px;cursor:pointer;padding:12px 0}@media(max-width:850px){.practice-calendar-layout{grid-template-columns:1fr}.practice-calendar{position:static}.practice-badge-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.practice-home-links{grid-template-columns:1fr;gap:10px}.practice-stats{gap:8px}.practice-stats>div{padding:13px 10px}.practice-stats strong{font-size:28px}.practice-stats span{font-size:13px}.practice-calendar{padding:13px}.calendar-heading h2{font-size:19px!important}.calendar-day{min-height:48px}.practice-entry-form{padding:18px}.practice-times{gap:8px}.practice-badge-grid{grid-template-columns:repeat(2,1fr)}.friend-actions{align-items:stretch}.friend-actions select{min-width:0;width:100%;flex-basis:100%}.friend-settings{align-items:flex-start}.practice-heading>p{font-size:17px}}
.practice-badge.earned[data-badge=time-30] svg{fill:#c99570;stroke:#77573e}.practice-badge.earned[data-badge=time-120] svg{fill:#c7cfcc;stroke:#5d7169}.practice-badge.earned[data-badge=time-600] svg{fill:#9bbfa9;stroke:#355c52}.practice-badge.earned[data-badge=time-1200] svg{fill:#355c52;stroke:#d8c18b}

/* Starting assessment and an accessible, compact route into the curriculum. */
.starting-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 32px;padding:18px 0;border-bottom:1px solid var(--line)}
.starting-entry>span{font-size:17px;color:var(--muted)}
.starting-entry button{min-height:46px;white-space:normal}
.starting-point{max-width:920px;margin:auto;padding:24px 0 56px}
.starting-point h1{font-size:clamp(32px,5vw,52px);line-height:1.12;letter-spacing:-.035em;margin:18px 0}
.starting-point h2{font-size:clamp(23px,3vw,32px);line-height:1.3}
.starting-point>p{max-width:720px;line-height:1.65;font-size:18px}
.starting-point>button{margin:12px 14px 12px 0;min-height:46px}
.starting-point progress{width:100%;height:10px;accent-color:var(--action);margin:8px 0 18px}
.starting-point .learning-notation{background:var(--surface);border-radius:12px;padding:16px;max-width:100%;overflow:auto}
.starting-point .learning-choices{margin:20px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}
.starting-point .learning-choices button{font-size:18px;min-height:52px;white-space:normal}
.starting-point .starting-correct:disabled{opacity:1;background:var(--jade-tint);border:2px solid var(--action);color:var(--ink)}
.starting-routes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:28px 0}
.starting-route{padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:12px;text-align:left;display:flex;flex-direction:column;gap:12px;min-width:0}
.starting-route strong,.starting-route h3{font-size:21px;margin:0}.starting-route span,.starting-route p{font-size:16px;font-weight:400;line-height:1.6;margin:0}
.starting-route button{margin-top:auto;white-space:normal;text-align:left;min-height:44px}
.instrument-path{padding:22px 0;border-top:1px solid var(--line);margin-top:20px}.instrument-path summary{font-size:20px;font-weight:700;cursor:pointer;min-height:44px}.instrument-path p,.instrument-path li{line-height:1.65;font-size:17px}.instrument-path li+li{margin-top:8px}.instrument-path .path-tools{display:flex;gap:12px;flex-wrap:wrap}.instrument-path .path-tools button{min-height:44px}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--action);outline-offset:4px}
section h1:focus,section h2[tabindex="-1"]:focus{outline:none}
dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:600px){.starting-entry{align-items:stretch;flex-direction:column;gap:12px}.starting-point{padding-top:12px}.starting-point .learning-notation{padding:6px}.starting-routes{grid-template-columns:1fr}.starting-point>button{max-width:100%}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}button,.text-btn,summary{min-height:44px}.starting-point .learning-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Discovery sharing: quiet controls, legible preview, no embedded social trackers. */
.discovery-controls,.share-platforms{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.discovery-controls button,.share-platforms a,.share-platforms button{min-height:44px;font-size:15px}
.share-platforms a{display:inline-flex;align-items:center;text-decoration:none;padding:10px 16px;border:1px solid #355c5250;border-radius:8px;color:#355c52;background:#fff}
.share-age{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:16px}
.share-age input{width:22px;height:22px;accent-color:#355c52;flex:none}
.discovery-share-dialog textarea{width:100%;box-sizing:border-box;font:16px/1.5 system-ui,sans-serif;color:#282e2b;background:#faf8f2;padding:16px;border:1px solid #b9c3bd;border-radius:10px;resize:vertical}
.discovery-share-dialog{max-height:85dvh;overflow:auto;max-width:640px}
.share-rules{font-size:15px;line-height:1.55}
.discovery-controls button:focus-visible,.share-platforms a:focus-visible{outline:3px solid #355c52;outline-offset:3px}

.musical-direction{font:italic 700 54px/1.2 Georgia,serif;text-align:center;color:#355c52;margin:22px 0}
.lesson-guide li,.practice-activity li{line-height:1.65;margin-bottom:10px}
.practice-activities{display:grid;gap:12px;margin:20px 0}
.practice-activity{padding:18px 20px;border:1px solid #355c5230;border-radius:10px;background:#fffdf7}
.practice-activity summary{font-size:18px;font-weight:650;cursor:pointer;min-height:32px}
.practice-activity p{line-height:1.6;font-size:16px}.activity-check{border-left:3px solid #826a3f;padding-left:14px}
.practice-print-link{display:inline-flex;align-items:center;min-height:44px;margin:4px 0 14px;text-decoration:none;color:#355c52}

/* Fixed-position lip-slur practice. */
.lip-slurs-page{max-width:960px;margin:auto}.slur-instruments{display:flex;flex-wrap:wrap;gap:18px;border:1px solid #bfc9c3;border-radius:12px;padding:18px;margin:24px 0}.slur-instruments legend{font-weight:650;padding:0 8px}.slur-instruments label{display:flex;gap:9px;align-items:center;min-height:44px;font-size:17px}.slur-patterns{display:flex;flex-wrap:wrap;gap:10px}.slur-patterns button[aria-pressed="true"]{background:#355c52;color:white;border-color:#355c52}.slur-actions{margin:24px 0}.slur-actions a{display:inline-flex;padding:14px 18px;text-decoration:none;min-height:48px}.slur-directions{max-width:72ch;line-height:1.6}.slur-rows h2{margin:36px 0 12px;font-size:25px}.slur-card{background:white;border:1px solid #d8ded9;border-radius:12px;margin:16px 0;padding:18px 20px}.slur-card h3{font-size:17px;margin:0 0 8px;color:#355c52}.slur-staff{overflow-x:auto;overscroll-behavior-x:contain}.slur-staff img{display:block;width:100%;min-width:560px;height:auto}.slur-labels{margin:26px 0;padding:16px;border-top:1px solid #c7cec7}.slur-labels summary{cursor:pointer;font-weight:650}.slur-labels p{font-size:16px}.slur-staff:focus-visible{outline:2px solid #355c52;outline-offset:3px}@media(max-width:600px){.slur-card{padding:16px 10px}.slur-actions a{width:100%;justify-content:center}.slur-patterns button{flex:1 1 40%}}

.fundamentals-page{max-width:960px;margin:auto}.fundamentals-start{background:#fffdf8;border-left:4px solid #355c52;border-radius:0 12px 12px 0;padding:18px 24px;margin:24px 0}.fundamentals-start h2{margin-top:0;font-size:23px}.fundamentals-start li,.fundamentals-study li{margin:10px 0;line-height:1.6}.fundamentals-actions{margin:24px 0}.fundamentals-actions a{display:inline-flex;padding:14px 18px;text-decoration:none;min-height:48px}.fundamentals-filters,.fundamentals-tools{display:flex;flex-wrap:wrap;gap:10px}.fundamentals-filters button[aria-pressed="true"]{background:#355c52;color:white;border-color:#355c52}.fundamentals-study{margin:16px 0;background:white;border:1px solid #cbd4cd;border-radius:12px;padding:20px}.fundamentals-study summary{cursor:pointer;font-size:20px;font-weight:650;min-height:44px}.fundamentals-study summary span{display:block;font-size:15px;font-weight:400;color:#466055;margin:8px 0 0 20px}.fundamentals-study p{line-height:1.6}.fundamentals-goal{border-left:3px solid #a98949;padding-left:14px}.fundamentals-staff{overflow-x:auto;overscroll-behavior-x:contain}.fundamentals-staff img{display:block;width:100%;min-width:560px;height:auto}.fundamentals-credit{margin:32px 0;font-size:15px}.fundamentals-credit summary{cursor:pointer}.fundamentals-staff:focus-visible{outline:2px solid #355c52;outline-offset:3px}@media(max-width:600px){.fundamentals-study{padding:16px 12px}.fundamentals-filters button{flex:1 1 40%}.fundamentals-actions a{width:100%;justify-content:center}}

/* Appearance choices are visual; identities are never named or ranked. */
.sensei-choice>span{position:relative;overflow:hidden}.sensei-choice-grid:not(.skin-choice-grid) .sensei-choice>span{padding:10px;min-height:136px;background:linear-gradient(145deg,#fffefb,#f0eee6)}.sensei-choice-grid:not(.skin-choice-grid) .sensei-choice svg{height:132px;filter:none}.sensei-choice-grid:not(.skin-choice-grid) .swatch-selected{top:8px;right:8px;bottom:auto;width:23px;height:23px;border-color:white;box-shadow:0 1px 5px #26382e30}.sensei-choice-grid:not(.skin-choice-grid) .swatch-selected svg{width:19px!important;height:19px!important}.sensei-choice-grid:not(.skin-choice-grid) .sensei-choice input:checked+span{background:#edf4ee;border-color:#355c52}.sensei-choice input:disabled+span{opacity:1}.sensei-choice small{padding:4px 9px;border-radius:20px;background:#f1eee5;color:#525b54;font-weight:600;font-size:13px}@media(max-width:650px){.sensei-choice-grid:not(.skin-choice-grid) .sensei-choice svg{height:112px}.sensei-choice-grid:not(.skin-choice-grid) .sensei-choice>span{padding:6px;min-height:122px}}

/* One-color curved signature; only Bond receives the subtle dance. */
.sensei-logo .brand-motto{color:#48534b;margin-top:-2px;line-height:0}
.motto-curve{display:block;width:100%;max-width:380px;height:auto;margin:auto;overflow:visible;fill:currentColor}
.motto-curve text{font-family:Georgia,"Times New Roman",serif;font-size:27px;font-style:italic;font-weight:700;letter-spacing:0}
.motto-bond{transform-origin:70px 39px;animation:bond-step 8s cubic-bezier(.4,0,.2,1) infinite}
.motto-glint{opacity:0;animation:bond-glint 8s ease-in-out infinite}.motto-glint.second{animation-delay:.35s}
@media(prefers-reduced-motion:reduce){.motto-bond,.motto-glint{animation:none}.motto-glint{display:none}}
/* A compact personal portrait and a consistent place to ask for help. */
.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:20px}.topbar .brand{order:0;flex:1 1 320px;min-width:0}.header-brand-title{display:flex;flex-direction:column;gap:6px}.brand-address{font-family:Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.45px;color:var(--muted);text-align:center}.topbar .sensei-emblem{overflow:hidden!important}.personal-sensei-portrait{display:block;width:100%;height:100%;overflow:hidden}.header-help{order:1;flex:0 1 265px;display:flex;flex-direction:column;gap:7px}.topbar .header-auth-actions{order:2}.topbar #owner-dashboard{order:3}.topbar .site-menu{order:4}.header-help .sensei-entry{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;min-height:58px;background:#f0f2ed;border:1px solid #d6ddd4;border-radius:12px;text-align:left;box-shadow:none}.header-help .sensei-entry svg{width:28px;height:28px;flex:none}.header-help .sensei-entry strong{font-size:16px;display:block}.header-help .sensei-entry small{display:block;font-size:13px;line-height:1.4;margin-top:4px;color:#526052}.suggestion-entry{font-size:14px;min-height:32px;padding:4px 12px;text-align:left;color:var(--action)}.suggestion-card{padding:16px 0;border-top:1px solid var(--line)}.suggestion-card p{white-space:pre-wrap;overflow-wrap:anywhere}.suggestion-form textarea{width:100%;font:inherit}.suggestion-inbox select{max-width:260px}.suggestion-form p{line-height:1.5}
@media(max-width:1000px){.header-help{order:5;flex:1 1 100%;flex-direction:row;align-items:center;gap:16px}.header-help .sensei-entry{max-width:370px}.topbar .brand{flex-basis:280px}.topbar .site-menu{margin-left:auto}}
@media(max-width:520px){.topbar .brand{flex-basis:100%}.header-help{align-items:stretch;flex-direction:column;gap:4px}.header-help .sensei-entry{max-width:none}.brand-address{font-size:14px}.header-help .sensei-entry small{font-size:14px}.suggestion-entry{min-height:40px}}
@media(max-width:600px){#lobby .hero{grid-template-columns:minmax(0,1fr)!important;gap:24px}#lobby .hero>div{min-width:0}#lobby .hero .sensei-logo{max-width:300px;justify-self:center}#lobby .hero .sound-heading{font-size:32px}.header-help .sensei-entry{margin:0}.header-help .suggestion-entry{margin:0}}
/* Compact header and consistent page spacing. */
.topbar{padding-top:16px;padding-bottom:16px;gap:16px}
.header-help{gap:4px}.header-help .sensei-entry{margin:0;min-height:64px;padding:10px 12px}.header-help .suggestion-entry{margin:0;min-height:36px;padding:4px 12px;font-size:14px}
.topbar .site-menu>summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 18px;border:1px solid #355c52;border-radius:13px;background:#355c52;color:#fff;font-size:17px;font-weight:700;line-height:1.2;box-shadow:0 3px 9px #263e301a;list-style:none;transition:background .16s ease,box-shadow .16s ease}
.site-menu>summary::-webkit-details-marker{display:none}.site-menu>summary::marker{content:''}.site-menu>summary .menu-grid-icon{width:23px;height:23px;stroke:currentColor;stroke-width:1.7}.site-menu>summary .menu-chevron{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}.topbar .site-menu>summary:hover,.topbar .site-menu[open]>summary{background:#26483f;border-color:#26483f;box-shadow:0 4px 12px #263e3029}.site-menu[open]>summary .menu-chevron{transform:rotate(180deg)}.topbar .site-menu>summary:focus-visible{outline:3px solid #8d7348;outline-offset:4px}
.topbar .site-menu-content{padding:10px;border:1px solid #d3dbd1;border-radius:14px;box-shadow:0 16px 40px #26382e24;top:calc(100% + 10px);gap:4px}.site-menu-content>button,.site-menu-content>a{min-height:44px;margin:0;padding:11px 14px;border-radius:8px}.site-menu-content>button:hover,.site-menu-content>a:hover{background:#e5eee7}
#lobby .hero{padding:18px 0 16px;gap:32px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}#lobby .hero .sensei-logo{width:100%;max-width:360px;justify-self:center;margin:0}#lobby .hero .hero-join{margin-top:22px;gap:8px}.sensei-logo .sensei-customize-button{margin:10px auto 0;min-height:48px;padding:12px 20px}.sensei-logo .mascot-action{margin:4px auto;min-height:40px}
.learning-start{padding:18px 0;margin-bottom:12px}.starting-entry{padding:12px 0;margin-bottom:20px}.home-sections{margin-top:16px;margin-bottom:24px}.home-extras:empty{display:none}.learning-heading{margin:24px 0}.starting-point{padding-top:16px;padding-bottom:36px}.starting-point h1{margin:12px 0 16px}.starting-point>p{margin:12px 0}.starting-routes{margin:20px 0;gap:14px}.starting-point>.section-back{margin-bottom:14px!important}
@media(max-width:1000px){.header-help{gap:12px}.header-help .sensei-entry{max-width:400px}.topbar{gap:12px}}
@media(max-width:600px){.topbar{padding:14px 24px;gap:12px}.header-help{gap:2px}.header-help .sensei-entry{min-height:64px;max-width:none}.header-help .suggestion-entry{min-height:44px}.topbar .site-menu>summary{min-height:48px;padding:12px 16px}#lobby .hero{grid-template-columns:minmax(0,1fr)!important;gap:20px;padding:22px 0}#lobby .hero .sensei-logo{max-width:300px}.starting-point{padding-top:12px}.starting-routes{gap:12px}.starting-entry{gap:12px}}
@media(prefers-reduced-motion:reduce){.site-menu>summary,.site-menu>summary .menu-chevron{transition:none}}

/* Private performance feedback */
.feedback-choices,.recording-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.feedback-choices button{flex:1;min-width:150px}.feedback-choices [aria-pressed="true"]{background:#dce9e3;border-color:#38584c;color:#183d30;box-shadow:inset 0 0 0 1px #38584c}#feedback-recorder{background:#f2f5f2;border:1px solid #c9d6cd;border-radius:16px;padding:18px;margin:16px 0}.recording-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}.recording-clock{font-variant-numeric:tabular-nums;white-space:nowrap}.sensei-dialog audio,#owner-sensei audio{display:block;width:100%;margin:14px 0}.sensei-dialog audio[hidden],#feedback-recorder[hidden]{display:none}.recording-actions a{display:inline-flex;align-items:center;text-decoration:none;padding:10px 14px}.recording-message{min-height:1.5em}.sensei-dialog .quiet{font-size:14px;line-height:1.6}.sensei-dialog{max-height:90dvh;overflow:auto}#sensei-form textarea{width:100%;box-sizing:border-box}

/* Daily practice is a primary home action; sharing stays private until chosen. */
.hero+.practice-home-links{margin:8px 0 22px;gap:12px}.hero+.practice-home-links>button{padding:16px 20px}.hero+.practice-home-links>button:first-child{background:#e8efea;border-color:#a6beb0}.hero+.practice-home-links>button:first-child strong{color:#244938}.share-practice-progress{margin:12px 0 24px}.progress-share-dialog{width:min(580px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box}.progress-share-dialog fieldset{display:flex;flex-wrap:wrap;gap:16px;padding:16px;border:1px solid var(--line);border-radius:12px;margin:16px 0}.progress-share-dialog label{display:block;line-height:1.6}.progress-share-dialog input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}.progress-share-dialog textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.6;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f5f7f3}.progress-share-dialog .share-permission{margin:18px 0}.progress-share-actions{display:flex;flex-wrap:wrap;gap:10px}.progress-share-actions button{min-height:46px}.progress-share-dialog .quiet{font-size:14px;line-height:1.6}@media(max-width:600px){.hero+.practice-home-links{grid-template-columns:1fr}.hero+.practice-home-links>button{padding:14px 16px}.progress-share-actions button{width:100%}}

.owner-analytics{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7f8f4}.owner-analytics>summary{font-size:21px;font-weight:750}.analytics-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0}.analytics-toolbar label{display:grid;gap:6px}.analytics-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.analytics-totals>div{background:#e8efea;border-radius:12px;padding:16px;display:grid;gap:6px}.analytics-totals strong{font-size:30px;font-variant-numeric:tabular-nums}.analytics-bars{height:120px;display:flex;gap:3px;align-items:end;border-bottom:1px solid #a6beb0;margin:16px 0}.analytics-bars>div{flex:1;min-width:1px;background:#527a65;border-radius:3px 3px 0 0}.analytics-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.owner-analytics table{width:100%;border-collapse:collapse;font-size:14px}.owner-analytics th,.owner-analytics td{text-align:left;padding:9px 5px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.owner-analytics td:nth-child(n+2),.owner-analytics th:nth-child(n+2){text-align:right}.analytics-explanation{margin-top:20px}.analytics-opt-out{display:block;margin:20px 0;line-height:1.6}.analytics-opt-out input{width:20px;height:20px;vertical-align:middle}.analytics-empty{padding:16px;background:#eeeae1;border-radius:10px}@media(max-width:650px){.analytics-breakdowns{grid-template-columns:1fr}.analytics-totals{gap:6px}.analytics-totals>div{padding:10px}.analytics-totals strong{font-size:24px}.analytics-totals span{font-size:13px}.owner-analytics{padding:12px}.analytics-toolbar button{flex:1}}

#discovery-share{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}#discovery-share>span{font-weight:750}#discovery-share small{font-size:13px;font-weight:500}.social-icon-preview{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0}.social-brand{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:650}.social-brand svg{width:22px;height:22px;flex:none}.share-platforms{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-platforms .social-platform{display:flex;align-items:center;gap:12px;padding:14px;text-align:left}.social-platform svg{width:28px;height:28px;flex:none}.social-platform>span{display:grid;gap:4px}.social-platform small{font-size:13px;line-height:1.4;color:var(--muted)}[data-platform=Facebook] svg{color:#1877f2}[data-platform=Instagram] svg{color:#b52b72}[data-platform=LinkedIn] svg{color:#0a66c2}[data-platform=Bluesky] svg{color:#087ddb}[data-platform=Threads] svg{color:#202020}.share-platforms button{min-height:48px}.discovery-share-dialog .share-tools>p{font-size:15px;line-height:1.6}@media(max-width:480px){.share-platforms{grid-template-columns:1fr}.social-icon-preview{gap:10px}.social-brand{font-size:13px}}

/* Sensei action control: a stable, clearly labelled target on touch and desktop. */
.sensei-logo .sensei-move-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:190px;margin:5px auto 0;padding:10px 17px;border:1px solid #b9b9a9;border-radius:999px;background:#f5f2e9;color:#263d37;font-family:inherit;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 3px 10px #132e2610;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}
.sensei-logo .sensei-move-button svg{width:20px;height:20px;flex:none}
.sensei-logo .sensei-move-button:hover:not(:disabled){background:#e2eadf;box-shadow:0 4px 14px #132e2620;transform:translateY(-1px)}
.sensei-logo .sensei-move-button:focus-visible{outline:3px solid #496b5c;outline-offset:4px}
.sensei-logo .sensei-move-button:disabled{opacity:.75;cursor:default}
.sensei-action{pointer-events:none}

/* Keep the expanded menu reachable on short screens and phones. */
.site-menu-content{max-height:min(70dvh,640px);overflow-y:auto;overscroll-behavior:contain;gap:2px}.site-menu-content button,.site-menu-content a{padding:10px 14px}.section-options>h2{margin:16px 0 0;font-size:24px}

.support-message{max-width:440px;padding:4px 0 2px}.support-heading .support-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(27px,3vw,36px);font-weight:400;font-style:italic;line-height:1.2;letter-spacing:-.025em;color:#304b43;margin:0 0 16px;text-wrap:balance}.support-heading .support-detail{font-size:17px;line-height:1.5;color:#554f48;margin:0;max-width:34ch}@media(max-width:650px){.support-heading .support-lead{font-size:29px}.support-message{padding-top:8px}}

.wardrobe-collections{background:#eeede5;padding:18px;border:1px solid #d8d9cf;border-radius:14px;margin:0 0 24px}.wardrobe-collections>label{display:block;font-size:16px;font-weight:700;margin-bottom:8px}.wardrobe-collections select{width:100%;min-height:48px;background:#fffdf7;color:#263c34;border:1px solid #9aaa9f;border-radius:8px;padding:10px;font:inherit}.wardrobe-collections>p,.wardrobe-calendar{font-size:15px;line-height:1.5}.wardrobe-calendar summary{cursor:pointer;font-weight:650;padding:8px 0}.wardrobe-calendar ul{padding-left:20px}.wardrobe-calendar li{margin:8px 0}.wardrobe-item-name{display:block;font-size:13px;line-height:1.25;margin:6px 0 0;color:#263c34;text-align:center}.sensei-choice input:focus-visible+span{outline:3px solid #476c60;outline-offset:3px}.wardrobe-catalog{min-width:0}.wardrobe-catalog .sensei-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wardrobe-catalog .portrait-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wardrobe-catalog .skin-choice-grid{grid-template-columns:repeat(10,minmax(0,1fr))}@media(max-width:650px){.wardrobe-catalog .sensei-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wardrobe-catalog .skin-choice-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.sensei-custom-layout{overflow-x:hidden}.wardrobe-catalog{padding:0 6px;box-sizing:border-box}.wardrobe-catalog .sensei-choice{min-width:0}.wardrobe-catalog .sensei-choice-panels{overflow-x:clip}

/* Shared wordmark art keeps the lettering, sound waves and red i identical. */
.topbar .shared-brand-wordmark{display:block;width:clamp(185px,22vw,290px);height:auto;overflow:visible}.header-brand-title{min-width:0}.motto-curve text{font-size:28px;letter-spacing:0}.motto-curve{max-width:420px;overflow:visible}.motto-curve>text{animation:motto-breathe 8s ease-in-out infinite;transform-origin:210px 42px}@keyframes motto-breathe{0%,58%,76%,100%{transform:translateY(0)}65%{transform:translateY(-1px)}}@media(prefers-reduced-motion:reduce){.motto-curve>text{animation:none}}@media(max-width:600px){.topbar .shared-brand-wordmark{width:190px}.topbar .brand{gap:8px}.brand-address{font-size:12px}}

/* A consistent, compact daily learning entry. */
.daily-practice-entry{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px 24px;border-radius:18px;padding:24px;background:#eef1e9;border:1px solid #d6ded1}.daily-intro{font-size:16px;line-height:1.5;margin:8px 0 0;color:#4c574d}.daily-steps{grid-column:1/-1;display:flex;gap:32px;margin:0;padding:12px 0 0 24px;border-top:1px solid #ced7c9;font-size:15px;font-weight:650}.daily-playing{padding:16px 22px;border-bottom:1px solid var(--line);margin:0 0 20px}.daily-playing>summary{font-size:18px;font-weight:700;min-height:44px;display:list-item;cursor:pointer}.daily-playing .practice-activity{border:none;padding:8px 0}.daily-playing .practice-activity>summary{font-weight:700}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #526a58;outline-offset:4px}html{scroll-padding-top:24px}.site-menu-content button{min-height:44px}dialog{max-height:calc(100dvh - 32px);overflow-y:auto}body[data-motion="still"] *,body[data-motion="still"] *::before,body[data-motion="still"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(max-width:600px){.daily-practice-entry{grid-template-columns:1fr;padding:20px}.daily-practice-entry>.primary{width:100%}.daily-steps{gap:26px}.daily-playing{padding:14px 12px}}

.content-studio{padding:18px 0;border-top:1px solid var(--line)}.content-studio summary{font-size:19px;font-weight:700;min-height:44px;cursor:pointer}.content-studio textarea,.content-studio select,.content-studio input:not([type="checkbox"]){width:100%;font:inherit}.content-studio form{display:grid;gap:10px;margin:20px 0}.editor-revisions>details{padding:16px 0;border-top:1px solid var(--line)}.editor-revisions label{display:block;margin:12px 0}.header-help .sensei-requirement{font-size:12px;font-weight:650;color:#526052}.app-update{padding:12px;border-top:1px solid var(--line);font-size:14px;max-width:280px}

.progress-meaning{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.progress-meaning article{border-top:2px solid #899b84;padding-top:12px}.progress-meaning h2{font-size:20px}.progress-meaning p,.level-outcome{font-size:16px;line-height:1.6;color:#526052}.level-outcome{max-width:65ch;margin:6px 0 20px}@media(max-width:650px){.progress-meaning{grid-template-columns:1fr;gap:12px}}
#lobby .learning-start.daily-practice-entry{padding:24px}@media(max-width:600px){#lobby .learning-start.daily-practice-entry{padding:20px}}

/* A secondary header action, aligned with the feedback card and Menu. */
.header-help{gap:10px}
.header-help .suggestion-entry{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:46px;margin:0;padding:11px 14px;border:1px solid #c5d2ca;border-radius:12px;background:#f0f2ed;color:#355c52;font-family:inherit;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none;box-shadow:none;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.header-help .suggestion-entry svg{width:23px;height:23px;flex:none;overflow:visible}
.header-help .suggestion-entry:hover{background:#e3ece6;border-color:#8ca99a;box-shadow:0 3px 9px #263e3010;text-decoration:none}
.header-help .suggestion-entry:focus-visible{outline:3px solid #355c52;outline-offset:3px}
@media(min-width:521px) and (max-width:1000px){.header-help .suggestion-entry{width:auto;flex:none}}
@media(prefers-reduced-motion:reduce){.header-help .suggestion-entry{transition:none}}

/* Lesson sequence: clear numbers, objectives, and readable teaching sections. */
.learning-level .lesson-link{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:16px;text-align:left;padding:18px 16px;width:100%;height:auto}
.learning-level .lesson-number{flex:0 0 32px;color:#355c52;font-size:17px;font-weight:750;line-height:1.5;font-variant-numeric:tabular-nums}
.learning-level .lesson-link-copy{flex:1;display:grid;gap:6px;min-width:0}.lesson-link-copy strong{font-size:19px;line-height:1.35}.lesson-link-copy>span{font-size:15px;font-weight:400;line-height:1.5;color:var(--muted)}.lesson-link-copy small{font-size:14px;line-height:1.4}
.level-finish{padding:16px 0;margin:10px 0 0;font-size:16px;line-height:1.65;border-top:1px solid var(--line)}
.lesson-guide{margin:20px 0 26px;padding:18px 22px;background:#f0f2ed;border:1px solid #d6ddd4;border-radius:14px}.lesson-guide summary{font-size:17px;font-weight:750;cursor:pointer;line-height:1.45;min-height:30px}.lesson-guide h3{font-size:18px;margin:24px 0 8px;line-height:1.4}.lesson-guide p,.lesson-guide li{font-size:16px;line-height:1.7;max-width:70ch}.lesson-guide p{margin:8px 0}.lesson-guide ul,.lesson-guide ol{padding-left:24px}.lesson-guide li+li{margin-top:10px}.lesson-preparation{display:flex;flex-wrap:wrap;gap:8px}.lesson-preparation .text-btn{padding:8px 0;min-height:44px;font-size:15px}
.lesson-table-wrap{overflow-x:auto;margin:18px 0}.lesson-guide table{width:100%;border-collapse:collapse;text-align:left;font-size:15px}.lesson-guide caption{text-align:left;font-weight:700;padding:0 0 10px}.lesson-guide th,.lesson-guide td{padding:10px;border-bottom:1px solid #ccd6cd;line-height:1.5}.checkpoint-help{font-size:15px;line-height:1.6;max-width:65ch;margin:22px 0 10px}
@media(max-width:600px){.lesson-guide{padding:16px}.learning-level .lesson-link{padding:16px 8px;gap:12px}.lesson-link-copy strong{font-size:18px}.lesson-guide h3{font-size:17px}.lesson-guide th,.lesson-guide td{padding:8px 5px}.lesson-guide table{font-size:14px}}

/* Paired study options share one visual language and responsive layout. */
.learning-heading{max-width:940px}.learning-heading>p:not(.eyebrow){max-width:760px}
.learning-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:26px}
.learning-actions .learning-action{display:flex;align-items:center;gap:16px;min-height:102px;width:100%;padding:20px;text-align:left;border:1px solid #d7ddd8;border-radius:14px;background:#fff;color:#29312d;box-shadow:0 2px 5px #29312d05;transition:background .18s,border-color .18s,box-shadow .18s}
.learning-action>span:last-child{min-width:0}.learning-action strong{display:block;font-size:18px;font-weight:650;line-height:1.35}.learning-action small{display:block;margin-top:5px;font-size:15px;line-height:1.5;font-weight:400;color:#59635c}
.learning-action .learning-action-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:#edf3ef;color:#3d5e51}.learning-action-icon svg{width:26px;height:26px}
.learning-actions .learning-action:hover{background:#f2f7f3;border-color:#759486;color:#29312d;box-shadow:0 4px 12px #29312d0c}.learning-actions .learning-action:focus-visible{outline:3px solid #3d5e51;outline-offset:4px}
@media(max-width:640px){.learning-actions{grid-template-columns:1fr;gap:12px;margin-top:22px}.learning-actions .learning-action{min-height:92px;padding:17px;gap:14px}.learning-action strong{font-size:18px}}

/* Keep the motto attached to the hero wordmark, with a quieter shallow arc. */
#lobby .sensei-logo .brand-motto{margin:-13px auto 8px;width:94%;color:#303b35;line-height:1}
#lobby .motto-curve{max-width:370px;overflow:visible}
#lobby .motto-curve text{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-style:normal;font-weight:400;letter-spacing:.6px}
#lobby .motto-glint{fill:#303b35}
@media(max-width:600px){#lobby .sensei-logo .brand-motto{margin-top:-10px;width:100%}}

/* Daily discoveries: original, source-backed information graphics. */
.discovery-visual{margin:1.2rem 0;padding:1.2rem;border-radius:14px;background:#f0eee7;border:1px solid #d6d2c7;color:#292826}
.discovery-visual figcaption{font-size:1rem;font-weight:750;margin-bottom:1rem;line-height:1.4}
.discovery-visual ol{display:flex;gap:1rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.discovery-visual li{flex:1;min-width:120px;border-top:3px solid #a63832;padding-top:.65rem;display:flex;flex-direction:column;gap:.35rem}
.discovery-visual strong{font-size:1.25rem;line-height:1.2}.discovery-visual span{font-size:1rem;line-height:1.45}
.discovery-source{display:block;width:fit-content;font-size:.9rem;line-height:1.5;margin-top:.6rem;color:#505b55;text-decoration:underline;text-underline-offset:3px}
.daily-context{line-height:1.65}.discovery-controls{flex-wrap:wrap}.discovery-controls button{white-space:normal}
@media(max-width:520px){.discovery-visual li{min-width:100px}.discovery-visual{padding:1rem}.discovery-controls button{flex:1 1 150px}}

@media(max-width:520px){.discovery-visual ol{flex-direction:column}.discovery-visual li{min-width:0}}
/* The collectible cabinet: original enamel artwork, readable goals, full-color previews. */
.badge-dialog{width:min(1120px,calc(100% - 24px));background:#f6f3ec;border:1px solid #c8c0b0;padding:28px;max-height:92dvh}.badge-dialog>.dialog-head{position:sticky;top:-28px;z-index:3;background:#f6f3ec;padding:20px 0 14px}.badge-dialog .dialog-head h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.03em}.collection-intro{padding:22px 24px;background:linear-gradient(115deg,#202b32,#253e3d);color:#f7e7c3;border-radius:16px}.collection-kicker{font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;line-height:1.6}.collection-intro>p:last-child{font-family:Georgia,serif;font-size:clamp(24px,3vw,34px);line-height:1.2;margin:10px 0 0}.badge-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.badge-filters button{border:1px solid #b4b7ad;background:#fff;padding:10px 15px;min-height:44px;border-radius:999px;font-size:15px}.badge-filters button[aria-pressed=true]{background:#234b46;color:white;border-color:#234b46}.badge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.collectible-badge,.collectible-badge.earned{padding:0 16px 18px;background:#fff;border:1px solid #d9d5cc;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #1d263508}.collectible-badge.earned{border-color:#769184;box-shadow:0 4px 18px #193c3214}.collectible-badge .badge-emblem{width:calc(100% + 32px);height:190px;min-height:190px;display:grid;place-items:center;border:0;border-radius:0;padding:10px;clip-path:none;filter:none;background:radial-gradient(ellipse at 50% 36%,#344854,#17252f 77%);position:relative;overflow:hidden;cursor:zoom-in}.collectible-badge .badge-emblem:after{content:'';position:absolute;inset:-30%;background:linear-gradient(110deg,transparent 40%,#ffffff22 50%,transparent 60%);transform:translateX(-100%);pointer-events:none}.collectible-badge .badge-emblem:hover:after,.collectible-badge .badge-emblem:focus-visible:after{animation:enamel-light .9s ease-out}.collectible-badge .badge-emblem:hover{background:radial-gradient(ellipse at 50% 36%,#405660,#17252f 77%)}.collectible-badge .badge-emblem:focus-visible{outline:3px solid #e9c977;outline-offset:-4px}.badge-emblem .collectible-art{width:172px;height:172px;filter:drop-shadow(0 9px 5px #0006);transition:transform .3s cubic-bezier(.2,.7,.2,1)}.badge-emblem:hover .collectible-art,.badge-emblem:focus-visible .collectible-art{transform:translateY(-4px) rotate(-3deg) scale(1.05)}.badge-series{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;color:#62675e;margin-top:16px}.collectible-badge h3{font-size:18px;line-height:1.25;margin:8px 0 10px;min-height:44px;display:grid;place-items:center}.badge-state{font-size:12px;background:#eeeee7;color:#545d56;padding:5px 10px;border-radius:99px}.earned .badge-state{color:#225344;background:#def1e7}.collectible-badge[data-tier=Masterwork] .badge-state{color:#593a77;background:#eee4f6}.collectible-badge[data-tier=Masterwork].earned .badge-state{background:#e7d6f4;color:#4c2f68}.collectible-badge p{font-size:14px;line-height:1.55;margin:12px 0 16px}.collectible-badge progress{accent-color:#357466;height:7px;flex:none}.collectible-badge small{color:#5d665f;font-size:13px}.badge-detail{max-height:92dvh;overflow:auto;width:min(580px,calc(100% - 24px));border:1px solid #adb8b4;background:#faf8f1;padding:24px;border-radius:20px}.badge-detail .dialog-head h2{font-size:22px}.badge-detail-body{text-align:center}.badge-close-art{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 30%,#344a55,#14212c 85%);border-radius:16px;margin:16px 0 24px;min-height:300px;position:relative;overflow:hidden}.badge-close-art svg{width:290px;height:290px;filter:drop-shadow(0 12px 12px #0009)}.badge-detail-body h3{font-size:32px;line-height:1.15;margin:10px 0 18px;letter-spacing:-.025em}.badge-detail-body>p:not(.collection-kicker){font-size:17px;line-height:1.6}.badge-detail-goal{background:#ecefe6;border-radius:10px;padding:16px}.badge-detail-body>strong{display:block;font-size:16px;line-height:1.5;color:#285649}.badge-detail-body .quiet{font-size:14px!important}.badge-empty{grid-column:1/-1;padding:30px;border:1px dashed #9da99f;line-height:1.6}.badge-toast>span .collectible-art{width:82px;height:82px}.badge-toast{border-color:#c7b088}.practice-badge,.practice-badge.earned{background:#fff;border:1px solid #d0d7ce;overflow:hidden;padding-top:10px}.practice-badge .collectible-art,.practice-badge.earned .collectible-art{width:140px;height:140px;fill:initial;stroke:none;filter:drop-shadow(0 6px 3px #17252f33)}.practice-badge.earned{border-color:#698f7b;background:#f9fcf7}
@keyframes enamel-light{to{transform:translateX(100%)}}
@media(max-width:950px){.badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.badge-dialog{padding:16px}.badge-dialog>.dialog-head{top:-16px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collectible-badge,.collectible-badge.earned{padding:0 10px 14px}.collectible-badge .badge-emblem{width:calc(100% + 20px);height:150px;min-height:150px;padding:4px}.badge-emblem .collectible-art{width:142px;height:142px}.collectible-badge h3{font-size:17px}.collectible-badge p{font-size:14px}.badge-series{font-size:10px}.badge-filters{gap:6px}.badge-filters button{padding:9px 12px}.badge-close-art{min-height:260px}.badge-close-art svg{width:250px;height:250px}.collection-intro{padding:18px}.badge-detail{padding:18px}}
@media(prefers-reduced-motion:reduce){.badge-emblem .collectible-art{transition:none}.collectible-badge .badge-emblem:hover:after,.collectible-badge .badge-emblem:focus-visible:after{animation:none}.badge-emblem:hover .collectible-art,.badge-emblem:focus-visible .collectible-art{transform:none}}
.badge-dialog{max-width:1120px}.badge-detail{max-width:580px}.collection-intro p{color:#f7e7c3}.collection-intro .collection-kicker{color:#cdb985}.badge-emblem .collectible-art{max-width:100%;object-fit:contain}.badge-close-art .collectible-art{max-width:100%}
.badge-dialog .collection-intro>p:last-child{font-size:clamp(24px,3vw,34px);line-height:1.25}.badge-dialog .collection-intro .collection-kicker{font-size:12px}.badge-dialog .collectible-badge p{color:#4b554e}.badge-detail .badge-detail-body>.collection-kicker{color:#57614f}

/* Starting assessment and visible playing library share the home-page palette. */
#lobby .starting-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:0 0 20px;border:1px solid #d6ded1;border-radius:18px;background:#faf8f1;box-shadow:inset 4px 0 #526a58}.starting-entry-copy{min-width:0}.starting-entry-copy .eyebrow{margin:0 0 8px;color:#526a58}.starting-entry-copy strong{font-size:24px;line-height:1.25}.starting-entry-copy>p:last-child{font-size:16px;margin:8px 0 0;color:#4c574d}.starting-entry>.primary{min-height:52px}
.home-playing-exercises{margin:24px 0 28px}.home-playing-exercises>h2{font-size:25px;margin:0 0 8px}.home-playing-exercises>p{font-size:16px;margin:0 0 18px;color:#4c574d}.playing-exercise-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.playing-exercise-link{display:flex;flex-direction:column;text-align:left;gap:7px;background:#fffdf8;border:1px solid #d6ded1;border-left:4px solid #526a58;border-radius:12px;padding:20px;color:#292826}.playing-exercise-link strong{font-size:20px}.playing-exercise-link span{font-size:15px;font-weight:400;line-height:1.5;color:#4c574d}.playing-exercise-link:hover{background:#eef1e9}.fundamentals-topics{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 16px}.fundamentals-topics button[aria-pressed=true]{background:#36574d;color:white;border-color:#36574d}
@media(max-width:600px){#lobby .starting-entry{align-items:stretch;flex-direction:column;padding:20px;gap:16px}.starting-entry-copy strong{font-size:22px}.starting-entry>.primary{width:100%}.playing-exercise-links{grid-template-columns:1fr}.playing-exercise-link{padding:17px}.fundamentals-topics button{flex:1 1 40%}}
/* Connected practice: generous help row, one editable portrait, quiet admin entry. */
.topbar{display:flex;flex-wrap:wrap;gap:18px}.brand-cluster{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.brand-cluster .brand{min-width:0}.header-avatar-create{display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid #c5cfc7;border-radius:16px;padding:5px 8px;background:#f3f4ee;color:#355c52;flex:none}.header-avatar-create>span:last-child{font-size:12px;font-weight:750;line-height:1.2}.header-avatar-create .sensei-emblem{width:52px;height:52px;margin:0}.topbar .header-help{order:10;flex:1 0 100%;width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:20px;margin:0;padding-top:16px;border-top:1px solid var(--line)}.topbar .header-help .sensei-entry,.topbar .header-help .suggestion-entry{width:100%;min-width:0;min-height:90px;justify-content:flex-start;padding:16px 20px;margin:0;border-radius:12px;text-align:left}.header-help .sensei-entry strong{font-size:18px}.header-help .sensei-entry small{font-size:14px;line-height:1.5}.header-help .sensei-entry .sensei-requirement{margin-top:5px;font-size:13px}.topbar .header-help .suggestion-entry{font-size:18px}.admin-internal-control{display:none!important}footer{flex-wrap:wrap;gap:16px}footer .text-btn{font-size:14px;min-height:44px}.study-day-summary{background:#eff3ee;border-left:3px solid #355c52;padding:18px 20px;margin:20px 0 26px}.study-day-summary h3{margin-top:0}.study-day-summary .quiet{font-size:14px}.practice-entry-form textarea{width:100%;font:inherit;line-height:1.5}.practice-entry-form label{line-height:1.5}.calendar-day.has-study small:last-child{font-size:10px;color:#355c52}.practice-day>h3{margin-top:28px}
.symbols-page{max-width:850px;margin:0 auto;padding:24px 0 60px}.symbols-page>p{font-size:18px;line-height:1.6}.symbols-tabs,.symbols-groups{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.symbols-tabs button,.symbols-groups button{min-height:46px;padding:12px 18px}.symbols-tabs [aria-pressed=true],.symbols-groups [aria-pressed=true]{background:#355c52;color:white;border-color:#355c52}.symbols-content{padding:28px;background:#fffdf8;border:1px solid var(--line);border-radius:16px;text-align:center}.symbols-content>img{width:min(100%,320px);height:200px;display:block;margin:8px auto}.symbol-explanation{max-width:550px;margin:20px auto;line-height:1.6;font-size:18px}.symbols-navigation,.symbols-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.symbols-navigation button,.symbols-choices button{min-height:52px;font-size:17px}.symbols-count{font-size:15px;color:var(--muted)}.symbols-choices .symbol-correct:disabled{background:#e1f1e7;border:2px solid #355c52;color:#204d3b;opacity:1}.symbol-review{border-top:1px solid var(--line);padding:16px 0}.symbol-review img{height:90px;width:150px}.symbols-content>.secondary{margin-top:16px}.header-avatar-create:focus-visible{outline:3px solid #355c52;outline-offset:4px}
@media(max-width:650px){.topbar{gap:12px;padding:16px 20px}.brand-cluster{flex:1 0 calc(100% - 105px);gap:8px}.brand-cluster .brand-wordmark{max-width:185px}.topbar .header-help{grid-template-columns:1fr;gap:12px}.topbar .header-help .suggestion-entry{min-height:56px}.topbar .header-help .sensei-entry{min-height:100px}.header-avatar-create .sensei-emblem{width:42px;height:42px}.symbols-content{padding:18px 14px}.symbols-choices{grid-template-columns:1fr 1fr}.symbols-choices button{font-size:16px;padding:12px 8px}}

#rhythm-counts span small{display:block;font-size:.7rem;line-height:1.4;font-weight:600}#rhythm-counts span{flex:1 0 36px}#rhythm-example .rhythm-question-notation{height:auto;min-height:100px}

/* Focused rhythm lessons: one goal, one player, one check. */
.rhythm-course-outline,.rhythm-course-review{padding:18px 22px;border:1px solid #d4d9d1;border-radius:16px;background:#fffdf7;margin:20px 0}.rhythm-course-outline summary,.rhythm-course-review summary{cursor:pointer;font-weight:700;font-size:1.05rem}#rhythm-course-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}#rhythm-course-nav button{font:inherit;text-align:left;padding:12px;border:1px solid #ccd6ce;border-radius:8px;background:transparent;color:#243f38}#rhythm-course-nav [aria-current=step]{background:#243f38;color:#fff}.rhythm-course-lesson{padding:clamp(20px,4vw,42px);margin:20px 0}.rhythm-course-lesson p{line-height:1.65}.rhythm-course-lesson h2{scroll-margin-top:100px}.rhythm-course-goal{font-size:1.1rem}.rhythm-course-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);gap:36px;margin-top:24px}.rhythm-course-player,.rhythm-course-practice{min-width:0}.rhythm-course-player select{width:100%;font:inherit;padding:10px;border:1px solid #bbc7bd;border-radius:8px;background:#fffdf7;color:inherit;margin:8px 0 14px}.rhythm-course-player input{width:100%;margin:18px 0}.rhythm-course-player label{font-weight:600}.rhythm-course-ready{padding:16px;background:#eef2ea;border-radius:12px;margin-top:24px}.rhythm-course-check{border-top:1px solid #d6d8ce;margin-top:28px;padding-top:22px}#rhythm-course-diagram{max-width:650px}#rhythm-course-answers{display:flex;flex-wrap:wrap;gap:10px}#rhythm-course-feedback{min-height:1.7em}.rhythm-course-paging{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.rhythm-course-review #rhythm-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}@media(max-width:760px){.rhythm-course-workspace{grid-template-columns:1fr;gap:20px}#rhythm-course-nav{grid-template-columns:1fr}.rhythm-course-paging button{font-size:.9rem;padding:12px}.rhythm-course-review #rhythm-values{grid-template-columns:1fr}}

.rhythm-transport{margin:18px 0;padding:18px;border-radius:16px;background:#eaf0e8;border:1px solid #c7d2c5}.rhythm-now{display:flex;align-items:center;gap:16px;margin-bottom:16px}#rhythm-beat-display{display:grid;place-items:center;width:60px;height:60px;font:700 2rem Georgia,serif;border-radius:50%;background:#25443c;color:white;font-variant-numeric:tabular-nums}#rhythm-playback-status{font-size:1rem;font-weight:600}.rhythm-play-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.rhythm-play-options label{display:flex;align-items:center;gap:8px}.rhythm-play-options input[type=checkbox]{width:20px;height:20px;margin:0}.rhythm-play-options select{width:auto;flex:1;margin:0}.rhythm-transport #rhythm-play{width:100%;margin-top:16px;padding:15px;font-size:1.1rem}#rhythm-example .rhythm-note-active{color:#a43529}#rhythm-example .rhythm-note-active .rhythm-note-halo{fill:#a435291a}#rhythm-counts .active{background:#25443c;color:#fff;box-shadow:0 0 0 2px #25443c}#rhythm-example svg{min-height:150px}
