/* wgd.ai/mini: the play screen is the page. Logo and MINI PIXEL left, the tools right, the world, the clock, the stats, and the
   thumb corner: the game's own buttons on the left of it, the spinner in it. */
body.wgd-play>header.mini-masthead,body.wgd-play>nav,body.wgd-play #shelf-note,body.wgd-play #shelf,body.wgd-play>footer{display:none!important}
body.wgd-play{background:#f7f1e7}
#game{--rvw:190px;--rvh:200px;--ink:#181711;width:min(620px,100vw)!important;height:100svh!important;max-height:100svh!important;max-width:100vw!important;
  margin:0 auto!important;border:0!important;box-shadow:none!important;padding:0 0 var(--rvh)!important;display:flex!important;flex-direction:column;overflow:hidden!important;animation:none!important}
#game::backdrop{background:#f7f1e7}
/* the bar: our mark and MINI PIXEL left; what you've got, small; the tools right */
#game .play-masthead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px;width:100%!important;padding:12px 14px 8px!important;border-bottom:1px solid #d8cbb3}
#game .play-masthead>.wgd-mark{width:92px!important;flex:none;margin:0!important}
#game .play-masthead #home-grid{display:none!important}
#game #game-nav-stats{margin-left:auto;display:flex!important;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;font:700 13px/1 ui-monospace,Menlo,monospace!important;letter-spacing:.02em;font-variant-numeric:tabular-nums}
#game #game-nav-stats b,#game #game-nav-stats strong{font:inherit!important;letter-spacing:inherit!important}
#game #game-nav-stats strong{font-size:10px!important;opacity:.6}
#game #game-nav-stats small{font-size:8px;letter-spacing:.14em;margin-left:3px;opacity:.6}
#game .play-masthead .mini-mast-tools{display:flex!important;align-items:center;gap:2px;flex:none}
#game #game-actions{display:flex!important;gap:2px}
#game .mini-mast-icon{width:36px!important;height:36px!important;display:grid!important;place-items:center}
/* the world: arrows gone (the spinner chooses), the run's pixels big with a small px */
#game #world-arrows{display:none!important}
#game #run-pixel-unit,#game .run-bank small{font-size:.42em!important;letter-spacing:.14em}
#game #stage{flex:1 1 auto!important;min-height:0!important}
#game #begin{background:none!important;color:var(--ink)!important;border:0!important;border-bottom:2px solid var(--ink)!important;padding:4px 2px!important;font:800 11px/1 ui-monospace,Menlo,monospace!important;letter-spacing:.18em!important;margin-top:10px!important}
#game #intro{cursor:pointer}
/* the thumb corner: stats and the game's buttons left of the spinner, never under it */
#game .record-row{position:absolute!important;left:0;bottom:calc(var(--rvh) - 30px);width:calc(100% - var(--rvw))!important;justify-content:flex-start!important;flex-wrap:wrap;gap:4px 12px!important;padding:0 14px!important;font:700 8px/1.3 ui-monospace,Menlo,monospace!important;letter-spacing:.1em;color:#867a65}
#game #controls{position:absolute!important;left:0;bottom:22px;width:calc(100% - var(--rvw))!important;padding:0 10px 0 14px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;min-height:0!important;margin:0!important;max-height:calc(var(--rvh) - 60px)}
#game #controls:has(>:only-child){grid-template-columns:1fr}
#game #controls:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
#game #controls>button{min-height:48px!important;background:#fff!important;color:var(--ink)!important;border:2px solid var(--ink)!important;border-radius:0!important;box-shadow:0 4px 0 var(--ink);font:800 11px/1 ui-monospace,Menlo,monospace!important;letter-spacing:.12em;padding:0 4px!important;transition:transform .08s,box-shadow .08s;-webkit-tap-highlight-color:transparent}
#game #controls>button:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)}
#game #bundle-tabs{display:none!important}
@media (min-width:621px){#game{border-left:1px solid #d8cbb3!important;border-right:1px solid #d8cbb3!important}}
#game .wgd-mark,#game .wgd-mark:focus,#game .wgd-mark:focus-visible{outline:none!important;height:auto!important;overflow:visible!important;line-height:0!important}
#game .wgd-mark .wgd-line{margin-top:7px!important;width:100%!important}
#game #game-nav-stats .px{font-size:16px}#game #game-nav-stats .u{font-size:8px;letter-spacing:.14em;margin-left:3px;opacity:.6}
/* all white, the world big and clear in the middle (Amin, 16 Nov 2026: "I want the white and the big great game in the middle") */
body.wgd-play,body.wgd-play #game,#game::backdrop,#game #stage,#game .play-masthead,#game .gamebar{background:#fff!important}
#game{--ink:#0b0b0b;color:#0b0b0b}
#game .play-masthead{border-bottom:0!important}
#game #intro{background:transparent!important;justify-content:flex-end!important;padding-bottom:6px!important}
#game #intro h3,#game #intro #help{display:none!important}
#game #begin{background:#fff!important}
#game #reward{font-size:9px;letter-spacing:.12em}
#game .record-row{color:#777!important}
@media (min-width:621px){#game{border-left:0!important;border-right:0!important}}
#game #intro #begin,#game #intro #reward{display:none!important}   /* tap the world or PLAY: nothing over the world */
/* GRID: the spinner steps aside, Mini's arrows round the world come back */
body.wgd-grid #game .rv{display:none!important}
body.wgd-grid #game #world-arrows{display:block!important}
body.wgd-grid #game{--rvw:0px!important;--rvh:120px!important}
#game #close.on{background:#0b0b0b!important;color:#fff!important}
/* the title sits midway between the bar and the world */
#game .gamebar{padding-top:clamp(26px,5.5vh,60px)!important;padding-bottom:clamp(10px,2vh,22px)!important}
/* 17 Nov 2026: the dial dead centre; the game's own buttons stack down the left of it, the record down the right; LEFT / RIGHT go
   (the dial is them); the corner up top is the home page's own; MINI PIXEL small in the middle of the bar */
#game #controls{left:0!important;width:var(--side,120px)!important;bottom:18px!important;grid-template-columns:1fr!important;gap:6px!important;padding:0 6px 0 10px!important;max-height:calc(var(--rvh) - 24px)!important;align-content:end}
#game #controls:has(>:nth-child(3):last-child){grid-template-columns:1fr!important}
#game #controls>button{min-height:38px!important;font-size:10px!important;letter-spacing:.1em!important}
#game #controls>button.wgd-dir{display:none!important}
#game .record-row{left:auto!important;right:0!important;bottom:18px!important;width:var(--side,120px)!important;flex-direction:column!important;align-items:flex-end!important;text-align:right!important;padding:0 10px 0 6px!important;gap:3px!important}
#game .play-masthead{position:relative;min-height:112px;align-items:flex-start!important}
#game .play-masthead .wgd-line,#game #game-nav-stats{display:none!important}
#game .play-masthead .wgd-mid{position:absolute;left:50%;top:24px;transform:translateX(-50%);display:flex;align-items:center;gap:16px;z-index:2;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important}
#game .play-masthead .wgd-go{all:unset;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;cursor:pointer;display:flex;align-items:center;color:inherit;opacity:.3;font:700 10px/1 ui-monospace,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase}
#game .play-masthead .wgd-go.on{opacity:.85}#game .play-masthead .wgd-go:hover,#game .play-masthead .wgd-go:focus-visible{opacity:1}
#game .play-masthead .wgd-go img{height:9px;width:auto;display:block}#game .play-masthead .wgd-go .wgd-ic{display:none}
#game .play-masthead .wgd-go .wgd-ic svg{width:22px;height:22px;display:block}
@media(max-width:760px){#game .play-masthead .wgd-mid{gap:20px;top:20px}#game .play-masthead .wgd-go :is(img,b){display:none}#game .play-masthead .wgd-go .wgd-ic{display:block}
 #game .play-masthead .wgd-go.on{opacity:1}#game .play-masthead .wgd-go.on .wgd-ic{border-bottom:2px solid currentColor;padding-bottom:3px}#game .play-masthead .wgd-go::before,#game .play-masthead .wgd-go::after{content:none!important;display:none!important}}
#game .mmx .mini-mast-tools{display:flex!important}
#game .mmx #game-actions{gap:0!important}
#game .mmx .mini-mast-icon{width:32px!important;height:32px!important}
#game .play-masthead{justify-content:flex-start!important}
#game .record-row>*{white-space:nowrap}
#game .record-row{font-size:7px!important}
#game .play-masthead{height:112px!important;min-height:112px!important}
#game .gamebar{padding-top:2px!important;padding-bottom:6px!important}
/* 17 Nov 2026: a phone docks the dial right, like every game; the game's buttons and the record stack down the left */
#game:not(.wgd-ctr) .record-row{left:0!important;right:auto!important;align-items:flex-start!important;text-align:left!important;padding:0 6px 0 12px!important}
#game:not(.wgd-ctr) #controls{bottom:84px!important;max-height:calc(var(--rvh) - 90px)!important}
/* the pixels bold; the run's pixels the same size as the clock */
.mmx-n b,.mmx-n .mmx-p{font-weight:800!important}
#game #run-pixel-value{--mini-pixel-scale:1!important}
/* 17 Nov 2026 (Amin's mark-up): the WGD mark up top, level with the pixels; one hairline across under the top row; the tools under it */
#game .play-masthead>.wgd-mark{position:fixed!important;left:14px;top:14px;margin:0!important;width:auto!important;z-index:30}
#game .play-masthead>.wgd-mark img:first-child{height:38px!important;width:auto!important}
#game .wgd-rule{position:fixed;left:14px;right:14px;top:58px;height:0;border-top:1px solid #0b0b0b;pointer-events:none;z-index:29}
#game .mmx .mini-mast-tools{margin-top:6px}
#game .play-masthead{height:100px!important;min-height:100px!important}
#game .play-masthead .wgd-mid{top:28px!important}
/* 17 Nov 2026: the four tools are Icon Heaven's own solid pixel icons, never outlines (Amin) */
#game .mmx .mini-mast-icon{font-size:0!important;color:transparent!important;position:relative}
#game .mmx .mini-mast-icon>*{display:none!important}
#game .mmx button.mini-mast-icon::before{content:''!important;position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;width:22px!important;height:22px!important;margin:-11px 0 0 -11px!important;transform:none!important;opacity:1!important;border:0!important;border-radius:0!important;background:#0b0b0b;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;image-rendering:pixelated}
#game #close{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%20width%3D%2240%22%20height%3D%2240%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22grid%20solid%22%3E%3Cpath%20d%3D%22M7%2010h6v1h-6zM17%2010h6v1h-6zM27%2010h6v1h-6zM6%2011h8v1h-8zM16%2011h8v1h-8zM26%2011h8v1h-8zM6%2012h8v1h-8zM16%2012h8v1h-8zM26%2012h8v1h-8zM6%2013h8v1h-8zM16%2013h8v1h-8zM26%2013h8v1h-8zM6%2014h8v1h-8zM16%2014h8v1h-8zM26%2014h8v1h-8zM6%2015h8v1h-8zM16%2015h8v1h-8zM26%2015h8v1h-8zM6%2016h8v1h-8zM16%2016h8v1h-8zM26%2016h8v1h-8zM7%2017h6v1h-6zM17%2017h6v1h-6zM27%2017h6v1h-6zM7%2022h6v1h-6zM17%2022h6v1h-6zM27%2022h6v1h-6zM6%2023h8v1h-8zM16%2023h8v1h-8zM26%2023h8v1h-8zM6%2024h8v1h-8zM16%2024h8v1h-8zM26%2024h8v1h-8zM6%2025h8v1h-8zM16%2025h8v1h-8zM26%2025h8v1h-8zM6%2026h8v1h-8zM16%2026h8v1h-8zM26%2026h8v1h-8zM6%2027h8v1h-8zM16%2027h8v1h-8zM26%2027h8v1h-8zM6%2028h8v1h-8zM16%2028h8v1h-8zM26%2028h8v1h-8zM7%2029h6v1h-6zM17%2029h6v1h-6zM27%2029h6v1h-6z%22/%3E%3C/svg%3E")}
#game #game-heart{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22social-favorite%20solid%22%3E%3Cpath%20d%3D%22M12%206h2v1h-2zM26%206h2v1h-2zM9%207h8v1h-8zM23%207h8v1h-8zM7%208h12v1h-12zM21%208h12v1h-12zM6%209h28v1h-28zM5%2010h30v1h-30zM5%2011h30v1h-30zM4%2012h32v1h-32zM4%2013h32v1h-32zM4%2014h32v1h-32zM4%2015h32v1h-32zM4%2016h32v1h-32zM4%2017h32v1h-32zM4%2018h32v1h-32zM4%2019h32v1h-32zM5%2020h30v1h-30zM6%2021h28v1h-28zM6%2022h28v1h-28zM7%2023h26v1h-26zM9%2024h22v1h-22zM10%2025h20v1h-20zM11%2026h18v1h-18zM12%2027h16v1h-16zM13%2028h14v1h-14zM14%2029h12v1h-12zM15%2030h10v1h-10zM16%2031h8v1h-8zM17%2032h6v1h-6zM18%2033h4v1h-4z%22/%3E%3C/svg%3E")}
#game #audio-toggle{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%20width%3D%2240%22%20height%3D%2240%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22music%20solid%22%3E%3Cpath%20d%3D%22M31%204h5v1h-5zM28%205h8v1h-8zM25%206h11v1h-11zM22%207h14v1h-14zM18%208h18v1h-18zM15%209h21v1h-21zM13%2010h23v1h-23zM12%2011h24v1h-24zM12%2012h24v1h-24zM12%2013h24v1h-24zM12%2014h16v1h-16zM32%2014h4v1h-4zM12%2015h13v1h-13zM32%2015h4v1h-4zM12%2016h10v1h-10zM32%2016h4v1h-4zM12%2017h6v1h-6zM32%2017h4v1h-4zM12%2018h4v1h-4zM32%2018h4v1h-4zM12%2019h4v1h-4zM32%2019h4v1h-4zM12%2020h4v1h-4zM32%2020h4v1h-4zM12%2021h4v1h-4zM32%2021h4v1h-4zM12%2022h4v1h-4zM27%2022h9v1h-9zM12%2023h4v1h-4zM26%2023h10v1h-10zM12%2024h4v1h-4zM25%2024h11v1h-11zM12%2025h4v1h-4zM24%2025h12v1h-12zM7%2026h9v1h-9zM24%2026h12v1h-12zM6%2027h10v1h-10zM24%2027h12v1h-12zM5%2028h11v1h-11zM24%2028h12v1h-12zM4%2029h12v1h-12zM25%2029h10v1h-10zM4%2030h12v1h-12zM26%2030h8v1h-8zM4%2031h12v1h-12zM27%2031h6v1h-6zM4%2032h12v1h-12zM5%2033h10v1h-10zM6%2034h8v1h-8zM7%2035h6v1h-6z%22/%3E%3C/svg%3E")}
#game #game-share{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22upload%20solid%22%3E%3Cpath%20d%3D%22M18%205h4v1h-4zM18%206h4v1h-4zM17%207h6v1h-6zM16%208h8v1h-8zM15%209h10v1h-10zM14%2010h12v1h-12zM13%2011h14v1h-14zM12%2012h5v1h-5zM18%2012h4v1h-4zM23%2012h5v1h-5zM11%2013h5v1h-5zM18%2013h4v1h-4zM24%2013h5v1h-5zM10%2014h5v1h-5zM18%2014h4v1h-4zM25%2014h5v1h-5zM10%2015h4v1h-4zM18%2015h4v1h-4zM26%2015h4v1h-4zM11%2016h2v1h-2zM18%2016h4v1h-4zM27%2016h2v1h-2zM18%2017h4v1h-4zM18%2018h4v1h-4zM18%2019h4v1h-4zM18%2020h4v1h-4zM18%2021h4v1h-4zM18%2022h4v1h-4zM18%2023h4v1h-4zM18%2024h4v1h-4zM18%2025h4v1h-4zM18%2026h4v1h-4zM18%2027h4v1h-4zM6%2028h4v1h-4zM30%2028h4v1h-4zM6%2029h4v1h-4zM30%2029h4v1h-4zM6%2030h4v1h-4zM30%2030h4v1h-4zM6%2031h4v1h-4zM30%2031h4v1h-4zM6%2032h4v1h-4zM30%2032h4v1h-4zM6%2033h28v1h-28zM6%2034h28v1h-28zM6%2035h28v1h-28zM6%2036h28v1h-28z%22/%3E%3C/svg%3E")}
#game #audio-toggle[aria-pressed=false]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%20width%3D%2240%22%20height%3D%2240%22%20fill%3D%22currentColor%22%20role%3D%22img%22%20aria-label%3D%22mute%20solid%22%3E%3Cpath%20d%3D%22M18%208h4v1h-4zM17%209h5v1h-5zM16%2010h6v1h-6zM15%2011h7v1h-7zM14%2012h8v1h-8zM12%2013h10v1h-10zM11%2014h11v1h-11zM5%2015h17v1h-17zM25%2015h3v1h-3zM33%2015h3v1h-3zM4%2016h18v1h-18zM25%2016h4v1h-4zM32%2016h4v1h-4zM4%2017h18v1h-18zM26%2017h4v1h-4zM31%2017h4v1h-4zM4%2018h18v1h-18zM27%2018h7v1h-7zM4%2019h18v1h-18zM28%2019h5v1h-5zM4%2020h18v1h-18zM28%2020h5v1h-5zM4%2021h18v1h-18zM27%2021h7v1h-7zM4%2022h18v1h-18zM26%2022h4v1h-4zM31%2022h4v1h-4zM4%2023h18v1h-18zM25%2023h4v1h-4zM32%2023h4v1h-4zM5%2024h17v1h-17zM25%2024h3v1h-3zM33%2024h3v1h-3zM11%2025h11v1h-11zM12%2026h10v1h-10zM14%2027h8v1h-8zM15%2028h7v1h-7zM16%2029h6v1h-6zM17%2030h5v1h-5zM18%2031h4v1h-4z%22/%3E%3C/svg%3E")}
#game .mmx #game-heart::before{background:#c4c4c4!important}#game .mmx #game-heart[aria-pressed=true]::before{background:#d6262c!important}#game .mmx button.mini-mast-icon:not(:disabled):not([aria-disabled=true]){opacity:1!important}#game .mmx button.mini-mast-icon::after{display:none!important}
#game:not(.wgd-ctr) #controls{bottom:18px!important;max-height:calc(var(--rvh) - 24px)!important}
/* 17 Nov 2026, Amin's comp: smaller tools tucked under the rule, the title a touch lower */
#game .mmx button.mini-mast-icon::before{width:17px!important;height:17px!important;margin:-8.5px 0 0 -8.5px!important}
#game .mmx .mini-mast-tools{margin-top:1px!important}
#game .gamebar{padding-top:17px!important}
/* the stats tuck inside the play area's edge; a good one lights yellow */
#game:not(.wgd-ctr) .record-row{padding-left:30px!important}
#game .record-row>span{padding:1px 5px;margin-left:-5px;transition:background .2s}
#game .record-row>span.good{background:#ffd400;color:#0b0b0b!important}
/* the dial in play: no outline, no pointer, a soft zone for the thumb */
.rv.dock.lock .rv-face{background:radial-gradient(circle,rgba(11,11,11,.045) 66%,rgba(11,11,11,0) 71%)!important;box-shadow:none!important}
.rv.dock.lock .rv-sight{display:none!important}
/* the left thumb button: the same size and height as the big one, mirrored, on its own soft zone */
#game .wgd-zone{position:fixed;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(11,11,11,.045) 66%,rgba(11,11,11,0) 71%);z-index:0}
#game.wgd-lb #controls .mini-shot-pad{position:fixed!important;left:var(--lbx)!important;top:var(--lby)!important;width:var(--lbd)!important;height:var(--lbd)!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#8a8a8a!important;border:2px outset #000!important;box-shadow:0 0 0 2px #0b0b0b,0 4px 0 #0b0b0b!important;z-index:21;transition:transform .08s,background .12s}
#game.wgd-lb #controls .mini-shot-pad>*,#game.wgd-lb #controls .mini-shot-pad::before,#game.wgd-lb #controls .mini-shot-pad::after{display:none!important}
#game.wgd-lb #controls .mini-shot-pad[data-shot-charging=true],#game.wgd-lb #controls .mini-shot-pad:active{background:#5c5c5c!important;transform:translateY(3px)}

/* the grid (17 Nov 2026): every game a square over the world; the dial walks it */
#wgd-gv{position:fixed;left:14px;right:14px;top:104px;bottom:calc(var(--rvh,240px) + 8px);z-index:19;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px;align-content:start;background:#fff;padding:2px;scrollbar-width:none}
#wgd-gv[hidden]{display:none}
#wgd-gv::-webkit-scrollbar{display:none}
#wgd-gv button{position:relative;aspect-ratio:1;border:0;background:#f4f4f4;display:grid;place-items:center;padding:0;cursor:pointer;color:#0b0b0b}
#wgd-gv button svg{width:46%;height:46%}
#wgd-gv button i{position:absolute;left:5px;bottom:4px;font:700 7px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;font-style:normal;opacity:.45}
#wgd-gv button.on{background:var(--hc,#ffd400);box-shadow:inset 0 0 0 1px #0b0b0b}
#game.wgd-ctr #wgd-gv{left:50%;right:auto;width:min(860px,92vw);transform:translateX(-50%);grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
#game .mmx #close.on{background:none!important;box-shadow:none!important}#game .mmx #close.on::before{background:var(--hc,#0b0b0b)!important}

/* the top-left tool (Amin, 17 Nov 2026): playing, it's a small bouncing lock (tap: the minute ends, the carousel swings back);
   on the dial it's the grid; in the grid it's the game you're on, a little round icon (tap: back to the one game and the carousel) */
#game .mmx #close.lk{--ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22 width=%2240%22 height=%2240%22 fill=%22currentColor%22 role=%22img%22 aria-label=%22lock solid%22%3E%3Cpath d=%22M17 4h6v1h-6zM15 5h10v1h-10zM14 6h12v1h-12zM13 7h14v1h-14zM12 8h6v1h-6zM22 8h6v1h-6zM12 9h5v1h-5zM23 9h5v1h-5zM11 10h5v1h-5zM24 10h5v1h-5zM11 11h4v1h-4zM25 11h4v1h-4zM11 12h4v1h-4zM25 12h4v1h-4zM11 13h4v1h-4zM25 13h4v1h-4zM11 14h4v1h-4zM25 14h4v1h-4zM11 15h4v1h-4zM25 15h4v1h-4zM8 16h24v1h-24zM7 17h26v1h-26zM6 18h28v1h-28zM6 19h28v1h-28zM6 20h28v1h-28zM6 21h28v1h-28zM6 22h28v1h-28zM6 23h28v1h-28zM6 24h28v1h-28zM6 25h28v1h-28zM6 26h28v1h-28zM6 27h28v1h-28zM6 28h28v1h-28zM6 29h28v1h-28zM6 30h28v1h-28zM6 31h28v1h-28zM6 32h28v1h-28zM6 33h28v1h-28zM7 34h26v1h-26zM8 35h24v1h-24z%22/%3E%3C/svg%3E")!important;opacity:1!important}
#game .mmx #close.lk::before{animation:wgdLk 1.1s cubic-bezier(.3,0,.3,1) infinite}
@keyframes wgdLk{0%,100%{transform:translateY(0)}30%{transform:translateY(-3px)}55%{transform:translateY(0)}68%{transform:translateY(-1px)}}
#game .mmx #close.gi::before{display:none!important}
#game .mmx #close>.wgd-gi{display:none}
#game .mmx #close.gi>.wgd-gi{display:grid!important;place-items:center;position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;box-shadow:0 0 0 1px #0b0b0b;background:#fff;color:#0b0b0b}
#game .mmx #close.gi>.wgd-gi svg{width:16px;height:16px;display:block}
/* in the build: greyed, not playable (mini-live.js) */
#wgd-gv button.soon{cursor:default;background:#fafafa;color:#0b0b0b38}
#wgd-gv button.soon i{opacity:1;color:#0b0b0b55}

/* Pickup's own games draw you themselves */
#stage.pk .mmf{visibility:hidden}

/* the left thumb in Basketball: the series pad (push to walk, further to run, tap to jump) */
#wgd-pad{position:absolute;left:18px;bottom:24px;width:104px;height:104px;border-radius:50%;background:#dcdad2;border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);touch-action:none;z-index:6;-webkit-user-select:none;user-select:none}
#wgd-pad[hidden]{display:none}
#wgd-pad i{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:#8f8d86;border:2px solid var(--ink);pointer-events:none}
#wgd-pad.on i{background:#6f6d66}
body.wgd-padon #game #controls{display:none!important}

/* too small to play: the dial keeps its size, the board gives a fifth, then this */
#wgd-small{display:none;position:absolute;inset:0;z-index:40;background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}
body.wgd-small #wgd-small{display:flex}
#wgd-small b{font:800 15px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.22em;color:var(--ink)}
#wgd-small span{font:500 12px/1.6 ui-monospace,Menlo,monospace;color:#6b675c;max-width:300px}

/* 17 Nov 2026 (Amin: "these buttons on the bottom, the solid black ones, aren't easy to hit … use the circle grey ones … less of the square
   horizontal stuff"): every game button is the pad's own round grey button, two across, down the left of the dial */
#game #controls{grid-template-columns:repeat(2,58px)!important;gap:8px!important;justify-content:start!important;width:auto!important;padding:0 0 0 12px!important}
#game #controls:has(>:nth-child(3):last-child),#game #controls:has(>:only-child){grid-template-columns:repeat(2,58px)!important}
#game #controls>button{width:58px!important;height:58px!important;min-height:0!important;border-radius:50%!important;background:#dcdad2!important;border:2px solid var(--ink)!important;box-shadow:0 4px 0 var(--ink)!important;font-size:8px!important;letter-spacing:.06em!important;line-height:1.15!important;white-space:normal!important;padding:0 3px!important;overflow:hidden}
#game #controls>button:active{background:#8f8d86!important;transform:translateY(3px);box-shadow:0 1px 0 var(--ink)!important}

/* on a computer the grid is the big colourful one: each game's own world and its name */
#wgd-gv.big,#game.wgd-ctr #wgd-gv.big{left:50%;right:auto;width:min(1240px,94vw);transform:translateX(-50%);grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 10px}
#wgd-gv.big button{aspect-ratio:auto;background:#fff;display:block;padding:6px 4px 12px;text-align:center}
#wgd-gv.big button canvas{display:block;width:100%;height:auto;transition:transform .16s}
#wgd-gv.big button:hover canvas{transform:translateY(-4px)}
#wgd-gv.big button b{display:block;font:700 10px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;margin-top:2px}
#wgd-gv.big button.on{background:#fff;box-shadow:inset 0 -3px 0 var(--hc,#ffd400)}
#wgd-gv.big button i{position:static;display:block;margin-top:4px;font-size:8px}
#wgd-gv.big button.soon{background:#fff}
#wgd-gv.big button.soon canvas{opacity:.28;filter:grayscale(1)}
#wgd-gv.big{bottom:0;z-index:80;padding-bottom:40px}

/* nothing of the page under the game ever shows: the game's sheet stays put away until it's opened */
#game:not([open]){visibility:hidden!important}
body.wgd-play{background:#fff!important}

/* Phone catalog: show the selected title beside its dial, and dissolve rows into the white edges. */
#wgd-grid-console[hidden]{display:none}
@media (max-width:699px){
  body.wgd-gv #game #stage,body.wgd-gv #game .gamebar,body.wgd-gv #game .record-row{visibility:hidden}
  #wgd-gv:not(.big){--gv-top-fade:#000;--gv-bottom-fade:#000;overscroll-behavior:contain;
    -webkit-mask-image:linear-gradient(to bottom,var(--gv-top-fade),#000 22px,#000 calc(100% - 22px),var(--gv-bottom-fade));
    mask-image:linear-gradient(to bottom,var(--gv-top-fade),#000 22px,#000 calc(100% - 22px),var(--gv-bottom-fade));}
  #wgd-gv.fade-top{--gv-top-fade:transparent}
  #wgd-gv.fade-bottom{--gv-bottom-fade:transparent}
  #wgd-gv:not(.big) button.picked{background:#0b0b0b;color:#fff}
  #game.wgd-grid-dark-accent #wgd-gv:not(.big) button.on{color:#fff}
  #wgd-gv:not(.big) button.picked :is(svg,img),
  #game.wgd-grid-dark-accent #wgd-gv:not(.big) button.on :is(svg,img){
    color:#0b0b0b;filter:grayscale(1) invert(1) contrast(1.5);
  }
  #wgd-gv:not(.big) button.picked i{opacity:.85}
  #wgd-gv:not(.big) button.picked.on{box-shadow:inset 0 0 0 2px var(--hc,#ffd400)}
  #wgd-grid-console{position:absolute;z-index:21;left:14px;bottom:calc(10px + env(safe-area-inset-bottom,0px));
    width:max(78px,calc(100% - var(--rvw) - 14px));color:#0b0b0b;pointer-events:none}
  #wgd-grid-console .gv-title{display:block;overflow-wrap:anywhere;text-transform:uppercase;font:var(--wgd-game-title-weight,900) clamp(16px,4.7vw,25px)/1 var(--wgd-game-title-face,Impact,'Arial Narrow',sans-serif);letter-spacing:var(--wgd-game-title-spacing,.02em)}
  #wgd-grid-console button{min-height:44px;max-width:100%;margin-top:4px;padding:3px 6px;border:1px solid #0b0b0b;border-radius:3px;background:#fff;color:#0b0b0b;pointer-events:auto;font:750 10px/1.1 system-ui,sans-serif}
  #wgd-grid-console button[aria-pressed=true]{background:#0b0b0b;color:#fff}
}

/* Shared Mini controls: the header's glyph reset must not hide these live values. */
#game .mmx #game-heart{width:44px!important;min-width:44px;color:#0b0b0b!important}
#game .mmx #game-heart::before{left:10px!important;margin-left:0!important}
#game .mmx #game-heart>.mini-heart-count{display:block!important;position:absolute;right:0;top:50%;transform:translateY(-50%);font:700 10px/1 ui-monospace,monospace;color:#0b0b0b}
#game .mmx #game-heart[data-has-favorites]::before{background:#d6262c!important}
.mini-mast-share svg,#game .mmx #game-share>svg{display:block!important;width:18px;height:18px;color:#0b0b0b}
.mini-mast-share::before,#game .mmx #game-share::before{content:none!important;display:none!important}

/* THE PICK: a game's options in the accent hand, lower left before a round, as Quick Kick's PICK · SHOOT | SAVE */
#game #wgd-pick{position:fixed;z-index:8;left:max(30px,calc(50% - 248px),env(safe-area-inset-left));bottom:max(32px,calc(env(safe-area-inset-bottom) + 28px));
  display:flex;flex-direction:column;gap:2px;transform:rotate(-14deg);transform-origin:18% 80%;--q-ink:#171717;--q-idle:#8b8b8b;--q-mark:#171717;color:var(--q-ink);pointer-events:auto}
#game #wgd-pick[hidden],#game[data-mini-round-active] #wgd-pick{display:none}
#game #wgd-pick .hp{display:flex;flex-direction:column;align-items:flex-start}
#game #wgd-pick .hp-label{color:var(--q-mark);transform:translate(10px,3px) rotate(-6deg);pointer-events:none}
#game #wgd-pick .hp-label svg{height:clamp(11px,3.1vw,14px)}
#game #wgd-pick .hp-opts{display:flex;align-items:center}
#game #wgd-pick button{all:unset;position:relative;display:grid;place-items:center;min-height:40px;padding:0 8px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#game #wgd-pick button+button::before{content:'';position:absolute;left:-1px;top:50%;width:1.5px;height:21px;margin-top:-11px;background:var(--q-ink);opacity:.5;transform:rotate(13deg)}
#game #wgd-pick button span{position:relative;display:block;color:var(--q-idle);transform:rotate(-4deg)}
#game #wgd-pick button.on span{color:var(--q-mark)}
#game #wgd-pick button.on span::after{content:'';position:absolute;left:4%;right:2%;bottom:-6px;height:6px;background:currentColor;clip-path:polygon(0 74%,21% 63%,65% 27%,100% 9%,93% 58%,54% 77%,91% 72%,79% 98%,8% 97%);transform:rotate(-3deg)}
#game #wgd-pick button span svg{height:clamp(15px,4.3vw,19px)}
#game #wgd-pick .hp.many button{padding:0 5px}
#game #wgd-pick .hp.many button span svg{height:clamp(11px,3.2vw,15px)}
#game #wgd-pick{max-width:calc(50vw - 8px)}
#game #wgd-pick svg{display:block;width:auto;overflow:visible;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
#game #wgd-pick button:focus-visible span{outline:2px solid var(--q-ink);outline-offset:6px}
#game[data-quick-kick-night="on"] #wgd-pick{--q-ink:#fff;--q-idle:#9a9a9a;--q-mark:#fff}
#game.wgd-ctr #wgd-pick{left:auto;right:calc(50% + (var(--rvh,240px) * .5) + 19px);bottom:clamp(35px,7svh,80px)}
@media(max-height:620px){#game #wgd-pick{bottom:max(20px,env(safe-area-inset-bottom));transform:rotate(-11deg)}}
/* TITLES (Amin, 20 Nov 2026: "that's the font that's supposed to be the titles … maybe a -5 brings everything a little closer"):
   every game title and the search list are the same heavy face, pulled in to -5%; the search rows a little smaller so more fit. */
#game #title,#mini-game-search-panel .mg-search-results li>:is(a,span){letter-spacing:-.05em!important}
#mini-game-search-panel .mg-search-results li>:is(a,span){font-size:clamp(18px,5.2vw,27px)!important;min-height:38px!important;padding-top:6px!important;padding-bottom:6px!important}
#mini-game-search-panel .mg-search-results small{letter-spacing:.06em}

/* Night: every left-hand control is a translucent charcoal (Amin, 20 Nov 2026) */
#game[data-quick-kick-night="on"] #wgd-pad{background:rgba(36,38,42,.62);border-color:rgba(255,255,255,.18);box-shadow:0 4px 0 rgba(0,0,0,.45);backdrop-filter:blur(2px)}
#game[data-quick-kick-night="on"] #wgd-pad i{background:rgba(120,122,128,.7);border-color:rgba(255,255,255,.22)}
#game[data-quick-kick-night="on"] #wgd-pad.on i{background:rgba(160,162,168,.8)}
#game[data-quick-kick-night="on"] #controls>button{background:rgba(36,38,42,.62)!important;color:#ece9e0!important;border-color:rgba(255,255,255,.18)!important;box-shadow:0 4px 0 rgba(0,0,0,.45)!important;backdrop-filter:blur(2px)}
/* White Out at night: the snowfield runs on past the piste in moonlight, so the run never looks cut out (Amin, 20 Nov 2026) */
#game[data-quick-kick-night="on"][data-mini-stage-kind="ski"] #play{background:radial-gradient(ellipse 56% 42% at 50% 50%,#3b4862 0%,#2e3a54 50%,rgba(32,40,58,.5) 72%,rgba(17,20,24,0) 100%)}

/* the pick rows that sit by the table, up top on the right */
#game #wgd-pick-top{position:fixed;z-index:8;right:max(18px,calc(50% - 262px),env(safe-area-inset-right));transform:rotate(-8deg);display:flex;flex-direction:column;align-items:flex-end;color:var(--q-ink);--q-ink:#111;--q-idle:#a5a5a5;--q-mark:#111}
#game #wgd-pick-top[hidden],#game[data-mini-round-active] #wgd-pick-top{display:none}
#game #wgd-pick-top .hp{display:flex;flex-direction:column;align-items:flex-start}
#game #wgd-pick-top .hp-label{color:var(--q-mark);transform:translate(10px,3px) rotate(-6deg);pointer-events:none}
#game #wgd-pick-top .hp-label svg{height:clamp(11px,3.1vw,14px)}
#game #wgd-pick-top .hp-opts{display:flex;align-items:center}
#game #wgd-pick-top button{all:unset;position:relative;display:grid;place-items:center;min-height:40px;padding:0 8px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#game #wgd-pick-top button+button::before{content:'';position:absolute;left:-1px;top:50%;width:1.5px;height:21px;margin-top:-11px;background:var(--q-ink);opacity:.5;transform:rotate(13deg)}
#game #wgd-pick-top button span{position:relative;display:block;color:var(--q-idle);transform:rotate(-4deg)}
#game #wgd-pick-top button.on span{color:var(--q-mark)}
#game #wgd-pick-top button.on span::after{content:'';position:absolute;left:4%;right:2%;bottom:-6px;height:6px;background:currentColor;clip-path:polygon(0 74%,21% 63%,65% 27%,100% 9%,93% 58%,54% 77%,91% 72%,79% 98%,8% 97%);transform:rotate(-3deg)}
#game #wgd-pick-top button span svg{height:clamp(15px,4.3vw,19px)}
#game #wgd-pick-top .hp.many button{padding:0 5px}
#game #wgd-pick-top .hp.many button span svg{height:clamp(11px,3.2vw,15px)}
#game #wgd-pick-top svg{display:block;width:auto;overflow:visible;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
#game #wgd-pick-top button:focus-visible span{outline:2px solid var(--q-ink);outline-offset:6px}
#game[data-quick-kick-night="on"] #wgd-pick-top{--q-ink:#fff;--q-idle:#9a9a9a;--q-mark:#fff}

/* THE MINI RULES · 1 (Amin, 20 Nov 2026: "you don't need the title of the game when the game is in play … the most important thing is
   the pixel count"): once a minute starts the title and its line fade away, every game; that space is the pixel count's and the
   game's action words'. Layout holds, so nothing jumps. */
#game[data-mini-round-active] .gamebar :is(#title,#game-tip){opacity:0;transition:opacity .5s}
/* the grid of every game stays by day, night or not (Amin, 21 Nov 2026: "it looks beautiful and white but not good on black") */
body.wgd-gv #game #title::before{display:none}
/* THE SECONDARIES BELONG TO A ROUND (Amin, 21 Nov 2026: "We should not show the secondary buttons in that spot if the game is not selected and it's in the carousel"):
   off the round (the carousel, the picks, the result) the last game's round buttons (White Out's REVERT · GRAB) never stand under the next game's picks */
#game:not([data-mini-round-active]) #controls{display:none!important}

/* ONE NAV (29 Nov 2026): the WGD bar's MENU (wgd-bar.js WGDBar.menu) in the game's masthead, dead centre; its doors drop down across the masthead */
#game .play-masthead .wgb-solo{position:absolute!important;left:0;right:0;top:20px;justify-content:center;pointer-events:none;z-index:45}#game .play-masthead .wgb-solo>*{pointer-events:auto}#game .play-masthead .wgb-solo .wgb-menu{min-height:38px;font-size:11px}#game .play-masthead .wgb-solo .wgb-go a{color:#0b0b0b}#game .play-masthead .wgb-solo .wgb-go .wgb-chip[aria-current=page],#game .play-masthead .wgb-solo .wgb-go a.wgb-3d{color:#fff}
@media(min-width:761px){#game .play-masthead .wgb-solo{top:28px}}
#game .mmx,#game .mmx .mmx-t{pointer-events:none}#game .mmx .mmx-r,#game .mmx .mmx-t>*{pointer-events:auto}
body:has(.wgb[data-menu=open]) #mini-mix{visibility:hidden}
#game .play-masthead:has(.wgb-solo[data-menu=open]){z-index:90!important}
