/* The wave and settings use full-bleed surfaces; the compact player stays independent. */
.mx-wave {
 --wave-cover:clamp(86px,24vw,114px);
 --wave-gutter:clamp(22px,7vw,42px);
 --wave-time:365ms;
 --wave-ease:cubic-bezier(.21,.76,.29,1);
 position:relative; isolation:isolate; display:flex; flex-direction:column;
 min-height:calc(100svh - env(safe-area-inset-bottom) - 22px); overflow:hidden;
 padding:0 0 max(49px,calc(24px + env(safe-area-inset-bottom))); text-align:center; color:#fff; background:#030303;
}
.mx-wave .mx-head {
 position:relative; z-index:2; display:grid; flex:none; align-items:center;
 grid-template-columns:46px minmax(0,1fr) 46px; gap:4px; width:100%; margin:0;
 min-height:calc(59px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 9px 0;
}
.mx-wave .mx-head>span:first-child{text-align:left}
.mx-wave .mx-head>span:last-child{text-align:right}
.mx-wave .mx-head .icon{color:white}
.mx-wave-brand,.mx-wave-caption{display:inline-flex;gap:5px;align-items:center;color:#fffb00;font-size:clamp(17px,4.2vw,24px);font-weight:800;letter-spacing:-.035em}
.mx-wave-brand i svg{width:1em;height:1em}
.mx-wave [data-wave-heading]{display:inline-grid;place-items:center}
.mx-wave [data-wave-heading]>*{grid-area:1/1;transition:opacity var(--wave-time)}
.mx-wave[data-playing=true] .mx-wave-brand,.mx-wave[data-playing=false] .mx-wave-caption{opacity:0;visibility:hidden}
.mx-wave .wave-selection{max-width:100%;min-height:43px;background:#10090045;border:0;color:#fffb00;padding:0 14px;font-size:clamp(13px,3.6vw,18px)}
.mx-wave .wave-selection span{overflow:hidden;text-overflow:ellipsis}
.mx-wave .mx-wave-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;mask-image:linear-gradient(#000 59%,#000d 74%,transparent 100%)}
.mx-wave .mx-wave-surface {
 position:absolute;inset:0;
 --wave-key:hsl(var(--cover-h) clamp(9%,var(--cover-s),83%) clamp(24%,var(--cover-l),46%));
 background:radial-gradient(ellipse at 51% 23%,var(--wave-key),transparent 63%),
 radial-gradient(ellipse at 96% 11%,hsl(var(--cover-a) clamp(9%,var(--cover-s),72%) 31% / .72),transparent 55%),
 linear-gradient(180deg,var(--mx-mid),#100a0e 53%,#030303 86%);
}
.mx-wave .mx-wave-surface.is-current{opacity:1;z-index:1;transition:opacity .63s var(--wave-ease)}
.mx-wave .mx-wave-surface.is-previous{opacity:1;z-index:0}
.mx-wave .mx-wave-surface:not(.is-current,.is-previous){opacity:0}
.mx-wave[data-playing=false] .mx-wave-surface{opacity:0;transition:opacity .58s var(--wave-ease)}
.mx-wave .mx-wave-atmosphere .wave-light{
 z-index:4;height:clamp(420px,73svh,710px);opacity:1;filter:blur(2.1px);
 mask-image:linear-gradient(#000 0 65%,#0009 85%,transparent 100%);
}
.mx-wave-atmosphere:has(.wave-light[data-ready]) :is(.wave-bloom,.mx-wave-surface){display:none}
.wave-bloom{
 position:absolute;top:4%;left:50%;z-index:3;translate:-50% 0;width:min(114%,740px);height:min(53%,440px);
 isolation:isolate;opacity:1;transition:opacity .57s var(--wave-ease),scale .62s var(--wave-ease);
 filter:blur(clamp(16px,4.8vw,38px));pointer-events:none;
}
.mx-wave[data-playing=true] .wave-bloom{opacity:0;scale:.83}
.wave-bloom span{
 position:absolute;display:block;will-change:transform;
 animation:wave-bloom-shift 18s ease-in-out infinite alternate;
}
.wave-bloom span:nth-child(1){
 inset:3% 2% 8%;border-radius:44% 60% 53% 47%;
 background:radial-gradient(ellipse at 50% 44%,#ff0a00 0 23%,#ed1a00 36%,#64090099 59%,transparent 74%);
}
.wave-bloom span:nth-child(2){
 inset:27% 5% -6%;border-radius:61% 40% 52% 50%;
 background:radial-gradient(ellipse at 51% 50%,#e0f000 0 9%,#fec600 17%,#c2cd0060 42%,transparent 67%);
 animation-duration:21s;animation-direction:alternate-reverse;animation-delay:-9s;
}
.wave-bloom span:nth-child(3){
 inset:12% 0 5%;border-radius:58% 40% 56% 33%;
 background:radial-gradient(ellipse at 49% 49%,#ff39000a 33%,#fb3e0033 46%,transparent 65%);
 animation-duration:26s;animation-delay:-11s;
}
@keyframes wave-bloom-shift {
 0% {transform:translate3d(-3%,-2%,0) rotate(-10deg) scale(1.02)}
 60% {transform:translate3d(5%,3%,0) rotate(12deg) scale(.92,1.12)}
 100% {transform:translate3d(-2%,6%,0) rotate(3deg) scale(1.08,.97)}
}
body.gentle-motion .wave-bloom span{animation-duration:48s;animation-name:wave-bloom-gentle}
@keyframes wave-bloom-gentle{to{transform:translate3d(3%,2%,0) scale(1.04)}}
.mx-wave .mx-stage{position:relative;flex:none;height:clamp(265px,42svh,419px)}
.mx-wave .mx-live,.mx-wave .mx-idle{
 position:absolute;inset:0;display:grid;visibility:visible;
 transition:opacity var(--wave-time) var(--wave-ease),transform var(--wave-time) var(--wave-ease),visibility var(--wave-time);
}
.mx-wave .mx-live{grid-template-rows:minmax(0,1fr) calc(var(--wave-cover) + 13px)}
.mx-wave .mx-title-slot{position:relative;display:grid;place-items:center;padding-bottom:10px}
.mx-wave .mx-idle{align-content:end;justify-items:center;gap:clamp(20px,4svh,38px);padding-bottom:13px}
.mx-wave[data-playing=false] .mx-live,.mx-wave[data-playing=true] .mx-idle{opacity:0;transform:translateY(9px) scale(.967);visibility:hidden;pointer-events:none}
.mx-wave .mx-title-slot h1,.mx-wave .mx-idle h1{
 margin:0;max-width:calc(100% - 28px);width:auto;font-size:clamp(42px,15.1vw,92px);
 font-weight:850;line-height:.99;letter-spacing:-.061em;text-wrap:balance;overflow-wrap:anywhere;
}
.mx-wave .mx-title-slot h1[data-long=true]{font-size:clamp(34px,9.8vw,72px)}
.mx-wave .mx-title-slot h1{color:#ffed20;text-shadow:0 4px 32px #08090836}
.mx-wave .mx-idle h1{font-size:clamp(41px,16.4vw,88px);text-shadow:0 3px 32px #15080465}
.mx-wave .mx-art{position:relative;overflow:visible;width:100%;margin:0}
.mx-wave .mx-art .mx-wave-cover,.mx-wave .mx-art .mx-art-open{
 position:absolute;inset:0 auto auto 50%;translate:-50% 0;width:var(--wave-cover);height:var(--wave-cover);
 border:0;border-radius:clamp(8px,2.5vw,13px);padding:0;
}
.mx-wave .mx-wave-cover{object-fit:cover;box-shadow:0 3px 4px #0003,0 15px 36px #0006;border:1px solid #ffffff0c}
.mx-wave[data-playing=true] .mx-track-playing{color:#ffed20}
.mx-wave .mx-art-open{background:none}
.mx-wave .mx-start,.mx-wave .mx-start:hover{
 width:var(--wave-cover);height:var(--wave-cover);border-radius:50%;border:0;
 color:#151600;background:#fffc00;box-shadow:0 13px 40px #fcdf0056;display:grid;place-items:center;padding:0;
}
.mx-wave .mx-start i{width:36px;height:36px;display:grid;place-items:center}
.mx-wave .mx-start i svg{width:100%;height:100%;translate:-2px 0}
.mx-wave .mx-wave-bar{
 --pill-size:clamp(51px,13vw,64px);--wave-pause:var(--pill-size);--wave-gap:4px;
 width:min(calc(100% - 2 * var(--wave-gutter)),655px);display:grid;
 grid-template-columns:var(--wave-pause) minmax(0,1fr) var(--pill-size);gap:var(--wave-gap);position:relative;
 border-radius:99px;margin:0 auto;flex:none;
 transition:background var(--wave-time),grid-template-columns var(--wave-time) var(--wave-ease),gap var(--wave-time) var(--wave-ease);
}
.mx-wave[data-playing=false] .mx-wave-bar{--wave-pause:0px;--wave-gap:0px;background:#19191a}
.mx-wave .mx-pill{border:0;min-height:var(--pill-size);border-radius:99px;background:#ffffff17;color:#fff}
.mx-wave[data-playing=false] .mx-pill{background:transparent}
.mx-wave .mx-pause{min-width:0;overflow:hidden;padding:0}
.mx-wave[data-playing=false] .mx-pause{visibility:hidden;opacity:0;pointer-events:none}
.mx-wave .mx-track-control{position:relative;min-width:0}
.mx-wave .mx-track{position:relative;display:grid;place-items:center;padding-inline:9px;width:100%;font-weight:750;font-size:clamp(14px,3.7vw,18px);line-height:1.1}
.mx-wave .mx-track :is(.mx-track-playing,.mx-track-idle){grid-area:1/1;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-wrap:balance}
.mx-wave[data-playing=true] .mx-track-idle,.mx-wave[data-playing=false] .mx-track-playing{opacity:0;visibility:hidden}
.mx-wave .track-ghost{position:absolute;pointer-events:none}
.mx-wave .mx-wave-progress{inset:auto 14px -7px}
.mx-wave-progress::before{background:linear-gradient(90deg,#fff8b5 var(--played,0%),#ffffff2d var(--played,0%))}
.mx-wave .mx-wave-like[aria-pressed=true]{color:#ff5f6f}
.mx-wave .wave-finder{width:min(calc(100% - 2 * var(--wave-gutter)),655px);margin:clamp(12px,3.7svh,34px) auto 12px;text-align:left}
.mx-wave .wave-finder-pill{
 display:inline-flex;gap:10px;align-items:center;border:0;border-radius:22px;padding:4px 11px 4px 5px;background:none;
 color:#ecebeb;text-align:left;min-height:44px;font-size:clamp(12px,3.1vw,15px);line-height:1.24;
}
.mx-wave .wave-finder-pill i{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff1;color:#fff;box-shadow:0 0 22px #fff2}
.mx-wave .wave-finder-pill i svg{width:19px;height:19px}
.mx-wave .wave-finder-pill:hover{background:#ffffff12}
.mx-wave .wave-deck-frame{width:100%;margin: auto 0 0;--deck-card:clamp(126px,37vw,232px);--deck-gap:1px;--deck-height:clamp(151px,20svh,206px)}
.mx-wave .wave-deck{touch-action:pan-x pan-y;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.mx-wave .wave-deck-item{padding-top:29px}
.mx-wave .wave-deck-button{
 height:clamp(147px,19svh,193px);width:100%;padding:clamp(31px,8vw,44px) 9px 15px;
 transform-origin:50% 22%;
 transform:translateY(calc(15px * var(--deck-weight,.8) - var(--deck-raise,0px))) rotate(calc(var(--deck-distance,0) * 3.4deg)) scale(calc(1 - var(--deck-weight,.8) * .032));
}
.mx-wave .wave-deck-button[aria-pressed=true]{--deck-raise:9px}
.mx-wave .wave-deck-button::before{
 inset-inline:0;mask-image:linear-gradient(#000 36%,#000c 65%,#0003 92%,transparent);
 box-shadow:inset 0 1px #ffffff50,inset -7px 12px 27px #fff1;
}
.mx-wave .wave-deck-button span:not(.wave-deck-glyph){font-size:clamp(13px,3.5vw,17px);max-width:15ch;overflow-wrap:anywhere}
.mx-wave .wave-deck-glyph{width:48px;height:48px;left:calc(50% - 24px);top:-20px}
.mx-wave .wave-deck-item[data-mood-color=calm] svg.wave-deck-glyph{filter:hue-rotate(114deg) drop-shadow(0 6px 8px #0007)}
.mx-wave .wave-deck-item[data-mood-color=focus] svg.wave-deck-glyph{filter:hue-rotate(-30deg) drop-shadow(0 6px 8px #0007)}
.mx-wave .wave-deck-item[data-mood-color=focus]{--deck-light:#0be2c4;--deck-mid:#03745f;--deck-dark:#002f29}
.mx-wave .wave-deck-item[data-mood-color=calm]{--deck-light:#ff718b;--deck-mid:#951437;--deck-dark:#410b1d}
.mx-wave .wave-deck-item[data-mood-color=night]{--deck-light:#49cbff;--deck-mid:#153c65;--deck-dark:#102333}
.mx-wave .wave-deck-item[data-mood-color=bright]{--deck-light:#a164ff;--deck-mid:#4c29a7;--deck-dark:#1a123e}

body[data-page=settings]{background:#121212}
.sway-settings.settings-view{margin:0;max-width:none;padding:14px 17px 23px;color:#ededed}
.sway-settings :is(.settings-title,#settings-form,.settings-hotkeys,.settings-genres,#library-import,.settings-error){max-width:494px}
.sway-settings .settings-title{display:flex;align-items:center;gap:12px;margin:0 0 38px}
.sway-settings .settings-title h1{margin:0;font-size:clamp(27px,5vw,34px);line-height:1.04;font-weight:850;letter-spacing:-.042em}
.sway-settings .settings-title .icon{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;background:#303030;color:#f3f3f3;border:2px solid #767676;box-shadow:inset 0 0 0 1px #929292}
.sway-settings .settings-title i svg{width:17px;height:17px}
.sway-settings #settings-form{display:grid;gap:3px;padding-inline:3px 0}
.sway-settings .setting-row{
 border:0;border-radius:10px;min-height:70px;padding:7px 9px 7px 0;background:none;text-align:left;width:100%;color:#f0efef;
 display:flex;justify-content:space-between;align-items:center;gap:12px;box-shadow:none;
}
.sway-settings :is(button,a).setting-row:hover{background:#fff1}
.sway-settings .setting-copy{display:grid;gap:5px}
.sway-settings .setting-copy strong{font-size:clamp(14px,2.5vw,16px);font-weight:700;line-height:1.16}
.sway-settings .setting-copy small{font-size:12px;color:#a09f9f;line-height:1.28}
.sway-settings .setting-row>i{color:#929292}
.sway-settings .setting-row>i svg{width:18px;height:18px}
.sway-settings .setting-row [role=switch]{
 appearance:none;display:block;position:relative;flex:none;width:33px;height:20px;min-height:20px;margin:0;border:0;background:#2d2d2d;border-radius:99px;transition:background .22s ease;
}
.sway-settings .setting-row [role=switch]::before{
 content:"";position:absolute;inset:2px auto auto 2px;width:16px;height:16px;border-radius:50%;background:#a8a8a8;
 transition:transform .22s var(--wave-ease),background .22s ease;
}
.sway-settings .setting-row [role=switch]:checked{background:#ffef00}
.sway-settings .setting-row [role=switch]:checked::before{transform:translateX(13px);background:#fff}
.sway-settings .setting-row [role=switch]:disabled{opacity:.48}
.sway-settings .setting-slider{flex-basis:clamp(110px,29vw,178px);border:0;box-shadow:none;background:none;padding-inline:0}
.sway-settings .setting-slider input::-webkit-slider-thumb{background:#ffef00;box-shadow:none}
.sway-settings .setting-slider input::-moz-range-thumb{background:#ffef00;box-shadow:none}
.sway-settings .setting-slider input::-webkit-slider-runnable-track{background:linear-gradient(90deg,#dddddd var(--volume,80%),#4c4c4c var(--volume,80%))}
.sway-settings .setting-slider input::-moz-range-track{background:linear-gradient(90deg,#dddddd var(--volume,80%),#4c4c4c var(--volume,80%))}
.settings-subview>p{max-width:38ch;margin:0 0 17px}
.settings-genres{display:flex;gap:8px;flex-wrap:wrap}
.settings-genres button[aria-pressed=true]{border-color:#f9ee71;background:#f9ee71;color:#181602}
.settings-hotkeys{display:grid;gap:2px;margin:0}
.settings-hotkeys div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #292929}
.settings-hotkeys dd{margin:0}
.settings-hotkeys kbd{display:inline-block;padding:5px 8px;border-radius:6px;background:#292929;font:inherit}
#library-import{display:grid;gap:12px;justify-items:start}
#library-import textarea{width:100%;resize:vertical;background:#202020;border:1px solid #373737;color:inherit;font:inherit;border-radius:12px;padding:11px}

@property --chart-hue{syntax:"<number>";inherits:true;initial-value:183}
.chart-glass,.sway-chart-head{
 --chart-line:hsl(var(--chart-hue) 42% 63% / .25);
 border:1px solid var(--chart-line);border-radius:20px;overflow:hidden;
 background:radial-gradient(100% 160% at 3% 0%,hsl(var(--chart-hue) 64% 28% / .42),transparent 79%),#111317;
 box-shadow:inset 0 1px #ffffff24,0 5px 28px #0003;transition:--chart-hue 1.25s ease;
}
.chart-glass{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.chart-faves{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;
 border:0;background:none;padding:8px 12px 8px 8px;min-height:67px;text-align:left;
}
.chart-faves>span:nth-child(2){display:grid;gap:3px;min-width:0}
.chart-faves small{color:#c3c5cc;font-size:11px;line-height:1.15}
.chart-faves>i{color:hsl(var(--chart-hue) 75% 86%)}
.chart-faves:hover,.chart-top:hover{background:#ffffff13}
.chart-top{display:flex;align-items:center;gap:4px;padding:9px 10px;border:1px solid #ffffff29;border-radius:99px;margin-right:8px;white-space:nowrap;font-size:12px;font-weight:680}
.chart-top svg{width:13px;height:13px}
.chart-visual{
 display:block;width:50px;aspect-ratio:1;border-radius:12px;overflow:hidden;flex:none;
 background:hsl(var(--chart-hue) 44% 20%);box-shadow:inset 0 1px #fff3,0 3px 12px #0007;
}
.chart-visual img{width:100%;height:100%;display:block;filter:hue-rotate(calc((var(--chart-hue) - 183) * 1deg));transition:filter 1.25s ease}
.sway-chart-head{display:flex;align-items:center;gap:14px;padding:13px;margin:13px 0 16px}
.sway-chart-head h1{font-size:clamp(24px,5vw,34px);line-height:1.06;margin:0;letter-spacing:-.04em}
.sway-chart-head p{font-size:12px;color:#c5c6ce;margin:5px 0 0}
.sway-chart-head .chart-visual{width:clamp(57px,15vw,87px)}
.sway-chart-head .chart-play{margin-inline-start:auto;flex:none;color:#001518;background:hsl(var(--chart-hue) 70% 86%)}
.chart-view .shelf-header h1{opacity:1}
.chart-ranking{margin:0;padding:0;list-style:none}
.chart-ranking>li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center}
.chart-place{text-align:center;color:#aaa;font-weight:700;font-size:12px;font-variant-numeric:tabular-nums}

.mx-artist-card{max-width:740px;margin-inline:auto;color:#fff}
.mx-artist-card .artist-hero{
 display:flex;flex-direction:column;align-items:center;gap:0;text-align:center;border-radius:0;
 min-height:0;padding:clamp(15px,4vw,27px) 12px 0;
 background:radial-gradient(ellipse at 50% 8%,color-mix(in srgb,#151515 84%,hsl(var(--cover-h) 50% 35%)),transparent 71%);
}
.mx-artist-card .artist-avatar-wrap{margin:0 auto 17px;width:clamp(146px,28vw,192px);height:auto;aspect-ratio:1}
.mx-artist-card .artist-avatar-img{border:3px solid #fff3;box-shadow:0 7px 31px #0008}
.mx-artist-card .artist-badge{color:#161501;background:#ffed4a;border:0;right:2%;bottom:3%;width:33px;height:33px;box-shadow:none}
.mx-artist-card .artist-badge svg{width:16px;height:16px}
.mx-artist-card .artist-meta{text-align:center}
.mx-artist-card .artist-title{font-size:clamp(41px,9.3vw,54px);line-height:1.02;letter-spacing:-.053em;margin:7px 0 6px}
.mx-artist-card .artist-stats{justify-content:center;font-size:13px;gap:9px}
.mx-artist-card .artist-actions{justify-content:center;gap:10px;margin:clamp(22px,6vw,43px) 0 27px}
.mx-artist-card .artist-actions .btn.primary{color:#161501;background:#ffed4a;box-shadow:none}
.mx-artist-card .artist-discography .section-head{margin:0 0 11px}
.mx-artist-card .artist-discography h2{font-size:clamp(22px,4vw,25px);letter-spacing:-.035em}
.mx-artist-card .artist-discography .rows{gap:0}
.mx-artist-card .artist-discography .row{background:none;border:0;min-height:58px;padding:3px 0}
.mx-artist-card .artist-discography .row-art{width:46px;height:46px;border-radius:5px}
.mx-artist-card .artist-discography .row-actions>small{display:none}

.sway-profile-card{
 --profile-left:var(--profile-cover-left,#24343c);--profile-right:var(--profile-cover-right,#18242d);
 background:linear-gradient(180deg,#0000, #050507b3 83%,#08090d 100%),
 linear-gradient(106deg,color-mix(in srgb,var(--profile-left) 73%,#101115),color-mix(in srgb,var(--profile-right) 73%,#101115));
}
.sway-profile-card .sway-profile-cover{aspect-ratio:1.76;mask-image:linear-gradient(#000 58%,#000e 73%,transparent 100%);-webkit-mask-image:linear-gradient(#000 58%,#000e 73%,transparent 100%)}
.sway-profile-card .sway-profile-cover:has(img)::before{display:none}
.sway-profile-card .sway-profile-cover::after{
 background:linear-gradient(100deg,var(--profile-left),var(--profile-right));
 inset:51% 0 0;mask-image:linear-gradient(transparent 16%,#000c);-webkit-mask-image:linear-gradient(transparent 16%,#000c);
}
.sway-profile-avatar{border:0;box-shadow:0 5px 23px #0005}
.sway-account-footer .profile-delete{
 width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;
 padding:0 13px;min-height:50px;border:1px solid #fb737531;border-radius:13px;background:#3c111559;color:#ffbfc2;font-size:14px;
}
.sway-account-footer .profile-delete:hover{background:#522027;color:#ffdcde}
.sway-account-footer .profile-delete svg{width:17px;height:17px}
.confirm-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:23px 0 10px}
.confirm-actions .danger{background:#45161e;color:#ffd1d5;border-color:#ff80854d}

@media (max-width:730px) {
 body[data-page=settings] .workspace{padding-inline:0}
 .sway-settings.settings-view{padding-top:calc(14px + env(safe-area-inset-top))}
 .mx-wave .mx-head .icon{min-width:44px}
 .mx-wave .wave-deck-frame{--deck-card:clamp(120px,37.5vw,218px)}
}
@media (max-width:380px) {
 .mx-wave{--wave-gutter:20px}
 .mx-wave .mx-stage{height:clamp(244px,40svh,323px)}
 .sway-settings.settings-view{padding-inline:14px}
 .sway-settings .settings-title{margin-bottom:24px}
}
@media (min-width:731px) {
 .mx-wave{--wave-cover:clamp(96px,14vh,142px);min-height:clamp(585px,calc(100svh - 155px),950px);padding-bottom:0;border-radius:23px}
 .mx-wave .mx-head{min-height:56px;padding-inline:15px}
 .mx-wave .mx-stage{height:clamp(256px,38svh,419px)}
 .mx-wave .wave-bloom{height:min(59%,490px)}
 .mx-wave .mx-title-slot h1,.mx-wave .mx-idle h1{font-size:clamp(58px,8vw,91px)}
 .mx-wave .mx-title-slot h1[data-long=true]{font-size:clamp(41px,5.5vw,74px)}
 .sway-settings.settings-view{padding:15px 0 22px}
 .sway-settings .settings-title{margin-bottom:38px}
}
@media (prefers-reduced-motion: reduce) {
 .wave-bloom span,body.gentle-motion .wave-bloom span {animation:none}
 .chart-glass,.sway-chart-head,.chart-visual img,.mx-wave .mx-wave-bar{transition:none}
 .mx-wave .wave-deck-button{transform:translateY(calc(-1 * var(--deck-raise,0px)))}
}

/* Measured portrait-reference spacing and light surfaces. */
.mx-wave .mx-live{grid-template-columns:minmax(0,1fr)}
.mx-wave .mx-title-slot{width:100%;min-width:0;max-width:100%}
.mx-wave .mx-title-slot h1{width:calc(100% - 30px);max-width:calc(100% - 30px);min-width:0}
.mx-wave[data-playing=false] [data-wave-heading]{visibility:hidden}
.mx-wave .mx-head .icon{background:transparent}
.mx-wave .mx-idle h1{color:#fffc00}
.mx-wave .mx-title-slot h1{font-size:clamp(48px,18.4vw,118px);line-height:1.02;white-space:nowrap}
.mx-wave .mx-title-slot h1[data-long=true]{font-size:clamp(32px,9.8vw,70px)}
.mx-wave .mx-wave-atmosphere .wave-light{height:clamp(420px,77svh,740px);filter:blur(2.8px)}
.mx-wave .mx-wave-bar{--pill-size:clamp(50px,13vw,66px);--wave-gap:5px;width:min(calc(100% - 36px),740px)}
.mx-wave .mx-pill{color:#fffc00;background:#ffffff12}
.mx-wave .mx-track{font-weight:700}
.mx-wave .mx-track-idle,.mx-wave .mx-track-playing{color:#fffc00}
.mx-wave .mx-wave-like[aria-pressed=true]{color:#fffc00}
.mx-wave .mx-wave-like[aria-pressed=true] path{fill:currentColor}
.mx-wave .mx-wave-progress{inset:auto 13px 0;height:13px;opacity:0}
.mx-wave .mx-track-control{border-radius:99px;overflow:hidden}
.mx-wave .mx-track::before{background:#ffffff14!important}
.mx-wave .wave-deck-frame{--deck-card:clamp(133px,36vw,244px);--deck-gap:0px;--deck-height:clamp(168px,22svh,230px)}
.mx-wave .wave-deck{mask-image:none;perspective:1000px}
.mx-wave .wave-deck-item{padding-top:35px}
.mx-wave .wave-deck-button{height:clamp(164px,21svh,224px);padding:clamp(35px,8.7vw,53px) 8px 17px;border-radius:51% 51% 42% 42%/47% 47% 42% 42%;transform-origin:50% 25%;transform:translateY(calc(20px * var(--deck-weight,.8) - var(--deck-raise,0px))) rotate(calc(var(--deck-distance,0) * 5deg)) scale(calc(1 - var(--deck-weight,.8) * .075))}
.mx-wave .wave-deck-button::before{background:radial-gradient(ellipse at 60% 0%,var(--deck-light),transparent 57%),radial-gradient(ellipse at 55% 0%,var(--deck-mid),var(--deck-dark) 53%,#000 93%);box-shadow:inset 1px 1px 0 #ffffff52,inset -6px 9px 20px #fff1;mask-image:linear-gradient(#000 25%,#000b 58%,#0003 83%,transparent 100%)}
.mx-wave .wave-deck-button[aria-pressed=true]{--deck-raise:10px}
.mx-wave .wave-deck-button[aria-pressed=true]::before{box-shadow:inset 1px 1px 0 #ffffff80;filter:brightness(1.08)}
.mx-wave .wave-deck-button span:not(.wave-deck-glyph){font-size:clamp(13px,3.55vw,18px);font-weight:580;line-height:1.12;max-width:15ch;text-shadow:0 1px 8px #0007}
.mx-wave .wave-deck-glyph{width:clamp(48px,14vw,72px);height:clamp(48px,14vw,72px);left:50%;translate:-50% 0;top:-24px}
.mx-wave .wave-deck-glyph.wave-deck-avatar{width:clamp(53px,16vw,83px);height:clamp(53px,16vw,83px);border-radius:50%;object-fit:cover;top:-30px;border:1px solid #ffffff5c;box-shadow:0 7px 13px #0008}
.mx-wave .deck-rec-copy small{font-size:.82em;opacity:.6;font-weight:450}
.mx-wave .wave-deck-item[data-deck-shortcut] .wave-deck-button::before{display:none}
.mx-wave .wave-deck-item[data-deck-shortcut] .wave-deck-button{color:#fffc00}
.mx-wave .wave-deck-item[data-deck-shortcut] .wave-deck-glyph{width:43px;height:43px;left:50%;top:-17px}
@media(max-width:730px){
 .mx-wave{padding-bottom:66px}
 .mx-wave .mx-stage{height:clamp(260px,43svh,430px)}
 #dialog[data-view=full] .dialog-close{background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
 .mx-full header{justify-content:center;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.mx-wave .wave-deck-button{transform:translateY(calc(8px * var(--deck-weight,.8)))}}
