/* The same illustrated lobby at night. Play deliberately retains its gold surface. */
html[data-menu-art=halloween] #shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby-backdrop{background-image:url('/assets/game/halloween-dark-world-v1.webp')!important;filter:none!important}
html[data-menu-art=halloween] #shell[data-lobby-tone=dark]:not([data-menu-classic=true]){--lobby-feature-scene:url('/assets/game/halloween-dark-world-v1.webp')}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby{--night-ink:#f2f5ff;--night-muted:#dae5f3}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #profile-edit{background:linear-gradient(#344964,#253650)!important;border-color:#778caf!important;box-shadow:inset 0 2px #a5bbdc45,0 4px 0 #101d36!important;--a-ink:var(--night-ink);--a-muted:var(--night-muted)}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby :is(#profile-name,#profile-identity),#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #profile-edit>span:last-child{color:var(--night-ink)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #party-open{background:linear-gradient(#285c8b,#214366)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #rooms-open{background:linear-gradient(#236966,#194e55)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #ranked{background:linear-gradient(#765326,#583b22)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #store-open{background:linear-gradient(#634583,#453162)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #menu-player-panel>:is(.dock-button,.ranked-shortcut){border-color:#91b5d0!important;color:var(--night-ink)!important;--a-ink:var(--night-ink);--a-muted:var(--night-muted);box-shadow:inset 0 2px #bed8f34a,0 5px 0 #15223d,0 7px 10px #0b102e55!important;text-shadow:none!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #open-quests{background:linear-gradient(#624c37,#433a35)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #open-daily{background:linear-gradient(#2e557a,#253d5e)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #open-season{background:linear-gradient(#584779,#3b345e)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #menu-career-panel>button{border-color:#8b87b4!important;--a-ink:var(--night-ink);--a-muted:var(--night-muted);color:var(--night-ink)!important;box-shadow:inset 0 2px #bacaf03d,0 5px 0 #1b203d,0 7px 10px #0b102e55!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #menu-career-panel :is(strong,span:not(.feature-icon)){color:var(--night-ink)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #modes-open{background:linear-gradient(#285d7d,#25425f)!important;color:var(--night-ink)!important;--a-ink:var(--night-ink);--a-muted:var(--night-muted);border-color:#8bc1dc!important;box-shadow:inset 0 2px #b9e8fa40,0 5px 0 #142b46!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #collection-open{background:linear-gradient(#634f8f,#443760)!important;color:var(--night-ink)!important;--a-ink:var(--night-ink);--a-muted:var(--night-muted);border-color:#b6a0d8!important;box-shadow:inset 0 2px #ddd1ff40,0 5px 0 #251e3f!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #collection-open svg{color:var(--night-ink)!important;stroke:currentColor!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #main-topbar :is(.icon-button,.best-plaque,.coin-plaque){background:linear-gradient(#344f70,#243952)!important;color:#f2f5ff!important;border-color:#8da9c6!important;box-shadow:inset 0 2px #bfd4eb30,0 3px 0 #17243d!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #main-topbar :is(.icon-button svg,.best-plaque span){color:#f2f5ff!important;stroke:currentColor}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .menu-panel-toggle{background:linear-gradient(#344f70,#243952)!important;border-color:#8da9c6!important;color:var(--night-ink)!important;box-shadow:0 3px 0 #17243d!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .menu-panel-toggle svg{color:var(--night-ink)!important;stroke:currentColor!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .lobby-feature{background:linear-gradient(100deg,#253152f5,#253152de 40%,#25315210 75%),var(--lobby-feature-scene) center/cover!important;border-color:#ba99da!important;box-shadow:inset 0 2px #d5c8ee33,0 7px 0 #241d41,0 12px 22px #080d2945!important}
html[data-menu-art=halloween] #shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .lobby-feature[data-event=lava-rush]{background:linear-gradient(90deg,#222643a6,transparent 62%),url('/assets/game/halloween-dark-lava-event-v1.webp') center/cover!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .lobby-feature-kicker{color:#ffe0a2!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #lobby-event-title{color:#f4ddff!important;text-shadow:0 2px #231735!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #lobby-event-description{color:#eef2ff!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #lobby-event-open{background:linear-gradient(#315e5a,#254541)!important;color:#edfff3!important;border-color:#9dc8b5!important;box-shadow:inset 0 2px #bee3d340,0 4px 0 #122e2e!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .light-world-ghost img,#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .light-feature-ghost{filter:drop-shadow(0 0 9px #c5c4ff66)}

/* Jewel-toned illustrated icons retain bright edges against their darker tiles. */
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby .game-menu-icon{filter:brightness(.82) saturate(.86) drop-shadow(0 2px 1px #101a38aa)!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #lobby #profile-edit svg{color:#c9dcf8!important;stroke:currentColor!important}

/* Shared gemstone wallet: a raised jewel medallion and a high-contrast counter. */
#shell[data-appearance] #main-topbar .coin-plaque,#shell[data-appearance] #collection-panel.catalog-remake .coin-pill{position:relative;display:flex;align-items:center;gap:8px;padding:5px 13px 5px 5px;min-height:44px;border:2px solid #ffe1f0!important;border-radius:24px!important;background:linear-gradient(#714778,#402956)!important;color:#fff7fd!important;box-shadow:inset 0 2px #d99cd87a,0 3px 0 #271b42,0 4px 9px #23153b40!important;overflow:visible;font-variant-numeric:tabular-nums}
#shell[data-appearance] :is(.coin-plaque,.coin-pill) .ruby-icon{width:38px!important;height:38px!important;min-width:38px;filter:drop-shadow(0 2px 1px #3b163baa);transform:none!important}
#shell[data-appearance] :is(#menu-coins,#collection-coins){color:#fff7fd!important;font-size:clamp(17px,1.7vw,25px)!important;font-weight:900;line-height:1.1;text-shadow:0 2px #301b45}
#shell[data-lobby-tone=dark] #main-topbar .coin-plaque{background:linear-gradient(#50395e,#2f2544)!important;border-color:#bd91ba!important}
#shell #profile-identity{display:none!important}
#shell[data-appearance] #collection-panel.catalog-remake .card-favorite{top:6px!important;right:6px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;background:transparent!important}
#shell[data-appearance] #collection-panel.catalog-remake .card-favorite::before{inset:5px!important;border-radius:50%!important;box-shadow:0 2px 0 #21485a40!important}
#shell[data-appearance] #collection-panel.catalog-remake .card-details{right:6px!important;bottom:6px!important;background:transparent!important}
#shell[data-appearance] #collection-panel.catalog-remake :is(.store-item-details,.collection-item-details):not([open]){background:transparent!important;border:0!important;box-shadow:none!important;flex:none}
#shell[data-appearance] #collection-panel.catalog-remake :is(.store-item-details,.collection-item-details)>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0!important;border:2px solid #6499af!important;border-radius:50%!important;background:linear-gradient(#edfdff,#b7e0eb)!important;color:#17465e!important;box-shadow:0 2px 0 #3b7085!important;list-style:none}
#shell[data-appearance] #collection-panel.catalog-remake :is(.store-item-details,.collection-item-details)>summary::-webkit-details-marker{display:none}
@media(max-width:600px){#shell[data-appearance] #collection-panel.catalog-remake .coin-pill{gap:3px;padding-right:8px}#shell[data-appearance] .coin-pill .ruby-icon{width:30px!important;height:30px!important;min-width:30px}}
#shell[data-appearance] #collection-panel.catalog-remake .coin-pill #collection-coins{color:#fff7fd!important;text-shadow:0 2px #301b45;font-size:clamp(17px,1.7vw,25px)!important;font-weight:900}

/* Archived original Halloween composition, available only through admin themes. */
#shell[data-menu-classic=true] #lobby .lobby-feature,#shell[data-menu-classic=true] #lobby .game-menu-icon,#shell[data-menu-classic=true] #lobby .light-world-ghost{display:none!important}
#shell[data-menu-classic=true] #lobby :is(.dock-icon,.feature-icon)>svg{display:block!important}
#shell[data-menu-classic=true] #lobby #menu-snake-growth{background:transparent!important;background-image:none!important;box-shadow:none!important}
#shell[data-menu-classic=true] #lobby #auto-join{background:linear-gradient(#fff0b9,#edbe6b)!important;color:#173f55!important;border-color:#fff1c3!important}
#shell[data-menu-classic=true] #lobby :is(.dock-button,.ranked-shortcut,.profile-plaque,.career-button,#collection-open,#modes-open){background:#172f3d!important;color:#edf5fa!important}
#shell[data-menu-classic=true] #main-topbar :is(.icon-button,.best-plaque){color:#edf5fa!important;background:#172f3d!important}
#shell[data-menu-classic=true] #main-topbar :is(.icon-button svg,.best-plaque strong){color:#edf5fa!important;stroke:currentColor}

/* Match the illustrated header's specificity, including its Classic exclusion. */
#shell[data-appearance]:not([data-menu-classic=true]) #main-topbar .coin-plaque{background:linear-gradient(#714778,#402956)!important;color:#fff7fd!important;border:2px solid #ffe1f0!important;box-shadow:inset 0 2px #d99cd87a,0 3px 0 #271b42!important}
#shell[data-appearance]:not([data-menu-classic=true]) #main-topbar .coin-plaque #menu-coins{color:#fff7fd!important;text-shadow:none!important;font-weight:900!important}
#shell[data-lobby-tone=dark]:not([data-menu-classic=true]) #main-topbar .coin-plaque{background:linear-gradient(#50395e,#2f2544)!important;border-color:#bd91ba!important}

/* A single-line identity card: no empty second row after removing Account. */
#shell #lobby #profile-edit{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;align-content:center!important;column-gap:10px;row-gap:0!important;padding-block:6px!important;text-align:left}
#shell #lobby #profile-edit #profile-name{grid-column:1;grid-row:1!important;align-self:center;line-height:1.2;min-width:0}
#shell #lobby #profile-edit>span:last-child{grid-column:2;grid-row:1!important;align-self:center;display:flex;align-items:center;justify-content:center;line-height:1}
/* Header counters share one baseline and scale; the jewel supplies emphasis. */
#shell[data-appearance] #main-topbar :is(.best-plaque,.coin-plaque){box-sizing:border-box;height:48px;min-height:44px;align-items:center;justify-content:center}
#shell[data-appearance] #main-topbar .best-plaque #menu-best{font-size:clamp(17px,1.7vw,25px)!important;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-height:600px),(max-width:600px){#shell[data-appearance] #main-topbar :is(.best-plaque,.coin-plaque){height:44px}#shell[data-appearance] #main-topbar .coin-plaque .ruby-icon{width:30px!important;height:30px!important;min-width:30px}}
