.student-app{--nav-height: 92px;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom))}.student-app header{padding-top:18px;padding-bottom:18px}.student-app .intro{padding:28px 0 18px}.student-app .intro h1{font-size:clamp(26px,3vw,36px)}.student-app .intro-art{display:none}.student-bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translate(-50%);width:min(100%,620px);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:8px 24px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;background:#fffefaee;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #e7e7de;border-bottom:0;border-radius:28px 28px 0 0;box-shadow:0 -8px 35px #283d3010}.student-bottom-nav .nav-item{display:flex;flex-direction:column;gap:6px;background:transparent;color:#858c83;font-size:12px;min-height:65px;padding:6px;border-radius:16px}.student-bottom-nav .nav-item>svg{width:24px;height:24px}.student-bottom-nav .nav-item.active{color:var(--green);font-weight:700}.student-bottom-nav small{font-size:10px;background:#eeeee5;padding:2px 5px;border-radius:8px}.student-bottom-nav .nav-record{margin-top:-34px;align-self:start;color:var(--green)}.nav-record-disc{width:66px;height:66px;display:grid;place-items:center;background:var(--orange);border:6px solid #faf8f4;border-radius:50%;color:#fff;box-shadow:0 5px 18px #ee714b33}.nav-record-disc svg{width:26px;height:26px}.nav-record.active .nav-record-disc{background:#e66540}.library-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:32px 0 12px}.library-tools p,.my-heading p{color:#7c8178;font-size:14px}.my-heading{padding:32px 0 20px}.student-app #toast{bottom:calc(110px + env(safe-area-inset-bottom))}.student-app footer{margin-bottom:20px}@media(max-width:600px){.student-app header{padding:14px 5%}.student-app .brand{font-size:19px}.student-app .brand small{font-size:8px}.student-app .intro h1{font-size:27px;margin:10px 0}.student-app .intro p{font-size:12px}.student-app .steps{padding:18px 0;gap:8px}.student-app .steps>i{width:18px}.student-app .record-space{padding:18px 0 12px}.student-app .meter{height:48px}.student-app .record-panel{padding:20px}.student-app .record-panel h2{font-size:19px}.student-app .library-tools{align-items:flex-start}.student-app .library-tools h1{font-size:28px}.student-app .library-tools .secondary{font-size:12px;white-space:nowrap}}.student-app{background:#fff;--paper: #fff}.student-app header,.student-app .intro,.student-app footer,.student-app .steps,.student-app .record-panel,.student-app .library-top h2,.student-app .library-top .muted,.student-app .eyebrow,.student-app .my-heading>p{display:none}.student-app main{max-width:760px;padding-top:16px}.student-app .studio-grid{display:block}.student-app .panel{box-shadow:none;border:0;border-radius:0;background:#fff;padding:16px 0}.student-app .library-tools,.student-app .my-heading{padding:12px 0}.student-app .library-tools h1,.student-app .my-heading h1{font-size:25px;margin:0}.student-app .library-tools p{margin:6px 0}.student-app .sound-card{box-shadow:none;border-radius:8px}.student-app .library-empty{border:0;background:#fff;padding:64px 12px}.student-app .library-empty .primary{display:none}.student-app .library-top{margin:10px 0}.library-imports{display:flex;gap:20px}.student-bottom-nav{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border-radius:0;border:0;border-top:1px solid #eee}.nav-record-disc{border:0;box-shadow:none;width:60px;height:60px}.student-bottom-nav .nav-record{margin-top:-12px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.nav-record.recording .nav-record-disc{background:#e34839;transform:scale(1.12)}#capture-overlay{position:fixed;z-index:19;left:50%;bottom:120px;transform:translate(-50%);width:min(90%,360px);background:#fff;padding:24px;border:1px solid #eee;border-radius:8px;text-align:center;pointer-events:none}#capture-overlay[hidden]{display:none}#capture-overlay #record-time{font-size:36px}#capture-overlay #record-time span{font-size:15px}#capture-overlay #record-status{font-size:13px}.student-app .library-tools p,.student-app .storage-note{display:none}.student-app{touch-action:pan-x pan-y}.student-app #library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.student-app #library .library-empty{grid-column:1 / -1}.student-app #library .sound-card{display:flex;align-items:center;flex-direction:column;border:0;background:#fff;overflow:visible;gap:8px}.sound-open{width:88px;height:88px;border-radius:50%;background:#f2f6f4;color:#2c695b;padding:16px}.sound-open svg{width:42px;height:42px}.sound-open img{width:100%;height:100%;object-fit:cover;border-radius:50%}.sound-open:active{transform:scale(.94)}.sound-open{transition:transform .15s}.sound-detail-content{max-width:540px;margin:20px auto}.sound-detail-content .sound-art{height:180px}.student-app #library .submit-sound{font-size:13px;padding:6px 12px}.ios-student{--green: #484848;--orange: #555;color:#333;background:#fff}.ios-student .primary,.ios-student .preview-button,.ios-student .nav-record-disc,.ios-student .nav-record.active .nav-record-disc,.ios-student .nav-record.recording .nav-record-disc{background:#505050;color:#fff;box-shadow:none}.ios-student .secondary,.ios-student .sound-open,.ios-student .empty-wave{background:#f3f3f3;border-color:#dedede;color:#555}.ios-student .text-button,.ios-student .muted,.ios-student .library-empty,.ios-student .library-empty p{color:#757575}.ios-student .student-bottom-nav .nav-item{color:#929292}.ios-student .student-bottom-nav .nav-item.active{color:#333}.ios-student .rhythm-water{fill:#555}.ios-student .rhythm-dot{border-color:#aaa;background:#eee}.recording-mic{position:relative;width:90px;height:90px;margin:15px auto 28px;display:grid;place-items:center;color:#555}.recording-mic svg{width:44px;height:44px;animation:mic-breathe 1s ease-in-out infinite}.recording-mic i{position:absolute;inset:0;border:1px solid #aaa;border-radius:50%;animation:mic-ring 1.6s ease-out infinite}.recording-mic i:nth-child(2){animation-delay:.8s}@keyframes mic-ring{0%{transform:scale(.65);opacity:.8}to{transform:scale(1.35);opacity:0}}@keyframes mic-breathe{50%{transform:scale(1.12)}}@media(prefers-reduced-motion:reduce){.recording-mic svg,.recording-mic i{animation:none}}html:has(.ios-student){background:#fff}.ios-student{min-height:100dvh}.ios-student .student-bottom-nav small{background:#eee}html:has(.student-app){overscroll-behavior-y:none}.pull-refresh{position:fixed;z-index:1000;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translate(-50%);padding:10px 20px;border-radius:24px;background:#f3f3f3;color:#555;box-shadow:0 2px 12px #0001;font-size:14px;pointer-events:none}.character-sound{display:flex;align-items:center;gap:16px;margin-bottom:20px}.character-sound label{font-size:13px}.character-sound select{min-width:180px;flex:1;max-width:390px}.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.photo-actions{display:flex;gap:12px;margin:20px 0}.photo-empty{min-height:300px;background:#f6f5ee;border:1px dashed #dcded1;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;margin:20px 0;color:#8f9982}.photo-empty>span{font-size:60px;font-weight:300;color:#b5c4a6}.photo-empty strong{font-size:14px}.photo-empty p{font-size:12px}.image-service-note{padding:13px 16px;background:#f0f2e8;border-radius:10px;font-size:12px;line-height:1.8;color:#728163}#photo-canvas{width:100%;height:auto;aspect-ratio:1;border-radius:12px;touch-action:none;cursor:grab}#photo-canvas:active{cursor:grabbing}.crop-slider{display:flex;align-items:center;gap:14px;font-size:12px;color:#788777;margin:5px 0}.crop-slider input{flex:1}.character-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background-color:#fbfaf6;background-image:linear-gradient(45deg,#eef0e8 25%,transparent 25%),linear-gradient(-45deg,#eef0e8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef0e8 75%),linear-gradient(-45deg,transparent 75%,#eef0e8 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0;border-radius:15px;margin:22px 0}.character-preview img{width:85%;height:85%;object-fit:contain}#avatar-placeholder{text-align:center;font-size:55px;color:#94aa89}#avatar-placeholder small{display:block;font-size:13px;margin-top:13px;font-weight:400;color:#87977c}#generate-character{width:100%;margin:15px 0 10px}.generation-disclosure{font-size:10px}.character-save{border-top:1px solid var(--line);padding-top:17px;margin-top:19px}.character-save button{width:100%;margin-bottom:9px}#cancel-generation{margin-top:15px}.work-image{width:100%;height:100%;object-fit:contain;padding:8px}.character-edit{width:100%;margin-top:8px}.work-kind{font-size:10px;color:#6e805f;margin:8px 0 0}.submission-image{width:70px;height:70px;object-fit:contain;border-radius:8px;background:#f4f6f0;flex-shrink:0}.submission-item:has(.submission-image)>div{flex:1}@media(max-width:740px){.character-grid{grid-template-columns:1fr}.character-sound{align-items:stretch;flex-direction:column;gap:10px}.character-sound select{max-width:none}.tabs{gap:6px;overflow-x:auto}.tab{flex-shrink:0;font-size:11px}.character-preview{max-height:380px}.submission-image{width:90px;height:90px}}.student-rhythm{position:fixed;inset:var(--rhythm-viewport-top, 0px) 0 auto;width:100%;max-width:100%;height:min(100%,var(--rhythm-viewport-height, 100%));max-height:100%;margin:0;padding:10px 16px;border:0;border-radius:0;background:#fff;overflow:hidden}.student-rhythm[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.student-rhythm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.student-rhythm-heading>div{min-width:0}.student-rhythm-heading h2{margin:0;font-size:19px;line-height:1.25}.student-rhythm-heading [data-name]{margin:2px 0 0;font-size:11px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-rhythm-heading [data-close]{flex-shrink:0}.rhythm-landscape-content{display:grid;grid-template-rows:auto minmax(48px,1fr) auto auto;gap:8px;min-width:0;min-height:0}.rhythm-setup{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;min-width:0}.student-rhythm .rhythm-controls{display:grid;grid-template-columns:96px 188px;gap:10px;margin:0;min-width:0}.student-rhythm .rhythm-control{display:grid;gap:2px;color:#555;font-size:11px;line-height:1.2;min-width:0}.rhythm-stepper{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:4px}.rhythm-tempo{display:grid;grid-template-columns:30px minmax(0,1fr) 30px 28px;align-items:center;gap:3px}.student-rhythm .rhythm-controls .secondary{min-height:32px;padding:0;font-size:17px;touch-action:manipulation}.student-rhythm .rhythm-controls output{min-width:0;text-align:center;font-variant-numeric:tabular-nums;font-size:12px}.student-rhythm .rhythm-controls input[type=range]{width:100%;min-width:0;height:32px;min-height:0;margin:0;padding:0;touch-action:none}.student-rhythm .rhythm-pages{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin:0;min-width:0}.student-rhythm .rhythm-pages button{min-width:0;min-height:30px;padding:2px;font-size:12px}.student-rhythm .secondary,.student-rhythm .primary{min-height:36px;padding:6px 10px;border-radius:8px;font-size:12px;background:#f3f3f3;border:1px solid #dedede;color:#555;box-shadow:none}.student-rhythm .secondary[aria-pressed=true],.student-rhythm [data-save]{background:#227a65;border-color:#227a65;color:#fff}.student-rhythm button:focus-visible{outline:2px solid #227a65;outline-offset:-2px}.rhythm-water-stage{position:relative;isolation:isolate;min-width:0;min-height:0}.student-rhythm-grid{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:2px;width:100%;height:100%;touch-action:none}.student-rhythm-grid button{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:2px 0;background:transparent;border:0;color:#19382f}.student-rhythm-grid button:active:not(:disabled){transform:none}.student-rhythm-grid .rhythm-dot{width:min(32px,70%);aspect-ratio:1;flex-shrink:0;border-radius:50%;background:#edf2f0;border:2px solid #b6c9c3;transition:background .15s,border-color .15s,box-shadow .15s}.student-rhythm-grid .rhythm-dot-number{font-size:11px;line-height:1.2}.student-rhythm-grid button[aria-pressed=true] .rhythm-dot{background:#227a65;border-color:#227a65;box-shadow:0 0 0 4px #227a6518}.student-rhythm-grid button.held .rhythm-dot,.student-rhythm-grid button[aria-pressed=true] .rhythm-dot{background:transparent;border-color:transparent;box-shadow:none}.rhythm-water{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1;fill:#227a65}.rhythm-water rect{transition:width .28s cubic-bezier(.22,.8,.25,1)}.rhythm-water circle{transition:cx .28s cubic-bezier(.22,.8,.25,1),cy .28s ease}.rhythm-water [data-water-key]{animation:water-arrive .3s ease-out}.rhythm-water [data-playback-shapes]{fill:#e4ab35}.rhythm-water [data-playback-shapes] rect,.rhythm-water [data-playback-shapes] circle{transition:none}.student-rhythm-grid button.is-playing .rhythm-dot{background:transparent;border-color:transparent;box-shadow:none}.student-rhythm-grid button.is-playing .rhythm-dot-number{color:#704900;font-weight:700}@keyframes water-arrive{0%{opacity:0}to{opacity:1}}.student-rhythm-grid button[aria-pressed=true] .rhythm-dot:after{content:"";display:block;width:9px;height:5px;border-radius:50%;margin:6px 0 0 6px;background:#ffffff80;transform:rotate(-30deg)}.rhythm-actions{display:grid;grid-template-columns:1.4fr 1.15fr 1fr .65fr 1fr;gap:5px;min-width:0}.rhythm-actions button{min-width:0}.rhythm-feedback{display:grid;gap:3px;min-width:0}.student-rhythm progress{display:block;width:100%;height:5px;margin:0}.student-rhythm [data-status]{margin:0;font-size:11px;line-height:1.35}.rhythm-rotate{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.rhythm-rotate>span{font-size:64px}.rhythm-rotate h2{margin:8px 0}.rhythm-rotate p{margin:0}.rhythm-rotate[hidden],.rhythm-landscape-content[hidden]{display:none}.student-rhythm.rhythm-compact{padding:4px 10px;gap:4px}.rhythm-compact .student-rhythm-heading h2{font-size:16px}.rhythm-compact .student-rhythm-heading [data-name]{display:none}.rhythm-compact .rhythm-landscape-content{gap:4px;grid-template-rows:auto minmax(30px,1fr) auto auto}.student-rhythm.rhythm-compact .rhythm-controls{grid-template-columns:80px 164px;gap:8px}.rhythm-compact .rhythm-control{font-size:10px}.rhythm-compact .rhythm-stepper{grid-template-columns:24px minmax(0,1fr) 24px}.rhythm-compact .rhythm-tempo{grid-template-columns:24px minmax(0,1fr) 24px 26px;gap:2px}.student-rhythm.rhythm-compact .rhythm-controls .secondary{min-height:26px}.student-rhythm.rhythm-compact .rhythm-controls input[type=range]{height:26px}.rhythm-compact .rhythm-pages{gap:2px}.rhythm-compact .rhythm-pages button{min-height:24px}.rhythm-compact .rhythm-actions button,.rhythm-compact [data-close]{min-height:30px;padding:3px 6px;font-size:11px}.rhythm-compact .rhythm-dot{width:min(20px,70%)}.rhythm-compact .rhythm-dot-number{font-size:10px}.rhythm-compact [data-status]{display:none}.student-rhythm.rhythm-tight{padding:2px;gap:2px}.rhythm-tight .student-rhythm-heading{gap:6px}.rhythm-tight .student-rhythm-heading h2{font-size:14px;line-height:1}.rhythm-tight .rhythm-landscape-content{gap:2px;grid-template-rows:auto minmax(20px,1fr) auto auto}.rhythm-tight .rhythm-setup{gap:6px}.student-rhythm.rhythm-tight .rhythm-controls{grid-template-columns:70px 154px;gap:6px}.rhythm-tight .rhythm-control{gap:1px;font-size:9px;line-height:1}.rhythm-tight .rhythm-stepper{grid-template-columns:22px minmax(0,1fr) 22px;gap:2px}.rhythm-tight .rhythm-tempo{grid-template-columns:22px minmax(0,1fr) 22px 24px}.student-rhythm.rhythm-tight .rhythm-controls .secondary{min-height:22px;font-size:14px}.student-rhythm.rhythm-tight .rhythm-controls output{font-size:11px}.student-rhythm.rhythm-tight .rhythm-controls input[type=range]{height:22px}.rhythm-tight .rhythm-pages{grid-template-columns:repeat(16,minmax(0,1fr));gap:1px}.rhythm-tight .rhythm-pages button{min-height:22px;padding:1px;font-size:10px;line-height:1}.rhythm-tight .rhythm-actions{gap:2px}.rhythm-tight .rhythm-actions button,.rhythm-tight [data-close]{min-height:24px;padding:2px 4px;font-size:10px;line-height:1}.rhythm-tight .student-rhythm-grid button{gap:0;padding:0}.rhythm-tight .rhythm-dot{width:16px;height:16px}.rhythm-tight .rhythm-dot-number{font-size:8px;line-height:1}.rhythm-tight progress{height:3px}@media(orientation:portrait){.student-rhythm{padding:16px}.student-rhythm-heading{align-items:start}}@media(prefers-reduced-motion:reduce){.rhythm-water rect,.rhythm-water circle,.student-rhythm-grid .rhythm-dot{transition:none}.rhythm-water [data-water-key]{animation:none}}
