/* Values in this file are taken from the Figma file Prom_TG_tap_july_26
   (frame 20:587) via the Dev Mode MCP server, not eyeballed from a render.
   The design keeps the hard-edged language of the original — 1px #222223
   outlines and offset shadows with no blur — and layers violet gradients
   on top of it. */

:root {
  --warm-white: #ffe8d8;
  --warm-black: #222223;
  --main-violet: #8e09ff;
  --secondary-violet: #cf96ff;
  --light-orange: #ff785a;
  --yellow: #ffc700;
  --white: #ffffff;
  --muted: rgba(34, 34, 35, 0.64);
  --line: rgba(34, 34, 35, 0.12);

  /* The signature gradient: secondary violet on the left running to main
     violet on the right. Used for the page, the accent chips, the rules
     banner and the tap stage frame. */
  --violet-gradient: linear-gradient(to right, #cf96ff, #8e09ff);

  --shadow-sm: 5px 5px 0 0 var(--warm-black);
  --shadow-lg: 8px 8px 0 0 var(--warm-black);
  --drop-sm: drop-shadow(5px 5px 0 var(--warm-black));

  font-family: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--main-violet);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--warm-black);
  background: var(--violet-gradient);
  /* Deliberately NOT background-attachment: fixed. On mobile that forces the
     browser to repaint the gradient on every scroll frame instead of just
     moving a layer, and since this gradient runs left-to-right it looks
     identical either way — all cost, no benefit. */
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0 auto;
  /* Right/bottom padding carries the 8px offset shadows without clipping. */
  padding: max(16px, env(safe-area-inset-top)) 18px max(34px, env(safe-area-inset-bottom)) 14px;
}

/* ---------- header ---------- */

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--warm-black);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}

/* ---------- chips ---------- */

.campaign-chip,
.pill,
.mini-note {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 9px 13px;
  border: 1px solid var(--main-violet);
  border-radius: 999px;
  color: var(--white);
  background: var(--violet-gradient);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Figma 20:686 — "ТОП 20" is the one chip that is solid yellow with dark
   text, not the violet gradient. */
.mini-note {
  border-color: var(--yellow);
  color: var(--warm-black);
  background: var(--yellow);
}

.user-chip[hidden] {
  display: none;
}

/* ---------- cards ---------- */

.hero-card,
.panel {
  position: relative;
  border: 1px solid var(--warm-black);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  padding: 20px 17px;
}

.hero-card__glow {
  display: none;
}

.section-heading,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card__copy {
  position: relative;
  z-index: 1;
  padding: 0 0 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 8px 13px;
  border: 1px solid var(--main-violet);
  border-radius: 999px;
  color: var(--white);
  background: var(--violet-gradient);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

h1,
h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  text-wrap: balance;
}

h1 {
  color: var(--warm-black);
  font-size: clamp(38px, 12.2vw, 47.6px);
  font-weight: 800;
  line-height: 0.926;
  letter-spacing: -0.0516em;
}

h2 {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

p {
  font-size: 14px;
  line-height: 1.48;
}

/* ---------- rule pills ---------- */

.mission-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.mission-strip span {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 6px;
  border: 1px solid var(--secondary-violet);
  border-radius: 20px;
  color: var(--main-violet);
  background: transparent;
  /* All three sit on one row at 390px in the design, so the label shrinks
     rather than the row wrapping. */
  font-size: clamp(10px, 3.1vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--warm-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

/* ---------- product strip ---------- */

.promo-grid {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.promo-row {
  display: flex;
  gap: 7px;
}

.promo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  height: 74px;
  padding: 6px 8px;
  overflow: hidden;
  border: 1px solid var(--secondary-violet);
  border-radius: 18px;
  background: var(--white);
}

.promo-tile--dark {
  border-color: var(--warm-black);
  background: var(--warm-black);
}

.promo-tile img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.promo-tile--row img {
  max-width: 19%;
}

/* ---------- banners ---------- */

.rules-banner,
.campaign-banner {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--main-violet);
  border-radius: 20px;
  color: var(--white);
  background: var(--violet-gradient);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

/* Campaign status is the louder of the two — when it appears it is telling
   the player the game is shut, so it takes the yellow accent. */
.campaign-banner {
  border-color: var(--warm-black);
  color: var(--warm-black);
  background: var(--yellow);
}

.campaign-banner[hidden] {
  display: none;
}

/* ---------- scoreboard ---------- */

.scoreboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.scoreboard > div {
  padding: 9px 4px 11px;
  border: 1px solid var(--secondary-violet);
  border-radius: 16px;
  text-align: center;
  background: var(--white);
}

.scoreboard > div:nth-child(2),
.scoreboard > div:nth-child(4) {
  border-color: var(--yellow);
  background: var(--yellow);
}

.scoreboard__label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scoreboard strong {
  display: block;
  margin-top: 5px;
  color: var(--warm-black);
  font-size: clamp(20px, 6.6vw, 28px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ---------- daily attempts ---------- */

.lives-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.lives-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 14px;
  border: 1px solid var(--secondary-violet);
  border-radius: 999px;
  color: var(--main-violet);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.lives {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lives .life {
  display: block;
  width: 22px;
  height: 19px;
  background: url("./assets/heart-pixel.svg?v=912b9628e0") center / contain no-repeat;
}

.lives .life:not(.is-available) {
  opacity: 0.22;
  filter: grayscale(1);
}

/* ---------- timer ---------- */

.time-track {
  position: relative;
  z-index: 1;
  height: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e0ff;
}

.time-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--main-violet);
  transform-origin: left center;
  transition: transform 80ms linear;
}

/* ---------- tap stage ---------- */

/* Violet gradient frame (radius 40) wrapping a warm-white inner card
   (radius 27) that holds the illustration — straight from the design. */
/* Figma 20:630 — outer frame 327.5x332 holding an inner card 251x254 inset
   by 38px/39px, so the inset is expressed as a ratio of the frame width. */
.school-stage {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding: 11.9% 11.6%;
  border: 1px solid var(--main-violet);
  border-radius: 40px;
  background: var(--violet-gradient);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  outline: none;
}

.school-stage__inner {
  position: relative;
  width: 100%;
  /* 251x254 in the design — very nearly square. */
  aspect-ratio: 251 / 254;
  overflow: hidden;
  border: 1px solid var(--warm-black);
  border-radius: 27px;
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

/* Promoted to its own layer: the flash fires on every tap, and without this
   the radial gradient is re-rasterised each time instead of the GPU just
   animating one layer's opacity. */
.school-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 199, 0, 0.55), transparent 9rem);
  will-change: opacity;
}

.school-stage.has-impact::after {
  animation: stageFlash 0.18s steps(2, end);
}

.school-stage.is-combo .school-stage__inner {
  background: #ffdcc6;
}

.school-stage:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.55);
}

/* Kept from the original build for tap feedback, but dialled right down —
   the design's stage is a plain warm-white card, so these only register as
   a faint movement behind the illustration rather than as shapes. */
.burst {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 42px;
  background: rgba(207, 150, 255, 0.13);
  transform: rotate(12deg);
  animation: wobble 4s ease-in-out infinite;
}

.burst--two {
  width: 140px;
  height: 140px;
  background: rgba(255, 199, 0, 0.1);
  transform: rotate(-18deg);
  animation-delay: -1.4s;
}

/* Figma 20:633 — the illustration group is 306.7x314.2 sitting on a 251x254
   card, i.e. deliberately larger than its frame and clipped by it. Offsets
   are the design's own: centre +4.93px, top -27.79px. */
.school {
  position: absolute;
  z-index: 2;
  left: calc(50% + 1.96%);
  top: -10.94%;
  display: block;
  width: 122.19%;
  height: auto;
  transform: translateX(-50%);
  transform-origin: center bottom;
  transition: transform 0.09s ease;
  /* Transform-animated on every tap, so it gets its own layer — otherwise the
     bitmap is re-rasterised each time it scales. */
  will-change: transform;
}

.school.is-tapped {
  animation: schoolHit 0.18s steps(2, end);
}

.bonus-bell {
  position: absolute;
  z-index: 5;
  left: var(--bell-x, 70%);
  top: var(--bell-y, 24%);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--warm-black);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 26px;
  transform: translate(-50%, -50%) rotate(-8deg);
  animation: bellPop 0.46s ease-out infinite alternate;
}

.bonus-bell[hidden] {
  display: none;
}

/* Figma 20:636 — pinned to the outer frame (left/right 30.16%, bottom
   13.53px), so it straddles the inner card's bottom edge rather than
   sitting inside it. */
/* Figma 20:636 — pinned to the outer frame (left/right 30.16%, bottom
   13.53px) so it straddles the inner card's bottom edge. The design's label
   is the short "ФІНІШ!"; at runtime this same badge also carries longer
   copy, so the design width becomes a minimum and the pill grows instead of
   overflowing. */
.tap-hint {
  position: absolute;
  z-index: 6;
  bottom: 13.5px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 39.68%;
  max-width: 92%;
  height: 45.5px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--warm-black);
  background: var(--yellow);
  font-size: clamp(15px, 5.2vw, 22px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  /* box-shadow, not filter: drop-shadow. The pill is opaque so the two look
     identical, but a filtered element re-rasterises whenever its content
     changes — and this label changes on every single tap. */
  box-shadow: var(--shadow-sm);
  transform: translateX(-50%);
}

.float-score {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  color: var(--main-violet);
  font-family: "Caveat", cursive;
  font-size: 34px;
  font-weight: 700;
  text-shadow: 2px 2px 0 var(--yellow);
  animation: floatUp 0.72s ease-out forwards;
  will-change: transform, opacity;
}

/* These fly out on every tap, so they are the one thing in the app that has
   to be cheap. Three things were making them expensive:
   - `steps(5, end)` repainted each particle five times instead of letting the
     compositor interpolate once; now a smooth ease-out.
   - the offset box-shadow enlarged the repaint area on each of those steps.
   - `will-change` was missing, so the transform/opacity animation ran as
     main-thread paint rather than on the GPU. */
.school-pop {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  pointer-events: none;
  border: 1px solid var(--warm-black);
  border-radius: 12px;
  background: var(--white);
  font-size: 17px;
  transform: translate3d(-50%, -50%, 0);
  animation: schoolPop 0.78s ease-out forwards;
  will-change: transform, opacity;
}

.school-pop--v2 {
  background: var(--yellow);
}

.school-pop--v3 {
  background: var(--secondary-violet);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--warm-black);
  border-radius: 30px;
  font: inherit;
  /* Labels are set at runtime and vary in length ("Почати челендж" vs
     "Ще один забіг"), so the size flexes instead of wrapping. */
  font-size: clamp(11px, 3.3vw, 14px);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    opacity 0.14s ease,
    box-shadow 0.14s ease;
}

.button:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--warm-black);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button--primary {
  color: var(--warm-black);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
}

.button--ghost,
.button--dark {
  color: var(--white);
  background: var(--main-violet);
  box-shadow: var(--shadow-sm);
}

/* Figma 20:666 — 280 wide inside a 362 section, i.e. inset rather than
   full-bleed like the callout above it. */
.button--dark {
  width: min(100%, 280px);
  margin: 0 auto;
}

/* ---------- panels ---------- */

.panel {
  margin-top: 18px;
  padding: 20px 17px;
  background: var(--white);
}

.result-panel {
  display: grid;
  gap: 14px;
}

.result-panel[hidden] {
  display: none;
}

.rank-callout,
.rank-summary {
  margin: 12px 0 0;
  color: var(--warm-black);
  font-size: 13px;
  font-weight: 800;
}

/* Figma 20:668 — full-width yellow button shape at r30 with the 5px drop
   shadow, not a pill. */
.rank-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 30px;
  background: var(--yellow);
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.rank-callout:empty {
  display: none;
}

.rank-summary {
  padding: 0;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- leaderboard ---------- */

.leaderboard {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

/* Figma 20:674 — row 323.5x58.5, r16, badge 36x36 at 11px inset. */
.leaderboard li,
.player-rank-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 11px;
  border-radius: 16px;
  background: var(--yellow);
  font-size: 16px;
  font-weight: 800;
}

/* Places 6-20 stay on the card's own surface so the yellow reads as the
   top five, exactly as the design separates them. */
.leaderboard li:not(.is-top-five):not(.is-you) {
  border: 1px solid var(--secondary-violet);
  background: var(--white);
}

.leaderboard .rank,
.player-rank-row .rank {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--main-violet);
  font-size: 16px;
}

.leaderboard .score,
.player-rank-row .score {
  padding-right: 5px;
  color: var(--main-violet);
  font-variant-numeric: tabular-nums;
}

.leaderboard .is-empty {
  display: block;
  padding: 16px;
  border: 1px solid var(--secondary-violet);
  border-radius: 16px;
  color: var(--muted);
  background: var(--white);
  font-weight: 700;
  text-align: center;
}

.player-rank-row {
  margin-top: 12px;
  border: 1px solid var(--warm-black);
}

.player-rank-row[hidden] {
  display: none;
}

/* ---------- products ---------- */

/* Figma 20:688 — chip, heading, a full-width yellow CTA at r30, then the
   mascot and phone renders filling the bottom of the card. */
.products-panel {
  overflow: hidden;
}

/* Exactly 56px like the design (20:692) — the shared .button min-height plus
   line-height would otherwise render it ~59px and push the art below it. */
.products-cta {
  display: flex;
  width: 100%;
  height: 56px;
  min-height: 0;
  margin-top: 18px;
  text-decoration: none;
}

/* All figures below are the design's own, expressed against the panel width
   (362) and the art box height (234.65 = panel bottom 424.6 − phone top
   189.95). Negative margins pull the box out to the panel's full width and
   up over the CTA, which the phone deliberately overlaps in the design. */
.products-art {
  position: relative;
  /* -9.13% == the 33px by which the art box starts above the CTA's bottom */
  margin: -9.13% -17px -20px;
  aspect-ratio: 362 / 234.65;
  pointer-events: none;
  user-select: none;
}

/* Outer box: 205.007x204.202 at left 35.45, top 216.31 */
.products-art__mascot {
  position: absolute;
  left: 9.79%;
  top: 11.23%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56.63%;
  aspect-ratio: 205.007 / 204.202;
}

/* Inner box 180.626x179.67, rotated, clipping a zoomed-in crop of the
   3840px source — the design does not show the whole render. */
.products-art__mascot-rot {
  position: relative;
  display: block;
  width: 88.11%;
  aspect-ratio: 180.626 / 179.67;
  overflow: hidden;
  transform: rotate(-8.43deg);
}

.products-art__mascot-rot img {
  position: absolute;
  left: -44.52%;
  top: -32.98%;
  width: 189.47%;
  height: 191.49%;
  max-width: none;
}

/* 140x198 at left 206, top 189.95 — same aspect as the source, no crop. */
.products-art__phone {
  position: absolute;
  left: 56.91%;
  top: 0;
  width: 38.67%;
  height: 84.38%;
  object-fit: cover;
}

/* ---------- animations ---------- */

@keyframes floatUp {
  from {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(0.8);
  }
  to {
    opacity: 0;
    transform: translate3d(-50%, -82px, 0) scale(1.25) rotate(-12deg);
  }
}

@keyframes schoolPop {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.4) rotate(0deg);
  }
  14% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--pop-x)), calc(-50% + var(--pop-y)), 0) scale(1.05)
      rotate(var(--pop-rotate));
  }
}

/* translateX(-50%) is part of the element's resting position, so every
   keyframe has to carry it or the illustration jumps sideways on tap. */
@keyframes schoolHit {
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
  }
  35% {
    transform: translateX(-50%) translateY(8px) scale(0.94) rotate(-2deg);
  }
  70% {
    transform: translateX(-50%) translateY(-3px) scale(1.03) rotate(1deg);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes stageFlash {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bellPop {
  from {
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.96);
  }
  to {
    transform: translate(-50%, -50%) rotate(7deg) scale(1.05);
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(12deg) scale(1);
  }
  50% {
    transform: rotate(17deg) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .burst,
  .bonus-bell {
    animation: none;
  }
}

@media (max-width: 360px) {
  .app-shell {
    padding-right: 14px;
    padding-left: 11px;
  }

  .brand-logo {
    width: 112px;
  }

  .hero-card,
  .panel {
    padding: 16px 13px;
  }

  .lives-row {
    flex-wrap: wrap;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* --- Gate ---------------------------------------------------------------
   Shown in place of the game when the visitor cannot play. Reuses the same
   tokens as the rest of the page — 1px warm-black outline, hard offset shadow,
   warm-white card on the violet gradient — so it reads as the same product
   rather than an error page from somewhere else. */

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
}

.gate[hidden] {
  display: none;
}

.gate__logo {
  width: 132px;
  max-width: 60%;
  height: auto;
}

.gate__card {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
  border: 1px solid var(--warm-black);
  border-radius: 27px;
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
}

.gate__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--warm-black);
}

.gate__text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
  /* Consent wording and instructions arrive as plain text with line breaks. */
  white-space: pre-line;
}

.gate__action {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  border: 1px solid var(--warm-black);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  color: var(--warm-black);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.gate__action[hidden] {
  display: none;
}

.gate__action:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 0 var(--warm-black);
}
