/* ============================================================
   GameRoch — the app's screens on gameroch.com (owner, 1 Nov 2026)

   "website puri app ke hisaab se update karo kch bhi aisa miss nhi hona chahiye": the website runs the
   app's own screens and looks (css/app.css). This file is the website's own layer on top of it, linked
   only by the website's copy of index.html (tools/webapp-html.mjs), and every rule starts with
   #gr-complete[data-host=app][data-platform=web], so it cannot change the app.

   On a phone's browser the website is the app. On a wider screen (the shell's container from 621px, the
   same switch the website always used) the same screens spread out: the tabs become a column on the
   left, the top bar carries search, the balances and the app links, and every screen gets room — lists
   and forms keep a line a person can read, shelves that scrolled sideways wrap into grids (a mouse has
   no swipe), and a game's page, Compete, the quiz hub, Trending, Profile and Edit become two columns.
   Colours and type come only from the theme's own variables and the app's two fonts, so Everyday Blue,
   Playground and After Hours all work; margins and positions are logical, so Arabic mirrors.

   Sizes the page changes at: 760px (a tablet that is not narrow), 900 (a small laptop), 1100, 1240.
   ============================================================ */

/* ---------- every width: the website is a page, not a phone app ---------- */
/* words can be selected and copied on a website (the app turns selection off) */
#gr-complete[data-host=app][data-platform=web] *{-webkit-user-select:auto;user-select:auto}
#gr-complete[data-host=app][data-platform=web] button,#gr-complete[data-host=app][data-platform=web] [role=button]{-webkit-user-select:none;user-select:none}

/* WALLET and MORE: "Get the GameRoch app" (js/app/getapp.js) — the website's own card, at every width */
#gr-complete[data-host=app][data-platform=web] .gr-getapp{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;padding:14px 16px;border-radius:20px;background:var(--app-panel);
  border:1px solid var(--app-line);color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-appmore + .gr-getapp{margin-top:16px}
#gr-complete[data-host=app][data-platform=web] .gr-applist + .gr-getapp{margin-top:18px}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-ico{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:var(--gr-tint);color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-ico svg{width:22px;height:22px}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-t{display:flex;flex-direction:column;gap:3px;flex:1 1 220px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-t b{font:700 16px/1.2 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-t small{font:500 13px/1.35 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-links{display:flex;flex:none;gap:8px}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-link{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 15px;border-radius:999px;border:1px solid var(--app-line);
  background:var(--gr-bg);color:var(--app-ink);font:600 14px/1 'DM Sans',sans-serif;text-decoration:none}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-link svg{flex:none;width:16px;height:16px}
#gr-complete[data-host=app][data-platform=web] .gr-getapp-link:hover{border-color:var(--app-blue);color:var(--app-blue)}

/* the balances in the top bar take the theme's own card in After Hours (Apple black) */
#gr-complete[data-host=app][data-platform=web][data-theme=adult] #gr-coins,
#gr-complete[data-host=app][data-platform=web][data-theme=adult] #gr-rp{background:var(--app-panel);border-color:var(--app-line);color:var(--app-ink)}

/* the arrows of a sliding row (js/app/home.js slideArrows): Home's own soft round buttons; the title row keeps their
   height while they are hidden or the shelf is still being read, so nothing moves when they appear */
#gr-complete[data-host=app][data-platform=web] .gr-hshelf.is-new .gr-hhead-row{min-height:36px}
#gr-complete[data-host=app][data-platform=web] .gr-hslide{display:inline-flex;gap:8px;flex:none}
#gr-complete[data-host=app][data-platform=web] .gr-hslide[hidden]{display:none}
/* a phone browser swipes the row, as the app does: no arrows there */
@media (max-width:620px){#gr-complete[data-host=app][data-platform=web] .gr-hslide{display:none}}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn{display:inline-grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;
  border:1px solid var(--app-line);border-radius:999px;background:var(--app-panel,#fff);color:var(--app-ink);box-shadow:0 6px 16px -10px rgba(20,24,60,.45);
  transition:background-color .15s,transform .15s,opacity .15s}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn svg{width:18px;height:18px}
html[dir=rtl] #gr-complete[data-host=app][data-platform=web] .gr-hslide-btn svg{transform:scaleX(-1)}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn:hover:not(:disabled){background:color-mix(in srgb,var(--app-blue) 10%,var(--app-panel,#fff))}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn:active:not(:disabled){transform:scale(.94)}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-hslide-btn:disabled{opacity:.35;cursor:default;box-shadow:none}

/* ---------- a computer, a tablet: the same screens, spread out ---------- */
/* HOME WHILE THE PLAYER IS BEING READ (11 Nov 2026, js/app/home.js holding()): the player's own shelves hold their place at
   the size they will have — a New game's card, three Recently played covers with their name lines — in Home's own grey. */
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-newhero{width:min(334px,86vw);height:226px;border-radius:24px}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-recent{width:124px;height:auto;background:none;opacity:1}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-recent::before{content:'';display:block;aspect-ratio:124/165;border-radius:16px;background:var(--app-line);opacity:.6}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-recent::after{content:'';display:block;height:56px}
#gr-complete[data-host=app][data-platform=web] .gr-hme.is-holding .gr-hme-face{background:var(--app-line);opacity:.6}
/* the header's account places while the account is read (js/core/appearance.js holdPlace): kept, empty, invisible */
#gr-complete[data-host=app][data-platform=web] .gr-header-actions .is-holding{visibility:hidden;pointer-events:none}

/* ===== THE PLAYER'S TOOLBAR (website, 11 Nov 2026; js/app/stage.js buildToolbar) =====
   Its own band above the game, never over it: the way back in words, the game's name, the game's own menu when the
   game can show it. Dark glass over the stage's light, as before — now with the band drawn, a hairline under it, white
   words at any theme (production.css gave the pill the theme's dark ink: unreadable on the dark glass). */
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer{--gpx-band:56px}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gp-chrome{pointer-events:auto;padding:0 12px;
  background:linear-gradient(180deg,rgba(22,28,52,.94),rgba(9,13,27,.94));-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
  border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 6px 20px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.07)}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gp-bar{position:relative;display:flex;align-items:center;gap:12px}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gp-bar > button.gr-gpx-close,#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gp-bar > .gr-gpx-menu{color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close,#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu{display:inline-flex;align-items:center;gap:6px;height:38px;min-height:38px;max-width:40%;padding:0 14px 0 9px;
  border:1px solid rgba(255,255,255,.2);border-radius:19px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
  box-shadow:0 4px 14px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.18);color:#fff;font:700 14px/1.1 'Outfit',sans-serif;letter-spacing:-.005em;
  white-space:nowrap;transition:transform .15s ease,background .15s ease,border-color .15s ease}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close > .gr-gpx-home{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close > .gr-visually-hidden{position:static;width:auto;height:auto;margin:0;overflow:hidden;clip:auto;clip-path:none;white-space:nowrap;text-overflow:ellipsis;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close svg,#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu svg{flex:none;width:18px;height:18px;stroke-width:2.4}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu{padding:0 14px 0 11px;margin-inline-start:0}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu[hidden]{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu span{overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-close,.gr-gpx-menu):hover{background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.1));border-color:rgba(255,255,255,.34)}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-close,.gr-gpx-menu):active{transform:scale(.96)}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-close,.gr-gpx-menu,.gr-gpx-stay,.gr-gpx-go):focus-visible{outline:3px solid #8fb4ff;outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer #gr-gp-title{position:absolute;left:50%;top:50%;width:auto;height:auto;max-width:34%;overflow:hidden;clip-path:none;transform:translate(-50%,-50%);
  color:#fff;font:700 15px/1.2 'Outfit',sans-serif;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 8px rgba(0,0,0,.4);pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gp-bar .gr-gp-status{margin-inline-start:auto}
/* leaving asks once, inside the toolbar (never over the game) */
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask{position:absolute;z-index:5;top:0;left:0;right:0;height:var(--gpx-band);display:flex;align-items:center;justify-content:center;gap:16px;padding:0 14px;
  background:linear-gradient(180deg,#1e2648,#0c1124);border-bottom:1px solid rgba(255,255,255,.16);color:#fff;
  animation:gpx-ask-in .18s ease-out both}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask[hidden]{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer[data-asking=yes] .gr-gp-bar{visibility:hidden}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask-q{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 15px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask-acts{display:flex;flex:none;gap:10px}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-stay,.gr-gpx-go){height:38px;min-height:38px;padding:0 18px;border-radius:19px;font:700 14px/1 'Outfit',sans-serif;white-space:nowrap;transition:transform .15s ease,filter .15s ease}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-stay{border:0;background:linear-gradient(180deg,#5b8cff,#2f63e6);color:#fff;box-shadow:0 6px 16px rgba(47,99,230,.45),inset 0 1px 0 rgba(255,255,255,.3)}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-go{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-stay,.gr-gpx-go):hover{filter:brightness(1.08)}
#gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-stay,.gr-gpx-go):active{transform:scale(.96)}
@keyframes gpx-ask-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask{animation:none}}
#gr-complete[data-host=app][data-platform=web][data-motion=off] .gr-gameplayer .gr-gpx-ask{animation:none}
/* a narrow window: the name gives way first, then the words of the menu */
@media (max-width:620px){
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer #gr-gp-title{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close,#gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu{max-width:none;padding-inline:9px 12px;font-size:13px}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask{justify-content:space-between;gap:10px}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask-q{font-size:13.5px}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-stay,.gr-gpx-go){padding:0 12px;font-size:13px}
}

@container gr-shell (min-width: 621px) {

  /* ===== THE TOP BAR: the wordmark, search as a field, the balances, the app links and the player ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-header{gap:14px;min-height:68px;padding:12px 24px;border-bottom:1px solid var(--app-line)}
  #gr-complete[data-host=app][data-platform=web] .gr-brand{margin-right:0;margin-inline-end:0;flex:none}
  #gr-complete[data-host=app][data-platform=web][data-apptab=no] .gr-brand{position:static;transform:none;bottom:auto}
  /* the back arrow keeps its place on the tabs too (unseen there), so the wordmark never jumps between a tab and the page below it */
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-back{display:inline-flex;visibility:hidden;flex:none;margin-left:0;margin-inline-start:-8px}
  #gr-complete[data-host=app][data-platform=web][data-apptab=no] .gr-appbar-back{visibility:visible}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-back:hover{background:var(--gr-tint)}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-tools{flex:1 1 auto;min-width:0;justify-content:center;gap:4px}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-find{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:10px;min-width:0;overflow:hidden;
    width:min(560px,100%);height:44px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--app-line);
    background:var(--app-panel);color:var(--app-muted);font:500 14.5px/1 'DM Sans',sans-serif;cursor:text}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-find svg{flex:none;width:18px;height:18px;stroke-width:2.2}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-find span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-find:hover{border-color:var(--app-blue)}
  #gr-complete[data-host=app][data-platform=web] [data-appbar=search].gr-appbar-ic{display:none!important}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions{gap:8px}
  /* the two store links, where the bar has room for them (the website always offered them) */
  @container gr-shell (min-width: 1180px) {
    #gr-complete[data-host=app][data-platform=web] #gr-applinks{display:inline-flex!important}
  }
  #gr-complete[data-host=app][data-platform=web] #gr-coins:not([hidden]),
  #gr-complete[data-host=app][data-platform=web] #gr-rp:not([hidden]),
  #gr-complete[data-host=app][data-platform=web] #gr-signin:not([hidden]){display:inline-flex!important}
  #gr-complete[data-host=app][data-platform=web] .gr-player{display:inline-flex!important}

  /* ===== THE TABS, as a column on the left: Home, Games, Compete, Profile, More (js/core/appearance.js) ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-layout{grid-template-columns:212px minmax(0,1fr)}
  #gr-complete[data-host=app][data-platform=web] .gr-sidebar{padding:18px 12px;background:var(--gr-bg);border-right:0;border-inline-end:1px solid var(--app-line)}
  #gr-complete[data-host=app][data-platform=web] .gr-rail{display:flex;flex-direction:column;gap:4px}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;
    min-height:48px;padding:0 14px;border-radius:14px;background:none;color:var(--app-ink);font:600 15.5px/1.2 'Outfit',sans-serif;
    letter-spacing:-.01em;text-align:start}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem svg{flex:none;width:22px;height:22px;stroke-width:2;color:var(--app-muted)}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem:hover{background:var(--gr-tint)}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem[aria-current=page]{background:var(--gr-tint);color:var(--app-blue);font-weight:700}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem[aria-current=page] svg{color:var(--app-blue);stroke-width:2.4}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-nav-dot{margin-left:0;margin-inline-start:auto}
  #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-side-lang{margin-top:14px;border-radius:14px}

  /* a TABLET (621–899px): the tabs shrink to an icon over its name, so the page keeps its room */
  @container gr-shell (max-width: 899px) {
    #gr-complete[data-host=app][data-platform=web] .gr-layout{grid-template-columns:84px minmax(0,1fr)}
    #gr-complete[data-host=app][data-platform=web] .gr-sidebar{padding:14px 8px}
    #gr-complete[data-host=app][data-platform=web] .gr-rail{gap:6px}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem{flex-direction:column;justify-content:center;gap:5px;min-height:64px;padding:8px 2px;border-radius:14px;
      font-size:12px;letter-spacing:0;text-align:center}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-navitem span:not(.gr-nav-dot){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-nav-dot{position:absolute;top:9px;inset-inline-end:20px;margin:0}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-side-lang{flex-direction:column;justify-content:center;gap:4px;min-height:60px;padding:8px 2px;text-align:center}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-side-lang svg:last-child{display:none}
    #gr-complete[data-host=app][data-platform=web] .gr-rail .gr-side-lang-name{flex:none;max-width:100%;font-size:11px;text-align:center}
  }

  /* ===== THE PAGE: room on the sides, and no line longer than a screen can read ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-main{padding:24px 32px 56px}
  /* (owner, 13 Nov 2026: "excessive unused horizontal space"): the page starts one gutter from the tabs and uses the
     width up to 1600px, instead of a 1180px column floating in the middle of a wide screen */
  #gr-complete[data-host=app][data-platform=web] .gr-main > *{max-width:1600px;margin-inline:0 auto}
  @container gr-shell (max-width: 899px) {
    #gr-complete[data-host=app][data-platform=web] .gr-main{padding:20px 24px 48px}
  }

  /* pages of settings, lists and forms are a column to read, not a wall: 800px, in the middle */
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-topline,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-panel,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-section-head,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-buttons,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-filters,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-empty,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-note,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .model-prepare,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-appmore,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-lb,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .gr-dy{max-width:800px}
  /* the website's big page titles (56px on a phone's screen too) are a screen's headline here, not a poster */
  #gr-complete[data-host=app][data-platform=web] .gr-topline h1,
  #gr-complete[data-host=app][data-platform=web] .nx-head h1{font:800 clamp(28px,2.6cqw,34px)/1.1 'Outfit',sans-serif;letter-spacing:-.025em;color:var(--app-ink)}
  #gr-complete[data-host=app][data-platform=web] .gr-topline p,
  #gr-complete[data-host=app][data-platform=web] .nx-head p{font-size:15px}

  /* ===== SHELVES: a phone swipes a row sideways, a mouse cannot — so on a computer every shelf wraps into a grid ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-hchips{flex-wrap:wrap;overflow:visible;margin-inline:0;padding-inline:0}
  #gr-complete[data-host=app][data-platform=web] .gr-hchips::after{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow{--web-min:136px;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--web-min),1fr));gap:20px 16px;
    margin-inline:0;padding:2px 0 4px;overflow:visible;scroll-snap-type:none}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow::after{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow > *{width:auto;min-width:0}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-hchal),
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-ctour),
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-cfame){--web-min:262px;gap:16px}
  /* New on GameRoch is ONE sliding row (owner, 12 Nov 2026): the cards keep their size and the row scrolls sideways
     (trackpad, shift + wheel, or the arrows by the title), as the app's row does — never a wall of cards. */
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:is(.is-new,.is-slide){display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;scrollbar-width:none;
    padding:2px 0 26px;margin-bottom:-22px}  /* room for the cards' glow, which the sideways scroll would otherwise cut flat */
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:is(.is-new,.is-slide)::-webkit-scrollbar{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:is(.is-new,.is-slide) > *{flex:none;scroll-snap-align:start}
  /* Recently played as one row (owner, 13 Nov 2026): covers at the grid's own size, the rest a slide away */
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-slide{gap:16px;padding-bottom:22px;margin-bottom:-18px}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-slide > :is(.gr-htile,.gr-hskel){width:156px}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-new .gr-hnew{width:min(360px,88%);min-height:226px}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-new .gr-hskel.is-newhero{width:min(360px,88%)}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-hqday){--web-min:128px;gap:14px}
  #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-hqday) > .gr-hqday{grid-column:1 / -1;margin-top:0}
  /* a cover is as wide as its cell, whatever that is, and keeps the shape the artist drew */
  #gr-complete[data-host=app][data-platform=web] .gr-htile-art{width:100%;height:auto;aspect-ratio:3/4}
  #gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent .gr-htile-art{width:100%;height:auto;aspect-ratio:3/4}
  #gr-complete[data-host=app][data-platform=web] .gr-hcard-art{width:100%;height:auto;aspect-ratio:3/4}
  #gr-complete[data-host=app][data-platform=web] .gr-hskel.is-chal{width:auto}
  #gr-complete[data-host=app][data-platform=web] .gr-hskel.is-recent{width:auto}
  #gr-complete[data-host=app][data-platform=web] .gr-hskel.is-recent::before{aspect-ratio:3/4}

  /* ===== HOME ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-hchips{margin-top:0;padding-top:2px}
  #gr-complete[data-host=app][data-platform=web] .gr-hhead h2{font-size:22px}
  #gr-complete[data-host=app][data-platform=web] .gr-hshelf{margin-top:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-hchips + .gr-hshelf{margin-top:22px}
  #gr-complete[data-host=app][data-platform=web] .gr-hmore:hover{background:var(--gr-tint)}
  #gr-complete[data-host=app][data-platform=web] .gr-htile:hover .gr-htile-art,
  #gr-complete[data-host=app][data-platform=web] .gr-hcard:hover .gr-hcard-art{box-shadow:0 14px 30px -16px rgba(14,24,48,.55)}
  #gr-complete[data-host=app][data-platform=web] .gr-hshort{margin-top:36px}
  #gr-complete[data-host=app][data-platform=web] .gr-hshort-tile:hover{border-color:var(--app-blue)}
  /* Continue playing, and a genre's page: a banner is not the width of the page */
  #gr-complete[data-host=app][data-platform=web] .gr-hcont{min-height:196px;padding:22px 28px;grid-template-columns:132px minmax(0,1fr);gap:24px}
  #gr-complete[data-host=app][data-platform=web] .gr-hcont-cover{width:132px;height:176px}
  #gr-complete[data-host=app][data-platform=web] .gr-hfeats{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:16px}
  /* Quiz Nova: today's quiz beside its topics once there is room for five columns of them (nine tiles in two rows, so no row starts under the quiz card) */
  @container gr-shell (min-width: 1216px) {
    #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-hqday){grid-template-columns:minmax(230px,280px) repeat(auto-fill,minmax(var(--web-min),1fr))}
    #gr-complete[data-host=app][data-platform=web] .gr-hrow:has(> .gr-hqday) > .gr-hqday{grid-column:auto;grid-row:span 2}
  }
  /* the week's chart: two columns (1–3 down the left, 4–5 down the right) once there is room and enough of it */
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-htrend:has(> li:nth-child(4)){display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,auto);grid-template-columns:repeat(2,minmax(0,1fr));
      column-gap:0;background-image:linear-gradient(var(--app-line),var(--app-line));background-repeat:no-repeat;background-size:1px calc(100% - 20px);
      background-position:50% 50%}
    #gr-complete[data-host=app][data-platform=web] .gr-htrend:has(> li:nth-child(4)) > .gr-htrend-li:nth-child(4)::before{display:none}
  }

  /* ===== GAMES ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-gh1{font-size:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-appsearch{max-width:640px;height:50px}
  #gr-complete[data-host=app][data-platform=web] .gr-gall{margin-top:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-gtitle{font-size:22px}
  #gr-complete[data-host=app][data-platform=web] .gr-ggrid,
  #gr-complete[data-host=app][data-platform=web] .gr-game-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
  #gr-complete[data-host=app][data-platform=web] .gr-gposter:hover .gr-gposter-cover img{filter:brightness(1.06)}
  #gr-complete[data-host=app][data-platform=web] .gr-htopics{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
  /* the week's most played game: a banner, its cover as big as it was made to be */
  @container gr-shell (min-width: 760px) {
    #gr-complete[data-host=app][data-platform=web] .gr-gspot{grid-template-columns:minmax(0,1fr) 188px;grid-template-areas:"tag art" "text art" "act art";grid-template-rows:auto 1fr auto;
      gap:14px 40px;align-items:start;padding:30px 36px;border-radius:28px}
    #gr-complete[data-host=app][data-platform=web] .gr-gspot-cover{width:188px;height:251px;align-self:center;border-radius:20px}
    #gr-complete[data-host=app][data-platform=web] .gr-gspot-text{align-self:center}
    #gr-complete[data-host=app][data-platform=web] .gr-gspot h2{font-size:42px}
    #gr-complete[data-host=app][data-platform=web] .gr-gspot-text>p{max-width:520px;font-size:16.5px}
    #gr-complete[data-host=app][data-platform=web] .gr-gspot-act{align-self:end}
  }

  /* ===== A GAME'S PAGE: the cover beside the page, staying in view while the comments scroll ===== */
  @container gr-shell (min-width: 760px) {
    #gr-complete[data-host=app][data-platform=web] .gr-gd{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);grid-template-rows:repeat(6,auto) minmax(0,1fr);column-gap:32px;align-items:start}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-hero{grid-column:1;grid-row:1 / 8;position:sticky;top:92px;margin:2px 0 0;aspect-ratio:3/4;border-radius:22px;
      box-shadow:0 22px 44px -26px rgba(14,24,48,.55)}
    #gr-complete[data-host=app][data-platform=web] .gr-gd > :not(.gr-gd-hero){grid-column:2;min-width:0}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-head{padding-top:4px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-head h1{font-size:32px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-line{max-width:620px;font-size:16px}
    #gr-complete[data-host=app][data-platform=web] .gr-appplay{width:min(100%,380px);margin:20px 0 14px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-acts{max-width:560px;gap:10px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-act:hover{border-color:var(--app-blue)}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-tabs{margin-bottom:18px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-tab{flex:0 0 auto;padding:0 22px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-body{max-width:720px}
  }
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-gd{grid-template-columns:minmax(240px,min(400px,38%)) minmax(0,1fr);column-gap:44px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-hero{border-radius:26px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-head h1{font-size:38px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-meta{font-size:15.5px}
    #gr-complete[data-host=app][data-platform=web] .gr-gd-line{font-size:16.5px}
    #gr-complete[data-host=app][data-platform=web] .gr-appplay{margin:22px 0 16px}
  }
  @container gr-shell (max-width: 759px) {
    #gr-complete[data-host=app][data-platform=web] .gr-gd{max-width:620px}
  }

  /* ===== COMPETE: the league card is a banner (the podium, then where you stand) and the weeks run in a grid ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-ctitle h1{font-size:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-cb{margin-top:18px;padding:18px 24px 22px;border-radius:30px}
  @container gr-shell (min-width: 1100px) {
    #gr-complete[data-host=app][data-platform=web] .gr-cb-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto repeat(4,max-content) minmax(0,1fr);
      column-gap:36px;align-items:start}
    #gr-complete[data-host=app][data-platform=web] .gr-cb-body > .gr-cb-div{grid-column:1 / -1;margin-top:4px}
    #gr-complete[data-host=app][data-platform=web] .gr-cb-body > .gr-cb-podium{grid-column:1;grid-row:2 / 7;align-self:center}
    #gr-complete[data-host=app][data-platform=web] .gr-cb-body > :not(.gr-cb-div):not(.gr-cb-podium):not(.gr-cb-skel){grid-column:2}
    #gr-complete[data-host=app][data-platform=web] .gr-cb-body > .gr-cb-skel{grid-column:1 / -1}
  }

  /* an event's page: its medals stay in view beside the standings — below the top bar, not under it */
  #gr-complete[data-host=app][data-platform=web] .nxe-side{top:92px}

  /* ===== HALL OF FAME: the player's weeks, two to a row ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-hf-shelf{max-width:520px;margin-inline:auto}
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-hf-rows,
  #gr-complete[data-host=app][data-platform=web] .gr-hf-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  }

  /* ===== MISSIONS: the week's four goals, two by two ===== */
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-ms-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  }

  /* ===== ACHIEVEMENTS: the cabinet a little smaller, so the hero is a banner and the page begins sooner ===== */
  #gr-complete[data-host=app][data-platform=web] .nxt-cab{--nxt-m:152px}

  /* ===== QUIZ NOVA's hub: today's quiz and your stars side by side, the topics in wrapping rows ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-qh-head h1{font-size:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-qh-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px;margin-inline:0;padding:2px 0 4px;overflow:visible;scroll-snap-type:none}
  #gr-complete[data-host=app][data-platform=web] .gr-qh-row::after{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-qh-row > *{width:auto;min-width:0}
  #gr-complete[data-host=app][data-platform=web] .gr-qh-shelf{margin-top:30px}
  #gr-complete[data-host=app][data-platform=web] .gr-qh-day{padding:22px 24px 20px}
  @container gr-shell (min-width: 1000px) {
    #gr-complete[data-host=app][data-platform=web] .gr-qh{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);column-gap:20px}
    #gr-complete[data-host=app][data-platform=web] .gr-qh > *{grid-column:1 / -1}
    #gr-complete[data-host=app][data-platform=web] .gr-qh > .gr-qh-head{grid-row:1}
    #gr-complete[data-host=app][data-platform=web] .gr-qh > .gr-qh-day{grid-column:1;grid-row:2;margin-top:0}
    #gr-complete[data-host=app][data-platform=web] .gr-qh > .gr-qh-climb{grid-column:2;grid-row:2;margin-top:0;align-content:center}
  }

  /* ===== TRENDING: the game on fire beside the next two, then the chart in two columns ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-tr-tabs{flex-wrap:wrap;overflow:visible;margin-inline:0;padding-inline:0}
  @container gr-shell (max-width: 899px) {
    #gr-complete[data-host=app][data-platform=web] .gr-tr-top{aspect-ratio:4/3}
  }
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-tr{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.75fr);column-gap:24px;align-items:start}
    #gr-complete[data-host=app][data-platform=web] .gr-tr > *{grid-column:1 / -1}
    #gr-complete[data-host=app][data-platform=web] .gr-tr > .gr-tr-top{grid-column:1;margin-bottom:0}
    #gr-complete[data-host=app][data-platform=web] .gr-tr > .gr-tr-pair{grid-column:2;align-self:stretch;margin-bottom:0}
    #gr-complete[data-host=app][data-platform=web] .gr-tr-card-cover{flex:1 1 auto;aspect-ratio:auto;min-height:240px}
    #gr-complete[data-host=app][data-platform=web] .gr-tr:not(:has(> .gr-tr-pair)) > .gr-tr-top{grid-column:1;max-width:520px}
    #gr-complete[data-host=app][data-platform=web] .gr-tr-chart{display:block;column-count:2;column-gap:44px;margin-top:26px}
    #gr-complete[data-host=app][data-platform=web] .gr-tr-chart > li{break-inside:avoid}
  }

  /* ===== PROFILE: the player card and what is to be done on the left, the rest to its right ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-ppage{max-width:760px}
  #gr-complete[data-host=app][data-platform=web] .gr-pstory{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
  #gr-complete[data-host=app][data-platform=web] .gr-ppage .gr-hrow{--web-min:112px}
  @container gr-shell (min-width: 1240px) {
    #gr-complete[data-host=app][data-platform=web] .gr-ppage{display:flow-root;max-width:1180px}
    #gr-complete[data-host=app][data-platform=web] .gr-ppage > .gr-pcard,
  #gr-complete[data-host=app][data-platform=web] .gr-ppage > .gr-addname,
  #gr-complete[data-host=app][data-platform=web] .gr-ppage > .gr-psave{float:inline-start;clear:inline-start;width:360px;margin:0 0 14px;margin-inline-end:36px}
    #gr-complete[data-host=app][data-platform=web] .gr-ppage > :not(.gr-pcard):not(.gr-addname):not(.gr-psave){margin-block:0 34px;margin-inline-start:396px}
  }

  /* ===== EDIT PROFILE: the character on the left, the form beside it ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-ed{max-width:700px}
  @container gr-shell (min-width: 900px) {
    #gr-complete[data-host=app][data-platform=web] .gr-ed{max-width:1100px;grid-template-columns:minmax(300px,min(400px,40%)) minmax(0,1fr);column-gap:32px;align-items:start}
    #gr-complete[data-host=app][data-platform=web] .gr-ed > .gr-ed-head{grid-column:1 / -1}
    #gr-complete[data-host=app][data-platform=web] .gr-ed > .gr-ed-stage{grid-column:1;position:sticky;top:92px}
    #gr-complete[data-host=app][data-platform=web] .gr-ed > .gr-ed-form{grid-column:2;max-width:none}
  }

  /* ===== THE STORE (build your character): the tabs wrap instead of scrolling sideways; on a small laptop the wardrobe gets the room ===== */
  #gr-complete[data-host=app][data-platform=web] .nxs .nx-tabs{flex-wrap:wrap;overflow:visible}
  @container gr-shell (min-width: 901px) and (max-width: 1279px) {
    #gr-complete[data-host=app][data-platform=web] .nxs-studio{grid-template-columns:minmax(270px,290px) minmax(0,1fr)}
  }

  /* ===== A QUIZ RUN: the card in the middle of the page, as the website draws it (the phone's run fills the whole screen) ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-main > .nxq-play,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .nxq-result,
  #gr-complete[data-host=app][data-platform=web] .gr-main > .nxq-fail{max-width:980px}
  #gr-complete[data-host=app][data-platform=web][data-immersive=quiz] .gr-main{padding:24px 32px 24px}
  #gr-complete[data-host=app][data-platform=web][data-immersive=quiz] .nxq-play{min-height:calc(100vh - 48px);min-height:calc(100dvh - 48px);padding-bottom:0}
  #gr-complete[data-host=app][data-platform=web][data-immersive=quiz] .nxq-stage{border:1px solid var(--app-line);border-radius:28px;box-shadow:0 22px 46px -30px rgba(14,24,48,.55)}
  #gr-complete[data-host=app][data-platform=web][data-immersive=quiz] .nxq-board{padding-top:20px}

  /* ===== THEMES: the free looks as little phones that are little, the worlds in wrapping rows ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-th-head h1{font-size:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-th-frees{grid-template-columns:repeat(auto-fill,minmax(150px,176px));justify-content:start;gap:14px}
  #gr-complete[data-host=app][data-platform=web] .gr-th-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:14px;margin-inline:0;padding:2px 0 8px;overflow:visible;scroll-snap-type:none}
  #gr-complete[data-host=app][data-platform=web] .gr-th-world{width:auto;min-width:0}
  #gr-complete[data-host=app][data-platform=web] .gr-th-motion{max-width:640px}

  /* ===== HOME: Daily Challenge — three equal cards in one row ===== */
  #gr-complete[data-host=app][data-platform=web] .gr-hdaily-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;border:0;background:none;border-radius:0}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px 14px;min-height:0;padding:14px;border-radius:20px;background:var(--app-panel);border:1px solid var(--app-line)}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl+.gr-hdl::before{content:none}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl-art{width:72px;height:96px;border-radius:12px}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl-act{grid-column:1 / -1;justify-content:stretch}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl .gr-hdl-play{width:100%}
  #gr-complete[data-host=app][data-platform=web] .gr-hdl-state,
  #gr-complete[data-host=app][data-platform=web] .gr-hdl-note{width:100%;justify-content:center;min-height:40px}
}

/* ---------- the panels that open over the page (they live beside the app's shell, not inside it: a media query) ---------- */
@media (min-width: 621px) {
  /* an info sheet: a card in the middle of the page, not a sheet from the bottom of a phone */
  #gr-complete[data-host=app][data-platform=web] .gr-ish-sheet{inset:0;margin:auto;width:min(560px,calc(100% - 48px));height:fit-content;max-height:min(680px,calc(100% - 96px));
    border-radius:24px;animation:gr-ob-fade .22s ease-out both}
  #gr-complete[data-host=app][data-platform=web] .gr-ish.is-leaving .gr-ish-sheet{animation:gr-ob-fade .2s ease-in reverse both}
  #gr-complete[data-host=app][data-platform=web] .gr-ish-top{padding:22px 16px 10px 26px}
  #gr-complete[data-host=app][data-platform=web] .gr-ish-top::before{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-ish-body{padding-inline:26px}

  /* search: a panel in the upper middle of the page, under a veil that blurs it (a phone's search is the whole screen) */
  #gr-complete[data-host=app][data-platform=web] .gr-sx{grid-template-columns:minmax(24px,1fr) minmax(0,720px) minmax(24px,1fr);grid-template-rows:auto auto;align-content:start;
    padding-top:clamp(20px,8vh,76px);background:rgba(8,13,26,.56);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
  /* the panel itself is the first thing in the grid, spread behind the bar and the results */
  #gr-complete[data-host=app][data-platform=web] .gr-sx::before{content:'';grid-column:2;grid-row:1 / 3;border-radius:24px;background:var(--app-panel);border:1px solid var(--app-line);
    box-shadow:0 34px 90px -26px rgba(0,0,0,.6)}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-bar{grid-column:2;grid-row:1;min-width:0;padding-block:12px;padding-inline:10px 14px;background:transparent}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-field{background:var(--gr-bg)}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-body{grid-column:2;grid-row:2;min-width:0;max-height:min(560px,calc(100vh - 190px));max-height:min(560px,calc(100dvh - 190px));
    padding:4px 0 12px;border-radius:0 0 23px 23px}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-li:hover{background:var(--gr-tint)}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-head{padding-inline:20px}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-chips{padding-inline:20px}
  #gr-complete[data-host=app][data-platform=web] .gr-sx-back:hover,
  #gr-complete[data-host=app][data-platform=web] .gr-sx-clear:hover{background:var(--gr-tint)}

  /* the first-launch sheet: a card in the middle, the way a website asks (the phone's is a sheet that rises from the bottom) */
  #gr-complete[data-host=app][data-platform=web] .gr-ob-sheet{inset:0;margin:auto;width:min(560px,calc(100% - 48px));height:min(700px,calc(100% - 48px));border-radius:28px;
    box-shadow:0 34px 90px -28px rgba(0,0,0,.6);animation:gr-ob-fade .3s ease-out both}
  #gr-complete[data-host=app][data-platform=web] .gr-ob.is-leaving .gr-ob-sheet{animation:gr-ob-fade .2s ease-in reverse both}
  #gr-complete[data-host=app][data-platform=web] .gr-ob-foot{padding-bottom:18px}
}

/* A FIRST VISIT'S HELD PLACES (12 Nov 2026, js/app/home.js holding): Find your next favourite's cards, each the size of
   a game card — its cover, then the name and the live figures under it */
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-card{width:156px;height:auto;background:none;opacity:1}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-card::before{content:'';display:block;height:208px;border-radius:18px;background:var(--app-line);opacity:.6}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-card::after{content:'';display:block;height:147.3px}  /* the name, its line, the figures (measured: a card is its cover + 147.3 px at every width) */
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-hskel.is-card{width:auto}
  #gr-complete[data-host=app][data-platform=web] .gr-hskel.is-card::before{height:auto;aspect-ratio:3/4}
}

/* ===== WEBSITE COMPLETION, PHASE B (13 Nov 2026) ===== */
/* a shelf title's tools: the slide arrows and See all / Show less, side by side */
#gr-complete[data-host=app][data-platform=web] .gr-hhead-tools{display:inline-flex;align-items:center;gap:10px;flex:none}
#gr-complete[data-host=app][data-platform=web] .gr-hshelf.is-recent .gr-hhead-row{min-height:36px}
/* Recently played opened in full: every cover in a grid (a phone too) */
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-recent.is-all{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:18px 14px;
  margin-inline:0;padding-inline:0;overflow:visible}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-recent.is-all::after{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-recent.is-all > .gr-htile{width:auto;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-recent.is-all .gr-htile-art{width:100%;height:auto;aspect-ratio:3/4}
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-recent.is-all{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:20px 16px}
}
/* ONE CHIP IS CHOSEN, AND IT IS THE ONLY ONE FILLED (owner, 13 Nov 2026: "selected state must be unambiguous"). The
   website's Quiz chip is one of Home's views: unchosen it is a plain chip with the hero colour on its mark; chosen it
   takes the hero gradient, as the other chips take the ink. */
#gr-complete[data-host=app][data-platform=web] .gr-hchip.is-quiz{background:var(--app-panel);color:var(--app-ink);border-color:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-hchip.is-quiz svg{color:var(--gr-hero)}
#gr-complete[data-host=app][data-platform=web] .gr-hchip.is-quiz:is([aria-pressed=true]){color:#fff;border-color:transparent;
  background:linear-gradient(135deg,var(--gr-hero),color-mix(in srgb,var(--gr-hero) 45%,var(--gr-hero2)));box-shadow:0 6px 16px -8px var(--gr-hero)}
#gr-complete[data-host=app][data-platform=web] .gr-hchip.is-quiz[aria-pressed=true] svg{color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-hchip:hover:not([aria-pressed=true]){border-color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hchip:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}
/* Quiz Nova inside Home: the hub as on its own page, under the chips */
#gr-complete[data-host=app][data-platform=web] .gr-hfeed.is-quiz > .gr-qh{margin-top:22px}

/* THE COLUMN IN THREE GROUPS (owner, 13 Nov 2026): Play, Your space, Utilities — a quiet heading over each, the items
   a little closer so the whole column fits a laptop's height; a short window scrolls the column (production.css) */
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-rail.is-grouped{gap:10px}
  #gr-complete[data-host=app][data-platform=web] .gr-rail-group{display:flex;flex-direction:column;gap:2px}
  #gr-complete[data-host=app][data-platform=web] .gr-rail-group + .gr-rail-group{padding-top:12px;border-top:1px solid var(--app-line)}
  #gr-complete[data-host=app][data-platform=web] .gr-rail-title{margin:0 0 4px;padding:0 14px;color:var(--app-muted);
    font:700 11.5px/1.2 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase}
  #gr-complete[data-host=app][data-platform=web] .gr-rail.is-grouped .gr-navitem{min-height:38px}
  /* the grouped column has no decorative note at its foot (production.css reserves 100px for one): the whole column fits
     a laptop's window (1280×720 and up); a shorter window scrolls the column itself */
  #gr-complete[data-host=app][data-platform=web] .gr-sidebar-inner.is-grouped{--gr-foot-room:12px}
  #gr-complete[data-host=app][data-platform=web] .gr-rail.is-grouped .gr-side-lang{margin-top:6px}
  @container gr-shell (max-width: 899px) {
    #gr-complete[data-host=app][data-platform=web] .gr-rail-title{display:none}
    #gr-complete[data-host=app][data-platform=web] .gr-rail.is-grouped{gap:8px}
    #gr-complete[data-host=app][data-platform=web] .gr-rail-group + .gr-rail-group{padding-top:8px}
    #gr-complete[data-host=app][data-platform=web] .gr-rail.is-grouped .gr-navitem{min-height:58px}
  }
}
/* More on the website: the secondary places, then About GameRoch (the site's own terms and privacy pages) */
#gr-complete[data-host=app][data-platform=web] .gr-appmore.is-web a.gr-applist-row{display:flex;align-items:center;text-decoration:none;color:inherit}
#gr-complete[data-host=app][data-platform=web] .gr-appmore-sub{margin:26px 0 10px;color:var(--app-muted);font:700 12px/1.2 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase}
#gr-complete[data-host=app][data-platform=web] .gr-hhead-tools .gr-hmore{white-space:nowrap;flex:none}

/* ===== WEBSITE COMPLETION, PHASE C (13 Nov 2026) ===== */
@container gr-shell (min-width: 621px) {
  /* GAMES: one search (owner: "two competing search inputs") — the bar's field is the search; the page's own field shows
     only while a search is on (its words and ×), so the results say what they are and how to clear them */
  #gr-complete[data-host=app][data-platform=web] .gr-gpage .gr-appsearch.is-entry:not(:has(.gr-appsearch-x)){display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-gpage .gr-gh1 + .gr-hchips{margin-top:14px}
}
@container gr-shell (min-width: 760px) {
  /* the week's most played game: still glossy, no longer a poster that pushes the catalogue off the first screen */
  #gr-complete[data-host=app][data-platform=web] .gr-gspot{grid-template-columns:minmax(0,1fr) 132px;gap:10px 32px;padding:22px 30px;border-radius:24px}
  #gr-complete[data-host=app][data-platform=web] .gr-gspot-cover{width:132px;height:176px;border-radius:16px}
  #gr-complete[data-host=app][data-platform=web] .gr-gspot h2{font-size:34px}
  #gr-complete[data-host=app][data-platform=web] .gr-gspot-text>p{font-size:15.5px}
}
/* HALL OF FAME (website): the player's own, game by game — a compact hero, then a card per game, then the recent weeks */
#gr-complete[data-host=app][data-platform=web] .gr-hfg-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-hfg{display:flex;gap:14px;align-items:stretch;padding:12px;border-radius:20px;background:var(--app-panel);border:1px solid var(--app-line);
  box-shadow:0 10px 24px -20px rgba(14,24,48,.45)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg.is-gold{background:linear-gradient(110deg,rgba(255,197,61,.22),var(--app-panel) 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg.is-platinum{background:linear-gradient(110deg,rgba(185,196,210,.3),var(--app-panel) 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg.is-diamond{background:linear-gradient(110deg,rgba(92,200,240,.22),var(--app-panel) 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-art{flex:none;width:96px;min-height:0;padding:0;border:0;border-radius:14px;overflow:hidden;background:none;box-shadow:0 10px 20px -14px rgba(14,24,48,.6)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-art img{display:block;width:96px;height:128px;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-body h3{margin:2px 0 0;font:700 18px/1.2 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-medals{display:flex;gap:4px;margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-facts{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;color:var(--app-muted);font:600 13px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-facts > span{display:inline-flex;align-items:center;gap:5px}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-facts svg{width:14px;height:14px}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-week{display:flex;align-items:center;gap:6px;margin:0;color:var(--app-ink);font:600 13.5px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-week svg{width:15px;height:15px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-week.is-wait i{display:block;width:140px;height:12px;border-radius:6px;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-act{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-more{display:inline-flex;align-items:center;gap:2px;min-height:36px;padding:0 10px;border:0;border-radius:999px;background:none;
  color:var(--app-blue);font:700 13.5px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-more:hover{background:var(--gr-tint)}
#gr-complete[data-host=app][data-platform=web] .gr-hfg-more svg{width:16px;height:16px}
#gr-complete[data-host=app][data-platform=web] .gr-hf-week{margin:6px 0 0;color:var(--app-muted);font:700 13px/1.2 'DM Sans',sans-serif}
/* the first-time state: one compact line with a real Play, not a big empty card */
#gr-complete[data-host=app][data-platform=web] .gr-hf-first{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:20px;background:var(--app-panel);border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-hf-first-ico svg{width:30px;height:30px;color:#e2a91c}
#gr-complete[data-host=app][data-platform=web] .gr-hf-first > div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-hf-first b{font:700 16px/1.3 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-hf-first span{color:var(--app-muted);font:500 13.5px/1.35 'DM Sans',sans-serif}
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-hf{gap:22px}
  /* PLAT3H-011 (14 Nov 2026): a mid width (tablet, a narrow window) puts the face beside the words and the three medals
   * on their own row beneath — the medals' own minimum (280px) used to squeeze the title's column to nothing at
   * 640–900px, breaking "Hall of fame" letter by letter in a header 1,200px tall */
  #gr-complete[data-host=app][data-platform=web] .gr-hf-hero{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"face h1" "face sub" "face line" "shelf shelf";
    align-items:center;column-gap:20px;row-gap:2px;padding:22px 28px;text-align:start}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-face{grid-area:face}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-hero h1{grid-area:h1;margin:0;font-size:30px;overflow-wrap:normal;word-break:normal;hyphens:manual}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-sub{grid-area:sub}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-line{grid-area:line;margin-top:4px}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-shelf{grid-area:shelf;max-width:560px;margin:14px 0 0}
  #gr-complete[data-host=app][data-platform=web] .gr-hfg-list{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}
}
/* a wide page: the hero is a banner across it — the face and the words on the left, the three medals on the right */
@container gr-shell (min-width: 1040px) {
  #gr-complete[data-host=app][data-platform=web] .gr-hf-hero{grid-template-columns:auto minmax(240px,1fr) minmax(280px,420px);grid-template-areas:"face h1 shelf" "face sub shelf" "face line shelf"}
  #gr-complete[data-host=app][data-platform=web] .gr-hf-shelf{max-width:none;margin:0}
}

/* COMPETE (website): not on the board yet is one compact line — the trophy, what to do, and Play — instead of a tall
   empty panel (owner, 13 Nov 2026); the weeks' tournaments follow at once */
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-cb-invite{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ico b go" "ico s go";
    align-items:center;column-gap:16px;row-gap:2px;padding:8px 4px 2px;text-align:start}
  #gr-complete[data-host=app][data-platform=web] .gr-cb-invite-ico{grid-area:ico}
  #gr-complete[data-host=app][data-platform=web] .gr-cb-invite > b{grid-area:b}
  #gr-complete[data-host=app][data-platform=web] .gr-cb-invite > span:not(.gr-cb-invite-ico){grid-area:s}
  #gr-complete[data-host=app][data-platform=web] .gr-cb-invite .gr-cb-go{grid-area:go;margin:0}
  #gr-complete[data-host=app][data-platform=web] .gr-cb:has(.gr-cb-invite){padding:16px 24px 18px}
}
/* PROFILE (website): an identity page — the card, and beside it the ways to change it and the earned showcase, two
   columns of about the same height instead of a short card beside a long scroll (owner, 13 Nov 2026) */
#gr-complete[data-host=app][data-platform=web] .gr-ppage.is-identity{display:grid;gap:18px;max-width:1100px}
#gr-complete[data-host=app][data-platform=web] :is(.gr-pmain,.gr-pside){display:flex;flex-direction:column;gap:14px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-pmain > .gr-pcard{margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-pgos{display:grid;gap:0;border-radius:20px;overflow:hidden;background:var(--app-panel);border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-pgo{display:flex;align-items:center;gap:14px;width:100%;min-height:54px;padding:0 16px;border:0;border-radius:0;background:none;
  color:var(--app-ink);font:600 15px/1.2 'DM Sans',sans-serif;text-align:start;box-shadow:none}
#gr-complete[data-host=app][data-platform=web] .gr-pgo + .gr-pgo{border-top:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-pgo:hover{background:var(--gr-tint)}
#gr-complete[data-host=app][data-platform=web] .gr-pgo > span:nth-child(2){flex:1}
#gr-complete[data-host=app][data-platform=web] .gr-pgo-ico svg{width:20px;height:20px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-pgo > svg:last-child{width:18px;height:18px;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase{padding:16px 18px 18px;border-radius:20px;background:var(--app-panel);border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase .gr-hhead{margin-bottom:10px}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase .gr-ptrophy-medals{display:flex;gap:18px}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase .gr-ptrophy-medals > span{display:flex;flex-direction:column;align-items:center;gap:4px}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase .gr-ptrophy-medals small{color:var(--app-muted);font:600 12px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase .gr-pshow{display:flex;flex-direction:column;align-items:flex-end;gap:6px;width:auto;min-height:0;padding:6px 8px;
  border:0;background:none;box-shadow:none;color:var(--app-muted);font:500 12.5px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-pshowcase-line{margin:12px 0 0;color:var(--app-muted);font:600 13px/1.3 'DM Sans',sans-serif}
@container gr-shell (min-width: 900px) {
  #gr-complete[data-host=app][data-platform=web] .gr-ppage.is-identity{grid-template-columns:minmax(320px,400px) minmax(0,1fr);column-gap:28px;align-items:start}
}
@container gr-shell (min-width: 1240px) {
  /* (the older floated two-column profile above does not apply to the identity page) */
  #gr-complete[data-host=app][data-platform=web] .gr-ppage.is-identity > :is(.gr-pmain,.gr-pside):not(.gr-addname):not(.gr-psave){float:none;width:auto;margin:0}
}
/* THE WALKTHROUGH (website, 13 Nov 2026): the real control in a pool of light, the rest of the page dimmed; the line
   beside it in the product's own card. The ring breathes once a second; still for reduced motion. */
#gr-complete .gr-walk{position:fixed;inset:0;z-index:2147483000}
#gr-complete .gr-walk[data-dim="on"]{background:rgba(8,12,28,.62)}
#gr-complete .gr-walk-spot{position:fixed;border-radius:16px;box-shadow:0 0 0 200vmax rgba(8,12,28,.62),0 0 0 3px var(--app-blue,#2f6bff);pointer-events:none;
  transition:left .28s ease,top .28s ease,width .28s ease,height .28s ease}
#gr-complete .gr-walk-ring{position:absolute;inset:-6px;border-radius:20px;border:2px solid var(--app-blue,#2f6bff);opacity:0;animation:gr-walk-ring 1.6s ease-out infinite}
@keyframes gr-walk-ring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.06)}}
#gr-complete .gr-walk[data-motion="off"] .gr-walk-ring{animation:none;opacity:.6}
#gr-complete .gr-walk[data-motion="off"] .gr-walk-spot{transition:none}
#gr-complete .gr-walk-card{position:fixed;width:min(340px,calc(100vw - 24px));padding:16px 18px 16px;border-radius:20px;background:var(--app-panel,#fff);color:var(--app-ink);
  box-shadow:0 24px 60px -20px rgba(8,12,28,.6);border:1px solid var(--app-line)}
#gr-complete .gr-walk-top{display:flex;align-items:center;justify-content:space-between;min-height:30px}
#gr-complete .gr-walk-count{color:var(--app-muted);font:600 12.5px/1 'DM Sans',sans-serif}
#gr-complete .gr-walk-skip,#gr-complete .gr-walk-back{min-height:36px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--app-muted);font:700 13.5px/1 'DM Sans',sans-serif}
#gr-complete .gr-walk-skip:hover,#gr-complete .gr-walk-back:hover{background:var(--gr-tint)}
#gr-complete .gr-walk-card h2{margin:6px 0 4px;font:800 19px/1.2 'Outfit',sans-serif;letter-spacing:-.01em;outline:none}
#gr-complete .gr-walk-card p{margin:0;color:var(--app-muted);font:500 14.5px/1.45 'DM Sans',sans-serif}
#gr-complete .gr-walk-acts{display:flex;align-items:center;justify-content:space-between;margin-top:14px}
#gr-complete .gr-walk-next{min-height:40px;padding:0 20px;border:0;border-radius:999px;color:#fff;font:700 14.5px/1 'DM Sans',sans-serif;
  background:linear-gradient(135deg,var(--gr-hero,#2f6bff),color-mix(in srgb,var(--gr-hero,#2f6bff) 45%,var(--gr-hero2,#7b4dff)));box-shadow:0 8px 18px -10px var(--gr-hero,#2f6bff)}
#gr-complete .gr-walk :focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}


/* ===== RELEASE r18 CANDIDATE (13 Nov 2026) — Home, genres, Games ===== */
/* Trending this week (Home): one even row of ranked cards — never a column with an empty cell. Narrow: it slides. */
#gr-complete[data-host=app][data-platform=web] .gr-hshelf.is-trend .gr-hhead p{margin-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-htrank{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:14px;margin:14px 0 0;padding:4px 2px 10px;
  list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-htrank::-webkit-scrollbar{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-li{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px 10px 12px;border-radius:22px;scroll-snap-align:start;
  background:var(--app-panel);border:1px solid var(--app-line);box-shadow:0 10px 24px -18px rgba(23,37,62,.45);transition:transform .18s ease,box-shadow .18s ease}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-li:hover{transform:translateY(-2px);box-shadow:0 18px 32px -20px rgba(23,37,62,.5)}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-art{position:relative;display:block;width:100%;aspect-ratio:4/3;min-height:0;padding:0;border:0;border-radius:16px;overflow:hidden;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-art img{display:block;width:100%;height:100%;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-no{position:absolute;left:8px;top:8px;display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:12px;
  color:#fff;font:800 18px/1 'Outfit',sans-serif;background:rgba(10,16,32,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 0 0 1px rgba(255,255,255,.22)}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-li:first-child .gr-htrank-no{background:linear-gradient(135deg,#ffb547,#ff7a3d)}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-name{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:0;margin:10px 2px 0;padding:0;border:0;background:none;text-align:start;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-name b{font:700 16px/1.2 'Outfit',sans-serif;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-name small{color:var(--app-muted);font:500 13px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-play{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;min-height:38px;margin-top:12px;padding:0 14px;
  border:0;border-radius:999px;background:var(--gr-tint);color:var(--app-blue);font:700 14px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-play:hover{background:var(--app-blue);color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-htrank-play svg{width:15px;height:15px}
@media (prefers-reduced-motion: reduce){#gr-complete[data-host=app][data-platform=web] .gr-htrank-li{transition:none}#gr-complete[data-host=app][data-platform=web] .gr-htrank-li:hover{transform:none}}

/* A small shelf stays small: one or two games as compact rows side by side. */
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,420px));gap:14px;margin-top:14px}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 14px 10px 10px;border-radius:20px;
  background:var(--app-panel);border:1px solid var(--app-line);box-shadow:0 10px 24px -18px rgba(23,37,62,.4)}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-art{display:block;width:76px;height:100px;min-height:0;padding:0;border:0;border-radius:14px;overflow:hidden;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-art img{display:block;width:100%;height:100%;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-name{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:0;padding:0;border:0;background:none;text-align:start;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-name b{font:700 16.5px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hcmp-name small{color:var(--app-muted);font:500 13px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hplay.is-cmp{width:auto;margin:0;padding:0 18px}

/* A genre's page: its heading and count, its games; related games under their own heading. */
#gr-complete[data-host=app][data-platform=web] .gr-hgenre-page{margin-top:22px}
#gr-complete[data-host=app][data-platform=web] .gr-hgenre-page .gr-hhead p{margin-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-hshelf.is-related{margin-top:30px}

/* Games: New this month — release cards in one sliding row, the art's own colours washed behind. */
#gr-complete[data-host=app][data-platform=web] .gr-grels{margin-top:22px}
#gr-complete[data-host=app][data-platform=web] .gr-grels-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
#gr-complete[data-host=app][data-platform=web] .gr-grels-head h2{margin:0;color:var(--app-ink);font:800 24px/1.15 'Outfit',sans-serif;letter-spacing:-.02em}
#gr-complete[data-host=app][data-platform=web] .gr-grels-head p{margin:4px 0 0;color:var(--app-muted);font:500 14px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-grels-sub{margin:14px 0 0;color:var(--app-ink);font:700 16px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-grel-arrows{display:inline-flex;gap:8px}
#gr-complete[data-host=app][data-platform=web] .gr-grel-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(min(100%,400px),calc((100% - 32px)/3));gap:16px;margin-top:14px;
  padding:2px 2px 10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-grel-row::-webkit-scrollbar{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-grel{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:118px minmax(0,1fr);gap:16px;align-items:center;
  padding:14px;border-radius:24px;background:#18223a;color:#fff;scroll-snap-align:start;box-shadow:0 18px 34px -22px rgba(10,16,32,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-grel-wash{position:absolute;left:-30%;top:-30%;z-index:-2;width:160%;height:160%;object-fit:cover;filter:blur(30px) saturate(1.7) brightness(1.05);pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-grel::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(8,13,27,.62),rgba(8,13,27,.38))}
#gr-complete[data-host=app][data-platform=web] .gr-grel-cover{display:block;width:118px;height:157px;min-height:0;padding:0;border:0;border-radius:16px;overflow:hidden;
  box-shadow:0 12px 24px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.2)}
#gr-complete[data-host=app][data-platform=web] .gr-grel-cover img{display:block;width:100%;height:100%;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-grel-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:8px}
#gr-complete[data-host=app][data-platform=web] .gr-grel-date{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font:600 12px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-grel-date svg{width:14px;height:14px}
#gr-complete[data-host=app][data-platform=web] .gr-grel-name{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:0;padding:0;border:0;background:none;color:#fff;text-align:start}
#gr-complete[data-host=app][data-platform=web] .gr-grel-name b{font:800 21px/1.1 'Outfit',sans-serif;letter-spacing:-.015em}
#gr-complete[data-host=app][data-platform=web] .gr-grel-name small{color:rgba(255,255,255,.84);font:500 13.5px/1.3 'DM Sans',sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#gr-complete[data-host=app][data-platform=web] .gr-grel-act{display:flex;gap:8px;margin-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-grel-play,#gr-complete[data-host=app][data-platform=web] .gr-grel-more{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;
  height:38px;min-height:38px;margin:0;padding:0 16px;border:0;border-radius:999px;font:700 14px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-grel-play{background:#fff;color:#111a2e}
#gr-complete[data-host=app][data-platform=web] .gr-grel-more{background:rgba(255,255,255,.16);color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-grels.is-empty .gr-grel-row{grid-auto-columns:minmax(min(100%,360px),calc((100% - 48px)/4))}
@container gr-shell (max-width: 899px) {
  #gr-complete[data-host=app][data-platform=web] .gr-grel-row{grid-auto-columns:minmax(min(100%,300px),85%)}
  #gr-complete[data-host=app][data-platform=web] .gr-grel{grid-template-columns:92px minmax(0,1fr)}
  #gr-complete[data-host=app][data-platform=web] .gr-grel-cover{width:92px;height:123px}
}

/* The host's own purchase sheet (Connect API 1.1): the game asks, GameRoch confirms — item, price, balance after. */
#gr-complete .gr-ecosheet{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:16px;background:rgba(8,12,28,.55);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#gr-complete .gr-ecosheet-card{width:min(380px,100%);padding:22px 22px 18px;border-radius:24px;background:var(--app-panel,#fff);color:var(--app-ink,#17253e);
  border:1px solid var(--app-line,#dce4f1);box-shadow:0 30px 70px -24px rgba(8,12,28,.6)}
#gr-complete .gr-ecosheet-kicker{margin:0;color:var(--app-muted,#586985);font:700 12px/1 'DM Sans',sans-serif;letter-spacing:.06em;text-transform:uppercase}
#gr-complete .gr-ecosheet h2{margin:8px 0 14px;font:800 22px/1.15 'Outfit',sans-serif;letter-spacing:-.015em}
#gr-complete .gr-ecosheet dl{display:grid;gap:8px;margin:0;padding:12px 14px;border-radius:16px;background:var(--gr-tint,#eef3ff)}
#gr-complete .gr-ecosheet dl div{display:flex;justify-content:space-between;gap:12px;font:500 14.5px/1.2 'DM Sans',sans-serif}
#gr-complete .gr-ecosheet dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
#gr-complete .gr-ecosheet-short{margin:10px 0 0;color:#c2410c;font:600 13.5px/1.35 'DM Sans',sans-serif}
#gr-complete .gr-ecosheet-acts{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
#gr-complete .gr-ecosheet-acts button{min-height:42px;padding:0 18px;border:0;border-radius:999px;font:700 14.5px/1 'DM Sans',sans-serif}
#gr-complete .gr-ecosheet-no{background:none;color:var(--app-muted,#586985)}
#gr-complete .gr-ecosheet-no:hover{background:var(--gr-tint,#eef3ff)}
#gr-complete .gr-ecosheet-yes{color:#fff;background:var(--app-blue,#2464ec);background:linear-gradient(135deg,var(--app-blue,#2464ec),var(--app-deep,#164bba));
  box-shadow:0 8px 18px -10px var(--app-blue,#2464ec)}
#gr-complete .gr-ecosheet-yes:disabled{opacity:.45;box-shadow:none}
#gr-complete .gr-ecosheet :focus-visible{outline:2px solid var(--app-blue,#2464ec);outline-offset:2px}

/* ===== r19 candidate — the website's game page (one template for every game) ===== */
#gr-complete[data-host=app][data-platform=web] .gr-gd.gr-gdw{display:block;max-width:1440px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-top{display:grid;grid-template-columns:minmax(200px,300px) minmax(0,1fr);gap:36px;align-items:start;
  padding:24px;border-radius:28px;background:var(--app-panel);border:1px solid var(--app-line);box-shadow:0 20px 44px -30px rgba(23,37,62,.45)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-art{aspect-ratio:3/4;max-height:400px;border-radius:22px;overflow:hidden;background:var(--app-line);
  box-shadow:0 18px 36px -20px rgba(10,16,32,.55),0 0 0 1px rgba(255,255,255,.4) inset}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-art img{display:block;width:100%;height:100%;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-info{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-info h1{margin:0;color:var(--app-ink);font:800 clamp(28px,3.2vw,40px)/1.08 'Outfit',sans-serif;letter-spacing:-.025em}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-genres{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-genres a{display:inline-flex;align-items:center;height:30px;padding:0 13px;border-radius:999px;background:var(--gr-tint);
  color:var(--app-blue);font:600 13px/1 'DM Sans',sans-serif;text-decoration:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-genres a:hover{background:var(--app-blue);color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:12px;color:var(--app-muted);font:500 14px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-by{color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-intro{max-width:640px;margin:14px 0 0;color:var(--app-ink);font:400 16.5px/1.55 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-cta{width:100%;max-width:440px;margin-top:20px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-cta .gr-appplay{width:100%;margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw .gr-gd-acts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:440px;gap:10px;margin-top:12px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw .gr-gd-act{min-height:62px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:28px;align-items:start;margin-top:26px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-col{min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw .gr-gd-body{max-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:92px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-card{padding:18px 18px 16px;border-radius:22px;background:var(--app-panel);border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-card h2{margin:0 0 12px;color:var(--app-ink);font:700 16.5px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-how{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-how li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;color:var(--app-ink);font:400 14px/1.45 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-how b{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:var(--gr-tint);color:var(--app-blue);font:700 13px/1 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-modes{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-modes li{padding:7px 12px;border-radius:12px;background:var(--gr-tint);color:var(--app-ink);font:600 13px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-rel{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:0;padding:6px;border:0;border-radius:14px;background:none;text-align:start;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn:hover{background:var(--gr-tint)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn img{flex:none;width:48px;height:64px;border-radius:10px;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn span{display:flex;flex-direction:column;gap:3px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn b{font:600 14.5px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relbtn small{color:var(--app-muted);font:500 12.5px/1.2 'DM Sans',sans-serif}
/* the comment box says what it is */
#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-off,#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-checking{background:var(--gr-tint);border-style:dashed}
#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-off textarea,#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-checking textarea{cursor:not-allowed;background:transparent}
#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-off .gr-gd-post,#gr-complete[data-host=app][data-platform=web] .gr-gd-compose.is-checking .gr-gd-post{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-gd-empty.is-error{gap:10px}
#gr-complete[data-host=app][data-platform=web] .gr-gd-retry{min-height:38px;padding:0 16px;border:0;border-radius:999px;background:var(--app-blue);color:#fff;font:700 14px/1 'DM Sans',sans-serif}
@container gr-shell (max-width: 899px) {
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-top{grid-template-columns:minmax(120px,170px) minmax(0,1fr);gap:20px;padding:16px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-main{grid-template-columns:minmax(0,1fr)}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-side{position:static}
}
@container gr-shell (max-width: 560px) {
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-top{grid-template-columns:1fr;border-radius:22px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-art{max-width:220px;max-height:none;margin:0 auto}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-cta,#gr-complete[data-host=app][data-platform=web] .gr-gdw .gr-gd-acts{max-width:none}
}

/* layout audit (14 Nov 2026): Wallet uses a readable but wider column on a computer */
#gr-complete[data-host=app][data-platform=web] .gr-main > .app-wl{max-width:1100px}

/* B5 GR12 (14 Nov 2026): Compete, "How your total adds up" — every game's share of the week's league total, inside the
   player's own card (js/app/compete.js weekSum). Its rows add up to the total the board shows. */
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum{margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--cb-line)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:6px 10px;border:0;border-radius:12px;
  background:var(--cb-soft);color:var(--cb-ink);font:600 14px/1.25 'DM Sans',sans-serif;text-align:start;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b > span{flex:1 1 auto;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b small{flex:none;color:var(--cb-muted);font:500 12.5px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b svg{flex:none;width:17px;height:17px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b:hover{background:color-mix(in srgb,var(--app-blue) 12%,transparent)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-b:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));column-gap:18px;margin:8px 0 0;padding:0 4px;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-list li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0;
  border-bottom:1px solid var(--cb-line);font:500 13.5px/1.3 'DM Sans',sans-serif;color:var(--cb-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-list b,#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-total b{font:700 14px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:8px 0 0;padding:0 4px;
  font:700 14px/1.3 'DM Sans',sans-serif;color:var(--cb-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-total b{font-size:16px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-cb-sum-rule{margin:6px 0 0;padding:0 4px;color:var(--cb-muted);font:400 12.5px/1.45 'DM Sans',sans-serif}

/* B5 GR42 (14 Nov 2026): Edit profile, the name rule said before it applies; while a change waits only the name is held */
#gr-complete[data-host=app][data-platform=web] #gr-edit-name[readonly]{background:color-mix(in srgb,var(--app-ink) 4%,var(--app-panel));color:var(--app-muted);cursor:default}
#gr-complete[data-host=app][data-platform=web] .gr-name-rule{display:flex;align-items:flex-start;gap:6px;margin-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-name-rule.is-held{color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-name-rule svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--app-blue)}

/* PLAT3H (14 Nov 2026): a value still on its way (js/core/pending.js) — never a fake 0, empty list or generic name */
#gr-complete .gr-pend { display: inline-block; inline-size: 7ch; max-inline-size: 100%; block-size: .78em; border-radius: 999px;
  background: currentColor; opacity: .14; vertical-align: middle; animation: gr-pend 1.4s ease-in-out infinite; }
#gr-complete .gr-pend.is-short { inline-size: 2.4ch; }
#gr-complete .gr-pend.is-long { inline-size: 12ch; }
@keyframes gr-pend { 0%, 100% { opacity: .14; } 50% { opacity: .07; } }
@media (prefers-reduced-motion: reduce) { #gr-complete .gr-pend { animation: none; } }
#gr-complete[data-motion="off"] .gr-pend { animation: none; }

/* PLAT3H-010 (14 Nov 2026): the league contribution is its own line under the tournament status, everywhere it shows */
#gr-complete[data-host=app][data-platform=web] .gr-ctour-share{display:block;margin-top:2px;font-weight:500;opacity:.85}

/* ===================== ECONOMY V1 (15 Nov 2026, staging; drawn only while the server has V1 on) =====================
 * Restrained: the site's own surfaces, borders and type; the three identity icons are flat SVG (js/core/econ.js). */
#gr-complete .gr-eicon{flex:0 0 auto;display:block}
#gr-complete .gr-efig{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
#gr-complete .gr-efig b{font-weight:800}
#gr-complete .nx-cur.nx-roch{display:inline-flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}
#gr-complete .nx-cur.nx-roch b{font-weight:800}
/* header: Roch keeps the balance pill, now violet-navy; Wits is warm; the level chip is blue. Figures never jump width. */
#gr-complete .gr-coins.is-roch{border-color:#cfc6f7;background:#f3f0ff;color:#2c1f86}
#gr-complete .gr-coins.is-roch:hover{background:#e9e3ff}
#gr-complete .gr-coins.is-roch .gr-coin{background:none;box-shadow:none;width:20px;height:20px}
#gr-complete .gr-coins b,#gr-complete .gr-rpill b,#gr-complete .gr-lvl b{min-width:3ch;text-align:end}
#gr-complete .gr-rpill.is-wits{border-color:#f0d9a2;background:#fff7e6;color:#6b4a06}
#gr-complete .gr-rpill.is-wits:hover{background:#ffefcc}
#gr-complete .gr-rpill.is-wits .gr-rpgem{background:none;box-shadow:none;width:18px;height:18px;transform:none}
#gr-complete .gr-lvl{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 11px 0 8px;border:1px solid #c8daf9;border-radius:12px;
  background:#eef5ff;color:#123a86;font:700 13px Outfit,'DM Sans',Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;position:relative}
#gr-complete .gr-lvl:hover{background:#e2eeff}
#gr-complete .gr-lvl small{font-size:10px;font-weight:800;letter-spacing:.3px;opacity:.75}
#gr-complete .gr-lvl-bar{display:block;width:34px;height:4px;border-radius:4px;background:rgba(18,58,134,.15);overflow:hidden}
#gr-complete .gr-lvl-bar i{display:block;height:100%;border-radius:4px;background:#2f6fe4}
#gr-complete .gr-coins:focus-visible,#gr-complete .gr-rpill:focus-visible,#gr-complete .gr-lvl:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
/* narrow: the three stay, compact — the level chip loses its bar, then its word; nothing wraps into a second row */
@container gr-shell (max-width: 760px){#gr-complete .gr-lvl-bar{display:none}#gr-complete .gr-lvl small{display:none}}
@container gr-shell (max-width: 420px){
  #gr-complete .gr-lvl,#gr-complete .gr-coins.is-roch,#gr-complete .gr-rpill.is-wits{padding:0 8px 0 6px;gap:5px;min-height:34px;font-size:12px}
  #gr-complete .gr-rpill.is-wits b{min-width:2ch}
}
#gr-complete[data-host=app][data-platform=web] #gr-lvl{display:inline-flex!important}

/* WALLET (V1) */
#gr-complete .gr-wv{display:flex;flex-direction:column;gap:20px}
#gr-complete .gr-wv-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
@container gr-shell (min-width: 900px){#gr-complete .gr-wv-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:stretch}}
#gr-complete .gr-wv-hero{padding:22px 24px;border:1px solid var(--app-line);border-radius:20px;background:var(--app-panel);box-shadow:0 6px 22px rgba(30,40,90,.06)}
#gr-complete .gr-wv-k{margin:0;color:var(--app-muted);font:600 13px 'DM Sans',sans-serif}
#gr-complete .gr-wv-bal{display:flex;align-items:center;gap:10px;margin:6px 0 14px;color:var(--app-ink);font:800 34px/1.1 Outfit,sans-serif;font-variant-numeric:tabular-nums}
#gr-complete .gr-wv-acts{display:flex;flex-wrap:wrap;gap:10px}
#gr-complete .gr-wv-go{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border-radius:12px;background:var(--app-blue);color:#fff;font:700 14px 'DM Sans',sans-serif}
#gr-complete .gr-wv-go.is-line{background:transparent;color:var(--app-ink);border:1px solid var(--app-line)}
#gr-complete .gr-wv-fine{margin:14px 0 0;color:var(--app-muted);font:500 12.5px/1.45 'DM Sans',sans-serif}
#gr-complete .gr-wv-links{display:flex;flex-direction:column;gap:10px}
#gr-complete .gr-wv-link{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border:1px solid var(--app-line);border-radius:16px;background:var(--app-panel);color:var(--app-ink);font:600 14px 'DM Sans',sans-serif;text-align:start}
#gr-complete .gr-wv-link span{flex:1}
#gr-complete .gr-wv-act h2{margin:0 0 10px;font:800 18px Outfit,sans-serif;color:var(--app-ink)}
#gr-complete .gr-wv-tabs{margin-bottom:12px}
#gr-complete .gr-wv-list{list-style:none;margin:0;padding:0;border:1px solid var(--app-line);border-radius:18px;background:var(--app-panel);overflow:hidden}
#gr-complete .gr-wv-row + .gr-wv-row{border-top:1px solid var(--app-line)}
#gr-complete .gr-wv-rowb{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 16px;background:none;border:0;color:var(--app-ink);text-align:start}
#gr-complete .gr-wv-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(75,54,200,.08);color:#4b36c8}
#gr-complete .gr-wv-row.is-pending .gr-wv-ico{background:rgba(224,160,24,.12);color:#8a5a00}
#gr-complete .gr-wv-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#gr-complete .gr-wv-t b{font:700 14px 'DM Sans',sans-serif}
#gr-complete .gr-wv-t small{color:var(--app-muted);font:500 12.5px 'DM Sans',sans-serif}
#gr-complete .gr-wv-amt{font:800 15px Outfit,sans-serif;font-variant-numeric:tabular-nums}
#gr-complete .gr-wv-amt.is-in{color:#16794a}
#gr-complete .gr-wv-amt.is-out{color:var(--app-ink)}
#gr-complete .gr-wv-det{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;margin:0;padding:4px 16px 16px 62px}
#gr-complete .gr-wv-det dt{color:var(--app-muted);font:600 12px 'DM Sans',sans-serif}
#gr-complete .gr-wv-det dd{margin:2px 0 0;color:var(--app-ink);font:600 13.5px 'DM Sans',sans-serif;overflow-wrap:anywhere}
#gr-complete .gr-wv-ref{font-family:ui-monospace,Menlo,monospace!important;font-size:12px!important}
#gr-complete .gr-wv-state{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;padding:18px;border:1px dashed var(--app-line);border-radius:16px;color:var(--app-muted);font:600 14px 'DM Sans',sans-serif}
#gr-complete .gr-wv-older{margin:12px 0 0;text-align:center}
@container gr-shell (max-width: 480px){#gr-complete .gr-wv-det{padding-left:16px}#gr-complete .gr-wv-bal{font-size:28px}}

/* RANK JOURNEY (V1) */
#gr-complete .gr-jr{display:flex;flex-direction:column;gap:18px}
#gr-complete .gr-jr-hero{display:flex;align-items:center;gap:20px;padding:22px 24px;border:1px solid var(--app-line);border-radius:20px;background:var(--app-panel);box-shadow:0 6px 22px rgba(30,40,90,.06)}
#gr-complete .gr-jr-hero.is-error{flex-wrap:wrap;color:var(--app-muted)}
#gr-complete .gr-jr-ht{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
#gr-complete .gr-jr-k{margin:0;color:var(--app-muted);font:700 13px 'DM Sans',sans-serif}
#gr-complete .gr-jr-big{margin:0;color:var(--app-ink);font:800 28px/1.15 Outfit,sans-serif}
#gr-complete .gr-jr-bar{height:8px;border-radius:8px;background:rgba(47,111,228,.14);overflow:hidden}
#gr-complete .gr-jr-bar i{display:block;height:100%;border-radius:8px;background:#2f6fe4}
#gr-complete .gr-jr-sub,#gr-complete .gr-jr-next{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0;color:var(--app-muted);font:600 13px 'DM Sans',sans-serif}
#gr-complete .gr-jr-sub b{color:var(--app-ink)}
#gr-complete .gr-jr-note,#gr-complete .gr-jr-rule{margin:0;color:var(--app-muted);font:500 13.5px/1.5 'DM Sans',sans-serif;max-width:62ch}
#gr-complete .gr-jr-fixture{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;border-radius:12px;background:#fff7e6;color:#6b4a06;font:600 13px 'DM Sans',sans-serif}
#gr-complete .gr-jr-h{margin:4px 0 0;font:800 18px Outfit,sans-serif;color:var(--app-ink)}
#gr-complete .gr-jr-ladder{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
#gr-complete .gr-jr-group{border:1px solid var(--app-line);border-radius:16px;background:var(--app-panel);overflow:hidden}
#gr-complete .gr-jr-group.is-now{border-color:#a9c4f5;box-shadow:0 0 0 1px #a9c4f5 inset}
#gr-complete .gr-jr-group.is-locked .gr-remb{opacity:.55}
#gr-complete .gr-jr-ghead{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 16px;background:none;border:0;color:var(--app-ink);text-align:start}
#gr-complete .gr-jr-gt{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#gr-complete .gr-jr-gt b{font:700 15px 'DM Sans',sans-serif}
#gr-complete .gr-jr-gt small{color:var(--app-muted);font:500 12.5px 'DM Sans',sans-serif}
#gr-complete .gr-jr-state{display:inline-flex;align-items:center;gap:5px;font:700 12px 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .gr-jr-state.is-now{color:#2f6fe4}
#gr-complete .gr-jr-state.is-done{color:#16794a}
#gr-complete .gr-jr-state svg{width:14px;height:14px}
#gr-complete .gr-jr-levels{list-style:none;margin:0;padding:4px 16px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px}
#gr-complete .gr-jr-levels li{display:grid;place-items:center;height:32px;border-radius:9px;border:1px solid var(--app-line);font:700 12px Outfit,sans-serif;color:var(--app-muted);font-variant-numeric:tabular-nums}
#gr-complete .gr-jr-levels li.is-done{background:rgba(22,121,74,.08);color:#16794a;border-color:transparent}
#gr-complete .gr-jr-levels li.is-now{background:#2f6fe4;color:#fff;border-color:#2f6fe4}
#gr-complete .gr-jr-levels li.is-more{grid-column:span 3;font-weight:600}
#gr-complete .gr-jr-more{margin:0}
@container gr-shell (max-width: 480px){#gr-complete .gr-jr-hero{flex-direction:column;align-items:flex-start}#gr-complete .gr-jr-big{font-size:24px}}

/* PROFILE (V1): level, lifetime XP, lifetime Wits — each a link to its screen */
#gr-complete .gr-pcard-stats.is-econ{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
#gr-complete .gr-pcard-stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;border:1px solid var(--app-line);border-radius:14px;background:transparent;color:inherit;text-align:start}
#gr-complete .gr-pcard-stat b{display:inline-flex;align-items:center;gap:7px;font:800 18px Outfit,sans-serif;font-variant-numeric:tabular-nums}
#gr-complete .gr-pcard-stat small{opacity:.8;font:600 12.5px 'DM Sans',sans-serif}
@media (prefers-reduced-motion: reduce){#gr-complete .gr-lvl-bar i,#gr-complete .gr-jr-bar i{transition:none}}

/* V1 header on narrow screens: a compact summary — Roch, Wits and the level stay, smaller; the share button gives way */
#gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch:not([hidden]),
#gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits:not([hidden]){display:inline-flex!important}
@container gr-shell (max-width: 480px){
  #gr-complete[data-host=app][data-platform=web]:has(#gr-lvl) [data-appbar=share]{display:none!important}
  #gr-complete[data-host=app][data-platform=web] #gr-lvl b{min-width:0}
}
@container gr-shell (max-width: 360px){
  #gr-complete[data-host=app][data-platform=web]:has(#gr-lvl) [data-appbar=settings]{display:none!important}
  #gr-complete .gr-lvl .gr-eicon,#gr-complete .gr-rpill.is-wits .gr-eicon{width:16px;height:16px}
}

/* WALLET (V1) on the APPROVED composition (css/app.css .app-wl-*): Roch's banner keeps the old one's proportions and
 * finish in Roch's own violet — a soft light corner, a gentle diagonal, a low shadow; no neon, no metallic render */
#gr-complete .app-wl-hero.is-roch{color:#fff;
  background:radial-gradient(120% 90% at 100% 0%,rgba(214,206,255,.55) 0,rgba(214,206,255,0) 55%),linear-gradient(135deg,#6f5cf0 0%,#4b36c8 52%,#33238f 100%);
  box-shadow:0 18px 32px -22px #2a1c7a}
#gr-complete .app-wl-hero.is-roch > p{color:rgba(255,255,255,.82)}
#gr-complete .app-wl-hero.is-roch .app-wl-n{color:#fff}
#gr-complete .app-wl-hero.is-roch.is-up .app-wl-n{color:#d9ffe9}
#gr-complete .app-wl-coin.is-roch{width:auto;height:auto;background:none;box-shadow:none;border-radius:50%;filter:drop-shadow(0 4px 8px rgba(20,10,80,.35))}
#gr-complete .app-wl-coin.is-roch .gr-eicon circle:first-child{stroke:#fff;stroke-opacity:.35;stroke-width:.8}
#gr-complete .app-wl-hero.is-roch .app-wl-spend{background:#fff;color:#2c1f86}
#gr-complete .app-wl-hero.is-roch .app-wl-spend:hover{background:#efeaff}
#gr-complete .app-wl-hero.is-roch .gr-pend{background:#fff;opacity:.35}
#gr-complete .app-wl-rp-ico.is-econ{display:grid;place-items:center;background:none;box-shadow:none;width:auto;height:auto}
#gr-complete .app-wl.is-econ .app-wl-rp{display:inline-flex;align-items:center;gap:8px;min-width:96px;font:800 20px/1 Outfit,sans-serif;color:var(--app-ink);font-variant-numeric:tabular-nums}
#gr-complete .app-wl.is-econ .app-wl-rp .gr-pend{inline-size:5ch}
#gr-complete .app-wl.is-econ .app-wl-tile:focus-visible,#gr-complete .app-wl.is-econ .app-wl-row:focus-visible{outline:3px solid var(--app-blue);outline-offset:-3px}
#gr-complete .app-wl-aico.is-out{background:rgba(75,54,200,.09);color:#4b36c8}
#gr-complete .app-wl.is-econ .app-wl-list > li.is-open{background:color-mix(in srgb,var(--app-blue) 5%,var(--app-panel))}
#gr-complete .app-wl.is-econ .app-wl-list .gr-wv-det{padding:0 16px 14px 64px}
#gr-complete .app-wl.is-econ .app-wl-list .app-wl-row.is-pending{display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 14px}
#gr-complete .app-wl.is-econ .app-wl-amt.is-out{color:var(--app-ink)}
#gr-complete .app-wl.is-econ .app-wl-older{margin:4px 0 0;text-align:center}
@container gr-shell (max-width: 480px){#gr-complete .app-wl.is-econ .app-wl-list .gr-wv-det{padding-left:14px}#gr-complete .app-wl.is-econ .app-wl-rp{min-width:72px;font-size:18px}}
#gr-complete[data-host=app][data-platform=web] .app-wl-rp-ico.is-econ svg{width:22px;height:22px}
/* LEADERBOARD: the three columns share their top line; each is as tall as what it holds (no giant empty panels) */
#gr-complete[data-host=app][data-platform=web] .gr-lb-trio{align-items:start}
#gr-complete[data-host=app][data-platform=web] .gr-lb-colbody{flex:0 0 auto}
/* V1 values in the approved row/summary style (as the old gem + RP unit): the identity icon, the figure, a small unit */
#gr-complete .nx-cur.nx-econ{display:inline-flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}
#gr-complete .nx-cur.nx-econ b{font-weight:800}
#gr-complete .nx-cur.nx-econ .nx-unit{font-size:.72em;font-weight:800;letter-spacing:.3px;opacity:.85}
#gr-complete .nx-cur.nx-econ.is-xp{color:#1f56c9}
#gr-complete .nx-cur.nx-econ.is-wits{color:#8a5a00}
#gr-complete .nx-cur.nx-econ.is-lg{font-size:26px;gap:8px}
#gr-complete .gr-lb-qico.is-econ{background:none;box-shadow:none}
/* compact top-position markers on the ranked rows (the quiz board's gold, silver and bronze) */
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-top .gr-lb-rank{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:13px}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p1 .gr-lb-rank{background:var(--nx-gold,#f5c542);color:#3d2a00}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p2 .gr-lb-rank{background:var(--nx-silver,#cfd6e2);color:#24303f}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p3 .gr-lb-rank{background:var(--nx-bronze,#d9955a);color:#3b1d06}
#gr-complete .nxq-rank.is-wits h2 .gr-eicon{flex:none}
#gr-complete[data-host=app] .app-wl-coin.is-roch svg{width:46px;height:46px}
#gr-complete .app-wl-coin.is-roch .gr-eicon circle:first-child{stroke:#fff;stroke-opacity:.7;stroke-width:1}
#gr-complete[data-host=app][data-platform=web] .gr-lb.is-web .gr-lb-trio{align-items:start}
/* phones: the header keeps a COMPACT summary — Roch and the level; Wits is one tap away in the Wallet and Profile —
 * so the pills never run into the wordmark (pages with a Back button have the least room) */
@container gr-shell (max-width: 480px){
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits{display:none!important}
  #gr-complete .gr-lvl,#gr-complete .gr-coins.is-roch{padding:0 7px 0 5px;gap:4px;min-height:32px;font-size:12px}
  #gr-complete .gr-lvl .gr-eicon,#gr-complete .gr-coins.is-roch .gr-eicon{width:16px;height:16px}
  #gr-complete .gr-coins.is-roch .gr-coin{width:16px;height:16px}
}
/* the ranked list is as tall as its rows (up to a scrolling maximum) — never a fixed tall empty panel for 1–3 players */
#gr-complete[data-host=app][data-platform=web] .gr-lb.is-web .gr-lb-col .gr-lb-list{flex:0 0 auto;min-height:0;max-height:min(62vh,600px);contain:none}
@container gr-shell (max-width: 480px){
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits:not([hidden]){display:none!important}
}
/* PROFILE (V1) back on the APPROVED stats row (css/app.css .gr-pcard-stats): three centred figures with dividers, white
 * on the card's blue — each one a quiet link to its screen */
#gr-complete[data-host=app] .gr-pcard-stats.is-econ{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ > .gr-pcard-stat{display:flex;flex-direction:column;align-items:center;gap:4px;padding:2px 4px;border:0;border-radius:12px;background:none;color:#fff;text-align:center}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ > .gr-pcard-stat + .gr-pcard-stat{border-inline-start:1px solid rgba(255,255,255,.18);border-radius:0}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ > .gr-pcard-stat:hover{background:rgba(255,255,255,.08)}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ > .gr-pcard-stat:focus-visible{outline:3px solid #fff;outline-offset:2px}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ b{display:inline-flex;align-items:center;gap:6px;color:#fff;font:800 23px/1.05 'Outfit',sans-serif;letter-spacing:-.02em}
#gr-complete[data-host=app] .gr-pcard-stats.is-econ small{color:rgba(255,255,255,.85);font:500 12px/1.25 'DM Sans',sans-serif;opacity:1}

/* ============================================================
 * THE FROZEN HOME (owner brief, 15 Nov 2026 "Platform consistency" §3): Top played · New on GameRoch · Recently played ·
 * Daily game challenges — four sliding rows with one rhythm (16px gaps, 22px titles, arrows by the title).
 * ============================================================ */
#gr-complete[data-host=app][data-platform=web] .gr-hhead > p{margin:4px 0 0;font:500 14px/1.4 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-hshelf:is(.is-top,.is-new,.is-recent,.gr-hdaily) .gr-hhead-row{min-height:36px}
/* an honest, compact empty or unavailable state: one line, one way on */
#gr-complete[data-host=app][data-platform=web] .gr-hempty{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:14px 16px;border-radius:16px;
  background:var(--app-panel);border:1px dashed var(--app-line);color:var(--app-muted);font:500 14.5px/1.4 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hempty > svg{width:20px;height:20px;flex:none;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hempty > span{flex:1 1 220px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-hempty-go{min-height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--app-line);background:var(--app-panel);
  color:var(--app-blue);font:700 14px/1 'DM Sans',sans-serif;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-hempty-go:hover{border-color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hempty-go:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}

/* 1. TOP PLAYED: a ranked cover, its name and the week's players, an explicit Play */
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-top > :is(.gr-htop,.gr-hskel){width:172px}
#gr-complete[data-host=app][data-platform=web] .gr-hskel.is-top{height:auto;aspect-ratio:172/318;border-radius:18px}
#gr-complete[data-host=app][data-platform=web] .gr-htop{display:flex;flex-direction:column;gap:8px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-htop-art{position:relative;display:block;width:100%;aspect-ratio:3/4;padding:0;border:0;border-radius:18px;overflow:hidden;
  background:var(--app-line);cursor:pointer;box-shadow:0 12px 26px -16px rgba(14,24,48,.6);transition:transform .18s ease,box-shadow .18s ease}
#gr-complete[data-host=app][data-platform=web] .gr-htop-art img{width:100%;height:100%;object-fit:cover;display:block}
#gr-complete[data-host=app][data-platform=web] .gr-htop:hover .gr-htop-art{transform:translateY(-2px);box-shadow:0 18px 32px -16px rgba(14,24,48,.6)}
#gr-complete[data-host=app][data-platform=web] .gr-htop-no{position:absolute;left:10px;top:10px;display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:10px;
  background:rgba(14,24,48,.78);color:#fff;font:800 15px/1 'Outfit',sans-serif;backdrop-filter:blur(4px)}
#gr-complete[data-host=app][data-platform=web] .gr-htop:nth-child(1) .gr-htop-no{background:linear-gradient(135deg,#ffcf4a,#f29a12);color:#4a2a00}
#gr-complete[data-host=app][data-platform=web] .gr-htop:nth-child(2) .gr-htop-no{background:linear-gradient(135deg,#eef2f8,#aab6c8);color:#26324a}
#gr-complete[data-host=app][data-platform=web] .gr-htop:nth-child(3) .gr-htop-no{background:linear-gradient(135deg,#f3c39a,#c27a45);color:#3d1d06}
#gr-complete[data-host=app][data-platform=web] .gr-htop-name{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;border:0;background:none;text-align:start;cursor:pointer;color:var(--app-ink);min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-htop-name b{max-width:100%;font:700 15px/1.25 'DM Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-htop-name small{font:500 13px/1.3 'DM Sans',sans-serif;color:var(--app-muted);font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-htop-name:hover b{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hplay.is-top{width:100%;min-height:40px;margin-top:auto}

/* 3. RECENTLY PLAYED: the art opens the page; the round Play over its corner starts the game */
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-slide > .gr-htile.is-recent{position:relative}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent > .gr-hrecent-go{top:calc(156px * 4 / 3 - 46px);bottom:auto;right:10px;width:38px;height:38px;border:0;cursor:pointer;
  transition:transform .15s ease}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent > .gr-hrecent-go:hover{transform:scale(1.08);color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent > .gr-hrecent-go:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
html[dir=rtl] #gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent > .gr-hrecent-go{right:auto;left:10px}

/* 4. DAILY GAME CHALLENGES: the game, the actual objective, the reward with its amount, the state, Play */
#gr-complete[data-host=app][data-platform=web] .gr-hdaily.is-web .gr-hdaily-reset{display:inline-flex;align-items:center;gap:6px;font:600 13.5px/1 'DM Sans',sans-serif;color:var(--app-muted);white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-hdaily.is-web .gr-hdaily-reset svg{width:15px;height:15px}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-daily > .gr-hdc{width:min(340px,86vw)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:14px;border-radius:20px;background:var(--app-panel);
  border:1px solid var(--app-line);box-shadow:0 10px 24px -20px rgba(14,24,48,.5)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc.is-completed{border-color:color-mix(in srgb,#18a058 40%,var(--app-line));background:linear-gradient(180deg,color-mix(in srgb,#18a058 6%,var(--app-panel)),var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-art{position:relative;width:96px;height:128px;padding:0;border:0;border-radius:14px;overflow:hidden;cursor:pointer;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-art img{width:100%;height:100%;object-fit:cover;display:block}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-tick{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#18a058;color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-tick svg{width:15px;height:15px}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-body{display:flex;flex-direction:column;gap:8px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-name{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:0;border:0;background:none;text-align:start;color:var(--app-ink);cursor:pointer;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-name b{max-width:100%;font:700 16px/1.2 'DM Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-name small{font:600 13.5px/1.3 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-name:hover b{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-rws{display:flex;flex-wrap:wrap;gap:6px;min-height:28px;align-items:center}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-rw{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 6px;border-radius:999px;background:#efeafe;color:#3d2bb0;font:700 13px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-rw.is-rp{padding:0 10px;background:color-mix(in srgb,var(--app-blue) 10%,var(--app-panel));color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-xp{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px 0 7px;border-radius:999px;background:#eaf1fe;color:#1f56c9;font:600 12.5px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-act{margin-top:auto}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-play{width:100%;min-height:40px}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-state{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:40px;border-radius:12px;font:700 14px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-state svg{width:16px;height:16px}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-state.is-done{color:#0f7a43;background:color-mix(in srgb,#18a058 10%,var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-state.is-sync{color:var(--app-muted);background:color-mix(in srgb,var(--app-line) 50%,var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-hdc-state.is-off{color:var(--app-muted);font-weight:600}
@media (max-width:480px){
  #gr-complete[data-host=app][data-platform=web] .gr-hrow.is-top > :is(.gr-htop,.gr-hskel){width:144px}
  #gr-complete[data-host=app][data-platform=web] .gr-hdaily.is-web .gr-hhead-row{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){
  #gr-complete[data-host=app][data-platform=web] :is(.gr-htop-art,.gr-hrecent-go){transition:none}
  #gr-complete[data-host=app][data-platform=web] .gr-htop:hover .gr-htop-art{transform:none}
}

/* ============================================================
 * THE HEADER (owner brief, 15 Nov 2026 §5): one height for every control (40px), and the three metrics joined into one
 * capsule in a fixed order — Rochs (spend) · Wits (quiz) · Level (XP) — each segment its own button, its own tint and
 * its own words for a screen reader and a tooltip. Figures keep their width (tabular), so a count-up never shifts the bar.
 * ============================================================ */
@container gr-shell (min-width: 621px) {
  #gr-complete[data-host=app][data-platform=web] .gr-header{min-height:72px}
  #gr-complete[data-host=app][data-platform=web] .gr-brand strong{font-size:26px;letter-spacing:-.02em}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions{align-items:center}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-applinks{order:1}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-signin{order:2}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-coins{order:3}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-rp{order:4}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-lvl{order:5}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > .gr-iconbutton{order:6}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > .gr-player{order:7;margin-inline-start:4px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions :is(#gr-signin,#gr-coins,#gr-rp,#gr-lvl,.gr-applink){min-height:40px;height:40px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl){padding:0 12px 0 10px;gap:7px;font:800 14px/1 'Outfit','DM Sans',sans-serif;box-shadow:none}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-coins.is-roch{border-radius:14px 0 0 14px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-rp.is-wits{border-radius:0;margin-inline-start:-9px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-lvl{border-radius:0 14px 14px 0;margin-inline-start:-9px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-coins.is-roch:has(+ #gr-rp[hidden]) + #gr-rp + #gr-lvl{margin-inline-start:-9px}
  /* the segments' own edges, so the capsule reads as one piece with three parts */
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-rp.is-wits{border-inline-start-color:#f0d9a2}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl):hover{position:relative;z-index:1}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl):focus-visible{position:relative;z-index:2}
  #gr-complete[data-host=app][data-platform=web] .gr-lvl-bar{width:40px;height:5px}
}

/* ============================================================
 * LEADERBOARD'S GAMING CHARACTER (owner brief, 15 Nov 2026 §6): the three approved columns keep their format; each gets
 * an illustrated badge in its accent, the top three wear ribboned medals, the player's own place a medallion, and the
 * personal summary a soft accent wash. Rows stay compact and readable.
 * ============================================================ */
#gr-complete[data-host=app][data-platform=web] .gr-lb-colico.is-art{width:48px;height:48px;border-radius:0;background:none;box-shadow:none;filter:drop-shadow(0 8px 10px color-mix(in srgb,var(--lbc) 35%,transparent))}
#gr-complete[data-host=app][data-platform=web] .gr-lb-colico.is-art svg{width:48px;height:48px}
#gr-complete[data-host=app][data-platform=web] .gr-lb-col{border-top:4px solid var(--lbc)}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum.is-econ{position:relative;overflow:hidden;
  background:linear-gradient(135deg,color-mix(in srgb,var(--lbc) 12%,var(--app-panel)),var(--app-panel) 70%);border-color:color-mix(in srgb,var(--lbc) 28%,var(--app-line))}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum.is-econ::after{content:"";position:absolute;right:-26px;top:-26px;width:92px;height:92px;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--lbc) 18%,transparent),transparent 70%);pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum-main.has-medallion{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"m p" "m s";align-items:center;column-gap:14px;row-gap:4px}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum-main.has-medallion > .gr-lb-medallion{grid-area:m}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum-main.has-medallion > .gr-lb-place{grid-area:p}
#gr-complete[data-host=app][data-platform=web] .gr-lb-sum-main.has-medallion > .gr-lb-pts{grid-area:s;justify-self:start}
#gr-complete[data-host=app][data-platform=web] .gr-lb-medallion{display:inline-grid;grid-auto-flow:column;place-items:center;align-items:baseline;gap:1px;min-width:58px;height:58px;padding:0 10px;
  border-radius:18px;background:var(--app-panel);color:var(--app-ink);font:800 24px/58px 'Outfit',sans-serif;font-variant-numeric:tabular-nums;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--lbc) 40%,transparent),0 10px 18px -12px color-mix(in srgb,var(--lbc) 60%,transparent)}
#gr-complete[data-host=app][data-platform=web] .gr-lb-medallion small{font-size:14px;font-weight:700;color:var(--lbc)}
/* the top three: a ribboned medal in place of the number, and a faint wash of their metal along the row */
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-top .gr-lb-rank,
#gr-complete[data-host=app][data-platform=web] .nxq-brow-rank.is-medal{width:30px;height:34px;background:none!important;border-radius:0;display:inline-grid;place-items:center}
#gr-complete[data-host=app][data-platform=web] .gr-lb-medal{display:block;width:30px;height:34px}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p1:not(.is-me){background:linear-gradient(90deg,rgba(255,216,77,.16),transparent 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p2:not(.is-me){background:linear-gradient(90deg,rgba(174,185,203,.16),transparent 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-p3:not(.is-me){background:linear-gradient(90deg,rgba(200,120,63,.12),transparent 55%)}
#gr-complete[data-host=app][data-platform=web] .gr-lb-row.is-me{box-shadow:inset 4px 0 0 var(--lbc,var(--app-blue))}

/* ============================================================
 * RANK JOURNEY (owner brief, 15 Nov 2026 §8): a hero (badge, level, XP progress) with the next rank as its own card, then
 * the rank PATH — every rank a milestone on one track (achieved, current, locked distinct) — and one open rank's levels.
 * ============================================================ */
#gr-complete .gr-jr-hero.is-journey{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,300px);align-items:center;gap:24px;padding:26px 28px;overflow:hidden;
  background:radial-gradient(120% 140% at 0% 0%,#eaf1ff 0%,var(--app-panel) 55%),var(--app-panel);border-color:#cfdcf6;box-shadow:0 18px 40px -30px rgba(31,86,201,.55)}
#gr-complete .gr-jr-hero.is-journey::after{content:"";position:absolute;right:-60px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(124,77,255,.10),transparent 70%);pointer-events:none}
#gr-complete .gr-jr-hero.is-journey .gr-jr-emb{display:grid;place-items:center;width:112px;height:112px;border-radius:30px;background:var(--app-panel);
  box-shadow:inset 0 0 0 1px #dbe5f7,0 14px 26px -18px rgba(31,86,201,.6)}
#gr-complete .gr-jr-hero.is-journey .gr-jr-big{font-size:34px;letter-spacing:-.02em}
#gr-complete .gr-jr-hero.is-journey .gr-jr-k{text-transform:uppercase;letter-spacing:.06em;font-size:12px;color:#1f56c9}
#gr-complete .gr-jr-hero.is-journey .gr-jr-bar{height:12px;border-radius:12px;background:rgba(47,111,228,.12);box-shadow:inset 0 1px 2px rgba(14,24,48,.08)}
#gr-complete .gr-jr-hero.is-journey .gr-jr-bar i{border-radius:12px;background:linear-gradient(90deg,#2f6fe4,#7c4dff)}
#gr-complete .gr-jr-hero.is-journey .gr-jr-sub{font-size:14px}
#gr-complete .gr-jr-nextcard{position:relative;z-index:1;display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:var(--app-panel);border:1px dashed #c9d6ee}
#gr-complete .gr-jr-nextcard > div{display:flex;flex-direction:column;gap:2px;min-width:0}
#gr-complete .gr-jr-nextcard b{font:800 17px/1.2 Outfit,sans-serif;color:var(--app-ink)}
#gr-complete .gr-jr-nextcard small{font:600 12.5px/1.35 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .gr-jr-nextbadge{position:relative;flex:none;display:grid;place-items:center;width:60px;height:60px}
#gr-complete .gr-jr-nextbadge .gr-rbadge{filter:grayscale(.65);opacity:.7}
#gr-complete .gr-jr-nextbadge i{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--app-ink);color:#fff}
#gr-complete .gr-jr-nextbadge i svg{width:12px;height:12px}
#gr-complete .gr-jr-h-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
#gr-complete .gr-jr-h-row p{margin:0;color:var(--app-muted);font:500 13.5px 'DM Sans',sans-serif}
/* the track: one path of milestones, scrolling sideways when the ranks outnumber the width */
#gr-complete .gr-jr-track{list-style:none;margin:0;padding:8px 4px 14px;display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;position:relative}
#gr-complete .gr-jr-stop{position:relative;flex:1 1 128px;min-width:112px}
#gr-complete .gr-jr-stop:not(:last-child)::after{content:"";position:absolute;top:38px;left:calc(50% + 34px);right:calc(-50% + 34px);height:4px;border-radius:4px;background:var(--app-line)}
#gr-complete .gr-jr-stop.is-done:not(:last-child)::after{background:linear-gradient(90deg,#18a058,#2f6fe4)}
#gr-complete .gr-jr-stop-btn{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:8px 6px 10px;border:0;border-radius:18px;background:none;color:var(--app-ink);cursor:pointer;text-align:center}
#gr-complete .gr-jr-stop-btn:hover{background:color-mix(in srgb,var(--app-blue) 6%,transparent)}
#gr-complete .gr-jr-stop-btn:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete .gr-jr-stop.is-open .gr-jr-stop-btn{background:var(--app-panel);box-shadow:0 0 0 2px #a9c4f5,0 10px 20px -14px rgba(31,86,201,.6)}
#gr-complete .gr-jr-stop-badge{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--app-panel);box-shadow:inset 0 0 0 2px var(--app-line)}
#gr-complete .gr-jr-stop.is-now .gr-jr-stop-badge{box-shadow:inset 0 0 0 3px #2f6fe4,0 0 0 6px rgba(47,111,228,.15)}
#gr-complete .gr-jr-stop.is-done .gr-jr-stop-badge{box-shadow:inset 0 0 0 2px #9ad6b5}
#gr-complete .gr-jr-stop.is-locked .gr-rbadge{filter:grayscale(1);opacity:.45}
#gr-complete .gr-jr-stop-lock,#gr-complete .gr-jr-stop-tick{position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff}
#gr-complete .gr-jr-stop-lock{background:#7b8794}
#gr-complete .gr-jr-stop-tick{background:#18a058}
#gr-complete .gr-jr-stop-lock svg,#gr-complete .gr-jr-stop-tick svg{width:12px;height:12px}
#gr-complete .gr-jr-stop-btn b{margin-top:4px;font:800 14px/1.2 Outfit,sans-serif}
#gr-complete .gr-jr-stop-btn small{font:600 12px 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .gr-jr-stop.is-locked .gr-jr-stop-btn b{color:var(--app-muted)}
/* the open rank: its levels, compact */
#gr-complete .gr-jr-detail{border:1px solid var(--app-line);border-radius:20px;background:var(--app-panel);padding:18px 20px;display:flex;flex-direction:column;gap:14px}
#gr-complete .gr-jr-detail.is-now{border-color:#a9c4f5}
#gr-complete .gr-jr-detail header{display:flex;align-items:center;gap:14px}
#gr-complete .gr-jr-detail header > div{flex:1;min-width:0}
#gr-complete .gr-jr-detail h3{margin:0;font:800 19px/1.2 Outfit,sans-serif;color:var(--app-ink)}
#gr-complete .gr-jr-detail header p{margin:2px 0 0;color:var(--app-muted);font:500 13px 'DM Sans',sans-serif}
#gr-complete .gr-jr-detail.is-locked header .gr-rbadge{filter:grayscale(1);opacity:.5}
#gr-complete .gr-jr-detail .gr-jr-levels{padding:0;grid-template-columns:repeat(auto-fill,minmax(52px,1fr))}
@container gr-shell (max-width: 900px){
  #gr-complete .gr-jr-hero.is-journey{grid-template-columns:auto minmax(0,1fr)}
  #gr-complete .gr-jr-nextcard{grid-column:1 / -1}
}
@container gr-shell (max-width: 480px){
  #gr-complete .gr-jr-hero.is-journey{grid-template-columns:1fr;padding:20px}
  #gr-complete .gr-jr-hero.is-journey .gr-jr-emb{width:88px;height:88px}
  #gr-complete .gr-jr-hero.is-journey .gr-jr-emb .gr-rbadge{width:72px;height:72px}
  #gr-complete .gr-jr-stop{flex-basis:104px}
}

/* ============================================================
 * WALLET (owner brief, 15 Nov 2026 §9): the Rochs banner and XP/Wits progress on the left with the history beneath; the
 * curated "Available for your look" beside it on a computer, stacked under the progress on a phone.
 * ============================================================ */
#gr-complete .app-wl.is-v2{max-width:none}
#gr-complete .app-wl.is-v2 .app-wl-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
#gr-complete .app-wl.is-v2 .app-wl-main{display:flex;flex-direction:column;gap:16px;min-width:0}
#gr-complete .app-wl.is-v2 .app-wl-side{min-width:0}
@container gr-shell (min-width: 1000px){
  #gr-complete .app-wl.is-v2 .app-wl-grid{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}
  #gr-complete .app-wl.is-v2 .app-wl-side{position:sticky;top:calc(var(--gr-header-h,72px) + 16px)}
}
#gr-complete .app-wl-prog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@container gr-shell (max-width: 560px){#gr-complete .app-wl-prog{grid-template-columns:1fr}}
#gr-complete .app-wl-progcard{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"i t" "g g";gap:10px 14px;align-items:center;padding:16px 18px;border-radius:20px;
  border:1px solid var(--app-line);background:var(--app-panel);color:var(--app-ink);text-align:start;cursor:pointer;box-shadow:0 10px 24px -22px rgba(14,24,48,.5)}
#gr-complete .app-wl-progcard.is-xp{background:linear-gradient(135deg,#eef4ff,var(--app-panel) 65%);border-color:#d3e1fa}
#gr-complete .app-wl-progcard.is-wits{background:linear-gradient(135deg,#fff6e3,var(--app-panel) 65%);border-color:#f1dfb4}
#gr-complete .app-wl-progcard:hover{border-color:var(--app-blue)}
#gr-complete .app-wl-progcard:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete .app-wl-prog-ico{grid-area:i;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--app-panel);box-shadow:inset 0 0 0 1px var(--app-line)}
#gr-complete .app-wl-prog-t{grid-area:t;display:flex;flex-direction:column;gap:2px;min-width:0}
#gr-complete .app-wl-prog-t small{font:700 12px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--app-muted)}
#gr-complete .app-wl-prog-t b{font:800 28px/1.1 Outfit,sans-serif;font-variant-numeric:tabular-nums}
#gr-complete .app-wl-progcard.is-xp .app-wl-prog-t b{color:#1f56c9}
#gr-complete .app-wl-progcard.is-wits .app-wl-prog-t b{color:#8a5a00}
#gr-complete .app-wl-prog-t > span{font:600 13px 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .app-wl-prog-bar{display:block;height:6px;margin-top:6px;border-radius:6px;background:rgba(47,111,228,.14);overflow:hidden}
#gr-complete .app-wl-prog-bar i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#2f6fe4,#7c4dff)}
#gr-complete .app-wl-prog-go{grid-area:g;display:inline-flex;align-items:center;gap:4px;justify-self:start;font:700 13px 'DM Sans',sans-serif;color:var(--app-blue)}
#gr-complete .app-wl-prog-go svg{width:15px;height:15px}
#gr-complete .app-wl-prog-note{margin:-4px 0 0;font:500 13px/1.45 'DM Sans',sans-serif;color:var(--app-muted)}
/* the mini shop */
#gr-complete .app-wl-shop{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:22px;border:1px solid var(--app-line);
  background:linear-gradient(180deg,#f6f3ff,var(--app-panel) 160px);box-shadow:0 18px 40px -32px rgba(60,40,160,.55)}
#gr-complete .app-wl-shop-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
#gr-complete .app-wl-shop-h h2{margin:0;font:800 18px/1.2 Outfit,sans-serif;color:var(--app-ink)}
#gr-complete .app-wl-shop-note{margin:0;font:500 12.5px/1.45 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .app-wl-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#gr-complete .app-wl-shop-list{display:flex;flex-direction:column;gap:8px}
#gr-complete .app-wl-shop-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border-radius:16px;border:1px solid var(--app-line);background:var(--app-panel);
  color:var(--app-ink);text-align:start;cursor:pointer;min-width:0}
#gr-complete .app-wl-shop-list .app-wl-shop-card{flex-direction:row;align-items:center}
#gr-complete .app-wl-shop-card:hover{border-color:#a99cf5;box-shadow:0 10px 20px -16px rgba(75,54,200,.6)}
#gr-complete .app-wl-shop-card:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete .app-wl-shop-art{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#f1effb;overflow:hidden;flex:none}
#gr-complete .app-wl-shop-art svg{width:56px;height:56px}
#gr-complete .app-wl-shop-art.is-theme{background:linear-gradient(135deg,var(--a),var(--b));position:relative}
#gr-complete .app-wl-shop-art.is-theme i{position:absolute;border-radius:6px;background:var(--c)}
#gr-complete .app-wl-shop-art.is-theme i:first-child{left:9px;top:10px;width:24px;height:8px}
#gr-complete .app-wl-shop-art.is-theme i:last-child{left:9px;top:24px;width:38px;height:20px;opacity:.55}
#gr-complete .app-wl-shop-t{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
#gr-complete .app-wl-shop-t b{font:700 14px/1.25 'DM Sans',sans-serif;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete .app-wl-shop-t small{font:500 12px 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete .app-wl-shop-need{display:inline-flex;align-items:center;gap:4px;color:#8a5a00!important;font-weight:700!important}
#gr-complete .app-wl-shop-need svg{width:12px;height:12px}
#gr-complete .app-wl-shop-p{display:inline-flex;align-items:center;gap:5px;padding:4px 9px 4px 6px;border-radius:999px;background:#efeafe;color:#3d2bb0;font:800 13px/1 Outfit,sans-serif;font-variant-numeric:tabular-nums}
#gr-complete .app-wl-shop-sub{margin:4px 0 0;font:700 13px 'DM Sans',sans-serif;color:var(--app-muted);text-transform:uppercase;letter-spacing:.05em}
#gr-complete .app-wl-shop-list.is-locked .app-wl-shop-art{filter:grayscale(1);opacity:.6}
#gr-complete .app-wl-shop-skel{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
#gr-complete .app-wl-shop-skel span{height:124px;border-radius:16px;background:var(--app-line);opacity:.5}

/* ============================================================
 * GAME DETAILS v2 (owner brief, 15 Nov 2026 §12): primary column (stage, title, meta, actions, description, talk) and a
 * secondary column of related games; one column on a phone with the related games after the talk.
 * ============================================================ */
#gr-complete[data-host=app][data-platform=web] .gr-gdw.is-v2{max-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
@container gr-shell (min-width: 1100px){#gr-complete[data-host=app][data-platform=web] .gr-gdw-layout{grid-template-columns:minmax(0,1fr) minmax(300px,360px)}}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-primary{display:flex;flex-direction:column;gap:14px;min-width:0}
/* the stage: a wide, bounded preview — the cover upright over its own colours, Play now on it */
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage{position:relative;isolation:isolate;display:grid;place-items:center;aspect-ratio:16/8;max-height:440px;min-height:260px;
  border-radius:24px;overflow:hidden;background:#0e1830;box-shadow:0 24px 48px -32px rgba(14,24,48,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-wash{position:absolute;inset:-40px;z-index:-1;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(38px) saturate(1.3);opacity:.85;transform:scale(1.1)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,24,48,0) 45%,rgba(14,24,48,.55))}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{height:86%;width:auto;max-width:44%;aspect-ratio:3/4;object-fit:cover;border-radius:20px;box-shadow:0 22px 40px -18px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.18)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta{position:absolute;left:24px;bottom:22px;right:24px;display:flex;justify-content:flex-start}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta .gr-appplay{width:auto;min-width:220px;min-height:52px;padding:0 28px;border-radius:999px;font-size:17px;box-shadow:0 14px 28px -12px rgba(36,100,236,.8)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-title{margin:4px 0 0;font:800 clamp(26px,2.4cqw,34px)/1.12 'Outfit',sans-serif;letter-spacing:-.02em;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-metarow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-dev{display:inline-flex;align-items:center;gap:6px;font:700 14px 'DM Sans',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-dev svg{width:17px;height:17px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-metarow .gr-gdw-genres{margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gdw-facts{margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-acts{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-act{flex-direction:row;gap:7px;min-height:40px;height:40px;padding:0 16px;border-radius:999px;font:700 14px 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-act svg{width:18px;height:18px}
/* the description: YouTube's grey box, GameRoch's tint */
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc{padding:16px 18px;border-radius:18px;background:color-mix(in srgb,var(--app-blue) 5%,var(--app-panel));border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-intro{margin:0;max-width:72ch;font:600 15.5px/1.55 'DM Sans',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-more{margin-top:10px;max-width:72ch}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-more p{margin:0 0 10px;font:500 15px/1.6 'DM Sans',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-h3{margin:14px 0 8px;font:800 15px 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-ctl,#gr-complete[data-host=app][data-platform=web] .gr-gdw-modelist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-ctl li{position:relative;padding-inline-start:16px;font:500 14.5px/1.5 'DM Sans',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-ctl li::before{content:"";position:absolute;left:2px;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-modelist li{display:flex;flex-wrap:wrap;gap:4px 10px;font:500 14.5px/1.5 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-modelist b{color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-btn{margin-top:8px;padding:0;border:0;background:none;color:var(--app-ink);font:800 14px 'DM Sans',sans-serif;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-btn:hover{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-desc-btn:focus-visible{outline:2px solid var(--app-blue);outline-offset:3px;border-radius:4px}
/* related games: a compact list with its own Play */
#gr-complete[data-host=app][data-platform=web] .gr-gdw-secondary{min-width:0}
@container gr-shell (min-width: 1100px){#gr-complete[data-host=app][data-platform=web] .gr-gdw-secondary{position:sticky;top:calc(var(--gr-header-h,72px) + 16px)}}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-secondary h2{margin:0 0 10px;font:800 18px 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-rel2{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relrow{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border-radius:16px;background:var(--app-panel);border:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relrow:hover{border-color:color-mix(in srgb,var(--app-blue) 40%,var(--app-line))}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relart{width:72px;height:96px;padding:0;border:0;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relart img{width:100%;height:100%;object-fit:cover;display:block}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relname{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:0;border:0;background:none;text-align:start;color:var(--app-ink);cursor:pointer;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relname b{max-width:100%;font:700 15px/1.25 'DM Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relname small{font:500 13px 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relname:hover b{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relplay{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:var(--app-blue);color:#fff;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relplay svg{width:16px;height:16px;margin-left:2px;fill:currentColor}
#gr-complete[data-host=app][data-platform=web] :is(.gr-gdw-relname,.gr-gdw-relplay):focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}
@container gr-shell (max-width: 620px){
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage{aspect-ratio:4/3.4;min-height:0;border-radius:20px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{max-width:62%;height:78%}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta{left:14px;right:14px;bottom:14px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta .gr-appplay{width:100%}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-act{padding:0 12px}
}
/* details v2, after the first look: the art sits high and Play now centred under it (never over the cover); the four
 * actions stay on one line beside the figures */
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage{place-items:start center;padding-top:22px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{height:calc(100% - 112px)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta{justify-content:center;bottom:24px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-acts{display:flex;flex-wrap:nowrap;width:auto;grid-template-columns:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-act{width:auto;flex:none}
@container gr-shell (max-width: 620px){
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{height:calc(100% - 96px)}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-acts{flex-wrap:wrap}
}
/* details v2, second look: the cover and Play now each have their own band of the stage; the action group takes its own
 * width (it moves under the figures as a whole when the row is too narrow, never spilling past the column) */
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage{grid-template-rows:minmax(0,1fr);padding:22px 0 96px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{height:100%;max-height:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-cta{bottom:20px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-acts{flex:none;max-width:100%}
@container gr-shell (max-width: 620px){
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage{padding:16px 0 80px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-stage-art{height:100%}
  #gr-complete[data-host=app][data-platform=web] .gr-gdw-actrow .gr-gd-acts{flex:1 1 100%}
}

/* ============================================================
 * HOME IN TWO FORMATS (owner, 15 Nov 2026): HERO rows (Top played, New on GameRoch) and TILE rows (every shelf below,
 * Daily game challenges included) — each one sliding row, never a second line of cards.
 * ============================================================ */
/* hero: Top played wears a rank badge where New wears its New badge */
#gr-complete[data-host=app][data-platform=web] .gr-newgame.is-rank{background:rgba(14,24,48,.72);color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-newgame.is-rank.is-r1{background:linear-gradient(135deg,#ffd84d,#f0a400);color:#4a2a00}
#gr-complete[data-host=app][data-platform=web] .gr-newgame.is-rank.is-r2{background:linear-gradient(135deg,#f1f4f8,#aeb9cb);color:#26324a}
#gr-complete[data-host=app][data-platform=web] .gr-newgame.is-rank.is-r3{background:linear-gradient(135deg,#f6c39a,#c8783f);color:#3d1d06}
#gr-complete[data-host=app][data-platform=web] .gr-newgame.is-rank span{font-weight:800}
/* tile rows: every tile the Recently played tile; the line under the name is one quiet line */
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-slide > .gr-htile.is-recent{position:relative}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent .gr-htile-name small{display:block;margin-top:2px;font:500 13px/1.3 'DM Sans',sans-serif;color:var(--app-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent .gr-htile-name{display:block;width:100%;padding:0;border:0;background:none;text-align:start;color:var(--app-ink);cursor:pointer;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-htile.is-recent .gr-htile-name:hover b{color:var(--app-blue)}
/* the Daily tile: its reward and state under the objective */
#gr-complete[data-host=app][data-platform=web] .gr-hdt .gr-htile-art{position:relative}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-tick{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#18a058;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.25)}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-tick svg{width:18px;height:18px}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;min-height:24px}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-rw{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 5px;border-radius:999px;background:#efeafe;color:#3d2bb0;font:700 12.5px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-rw.is-rp{padding:0 9px;background:color-mix(in srgb,var(--app-blue) 10%,var(--app-panel));color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-xp{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px 0 5px;border-radius:999px;background:#eaf1fe;color:#1f56c9;font:700 12px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-state{display:inline-flex;align-items:center;gap:4px;font:700 12.5px/1 'DM Sans',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-state.is-done{color:#0f7a43}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-state svg{width:14px;height:14px}
/* Quiz Nova: one sliding row too */
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-quiz > *{width:180px}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-quiz > .gr-hqday{width:min(300px,80vw);grid-column:auto;grid-row:auto}
