/* Start-inspired launcher, using TAG's graphite and sage palette. */
#header details.header-more .header-more-panel.header-start-menu{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 82px);padding:0!important;gap:0!important;flex-direction:column;overflow:auto;overscroll-behavior:contain;border:1px solid #a6c4b824;border-radius:20px;background:linear-gradient(145deg,#202730f7,#151b24fc);box-shadow:0 20px 55px #0006;scrollbar-width:thin;scrollbar-color:#7c9a8b55 transparent;text-align:left}
#header details.header-more[open] .header-more-panel.header-start-menu{display:flex!important}
#header .header-start-menu [hidden],#header .header-start-menu .header-start-filtered{display:none!important}
#header .header-start-search{display:flex;align-items:center;gap:9px;min-height:36px;margin:14px 14px 6px;padding:0 11px;background:#0d141e94;border:1px solid #bed3c51a;border-bottom-color:#91bea06b;border-radius:10px;color:#95b9a7;flex:none}
#header .header-start-search>i{font-size:12px;background:none!important}
#header .header-start-search>input{appearance:none;min-width:0;width:100%;height:34px;padding:0;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#e3ebe6;font:400 12px/1.2 inherit;outline:none!important}
#header .header-start-search>input::placeholder{color:#8e9ca9;opacity:1}
#header .header-start-search:focus-within{border-color:#a6d9bb7a;box-shadow:0 0 0 2px #a6d9bb0b}
#header .header-start-section{display:block;flex:none;padding:10px 12px 3px}
#header .header-start-section h3{margin:0 5px 9px;padding:0;border:0;background:none;color:#b9c9c1;font-size:10px;line-height:1.3;font-weight:650;letter-spacing:.045em;text-transform:none;text-align:left}
#header .header-start-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;align-items:start}
#header .header-start-grid>.btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;height:76px;min-height:76px;margin:0;padding:7px 3px;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;color:#cfd9df;font-size:10px!important;font-weight:500;line-height:1.25;text-align:center;white-space:normal;overflow:visible;transform:none!important;transition:background .16s ease,border-color .16s ease}
#header .header-start-grid>.btn:hover{background:#bad5c70b!important;border-color:#bad5c717!important}
#header .header-start-grid>.btn:active{background:#bad5c716!important}
#header .header-start-grid>.btn:focus-visible,#header .header-start-footer>.btn:focus-visible{outline:2px solid #a9dbc0!important;outline-offset:-2px}
#header .header-start-grid>.btn>i:first-child,#header .header-start-grid>.btn>svg,#header .header-start-grid>.btn>.header-stat-chip{position:relative;display:grid;place-items:center;flex:none;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:linear-gradient(145deg,#98d2b218,#6aa58a08)!important;box-shadow:inset 0 1px #d9ffea0a!important;color:#a8d7bd!important;font-size:21px!important;line-height:1!important;filter:none!important;transform:none!important}
#header .header-start-grid>.btn>.header-stat-chip>i{font-size:20px!important;color:inherit!important}
#header .header-start-grid>.btn>svg{padding:5px!important;box-sizing:border-box}
#header .header-start-grid>.btn>span:not(.header-stat-chip){display:block!important;flex:none!important;width:auto!important;max-width:100%!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere;line-height:1.25;font-size:10px!important;text-align:center;color:#cdd8dd!important}
#header .header-start-grid .header-stat-copy{display:contents!important}
#header .header-start-grid .header-stat-label{display:block!important;color:#cdd8dd!important;font-size:10px!important;font-weight:500}
#header .header-start-grid #headerOnlineCount{position:absolute!important;top:3px!important;right:9px!important;min-width:16px!important;width:auto!important;height:16px!important;padding:2px 4px!important;border-radius:6px!important;background:#355849!important;color:#d9f3e5!important;font-size:8px!important;line-height:12px!important;box-shadow:0 0 0 2px #19212a}
#header .header-start-grid #currentRoomLabel{display:block!important;position:static!important;max-width:62px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px!important;line-height:1.2!important;color:#849c91!important}
#header .header-start-grid #btnSobe{gap:3px}
#header .header-start-grid #btnGames>svg,#header .header-start-grid #btnMagicLounge>i{color:#b4a9e3!important;background:#a696d712!important}
#header .header-start-grid #btnVip>i,#header .header-start-grid #btnShop>i{color:#d9c18a!important;background:#c7ac6910!important}
#header .header-start-grid #btnAddPhoto>i:first-child,#header .header-start-grid #btnAddCover>i:first-child{color:#99bdde!important;background:#91bce812!important}
#header .header-start-grid #btnCreateRoom>i{color:#aac9c0!important}
#header .header-start-grid .photo-plus{position:absolute;top:10px;right:calc(50% - 19px);font-size:8px!important;color:#c7eed4!important}
#header .header-start-footer{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:7px;flex:none;margin-top:12px;padding:10px 13px;background:#172029f5;border-top:1px solid #b6d5c414;backdrop-filter:blur(14px)}
#header .header-start-footer>.btn{width:auto!important;height:34px;min-height:34px;padding:5px 8px;gap:7px;border:0!important;border-radius:9px;background:transparent!important;box-shadow:none!important;color:#b8c8c0;font-size:10px!important}
#header .header-start-footer .header-start-account{flex:1;min-width:0;justify-content:flex-start}
#header .header-start-account>img{width:26px;height:26px;flex:none;border-radius:9px;object-fit:cover;border:1px solid #aac9b835}
#header .header-start-account>span{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;color:#c4d2cc;font-size:11px}
#header .header-start-footer>#btnHelp{flex:none;padding:5px 8px!important;gap:5px}
#header .header-start-footer #btnHelp>i{font-size:15px;color:#9eb3a8}
#header .header-start-footer #authButtons{flex:0 0 100%;width:100%;flex-direction:row;gap:6px;padding-top:3px}
#header .header-start-footer #authButtons>.btn{flex:1;justify-content:center;height:32px;padding:5px;border:1px solid #afc8bb1a;border-radius:8px;background:#b9d1c207;box-shadow:none;color:#c4d2cd;font-size:10px}
#header .header-start-empty{flex:none;margin:20px 16px;color:#8da297;font-size:12px;text-align:center}
#header .header-start-status{display:grid;gap:7px;flex:none;padding:8px 14px 0}
#header .header-start-status #playerStats{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%!important;max-width:none!important;margin:0!important;padding:0 0 8px!important;border-bottom:1px solid #bad5c414}
#header .header-start-status #playerStats[hidden]{display:none!important}
#header .header-start-status #playerStats .player-stat{width:auto!important;max-width:none!important;min-width:0!important;height:44px!important;display:flex!important;gap:8px!important;padding:7px!important;border:0;background:#b5d1c206!important;border-radius:9px!important}
#header .header-start-status .stat-label{display:block;font-size:8px;color:#859b91}
#header .header-start-status .stat-copy strong{font-size:11px;color:#d2e6d9}
#header .header-start-status>#ytHeaderQueue,#header .header-start-status>#ytHeaderNowPlaying,#header .header-start-status>#roomRadioHeader{position:relative!important;inset:auto!important;display:flex;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
@media(max-width:640px){
 #header.social-header details.header-more .header-more-panel.header-start-menu{display:none!important;flex-direction:column!important;gap:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:auto!important}
 #header.social-header details.header-more[open] .header-more-panel.header-start-menu{display:flex!important}
 #header.social-header .header-start-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 #header.social-header .header-start-grid>.btn{display:flex!important;height:72px!important;min-height:72px!important;padding:6px 2px!important;gap:5px!important}
 #header.social-header .header-start-grid>.btn>span:not(.header-stat-chip){display:block!important;width:auto!important;flex:none!important;font-size:10px!important;line-height:1.25!important}
 #header.social-header .header-start-search{margin:5px 2px 7px;min-height:35px}
 #header.social-header .header-start-section{padding:9px 0 2px}
 #header.social-header .header-start-status{padding:2px 2px 5px}
 #header.social-header .header-start-footer{margin:10px -2px 0;padding:8px 2px 5px;background:#15181ff5}
 #header.social-header .header-start-footer .btn>span{font-size:10px!important;line-height:1.2!important}
 #header.social-header .header-start-footer>#authButtons{flex-direction:row!important}
 #header.social-header .header-start-footer>#authButtons>.btn{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important}
}
@media(prefers-reduced-motion:reduce){#header .header-start-grid>.btn{transition:none}}
#header.social-header .header-start-menu [hidden],#header.social-header .header-start-menu .header-start-filtered{display:none!important}
#header .header-start-grid>a.btn{text-decoration:none!important}
#header .header-start-footer>.header-start-account{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
#header .header-start-footer>.header-start-account>span{display:block!important;flex:1!important;min-width:0!important;width:auto!important;text-align:left!important}
@media(max-width:640px){
 #header.social-header .header-start-grid #btnSobe,#header.social-header .header-start-grid #btnOnlineAll,#header.social-header .header-start-grid #btnYoutubeRoom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;height:72px!important;min-height:72px!important;padding:5px 2px!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important}
 #header.social-header .header-start-grid #btnSobe .header-stat-copy,#header.social-header .header-start-grid #btnOnlineAll .header-stat-copy{display:contents!important}
 #header.social-header .header-start-grid #btnSobe .header-stat-label,#header.social-header .header-start-grid #btnOnlineAll .header-stat-label,#header.social-header .header-start-grid #btnYoutubeRoom>span{font-size:10px!important;font-weight:500!important;text-transform:none!important;color:#cdd8dd!important;line-height:1.25!important}
 #header.social-header .header-start-grid #btnSobe .header-stat-chip,#header.social-header .header-start-grid #btnOnlineAll .header-stat-chip,#header.social-header .header-start-grid #btnYoutubeRoom>i{width:32px!important;height:32px!important;min-width:32px!important;flex:none!important;display:grid!important;place-items:center!important;border:0!important;background:linear-gradient(145deg,#98d2b218,#6aa58a08)!important;color:#a8d7bd!important;font-size:21px!important;box-shadow:none!important}
}

/* Compact launcher: four pins across; secondary actions use short rows. */
#header details.header-more .header-more-panel.header-start-menu{width:min(380px,calc(100vw - 24px))}
#header .header-start-section{padding:6px 10px 1px}
#header .header-start-section h3{margin:0 3px 5px;font-size:9px;letter-spacing:.025em}
#header .header-start-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}
#header .header-start-grid>.btn{height:58px;min-height:58px;padding:4px 2px;gap:3px}
#header .header-start-grid>.btn>i:first-child,#header .header-start-grid>.btn>svg,#header .header-start-grid>.btn>.header-stat-chip{width:27px!important;height:27px!important;min-width:27px!important;font-size:18px!important;border-radius:8px!important}
#header .header-start-search{margin:9px 10px 4px;min-height:32px}
#header .header-start-search>input{height:30px;font-family:inherit;font-size:11px}
#header .header-start-footer{margin-top:7px;padding:7px 10px}
#header .header-start-status{padding:4px 10px 0;gap:4px}
#header .header-start-status #playerStats{gap:5px!important;padding-bottom:4px!important}
#header .header-start-status #playerStats .player-stat{height:32px!important;padding:3px 6px!important;gap:6px!important;background:transparent!important}
#header .header-start-status #playerStats .stat-label{font-size:7px!important}
#header .header-start-status #playerStats .stat-copy strong{font-size:10px!important}
#header [data-start-group=services] .header-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}
#header [data-start-group=services] .header-start-grid>.btn{height:34px!important;min-height:34px!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;padding:3px 5px!important;gap:7px!important;text-align:left!important}
#header [data-start-group=services] .header-start-grid>.btn>i:first-child{width:23px!important;height:23px!important;min-width:23px!important;font-size:15px!important}
#header [data-start-group=services] .header-start-grid>.btn>span{text-align:left!important}
@media(max-width:640px){
 #header.social-header .header-start-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1px}
 #header.social-header .header-start-section{padding:6px 0 0}
 #header.social-header .header-start-section h3{margin-bottom:4px}
 #header.social-header .header-start-grid>.btn{height:58px!important;min-height:58px!important;padding:3px 1px!important;gap:3px!important}
 #header.social-header .header-start-grid>.btn>span:not(.header-stat-chip){font-size:9px!important;line-height:1.15!important}
 #header.social-header .header-start-grid #btnSobe,#header.social-header .header-start-grid #btnOnlineAll,#header.social-header .header-start-grid #btnYoutubeRoom{height:58px!important;min-height:58px!important;padding:2px 1px!important;gap:2px!important}
 #header.social-header .header-start-grid #btnSobe .header-stat-chip,#header.social-header .header-start-grid #btnOnlineAll .header-stat-chip,#header.social-header .header-start-grid #btnYoutubeRoom>i{width:26px!important;height:26px!important;min-width:26px!important;font-size:18px!important}
 #header.social-header .header-start-grid #btnSobe .header-stat-label,#header.social-header .header-start-grid #btnOnlineAll .header-stat-label,#header.social-header .header-start-grid #btnYoutubeRoom>span{font-size:9px!important}
 #header.social-header .header-start-grid #currentRoomLabel{height:9px!important;min-height:9px!important;font-size:7px!important;line-height:9px!important}
 #header.social-header .header-start-search{margin:3px 1px 5px;min-height:32px}
 #header.social-header .header-start-status{padding:0 1px 2px}
 #header.social-header .header-start-footer{margin-top:6px;padding:5px 1px 2px}
 #header.social-header [data-start-group=services] .header-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 3px}
 #header.social-header [data-start-group=services] .header-start-grid>.btn{height:32px!important;min-height:32px!important;padding:3px!important;gap:5px!important}
}
#header #headerExpandedMenu .header-start-grid>.btn.header-start-unavailable,#header.social-header #headerExpandedMenu .header-start-grid>.btn.header-start-unavailable{display:none!important}
#header #headerExpandedMenu .header-start-grid>.btn.header-start-filtered,#header #headerExpandedMenu .header-start-grid>.btn[hidden],#header.social-header #headerExpandedMenu .header-start-grid>.btn.header-start-filtered,#header.social-header #headerExpandedMenu .header-start-grid>.btn[hidden]{display:none!important}
#header [data-start-group=services] .header-start-grid>.btn,#header.social-header [data-start-group=services] .header-start-grid>.btn{height:36px!important;min-height:36px!important}

/* Refined surfaces and coloured icon wells; compact geometry is unchanged. */
#header #headerExpandedMenu .header-start-section h3{display:flex;align-items:center;gap:7px;color:#a8bdb2;font-weight:600;letter-spacing:.025em}
#header #headerExpandedMenu .header-start-section h3::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,#adc9bb16,transparent);margin-right:3px}
#header #headerExpandedMenu .header-start-grid>.header-start-tile{background:linear-gradient(155deg,#c1d9cc06,#c1d9cc02)!important;border-color:transparent!important;border-radius:11px!important;box-shadow:inset 0 1px #e8fff105!important;transition:background .16s ease,box-shadow .16s ease!important}
#header #headerExpandedMenu .header-start-grid>.header-start-tile:hover{background:linear-gradient(145deg,color-mix(in srgb,var(--start-tone) 13%,transparent),#d6ecdf06)!important;box-shadow:inset 0 1px #e7fff115,0 2px 6px #00000014!important}
#header #headerExpandedMenu .header-start-grid>.header-start-tile:active{background:color-mix(in srgb,var(--start-tone) 17%,transparent)!important;box-shadow:inset 0 1px 5px #0002!important}
#header #headerExpandedMenu .header-start-grid .header-start-glyph{color:var(--start-tone)!important;background:radial-gradient(ellipse at 30% 0%,color-mix(in srgb,var(--start-tone) 24%,transparent),transparent 80%),linear-gradient(145deg,color-mix(in srgb,var(--start-tone) 9%,#1b252c),#172027)!important;border:0!important;border-radius:9px!important;box-shadow:inset 0 1px #ffffff12,inset 0 -1px #00000020,0 2px 4px #00000018!important;text-shadow:0 1px 3px #0002;transform-origin:center 65%;backface-visibility:hidden}
#header #headerExpandedMenu .header-start-grid .header-start-glyph>i{color:inherit!important;background:transparent!important;box-shadow:none!important;text-shadow:0 1px 2px #0003}
#header #headerExpandedMenu .header-start-grid>.header-start-tile>span:not(.header-stat-chip){color:#c6d4ce!important;letter-spacing:.005em;font-weight:500!important}
#header #headerExpandedMenu [data-start-group=services] .header-start-grid>.header-start-tile{background:transparent!important;box-shadow:none!important;border-radius:9px!important}
#header #headerExpandedMenu [data-start-group=services] .header-start-grid>.header-start-tile:hover{background:#b3d2c20a!important}
#header #headerExpandedMenu .header-start-search{background:linear-gradient(135deg,#0e1720d9,#151e27b3);border-color:#b4d2c621;border-bottom-color:#9fcbb46b;box-shadow:inset 0 1px 3px #0002}
#header #headerExpandedMenu .header-start-search:focus-within{border-color:#a6d9bb80;box-shadow:0 0 0 2px #a6d9bb0c,inset 0 1px 3px #0002}
#header #headerExpandedMenu .header-start-footer{background:linear-gradient(115deg,#1b252df7,#172029f7);border-top-color:#b4d1c416}
#header #headerExpandedMenu .header-start-account>img{box-shadow:0 1px 5px #0003;border-color:#b9d7c73b}
@media(max-width:640px){
 #header.social-header #headerExpandedMenu .header-start-grid #btnSobe,#header.social-header #headerExpandedMenu .header-start-grid #btnOnlineAll,#header.social-header #headerExpandedMenu .header-start-grid #btnYoutubeRoom{background:linear-gradient(155deg,#c1d9cc06,#c1d9cc02)!important;box-shadow:inset 0 1px #e8fff105!important}
 #header.social-header #headerExpandedMenu .header-start-grid .header-start-glyph{color:var(--start-tone)!important;background:radial-gradient(ellipse at 30% 0%,color-mix(in srgb,var(--start-tone) 24%,transparent),transparent 80%),linear-gradient(145deg,color-mix(in srgb,var(--start-tone) 9%,#1b252c),#172027)!important;box-shadow:inset 0 1px #ffffff12,inset 0 -1px #00000020,0 2px 4px #00000018!important}
}
@media(prefers-reduced-motion:reduce){#header #headerExpandedMenu .header-start-grid>.header-start-tile{transition:none!important}}

/* Adaptive Android-style app icons: menu-only, original toolbar controls preserved. */
#header .header-start-appicon{display:none!important}
#header #btnSobe>.header-start-appicon.header-start-glyph,#header #btnOnlineAll>.header-start-appicon.header-start-glyph,#header #btnYoutubeRoom>.header-start-appicon.header-start-glyph,#header #btnMoments>.header-start-appicon.header-start-glyph{display:none!important}
#header #headerExpandedMenu .header-start-grid>.header-android-tile>.header-start-appicon.header-start-glyph{display:grid!important;place-items:center;flex:none!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;margin:0!important;padding:5px!important;box-sizing:border-box;border:0!important;border-radius:26%!important;background:linear-gradient(145deg,var(--app-top),var(--app-bottom))!important;color:#f5fffbe8!important;box-shadow:inset 0 1px #ffffff38,inset 0 -1px #00000014,0 2px 4px #00000026!important;overflow:hidden!important;text-shadow:none!important}
#header #headerExpandedMenu .header-start-grid>.header-android-tile>.header-start-appicon>svg{display:block;width:100%!important;height:100%!important;overflow:visible;filter:drop-shadow(0 1px 1px #00000018);color:inherit!important;stroke-linecap:round;stroke-linejoin:round}
#header #headerExpandedMenu .header-start-grid>.header-android-tile>i:not(.photo-plus),#header #headerExpandedMenu .header-start-grid>.header-android-tile>svg,#header #headerExpandedMenu .header-start-grid>.header-android-tile>.header-stat-chip{display:none!important}
#header #headerExpandedMenu .header-start-grid>.header-android-tile>.photo-plus{display:none!important}
#header #headerExpandedMenu [data-start-group=services] .header-start-grid>.header-android-tile>.header-start-appicon.header-start-glyph{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:4px!important;border-radius:26%!important}
@media(max-width:640px){#header.social-header #headerExpandedMenu .header-start-grid>.header-android-tile>.header-start-appicon.header-start-glyph{display:grid!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:4px!important}#header.social-header #headerExpandedMenu [data-start-group=services] .header-start-grid>.header-android-tile>.header-start-appicon.header-start-glyph{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:4px!important}}
