/* Daily Swatch - game-specific layout only.
   Colors, type ramp, radii, shadows, button styles all come from /css/site.css.
   Anything that starts with --cg-* below is a phase-color derived from site
   tokens (kept local because it's only used inside the game card). */

:root {
  --cg-inset: rgba(0, 0, 0, 0.04);
  /* Guess-phase toolbar + sheet (neutral derivatives of --bg/--surface) */
  --cg-guess-bar: #8f8e8b;
  --cg-guess-bar-ink: rgba(20, 20, 20, 0.88);
  --cg-guess-sheet: #ededed;
  --cg-guess-inset: rgba(255, 255, 255, 0.6);
  /* Results / reveal */
  --cg-result-sheet: #f3f3f3;
  --cg-result-dock-well: #e6e6e6;
}

/* --- One-screen viewport (no page scroll) -------------------------------- */
html.cg-page {
  height: 100%;
  overflow: hidden;
}

body.cg-page {
  height: 100%;
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  overscroll-behavior: none;
}

@supports (height: 100dvh) {
  body.cg-page {
    min-height: 100dvh;
    max-height: 100dvh;
  }
}

@supports (height: 100svh) {
  body.cg-page {
    min-height: 100svh;
    max-height: 100svh;
  }
}

body.cg-page .blob-field {
  opacity: 0.4;
}

body.cg-page .layout {
  min-height: 0;
  height: 100%;
  max-height: inherit;
  overflow: hidden;
  min-height: 100dvh;
}

@supports not (min-height: 100dvh) {
  body.cg-page .layout {
    min-height: 100vh;
  }
}

/* Pre-run: hide game UI (stats, daily line, viewport, dock) until Start */
.cg-main--intro .cg-top-stats,
.cg-main--intro .cg-daily-line {
  display: none !important;
}

.cg-main--intro .cg-card {
  position: relative;
  z-index: 5;
}

.cg-main--intro .cg-card__viewport {
  display: none !important;
}

.cg-main--intro .cg-best {
  display: none !important;
}

.cg-main--intro .cg-complete {
  display: none !important;
}

/* Intro is in normal flow so the card keeps height without viewport/dock */
.cg-card--intro .cg-intro {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  z-index: 1;
}

/* Wider game shell + one-screen sizing (overrides the default .game-shell). */
body.cg-page main.game-shell.game-shell--wide {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  row-gap: clamp(0.35rem, 1.4vmin, 0.65rem);
  width: 100%;
  max-width: min(800px, 100%);
  margin-inline: auto;
  margin-block: 0;
  padding: clamp(0.75rem, 3.5vmin, 1.75rem) clamp(1rem, 7vw, 3.25rem);
  padding-left: max(clamp(1rem, 7vw, 3.25rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 7vw, 3.25rem), env(safe-area-inset-right, 0px));
  padding-bottom: max(clamp(0.75rem, 3.5vmin, 1.75rem), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.game-shell--wide {
  max-width: min(800px, 100%);
}

/* Top header: standard back-link/<h1>/.lede on the left, score HUD on the
   right. The chrome here uses site tokens so it matches every other game. */
body.cg-page .game-shell--wide .back-link {
  margin-bottom: 0.35rem;
}

body.cg-page .game-shell--wide h1 {
  margin: 0 0 0.2rem;
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

body.cg-page .game-shell--wide .lede {
  margin: 0 0 0.45rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.cg-shell-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cg-shell-head__chrome {
  min-width: 0;
  flex: 1 1 auto;
}

.cg-shell-head__chrome > .back-link,
.cg-shell-head__chrome > h1,
.cg-shell-head__chrome > .lede {
  display: block;
}

.cg-top-stats {
  flex: 0 0 auto;
  text-align: right;
  margin-bottom: 0.55rem;
}

.cg-top-stats__date {
  margin: 0 0 0.2rem;
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.cg-top-stats__date:empty {
  display: none;
}

.cg-top-stats__line {
  margin: 0;
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.cg-top-stats__item {
  white-space: nowrap;
}

.cg-top-stats__item .cg-num {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cg-top-stats__dot {
  margin: 0 0.2rem;
  opacity: 0.45;
}

/* Streak chip in the game header - sits inline with score / round so it
   doesn't change layout when absent (visibility toggled by JS). */
.cg-top-stats__streak {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cg-top-stats__streak[hidden] {
  display: none;
}

.cg-top-stats__dot--streak[hidden] {
  display: none;
}

.cg-top-stats__streak-icon {
  font-size: 0.95em;
  line-height: 1;
}

/* Keep the stats clear of the floating sound toggle (mounted by
   /js/sounds.js) which sits fixed in the top-right. */
@media (max-width: 600px) {
  .cg-shell-head {
    padding-right: var(--play-sounds-toggle-reserve, 3rem);
  }
  .cg-top-stats {
    text-align: left;
  }
}

.cg-daily-line {
  margin: 0;
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

@media (max-height: 560px) {
  .cg-daily-line {
    display: none;
  }
}

/* Stage + card */
.cg-stage {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  min-height: auto;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  overflow: hidden;
}

body.cg-page .game-stage.cg-stage {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: min(82dvh, 720px);
  max-height: min(82dvh, 720px);
  padding: 0;
  align-items: stretch;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

@supports not (height: 82dvh) {
  body.cg-page .game-stage.cg-stage {
    height: min(82vh, 720px);
    max-height: min(82vh, 720px);
  }
}

.cg-card {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cg-card__viewport {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cg-card--guessing .cg-card__viewport {
  background: transparent;
}

/* Playing layer fills the entire card during all phases. The current
   color (target during memorize, guess during guess) lives on
   .cg-target-fill; chrome, picker, and actions are absolute overlays. */
.cg-playing {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cg-target-fill {
  position: absolute;
  inset: 0;
  background: #888;
  transition: background-color 0.08s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .cg-target-fill {
    transition: none;
  }
}

.cg-hero-chrome {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.85rem max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.cg-scrim-label {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-3xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.cg-watermark {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.25rem 0;
  text-align: right;
  flex-shrink: 1;
  min-width: 0;
  transition: color 320ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .cg-watermark {
    transition: none;
  }
}

.cg-playing.cg-playing--light .cg-watermark {
  color: rgba(20, 20, 20, 0.78);
}

.cg-playing.cg-playing--light .cg-scrim-label {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

/* Memorize phase · full-bleed color + bottom bar (timer + progress) */
.cg-memorize-hud {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: max(0.85rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.85rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.cg-memorize-hud[hidden] {
  display: none !important;
}

.cg-memorize-hud__scrim {
  display: none;
}

.cg-memorize-hud__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(0.75rem, 4vw, 1.5rem);
  width: 100%;
}

.cg-memorize-col {
  min-width: 0;
}

.cg-memorize-col--left {
  flex: 1 1 auto;
  max-width: min(52%, 220px);
}

.cg-memorize-col--right {
  flex: 0 0 auto;
  text-align: right;
}

.cg-memorize-kicker {
  margin: 0 0 0.45rem;
  font-size: var(--fs-3xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

.cg-playing.cg-playing--light .cg-memorize-kicker {
  color: var(--text);
}

.cg-memorize-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.cg-playing.cg-playing--light .cg-memorize-bar {
  background: rgba(0, 0, 0, 0.14);
}

.cg-memorize-bar__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  background: #fff;
  border-radius: inherit;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .cg-memorize-bar__fill {
    will-change: auto;
  }
}

.cg-playing.cg-playing--light .cg-memorize-bar__fill {
  background: var(--text);
}

.cg-memorize-count {
  display: block;
  font-size: clamp(2.35rem, 12vmin, 4.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums lining-nums;
}

.cg-playing.cg-playing--light .cg-memorize-count {
  color: var(--text);
}

.cg-memorize-caption {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.cg-playing.cg-playing--light .cg-memorize-caption {
  color: var(--text-muted);
}

/* Memorize: flat chrome - no frosted or shadowed overlays on the swatch */
.cg-card--memorizing .cg-scrim-label,
.cg-card--memorizing .cg-playing.cg-playing--light .cg-scrim-label {
  background: #fff;
  color: var(--text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.cg-card--memorizing .cg-watermark {
  color: #fff;
}

.cg-card--memorizing .cg-playing.cg-playing--light .cg-watermark {
  color: var(--text-muted);
}

/* Guess prompt - small caption above the OK button. Hidden by default;
   only shown briefly via accessible polite announcement (kept in DOM for
   screen readers, visually positioned above the actions). */
.cg-guess-hud {
  position: absolute;
  z-index: 3;
  right: clamp(0.85rem, 3vmin, 1.4rem);
  bottom: calc(clamp(0.85rem, 3vmin, 1.4rem) + 3.4rem);
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-align: right;
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.cg-playing--light .cg-guess-hud {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.cg-guess-hud[hidden] {
  display: none !important;
}

/* Split reveal */
.cg-split[hidden] {
  display: none !important;
}

.cg-split {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.cg-split__feedback[hidden] {
  display: none !important;
}

.cg-split__grid {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cg-split__pane {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem 1.05rem;
  min-height: 0;
}

.cg-split__pane--guess {
  border-right: 0;
}

.cg-split__pane-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cg-split__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cg-split__result-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem 1.1rem 0.5rem;
  text-align: right;
  pointer-events: none;
}

.cg-split__result-head .cg-split__score {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.cg-split__score-suffix {
  display: none;
}

.cg-split__result-head .cg-split__tier {
  margin: 0.5rem 0 0;
  margin-left: auto;
  max-width: 14rem;
  font-size: var(--fs-2xs);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.cg-split__pane--target.cg-split__pane--light .cg-split__result-head .cg-split__score {
  color: var(--text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cg-split__pane--target.cg-split__pane--light .cg-split__result-head .cg-split__tier {
  color: var(--text-muted);
  text-shadow: none;
}

.cg-split__next-fab {
  position: absolute;
  bottom: 1.05rem;
  right: 1.1rem;
  z-index: 3;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cg-split__next-fab > span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.cg-split__next-fab:hover {
  transform: scale(1.06);
  box-shadow:
    0 6px 26px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.cg-split__next-fab:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.cg-split__label {
  position: relative;
  z-index: 1;
  font-size: var(--fs-3xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.cg-split__hsl {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
  letter-spacing: -0.01em;
}

.cg-split__hex {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: var(--fs-3xs);
  opacity: 0.75;
  color: #fff;
}

.cg-split__pane.cg-split__pane--light .cg-split__label {
  color: rgba(20, 20, 20, 0.55);
  text-shadow: none;
}

.cg-split__pane.cg-split__pane--light .cg-split__hsl {
  color: var(--text);
  text-shadow: none;
}

/* "Best today" line lives below the card now (small, muted). */
.cg-best:not([hidden]) {
  flex-shrink: 0;
  margin: 0.45rem 0 0;
  padding: 0 0.4rem;
  text-align: right;
}

/* --- Coloruno-style picker: three thin vertical rails overlaid on the
   live color card. Visible only while guessing (toggled via card class). */
.cg-picker {
  position: absolute;
  z-index: 3;
  top: clamp(2.85rem, 8vmin, 3.6rem);
  bottom: clamp(2.85rem, 8vmin, 3.6rem);
  left: clamp(0.85rem, 3vmin, 1.4rem);
  display: none;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  border-radius: clamp(12px, 3vmin, 16px);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  -webkit-tap-highlight-color: transparent;
}

.cg-card--guessing .cg-picker {
  display: flex;
}

.cg-picker__rail {
  position: relative;
  width: clamp(22px, 5.2vmin, 30px);
  cursor: pointer;
  touch-action: none;
}

.cg-picker__rail:focus {
  outline: none;
}

.cg-picker__rail:focus-visible {
  box-shadow: inset 0 0 0 2px var(--focus-color, #fff);
}

.cg-picker__rail--hue {
  background: linear-gradient(
    to bottom,
    hsl(0, 100%, 50%),
    hsl(60, 100%, 50%),
    hsl(120, 100%, 50%),
    hsl(180, 100%, 50%),
    hsl(240, 100%, 50%),
    hsl(300, 100%, 50%),
    hsl(360, 100%, 50%)
  );
}

/* Sat: top = full saturated hue, bottom = neutral gray (at current lightness) */
.cg-picker__rail--sat {
  background: linear-gradient(
    to bottom,
    hsl(var(--cg-pick-h, 200), 100%, var(--cg-pick-l-pct, 50%)),
    hsl(var(--cg-pick-h, 200), 0%, var(--cg-pick-l-pct, 50%))
  );
}

/* Light: top = white, mid = current hue at chosen sat, bottom = black */
.cg-picker__rail--light {
  background: linear-gradient(
    to bottom,
    hsl(var(--cg-pick-h, 200), var(--cg-pick-s-pct, 65%), 100%),
    hsl(var(--cg-pick-h, 200), var(--cg-pick-s-pct, 65%), 50%) 50%,
    hsl(var(--cg-pick-h, 200), var(--cg-pick-s-pct, 65%), 0%)
  );
}

.cg-picker__knob {
  position: absolute;
  left: 50%;
  top: 0%;
  width: clamp(14px, 3.4vmin, 18px);
  height: clamp(14px, 3.4vmin, 18px);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: top;
}

@media (prefers-reduced-motion: reduce) {
  .cg-picker__knob {
    will-change: auto;
  }
}

/* Floating action buttons (OK / Next) - bottom-right of the card */
.cg-card-actions {
  position: absolute;
  z-index: 4;
  right: clamp(0.85rem, 3vmin, 1.4rem);
  bottom: clamp(0.85rem, 3vmin, 1.4rem);
  display: none;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.cg-card--guessing .cg-card-actions {
  display: flex;
}

.cg-fab[hidden] {
  display: none !important;
}

.cg-fab {
  min-width: clamp(4.25rem, 12vmin, 5.5rem);
  padding: 0.7rem 1.4rem !important;
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: -0.01em;
  background: #fff;
  color: var(--text);
  border: none;
  border-radius: 999px;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.cg-fab:hover:not(:disabled) {
  background: #fff;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.cg-fab.btn--primary {
  background: var(--text);
  color: var(--surface);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.cg-fab.btn--primary:hover:not(:disabled) {
  background: var(--text);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.cg-card .btn {
  padding: 0.55rem 1.15rem;
}

.cg-best {
  margin: 0;
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  text-align: inherit;
}

.cg-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.cg-card--revealed .cg-playing {
  display: none;
}

.cg-card--revealed .cg-split:not([hidden]) {
  display: flex;
}

.cg-card--revealed .cg-card__viewport {
  background: var(--cg-result-sheet);
}

.cg-card--revealed .cg-split {
  background: transparent;
}

.cg-card--revealed .cg-split__hex {
  display: none;
}

.cg-card--revealed .cg-split__grid {
  min-height: clamp(220px, 50vmin, 360px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.cg-card--revealed .cg-split__pane {
  padding: 1.1rem 1.25rem 1.15rem;
}

.cg-card--revealed .cg-split__pane--target .cg-split__pane-footer {
  padding-right: 3.4rem;
}

.cg-card--revealed .cg-split__pane--guess {
  border-right: 0;
}

.cg-stage.is-picker-disabled .cg-picker,
.cg-stage.is-picker-disabled .cg-card-actions {
  opacity: 0.55;
  pointer-events: none;
}

.cg-card--revealed .cg-picker,
.cg-card--revealed .cg-card-actions {
  display: none !important;
}

.cg-card--revealed {
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Daily complete overlay */
.cg-complete {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center vertically with a tight gap stack so the panel feels
     intentional rather than floating in a sea of empty surface. */
  justify-content: center;
  gap: 0.55rem;
  padding: clamp(1rem, 3vmin, 1.5rem) max(0.9rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(0.9rem, env(safe-area-inset-left));
  text-align: center;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cg-complete > * {
  flex: 0 0 auto;
}

.cg-complete[hidden] {
  display: none !important;
}

.cg-complete__title {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
}

.cg-complete__score {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: center;
}

.cg-complete__score strong {
  font-size: clamp(2rem, 7vmin, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cg-complete__hint {
  margin: 0;
  max-width: 18rem;
  font-size: var(--fs-2xs);
  line-height: 1.45;
  color: var(--text-muted);
}

/* When the synthetic ranking panel is showing, its cohort label + note
   already convey the "you're being ranked" message, so we suppress the
   generic hint to give the chart room. */
.cg-complete--with-rank .cg-complete__hint {
  display: none;
}

.cg-complete--with-rank .cg-complete__title {
  font-size: var(--fs-lg);
  margin-bottom: 0;
}

.cg-complete--with-rank .cg-complete__score {
  margin-bottom: 0.1rem;
}

.cg-complete--with-rank .cg-complete__score strong {
  font-size: clamp(1.85rem, 6.5vmin, 2.35rem);
}

/* Daily ranking distribution panel.
 *
 * Synthetic distribution computed from the daily seed (so identical
 * globally) plus a time-of-day shift (so first-hour players see fewer
 * casuals). The "You" pill is HTML positioned with a left % pulled from
 * JS so it can land precisely on the player's score along the x-axis.
 */
.cg-rank {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: min(100%, 480px);
  margin: 0.35rem 0 0.2rem;
  padding: 0.85rem 1rem 0.9rem;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(20, 24, 30, 0.05);
}

.cg-rank[hidden] {
  display: none !important;
}

.cg-rank__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--fs-3xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cg-rank__title {
  color: var(--text);
}

.cg-rank__date {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text-muted);
}

.cg-rank__chart-wrap {
  position: relative;
  width: 100%;
  /* Slightly taller than the old 600/170 so the histogram has room to
     breathe inside the now-larger panel. */
  aspect-ratio: 600 / 210;
}

.cg-rank__chart {
  display: block;
  width: 100%;
  height: 100%;
}

.cg-rank__you {
  position: absolute;
  top: 2px;
  bottom: 0;
  /* Width is just enough for the label; we center on --left via the
     translate so the pill sits over the marker line. */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  pointer-events: none;
  font-size: var(--fs-3xs);
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
  left: var(--cg-rank-x, 50%);
}

.cg-rank__you[hidden] {
  display: none;
}

.cg-rank__you-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cg-rank__you-pct {
  font-weight: 600;
  color: var(--text-muted);
  font-size: var(--fs-3xs);
}

.cg-rank__axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--text-muted) 80%, transparent);
  font-variant-numeric: tabular-nums;
  padding: 0 1px;
}

.cg-rank__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  font-size: var(--fs-2xs);
}

.cg-rank__foot-label {
  font-weight: 600;
  color: var(--text);
}

.cg-rank__foot-score {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: var(--fs-sm);
}

.cg-rank__note {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--text-muted) 90%, transparent);
}

.cg-card--complete .cg-card-actions {
  opacity: 0.45;
  pointer-events: none;
}

/* End-of-run CTA row: Share + Play again side by side. Wraps tightly on
   narrow viewports so neither button gets clipped under the rank panel. */
.cg-complete__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cg-complete__cta-row .btn {
  min-width: 8.5rem;
}

/* The CTA row sits inside a card with overflow:hidden + rounded corners.
   The default .btn--primary shadow is tuned for free space and its blur
   gets clipped by the card's bottom radius, producing a dark smudge that
   peeks through the rounded corners. Soften it so the clip is invisible. */
.cg-complete__cta-row .btn--primary {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cg-complete__cta-row .btn--primary:hover:not(:disabled) {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

#cg-btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cg-btn-share__icon {
  display: inline-flex;
  line-height: 0;
}

/* ============================================================
 * Shareable result-card modal
 * ============================================================ */
.cg-share-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.cg-share-modal[hidden] {
  display: none !important;
}

.cg-share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 30, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.cg-share-modal__inner {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.4rem 1.1rem 1.1rem;
  background: var(--surface, #fff);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(20, 24, 30, 0.35), 0 6px 18px rgba(20, 24, 30, 0.18);
  overflow: hidden;
  animation: cg-share-pop 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cg-share-pop {
  from { transform: translateY(14px) scale(0.96); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.cg-share-modal__x {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--text-muted, #6c7480);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.cg-share-modal__x:hover,
.cg-share-modal__x:focus-visible {
  background: rgba(20, 24, 30, 0.06);
  color: var(--text, #111418);
  outline: none;
}

.cg-share-modal__title {
  margin: 0.1rem 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text, #111418);
  text-align: center;
}

.cg-share-modal__sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #6c7480);
  text-align: center;
}

.cg-share-modal__preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.45rem;
  background:
    repeating-conic-gradient(
      rgba(20, 24, 30, 0.04) 0% 25%, transparent 0% 50%
    ) 0 0 / 18px 18px;
  border-radius: 16px;
  /* Constrain so the 4:5 portrait card never overflows the modal vertically */
  max-height: min(60vh, 520px);
  overflow: hidden;
}

.cg-share-modal__img {
  display: block;
  max-width: 100%;
  max-height: min(56vh, 500px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(20, 24, 30, 0.18);
  background: #f5efe6;
}

.cg-share-modal__actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}

.cg-share-modal__actions .btn {
  flex: 1 1 8rem;
  min-width: 8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cg-share-modal__note {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.72rem;
  color: var(--text-muted, #6c7480);
  text-align: center;
}

@media (max-width: 480px) {
  .cg-share-modal__inner {
    width: 100%;
    border-radius: 18px;
  }
  .cg-share-modal__preview {
    max-height: 56vh;
  }
  .cg-share-modal__img {
    max-height: 52vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-share-modal__inner {
    animation: none;
  }
}

/* Pre-run instruction (dark modal inside card) */
.cg-intro {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform-origin: 50% 48%;
  padding: clamp(0.85rem, 2.8vmin, 1.35rem) clamp(1rem, 4vw, 1.85rem)
    max(0.9rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(clamp(1rem, 4vw, 1.85rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 1.85rem), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
  background: var(--inverse-bg);
  border-radius: var(--radius-lg);
}

.cg-intro[hidden] {
  display: none !important;
}

.cg-intro__top {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
}

.cg-intro__meta {
  min-width: 0;
}

/* Right-side stack: streak pill sits directly above the last-score line
   so returning players see their current streak first, with the
   previous-run score grounded below it. */
.cg-intro__top-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.cg-intro__date {
  margin: 0 0 0.2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
}

.cg-intro__next {
  margin: 0;
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

/* Compact "Last score X / 50" line under the date/countdown in the
   intro panel. Surfaces the most recent run's score so returning
   players see continuity even before they start a new run. Hidden via
   the [hidden] attribute when no prior run is recorded. */
.cg-intro__last {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  font-size: var(--fs-3xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.cg-intro__last[hidden] {
  display: none;
}

.cg-intro__last-label {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
}

.cg-intro__last-value {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.96);
}

.cg-intro__last-max {
  font-size: var(--fs-3xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

/* Segmented Daily / Flash mode toggle. Uses an active-state pill rather
   than a sliding indicator so it works even if JS hasn't measured yet. */
.cg-intro__modes {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0.75rem 0 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-intro__mode {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.cg-intro__mode:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
}

.cg-intro__mode:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.cg-intro__mode.is-active {
  background: #fff;
  color: #0b0b0b;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.cg-intro__mode-sub {
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.6;
}

.cg-intro__mode.is-active .cg-intro__mode-sub {
  opacity: 0.7;
}

/* Hide the date/countdown block in flash mode; flash uses a different
   meta line populated by JS into the same elements. */
.cg-intro[data-mode="flash"] .cg-intro__next {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cg-intro__site {
  flex-shrink: 0;
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.28);
  padding-top: 0.1rem;
}

/* Live daily streak chip in the intro panel top-right. Hidden until JS
   confirms there's a non-zero streak. Lives in the same slot the old
   site watermark used so layout stays balanced. */
.cg-intro__streak {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.32rem 0.65rem 0.32rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.cg-intro__streak[hidden] {
  display: none;
}

.cg-intro__streak-icon {
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
}

.cg-intro__streak-count {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.cg-intro__streak-label {
  opacity: 0.7;
}

.cg-intro__main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0 0.75rem;
}

.cg-intro__title {
  margin: 0;
  font-size: clamp(1.85rem, 8.2vmin, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Compact stat row: 5 · 10 · 50. Each cell shows a big number above
   a tiny caption. Separators come from the gap + a subtle divider. */
.cg-intro__stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.85rem, 4vmin, 1.5rem);
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}

.cg-intro__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0 clamp(0.45rem, 2.4vmin, 0.85rem);
  position: relative;
}

.cg-intro__stats li + li::before {
  content: "";
  position: absolute;
  left: calc(clamp(0.85rem, 4vmin, 1.5rem) / -2);
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.cg-intro__stats strong {
  font-size: clamp(1.35rem, 6vmin, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cg-intro__stats span {
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* How-to-play steps */
.cg-intro__steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: min(100%, 320px);
}

.cg-intro__steps li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.cg-intro__step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-3xs);
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
  font-variant-numeric: tabular-nums;
}

/* Conic-gradient palette strip that rotates in a loop. Uses
   @property --cg-intro-angle so the angle tween is GPU-friendly. */
@property --cg-intro-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cg-intro-swatches {
  position: relative;
  width: 100%;
  max-width: min(100%, 320px);
  height: clamp(38px, 7vmin, 48px);
  margin: 0.95rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  /* Conic gradient sized larger than the strip so the curve reads as a
     subtle bow across its width rather than a single hard centre point. */
  background:
    conic-gradient(
      from var(--cg-intro-angle) at 50% 140%,
      #ff6b9d 0deg,
      #ffa45b 60deg,
      #ffd166 120deg,
      #6ee7b7 180deg,
      #38bdf8 240deg,
      #a78bfa 300deg,
      #ff6b9d 360deg
    );
  animation: cg-intro-spin 9s linear infinite;
}

.cg-intro-swatches::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0) 35%,
    rgba(0, 0, 0, 0.15)
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes cg-intro-spin {
  to {
    --cg-intro-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-intro-swatches {
    animation: none;
  }
}

/* Individual swatch elements are no longer needed visually - the conic
   gradient on the parent provides the colour. Keep them in the DOM but
   render as nothing so the markup stays backwards-compatible. */
.cg-intro-swatch {
  display: none;
}

/* Intro CTA inverts the standard btn--primary so it pops against the dark
   modal background. Sits on .btn for shape/typography consistency. */
.cg-intro__cta {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  align-self: stretch;
  padding: 0.72rem 1.35rem;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  background: var(--bg);
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cg-intro__cta:hover:not(:disabled) {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
  background: #fff;
}

@media (max-height: 560px) {
  .cg-intro__title {
    font-size: clamp(1.55rem, 7vmin, 2rem);
  }

  .cg-intro__stats {
    margin-top: 0.6rem;
  }

  .cg-intro__steps {
    margin-top: 0.65rem;
    gap: 0.4rem;
  }

  .cg-intro-swatches {
    height: 32px;
    margin-top: 0.55rem;
  }

  .cg-intro__main {
    padding-bottom: 0.35rem;
  }
}

/* Mood blobs · softer accent driven by current swatch */
body:has(.cg-stage) .blob__inner--tan {
  background: color-mix(in srgb, var(--cg-mood, var(--blob-tan)) 35%, var(--blob-tan));
}

body:has(.cg-stage) .blob__inner--grey {
  background: color-mix(in srgb, var(--cg-mood-2, var(--blob-grey)) 32%, var(--blob-grey));
}

@media (max-height: 620px) {
  .cg-picker__pad {
    height: clamp(88px, 18vmin, 140px);
  }
}
