:root {
  --ketchup: #c8102e; --ketchup-d: #9e0b23; --mustard: #ffc629; --mustard-d: #e0a800; --relish: #4c9a2a;
  --bun: #fff6e6; --bg: #fffaf2; --card: #ffffff; --ink: #1f1a17; --muted: #6d625a; --line: #eadfce;
  --open: #11803f; --open-bg: #ddf5e5; --soon: #a15c00; --soon-bg: #fff0cc; --closed: #8a2130; --closed-bg: #fbe3e6;
  --unk-bg: #eee8e0; --shadow: 0 1px 2px rgb(60 30 0 / .06), 0 6px 18px rgb(60 30 0 / .07);
  --radius: 16px; --head: "Bricolage Grotesque", system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  color-scheme: light;
  /* spacing scale (2026-11-12 spacing pass): use these instead of one-off pixel values */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --gutter: 16px;      /* page side margin */
  --section: 24px;     /* space between page sections */
  --card-pad: 16px;    /* inside every card / box */
  --hero-pad: 16px;    /* inside page heroes */
  --radius-sm: 12px;   /* notes, inputs, small boxes (cards use --radius, heroes + dialogs --radius-lg) */
  --radius-lg: 22px;
  --title: clamp(30px, 5vw, 44px);   /* every page title (h1) except the spot name, About hero and The Glizette */
}
@media (min-width: 861px) { :root { --gutter: 24px; --section: 32px; --hero-pad: 24px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120f; --card: #221b17; --bun: #2a211b; --ink: #f6ede3; --muted: #b4a597; --line: #3a2f27;
    --open: #5fd68b; --open-bg: #173524; --soon: #ffc766; --soon-bg: #3a2c10; --closed: #ff8b99; --closed-bg: #3a1a1f;
    --unk-bg: #2f2822; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn/.coach set display, which would otherwise un-hide them */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); }
a { color: var(--ketchup); }
@media (prefers-color-scheme: dark) { a { color: var(--mustard); } }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .4em; }
.muted { color: var(--muted); }
.pad { padding: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--ketchup); color: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .15); }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 800 22px var(--head); letter-spacing: -.02em; }
.brand img { display: block; height: 38px; width: auto; }
@media (max-width: 380px) { .brand img { height: 32px; } }
.top-actions { display: flex; gap: 8px; }
.top .btn { background: var(--mustard); color: #2b1d00; }
.top .btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 2px solid transparent; background: var(--ketchup); color: #fff;
  font: 600 14px/18px var(--body); padding: 9px 14px;   /* fixed line height: an emoji label no longer makes a 41px button */ border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn:disabled { opacity: .6; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 13px;
  font: 500 14px var(--body); cursor: pointer; }
.chip.small { padding: 4px 10px; font-size: 13px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip:focus-visible, .btn:focus-visible, .card:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }


/* home map (the map-first layout itself is in css/home.css) */
#map { width: 100%; height: 100%; background: var(--unk-bg); }
@media (max-width: 860px) {
  .top .btn.ghost { display: none; }
  .chip { flex: 0 0 auto; }
}

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow);
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgb(60 30 0 / .08), 0 10px 26px rgb(60 30 0 / .12); }
.card h3 { font-size: 19px; margin: 6px 0 2px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dist { font: 600 13px var(--body); color: var(--muted); }
.addr { margin: 0; color: var(--muted); font-size: 13.5px; }
.desc { margin: 6px 0 10px; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bun); border: 1px solid var(--line); color: var(--ink); }
.tag.late { background: #241a3d; color: #e7ddff; border-color: #241a3d; }
.tag.unv { background: transparent; color: var(--muted); border-style: dashed; }
.tag.wts { background: transparent; color: var(--relish); border-color: var(--relish); font-weight: 600; }
@media (prefers-color-scheme: dark) { .tag.wts { color: #8fe36a; border-color: #8fe36a; } }
.status { display: inline-block; font: 600 12.5px var(--body); padding: 3px 9px; border-radius: 999px; }
.status.open { background: var(--open-bg); color: var(--open); }
.status.soon { background: var(--soon-bg); color: var(--soon); }
.status.closed { background: var(--closed-bg); color: var(--closed); }
.status.unknown { background: var(--unk-bg); color: var(--muted); }
.stars { font-weight: 600; color: var(--mustard-d); font-size: 14px; white-space: nowrap; }
.stars.none { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.stars small { color: var(--muted); font-weight: 400; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty .big { display: block; width: 56px; height: auto; margin: 0 auto 10px; }

/* map pins */
.pin { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); }
.pin .in { width: 27px; height: 27px; border-radius: 50%; background: #fff; display: grid; place-items: center; transform: rotate(45deg); }
.pin .in img { display: block; width: 19px; height: auto; }
/* same code as the home map: green = open, amber = closing within the hour, grey = closed or unknown, red = this spot */
.pin.open { background: var(--relish); } .pin.soon { background: #e0a000; } .pin.closed, .pin.unknown { background: #a99c8f; } .pin.sel { background: var(--ketchup); }
.leaflet-popup-content { font: 14px var(--body); }
.you { width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; animation: you-pulse 2s infinite; }
@keyframes you-pulse {
  0% { box-shadow: 0 0 0 0 rgb(26 115 232 / .55); }
  70% { box-shadow: 0 0 0 16px rgb(26 115 232 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(26 115 232 / 0); }
}
@media (prefers-reduced-motion: reduce) { .you { animation: none; box-shadow: 0 0 0 6px rgb(26 115 232 / .25); } }

/* offline banner */
.offline { background: var(--ink); color: var(--bg); text-align: center; font: 600 14px var(--body); padding: 8px 16px; }

/* install coach (Private Weiner placeholder) */
.coach { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 1100; max-width: 520px;
  margin: 0 auto; display: flex; gap: 12px; align-items: center; background: var(--card); color: var(--ink);
  border: 2px solid var(--mustard); border-radius: 18px; padding: 12px 44px 12px 14px; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.coach-art { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mustard); }
.coach-text { display: grid; gap: 2px; font-size: 14px; flex: 1; }
.coach-text svg { vertical-align: -3px; color: #1a73e8; }
.coach .x { top: 8px; right: 8px; width: 28px; height: 28px; font-size: 18px; }

/* dialogs */
dialog.sheet { border: 0; padding: 0; border-radius: 22px; width: min(560px, calc(100vw - 20px)); max-height: 88vh; background: var(--card);
  color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
dialog.sheet::backdrop { background: rgb(20 10 5 / .55); backdrop-filter: blur(2px); }
#detailBody, #submitForm { padding: 22px 20px 20px; position: relative; }
#detailBody h2 { font-size: 26px; margin-top: 8px; }
.x { position: absolute; right: 12px; top: 10px; border: 0; background: var(--unk-bg); color: var(--ink); width: 34px; height: 34px;
  border-radius: 50%; font-size: 22px; cursor: pointer; line-height: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
table.hours { border-collapse: collapse; width: 100%; max-width: 360px; margin-bottom: 10px; font-size: 14px; }
table.hours th { text-align: left; font-weight: 600; width: 60px; padding: 3px 0; }
table.hours td { padding: 3px 0; }
table.hours tr.today { background: var(--bun); font-weight: 700; }
table.hours tr.today th { padding-left: 6px; }
.warn { background: var(--soon-bg); color: var(--soon); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.note { background: var(--bun); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.rate { display: flex; align-items: center; gap: 2px; margin-bottom: 14px; flex-wrap: wrap; }
.rate button { border: 0; background: none; font-size: 30px; color: var(--line); cursor: pointer; padding: 0 2px; }
.rate button.on, .rate button:hover { color: var(--mustard-d); }
.rate .muted { margin-left: 8px; font-size: 13px; }
.sources ul { padding-left: 18px; font-size: 13px; }
h4 { margin-top: 18px; font-size: 16px; display: flex; gap: 10px; align-items: center; }

/* form */
#submitForm label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
/* one text-box style for the add-spot, report, flag, review and photo-caption forms (was copied five times) */
#submitForm input, #submitForm textarea, #reportForm textarea, #reportForm input[type="email"], #flagForm textarea, .gr-body textarea,
.ph-form input[name="caption"] { font: 400 16px var(--body);   /* 16px, not 15: iPhone zooms in on smaller text boxes and stays zoomed after */ padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
#submitForm input:not([type="hidden"]), #submitForm textarea { width: 100%; min-width: 0; }   /* the State box ran off the sheet on phones */
.row2 > label { min-width: 0; }
/* "Add a spot" sheet states (js/app.js submitState): checking → members-only card → form → thanks */
.submit-wait { color: var(--muted); margin: 6px 0 14px; }
.submit-gate { display: flex; gap: 14px; align-items: flex-start; background: var(--bun); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; margin: 4px 0 14px; }
.submit-gate[hidden], #submitFields[hidden], .submit-wait[hidden] { display: none; }
.submit-gate img { flex: none; width: 56px; height: auto; }
.submit-gate b { font-size: 17px; }
.submit-gate p { margin: 4px 0 12px; font-size: 14px; }
/* The three-step "Add a spot" sheet (#addDlg, js/addspot.js; mockups approved 2026-11-13) */
.add-sheet form { padding: 18px 18px 14px; }
.add-sheet h2 { margin: 0 0 10px; }
.add-sheet [hidden] { display: none !important; }
.aw-steps { display: flex; gap: 5px; margin: 0 0 12px; }
.aw-steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.aw-steps i.on { background: var(--ketchup); }
.aw-wait { color: var(--muted); margin: 6px 0 14px; }
.aw-lbl { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.aw-lbl small { font-weight: 400; color: var(--muted); }
.aw-field { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); }
.aw-field:focus-within { border-color: var(--mustard-d); outline: 3px solid rgb(255 198 41 / .35); }
.aw-field svg { flex: none; color: var(--muted); }
.aw-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 16px var(--body); padding: 12px 0; }
.add-sheet input:not([type="hidden"]):not([type="file"]):not(.aw-field input), .add-sheet textarea { width: 100%; min-width: 0; font: 400 16px var(--body); padding: 10px 12px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.aw-hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--card); color: var(--ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.aw-hit:hover { border-color: var(--muted); }
.aw-hit .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--bun); display: grid; place-items: center; font-size: 18px; }
.aw-hit > span:nth-child(2) { display: grid; min-width: 0; }
.aw-hit b { font-size: 14.5px; }
.aw-hit small { color: var(--muted); font-size: 12.5px; }
.aw-hit .go { margin-left: auto; flex: none; font-size: 12.5px; font-weight: 700; color: var(--ketchup); white-space: nowrap; }
.aw-hit.dupe { background: #fff6d6; border-color: var(--mustard-d); }
.aw-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.aw-ok { background: #eaf5e3; color: #2d6a14; border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: 14px; margin: 10px 0 0; }
.aw-choice { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--card); color: var(--ink); text-align: left; font: 700 15px var(--body); cursor: pointer; }
.aw-choice > span:first-child { font-size: 22px; width: 28px; text-align: center; }
.aw-choice small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.aw-choice.main { border-color: var(--ketchup); box-shadow: inset 0 0 0 1px var(--ketchup); }
.aw-link { background: none; border: 0; padding: 8px 0 0; color: var(--ketchup); font: 600 14px var(--body); text-decoration: underline; cursor: pointer; }
.aw-link.inline { padding: 0; font-size: inherit; }
.aw-map { height: 190px; border-radius: 14px; overflow: hidden; margin-top: 4px; border: 1.5px solid var(--line); }
.aw-pin span { display: block; font-size: 36px; line-height: 40px; text-align: center; filter: drop-shadow(0 3px 3px rgb(0 0 0 / .35)); cursor: grab; }
.aw-tip { color: var(--muted); font-size: 12.5px; margin: 6px 0 0; }
.aw-addr { display: grid; grid-template-columns: minmax(0, 1fr) 70px 96px; gap: 8px; margin-top: 10px; }
.aw-addr label { display: grid; gap: 4px; font-weight: 600; font-size: 13px; min-width: 0; }
.aw-addr .aw-wide { grid-column: 1 / -1; }
.aw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-chip { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--card); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.aw-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.aw-seg { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.aw-seg button { flex: 1; border: 0; background: var(--card); color: var(--ink); padding: 9px 0; font: 700 14px var(--body); cursor: pointer; }
.aw-seg button + button { border-left: 1px solid var(--line); }
.aw-seg button[aria-checked="true"] { background: var(--mustard); color: #2b1d00; }
.aw-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.aw-pic { position: relative; width: 76px; height: 76px; }
.aw-pic img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; display: block; border: 1.5px solid var(--line); }
.aw-pic-x { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); background: var(--ink);
  color: var(--bg); font: 700 15px/1 var(--body); cursor: pointer; display: grid; place-items: center; padding: 0; }
.aw-photo-add { position: relative; width: 76px; height: 76px; display: grid; place-content: center; justify-items: center; gap: 2px; border: 1.5px dashed var(--muted);
  border-radius: 12px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; cursor: pointer; }
.aw-photo-add span[aria-hidden] { font-size: 22px; }
.aw-photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.aw-photo-add:focus-within { outline: 3px solid var(--mustard); }
/* Sending: a hot dog cooks across the bun (width = upload %), mustard squiggle on top */
.aw-progress { margin: 14px 0 4px; }
.aw-bun { position: relative; height: 34px; border-radius: 999px; padding: 6px 7px; background: linear-gradient(180deg, #f3c27a, #d99a4e 70%, #c4843c);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12), 0 2px 6px rgb(120 60 0 / .25); overflow: hidden; }
.aw-dog { position: relative; height: 100%; width: 4%; border-radius: 999px; background: linear-gradient(180deg, #d0583a, #a8351f 60%, #8a2a17);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .25); transition: width .25s ease-out; overflow: hidden; }
.aw-mustard { position: absolute; left: 4px; right: 4px; top: 50%; height: 6px; margin-top: -3px;
  background: radial-gradient(circle at 5px -1px, transparent 4px, var(--mustard) 4.5px, var(--mustard) 6px, transparent 6.5px) 0 0 / 10px 6px repeat-x,
              radial-gradient(circle at 0 7px, transparent 4px, var(--mustard) 4.5px, var(--mustard) 6px, transparent 6.5px) 0 0 / 10px 6px repeat-x;
  animation: aw-squirt .6s linear infinite; }
@keyframes aw-squirt { to { background-position: 10px 0, 10px 0; } }
.aw-prog-txt { margin: 8px 0 0; text-align: center; font-weight: 700; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .aw-mustard { animation: none; } .aw-dog { transition: none; } }
.aw-done { text-align: center; padding: 6px 0 4px; display: grid; justify-items: center; gap: 8px; }
.aw-done h3 { font: 800 24px var(--head, var(--body)); margin: 4px 0 0; }
.aw-done p { margin: 0; }
.aw-done .btn { width: 100%; max-width: 320px; justify-content: center; }
.aw-pts { display: inline-flex; gap: 6px; background: var(--mustard); color: #2b1d00; font-weight: 800; border-radius: 999px; padding: 6px 14px; }
.aw-actions { position: sticky; bottom: 0; background: var(--card); padding: 10px 0 4px; margin-top: 10px; }
.aw-chip:focus-visible, .aw-choice:focus-visible, .aw-hit:focus-visible, .aw-seg button:focus-visible, .aw-link:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
:root[data-night] .aw-hit.dupe { background: #2a2140; }
:root[data-night] .aw-ok { background: #12301f; color: #8be08b; }
.submit-msg { margin: 0 0 10px; min-height: 0; font-weight: 600; }
.submit-msg:empty { display: none; }
.submit-msg.err { color: var(--ketchup); }
.submit-msg.ok { font-size: 17px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.hp { position: absolute !important; left: -9999px; }

.foot { padding: 20px 16px 40px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

/* server-rendered pages: /spot/<slug>, /hot-dogs/<area> */
.page-main { max-width: 1100px; margin: 0 auto; padding: var(--sp-3) var(--gutter) var(--sp-7); }   /* the one frame every page uses */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: var(--sp-4); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
/* page titles: one size and one margin everywhere (the spot name, the About hero and The Glizette keep their own) */
.area-hero h1, .lb h1, .mh h1, .legal h1, .army h1, .chow-hero h1, .gear-hero h1 {
  font-size: var(--title); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 var(--sp-2); }
/* section headings + the space between sections */
.about h2, .legal h2, .lb-h2, .nearby h2, .army-how h2 { font: 800 22px/1.15 var(--head); margin: var(--section) 0 var(--sp-3); }
.area-hero { padding: var(--hero-pad); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(circle at 92% -30%, rgb(255 198 41 / .45), transparent 55%), var(--bun); }
.area-hero p { margin: 4px 0 0; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.price { font: 700 14px var(--body); color: var(--relish); }
.countdown { margin: 10px 0 6px; font: 700 17px var(--head); color: var(--open); }
.countdown.urgent { color: var(--ketchup); animation: gf-pulse 1.6s ease-in-out infinite; }
@media (prefers-color-scheme: dark) { .countdown.urgent { color: var(--mustard); } }
@keyframes gf-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .countdown.urgent { animation: none; } }
.spot-stars { margin: 10px 0 0; }
.spot-desc { font-size: 16.5px; margin-top: 0; }
.h4 { margin-top: 18px; font-size: 18px; display: flex; gap: 10px; align-items: baseline; }
.mini-map { height: 280px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--unk-bg); overflow: hidden; z-index: 0; }
.mini-map.tall { height: min(70vh, 560px); position: sticky; top: 74px; }
.small { font-size: 13px; }
.linkish { border: 0; background: none; padding: 0; font: 600 14.5px var(--body); color: var(--ketchup); cursor: pointer; text-decoration: underline; }
@media (prefers-color-scheme: dark) { .linkish { color: var(--mustard); } }
.closed-banner { background: var(--closed-bg); color: var(--closed); border: 2px solid currentColor; border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; display: grid; gap: 2px; }
.nearby { margin-top: var(--section); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; align-content: start; }
.link-card { display: block; color: inherit; text-decoration: none; }
.link-card h3 { color: var(--ink); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; align-items: start; }
.area-grid .card-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.area-count { font-size: 15px; }
.more-areas, .area-block { margin-top: var(--section); }
.chip small { margin-left: 2px; }
a.chip { text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.state-list { columns: 3 260px; column-gap: 28px; }
.state-list > div { break-inside: avoid; margin-bottom: 14px; }
.state-list h3 { font-size: 17px; margin: 0 0 4px; }
.state-list ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.state-list li { margin: 2px 0; }
.pin.big { width: 46px; height: 46px; }
.pin.big .in { width: 33px; height: 33px; }
.pin.big .in img { width: 23px; }
.notfound { text-align: center; padding: 60px 16px; }
.notfound .nf-art { display: block; width: 110px; height: auto; margin: 0 auto 12px; }
.countdown .cd-art { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); vertical-align: middle; margin-right: 10px; }
.notfound .actions { justify-content: center; }
#reportForm { padding: 22px 20px 20px; position: relative; display: grid; gap: 10px; }
#reportForm label:not(.chip) { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
#reportForm .chip { display: inline-flex; gap: 6px; align-items: center; }
#reportForm .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
#reportForm .chip input { accent-color: var(--ketchup); margin: 0; }
@media (max-width: 860px) {
  .area-grid { grid-template-columns: 1fr; }
  .mini-map.tall { position: relative; top: 0; height: 320px; order: -1; }
  .area-side { order: -1; }
  .area-grid { display: flex; flex-direction: column-reverse; }
  .top-actions .btn { font-size: 13px; padding: 8px 12px; }
}

/* ── Enlist accounts (/enlist, /me) ── */
.me-chip { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.top .btn.ghost.me-on { background: rgb(255 255 255 / .14); }
.acct { max-width: 560px; display: grid; gap: 14px; }
.acct-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); }
.acct-card h1 { font-size: clamp(26px, 6vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.acct-card h2 { font-size: 20px; }
.acct-card p { margin: 0 0 12px; }
.acct-art { float: right; width: 96px; height: auto; margin: -6px -4px 6px 12px; }
.acct-card .acct-form, .acct-card .acct-err, .acct-card .acct-ok, .acct-card .actions { clear: both; }
.acct-form { display: grid; gap: 10px; margin: 6px 0 10px; }
.acct-form.inline { grid-template-columns: 1fr auto; align-items: end; }
.acct-form label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.acct-form input { font: 16px var(--body); padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg);
  color: var(--ink); width: 100%; box-sizing: border-box; }
.acct-form input:focus { outline: 3px solid var(--mustard); outline-offset: 1px; border-color: var(--mustard-d); }
.code-form input { font: 700 26px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 6px; text-align: center; }
.acct-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.big { font-size: 17px; padding: 12px 22px; justify-content: center; }
.btn.danger { background: var(--closed); }
.acct-ok, .acct-err { padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; margin: 0 0 12px; }
.acct-ok { background: var(--open-bg); color: var(--open); }
.acct-err { background: var(--closed-bg); color: var(--closed); }
.acct-fine { font-size: 13.5px; color: var(--muted); }
/* /enlist/name: the display name box starts blank; 🎲 Generate Display Name fills in a fun one */
.acct-form .acct-fine { margin: -4px 0 2px; }
.acct-gen { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
/* Continue with Google: Google's own button look (white, grey outline, the four-colour G), the same in 2 AM Mode */
.gsi-btn { clear: both; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px; margin: 6px 0 4px;
  background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; }
.gsi-btn:hover { background: #f6f8fb; }
.gsi-btn:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.acct-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; margin: 10px 0 2px !important; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.acct-card.danger { border-color: var(--closed-bg); }
.me-head { display: flex; gap: 16px; align-items: center; }
.me-head h1 { margin: 0 0 2px; overflow-wrap: anywhere; }
.me-head p { margin: 0; }
.rank-badge { flex: none; width: 80px; height: 80px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ketchup); }
.rank-label { font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--ketchup); }
.ladder { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.ladder li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.ladder li.here { border: 2px solid var(--mustard-d); background: var(--bun); }
.ladder .ins { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--mustard); }
.ladder li:not(.here) .ins { filter: saturate(.7); }
@media (prefers-color-scheme: dark) { .rank-label { color: var(--mustard); } }
@media (max-width: 860px) { .top .btn.ghost.me-chip { display: inline-block; } }   /* phones hide other ghost buttons, not this one */
@media (max-width: 520px) {
  .wide-only { display: none; }
  .acct-form.inline { grid-template-columns: 1fr; }
  .me-chip { max-width: 120px; }
}

/* ── Terms + Privacy (/terms, /privacy) ── */
.legal > * { max-width: 760px; }   /* same 1100px frame as every page; the text keeps a readable line length */
.legal h3 { font-size: 16.5px; margin-top: 18px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 22px; }
.legal-draft { background: var(--soon-bg); color: var(--soon); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.legal-quick { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 2px solid var(--mustard-d);
  border-radius: var(--radius); padding: var(--card-pad); margin: 18px 0 8px; box-shadow: var(--shadow); }
.legal-quick img { flex: none; width: 64px; height: auto; }
.legal-quick h2 { margin: 0 0 6px; font-size: 18px; }
.legal-quick ul { margin: 0; padding-left: 18px; }
.legal-table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0 12px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table code { font-size: 12.5px; overflow-wrap: anywhere; }
.legal-other { margin-top: var(--section); color: var(--muted); }
@media (max-width: 520px) { .legal-quick img { width: 48px; } }

/* ── Meet the GlizzyArmy (/army) ── */
.army-intro { font-size: 17px; max-width: 62ch; }
.army-grid { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.army-card { display: flex; gap: 16px; align-items: flex-end; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); }
.army-card img { flex: none; width: 130px; height: auto; }
.army-card h2 { font-size: 24px; margin: 2px 0 6px; }
.army-card p { margin: 0 0 8px; }
.army-perk { font-size: 14px; color: var(--muted); }
.army-how ul { padding-left: 20px; line-height: 1.6; }
@media (max-width: 760px) {
  .army-grid { grid-template-columns: 1fr; }
  .army-card img { width: 104px; }
}

/* ── About GlizzyFinder (/about) ── */
.about-hero { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; }
.about-hero h1 { font-size: clamp(34px, 7.5vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 4px 0 12px; }
.about-hero img { flex: none; width: 150px; height: auto; }
.about-intro { font-size: 18px; max-width: 54ch; margin: 0; }
.about-stats { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 12px; margin: 24px 0 0; }
.about-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); }
.about-stat b { display: block; font: 800 clamp(30px, 6vw, 44px)/1 var(--head); letter-spacing: -.02em; }
.about-stat span { color: var(--muted); font-size: 14.5px; }
.about-stat.big { background: var(--ketchup); border-color: var(--ketchup); color: #fff; }
.about-stat.big b { font-size: clamp(40px, 9vw, 64px); }
.about-stat.big span { color: #fff; font-weight: 600; }
.about-since { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.about-story { max-width: 66ch; }
.about-story p { font-size: 16.5px; line-height: 1.65; }
.about-sig { font-weight: 700; font-family: var(--head); }
.about-chips { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-chips a { display: inline-flex; gap: 8px; align-items: center; padding: 7px 13px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.about-chips a:hover { border-color: var(--mustard-d); }
.about-chips span { background: var(--mustard); color: #1f1a17; border-radius: 999px; padding: 1px 8px; font-size: 12.5px; }
.about-tiles { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 2px; }
.about-tile b { font: 800 32px/1.05 var(--head); }
.about-tile span { color: var(--muted); font-size: 14px; }
.about-tile.recruit { border-style: dashed; border-color: var(--mustard-d); background: var(--bun); }
.about-tile .about-tile-k { color: var(--ink); font: 700 16px var(--head); }
.about-tile a { margin-top: 4px; font-weight: 600; font-size: 14px; }
.about-intel ul, .about-thanks ul { padding-left: 20px; line-height: 1.6; max-width: 72ch; }
.about-intel li, .about-thanks li { margin: 6px 0; }
.about-help-grid { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-help-grid a, .about-help-grid button { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; width: 100%; height: 100%;
  text-align: left; padding: var(--card-pad); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; box-shadow: var(--shadow); }
.about-help-grid a:hover, .about-help-grid button:hover { border-color: var(--mustard-d); }
.about-help-grid [aria-hidden] { grid-row: span 2; font-size: 22px; }
.about-help-grid span:not([aria-hidden]) { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .about-hero img { width: 96px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .about-stat { padding: 12px; }
  .about-stat span { font-size: 13px; }
  .about-stat.big { grid-column: 1 / -1; }
  .about-tiles, .about-help-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .about-help-grid { grid-template-columns: 1fr; }
  .about-tiles { gap: 10px; }
  .about-tile { padding: 12px; }
}

/* ── The General's Take (spot pages; written in /admin → Takes) + the Glizzy Approved seal ── */
.tag.seal { background: var(--ketchup); border-color: var(--ketchup); color: #fff; font-weight: 700; text-decoration: none; }
.take { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--card);
  border: 2px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); margin: 0 0 18px; box-shadow: var(--shadow); scroll-margin-top: 84px; }
.take-approved { border-color: var(--mustard-d); background: radial-gradient(circle at 0% 100%, rgb(255 198 41 / .22), transparent 60%), var(--card); }
.take-art { width: 112px; height: auto; align-self: end; }
.take-art.head { width: 84px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ketchup); align-self: start; justify-self: center; }
.take-kicker { font: 800 12.5px var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--ketchup); margin: 0; }
.take .stamp { display: inline-block; margin: 8px 0 4px; padding: 3px 10px; border: 3px double currentColor; border-radius: 6px;
  font: 800 14px var(--head); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-4deg); color: var(--muted); }
.take-approved .stamp { color: var(--closed); }
.take-at_ease .stamp { color: var(--open); }
.take h2 { font-size: 22px; letter-spacing: -.01em; margin: 6px 0 8px; }
.take-text p:not(.take-kicker):not(.stamp) { margin: 0 0 10px; line-height: 1.6; }
.take-text .take-sign { font: 700 15px var(--head); margin: 4px 0 0; }
.take-sign::before { content: "— "; }
.take-sign small { font: 400 13px var(--body); color: var(--muted); }
.take-preview { grid-column: 1 / -1; margin: 0; background: var(--soon-bg); color: var(--soon); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; }
/* Glizzy Score (Enlisted sub-scores; api/review.php) + dog tags + "Rate it like a General" + reviews */
.gs-chip { margin: 10px 0 0; }
.gs-chip a { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--bg);
  text-decoration: none; font: 600 13px var(--body); }
.gs-chip b { font: 800 18px var(--head); color: var(--mustard); }
.gscore { margin-top: var(--section); scroll-margin-top: 84px; }
.gs-line { margin: 0 0 10px; }
.gs-big b { font: 800 34px/1 var(--head); letter-spacing: -.02em; }
.gs-big small { font: 700 15px var(--head); color: var(--muted); margin-left: 2px; }
.dogtags { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; max-width: 420px; }
.dogtag { display: grid; grid-template-columns: 78px minmax(0, 1fr) 30px; gap: 8px; align-items: center; padding: 5px 10px 5px 20px; position: relative;
  background: linear-gradient(135deg, #e9e6e1, #c9c4bc); color: #2a2622; border-radius: 8px 14px 14px 8px; font-size: 13px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 1px 2px rgb(0 0 0 / .15); }
.dogtag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 1px 1px rgb(0 0 0 / .35); }
.dt-label { font: 800 11.5px var(--head); text-transform: uppercase; letter-spacing: .1em; }
.dt-bar { height: 8px; border-radius: 99px; background: rgb(0 0 0 / .12); overflow: hidden; }
.dt-bar i { display: block; height: 100%; border-radius: 99px; background: var(--ketchup); }
.dt-bun .dt-bar i { background: #c98b3a; } .dt-toppings .dt-bar i { background: var(--relish); }
.dt-value .dt-bar i { background: var(--mustard-d); } .dt-vibe .dt-bar i { background: #5b4a91; }
.dogtag b { font: 800 14px var(--head); text-align: right; }
.dogtags.small { display: flex; flex-wrap: wrap; gap: 4px; max-width: none; margin: 4px 0 6px; }   /* a review's tags: one compact row */
.dogtags.small .dogtag { display: inline-flex; gap: 5px; padding: 1px 9px 1px 17px; font-size: 12px; }
.dogtags.small .dogtag::before { left: 6px; width: 6px; height: 6px; margin-top: -3px; }
.dogtags.small .dt-bar { display: none; }
.dogtags.small .dt-label { font-size: 10.5px; }
.dogtags.small b { font-size: 12.5px; }
.gr { margin: 6px 0 14px; }
.gr-enlist { background: var(--bun); border: 1px dashed var(--mustard-d); border-radius: 12px; padding: 10px 14px; margin: 0; }
.gr-form { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); }
.gr-form h3 { margin: 0 0 8px; font-size: 18px; }
.gr-row { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 10px; }
.gr-row legend { float: left; padding: 0; font-size: 14px; }
.gr-row legend small { color: var(--muted); font-size: 12.5px; }
.gr-dogs { display: inline-flex; gap: 2px; }
.gr-dogs label { cursor: pointer; font-size: 24px; line-height: 1; padding: 2px; filter: grayscale(1); opacity: .35; transition: transform .12s, opacity .12s; }
.gr-dogs label.on { filter: none; opacity: 1; }
.gr-dogs label:hover { transform: translateY(-2px) rotate(-6deg); }
.gr-dogs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gr-dogs label:has(input:focus-visible) { outline: 3px solid var(--mustard); border-radius: 6px; }
.gr-body { display: grid; gap: 4px; font-weight: 600; font-size: 14px; margin-top: 6px; }
.gr-body small { font-weight: 400; color: var(--muted); }
.gr-h { font-size: 17px; margin: 18px 0 8px; }
.reviews { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.review { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; }
.rv-head { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); }
.rv-who { margin: 0; font-size: 14px; }
.rv-rank { font: 800 11px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--ketchup); }
.rv-body { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
:root[data-night] .gs-chip a { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--neon-cyan); }
:root[data-night] .gr-enlist { background: var(--card); border-color: var(--neon-pink); }
@media (prefers-color-scheme: dark) { .rv-rank { color: var(--mustard); } .gs-chip a { background: var(--bun); color: var(--ink); } }
/* 📸 Field photos (api/photo.php) + the 🚩 report dialog */
.photos-sec { margin-top: var(--section); scroll-margin-top: 84px; }
.pgrid { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.pthumb { display: block; padding: 0; border: 0; background: var(--unk-bg); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; width: 100%; }
.pthumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.pthumb:hover img { transform: scale(1.04); }
.pthumb:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.ph-form { margin-top: 6px; }
.ph-form input[type="file"] { font: 14px var(--body); }

/* ── Photo viewer (js/lightbox.js, 2026-11-15): full screen, always dark (like any photo viewer), in light mode and 2 AM Mode ── */
html.lb-open, html.lb-open body { overflow: hidden; }   /* page scroll stays put while it's open */
dialog.lb { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(14 10 8 / .95); color: #f6ede3; grid-template-rows: auto minmax(0, 1fr) auto auto; overscroll-behavior: contain; color-scheme: dark; }
dialog.lb[open] { display: grid; }
dialog.lb::backdrop { background: rgb(0 0 0 / .5); }
.lb-top { display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left)); }
.lb-count { margin: 0; font: 700 15px/1 var(--head); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.lb-tools { display: flex; gap: 8px; margin-left: auto; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; height: 44px; padding: 0 16px; border: 1px solid rgb(255 255 255 / .28);
  border-radius: 999px; background: rgb(255 255 255 / .08); color: #fff; font: 600 14px/1 var(--body); cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .18); }
.lb-x { padding: 0; font-size: 28px; font-weight: 400; }
.lb-ico { font-size: 11px; letter-spacing: -1px; }
.lb-play[aria-pressed="true"] { background: var(--mustard); border-color: var(--mustard); color: #1f1a17; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 4px 72px 10px; touch-action: pan-y pinch-zoom; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 12px 44px rgb(0 0 0 / .55);
  transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.lb-img:not([src]) { visibility: hidden; }
.lb-stage.is-loading .lb-img { opacity: .35; }
.lb-stage.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%;
  border: 4px solid rgb(255 255 255 / .22); border-top-color: var(--mustard); animation: lbspin .8s linear infinite; }
@keyframes lbspin { to { transform: rotate(360deg); } }
.lb-nav { position: absolute; top: 50%; z-index: 1; width: 50px; height: 50px; margin-top: -25px; padding: 0 0 4px; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .14); color: #fff; font: 400 36px/1 var(--body); cursor: pointer; }
.lb-nav:hover { background: rgb(255 255 255 / .28); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-bar { position: absolute; left: 72px; right: 72px; bottom: 0; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / .15); visibility: hidden; }
.lb.is-playing .lb-bar { visibility: visible; }
.lb-bar i { display: block; width: 100%; height: 100%; background: var(--mustard); transform: scaleX(0); transform-origin: left; }
.lb.is-playing .lb-bar i { animation: lbbar 4s linear forwards; }   /* SLIDE_MS in js/lightbox.js */
@keyframes lbbar { to { transform: scaleX(1); } }
.lb-cap { width: 100%; max-width: 760px; margin: 0 auto; padding: 10px 16px 2px; text-align: center; }
.lb-text { margin: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.lb-by { margin: 3px 0 0; color: #cdbfb2; font-size: 14px; }
.lb-by a { color: var(--mustard); }
.lb-flag { display: none; margin-left: 12px; color: #cdbfb2; font-size: 13px; }
.gf-me .lb-flag { display: inline; }   /* js/spot.js marks <html class="gf-me"> once it knows you're signed in */
.lb-strip { position: relative; display: flex; gap: 6px; margin: 0; padding: 8px 16px max(12px, env(safe-area-inset-bottom)); list-style: none; overflow-x: auto; scrollbar-width: thin; }
.lb-strip li:first-child { margin-left: auto; }   /* centred while it fits, scrolls from the left edge when it doesn't */
.lb-strip li:last-child { margin-right: auto; }
.lb-th { display: block; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: rgb(255 255 255 / .08); opacity: .5; cursor: pointer; }
.lb-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-th:hover { opacity: .85; }
.lb-th.on { opacity: 1; border-color: var(--mustard); }
.lb :focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
@media (max-width: 640px) {
  .lb-stage { padding: 0 0 8px; }
  .lb-img { border-radius: 0; box-shadow: none; }
  .lb-nav { width: 42px; height: 42px; margin-top: -21px; font-size: 30px; background: rgb(0 0 0 / .45); }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-bar { left: 0; right: 0; border-radius: 0; }
  .lb-play-txt { display: none; }
  .lb-play { padding: 0; }
  .lb-th { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } .lb-stage.is-loading::after { animation-duration: 2.4s; } }
/* the spot page cover photo opens the viewer too */
.fb-cover-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fb-cover-open:focus-visible { outline: 3px solid var(--mustard); outline-offset: -3px; }
.pf-grid a[data-lb] { cursor: zoom-in; }
.rv-flag { font-size: 12.5px; margin-left: 6px; }
#flagForm { padding: 22px 20px 20px; position: relative; display: grid; gap: 10px; }
#flagForm label:not(.chip) { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
#flagForm .chip { display: inline-flex; gap: 6px; align-items: center; }
#flagForm .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* 🛒 Affiliate links (src/Affiliates.php; every link goes through /go/<id>): the "Affiliate link" label, the spot page's
   "Get it delivered" box (side column, kept apart from the Take and the score) and The Quartermaster's Gear Locker (/gear) */
.tag.aff { background: transparent; color: var(--ink); border-color: var(--muted); border-style: dashed; font-weight: 700; white-space: nowrap; }
.deliver { margin-top: 16px; padding: var(--card-pad); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bun); }
.deliver h2, .deliver h3 { margin: 0 0 8px; }
.deliver h3 { margin-top: 12px; }
.deliver-btn { width: 100%; justify-content: center; margin-bottom: 8px; background: var(--card); }
.deliver-fine { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.gear-preview { background: var(--soon-bg); color: var(--soon); padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 600; }
.gear-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: end; margin-bottom: 10px; }
.gear-hero img { width: 120px; height: auto; }
.gear-kicker { font: 800 12.5px var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--ketchup); margin: 0; }
.gear-quote { font-size: 17px; font-style: italic; margin: 0 0 8px; }
.gear-disclose { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 70ch; }
.gear-shelf { margin-top: var(--section); }
.gear-shelf h2 { margin: 0; padding-bottom: 4px; border-bottom: 3px double var(--line); }
.gear-shelf > .muted { margin: 6px 0 12px; }
.gear-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gear-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--card-pad);
  display: flex; flex-direction: column; }
.gear-card h3 { margin: 0 0 6px; font-size: 17px; }
.gear-blurb { margin: 0 0 10px; color: var(--muted); font-style: italic; }
.gear-go { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gear-foot { margin-top: var(--section); }
@media (max-width: 520px) {
  .gear-hero { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .gear-hero img { width: 76px; }
}
@media (prefers-color-scheme: dark) { .gear-kicker { color: var(--mustard); } }
/* /me: Service record (points ledger) + the promotion ceremony (js/ceremony.js) */
.sr-bar { height: 14px; border-radius: 99px; background: var(--unk-bg); overflow: hidden; border: 1px solid var(--line); }
.sr-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--mustard), var(--ketchup)); }
.sr-next { margin: 8px 0 12px; }
/* /me → My spots (the spots a member sent in, Gf\Submissions::mine) */
.my-spots { list-style: none; padding: 0; margin: 0 0 12px; }
.my-spots li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ms-what { display: grid; gap: 1px; min-width: 0; }
.ms-what small { font-size: 12.5px; }
.ms-why { color: var(--ketchup-d); }
.ms-st { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ms-st.wait { background: var(--bun); color: #7a5600; }
.ms-st.live { background: #eaf5e3; color: #2d6a14; }
.ms-st.no { background: #f6e3e5; color: var(--ketchup-d); }
:root[data-night] .ms-st.wait { background: #2a2140; color: var(--mustard); }
:root[data-night] .ms-st.live { background: #12301f; color: #8be08b; }
:root[data-night] .ms-st.no { background: #3a1420; color: #ff9aa8; }
.ledger { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.ledger li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 14.5px; }
.lg-pts { font: 800 15px var(--head); color: var(--open); text-align: right; }
.lg-pts.neg { color: var(--closed); }
.lg-pts.held { color: var(--muted); }
.sr-held { margin: 6px 0 0; font-size: 14px; }
.sr-how summary { cursor: pointer; font-weight: 600; }
.sr-how ul { padding-left: 20px; margin: 8px 0 0; line-height: 1.55; font-size: 14.5px; }
dialog.ceremony { border: 0; border-radius: 24px; padding: 26px 22px 22px; max-width: min(440px, calc(100vw - 32px)); text-align: center;
  background: radial-gradient(circle at 50% 30%, rgb(255 198 41 / .55), transparent 60%), var(--card); color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
dialog.ceremony[open]:not(:modal) { position: relative; margin: 0 auto 14px; display: block; }
dialog.ceremony::backdrop { background: rgb(31 26 23 / .72); }
.cer-art { width: auto; height: 240px; display: block; margin: 0 auto 6px; }
.ceremony.go .cer-art { animation: gf-salute .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes gf-salute { from { transform: translateY(40px) scale(.85); opacity: 0; } 60% { transform: translateY(-6px) rotate(-3deg); } to { transform: none; opacity: 1; } }
.cer-kicker { font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .18em; color: var(--ketchup); margin: 0; }
.ceremony h2 { font-size: clamp(26px, 7vw, 34px); margin: 4px 0 8px; }
.ceremony .actions { justify-content: center; margin-top: 14px; }
.ceremony form { display: inline; }
@media (prefers-reduced-motion: reduce) { .ceremony.go .cer-art { animation: none; } }
@media (prefers-color-scheme: dark) { .cer-kicker { color: var(--mustard); } }
@media (prefers-color-scheme: dark) { .take-kicker { color: var(--mustard); } }
:root[data-night] .take-kicker { color: var(--neon-cyan); }
:root[data-night] .take-approved { border-color: var(--neon-pink); background: var(--card); box-shadow: 0 0 0 1px var(--neon-pink), 0 8px 26px rgb(255 62 165 / .18); }
:root[data-night] .tag.seal { background: var(--neon-pink); border-color: var(--neon-pink); }
@media (max-width: 520px) {
  .take { display: block; padding: 14px; }   /* the General stands top right and the text wraps around him */
  .take-preview { margin-bottom: 10px; }
  .take-art { float: right; width: 74px; margin: 0 0 6px 10px; }
  .take-art.head { width: 60px; }
  .take h2 { font-size: 19px; }
}

/* ── Tip jar (switched on in /admin → data/site.json; js/me.js adds the header icon + dialog) ── */
.top .btn.tip-btn { padding: 7px 10px; }
@media (max-width: 860px) { .top .btn.ghost.tip-btn { display: inline-flex; } }
.tip-dialog { border: 0; border-radius: 22px; padding: 26px 22px 22px; max-width: min(380px, calc(100vw - 32px)); text-align: center;
  background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
.tip-dialog::backdrop { background: rgb(20 12 8 / .55); }
.tip-dialog img { display: block; width: 120px; height: auto; margin: 0 auto 8px; }
.tip-dialog h2 { font-size: 24px; margin: 0; }
.tip-big { font: 800 20px var(--head); color: var(--ketchup); margin: 2px 0 10px; }
.tip-fine { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.tip-dialog .x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--bun); color: var(--ink); font-size: 20px; cursor: pointer; }
@media (prefers-color-scheme: dark) { .tip-big { color: var(--mustard); } }
.tip-card { display: flex; gap: 14px; align-items: center; }
.tip-card img { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--mustard); }
.tip-card p { margin: 0; flex: 1; }

/* ── 2 AM Mode: Lt. Dawg Dixon's night ops (<html data-night>, set by js/night.js 10 PM–5 AM or by the moon button) ── */
:root[data-night] {
  --bg: #0a0d1f; --card: #141933; --bun: #1a1f3d; --ink: #eef0ff; --muted: #9aa3c7; --line: #2a3160;
  --open: #39ff9e; --open-bg: #0f3326; --soon: #ffd23f; --soon-bg: #33290a; --closed: #ff6b9a; --closed-bg: #3a1226;
  --unk-bg: #1d2240; --neon-pink: #ff3ea5; --neon-cyan: #3ef0ff;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 6px 18px rgb(0 0 0 / .35); color-scheme: dark;
}
.night-only { display: none; }
:root[data-night] .night-only { display: revert; }
:root[data-night] .day-only { display: none; }
:where(:root[data-night]) a { color: var(--mustard); }   /* low weight, like the dark-mode rule: buttons/cards keep their own colors */
:root[data-night] .top { background: #070a18; box-shadow: 0 2px 0 var(--neon-pink), 0 4px 22px rgb(255 62 165 / .35); }
:root[data-night] .chip.on { background: var(--neon-cyan); border-color: var(--neon-cyan); color: #04121a; }
:root[data-night] .card { border-color: #2f3770; }
:root[data-night] .card:hover { box-shadow: 0 0 0 1px var(--neon-cyan), 0 10px 26px rgb(62 240 255 / .15); }
:root[data-night] .tag.late { background: #2a1f52; border-color: #2a1f52; }
:root[data-night] .tag.wts { color: #8fe36a; border-color: #8fe36a; }
:root[data-night] .coach { border-color: var(--neon-pink); }
:root[data-night] dialog.sheet::backdrop { background: rgb(2 4 14 / .7); }
/* map: the tiles themselves go dark (CARTO Dark Matter via Night.tiles in js/night.js); no colour filter needed */
:root[data-night] #map, :root[data-night] .mini-map { background: #0a0d1f; }
:root[data-night] .leaflet-container .leaflet-control-attribution { background: rgb(10 13 31 / .75); color: var(--muted); }
:root[data-night] .leaflet-popup-content-wrapper, :root[data-night] .leaflet-popup-tip { background: var(--card); color: var(--ink); }
:root[data-night] .leaflet-bar a { background: var(--card); color: var(--ink); border-color: var(--line); }
:root[data-night] .pin { border-color: #0a0d1f; }
:root[data-night] .pin.open { background: var(--open); box-shadow: 0 0 14px rgb(57 255 158 / .85); }
:root[data-night] .pin.closed, :root[data-night] .pin.unknown { background: #59608a; box-shadow: none; }
:root[data-night] .pin.soon { background: var(--soon); box-shadow: 0 0 12px rgb(255 210 63 / .7); }
:root[data-night] .pin.sel { background: var(--neon-pink); box-shadow: 0 0 16px rgb(255 62 165 / .8); }
/* moon / sun button in the header */
.top .btn.night-btn { padding: 7px 10px; }
:root[data-night] .top .btn.night-btn { color: var(--mustard); border-color: var(--mustard); box-shadow: 0 0 10px rgb(255 198 41 / .4); }
@media (max-width: 860px) { .top .btn.ghost.night-btn { display: inline-flex; } }
/* Dixon's board */
.night-ops { display: flex; gap: 14px; align-items: flex-start; margin: 14px 16px 0; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, #141933, #1d1240); border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 0 1px rgb(62 240 255 / .15), 0 0 26px rgb(62 240 255 / .18); color: var(--ink); }
.no-art { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 16px rgb(62 240 255 / .6); }
.no-body { flex: 1; min-width: 0; }
.no-kicker { margin: 0; font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--neon-cyan); }
.no-chat { margin: 2px 0 6px; font: 700 17px/1.3 var(--head); color: #fff; min-height: 1.3em; transition: opacity .25s ease; }
.no-chat.fade { opacity: 0; }
.no-line { margin: 0; font-size: 15px; }
.night-ops .actions { margin: 8px 0 0; }
.night-ops .btn.night-card-btn { background: var(--neon-pink); color: #fff; box-shadow: 0 0 14px rgb(255 62 165 / .45); }
.next-up { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; }
.lds { border: 2px solid var(--mustard); border-radius: 14px; padding: 10px 12px; background: rgb(255 198 41 / .07); }
.lds-title { margin: 0; font: 800 18px var(--head); color: var(--mustard); text-shadow: 0 0 12px rgb(255 198 41 / .55); }
.lds-name { margin: 2px 0; font: 800 22px/1.2 var(--head); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.lds-cd { margin: 0; }
/* per-card countdown + the final-15 pulse */
.card .cd { margin: 2px 0 4px; font: 700 14.5px var(--head); color: var(--open); }
.card .cd.final, .no-line.final, .countdown.final { color: var(--neon-pink, #ff3ea5); animation: gf-neon 1.2s ease-in-out infinite; }
.card.final, .lds.final { border-color: var(--neon-pink); animation: gf-neon-box 1.2s ease-in-out infinite; }
@keyframes gf-neon { 50% { text-shadow: 0 0 14px rgb(255 62 165 / .95); opacity: .7; } }
@keyframes gf-neon-box { 50% { box-shadow: 0 0 22px rgb(255 62 165 / .6); } }
@media (prefers-reduced-motion: reduce) {
  .card .cd.final, .no-line.final, .countdown.final, .card.final, .lds.final { animation: none; }
  .card.final, .lds.final { box-shadow: 0 0 16px rgb(255 62 165 / .5); }
  .no-chat { transition: none; }
}
.empty .big.tall { width: 60px; }
@media (max-width: 520px) {
  .night-ops { gap: 10px; padding: 12px; }
  .no-art { width: 48px; height: 48px; }
  .no-chat { font-size: 15.5px; }
}
.page-main .night-ops { margin: 14px 0 0; }
:root[data-night] .card.dim { opacity: .5; }
:root[data-night] .card.dim:hover { opacity: .85; }
/* Phone header: logo + Add + tip jar + moon + Enlist must fit a 360 px screen. The logo gives way first (shrinks),
   so the buttons never push the page wider than the phone. */
@media (max-width: 520px) {
  .top { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .brand { flex: 1 1 auto; min-width: 72px; }
  .brand img { width: 100%; max-width: 135px; height: auto; }
  .top-actions { flex: none; gap: 6px; }
  .top .btn.tip-btn, .top .btn.night-btn { padding: 6px 7px; }
  .top .me-chip { max-width: 96px; }
}
:root[data-night] .spot-hero, :root[data-night] .area-hero { background: radial-gradient(circle at 92% -30%, rgb(255 62 165 / .28), transparent 55%),
  radial-gradient(circle at 0% 130%, rgb(62 240 255 / .14), transparent 50%), var(--bun); border-color: #2f3770; }

/* ── Feeling Glizzy? roulette (js/roulette.js) ── */
.fab { display: none; position: absolute; right: 14px; bottom: 28px; z-index: 1001; width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid #fff; background: var(--mustard); font-size: 28px; line-height: 1; cursor: pointer; place-items: center;
  box-shadow: 0 6px 18px rgb(0 0 0 / .35); }
:root[data-night] .fab { background: var(--neon-pink); border-color: #0a0d1f; box-shadow: 0 0 18px rgb(255 62 165 / .7); }
dialog.roulette { overflow: hidden; }
.rl-body { padding: 22px 20px 20px; position: relative; text-align: center; }
.rl-head { display: flex; gap: 12px; align-items: center; justify-content: center; text-align: left; margin: 0 30px 14px; }
.rl-host { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ketchup); }
dialog.roulette.is-night .rl-host { background: var(--neon-cyan); border-color: var(--neon-pink); box-shadow: 0 0 16px rgb(62 240 255 / .5); }
.rl-kicker { margin: 0; font: 700 13px var(--body); color: var(--muted); }
.rl-head h2 { margin: 0; font-size: 26px; }
.reel { position: relative; box-sizing: content-box; height: 64px; overflow: hidden; border-radius: 16px; border: 3px solid var(--mustard-d); background: var(--bun);
  box-shadow: inset 0 10px 14px -10px rgb(0 0 0 / .35), inset 0 -10px 14px -10px rgb(0 0 0 / .35); }
dialog.roulette.is-night .reel { border-color: var(--neon-cyan); box-shadow: 0 0 18px rgb(62 240 255 / .3), inset 0 10px 14px -10px #000, inset 0 -10px 14px -10px #000; }
.reel-item { height: 64px; text-align: center; padding: 0 14px; font: 800 22px/64px var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel.rolling .reel-strip { filter: blur(.6px); }
.rl-result:not(:empty) { margin-top: 14px; }
.rl-line { margin: 0 0 4px; font: 700 16px var(--body); color: var(--ketchup); }
:root[data-night] .rl-line { color: var(--neon-pink); }
@media (prefers-color-scheme: dark) { :root:not([data-night]) .rl-line { color: var(--mustard); } }
.rl-name { margin: 0; font: 800 28px/1.15 var(--head); letter-spacing: -.02em; }
.rl-meta { margin: 6px 0 0; color: var(--muted); font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.rl-result .actions { justify-content: center; margin: 14px 0 8px; }
.rl-fine { margin: 0; font-size: 12.5px; color: var(--muted); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: gf-confetti 1.6s ease-in forwards; }
@keyframes gf-confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), 420px) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } .reel.rolling .reel-strip { filter: none; } }
@media (max-width: 520px) {
  .reel-item { font-size: 19px; }
  .rl-head h2 { font-size: 22px; }
  .rl-name { font-size: 24px; }
  .rl-head { margin: 0 24px 12px; }
}

/* ── First-visit welcome: the GlizzyArmy lineup (js/welcome.js) ── */
.welcome { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px 16px; cursor: pointer;
  background: radial-gradient(circle at 50% 120%, rgb(255 198 41 / .55), transparent 60%), var(--ketchup); color: #fff;
  animation: wl-in .3s ease-out; transition: opacity .4s ease; }
.welcome.is-night { background: radial-gradient(circle at 50% 120%, rgb(255 62 165 / .35), transparent 60%),
  radial-gradient(circle at 50% -20%, rgb(62 240 255 / .2), transparent 55%), #0a0d1f; }
.welcome.out { opacity: 0; pointer-events: none; }
.wl-inner { text-align: center; max-width: 720px; width: 100%; }
.wl-logo { display: block; height: 44px; width: auto; margin: 0 auto 10px; }
.wl-kicker { margin: 0; font: 800 13px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--mustard); }
.wl-title { margin: 4px 0 14px; font: 800 clamp(26px, 6.5vw, 44px)/1.08 var(--head); letter-spacing: -.02em; }
.wl-line { display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 2vw, 18px); height: clamp(150px, 34vh, 280px); }
.wl-dog { height: 100%; width: auto; max-width: 24%; object-fit: contain; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .35));
  opacity: 0; transform: translateY(40px); animation: wl-up .5s cubic-bezier(.2,.9,.3,1.25) forwards; animation-delay: calc(.15s + var(--i) * .14s); }
.wl-sub { margin: 16px 0 0; font: 600 clamp(17px, 4vw, 22px) var(--body); opacity: 0; animation: wl-fade .4s ease forwards .85s; }
.wl-sub b { color: var(--mustard); }
.welcome.is-night .wl-sub b { color: var(--neon-pink, #ff3ea5); text-shadow: 0 0 12px rgb(255 62 165 / .6); }
.wl-skip { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; border: 2px solid rgb(255 255 255 / .7);
  background: rgb(0 0 0 / .15); color: #fff; font: 700 14px var(--body); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
@keyframes wl-in { from { opacity: 0; } }
@keyframes wl-up { to { opacity: 1; transform: none; } }
@keyframes wl-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .welcome { animation: none; }
  .wl-dog, .wl-sub { animation: none; opacity: 1; transform: none; }
}

/* ── The Mess Hall (js/mess.js, src/views/mess_*.php) ── */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mh-lede { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.mh-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mh-main { flex: 999 1 540px; min-width: 0; display: grid; gap: 14px; }
.mh-side { flex: 1 1 260px; min-width: 0; display: grid; gap: 14px; }
.mh-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); }
.mh-box h2 { font-size: 18px; margin: 0 0 8px; }
.mh-box-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.mh-box-head img, .mh-night img { border-radius: 50%; background: var(--mustard); flex: none; }
.mh-box-head h2 { margin: 0; }
.mh-loud { list-style: none; margin: 0; padding: 0; }
.mh-loud li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mh-loud a { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.mh-loud a:hover { text-decoration: underline; }
.mh-n { width: 18px; font: 800 15px var(--head); color: var(--ketchup); }
.mh-rules { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.mh-night { background: #241a3d; color: #ece4ff; border: 0; } .mh-night h2 { color: #fff; } .mh-night .mh-rules { padding-left: 20px; }
.mh-night p { margin: 0; font-size: 14px; } .mh-night b { color: #fff; }

/* avatars: your rank's mascot in its color ring */
.mh-ava { border-radius: 50%; flex: none; background: var(--mustard); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--mustard); }
.mh-ava.rank-lieutenant { background: #241a3d; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #5b4a91; }
.mh-ava.rank-general { background: var(--ketchup); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ketchup); }
.mh-ava.rank-admiral { background: #1f1a17; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #8a7d72; }

/* composer + Enlist card */
.mh-compose { background: var(--card); border: 2px solid var(--mustard); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.mh-compose-top { display: flex; gap: 12px; align-items: flex-start; }
.mh-compose-label { flex: 1; min-width: 0; display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.mh textarea, .mh-spot-pick input, .mh-edit textarea, #mhFlagDlg textarea { font: 15px/1.45 var(--body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; resize: vertical; }
.mh textarea:focus, .mh-spot-pick input:focus { outline: none; border-color: var(--mustard-d); }
.mh-compose-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.mh-compose .mh-compose-row { padding-left: 52px; }
.mh-spot-pick { flex: 1 1 200px; } .mh-spot-pick input { border-radius: 999px; padding: 8px 14px; }
.mh-flairs { border: 0; padding: 0; margin: 0; }
.mh-flairs .chip, #mhFlagDlg .chip { display: inline-flex; gap: 6px; align-items: center; }
.mh-flairs .chip input, #mhFlagDlg .chip input { accent-color: var(--ketchup); margin: 0; }
.mh-flairs .chip:has(input:checked), #mhFlagDlg .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mh-left { margin-left: auto; font-size: 13px; }
.mh-msg { margin: 0; font-size: 14px; color: var(--muted); } .mh-msg:empty { display: none; } .mh-msg.bad { color: var(--closed); }
.mh-enlist { display: flex; gap: 14px; align-items: center; background: var(--bun); border: 2px solid var(--mustard); border-radius: var(--radius); padding: var(--card-pad); }
.mh-enlist img { border-radius: 50%; background: var(--mustard); flex: none; }
.mh-enlist h2 { font-size: 19px; margin: 0 0 2px; } .mh-enlist p { margin: 0 0 10px; font-size: 14px; }
.mh-enlist-dlg { border: 0; border-radius: 22px; padding: 24px 50px 22px 20px; position: relative; }

/* sort tabs + area chips */
.mh-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.mh-sorts { display: flex; gap: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.mh-sorts a { padding: 7px 15px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 600 14px var(--body); }
.mh-sorts a[aria-current] { background: var(--ketchup); color: #fff; }
.mh-areas { margin: 0; } .mh-areas a { text-decoration: none; }
/* "Filter by location" (src/Places.php): picked places as chips inside one search box, matches drop down below */
.mh-where { position: relative; flex: 1 1 280px; min-width: 0; display: grid; gap: 4px; }
.mh-where-label { font: 600 13px var(--body); color: var(--muted); }
.mh-where-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--card); border: 1.5px solid var(--line);
  border-radius: 22px; padding: 5px 6px 5px 10px; min-height: 42px; }
.mh-where-box:focus-within { border-color: var(--mustard-d); }
.mh-where-box input { flex: 1 1 150px; min-width: 0; border: 0; background: none; color: var(--ink); font: 15px var(--body); padding: 5px 4px; outline: none; }
.mh-where-box input::-webkit-search-cancel-button { display: none; }
.mh-where-chip { display: inline-flex; gap: 2px; align-items: center; padding-right: 4px; max-width: 100%; }
.mh-where-chip a { color: inherit; text-decoration: none; font-size: 17px; line-height: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.mh-where-chip a:hover, .mh-where-chip a:focus-visible { background: rgb(255 255 255 / .2); }
.mh-where-clear { justify-self: start; font-size: 13px; color: var(--muted); }
.mh-where-list { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); max-height: 340px; overflow-y: auto; }
.mh-where-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.mh-where-list li span { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.mh-where-list li small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.mh-where-list li[aria-selected="true"], .mh-where-list li[data-key]:hover { background: rgb(255 198 41 / .3); }
.mh-where-list .mh-where-none { color: var(--muted); cursor: default; }

/* pinned staff question */
.mh-pinned { display: flex; gap: 14px; align-items: flex-start; background: var(--bun); border: 1.5px solid var(--mustard); border-radius: var(--radius); padding: 14px 16px; }
.mh-pinned .mh-meta { margin: 0; }
.mh-pinned-body { margin: 6px 0 8px; font: 600 19px/1.3 var(--head); }
.mh-pinned-go { font-weight: 600; font-size: 14px; text-decoration: none; }

/* a post */
.mh-list { display: grid; gap: 12px; }
.mh-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad) var(--card-pad) var(--sp-1); box-shadow: var(--shadow); }
.mh-head { display: flex; gap: 12px; align-items: flex-start; }
.mh-who { flex: 1; min-width: 0; display: grid; font-size: 13.5px; line-height: 1.35; }
.mh-name b { font-size: 15px; }
.mh-meta { color: var(--muted); } .mh-meta a { color: inherit; text-decoration: none; } .mh-meta a:hover { text-decoration: underline; }
.mh-where { color: var(--muted); } .mh-spot { font-weight: 600; text-decoration: none; }
.mh-spot svg { vertical-align: -2px; margin-right: 3px; }
.mh-staff { background: var(--ketchup); color: #fff; border-radius: 999px; padding: 1px 8px; font: 600 11.5px var(--body); vertical-align: 1px; }
.mh-flair { border-radius: 999px; padding: 3px 10px; font: 600 12.5px var(--body); white-space: nowrap; }
.f-take { background: var(--closed-bg); color: var(--closed); } .f-question { background: var(--soon-bg); color: #7a4300; }
.f-heads_up { background: var(--open-bg); color: var(--open); } .f-trip_report { background: var(--unk-bg); color: var(--ink); }
@media (prefers-color-scheme: dark) { .f-question { color: var(--soon); } }
.mh-body { margin: 10px 0 4px; font-size: 15.5px; overflow-wrap: anywhere; }
.mh-to { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.mh-acts { display: flex; align-items: center; flex-wrap: wrap; margin: 0 -8px; }
.mh-act { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: 600 13.5px var(--body);
  padding: 10px; min-height: 44px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.mh-act:hover { color: var(--ink); }
.mh-act:focus-visible { outline: 3px solid var(--mustard); outline-offset: -2px; }
.mh-relish[aria-pressed="true"] { background: var(--open-bg); color: var(--open); }
.mh-relish:disabled { cursor: default; }
.mh-own { display: inline-flex; }
.mh-flag { margin-left: auto; width: 44px; justify-content: center; }
.mh-post.is-gone .mh-body { font-style: italic; color: var(--muted); }
.mh-post.is-flagged { opacity: .55; }
.mh-edit { display: grid; gap: 8px; margin: 10px 0 8px; }
.mh-edit .mh-compose-row { justify-content: flex-end; }

/* fresh ratings strip */
.mh-ratings { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 10px 16px; }
.mh-ratings h2 { font-size: 15px; margin: 0 0 4px; color: var(--muted); }
.mh-ratings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mh-rating { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.mh-rating .mh-ava { box-shadow: none; }

.mh-empty { text-align: center; color: var(--muted); padding: 24px 10px; }
.mh-empty img { border-radius: 50%; background: var(--mustard); }
.mh-more { justify-self: center; }

/* one post's page */
.mh-thread { max-width: 720px; display: grid; gap: 14px; }
.mh-post.is-thread .mh-body { font-size: 18px; }
.mh-spotcard { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; background: var(--bun); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.mh-spotcard-go { margin-left: auto; font-size: 22px; color: var(--muted); }
.mh-replies { display: grid; gap: 10px; }
.mh-replies h2 { font-size: 20px; margin: 6px 0 0; }
.mh-reply-list { display: grid; }
.mh-post.is-reply { box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 0 0; }
.mh-reply-form { display: grid; gap: 8px; background: var(--card); border: 2px solid var(--mustard); border-radius: var(--radius); padding: 12px 14px; }
.mh-reply-form .mh-compose-row { justify-content: flex-end; }

/* spot pages */
.mh-chatter { margin: 26px 0 8px; display: grid; gap: 12px; }
.mh-chatter-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; }
.mh-chatter-head h2 { margin: 0; }
.mh-chatter-head a { font-weight: 600; font-size: 14px; }
.mh-none { margin: 0; }

#mhFlagDlg form { padding: 22px 20px 20px; position: relative; display: grid; gap: 10px; }
#mhFlagDlg label:not(.chip) { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }

@media (max-width: 600px) {
  .mh-compose .mh-compose-row { padding-left: 0; }
  .mh-acts { flex-wrap: nowrap; }
  .mh-act { padding: 10px 8px; }
  .mh-share-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mh-act.is-copied .mh-share-label { position: static; width: auto; height: auto; clip: auto; }
  .mh-filters { gap: 8px; }
  .mh-areas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .mh-areas .chip { flex: 0 0 auto; }
  .mh-where { flex-basis: 100%; }
  .mh-where-box input { font-size: 16px; }   /* 16px+ so iPhones don't zoom in on focus */
  .mh-pinned > img { width: 44px; height: 44px; }
}
/* grid columns may shrink below their content (the sideways-scrolling area chips would otherwise widen the page on phones) */
.mh-main, .mh-side, .mh-list, .mh-thread, .mh-replies, .mh-reply-list, .mh-chatter { grid-template-columns: minmax(0, 1fr); }

/* ── Header nav + "HQ" drawer (js/nav.js). Inline links over 1,240 px; the ☰ drawer below. On phones (≤520 px) the
   header keeps just the logo, Enlist and ☰: Add, tip jar, moon and "Find a dog" live in the drawer instead.
   The drawer sits under the welcome lineup (z-index 3000) and over Leaflet (1000) and the roulette button (1001). ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-nav { display: flex; gap: 2px; margin-right: auto; margin-left: 8px; }
.main-nav a { color: #fff; text-decoration: none; font: 600 14.5px var(--body); padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover { background: rgb(255 255 255 / .14); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--mustard); border-radius: 6px; }
.main-nav a:focus-visible, .nav-drawer a:focus-visible, .nav-drawer button:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.top .btn.nav-toggle { display: none; padding: 6px 9px; }
.top .btn.find-btn { display: none; }
/* 8 links since the Globe joined (2026-11-13): the inline nav needs ~1,240 px, so the ☰ drawer takes over below that,
   and up to 1,400 px the links sit closer and "+ Add a spot" shortens to "+ Add" so the header buttons never get pushed off */
@media (min-width: 1241px) and (max-width: 1400px) {
  .main-nav { gap: 0; margin-left: 4px; }
  .main-nav a { padding: 8px 8px; font-size: 14px; }
  .top .wide-only { display: none; }
}
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .top .btn.nav-toggle { display: inline-flex; }
  .top .btn.find-btn { display: inline-flex; }
}
@media (max-width: 520px) {
  .top .btn.find-btn, .top #submitOpen, .top .btn.ghost.tip-btn, .top .btn.ghost.night-btn, .top #installBtn { display: none; }
  .top .me-chip { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
}
.nav-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgb(20 10 5 / .45); opacity: 0; transition: opacity .2s; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2001; width: min(320px, 86vw); overflow-y: auto;
  padding: max(14px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); background: var(--card); color: var(--ink);
  border-left: 4px solid var(--mustard); box-shadow: -10px 0 30px rgb(0 0 0 / .25); transform: translateX(105%); transition: transform .22s ease-out; }
body.nav-open .nav-backdrop { opacity: 1; }
body.nav-open .nav-drawer { transform: none; }
@media (prefers-reduced-motion: reduce) { .nav-drawer, .nav-backdrop { transition: none; } }
.nav-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.nav-head b { font: 800 26px var(--head); color: var(--ketchup); letter-spacing: -.02em; }
.nav-head span { color: var(--muted); font-size: 13.5px; }
.nav-close { margin-left: auto; border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.nav-list { list-style: none; margin: 0; padding: 6px 0; }
.nav-list + .nav-list { border-top: 1.5px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.nav-list a, .nav-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font: 600 16px var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.nav-list a:hover, .nav-list button:hover { background: var(--bun); }
.nav-list a[aria-current="page"] { background: var(--bun); box-shadow: inset 4px 0 0 var(--ketchup); }
.nav-list span[aria-hidden] { width: 26px; text-align: center; font-size: 19px; }
.nav-list a.nav-add { background: var(--mustard); color: #2b1d00; margin: 4px 0; }   /* "Add a spot": second in the menu, and it shows */
.nav-list a.nav-add:hover { background: var(--mustard-d); }
:root[data-night] .nav-list a.nav-add { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--neon-pink); }
.nav-night::after { content: ""; margin-left: auto; width: 40px; height: 24px; border-radius: 999px; background: var(--line);
  box-shadow: inset -16px 0 0 2px var(--card); transition: background .2s, box-shadow .2s; }
.nav-night[aria-checked="true"]::after { background: #ff3ea5; box-shadow: inset 16px 0 0 2px var(--card); }
.nav-art { display: block; margin: 16px auto 0; opacity: .95; }
:root[data-night] .nav-drawer { background: #0d1128; border-left-color: var(--neon-pink); box-shadow: -10px 0 30px rgb(255 62 165 / .25); }
:root[data-night] .nav-head b { color: var(--neon-pink); text-shadow: 0 0 14px rgb(255 62 165 / .55); }
:root[data-night] .nav-list a:hover, :root[data-night] .nav-list button:hover, :root[data-night] .nav-list a[aria-current="page"] { background: #161b3d; }
:root[data-night] .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--neon-cyan); }
:root[data-night] .main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--neon-cyan); }
:root[data-night] .nav-night::after { box-shadow: inset -16px 0 0 2px #0d1128; }
:root[data-night] .nav-night[aria-checked="true"]::after { box-shadow: inset 16px 0 0 2px #0d1128, 0 0 10px rgb(255 62 165 / .6); }

/* ── The Glizette (/gazette, /gazette/<slug>; js/gazette.js) ── */
/* The nameplate: Chomsky (OFL, fonts/chomsky-OFL.txt), self-hosted and preloaded on these pages ($meta['nameplate']) */
@font-face { font-family: "Chomsky"; src: url("/fonts/chomsky.woff2") format("woff2"); font-display: block; }
.gz-np { font-family: "Chomsky", "UnifrakturMaguntia", "Old English Text MT", serif; font-weight: 400; letter-spacing: 0; color: var(--ink); }
.gz-mast { text-align: center; padding: 14px 0 0; margin-bottom: 16px; }
.gz-mast-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ketchup); }
.gz-mast-top img { flex: none; border-radius: 50%; background: var(--bun); }
.gz-mast h1.gz-np { font-size: clamp(54px, 11vw, 104px); line-height: 1.05; margin: 2px 0 4px; }
.gz-mast .gz-dek { margin: 0 auto 10px; font-style: italic; }
.gz-dateline { display: flex; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; margin: 0; padding: 5px 2px; border-top: 1px solid var(--ink); border-bottom: 4px double var(--ink); font: 600 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.gz-narrow { display: none; }
.gz-mini { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 4px double var(--ink); }
.gz-mini .gz-np { font-size: 34px; line-height: 1; text-decoration: none; }
.gz-mini span { font: 600 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gz-article h1 { font-size: clamp(32px, 7vw, 54px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.gz-dek { margin: 6px 0 0; color: var(--muted); font-size: 16px; max-width: 60ch; }
.gz-numbers { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.gz-numbers li { flex: 1 1 130px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--muted); font-size: 13.5px; }
.gz-numbers b { display: block; font: 800 26px var(--head); color: var(--ink); }
.gz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.gz-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gz-item img { flex: none; border-radius: 50%; background: var(--bun); }
.gz-item h3 { font-size: 21px; margin: 2px 0 4px; }
.gz-item h3 a { color: var(--ink); text-decoration: none; }
.gz-item h3 a:hover { color: var(--ketchup); text-decoration: underline; }
.gz-item p { margin: 0; }
.gz-meta { font-size: 13px; color: var(--muted); }
.gz-side { display: grid; gap: 16px; }
.gz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.gz-card p { margin: 0 0 10px; }
.gz-signup { border: 2px solid var(--mustard); }
.gz-form { display: grid; gap: 10px; position: relative; }
.gz-form .gz-email { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.gz-form input[type="email"] { font: 16px var(--body); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.gz-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.gz-form .chk { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.gz-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gz-form .btn { justify-content: center; font-size: 15px; }
.gz-msg { margin: 0; font-size: 14px; font-weight: 600; }
.gz-msg:empty { display: none; }
.gz-msg.ok { color: var(--open); }
.gz-msg.err { color: var(--closed); }
.gz-map { height: 300px; margin-bottom: 10px; }
.gz-counties { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.gz-counties li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gz-counties small { color: var(--muted); width: 100%; padding-left: 20px; }
.gz-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.gz-st { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.st-hq { background: var(--ketchup); color: #fff; }
.st-liberated { background: var(--relish); color: #fff; }
.st-advancing { background: var(--mustard); color: #2b1d00; }
.st-enemy { background: var(--unk-bg); color: var(--muted); }
.gz-dot.st-enemy { background: #a99d92; }
.gz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.gz-chip { font: 600 12.5px var(--body); padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.gz-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gz-chip[hidden], .gz-fronts > li[hidden] { display: none; }
/* USA / World switch over the campaign map (world rollout, 2026-11-12) */
.gz-seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin: 0 0 8px; }
.gz-seg button { border: 0; background: var(--bg); color: var(--ink); font: 600 13px var(--body); padding: 6px 14px; cursor: pointer; }
.gz-seg button[aria-pressed="true"] { background: var(--ketchup); color: #fff; }
.gz-seg button:focus-visible { outline: 3px solid var(--mustard); outline-offset: -3px; }
.gz-credits summary { cursor: pointer; }
.gz-credits ul { margin: 4px 0 0; padding-left: 18px; }
.gz-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.gz-legend span { display: inline-flex; align-items: center; gap: 5px; }
.gz-legend .gz-dot { width: 10px; height: 10px; }
.gz-fronts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 0; font-size: 14px; }
.gz-fronts > li { border-top: 1px solid var(--line); padding: 8px 0; }
.gz-fronts summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.gz-fronts summary::marker { color: var(--muted); }
.gz-fronts summary small, .gz-special small { color: var(--muted); }
.gz-tally { width: 100%; font-size: 13px; color: var(--muted); padding-left: 16px; }
.gz-special .gz-tally { padding-left: 0; display: block; }
.gz-fronts .gz-counties { margin: 10px 0 2px; }
.gz-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gz-next li { display: flex; gap: 10px; }
.gz-next li > span { font-size: 20px; }
.gz-next small { color: var(--muted); }
.gz-article { max-width: 720px; margin-bottom: 26px; }
.gz-byline { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-weight: 600; }
.gz-byline img { border-radius: 50%; background: var(--bun); }
.gz-body { font-size: 17px; line-height: 1.65; margin-top: 18px; }
.gz-body p, .gz-body ul { margin: 0 0 1em; }
.gazette > .gz-signup { max-width: 720px; }
.gz-more { padding-left: 18px; }
@media (max-width: 900px) {
  .gz-layout { grid-template-columns: 1fr; }
  .gz-side { order: -1; }
}
@media (max-width: 520px) {
  .gz-mast-top img { width: 40px; height: 40px; }
  .gz-wide { display: none; }
  .gz-narrow { display: inline; }
  .gz-dateline { justify-content: space-around; }
  .gz-numbers li { flex-basis: 40%; }
}
:root[data-night] .gz-kicker { color: var(--neon-pink); }
:root[data-night] .gz-signup { border-color: var(--neon-pink); }
:root[data-night] .gz-np { color: var(--neon-cyan); text-shadow: 0 0 12px color-mix(in srgb, var(--neon-cyan) 55%, transparent); }
:root[data-night] .gz-dateline, :root[data-night] .gz-mini { border-color: var(--neon-pink); }
:root[data-night] .gz-mast-top { color: var(--neon-pink); }

/* 21+ badge (bars that serve hot dogs; spots.adults_only, migration 010) */
.tag.adults { background: transparent; color: #8a5a00; border-color: #c98a00; font-weight: 600; }
@media (prefers-color-scheme: dark) { .tag.adults { color: #ffc629; border-color: #ffc629; } }
:root[data-night] .tag.adults { color: #ffc629; border-color: #ffc629; }

/* Sausage spot badge (spots.tier = 'sausage', migration 012) */
.tag.sausage { background: transparent; color: #9a3412; border-color: #c2410c; font-weight: 600; }
@media (prefers-color-scheme: dark) { .tag.sausage { color: #fdba74; border-color: #fdba74; } }
:root[data-night] .tag.sausage { color: #fdba74; border-color: #fdba74; }

/* Quick stop badge + area-page list (spots.tier = 'quick_stop', migration 028: gas stations and convenience stores) */
.tag.quick { background: transparent; color: #1d4ed8; border-color: #3b82f6; font-weight: 600; }
@media (prefers-color-scheme: dark) { .tag.quick { color: #93c5fd; border-color: #93c5fd; } }
:root[data-night] .tag.quick { color: #93c5fd; border-color: #93c5fd; }
.quick-stops { margin: 24px 0; }
.quick-stops summary { cursor: pointer; }
.quick-list { columns: 2 280px; padding-left: 18px; font-size: .92em; }
.quick-list li { break-inside: avoid; margin: 2px 0; }

/* ───────── Spot page, Facebook-Page style (2026-10-07): cover + round profile picture, stats, buttons, a sticky tab bar,
   then Intro / Photos / Claim on the left and the feed (Take, Glizzy Score + reviews, Mess Hall) on the right. ───────── */
.pic-credit { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); display: flex; white-space: nowrap; overflow: hidden;
  padding: 2px 8px; border-radius: 6px; background: rgb(0 0 0 / .62); color: #fff; font: 500 11.5px/1.5 var(--body); text-decoration: none; }
.pic-credit.art { background: rgb(255 255 255 / .9); color: #6d625a; font-weight: 600; }
a.pic-credit:hover { text-decoration: underline; }
.spot-fb { max-width: 1100px; }
.fb-head { background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.fb-cover { position: relative; aspect-ratio: 8 / 3; background: var(--bun); overflow: hidden; }
.fb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-id { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px; margin-top: -64px; position: relative; }
.fb-pic { flex: none; width: 150px; height: 150px; border-radius: 50%; border: 5px solid var(--card); background: var(--bun); overflow: hidden; box-shadow: var(--shadow); }
.fb-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-who { flex: 1; min-width: 0; padding-top: 72px; }
.fb-who h1 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; line-height: 1.08; }
.fb-who .spot-meta { margin-top: 2px; }
.fb-who .addr { margin: 4px 0 0; }
.fb-who .tags { margin-top: 8px; }
.fb-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.fb-stats > p { margin: 0; }
.fb-stat { color: var(--muted); text-decoration: none; } .fb-stat b { color: var(--ink); } .fb-stat:hover { color: var(--ink); }
.fb-tabs { position: sticky; top: 58px; z-index: 900; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 0 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 6px 12px -8px rgb(60 30 0 / .2); }
.fb-acts { padding: 14px 24px; margin: 0; border-bottom: 1px solid var(--line); }   /* was two rules + !important */
.fb-tabs::-webkit-scrollbar { display: none; }
.fb-tabs a { flex: none; padding: 13px 12px 11px; color: var(--muted); font: 600 14.5px var(--body); text-decoration: none; border-bottom: 3px solid transparent; }
.fb-tabs a:hover, .fb-tabs a.on { color: var(--ketchup); border-color: var(--ketchup); }
.fb-tabs small { font-weight: 500; }
.fb-body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.fb-side, .fb-feed { display: grid; gap: 16px; min-width: 0; }
.fb-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: 0 1px 2px rgb(60 30 0 / .05); min-width: 0; }
.fb-card > section, .fb-card > .gscore, .fb-card > .photos-sec { margin: 0; }
.fb-card > :first-child, .fb-card > :first-child > :first-child { margin-top: 0; }   /* no extra gap above a card's first heading */
.fb-h { font: 800 20px var(--head); letter-spacing: -.02em; margin: 0 0 10px; }
.fb-facts { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.fb-facts li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.fb-facts li > span:first-child { width: 22px; flex: none; text-align: center; }
.fb-facts a { word-break: break-word; }
.fb-intro .mini-map { margin-top: 12px; }
.fb-intro table.hours { margin-top: 4px; }
.fb-claim { background: var(--bun); border-style: dashed; }
.fb-claim p { margin: 0 0 10px; }
.fb-claim .claim-status { font-weight: 700; }
.claim-how { margin: 0 0 10px; font-size: 14.5px; }
.claim-how summary { cursor: pointer; font-weight: 700; }
.claim-how ol { margin: 8px 0; padding-left: 20px; }
.claim-how li { margin: 0 0 4px; }
.claim .claim-h { font-size: 18px; margin: 14px 0 6px; }
.claim .claim-steps { margin: 0 0 10px; padding-left: 22px; }
.claim .claim-steps li { margin: 0 0 6px; }
.fb-feed .take { margin: 0; }
.fb-feed .mh-chatter { margin: 0; }
.spot-fb [id] { scroll-margin-top: 56px; }
@media (max-width: 860px) {
  .fb-body { grid-template-columns: 1fr; }
  .fb-feed { order: -1; }   /* phones: the feed (Take, score, reviews) before the Intro, like a Facebook Page */
}
@media (max-width: 600px) {
  .spot-fb { padding-left: 0; padding-right: 0; }
  .fb-head, .fb-tabs { border-radius: 0; border-left: 0; border-right: 0; }
  .fb-cover { aspect-ratio: 16 / 9; }
  .fb-id { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 16px; margin-top: -54px; }
  .fb-pic { width: 112px; height: 112px; border-width: 4px; }
  .fb-who { padding-top: 0; }
  .fb-acts { padding: 12px var(--gutter) 14px; }
  .fb-card, .spot-fb .take { border-radius: 0; border-left: 0; border-right: 0; }
  .spot-fb .crumbs { padding: 0 var(--gutter); }
  /* only the cards above go edge to edge; everything else keeps the page gutter */
  .spot-fb .closed-banner, .spot-fb .deals-here, .spot-fb .mh-chatter, .spot-fb .nearby, .spot-fb .sources,
  .spot-fb .fb-side > p, .spot-fb .deliver { margin-left: var(--gutter); margin-right: var(--gutter); }
}
:root[data-night] .fb-head, :root[data-night] .fb-card { border-color: #2f3770; }
:root[data-night] .fb-tabs a:hover, :root[data-night] .fb-tabs a.on { color: var(--neon-pink); border-color: var(--neon-pink); }
/* owners (Claim this spot, 2026-10-07) */
.owner-tag { font-size: 12.5px; vertical-align: middle; background: #e7f6ec; border-color: #b6e2c4; color: #11803f; }
.fb-pic.is-logo { background: #fff; } .fb-pic.is-logo img { object-fit: contain; padding: 10px; }
.rv-reply { margin: 8px 0 0 4px; padding: 8px 12px; border-left: 3px solid var(--ketchup); background: var(--bun); border-radius: 0 10px 10px 0; }
.rv-reply p { margin: 0; } .rv-reply-who { font-size: 13.5px; margin-bottom: 2px !important; }
.claim .owner-sec h2 { font-size: 20px; margin: 0 0 6px; }
.claim .owner-sec { margin-top: 16px; }
.owner-pics { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0; }
.owner-pics figure { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.op-cover { width: 260px; aspect-ratio: 8 / 3; border-radius: 12px; overflow: hidden; background: var(--bun); display: grid; place-items: center; }
.op-logo { width: 98px; height: 98px; border-radius: 50%; overflow: hidden; background: var(--bun); display: grid; place-items: center; }
.op-cover img, .op-logo img { width: 100%; height: 100%; object-fit: cover; }
.inline-upload { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.owner-review { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
:root[data-night] .owner-tag { background: #0f3326; border-color: #1f6b46; color: var(--open); }

/* ── Member profiles + Follow (release 3): /u/<handle>, /me/profile, the Following feed, hover cards ── */
.btn.on { background: var(--soon-bg); color: var(--soon); border-color: transparent; }
.pf-cover.is-plain { background: repeating-linear-gradient(135deg, var(--ketchup) 0 22px, var(--ketchup-d) 22px 44px); display: grid; place-items: center; }
.pf-plain { font-size: 54px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .3)); }
.pf-cover-edit { position: absolute; right: 12px; bottom: 12px; background: var(--card); color: var(--ink); border-radius: 10px; padding: 6px 12px; font: 600 13px var(--body); text-decoration: none; box-shadow: var(--shadow); }
.pf-pic { position: relative; overflow: visible; background: var(--mustard); }
.pf-pic > img:first-child { border-radius: 50%; }
.pf-pic.is-mascot > img:first-child { object-fit: contain; background: var(--mustard); }
.pf-pic .pf-badge { position: absolute; right: -2px; bottom: 2px; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--card); background: var(--mustard); box-shadow: var(--shadow); }
.pf-handle { margin: 0; color: var(--muted); font-weight: 500; }
.pf-rankline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0; font-size: 14px; }
.pf-rk { font: 700 11.5px var(--body); background: var(--soon-bg); color: var(--soon); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.pf-rk.big { font-size: 13px; border-radius: 999px; padding: 3px 10px; }
.pf-bar { width: 120px; height: 7px; border-radius: 4px; background: var(--unk-bg); overflow: hidden; display: inline-block; }
.pf-bar i { display: block; height: 100%; background: var(--mustard); }
.pf-bio { margin: 8px 0 0; font-size: 15px; }
.pf-stats { margin-top: 8px; }
.pf-mutual { display: flex; align-items: center; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pf-mutual img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--card); margin-right: -8px; object-fit: cover; background: var(--mustard); }
.pf-mutual span { margin-left: 14px; }
.pf-acts .btn { justify-content: center; }
.pf-more { min-width: 44px; }
.pf-blocked, .pf-empty { text-align: center; }
.pf-blocked img, .pf-empty img { height: 120px; width: auto; }
.pf-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pf-h a { font: 600 14px var(--body); text-decoration: none; }
.pf-h3 { margin: 18px 0 8px; font-size: 17px; }
.pf-one { margin-bottom: 16px; }
.pf-ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--mustard); flex: none; display: block; }
.pf-ava.big { width: 96px; height: 96px; }
.pf-owner { display: grid; place-items: center; color: #fff; background: var(--open); font-weight: 800; }
.pf-list { display: grid; gap: 16px; }
.pf-post { padding: 14px 16px; }
.pf-ph { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.pf-ph > div { min-width: 0; }
.pf-who { display: block; font-size: 15px; }
.pf-who a { color: var(--ink); text-decoration: none; }
.pf-who a:hover { text-decoration: underline; }
.pf-verb { display: block; color: var(--muted); font-size: 13px; }
.pf-verb a { color: var(--ink); text-decoration: none; }
.pf-promo { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #fff6d6, #ffe9a8); color: #2b1d00; border-radius: 12px; padding: 12px 14px; }
.pf-promo img { width: auto; height: 90px; flex: none; }
.pf-promo b { display: block; font: 800 20px var(--head); }
.pf-stars { margin: 0 0 6px; color: var(--mustard-d); font-size: 17px; letter-spacing: 1px; }
.pf-stars span { color: var(--line); }
.pf-body { margin: 0 0 8px; }
.pf-parts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; }
.pf-parts li { font: 600 12px var(--body); background: var(--bun); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.pf-go { margin: 0; font-size: 14px; }
.pf-media { display: grid; gap: 3px; margin: 0 -16px 4px; }
.pf-media.n2, .pf-media.n4 { grid-template-columns: 1fr 1fr; }
.pf-media.n3 { grid-template-columns: 2fr 1fr 1fr; }
.pf-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.pf-media:not(.n1) img { aspect-ratio: 1; }
.pf-stamp { color: var(--closed); display: inline-block; padding: 2px 10px; border: 3px double currentColor; border-radius: 6px; font: 800 15px var(--head); transform: rotate(-3deg); margin: 0 0 6px; }
.pf-tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.pf-tags li { display: flex; gap: 10px; align-items: center; background: var(--bun); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.pf-tags li > span:first-child { font-size: 22px; }
.pf-tags small { display: block; color: var(--muted); font-size: 12px; }
.pf-tags li.locked { opacity: .5; filter: grayscale(1); border-style: dashed; }
.pf-tags.small { grid-template-columns: 1fr 1fr; }
.pf-tags.small li { padding: 8px 10px; font-weight: 600; }
/* Milestone dog tags (Founding Battalion #1-#50 … First 10K; src/Milestones.php): a stamped tag across the Dog tags grid,
   the "🪖 #07" pill on profiles and /me, and the spots-left box on /enlist. Gold = Founding Battalion, steel = the rest. */
.pf-tags li.pf-mile { grid-column: 1 / -1; position: relative; gap: 12px; padding: 10px 14px 10px 32px; border-radius: 14px 30px 30px 14px;
  background: linear-gradient(135deg, #f4f1ea, #c9c2b4); border: 1px solid #b9b1a2; color: #1f1a17; box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 2px 6px rgb(0 0 0 / .1); }
.pf-tags li.pf-mile::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--card); box-shadow: inset 0 1px 2px rgb(0 0 0 / .35); }
.pf-tags li.pf-mile.gold { background: linear-gradient(135deg, #fff1b8, var(--mustard)); border-color: var(--mustard-d); }
.pf-tags li.pf-mile > span:first-child { font-size: 26px; }
.pf-tags li.pf-mile b { font: 800 15.5px var(--head); }
.pf-tags li.pf-mile small { color: #5d5248; }
.dt-stamp { margin-left: auto; font: 800 14px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; padding: 3px 8px; border-radius: 8px; background: rgb(0 0 0 / .08); white-space: nowrap; }
.fb-pill { display: inline-flex; gap: 5px; align-items: center; font: 800 12.5px var(--body); padding: 3px 10px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  background: linear-gradient(135deg, #fff1b8, var(--mustard)); color: #4a3700; border: 1px solid var(--mustard-d); }
.fb-pill.steel { background: linear-gradient(135deg, #f4f1ea, #c9c2b4); color: #3b342c; border-color: #b9b1a2; }
.fb-pill .no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.acct-card .me-mile { margin: 6px 0 10px; }
.fb-count { clear: both; display: flex; gap: 12px; align-items: center; border: 2px dashed var(--mustard-d); background: var(--bun); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 14px; }
.fb-count > div { flex: 1; min-width: 0; }
.fb-count .ic { font-size: 30px; line-height: 1; }
.acct-card .fb-count p { margin: 0; }
.fb-count b.n { font: 800 22px var(--head); color: var(--ketchup); }
.fb-count small { display: block; color: var(--muted); font-size: 12.5px; }
.fb-count .fb-full { font-weight: 600; margin-bottom: 2px; }
.fb-meter { display: block; height: 8px; border-radius: 99px; background: var(--line); margin-top: 6px; overflow: hidden; }
.fb-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--mustard-d), var(--ketchup)); border-radius: inherit; }
:root[data-night] .pf-tags li.pf-mile { background: linear-gradient(135deg, #2b3158, #4a5288); border-color: #4a5288; color: var(--ink); }
:root[data-night] .pf-tags li.pf-mile.gold { background: linear-gradient(135deg, #5a4a10, #a8861a); border-color: #ffd23f; }
:root[data-night] .pf-tags li.pf-mile small { color: #d9dcf5; }
:root[data-night] .dt-stamp { background: rgb(255 255 255 / .12); }
:root[data-night] .fb-count b.n { color: var(--neon-pink); }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 10px; overflow: hidden; }
.pf-grid li { aspect-ratio: 1; background: var(--bun); position: relative; }
.pf-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-grid span { position: absolute; left: 4px; right: 4px; bottom: 4px; background: rgb(0 0 0 / .6); color: #fff; font: 600 11px var(--body); padding: 1px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-grid.big { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pf-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pf-person { display: flex; gap: 10px; align-items: center; }
.pf-person > span { flex: 1; min-width: 0; }
.pf-person a { color: var(--ink); text-decoration: none; }
.pf-person small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-person .pf-ava { width: 44px; height: 44px; }
.pf-reviews { list-style: none; margin: 0; padding: 0; }
.pf-reviews > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pf-reviews > li:last-child { border: 0; }
.pf-rv-spot { color: var(--ink); text-decoration: none; }
.pf-spotlist { list-style: none; margin: 0; padding: 0; columns: 2 220px; }
.pf-spotlist li { padding: 4px 0; break-inside: avoid; }
.pf-spotlist a { color: var(--ink); }
.pf-bigmap { height: 380px; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.pf-minimap { height: 170px; }
.pf-sub { margin-bottom: 14px; }
.pf-compose { display: flex; gap: 10px; align-items: center; }
.pf-compose-in { flex: 1; background: var(--unk-bg); border-radius: 999px; padding: 10px 16px; color: var(--muted); text-decoration: none; }
.pf-more-btn { justify-self: center; }
.pf-feed-msg { text-align: center; padding: 20px; }
.pf-feed-msg img { display: block; margin: 0 auto 8px; }
.pf-following .pf-list { margin-bottom: 16px; }
.pf-suggest { margin: 0 0 16px; }
.pf-menu { padding: 18px 16px; }
.pf-menu .x { float: right; }
.pf-mi { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 13px 4px; font: inherit; color: var(--ink); cursor: pointer; }
.pf-mi > span:first-child { width: 36px; height: 36px; border-radius: 50%; background: var(--unk-bg); display: grid; place-items: center; flex: none; }
.pf-mi small { display: block; color: var(--muted); font-size: 12.5px; }
.pf-hover { position: absolute; z-index: 1200; width: 330px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 36px rgb(0 0 0 / .22); padding: 14px; }
.pf-hover-row { display: flex; gap: 12px; align-items: center; }
.pf-hover-row b { font: 800 18px var(--head); display: block; }
.pf-hover small { display: block; color: var(--muted); font-size: 12.5px; }
.pf-hover p { margin: 10px 0; font-size: 14px; }
.pf-hover .pf-ava { width: 60px; height: 60px; }
.me-profile-links { margin: 8px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pf-editback { margin: 0 0 6px; font-size: 14px; }
.pf-editpage .acct-card { margin-bottom: 16px; }
.pf-edit-pic { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.pf-edit-pic form { display: inline-block; margin-right: 8px; }
.pf-edit-cover { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 1; background: var(--bun); display: grid; place-items: center; font-size: 40px; }
.pf-edit-cover.is-plain { background: repeating-linear-gradient(135deg, var(--ketchup) 0 22px, var(--ketchup-d) 22px 44px); }
.pf-edit-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-edit-cover form { position: absolute; right: 8px; bottom: 8px; }
.pf-file { position: relative; overflow: hidden; cursor: pointer; }
.pf-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
form.inline { display: inline; }
.pf-pre { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); }
.pf-pre > span { padding-left: 12px; color: var(--muted); font: 500 15px var(--body); white-space: nowrap; }
.acct-form .pf-pre input { border: 0; padding-left: 2px; background: transparent; min-width: 0; flex: 1; }
.pf-editpage textarea, .pf-editpage select { font: 16px var(--body); padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.acct-form label.pf-switch { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pf-switch small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.acct-form .pf-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: #cfc4b3; position: relative; cursor: pointer; border: 0; padding: 0; margin: 0; transition: background .15s; }
.pf-switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.acct-form .pf-switch input:checked { background: var(--relish); }
.pf-switch input:checked::after { left: 21px; }
.pf-switch input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
@media (max-width: 860px) {
  .pf-desk { display: none; }
  .pf .fb-feed { order: 0; }   /* profiles: Intro first, then the feed (the mockup) */
  .pf-acts { display: grid; grid-template-columns: 1fr 1fr 48px; gap: 8px; }
}
@media (max-width: 560px) {
  .pf-pic .pf-badge { width: 38px; height: 38px; }
  .pf-bigmap { height: 300px; }
}
:root[data-night] .pf-promo { background: linear-gradient(135deg, #2a2340, #3a2c10); color: var(--ink); }
.mh-name a, .rv-who a { color: inherit; text-decoration: none; }
.mh-name a:hover, .rv-who a:hover { text-decoration: underline; }

/* ── Leaderboards + Dog of the Week (Phase 4): /leaderboards, /dog-of-the-week, area-page block, ribbons ── */
.lb-lede { color: var(--muted); margin: 0 0 14px; }
.lb-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 10px; }
.lb-chips::-webkit-scrollbar { display: none; }
.lb-chips .chip { flex: none; }
.lb-more { margin: 0 0 14px; font-size: 14px; } .lb-more summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.lb-more p { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; }
.lb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.lb-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: 0 1px 2px rgb(60 30 0 / .05); min-width: 0; }
.lb-card h2 { font: 800 19px var(--head); margin: 0 0 2px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lb-card h2 small { font: 500 12.5px var(--body); color: var(--muted); }
.lb-sub { color: var(--muted); font-size: 12.5px; margin: 0 0 8px; }
.lb-rank { list-style: none; margin: 0; padding: 0; }
.lb-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.lb-rank li:first-child { border-top: 0; }
.lb-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--body); background: var(--unk-bg); flex: none; }
.lb-n.m1 { background: #e0a800; color: #2b1d00; } .lb-n.m2 { background: #9aa3ad; color: #fff; } .lb-n.m3 { background: #b8743a; color: #fff; }
.lb-spot { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.lb-spot:hover b { text-decoration: underline; }
.lb-th { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bun); }
.lb-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--mustard); }
.lb-nm { flex: 1; min-width: 0; } .lb-nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.lb-nm small { color: var(--muted); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-val { text-align: right; font: 800 16px var(--head); flex: none; } .lb-val small { display: block; font: 500 11px var(--body); color: var(--muted); }
.lb-up { display: block; color: var(--open); font: 700 11px var(--body); } .lb-new { display: block; color: var(--ketchup); font: 700 11px var(--body); }
.lb-rk { font: 700 11px var(--body); background: var(--soon-bg); color: var(--soon); border-radius: 5px; padding: 1px 6px; margin-right: 4px; }
.lb-pending { background: var(--bun); border: 1px dashed #d9c7a8; border-radius: 12px; padding: 12px; font-size: 13.5px; margin-top: 8px; }
.lb-pending > b { display: block; margin-bottom: 4px; } .lb-pending small { display: block; color: var(--muted); margin-top: 4px; }
.lb-bar { display: block; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 6px 0 2px; }
.lb-bar i { display: block; height: 100%; background: var(--mustard); }
.lb-empty { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.lb-tabs { display: flex; gap: 4px; margin: 2px 0 8px; } .lb-tabs a { font: 600 12.5px var(--body); padding: 4px 10px; border-radius: 999px; background: var(--unk-bg); color: var(--ink); text-decoration: none; }
.lb-tabs a.on { background: var(--ink); color: var(--bg); }
.lb-fine { margin-top: 18px; }
.lb-area { margin: 0 0 18px; } .lb-area > p { margin: 10px 0 0; }
/* the Dog of the Week banner */
.dotw { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); background: #1b2a4a; color: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin: 0 0 18px; }
.dotw-ph { position: relative; min-height: 230px; display: block; background: var(--mustard); }
.dotw-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dotw-ph.is-art img { object-fit: contain; padding: 20px; }
.dotw-stamp { position: absolute; left: 14px; top: 14px; background: var(--mustard); color: #2b1d00; font: 800 13px var(--head); padding: 4px 10px; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.dotw-tx { position: relative; padding: 18px 150px 18px 20px; min-width: 0; }
.dotw-k { font: 800 12px var(--body); letter-spacing: .1em; color: var(--mustard); text-transform: uppercase; margin: 0; }
.dotw-name { font: 800 clamp(24px, 4vw, 32px)/1.05 var(--head); margin: 6px 0 4px; } .dotw-name a { color: #fff; text-decoration: none; }
.dotw-where { color: #c9d3e8; margin: 0 0 10px; } .dotw-blurb { font-size: 15.5px; margin: 0 0 4px; max-width: 520px; } .dotw-sig { color: #c9d3e8; font-size: 13px; margin: 0; }
.dotw-sig::before { content: "— "; }
.dotw-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.dotw .btn.dotw-go { background: var(--mustard); color: #2b1d00; } .dotw .btn.ghost { color: #fff; border-color: rgb(255 255 255 / .45); }
.dotw-adm { position: absolute; right: 12px; bottom: 0; height: 175px; width: auto; pointer-events: none; }
.dotw-archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.dotw-archive a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.dotw-archive img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--bun); }
.dotw-archive b { display: block; padding: 6px 10px 0; font-size: 14px; } .dotw-archive small { display: block; padding: 0 10px 10px; color: var(--muted); font-size: 12px; }
/* ribbons (spot pages, profiles) + the home map's ⚓ */
.ribbon { display: inline-flex; gap: 6px; align-items: center; font: 700 12.5px var(--body); border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; text-decoration: none; white-space: nowrap; }
.ribbon.dw { background: #1b2a4a; color: var(--mustard); } .ribbon.tr { background: var(--open-bg); color: var(--open); } .ribbon.tp { background: var(--soon-bg); color: var(--soon); }
.pf-places { margin: 8px 0 0; }
.tag.dotw { background: #1b2a4a; color: var(--mustard); border-color: transparent; text-decoration: none; }
@media (max-width: 960px) { .lb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lb-grid .lb-recruits { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .lb-grid, .lb-grid.two { grid-template-columns: minmax(0, 1fr); }
  .dotw { grid-template-columns: minmax(0, 1fr); } .dotw-ph { min-height: 200px; }
  .dotw-tx { padding-right: 100px; } .dotw-adm { height: 120px; }
}
:root[data-night] .dotw { box-shadow: 0 0 0 1px var(--neon-cyan); }

/* ── Alerts: the 🔔 bell box (/dog-of-the-week, /glizette, dispatches) + /me/alerts (js/alerts.js; The Weekly Glizette + push) ── */
.btn.dark { background: var(--ink); color: var(--bg); }
.bell-box { background: var(--card); border: 2px solid var(--mustard); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin: 18px 0; display: grid; gap: 10px; max-width: 720px; }
.bell-row { display: flex; gap: 12px; align-items: center; }
.bell-row img { flex: none; border-radius: 50%; background: var(--bun); }
.bell-row h2 { margin: 0 0 2px; }
.bell-row p { margin: 0; }
.bell-email { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.bell-email .gz-msg { grid-column: 1 / -1; }
.bell-push { display: grid; gap: 6px; justify-items: start; margin-top: 8px; }
.bell-ios { display: flex; gap: 10px; align-items: flex-start; background: var(--bun); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.bell-ios[hidden] { display: none; }
.bell-ios img { flex: none; border-radius: 50%; }
.bell-ios ol { margin: 6px 0 0; padding-left: 20px; }
.alerts-msg { margin: 0; font-size: 14px; min-height: 0; }
.alerts-msg:empty { display: none; }
.alerts-msg.ok { color: var(--open); } .alerts-msg.err { color: var(--closed); }
.alerts-page { max-width: 720px; }
.alerts-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin: 14px 0; }
.alerts-card p { margin: 0 0 10px; }
.alerts-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.alerts-head h2 { margin: 0; }
.alerts-topics { list-style: none; margin: 10px 0 0; padding: 0; }
.alerts-topics[hidden] { display: none; }
.alerts-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.alerts-topics li:first-child .alerts-row { border-top: 0; }
.alerts-row span { display: grid; gap: 2px; }
.alerts-row small { color: var(--muted); font-size: 13px; }
.alerts-on { color: var(--open); font-weight: 600; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--unk-bg); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: left .15s; }
.switch:checked { background: var(--open); }
.switch:checked::after { left: 21px; }
.switch:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .switch, .switch::after { transition: none; } }
@media (max-width: 520px) { .bell-email { grid-template-columns: 1fr; } }
:root[data-night] .bell-box { border-color: var(--neon-pink); background: var(--card); }
:root[data-night] .bell-ios { background: var(--card); box-shadow: 0 0 0 1px var(--neon-cyan); }

/* ── Game-Day Mode + Chow Call (Scraddle 2026-10-20; src/GameDay.php, src/Deals.php, js/chow.js) ── */
:root { --turf: #0e3b2a; --turf-ink: #dbeae2; }
.btn.small { font-size: 13px; padding: 5px 12px; min-height: 34px; }
.btn.small.ghost.on, .deal-vote .btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gd-kicker { display: inline-block; background: var(--mustard); color: #1f1a17; font-weight: 800; font-size: 11px; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.gameday-home { margin: 10px 12px 0; padding: 12px 14px; border-radius: var(--radius); background: var(--turf); color: #fff; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.gameday-home .gd-top { display: flex; align-items: center; gap: 8px; }
.gameday-home .gd-clock { font-size: 12px; font-weight: 600; background: rgb(255 255 255 / .12); padding: 3px 9px; border-radius: 999px; }
.gameday-home .gd-title { font-family: var(--head); font-size: 22px; line-height: 1.1; }
.gameday-home .gd-line { font-size: 13px; color: var(--turf-ink); }
.gameday-home .gd-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gameday-home .btn.small { background: var(--mustard); color: #1f1a17; }
.gameday-home .btn.small.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.gameday { margin: 0 0 18px; padding: 16px; border-radius: 18px; background: var(--turf); color: #fff; }
.gameday .gd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.gameday .gd-head h2 { margin: 0; font-size: 22px; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.gd-box { background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); border-radius: 14px; padding: 12px 14px; }
.gd-box h3 { margin: 0 0 8px; font-size: 16px; }
.gd-box ul { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.gd-box li { display: flex; justify-content: space-between; gap: 10px; }
.gd-box li span { color: var(--turf-ink); white-space: nowrap; }
.gameday a, .gameday-strip a { color: #ffe08a; }
.gameday-strip { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--turf); color: #fff; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.gameday-strip .gd-near { flex-basis: 100%; color: var(--turf-ink); }
.chow-hero { display: flex; gap: 14px; align-items: center; margin: 6px 0 14px; }
.chow-hero img { border-radius: 50%; background: var(--soon-bg); flex-shrink: 0; }
.chow-hero p { margin: 4px 0 0; color: var(--muted); }
.chow-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.chow-tabs .chip { flex-shrink: 0; }
.chow-tabs .chip.on { background: var(--ketchup); border-color: var(--ketchup); color: #fff; }
.chow-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.chow-list > h2 { margin: 4px 0 0; }
.chow-tabs:not([hidden]) ~ .chow-list > h2 { position: absolute; left: -9999px; }
.chow-empty { color: var(--muted); }
.deal { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); }
.deal-ended { opacity: .55; }
.deal-price { min-width: 56px; min-height: 56px; border-radius: 12px; background: var(--mustard); color: #1f1a17; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 800; font-size: 20px; padding: 0 6px; box-sizing: border-box; flex-shrink: 0; }
.deal-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.deal-title { margin: 0; font-size: 16px; }
.deal-spot, .deal-when, .deal-fine { margin: 0; font-size: 14px; }
.deal-spot { color: var(--muted); }
.deal-when { font-weight: 600; }
.deal-fine { color: var(--muted); font-size: 13px; }
.deal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag.deal-confirmed { background: var(--open-bg); border-color: var(--open-bg); color: var(--open); font-weight: 600; }
.tag.deal-unverified { background: var(--soon-bg); border-color: var(--soon-bg); color: var(--soon); font-weight: 600; }
.tag.deal-confirmed a, .tag.deal-unverified a { color: inherit; }
.deal-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.deal-vote span { flex: 1 1 140px; }
@media (max-width: 520px) { .deal-vote span { flex-basis: 100%; } }   /* phones: the question above its two buttons */
.deal-vote .btn { background: var(--card); color: var(--ink); border-color: var(--line); }
.deals-here { border: 2px solid var(--mustard); border-radius: var(--radius); padding: var(--card-pad); margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); }
.deals-here > h2 { margin: 0; }
.deals-here .deal { box-shadow: none; border: 0; padding: 0; }
.chow-games ul { padding-left: 18px; }
.chow-tip { margin: 18px 0 8px; }
.chow-form { max-width: 640px; }
.chow-form .chow-row { display: flex; gap: 10px; }
.chow-form .chow-price { flex: 0 0 110px; }
.chow-form fieldset { border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.alerts-teams { border: 0; margin: 4px 0 0; padding: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.alerts-teams legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.alerts-teams small { flex-basis: 100%; color: var(--muted); }
:root[data-night] .gameday-home, :root[data-night] .gameday, :root[data-night] .gameday-strip { background: #0f2a22; box-shadow: 0 0 0 1px var(--open), 0 8px 26px rgb(57 255 158 / .15); }
:root[data-night] .deal { border-color: #2f3770; }
:root[data-night] .deals-here { border-color: var(--neon-pink); }

/* Ways onto the Glizzy Globe (/globe): under the Glizette campaign map, on area pages abroad, and on /hot-dogs "Around the world" */
.gz-globe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 !important; font-size: 13px; }
.area-globe { margin-top: 4px; }
.area-globe-link { margin-left: 8px; font: 700 14px var(--body); white-space: nowrap; }

/* "We're here now": owner card on /claim/<slug> (js/owner.js) + the live line on spot pages (js/spot.js) */
.live-card h2 { margin-bottom: 6px; }
.live-card.is-live { border-color: var(--open); }
.live-on { color: var(--open); font-size: 17px; }
.live-dot { display: inline-block; vertical-align: middle; margin: -2px 8px 0 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 0 var(--open); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(17, 128, 63, .5); } 70% { box-shadow: 0 0 0 9px rgba(17, 128, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 128, 63, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-find { width: 100%; font-size: 19px; padding: 16px; }
.live-where { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--open-bg); color: var(--open); font-weight: 600; margin: 0; }
.live-where.bad { background: var(--closed-bg); color: var(--closed); }
.live-off { margin-top: 10px; }
.live-line { margin: 6px 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--open-bg); color: var(--open); font-size: 15px; }
.live-line a { font-weight: 700; }
.acct-form select { font: 16px var(--body); padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; box-sizing: border-box; }
.acct-form select:focus { outline: 3px solid var(--mustard); outline-offset: 1px; border-color: var(--mustard-d); }
