/* ============================================================
   EDC Colombia Planner — street-poster design system.
   Cream paper, ink outlines, hard offset shadows, chiva-bus stripes.
   Tokens on :root; components are generic (.card .pill .seg .chip .row).
   ============================================================ */
:root {
  --cream: #FFF6E5;
  --paper: #FFFFFF;
  --ink: #1A1423;
  --ink-2: #4A4357;
  --ink-3: #6E6680;
  --mango: #FFC727;
  --mango-soft: #FFF0C2;
  --guava: #FF4F7B;
  --guava-soft: #FFE1E9;
  --jungle: #00A676;
  --jungle-soft: #D6F5EA;
  --blue: #2D7FF9;
  --blue-soft: #DCE9FF;
  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --r: 14px;
  --r-sm: 10px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tabbar-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 15px/1.5 var(--body);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 8px);
}
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
h1 { font-size: 28px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: var(--line); }
.stripes {
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--mango) 0 28px, var(--guava) 28px 56px, var(--blue) 56px 84px, var(--jungle) 84px 112px);
  border-bottom: var(--line);
}
.topbar-row { max-width: 640px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.1; }
.brand-sub { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-toggle {
  flex: none; min-width: 48px; height: 40px; border: var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 700; box-shadow: var(--shadow-sm); cursor: pointer;
}

/* ---------- layout ---------- */
main { max-width: 640px; margin: 0 auto; padding: 16px 16px 8px; }
main:focus { outline: none; }
.stack > * + * { margin-top: 14px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 22px 0 10px; }
.section-title h2 { font-size: 20px; }

/* ---------- cards ---------- */
.card { background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; }
.card.flat { box-shadow: none; }
.card.mango { background: var(--mango); }
.card.guava { background: var(--guava-soft); }
.card.jungle { background: var(--jungle-soft); }
.card.blue { background: var(--blue-soft); }
.card.dim { opacity: .55; }
.card + .card { margin-top: 12px; }

/* hero / countdown */
.hero { background: var(--mango); border: var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; }
.hero .kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: 30px; margin: 2px 0 6px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fact { background: var(--paper); border: var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ---------- segmented controls / chips ---------- */
.seg { display: flex; border: var(--line); border-radius: 999px; background: var(--paper); padding: 3px; gap: 3px; box-shadow: var(--shadow-sm); }
.seg button, .seg a {
  flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px;
}
.seg .on { background: var(--ink); color: var(--cream); }
.seg .sub { font-weight: 500; font-size: 12px; opacity: .8; }
.seg.big button { min-height: 54px; flex-direction: column; gap: 0; line-height: 1.15; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 14px; border: var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; scroll-snap-align: start;
}
.chip.on { background: var(--mango); box-shadow: var(--shadow-sm); }
.chip.ink.on { background: var(--ink); color: var(--cream); }

.az { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.az::-webkit-scrollbar { display: none; }
.az button { flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); font-weight: 700; font-size: 13px; cursor: pointer; }
.az button:disabled { opacity: .25; cursor: default; }

.search {
  width: 100%; min-height: 48px; border: var(--line); border-radius: var(--r-sm); background: var(--paper);
  padding: 0 14px; font: 500 16px var(--body); color: var(--ink);
}
.search::placeholder { color: var(--ink-3); }
.toolbar { display: flex; gap: 8px; align-items: center; margin: 12px 0 8px; }
.toolbar .search { flex: 1; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--paper); }
.pill.mango { background: var(--mango); }
.pill.guava { background: var(--guava); }
.pill.jungle { background: var(--jungle); color: #fff; }
.pill.blue { background: var(--blue); color: #fff; }
.pill.ghost { border-style: dashed; }
.pill.ended { background: var(--ink); color: var(--cream); }

/* ---------- lineup list ---------- */
.list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.list > li { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-top: 1.5px solid #E7DFD0; min-height: 60px; }
.list > li:first-child { border-top: 0; }
.list > li.letter { min-height: 0; padding: 6px 14px; background: var(--cream); font-family: var(--display); font-weight: 800; font-size: 14px; border-top: 1.5px solid var(--ink); }
.list > li.letter:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 0; }
.artist-name { font-weight: 700; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.artist-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.artist-meta a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.list > li.fav { background: #FFFAEB; }

.star {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: var(--line); background: var(--paper); cursor: pointer;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.star[aria-pressed="true"] { background: var(--mango); box-shadow: var(--shadow-sm); }

/* ---------- event cards ---------- */
.ev-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ev-when { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ev-title { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; margin: 6px 0 2px; overflow-wrap: anywhere; }
.ev-title a { text-decoration: none; }
.ev-where { font-size: 14px; color: var(--ink-2); }
.ev-lineup { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.ev-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ev-why { margin: 6px 0 0; font-size: 14px; }
.ev-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rank { flex: none; width: 34px; height: 34px; border: var(--line); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--mango); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border: var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn.primary { background: var(--ink); color: var(--cream); }
.btn.mango { background: var(--mango); }
.btn.jungle { background: var(--jungle); color: #fff; }
.btn.guava { background: var(--guava); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.add-btn { flex: none; }
.add-btn[aria-pressed="true"] { background: var(--jungle); color: #fff; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- stat tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--paper); border: var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); padding: 10px; text-align: center; }
.tile b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.tile span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.tile.alert { background: var(--guava); }

/* ---------- plan timeline ---------- */
.day-block { margin-top: 22px; }
.day-block > h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tl-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.tl-time { font-weight: 800; font-family: var(--display); font-size: 16px; padding-top: 2px; }
.tl-time small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; color: var(--ink-3); }
.tl-item.clash { border-color: var(--guava); box-shadow: 4px 4px 0 var(--guava); }
.tl-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.x-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 16px; line-height: 1; }
.clash-bar { display: flex; align-items: center; gap: 10px; background: var(--guava); border: var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 12px 0; font-weight: 600; font-size: 14px; }
.clash-bar .grow { flex: 1; min-width: 0; }
.dice-btn { display: inline-flex; align-items: center; gap: 6px; }
.dice-btn svg { width: 22px; height: 22px; }

/* ---------- details / accordions ---------- */
details.acc { background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
details.acc + details.acc { margin-top: 10px; }
details.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 700; font-size: 16px; min-height: 56px; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary .ic { font-size: 22px; width: 28px; text-align: center; flex: none; }
details.acc > summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 800; }
details.acc[open] > summary::after { content: "–"; }
details.acc .acc-body { padding: 0 14px 14px 54px; font-size: 15px; }
details.acc .acc-body p { margin: 0 0 8px; }
details.acc .acc-body ul { margin: 0 0 8px; padding-left: 18px; }
.source { font-size: 12px; color: var(--ink-3); }
.source a { color: var(--ink-2); }

/* checklist */
.check { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1.5px solid #E7DFD0; cursor: pointer; font-size: 15px; }
.check:first-child { border-top: 0; }
.check input { width: 22px; height: 22px; accent-color: var(--jungle); flex: none; }
.check.done span { text-decoration: line-through; color: var(--ink-3); }
.progress { height: 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; margin: 8px 0 4px; }
.progress i { display: block; height: 100%; background: var(--jungle); }

/* empty states */
.empty { text-align: center; padding: 22px 16px; }
.empty h3 { margin-bottom: 6px; }
.empty p { margin: 0 0 14px; color: var(--ink-2); }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select {
  min-height: 44px; border: var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 0 10px; font: 500 16px var(--body); color: var(--ink); text-transform: none; letter-spacing: 0;
}
.field-error { color: #B3123E; font-size: 13px; font-weight: 600; margin-top: 6px; }

/* ---------- detail page ---------- */
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 6px 12px; margin: 14px 0; font-size: 15px; }
.kv dt { font-weight: 700; color: var(--ink-2); font-size: 13px; padding-top: 2px; }
.kv dd { margin: 0; }

/* ---------- bottom tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--cream); border-top: var(--line);
  display: flex; justify-content: center; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a {
  position: relative; flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; font-size: 11px; font-weight: 700; padding: 6px 2px; border-radius: 12px; color: var(--ink-2); min-height: 50px;
}
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { background: var(--mango); color: var(--ink); border: 1.5px solid var(--ink); }
.badge-count {
  position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--guava); border: 1.5px solid var(--ink); color: var(--ink); font-size: 11px; line-height: 15px; text-align: center;
}

/* ---------- footer ---------- */
.site-footer { max-width: 640px; margin: 20px auto 0; padding: 16px; font-size: 12px; color: var(--ink-3); text-align: center; }
.site-footer p { margin: 0 0 6px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); z-index: 50;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: min(340px, calc(100vw - 32px)); width: max-content; background: var(--ink); color: var(--cream);
  border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; text-align: center;
}
.toast.warn { background: var(--guava); color: var(--ink); border: var(--line); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 50/50 dice sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(26, 20, 35, .55); display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-panel {
  width: 100%; max-width: 520px; background: var(--cream); border: var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: stretch; }
.vs .opt { background: var(--paper); border: var(--line); border-radius: var(--r-sm); padding: 10px; transition: opacity .25s, transform .25s, background .25s; }
.vs .opt .tag { font-family: var(--display); font-weight: 800; font-size: 22px; }
.vs .opt .nm { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.vs .opt .sm { font-size: 12px; color: var(--ink-3); }
.vs .mid { align-self: center; font-family: var(--display); font-weight: 800; }
.vs .opt.win { background: var(--jungle); color: #fff; transform: scale(1.03); }
.vs .opt.win .sm { color: #E8FFF6; }
.vs .opt.lose { opacity: .4; }
.die-wrap { display: grid; place-items: center; margin: 18px 0 6px; }
.die { width: 104px; height: 104px; }
.die.rolling { animation: tumble .9s cubic-bezier(.3, .7, .4, 1); }
@keyframes tumble {
  0% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-46px) rotate(200deg) scale(1.08); }
  50% { transform: translateY(0) rotate(400deg); }
  70% { transform: translateY(-14px) rotate(560deg); }
  100% { transform: translateY(0) rotate(720deg); }
}
.die-hint { text-align: center; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.verdict { text-align: center; font-family: var(--display); font-weight: 800; font-size: 22px; min-height: 30px; margin: 4px 0 12px; }

@media (prefers-reduced-motion: reduce) {
  .die.rolling { animation: none; }
  .toast, .vs .opt { transition: none; }
}

@media (min-width: 760px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
}

/* stages + timetable */
.pill.stage.ink { background: var(--ink); color: var(--cream); }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; }
.dot.mango { background: var(--mango); } .dot.guava { background: var(--guava); } .dot.jungle { background: var(--jungle); } .dot.blue { background: var(--blue); } .dot.ink { background: var(--ink); }
.list > li .tl-time { width: 58px; flex: none; }
.list > li.ended-row { opacity: .5; }
.list > li.clash-row { box-shadow: inset 5px 0 0 var(--guava); }
.made-by { font-size: 14px; font-weight: 700; color: var(--ink); }
.made-by a { color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; background: var(--paper); box-shadow: var(--shadow-sm); display: inline-block; margin-top: 4px; }

/* creator strip (owner's Instagram) */
.creator-bar {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 12px auto 0; padding: 8px 10px 8px 12px;
  width: calc(100% - 32px); background: var(--guava); border: var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--ink); font-size: 13px; line-height: 1.25;
}
.creator-ig { font-size: 18px; flex: none; }
.creator-text { flex: 1; min-width: 0; }
.creator-text b { font-weight: 800; }
.creator-cta { flex: none; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.pill.stage.boombox, .dot.boombox { background: #E9D8FF; }
.pill.stage.daisy, .dot.daisy { background: #FFE1E9; }

/* stage tags: always dark text (white-on-colour was unreadable), ink pill gets cream */
.pill, .artist-meta .pill { color: var(--ink); }
.pill.jungle, .pill.blue { color: var(--ink); }
.pill.stage.ink, .artist-meta .pill.stage.ink { background: var(--ink); color: var(--cream); }
.pill.ended { color: var(--cream); }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.small-seg button { min-height: 40px; font-size: 14px; }
.stage-block { margin-top: 18px; }
.stage-head { display: flex; align-items: center; justify-content: space-between; font-size: 17px; padding: 8px 14px; margin: 0 0 8px;
  border: var(--line); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--shadow-sm); }
.stage-head span { font-family: var(--body); font-size: 12px; font-weight: 700; }
.stage-head.mango { background: var(--mango); } .stage-head.guava { background: var(--guava); } .stage-head.jungle { background: var(--jungle); }
.stage-head.blue { background: var(--blue); } .stage-head.ink { background: var(--ink); color: var(--cream); }
.stage-head.boombox { background: #E9D8FF; } .stage-head.daisy { background: #FFE1E9; }

/* [hidden] must win over component display rules (search/filter rows use it) */
[hidden] { display: none !important; }

/* Afters: day picker */
.day-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 8px; }
.day-chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 10px 4px 8px;
  border: var(--line); border-radius: var(--r-sm); background: var(--paper); cursor: pointer; box-shadow: var(--shadow-sm); line-height: 1.2; }
.day-chip b { font-family: var(--display); font-size: 17px; text-transform: capitalize; }
.day-chip span { font-size: 12px; color: var(--ink-2); }
.day-chip i { position: absolute; top: -8px; right: -6px; font-style: normal; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; line-height: 17px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--guava); text-align: center; padding: 0 4px; }
.day-chip[data-fest] { background: var(--mango-soft); }
.day-chip.on { background: var(--ink); color: var(--cream); }
.day-chip.on span { color: var(--cream); }
.card.small { padding: 10px 12px; font-size: 14px; font-weight: 600; }

/* VIP */
.vip-hero { background: var(--ink); color: var(--cream); }
.vip-hero .kicker { color: var(--mango); }
.vip-hero .btn.primary { background: var(--mango); color: var(--ink); }
.vip-inc { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
@media (max-width: 400px) { .tabbar a { font-size: 10px; } .tabbar svg { width: 22px; height: 22px; } }

.flyer { margin: 16px 0 0; }
.flyer img { display: block; width: 100%; height: auto; border: var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.flyer figcaption { margin-top: 6px; text-align: center; }

/* Join the list */
.join-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; text-decoration: none; background: var(--guava-soft); }
.join-card .jc-ic { font-size: 26px; }
.join-card .jc-t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.join-card .jc-t b { font-family: var(--display); font-size: 18px; }
.join-card .jc-t span { font-size: 13px; color: var(--ink-2); }
.join-card .jc-go { flex: none; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.join-int { border: 0; margin: 14px 0 0; padding: 0; }
.join-int legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 4px; }
.check.consent { border-top: 2px solid var(--ink); margin-top: 12px; padding-top: 12px; font-weight: 600; }
details.privacy { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
details.privacy summary { cursor: pointer; font-weight: 700; text-decoration: underline; }
details.privacy p { margin: 6px 0 0; }
.btn:disabled { opacity: .6; cursor: wait; }

/* referral / promo codes */
.code-box { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.code-box.jungle { flex-direction: row; align-items: center; justify-content: space-between; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-height: 44px; border: var(--line); border-radius: var(--r-sm); padding: 0 12px; font: 700 16px var(--body); text-transform: uppercase; letter-spacing: .06em; }
.my-code { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: .04em; }
.code-link { font-size: 13px; background: var(--cream); border: 1.5px dashed var(--ink); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
