:root{--bg:#0e1012;--fg:#f6f3ee;--muted:#c9c2b8;--accent:#2f8f74;--accent-strong:#3aa587;--glass-strong:#121417e6;--radius:24px;--shell-bottom-reserve:110px;--shell-top-reserve:96px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--fg);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#app{background:var(--bg);height:100%;margin:0;overflow:hidden}#app{container:music/size}button{font:inherit;cursor:pointer}button:focus-visible{outline:4px solid var(--fg);outline-offset:3px}.app{--attribution-left:28px;height:100%;padding:20px 28px var(--shell-bottom-reserve);isolation:isolate;grid-template-rows:auto minmax(0,1fr);row-gap:16px;display:grid;position:relative}.top{grid-row:1;align-items:center;gap:24px;min-width:0;display:flex}.info{flex:1;min-width:0}.app[data-kind=video]{padding-top:var(--shell-top-reserve)}.app[data-kind=video] .top{display:none}.stage{border-radius:var(--radius);background:#000;grid-row:2;min-height:0;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000080}.app[data-kind=musica],.app[data-kind=radio]{padding:0;display:block}.app[data-kind=musica] .top,.app[data-kind=musica] .substitution,.app[data-kind=musica] .loading,.app[data-kind=radio] .substitution{display:none}.app[data-kind=musica] .stage{box-shadow:none;border-radius:0;position:fixed;inset:0}.app[data-kind=radio] .stage{visibility:hidden;box-shadow:none;position:fixed;inset:0}.app[data-kind=radio] .top{text-align:center;justify-content:center;height:100%;padding:16px}.app[data-kind=radio] .title{white-space:normal;font-size:22px}.app[data-kind=radio] .artist{white-space:normal;font-size:16px}.video{position:absolute;inset:0}.app:not([data-state=playing]):not([data-state=paused]) .video{visibility:hidden}.video iframe{border:0;width:100%;height:100%}.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:28px;padding:0 32px;display:none;position:absolute;inset:0}.app[data-state=searching] .loading{display:flex}.spinner{border:8px solid #ffffff2e;border-top-color:var(--accent-strong);border-radius:50%;width:88px;height:88px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{color:var(--muted);margin:0;font-size:clamp(28px,3.6cqi,44px);font-weight:700}.title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(30px,3.4cqi,46px);font-weight:800;line-height:1.15;overflow:hidden}.artist{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:clamp(22px,2.2cqi,30px);overflow:hidden}.artist:empty{display:none}.substitution{z-index:4;max-width:70%;color:var(--fg);background:var(--glass-strong);opacity:0;pointer-events:none;border-radius:999px;margin:0;padding:14px 24px;font-size:24px;font-weight:600;transition:opacity .25s,transform .25s;position:absolute;top:20px;left:50%;transform:translate(-50%,-12px)}.app[data-substitution=true] .substitution{opacity:1;transform:translate(-50%)}@container music (max-width:800px){.app{--attribution-left:14px;padding:14px 14px var(--shell-bottom-reserve)}}@media (prefers-reduced-motion:reduce){.spinner,.substitution{transition:none;animation:none}}.mock-host{color:#eee;z-index:10;background:#141414e6;border-radius:10px;width:320px;padding:10px;font:12px/1.4 ui-monospace,monospace;position:fixed;bottom:12px;right:12px}.mock-host [data-play],.mock-host .row{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.mock-host input{font:inherit;flex:1}.mock-host button{font:inherit}.mock-host .log{white-space:pre-wrap;max-height:180px;margin:6px 0 0;overflow:auto}html[data-review] body{flex-direction:column;display:flex;overflow-y:auto}html[data-review] #app{flex:1;height:auto;min-height:440px;transform:translate(0)}.review-bar{background:#1b1e22;border-bottom:1px solid #ffffff26;flex-wrap:wrap;flex:none;align-items:center;gap:8px 20px;padding:12px 20px;font-size:15px;line-height:1.4;display:flex}.review-bar p{margin:0}.review-intro{color:var(--muted);flex:100%}.review-intro strong{color:var(--fg)}.review-controls{flex-wrap:wrap;gap:8px;display:flex}.review-kind{min-width:3.5em;color:var(--muted);align-self:center}.review-controls button{color:var(--fg);background:var(--accent);border:0;border-radius:8px;padding:8px 14px}.review-controls button[data-stop]{background:#4a4f57}.review-status{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--fg);flex:240px;overflow:hidden}.review-legal{gap:16px;display:flex}.review-legal a{color:var(--muted)}.landing{z-index:5;text-align:center;background:var(--bg);flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:32px;display:none;position:absolute;inset:0}.app[data-host=browser][data-state=idle] .landing{display:flex}.app[data-host=aima][data-kind=musica]:not([data-state=playing]):not([data-state=paused]) .landing,.app[data-host=aima][data-kind=radio]:not([data-state=playing]):not([data-state=paused]) .landing{gap:8px;padding:14px;display:flex;position:fixed}.app[data-host=aima] .landing-name{font-size:18px}.app[data-host=aima] .landing-text{max-width:none;font-size:14px;line-height:1.3}.app[data-host=aima] .legal{display:none}.app[data-host=aima] .landing-youtube{pointer-events:none}.app[data-host=aima] .landing-youtube img{width:90px}.landing-name{margin:0;font-size:clamp(34px,4.4cqi,56px);font-weight:800}.landing-text{max-width:28em;color:var(--muted);margin:0;font-size:clamp(20px,2.2cqi,26px)}.landing-youtube img{width:280px;max-width:70vw;height:auto;display:block}.attribution{left:var(--attribution-left);height:var(--shell-bottom-reserve);width:calc(100% - var(--attribution-left) - 360px);color:var(--muted);pointer-events:none;align-items:center;gap:16px;font-size:18px;display:none;position:absolute;bottom:0;overflow:hidden}.app[data-host=aima][data-kind=video] .attribution{display:flex}.attribution-text{flex-wrap:wrap;gap:2px 16px;min-width:0;margin:0;display:flex}.attribution img{flex:none;width:150px;height:auto;display:block}@container music (max-width:1000px){.attribution img{width:110px}}.legal{color:var(--muted);justify-content:center;gap:12px;font-size:18px;display:flex}.legal a,.legal-page a{color:var(--fg)}.legal-page{height:100%;padding:32px 24px 64px;line-height:1.55;overflow-y:auto}.legal-page article{max-width:760px;margin:0 auto 48px}.legal-page h1{font-size:30px}.legal-page h2{margin-top:28px;font-size:21px}.legal-updated,.legal-nav{color:var(--muted)}.legal-nav{max-width:760px;margin:0 auto}@media print{html,body,#app,.legal-page{color:#000;background:#fff;height:auto;overflow:visible}.legal-page a,.legal-updated,.legal-nav{color:#000}}
