/* Good Plans app skin (Dec 3 2026). The signed-in app (Now, Here, Matches, Me) and the small pages in the same look as
   the homepage, city and venue pages (gp2.css): night ground, Archivo, condensed black capitals, the same red count badges
   and yellow age chip. Colours, type and shapes only. No layout rule lives here. Loaded LAST. */
:root {
  --paper: oklch(0.13 0.004 285);          /* page */
  --card: oklch(0.2 0.005 285);           /* cards and sheets */
  --card-2: oklch(0.27 0.006 285);         /* raised bits inside cards */
  --line: oklch(0.34 0.006 285);
  --glass: #1d1d22;
  --glass-2: #26262c;
  --ink: oklch(0.995 0.002 100);            /* main text */
  --ink-2: oklch(0.74 0.008 285);          /* secondary text */
  --on-ink: #0b0b0d;         /* text on white things */
  --on-ink-2: #3a3a40;
  --orange: oklch(0.67 0.21 33);
  --orange-dk: oklch(0.52 0.19 31);
  --sun: oklch(0.88 0.16 92);
  --white: #17171b;
  --err: #ff6b5c;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Archivo", -apple-system, system-ui, sans-serif;
}
html, body, .app-body { background: var(--paper) !important; color: var(--ink); }
::selection { background: var(--sun); color: #0b0b0d; }

/* headlines: big condensed capitals */
h1, h2, .room-name, .presence-line, .locked b, .stat-head, .live-here b, .sheet h2 {
  font-family: var(--display) !important; font-weight: 900 !important; font-stretch: 76%; text-transform: uppercase; letter-spacing: -.012em !important; line-height: .96 !important;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5rem); }
.h1-date { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: .38em !important; letter-spacing: 0; color: var(--orange); }
.room-name { font-size: 1.6rem !important; }
.presence-line { font-size: 1.6rem !important; }

/* surfaces: every white card becomes a dark rounded card */
.room, .rooms-empty, .empty, .locked, .presence, .switch-row, .row-btn, .mrow, .admin-row, .steps3 li, .benefits3 li,
.mechanics li, .stub, .faq details, .formcard, .vs, .demo, .swipe a, .menu, .note, .profiles li, .float, .gchat,
.proof-row li, .ps-rooms li, .hero-yes, .faces li, .sheet, .sheet-in, #overlay .sheet {
  background: var(--card) !important; color: var(--ink) !important; border-color: var(--line) !important; box-shadow: none !important;
}
.room, .locked, .presence, .rooms-empty, .empty { border: 1px solid var(--line) !important; border-radius: 28px !important; }
a.room:hover { background: var(--card-2) !important; }
.my-stats { background: var(--sun) !important; color: #0b0b0d !important; border: 0 !important; box-shadow: none !important; }
.my-stats .stat { background: oklch(0.80 0.15 92) !important; }
.my-stats .stat b { color: #0b0b0d; }
.my-stats .stat span, .my-stats .fine { color: #3d3a30 !important; }
.live-here { background: var(--sun) !important; color: #0b0b0d !important; border: 0 !important; box-shadow: none !important; }
.live-here b { color: #0b0b0d; }
.presence[data-s="live"] { background: var(--sun) !important; color: #0b0b0d !important; border: 0 !important; }
.presence[data-s="live"] .presence-line, .presence[data-s="live"] p { color: #0b0b0d !important; }
.room-meta, .small, .fine, .help, .rooms-note, .room-aff, .meta, .room-head .meta { color: var(--ink-2) !important; }

/* buttons: white solid pill (main), outlined pill (second) */
.btn { background: #fff !important; color: #0b0b0d !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; font-weight: 700; }
.btn:hover { background: #e9e8e4 !important; }
.btn-ghost, .onway, .pres-chip, .preview-chip, .choice span, .photo-pick input::file-selector-button {
  background: transparent !important; color: var(--ink) !important; border: 1.5px solid #5a5a62 !important; border-radius: 999px !important; box-shadow: none !important;
}
.onway { background: var(--paper) !important; }
.onway.is-on, .btn.is-on, .btn-ghost.is-on { background: var(--sun) !important; color: #0b0b0d !important; border-color: var(--sun) !important; }
.pres-chip[data-s="live"] { background: var(--sun) !important; color: #0b0b0d !important; border-color: var(--sun) !important; }
.choice input:checked + span { background: #fff !important; color: #0b0b0d !important; border-color: #fff !important; }
.linkish, .text-link, .back { color: var(--ink) !important; }
.back { color: var(--ink-2) !important; }

/* count badges: brighter reds on black, still one shade per step; age chip yellow */
.room-now .count-pill { box-shadow: none !important; }
.room-now.tier-0 .count-pill { background: oklch(0.3 0.06 33) !important; color: oklch(0.8 0.12 40) !important; }
.room-now.tier-1 .count-pill { background: oklch(0.8 0.12 40) !important; color: #0b0b0d !important; }
.room-now.tier-2 .count-pill { background: oklch(0.67 0.21 33) !important; color: #0b0b0d !important; }
.room-now.tier-3 .count-pill { background: oklch(0.52 0.19 31) !important; color: #fff !important; }
.room-now.tier-4 .count-pill { background: oklch(0.45 0.17 30) !important; color: #fff !important; }
.room-now .age-chip { background: var(--sun) !important; color: #0b0b0d !important; box-shadow: none !important; }
.room-quiet { color: var(--ink-2); }
.room-pulse .pulse-up { color: #5fe08a !important; }
.room-pulse .pulse-heading { color: var(--orange) !important; }

/* forms */
.gpf input:not([type="checkbox"]):not([type="radio"]), .gpf select, .gpf textarea, input[type="email"], input[type="text"], input[type="search"], .admin-search, .admin-row select, .composer input {
  background: var(--card-2) !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; border-radius: 18px !important;
}
.gpf input::placeholder { color: #75747c; }
.err { color: var(--err) !important; }

/* app chrome */
.app-top { background: transparent; }
.logo, .logo-mark { color: var(--ink); }
.tabbar { background: rgba(11, 11, 13, .92) !important; border-top: 1px solid var(--line) !important; backdrop-filter: blur(12px); }
.tabbar a { color: var(--ink-2) !important; }
.tabbar a[aria-current="page"] { color: var(--ink) !important; }
.room-hero { border: 0 !important; box-shadow: none !important; border-radius: 28px !important; }
.pcard { border-radius: 24px !important; box-shadow: none !important; }
.pres-panel.takeover { background: rgba(0, 0, 0, .7) !important; backdrop-filter: blur(6px); }
.pres-panel.takeover .presence { border-radius: 32px !important; }
.switch i { background: #3a3a40 !important; border-color: #3a3a40 !important; }
.switch input:checked + i { background: var(--orange) !important; border-color: var(--orange) !important; }
.toast { background: #fff !important; color: #0b0b0d !important; }
.eyebrow { background: var(--sun) !important; color: #0b0b0d !important; }
.av-opt input:checked + span { border-color: #fff !important; box-shadow: none !important; }
.sheet-av .sheet-av-in, .me-head .av { border-color: #fff !important; }
.msg.theirs { background: var(--card-2) !important; color: var(--ink) !important; }
.msg.mine { background: #fff !important; color: #0b0b0d !important; }

/* public pages: bands and sections go dark too */
.band-ink, .band-orange, .band-glass, .band-sun, .foot, section { background-color: transparent; }
.band-orange { background: var(--orange) !important; }
.band-sun { background: var(--sun) !important; color: #0b0b0d !important; }
.band-glass { background: var(--card) !important; }
.foot { background: #000 !important; color: var(--ink) !important; }
.highlight, mark, .mark, em.mark { background: var(--sun) !important; color: #0b0b0d !important; }

/* badges are always visible: the pop is a scale only (no fade), so a paused animation never hides them */
@keyframes gp-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.06); } 100% { transform: scale(1); } }
.room-now .count-pill, .room-now .age-chip { opacity: 1 !important; }
/* venue page: same big stacked badges as the list cards */
.room-head .room-line { display: grid; gap: 8px; }
.room-head .room-now { display: flex !important; flex-direction: column; align-items: stretch; width: 100%; gap: 8px; }
.room-head .room-now .count-pill { justify-content: center; padding: 12px 14px; font-size: 1.5rem; }
.room-head .room-now .count-pill small { font-size: .875rem; }
.room-head .room-now .age-chip { text-align: center; padding: 10px 12px; font-size: 1rem; }
.room-head h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); }

/* body type follows the site */
body, button, input, select, textarea { font-family: var(--sans); }
.logo { font-family: var(--sans) !important; font-weight: 800 !important; letter-spacing: -.02em; text-transform: none; }
/* the small pages' menu button: white circle, dark lines */
.menu-btn span, .menu-btn span::before, .menu-btn span::after { background: #0b0b0d; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
/* the app moves focus to the screen itself after each page change; that needs no frame */
#view:focus, #view:focus-visible { outline: none !important; }

/* Dec 3 (Robert): no white text on yellow, anywhere. Every yellow surface switches the text colour
   (and anything inside it: outlined buttons, links, small print) to near-black. */
.live-here, .presence[data-s="live"], .my-stats, .band-sun, .eyebrow, .announce, .btn-sun, .todo, .mark, mark, .highlight,
.partner-badge, .room-now .age-chip, .ps-top .ps-pill, .ps-photo .label, .band-ink .step-label, .foot .step-label, .f2,
.pcard .state[data-k="mutual"], .pcard .state[data-k="you"], .stub .label, .label-row .label,
.pres-chip[data-s="live"], .onway.is-on, .btn.is-on, .btn-ghost.is-on {
  --ink: #0b0b0d; --ink-2: #3d3a30; --fg: #0b0b0d; color: #0b0b0d !important;
}
.live-here .btn-ghost, .presence[data-s="live"] .btn-ghost, .my-stats .btn-ghost, .band-sun .btn-ghost {
  color: #0b0b0d !important; border-color: #0b0b0d !important; background: transparent !important;
}
.live-here .btn-ghost:hover, .presence[data-s="live"] .btn-ghost:hover, .my-stats .btn-ghost:hover, .band-sun .btn-ghost:hover { background: rgba(11, 11, 13, 0.08) !important; }
.live-here a:not(.btn), .presence[data-s="live"] a:not(.btn), .my-stats a:not(.btn), .band-sun a:not(.btn) { color: #0b0b0d !important; }

/* Dec 5 (Robert): contrast audit. The dark skin remaps --ink to near-white, so any surface
   that stayed light (or was treated as yellow but given a dark background) went illegible. */
.pcard .state { background: #fff !important; color: #0b0b0d !important; }
.pcard .state[data-k="you"], .pcard .state[data-k="mutual"] { background: var(--sun) !important; color: #0b0b0d !important; }
.x { background: #fff !important; color: #0b0b0d !important; }
.sheet .note-in {
  background: var(--card-2) !important; color: var(--ink) !important; border-color: var(--line) !important;
}
input::placeholder, textarea::placeholder, .sheet .note-in::placeholder { color: var(--ink-2) !important; }
.presence[data-s="live"] .btn:not(.btn-ghost),
.live-here .btn:not(.btn-ghost) {
  background: #0b0b0d !important; color: #fff !important;
}
.nbadge { background: var(--orange-dk) !important; color: #fff !important; }
.band-ink {
  background: var(--card) !important; color: var(--ink) !important;
  --on-ink: var(--ink); --on-ink-2: var(--ink-2);
}
.band-ink .note { background: var(--card-2) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.band-ink .coupon .note { background: #fff !important; color: #0b0b0d !important; border-color: #fff !important; }
.f2 { background: var(--sun) !important; color: #0b0b0d !important; }
.count-card {
  background: var(--card) !important; color: var(--ink) !important;
  --on-ink: var(--ink); --on-ink-2: var(--ink-2);
}
.ic-btn-ink { background: #fff !important; color: #0b0b0d !important; }
