/* GameRoch website — UI completion (17 Nov 2026, owner brief). Website only, loaded last (tools/webapp-html.mjs WEB_APP_CSS).
   Leaderboard (one board, three times), Missions (discovery), Rank Journey (ten ranks), Wallet (full width), Characters
   (no change here), game page (related-game preview). Every rule starts with #gr-complete[data-host=app][data-platform=web],
   so the phone app cannot change. Colours come from the theme's variables (--app-ink, --app-muted, --app-line, --app-panel,
   --app-blue); spacing follows the shell's 8 / 12 / 16 / 20 / 24 steps; headings Outfit 800, body DM Sans. */

/* ===================================================================== LEADERBOARD ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col{display:grid;gap:12px;align-content:start}
@container gr-lb (min-width: 1100px){
  /* the three columns share five rows: heading, standing, participants line, rows, secondary — so equivalent parts align */
  #gr-complete[data-host=app][data-platform=web] .gr-lbu-trio{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,auto);column-gap:20px;row-gap:12px;align-items:stretch}
  #gr-complete[data-host=app][data-platform=web] .gr-lbu-trio > .gr-lbu-col{grid-row:span 5;grid-template-rows:subgrid;row-gap:12px;gap:12px}
}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col > .gr-lb-colhead{align-self:start}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-colt h2{font:800 21px/1.15 'Outfit',sans-serif;letter-spacing:-.01em}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand{display:grid;gap:12px;min-width:0;padding:14px 16px;border-radius:20px;position:relative;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--lbc) 28%,var(--app-line));
  background:linear-gradient(135deg,color-mix(in srgb,var(--lbc) 12%,var(--app-panel)),var(--app-panel) 70%);box-shadow:0 6px 16px -14px rgba(14,24,48,.5)}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand::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-lbu-stand-top{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-height:32px;min-width:0;color:var(--app-ink);font:700 15px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-top > b{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-ico{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;color:var(--lbc);
  background:color-mix(in srgb,var(--lbc) 14%,var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-ico svg{width:17px;height:17px}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--app-line);
  background:var(--app-panel);color:var(--app-muted);font:700 13px/1 'DM Sans',sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip svg{width:15px;height:15px;flex:0 0 auto}
#gr-complete[data-host=app][data-platform=web] button.gr-lbu-chip{cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip.is-go{border-color:transparent;background:linear-gradient(180deg,color-mix(in srgb,var(--lbc) 86%,#fff),var(--lbc));color:#fff;
  box-shadow:0 8px 16px -10px color-mix(in srgb,var(--lbc) 80%,transparent)}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip.is-rank{color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip.is-rank .gr-rk{width:20px;height:20px}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip:focus-visible,#gr-complete[data-host=app][data-platform=web] .gr-lbu-journey:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-main{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
#gr-complete[data-host=app][data-platform=web] .gr-lb-medallion.is-none{color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-copy{display:grid;gap:6px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-copy .gr-lb-place{color:var(--app-ink);font:600 15px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-copy .gr-lb-place b{font:800 20px/1 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-val .nx-econ{display:inline-flex;align-items:center;gap:6px}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand-val .nx-econ b{font:800 26px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-count{align-self:end;margin:4px 2px 0;color:var(--app-muted);font:700 14px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lbu-list{align-self:start;margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-row{min-height:58px;gap:10px;padding:8px 12px}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-rank{flex:0 0 30px;text-align:center;font:800 15px/1 'Outfit',sans-serif;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-who{flex:1 1 auto;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-nm{display:flex;align-items:center;gap:6px;min-width:0;font:700 15px/1.25 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-nm > span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-score{flex:0 0 auto;white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-score .nx-econ b{font:800 16px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-col .gr-lb-empty{padding:18px 16px;border-radius:18px;border:1px dashed var(--app-line);color:var(--app-muted);font:500 14.5px/1.45 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-extra{display:grid;gap:10px;align-content:start;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-extra .gr-lb-proj{margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-journey{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 14px;border-radius:16px;border:1px solid var(--app-line);
  background:var(--app-panel);color:var(--app-ink);font:700 14.5px/1.25 'DM Sans',sans-serif;cursor:pointer;text-align:start}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-journey > span{flex:1 1 auto}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-journey:hover{border-color:color-mix(in srgb,var(--lbc) 50%,var(--app-line))}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand.is-pending i{display:block;height:22px;width:60%;border-radius:8px;background:var(--app-line);opacity:.7}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-stand.is-pending .gr-lbu-stand-main i{height:58px;width:100%}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-one .gr-lbu-col{margin-top:12px}

/* ===================================================================== RANK INSIGNIA ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-rk{display:block;flex:0 0 auto;overflow:visible}
#gr-complete[data-host=app][data-platform=web] .gr-rk.is-locked{filter:grayscale(1) contrast(.85);opacity:.5}

/* ===================================================================== RANK JOURNEY ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-main > .gr-rj{max-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-rj{display:grid;gap:20px;container-type:inline-size;container-name:rj}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center;padding:24px;border-radius:28px;
  color:#fff;background:radial-gradient(120% 140% at 0% 0%,#4f6bff 0%,#3a2bc4 48%,#24166f 100%);box-shadow:0 26px 50px -34px rgba(36,22,111,.75)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero::before{content:"";position:absolute;inset:auto -60px -120px auto;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,214,107,.28),transparent 66%);pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero.is-top{background:radial-gradient(120% 140% at 0% 0%,#7b5bff 0%,#3a1d9c 50%,#1f1260 100%)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero.is-loading,#gr-complete[data-host=app][data-platform=web] .gr-rj-hero.is-error{min-height:220px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero.is-error h2{margin:0 0 6px;font:800 22px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero.is-error p{margin:0 0 14px;color:rgba(255,255,255,.85)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero-badge{position:relative;z-index:1;display:grid;place-items:center;justify-self:center;width:156px;height:156px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,.04) 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero-badge.is-skel{background:rgba(255,255,255,.12)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-hero-badge .gr-rk{filter:drop-shadow(0 12px 18px rgba(10,6,50,.45))}
#gr-complete[data-host=app][data-platform=web] .gr-rj-ht{position:relative;z-index:1;display:grid;gap:10px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-rj-k{margin:0;color:rgba(255,255,255,.78);font:700 13px/1.2 'DM Sans',sans-serif;letter-spacing:.06em;text-transform:uppercase}
#gr-complete[data-host=app][data-platform=web] .gr-rj-name{margin:0;font:800 clamp(30px,4.2vw,44px)/1.05 'Outfit',sans-serif;letter-spacing:-.02em}
#gr-complete[data-host=app][data-platform=web] .gr-rj-xp{display:flex;align-items:center;gap:8px;margin:0;font:600 15px/1 'DM Sans',sans-serif;color:rgba(255,255,255,.85)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-xp b{color:#fff;font:800 24px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-rj-bar{position:relative;height:12px;max-width:560px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
#gr-complete[data-host=app][data-platform=web] .gr-rj-bar i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,#ffd66b,#ffb020);box-shadow:0 0 12px rgba(255,200,61,.6)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-next{margin:0;color:#fff;font:600 15px/1.4 'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-rj-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-cta{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border-radius:999px;background:#fff;color:#2c1f86;font:800 15px/1 'Outfit',sans-serif;border:0;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-rj-cta:hover{background:#efeaff}
#gr-complete[data-host=app][data-platform=web] .gr-rj-actions .gr-hmini{min-height:44px;color:#fff;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.08)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-actions :focus-visible{outline:3px solid #ffd66b;outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:16px;border-radius:22px;
  background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);backdrop-filter:blur(6px)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard b{display:block;font:800 19px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard small{display:block;margin-top:4px;color:rgba(255,255,255,.8);font:600 13.5px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard small.is-left{color:#ffd66b}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nb{position:relative;display:grid;place-items:center;width:72px;height:72px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nb > i{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#1d1560;color:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nb > i svg{width:13px;height:13px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard.is-top .gr-rj-nb{border-radius:50%;background:rgba(255,214,107,.2);color:#ffd66b}
#gr-complete[data-host=app][data-platform=web] .gr-rj-nextcard.is-top .gr-rj-nb svg{width:34px;height:34px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-party{display:flex;align-items:center;gap:10px;margin:0;padding:12px 16px;border-radius:16px;font:700 15px/1.3 'DM Sans',sans-serif;
  color:#7a4b00;background:linear-gradient(90deg,#fff3c4,#ffe28a)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-h-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 20px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-h{margin:0;color:var(--app-ink);font:800 22px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-h-row p{margin:0;max-width:72ch;color:var(--app-muted);font:500 14.5px/1.45 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-ladder{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rank{display:grid;justify-items:center;align-content:start;gap:4px;padding:16px 12px 14px;border-radius:22px;text-align:center;min-width:0;
  border:1px solid var(--app-line);background:var(--app-panel);box-shadow:0 12px 26px -24px rgba(14,24,48,.6)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rank.is-now{border-color:color-mix(in srgb,var(--app-blue) 55%,var(--app-line));
  background:linear-gradient(180deg,color-mix(in srgb,var(--app-blue) 10%,var(--app-panel)),var(--app-panel));box-shadow:0 0 0 3px color-mix(in srgb,var(--app-blue) 22%,transparent),0 16px 30px -24px rgba(36,100,236,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rb{position:relative;display:grid;place-items:center;width:76px;height:76px;margin-bottom:4px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rb > i{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;box-shadow:0 0 0 2px var(--app-panel)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rb > i svg{width:12px;height:12px}
#gr-complete[data-host=app][data-platform=web] .gr-rj-lock{background:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-tick{background:#16a34a}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rn{color:var(--app-muted);font:700 12px/1.2 'DM Sans',sans-serif;letter-spacing:.05em;text-transform:uppercase}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rank b{color:var(--app-ink);font:800 16px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-rank.is-locked b{color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-th{display:inline-flex;align-items:center;gap:4px;color:var(--app-ink);font:700 13.5px/1 'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-rj-st{margin-top:6px;padding:4px 10px;border-radius:999px;font:700 12px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-rj-st.is-done{color:#15803d;background:color-mix(in srgb,#16a34a 12%,var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-rj-st.is-now{color:#fff;background:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-rj-st.is-locked{color:var(--app-muted);background:color-mix(in srgb,var(--app-line) 70%,transparent)}
@container rj (min-width: 620px){
  #gr-complete[data-host=app][data-platform=web] .gr-rj-ladder{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@container rj (min-width: 820px){
  #gr-complete[data-host=app][data-platform=web] .gr-rj-hero{grid-template-columns:auto minmax(0,1fr) minmax(260px,320px);padding:28px 32px;gap:28px}
}

/* ===================================================================== MISSIONS (discovery) ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-main > .gr-dy.gr-gm.gr-dm{max-width:none}
#gr-complete[data-host=app][data-platform=web] .gr-dm{display:grid;gap:20px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);gap:18px 32px;align-items:center;padding:24px;border-radius:26px;
  border:1px solid color-mix(in srgb,var(--app-blue) 22%,var(--app-line));
  background:linear-gradient(135deg,color-mix(in srgb,var(--app-blue) 12%,var(--app-panel)),color-mix(in srgb,#7c4dff 7%,var(--app-panel)) 60%,var(--app-panel));box-shadow:0 22px 44px -36px rgba(14,24,48,.55)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero h2{margin:0;color:var(--app-ink);font:800 26px/1.15 'Outfit',sans-serif;letter-spacing:-.015em}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero-t p{margin:8px 0 0;max-width:62ch;color:var(--app-muted);font:500 15px/1.5 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero-t .gr-dm-since{display:flex;align-items:center;gap:8px;color:var(--app-ink);font-weight:600}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero-t .gr-dm-since svg{width:16px;height:16px;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-hero-n{display:grid;gap:12px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-dm-count{display:flex;align-items:baseline;gap:10px;margin:0;color:var(--app-muted);font:700 15px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-count b{color:var(--app-ink);font:800 44px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-dm-track{position:relative;height:12px;margin:6px 12px 22px 0;border-radius:999px;background:color-mix(in srgb,var(--app-line) 85%,transparent)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,var(--app-blue),#7c4dff)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-mark{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--app-panel);box-shadow:inset 0 0 0 3px var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-mark.is-hit{box-shadow:inset 0 0 0 3px #7c4dff;background:#fff}
#gr-complete[data-host=app][data-platform=web] .gr-dm-mark span{position:absolute;top:22px;left:50%;transform:translateX(-50%);color:var(--app-muted);font:700 12px/1 'DM Sans',sans-serif;font-style:normal;white-space:nowrap}
#gr-complete[data-host=app][data-platform=web] .gr-dm-tot{display:flex;align-items:center;gap:6px;margin:0;color:var(--app-ink);font:600 14px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ready{grid-column:1 / -1;display:flex;align-items:center;gap:10px;margin:0;padding:10px 14px;border-radius:14px;color:#7a4b00;background:linear-gradient(90deg,#fff3c4,#ffe28a);font:700 14.5px/1.3 'DM Sans',sans-serif}
@container gm (min-width: 820px){
  #gr-complete[data-host=app][data-platform=web] .gr-dm-hero{grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);padding:28px 32px}
}
#gr-complete[data-host=app][data-platform=web] .gr-dm-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:0;list-style:none}
@container gm (min-width: 760px){#gr-complete[data-host=app][data-platform=web] .gr-dm-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card{display:grid;grid-template-rows:auto auto auto 1fr auto auto auto;gap:8px;min-width:0;padding:18px;border-radius:24px;border:1px solid var(--app-line);
  background:linear-gradient(180deg,color-mix(in srgb,var(--app-blue) 5%,var(--app-panel)),var(--app-panel) 120px);box-shadow:0 16px 32px -28px rgba(14,24,48,.6)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card.is-ready{border-color:color-mix(in srgb,#e0a21c 60%,var(--app-line));background:linear-gradient(180deg,#fff7dc,var(--app-panel) 140px);box-shadow:0 0 0 3px rgba(224,162,28,.2),0 16px 32px -26px rgba(224,162,28,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card.is-claimed{background:var(--app-panel)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:#fff;background:linear-gradient(150deg,#5b8ff0,#2f6fe4);box-shadow:0 10px 18px -12px rgba(47,111,228,.8)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card.is-claimed .gr-dm-ico{background:linear-gradient(150deg,#34d399,#16a34a)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ico svg{width:22px;height:22px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-reward{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;background:color-mix(in srgb,#7c4dff 10%,var(--app-panel));color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-reward b{font:800 16px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card h3{margin:6px 0 0;color:var(--app-ink);font:800 20px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-req{margin:0;color:var(--app-ink);font:700 15px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-line{margin:0;color:var(--app-muted);font:500 14px/1.4 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-bar{position:relative;height:8px;border-radius:999px;background:color-mix(in srgb,var(--app-line) 85%,transparent);overflow:hidden}
#gr-complete[data-host=app][data-platform=web] .gr-dm-bar i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,var(--app-blue),#7c4dff)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card.is-ready .gr-dm-bar i{background:linear-gradient(90deg,#f5b301,#e08a00)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-card.is-claimed .gr-dm-bar i{background:#16a34a}
#gr-complete[data-host=app][data-platform=web] .gr-dm-prog{margin:0;color:var(--app-muted);font:700 13.5px/1.3 'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-dm-prog.is-ready{color:#a16207}
#gr-complete[data-host=app][data-platform=web] .gr-dm-claim,#gr-complete[data-host=app][data-platform=web] .gr-dm-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin-top:6px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-done{display:flex;align-items:center;gap:8px;min-height:46px;margin:6px 0 0;color:#15803d;font:700 14.5px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-sec{display:grid;gap:12px;padding:18px 20px;border-radius:24px;border:1px solid var(--app-line);background:var(--app-panel)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-sec:focus{outline:none}
#gr-complete[data-host=app][data-platform=web] .gr-dm-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .gr-dm-chip{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border-radius:16px;border:1px solid var(--app-line);background:var(--app-panel);color:var(--app-ink);cursor:pointer;text-align:start}
#gr-complete[data-host=app][data-platform=web] .gr-dm-chip img{width:40px;height:52px;border-radius:10px;object-fit:cover}
#gr-complete[data-host=app][data-platform=web] .gr-dm-chip b{display:block;font:700 14.5px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-none,#gr-complete[data-host=app][data-platform=web] .gr-dm-warm{display:flex;align-items:center;gap:8px;margin:0;color:var(--app-muted);font:500 14.5px/1.45 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-dm-next{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
@container gm (min-width: 620px){#gr-complete[data-host=app][data-platform=web] .gr-dm-next{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container gm (min-width: 960px){#gr-complete[data-host=app][data-platform=web] .gr-dm-next{grid-template-columns:repeat(6,minmax(0,1fr))}}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng{position:relative;display:grid;gap:8px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-page{display:grid;gap:8px;padding:0;border:0;background:none;color:var(--app-ink);text-align:start;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-page img{width:100%;aspect-ratio:3/4;height:auto;border-radius:16px;object-fit:cover;box-shadow:0 14px 26px -20px rgba(14,24,48,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-page b{font:700 14.5px/1.25 'DM Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-play{position:absolute;right:8px;top:8px;display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 12px;border-radius:999px;border:0;
  background:rgba(255,255,255,.94);color:#1d2550;font:800 13px/1 'Outfit',sans-serif;cursor:pointer;box-shadow:0 6px 14px -8px rgba(0,0,0,.5)}
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-play svg{width:14px;height:14px}
#gr-complete[data-host=app][data-platform=web] :is(.gr-dm-chip,.gr-dm-ng-page,.gr-dm-ng-play,.gr-dm-claim,.gr-dm-go):focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-skel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#gr-complete[data-host=app][data-platform=web] .gr-dm-skel span{height:220px;border-radius:24px;background:color-mix(in srgb,var(--app-line) 70%,transparent)}

/* ===================================================================== WALLET ===================================================================== */
/* an older rule (app-web.css: .gr-main > .app-wl{max-width:1100px}) out-ranked the full-width V2 layout */
#gr-complete[data-host=app][data-platform=web] .gr-main > .app-wl.is-v2{max-width:none}
@container gr-shell (min-width: 1000px){
  #gr-complete[data-host=app][data-platform=web] .app-wl.is-v2 .app-wl-grid{grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:24px}
}
@container gr-shell (min-width: 1400px){
  #gr-complete[data-host=app][data-platform=web] .app-wl.is-v2 .app-wl-grid{grid-template-columns:minmax(0,1fr) 440px}
  /* the balance and the two progress figures share ONE row of equal height, so the history below gets the full main width */
  #gr-complete[data-host=app][data-platform=web] .app-wl.is-v2 .app-wl-main{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
  #gr-complete[data-host=app][data-platform=web] .app-wl.is-v2 .app-wl-main > .app-wl-prog{display:contents}
  #gr-complete[data-host=app][data-platform=web] .app-wl.is-v2 .app-wl-main > :is(.app-wl-prog-note,.app-wl-act){grid-column:1 / -1}
}
#gr-complete[data-host=app][data-platform=web] .app-wl-side{display:grid;gap:16px;align-content:start}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn{display:grid;gap:10px;padding:18px;border-radius:22px;border:1px solid var(--app-line);background:var(--app-panel)}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn h2{margin:0;color:var(--app-ink);font:800 18px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:16px;
  border:1px solid var(--app-line);background:color-mix(in srgb,var(--app-blue) 4%,var(--app-panel));color:var(--app-ink);text-align:start;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-row:hover{border-color:color-mix(in srgb,var(--app-blue) 40%,var(--app-line))}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-row:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#fff;background:linear-gradient(150deg,#8b6cff,#5b3fd6)}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-ico svg{width:18px;height:18px}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-t b{display:block;font:700 14.5px/1.25 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .app-wl-earn-t small{display:block;margin-top:2px;color:var(--app-muted);font:500 13px/1.35 'DM Sans',sans-serif}

/* ===================================================================== GAME PAGE ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-gd.gr-gdw{max-width:1600px}
@container gr-shell (min-width: 1100px){#gr-complete[data-host=app][data-platform=web] .gr-gdw-layout{grid-template-columns:minmax(0,1fr) clamp(300px,24vw,380px);gap:32px}}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relrow{display:block;padding:0;border:0;background:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:8px 12px 8px 8px;border-radius:16px;
  border:1px solid var(--app-line);background:var(--app-panel);color:var(--app-ink);text-align:start;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard:hover{border-color:color-mix(in srgb,var(--app-blue) 40%,var(--app-line))}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard:focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard img{width:72px;height:96px;border-radius:12px;object-fit:cover;display:block;background:var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard > svg{width:18px;height:18px;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-gdw-relcard .gr-gdw-relname{pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-card{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;width:min(560px,calc(100vw - 32px));padding:22px;border-radius:24px}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-art{width:120px;height:160px;border-radius:16px;object-fit:cover;box-shadow:0 16px 28px -20px rgba(14,24,48,.7)}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-t{display:grid;gap:8px;align-content:start;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-t h2{margin:0 36px 0 0;color:var(--app-ink);font:800 22px/1.2 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-g{margin:0;color:var(--app-muted);font:600 14px/1.3 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-d{margin:0;color:var(--app-ink);font:400 15px/1.5 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-acts > *{min-height:44px}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-x{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--app-line);background:var(--app-panel);color:var(--app-ink);cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-gdp-x:focus-visible,#gr-complete[data-host=app][data-platform=web] .gr-gdp-acts :focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
@container gr-shell (max-width: 520px){
  #gr-complete[data-host=app][data-platform=web] .gr-gdp-card{grid-template-columns:1fr}
  #gr-complete[data-host=app][data-platform=web] .gr-gdp-art{width:96px;height:128px}
  #gr-complete[data-host=app][data-platform=web] .gr-gdp-acts > *{flex:1 1 100%}
}

/* reduced motion: nothing here animates beyond the shell's own transitions */
@media (prefers-reduced-motion: reduce){
  #gr-complete[data-host=app][data-platform=web] :is(.gr-dm-fill,.gr-dm-bar i,.gr-rj-bar i){transition:none}
}

/* ===================================================================== GAME HOST: COMPACT LAYOUTS (AM-LAYOUT-01) =====================================================================
 * A phone held sideways (or a short landscape window) turns the toolbar into a 56 px side rail (css/app.css). The website's
 * centred title still drew there and collapsed to "A" (QA 17 Nov: 11 px for 82 px of text). In the rail and below 620 px
 * the title is omitted VISUALLY but stays the dialog's accessible name (aria-labelledby gr-gp-title); Back is a round icon
 * button that keeps its full name ("Back to GameRoch"), as is the game menu. */
@media (orientation:landscape) and (max-height:520px), (max-width:620px){
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer #gr-gp-title{display:block;position:absolute;left:0;top:0;width:1px;height:1px;max-width:none;overflow:hidden;clip-path:inset(50%);transform:none;white-space:nowrap}
}
@media (orientation:landscape) and (max-height:520px){
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer :is(.gr-gpx-close,.gr-gpx-menu){width:44px;height:44px;min-height:44px;max-width:none;padding:0;justify-content:center;border-radius:50%}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-close > .gr-visually-hidden,
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-menu > span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* AM-LAYOUT-02 (found 17 Nov by the gate): in the side rail the leave question was squeezed into the 56 px rail and its words
 * were cut (WebKit showed only the two buttons). There it is a card beside the rail, over the top of the game while the
 * question is open (the play-time clock is stopped meanwhile: host-ui), with the question and both answers in full. */
@media (orientation:landscape) and (max-height:520px){
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask{position:fixed;z-index:20;top:max(10px,env(safe-area-inset-top));left:calc(var(--gpx-left,0px) + var(--gpx-rail,56px) + 10px);
    right:auto;bottom:auto;width:auto;max-width:calc(100vw - var(--gpx-left,0px) - var(--gpx-rail,56px) - 20px - env(safe-area-inset-right));height:auto;
    flex-wrap:wrap;justify-content:flex-start;gap:10px 14px;padding:12px 14px;border:1px solid rgba(255,255,255,.18);border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
  #gr-complete[data-host=app][data-platform=web] .gr-gameplayer .gr-gpx-ask-q{white-space:normal;overflow:visible;flex:1 1 180px}
}

/* ===================================================================== HEADER (owner-approved 17 Nov 2026: A / Cobalt, every theme) =====================================================================
 * Wide search kept (measured before: 548 px at 1440, 560 px at 1920); the standalone Sign in is gone (it lives in the profile
 * menu); Android / iOS are branded GameRoch buttons; Rochs · Wits · XP are separate tactile pills, figure over unit; the
 * player's own character is larger with a chevron and a quick menu. Colours come from the theme's tokens, so every theme
 * re-tints them; the Roch coin itself stays black and gold. */
#gr-complete[data-host=app][data-platform=web]{--gr-mark-a:color-mix(in srgb,var(--app-blue,#2464ec) 55%,#8b5cf6);--gr-mark-b:var(--app-blue,#2464ec);--gr-mark-ink:var(--gr-on,#fff);
  --hd-pill:linear-gradient(180deg,color-mix(in srgb,var(--app-panel,#fff) 100%,#fff),color-mix(in srgb,var(--app-panel,#fff) 92%,var(--app-blue,#2464ec)));
  --hd-pill-line:color-mix(in srgb,var(--app-line,#e3e8f2) 80%,var(--app-blue,#2464ec));
  --hd-cobalt-a:color-mix(in srgb,var(--gr-blue,#2464ec) 94%,#fff);--hd-cobalt-b:color-mix(in srgb,var(--gr-blue,#2464ec) 94%,#000)}
#gr-complete[data-host=app][data-platform=web] .gr-header-actions #gr-signin:not(.gr-keep):not(.gr-keep2){display:none!important}
#gr-complete[data-host=app][data-platform=web] .gr-brand{display:inline-flex;align-items:center;gap:10px}
#gr-complete[data-host=app][data-platform=web] .gr-brand > img{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-brandmark{flex:none;width:44px;height:30px;filter:drop-shadow(0 4px 8px color-mix(in srgb,var(--gr-mark-b) 40%,transparent))}
@container gr-shell (min-width: 621px){
  #gr-complete[data-host=app][data-platform=web] .gr-header{min-height:80px;padding-block:14px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions{gap:10px}
  /* the store buttons */
  #gr-complete[data-host=app][data-platform=web] #gr-applinks{gap:10px}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store{display:inline-flex;align-items:center;gap:10px;height:48px;min-height:48px;padding:0 16px 0 12px;border-radius:16px;
    border:1px solid color-mix(in srgb,var(--hd-cobalt-b) 70%,#000);background:linear-gradient(180deg,var(--hd-cobalt-a),var(--hd-cobalt-b));color:var(--gr-on,#fff);text-decoration:none;
    box-shadow:0 8px 18px -10px color-mix(in srgb,var(--app-blue) 80%,transparent),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.18);transition:transform .15s ease,box-shadow .15s ease}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store:hover{transform:translateY(-1px);box-shadow:0 12px 22px -10px color-mix(in srgb,var(--app-blue) 85%,transparent),inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.18)}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-ico{display:grid;place-items:center;padding-inline-end:10px;border-inline-end:1px solid color-mix(in srgb,var(--gr-on,#fff) 40%,transparent)}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t{display:grid;line-height:1.05;text-align:start}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t b{font:800 14px/1.1 'Outfit',sans-serif}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t small{font:600 12px/1.15 'DM Sans',sans-serif;opacity:.92}
  /* the three metrics: separate pills, figure over unit */
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl){height:48px;min-height:48px;margin-inline-start:0!important;padding:0 14px 0 8px;gap:8px;
    border-radius:16px!important;border:1px solid var(--hd-pill-line)!important;background:var(--hd-pill)!important;color:var(--app-ink);
    box-shadow:0 6px 14px -10px rgba(14,24,48,.55),inset 0 1px 0 rgba(255,255,255,.8)!important}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl):hover{transform:translateY(-1px)}
  #gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch{display:inline-grid!important;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:8px;row-gap:0}
  #gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch .gr-coin{grid-row:1 / 3;width:30px!important;height:30px!important}
  #gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch .gr-coin .gr-eicon{width:30px;height:30px}
  #gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch #gr-coins-n{align-self:end;font:800 17px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins,#gr-rp,#gr-lvl) :is(.gr-hunit,small){align-self:start;display:block;color:var(--app-muted);font:600 11.5px/1.2 'DM Sans',sans-serif;letter-spacing:.01em}
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits{display:inline-grid!important;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:8px}
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits .gr-rpgem{grid-row:1 / 3}
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits .gr-rpgem .gr-eicon{width:26px;height:26px}
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits #gr-rp-n{align-self:end;font:800 17px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
  #gr-complete[data-host=app][data-platform=web] #gr-lvl .gr-eicon{width:26px;height:26px}
  #gr-complete[data-host=app][data-platform=web] #gr-lvl .gr-hm{display:grid;line-height:1;text-align:start}
  #gr-complete[data-host=app][data-platform=web] #gr-lvl .gr-hm b{font:800 17px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
  /* the player: larger, their own character, a chevron, the quick menu */
  #gr-complete[data-host=app][data-platform=web] .gr-pm{position:relative;order:7;display:inline-flex}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player{width:auto!important;height:56px;padding:0 6px 0 0;gap:2px;border-radius:999px;align-items:center;
    border:1px solid var(--hd-pill-line);background:var(--hd-pill);box-shadow:0 6px 14px -10px rgba(14,24,48,.55)}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-avatar{width:54px;height:54px;margin:0;border-radius:50%;overflow:hidden;
    box-shadow:0 0 0 2px var(--app-panel),0 0 0 4px color-mix(in srgb,var(--app-blue) 45%,transparent)}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-avatar svg{width:100%;height:100%;display:block}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-player-label{display:inline-flex!important;align-items:center;width:22px;overflow:hidden;color:var(--app-muted)}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-player-label > :not(svg){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-player-label svg{width:18px;height:18px;transition:transform .15s ease}
  #gr-complete[data-host=app][data-platform=web] .gr-pm.is-open > .gr-player .gr-player-label svg{transform:rotate(180deg)}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions :is(.gr-applink.is-store,#gr-coins,#gr-rp,#gr-lvl,.gr-pm > .gr-player):focus-visible{outline:3px solid var(--app-blue);outline-offset:2px}
}
/* the quick menu: flush under the button (its padding is the bridge the pointer crosses), within the viewport */
#gr-complete[data-host=app][data-platform=web] .gr-pm-panel{position:absolute;z-index:60;top:100%;right:0;padding-top:8px;width:260px;max-width:calc(100vw - 24px)}
#gr-complete[data-host=app][data-platform=web] .gr-pm-panel[hidden]{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-pm-list{margin:0;padding:8px;list-style:none;max-height:min(70vh,520px);overflow:auto;border-radius:18px;border:1px solid var(--app-line);
  background:var(--app-panel);box-shadow:0 22px 44px -18px rgba(14,24,48,.45)}
#gr-complete[data-host=app][data-platform=web] .gr-pm-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:12px;color:var(--app-ink);text-decoration:none;font:600 15px/1.2 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-pm-item svg{width:20px;height:20px;flex:none;color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-pm-item:hover{background:color-mix(in srgb,var(--app-blue) 9%,var(--app-panel))}
#gr-complete[data-host=app][data-platform=web] .gr-pm-item:focus-visible{outline:3px solid var(--app-blue);outline-offset:-3px}
#gr-complete[data-host=app][data-platform=web] .gr-pm-sep{height:1px;margin:6px 8px;background:var(--app-line)}
/* narrower windows: search gets its own full-width row instead of being squeezed */
@container gr-shell (min-width: 621px) and (max-width: 1100px){
  #gr-complete[data-host=app][data-platform=web] .gr-header{flex-wrap:wrap;row-gap:10px}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-tools{order:10;flex:1 1 100%}
  #gr-complete[data-host=app][data-platform=web] .gr-appbar-find{width:100%}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions{margin-inline-start:auto}
}
@media (prefers-reduced-motion: reduce){
  #gr-complete[data-host=app][data-platform=web] :is(.gr-applink.is-store,#gr-coins,#gr-rp,#gr-lvl,.gr-pm-item,.gr-player-label svg){transition:none!important;transform:none!important}
}
/* header, second pass (measured 17 Nov): explicit placement figure-over-unit, no inherited min-widths, white store labels,
 * the player's name kept for screen readers only, tighter gaps so the search keeps its width */
@container gr-shell (min-width: 621px){
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions{gap:8px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl){min-width:0!important;width:auto!important;padding:0 12px 0 8px;justify-content:start}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins.is-roch,#gr-rp.is-wits) > :first-child{grid-column:1;grid-row:1 / 3}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins.is-roch #gr-coins-n,#gr-rp.is-wits #gr-rp-n){grid-column:2;grid-row:1;min-width:0;text-align:start}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins.is-roch .gr-hunit,#gr-rp.is-wits small){grid-column:2;grid-row:2}
  #gr-complete[data-host=app][data-platform=web] #gr-lvl .gr-hm b{min-width:0;text-align:start}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store{padding:0 14px 0 10px;gap:8px}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store :is(b,small,svg){color:var(--gr-on,#fff)!important;opacity:1}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store small{color:var(--gr-on,#fff)!important;opacity:.92}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-ico{padding-inline-end:8px}
  #gr-complete[data-host=app][data-platform=web] .gr-pm > .gr-player .gr-player-label{font-size:0;width:20px}
}
@container gr-shell (min-width: 621px){
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits .gr-rpgem{width:26px!important;height:26px!important;display:grid;place-items:center}
}
/* between 621 and 1600 px the store buttons keep their mark and platform on one line (the GameRoch line is in the
 * button's accessible name and on wider screens), so the search keeps its width (measured: 1440 px search 452 → see report) */
@container gr-shell (min-width: 621px) and (max-width: 1599px){
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t b{display:none}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store small{font:700 14px/1 'Outfit',sans-serif;color:var(--gr-on,#fff)!important;opacity:1}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store{padding:0 14px 0 10px}
}
@container gr-shell (min-width: 621px){
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-coins.is-roch:not([hidden]),
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > #gr-rp.is-wits:not([hidden]){display:inline-grid!important;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;align-content:center;column-gap:8px;row-gap:1px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions #gr-applinks > .gr-applink.is-store{height:48px;min-height:48px}
}
/* After Hours (adult) writes DARK ink on its mint accent: its store buttons lighten toward white instead of darkening
 * (measured 17 Nov: 3.39:1 with the darker stop → see the contrast run) */
#gr-complete[data-host=app][data-platform=web][data-theme=adult]{--hd-cobalt-a:#3d55d0;--hd-cobalt-b:#25389e}
#gr-complete[data-host=app][data-platform=web][data-theme=adult] .gr-applink.is-store :is(b,small,svg){color:#fff!important}

/* ===================================================================== DAILY TILE: one compact reward row (approved 17 Nov) =====================================================================
 * The two bulky chips become one quiet line under the existing tile: the black-and-gold Roch, "+10 Rochs", a hairline, XP. */
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta{gap:0;margin-top:6px;min-height:22px}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta .gr-hdt-rw{height:22px;padding:0;gap:5px;background:none;color:var(--app-ink);font:800 13px/1 'Outfit',sans-serif;font-variant-numeric:tabular-nums}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta .gr-hdt-rw .gr-eicon{width:17px;height:17px}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta .gr-hdt-xp{height:22px;padding:0 0 0 9px;margin-inline-start:9px;gap:4px;border-radius:0;background:none;border-inline-start:1px solid var(--app-line);
  color:var(--app-muted);font:700 12.5px/1 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta .gr-hdt-xp .gr-eicon{width:15px;height:15px}
#gr-complete[data-host=app][data-platform=web] .gr-hdt-meta .gr-hdt-state{margin-inline-start:9px}

/* ===================================================================== WIN REWARD TOAST (approved 17 Nov) ===================================================================== */
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast{position:absolute;z-index:8;top:calc(var(--gpx-band,56px) + 14px);right:max(14px,env(safe-area-inset-right));display:flex;align-items:center;gap:12px;
  max-width:min(300px,calc(100% - 28px));padding:10px 16px 10px 10px;border-radius:20px;pointer-events:none;color:#fff;
  background:linear-gradient(160deg,rgba(28,26,22,.94),rgba(10,10,12,.94));border:1px solid rgba(246,197,42,.55);
  box-shadow:0 18px 36px -12px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,236,170,.25);opacity:0;transform:translateY(-8px) scale(.98);transition:opacity .25s ease,transform .25s ease}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast.is-on{opacity:1;transform:none}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast-art{flex:none;display:grid;place-items:center;filter:drop-shadow(0 6px 10px rgba(246,197,42,.35))}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast.is-on .gr-gpx-toast-art{animation:gpx-coin-in .6s cubic-bezier(.2,1.4,.4,1) both}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast-t{display:grid;gap:3px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast-t b{font:800 20px/1.05 'Outfit',sans-serif;color:#ffd75e;letter-spacing:-.01em}
#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast-t small{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font:600 12.5px/1.25 'DM Sans',sans-serif;color:rgba(255,255,255,.88)}
@keyframes gpx-coin-in{0%{transform:scale(.6) rotate(-12deg)}60%{transform:scale(1.08) rotate(4deg)}100%{transform:none}}
@media (orientation:landscape) and (max-height:520px){#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast{top:10px}}
@media (prefers-reduced-motion: reduce){#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast{transition:none;transform:none}#gr-complete[data-host=app][data-platform=web] .gr-gpx-toast.is-on .gr-gpx-toast-art{animation:none}}
#gr-complete[data-host=app][data-platform=web][data-motion=off] .gr-gpx-toast{transition:none;transform:none}
#gr-complete[data-host=app][data-platform=web][data-motion=off] .gr-gpx-toast.is-on .gr-gpx-toast-art{animation:none}
#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip.is-updating svg{animation:gr-lbu-spin 1.2s linear infinite}
@keyframes gr-lbu-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){#gr-complete[data-host=app][data-platform=web] .gr-lbu-chip.is-updating svg{animation:none}}
/* owner, 17 Nov 2026 (after ?v=34): the new header buttons a little smaller, closer to the website's scale — 48 → 42 px,
 * icons and figures trimmed to match. The profile character button keeps its size (56 px). */
@container gr-shell (min-width: 621px){
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions #gr-applinks > .gr-applink.is-store{height:42px;min-height:42px;border-radius:14px;padding:0 12px 0 9px}
  #gr-complete[data-host=app][data-platform=web] .gr-applink.is-store .gr-applink-ico svg{width:19px;height:19px}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t b{font-size:13px}
  #gr-complete[data-host=app][data-platform=web] .gr-applink-t small{font-size:11.5px}
  #gr-complete[data-host=app][data-platform=web] .gr-header-actions > :is(#gr-coins.is-roch,#gr-rp.is-wits,#gr-lvl){height:42px;min-height:42px;border-radius:14px!important;padding:0 11px 0 7px;gap:7px}
  #gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch .gr-coin,#gr-complete[data-host=app][data-platform=web] #gr-coins.is-roch .gr-coin .gr-eicon{width:26px!important;height:26px!important}
  #gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits .gr-rpgem,#gr-complete[data-host=app][data-platform=web] #gr-rp.is-wits .gr-rpgem .gr-eicon,#gr-complete[data-host=app][data-platform=web] #gr-lvl .gr-eicon{width:22px!important;height:22px!important}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins.is-roch #gr-coins-n,#gr-rp.is-wits #gr-rp-n,#gr-lvl .gr-hm b){font-size:15.5px}
  #gr-complete[data-host=app][data-platform=web] :is(#gr-coins,#gr-rp,#gr-lvl) :is(.gr-hunit,small){font-size:11px}
}

/* ============================================================
 * OPTION 1 GAME TILE (owner approval, 17 Nov 2026): compact rounded square — the game's cover over the upper ~62%, a
 * footer washed in the cover's own colours (the same blurred-cover wash the wide card used) with the name, a one- or
 * two-line brief and the existing white Play pill at the bottom right. Home: Top played, New on GameRoch. Games: New
 * this month / Recent releases. Rows keep sliding (arrows, swipe, keyboard); the tile count is never capped by width.
 * ============================================================ */
#gr-complete[data-host=app][data-platform=web]{--t1w:236px}
@container gr-shell (min-width:1600px){#gr-complete[data-host=app][data-platform=web] .gr-t1{--t1w:252px}}
@container gr-shell (max-width:620px){#gr-complete[data-host=app][data-platform=web] .gr-t1{--t1w:min(212px,62vw)}}
#gr-complete[data-host=app][data-platform=web] .gr-hrow.is-new .gr-hskel.is-newhero{width:var(--t1w);min-height:calc(var(--t1w) * .97);border-radius:22px}
#gr-complete[data-host=app][data-platform=web] .gr-t1{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;flex:none;
  width:var(--t1w);border-radius:22px;background:#171a36;color:#fff;
  box-shadow:0 18px 34px -22px rgba(91,92,240,.8),0 2px 6px rgba(20,24,60,.10);transition:transform .18s ease,box-shadow .18s ease}
#gr-complete[data-host=app][data-platform=web] .gr-t1::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.22)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-wash{position:absolute;left:-30%;top:20%;z-index:-2;width:160%;height:120%;object-fit:cover;
  filter:blur(26px) saturate(1.7);transform:translateZ(0);pointer-events:none}
#gr-complete[data-host=app][data-platform=web] .gr-t1::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(12,10,34,.10) 0%,rgba(12,10,34,.42) 62%,rgba(12,10,34,.62) 100%)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-media{position:relative;flex:none;aspect-ratio:16/10;overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.18)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-art{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;
  border:0;border-radius:0;background:#0f1430;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-t1-art img,
#gr-complete[data-host=app][data-platform=web] .gr-t1-art video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 16%;
  transition:transform .35s ease}
#gr-complete[data-host=app][data-platform=web] .gr-t1-tags{position:absolute;left:10px;right:10px;bottom:9px;z-index:2;display:flex;align-items:center;gap:6px;
  pointer-events:none;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-t1-tags .gr-newgame.is-hero{margin:0;flex:none;box-shadow:0 4px 12px rgba(0,0,0,.28)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-meta{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:24px;padding:0 10px;
  display:inline-flex;align-items:center;border-radius:999px;background:rgba(12,16,40,.68);color:#fff;font:600 11.5px/1 'DM Sans',sans-serif;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 4px 12px rgba(0,0,0,.22)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-foot{position:relative;flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;
  padding:11px 11px 12px 14px}
#gr-complete[data-host=app][data-platform=web] .gr-t1-name{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:3px;min-width:0;min-height:0;
  margin:0;padding:0;border:0;border-radius:8px;background:none;color:#fff;text-align:start;box-shadow:none;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] .gr-t1-title{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  font:700 17px/1.18 'Outfit',sans-serif;letter-spacing:-.02em;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-brief{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:calc(2 * 1.3em);font:500 12.5px/1.3 'DM Sans',sans-serif;color:rgba(255,255,255,.88)}
#gr-complete[data-host=app][data-platform=web] .gr-t1 .gr-t1-play{height:38px;min-height:38px;margin:0;padding:0 15px 0 12px;gap:7px;font-size:15px;align-self:end}
#gr-complete[data-host=app][data-platform=web] .gr-t1 .gr-t1-play svg{width:14px;height:14px}
#gr-complete[data-host=app][data-platform=web] .gr-t1 .gr-t1-play:active{transform:scale(.96)}
@media (hover:hover){
  #gr-complete[data-host=app][data-platform=web] .gr-t1:hover{transform:translateY(-3px);box-shadow:0 24px 40px -22px rgba(91,92,240,.9),0 4px 10px rgba(20,24,60,.14)}
  #gr-complete[data-host=app][data-platform=web] .gr-t1:hover .gr-t1-art img{transform:scale(1.04)}
  #gr-complete[data-host=app][data-platform=web] .gr-t1 .gr-t1-play:hover{box-shadow:0 8px 22px rgba(0,0,0,.3);filter:brightness(1.02)}
}
#gr-complete[data-host=app][data-platform=web] .gr-t1:focus-within{transform:translateY(-2px)}
#gr-complete[data-host=app][data-platform=web] .gr-t1-name:focus-visible{outline:2px solid #fff;outline-offset:3px}
#gr-complete[data-host=app][data-platform=web] .gr-t1 .gr-t1-play:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px rgba(37,56,158,.65)}
@media (prefers-reduced-motion:reduce){
  #gr-complete[data-host=app][data-platform=web] .gr-t1,#gr-complete[data-host=app][data-platform=web] .gr-t1-art img{transition:none}
  #gr-complete[data-host=app][data-platform=web] .gr-t1:hover,#gr-complete[data-host=app][data-platform=web] .gr-t1:focus-within{transform:none}
  #gr-complete[data-host=app][data-platform=web] .gr-t1:hover .gr-t1-art img{transform:none}
}
#gr-complete[data-host=app][data-platform=web][data-motion=off] .gr-t1,#gr-complete[data-host=app][data-platform=web][data-motion=off] .gr-t1 *{transition:none!important;transform:none!important}
/* the Games page's release rows: the same tile, one sliding row */
#gr-complete[data-host=app][data-platform=web] .gr-grel-row.is-t1,
#gr-complete[data-host=app][data-platform=web] .gr-grels.is-empty .gr-grel-row.is-t1{display:flex;grid-auto-columns:unset;gap:16px;padding-bottom:22px;margin-bottom:-18px}
#gr-complete[data-host=app][data-platform=web] .gr-grel-row.is-t1 > .gr-t1{scroll-snap-align:start}
/* Missions → Discover your next game (owner, 17 Nov 2026): Play sits at the art's BOTTOM-right, 8 px in, above the
 * one-line name (14.5px × 1.25 line + the 8 px gap) — never over the name, same pill */
#gr-complete[data-host=app][data-platform=web] .gr-dm-ng-play{top:auto;bottom:calc(14.5px * 1.25 + 8px + 8px);right:8px;height:34px;min-height:34px;
  box-shadow:0 8px 18px -8px rgba(0,0,0,.55),0 0 0 1px rgba(14,24,48,.06)}
/* MORE (owner, 17 Nov 2026): no orphan row and one card height per group — Play & progress is four across on a wide
 * page and a balanced 2 × 2 below it; Help & learning and About sit side by side, their cards the same height, the
 * chevrons / external marks on one vertical line; descriptions clamp to two lines. */
#gr-complete[data-host=app][data-platform=web] .gr-morew-grid{grid-auto-rows:1fr}
#gr-complete[data-host=app][data-platform=web] .gr-appmore.gr-morew :is(a,button).gr-morew-card{height:100%;min-height:96px;align-items:center}
#gr-complete[data-host=app][data-platform=web] .gr-morew-t small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#gr-complete[data-host=app][data-platform=web] .gr-morew .gr-morew-card > svg{align-self:center;justify-self:end}
@container gr-shell (min-width: 1100px) {
  #gr-complete[data-host=app][data-platform=web] .gr-morew-group:not(.gr-morew-pair *) > .gr-morew-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ============================================================
 * HELP · PRIVACY & ACCOUNT · DELETE (owner, 17 Nov 2026): the same panels, grouped — a main column and a compact side
 * column on a wide page, stacked on a phone. Shared row: .gr-sup-link (icon tile, title over one line, chevron).
 * ============================================================ */
#gr-complete[data-host=app][data-platform=web] .gr-main > :is(.gr-sup,.gr-pa,.gr-del){max-width:1180px}
#gr-complete[data-host=app][data-platform=web] .gr-main:has(> :is(.gr-sup,.gr-pa,.gr-del)) > .gr-topline{max-width:1180px}
#gr-complete[data-host=app][data-platform=web] :is(.gr-sup,.gr-pa){display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
@container gr-shell (min-width:1000px){
  #gr-complete[data-host=app][data-platform=web] .gr-sup{grid-template-columns:minmax(0,1fr) minmax(300px,360px)}
  #gr-complete[data-host=app][data-platform=web] .gr-pa{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}
}
#gr-complete[data-host=app][data-platform=web] :is(.gr-sup,.gr-pa,.gr-del) .gr-panel{margin:0;border-radius:24px}
#gr-complete[data-host=app][data-platform=web] :is(.gr-sup,.gr-pa,.gr-del) .gr-panel > h2{font:700 20px/1.2 'Outfit',sans-serif;letter-spacing:-.015em;margin:0 0 6px;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq{padding:0;border-bottom:1px solid var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq:last-child{border-bottom:0}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:12px 4px;
  list-style:none;cursor:pointer;color:var(--app-ink);font:600 15.5px/1.35 'DM Sans',sans-serif;border-radius:10px}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary::-webkit-details-marker{display:none}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary::after{content:'';flex:none;width:9px;height:9px;margin-right:6px;border:solid var(--app-muted);border-width:0 2px 2px 0;
  transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary:hover{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px}
#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq p{margin:0 4px 16px;max-width:68ch;color:var(--app-muted);font:500 14.5px/1.6 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-sup-side{display:grid;gap:18px}
#gr-complete[data-host=app][data-platform=web] .gr-sup-lead{margin:0 0 14px;color:var(--app-muted);font:500 14px/1.5 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-sup-card .gr-buttons{margin:0}
#gr-complete[data-host=app][data-platform=web] .gr-sup-card .gr-buttons > *{width:100%;justify-content:center}
#gr-complete[data-host=app][data-platform=web] :is(a,button).gr-sup-link{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;
  min-height:64px;margin:0;padding:10px 6px;border:0;border-top:1px solid var(--app-line);border-radius:0;background:none;color:var(--app-ink);text-align:start;text-decoration:none;font:inherit;cursor:pointer}
#gr-complete[data-host=app][data-platform=web] h2 + :is(a,button).gr-sup-link{border-top:0;margin-top:4px}
#gr-complete[data-host=app][data-platform=web] :is(a,button).gr-sup-link > svg{width:18px;height:18px;color:var(--app-muted);justify-self:end}
#gr-complete[data-host=app][data-platform=web] :is(a,button).gr-sup-link:hover b{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] :is(a,button).gr-sup-link:hover > svg{color:var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] :is(a,button).gr-sup-link:focus-visible{outline:2px solid var(--app-blue);outline-offset:2px;border-radius:12px}
#gr-complete[data-host=app][data-platform=web] .gr-sup-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:#fff;
  background:linear-gradient(145deg,color-mix(in srgb,var(--app-blue) 80%,#fff),var(--app-blue));box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 16px -10px var(--app-blue)}
#gr-complete[data-host=app][data-platform=web] .gr-sup-ico.is-danger{background:linear-gradient(145deg,#ef6a7e,#d4344d);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 16px -10px #d4344d}
#gr-complete[data-host=app][data-platform=web] .gr-sup-ico svg{width:19px;height:19px}
#gr-complete[data-host=app][data-platform=web] .gr-sup-t{display:flex;flex-direction:column;gap:2px;min-width:0}
#gr-complete[data-host=app][data-platform=web] .gr-sup-t b{font:700 15px/1.25 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-sup-t small{color:var(--app-muted);font:500 13px/1.4 'DM Sans',sans-serif}
/* Privacy & account: three information cards (read only), then the controls */
#gr-complete[data-host=app][data-platform=web] .gr-pa-info{display:grid;gap:14px}
#gr-complete[data-host=app][data-platform=web] .gr-pa-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start}
#gr-complete[data-host=app][data-platform=web] .gr-pa-card h2{margin:2px 0 4px;font:700 17px/1.25 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-pa-card p{margin:0;max-width:70ch;color:var(--app-muted);font:500 14.5px/1.55 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-pa-card .gr-sup-ico{background:color-mix(in srgb,var(--app-blue) 12%,var(--app-panel));color:var(--app-blue);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--app-blue) 22%,transparent)}
/* Delete: what happens, then the confirmation (signed in) or the guest's options */
#gr-complete[data-host=app][data-platform=web] .gr-main > .gr-panel.gr-del-facts{margin-bottom:18px}
#gr-complete[data-host=app][data-platform=web] .gr-del-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:10px 0 14px}
@container gr-shell (min-width:700px){#gr-complete[data-host=app][data-platform=web] .gr-del-cols{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
#gr-complete[data-host=app][data-platform=web] .gr-del-cols h3{display:flex;align-items:center;gap:8px;margin:0 0 6px;font:700 15px/1.3 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-del-cols h3 svg{width:17px;height:17px;color:var(--app-muted)}
#gr-complete[data-host=app][data-platform=web] .gr-del-cols ul{margin:0;padding-left:20px;color:var(--app-muted);font:500 14px/1.6 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-del{max-width:800px}
#gr-complete[data-host=app][data-platform=web] .gr-del-guest > p{margin:0 0 12px;color:var(--app-muted);font:500 14.5px/1.55 'DM Sans',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-del-ways{display:grid;gap:10px;margin:0 0 16px;padding:0;list-style:none;counter-reset:w}
#gr-complete[data-host=app][data-platform=web] .gr-del-ways li{counter-increment:w;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;row-gap:2px;padding:12px 14px;
  border-radius:16px;background:color-mix(in srgb,var(--app-blue) 6%,var(--app-panel));box-shadow:inset 0 0 0 1px var(--app-line)}
#gr-complete[data-host=app][data-platform=web] .gr-del-ways li::before{content:counter(w);grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:var(--app-blue);color:#fff;font:700 14px/1 'Outfit',sans-serif}
#gr-complete[data-host=app][data-platform=web] .gr-del-ways b{font:700 15px/1.3 'Outfit',sans-serif;color:var(--app-ink)}
#gr-complete[data-host=app][data-platform=web] .gr-del-ways span{color:var(--app-muted);font:500 13.5px/1.5 'DM Sans',sans-serif}
@media (prefers-reduced-motion:reduce){#gr-complete[data-host=app][data-platform=web] .gr-sup-main .model-faq summary::after{transition:none}}
@container gr-shell (min-width: 1100px) {
  /* the pair's gap equals the grid's, so its four cards sit on the same four columns as Play & progress above */
  #gr-complete[data-host=app][data-platform=web] .gr-morew-pair{column-gap:14px}
}
/* GAMEPLAY PREVIEW (js/core/preview.js): the real clip over the art only, faded in once it is actually playing */
#gr-complete[data-host=app][data-platform=web] :is(.gr-t1-art,.gr-gposter-cover) > video.gr-pv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .22s ease;pointer-events:none;background:transparent}
#gr-complete[data-host=app][data-platform=web] :is(.gr-t1,.gr-gposter).is-previewing :is(.gr-t1-art,.gr-gposter-cover) > video.gr-pv{opacity:1}
#gr-complete[data-host=app][data-platform=web] .gr-t1.is-previewing .gr-t1-art img{transform:none}
@media (prefers-reduced-motion:reduce){#gr-complete[data-host=app][data-platform=web] video.gr-pv{display:none}}
