/* ==========================================================================
   Road signs quiz (road-signs-quiz.html)
   Pick a round, answer sign by sign, then a result with the app offer.
   ========================================================================== */

.sq { padding-bottom: 0; }

/* quiz (the hero is hidden during a round, so these take its top spacing) */
.sq-quiz { display: grid; gap: .8rem; max-width: 60rem; padding-top: calc(var(--bar-h) + 12px + clamp(1.25rem, 4vw, 2.5rem)); }
.sq-quiz__top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; color: var(--ink-soft); font-size: var(--sc-t-sm); }
.sq-quiz__count { font-variant-numeric: tabular-nums; }
.sq-bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.sq-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sun-deep); transition: width .3s ease; }
.sq-card { display: grid; grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--card); box-shadow: var(--sc-e2); }
.sq-sign { display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; padding: 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sq-sign img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sq-ask { display: grid; gap: .9rem; min-width: 0; }
.sq-q { font-size: var(--sc-t-lg); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.sq-answers { display: grid; gap: .6rem; }
.sq-opt { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 56px; padding: .7rem 1rem; border: 2px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease; }
.sq-opt:hover:not(:disabled) { border-color: var(--teal-700); }
.sq-opt:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.sq-opt__k { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--card); font-size: .85rem; color: var(--ink-soft); }
.sq-opt:disabled { cursor: default; }
.sq-opt.is-right { border-color: var(--green); background: rgba(47,168,118,.12); }
.sq-opt.is-right .sq-opt__k { background: var(--green); color: #fff; }
.sq-opt.is-wrong { border-color: var(--coral); background: rgba(255,107,92,.1); }
.sq-opt.is-wrong .sq-opt__k { background: var(--coral); color: #fff; }
.sq-feedback { min-height: 1.5em; font-weight: 600; }
.sq-feedback b { font-weight: 800; }
.sq-feedback .ok { color: var(--green-deep); }
.sq-feedback .no { color: var(--coral-deep); }
.sq-next { justify-self: start; }
@media (max-width: 720px) {
  .sq-card { grid-template-columns: minmax(0, 1fr); }
  .sq-sign { width: min(12rem, 55vw); justify-self: center; padding: .7rem; }
  .sq-opt { min-height: 50px; padding-block: .55rem; }
}

/* results */
.sq-results { display: grid; gap: 1rem; max-width: 60rem; padding-top: calc(var(--bar-h) + 12px + clamp(1.25rem, 4vw, 2.5rem)); }
.sq-score { display: grid; gap: .6rem; justify-items: start; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--teal-900); color: var(--on-dark); }
.sq-score__num { font-size: var(--sc-t-3xl); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.sq-score__msg { font-size: var(--sc-t-lg); line-height: 1.35; }
.sq-review { display: grid; gap: .8rem; margin-top: .6rem; }
.sq-review h2 { font-size: var(--sc-t-lg); font-weight: 800; }
.sq-review__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.sq-review__list li { display: grid; gap: .45rem; justify-items: center; padding: .8rem; border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--sc-e1); text-align: center; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.sq-review__list img { max-height: 6.5rem; width: auto; }


/* sticky get bar: shown after a round (styles come from v8.css) */
.sq .getbar.is-nudge { animation: sq-nudge 1.6s ease-in-out 2; box-shadow: 0 0 0 2px var(--sun), 0 24px 60px -20px rgba(0,0,0,.6); }
@keyframes sq-nudge { 0%, 100% { transform: translate(-50%, 0) scale(1); } 40% { transform: translate(-50%, -4px) scale(1.025); } }

@media (prefers-reduced-motion: reduce) {
  .sq-bar span, .sq-opt { transition: none; }
  .sq .getbar.is-nudge { animation: none; }
}

/* while dragging: border + stamp show which way you're swiping */

/* after you swipe: the stamp keeps your choice, the border says whether it was right */

/* Pit Stop demo sits on its own dark band below the rounds, close enough that its
   heading peeks above the fold on a laptop, so people see there's more below */
.sq .v8-pit { margin-top: clamp(1.5rem, 3vw, 2rem); padding-top: clamp(2rem, 4vw, 3rem); }
.sq-quiz:not([hidden]) ~ .v8-pit, .sq-results:not([hidden]) ~ .v8-pit { display: none; }

.sq .getbar:not(.is-on) { pointer-events: none; }   /* faded out: don't block the page behind it */

/* slim App Store bar under the sign while playing (styles in app-strip.css) */
.sq-quiz > .app-strip { max-width: none; }

/* results: one card, one action (the app). Same after Questions or Swipe. */
.sq-score__app { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; width: 100%; margin-top: .9rem; padding-top: 1.1rem; border-top: 1px solid rgba(244,241,234,.16); }
.sq-score__icon { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.sq-score__apptxt { flex: 1 1 16rem; min-width: 0; display: grid; gap: .2rem; }
.sq-score__apptxt h2 { font-size: var(--sc-t-lg); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--on-dark); text-wrap: balance; }
.sq-score__apptxt p { font-size: .88rem; color: var(--on-dark-soft); }
.sq-score__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.sq-score__cta .appbadge img { height: 48px; }
.sq-score__later { font-size: .85rem; color: var(--on-dark-soft); }
.sq-score__later:empty { display: none; }
.sq-back { margin: 1.4rem 0 0; text-align: center; }
.sq-back button { padding: 0; border: 0; background: none; color: var(--ink-soft); font-family: inherit; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (max-width: 560px) {
  .sq-score__cta { width: 100%; }
  .sq-score__cta .btn { flex: 1; }
}

/* ---------- Swipe, styled like the app's Pit Stop swipe screen ---------- */
.sq-quiz.is-swipe .sq-bar, .sq-quiz.is-swipe .sq-quiz__count { display: none; }   /* the panel has its own "Card 1 of 10" */
.sq-swipe { position: relative; display: flex; flex-direction: column; gap: .7rem; width: min(28rem, 100%); margin-inline: auto;
  padding: 1rem .9rem 1rem; border-radius: 28px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #1A5F55 0%, #0F4A40 100%); box-shadow: 0 24px 50px -28px rgba(6,39,34,.7);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sq-swipe[hidden] { display: none; }
.sq-sw__progress { display: flex; align-items: center; gap: .6rem; }
.sq-sw__progress b { font-size: .82rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sq-sw__segs { flex: 1; display: flex; gap: 4px; }
.sq-sw__segs i { flex: 1; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); }
.sq-sw__segs i.is-done { background: #FFC44D; }
.sq-sw__topic { display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.sq-sw__topic svg { width: 16px; height: 16px; fill: none; stroke: #5CB8E4; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sq-scard { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 1.1rem 1rem 1rem; border-radius: 24px; background: #fff; color: #1C2A28;
  cursor: grab; transition: transform .24s cubic-bezier(.22,.61,.36,1), opacity .18s ease; }
.sq-scard.is-dragging { cursor: grabbing; transition: none; }
.sq-scard:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sq-scard__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6E7A76; }
.sq-scard__q { margin: .35rem 0 .7rem; font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.sq-scard__sign { --sign-h: clamp(8.5rem, 26vh, 11.5rem); display: flex; align-items: center; justify-content: center; height: var(--sign-h); padding: .8rem; border-radius: 18px; background: #FBFAF5; overflow: hidden; }
.sq-scard__sign img { max-width: 100%; max-height: calc(var(--sign-h) - 1.6rem); width: auto; height: auto; object-fit: contain; pointer-events: none; }   /* tall signs stay inside the box */
.sq-scard__answer { display: flex; align-items: center; gap: .7rem; margin-top: .75rem; padding: .7rem .8rem; border-radius: 16px;
  background: #FBFAF5; border: 1.5px solid rgba(20,40,36,.10); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.sq-scard__quote { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding-top: .4rem; border-radius: 99px;
  background: #E3F1F8; color: #3A8DB9; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.sq-stamp { position: absolute; z-index: 1; top: 5.4rem; padding: .15rem .5rem; border: 2px solid currentColor; border-radius: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff; opacity: 0; transition: opacity .12s ease; pointer-events: none; }
.sq-stamp--no { left: 1.4rem; color: #E2503F; transform: rotate(-8deg); }
.sq-stamp--yes { right: 1.4rem; color: #1E8A5E; transform: rotate(8deg); }
.sq-scard.is-no .sq-stamp--no, .sq-scard.is-yes .sq-stamp--yes,
.sq-scard.stamp-no .sq-stamp--no, .sq-scard.stamp-yes .sq-stamp--yes { opacity: 1; }

.sq-swipe__btns { display: flex; justify-content: center; gap: 2.25rem; }
.sq-sbtn { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 99px; background: #fff; border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: pointer; transition: transform .15s ease; }
.sq-sbtn svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sq-sbtn--no { color: #FF6B5C; border-color: rgba(255,107,92,.5); }
.sq-sbtn--yes { color: #2FA876; border-color: rgba(47,168,118,.5); }
.sq-sbtn:hover:not(:disabled) { transform: scale(1.06); }
.sq-sbtn:disabled { cursor: default; }
.sq-sbtn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sq-swipe__hint { text-align: center; font-size: .82rem; color: rgba(255,255,255,.75); }

/* result: dim the card and slide a white sheet up, like the app */
.sq-sw__dim { position: absolute; z-index: 2; inset: 0; background: rgba(0,0,0,.45); animation: sq-fade .2s ease both; }
.sq-sheet { position: absolute; z-index: 3; left: .9rem; right: .9rem; bottom: .9rem; display: grid; gap: .7rem; padding: 1rem 1.05rem; border-radius: 22px;
  background: #fff; color: #1C2A28; animation: sq-up .28s cubic-bezier(.22,.61,.36,1) both; }
.sq-sw__dim[hidden], .sq-sheet[hidden] { display: none; }
.sq-sheet__verdict { font-size: .98rem; line-height: 1.4; }
.sq-sheet__verdict .ok { display: block; color: #1E8A5E; font-weight: 800; }
.sq-sheet__verdict .no { display: block; color: #E2503F; font-weight: 800; }
.sq-sheet__verdict b { font-weight: 700; }
@keyframes sq-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sq-up { from { transform: translateY(24px); } to { transform: none; } }   /* slide only: the sheet is never left invisible */

/* countdown to the next sign (tap to skip) */
.sq-countdown { display: grid; gap: .4rem; }
.sq-countdown[hidden] { display: none; }
.sq-countdown span { position: relative; height: 4px; border-radius: 999px; background: #ECE7DB; overflow: hidden; }
.sq-countdown span::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #157A6B; transform-origin: left; }
.sq-countdown.is-running span::before { transform: scaleX(0); transition: transform var(--wait, 1500ms) linear; }
.sq-countdown small { font-size: .78rem; color: #5C6A66; }

/* fade between signs */
.sq-swipe > * { transition: opacity .18s ease; }
.sq-swipe.is-leaving > :not(.sq-sw__progress) { opacity: 0; }
.sq-swipe.is-entering .sq-scard { opacity: 0; transform: scale(.96); transition: none; }

@media (max-width: 720px) {
  .sq-swipe { padding: .85rem .75rem .8rem; gap: .6rem; border-radius: 24px; }
  .sq-scard__q { font-size: 1.08rem; }
  .sq-sbtn { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .sq-scard, .sq-swipe > * { transition: none; }
  .sq-sw__dim, .sq-sheet { animation: none; }
  .sq-countdown.is-running span::before { transition: none; }
  .sq-swipe.is-entering .sq-scard { transform: none; }
}


/* ==========================================================================
   Start screen: a game hero on Waypoint's dark green.
   Desktop (option B): text + tilted game tile, then a "Pick a game" shelf.
   Phone (option C): sign stickers, centred title with "Quiz" on a yellow label.
   ========================================================================== */
.sq-hero { position: relative; overflow: hidden; color: var(--on-dark);
  padding-top: calc(var(--bar-h) + 12px + clamp(1.5rem, 4vw, 3.25rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background-color: var(--teal-900); background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px); }
.sq-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sq-hero__copy { display: grid; gap: 1.3rem; justify-items: start; min-width: 0; }

.sq-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.sq-chips li { padding: .4rem .75rem; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sq-chips .sq-chips__one { display: none; }
.sq-title { margin: 0; font-size: clamp(3.4rem, 1.6rem + 5vw, 6.4rem); font-weight: 800; letter-spacing: -0.055em; line-height: .92; color: var(--on-dark); text-wrap: balance; }
.sq-title__quiz { color: var(--sun); }
.sq-lead { max-width: 34rem; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--on-dark-soft); }

.sq-play { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.sq-play__btn { min-height: 64px; padding: 0 2rem; gap: .7rem; font-size: 1.3rem; border-radius: 18px; box-shadow: 0 7px 0 #B9801A; }
.sq-play__btn svg { width: 22px; height: 22px; fill: currentColor; }
.sq-play__btn:active { transform: translateY(3px); box-shadow: 0 4px 0 #B9801A; }
.sq-play__how { color: var(--sun); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* Questions / Swipe toggle, on dark */
.sq-style { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.sq-style__label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.sq-style__seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); }
.sq-style__seg button { min-height: 40px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: none; color: var(--on-dark); font-family: inherit; font-size: .95rem; font-weight: 800; cursor: pointer; }
.sq-style__seg button[aria-pressed="true"] { background: var(--paper); color: var(--teal-900); }
.sq-style__seg button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.sq-style__hint { flex-basis: 100%; font-size: .88rem; color: var(--on-dark-soft); }
.sq-style__hint b { font-weight: 800; color: var(--on-dark); }

/* the sample game tile (desktop) */
.sq-tile-wrap { position: relative; padding: 1rem 1.5rem; }
.sq-tile { transform: rotate(2.5deg); padding: 12px; border-radius: 36px; background: var(--sun); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.sq-tile__screen { display: grid; gap: 1rem; padding: 1.4rem; border-radius: 26px; background: var(--paper); color: var(--ink); }
.sq-tile__hud { display: flex; align-items: center; justify-content: space-between; }
.sq-tile__hud span { padding: .35rem .75rem; border-radius: 999px; background: var(--teal-900); color: var(--sun); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.sq-tile__hud b { font-size: .95rem; font-weight: 800; color: var(--green-deep); }
.sq-tile__sign { display: grid; place-items: center; height: 13rem; border-radius: 20px; background: #fff; }
.sq-tile__sign img { width: 11rem; height: 11rem; object-fit: contain; }
.sq-tile__q { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.sq-tile__answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.sq-tile__answers span { padding: .9rem .85rem; border-radius: 14px; font-size: 1rem; font-weight: 800; color: #fff; }
.sq-tile__answers .is-coral { background: var(--coral); box-shadow: 0 5px 0 var(--coral-deep); }
.sq-tile__answers .is-green { background: var(--green); box-shadow: 0 5px 0 var(--green-deep); }
.sq-tile__answers .is-sky { background: var(--sky); color: #0B2A3A; box-shadow: 0 5px 0 var(--sky-deep); }
.sq-tile__answers .is-teal { background: var(--teal-800); box-shadow: 0 5px 0 var(--teal-950); }
.sq-tile__sticker { position: absolute; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 14px 24px -12px rgba(0,0,0,.6); }
.sq-tile__sticker--a { left: -1.5rem; bottom: 1rem; width: 92px; height: 92px; transform: rotate(-12deg); }
.sq-tile__sticker--b { right: -.5rem; top: -1rem; width: 76px; height: 76px; transform: rotate(10deg); }

/* "Pick a game" shelf */
.sq-shelf { display: grid; gap: .9rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.sq-shelf__label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.sq-shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sq-game { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 0; border-radius: 20px; font-family: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: transform .15s ease; }
.sq-game:hover { transform: translateY(-2px); }
.sq-game:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sq-game--key { background: var(--paper); color: var(--teal-900); }
.sq-game--daily { background: var(--sun); color: var(--sun-ink); }
.sq-game--book { background: rgba(255,255,255,.08); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.sq-game__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; }
.sq-game__icon img { width: 52px; height: 52px; object-fit: contain; }
.sq-game__icon--book { background: var(--teal-700); }
.sq-game__icon--book svg { width: 30px; height: 30px; fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sq-game__txt { display: grid; gap: .15rem; min-width: 0; }
.sq-game__txt b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.sq-game__txt small { font-size: .88rem; opacity: .8; }
.sq-game__best { font-weight: 700; opacity: 1 !important; }
.sq-game__best[hidden] { display: none; }

/* sign stickers: phone only */
.sq-stickers { display: none; }

@media (max-width: 960px) {
  .sq-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sq-tile-wrap { display: none; }
  .sq-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sq-game--book { display: none; }
}
@media (max-width: 720px) {
  /* phone: the header stays light over the green, like the design */
  .bar.is-dark { background: rgba(250, 248, 242, .9); color: var(--ink); --focus: var(--teal-800);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px -14px rgba(0,0,0,.5); }
  .sq-hero { padding-top: calc(var(--bar-h) + 12px + 1.4rem); padding-bottom: 2.2rem; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 34px); }
  .sq-stickers { display: flex; justify-content: space-between; align-items: center; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .sq-stickers img { width: 70px; height: 70px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: 0 12px 20px -12px rgba(0,0,0,.6); }
  .sq-stickers img:nth-child(1) { transform: rotate(-9deg); }
  .sq-stickers img:nth-child(2) { transform: rotate(7deg) translateY(12px); width: 58px; height: 58px; }
  .sq-stickers img:nth-child(3) { transform: rotate(-5deg); }
  .sq-stickers img:nth-child(4) { transform: rotate(9deg) translateY(10px); }
  .sq-stickers--top { margin-bottom: 1.9rem; }
  .sq-stickers--bottom { display: none; }
  .sq-hero__copy { justify-items: center; text-align: center; gap: 1.1rem; }
  .sq-chips li { display: none; }
  .sq-chips .sq-chips__one { display: block; background: var(--paper); color: var(--teal-900); font-size: .7rem; }
  .sq-title { font-size: 3.6rem; line-height: .95; }
  .sq-title__quiz { display: inline-block; margin-top: .2rem; padding: 0 .75rem; border-radius: 16px; background: var(--sun); color: var(--sun-ink); transform: rotate(-2deg); }
  .sq-lead { font-size: 1.05rem; }
  .sq-play { flex-direction: column; width: 100%; }
  .sq-play__btn { width: 100%; justify-content: center; min-height: 60px; font-size: 1.2rem; }
  .sq-play__how { font-size: .9rem; }
  .sq-style { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: .7rem; margin-top: .4rem; }
  .sq-style__hint { text-align: center; }
  .sq-shelf { margin-top: 1.4rem; }
  .sq-shelf__label { display: none; }
  .sq-game { flex-direction: column; justify-content: center; gap: .2rem; padding: .85rem .6rem; text-align: center; border-radius: 16px; }
  .sq-game__icon { display: none; }
  .sq-game__txt b { font-size: 1rem; }
  .sq-game__txt small { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { .sq-game { transition: none; } }

/* ------------------------------------------------ How to read UK road signs */
.sq-guide { padding-block: clamp(3.5rem, 8vw, 6.5rem); background: var(--paper); }
.sq-guide__head { max-width: 44rem; }
.sq-guide__kick { margin: 0 0 .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
.sq-guide__lead { margin: 1rem 0 0; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.sq-guide__grid { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); }
.sq-shape { display: grid; align-content: start; gap: .35rem; padding: clamp(1.1rem, 2vw, 1.5rem); border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(11,63,55,.45); }
.sq-shape__img { height: 7.5rem; display: grid; place-items: center; margin-bottom: .8rem; border-radius: var(--radius-sm); background: var(--paper-2); padding: .9rem; }
.sq-shape__img img { display: block; height: 5.6rem; width: auto; max-width: 100%; object-fit: contain; }
.sq-shape__name { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.sq-shape h3 { margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.sq-shape p:last-child { margin: .15rem 0 0; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }
.sq-guide__src { margin: clamp(1.75rem, 3vw, 2.25rem) 0 0; max-width: 50rem; font-size: var(--sc-t-sm); color: var(--ink-soft); }
@media (max-width: 980px) { .sq-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sq-guide__grid { grid-template-columns: minmax(0, 1fr); } .sq-shape { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; } .sq-shape__img { grid-row: span 3; height: 5.5rem; margin: 0; padding: .6rem; } .sq-shape__img img { height: 4.2rem; } }
