.favorite-games,.favorite-toggle,#community,.social-nav{display:none!important}
.product-home{gap:12px}.product-home .home-entry{box-sizing:border-box;display:flex;flex-direction:column;gap:14px;text-align:center;align-items:stretch;padding:20px;border:1px solid #8cc9d34a;border-radius:22px;background:linear-gradient(135deg,#11384480,#0b213c60);box-shadow:inset 0 1px #d0faff12;margin:0}
.product-home .home-entry h2{font-size:24px;line-height:1.2;margin:0;text-align:center}.product-home .home-entry .arcade-entry-title{justify-content:center}.product-home .arcade-infinity{display:none}.product-home .home-entry button{width:100%;margin:0;min-height:48px}.product-home .home-profile{text-align:center;justify-content:center}.home-profile span{min-width:0}.home-profile .home-daily-xp{text-align:center}
.favorite-card{grid-template-columns:minmax(0,1fr) 44px!important}.favorite-card .mode-card{min-width:0}.game-help-toggle{align-self:center}.community-hub h1{text-align:center}
.friend-row:has(.friend-identity){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border-radius:18px}.friend-identity{display:flex;align-items:center;gap:10px;min-width:0}.friend-identity>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.friend-identity strong{overflow-wrap:anywhere}.friend-identity small{font-size:13px}.friend-identity .study-avatar{object-fit:contain;flex:0 0 54px;width:54px!important;height:54px!important;margin:0!important}.friend-actions{display:flex;flex-direction:column;gap:6px}.friend-actions button{min-height:44px;font-size:14px;padding:8px 12px!important;width:100%}
.duel-row-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.duel-row-heading h2{flex:1;min-width:70px;margin:0;overflow-wrap:anywhere}.duel-row-heading .opponent-avatar{display:grid;place-items:center;flex:0 0 64px;width:64px!important;height:64px!important;min-width:64px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible}.opponent-avatar .study-avatar{width:64px!important;height:64px!important;margin:0!important;display:block}.opponent-avatar img{object-fit:contain;width:100%;height:100%}.difficulty-trigger{position:relative;padding-right:48px!important;text-align:center}.difficulty-trigger>span{position:absolute;right:18px;top:50%;transform:translateY(-50%);line-height:1}
.magic-board .magic-cell{background:linear-gradient(145deg,hsl(var(--magic-hue) 70% 46% / .52),hsl(var(--magic-hue) 70% 23% / .58));border-color:hsl(var(--magic-hue) 80% 75% / .58);color:#f7ffff}.magic-board .magic-cell.selected{outline:2px solid #b5f5ff;outline-offset:-3px}
#question-area .expansion-board .group-tile,#question-area .clearing-rectangles .rectangle-tile{background:linear-gradient(145deg,#ffffff25,transparent 42%,#00152522),color-mix(in srgb,var(--group-color,var(--rect-color)) 58%,transparent);backdrop-filter:none;border:1px solid #c5f8ff70;border-radius:7px;box-shadow:inset 2px 2px 0 #ffffff36,inset -2px -3px 0 #00132040,0 2px 4px #0006;transition:none;position:relative}
#question-area .clearing-rectangles .rectangle-tile::after{content:'';position:absolute;inset:5px;border:1px solid #ffffff24;border-radius:3px;pointer-events:none}
.community-hub .stack{display:grid;gap:12px}.community-hub .stack button{min-height:52px}.duel-final-outcome{text-align:center}
#content .product-home .home-entry{padding:20px!important;margin:0!important;border:1px solid #8cc9d34a!important;border-radius:22px!important;background:linear-gradient(135deg,#11384480,#0b213c60)!important;box-shadow:inset 0 1px #d0faff12!important}
#content .product-home .home-entry h2{font-size:24px!important;text-align:center!important;margin:0!important;line-height:1.2!important}#content .product-home .home-entry button{justify-content:center!important;text-align:center!important}
#content .friend-actions{width:132px;max-width:100%;gap:6px}#content .friend-actions button{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;font-size:13px!important;white-space:normal}
.friend-identity .study-avatar,.opponent-avatar .study-avatar{border-radius:50%;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
@media(max-width:350px){#content .friend-actions{width:110px}.friend-identity{gap:7px}.friend-identity .study-avatar{width:44px!important;height:44px!important;flex-basis:44px}}
#question-area .magic-board .magic-cell{background:linear-gradient(145deg,hsl(var(--magic-hue) 70% 46% / .52),hsl(var(--magic-hue) 70% 23% / .58))!important;border-color:hsl(var(--magic-hue) 80% 75% / .58)!important;color:#f7ffff!important}
#question-area .board.expansion-board .tile.group-tile,#question-area .board.clearing-rectangles .tile.rectangle-tile{background:linear-gradient(145deg,#ffffff70,transparent 36%,#0003),color-mix(in srgb,var(--group-color,var(--rect-color)) 60%,transparent)!important;border:2px solid #9eafbcaa!important;border-top-color:#edf5facc!important;border-bottom-color:#385569cc!important;box-shadow:inset 0 0 0 1px #dbfaff66,inset 2px 3px 5px #fff5,inset -2px -3px 5px #001c3666,0 2px 3px #0006!important;border-radius:5px!important;backdrop-filter:none!important;transition:none!important}
#question-area .tile.group-tile::after,#question-area .tile.rectangle-tile::after{display:none!important}
/* Compact scientific dashboard: profile and three direct actions. */
body #content .product-home .home-identity{display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:16px!important;padding:20px!important;text-align:left!important;align-items:center;border-radius:22px;background:linear-gradient(135deg,#102c3bdc,#071d30ed)!important;border:1px solid #76c2d645!important;box-shadow:inset 0 1px #c1f8ff19!important}
body #content .home-identity>.study-avatar{width:72px!important;height:72px!important;margin:0!important;flex-basis:72px!important}
body #content .home-identity>span{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.home-identity .home-nickname{font-size:22px!important;line-height:1.2;overflow-wrap:anywhere}.home-identity .home-level{font-size:14px;color:#b4ced9;line-height:1.4}.home-identity .player-id-copy{font-size:12px!important;min-height:32px!important;padding:4px 8px!important;width:auto!important}
.home-xp-progress{grid-column:1/-1;width:100%}.home-xp-progress>div{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#c6dfe9}.home-xp-progress progress{width:100%;height:5px;margin-top:10px;accent-color:#68dfec}
body #content .home-identity .xp-day{grid-column:1/-1;margin:0!important;padding:14px 0 0!important;border-top:1px solid #8ac8d426!important;width:100%;text-align:left!important}body #content .home-identity .xp-day h2{font-size:14px!important;margin:0 0 10px!important}.home-identity .xp-slots{gap:10px}.home-identity .xp-slots>span{font-size:13px!important}
.home-launchers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}body #content .home-launchers button.home-launcher{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:112px!important;width:100%;margin:0!important;padding:14px 5px!important;border-radius:18px!important;font-size:14px!important;line-height:1.25;white-space:nowrap}.home-launcher svg{width:32px;height:32px;color:#83e2ef}.community-back-nav{display:flex;margin:0 0 16px}.community-back-nav button{min-height:44px;margin:0}.bottom-tabs [data-tab=community]{position:relative}.duel-count{position:absolute;right:5px;top:3px;min-width:17px;height:17px;padding:0 3px;display:grid;place-items:center;border-radius:9px;background:#79dbe9;color:#061c2b;font-size:11px;line-height:1}.duel-count[hidden]{display:none}
@media(max-width:360px){body #content .home-launchers button.home-launcher{font-size:12px!important}.home-launchers{gap:7px}body #content .product-home .home-identity{padding:16px!important;gap:12px!important}}

/* Independent music and SFX controls, shared by settings and both pause menus. */
.audio-volume-controls{display:grid;gap:16px;margin:18px 0 4px;width:100%;min-width:0}
.audio-volume-control{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px!important;margin:0!important;text-align:left!important;font-size:15px;line-height:1.35;min-width:0;color:#e0f4f7}
.audio-volume-control>span{min-width:0;overflow-wrap:anywhere}.audio-volume-control output{font-variant-numeric:tabular-nums;color:#8ae0ed;min-width:4ch;text-align:right}
.audio-volume-control input[type=range]{grid-column:1/-1;box-sizing:border-box;display:block;width:100%;min-width:0;min-height:44px;margin:0!important;padding:8px 0!important;accent-color:#73dbe9;cursor:pointer;background:transparent!important;border:0!important;box-shadow:none!important;touch-action:pan-y}
.audio-volume-control input[type=range]:focus-visible{outline:2px solid #a8f1fa;outline-offset:2px;border-radius:7px}
.game-settings .audio-volume-controls,.pause-audio .audio-volume-controls{padding:14px;border:1px solid #80bdcf38;border-radius:16px;background:#0b263c75}
