/* ---------- Games page (25 Nov 2026): banner as on Saved, the hub tiles, the "what your games say" panel ---------- */
.banner{position:relative;overflow:hidden;background:linear-gradient(#dcefff,#f3f0ff 70%,#fff)}
.banner .bunting{position:absolute;top:0;left:0;width:100%;height:44px}
.banner .top{order:0}
.banner-in{position:relative;z-index:2;padding-top:18px;padding-bottom:26px}
.banner h1{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:44px;line-height:1}
.banner p{margin-top:8px;font-weight:700;color:var(--muted);max-width:46ch}
@media (min-width:980px){.banner h1{font-size:64px}}
[data-signout]:empty{display:none}
.top .signout{margin:0;min-height:40px;padding:6px 14px;font-size:15px;white-space:nowrap}

/* hub: five sticker tiles (the .pick tint rotates through four colours; the fifth repeats the first) */
.gm-tiles{display:grid;grid-template-columns:1fr;gap:14px;margin:18px 0 26px}
@media (min-width:640px){.gm-tiles{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.gm-tiles{grid-template-columns:repeat(3,1fr)}}
.gm-tile{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;column-gap:14px;row-gap:4px;align-items:center;
  padding:16px 18px;text-align:left;color:inherit;text-decoration:none;box-shadow:0 0 0 2px var(--indigo),4px 5px 0 2px var(--indigo)}
.gm-tile,.gm-tile:nth-child(n+4){grid-column:auto} /* the home page's .pick spans 2-3 columns; not here */
.gm-tile:nth-child(5){background:var(--t-sun)}
.gm-tile .em{grid-row:1 / span 3;font-size:40px;margin:0}
.gm-tile b{font-size:19px;font-weight:800;line-height:1.15}
.gm-tile small{font-size:15px;font-weight:500;color:var(--muted);line-height:1.3}
.gm-played{font-style:normal;font-size:14px;font-weight:800;color:var(--magenta)}
.gm-tile:focus-visible,.gm-back:focus-visible,.gm-link:focus-visible{outline:3px solid var(--magenta);outline-offset:3px}

.gm-you{margin-top:6px}
.gm-you .in2{padding:18px 18px 16px}
.gm-you h2{font-size:22px;font-weight:800;letter-spacing:-0.01em}
.gm-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0 4px;padding:0}
.gm-tags li{padding:6px 12px;border-radius:999px;background:var(--soft);font-weight:700;font-size:15px}
.gm-you p{margin-top:10px;font-weight:600}
.gm-you-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:14px}
.gm-note{color:var(--muted);font-size:14px}
.gm-link{background:none;border:0;padding:6px 0;font:inherit;font-weight:800;color:var(--indigo);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* a game: a way back, then the game's own screen */
.gm-back{display:inline-block;margin:16px 0 8px;font-weight:800;color:var(--indigo);text-underline-offset:3px}
.gm-game{max-width:620px;margin:0 auto}
.gm-game h2{font-size:26px;font-weight:800;letter-spacing:-0.01em;line-height:1.15;outline:none}
.gm-step{color:var(--muted);font-weight:800;font-size:15px;margin-top:6px}
.gm-empty{max-width:620px;margin-left:auto;margin-right:auto}
.gm-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.gm-acts .btn{flex:1 1 140px}
.gm-result{margin-top:16px;padding:16px 18px;border-radius:20px;background:var(--soft);font-weight:700}
.gm-trips{display:grid;gap:16px;margin-top:16px}
.gm-photo{position:relative;margin-top:14px;border-radius:22px;overflow:hidden;aspect-ratio:4/3;background:var(--soft);box-shadow:0 0 0 2px var(--indigo),4px 5px 0 2px var(--indigo)}
.gm-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gm-credit{margin-top:6px;font-size:13px;color:var(--muted)}
.gm-credit a{color:inherit}

/* Swipe Trips: the card can be dragged sideways; vertical scrolling still works */
.gm-swipe{margin-top:14px;touch-action:pan-y;user-select:none;cursor:grab}
.gm-swipe .gm-photo{margin:0;border-radius:0;box-shadow:none}
.gm-swipe h3{font-size:22px;font-weight:800;line-height:1.1}
.gm-swipe p{margin-top:6px;color:var(--muted);font-weight:700}

/* the quiz: four picture answers, then the type card */
.gm-picks{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}
.gm-picks .pick{grid-column:auto;padding:16px 10px 14px;font-size:16px;box-shadow:0 0 0 2px var(--indigo),3px 4px 0 2px var(--indigo)}
.gm-picks .pick:nth-child(n+4){grid-column:auto}
.gm-type{margin-top:16px;text-align:center;background:var(--t-sun)}
.gm-type .in2{padding:26px 20px 24px}
.gm-type .em{font-size:72px;display:block;line-height:1.1}
.gm-type h2{margin-top:8px;color:var(--magenta);font-size:30px}
.gm-type p{margin-top:8px;font-weight:700;font-size:18px}
.gm-sub{margin-top:26px;font-size:20px;font-weight:800}

/* Guess the price */
.gm-game h3{margin-top:14px;font-size:22px;font-weight:800;line-height:1.1}
.gm-meta{margin-top:4px;color:var(--muted);font-weight:700}
.gm-slider{display:block;margin-top:18px;font-weight:800;font-size:18px}
.gm-slider output{color:var(--magenta)}
#gmPrice{width:100%;margin-top:12px;accent-color:var(--magenta);height:32px}
.gm-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;font-weight:700}

/* Would you rather: two big choices, then two bars */
.gm-wyr{display:grid;gap:12px;margin-top:18px}
.gm-wyr .btn{white-space:normal;min-height:76px;font-size:19px;padding:14px 18px}
.gm-or{text-align:center;font-weight:800;color:var(--muted)}
.gm-bar{position:relative;margin-top:12px;padding:14px 16px;border-radius:16px;background:var(--soft);font-weight:700;overflow:hidden;isolation:isolate}
.gm-bar b{font-weight:800;margin-right:6px}
.gm-fill{position:absolute;inset:0 auto 0 0;background:var(--t-sky);z-index:-1}
.gm-bar.on{box-shadow:0 0 0 2px var(--magenta)}
.gm-bar.on .gm-fill{background:var(--t-pink)}

/* Where is this? */
.gm-opts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}
.gm-opt{background:#fff;color:var(--indigo);white-space:normal;min-height:56px}
.gm-opt:disabled{cursor:default}
.gm-opt.gm-right{background:var(--t-teal);--ol:var(--teal)}
.gm-opt.gm-wrong{background:var(--t-pink);--ol:var(--red)}
.gm-been{margin-top:10px;background:none;border:0;padding:6px 0;font:inherit;font-weight:800;color:var(--indigo);cursor:pointer}
