/* =====================================================================================================
   MINIGAMES (web-games.js): Wordhalla, Brawldoku, Squadhalla, Glimpse and Higher or Lower, their boards, and their cards on the
   Minigames page. Drawn in the look's own colours (--bh-*), so Standard and Dark both follow. Only the website loads this file.
   ===================================================================================================== */
.gm-page{--gm-g:var(--bh-sel,#00b8a4);--gm-y:var(--bh-yellow,#fff05a);--gm-x:var(--bh-row2,#034c87);--gm-ink:var(--bh-ink,#052a46);--gm-edge:var(--bh-btn,#1c91bf);
  margin-top:12px;color:#fff;font:500 14px/1.45 "Segoe UI",Arial,sans-serif}
.gm-page b,.gm-page strong{font-weight:800}
.gm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gm-link{display:inline;padding:0;border:0;background:none;color:var(--mint);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.gm-link:hover{color:#fff}
.gm-wait{padding:40px 0;text-align:center;color:var(--muted)}
.gm-note{margin:12px 0 0;color:var(--muted);font-size:12.5px}

/* ---------- the bar: back to Minigames, and the game's four views ---------- */
.gm-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-width:860px;margin:0 auto 16px}
.gm-back{color:#d7efff;font:900 12px/1 var(--bh-font);text-transform:uppercase;text-decoration:none;letter-spacing:.2px}
.gm-back:hover{color:var(--mint)}
.gm-tabs{display:flex;flex-wrap:wrap;gap:6px}
.gm-tab{padding:9px 14px;border:1px solid var(--gm-edge);background:var(--bh-card);color:#fff;font:900 11.5px/1 var(--bh-font);text-transform:uppercase;text-decoration:none;transition:background .15s,border-color .15s}
.gm-tab:hover{background:var(--bh-list);border-color:var(--mint)}
.gm-tab.on{background:var(--bh-sel);border:2px solid var(--bh-yellow);padding:8px 13px}
.gm-body{max-width:860px;margin:0 auto}
.gm-status{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 14px;color:#d7efff}
.gm-status b{font:900 15px/1 var(--bh-font);text-transform:uppercase;color:#fff}
.gm-stage{display:grid;justify-items:center;gap:16px}

/* ---------- Wordhalla ---------- */
.gm-k{display:inline-block;padding:0 6px;font-weight:800}
.gm-k.g{background:var(--gm-g);color:#fff}.gm-k.y{background:var(--gm-y);color:var(--gm-ink)}.gm-k.x{background:var(--gm-x);color:#9fc4de}
.gm-words{--tile:min(58px,calc((100vw - 60px) / var(--len) - 6px));display:grid;gap:6px}
.gm-row{display:flex;gap:6px}
.gm-tile{display:grid;place-items:center;width:var(--tile);height:var(--tile);border:2px solid var(--gm-edge);background:var(--bh-card);color:#fff;
  font:900 calc(var(--tile) * .5)/1 var(--bh-font);text-transform:uppercase;user-select:none}
.gm-tile.filled{border-color:#d7efff}
.gm-tile.g{background:var(--gm-g);border-color:var(--gm-g)}
.gm-tile.y{background:var(--gm-y);border-color:var(--gm-y);color:var(--gm-ink)}
.gm-tile.x{background:var(--gm-x);border-color:var(--gm-x);color:#9fc4de}
.gm-tile.pop{animation:gm-pop .12s ease-out}
.gm-tile.flip{animation:gm-flip .5s ease-in-out both;animation-delay:calc(var(--i) * .16s)}
.gm-row.shake{animation:gm-shake .4s}
.gm-row.won .gm-tile{animation:gm-hop .5s ease-out both;animation-delay:calc(.9s + var(--i) * .08s)}
@keyframes gm-pop{50%{transform:scale(1.1)}}
@keyframes gm-flip{0%{transform:rotateX(0)}45%{transform:rotateX(90deg);background:var(--bh-card);border-color:var(--gm-edge);color:#fff}55%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}
@keyframes gm-shake{20%,60%{transform:translateX(-7px)}40%,80%{transform:translateX(7px)}}
@keyframes gm-hop{40%{transform:translateY(-14px)}70%{transform:translateY(2px)}}
.gm-keys{display:grid;gap:7px;width:min(560px,100%);touch-action:manipulation}
.gm-wordnote{margin:0;max-width:560px;text-align:center;color:var(--muted);font-size:12.5px;line-height:1.35}
.gm-keys>div{display:flex;justify-content:center;gap:6px}
.gm-key{flex:1 1 0;max-width:46px;height:52px;padding:0;border:1px solid var(--gm-edge);background:var(--bh-raise,#085b9d);color:#fff;font:900 14px/1 var(--bh-font);cursor:pointer;transition:background .12s}
.gm-key:hover{background:var(--bh-list)}
.gm-key.wide{flex:1.6 1 0;max-width:76px;font-size:11px;text-transform:uppercase}
.gm-key.g{background:var(--gm-g);border-color:var(--gm-g)}.gm-key.y{background:var(--gm-y);border-color:var(--gm-y);color:var(--gm-ink)}.gm-key.x{background:var(--gm-x);border-color:var(--gm-x);color:#7fa6c2}
.gm-answer{display:grid;justify-items:center;gap:6px;max-width:520px;text-align:center}
.gm-answer b{font:900 30px/1 var(--bh-font);letter-spacing:1px;text-shadow:0 3px 0 var(--bh-shadow)}
.gm-kind{padding:4px 9px;background:var(--bh-row2);color:var(--bh-yellow);font:900 10.5px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.4px}
.gm-answer p{margin:0;color:#d7efff}

/* ---------- Brawldoku ---------- */
.gm-dk{--cell:min(150px,calc((100vw - 120px) / 3.6));display:grid;grid-template-columns:calc(var(--cell) * .72) repeat(3,var(--cell));grid-auto-rows:auto;gap:6px}
.gm-dk-corner,.gm-dk-col,.gm-dk-row{display:grid;place-items:center;padding:8px;text-align:center;background:var(--bh-row2);font:900 11px/1.2 var(--bh-font);text-transform:uppercase}
.gm-dk-corner{gap:2px;background:none}
.gm-dk-corner b{font-size:28px;line-height:1;color:var(--bh-yellow)}
.gm-dk-corner small{color:#d7efff;font-size:10px}
.gm-dk-col{min-height:64px;border-bottom:3px solid var(--gm-edge)}
.gm-dk-col[data-family=year]{border-color:#2fd38a}.gm-dk-col[data-family=lore]{border-color:#36a6ff}.gm-dk-col[data-family=word]{border-color:#b48cff}.gm-dk-col[data-family=kit]{border-color:var(--bh-yellow)}
.gm-dk-row{grid-auto-flow:row;gap:6px;border-right:3px solid var(--gm-edge)}
.gm-dk-row img{width:34px;height:34px;object-fit:contain}
.gm-dk-cell{position:relative;display:grid;place-items:center;align-content:center;gap:4px;height:var(--cell);padding:6px;border:2px solid var(--gm-edge);background:var(--bh-card);color:#fff;text-align:center;overflow:hidden}
.gm-dk-cell.gm-free{cursor:pointer;transition:background .15s,border-color .15s}
.gm-dk-cell.gm-free span{font:900 30px/1 var(--bh-font);color:#8fc4e6}
.gm-dk-cell.gm-free:hover,.gm-dk-cell.gm-free:focus-visible{background:var(--bh-list);border-color:var(--mint)}
.gm-dk-cell.missed{border-color:#ff6f8e}
.gm-dk-cell small{color:#d7efff;font-size:11px}
.gm-dk-cell.got{background:var(--bh-sel);border-color:var(--bh-yellow)}
.gm-dk-cell.got img{width:calc(var(--cell) * .48);height:calc(var(--cell) * .48);object-fit:contain}
.gm-dk-cell.got b{font:900 11.5px/1.1 var(--bh-font);text-transform:uppercase}
.gm-dk-cell.got small{position:absolute;top:5px;right:6px;padding:2px 5px;background:var(--gm-ink);color:var(--bh-yellow);font:800 10.5px/1 "Segoe UI",Arial,sans-serif}
.gm-dk-cell.gm-shut{background:var(--bh-row2);border-style:dashed}
.gm-dk-cell.gm-shut span{display:grid;gap:4px;font-size:12px;color:#d7efff}
.gm-dk-cell.pop{animation:gm-pop .3s ease-out}
.gm-dk-cell.shake{animation:gm-shake .4s}

/* ---------- the legend picker ---------- */
.gm-picker{position:relative;width:100%;max-width:360px}
.gm-picker input{width:100%;height:46px;padding:0 14px;border:2px solid var(--gm-edge);background:var(--bh-raise,#085b9d);color:#fff;font:700 15px/1 "Segoe UI",Arial,sans-serif}
.gm-picker input:focus{outline:none;border-color:var(--bh-yellow)}
.gm-picker input::placeholder{color:#9fc4de}
.gm-list{position:absolute;z-index:5;left:0;right:0;top:calc(100% + 4px);margin:0;padding:4px;list-style:none;background:var(--bh-card);box-shadow:0 0 0 2px var(--gm-edge),0 14px 30px #00142a99;max-height:300px;overflow:auto}
.gm-list li{display:flex;align-items:center;gap:10px;padding:6px 8px;cursor:pointer;font-weight:700}
.gm-list li img{width:28px;height:28px;object-fit:contain}
.gm-list li[aria-selected=true],.gm-list li:hover{background:var(--bh-sel)}
dialog .gm-picker{margin:12px 0 4px;max-width:none}
dialog .gm-list{position:static;margin-top:6px;box-shadow:0 0 0 2px var(--gm-edge)}

/* ---------- Squadhalla ---------- */
.gm-bands{display:grid;gap:6px;width:min(640px,100%)}
.gm-band{display:grid;justify-items:center;gap:3px;padding:12px;color:var(--gm-ink);text-align:center}
.gm-band b{font:900 13px/1.15 var(--bh-font);text-transform:uppercase}
.gm-band span{font-weight:700;font-size:13px}
.gm-band.yellow{background:#ffe052}.gm-band.green{background:#4fe39c}.gm-band.blue{background:#6cc2ff}.gm-band.purple{background:#c7a6ff}
.gm-band.fresh{animation:gm-pop .35s ease-out}
.gm-sq{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(640px,100%)}
.gm-sq.shake{animation:gm-shake .4s}
.gm-sq-tile{display:grid;justify-items:center;align-content:center;gap:4px;min-height:96px;padding:8px 4px;border:2px solid var(--gm-edge);background:var(--bh-card);color:#fff;cursor:pointer;transition:background .12s,border-color .12s,transform .12s}
.gm-sq-tile img{width:52px;height:52px;object-fit:contain}
.gm-sq-tile span{font:900 11px/1.1 var(--bh-font);text-transform:uppercase;overflow-wrap:anywhere}
.gm-sq-tile:hover{background:var(--bh-list)}
.gm-sq-tile.on{background:var(--bh-sel);border-color:var(--bh-yellow);transform:translateY(-2px)}
.gm-dots{display:flex;align-items:center;gap:7px;color:#d7efff;font-size:12.5px}
.gm-dots i{width:13px;height:13px;border:2px solid var(--gm-edge);background:none}
.gm-dots i.on{background:var(--bh-yellow);border-color:var(--bh-yellow)}
.gm-dots span{margin-left:4px}
.gm-sq-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}

/* ---------- Glimpse ---------- */
.gm-glimpse{display:grid;grid-template-columns:minmax(0,384px) minmax(0,300px);gap:22px;align-items:start;width:100%;justify-content:center}
.gm-frame{position:relative;aspect-ratio:1;border:3px solid var(--gm-edge);background:radial-gradient(circle at 50% 40%,var(--bh-list),var(--bh-card) 75%);overflow:hidden}
.gm-frame img{display:block;width:100%;height:100%;object-fit:contain}
.gm-frame.wider img{animation:gm-wider .5s ease-out}
.gm-frame.done{border-color:var(--bh-yellow)}
@keyframes gm-wider{from{transform:scale(1.35);opacity:.3}to{transform:none;opacity:1}}
.gm-gl-side{display:grid;gap:14px;align-content:start}
.gm-steps{display:flex;gap:5px}
.gm-steps i{flex:1;height:8px;background:var(--bh-row2)}
.gm-steps i.on{background:var(--gm-edge)}.gm-steps i.no{background:#ff6f8e}.gm-steps i.ok{background:var(--gm-g)}
.gm-guesses{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.gm-guesses li{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bh-row2);font-weight:700}
.gm-guesses li img{width:26px;height:26px;object-fit:contain}
.gm-guesses li.no{text-decoration:line-through;text-decoration-color:#ff6f8e;color:#bcd6e8}
.gm-guesses li.ok{background:var(--bh-sel)}
.gm-gl-side .gm-answer{justify-items:start;text-align:left}

/* ---------- Higher or Lower ---------- */
.gm-hl-start{display:grid;justify-items:center;gap:14px;max-width:520px;padding:26px 22px;background:var(--bh-card);box-shadow:0 0 0 2px var(--gm-edge);text-align:center}
.gm-hl-start p{margin:0;color:#eaf6ff;font-size:15px}
.gm-hl-start .button{min-width:180px;height:48px;font-size:16px}
.gm-hl-start small{color:var(--muted)}
.gm-hl{display:grid;justify-items:center;gap:12px;width:min(640px,100%)}
.gm-hl-top{display:flex;align-items:center;gap:14px;width:100%}
.gm-hl-count,.gm-hl-best{font:900 12px/1 var(--bh-font);text-transform:uppercase;white-space:nowrap}
.gm-hl-best{color:#d7efff}.gm-hl-best b{color:#fff;font-size:14px}
.gm-hl-count b{color:var(--bh-yellow);font-size:18px}
.gm-hl-time{flex:1;height:10px;background:var(--bh-row2);overflow:hidden}
.gm-hl-time i{display:block;height:100%;width:100%;background:var(--mint);transform-origin:left;transform:scaleX(var(--t,1));transition:transform .1s linear}
.gm-hl-ask{margin:4px 0 0;font:900 16px/1.2 var(--bh-font);text-transform:uppercase;text-align:center}
.gm-hl-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.gm-hl-pair.slide .gm-hl-card{animation:gm-in .35s ease-out both}
.gm-hl-pair.slide .gm-hl-card+.gm-hl-card{animation-delay:.06s}
@keyframes gm-in{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.gm-hl-card{display:grid;justify-items:center;align-content:start;gap:5px;min-height:190px;padding:16px 10px;border:2px solid var(--gm-edge);background:var(--bh-card);text-align:center}
.gm-hl-card img{width:72px;height:72px;object-fit:contain}
.gm-hl-pro{display:grid;place-items:center;width:64px;height:64px;margin:4px 0;border-radius:50%;background:var(--bh-row2);border:2px solid var(--bh-yellow);color:var(--bh-yellow);font:900 26px/1 var(--bh-font)}
.gm-hl-card b{font:900 14px/1.15 var(--bh-font);text-transform:uppercase;overflow-wrap:anywhere}
.gm-hl-card small{color:#9fc4de;font-weight:700}
.gm-hl-v{margin-top:6px;font:900 22px/1 var(--bh-font);color:var(--bh-yellow);font-variant-numeric:tabular-nums}
.gm-hl-card.ask{border-style:dashed}
.gm-hl-card.ask .gm-hl-v{color:#9fc4de}
.gm-hl-card.right{border-color:var(--gm-g);background:color-mix(in srgb,var(--gm-g) 22%,var(--bh-card))}
.gm-hl-card.wrong{border-color:#ff6f8e;background:color-mix(in srgb,#ff6f8e 18%,var(--bh-card))}
.gm-hl-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.gm-hl-btns .button{display:flex;align-items:center;justify-content:center;gap:6px;height:52px;font-size:15px}
.gm-hl-btns .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.gm-hl-src{margin:0;color:var(--muted);font-size:11.5px}
.gm-hl-say{display:grid;place-items:center;width:100%;height:52px;margin:0;font:900 20px/1 var(--bh-font);text-transform:uppercase}
.gm-hl-time.stopped i{transition:none}
.gm-hl-say.right{color:var(--mint)}.gm-hl-say.wrong{color:#ff8fa8}
.gm-hl-streak{display:grid;justify-items:center}
.gm-hl-streak b{font:900 64px/1 var(--bh-font);color:var(--bh-yellow);text-shadow:0 4px 0 var(--bh-shadow)}
.gm-hl-streak small{font:900 12px/1 var(--bh-font);text-transform:uppercase}

/* ---------- the end of a puzzle ---------- */
.gm-result{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;margin-top:20px;padding:20px 22px;background:var(--bh-card);box-shadow:0 0 0 2px var(--gm-edge)}
.gm-result.won{box-shadow:0 0 0 2px var(--bh-yellow)}
.gm-score{display:grid;justify-items:center;min-width:112px}
.gm-score b{font:900 44px/1 var(--bh-font);color:var(--bh-yellow);text-shadow:0 4px 0 var(--bh-shadow);font-variant-numeric:tabular-nums}
.gm-score small{font:900 11px/1 var(--bh-font);text-transform:uppercase;color:#d7efff}
.gm-res-text{display:grid;gap:8px;min-width:0}
.gm-res-text h2{margin:0;font:900 22px/1.1 var(--bh-font);text-transform:uppercase}
.gm-res-text p{margin:0;color:#eaf6ff}
.gm-rank{font-weight:700}
/* signed out: only signed-in players go on the leaderboards (RESET 34), and the way in */
.gm-signin{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:10px 0 0}
.gm-signin p{margin:0;font-weight:700}
.gm-signin .ac-signin{display:inline-flex;align-items:center;gap:8px}
/* the same in BrawlKrillion's results and leaderboards (brawllion.js, patch_kr_r34.py) */
.bl-signin{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 14px;background:var(--bh-row2,#0b1220)}
.bl-signin .bl-posted{padding:0;background:none}
.bl-signin .ac-signin{display:inline-flex;align-items:center;gap:8px}
.gm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.gm-next{color:var(--muted)!important;font-size:12.5px}
.gm-next b{color:#fff}
.gm-name-form form{display:grid;gap:6px}
.gm-name-form label{font-size:12.5px;color:#d7efff}
.gm-name-form div{display:flex;gap:8px}
.gm-name-form input{flex:1;min-width:0;height:40px;padding:0 12px;border:2px solid var(--gm-edge);background:var(--bh-raise,#085b9d);color:#fff;font:700 14px/1 "Segoe UI",Arial,sans-serif}
.gm-share{width:100%;padding:10px;border:2px solid var(--gm-edge);background:var(--bh-raise,#085b9d);color:#fff;font:600 14px/1.4 "Segoe UI",Arial,sans-serif;resize:none}

/* ---------- boards ---------- */
.gm-board-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 12px}
.gm-board-head p{margin:0;color:#d7efff}
.gm-when{display:flex;gap:0}
.gm-when a{padding:9px 14px;border:1px solid var(--gm-edge);background:var(--bh-card);color:#fff;font:900 11.5px/1 var(--bh-font);text-transform:uppercase;text-decoration:none}
.gm-when a.active{background:var(--bh-sel);border-color:var(--bh-yellow)}
.gm-board{display:grid;gap:3px;margin:0;padding:0;list-style:none;max-width:640px}
.gm-board li{display:grid;grid-template-columns:44px minmax(0,1fr) 90px 84px auto;align-items:center;gap:10px;min-height:40px;padding:0 12px;background:var(--bh-row2);font-weight:700}
.gm-board li:nth-child(odd){background:var(--bh-row,#05528f)}
.gm-board li.you{background:var(--bh-sel);box-shadow:inset 0 0 0 2px var(--bh-yellow)}
.gm-board li.top .gm-rk{color:var(--bh-yellow)}
.gm-board .gm-board-cols{min-height:28px;background:none!important;color:#9fc4de;font:900 10px/1 var(--bh-font);text-transform:uppercase}
.gm-rk{font:900 15px/1 var(--bh-font)}
.gm-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gm-nm i{margin-left:6px;padding:2px 5px;background:var(--gm-ink);color:var(--bh-yellow);font:900 9.5px/1 var(--bh-font);font-style:normal;text-transform:uppercase}
.gm-pt{text-align:right;font:900 14px/1 var(--bh-font);font-variant-numeric:tabular-nums}
.gm-tm{text-align:right;color:#cfe6f5;font-variant-numeric:tabular-nums}
.gm-you{margin:10px 0 0;font-weight:700}

/* ---------- how to play ---------- */
.gm-how{display:grid;gap:12px;max-width:68ch;padding:20px 22px;background:var(--bh-card);box-shadow:0 0 0 2px var(--gm-edge)}
.gm-how h2{margin:0;font:900 20px/1.1 var(--bh-font);text-transform:uppercase}
.gm-how p{margin:0;color:#eaf6ff;font-size:15px;line-height:1.55}

/* ---------- the Minigames page: a card for each game, under BrawlKrillion's ---------- */
.gm-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px}
.gm-card{display:grid;grid-template-rows:118px auto;background:var(--bh-card);box-shadow:0 0 0 2px var(--bh-btn);color:#fff;text-decoration:none;text-align:left;overflow:hidden;transition:box-shadow .15s,background .15s}
.gm-card:hover{box-shadow:0 0 0 2px var(--mint);background:var(--bh-row)}
.gm-card:hover .gm-art>*{transform:scale(1.06)}
.gm-card.done{box-shadow:0 0 0 2px var(--bh-sel)}
.gm-card-text{display:grid;align-content:start;gap:6px;min-width:0;padding:12px 14px 14px}
.gm-card-text b{font:900 17px/1 var(--bh-font);text-transform:uppercase;text-shadow:0 3px 0 var(--bh-shadow)}
.gm-card-text span{color:#d7efff;font-size:13px;line-height:1.35}
.gm-card-text small{color:var(--bh-yellow);font:800 11.5px/1.25 "Segoe UI",Arial,sans-serif}
.gm-card.done .gm-card-text small{color:var(--mint)}
.gm-art{display:grid;place-items:center;background:var(--bh-row2);overflow:hidden}
.gm-art>*{transition:transform .2s}
.gm-art-tiles{display:grid;grid-template-columns:repeat(5,26px);gap:4px}
.gm-art-tiles i{display:grid;place-items:center;height:28px;font:900 15px/1 var(--bh-font);font-style:normal}
.gm-art-tiles i.g{background:var(--bh-sel)}.gm-art-tiles i.y{background:var(--bh-yellow);color:var(--bh-ink)}.gm-art-tiles i.x{background:var(--bh-mid,#0b5c96);color:#9fc4de}
.gm-art-grid{display:grid;grid-template-columns:repeat(3,26px);gap:4px}
.gm-art-grid i{height:26px;border:2px solid var(--bh-btn)}
.gm-art-grid i.g{background:var(--bh-sel);border-color:var(--bh-yellow)}
.gm-art-bands{display:grid;gap:5px;width:104px}
.gm-art-bands i{height:17px}
.gm-art-bands .yellow{background:#ffe052}.gm-art-bands .green{background:#4fe39c}.gm-art-bands .blue{background:#6cc2ff}.gm-art-bands .purple{background:#c7a6ff}
.gm-art-glimpse{position:relative;width:96px;height:96px}
.gm-art-glimpse i{position:absolute;left:2px;top:2px;display:grid;place-items:center;width:66px;height:66px;border-radius:50%;border:5px solid var(--bh-yellow);color:#fff;font:900 30px/1 var(--bh-font);font-style:normal;text-shadow:0 3px 0 var(--bh-shadow);
  background:conic-gradient(from 45deg,var(--bh-sel) 25%,var(--bh-list) 0 50%,var(--bh-sel) 0 75%,var(--bh-list) 0) 0 0/22px 22px}
.gm-art-glimpse b{position:absolute;right:8px;bottom:14px;width:34px;height:12px;background:var(--bh-yellow);transform:rotate(45deg)}
.gm-art-hilo{display:grid;justify-items:center;gap:0;color:var(--bh-yellow)}
.gm-art-hilo i{display:block;width:34px;height:26px}
.gm-art-hilo .icon{width:34px;height:28px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.gm-art-hilo b{font:900 26px/1 var(--bh-font);color:#fff}
/* the same art, small, on the homepage's "Play today" cards (web-pages.js) */
.hm-game-art .gm-art-tiles{grid-template-columns:repeat(3,14px);gap:2px}
.hm-game-art .gm-art-tiles i{height:16px;font-size:9px}
.hm-game-art .gm-art-tiles i:nth-child(n+4){display:none}
.hm-game-art .gm-art-grid{grid-template-columns:repeat(3,11px);gap:2px}
.hm-game-art .gm-art-grid i{height:11px;border-width:1px}
.hm-game-art .gm-art-bands{width:36px;gap:2px}
.hm-game-art .gm-art-bands i{height:7px}
.hm-game-art .gm-art-glimpse{width:44px;height:44px}
.hm-game-art .gm-art-glimpse i{left:1px;top:1px;width:32px;height:32px;border-width:3px;font-size:15px;background-size:11px 11px}
.hm-game-art .gm-art-glimpse b{right:3px;bottom:7px;width:15px;height:6px}
.hm-game-art .gm-art-hilo i{width:20px;height:14px}
.hm-game-art .gm-art-hilo .icon{width:20px;height:15px}
.hm-game-art .gm-art-hilo b{font-size:14px}
.gm-card:hover .hm-game-art>*,.hm-game:hover .gm-art>*{transform:none}
@media(max-width:1350px){.gm-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.gm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- phones ---------- */
@media(max-width:700px){
  .gm-bar{gap:10px}
  .gm-tab{padding:8px 10px;font-size:10.5px}.gm-tab.on{padding:7px 9px}
  .gm-dk{--cell:calc((100vw - 40px) / 3.75);gap:4px}
  .gm-dk-col,.gm-dk-row{padding:5px 3px;font-size:9.5px}
  .gm-dk-row img{width:26px;height:26px}
  .gm-dk-cell.got b{font-size:9.5px}
  .gm-sq-tile{min-height:78px;padding:6px 2px}
  .gm-sq-tile img{width:40px;height:40px}
  .gm-sq-tile span{font-size:9.5px}
  .gm-glimpse{grid-template-columns:minmax(0,1fr)}
  .gm-key{height:48px;font-size:12.5px}
  .gm-keys>div{gap:4px}
  .gm-hl-card{min-height:160px;padding:12px 6px}
  .gm-hl-v{font-size:18px}
  .gm-result{grid-template-columns:1fr;justify-items:start;gap:12px;padding:16px}
  .gm-score{justify-items:start}
  .gm-board li{grid-template-columns:34px minmax(0,1fr) 70px 64px auto;gap:6px;padding:0 8px;font-size:13px}
  .gm-cards{grid-template-columns:1fr;gap:10px}
  .gm-card{grid-template-rows:none;grid-template-columns:96px minmax(0,1fr)}
  .gm-art-tiles{grid-template-columns:repeat(5,15px);gap:2px}.gm-art-tiles i{height:17px;font-size:9px}
  .gm-art-grid{grid-template-columns:repeat(3,17px);gap:3px}.gm-art-grid i{height:17px}
  .gm-art-bands{width:64px;gap:3px}.gm-art-bands i{height:11px}
  .gm-art-glimpse{transform:scale(.72)}
  .gm-art-hilo .icon{width:26px;height:20px}.gm-art-hilo b{font-size:18px}
}
/* ---------- HIGHER OR LOWER LIKE THE HIGHER LOWER GAME (30 Nov 2026): two halves side by side, each a legend's art darkened
   behind the name and the number; the right half asks, with outlined Higher and Lower buttons; a VS circle between them that
   turns into a tick or a cross; the number counts up when it's shown, and the next pair slides in from the right ---------- */
.gm-hl.gm-hl-game{position:relative;display:grid;gap:0;width:100%;max-width:none;padding:0;background:#06115e;border:3px solid var(--mm-navy,#06115e);box-shadow:6px 6px 0 var(--mm-navy,#06115e);overflow:hidden}
.gm-hl-game .gm-hl-ask{position:absolute;z-index:4;left:0;right:0;top:0;margin:0;padding:10px 16px 0;font:900 13px/1.2 var(--bh-font);color:#d7efff;text-shadow:0 2px 0 #000a;pointer-events:none}
.gm-hl-game .gm-hl-pair{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:min(62vh,520px)}
.gm-hl-half{position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#2a6fd6,#0b2a6b 70%)}
.gm-hl-half.b{background:radial-gradient(ellipse at 50% 70%,#7b2ff4,#2b0c6b 70%)}
.gm-hl-art{position:absolute;inset:6% 0 -4% 0;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 6px 0 #0006)}
.gm-hl-half::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 0,#00000059 30%,#000000a6 100%)}
.gm-hl-mark{position:absolute;font:900 min(40vh,300px)/1 var(--bh-font);color:#ffffff14}
.gm-hl-text{position:relative;z-index:2;display:grid;justify-items:center;gap:6px;padding:40px 18px 56px;text-align:center}
.gm-hl-name{font:900 clamp(22px,2.6vw,36px)/1.1 var(--bh-font);color:#fff;-webkit-text-stroke:.16em var(--mm-navy,#06115e);paint-order:stroke fill;text-shadow:0 3px 0 var(--mm-navy,#06115e)}
.gm-hl-region{color:#d7efff;font-weight:800}
.gm-hl-line{color:#fff;font:700 15px/1.2 "Segoe UI",Arial,sans-serif;text-shadow:0 1px 2px #000}
.gm-hl-game .gm-hl-v{margin:2px 0;font:900 clamp(30px,4vw,56px)/1 var(--bh-font);color:#ffe259;-webkit-text-stroke:.12em var(--mm-navy,#06115e);paint-order:stroke fill;text-shadow:0 4px 0 var(--mm-navy,#06115e);font-variant-numeric:tabular-nums}
.gm-hl-game .gm-hl-btns{display:grid;grid-template-columns:none;gap:10px;width:auto;justify-items:center;margin:6px 0}
.gm-hl-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:190px;padding:11px 22px;border:3px solid #fff;border-radius:999px;background:#0000;color:#fff;font:900 17px/1 var(--bh-font);text-transform:uppercase;cursor:pointer;transition:background .12s,color .12s,transform .12s}
.gm-hl-btn .icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.gm-hl-btn:is(:hover,:focus-visible){background:#fff;color:var(--mm-navy,#06115e);transform:scale(1.04)}
.gm-hl-vs{position:absolute;z-index:5;left:50%;top:50%;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:#fff;color:var(--mm-navy,#06115e);border:3px solid var(--mm-navy,#06115e);font:900 20px/1 var(--bh-font);box-shadow:0 4px 0 var(--mm-navy,#06115e);transition:background .2s,transform .25s cubic-bezier(.2,1.6,.4,1)}
.gm-hl-vs.right{background:#2fd37f;color:#fff;font-size:30px;transform:scale(1.15)}
.gm-hl-vs.wrong{background:#f0466e;color:#fff;font-size:30px;transform:scale(1.15)}
.gm-hl-game .gm-hl-say{position:absolute;z-index:4;left:0;right:0;bottom:44px;height:auto;font-size:22px;text-shadow:0 3px 0 #000a;pointer-events:none}
.gm-hl-game .gm-hl-time{position:absolute;z-index:4;left:0;right:0;top:0;height:6px;background:#0006}
.gm-hl-game .gm-hl-time i{background:#ffe259}
.gm-hl-game :is(.gm-hl-best,.gm-hl-count){position:absolute;z-index:4;bottom:12px;color:#fff;font:900 13px/1 var(--bh-font);text-transform:uppercase;text-shadow:0 2px 0 #000a}
.gm-hl-game .gm-hl-best{left:14px}.gm-hl-game .gm-hl-count{right:14px}
.gm-hl-game :is(.gm-hl-best,.gm-hl-count) b{color:#ffe259;font-size:16px}
.gm-hl-game .gm-hl-src{position:absolute;z-index:4;left:0;right:0;bottom:-1px;margin:0;padding:0 0 30px;text-align:center;color:#ffffffa0;font-size:11px;pointer-events:none}
/* the next pair: the halves come in from the right, as the game moves its row along */
.gm-hl-game .gm-hl-pair.slide .gm-hl-half{animation:gm-hl-slide .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes gm-hl-slide{from{transform:translateX(100%)}to{transform:none}}
.gm-hl-game .gm-hl-pair.slide .gm-hl-half.b{animation-delay:.04s}
@media(max-width:700px){
  .gm-hl-game .gm-hl-pair{grid-template-columns:none;grid-template-rows:1fr 1fr;min-height:0}
  .gm-hl-text{padding:28px 12px 22px}
  .gm-hl-half.a .gm-hl-text{padding-bottom:40px}
  .gm-hl-btn{min-width:150px;padding:9px 18px;font-size:15px}
  @keyframes gm-hl-slide{from{transform:translateY(100%)}to{transform:none}}
  .gm-hl-game .gm-hl-say{bottom:auto;top:calc(50% + 30px)}
  .gm-hl-game .gm-hl-ask,.gm-hl-game .gm-hl-src{display:none}
  .gm-hl-half.b .gm-hl-text{padding-bottom:44px}
  .gm-hl-vs{width:48px;height:48px;margin:-24px 0 0 -24px;font-size:16px}
  .gm-hl-game .gm-hl-v{font-size:34px}
}
body.reduced-motion .gm-hl-game .gm-hl-pair.slide .gm-hl-half{animation:none}
body.reduced-motion .gm-hl-vs{transition:none}
/* ---------- SQUADS LIKE CONNECTIONS (30 Nov 2026): light rounded tiles with dark capitals, a picked tile dark, the found squads
   as flat bands in Connections' four colours, round mistake dots, round outlined buttons (Submit filled when it can go), the
   four picked tiles hopping in turn before the answer ---------- */
.gm-sq-ask{margin:0 0 4px;color:#fff;font:600 15px/1.2 "Segoe UI",Arial,sans-serif;text-align:center}
.gm-sq,.gm-bands{gap:8px}
.gm-sq-tile{min-height:88px;border:0;border-radius:8px;background:#efefe6;color:#121212;box-shadow:none;transition:background .12s,color .12s,transform .12s}
.gm-sq-tile:hover{background:#e3e3d6}
.gm-sq-tile span{font:800 13px/1.1 "Segoe UI",Arial,sans-serif;letter-spacing:.2px;color:inherit}
.gm-sq-tile.on{background:#5a594e;color:#fff;border-color:transparent;transform:none}
.gm-sq-tile.on img{filter:drop-shadow(0 0 2px #0008)}
.gm-sq-tile.hop{animation:gm-sq-hop .26s ease-out both}
@keyframes gm-sq-hop{0%{transform:none}45%{transform:translateY(-9px)}100%{transform:none}}
.gm-band{border-radius:8px;padding:12px 10px;color:#121212}
.gm-band b{font:800 15px/1.15 "Segoe UI",Arial,sans-serif;letter-spacing:.3px}
.gm-band span{font:500 14px/1.2 "Segoe UI",Arial,sans-serif;text-transform:uppercase}
.gm-band.yellow{background:#f9df6d}.gm-band.green{background:#a0c35a}.gm-band.blue{background:#b0c4ef}.gm-band.purple{background:#ba81c5}
.gm-band.fresh{animation:gm-sq-merge .45s cubic-bezier(.2,1.4,.4,1) both}
@keyframes gm-sq-merge{from{transform:scale(.92);opacity:.4}to{transform:none;opacity:1}}
.gm-dots{gap:9px;color:#fff;font:600 14px/1 "Segoe UI",Arial,sans-serif}
.gm-dots span{margin:0 4px 0 0}
.gm-dots i{width:15px;height:15px;border:0;border-radius:50%;background:#ffffff30}
.gm-dots i.on{background:#5a594e;box-shadow:0 0 0 2px #fff}
html.web[data-theme] .gm-sq-actions .button{transform:none;border-radius:999px;background:#0000;border:2px solid #fff;box-shadow:none;color:#fff;-webkit-text-stroke:0;text-shadow:none;font:700 15px/1 "Segoe UI",Arial,sans-serif;text-transform:none;padding:12px 20px;height:auto}
html.web[data-theme] .gm-sq-actions .button::before,html.web[data-theme] .gm-sq-actions .button::after{content:none}
html.web[data-theme] .gm-sq-actions .button:not(:disabled):hover{background:#ffffff1f;transform:none}
html.web[data-theme] .gm-sq-actions [data-sq-do=submit]:not(:disabled){background:#fff;color:#121212}
html.web[data-theme] .gm-sq-actions .button:disabled{opacity:.45}
@media(max-width:700px){.gm-sq-tile{min-height:74px;border-radius:6px}.gm-sq-tile span{font-size:10.5px}}
body.reduced-motion .gm-sq-tile.hop,body.reduced-motion .gm-band.fresh{animation:none}

/* Share on X (RESET 39) */
.gm-x{display:inline-flex;align-items:center;gap:7px}
.gm-x .ac-logo{width:18px;height:18px;margin:-3px 0;border-radius:3px}
.bl-x{display:inline-flex;align-items:center;gap:7px}
.bl-x .ac-logo{width:18px;height:18px;margin:-3px 0;border-radius:3px}

/* RESET 40: every game on the Minigames page is a card, BrawlKrillion first and Live rooms last. RESET 41: all the same size, three across (Live rooms moved to BrawlKrillion's page) */
.gm-cards.gm-all{grid-template-columns:repeat(3,minmax(0,1fr))}
.gm-art-dive{position:relative;display:grid;width:112px;box-shadow:0 0 0 2px var(--bh-yellow)}
.gm-art-dive i{height:15px}
.gm-art-dive i:nth-child(1){background:#9fe0ff}.gm-art-dive i:nth-child(2){background:#55b6f0}.gm-art-dive i:nth-child(3){background:#2b80c6}
.gm-art-dive i:nth-child(4){background:#185a99}.gm-art-dive i:nth-child(5){background:#0b2f5c}
.gm-art-dive b{position:absolute;inset:0;display:grid;place-items:center;color:var(--bh-yellow)}
.gm-art-dive .icon{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 0 rgba(0,0,0,.45))}
.gm-art-live{display:grid;justify-items:center;gap:9px}
.gm-art-live b{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;background:#e5243b;color:#fff;font:900 13px/1.2 var(--bh-font);text-transform:uppercase;letter-spacing:.04em}
.gm-art-live b::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
body:not(.reduced-motion) .gm-art-live b::before{animation:gm-livedot 1.4s ease-in-out infinite}
@keyframes gm-livedot{50%{opacity:.25}}
.gm-art-live span{display:flex;gap:4px}
.gm-art-live i{display:grid;place-items:center;width:24px;height:30px;background:#fff;color:var(--bh-ink,#0b2a4a);font:900 17px/1 var(--bh-font);font-style:normal}
@media(max-width:900px){.gm-cards.gm-all{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.gm-cards.gm-all{grid-template-columns:1fr}
  .gm-art-dive{width:62px}.gm-art-dive i{height:9px}.gm-art-dive .icon{width:26px;height:26px}
  .gm-art-live{gap:5px}.gm-art-live b{font-size:10px;padding:2px 6px}.gm-art-live b::before{width:6px;height:6px}.gm-art-live i{width:15px;height:19px;font-size:11px}.gm-art-live span{gap:2px}}

/* RESET 41: the short rules above each game */
.gm-rules{margin:0 0 12px;background:var(--bh-card);box-shadow:0 0 0 2px var(--bh-btn);color:#fff}
.gm-rules summary{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;font:900 15px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.03em;list-style:none}
.gm-rules summary::-webkit-details-marker{display:none}
.gm-rules summary::after{content:"";width:8px;height:8px;margin-left:auto;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .15s}
.gm-rules[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.gm-rules summary:hover,.gm-rules summary:focus-visible{color:var(--mint);outline:none}
.gm-rules ol{display:grid;gap:6px;margin:0;padding:0 14px 4px 34px;color:#d7efff;font-size:14px;line-height:1.45}
.gm-rules-more{display:inline-block;margin:6px 14px 12px;color:var(--mint);font-weight:800;font-size:13px}
@media(prefers-reduced-motion:reduce){.gm-rules summary::after{transition:none}}

/* RESET 41: BrawlKrillion's own page on the website: cards like the other minigames' (brawllion.js webCards) */
.bl-gcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 16px}
.bl-gcard{font:inherit;cursor:pointer;width:100%;border:0;padding:0}
.bl-gcard.bl-gmain{box-shadow:0 0 0 3px var(--mint)}
.bl-gcard.bl-gmain .gm-card-text small{color:var(--mint)}
.bl-art-unl{font:900 64px/1 var(--bh-font);color:var(--bh-yellow)}
.bl-art-how{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;border:5px solid var(--bh-yellow);color:#fff;font:900 38px/1 var(--bh-font)}
.bl-rules{margin-bottom:12px}
.bl-rules .gm-rules-more{background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
@media(max-width:1150px){.bl-gcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.bl-gcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bl-gcard{grid-template-rows:84px auto;grid-template-columns:none}
  .bl-gcard .gm-card-text span{display:none}.bl-art-unl{font-size:40px}.bl-art-how{width:44px;height:44px;border-width:3px;font-size:24px}}

/* RESET 41: BrawlKrillion's own page on the website is one scene (brawllion.js webHome): the sky with Brynn bobbing at the surface,
   then the sea with How to play, the Live card, one big Begin descent button and the other modes. The depth column and side panels
   step aside on Today. */
.bl-grid:has(.bl-scene){grid-template-columns:minmax(0,1fr)!important}
.bl-grid:has(.bl-scene)>.bl-gauge,.bl-grid:has(.bl-scene)>.bl-side{display:none}
.bl-grid:has(.bl-scene)>.bl-card{grid-column:1/-1!important;grid-row:auto!important}
.bl-card:has(.bl-scene){padding:0!important;overflow:hidden;background:#041528}
.bl-scene{display:flex;flex-direction:column}
.bl-skyband{position:relative;height:clamp(210px,30vh,300px);overflow:hidden;background:linear-gradient(180deg,#4fb9f5 0%,#8fd8ff 55%,#c9f1ff 100%)}
.bl-sky{position:absolute;inset:0;pointer-events:none}
.bl-sun{position:absolute;right:12%;top:16%;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,#fff6c4 0 40%,#ffd23f 41% 60%,rgba(255,210,63,0) 72%)}
.bl-cloud{position:absolute;height:30px;border-radius:40px;background:#fff;box-shadow:28px -13px 0 4px #fff,64px -4px 0 0 #fff;opacity:.92}
.bl-cloud.c1{left:6%;top:24%;width:110px}.bl-cloud.c2{left:58%;top:14%;width:90px;transform:scale(.8)}.bl-cloud.c3{left:30%;top:52%;width:140px;opacity:.7}
body:not(.reduced-motion) .bl-cloud{animation:bl-drift 60s linear infinite}
body:not(.reduced-motion) .bl-cloud.c2{animation-duration:85s;animation-delay:-30s}
body:not(.reduced-motion) .bl-cloud.c3{animation-duration:110s;animation-delay:-70s}
@keyframes bl-drift{from{translate:-40vw 0}to{translate:60vw 0}}
.bl-rule{position:relative;margin:0;padding:22px 20px 0;text-align:center;color:#0b3f7a;font:800 clamp(13px,1.4vw,16px)/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:.04em}
.bl-floater{position:absolute;left:50%;bottom:-14px;translate:-50% 0;width:clamp(110px,13vw,160px);height:auto;filter:drop-shadow(0 6px 6px rgba(0,0,0,.25))}
body:not(.reduced-motion) .bl-floater{animation:bl-bob 3.6s ease-in-out infinite}
@keyframes bl-bob{50%{translate:-50% 6px;rotate:-2deg}}
.bl-wave{position:absolute;left:0;right:0;bottom:0;height:10px;background:#1c78bd;box-shadow:0 -3px 0 rgba(255,255,255,.55)}
.bl-sea{display:grid;gap:12px;padding:26px max(16px,calc((100% - 640px)/2)) 28px;background:linear-gradient(180deg,#1c78bd 0%,#0d4f8f 22%,#082b55 60%,#041528 100%)}
.bl-howlink{justify-self:start;background:none;border:0;padding:4px 0;color:#bfe9ff;font:800 13px/1 "Segoe UI",Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.bl-howlink:hover,.bl-howlink:focus-visible{color:#fff;text-decoration:underline;outline:none}
.bl-party{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin-top:8px;padding:18px 18px 14px;text-align:left;cursor:pointer;
  background:rgba(4,21,40,.82);border:2px solid #38f6bf;color:#fff;box-shadow:0 0 0 3px rgba(56,246,191,.15)}
.bl-party:hover,.bl-party:focus-visible{background:#0b2a4a;outline:none;box-shadow:0 0 0 3px rgba(56,246,191,.45)}
.bl-party-tag{position:absolute;left:14px;top:-11px;padding:3px 8px;background:#38f6bf;color:#04213b;font:900 10px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.1em}
.bl-party-name{display:grid;gap:4px}
.bl-party-name b{font:900 22px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.06em}
.bl-party-name small{color:#b9d3ea;font-size:13px}
.bl-party-go{color:#38f6bf;font-size:22px}
.bl-descend{width:100%;padding:20px 16px;cursor:pointer;background:#041528;border:3px solid #6cc2ff;color:#fff;
  font:900 clamp(20px,2.6vw,28px)/1 var(--bh-font);text-transform:uppercase;letter-spacing:.14em;box-shadow:0 0 0 4px rgba(108,194,255,.18),0 10px 28px rgba(0,0,0,.4);transition:background .15s,border-color .15s,transform .15s}
.bl-descend:hover,.bl-descend:focus-visible{background:#0b3363;border-color:#fff;outline:none}
.bl-descend:active{transform:translateY(2px)}
.bl-scene.done .bl-descend{border-color:#38f6bf}
.bl-line{margin:0;color:#b9d3ea;font-size:14px;line-height:1.45;text-align:center}
.bl-line b{color:#fff}
.bl-under{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.bl-divenum{color:#7fa6c8;font:800 12px/1 "Segoe UI",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.bl-chips{display:flex;flex-wrap:wrap;gap:6px}
.bl-chip{padding:7px 11px;background:rgba(4,21,40,.7);border:1px solid #2e6ea8;color:#cfe3f5;font:800 12px/1 "Segoe UI",Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.bl-chip:hover,.bl-chip:focus-visible{border-color:#6cc2ff;color:#fff;outline:none}
@media(max-width:700px){.bl-sun{width:64px;height:64px;right:8%}.bl-under{justify-content:center}.bl-chips{justify-content:center}.bl-descend{letter-spacing:.08em}}
@media(prefers-reduced-motion:reduce){.bl-cloud,.bl-floater{animation:none!important}}
/* (the theme's button sizing stays out of the scene) */
.bl-scene button{min-height:0!important;height:auto!important;clip-path:none!important;transform:none;text-shadow:none}
.bl-scene .bl-party{padding:18px 18px 14px!important}
.bl-scene .bl-descend{padding:20px 16px!important}
.bl-scene .bl-chip{padding:7px 11px!important}
.bl-scene .bl-howlink{padding:4px 0!important}
.bl-sea{gap:12px!important}
.bl-sea{flex:1;align-content:start}
.bl-sea .bl-ex{margin-top:10px;padding:16px;background:rgba(4,21,40,.75);border:1px solid #2e6ea8}

/* ---------- RESET 44: the Minigames page as a board of today's games (web-games.js hubCards). Across the top, today: the
   puzzles' number, the time to the next ones, and a tick for each game done; then the games, each in a colour of its own,
   BrawlKrillion the big one with its diver. A game done today wears a Done ribbon. ---------- */
.mh{display:grid;gap:24px;padding:4px 12px 16px 0}
.mh-today{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px 26px;padding:14px 20px 14px 16px;background:var(--bh-card);
  border:3px solid var(--mm-navy,#06115e);box-shadow:6px 6px 0 var(--mm-navy,#06115e);color:#fff}
.mh-num{display:grid;justify-items:center;gap:3px;min-width:96px;padding:8px 14px 9px;background:var(--bh-yellow,#fff05a);color:var(--mm-navy,#06115e);border:3px solid var(--mm-navy,#06115e);
  box-shadow:3px 3px 0 var(--mm-navy,#06115e);transform:skewX(-8deg)}
.mh-num small{color:var(--mm-navy,#06115e);font:900 11px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.12em;text-shadow:none;-webkit-text-stroke:0}
.mh-num b{color:var(--mm-navy,#06115e);font:900 34px/1 var(--bh-font);text-shadow:none;-webkit-text-stroke:0}
.mh-next{display:grid;gap:5px;margin:0;color:#d7efff;font:800 15px/1.25 "Segoe UI",Arial,sans-serif}
.mh-next b{display:inline;color:#fff;font:900 24px/1 var(--bh-font);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.mh-next span{color:#9fc3dc;font:600 13px/1.3 "Segoe UI",Arial,sans-serif}
.mh-ticks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0;padding:0;list-style:none}
.mh-tick{display:inline-flex;align-items:center;gap:7px;padding:6px 11px 6px 8px;background:rgba(255,255,255,.07);border:2px solid var(--mm-navy,#06115e);color:#cfe6fa;font:800 12px/1 "Segoe UI",Arial,sans-serif}
.mh-tick i{position:relative;flex:none;width:16px;height:16px;border:2px solid #8fb6d3;border-radius:50%}
.mh-tick.done{background:var(--mm-mint,#38f6bf);color:var(--mm-navy,#06115e)}
.mh-tick.done i{border-color:var(--mm-navy,#06115e);background:var(--mm-navy,#06115e)}
.mh-tick.done i::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}

.mh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.mh-grid.with-dive .mh-krillion{grid-column:span 2;grid-row:span 2}
.mh-tile{--c1:#28b6ff;--c2:#0b5fb8;position:relative;display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden;background:var(--c2);color:#fff;text-decoration:none;
  border:3px solid var(--mm-navy,#06115e);box-shadow:7px 7px 0 var(--mm-navy,#06115e);transition:transform .14s cubic-bezier(.2,1.5,.4,1),box-shadow .14s}
.mh-art{position:relative;display:grid;place-items:center;height:156px;overflow:hidden;border-bottom:3px solid var(--mm-navy,#06115e);
  background:repeating-conic-gradient(from 4deg at 50% 115%,var(--c1) 0 7deg,color-mix(in srgb,var(--c1) 76%,#fff) 7deg 14deg)}
.mh-art>*{--art:1.4;transform:scale(var(--art));transition:transform .2s cubic-bezier(.2,1.6,.4,1);filter:drop-shadow(0 3px 0 rgba(6,17,94,.55))}
.mh-text{display:grid;align-content:start;gap:7px;min-width:0;padding:14px 16px 16px}
.mh-kind{color:color-mix(in srgb,var(--c1) 45%,#fff);font:900 11px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.1em}
.mh-text b{color:#fff;font:900 25px/1.05 var(--bh-font);text-transform:uppercase;overflow-wrap:anywhere;-webkit-text-stroke:.16em var(--mm-navy,#06115e);paint-order:stroke fill;text-shadow:0 3px 0 var(--mm-navy,#06115e)}
.mh-tag{color:#f1f8ff;font:600 14px/1.4 "Segoe UI",Arial,sans-serif}
.mh-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;margin-top:6px}
.mh-state{color:var(--bh-yellow,#fff05a);font:800 12px/1.3 "Segoe UI",Arial,sans-serif;text-shadow:0 1px 0 var(--mm-navy,#06115e)}
.mh-go{flex:none;padding:7px 13px 6px;background:var(--bh-yellow,#fff05a);color:var(--mm-navy,#06115e);border:2px solid var(--mm-navy,#06115e);box-shadow:2px 2px 0 var(--mm-navy,#06115e);
  font:900 12px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.03em;transform:skewX(-8deg)}
.mh-tile:hover,.mh-tile:focus-visible{z-index:1;transform:rotate(-1.4deg) translate(-2px,-3px);box-shadow:11px 11px 0 var(--mm-navy,#06115e)}
.mh-tile:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mh-tile:hover .mh-art>*,.mh-tile:focus-visible .mh-art>*{transform:scale(calc(var(--art) * 1.09)) rotate(-4deg)}
.mh-tile:hover .mh-go,.mh-tile:focus-visible .mh-go{background:#fff}
.mh-tile.done .mh-go{background:var(--mm-mint,#38f6bf)}
.mh-tile.done::after{content:"Done";position:absolute;z-index:2;top:16px;right:-38px;width:140px;padding:5px 0;transform:rotate(35deg);background:var(--mm-mint,#38f6bf);color:var(--mm-navy,#06115e);
  border-block:2px solid var(--mm-navy,#06115e);font:900 12px/1 var(--bh-font);text-align:center;text-transform:uppercase;letter-spacing:.12em}
/* each game's colours */
.mh-wordhalla{--c1:#22d6a0;--c2:#0b6f59}
.mh-brawldoku{--c1:#a782ff;--c2:#4a2aa6}
.mh-squads{--c1:#ffb53f;--c2:#a8480d}
.mh-glimpse{--c1:#ff74b8;--c2:#9a1858}
.mh-hilo{--c1:#ff6473;--c2:#9b1530}
/* BrawlKrillion: the big one, its diver on the right, the depths behind */
.mh-krillion{--c1:#36d4ff;--c2:#073d86;grid-template-rows:none;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:linear-gradient(180deg,#1d8bdd 0%,#0d5db2 42%,#06306f 100%)}
.mh-krillion .mh-art{order:2;height:auto;min-height:300px;border-bottom:0;background:none}
.mh-krillion .mh-art>*{--art:1;transform:none;filter:none}
.mh-krillion .mh-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:38% 40%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24%);mask-image:linear-gradient(90deg,transparent 0,#000 24%);transition:transform .25s cubic-bezier(.2,1.4,.4,1)}
.mh-krillion:hover .mh-art>*,.mh-krillion:focus-visible .mh-art>*{transform:scale(1.04) translateY(-4px)}
.mh-krillion .mh-text{order:1;align-content:center;gap:12px;padding:28px 8px 28px 28px}
.mh-krillion .mh-text b{font-size:clamp(28px,2.8vw,50px);overflow-wrap:normal;line-height:1}
/* an odd number of games (Glimpse switched on): the last is a wide tile across the board */
.mh-grid.odd .mh-tile:last-child{grid-column:1/-1;grid-template-rows:none;grid-template-columns:minmax(200px,300px) minmax(0,1fr)}
.mh-grid.odd .mh-tile:last-child .mh-art{height:auto;min-height:150px;border-bottom:0;border-right:3px solid var(--mm-navy,#06115e)}
.mh-grid.odd .mh-tile:last-child .mh-text{align-content:center;text-align:left;padding:18px 22px}
.mh-grid.odd .mh-tile:last-child .mh-foot{justify-content:flex-start;gap:10px 18px}
.mh-krillion .mh-tag{max-width:36ch;font-size:15.5px}
.mh-krillion .mh-kind{color:#bdf3ff}
.mh-krillion .mh-foot{justify-content:flex-start;gap:12px 16px;margin-top:10px}
.mh-krillion .mh-go{order:-1;padding:11px 22px 10px;font-size:16px}
@media(max-width:1300px){
  .mh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mh-grid.with-dive .mh-krillion{grid-column:1/-1;grid-row:auto}
  .mh-today{grid-template-columns:auto minmax(0,1fr)}.mh-ticks{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:640px){
  .mh{gap:16px;padding-right:6px}
  .mh-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .mh-today{grid-template-columns:auto minmax(0,1fr);padding:12px;gap:12px}
  .mh-num{min-width:72px}.mh-num b{font-size:26px}.mh-next b{font-size:20px}
  .mh-tile{grid-template-rows:none;grid-template-columns:104px minmax(0,1fr);box-shadow:5px 5px 0 var(--mm-navy,#06115e)}
  .mh-art{height:auto;min-height:118px;border-bottom:0;border-right:3px solid var(--mm-navy,#06115e)}
  .mh-art>*{--art:.8}
  .mh-text{padding:12px}.mh-text b{font-size:19px}.mh-tag{font-size:13px}
  .mh-krillion{grid-template-columns:minmax(0,1fr);grid-template-rows:180px auto}
  .mh-krillion .mh-art{order:0;min-height:0;border-right:0;border-bottom:3px solid var(--mm-navy,#06115e)}
  .mh-krillion .mh-art>img{-webkit-mask-image:none;mask-image:none;object-position:50% 30%}
  .mh-krillion .mh-text{padding:14px 14px 16px}
  .mh-tile.done::after{top:10px;right:-44px;font-size:10px}
}
body.reduced-motion .mh-tile,body.reduced-motion .mh-tile *{transition:none}
body.reduced-motion .mh-tile:is(:hover,:focus-visible){transform:none}
body.reduced-motion .mh-tile:is(:hover,:focus-visible) .mh-art>*{transform:scale(var(--art))}
body.reduced-motion .mh-krillion:is(:hover,:focus-visible) .mh-art>*{transform:none}
@media(prefers-reduced-motion:reduce){.mh-tile,.mh-tile *{transition:none}}
/* ---------- RESET 45: THE TILES' SCENES. Each game's tile on the Minigames board has a scene made of the legends (renders the
   site already has, and WebP copies of their heads): Wordhalla's mystery legend beside a board half guessed, Brawldoku's grid
   filling up under its weapons, Squadhalla's four squads in their colours, Higher or Lower's face-off. Sized by the art's own box
   (cqh: a hundredth of its height), so a scene is the same picture on a wide tile, a narrow one and a phone. ---------- */
.mh-tile:not(.mh-krillion) .mh-art.mh-has-scene{container-type:size;background:var(--c2)}
.mh-art>.mh-scene{--art:1;position:absolute;inset:0;overflow:hidden;transform:none;filter:none;transition:none}
.mh-tile:hover .mh-art>.mh-scene,.mh-tile:focus-visible .mh-art>.mh-scene{transform:none}
.mh-scene :where(span,i,b,img){position:absolute;display:block} /* :where: no weight, so each part's own rule wins */
.mh-scene :where(i){font-style:normal}
.mh-scene :where(img,i,b,span){transition:transform .28s cubic-bezier(.2,1.5,.4,1)}
/* Wordhalla: whose silhouette is it? */
.mh-sc-word{background:radial-gradient(ellipse 52% 90% at 76% 64%,#74f8d3 0,#33dcab 32%,transparent 72%),linear-gradient(162deg,#27cf9b 0%,#10906d 56%,#0a614c 100%)}
.mh-glyphs{inset:0}
.mh-glyphs i{color:rgba(255,255,255,.08);font:900 62cqh/1 var(--bh-font)}
.mh-glyphs i:nth-child(1){left:-4cqh;top:-14cqh;transform:rotate(-12deg)}
.mh-glyphs i:nth-child(2){left:34%;top:46cqh;transform:rotate(9deg)}
.mh-glyphs i:nth-child(3){left:58%;top:-22cqh;transform:rotate(-6deg)}
.mh-glyphs i:nth-child(4){right:-6cqh;top:40cqh;transform:rotate(14deg)}
.mh-glyphs i:nth-child(5){left:18%;top:60cqh;transform:rotate(-18deg);font-size:44cqh}
.mh-glyphs i:nth-child(6){left:44%;top:-8cqh;transform:rotate(20deg);font-size:36cqh}
.mh-board{left:max(14px,7cqw);top:50%;display:grid;grid-template-columns:repeat(5,15cqh);gap:2.4cqh;transform:translateY(-50%) rotate(-5deg)}
.mh-board i{position:relative;display:grid;place-items:center;height:15cqh;border:2px solid var(--mm-navy,#06115e);box-shadow:0 2px 0 var(--mm-navy,#06115e);color:#fff;font:900 8.6cqh/1 var(--bh-font)}
.mh-board i.g{background:var(--bh-sel,#00b8a4)}
.mh-board i.y{background:var(--bh-yellow,#fff05a);color:var(--bh-ink,#052a46)}
.mh-board i.x{background:var(--bh-mid,#0b5c96);color:#9fc4de}
.mh-board i.e{background:rgba(6,17,94,.22);border-color:rgba(6,17,94,.55);box-shadow:none}
.mh-board i.e:nth-child(11)::after{content:"";width:2px;height:8cqh;background:#fff;animation:mh-caret 1.1s steps(2,start) infinite}
@keyframes mh-caret{to{visibility:hidden}}
.mh-sil{right:max(10px,6cqw);bottom:-16cqh;height:124cqh;aspect-ratio:425/554;
  filter:drop-shadow(2px 0 0 var(--mm-mint,#38f6bf)) drop-shadow(-2px 0 0 var(--mm-mint,#38f6bf)) drop-shadow(0 2px 0 var(--mm-mint,#38f6bf)) drop-shadow(0 -2px 0 var(--mm-mint,#38f6bf)) drop-shadow(6px 5px 0 rgba(6,17,94,.4))}
.mh-sil i{inset:0;background:var(--mm-navy,#06115e);-webkit-mask:var(--m) center bottom/contain no-repeat;mask:var(--m) center bottom/contain no-repeat}
.mh-q{right:calc(max(10px,6cqw) + 70cqh);top:4cqh;color:var(--bh-yellow,#fff05a);font:900 64cqh/1 var(--bh-font);-webkit-text-stroke:.09em var(--mm-navy,#06115e);paint-order:stroke fill;text-shadow:4px 4px 0 var(--mm-navy,#06115e);transform:rotate(12deg)}
.mh-tile:is(:hover,:focus-visible) .mh-sil{transform:translateY(-4cqh)}
.mh-tile:is(:hover,:focus-visible) .mh-q{transform:rotate(-6deg) scale(1.12)}
/* Brawldoku: the grid under its weapons, a legend flying in */
.mh-sc-doku{background:radial-gradient(ellipse 46% 80% at 50% 50%,#bba0ff 0,#8c66f3 38%,transparent 74%),linear-gradient(180deg,#7a52e6 0%,#5631c2 58%,#3d2296 100%)}
.mh-floor{left:-40%;right:-40%;top:52%;height:110%;background:repeating-linear-gradient(90deg,rgba(255,255,255,.16) 0 2px,transparent 2px 13cqh),repeating-linear-gradient(0deg,rgba(255,255,255,.16) 0 2px,transparent 2px 13cqh);
  transform:perspective(90cqh) rotateX(64deg);transform-origin:50% 0;-webkit-mask:linear-gradient(180deg,#000,transparent 80%);mask:linear-gradient(180deg,#000,transparent 80%)}
.mh-doku{left:50%;top:50%;display:grid;grid-template-columns:13cqh repeat(3,20cqh);grid-auto-rows:20cqh;grid-template-rows:13cqh;gap:1.5cqh;padding:1.6cqh;
  background:var(--mm-navy,#06115e);box-shadow:5px 5px 0 rgba(6,17,94,.45);transform:translate(-50%,-50%) rotate(-4deg)}
.mh-doku>i{position:relative;display:grid;place-items:center;overflow:hidden;background:#6a49d6;color:#fff;font:900 10cqh/1 var(--bh-font)}
.mh-doku>i.h{background:none}
.mh-doku>i.h img{position:relative;width:13cqh;height:13cqh;border-radius:2px}
.mh-doku>i.f{background:var(--bh-sel,#00b8a4)}
.mh-doku>i.f img{position:relative;width:100%;height:100%;object-fit:cover}
.mh-doku>i.sel{background:#8f70ff;box-shadow:inset 0 0 0 2px var(--bh-yellow,#fff05a);color:var(--bh-yellow,#fff05a)}
.mh-fly{left:calc(50% + 47cqh);top:34cqh;width:21cqh;height:21cqh;border:2px solid var(--mm-navy,#06115e);background:var(--bh-yellow,#fff05a);box-shadow:4px 4px 0 rgba(6,17,94,.5);transform:rotate(10deg)}
.mh-fly img{position:relative;width:100%;height:100%}
.mh-fly::after{content:"";position:absolute;left:calc(100% + 5px);top:22%;width:22cqh;height:56%;background:repeating-linear-gradient(180deg,rgba(255,255,255,.75) 0 2px,transparent 2px 7px);
  -webkit-mask:linear-gradient(90deg,#000,transparent);mask:linear-gradient(90deg,#000,transparent)}
.mh-tile:is(:hover,:focus-visible) .mh-doku{transform:translate(-50%,-50%) rotate(-1deg) scale(1.04)}
.mh-tile:is(:hover,:focus-visible) .mh-fly{transform:translateX(-8cqh) rotate(-4deg)}
/* Squadhalla: four squads of four, in their colours; the top one found */
.mh-sc-squad{background:radial-gradient(rgba(168,72,13,.24) 1.3px,transparent 1.8px) 0 0/9px 9px,linear-gradient(135deg,#ffd166 0%,#ffa833 46%,#e8661c 100%)}
.mh-band{left:-14%;right:-14%;height:21cqh;display:flex;align-items:center;justify-content:center;border-block:2px solid var(--mm-navy,#06115e);box-shadow:0 3px 0 rgba(6,17,94,.4);transform:rotate(-5deg)}
.mh-band>span{position:relative;display:flex;align-items:center;gap:2.4cqh}
.mh-band img{position:relative;width:17cqh;height:17cqh;border:2px solid var(--mm-navy,#06115e);background:#fff;box-shadow:2px 2px 0 rgba(6,17,94,.45)}
.mh-band-yellow{top:3cqh;background:#ffe052}.mh-band-yellow>span{transform:translateX(-12cqh)}
.mh-band-green{top:27cqh;background:#4fe39c}.mh-band-green>span{transform:translateX(10cqh)}
.mh-band-blue{top:51cqh;background:#6cc2ff}.mh-band-blue>span{transform:translateX(-6cqh)}
.mh-band-purple{top:75cqh;background:#c7a6ff}.mh-band-purple>span{transform:translateX(14cqh)}
.mh-found{position:relative;width:14cqh;height:14cqh;margin-left:1cqh;border-radius:50%;background:var(--mm-navy,#06115e);box-shadow:0 0 0 2px #fff}
.mh-found::after{content:"";position:absolute;left:36%;top:18%;width:24%;height:46%;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.mh-tile:is(:hover,:focus-visible) .mh-band>span{transform:translateX(0)}
/* Higher or Lower: two legends face off */
.mh-sc-hilo{background:radial-gradient(rgba(6,17,94,.22) 1.3px,transparent 1.8px) 0 0/9px 9px,linear-gradient(100deg,#ff8290 0%,#ff5a6c 50%,#c01c3d 50%,#8d1130 100%)}
.mh-seam{left:50%;top:-10%;width:9cqh;height:120%;background:var(--bh-yellow,#fff05a);transform:translateX(-50%) rotate(10deg);
  clip-path:polygon(40% 0,100% 0,62% 36%,92% 36%,22% 100%,44% 52%,8% 52%);filter:drop-shadow(2px 0 0 var(--mm-navy,#06115e)) drop-shadow(-2px 0 0 var(--mm-navy,#06115e))}
.mh-hl-l,.mh-hl-r{bottom:-12cqh;filter:drop-shadow(2px 0 0 var(--mm-navy,#06115e)) drop-shadow(-2px 0 0 var(--mm-navy,#06115e)) drop-shadow(0 -2px 0 var(--mm-navy,#06115e)) drop-shadow(5px 4px 0 rgba(6,17,94,.4))}
.mh-hl-l{left:max(4px,4cqw);height:118cqh;width:auto;aspect-ratio:346/507}
.mh-hl-r{right:max(0px,2cqw);height:112cqh;width:auto;aspect-ratio:579/552;transform:scaleX(-1)}
.mh-vs{left:50%;top:50%;display:grid;justify-items:center;gap:1.4cqh;transform:translate(-50%,-50%)}
.mh-vs b{position:relative;display:grid;place-items:center;width:22cqh;height:22cqh;background:var(--bh-yellow,#fff05a);border:2px solid var(--mm-navy,#06115e);box-shadow:3px 3px 0 var(--mm-navy,#06115e)}
.mh-vs b svg{width:80%;height:80%;fill:none;stroke:var(--mm-navy,#06115e);stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.mh-vs i{position:relative;display:grid;place-items:center;width:30cqh;height:30cqh;border-radius:50%;background:var(--mm-navy,#06115e);color:#fff;font:900 20cqh/1 var(--bh-font);box-shadow:0 0 0 2px #fff}
.mh-tile:is(:hover,:focus-visible) .mh-hl-l{transform:translateX(3cqh)}
.mh-tile:is(:hover,:focus-visible) .mh-hl-r{transform:scaleX(-1) translateX(3cqh)}
.mh-tile:is(:hover,:focus-visible) .mh-vs b:first-child{transform:translateY(-2cqh)}
.mh-tile:is(:hover,:focus-visible) .mh-vs b:last-child{transform:translateY(2cqh)}
@container (max-width:330px){
  .mh-board{left:12px;grid-template-columns:repeat(5,12.5cqh);gap:2cqh}.mh-board i{height:12.5cqh;font-size:7.4cqh}
  .mh-sil{right:-5cqw;height:112cqh}.mh-q{right:calc(62cqh - 5cqw);font-size:52cqh}
  .mh-fly{left:calc(50% + 44cqh)}
}
/* phones: the scene across the top of its tile, as BrawlKrillion's is */
@media(max-width:640px){
  .mh-tile:not(.mh-krillion):has(.mh-has-scene){grid-template-columns:none;grid-template-rows:auto 1fr}
  .mh-tile:not(.mh-krillion) .mh-art.mh-has-scene{height:124px;min-height:0;border-right:0;border-bottom:3px solid var(--mm-navy,#06115e)}
}
body.reduced-motion .mh-scene *{transition:none;animation:none}
/* ---------- RESET 46: BRAWLKRILLION'S DIVE, made like the other games' scenes. The sea fills the whole card, from its sunlit top
   to the seabed: light from above, the krill, kelp. In the picture's half, Mako (the legends' own shark) watches five answers sink
   down a depth line, one for each of the game's kinds of answer in its own colours, from Plankton to One in a krillion. The
   picture's half is sized by its own box (cqh: a hundredth of its height; it's tall and narrow on a wide screen). ---------- */
.mh-krillion{background:#0b56a8}
.mh-krillion>.mh-text,.mh-krillion>.mh-art{position:relative;z-index:1}
.mh-kbg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  background:radial-gradient(ellipse 70% 38% at 28% -8%,rgba(255,255,255,.3),transparent 72%),linear-gradient(180deg,#1ba5ef 0%,#127fd2 27%,#0b56a8 60%,#062a66 100%)}
.mh-kbg>*{position:absolute;display:block}
.mh-krays{inset:-10% -25% 0;background:repeating-linear-gradient(104deg,transparent 0 8%,rgba(255,255,255,.08) 8% 12%,transparent 12% 19%,rgba(255,255,255,.05) 19% 21%,transparent 21% 27%);
  -webkit-mask:linear-gradient(180deg,#000 0,transparent 78%);mask:linear-gradient(180deg,#000 0,transparent 78%);transform-origin:30% 0;animation:mh-kray 10s ease-in-out infinite alternate}
@keyframes mh-kray{to{transform:skewX(-6deg)}}
.mh-ksurf{left:0;right:0;top:0;height:14px;background:radial-gradient(ellipse 50% 80% at 50% 0,rgba(255,255,255,.5),transparent 72%) 0 0/64px 14px repeat-x}
.mh-krill{left:36%;top:3%;width:34%;height:18%;opacity:.45;background:radial-gradient(circle,#ffb4c8 0 1.4px,transparent 1.9px) 0 0/13px 11px,radial-gradient(circle,#ff8db0 0 1.1px,transparent 1.6px) 6px 5px/17px 15px;
  -webkit-mask:radial-gradient(closest-side,#000 25%,transparent);mask:radial-gradient(closest-side,#000 25%,transparent);animation:mh-krill 16s ease-in-out infinite alternate}
@keyframes mh-krill{to{transform:translate(6%,10%) rotate(4deg)}}
.mh-kkelp{left:-4px;bottom:7%;height:40%;width:auto;aspect-ratio:120/200;overflow:visible}
.mh-kkelp path{fill:none;stroke:#0f8a73;stroke-width:9;stroke-linecap:round;opacity:.5;transform-origin:50% 100%;animation:mh-kelp 6s ease-in-out infinite alternate}
.mh-kkelp path:nth-child(2){animation-delay:-2s;opacity:.4}.mh-kkelp path:nth-child(3){animation-delay:-4s}
@keyframes mh-kelp{to{transform:rotate(3deg)}}
.mh-kbed{left:0;bottom:0;width:100%;height:11%}
.mh-kbed path{fill:#041f4c}
.mh-krillion .mh-art{container-type:size}
/* Mako's height: most of the half's height, but never wider than the half */
.mh-kscene{--mh:min(56cqh,78cqw);--mw:calc(var(--mh) * 1.19);position:absolute;inset:0;overflow:hidden}
.mh-kscene>*{position:absolute;display:block}
.mh-kmako{left:0;bottom:3cqh;height:var(--mh);width:auto;aspect-ratio:554/466;transition:transform .3s cubic-bezier(.2,1.5,.4,1);
  filter:drop-shadow(2px 0 0 var(--mm-navy,#06115e)) drop-shadow(-2px 0 0 var(--mm-navy,#06115e)) drop-shadow(0 -2px 0 var(--mm-navy,#06115e)) drop-shadow(6px 6px 0 rgba(6,17,94,.4))}
.mh-kbubs{left:calc(var(--mw) * .76);bottom:calc(3cqh + var(--mh) * .68);width:max(18px,6cqh);height:min(30cqh,calc(95cqh - var(--mh) * .68))}
.mh-kbubs i{position:absolute;bottom:0;width:var(--b,2.4cqh);height:var(--b,2.4cqh);border-radius:50%;border:2px solid rgba(255,255,255,.85);background:radial-gradient(circle at 32% 30%,rgba(255,255,255,.9) 0 18%,rgba(255,255,255,.12) 22%);animation:mh-bub 4.2s linear infinite}
.mh-kbubs i:nth-child(1){left:10%;--b:2.6cqh}.mh-kbubs i:nth-child(2){left:52%;--b:1.6cqh;animation-delay:-.7s}.mh-kbubs i:nth-child(3){left:24%;--b:2cqh;animation-delay:-1.4s}
.mh-kbubs i:nth-child(4){left:62%;--b:2.8cqh;animation-delay:-2.1s}.mh-kbubs i:nth-child(5){left:0;--b:1.4cqh;animation-delay:-2.8s}.mh-kbubs i:nth-child(6){left:40%;--b:2.2cqh;animation-delay:-3.5s}
@keyframes mh-bub{0%{transform:translateY(0);opacity:0}12%{opacity:1}80%{opacity:.9}100%{transform:translate(4px,calc(-1 * min(30cqh,calc(95cqh - var(--mh) * .68))));opacity:0}}
/* the depth line: each answer sinks to its kind's depth, in a bubble of its colour */
.mh-kgauge{--ball:max(30px,6.6cqh);right:calc(6% + var(--ball) / 2);top:calc(4cqh + var(--ball) / 2);height:min(44cqh,calc(97cqh - var(--mh) - var(--ball) * 1.5));width:2px;background:repeating-linear-gradient(180deg,rgba(255,255,255,.55) 0 2px,transparent 2px 7px)}
.mh-kmark{position:absolute;right:calc(var(--ball) / -2 + 1px);display:flex;align-items:center;gap:7px;white-space:nowrap;transform:translateY(-50%)}
.mh-ktag{display:grid;justify-items:end;gap:2px}
.mh-ktag b{color:var(--t);font:900 12px/1 var(--bh-font);text-transform:uppercase;letter-spacing:.04em;-webkit-text-stroke:.24em var(--mm-navy,#06115e);paint-order:stroke fill}
.mh-ktag small{color:#d7efff;font:800 11px/1 "Segoe UI",Arial,sans-serif;text-shadow:0 1px 0 var(--mm-navy,#06115e)}
.mh-kball{position:relative;flex:none;width:var(--ball);height:var(--ball);border-radius:50%;overflow:hidden;background:#0b56a8;
  box-shadow:0 0 0 2px var(--t),0 0 0 4px var(--mm-navy,#06115e),0 0 14px 2px color-mix(in srgb,var(--t) 55%,transparent)}
.mh-kball img{position:relative;display:block;width:100%;height:100%;object-fit:cover}
.mh-kball::after{content:"";position:absolute;left:16%;top:12%;width:26%;height:18%;border-radius:50%;background:rgba(255,255,255,.75);transform:rotate(-30deg)} /* the bubble's shine */
.mh-kt-plankton{--t:#d7efff}.mh-kt-schooler{--t:#8ff0c6}.mh-kt-rare{--t:#63d8ff}.mh-kt-deepcut{--t:#c3b0ff}.mh-kt-krillion{--t:#ffe27a}
.mh-kt-krillion .mh-kball{box-shadow:0 0 0 2px var(--t),0 0 0 4px var(--mm-navy,#06115e),0 0 22px 6px color-mix(in srgb,var(--t) 70%,transparent)}
.mh-krillion .mh-art>.mh-kscene,.mh-krillion:is(:hover,:focus-visible) .mh-art>.mh-kscene{transform:none}
.mh-krillion:is(:hover,:focus-visible) .mh-kmako{transform:translate(1.4cqh,-1.4cqh) rotate(-2deg)}
.mh-krillion:is(:hover,:focus-visible) .mh-kmark{transform:translateY(calc(-50% + 1.2cqh))}
/* a wide half (a tablet): Mako keeps to the left, so the answers sink down the whole right side */
@container (min-aspect-ratio:1/1) and (min-height:251px){.mh-kgauge{height:calc(92cqh - var(--ball) * 1.2)}}
/* a short half (a phone's banner): the answers as a row of bubbles across the top, no words */
@container (max-height:250px){
  .mh-kscene{--mh:min(80cqh,78cqw)}.mh-kmako{left:4%}
  .mh-kgauge{--ball:22px;top:auto;bottom:auto;right:5%;top:12cqh;height:2px;width:min(58cqw,190px);background:repeating-linear-gradient(90deg,rgba(255,255,255,.55) 0 2px,transparent 2px 7px)}
  .mh-kmark{right:auto;top:50%!important;left:var(--x);transform:translate(-50%,-50%)}.mh-ktag{display:none}
  .mh-kt-plankton{--x:0%}.mh-kt-schooler{--x:25%}.mh-kt-rare{--x:50%}.mh-kt-deepcut{--x:75%}.mh-kt-krillion{--x:100%}
  .mh-krillion:is(:hover,:focus-visible) .mh-kmark{transform:translate(-50%,-50%)}
}
body.reduced-motion :is(.mh-krays,.mh-krill,.mh-kkelp path,.mh-kbubs i){animation:none}
body.reduced-motion .mh-kbubs i:nth-child(odd){transform:translateY(-10cqh)}

/* (3 Dec) small phones (360 px and under): the dive's play area keeps to the screen instead of running off its right edge */
.bl-sea{grid-template-columns:minmax(0,1fr)}
.bl-sea>*{min-width:0}
.bl-sea .bl-kind,.bl-sea .bl-prompt,.bl-sea .bl-sinks{overflow-wrap:anywhere}
/* the depth scale under the dive on a small phone: names that fit their fifth of the width */
@media(max-width:420px){.bl-gz{gap:1px!important}.bl-gz-row b{font-size:8px!important;letter-spacing:-.2px!important;white-space:normal;overflow-wrap:normal;word-break:keep-all}.bl-gz-row div{min-width:0}}
/* (3 Dec) Squadhalla's results: the squads found and the ones missed, set apart; then each guess */
.gm-sq-res{display:grid;gap:14px;width:min(680px,100%)}
.gm-sq-sum{display:flex;align-items:baseline;justify-content:center;gap:12px;margin:0;color:#fff;font:800 16px/1.2 "Segoe UI",Arial,sans-serif}
.gm-sq-sum b{font:900 30px/1 var(--bh-font)}.gm-sq-sum span{color:#b9dcf2;font-weight:700}
.gm-rbands{display:grid;gap:8px}
.gm-rband{--bc:#ffe052;position:relative;display:grid;gap:8px;padding:10px 12px 12px;border-radius:8px}
.gm-rband.yellow{--bc:#ffe052}.gm-rband.green{--bc:#4fe39c}.gm-rband.blue{--bc:#6cc2ff}.gm-rband.purple{--bc:#c7a6ff}
.gm-rband.got{background:var(--bc);color:#121212}
.gm-rband.missed{background:repeating-linear-gradient(135deg,#0b1a33 0 12px,#0e2140 12px 24px);color:#fff;border:2px dashed color-mix(in srgb,var(--bc) 75%,transparent);box-shadow:inset 6px 0 0 var(--bc)}
.gm-rband-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gm-rband-top b{font:800 15px/1.15 "Segoe UI",Arial,sans-serif;text-transform:uppercase;letter-spacing:.3px}
.gm-rband-tag{padding:2px 8px;border-radius:999px;font:800 11.5px/1.4 "Segoe UI",Arial,sans-serif;white-space:nowrap}
.gm-rband.got .gm-rband-tag{background:#12121222;color:#121212}
.gm-rband.missed .gm-rband-tag{background:#ff4d6a;color:#fff}
.gm-rband-faces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.gm-rface{display:grid;justify-items:center;gap:3px;min-width:0}
.gm-rface img{width:48px;height:48px;object-fit:cover;border-radius:50%;background:#ffffff40}
.gm-rband.missed .gm-rface img{background:#ffffff14;opacity:.8;filter:saturate(.6)}
.gm-rface small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px/1.2 "Segoe UI",Arial,sans-serif}
.gm-sq-h{margin:4px 0 0;color:#fff;font:900 14px/1 var(--bh-font);text-transform:uppercase}
.gm-sq-tries{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.gm-sq-tries li{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 10px;background:#ffffff0d;border-left:4px solid #59708f;border-radius:6px;color:#fff;font:600 13px/1.3 "Segoe UI",Arial,sans-serif}
.gm-sq-tries li.ok{border-left-color:#38f6bf}.gm-sq-tries li.away{border-left-color:#ffd23f}.gm-sq-tries li.no{border-left-color:#ff4d6a}
.gm-try-n{color:#b9dcf2;font-weight:800;min-width:1.2em}
.gm-try-sq{display:flex;gap:3px}.gm-try-sq i{width:16px;height:16px;border-radius:3px;background:#59708f}
.gm-try-sq i.yellow{background:#ffe052}.gm-try-sq i.green{background:#4fe39c}.gm-try-sq i.blue{background:#6cc2ff}.gm-try-sq i.purple{background:#c7a6ff}
.gm-try-names{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7efff}
.gm-sq-tries b{font-weight:800;white-space:nowrap}.gm-sq-tries li.ok b{color:#38f6bf}.gm-sq-tries li.away b{color:#ffd23f}.gm-sq-tries li.no b{color:#ff8a98}
@media(max-width:560px){.gm-sq-tries li{grid-template-columns:auto auto minmax(0,1fr)}.gm-sq-tries b{grid-column:2/-1}.gm-rface img{width:40px;height:40px}}
/* (3 Dec) admins' test puzzles */
.gm-status .gm-testbtn{margin-left:auto}
.gm-status.gm-testing{box-shadow:inset 0 -3px 0 #ffd23f}
.gm-status.gm-testing b{color:#ffd23f}
