@charset "UTF-8";
/* ==========================================================================
   OCBuitenland: spelletjes (Blokkenval, Slang, 2048, Mijnenveger) + hub
   Geladen NA theme.css. Donker "arcade"-paneel op de lichte Aurora-pagina.
   ========================================================================== */

.gm-wrap { padding: 1.5rem 0 1rem; }
.gm-intro { padding: 2.4rem 0 .4rem; background: linear-gradient(180deg, #fbfcff, var(--bg)); position: relative; overflow: hidden; }
.gm-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 260px at 10% 0, rgba(16, 185, 129, .18), transparent 70%), radial-gradient(560px 280px at 92% 0, rgba(99, 102, 241, .2), transparent 70%); pointer-events: none; }
.gm-intro .container { position: relative; }
.gm-crumb { font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.gm-crumb a { color: var(--blue); }
.gm-intro h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 900; color: var(--ink); margin: .2rem 0 .7rem; }
.gm-intro .gm-lead { max-width: 680px; font-size: 1.08rem; line-height: 1.6; color: #3b4663; margin: 0 0 .4rem; }
.gm-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.gm-chips span { font-size: .78rem; font-weight: 650; color: #2a3350; background: rgba(255, 255, 255, .9); border: 1px solid var(--border); border-radius: 999px; padding: .32rem .75rem; }

/* ---- het paneel ---- */
.gm {
  --gm-bg: #0a1022; --gm-panel: rgba(255, 255, 255, .055); --gm-line: rgba(148, 163, 255, .2); --gm-text: #e8edfb; --gm-mute: #93a0c4;
  position: relative; max-width: 980px; margin: 0 auto; color: var(--gm-text); border-radius: 26px; padding: 1.1rem 1.1rem 1.2rem;
  background:
    radial-gradient(520px 300px at 0% 0%, rgba(16, 185, 129, .2), transparent 65%),
    radial-gradient(560px 340px at 100% 0%, rgba(99, 102, 241, .28), transparent 65%),
    radial-gradient(480px 300px at 50% 120%, rgba(6, 182, 212, .16), transparent 65%),
    var(--gm-bg);
  border: 1px solid var(--gm-line);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 40px 80px -30px rgba(40, 40, 120, .55), 0 0 60px -20px rgba(16, 185, 129, .35);
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.gm.is-full { max-width: none; border-radius: 0; overflow: auto; display: flex; flex-direction: column; justify-content: center; }
.gm-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .9rem; }
.gm-name { display: flex; align-items: center; gap: .65rem; font-weight: 850; letter-spacing: -.02em; font-size: 1.15rem; }
.gm-name i { font-style: normal; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); font-size: 1.2rem; box-shadow: 0 8px 20px -8px rgba(16, 185, 129, .8); }
.gm-name small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .02em; color: var(--gm-mute); }
.gm-tools { display: flex; gap: .4rem; flex-wrap: wrap; }
.gm-tool {
  display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; color: var(--gm-text);
  background: var(--gm-panel); border: 1px solid var(--gm-line); border-radius: 999px; padding: .42rem .85rem; transition: background .15s, transform .15s, border-color .15s;
}
.gm-tool i { font-style: normal; }
.gm-tool:hover { background: rgba(255, 255, 255, .11); border-color: rgba(167, 139, 250, .55); transform: translateY(-1px); }
.gm-tool[aria-pressed="true"] { border-color: rgba(16, 185, 129, .6); background: rgba(16, 185, 129, .14); }
.gm :focus-visible { outline: 2px solid #a5b4fc; outline-offset: 2px; box-shadow: none; }

.gm-btn { font: inherit; font-weight: 750; cursor: pointer; border-radius: 14px; padding: .8rem 1.5rem; border: 1px solid transparent; transition: transform .15s, filter .15s, background .15s; color: #fff; }
.gm-btn-main { background: var(--grad); box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .9); color: #04201a; }
.gm-btn-main:hover { filter: brightness(1.08); transform: translateY(-2px); }
.gm-btn-ghost { background: var(--gm-panel); border-color: var(--gm-line); }
.gm-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.gm-stat { background: var(--gm-panel); border: 1px solid var(--gm-line); border-radius: 14px; padding: .55rem .8rem; min-width: 0; }
.gm-stat span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gm-mute); }
.gm-stat b { display: block; font-size: 1.35rem; line-height: 1.2; font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; transform-origin: left center; }
.gm-stat.hi b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- speelveld + overlay ---- */
.gm-field { position: relative; border-radius: 18px; overflow: hidden; }
.gm-ov { position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center; padding: 1rem; text-align: center; background: rgba(6, 10, 24, .72); -webkit-backdrop-filter: blur(7px) saturate(140%); backdrop-filter: blur(7px) saturate(140%); }
.gm-ov.on { display: flex; animation: gm-fade .25s ease both; }
@keyframes gm-fade { from { opacity: 0; } to { opacity: 1; } }
.gm-ov-in { max-width: 320px; animation: gm-pop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes gm-pop { from { transform: translateY(10px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.gm-ov-emoji { font-size: 2.6rem; line-height: 1; margin-bottom: .4rem; filter: drop-shadow(0 8px 18px rgba(99, 102, 241, .6)); }
.gm-ov h3 { margin: 0 0 .4rem; font-size: 1.7rem; letter-spacing: -.03em; font-weight: 900; color: #fff; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gm-ov p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.55; color: #c9d2ee; }
.gm-ov-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: .5rem; margin: 0 0 1rem; }
.gm-ov-stats div { background: rgba(255, 255, 255, .07); border: 1px solid var(--gm-line); border-radius: 12px; padding: .5rem .4rem; }
.gm-ov-stats b { display: block; font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; }
.gm-ov-stats span { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gm-mute); font-weight: 700; }
.gm-ov-badge { display: inline-block; margin-bottom: .9rem; padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #3b2300; background: linear-gradient(120deg, #fde68a, #fbbf24); box-shadow: 0 8px 20px -8px rgba(251, 191, 36, .9); animation: gm-pulse 1.4s ease-in-out infinite; }
@keyframes gm-pulse { 50% { transform: scale(1.06); } }
.gm-ov-btns { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }
.gm-ov-hint { margin-top: .9rem; font-size: .74rem; color: var(--gm-mute); line-height: 1.5; }

.gm-p { position: absolute; z-index: 6; border-radius: 2px; pointer-events: none; will-change: transform, opacity; }
.gm-toast { position: absolute; z-index: 7; left: 50%; top: 38%; transform: translateX(-50%); pointer-events: none; white-space: nowrap; font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 18px rgba(16, 185, 129, .95), 0 2px 0 rgba(0, 0, 0, .35); animation: gm-toast 1.3s cubic-bezier(.2, .8, .3, 1) both; }
.gm-toast.big { font-size: 1.8rem; color: #fde68a; text-shadow: 0 0 22px rgba(251, 191, 36, .95), 0 2px 0 rgba(0, 0, 0, .35); }
@keyframes gm-toast { 0% { opacity: 0; transform: translate(-50%, 12px) scale(.7); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.08); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -34px) scale(1); } }

/* ---- touchbediening ---- */
.gm-pad { display: none; margin-top: .9rem; gap: .5rem; }
.gm-pad button { font: inherit; touch-action: none; cursor: pointer; border-radius: 18px; border: 1px solid var(--gm-line); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); color: #fff; font-size: 1.35rem; font-weight: 800; min-height: 56px; display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8); transition: transform .08s, background .08s; }
.gm-pad button small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gm-mute); margin-top: -.15rem; }
.gm-pad button:active, .gm-pad button.down { transform: scale(.94); background: rgba(16, 185, 129, .3); }
@media (pointer: coarse), (max-width: 760px) { .gm-pad { display: grid; } .gm-keys { display: none !important; } }
@media (max-width: 760px) { .gm-tools { width: 100%; flex-wrap: nowrap; } .gm-tool { flex: 1 1 0; justify-content: center; padding: .5rem .4rem; font-size: .75rem; white-space: nowrap; } [data-gm="full"] { display: none !important; } .gm-top { margin-bottom: .6rem; } }

.gm-keys { display: flex; flex-wrap: wrap; gap: .4rem .9rem; justify-content: center; margin-top: .9rem; font-size: .76rem; color: var(--gm-mute); }
.gm-keys kbd { font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid var(--gm-line); border-bottom-width: 2px; border-radius: 6px; padding: .22rem .45rem; margin-right: .3rem; }
.gm-keys span { display: inline-flex; align-items: center; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Blokkenval (tetris)
   ========================================================================== */
.tt { display: grid; grid-template-columns: 150px auto 150px; gap: 1rem; justify-content: center; align-items: start; }
.tt-side { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.tt-box { background: var(--gm-panel); border: 1px solid var(--gm-line); border-radius: 14px; padding: .55rem .6rem .6rem; }
.tt-box > span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gm-mute); margin-bottom: .35rem; }
.tt-box canvas { display: block; width: 100%; }
#tt-hold { aspect-ratio: 4 / 3; }
#tt-next { aspect-ratio: 4 / 9; }
.tt-field { background: #060a18; border: 1px solid var(--gm-line); box-shadow: 0 0 40px -10px rgba(99, 102, 241, .55) inset, 0 0 40px -14px rgba(16, 185, 129, .6); }
#tt-board { display: block; height: min(70vh, 640px); aspect-ratio: 1 / 2; width: auto; touch-action: none; }
.tt .gm-stat b { font-size: 1.3rem; }
.tt-pad { grid-template-columns: repeat(6, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
.tt-pad button:nth-child(1), .tt-pad button:nth-child(2) { grid-column: span 1; }

@media (max-width: 760px) {
  .tt { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tt-left, .tt-right { order: 1; }
  .tt-field { order: 2; grid-column: 1 / -1; justify-self: center; }
  .tt-side { flex-direction: row; gap: .5rem; flex-wrap: wrap; }
  .tt-side .tt-box, .tt-side .gm-stat { flex: 1 1 calc(50% - .25rem); }
  .tt-box canvas { height: 52px; width: 100% !important; aspect-ratio: auto !important; }
  .tt-box { padding: .45rem .6rem; }
  #tt-board { height: min(54vh, 500px); }
  .tt-pad { grid-template-columns: repeat(3, 1fr); }
  .gm { padding: .8rem; border-radius: 22px; }
}

/* ==========================================================================
   Slang (snake)
   ========================================================================== */
.sn-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.sn-opts { display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center; margin-bottom: .8rem; }
.sn-seg { display: inline-flex; align-items: center; gap: .15rem; background: var(--gm-panel); border: 1px solid var(--gm-line); border-radius: 999px; padding: .2rem; }
.sn-seg label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-mute); padding: 0 .55rem 0 .65rem; }
.sn-seg button { font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; color: var(--gm-text); background: none; border: 0; border-radius: 999px; padding: .34rem .75rem; transition: background .15s; }
.sn-seg button:hover { background: rgba(255, 255, 255, .1); }
.sn-seg button[aria-pressed="true"] { background: var(--grad); color: #04201a; }
.sn-field { max-width: 620px; margin: 0 auto; background: #060a18; border: 1px solid var(--gm-line); box-shadow: 0 0 40px -10px rgba(99, 102, 241, .55) inset; }
#sn-board { display: block; width: 100%; aspect-ratio: 1 / 1; touch-action: none; }
.sn-pad { grid-template-columns: repeat(3, 1fr); max-width: 300px; margin-left: auto; margin-right: auto; }
.sn-pad .u { grid-column: 2; } .sn-pad .l { grid-column: 1; grid-row: 2; } .sn-pad .d { grid-column: 2; grid-row: 2; } .sn-pad .r { grid-column: 3; grid-row: 2; }

/* ==========================================================================
   2048
   ========================================================================== */
.g48-top { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; max-width: 520px; margin: 0 auto .8rem; }
.g48-top .gm-stat { min-width: 92px; text-align: right; } .g48-top .gm-stat b { transform-origin: right center; }
.g48-goal { font-size: .88rem; color: var(--gm-mute); line-height: 1.35; }
.g48-goal b { color: #fff; font-size: 1.05rem; }
.g48-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 auto .8rem; max-width: 520px; }
.g48-field { max-width: 520px; margin: 0 auto; border-radius: 20px; touch-action: none; }
.g48-board { --n: 4; --gap: 2.6%; --s: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); position: relative; aspect-ratio: 1 / 1; background: #11193a; border: 1px solid var(--gm-line); border-radius: 20px; padding: var(--gap); box-shadow: 0 0 40px -10px rgba(99, 102, 241, .5) inset; }
.g48-cells, .g48-tiles { position: absolute; inset: var(--gap); container-type: inline-size; }
.g48-cell, .g48-tile { position: absolute; width: var(--s); height: var(--s); left: calc(var(--x) * (var(--s) + var(--gap))); top: calc(var(--y) * (var(--s) + var(--gap))); }
.g48-cell { border-radius: 12px; background: rgba(255, 255, 255, .06); }
.g48-tile { border-radius: 12px; font-weight: 900; letter-spacing: -.03em; color: #fff; font-size: calc(42cqw / var(--n)); transition: left .12s ease-out, top .12s ease-out; }
.g48-tile > b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; font: inherit; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .28); text-shadow: 0 2px 6px rgba(0, 0, 0, .28); }
.g48-tile.new > b { animation: g48-new .18s ease-out both; }
.g48-tile.merged > b { animation: g48-merge .22s ease-out both; }
@keyframes g48-new { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes g48-merge { 0% { transform: scale(1); } 45% { transform: scale(1.2); filter: brightness(1.35); } 100% { transform: scale(1); } }
.g48-tile.v2 > b { background: linear-gradient(145deg, #3b4a86, #2b366b); }
.g48-tile.v4 > b { background: linear-gradient(145deg, #4a5fb8, #3748a0); }
.g48-tile.v8 > b { background: linear-gradient(145deg, #0ea5b7, #0e7490); }
.g48-tile.v16 > b { background: linear-gradient(145deg, #14b8a6, #0f766e); }
.g48-tile.v32 > b { background: linear-gradient(145deg, #22c55e, #15803d); }
.g48-tile.v64 > b { background: linear-gradient(145deg, #a3e635, #4d7c0f); color: #10200a; text-shadow: none; }
.g48-tile.v128 > b { background: linear-gradient(145deg, #facc15, #ca8a04); color: #2b1c00; text-shadow: none; }
.g48-tile.v256 > b { background: linear-gradient(145deg, #fb923c, #c2410c); }
.g48-tile.v512 > b { background: linear-gradient(145deg, #f43f5e, #be123c); }
.g48-tile.v1024 > b { background: linear-gradient(145deg, #c026d3, #7e22ce); }
.g48-tile.v2048 > b { background: linear-gradient(145deg, #6366f1, #10b981); box-shadow: 0 0 30px 2px rgba(99, 102, 241, .75), 0 0 60px rgba(16, 185, 129, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.g48-tile.vbig > b { background: linear-gradient(145deg, #111827, #312e81); box-shadow: 0 0 26px rgba(167, 139, 250, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.g48-tile[data-d="3"] > b { font-size: .86em; } .g48-tile[data-d="4"] > b { font-size: .7em; } .g48-tile[data-d="5"] > b { font-size: .58em; }
.g48-size .gm-tool[aria-pressed="true"] { border-color: rgba(16, 185, 129, .7); }
.g48-pad { grid-template-columns: repeat(3, 1fr); max-width: 300px; margin-left: auto; margin-right: auto; }
.g48-pad .u { grid-column: 2; } .g48-pad .l { grid-column: 1; grid-row: 2; } .g48-pad .d { grid-column: 2; grid-row: 2; } .g48-pad .r { grid-column: 3; grid-row: 2; }
@media (max-width: 520px) { .g48-top { grid-template-columns: 1fr 1fr; } .g48-goal { grid-column: 1 / -1; } .g48-top .gm-stat { text-align: left; } }

/* ==========================================================================
   Mijnenveger
   ========================================================================== */
.mj-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; max-width: 640px; margin: 0 auto .75rem; }
.mj-top .gm-stat:last-child { text-align: right; } .mj-top .gm-stat b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; color: #fecaca; }
.mj-face { font: inherit; width: 58px; height: 58px; border-radius: 18px; font-size: 1.9rem; cursor: pointer; display: grid; place-items: center; border: 1px solid var(--gm-line); background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .9); transition: transform .12s; }
.mj-face:hover { transform: scale(1.06) rotate(-4deg); }
.mj-face:active { transform: scale(.94); }
.mj-lv { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 0 auto .8rem; }
.mj-lv .gm-tool small { color: var(--gm-mute); font-weight: 600; }
.mj-wrap { position: relative; max-width: 100%; overflow: auto; border-radius: 18px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.mj-field { display: inline-block; min-width: 100%; text-align: center; }
.mj-board { --c: 36px; --g: 2px; --p: 8px; display: inline-grid; gap: var(--g); padding: var(--p); background: #11193a; border: 1px solid var(--gm-line); border-radius: 18px; box-shadow: 0 0 40px -10px rgba(99, 102, 241, .5) inset; touch-action: manipulation; vertical-align: top; text-align: center; }
.mj-c { -webkit-touch-callout: none; width: var(--c); height: var(--c); border-radius: 7px; display: grid; place-items: center; font-weight: 900; font-size: calc(var(--c) * .52); line-height: 1; cursor: pointer; position: relative; font-variant-numeric: tabular-nums; transition: background .12s, transform .12s; background: linear-gradient(145deg, #3c4a8e, #2b3670); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 0 rgba(0, 0, 0, .35); }
.mj-c:hover:not(.open) { background: linear-gradient(145deg, #4b5bb0, #364488); }
.mj-c.open { background: #0b1230; box-shadow: inset 0 0 0 1px rgba(148, 163, 255, .1); cursor: default; animation: mj-open .18s ease-out both; }
@keyframes mj-open { from { transform: scale(.7); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.mj-c.flag::after { content: "🚩"; font-size: calc(var(--c) * .52); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.mj-c.mine { background: #3b0d1c; }
.mj-c.mine::after { content: "💣"; font-size: calc(var(--c) * .55); }
.mj-c.boom { background: #be123c; animation: mj-boom .4s ease-out both; }
@keyframes mj-boom { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.mj-c.wrong { background: #3b0d1c; } .mj-c.wrong::after { content: "❌"; font-size: calc(var(--c) * .45); }
.mj-c.focus { outline: 2px solid #a5b4fc; outline-offset: -2px; }
.n1 { color: #60a5fa; } .n2 { color: #34d399; } .n3 { color: #fb7185; } .n4 { color: #a78bfa; } .n5 { color: #fb923c; } .n6 { color: #22d3ee; } .n7 { color: #e5e7eb; } .n8 { color: #94a3b8; }
.mj-msg { margin: 1rem auto 0; max-width: 640px; }
.mj-msg-in { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: var(--gm-panel); border: 1px solid var(--gm-line); border-radius: 18px; padding: .9rem 1.1rem; animation: gm-pop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.mj-msg-in > div { flex: 1 1 200px; min-width: 0; }
.mj-msg-e { font-size: 2rem; }
.mj-msg-in b { display: inline-block; font-size: 1.1rem; color: #fff; margin-right: .6rem; }
.mj-msg-in .gm-ov-badge { margin: 0; font-size: .7rem; padding: .2rem .6rem; }
.mj-msg-in p { margin: .2rem 0 0; font-size: .88rem; color: #c9d2ee; line-height: 1.45; }
.mj-msg[hidden] { display: none; }
.mj-hint { text-align: center; font-size: .78rem; color: var(--gm-mute); margin-top: .7rem; }
.mj-modebar { display: none; justify-content: center; gap: .5rem; margin-top: .8rem; }
.mj-modebar .gm-tool { padding: .6rem 1.1rem; font-size: .86rem; }
@media (pointer: coarse), (max-width: 760px) { .mj-modebar { display: flex; } }

/* ==========================================================================
   Hub
   ========================================================================== */
.gh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin: 1.6rem 0 0; }
.gh-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none !important; color: #e8edfb !important; background: #0a1022; border: 1px solid rgba(148, 163, 255, .22); box-shadow: 0 24px 50px -26px rgba(30, 30, 100, .7); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gh-card:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, .6); box-shadow: 0 30px 60px -24px rgba(79, 70, 229, .75), 0 0 40px -14px rgba(16, 185, 129, .6); }
.gh-art { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(260px 160px at 20% 0, rgba(16, 185, 129, .35), transparent 70%), radial-gradient(260px 160px at 90% 10%, rgba(99, 102, 241, .45), transparent 70%), #0d1530; }
.gh-art svg { width: 78%; height: auto; max-height: 86%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); transition: transform .3s; }
.gh-card:hover .gh-art svg { transform: scale(1.06) rotate(-1.5deg); }
.gh-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.gh-body h2 { margin: 0 !important; font-size: 1.25rem !important; color: #fff !important; letter-spacing: -.02em; }
.gh-body p { margin: 0 !important; font-size: .88rem; line-height: 1.5; color: #b6c0e0 !important; flex: 1; }
.gh-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; font-size: .76rem; color: #93a0c4; }
.gh-meta b { color: #6ee7b7; font-weight: 800; }
.gh-go { white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; color: #04201a; background: var(--grad); border-radius: 999px; padding: .38rem .85rem; font-size: .8rem; }
.gh-best { font-variant-numeric: tabular-nums; }

.gh-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gh-4 .gh-art { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .gh-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gh-4 { grid-template-columns: 1fr; } .gh-4 .gh-art { aspect-ratio: 16 / 9; } }
.gm-more { margin-top: 2.4rem; }
.gm-more .gh-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gm-more .gh-art { aspect-ratio: 16 / 8; }
.gm-info { max-width: 780px; margin: 2rem auto 0; }

@media (prefers-reduced-motion: reduce) {
  .gm *, .gh-card, .g48-tile { animation: none !important; transition: none !important; }
}

@media (max-width: 520px) { .gm-wrap .container { padding-left: .45rem; padding-right: .45rem; } .gm-info { padding: 0 .8rem; } .gm { padding: .7rem; } }
