body.compact-home.arcade-home .home-page{padding-top:12px;max-width:1240px}
body.compact-home.arcade-home .home-hero{display:block;min-height:0;margin:0 0 14px;padding:0;border:0;background:none;box-shadow:none}
body.compact-home.arcade-home .home-hero::before,body.compact-home.arcade-home .home-hero::after{display:none}
body.compact-home.arcade-home .home-hero h1{font-size:24px;margin:0 0 5px;line-height:1.3}
body.compact-home.arcade-home .home-hero p{margin:0;font-size:12px;color:var(--muted)}
body.compact-home.arcade-home .home-multiplayer{margin:0 0 16px}
body.compact-home.arcade-home .home-multiplayer>.section-title{display:none}
body.compact-home.arcade-home .category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:10px}
body.compact-home.arcade-home .category-card{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px;border-radius:10px}
body.compact-home.arcade-home .category-card>strong{font-size:20px;color:var(--cyan)}
body.compact-home.arcade-home .category-card h2{font-size:14px;margin:0}
body.compact-home.arcade-home .category-card p,body.compact-home.arcade-home .category-card>span,body.compact-home.arcade-home .category-card::after{display:none}
body.compact-home.arcade-home .home-live-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}
body.compact-home.arcade-home .home-live-grid>.panel{min-width:0;margin:0;padding:18px;border-radius:14px}
body.compact-home.arcade-home .home-live-grid .section-title{gap:8px;flex-wrap:wrap;margin-bottom:8px}
body.compact-home.arcade-home .home-live-grid h2{font-size:19px;margin:0}
body.compact-home.arcade-home .home-live-grid .eyebrow{font-size:9px;margin:0 0 4px}
body.compact-home.arcade-home .home-live-grid>.panel>p.muted{font-size:11px;line-height:1.6;margin:4px 0 12px}
body.compact-home.arcade-home .public-room-row{display:grid;grid-template-columns:95px minmax(0,1fr) auto;gap:5px 10px;padding:10px;min-height:64px}
body.compact-home.arcade-home .public-room-game{font-size:12px;grid-row:1/3;align-self:center}
body.compact-home.arcade-home .public-room-row>div{min-width:0;grid-column:2;grid-row:1}
body.compact-home.arcade-home .public-room-row>div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
body.compact-home.arcade-home .public-room-row small{font-size:10px}
body.compact-home.arcade-home .public-room-status{grid-column:2;grid-row:2;font-size:10px;padding:2px 6px;justify-self:start}
body.compact-home.arcade-home .public-room-row>a{grid-column:3;grid-row:1/3;align-self:center;min-height:36px;display:flex;align-items:center;padding:7px 10px;font-size:11px}
body.compact-home.arcade-home .ranking-games{gap:5px;margin:8px 0}
body.compact-home.arcade-home .ranking-games button,body.compact-home.arcade-home .ranking-periods button{font-size:11px;padding:7px 9px;min-height:32px}
body.compact-home.arcade-home .ranking-status{font-size:11px;padding:7px 0;margin:0}
body.compact-home.arcade-home .ranking-list{margin:8px 0}
body.compact-home.arcade-home .ranking-list li{padding:9px;min-height:38px;font-size:12px}
body.compact-home.arcade-home .ranking-updated{font-size:10px}
body.compact-home.arcade-home #my-ranking{padding:5px 8px;margin:6px 0;font-size:10px}
body.compact-home.arcade-home .ranking-list{max-height:none;padding:0}
body.compact-home.arcade-home .compact-list:not(.ranking-list):not(.expanded)>:nth-child(n+6){display:none}
body.compact-home.arcade-home .list-more{display:block;width:100%;margin-top:10px;min-height:36px}
body.compact-home.arcade-home .list-more[hidden]{display:none}
body.compact-home.arcade-home .home-solo{margin:0 0 14px;min-width:0}
body.compact-home.arcade-home .home-solo>.muted{display:none}
body.compact-home.arcade-home .home-solo h2{font-size:14px;margin:0}
body.compact-home.arcade-home .home-solo .section-title{margin:0;align-items:center}
body.compact-home.arcade-home .home-solo .section-title>a{font-size:11px}
body.compact-home.arcade-home .home-solo .eyebrow{display:none}
body.compact-home.arcade-home .solo-game-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:8px}
body.compact-home.arcade-home .solo-game-card{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:64px;padding:10px;border-radius:10px}
body.compact-home.arcade-home .solo-game-card::after{display:none}
body.compact-home.arcade-home .solo-game-card>strong{order:0;width:60px;height:42px;min-width:0;flex:0 0 60px;margin:0;border-width:2px}
body.compact-home.arcade-home .solo-game-card>span{order:1;min-width:0;text-align:left}
body.compact-home.arcade-home .solo-game-card img{width:100%;height:100%;object-fit:contain}
body.compact-home.arcade-home .solo-game-card b{font-size:12px}
body.compact-home.arcade-home .solo-game-card small{font-size:9px}
body.compact-home.arcade-home .solo-game-card i{display:none}
body.compact-home.arcade-home #pwa-panel{margin:24px 0;padding:16px}
body.compact-home.arcade-home #pwa-panel h2{font-size:16px}
body.compact-home.arcade-home #pwa-panel p,body.compact-home.arcade-home #pwa-panel summary{font-size:12px}
@media(max-width:700px){
 body.compact-home.arcade-home .home-page{padding-top:10px}
 body.compact-home.arcade-home .home-hero h1{font-size:20px}
 body.compact-home.arcade-home .home-hero{margin-bottom:10px}
 body.compact-home.arcade-home .home-multiplayer{margin-bottom:12px}
 body.compact-home.arcade-home .category-grid{gap:6px}
 body.compact-home.arcade-home .category-card{gap:4px;padding:8px 4px;min-height:44px}
 body.compact-home.arcade-home .category-card h2{font-size:11px}
 body.compact-home.arcade-home .category-card>strong{font-size:14px}
 body.compact-home.arcade-home .home-live-grid{grid-template-columns:1fr;gap:12px}
 body.compact-home.arcade-home .home-live-grid>.panel{padding:12px}
 body.compact-home.arcade-home .home-live-grid>.panel>p.muted{margin:4px 0 8px;font-size:10px}
 body.compact-home.arcade-home .home-live-grid>.panel>p.muted{display:none}
 body.compact-home.arcade-home .home-live-grid h2{font-size:17px}
 body.compact-home.arcade-home .home-live-grid .eyebrow{display:none}
 body.compact-home.arcade-home .home-rankings .section-title>.ranking-updated{display:none}
 body.compact-home.arcade-home .public-room-row{grid-template-columns:76px minmax(0,1fr) auto;padding:7px;min-height:48px;gap:2px 7px}
 body.compact-home.arcade-home .public-room-row>div{grid-row:1/3}
 body.compact-home.arcade-home .public-room-status{grid-column:1;grid-row:2;font-size:9px}
 body.compact-home.arcade-home .public-room-row small{font-size:9px;white-space:nowrap}
 body.compact-home.arcade-home .public-room-game{font-size:11px;grid-row:1}
 body.compact-home.arcade-home .ranking-games{flex-wrap:nowrap;overflow-x:auto;margin-right:0;padding-bottom:3px}
 body.compact-home.arcade-home .ranking-games button{flex-shrink:0}
 body.compact-home.arcade-home .compact-list:not(.ranking-list):not(.expanded)>:nth-child(n+4){display:none}
 body.compact-home.arcade-home .solo-game-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:172px;gap:8px;overflow-x:auto;padding:3px 2px 7px;scroll-snap-type:x proximity}
 body.compact-home.arcade-home .solo-game-card{justify-content:flex-start;height:64px;min-height:64px;padding:8px;scroll-snap-align:start}
 body.compact-home.arcade-home .solo-game-card>strong{display:grid}
 body.compact-home.arcade-home .solo-game-card small{display:block}
 body.compact-home.arcade-home .solo-game-card b{font-size:11px}
}

/* Desktop: readable secondary text without pushing the lists down. */
@media(min-width:701px){
 body.compact-home.arcade-home .home-live-grid>.panel>p.muted{font-size:12px;line-height:1.5;margin:4px 0 8px}
 body.compact-home.arcade-home .home-live-grid .eyebrow{font-size:10px}
 body.compact-home.arcade-home .public-room-row small{font-size:12px}
 body.compact-home.arcade-home .public-room-status{font-size:11px}
 body.compact-home.arcade-home .ranking-updated{font-size:11px}
 body.compact-home.arcade-home #my-ranking,body.compact-home.arcade-home .ranking-status{font-size:12px}
 body.compact-home.arcade-home .solo-game-card small{font-size:11px;font-family:inherit;line-height:1.4;margin-top:3px}
 body.compact-home.arcade-home .ranking-periods{margin:8px 0}
}

/* Mobile: quieter surfaces keep the game art and primary action in focus. */
@media(max-width:700px){
 body.compact-home.arcade-home .topbar{height:48px;min-height:48px;padding:0 12px;margin-bottom:28px;gap:8px;box-shadow:none}
 body.compact-home.arcade-home .topbar .brand{font-size:12px;white-space:nowrap;text-shadow:none}
 body.compact-home.arcade-home .topbar>div{min-width:0;gap:4px}
 body.compact-home.arcade-home .topbar .ghost{font-size:10px;padding:8px 6px;min-height:36px;border-color:transparent;background:none;box-shadow:none;white-space:nowrap}
 body.compact-home.arcade-home #change-name{max-width:112px;overflow:hidden;text-overflow:ellipsis}
 body.compact-home.arcade-home #user-name{display:none}
 body.compact-home.arcade-home .runtime-status-tools{position:absolute;top:48px;right:12px;gap:8px;z-index:2}
 body.compact-home.arcade-home .connection-status,body.compact-home.arcade-home .low-power-toggle{min-height:28px;padding:3px 2px;border:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:10px;font-weight:500;color:var(--muted)}
 body.compact-home.arcade-home .connection-status i{width:6px;height:6px;box-shadow:none}
 body.compact-home.arcade-home .low-power-toggle.is-active{color:var(--cyan)}
 body.compact-home.arcade-home .home-hero h1{font-size:19px}
 body.compact-home.arcade-home .home-hero p{font-size:11px;line-height:1.6}
 body.compact-home.arcade-home .category-card{border:1px solid #322d43;background:#171421;box-shadow:none}
 body.compact-home.arcade-home .category-card>strong{color:var(--muted)}
 body.compact-home.arcade-home .category-card:first-child{border-color:#70efce66;background:#70efce14}
 body.compact-home.arcade-home .category-card:first-child>strong{color:var(--cyan)}
 body.compact-home.arcade-home .solo-game-card{border:1px solid #322d43;background:#171421;box-shadow:none}
 body.compact-home.arcade-home .solo-game-card b{text-shadow:none;color:#eee9f6}
 body.compact-home.arcade-home .solo-game-card small{font-family:inherit;margin-top:3px}
 body.compact-home.arcade-home .home-live-grid{gap:12px}
 body.compact-home.arcade-home .home-live-grid>.panel{border:1px solid #322d43;background:#15121f;box-shadow:none}
 body.compact-home.arcade-home .home-live-grid .section-title .ghost{border-color:transparent;background:none;box-shadow:none;color:var(--muted);font-size:11px;min-height:36px;padding:6px}
 body.compact-home.arcade-home .public-room-list{gap:0}
 body.compact-home.arcade-home .public-room-row{border:0;border-bottom:1px solid #2c273b;border-radius:0;background:none;box-shadow:none;padding:8px 0;min-height:52px}
 body.compact-home.arcade-home .public-room-game{color:#e3deed}
 body.compact-home.arcade-home .public-room-status{background:none;padding:0;color:var(--muted)}
 body.compact-home.arcade-home .public-room-row>a{box-shadow:none;border-radius:7px;background:#9370ff22;border:1px solid #9370ff55;color:#d6c8ff;min-height:40px}
 body.compact-home.arcade-home .public-room-row>a[aria-disabled="true"]{border-color:#322d43;background:none;color:var(--muted)}
 body.compact-home.arcade-home .list-more{border:0;background:none;box-shadow:none;color:var(--muted);margin-top:4px;min-height:40px;font-size:11px}
 body.compact-home.arcade-home .ranking-games{margin:2px 0 6px;gap:4px}
 body.compact-home.arcade-home .ranking-games button{border-color:transparent;background:none;min-height:36px;padding:7px 8px}
 body.compact-home.arcade-home .ranking-games button.active{border-color:#ffd47855;background:#ffd4780c}
 body.compact-home.arcade-home .ranking-periods{display:flex;gap:4px;width:fit-content;margin:4px 0 8px;padding:2px;border:0;background:#0e0c16}
 body.compact-home.arcade-home .ranking-periods button{min-height:34px;padding:6px 18px}
 body.compact-home.arcade-home .ranking-list{background:none;gap:0}
 body.compact-home.arcade-home .ranking-list li{background:none;border:0;border-bottom:1px solid #2c273b;border-radius:0;padding:10px 0;min-height:40px}
 body.compact-home.arcade-home .ranking-list li:first-child{border-left:0;background:none}
 body.compact-home.arcade-home #my-ranking{border:0;background:none;text-align:left;color:var(--muted);padding:4px 0}
}

body.compact-home.arcade-home .ranking-list.compact-list:not(.expanded)>:nth-child(n+11){display:none}
.room-discovery{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0;font-size:11px;color:var(--muted)}
.room-discovery label{display:flex;align-items:center;gap:5px;cursor:pointer;min-height:30px}
.room-discovery input{width:14px;height:14px;margin:0;accent-color:var(--cyan)}
.room-discovery a{font-size:11px}.room-discovery a[hidden]{display:none}
#joinable-count{margin-left:auto;font-size:10px}
.empty-room-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.empty-room-actions a{padding:9px;text-decoration:none;font-size:11px}
@media(max-width:700px){.room-discovery{margin:0;gap:8px}body.compact-home.arcade-home .home-live-grid>.home-public-rooms{padding-top:8px;padding-bottom:8px}}

/* Keep the first view focused on games and people; secondary tools expand on demand. */
body.compact-home.arcade-home .solo-game-card{border:1px solid #332e43;background:#171421;box-shadow:none}
body.compact-home.arcade-home .solo-game-card b{color:#ece8f3;text-shadow:none}
body.compact-home.arcade-home .solo-game-card small{display:none}
body.compact-home.arcade-home .home-live-grid>.panel{border:1px solid #332e43;background:#15121f;box-shadow:none}
body.compact-home.arcade-home .home-live-grid .eyebrow,body.compact-home.arcade-home .home-live-grid>.panel>p.muted{display:none}
body.compact-home.arcade-home .ranking-updated{display:none}
.room-filters{margin:4px 0 8px;color:var(--muted);font-size:11px}
.room-filters>summary{cursor:pointer;min-height:28px;line-height:28px;width:fit-content}
.home-extra{margin:18px 0 0;border-top:1px solid #332e43;padding-top:10px;color:var(--muted)}
.home-extra>summary{cursor:pointer;min-height:36px;line-height:36px;font-size:13px}
.extra-hint{float:right;font-size:11px}.home-extra[open] .extra-hint{display:none}
