/* Homepage dashboard: scoped to preserve the reader and its compact toolbars. */
.topbar{height:auto;min-height:76px;padding:10px 28px;grid-template-columns:auto 1fr;gap:10px 28px}
.topbar .brand{grid-column:1;grid-row:1}.topbar .nav-actions{grid-column:2;grid-row:1;display:flex;justify-content:space-between;gap:12px}.topbar .nav-actions .ghost{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 15px;font-size:14px;white-space:nowrap}.topbar .nav-actions .active{color:#ffda7c;background:linear-gradient(#ffffff0c,#ffffff05);border-bottom:2px solid #ffcf6b;border-radius:14px}.topbar .global-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0}.topbar .global-search input{height:38px;padding-left:38px}.topbar .global-search .search-results{z-index:100}.topbar .brand{font-size:26px}.topbar .brand-mark{width:44px;height:48px}.topbar .language-switch{margin-left:auto}.topbar #newSongBtn{min-height:46px;font-size:14px;padding-inline:18px}
body[data-view="homeView"] .home-view{display:block;position:relative;isolation:isolate;overflow-y:auto;overflow-x:hidden;padding:0 28px 24px;max-width:none;width:100%;height:100%;min-height:0;background:#040d18;scrollbar-width:thin}
.home-view .home-stage-image{height:400px;max-height:none;object-position:center 43%;opacity:.88}
.home-view::before{background:linear-gradient(90deg,#020c19ef 0%,#020c1990 33%,transparent 65%),linear-gradient(0deg,#040d18 0%,transparent 60%);height:420px;bottom:auto}
.home-view .hero{max-width:none;min-height:0;padding:26px 16px 22px;margin:0;display:block}
.home-view .hero .eyebrow{display:block;margin:0 0 7px;font-size:12px;letter-spacing:.1em;line-height:1.5;color:#28e4d8}.home-song-count{color:#ffcd63}.home-song-count::before{content:' · '}
.home-view .hero h1{font-size:clamp(46px,5vw,76px);line-height:.99;letter-spacing:-.055em;margin:0;max-width:760px;font-weight:850}.home-view .hero h1 br{display:block}.home-view .hero h1 em{font-style:normal;color:#ffcb64}
.home-view .hero>p:not(.eyebrow){font-size:17px;line-height:1.45;max-width:510px;margin:10px 0 16px;color:#c4d4eb}
.home-view .hero-actions{gap:20px;display:flex}.home-view #startPlayingBtn{min-height:54px;gap:20px;padding:12px 18px;font-size:22px;border-radius:13px}.home-view #startPlayingBtn strong{font-size:16px}.hero-help{border:1px solid #3b5c78;border-radius:11px;padding:14px 17px;color:#edf4ff;background:#061322a8;font-size:15px;display:flex;gap:12px;align-items:center;min-height:52px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.dashboard-heading>div:first-child{min-width:0}.dashboard-heading h2{font-size:20px;line-height:1.3;margin:0;letter-spacing:-.025em;color:#ffcb64;display:flex;align-items:center;gap:10px}.dashboard-heading h2 span{color:var(--text)}.dashboard-heading p{color:var(--muted);font-size:13px;margin:3px 0 0 30px}.dashboard-heading>.text-button{color:#ffcb64;white-space:nowrap;font-size:13px;padding:5px 0;min-height:36px}.dashboard-heading>small{font-size:11px;color:var(--muted)}
.genre-discovery{position:relative;margin:0 0 18px}.genre-discovery .dashboard-heading>div{display:flex;gap:16px;align-items:center}.genre-discovery .dashboard-heading p{margin:0}.genre-discovery .dashboard-heading h2{font-size:18px}.genre-quick-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);gap:12px;overflow-x:auto;padding:3px 2px 5px;scrollbar-width:thin}.genre-quick-row button{min-height:53px;display:flex;align-items:center;justify-content:space-evenly;gap:10px;padding:8px 14px;border:1px solid #294b67;border-radius:11px;background:linear-gradient(120deg,#102238,#081827);color:#eff4ff}.genre-quick-row button span{font-size:29px;color:#28e4d8;line-height:1}.genre-quick-row button:nth-child(3n+1) span{color:#ffcb64}.genre-quick-row button:nth-child(3n) span{color:#b292ee}.genre-quick-row strong{font-size:13px;font-weight:500}.genre-quick-row button:hover{border-color:#ffcd63;background:#142a3c}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 16px}.dashboard-shortcuts>button{border:1px solid #24445e;background:linear-gradient(120deg,#0e2134,#061523);border-radius:13px;padding:14px 18px;display:flex;align-items:center;gap:18px;min-height:80px;text-align:left;color:#f5f7ff}.dashboard-shortcuts .shortcut-icon{width:54px;height:46px;display:grid;place-items:center;font-size:32px;background:#16d8d711;border:1px solid #17c9ca55;border-radius:10px;color:#19e4dc;flex-shrink:0}.dashboard-shortcuts>button:nth-child(2) .shortcut-icon{color:#ffcb64;border-color:#ffcb6444;background:#ffcb6411}.dashboard-shortcuts>button:last-child .shortcut-icon{color:#ff7b9d;background:#ff7b9d11;border-color:#ff7b9d44}.dashboard-shortcuts strong,.dashboard-shortcuts small{display:block}.dashboard-shortcuts strong{font-size:14px}.dashboard-shortcuts small{font-size:13px;margin-top:3px;color:#b7c9df}.dashboard-shortcuts b{margin-left:auto;color:#bccbdf;font-size:24px;font-weight:400}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(300px,1fr);gap:14px;align-items:start}.dashboard-panel{padding:15px 14px;border:1px solid #29465f;background:linear-gradient(120deg,#0d1a2aeb,#071320f5);border-radius:14px;min-width:0}.dashboard-tabs{display:flex;gap:7px;overflow-x:auto;margin:0 0 12px;padding:2px 0 3px;scrollbar-width:thin}.dashboard-tabs button{border:1px solid #203c57;border-radius:24px;min-height:36px;padding:7px 18px;white-space:nowrap;background:#0d2034;color:#dce9ff;font-size:12px}.dashboard-tabs [aria-selected="true"]{background:linear-gradient(110deg,#ffda83,#ffc05b);color:#17202c;border-color:#ffdc8c;font-weight:700}
.home-view #featuredGrid{display:flex;flex-direction:column;gap:8px;min-height:0;margin:0}.dashboard-song{display:flex;gap:15px;align-items:center;min-width:0;border:1px solid #25445e;border-radius:12px;min-height:82px;padding:8px 16px;background:linear-gradient(115deg,#10233788,#0b1b2f88)}.dashboard-rank{font-size:24px;font-weight:750;color:#7b90ac;min-width:32px}.dashboard-song-open{display:flex;flex:1;min-width:0;align-items:center;gap:20px;text-align:left;background:none;border:0;color:var(--text);padding:0;min-height:48px}.dashboard-art{width:70px;height:64px;flex-shrink:0;overflow:hidden;border-radius:9px;border:1px solid #20708a}.dashboard-art img{width:100%;height:100%;object-fit:cover}.dashboard-identity{display:flex;flex-direction:column;min-width:0;gap:3px}.dashboard-identity strong{font-size:18px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-identity>span{font-size:14px;color:#bdcee6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-genre{align-self:flex-start;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#26e0df;background:#07cbd31c;border:1px solid #19c8d36b;border-radius:14px;padding:3px 7px;line-height:1;text-transform:uppercase;font-weight:700}.dashboard-favorite{background:none;border:0;color:#b9cbe0;font-size:24px;min-width:44px;min-height:44px}.dashboard-favorite[aria-pressed="true"]{color:#ff7b9d}.dashboard-open{width:42px;height:42px;flex-shrink:0;border:1px solid #ffdc83;border-radius:50%;background:linear-gradient(120deg,#ffe193,#ffc253);font-size:23px;color:#102034;display:grid;place-items:center}.dashboard-sidebar{display:flex;flex-direction:column;gap:8px}.dashboard-sidebar .dashboard-heading{margin-bottom:10px}.dashboard-sidebar h2{font-size:15px;gap:8px}.dashboard-activity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-activity>div{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #2a5369;border-radius:9px;background:#0da9b213;min-width:0}.dashboard-activity>div:nth-child(2){background:#fc8ca514;border-color:#6d4257}.dashboard-activity span{color:#23e0d7;font-size:24px}.dashboard-activity>div:nth-child(2) span{color:#ff8195}.dashboard-activity strong{font-size:20px;line-height:1}.dashboard-activity small{font-size:10px;line-height:1.4;color:#c1d1e7}.compact-song{padding:6px;gap:8px;min-height:64px}.compact-song .dashboard-art{width:64px;height:54px}.compact-song .dashboard-song-open{gap:12px}.compact-song .dashboard-identity strong{font-size:13px}.compact-song .dashboard-identity>span{font-size:12px}.compact-song .dashboard-open{width:36px;height:36px;font-size:20px}.dashboard-empty{color:var(--muted);font-size:14px;line-height:1.6;margin:12px 2px;min-height:42px}.recent-entry{border-bottom:1px solid #243c52;padding-bottom:5px;margin-bottom:5px}.recent-entry:last-child{border-bottom:0;margin-bottom:0}.recent-entry .dashboard-song{border:0;background:none;padding:0}.recent-entry .dashboard-art{width:42px;height:42px}.recent-entry .dashboard-genre{display:none}.recent-entry .dashboard-open{display:none}.recent-entry time{display:block;color:var(--muted);font-size:10px;text-align:right}.all-genres{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:55vh;overflow:auto;padding:4px}.all-genres button{display:flex;justify-content:space-between;text-align:left;border:1px solid var(--line);border-radius:9px;padding:12px;background:var(--surface-2);color:var(--text);min-height:44px}.all-genres small{color:var(--accent-2)}.dashboard-help-copy{font-size:16px;line-height:1.75;color:var(--muted)}
.dashboard-song:hover,.dashboard-shortcuts>button:hover{border-color:#4c718d}.hero-help:focus-visible,.dashboard-song button:focus-visible{outline:2px solid #2de6da;outline-offset:3px}
/* One slow lighting sweep over the existing 32 KB static stage. */
.home-view .hero::before{content:'';position:absolute;inset:0 0 0 40%;z-index:-1;pointer-events:none;opacity:.3;background:radial-gradient(ellipse at 65% 0%,#ffc66c50,transparent 55%);animation:dashboard-light 14s ease-in-out infinite alternate!important}
@keyframes dashboard-light{from{transform:translateX(-3%);opacity:.15}to{transform:translateX(3%);opacity:.4}}
html[data-page-hidden] .home-view .hero::before{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.home-view .hero::before{animation:none!important}}
[data-theme="light"] .home-view{background:var(--bg)}[data-theme="light"] .home-view::before{background:linear-gradient(90deg,#eef3f6ef,transparent),linear-gradient(0deg,#eef3f6,transparent)}[data-theme="light"] .home-view .hero>p:not(.eyebrow){color:#344f66}[data-theme="light"] .dashboard-panel,[data-theme="light"] .dashboard-song,[data-theme="light"] .dashboard-shortcuts>button,[data-theme="light"] .genre-quick-row button{background:var(--surface);color:var(--text);border-color:var(--line)}[data-theme="light"] .dashboard-identity>span,[data-theme="light"] .dashboard-shortcuts small,[data-theme="light"] .dashboard-activity small{color:var(--muted)}[data-theme="light"] .dashboard-genre{color:#00696c}[data-theme="light"] .genre-quick-row button{color:var(--text)}
@media(min-width:1600px){.home-view .hero{padding-block:36px;min-height:330px}.dashboard-song{min-height:94px}.home-view .home-stage-image{height:450px}}
@media(max-width:1150px){.topbar{padding:10px 20px;gap:10px 16px}.topbar .nav-actions{gap:5px}.topbar .nav-actions .ghost{font-size:12px;padding:9px}.topbar .brand{font-size:22px}.topbar #newSongBtn{font-size:12px;padding-inline:10px}.dashboard-shortcuts>button{padding:12px;gap:10px}.dashboard-shortcuts .shortcut-icon{width:40px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr)}.dashboard-tabs button{padding-inline:12px}.dashboard-activity{gap:5px}.dashboard-activity>div{padding:8px}.dashboard-song{gap:8px;padding-inline:10px}.dashboard-song-open{gap:12px}.dashboard-identity strong{font-size:16px}}
@media(max-width:900px){.topbar{grid-template-columns:1fr auto;min-height:0}.topbar .nav-actions{grid-column:2;grid-row:1;width:auto}.topbar .nav-actions .ghost{display:none}.topbar .global-search{grid-column:1/-1;grid-row:2;display:block}.topbar .brand{grid-column:1;grid-row:1}.topbar .language-switch{display:flex}.dashboard-grid{grid-template-columns:1fr}.dashboard-sidebar{display:grid;grid-template-columns:1fr 1fr}.dashboard-sidebar>section:first-child{grid-column:1/-1}.dashboard-activity>div{padding:12px}.dashboard-activity small{font-size:12px}.genre-discovery .dashboard-heading>div{display:block}.genre-discovery .dashboard-heading p{margin:3px 0 0 28px}.home-view .hero h1{font-size:58px}.dashboard-shortcuts{gap:10px}.dashboard-shortcuts>button{gap:8px}.dashboard-shortcuts b{display:none}.dashboard-shortcuts strong{font-size:12px}.dashboard-shortcuts small{font-size:11px}}
@media(max-width:600px){body[data-view="homeView"] .home-view{padding:0 14px 20px}.topbar{padding:9px 14px;gap:8px}.topbar .brand{font-size:19px}.topbar .brand-mark{width:32px;height:38px;font-size:24px}.topbar .brand .brand-version{font-size:9px}.topbar #newSongBtn{font-size:0;width:38px;min-height:38px;padding:0}.topbar #newSongBtn::before{content:'+';font-size:25px}.topbar .language-switch{gap:0}.topbar .language-switch button{font-size:9px;padding:4px}.topbar .language-flag{width:16px}.topbar .nav-actions{gap:7px}.topbar .global-search input{height:36px}.home-view .hero{padding:24px 2px 22px}.home-view .hero h1{font-size:clamp(36px,9vw,53px);max-width:100%;line-height:1.04}.home-view .hero .eyebrow{font-size:9px;letter-spacing:.05em;max-width:290px}.home-view .hero>p:not(.eyebrow){font-size:14px;max-width:340px;line-height:1.5;margin:12px 0 16px}.home-view .hero-actions{gap:10px}.home-view #startPlayingBtn{gap:10px;min-height:48px;padding:10px;font-size:20px}.home-view #startPlayingBtn strong{font-size:13px}.hero-help{font-size:12px;padding:10px;gap:7px;min-height:48px}.home-view .home-stage-image{height:355px;object-position:62% center;opacity:.55}.home-view::before{height:370px}.genre-discovery{margin-bottom:12px}.genre-discovery .dashboard-heading h2{font-size:16px}.genre-discovery .dashboard-heading p{font-size:11px;margin-left:0;max-width:190px}.dashboard-heading>.text-button{font-size:11px}.genre-quick-row{gap:8px;grid-auto-columns:112px}.genre-quick-row button{min-height:48px}.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.dashboard-shortcuts>button{min-height:70px;padding:10px;gap:10px}.dashboard-shortcuts .shortcut-icon{width:35px;height:38px;font-size:27px}.dashboard-shortcuts strong{font-size:12px}.dashboard-shortcuts small{font-size:11px}.dashboard-panel{padding:12px 10px}.dashboard-heading h2{font-size:18px}.dashboard-heading p{font-size:11px;margin-left:0}.dashboard-heading{gap:8px}.dashboard-tabs{gap:6px}.dashboard-tabs button{font-size:11px;padding-inline:12px;min-height:36px}.dashboard-song{min-height:78px;padding:8px;gap:5px}.dashboard-rank{font-size:16px;min-width:22px}.dashboard-art{width:48px;height:52px}.dashboard-song-open{gap:9px}.dashboard-identity strong{font-size:14px}.dashboard-identity>span{font-size:12px}.dashboard-favorite{min-width:32px;width:32px;padding:0;font-size:22px}.dashboard-open{width:34px;height:34px;font-size:20px}.dashboard-sidebar{display:flex;gap:10px}.dashboard-sidebar h2{font-size:15px}.dashboard-activity{gap:6px}.dashboard-activity>div{padding:9px 7px}.dashboard-activity small{font-size:10px}.dashboard-activity strong{font-size:19px}.compact-song .dashboard-art{width:52px;height:50px}.compact-song .dashboard-song-open{gap:10px}.all-genres{grid-template-columns:1fr}}
@media print{.dashboard-grid,.genre-discovery,.dashboard-shortcuts{display:none}}
/* Override the previous full-height landing hero and floating home header. */
.home-view .hero{height:auto}
body[data-view="homeView"] .topbar{margin:0;padding:10px 28px;min-height:76px;height:auto;border:0;border-bottom:1px solid var(--line);border-radius:0;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:8px 28px}
body[data-view="homeView"] .topbar .global-search{grid-column:1/-1;grid-row:2;max-width:none}
body[data-view="homeView"] .topbar .nav-actions{grid-column:2;grid-row:1;gap:10px}
body[data-view="homeView"] .topbar .nav-actions .ghost{font-size:14px;padding:9px 15px}
body[data-view="homeView"] .topbar .brand{grid-column:1;grid-row:1}
@media(min-width:901px){.topbar{grid-template-columns:auto minmax(0,1fr)}body[data-view="homeView"] .topbar .global-search{grid-row:2}}
@media(max-width:900px){body[data-view="homeView"] .topbar{padding:9px 14px;gap:8px;min-height:0}body[data-view="homeView"] .topbar .nav-actions .ghost{display:none}}
@media(max-width:600px){.home-view .hero-actions{flex-wrap:nowrap}.home-view #startPlayingBtn{min-width:0;flex-shrink:1}.hero-help{flex-shrink:0}.home-view #startPlayingBtn strong{white-space:nowrap}.home-view .hero-actions .hero-button{margin-top:0}}
@media(min-width:901px){.home-view .hero{padding-top:20px;padding-bottom:18px;min-height:0}.home-view .hero h1{font-size:clamp(54px,4.7vw,72px)}.home-view .hero>p:not(.eyebrow){max-width:550px;margin:10px 0 14px}.home-view .hero-button{margin-top:0}.home-view .home-stage-image{height:370px}}
.genre-quick-row svg{width:29px;height:29px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
[data-theme="light"] .home-view .hero h1 em{color:#925100}[data-theme="light"] .dashboard-heading>.text-button{color:#825000}[data-theme="light"] .dashboard-heading h2{color:#825000}[data-theme="light"] .home-view .hero .eyebrow{color:#006e72}[data-theme="light"] .home-song-count{color:#825000}[data-theme="light"] .hero-help{background:#173047;color:white}
/* Keep the established reader header compact. */

/* Keep four featured rows within a typical desktop dashboard. */
@media(min-width:1101px) and (max-width:1599px){.home-view .hero{padding-top:18px;padding-bottom:14px}.home-view .hero h1{font-size:64px}.home-view .hero>p:not(.eyebrow){font-size:16px;max-width:600px;margin:8px 0 12px}.home-view .hero .eyebrow{margin-bottom:5px}.home-view #startPlayingBtn,.hero-help{min-height:50px}.genre-discovery{margin-bottom:12px}.dashboard-shortcuts{margin-bottom:14px}.dashboard-shortcuts>button{min-height:74px;padding-block:11px}.dashboard-song{min-height:76px}.dashboard-art{height:58px;width:64px}.dashboard-heading{margin-bottom:10px}}
/* Search belongs to the navigation, with no dedicated full-width row. */
body:not(.performance) .app-shell .topbar{position:relative;grid-template-columns:auto minmax(0,1fr) 44px;grid-template-rows:auto;gap:14px;margin:0;height:76px;min-height:76px;padding:10px 28px}
body .app-shell .topbar .brand{grid-column:1;grid-row:1}
body .app-shell .topbar .nav-actions{grid-column:2;grid-row:1;justify-content:flex-end;gap:8px}
.search-toggle{grid-column:3;grid-row:1;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted)}.search-toggle svg{width:21px;height:21px}.search-toggle:hover,.search-toggle[aria-expanded="true"]{color:var(--accent-2);border-color:var(--accent-2)}
body .app-shell .topbar .global-search{display:none;position:absolute;grid-column:auto;grid-row:auto;right:28px;top:calc(100% + 8px);width:min(400px,calc(100vw - 28px));max-width:none;margin:0;padding:8px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 12px 35px #0006;z-index:110}
body .app-shell .topbar.search-expanded .global-search{display:flex}
body .app-shell .topbar .global-search input{height:42px;font-size:14px;border-radius:9px}
body .app-shell .topbar .global-search .search-icon{left:20px}
body .app-shell .topbar .global-search>kbd{right:20px}
body .app-shell .topbar .search-results{top:calc(100% + 5px);max-height:min(440px,60vh);left:0;right:0}
@media(min-width:1400px){body:not(.performance) .app-shell .topbar{grid-template-columns:auto minmax(0,1fr) 210px;gap:18px}body .app-shell .topbar .search-toggle{display:none}body .app-shell .topbar .global-search{display:flex;position:relative;grid-column:3;grid-row:1;inset:auto;width:210px;padding:0;background:none;border:0;box-shadow:none}body .app-shell .topbar .global-search input{padding-left:34px;padding-right:30px;font-size:12px}body .app-shell .topbar .global-search .search-icon{left:10px}body .app-shell .topbar .global-search>kbd{display:block;right:8px}body .app-shell .topbar .nav-actions .ghost{padding:9px 10px;font-size:13px}body .app-shell .topbar .language-switch{margin-left:8px}body .app-shell .topbar .search-results{left:auto;width:360px}}
@media(max-width:1100px){body .app-shell .topbar .nav-actions .ghost{display:none}body:not(.performance) .app-shell .topbar{height:68px;min-height:68px;padding:9px 16px;gap:10px}body .app-shell .topbar .global-search{right:14px}body .app-shell .topbar .language-switch{margin-left:0}}
@media(max-width:600px){body:not(.performance) .app-shell .topbar{height:62px;min-height:62px;padding:8px 12px;gap:7px;grid-template-columns:auto minmax(0,1fr) 36px}.search-toggle{height:38px;width:36px;border-radius:10px}body .app-shell .topbar .brand{font-size:18px}body .app-shell .topbar .nav-actions{gap:6px}body .app-shell .topbar .language-switch button{padding:3px 2px;font-size:9px}body .app-shell .topbar .language-flag{width:14px}body .app-shell .topbar .brand-mark{width:29px;height:35px}body .app-shell .topbar .global-search>kbd{display:none}}
@media(max-width:360px){body .app-shell .topbar .brand{font-size:16px;gap:5px}body .app-shell .topbar .language-switch button{font-size:0}body .app-shell .topbar .language-flag{width:17px}body .app-shell .topbar #newSongBtn{width:32px}}
/* Existing compact reader header on tablets keeps its original brand visibility. */
@media(max-width:1100px){body[data-view="songView"] .app-shell .topbar{grid-template-columns:minmax(0,1fr) auto 36px}body[data-view="songView"] .app-shell .topbar .nav-actions{grid-column:2}body[data-view="songView"] .app-shell .topbar .global-search{right:10px}}

/* 0.8.55: compact rhythm buttons on phones — every style visible, no sideways scrolling */
@media(max-width:600px){
 .genre-discovery{margin-bottom:12px}
 .genre-discovery .dashboard-heading{align-items:center;margin-bottom:8px}
 .genre-discovery .dashboard-heading p{display:none}
 .genre-quick-row{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow:visible;padding:0}
 .genre-quick-row button{flex-direction:column;justify-content:center;gap:3px;min-height:56px;min-width:0;padding:6px 2px;border-radius:12px}
 .genre-quick-row button span{font-size:22px}
 .genre-quick-row svg{width:22px;height:22px}
 .genre-quick-row strong{font-size:10.5px;line-height:1.15;max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:359px){.genre-quick-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.genre-quick-row button{flex-direction:row;gap:4px;min-height:44px;padding:4px 3px}.genre-quick-row svg{width:19px;height:19px;flex:0 0 19px}.genre-quick-row button span{font-size:19px}.genre-quick-row strong{font-size:11px}}

/* 0.8.58: Shuffle button under the featured list (Discover and genre tabs) */
.featured-foot{display:flex;justify-content:flex-end;margin-top:10px}
.featured-foot[hidden]{display:none}
.featured-panel .featured-shuffle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}
.featured-panel .featured-shuffle span:first-child{color:var(--accent);font-size:18px}
.featured-panel .featured-shuffle:hover{border-color:var(--accent)}
.featured-panel .featured-shuffle:focus-visible{outline:3px solid var(--accent-2);outline-offset:2px}
@media(max-width:600px){.featured-foot{justify-content:stretch}.featured-panel .featured-shuffle{flex:1;justify-content:center}}
/* 0.8.114: first-time visitors keep the usual layout: one column of songs with Minha atividade beside it on wide screens
   (history panels stay hidden; balanceDashboard fits the list to the sidebar). Narrow screens stack as before. */
