:root {
  --pink: #ff1b8d;
  --pink-deep: #d10f74;
  --magenta: #e4007c;
  --frame: #ff2ea6;
  --ink: #111;
  --muted: #5c5c5c;
  --paper: #fff;
  --bar: #2a2a2a;
  --yellow: #ffe400;
  --line: #ececec;
  --soft: #f7f4f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.ticker {
  background: var(--bar);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  gap: 28px;
  padding: 8px 16px;
  animation: marquee 28s linear infinite;
}
.ticker b { color: var(--pink); margin-right: 8px; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { color: var(--pink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  font-family: "Pacifico", cursive;
  font-size: 42px;
  color: var(--pink);
  line-height: 1;
}
.brand-name {
  font-family: "Pacifico", cursive;
  font-size: 28px;
  color: var(--pink);
  line-height: 0.9;
}
.brand-name span { font-size: 18px; }
.brand-tag {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
}

.head-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.head-thumb {
  width: 118px;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.25;
  color: #444;
}
.head-thumb .mini {
  height: 58px;
  border: 2px solid var(--frame);
  margin-bottom: 4px;
}
.head-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.social {
  display: flex;
  gap: 6px;
}
.social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.s-x { background: #111; }
.s-f { background: #1877f2; }
.s-p { background: #e60023; }
.s-m { background: #00aaec; }
.search {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 6px 12px;
  width: 140px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 10px 16px 12px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  border-bottom: 1px solid var(--line);
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--pink); }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
}

.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 8px;
  padding: 14px 0 8px;
}
.tile {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--frame);
  text-decoration: none;
  color: #fff;
  min-height: 160px;
}
.tile-hero {
  grid-row: 1 / span 2;
}
.tile-art {
  position: absolute;
  inset: 0;
}
.tile h2, .tile h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 12px 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  line-height: 1.05;
}
.tile-hero h2 {
  z-index: 2;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--yellow);
  text-shadow: 0 2px 0 #111;
}
.tile h3 { font-size: 18px; }
.script-name {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 22%;
  z-index: 2;
  font-family: "Pacifico", cursive;
  font-size: clamp(34px, 4.6vw, 58px);
  color: #fff;
  text-shadow: 2px 3px 0 #111;
  transform: rotate(-7deg);
  line-height: 1;
}

.art-front {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(135deg, #3a2a28 0%, #111 45%, #5a1a3a 100%);
}
.art-front::after {
  content: "";
  position: absolute;
  inset: 18% 22% auto 12%;
  height: 58%;
  background:
    repeating-linear-gradient(#f4e9d8, #f4e9d8 12px, #e7d5ba 13px),
    linear-gradient(#f4e9d8, #e9d5b6);
  clip-path: polygon(8% 0, 100% 6%, 92% 100%, 0 92%);
  opacity: 0.9;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.art-partner {
  background:
    linear-gradient(160deg, #6d3b1f, #1b1b1b 55%, #7a1848);
}
.art-sa1 {
  background:
    radial-gradient(circle at 70% 30%, #3d6ea8, transparent 45%),
    linear-gradient(180deg, #142033, #0b0d12);
}
.art-archive {
  background: repeating-linear-gradient(90deg, #c9a06a 0 28px, #b8894d 28px 32px), linear-gradient(#8a5a2b, #5c3a18);
}
.art-next {
  background:
    radial-gradient(circle at 50% 20%, #ff4da6, transparent 42%),
    linear-gradient(#1a1a1a, #3b0d24);
}
.stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 2px solid #ffb6d9;
  color: #ffb6d9;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  transform: rotate(8deg);
}

.story-shell {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 0 64px;
}
.kicker {
  color: var(--pink);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 8px;
}
.headline {
  font-family: "Oswald", sans-serif;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.95;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.dek {
  font-size: 20px;
  line-height: 1.45;
  color: #333;
  margin: 0 0 16px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 14px;
}
.byline strong { color: var(--ink); }
.share-block { margin: 0 0 22px; }
.share-kicker {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  flex: 0 0 auto;
}
.share-btn svg { width: 18px; height: 18px; display: block; flex: none; }
.share-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.share-action {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  white-space: nowrap;
}
.share-net { font-size: 13px; white-space: nowrap; }
.share-btn.fb { background: #1877f2; }
.share-btn.x { background: #111; }
.share-btn.li { background: #0a66c2; }
.share-btn.wa { background: #25d366; color: #fff; }
.share-btn.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.share-btn.copy { background: var(--pink); }

.article p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.article h2 {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  margin: 34px 0 12px;
  color: var(--pink-deep);
}
.lede-pause {
  font-size: 26px;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}
.pull {
  border-left: 5px solid var(--pink);
  background: var(--soft);
  padding: 14px 18px;
  margin: 22px 0;
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
}
.fact {
  background: #111;
  color: #fff;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 22px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}
.fact span { color: var(--yellow); }
.listy {
  background: #fff5fa;
  border: 1px dashed var(--pink);
  padding: 16px 18px 6px;
  margin: 18px 0 24px;
}
.listy p { margin: 0 0 10px; font-size: 16px; }
.note {
  background: #fff8d6;
  border: 1px solid #f0d56a;
  padding: 14px 16px;
  font-size: 15px;
  margin: 20px 0;
}
.q {
  font-weight: 700;
}

.side {
  position: sticky;
  top: 12px;
  align-self: start;
}
.side h3 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  border-bottom: 3px solid var(--pink);
  padding-bottom: 6px;
}
.side-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  text-decoration: none;
  margin: 14px 0;
  font-size: 14px;
  font-weight: 700;
}
.side-card .mini { height: 64px; border: 3px solid var(--frame); }
.side p.small { font-size: 14px; color: #555; line-height: 1.5; }

.comments {
  margin-top: 28px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid #f0d3e4;
}
.comments h3 { margin-top: 0; margin-bottom: 12px; font-family: "Oswald", sans-serif; text-transform: uppercase; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.comment-form { display: grid; gap: 8px; }
.comment-form input,
.comments textarea {
  width: 100%;
  border: 1px solid #e2c1d2;
  padding: 10px;
  background: #fff;
}
.comment-form input { max-width: 220px; }
.comments textarea { min-height: 72px; resize: vertical; }
.comment-form button {
  background: var(--pink);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
  min-height: 44px;
}
.comment-list { margin-top: 14px; }
.comment {
  background: #fff;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #f0d3e4;
}
.comment header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 6px;
}
.comment time { color: var(--muted); }
.share-btn.is-busy { opacity: 0.65; pointer-events: none; }
.comment-form button:disabled {
  opacity: 0.75;
  cursor: wait;
}
.comment-form button.is-done { background: #111; }
.comment p { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.comment-remove {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  min-height: 32px;
  cursor: pointer;
}
.comment-remove:hover,
.comment-remove:focus-visible { color: var(--pink); }
.comment-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.comment-pager[hidden] { display: none; }
.comment-pager button {
  background: #fff;
  color: var(--ink);
  border: 1px solid #e2c1d2;
  padding: 6px 12px;
  min-height: 36px;
  font-weight: 700;
  cursor: pointer;
}
.comment-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.footer {
  background: #171717;
  color: #ddd;
  padding: 28px 0 18px;
  font-size: 14px;
}
.footer a { color: #fff; }
.footer .wrap { display: grid; gap: 10px; }
.footer .brand-name { font-size: 22px; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal { color: #999; font-size: 12px; }

.page {
  width: min(760px, calc(100% - 32px));
  margin: 24px auto 64px;
  font-size: 17px;
  line-height: 1.7;
}
.page h2 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin: 28px 0 10px;
}

.explain {
  margin: 22px 0 28px;
  background: #fff;
  border: 2px solid #111;
  overflow: hidden;
}
.explain figcaption {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  background: var(--pink);
  color: #fff;
  padding: 8px 12px;
}
.diagram {
  display: grid;
  gap: 10px;
  padding: 14px;
  align-items: stretch;
}
.diagram-front, .diagram-money, .diagram-survive {
  grid-template-columns: 1fr auto 1fr;
}
.diagram-hub { grid-template-columns: 1fr 1fr 1fr; }
.diagram-limits { grid-template-columns: 1fr 1fr 1fr; }
.diagram-country { grid-template-columns: 1fr 1.2fr; }
.card-box {
  border: 2px solid #111;
  padding: 12px;
  background: var(--soft);
  min-height: 120px;
}
.card-box.loud { background: var(--yellow); }
.card-box.quiet { background: #111; color: #fff; }
.card-box.mid { background: #fff5fa; }
.card-box strong, .card-box b {
  display: block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  margin: 4px 0 6px;
}
.card-box p { margin: 0; font-size: 14px; line-height: 1.4; }
.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  background: #111;
  color: #fff;
  padding: 2px 6px;
}
.quiet .badge { background: var(--pink); }
.arrow {
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--pink);
}
.hub-center {
  grid-column: 1 / -1;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 12px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}
.explain .hub-center { margin: 0 14px; }
.explain .tiny { font-size: 12px; color: #666; margin: 0 14px 12px; }

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  background: #111;
  color: #fff;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  border: 3px solid var(--pink);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.45; }
.cookie-banner a { color: var(--yellow); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions button {
  border: 0;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: #111;
}
.cookie-actions .primary { background: var(--pink); color: #fff; }
body.has-cookie-banner { padding-bottom: 180px; }

.legal-links { display: flex; gap: 12px 16px; flex-wrap: wrap; }
.legal-links a { font-size: 13px; }

@media (max-width: 900px) {
  .diagram-front, .diagram-money, .diagram-survive, .diagram-country, .diagram-hub, .diagram-limits {
    grid-template-columns: 1fr;
  }
  .arrow { transform: rotate(90deg); }
  .hub-center { grid-column: auto; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }
}

@media (max-width: 640px) {
  .masthead { padding: 12px 16px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 24px; }
  .brand-mark { font-size: 34px; }
  .brand-tag { font-size: 9px; letter-spacing: 0.16em; }
  .comment-form input { max-width: none; }
  .comment-form button { width: 100%; justify-self: stretch; }
  .comment-pager button { min-width: 72px; }
  .share a, .share button { flex: 0 0 auto; min-height: 44px; justify-content: flex-start; padding-left: 10px; padding-right: 12px; }
  .share-copy { align-items: flex-start; text-align: left; }
  .article p { font-size: 17px; }
  .article h2 { font-size: 24px; }
  .pull { font-size: 20px; }
  .fact { font-size: 18px; }
  .dek { font-size: 18px; }
  .wrap { width: min(1120px, calc(100% - 16px)); }
  body.has-cookie-banner { padding-bottom: 240px; }
}
