/* Golden hour (chosen 2026-10-24, purple warmed to aubergine the same day): a dusky aubergine-to-orange sunset with
   nearly square corners. Berry means all-gender (and yes), orange means gendered (and no), grey is unknown; red is
   only for a flag. */
:root {
  --bg: #fff6ee;
  --surface: #ffffff;
  --surface-2: #fbeee4;
  --ink: #2e1420;
  --muted: #7d6370;
  --line: #efdacd;
  --accent: #8c2f55;                 /* links, chosen buttons in a group */
  --accent-ink: #ffffff;
  --sunset: linear-gradient(90deg, #4a1838, #b8434f 55%, #f0913a);
  --sunset-btn: linear-gradient(90deg, #6b2346, #e06a35);
  --sunset-ink: #ffffff;
  --first: #e06a35;                  /* the nearest restroom's border */
  --all: #8c2f55;
  --gen: #e8862f;
  --bad: #c62828;
  --unk: #9b8f96;
  --code: #2e1420;
  --code-ink: #ffd27a;
  --r: 3px;                          /* cards, sheets, banners */
  --r-sm: 3px;                       /* buttons, tags, inputs */
  --shadow: 0 1px 2px rgb(46 20 32 / 7%), 0 4px 14px rgb(46 20 32 / 7%);
  --f: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #1e1016;
  --surface: #2a1820;
  --surface-2: #35202a;
  --ink: #fbeee6;
  --muted: #c2a3ac;
  --line: #47293a;
  --accent: #e39ab6;
  --accent-ink: #1e1016;
  --sunset: linear-gradient(90deg, #3a1230, #8f3346 55%, #d27a2c);
  --sunset-btn: linear-gradient(90deg, #b0507a, #f08a3c);
  --sunset-ink: #1e1016;
  --first: #f08a3c;
  --all: #d77fa3;
  --gen: #f3a04f;
  --bad: #ff6b6b;
  --unk: #918590;
  --code: #ffd27a;
  --code-ink: #1e1016;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.45 var(--f); -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
button { font: inherit; }

.bar {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--sunset); color: #fff;
}
/* Body text: Atkinson Hyperlegible Next (2026-10-25), designed for low-vision readers. Served from the site itself
   (OFL), every weight in one variable file per style. */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/vendor/fonts/atkinson-next-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/vendor/fonts/atkinson-next-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/vendor/fonts/atkinson-next-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/vendor/fonts/atkinson-next-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The wordmark (Liv's pick, 2026-10-24): Sixtyfour, served from JustLetMePee itself (no Google request), white with a
   soft shadow on the sunset bar, beside the white knockout pin. */
@font-face { font-family: "Sixtyfour"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/vendor/fonts/sixtyfour-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sixtyfour"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/vendor/fonts/sixtyfour-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
.brand .pin { width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgb(46 20 32 / 75%)); }
.wordmark { font-family: "Sixtyfour", var(--f); font-variation-settings: "SCAN" -24, "BLED" 10; font-size: 16.5px;
  letter-spacing: .25px; color: #fff; text-shadow: 0 1px 2px rgb(46 20 32 / 75%); line-height: 1; }
.bar .btn { background: transparent; border-color: rgb(255 255 255 / 45%); color: #fff; }
.bar .btn.ghost { border-color: transparent; }
@media (max-width: 420px) {
  .bar { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 6px; }
  .wordmark { font-size: 15px; }
  .brand .pin { width: 26px; height: 26px; }
  .bar-r .btn { padding: 0 10px; }
}
.badge { font: 700 11px var(--f); letter-spacing: .06em; text-transform: uppercase; color: #fff; border: 1px solid rgb(255 255 255 / 70%); border-radius: var(--r-sm); padding: 1px 7px; }
.bar-r { display: flex; gap: 6px; position: relative; }

/* the menu (☰): who's signed in, Account, Settings, About */
.menu-btn { width: 42px; height: 40px; display: grid; place-content: center; gap: 5px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgb(255 255 255 / 45%); border-radius: var(--r-sm); }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; transition: transform .15s, opacity .15s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 3px solid rgb(255 255 255 / 70%); outline-offset: 2px; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 250px; display: grid; padding: 6px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 28px rgb(0 0 0 / 22%); }
.menu button { text-align: left; font: 600 15px var(--f); color: var(--ink); background: none; border: 0; border-radius: var(--r-sm);
  padding: 11px 12px; cursor: pointer; }
.menu button:hover, .menu button:focus-visible { background: var(--surface-2); outline: none; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-who { font-size: 13px; color: var(--muted); padding: 8px 12px 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.primary { background: var(--sunset-btn); border-color: transparent; color: var(--sunset-ink); }
.btn.ghost { border-color: transparent; background: none; }
.btn.danger { color: var(--bad); }
.btn:disabled { opacity: .55; cursor: default; }
.btn:focus-visible, .seg button:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

main { max-width: 1100px; margin: 0 auto; }
.mapwrap { position: relative; }
#map { height: 42vh; min-height: 260px; background: var(--surface-2); }
.here-btn { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); box-shadow: var(--shadow); }
.panel { padding: 14px 16px 24px; display: grid; gap: 12px; }
/* Desktop: the header at its own height, then the list (its own scroll) beside a map that fills the rest. No fixed
   pixel heights and every track can shrink (min-height: 0), so Firefox and Chrome lay it out the same. */
@media (min-width: 900px) {
  body:not(.doc) { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  .bar { flex: none; }
  body:not(.doc) main { flex: 1 1 auto; min-height: 0; width: 100%; max-width: none; display: grid;
    grid-template-columns: 440px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .mapwrap { order: 2; min-height: 0; min-width: 0; }
  #map { height: 100%; min-height: 0; }
  .panel { order: 1; min-height: 0; overflow-y: auto; align-content: start; border-right: 1px solid var(--line); }
}

.where { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.where .acts { display: flex; gap: 8px; }
.banner { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bad) 40%, var(--line)); border-radius: var(--r); padding: 10px 14px; }
.list { display: grid; gap: 10px; }
.none { color: var(--muted); text-align: center; padding: 24px 8px; }
.credit { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

.rr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 8px; scroll-margin: 80px; }
.rr.first { border: 2px solid var(--first); }
.rr.sel { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.rr.gone { opacity: .7; }
.rr-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; text-align: left; width: 100%; }
.rr-h b { font-size: 17px; }
.rr.first .rr-h b { font-size: 19px; }
.far { white-space: nowrap; color: var(--muted); font-size: 14px; }
.rr.first .far { color: var(--ink); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tg { font-size: 13px; font-weight: 500; border-radius: var(--r-sm); padding: 3px 10px; border: 1px solid var(--line); background: var(--surface-2); }
.tg.yes { background: color-mix(in srgb, var(--all) 18%, var(--surface)); border-color: color-mix(in srgb, var(--all) 55%, var(--line)); }
.tg.no { background: color-mix(in srgb, var(--gen) 18%, var(--surface)); border-color: color-mix(in srgb, var(--gen) 55%, var(--line)); }
.tg.unk { color: var(--muted); border-style: dashed; background: none; }
.tg.flag { background: color-mix(in srgb, var(--bad) 18%, var(--surface)); border-color: var(--bad); font-weight: 600; }
.tg.code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; background: var(--code); border-color: var(--code); color: var(--code-ink); }
.meta { font-size: 13px; color: var(--muted); }
.note { font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

.ed { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.seg span { font-size: 13px; color: var(--muted); min-width: 84px; }
.seg button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); padding: 0 12px; min-height: 38px; cursor: pointer; font-size: 14px; }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
input[type=text] { font: 16px var(--f); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; min-height: 44px; min-width: 0; flex: 1 1 160px; }

dialog { border: 0; padding: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 10px 40px rgb(0 0 0 / 30%); }
dialog::backdrop { background: rgb(20 17 31 / 45%); }
.sheet { padding: 18px 20px 22px; display: grid; gap: 12px; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; }
.sheet-h h2 { margin: 0; font-size: 20px; }
.x { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.prose h3 { font-size: 15px; margin: 16px 0 4px; }
.prose h3:focus { outline: none; }        /* focused only to open About there */
.prose p, .prose ul { margin: 6px 0; }
.prose ul { padding-left: 20px; }
.stack { display: grid; gap: 10px; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.linkbox { font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; text-align: center; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.maplibregl-ctrl-attrib { font-size: 11px; }
/* the map's zoom buttons and credit line, in the theme's colors */
.maplibregl-ctrl-group, .maplibregl-ctrl-attrib.maplibregl-compact { border-radius: var(--r-sm) !important; }
:root[data-mode="dark"] .maplibregl-ctrl-group { background: var(--surface) !important; box-shadow: 0 0 0 1px var(--line) !important; }
:root[data-mode="dark"] .maplibregl-ctrl-group button + button { border-top-color: var(--line) !important; }
:root[data-mode="dark"] .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
:root[data-mode="dark"] .maplibregl-ctrl-attrib, :root[data-mode="dark"] .maplibregl-ctrl-attrib.maplibregl-compact { background: rgb(34 20 27 / 80%) !important; color: var(--muted); }
:root[data-mode="dark"] .maplibregl-ctrl-attrib a { color: var(--muted) !important; }
:root[data-mode="dark"] .maplibregl-ctrl-attrib-button { filter: invert(1); }

/* Text pages (body.doc), like /request: one readable column under the header */
.doc main { max-width: 640px; padding: 24px 16px 48px; display: grid; gap: 16px; }
.doc h1 { font-size: 26px; margin: 0; }
.doc .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; display: grid; gap: 12px; }
.doc label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.doc label small { font-weight: 400; color: var(--muted); }
.doc textarea { font: 16px var(--f); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-height: 96px; resize: vertical; }
.doc input[type=text] { flex: none; width: 100%; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { border-left: 4px solid var(--all); }

/* The hero wordmark (Liv's pick, 2026-10-24), top of About and on the social image: Sixtyfour in sunset-gradient
   letters with scanlines and a faint RGB split, always on the night background. */
.hero { background: linear-gradient(180deg, #1e1016, #2e1420); border-radius: var(--r); padding: 22px 16px 18px;
  text-align: center; display: grid; gap: 12px; margin: 0 0 6px; }
.hero-mark { font-family: "Sixtyfour", var(--f); font-variation-settings: "SCAN" 25, "BLED" 0; font-size: clamp(18px, 6vw, 32px);
  line-height: 1.15; white-space: nowrap;
  background: linear-gradient(180deg, #ffd27a 0%, #f0913a 40%, #b8434f 72%, #8c2f55 100%); -webkit-background-clip: text;
  background-clip: text; color: transparent;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 2.5px, transparent 2.5px 4px);
  mask-image: repeating-linear-gradient(180deg, #000 0 2.5px, transparent 2.5px 4px);
  filter: drop-shadow(1px 0 0 rgb(91 206 250 / 55%)) drop-shadow(-1px 0 0 rgb(255 79 179 / 55%)); }
.hero .tagline { margin: 0; color: #fbeee6; font-size: 16px; line-height: 1.45; }
.hashtag { color: #f0913a; }
.tagline-sm { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tagline-sm .hashtag { color: var(--accent); }
