/* ── Youth Camp 2026 · the look follows the event flyers (CAMP_2026/design_flyers_inspo): espresso brown, burnt copper, cream.
   ONE accent colour (copper) for the whole interface. The only other colours on screen are the map's zone colours and the blue
   "you are here / route", because those are how people find their cabin.
   Type: Anton = poster headlines and times (like the flyer title) · Montserrat = everything else · JetBrains Mono = small labels. ── */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --night: #120B08;
  --espresso: #1C110B;
  --bark: #2B1A11;
  --copper: #CF6A2C;
  --copper-hi: #EFA06A;
  --copper-lo: #8E3F16;
  --copper-ink: #9A4515;          /* copper that is still readable as text on cream */
  --cream: #F6EFE4;
  --paper: #F6EFE4;
  --paper-2: #ECE1D1;
  --card: #FFFBF5;
  --ink: #1B120D;
  --ink-2: #6A584B;
  --line: rgba(27, 18, 13, .12);
  --edge: rgba(27, 18, 13, .20);
  --ember: #E0491A;
  --blue: #1E6BFF;
  --forest: var(--espresso);      /* names still used inline by app.js */
  --sun: var(--copper-hi);
  --grad-copper: linear-gradient(135deg, #EFA06A, #CF6A2C 58%, #B4541E);
  --poster: "Anton", "Avenir Next Condensed", "Arial Narrow", Impact, sans-serif;
  --display: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --lift: 0 1px 2px rgba(27, 18, 13, .08), 0 6px 16px -8px rgba(27, 18, 13, .22);
  --float: 0 14px 34px -12px rgba(27, 18, 13, .45), 0 2px 6px rgba(27, 18, 13, .12);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sheet-w: 410px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; touch-action: pan-x pan-y; }
body { font: 500 16px/1.45 var(--body); color: var(--ink); background: var(--paper-2); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ── map ── */
#map { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #E9E5D0; z-index: 0; }
#map.sat { background: #26382b; }
.leaflet-container { font-family: var(--body); }
.leaflet-control-attribution { font-size: 10px; background: rgba(246, 239, 228, .82) !important; color: var(--ink-2); padding: 1px 6px; border-radius: 6px 0 0 0; }
.leaflet-control-attribution a { color: inherit; }
.leaflet-bottom.leaflet-right { margin-bottom: var(--sab); }

/* ── pins (zone colours come from the data: they are the wayfinding key and do not change) ── */
.pin { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  background: var(--c, #fff); color: var(--k, var(--ink)); border: 2.5px solid var(--ink); box-shadow: -2px 2px 0 rgba(27, 18, 13, .85);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.pin > b { transform: rotate(45deg); font: 800 14px/1 var(--display); letter-spacing: -.02em; }
.pin > svg { transform: rotate(45deg); width: 16px; height: 16px; stroke-width: 2.6; }
.pin-wrap { background: none; border: 0; }
.pin-wrap.is-selected { z-index: 1000 !important; }
.pin-wrap.is-selected .pin { transform: rotate(-45deg) scale(1.45); }
.pin-wrap.is-selected::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 3px solid var(--ink); animation: ring 1.4s ease-out infinite; pointer-events: none; }
@keyframes ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

.pin.star { width: 44px; height: 44px; border-width: 3px; }
.pin.star > svg { width: 22px; height: 22px; fill: var(--cream); stroke: var(--ink); stroke-width: 1.8; }

.pin-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  font: 700 12px/1.1 var(--body); color: var(--ink); padding: 3px 7px; border-radius: 7px; background: rgba(255, 251, 245, .95); border: 1.5px solid var(--ink); }
.pin-label.big { font: 400 15px/1.05 var(--poster); text-transform: uppercase; background: var(--espresso); color: var(--cream); border-color: var(--espresso); padding: 5px 9px 6px; letter-spacing: .04em; }
.pin-label.big small { display: block; font: 700 9.5px/1.2 var(--mono); color: var(--copper-hi); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }

/* numbered pins speak for themselves; their name shows only when selected */
.pin-wrap.unit:not(.lone):not(.is-selected) .pin-label { display: none; }
.pin-wrap.is-selected .pin-label { display: block !important; transform: translate(-50%, 12px); font-size: 13px; }

/* general (not ours) places: quiet */
.poi { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink-2); color: var(--ink-2); }
.poi svg { width: 12px; height: 12px; stroke-width: 2.6; }
.poi.used { width: 28px; height: 28px; background: var(--espresso); color: var(--copper-hi); border-color: var(--ink); box-shadow: 0 2px 0 rgba(27, 18, 13, .85); }
.poi.used svg { width: 15px; height: 15px; }
.poi-label { font-weight: 700; font-size: 11px; color: var(--ink-2); background: rgba(255, 251, 245, .88); border: 0; padding: 2px 5px; }
#map.sat .poi-label { background: rgba(18, 11, 8, .78); color: #fff; }

/* zone banners shown when zoomed out */
.zone-tag { transform: translate(-50%, -50%); position: absolute; white-space: nowrap; display: flex; align-items: center; gap: 6px;
  font: 800 12.5px/1 var(--display); padding: 7px 11px 7px 8px; border-radius: 999px; background: var(--c); color: var(--k); border: 2px solid var(--ink); box-shadow: 0 2px 0 rgba(27, 18, 13, .85); }
.zone-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--k); opacity: .85; }
/* zoomed in: the same banner, one per area, just above its outline (JS lifts it clear of the pins) */
.zone-tag.near { transform: translate(-50%, calc(-100% - 8px)); font-size: 12px; padding: 6px 10px 6px 7px; }

/* zoomed out, the Gym label leans right so it doesn't cover the cafeteria next door */
#map.z-far .pin-wrap.gym .pin-label.big { transform: translate(-20%, 4px); }

/* activity pins: small but visible when zoomed out; named once the Actividades chip is chosen */
#map.z-far .pin-wrap.act .pin { width: 22px; height: 22px; border-width: 2px; box-shadow: -1px 1px 0 rgba(27, 18, 13, .85); }
#map.z-far .pin-wrap.act .pin > svg { width: 12px; height: 12px; }
#map.focus-act .pin-wrap.act .pin-label { display: block !important; }
#map.focus-act .zone-wrap { display: none; }

/* landmarks (cafeteria): always visible, always named */
.pin-wrap.landmark .pin-label { display: block !important; font-weight: 700; }

@media (max-width: 380px) { .zone-tag { font-size: 11.5px; padding: 5px 9px 5px 7px; gap: 5px; } .zone-tag i { width: 8px; height: 8px; } }

/* zoom-level choreography (class set on #map by JS) */
#map.z-far .pin-wrap.unit:not(.act), #map.z-far .poi-wrap, #map.z-far .pin-label:not(.big) { display: none; }
#map.z-mid .zone-wrap:not(.near), #map.z-near .zone-wrap:not(.near) { display: none; }
#map.z-far .zone-wrap.near { display: none; }
#map.z-mid .pin-wrap.unit .pin { width: 18px; height: 18px; border-width: 2px; box-shadow: -1px 1px 0 rgba(27, 18, 13, .85); }
#map.z-mid .pin-wrap.unit .pin > b { font-size: 9.5px; }
#map.z-mid .pin-wrap.unit.lone .pin { width: 26px; height: 26px; }
#map.z-mid .pin-wrap.unit.lone .pin > b { font-size: 12px; }
#map.z-mid .pin-label:not(.big), #map.z-mid .poi-wrap:not(.used) { display: none; }
#map.z-mid .pin-wrap.is-selected .pin-label { display: block; }
#map.z-far .pin-wrap.is-selected { display: block; }

#map.routing .zone-wrap { display: none; }

/* you-are-here */
.me { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 3.5px solid #fff; box-shadow: 0 0 0 1.5px rgba(10, 40, 120, .5), 0 3px 10px rgba(10, 40, 120, .5); position: relative; }
.me::after { content: ""; position: absolute; inset: -3.5px; border-radius: 50%; background: var(--blue); opacity: .35; animation: ring 2s ease-out infinite; z-index: -1; }

.route-glow { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }
.route-dash { stroke-dasharray: 2 11; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -13; } }

/* ── top bar ── */
#topbar { position: fixed; z-index: 500; top: calc(var(--sat) + 10px); left: 10px; right: 10px; display: grid; gap: 8px; pointer-events: none; }
#topbar > * { pointer-events: auto; }
.search { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 6px 0 14px; background: var(--card); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--float); }
.search > svg { width: 21px; height: 21px; flex: none; color: var(--copper-ink); stroke-width: 2.6; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 600 16px var(--body); color: var(--ink); padding: 0 6px; appearance: none; }
.search input::placeholder { color: var(--ink-2); font-weight: 500; opacity: .9; }
.search input::-webkit-search-cancel-button { display: none; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { background: var(--paper-2); }
.lang { display: flex; flex: none; padding: 3px; border-radius: 11px; background: var(--paper-2); border: 1px solid var(--line); }
.lang b { font: 700 11px/1 var(--mono); padding: 8px 8px; border-radius: 8px; color: var(--ink-2); letter-spacing: .06em; }
html[lang="es"] .lang b[data-l="es"], html[lang="en"] .lang b[data-l="en"] { background: var(--espresso); color: var(--cream); }

#chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 10px 6px; margin: 0 -10px; scroll-snap-type: x proximity; }
#chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 9px; border-radius: 999px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--edge); font: 700 13px/1 var(--body); box-shadow: var(--lift); white-space: nowrap; }
.chip i { width: 15px; height: 15px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); flex: none; }
.chip.star i { border-radius: 4px; transform: rotate(45deg) scale(.85); }
.chip:active, .chip.on { background: var(--c); color: var(--k); border-color: var(--ink); transform: translateY(1px); }
.chip.on i { background: var(--k); }

/* ── search results ── */
body.searching #chips { display: none; }
#results { position: fixed; z-index: 490; top: calc(var(--sat) + 70px); left: 10px; right: 10px; max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--float); padding: 6px; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.res-head { font: 700 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); padding: 11px 10px 6px; }
.res { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 11px; }
.res:active, .res:hover { background: var(--paper-2); }
.res .dot { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c, var(--paper-2)); color: var(--k, var(--ink)); border: 1.5px solid var(--ink); font: 800 14px var(--display); }
.res .dot svg { width: 16px; height: 16px; }
.res .t { font-weight: 700; line-height: 1.2; }
.res .s { font-size: 13px; color: var(--ink-2); line-height: 1.25; margin-top: 1px; }
.res-empty { padding: 18px 12px; color: var(--ink-2); text-align: center; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; padding: 2px 10px 10px; }
.res-grid button { height: 40px; border-radius: 10px; background: var(--c); color: var(--k); border: 1.5px solid var(--ink); font: 800 15px var(--display); }
.res-grid button:active { transform: translateY(1px); }

/* ── floating buttons ── */
#fabs { position: fixed; z-index: 450; right: 10px; bottom: calc(var(--sab) + 26px); display: grid; gap: 10px; transition: transform .28s cubic-bezier(.2, .9, .3, 1); }
.fab { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--edge); box-shadow: var(--float); }
.fab svg { width: 23px; height: 23px; }
.fab:active { transform: translateY(1px); }
.fab-primary { background: var(--espresso); color: var(--copper-hi); border-color: transparent; width: 56px; height: 56px; border-radius: 18px; margin-left: -6px; }
.fab-primary svg { width: 26px; height: 26px; }
.fab-primary .dot { fill: currentColor; stroke: none; }
.fab-primary.on { background: var(--blue); color: #fff; }
.fab-primary.wait svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#layers { position: fixed; z-index: 650; right: 70px; bottom: calc(var(--sab) + 150px); display: grid; gap: 4px; padding: 6px; background: var(--card); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--float); animation: drop .16s ease-out; }
#layers button { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 10px; font-weight: 700; font-size: 14px; }
#layers button i { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--ink); background-size: cover; background-position: center; }
#layers button[aria-checked="true"] { background: var(--espresso); color: var(--cream); }
#layers .l-map i { background: linear-gradient(135deg, #CFDDB5 0 40%, #fff 40% 52%, #E9E5D0 52% 78%, #9CCBE0 78%); }
#layers .l-sat i { background: radial-gradient(circle at 30% 30%, #4f7a45, #26402b 60%, #1b2c20); }
#layers .l-art i { background: linear-gradient(135deg, #54b96a 0 45%, #d8c36a 45% 55%, #2f8f4a 55%); }

/* ── place sheet ── */
#sheet { position: fixed; z-index: 600; left: 0; right: 0; bottom: 0; max-height: min(78vh, 720px); display: flex; flex-direction: column;
  background: var(--paper); border-top: 1px solid var(--edge); border-radius: 24px 24px 0 0; box-shadow: 0 -14px 40px -10px rgba(27, 18, 13, .5);
  transform: translateY(0); transition: transform .32s cubic-bezier(.2, .9, .3, 1); padding-bottom: var(--sab); }
#sheet.enter { transform: translateY(105%); }
#sheet.peek { transform: translateY(calc(100% - var(--peek, 190px) - var(--sab))); }
.sheet-handle { flex: none; width: 100%; height: 22px; display: grid; place-items: center; }
.sheet-handle i { width: 44px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .22; }
.sheet-close { position: absolute; top: 12px; right: 10px; z-index: 2; background: var(--card); border: 1px solid var(--edge); border-radius: 50%; width: 36px; height: 36px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 18px; -webkit-overflow-scrolling: touch; }

.card-head { display: flex; align-items: flex-start; gap: 12px; padding-right: 44px; }
.badge { flex: none; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 15px; display: grid; place-items: center; background: var(--c, var(--espresso)); color: var(--k, var(--cream)); border: 1.5px solid var(--ink); font: 400 27px/1 var(--poster); }
.badge svg { width: 26px; height: 26px; }
.badge svg.starfill { fill: var(--cream); stroke: var(--ink); stroke-width: 1.6; }
.card-head h2 { margin: 1px 0 0; font: 800 21.5px/1.12 var(--display); letter-spacing: -.015em; }
.card-head .zone-line { margin-top: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card-head .zone-line i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); display: inline-block; }
.unit-line { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--espresso); color: var(--cream); font: 600 14.5px/1.25 var(--body); display: flex; gap: 10px; align-items: center; }
.unit-line svg { width: 22px; height: 22px; flex: none; color: var(--copper-hi); }
.unit-line b { font: 400 23px/1 var(--poster); letter-spacing: .02em; color: var(--copper-hi); }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--edge); background: var(--card); font: 700 14px/1.15 var(--body); text-align: left; text-decoration: none; color: var(--ink); box-shadow: var(--lift); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn.primary { background: var(--grad-copper); color: var(--ink); border-color: transparent; box-shadow: 0 10px 22px -12px rgba(207, 106, 44, .9); }
.btn.on { background: var(--blue); color: #fff; border-color: transparent; }
.btn.wide { grid-column: 1 / -1; }
.btn.ghost { box-shadow: none; min-height: 44px; font-size: 13px; background: none; }

.route-info { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #E3ECFF; border: 1.5px solid var(--blue); color: #0B2E80; font-weight: 700; }
.route-info { flex-wrap: nowrap; white-space: nowrap; }
.route-info b { font: 400 22px/1 var(--poster); letter-spacing: .02em; }
.route-info span { font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.route-info button { flex: none; margin-left: auto; font-size: 13px; text-decoration: underline; color: inherit; font-weight: 700; }

.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; height: 190px; width: auto; max-width: 86%; object-fit: cover; border-radius: 16px; border: 1px solid var(--edge); scroll-snap-align: center; background: var(--paper-2); }
.gallery img:only-child { width: 100%; max-width: 100%; }

.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; font-weight: 600; }
.facts li.warn { background: #FBE3CC; border-color: #D08A4E; color: #6B3410; }
.facts li.good { background: #E6ECDD; border-color: #8FA67E; color: #2F4A24; }
.facts svg { width: 15px; height: 15px; }
.desc { margin: 12px 0 0; color: #3A2B22; font-size: 15px; }
.note { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid var(--copper); background: #FBE9D7; border-radius: 0 10px 10px 0; font-weight: 700; font-size: 14px; }
.muted { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.siblings { margin-top: 16px; }
.siblings h3 { font: 700 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 0 0 8px; }
.siblings .res-grid { padding: 0; }
.siblings .res-grid button.cur { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ── photo viewer, toast ── */
#viewer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 900; background: rgba(18, 11, 8, .95); display: grid; place-items: center; animation: fade .2s; }
#viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
#viewer .icon-btn { position: absolute; top: calc(var(--sat) + 12px); right: 12px; background: var(--cream); border-radius: 50%; }
@keyframes fade { from { opacity: 0; } }

#toast { position: fixed; z-index: 950; left: 50%; bottom: calc(var(--sab) + 100px); transform: translateX(-50%); max-width: min(92vw, 440px); padding: 12px 16px; border-radius: 14px;
  background: var(--espresso); color: var(--cream); font-weight: 600; font-size: 14px; text-align: center; box-shadow: var(--float); animation: drop .2s ease-out; }

/* ── home page: a clean poster. Espresso ground, one copper glow, the flyer's globe as fine line art, the black barcode label ── */
#splash { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000; display: grid; place-items: center; overflow-x: hidden; overflow-y: auto; padding: calc(var(--sat) + 72px) 0 calc(var(--sab) + 28px);
  color: var(--cream); background: var(--night);
  background-image: radial-gradient(120% 62% at 100% 0%, rgba(207, 106, 44, .46), transparent 62%), radial-gradient(95% 48% at 0% 100%, rgba(142, 63, 22, .50), transparent 66%), linear-gradient(180deg, #21130C, #120B08 72%);
  transition: transform .7s cubic-bezier(.7, 0, .2, 1), opacity .5s .25s; }
#splash.gone { transform: translateY(-104%); opacity: 0; pointer-events: none; }
.splash-globe { position: absolute; top: calc(var(--sat) - 120px); right: -190px; width: 500px; height: 500px; color: var(--copper-hi); opacity: .30; transform: rotate(-16deg); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 35% 60%, #000 25%, transparent 72%); mask-image: radial-gradient(circle at 35% 60%, #000 25%, transparent 72%); }
.splash-globe * { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.splash-org { position: absolute; top: calc(var(--sat) + 27px); left: 28px; font: 700 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-hi); animation: rise .5s both; }
.splash-card { position: relative; text-align: left; padding: 0 28px; max-width: 460px; width: 100%; }
.splash-stamp { display: inline-grid; gap: 7px; font: 700 12.5px/1 var(--mono); letter-spacing: .08em; padding: 10px 12px 9px; background: #0B0705; color: var(--cream);
  border: 1px solid rgba(246, 239, 228, .22); border-radius: 4px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9); transform: rotate(-2deg); transform-origin: 0 100%; animation: rise .5s both; }
.splash-stamp .bar { display: flex; align-items: center; gap: 10px; }
.splash-stamp .bar i { flex: 1; min-width: 74px; height: 13px; opacity: .92; background: repeating-linear-gradient(90deg, var(--cream) 0 2px, transparent 2px 3px, var(--cream) 3px 4px, transparent 4px 7px, var(--cream) 7px 10px, transparent 10px 11px, var(--cream) 11px 12px, transparent 12px 14px, var(--cream) 14px 16px, transparent 16px 19px); }
.splash-stamp .bar small { font-size: 9.5px; letter-spacing: .16em; opacity: .75; white-space: nowrap; }
.splash-card h1 { margin: 22px 0 12px; font: 400 clamp(48px, 16.6vw, 80px)/.96 var(--poster); letter-spacing: .005em; text-transform: uppercase; }
.splash-card h1 span { display: block; white-space: nowrap; animation: rise .55s both; }
.splash-card h1 span:nth-child(2) { animation-delay: .09s; color: var(--copper); padding-bottom: .08em; margin-bottom: -.08em;
  background: linear-gradient(180deg, #F6C39A 0%, #E58A47 42%, #B9571F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.splash-card p { margin: 0; font-size: 14.5px; font-weight: 500; letter-spacing: .01em; color: rgba(246, 239, 228, .72); animation: rise .55s .18s both; }
.splash-addr { display: inline-flex; align-items: flex-start; gap: 7px; margin: 2px 0 -6px; padding: 8px 0; font-size: 14.5px; font-weight: 500; letter-spacing: .01em; line-height: 1.4; color: rgba(246, 239, 228, .88); text-decoration: none; animation: rise .55s .24s both; }
.splash-addr svg { flex: none; width: 17px; height: 17px; margin-top: 1.5px; color: var(--copper-hi); stroke-width: 2.2; }
.splash-addr span span { display: inline-block; text-decoration: underline; text-decoration-color: rgba(239, 160, 106, .8); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }   /* if it cannot fit on one line it breaks after the street, never mid-way */
.splash-addr:active { opacity: .7; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(0); } }

/* ── wide screens: the sheet becomes a side panel ── */
@media (min-width: 860px) {
  #topbar, #results { right: auto; width: var(--sheet-w); left: 14px; }
  #topbar { top: 14px; }
  #results { top: 76px; }
  #sheet { left: 14px; right: auto; width: var(--sheet-w); bottom: 14px; top: 132px; max-height: none; border: 1px solid var(--edge); border-radius: 22px; }
  #sheet.peek { transform: none; }
  #sheet.enter { transform: translateX(-110%); }
  .sheet-handle { visibility: hidden; height: 14px; }
  #fabs { right: 16px; bottom: 30px; }
  #layers { right: 80px; bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── agenda: "now / next" pill + full agenda panel ── */
#nowpill { position: fixed; z-index: 440; left: 10px; bottom: calc(var(--sab) + 26px); max-width: calc(100vw - 92px); display: flex; align-items: center; gap: 11px; text-align: left;
  min-height: 66px; padding: 9px 12px 9px 14px; border-radius: 20px; background: var(--grad-copper); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(142, 63, 22, .85), 0 2px 6px rgba(27, 18, 13, .25), inset 0 1px 0 rgba(255, 255, 255, .28); }
#nowpill > svg { width: 28px; height: 28px; flex: none; stroke-width: 2.3; }
#nowpill:active { transform: translateY(2px); }
.np-text { display: grid; gap: 3px; min-width: 0; }
.np-text b { font: 400 27px/1 var(--poster); letter-spacing: .05em; text-transform: uppercase; }
.np-text small { font: 700 12px/1.15 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-text small:empty { display: none; }
#nowpill > svg.np-go { width: 22px; height: 22px; stroke-width: 3; margin-left: 2px; }
#nowpill.live small::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(27, 18, 13, .6); animation: live-ink 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 9px rgba(224, 73, 26, 0); } }
@keyframes live-ink { to { box-shadow: 0 0 0 9px rgba(27, 18, 13, 0); } }
body.sheet-open #nowpill, body.searching #nowpill { display: none; }

#agenda { position: fixed; z-index: 800; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--paper); animation: agenda-in .32s cubic-bezier(.2, .9, .3, 1); }
@keyframes agenda-in { from { transform: translateY(100%); } }
/* header: the label runs across the top, then the big title with the buttons beside it */
.ag-head { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; padding: calc(var(--sat) + 22px) 14px 16px 18px; color: var(--cream); background: var(--night);
  background-image: radial-gradient(90% 150% at 100% 0%, rgba(207, 106, 44, .50), transparent 60%), linear-gradient(180deg, #21130C, #150D09); }
.ag-head > div:first-child { display: contents; }
.ag-brand { order: 0; flex: 1 0 100%; font: 700 10.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-hi); }
.ag-head h2 { order: 1; flex: 1; min-width: 0; margin: 0; font: 400 clamp(36px, 11.5vw, 46px)/.95 var(--poster); letter-spacing: .01em; text-transform: uppercase; }
.ag-head .head-btns { order: 2; }
.ag-head .icon-btn { background: var(--cream); color: var(--ink); border-radius: 50%; width: 42px; height: 42px; }
.ag-days { flex: none; display: flex; gap: 8px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.ag-days button { flex: 1; display: grid; gap: 3px; justify-items: center; padding: 9px 4px 8px; border-radius: 14px; border: 1px solid var(--edge); background: var(--card); box-shadow: var(--lift); }
.ag-days button small { font: 700 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ag-days button b { font: 400 27px/1 var(--poster); }
.ag-days button[aria-selected="true"] { background: var(--espresso); color: var(--cream); border-color: transparent; }
.ag-days button[aria-selected="true"] small { color: var(--copper-hi); }
.ag-days button.today b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: var(--ember); vertical-align: 12px; }
.ag-remind { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ag-remind > svg { flex: none; width: 24px; height: 24px; color: var(--copper-ink); stroke-width: 2.2; }
.ag-remind span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ag-remind b { font: 800 14.5px/1.1 var(--display); }
.ag-remind small { font-size: 11.5px; line-height: 1.25; color: var(--ink-2); }
.ag-remind a { flex: none; padding: 10px 11px; border-radius: 12px; background: var(--espresso); color: var(--cream); font: 700 13px/1 var(--body); text-decoration: none; white-space: nowrap; }
.ag-remind a:active { transform: translateY(2px); }
.ag-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 14px calc(var(--sab) + 28px); }
.ag-list { list-style: none; margin: 0; padding: 0; position: relative; }
.ag-list::before { content: ""; position: absolute; left: 73px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.ag-item { display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 8px 0; position: relative; }
.ag-item::before { content: ""; position: absolute; left: 68px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--copper); z-index: 1; }
.ag-item.is-now::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 5px rgba(224, 73, 26, .22); }
.ag-item.is-past { opacity: .58; }
.ag-time { text-align: right; padding-top: 12px; }
.ag-time b { display: block; font: 400 18px/1.1 var(--poster); letter-spacing: .02em; white-space: nowrap; }
.ag-time span { display: block; margin-top: 3px; font: 600 10.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.ag-card { border: 1px solid var(--edge); border-radius: 16px; padding: 12px 13px; background: var(--card); box-shadow: var(--lift); min-width: 0; }
.ag-title { font: 800 16.5px/1.18 var(--display); letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.now-badge { font: 700 10px/1 var(--mono); letter-spacing: .12em; padding: 4px 7px; border-radius: 6px; background: var(--ember); color: #fff; font-style: normal; }
.now-badge.ended { background: var(--ink-2); }
.ag-opt.is-past { opacity: .55; }
.ag-detail { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.ag-people { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 6px; }
.ag-people li { font-size: 14px; line-height: 1.25; }
.ag-people li span { display: inline-block; min-width: 76px; font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-hi); }
.ag-people li small { display: block; margin-left: 76px; font-size: 12px; opacity: .75; }
.ag-place { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; min-height: 40px; padding: 6px 12px 6px 11px; border-radius: 999px; border: 1px solid var(--edge); background: var(--paper); color: var(--ink); font: 700 13px/1.1 var(--body); max-width: 100%; }
.ag-place::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--copper)); border: 1.5px solid var(--ink); }   /* the zone colour, same as the pin on the map */
.ag-place > svg:first-child { display: none; }
.ag-place svg { width: 17px; height: 17px; flex: none; }
.ag-place .go { opacity: .7; margin-left: 2px; }
.ag-place:active { transform: translateY(1px); }
.ag-tba { display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 5px 10px; border: 1.5px dashed var(--ink-2); border-radius: 999px; }
.kind-service .ag-card { background: var(--espresso); color: var(--cream); border-color: transparent; background-image: radial-gradient(120% 120% at 100% 0%, rgba(207, 106, 44, .32), transparent 58%); }
.kind-service .ag-title { font: 400 23px/1.05 var(--poster); letter-spacing: .02em; text-transform: uppercase; }
.kind-service .ag-detail { color: #CDBBAA; }
.kind-service .ag-place { background: rgba(246, 239, 228, .08); color: var(--cream); border-color: rgba(246, 239, 228, .35); }
.kind-service .ag-place::before { border-color: var(--cream); }
.kind-meal .ag-card, .kind-prayer .ag-card, .kind-quiet .ag-card, .kind-info .ag-card { padding: 10px 13px; }
.kind-meal .ag-title, .kind-prayer .ag-title, .kind-quiet .ag-title { font-size: 15.5px; }
.kind-quiet .ag-card { background: none; border-style: dashed; box-shadow: none; }
.kind-meal .ag-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.kind-meal .ag-place { margin-top: 0; }
.ag-options { display: grid; gap: 8px; margin-top: 11px; }
.ag-opt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; background: var(--paper); }
.ag-opt.is-now { border-color: var(--ember); box-shadow: inset 3px 0 0 var(--ember); }
.ag-opt h4 { margin: 0; font: 800 14.5px/1.2 var(--display); }
.ag-opt .when { font: 600 11px/1 var(--mono); color: var(--ink-2); margin-top: 5px; }
.ag-opt .topic { margin-top: 5px; font-size: 14px; font-style: italic; }
.ag-opt .speaker { margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.ag-opt .ag-place { margin-top: 8px; }
.ag-foot { margin: 18px 4px 0; font-size: 12px; color: var(--ink-2); text-align: center; }

/* agenda items inside a place card */
.here { margin-top: 16px; }
.here h3 { font: 700 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 0 0 8px; }
.here ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.here li { display: flex; gap: 10px; align-items: baseline; padding: 8px 11px; border-radius: 11px; background: var(--paper-2); font-size: 14px; }
.here li b { font: 400 15.5px/1.2 var(--poster); letter-spacing: .02em; white-space: nowrap; min-width: 112px; }
.here li.is-now { background: #FBE0D2; box-shadow: inset 3px 0 0 var(--ember); }

@media (min-width: 860px) {
  #nowpill { left: auto; right: 84px; bottom: 30px; max-width: 360px; }
  #agenda { left: 14px; right: auto; top: 14px; bottom: 14px; width: calc(var(--sheet-w) + 40px); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; box-shadow: var(--float); animation-name: agenda-in-wide; }
  @keyframes agenda-in-wide { from { transform: translateX(-110%); } }
  .ag-head { padding-top: 18px; }
  .ag-head h2 { font-size: 44px; }
}

/* ── home page: the three choices. Agenda is the copper one; the other two are quiet glass cards ── */
#home-lang { position: absolute; top: calc(var(--sat) + 16px); right: 18px; background: rgba(246, 239, 228, .08); border-color: rgba(246, 239, 228, .22); }
#home-lang b { color: var(--cream); opacity: .7; }
html[lang="es"] #home-lang b[data-l="es"], html[lang="en"] #home-lang b[data-l="en"] { background: var(--cream); color: var(--ink); opacity: 1; }
/* ── farewell + "Califica el camp" (20-sep): the ONLY light block on the home screen, so nobody misses it ── */
.home-bye { margin-top: 28px; padding: 22px 18px 18px; border-radius: 24px; background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 22px 46px -22px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .5); animation: rise .5s both; animation-delay: .28s; }
.home-bye .bye-badge { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--grad-copper); color: var(--cream);
  box-shadow: 0 12px 22px -12px rgba(207, 106, 44, .9); }
.home-bye .bye-badge svg { width: 28px; height: 28px; stroke-width: 2.2; }
.home-bye > b { display: block; margin-top: 12px; font: 400 34px/1 var(--poster); letter-spacing: .02em; text-transform: uppercase; }
.home-bye > small { display: block; margin: 8px auto 0; max-width: 300px; font: 600 13.5px/1.4 var(--body); color: var(--ink-2); }
.bye-cta { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px 12px 16px; min-height: 68px; border-radius: 18px; text-align: left;
  background: var(--ink); color: var(--cream); box-shadow: 0 16px 28px -14px rgba(27, 18, 13, .7); text-decoration: none; }
.bye-cta .txt { display: grid; gap: 4px; min-width: 0; flex: 1; }
.bye-cta .txt b { font: 400 30px/1 var(--poster); letter-spacing: .035em; text-transform: uppercase; color: var(--copper-hi); }
.bye-cta .txt small { font: 700 12.5px/1.25 var(--body); color: var(--cream); opacity: .74; }
.bye-cta > svg { flex: none; width: 22px; height: 22px; stroke-width: 2.6; color: var(--copper-hi); }
.bye-cta:active { transform: scale(.985); }
.bye-cta.done { background: var(--paper-2); color: var(--ink); box-shadow: none; }   /* once this phone answered, the block goes quiet */
.bye-cta.done .txt b, .bye-cta.done > svg { color: var(--copper-ink); }
.bye-cta.done .txt small { color: var(--ink-2); opacity: 1; }
.home-nav { display: grid; gap: 10px; margin-top: 30px; }
.home-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 78px; padding: 12px 14px 12px 12px; text-align: left; border-radius: 20px;
  background: rgba(246, 239, 228, .07); color: var(--cream); border: 1px solid rgba(246, 239, 228, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); animation: rise .5s both; }
.home-opt:nth-child(1) { animation-delay: .34s; } .home-opt:nth-child(2) { animation-delay: .42s; } .home-opt:nth-child(3) { animation-delay: .50s; } .home-opt:nth-child(4) { animation-delay: .58s; }
.home-opt:active { transform: scale(.985); background: rgba(246, 239, 228, .12); }
.home-opt .ico { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(239, 160, 106, .12); color: var(--copper-hi); border: 1px solid rgba(239, 160, 106, .34); }
.home-opt .ico svg { width: 26px; height: 26px; stroke-width: 2; }
.home-opt .txt { display: grid; gap: 5px; min-width: 0; flex: 1; }
.home-opt .txt b { font: 400 30px/1 var(--poster); letter-spacing: .035em; text-transform: uppercase; }
.home-opt .txt small { font: 500 12.5px/1.25 var(--body); color: rgba(246, 239, 228, .68); display: block; max-height: 2.5em; overflow: hidden; }
.home-opt .txt small:empty { display: none; }
.home-opt.live .txt small::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--ink); animation: live-ink 1.8s ease-out infinite; }
.home-opt > svg { flex: none; width: 22px; height: 22px; stroke-width: 2.6; opacity: .7; }
.home-opt.primary { background: var(--grad-copper); color: var(--ink); border-color: transparent; box-shadow: 0 18px 34px -16px rgba(207, 106, 44, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.home-opt.primary:active { background: var(--grad-copper); }
.home-opt.primary .ico { background: var(--ink); color: var(--copper-hi); border-color: transparent; }
.home-opt.primary .txt small { color: var(--ink); font-weight: 700; }
.home-opt.primary > svg { opacity: 1; }
.home-opt.done .ico { background: var(--copper-hi); color: var(--ink); border-color: transparent; }   /* the survey card once this phone has answered */
/* follow the youth ministry on Instagram: a quiet row under the three choices */
.home-ig { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 4px 0; border-top: 1px solid rgba(246, 239, 228, .14); text-decoration: none; color: var(--cream); animation: rise .5s .66s both; }
.home-ig:active { opacity: .7; }
.home-ig .ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--copper-hi); border: 1px solid rgba(239, 160, 106, .34); }
.home-ig .ico svg { width: 21px; height: 21px; stroke-width: 2; }
.home-ig .txt { display: grid; gap: 4px; min-width: 0; flex: 1; }
.home-ig .txt b { font: 700 14px/1.1 var(--body); }
.home-ig .txt small { font: 600 10.5px/1.2 var(--mono); letter-spacing: .04em; color: rgba(246, 239, 228, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-ig > svg { flex: none; width: 18px; height: 18px; stroke-width: 2.4; opacity: .7; }
/* "Add to home screen": one row under the cards. Android: copper INSTALAR pill (the browser's own dialog). iPhone / in-app browsers: VER CÓMO unfolds the taps. */
.home-add { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(246, 239, 228, .14); animation: rise .5s .62s both; }
.home-add svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.home-add-row { display: flex; align-items: center; gap: 2px; }
.home-add-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 2px 0 2px 4px; text-align: left; color: var(--cream); }
.home-add-main:active { opacity: .7; }
.home-add-main .ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--copper-hi); border: 1px solid rgba(239, 160, 106, .34); }
.home-add-main .ico svg { width: 21px; height: 21px; stroke-width: 2; }
.home-add-main .txt { display: grid; gap: 4px; min-width: 0; flex: 1; }
.home-add-main .txt b { font: 700 14px/1.15 var(--body); }
.home-add-main .txt small { font: 600 10.5px/1.25 var(--mono); letter-spacing: .04em; color: rgba(246, 239, 228, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-add-main .act { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 13px 0 14px; border-radius: 999px; background: var(--grad-copper); color: var(--ink);
  font: 400 15px/1 var(--poster); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px -10px rgba(207, 106, 44, .9); }
.home-add-main .act.quiet { height: auto; padding: 0 2px; background: none; color: var(--cream); box-shadow: none; opacity: .7; }   /* iPhone / in-app: the row unfolds the taps, so just a chevron */
.home-add-main .act svg { width: 20px; height: 20px; stroke-width: 2.6; transition: transform .2s; }
.home-add-main[aria-expanded="true"] .act svg { transform: rotate(180deg); }
.home-add-x { flex: none; width: 36px; height: 36px; margin-right: -10px; border-radius: 50%; display: grid; place-items: center; color: rgba(246, 239, 228, .5); }
.home-add-x svg { width: 15px; height: 15px; stroke-width: 2.4; }
.home-add-x:active { background: rgba(246, 239, 228, .12); }
.home-add-steps { margin: 14px 0 0; padding: 14px 14px 14px 12px; border-radius: 16px; background: rgba(246, 239, 228, .07); border: 1px solid rgba(246, 239, 228, .12); animation: add-in .2s ease-out; }
.home-add-steps[hidden] { display: none; }
.home-add-steps ol { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.home-add-steps li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; line-height: 1.35; color: rgba(246, 239, 228, .9); }
.home-add-steps li i { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(239, 160, 106, .14); color: var(--copper-hi); font: 400 16px/1 var(--poster); font-style: normal; }
.home-add-steps li b { color: var(--copper-hi); font-weight: 700; }
.home-add-steps svg.gl { width: 16px; height: 16px; stroke-width: 2.2; vertical-align: -3px; margin: 0 1px; color: var(--copper-hi); }
.home-add-steps .add-note { margin: 12px 0 0 39px; font-size: 12px; line-height: 1.35; color: rgba(246, 239, 228, .6); }
.home-add-steps .add-copy { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 0 39px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 700 13px var(--body); }
.home-add-steps .add-copy svg { width: 16px; height: 16px; stroke-width: 2.4; }
@keyframes add-in { from { opacity: 0; transform: translateY(-6px); } }
/* "Inicio": the way back to the home page, on every screen */
.menu-btn { flex: none; display: flex; align-items: center; gap: 6px; height: 38px; margin-left: -7px; padding: 0 11px 0 9px; border-radius: 11px; background: var(--espresso); color: var(--cream); font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.menu-btn svg { width: 18px; height: 18px; stroke-width: 2.4; flex: none; color: var(--copper-hi); }
.menu-btn:active, .home-btn:active { transform: translateY(1px); }
.head-btns { display: flex; align-items: center; gap: 8px; flex: none; }
.home-btn { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(246, 239, 228, .10); color: var(--cream); border: 1px solid rgba(246, 239, 228, .30); font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.home-btn svg { width: 19px; height: 19px; stroke-width: 2.4; flex: none; color: var(--copper-hi); }
/* the search field must give way on narrow phones: an <input> keeps a ~190px intrinsic width unless told otherwise */
#topbar { grid-template-columns: minmax(0, 1fr); }
#topbar > *, .search { min-width: 0; }
.search input { width: 0; }
@media (max-width: 345px) { .menu-btn span { display: none; } .menu-btn { padding: 0 9px; } }
@media (max-width: 360px) { .home-btn span { display: none; } .home-btn { padding: 0; width: 42px; justify-content: center; } }
.search > .menu-btn + svg { display: none; }   /* the home button takes the magnifier's place */
@media (max-height: 700px) { #splash { padding-top: calc(var(--sat) + 60px); } .home-opt { min-height: 66px; } .home-opt .ico { width: 46px; height: 46px; } .home-opt .txt b { font-size: 26px; } .home-nav { margin-top: 20px; gap: 8px; }
  .splash-card h1 { font-size: clamp(44px, 15vw, 64px); margin: 16px 0 10px; } .home-ig { margin-top: 16px; padding-top: 12px; } }

/* ── Hospedaje: name lookup (same layout as the agenda) ── */
#people { position: fixed; z-index: 800; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--paper); animation: agenda-in .32s cubic-bezier(.2, .9, .3, 1); }
.pp-bar { flex: none; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.pp-bar .search { box-shadow: var(--lift); height: 56px; }
.pp-bar .search input { font-size: 16.5px; }
#pp-body { display: grid; gap: 4px; padding-top: 8px; max-width: 560px; margin: 0 auto; }
#pp-body .res { padding: 11px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
#pp-body .res:last-of-type { border-bottom: 0; }
#pp-body .res .t { font-size: 16px; }
#pp-body .res .s { font-size: 13px; }
#pp-body .res.pp-mine { border: 1px solid var(--copper); border-radius: 16px; background: #FBE9D7; box-shadow: var(--lift); margin-bottom: 6px; }
.pp-note { margin: 10px 2px; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.pp-note.hint { color: var(--ink-2); background: var(--paper-2); }
.pp-note.warn { border-left: 4px solid var(--copper); background: #FBE9D7; font-weight: 700; border-radius: 0 10px 10px 0; }
.pp-note.bad { border-left: 4px solid #A8201A; background: #FBE3E0; color: #7A160F; font-weight: 700; border-radius: 0 10px 10px 0; }   /* church not checked in yet */
.pp-note.good { border-left: 4px solid #1E4D25; background: #DCEFD9; color: #1E4D25; font-weight: 700; border-radius: 0 10px 10px 0; }   /* church checked in */
.pp-note.loading { display: flex; justify-content: center; gap: 7px; padding: 22px; }
.pp-note.loading i { width: 10px; height: 10px; border-radius: 50%; background: var(--copper); animation: pp-dot 1s ease-in-out infinite; }
.pp-note.loading i:nth-child(2) { animation-delay: .15s; } .pp-note.loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pp-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.res-people .pp-note.loading { margin: 0; padding: 16px; }
.pp-browse { margin-top: 6px; }
.pp-back { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 8px 12px 8px 6px; margin: 2px 0 6px; border-radius: 999px; border: 1px solid var(--edge); background: var(--card); font: 700 13.5px/1 var(--body); }
.pp-back svg { width: 18px; height: 18px; stroke-width: 3; }
.pp-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--edge); border-radius: 22px; background: var(--card); box-shadow: var(--float); }
.pp-name { margin: 0; font: 400 34px/1 var(--poster); letter-spacing: .01em; text-transform: uppercase; }
.pp-church { margin-top: -4px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.pp-where { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--espresso); color: var(--cream); background-image: radial-gradient(120% 140% at 100% 0%, rgba(207, 106, 44, .34), transparent 58%); }
.pp-where .badge { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--copper-hi)); color: var(--k, var(--ink)); border: 1.5px solid rgba(246, 239, 228, .85); font: 400 27px/1 var(--poster); }
.pp-where .badge svg { width: 26px; height: 26px; }
.pp-where small { display: block; font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-hi); }
.pp-where b { display: block; margin-top: 5px; font: 400 26px/1.02 var(--poster); letter-spacing: .02em; text-transform: uppercase; }
.pp-where span:not(.badge) { display: block; margin-top: 4px; font-weight: 600; font-size: 14.5px; }
#pp-save svg { fill: none; } #pp-save.on { background: #FBE9D7; border-color: var(--copper); } #pp-save.on svg { fill: var(--copper); }
.pp-code { display: grid; gap: 10px; padding: 18px 16px; margin-top: 8px; border: 1px solid var(--edge); border-radius: 22px; background: var(--card); box-shadow: var(--float); }
.pp-code h3 { margin: 0; font: 400 28px/1 var(--poster); letter-spacing: .02em; text-transform: uppercase; }
.pp-code p { margin: 0; color: var(--ink-2); }
.pp-code.bad p { color: #A8201A; font-weight: 700; }
.pp-code input { height: 56px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); font: 700 20px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); outline: 0; }
@media (min-width: 860px) {
  #people { left: 14px; right: auto; top: 14px; bottom: 14px; width: calc(var(--sheet-w) + 40px); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; box-shadow: var(--float); animation-name: agenda-in-wide; }
}

/* ── survey "¿Qué espero de este campamento?": anonymous, one tap per option, copper check; same frame as Hospedaje ── */
#survey { position: fixed; z-index: 800; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--paper); animation: agenda-in .32s cubic-bezier(.2, .9, .3, 1); }
#survey .ag-head h2 { font-size: clamp(27px, 8.4vw, 36px); line-height: 1; }
.sv-anon { display: flex; align-items: flex-start; gap: 10px; margin: 10px 2px 14px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.sv-anon svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--copper-ink); }
.sv-opts { display: grid; gap: 8px; }
.sv-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 12px 10px 10px; text-align: left; border-radius: 16px; border: 1.5px solid var(--edge); background: var(--card); box-shadow: var(--lift); font-weight: 600; font-size: 16px; line-height: 1.25; transition: background .15s, border-color .15s, transform .12s; }
.sv-opt i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font: 400 19px/1 var(--poster); font-style: normal; background: var(--paper-2); color: var(--ink-2); }
.sv-opt span { flex: 1; min-width: 0; }
.sv-check { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--edge); display: grid; place-items: center; color: transparent; }
.sv-check svg { width: 16px; height: 16px; stroke-width: 3.2; }
.sv-opt:active { transform: scale(.985); }
.sv-opt[aria-pressed="true"] { border-color: var(--copper); background: #FBE9D7; }
.sv-opt[aria-pressed="true"] i { background: var(--copper); color: var(--cream); }
.sv-opt[aria-pressed="true"] .sv-check { border-color: var(--copper); background: var(--copper); color: var(--cream); }
.sv-foot { flex: none; padding: 10px 14px calc(var(--sab) + 12px); background: var(--paper); border-top: 1px solid var(--line); }
.sv-send { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 16px; border-radius: 16px; background: var(--grad-copper); color: var(--ink); font: 400 22px/1 var(--poster); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 14px 28px -14px rgba(207, 106, 44, .85); }
.sv-send small { font: 700 12px/1 var(--mono); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: var(--ink); color: var(--copper-hi); }
.sv-send:disabled { background: var(--paper-2); color: var(--ink-2); box-shadow: none; font: 700 15px/1 var(--body); text-transform: none; letter-spacing: 0; }
.sv-send:active:not(:disabled) { transform: scale(.985); }
.sv-thanks { display: grid; justify-items: center; text-align: center; gap: 8px; margin: 18px 2px 10px; padding: 24px 18px 18px; border: 1px solid var(--edge); border-radius: 22px; background: var(--card); box-shadow: var(--float); }
.sv-thanks > svg { width: 64px; height: 64px; color: var(--copper); stroke-width: 2; }
.sv-thanks h3 { margin: 4px 0 0; font: 400 40px/1 var(--poster); letter-spacing: .01em; text-transform: uppercase; }
.sv-thanks p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sv-thanks.queued p { color: var(--copper-ink); font-weight: 700; }
.sv-mine { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; width: 100%; text-align: left; }
.sv-mine li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--paper-2); font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.sv-mine li i { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 400 15px/1 var(--poster); font-style: normal; background: var(--copper); color: var(--cream); }
.sv-btns { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.sv-ghost { min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--paper); font: 700 15px/1 var(--body); }
.sv-ghost.primary { background: var(--ink); color: var(--cream); }
@media (min-width: 860px) {
  #survey { left: 14px; right: auto; top: 14px; bottom: 14px; width: calc(var(--sheet-w) + 40px); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; box-shadow: var(--float); animation-name: agenda-in-wide; }
}

/* photo shows as soon as a place is tapped: it sits under the name, above the buttons */
.gallery.top { margin-top: 12px; }
.gallery.top img { height: clamp(118px, 21vh, 170px); }

/* ───────────── Fotos: the shared album (everyone uploads, an admin approves, everyone sees) ───────────── */
.home-opt:nth-child(5) { animation-delay: .66s; }

/* ───────────── Torneo Soccer: sixth card, an outside link to the tournament's PlayPass page (SOCCER_URL in app.js) ───────────── */
.home-opt:nth-child(6) { animation-delay: .74s; }
a.home-opt { text-decoration: none; }
.home-opt.wait .ico { background: var(--copper); color: var(--cream); border-color: transparent; }   /* this phone has uploads waiting for approval */
#album { position: fixed; z-index: 800; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--paper); animation: agenda-in .32s cubic-bezier(.2, .9, .3, 1); }
#album svg, #al-view svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-bar { flex: none; display: grid; gap: 8px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.al-up { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 16px; border-radius: 16px; background: var(--grad-copper); color: var(--ink); font: 400 21px/1 var(--poster); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 14px 28px -14px rgba(207, 106, 44, .85); }
.al-up svg { width: 24px; height: 24px; stroke-width: 2.2; flex: none; }
.al-up:active { transform: scale(.985); }
.al-name { height: 44px; padding: 0 12px; border: 1.5px solid var(--edge); border-radius: 12px; background: var(--card); font: 600 14.5px var(--body); color: var(--ink); outline: 0; }
.al-name:focus { border-color: var(--copper); }
.al-h3 { margin: 12px 4px 8px; font: 700 10.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); }
/* the upload queue */
.al-queue { display: grid; gap: 8px; margin: 10px 2px 4px; }
.al-q { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--edge); box-shadow: var(--lift); }
.al-q img, .al-q .ph { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); }
.al-q .ph svg { width: 22px; height: 22px; }
.al-q .txt { flex: 1; min-width: 0; }
.al-q b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-q small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.al-q .bar { display: block; height: 6px; margin-top: 7px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.al-q .bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--copper); transition: width .25s; }
.al-q.ok { border-color: #1E4D25; } .al-q.ok small { color: #1E4D25; }
.al-q.bad { border-left: 4px solid #A8201A; } .al-q.bad small { color: #A8201A; }
/* this phone's uploads and their state */
.al-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.al-strip::-webkit-scrollbar { display: none; }
.al-chip { position: relative; flex: none; width: 92px; height: 92px; padding: 0; border-radius: 14px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--edge); }
.al-chip img, .al-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.al-chip .ph, .al-tile .ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-2); opacity: .55; }
.al-chip .ph svg, .al-tile .ph svg { width: 26px; height: 26px; }
.al-chip em { position: absolute; z-index: 2; left: 6px; right: 6px; bottom: 6px; padding: 5px 4px; border-radius: 999px; text-align: center; font: 700 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; background: rgba(27, 18, 13, .8); color: var(--cream); }
.al-chip.ok em { background: #1E4D25; } .al-chip.x em { background: #A8201A; }
/* the grid */
.al-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -10px 10px; }
@media (min-width: 560px) { .al-grid { grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; gap: 4px; } }
@media (min-width: 860px) { .al-grid { grid-template-columns: repeat(5, 1fr); } }
.al-tile { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; background: var(--paper-2); border: 0; }
.al-tile:active { opacity: .8; }
.al-tile img, .al-chip img { z-index: 1; }
.al-tile .vid { position: absolute; z-index: 2; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 999px; background: rgba(27, 18, 13, .74); color: var(--cream); font: 700 10.5px/1 var(--mono); }
.al-tile .vid svg, .al-noplay svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.al-empty { display: grid; justify-items: center; gap: 10px; padding: 34px 18px; text-align: center; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.al-empty svg { width: 44px; height: 44px; opacity: .5; }
.al-foot { padding: 8px 6px 20px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
/* full screen */
#al-view { position: fixed; z-index: 900; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--night); color: var(--cream); animation: fade .2s; }
.al-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--sat) + 10px) 10px 6px 16px; }
.al-top small { font: 700 11.5px/1 var(--mono); letter-spacing: .12em; opacity: .8; }
.al-top .icon-btn { background: rgba(246, 239, 228, .14); color: var(--cream); border-radius: 50%; width: 42px; height: 42px; }
.al-stage { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; }
.al-stage img, .al-stage video { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.al-stage video { width: 100%; background: #000; }
.al-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(246, 239, 228, .14); color: var(--cream); display: grid; place-items: center; }
.al-nav.prev { left: 8px; } .al-nav.next { right: 8px; }
.al-nav svg { width: 22px; height: 22px; stroke-width: 2.6; }
.al-nav[disabled] { opacity: .2; }
.al-cap { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(var(--sab) + 14px); }
.al-cap .txt { flex: 1; min-width: 0; }
.al-cap b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-cap small { display: block; margin-top: 2px; font: 600 11.5px/1.2 var(--mono); letter-spacing: .04em; opacity: .7; }
.al-save { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 700 13px var(--body); text-decoration: none; }
.al-save svg { width: 18px; height: 18px; stroke-width: 2.4; }
.al-noplay { display: grid; justify-items: center; gap: 12px; padding: 24px; text-align: center; font-weight: 600; }
.al-noplay svg { width: 40px; height: 40px; opacity: .6; }
@media (max-height: 700px) { .home-opt:nth-child(5) { animation-delay: .6s; } .home-opt:nth-child(6) { animation-delay: .66s; } }

/* ── wristband = meal turn. "¿De qué color es tu manilla?" as a row on the home page (#home-band) and a bar at the top of the Agenda
   (#ag-band); the two colour buttons look like the wristbands themselves; meal rows carry a tag in their turn's colour (.band-tag) ── */
.band-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.band-row .txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.band-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.band-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 13px; background: var(--b); color: var(--k); cursor: pointer;
  font: 800 15px/1 var(--body); letter-spacing: .01em; box-shadow: inset 0 0 0 1.5px rgba(27, 18, 13, .16), inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -8px rgba(0, 0, 0, .6); }
.band-btn::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--k); opacity: .8; }   /* a little ring: reads as a wristband */
.band-btn:active { transform: translateY(1px); filter: brightness(.95); }
.band-swatch { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--b); border: 3px solid var(--card); box-shadow: 0 0 0 1.5px rgba(27, 18, 13, .28), 0 4px 10px -6px rgba(0, 0, 0, .5); }
.band-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.band-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.band-chg { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; cursor: pointer; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.band-chg:active { opacity: .7; }
.band-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 6px; border-radius: 6px; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal;
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.band-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--b); box-shadow: inset 0 0 0 1.5px rgba(27, 18, 13, .3); }
.band-tag.mine { background: var(--b); color: var(--k); border-color: transparent; }
.band-tag.mine::before { background: var(--k); box-shadow: none; opacity: .85; }
/* the bar in the Agenda (cream) */
.ag-band { flex: none; padding: 10px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.ag-band .txt b { font: 800 14.5px/1.15 var(--display); }
.ag-band .txt small { font-size: 11.5px; line-height: 1.25; color: var(--ink-2); }
.ag-band .band-ico { color: var(--copper-ink); background: rgba(207, 106, 44, .1); border: 1px solid rgba(207, 106, 44, .3); }
.ag-band .band-chg { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.ag-band.set { background: var(--paper-2); }
/* the row on the home page (dark) */
.home-band { margin-top: 22px; padding: 14px 4px 0; border-top: 1px solid rgba(246, 239, 228, .14); color: var(--cream); animation: rise .5s .6s both; }
.home-band[hidden] { display: none; }
.home-band .txt b { font: 700 14px/1.15 var(--body); }
.home-band .txt small { font: 600 10.5px/1.3 var(--mono); letter-spacing: .04em; color: rgba(246, 239, 228, .62); }
.home-band .band-ico { color: var(--copper-hi); border: 1px solid rgba(239, 160, 106, .34); }
.home-band .band-swatch { border-color: var(--espresso); box-shadow: 0 0 0 1.5px rgba(246, 239, 228, .35); }
.home-band .band-chg { background: rgba(246, 239, 228, .08); color: var(--cream); border: 1px solid rgba(246, 239, 228, .25); }
