/* landing-sections.css: part of landing.html's styles, linked from it in order (the cascade depends on the order). */
/* Three rows under the event section (item 212, docs/design/play-menu.md). Row 1: this week's top.
   Row 2: the thank-you card beside every quote; on a narrow window it stacks, the card first.
   Row 3: the latest updates (owner, 2026-10-16: under the support row). */
.duo {
  padding: 64px 0 0;
}
.duo + .duo {
  padding-top: 72px;
}
.duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
}
/* The weekly top is alone in its row, as wide as a column of row 2 so names stay near their XP,
   and the row stays out until the server answers. */
.news-row .duo-grid {
  grid-template-columns: minmax(0, 620px);
}
.news-row:has(.week[hidden]) {
  display: none;
}
.duo h2 {
  font: 900 clamp(28px, 3.4vw, 40px) / 1.05 var(--head);
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}
.duo-grid > div > p {
  margin: 0 0 16px;
  font-size: 17px;
}
.week,
.latest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.week .scoreboard {
  align-self: stretch;
}
.week-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
}
.week-reset {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
}

/* The newest releases (src/updates.ts, HOME_RELEASES), the same cards as on /support/, side by side. */
.releases {
  align-self: stretch;
  display: grid;
  gap: 14px;
  margin: 4px 0 22px;
}
.updates-row .releases {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.release {
  padding: 12px 18px 4px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.release h3 {
  font: 900 20px/1.2 var(--head);
}
.release h3 a {
  text-decoration: none;
}
.release h3 a:hover {
  text-decoration: underline;
}
.release ul {
  margin: 6px 0 8px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.45;
}
.release li + li {
  margin-top: 4px;
}
.release .when,
.release .more {
  margin: 2px 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
}
.release .more a {
  font-weight: 800;
  color: var(--ink);
}

/* Row 2, left: his 3D stickman (src/supportScene.ts) lies on the top edge of the yellow thank-you
   card, as on /support/. The canvas reaches into the card by 13.5% of its width, so his back rests
   on the edge, and the card's top padding leaves room for his propping elbow. The canvas's empty
   top half reaches up into the row's padding, so his halo is level with the quotes' title. He is a
   little wider than the column (owner, 2026-10-09: "a bit bigger"); the canvas's sides are empty. */
.thanks-col {
  --man: min(600px, 112%);
  align-self: start;
  display: flex;
  flex-direction: column;
}
.sits {
  display: flex;
  justify-content: center;
  margin: calc(var(--man) * -0.2) 0 calc(var(--man) * -0.135);
  position: relative;
  z-index: 1;
  pointer-events: none;
}
#halo-man {
  display: block;
  width: var(--man);
  aspect-ratio: 2.2;
}
.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 30px);
  padding-top: calc(var(--man) * 0.05 + 30px);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  text-align: center;
}
/* White with the page's ink outline and hard shadow, like the event's sticker title (owner, 2026-10-09). */
.thanks h2 {
  color: #fff;
  letter-spacing: 0;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke;
  text-shadow: 3px 3px 0 var(--ink);
}
.thanks p {
  margin: 0 auto 12px;
  max-width: 520px;
  font-size: 17px;
}
.thanks .btn {
  margin-top: 6px;
}
.thanks .tip-note {
  margin: 16px auto 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Row 2, right: every quote, at their own height. The list scrolls inside its box when it grows
   past 560 px. */
.quotes {
  max-height: 560px;
  overflow-y: auto;
  /* Room for the cards' tilts and hard shadows inside the scroll box. */
  padding: 10px 12px 16px 6px;
  /* A loose pile of stickers next to each other, each as wide as its words (owner, 2026-10-09:
     "not so perfect"): tilts, colours and nudges change with the card's place in a cycle of 5. */
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 18px 16px;
}
.quote {
  flex: 0 1 auto;
  /* Under half the column, so two or three fit on a line. */
  max-width: calc(50% - 12px);
  margin: 0;
  padding: 9px 14px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.quote:nth-child(5n + 1) {
  transform: rotate(-2.2deg);
}
.quote:nth-child(5n + 2) {
  background: var(--paper);
  transform: rotate(1.6deg) translateY(8px);
}
.quote:nth-child(5n + 3) {
  background: #ffe9f1;
  transform: rotate(-1deg) translateX(14px);
}
.quote:nth-child(5n + 4) {
  background: #e8f4fc;
  transform: rotate(2.6deg) translateY(-4px);
}
.quote:nth-child(5n) {
  background: #fff3b0;
  transform: rotate(-1.6deg) translate(-6px, 6px);
}
.quote blockquote {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.quote blockquote::before {
  content: '“';
}
.quote blockquote::after {
  content: '”';
}
.quote figcaption {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .duo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .quotes {
    max-height: 520px;
  }
  /* Stacked, the canvas must not be wider than the screen. */
  .thanks-col {
    --man: min(600px, 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote {
    transform: none !important;
  }
}

/* This week's top players (leaderboard.ts, showWeeklyTop): a light paper card, like the update
   cards beside it (owner, 2026-10-09: light, not the dark Tab look). */
.scoreboard {
  padding: 16px 18px 10px;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow:
    9px 9px 0 var(--yellow),
    9px 9px 0 3px var(--ink);
  transform: rotate(1deg);
}
.week-rows {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.week-rows li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 6px 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.week-rows li:nth-child(1) .rank {
  background: var(--yellow);
}
.week-rows li:nth-child(2) .rank {
  background: #dcdde4;
}
.week-rows li:nth-child(3) .rank {
  background: #e7a76a;
}
.week-rows li.me {
  background: #fff3b0;
  box-shadow: 3px 3px 0 var(--ink);
}
.week-rows .rank {
  display: grid;
  place-items: center;
  height: 26px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 900 14px/1 var(--head);
}
.week-rows .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}
.week-rows .lv {
  padding: 1px 5px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font: 900 11px/1.2 var(--head);
}
.week-rows .pts {
  min-width: 7ch;
  text-align: right;
  color: var(--ink);
  font: 800 14px var(--font);
  font-variant-numeric: tabular-nums;
}
.drops {
  margin: 16px 0 6px;
}
.drops h3 {
  margin: 0 0 8px;
  font: 900 18px var(--head);
}
.drop-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.drop-rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-size: 14px;
}
.drop-rows li.epic,
.drop-rows li.limited {
  background: #fff3b0;
}
.drop-rows .what {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drop-rows .pts {
  color: var(--ink);
  font: 800 12px var(--font);
}
.week-empty,
.week-me {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 860px) {
  .code-card,
  .gear[data-step='gear'] .gear-card,
  .gear[data-step='start'] .gear-card {
    margin: 0;
  }
  /* Stacked, the main action comes first, then the modes, then the friends room. */
  #step-start:not(.off) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'back' 'modes' 'quick' 'create';
  }
}
/* The friends row carries its own "Bots" switch on the right (playMenu.ts, withBotsSwitch). */
.choice-wrap {
  position: relative;
}
.choice-wrap .choice {
  padding-right: 142px;
}
.bots-switch {
  position: absolute;
  right: 16px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  font: 900 18px var(--head);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.08s;
}
/* It rides along when the row lifts under the pointer. */
.choice-wrap:has(.choice:hover) .bots-switch,
.choice-wrap:has(.choice:focus-visible) .bots-switch {
  transform: translate(-2px, calc(-50% - 2px));
}
.bots-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bots-switch .track {
  position: relative;
  width: 64px;
  height: 34px;
  border: 3px solid var(--ink);
  background: #e3d8c2;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.12s;
}
.bots-switch .track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--ink);
  transition: left 0.12s;
}
.bots-switch input:checked + .track {
  background: var(--green);
}
.bots-switch input:checked + .track::after {
  left: 33px;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
}
.bots-switch input:focus-visible + .track {
  outline: 3px dashed var(--ink);
  outline-offset: 3px;
}
/* A notice over the haven home, closed with OK. In the menu's flow it sat behind PLAY and the
   room code card, half hidden (owner, 2026-10-13). */
#shipped-news {
  position: fixed;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 50;
  width: min(480px, calc(100vw - 32px));
  margin: 0;
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}
#shipped-news strong {
  font: 900 18px/1.1 var(--head);
}
#shipped-news p {
  margin: 4px 0 8px;
  font-size: 15px;
  font-weight: 700;
}
#shipped-news div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}
#shipped-news button {
  padding: 6px 12px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font: 900 13px var(--head);
  cursor: pointer;
}
@media (max-width: 860px) {
  .gear-grid,
  .gear:not([data-step='gear']) .gear-grid {
    /* Stacked, the cards need no common height. */
    --menu-h: 96px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'stage' 'menu' 'code';
    grid-template-rows: auto;
  }
  /* Too small a stage for the colours: they sit under the level card (playMenu.ts moves them). */
  .gear-grid > .looks {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .choices.maps {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .step:not(.off) {
    animation: none;
  }
}

/* Players: the two modes and the maps, one panel each, a colour band on top */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.modes .panel {
  padding: 18px 22px 20px;
  border-top: 14px solid var(--c);
}
.modes .panel:nth-child(2) {
  transform: rotate(0.6deg);
}
.modes h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.modes p {
  margin: 0;
}
.controls {
  margin-top: 34px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: start;
}
.controls h3 {
  font-size: 22px;
}
.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.keys li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
kbd {
  min-width: 34px;
  padding: 4px 8px;
  border: 2.5px solid var(--ink);
  border-bottom-width: 5px;
  background: #fff;
  font: 800 14px/1.2 var(--font);
  text-align: center;
}
.facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.facts h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.facts p {
  margin: 0;
  font-size: 16px;
}
@media (max-width: 900px) {
  .modes,
  .facts,
  .controls {
    grid-template-columns: 1fr;
  }
  .modes .panel:nth-child(2) {
    transform: none;
  }
}

#play {
  padding-bottom: 56px;
}
.more {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.more p {
  margin: 0;
}
.tiktok {
  padding: 12px 16px;
  border-left: 6px solid var(--ink);
  background: var(--horizon);
}

/* Friends Weekend (weekendHome.ts): a small card under the hero's cards, and the event section. */
.event-row {
  padding-top: 8px;
  padding-bottom: 24px;
}
.event-card {
  --tilt: -0.8deg;
  --gold: #ffd23f;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  min-height: 150px;
  width: min(100%, 460px);
  color: var(--gold) !important;
  text-decoration: none;
  /* The event section's plum panel with the Ink & Gold pack's gold rays and halftone, so the card
     and the section it scrolls to read as one thing (owner, 2026-10-09: no black). */
  background:
    radial-gradient(rgba(255, 210, 63, 0.14) 22%, transparent 25%) 0 0 / 12px 12px,
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 210, 63, 0.08) 0 5deg, transparent 5deg 10deg),
    #4a3468;
}
#gear .event-card::after {
  border-color: rgba(255, 210, 63, 0.7);
}
.event-text {
  display: grid;
  gap: 3px;
  position: relative;
  z-index: 1;
}
.event-card small {
  font: 900 clamp(16px, 1.5vw, 20px) / 1.2 var(--head);
  letter-spacing: 2.4px;
}
.event-card b {
  font: 900 clamp(28px, 2.8vw, 40px) / 0.95 var(--head);
  letter-spacing: -0.5px;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke;
  text-shadow: 3px 3px 0 var(--ink);
}
.event-card em {
  justify-self: start;
  padding: 3px 12px;
  background: var(--gold);
  color: #15111c;
  font: 900 18px / 1.2 var(--head);
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 3px solid #15111c;
  box-shadow: 3px 3px 0 #0e0b14;
  transform: rotate(-1.5deg);
}
.event-card svg {
  position: relative;
  z-index: 1;
  flex: none;
  /* A blocky gold arrow with the page's ink outline and hard ink shadow, like the title (owner, 2026-10-09). */
  width: 58px;
  height: 68px;
  overflow: visible;
  fill: var(--gold);
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-linejoin: miter;
  filter: drop-shadow(4px 4px 0 var(--ink));
  animation: event-nudge 1.6s ease-in-out infinite;
}
@keyframes event-nudge {
  50% {
    transform: translateY(4px);
  }
}
/* The whole card drifts a little and slowly, so it catches the eye (owner, 2026-10-09). It uses the
   separate translate and rotate properties: they add to the card's own tilt and hover lift (transform). */
.event-card {
  animation: event-drift 7s ease-in-out infinite;
}
@keyframes event-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  30% {
    translate: 2px -4px;
    rotate: 0.9deg;
  }
  65% {
    translate: -2px 2px;
    rotate: -0.6deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .event-card,
  .event-card svg {
    animation: none;
  }
}
/* The haven: the card stands on the bottom row, in PLAY's row at the far left, where it shows at first sight. */
#gear.haven:not(.phone-mode) .event-row {
  position: absolute;
  z-index: 3;
  left: 2.5%;
  bottom: var(--haven-lift);
  width: min(400px, 29.5%);
  max-width: none;
  margin: 0;
  padding: 0;
}
#gear.haven:not(.phone-mode) .event-card {
  width: 100%;
}
.gear.haven:not([data-step='gear']) .event-row {
  display: none;
}
.event {
  padding: 72px 0 56px;
  /* A members' lounge: plum and gold, dearer than the page's yellow (item 201). */
  background: radial-gradient(ellipse at 70% 45%, #3d2a57 0%, #1d1429 70%);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-areas:
    'intro scene'
    'steps scene'
    'cta scene'
    'fine scene'
    'rare scene';
  grid-template-rows: auto auto auto auto 1fr;
  gap: 24px 48px;
  align-items: start;
}
.event-intro {
  grid-area: intro;
}
.event-steps {
  grid-area: steps;
}
.event-make {
  grid-area: cta;
}
/* The fine print under the button (owner, 2026-10-09): small and quiet, close under it. */
.event-fine {
  grid-area: fine;
  margin: -12px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 247, 230, 0.7);
  text-wrap: pretty;
}
.event-rare {
  grid-area: rare;
}
.event-intro,
.event-steps,
.event-make,
.event-fine,
.event-rare {
  position: relative;
  z-index: 1;
}
/* The scene fills the whole section, behind the text (the phone puts it between the text, below). */
.event-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.5s;
}
.event-canvas.drawn {
  opacity: 1;
}
.event-kicker {
  color: #e3b04b;
  margin: 0 0 6px;
  font: 900 14px / 1.2 var(--head);
  letter-spacing: 1.4px;
}
/* The page's sticker title, like the logo and JOIN THE SQUAD!: capitals, ink outline, hard ink shadow. */
.event-intro h2 {
  font: 900 clamp(32px, 4.4vw, 52px) / 1 var(--head);
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke;
  text-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 14px;
}
.event-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
/* The page's own stickers: paper cards with an ink outline and a hard shadow, a little tilted. */
.event-steps li {
  padding: 14px 18px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  display: grid;
  gap: 2px;
  font-size: 17px;
  transform: rotate(-0.6deg);
}
.event-steps li:nth-child(2) {
  transform: rotate(0.5deg);
}
.event-steps li b {
  font: 900 26px / 1.1 var(--head);
  letter-spacing: 0.3px;
  color: var(--ink);
}
/* The scarcity sticker: smaller, red, at the bottom right of the whole section (the phone keeps it in the flow). */
.event-rare {
  position: absolute;
  right: calc((100% - min(var(--max), 100% - 2 * var(--gutter))) / 2);
  bottom: 30px;
  justify-self: end;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 8px 14px;
  max-width: 270px;
  background: var(--red);
  color: var(--paper);
  border: 3px solid #15111c;
  box-shadow: 4px 4px 0 #0e0b14;
  transform: rotate(1.5deg);
  font-size: 14px;
  line-height: 1.25;
}
.event-rare b {
  font: 900 18px / 1.1 var(--head);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #0e0b14;
}
/* A plum sticker panel behind the left column so the text reads over the scene: the lounge's own
   colour, outlined in ink with a hard shadow like the page's other cards (owner: no black panel). */
.event-grid::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  margin: -28px -28px -28px -32px;
  background:
    radial-gradient(rgba(255, 210, 63, 0.09) 22%, transparent 25%) 0 0 / 12px 12px,
    #4a3468;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-0.5deg);
  z-index: 0;
}
/* Haunted Week (owner, 2026-10-23): the panel is pumpkin orange, not the lounge's plum. Near-black
   text on #e0700f is 5.75:1, AA for the small print. The yellow title would wash out on orange, so
   it turns near-black with a hard yellow shadow; the yellow date tag stays. The phone has no panel,
   so there the section itself is orange. Friends Weekend has no data-event, so it keeps its plum. */
.event[data-event='haunted-2026'] .event-grid::before {
  background:
    radial-gradient(rgba(21, 17, 28, 0.12) 22%, transparent 25%) 0 0 / 12px 12px,
    #e0700f;
}
.event[data-event='haunted-2026'] .event-kicker,
.event[data-event='haunted-2026'] .event-fine {
  color: #15111c;
}
.event[data-event='haunted-2026'] .event-fine {
  font-weight: 600;
}
.event[data-event='haunted-2026'] .event-intro h2 {
  color: #15111c;
  -webkit-text-stroke: 0;
  text-shadow: 3px 3px 0 #ffd23f;
}
@media (max-width: 820px) {
  .event[data-event='haunted-2026'] {
    background: radial-gradient(ellipse at 70% 45%, #e0700f 0%, #d4640c 80%);
  }
}
.event-when {
  display: table;
  margin: 0 0 20px;
  padding: 4px 16px;
  background: #ffd23f;
  color: #15111c;
  border: 3px solid #15111c;
  box-shadow: 3px 3px 0 #0e0b14;
  transform: rotate(-1.5deg);
  font: 900 clamp(20px, 3vw, 28px) / 1.2 var(--head);
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* The Ink & Gold pack's colours: dark ink face, gold edge and text. */
.event-make {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  padding: 20px 28px;
  background: #ffd23f;
  color: #15111c;
  border: 4px solid #15111c;
  /* Heavy and outlined, so it reads as the thing to press: a gold ring, then the hard shadow. */
  box-shadow:
    0 0 0 3px #ffd23f,
    9px 9px 0 3px #0e0b14;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.5px;
  transform: rotate(-0.8deg);
  transition: transform 0.12s;
}
.event-make:hover {
  background: #ffe27a;
  transform: translate(-2px, -3px) rotate(-0.8deg);
}
.event-make:active {
  transform: translate(5px, 5px);
  box-shadow:
    0 0 0 3px #ffd23f,
    3px 3px 0 3px #0e0b14;
}
@media (max-width: 820px) {
  .event-rare {
    position: relative;
    right: auto;
    bottom: auto;
  }
  .event-grid::before {
    display: none;
  }
  .event-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'intro'
      'scene'
      'steps'
      'cta'
      'fine'
      'rare';
  }
  .event-canvas {
    position: static;
    z-index: auto;
    grid-area: scene;
    height: auto;
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }
}
/* A room made from the event section has no Bots switch: its packs need a room without bots (weekendHome.ts). */
.event-room .room-bots {
  display: none;
}
