/* People, shared progress and small rewards, in the coastal studio's language. */
.side-nav a{font-size:14px}.learner-badge{text-decoration:none}.profile-avatar{width:43px;height:43px;border-radius:50%;display:inline-grid;place-items:center;background:#d5ebf5;color:#225b7e;font-size:14px;font-weight:600;overflow:hidden;flex:none;border:2px solid #fff;box-shadow:0 0 0 1px #c5dce8}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar.large{width:100px;height:100px;font-size:30px;border-width:4px}.profile-avatar.friend{background:#e9f4f9;color:#5695b4;font-size:27px}
.profile-hero{background:#e8f2f8;border:1px solid #cfdee9;border-radius:8px 38px 8px 8px;padding:30px;display:flex;align-items:center;gap:26px;margin:20px 0 35px}.profile-hero>div{flex:1}.profile-hero h2{font-size:29px;margin:8px 0;font-weight:500}.profile-hero p{font-size:14px;color:#607f93;max-width:38em;line-height:1.7}.profile-hero>div>span:last-child{font-size:11px;color:#68889b}.rank-pill{display:inline-block;color:#317b9d;border:1px solid #b0d2e3;background:#f4fbfe;border-radius:20px;padding:6px 11px;font-size:9px;letter-spacing:.09em;font-weight:600}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.collection-heading h2{font-size:38px;line-height:1;margin:9px 0;color:#1b526f}.collection-heading h2 span{font-size:17px;font-weight:450;color:#7b98a9}.collection-heading label{width:190px}.collection-heading select{padding:10px 12px;font-size:13px}.badge-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.collectible{appearance:none;text-align:center;background:#fff;border:1px solid #d9e6ee;border-radius:10px;padding:17px 7px 12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:163px;transition:transform .2s,border-color .2s,box-shadow .2s;color:#2c617d}.collectible[hidden]{display:none}.collectible:hover,.collectible:focus-visible{transform:translateY(-3px);border-color:#69abc8;box-shadow:0 5px 20px #13455e12}.collectible svg{height:75px;width:62px;filter:drop-shadow(0 3px 2px #20516b15)}.badge-ribbon{fill:#5998b6}.badge-medal{fill:#e2b968;stroke:#f7e5b5;stroke-width:3}.badge-glyph{fill:none;stroke:#78541d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.collectible.earned{background:#fffdf7;border-color:#e4d9ba}.collectible[data-category=Speed] .badge-medal{fill:#a9d8ef;stroke:#daf2fc}.collectible[data-category=Speed] .badge-glyph{stroke:#216b96}.collectible[data-category=Accuracy] .badge-medal{fill:#a9d7cd;stroke:#def1ec}.collectible[data-category=Accuracy] .badge-glyph{stroke:#356d64}.collectible[data-category=Consistency] .badge-medal{fill:#d7c5e5;stroke:#eee3f6}.collectible[data-category=Consistency] .badge-glyph{stroke:#795a90}.collectible[data-category=Community] .badge-medal{fill:#ecc4a8;stroke:#f8e9de}.collectible[data-category=Community] .badge-glyph{stroke:#9a6743}.collectible strong{font:550 11px/1.4 'DM Sans',sans-serif}.collectible>span{font-size:9px;letter-spacing:.02em;color:#8a9eaa}.collectible.locked svg{filter:grayscale(1);opacity:.3}.collectible.locked strong{color:#8398a6}.badge-detail{display:flex;align-items:center;gap:16px;min-height:85px;padding:14px 20px;background:#ebf4f9;border-left:3px solid #7fbad2;border-radius:4px;margin-bottom:22px;color:#54768b;font-size:13px}.badge-detail svg{width:40px;height:50px;flex:none}.badge-detail strong{color:#285d7a;font-size:15px}.badge-detail p{margin:5px 0 0;font-size:12px;line-height:1.6}
.settings-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:25px}.settings-card{background:#fff;border:1px solid #d5e3ed;border-radius:12px;padding:28px}.settings-card h2{font-size:21px;font-weight:500;margin:0 0 22px}.settings-card label{display:block}.settings-card form>label{margin-bottom:18px}.settings-card input,.settings-card textarea{border-color:#cbdfe9;background:#fbfdfe}.settings-card textarea{min-height:85px}.photo-editor{display:flex;align-items:center;gap:20px;margin-bottom:18px}.photo-picker{display:inline-flex!important;position:relative;cursor:pointer;margin-bottom:10px}.photo-picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.photo-picker:focus-within{outline:3px solid #56b3df;outline-offset:3px}.photo-editor .text-link{display:block;font-size:11px}.photo-editor p{font-size:10px;line-height:1.6;max-width:18em}.setting-switch{display:flex!important;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e0eaf1}.setting-switch span{display:flex;flex-direction:column;gap:7px}.setting-switch strong{font-size:14px;font-weight:550}.setting-switch small{font-size:12px;color:#738a99;line-height:1.7}.setting-switch input{width:22px;height:22px;accent-color:#2d85ae;flex:none}.settings-link{padding-top:26px}.settings-link strong{font-size:14px}.settings-link p{font-size:12px;color:#738a99;line-height:1.7}.settings-link a{font-size:12px}
.invite-panel{margin:25px 0;padding:24px;background:#e9f4fa;border:1px solid #c7e0ed;border-radius:9px}.invite-panel>div>p{font-size:14px;margin:8px 0 17px}.invite-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.share-link,.invite-actions .text-link{font-size:12px;color:#286b90}.invite-panel>.muted-small{font-size:10px;margin-top:18px}.share-feedback{font-size:12px;color:#2f6e90}.share-feedback input{width:100%;font-size:12px}.friends-intro{padding:30px;background:#e2f0f8;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:5px 40px 5px 5px;margin-bottom:27px}.friends-intro h2{font-size:36px;font-weight:450;line-height:1.2;margin:17px 0}.friends-intro p{font-size:14px;line-height:1.8;color:#628298;max-width:34em}.friend-illustration{display:flex;gap:18px;align-items:center;padding:20px}.friend-illustration .profile-avatar{width:75px;height:75px;font-size:22px}.friend-illustration>span:nth-child(2){color:#7fb0c8;font-size:25px}.race-create form>.button{margin-top:8px}.race-create .inline-settings{margin-top:0}.friends-options{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:30px 5px}.friends-options h3{font-size:19px;font-weight:500}.friends-options p{font-size:13px;line-height:1.8;color:#6c8899}.friends-options a{font-size:12px}
.race-status{font-size:16px;color:#317b9e;background:#e6f2f8;border:1px solid #cbe2ee;padding:18px 22px;border-radius:8px;margin:25px 0 18px}.lobby-actions{display:flex;align-items:center;gap:18px;margin:20px 0}.race-players{margin:25px 0}.race-player{display:grid;grid-template-columns:minmax(150px,1fr) minmax(80px,1.4fr) 70px 45px;gap:17px;align-items:center;border:1px solid #e0e9f0;padding:15px;margin-top:9px;border-radius:8px;background:#fff;font-size:12px}.race-player.is-you{border-color:#a0d2e6;background:#f1f9fd}.racer-person{display:flex;align-items:center;gap:12px;text-decoration:none}.racer-person strong{font-size:12px}.racer-person small{display:block;color:#7897a8;font-size:10px;margin-top:6px}.racer-track{height:7px;border-radius:6px;background:#e4eff5;overflow:hidden}.racer-track i{display:block;height:100%;background:#56a7ca;border-radius:6px;transition:width 1s linear}.race-player>strong{color:#286281;font-size:20px}.race-player>strong small{font-size:8px;font-weight:400}.race-player>span{font-size:11px;color:#7091a5}.race-finale{border:1px solid #a6d5e8;background:#e8f6fc;border-radius:10px;padding:25px;margin-top:25px}.race-finale h2{font-size:30px;font-weight:450}.race-finale p{font-size:14px;color:#60859a}.race-finale a{margin-right:20px}
.practice-panel{position:relative}.practice-panel .passage{transition:filter .3s,opacity .3s;min-height:115px}.practice-panel.is-unfocused:not(.session-ended) .passage{filter:blur(6px);opacity:.6}.focus-resume{display:none;position:absolute;top:108px;left:50%;transform:translateX(-50%);z-index:3;border:1px solid #95bdd2;background:#f4fbfff2;backdrop-filter:blur(10px);color:#2e6787;border-radius:24px;padding:12px 21px;font:500 13px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}.practice-panel.is-unfocused:not(.session-ended) .focus-resume{display:block}.practice-panel.session-ended .typing-input{background:#edf4f8;color:#718b9a;cursor:default}.practice-panel.session-ended .passage{opacity:.65}.practice-panel .result-panel{margin-top:20px}.no-focus-blur .practice-panel .passage{filter:none!important;opacity:1!important}.no-focus-blur .focus-resume{display:none!important}
.lesson-shell .phase-cue{background:#edf7fba8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.lesson-shell .phase-cue.try,.lesson-shell .phase-cue.done{background:#edf8fdb0}.hand-stage:has(>.phase-cue:not([hidden]))>.hand-keyboard,.hand-stage:has(>.phase-cue:not([hidden]))>.token-row,.hand-stage:has(>.phase-cue:not([hidden]))>.finger-callout{filter:blur(7px);opacity:.45;transition:filter .4s,opacity .4s}.no-focus-blur .hand-stage:has(>.phase-cue:not([hidden]))>.hand-keyboard,.no-focus-blur .hand-stage:has(>.phase-cue:not([hidden]))>.token-row,.no-focus-blur .hand-stage:has(>.phase-cue:not([hidden]))>.finger-callout{filter:none}.no-focus-blur .lesson-shell .phase-cue{backdrop-filter:none;background:#edf8fdf5}.lesson-shell .drill-celebration{gap:13px}.lesson-shell .auto-hold{font-size:11px;color:#e0f4ff;white-space:nowrap;min-width:75px}.lesson-shell .drill-celebration .button{font-size:12px;min-width:145px}.lesson-shell .drill-celebration .button>span{display:inline}
@media(max-width:1050px){.badge-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-layout{gap:18px}.settings-card{padding:22px}.race-player{grid-template-columns:minmax(125px,1fr) minmax(50px,1fr) 65px 40px;gap:10px}.friend-illustration{padding:5px}.friend-illustration .profile-avatar{width:55px;height:55px}}
@media(max-width:760px){.side-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.side-nav a{font-size:10px}.badge-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.collectible{padding:12px 5px;min-height:146px}.collectible strong{font-size:10px}.collectible svg{height:65px;width:54px}.settings-layout{grid-template-columns:1fr}.profile-hero{padding:22px;gap:18px;flex-wrap:wrap}.profile-hero .profile-avatar.large{width:78px;height:78px}.profile-hero h2{font-size:24px}.friends-intro{padding:24px}.friend-illustration{display:none}.friends-intro h2{font-size:32px}.race-player{grid-template-columns:1fr 65px 40px}.racer-track{grid-column:1/-1;grid-row:2}.race-player>strong{font-size:18px}.race-player .profile-avatar{width:34px;height:34px}.lobby-actions{flex-wrap:wrap}.settings-card h2{font-size:20px}.race-create .inline-settings label{min-width:120px}.friends-options{gap:22px}.collectible.locked>span{font-size:8px}}
@media(max-width:500px){.badge-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-heading label{width:145px}.collection-heading h2{font-size:33px}.collection-heading h2 span{font-size:14px}.profile-hero{margin-top:15px}.profile-hero>div{min-width:170px}.profile-hero p{font-size:12px}.profile-hero .profile-avatar.large{width:66px;height:66px;font-size:23px}.photo-editor{gap:16px}.photo-editor .profile-avatar.large{width:76px;height:76px}.photo-picker{font-size:12px;padding:10px 14px}.invite-panel{padding:20px}.invite-actions{gap:13px}.invite-panel>div>p{font-size:13px}.friends-options{grid-template-columns:1fr;gap:20px}.friends-options h3{margin-bottom:9px}.friends-options p{font-size:12px}.badge-detail{padding:13px;font-size:12px;min-height:80px}.lesson-shell .auto-hold{font-size:9px;min-width:62px}.lesson-shell .drill-celebration .button{min-width:122px;font-size:11px}.lesson-shell .drill-celebration{gap:8px}.focus-resume{font-size:12px;top:110px}}
@media(prefers-reduced-motion:reduce){.collectible,.racer-track i,.practice-panel .passage{transition:none}.collectible:hover{transform:none}}
.settings-card textarea{width:100%;display:block;padding:12px 14px;border:1px solid #cbdfe9;border-radius:7px;font:400 14px/1.6 'DM Sans',sans-serif;resize:vertical}.profile-tools{margin:0 0 25px;align-items:center}.profile-tools .button{font-size:12px;padding:11px 18px}.profile-tools>span{font-size:11px}.race-finale{scroll-margin-top:20px}
.join-details{display:flex;gap:18px;align-items:end;margin:20px 0}.join-details label{max-width:300px;flex:1}.join-details .field-label{font-size:12px}@media(max-width:500px){.join-details{flex-direction:column;align-items:stretch}.join-details label{max-width:none}}
