/* يزي — صفحة الحملة: الشعار على خلفية فاتحة دافئة، أحمر حيّ،
   وبطاقات بيضاء بزوايا مستديرة. */

@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/alexandria-arabic.woff2?v=6NjKYdTaGho4') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/alexandria-latin.woff2?v=mMzsC8PEVjMv') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f4f3f1;
  --surface: #ffffff;
  --ink: #121212;
  --ink-2: #2f2f2f;
  --muted: #5f5f5f;
  --line: #e2dfdb;
  --red: #d71920;
  --red-hover: #e8232a;
  --red-ink: #b5141b;
  --red-soft: #f6e3e3;
  --red-glow: rgb(215 25 32 / 0.5);
  --night: #151515;
  --night-2: #0d0d0d;
  --night-line: #303030;
  --on-night: #ffffff;
  --on-night-muted: #b8b8b8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 32px rgb(0 0 0 / 0.05);
  --gutter: 16px;
  --font: 'Alexandria', 'Segoe UI', Tahoma, system-ui, sans-serif;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.35;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 8px;
}

[tabindex='-1']:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: calc(760px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide {
  max-width: calc(1100px + 2 * var(--gutter));
}

.skip {
  position: absolute;
  z-index: 50;
  top: -100px;
  inset-inline-start: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
}

.site-header__logo {
  flex: none;
  border-radius: 6px;
}

.site-header__logo img {
  width: auto;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--red-ink);
}

.site-nav .site-nav__sign {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #121212;
  color: #fff;
  font-weight: 800;
}

.site-nav .site-nav__sign:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 560px) {
  .site-nav .site-nav__wide {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-nav {
    gap: 12px;
    font-size: 14px;
  }

  .site-nav .site-nav__sign {
    padding: 0 12px;
  }
}

/* ---------- Intro ---------- */

.intro {
  padding-top: 30px;
  text-align: center;
}

.intro__logo {
  width: clamp(150px, 40vw, 200px);
  margin: 0 auto;
}

.kicker {
  margin-top: 22px;
  color: var(--red-ink);
  font-size: 17px;
  font-weight: 700;
}

.headline {
  margin-top: 22px;
  font-size: clamp(30px, 7.6vw, 46px);
  line-height: 1.3;
}

.meter {
  margin-top: 22px;
  text-align: start;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.meter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px 16px;
}

.meter__count {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.meter__count b {
  display: block;
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.meter__goal {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.meter__goal b {
  color: var(--ink);
  font-weight: 800;
}

.meter__bar {
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--red-soft);
}

.meter__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to left, var(--red), #ff4b51);
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro__cta {
  margin-top: 18px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.btn--live .dot {
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.btn--live {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 26px var(--red-glow);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.btn--live:hover {
  background: var(--red-hover);
  box-shadow: 0 0 36px rgb(215 25 32 / 0.65);
}

.btn--live:active {
  transform: scale(0.98);
}

.btn--block {
  width: 100%;
  min-height: 60px;
  margin-top: 18px;
  font-size: 21px;
}

.btn[aria-busy='true'] {
  cursor: progress;
  opacity: 0.85;
}

.btn[aria-busy='true'] .dot {
  width: 20px;
  height: 20px;
  border: 3px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  background: transparent;
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- "لماذا توقّع؟" box ---------- */

.box {
  margin-top: 32px;
  padding: 22px 22px 20px;
  border: 2px solid var(--red);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.box__title {
  color: var(--red-ink);
  font-size: 27px;
}

.squares {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.squares li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.squares li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  inset-inline-start: 3px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--red);
}

/* ---------- Roadmap card ---------- */

.card {
  margin-top: 28px;
  padding: 24px 22px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
}

.section-title::before {
  content: '';
  flex: none;
  width: 5px;
  height: 1.05em;
  border-radius: 3px;
  background: var(--red);
}

.card__intro {
  margin-top: 8px;
  color: var(--muted);
}

.ranked {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ranked li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.ranked li:first-child {
  border-top: 0;
}

.ranked__n {
  padding-top: 2px;
  color: var(--red-ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.ranked h3 {
  font-size: 21px;
}

.ranked p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 16.5px;
}

/* ---------- Sign box ---------- */

.sign {
  position: relative;
  margin-top: 32px;
  padding: 28px 22px 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
}

.sign::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 5px;
  background: var(--red);
}

.kicker--on-dark {
  margin-top: 0;
  color: #ff6b70;
}

.sign__title {
  margin-top: 2px;
  font-size: 36px;
}

.sign__lead {
  margin-top: 6px;
  color: var(--on-night-muted);
}

.region {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.region__label {
  color: var(--on-night);
  font-size: 15px;
  font-weight: 700;
}

.region__select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  padding-inline-end: 46px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background-color: rgb(255 255 255 / 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: left 16px center;
  background-repeat: no-repeat;
  background-size: 18px;
  color: var(--on-night);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

.region__select:hover {
  border-color: #8c8c8c;
}

.region__select:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.region__select option {
  background: #fff;
  color: #121212;
}

.consent {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.04);
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent__box {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 2px solid #8c8c8c;
  border-radius: 7px;
  transition: background 0.15s, border-color 0.15s;
}

.consent:hover .consent__box {
  border-color: #fff;
}

.consent input:checked + .consent__box {
  border-color: var(--red);
  background: var(--red);
}

.consent input:checked + .consent__box::after {
  content: '';
  width: 7px;
  height: 13px;
  margin-top: -3px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.consent input:focus-visible + .consent__box {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.consent__text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.form-msg {
  min-height: 1.6em;
  margin-top: 10px;
  color: #ff8a8e;
  font-size: 16px;
  font-weight: 700;
}

.form-msg:empty {
  min-height: 0;
  margin-top: 0;
}

.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--on-night-muted);
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}

.assure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assure li::before {
  content: '';
  width: 6px;
  height: 11px;
  margin-top: -4px;
  border: solid #ff6b70;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Success */

.done {
  padding: 10px 0 4px;
  text-align: center;
}

.done__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgb(215 25 32 / 0.18), 0 0 44px var(--red-glow);
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.done__icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.45s 0.3s ease forwards;
}

.done__title {
  margin-top: 22px;
  font-size: 34px;
}

.done__text {
  max-width: 34em;
  margin: 8px auto 0;
  color: var(--on-night-muted);
  font-size: 17.5px;
}

.done__text b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* The arrow comes in just after the confirmation. */
.next {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 4px 12px 8px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  animation: rise 0.5s 0.8s ease both;
}

.next__arrow {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 28px var(--red-glow);
  animation: nudge 1.6s ease-in-out infinite;
}

.next__arrow svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.next:hover .next__arrow {
  background: var(--red-hover);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
  }
}

/* ---------- Commitments (pink "live" cards) ---------- */

.pledge {
  margin-top: 36px;
  animation: rise 0.6s ease both;
}

.pledge__intro {
  margin-top: 8px;
  color: var(--muted);
}

.live {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 22px 18px 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--red-soft);
}

.live__time {
  color: var(--red-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.live--soon .live__time {
  font-size: 17px;
}

.live__tag {
  color: var(--red-ink);
  font-size: 16px;
  font-weight: 600;
}

.live__title {
  margin-top: 2px;
  font-size: 23px;
}

.live__list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.live__list li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.live__list li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.live__text {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 16.5px;
}

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.share__btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.share__btn:hover {
  border-color: var(--red);
  color: var(--red-ink);
}

.share__btn--main {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.share__btn--main:hover {
  background: var(--red-hover);
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Privacy note ---------- */

.note {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.note__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.note__title svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
}

.note p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 48px;
  padding: 34px 0 calc(30px + env(safe-area-inset-bottom));
  border-top: 3px solid var(--red);
  background: var(--night-2);
  color: var(--on-night-muted);
  font-size: 16px;
}

.footer__in {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer__logo {
  width: auto;
  height: 72px;
}

.footer__note {
  line-height: 1.8;
}

.footer__note a {
  color: #fff;
  font-weight: 700;
}

.footer__note a:hover {
  color: #ff6b70;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer__nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer__nav a:hover {
  color: #ff6b70;
}

.footer__small {
  font-size: 14px;
}

/* ---------- The campaign's statement ---------- */

.bayan {
  padding-bottom: 18px;
  border-top: 5px solid var(--red);
}

.bayan__dateline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.bayan__text p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.85;
}

/* ---------- Field signatures: the two kinds, and how they are added ---------- */

.maydani {
  padding-bottom: 20px;
}

.sig-kinds {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sig-kind {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.sig-kind--field {
  border-color: #efc6c6;
  background: var(--red-soft);
}

.sig-kind__title {
  font-size: 18px;
}

.sig-kind p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.sig-kind .sig-kind__n {
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.sig-kind__n b {
  font-size: 24px;
  font-weight: 800;
}

.maydani__subtitle {
  margin-top: 22px;
  font-size: 19px;
}

.maydani__text {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

.maydani__list {
  margin: 8px 0 0;
  padding-inline-start: 22px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

.maydani__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.maydani__back {
  color: var(--ink-2);
  font-weight: 700;
}

@media (min-width: 640px) {
  .sig-kinds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Signatures per governorate: map and list ---------- */

.map {
  padding-bottom: 18px;
}

.map__grid {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.map__figure {
  margin: 0;
}

.tn-map {
  display: block;
  width: 100%;
  height: auto;
}

.tn-map__govs path {
  transition: fill 0.5s;
}

.tn-map__govs path:hover {
  filter: brightness(0.9);
}

.tn-map__borders,
.tn-map__coast,
.tn-map__labels {
  pointer-events: none;
}

.tn-map__borders {
  fill: none;
  stroke: #fff;
  stroke-width: 1.1;
  stroke-linejoin: round;
}

.tn-map__coast {
  fill: none;
  stroke: #8f1015;
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.tn-lbl {
  text-anchor: middle;
}

.tn-lbl text {
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.tn-lbl__name {
  fill: var(--ink);
  font-weight: 600;
}

.tn-lbl__n {
  fill: var(--ink);
  font-size: 1.08em;
  font-weight: 800;
}

.tn-lbl__lead {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.8;
}

.tn-lbl__dot {
  fill: var(--ink);
}

.map__subtitle {
  font-size: 19px;
}

.map-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(12, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: rank;
  list-style: none;
}

.map-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  counter-increment: rank;
}

.map-list li::before {
  content: counter(rank);
  min-width: 1.4em;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.map-list__name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.map-list__n {
  font-weight: 800;
  white-space: nowrap;
}

.map__other {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.map__cta {
  margin-top: 22px;
}

.map__credit {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 520px) {
  .map__figure {
    margin-inline: -10px;
  }
}

@media (min-width: 800px) {
  .map__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }

  .map-list {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Larger screens ---------- */

@media (min-width: 800px) {
  .box,
  .card,
  .sign,
  .note {
    padding-inline: 32px;
  }

  .sign {
    padding-block: 34px 30px;
  }

  .live {
    grid-template-columns: 84px 1fr;
    padding: 26px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Paused signing, preview ---------- */

.sign__closed {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #5a4a00;
  border-radius: var(--radius);
  background: rgb(242 180 0 / 0.12);
  color: #ffd75e;
  font-weight: 700;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.preview-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 6px 12px;
  background: #2b2b2b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.preview-strip ~ .site-header {
  top: 30px;
}
