#gamesDrawer { position: fixed; z-index: 25; top: 50%; left: 0; display: flex; align-items: center; gap: 8px; padding-left: 12px; pointer-events: none; translate: calc(-100% + 52px) -50%; transition: translate var(--toggle); }
#gamesDrawer > * { pointer-events: auto; }
#gamesDrawer.open { translate: 0 -50%; }
/* .panel pins itself with position: fixed; the sheet has to stay in the drawer's flex row */
.games.felt { position: relative; z-index: auto; width: min(340px, calc(100vw - 80px)); max-height: calc(100vh - 24px); box-sizing: border-box; padding: 16px; overflow-y: auto; font: 700 15px var(--font); --c: var(--panel-alt); --drop: 4px 0 16px var(--scene-veil); visibility: hidden; transition: visibility 0s var(--toggle); }
#gamesDrawer.open .games { visibility: visible; transition-delay: 0s; }
.games header { margin-bottom: 16px; padding: 8px 8px 16px; border-radius: var(--r-sm); background: var(--tint); }
.games h2 { display: flex; align-items: center; justify-content: space-between; margin: 0; font: 900 28px/1.2 var(--font); }
.games kbd { display: inline-block; padding: 4px 8px; border-radius: var(--r-sm); background: var(--kbd); color: var(--kbd-ink); box-shadow: 0 2px 0 var(--kbd-lip); font: 800 13px/1 var(--font); }
.games .stripes { display: grid; gap: 2px; margin-top: 12px; }
.games .stripes i { height: 3px; background: var(--off); }
.games .stripes i:nth-child(2) { background: var(--mark); }
.games .stripes i:nth-child(3) { background: var(--ok); }
.games .stripes i:nth-child(4) { background: var(--stone-clay); }
.games ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.games li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 16px; }
.games .number { font: 900 36px/44px var(--font); font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.games li b { display: flex; align-items: center; min-height: 44px; font: 800 18px/1.2 var(--font); }
.games li small, .games .st, .games .go { grid-column: 1 / -1; }
.games li small { min-height: 18px; color: var(--ink-soft); font-size: 13px; line-height: 18px; }
.games li small kbd { margin-left: 8px; }
.games .st { min-height: 40px; font: 800 14px/20px var(--font); }
.games .st::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ink-soft); opacity: .35; }
.games .st.hot { color: var(--mark); }
.games .st.hot::before { background: var(--ok); opacity: 1; animation: games-lamp 1s ease-in-out infinite; }
.games .go { width: 100%; margin-top: 4px; font-size: 14px; }
.games-tab > span { writing-mode: vertical-rl; rotate: 180deg; font: italic 800 14px/1 var(--font); letter-spacing: .06em; }
body:is(.in-shroom, .in-horde, .in-call) #gamesDrawer { display: none; }
/* The HUD stays hidden until the meadow finishes loading. */
body:has(#hud.hidden) #gamesDrawer { display: none; }
@keyframes games-lamp { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { #gamesDrawer, .games.felt { transition: none; } .games .st.hot::before { animation: none; } }
