/* Website layout: app screens, browser-safe top navigation. */
.rail button>.ach-badge,.ach-rail>.ach-badge{width:auto!important;min-width:20px!important;height:20px!important;color:var(--bg)!important;font:700 11px/1 sans-serif!important;padding:0 5px!important}
.site-menu-button,.site-screen-back,.site-menu{display:none}
.player>[hidden]{display:none!important}
@media(max-width:760px), (horizontal-viewport-segments:2), (vertical-viewport-segments:2){
 html{scroll-padding-top:100px}body{overflow-x:clip}.shell{padding:0 18px!important;max-width:600px}
 .shell>.header{position:sticky;top:0;z-index:60;height:auto;min-height:76px;padding:calc(env(safe-area-inset-top,0px) + 12px) 0 12px;background:var(--bg);gap:16px}
 .header .brand{max-width:160px}.header .sonya-logo{width:122px;max-width:100%;height:auto}.header>nav,.header>.headerTools{display:none!important}
 .site-menu-button{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:15px;background:var(--panel);color:var(--accent);position:relative}.site-menu-button svg{width:24px;height:24px}
 .site-menu{position:fixed;inset:calc(env(safe-area-inset-top,0px) + 82px) 18px auto;margin:0 0 0 auto;width:min(360px,calc(100vw - 36px));max-height:calc(var(--site-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 108px);overflow:auto;padding:12px;border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--text);box-shadow:0 20px 60px #0006}.site-menu[open]{display:block}.site-menu::backdrop{background:#060a1580;backdrop-filter:blur(5px)}
 .site-menu button,.site-menu a{display:flex;align-items:center;gap:12px;position:relative;width:100%;min-height:48px;padding:12px;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;text-decoration:none;text-align:left}.site-menu button:hover{background:var(--panel2)}.site-menu svg{width:22px;height:22px;flex:none}.site-menu .ach-nav-badge{right:12px;top:14px}
 .site-screen-back{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--accent);font:inherit;min-height:44px;padding:6px 0;margin:4px 0 12px}.site-screen-back svg{width:22px;height:22px}
 .shell>.intro,.shell>.sonya-summary,.shell>.workspace,.shell>.lower,.shell>.footer,.shell>.desktop-account{display:none!important}
 body[data-site-screen=home] .shell>.intro,body[data-site-screen=home] .shell>.sonya-summary{display:block!important}
 .intro{padding:20px 0!important}.intro h1{font-size:32px;letter-spacing:-1px;line-height:1.12}.intro p{font-size:15px}.intro .eyebrow{font-size:10px;letter-spacing:1.5px}
 .sonya-summary{padding:0!important;margin:0 0 24px!important}.summary-hero{min-height:260px!important;padding:24px!important}.summary-hero h2{font-size:28px!important;line-height:1.15!important}.summary-hero p{font-size:15px!important}.sonya-slide-actions{flex-wrap:wrap!important;gap:16px!important}.sonya-slide-dots{max-width:100%;overflow:auto;flex:1 1 100%;justify-content:center}.summary-start{min-height:48px}.summary-heading{font-size:24px!important}.summary-categories{gap:12px!important}.summary-category{min-width:0!important;min-height:140px!important}.summary-category>span:last-child{font-size:15px!important;overflow-wrap:anywhere}
 body[data-site-screen=catalog] .shell>.workspace,body[data-site-screen=favorites] .shell>.workspace,body[data-site-screen=player] .shell>.workspace{display:block!important}
 .workspace>.rail{display:none!important}.workspace>.library,.workspace>aside.player{display:none!important}
 body[data-site-screen=catalog] .workspace>.library,body[data-site-screen=favorites] .workspace>.library{display:block!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0}
 body[data-site-screen=player] .workspace>aside.player{display:block!important;position:static;margin:0!important;padding:0 0 24px!important;border:0!important;background:none!important;box-shadow:none!important}
 .library .libtop{align-items:center}.libtop h2{font-size:25px}.libtop .eyebrow{font-size:10px;white-space:nowrap;letter-spacing:1px}.cards{grid-template-columns:1fr!important}.card{min-height:145px!important;padding:18px!important}.chips{max-width:100%;scrollbar-width:none}.search{min-height:48px}.player h2{font-size:25px!important}.player .orb{width:min(270px,68vw);height:min(270px,68vw);margin:16px auto}.player .timers{gap:8px}.player .timers button{min-height:44px}
 body[data-site-screen=plus] .shell>.lower,body[data-site-screen=apps] .shell>.lower{display:block!important;margin:0 0 24px}.lower>section{display:none!important}body[data-site-screen=plus] .lower>#plus,body[data-site-screen=apps] .lower>#apps{display:block!important;padding:20px!important}
 body[data-site-screen=account] .shell>.desktop-account{display:block!important;margin:8px 0 24px;padding:0}.desktop-account .suite-profile-top h1{font-size:28px!important}.desktop-account .suite-card,.desktop-account .suite-premium{padding:18px!important}
 .desktop-mini{bottom:calc(env(safe-area-inset-bottom,0px) + 14px)!important;width:calc(100% - 36px)!important;left:50%!important;padding:10px!important;border-radius:20px;z-index:45}.desktop-mini button{min-height:44px}.desktop-mini-open strong{font-size:14px}.desktop-mini-meta{font-size:11px}
 body[data-site-screen=player] .desktop-mini{display:none!important}body.has-desktop-mini:not([data-site-screen=player]){padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}
 .suite-plus-actions{flex-wrap:wrap}.suite-plus-actions>button{flex:1 1 140px;min-height:48px}.dialog,.suite-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto}
}
/* Shared website chrome: translucent surfaces follow the active palette. */
:root{--site-header-height:84px;--site-header-gap:16px}
html{scroll-padding-top:calc(var(--site-header-height) + var(--site-header-gap) + 16px)}
.shell>.header{position:sticky;top:calc(env(safe-area-inset-top,0px) + var(--site-header-gap));z-index:60;border:1px solid var(--line);border-radius:26px;background:color-mix(in srgb,var(--panel) 72%,transparent);backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);box-shadow:0 10px 35px #0002;padding:14px 22px;margin:16px 0 24px;gap:20px}
.workspace>.rail,.workspace>aside.player{top:calc(env(safe-area-inset-top,0px) + var(--site-header-height) + var(--site-header-gap) + 16px)}
.shell>.footer{display:flex!important;flex-direction:column;gap:16px;margin:40px 0 24px;padding:26px 8px calc(20px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:left}
.site-footer-title{color:var(--text);font-weight:700;font-size:16px}.footer nav{display:flex;flex-wrap:wrap;gap:12px 22px}.footer a{color:var(--muted);text-decoration:none}.footer a:hover{color:var(--accent)}.footer small{font-size:12px}
@media(min-width:761px) and (max-width:1100px){.shell>.header{flex-wrap:wrap;gap:12px;padding:14px 18px}.header>nav{flex:1;justify-content:flex-end}.header>.headerTools{width:100%;justify-content:flex-end}}
@media(max-width:760px), (horizontal-viewport-segments:2), (vertical-viewport-segments:2){
 .shell>.header{min-height:68px;padding:10px 14px;margin:12px 0 20px;border-radius:23px;top:calc(env(safe-area-inset-top,0px) + 12px);background:color-mix(in srgb,var(--panel) 72%,transparent)}
 .site-menu-button{background:transparent;border:0;border-radius:14px}
 .site-menu{top:calc(env(safe-area-inset-top,0px) + var(--site-header-height) + 24px);background:color-mix(in srgb,var(--panel) 85%,transparent);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);max-height:calc(var(--site-viewport-height,100dvh) - var(--site-header-height) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 48px)}
 .shell>.footer{margin-top:28px;padding:24px 0}.footer nav{gap:8px 18px}.footer nav a{min-height:36px;display:flex;align-items:center}
 body[data-site-screen=player] .workspace>aside.player{top:auto}
}

.site-menu-shade[hidden]{display:none!important}.site-menu-shade{position:fixed;inset:0;z-index:40;background:color-mix(in srgb,var(--bg) 45%,transparent);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
/* Available viewport, not the model name, determines the layout. */
.shell,.workspace,.library,.player,.headerTools,.lower>section{min-width:0}
.header .brand{flex-shrink:0}.header a,.card h3,.desktop-account strong{overflow-wrap:anywhere}
@media(min-width:761px) and (max-width:1100px){.shell>.header{height:auto;min-height:84px}.workspace{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:360px){.shell{padding:0 12px!important}.summary-categories{grid-template-columns:1fr!important}.summary-category{min-height:100px!important}.desktop-mini{width:calc(100% - 24px)!important}.desktop-mini-favorite{display:none}.site-menu{left:12px;right:12px;width:calc(100% - 24px)}.libtop{flex-wrap:wrap}.timers{flex-wrap:wrap}.store-grid{grid-template-columns:1fr!important}}
@media(max-height:500px){.site-menu{max-height:calc(var(--site-viewport-height,100dvh) - var(--site-header-height) - 40px)}.site-menu button,.site-menu a{min-height:44px;padding:8px 12px}.shell>.header{margin-bottom:12px}}
@media(horizontal-viewport-segments:2){
 .shell{width:env(viewport-segment-width 0 0,50vw);max-width:none!important;margin-left:env(viewport-segment-left 0 0,0px);margin-right:0;padding:0 18px!important}
 .site-menu{left:calc(env(viewport-segment-left 0 0,0px) + 18px);right:auto;width:calc(env(viewport-segment-width 0 0,50vw) - 36px)}
 .desktop-mini{left:calc(env(viewport-segment-left 0 0,0px) + env(viewport-segment-width 0 0,50vw)/2)!important;width:calc(env(viewport-segment-width 0 0,50vw) - 36px)!important}
 .suite-dialog,.ach-dialog,.sonya-info-dialog{width:calc(env(viewport-segment-width 0 0,50vw) - 36px)!important;max-width:none!important;margin-left:calc(env(viewport-segment-left 0 0,0px) + 18px)!important;margin-right:auto!important}
}
@media(vertical-viewport-segments:2){
 .shell{max-height:env(viewport-segment-height 0 0,50dvh);overflow:auto;padding-bottom:120px!important}
 .desktop-mini{bottom:calc(100dvh - env(viewport-segment-bottom 0 0,50dvh) + 14px)!important}
 .site-menu{max-height:calc(env(viewport-segment-height 0 0,50dvh) - var(--site-header-height) - 48px)!important}
 .site-menu-open.has-desktop-mini .site-menu{max-height:calc(env(viewport-segment-height 0 0,50dvh) - var(--site-header-height) - 160px)!important}
}
@media(max-width:760px), (horizontal-viewport-segments:2), (vertical-viewport-segments:2){.site-menu{z-index:55}.site-menu-open{overflow:hidden}.site-menu-open .desktop-mini{z-index:56!important}.site-menu-open.has-desktop-mini .site-menu{max-height:calc(var(--site-viewport-height,100dvh) - var(--site-header-height) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 160px)}}
