/* Fireball pages (public + admin). Uses the site theme variables. */
.fb-wrap { max-width: 1100px; }
.fb-back { margin: 0 0 6px; font-size: 13px; }
.fb-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.fb-head h1 { margin: 0 0 4px; }
.fb-head .mw-sub { margin: 0; max-width: 640px; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fb-actions .fb-spacer { flex: 1; }
.fb-link { background: none; border: 0; padding: 4px 6px; color: var(--dim, #9ca3af); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fb-link:hover { color: var(--text, #eee); }
.fb-section { margin-top: 30px; }
.fb-section > h2 { margin: 0 0 4px; font-size: 20px; }
.fb-section > .mw-sub { margin: 0 0 12px; }

/* Hunt cards */
.fb-hunts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.fb-hunt { display: flex; flex-direction: column; border: 1px solid var(--border, #2a2a2a); border-radius: 14px; overflow: hidden; background: var(--surface, #16161a); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.fb-hunt:hover { border-color: var(--accent, #f97316); transform: translateY(-2px); }
.fb-hunt-img { height: 130px; background: #0b1020 center/cover no-repeat; display: flex; align-items: flex-end; padding: 8px; }
.fb-hunt-img.none { background: linear-gradient(135deg, #1e1b4b, #431407); }
.fb-hunt-body { padding: 12px 14px 14px; }
.fb-hunt-body strong { display: block; font-size: 16px; line-height: 1.25; margin: 2px 0 4px; }
.fb-hunt-body span { display: block; font-size: 13px; color: var(--dim, #9ca3af); }

/* Filters */
.fb-filters { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0 0 10px; font-size: 13px; }
.fb-seg { display: inline-flex; border: 1px solid var(--border, #2a2a2a); border-radius: 10px; overflow: hidden; }
.fb-seg a { padding: 6px 12px; color: var(--text, #eee); text-decoration: none; background: var(--surface-2, #1c1c1f); }
.fb-seg a + a { border-left: 1px solid var(--border, #2a2a2a); }
.fb-seg a.on { background: var(--accent, #f97316); color: #fff; }
/* year and state pickers: same look as the buttons beside them */
.fb-filters select { -webkit-appearance: none; appearance: none; max-width: 100%; padding: 6px 30px 6px 12px; border: 1px solid var(--border, #2a2a2a); border-radius: 10px;
    background: var(--surface-2, #1c1c1f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: var(--text, #eee); font: inherit; font-size: 13px; cursor: pointer; }
.fb-filters select:hover { border-color: var(--accent, #f97316); }
.fb-filters select:focus-visible { outline: 2px solid var(--accent, #f97316); outline-offset: 1px; }
.fb-filters select option, .fb-filters select optgroup { background: var(--surface-2, #1c1c1f); color: var(--text, #eee); }

/* Log table: whole row is a link */
.fb-log { width: 100%; border-collapse: collapse; font-size: 14px; }
.fb-log th { text-align: left; font-size: 12px; font-weight: 600; color: var(--dim, #9ca3af); padding: 8px 10px; border-bottom: 1px solid var(--border, #2a2a2a); }
.fb-log td { padding: 10px; border-bottom: 1px solid var(--border, #2a2a2a); vertical-align: top; }
.fb-log tr.fb-row { cursor: pointer; }
.fb-log tr.fb-row:hover td { background: rgba(249, 115, 22, .07); }
.fb-log td a.fb-rowlink { color: inherit; text-decoration: none; font-weight: 600; }
.fb-log small { color: var(--dim, #9ca3af); }
.fb-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.fb-tag-hunt { background: rgba(249, 115, 22, .16); color: #fb923c; border: 1px solid rgba(249, 115, 22, .4); }
.fb-tag-yes { background: rgba(34, 197, 94, .14); color: #4ade80; border: 1px solid rgba(34, 197, 94, .35); }
.fb-tag-maybe { background: rgba(250, 204, 21, .12); color: #facc15; border: 1px solid rgba(250, 204, 21, .3); }
.fb-tag-no { background: rgba(148, 163, 184, .12); color: #94a3b8; border: 1px solid rgba(148, 163, 184, .3); }
.fb-empty { padding: 18px; color: var(--dim, #9ca3af); }

/* Detail pages */
.fb-status { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface, #16161a); border: 1px solid var(--border, #2a2a2a); font-size: 14px; }
.fb-status small { display: block; margin-top: 4px; color: var(--dim, #9ca3af); }
.fb-map { height: 460px; border-radius: 14px; overflow: hidden; margin: 14px 0 6px; }
.fb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.fb-card { padding: 14px 16px; border-radius: 14px; background: var(--surface, #16161a); border: 1px solid var(--border, #2a2a2a); }
.fb-card h3 { margin: 0 0 8px; font-size: 15px; }
.fb-card p { margin: 0 0 6px; font-size: 14px; }
.fb-card .fb-more { font-size: 13px; }
.fb-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.fb-facts dt { color: var(--dim, #9ca3af); }
.fb-facts dd { margin: 0; }
.fb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--dim, #9ca3af); }
.fb-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.fb-legend i.sq { border-radius: 2px; }
details.fb-details { margin-top: 16px; }
details.fb-details > summary { cursor: pointer; font-weight: 600; font-size: 14px; }

/* Dropdown (Download ▾) */
.fb-dd { position: relative; }
.fb-dd > summary { list-style: none; }
.fb-dd > summary::-webkit-details-marker { display: none; }
.fb-dd-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 6px; border-radius: 12px; background: var(--surface, #16161a); border: 1px solid var(--border, #2a2a2a); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.fb-dd-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text, #eee); text-decoration: none; font-size: 14px; }
.fb-dd-menu a small { display: block; color: var(--dim, #9ca3af); font-size: 12px; }
.fb-dd-menu a:hover { background: var(--surface-2, #1c1c1f); }

/* Admin bar on public pages */
.fb-adminbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(167, 139, 250, .5); background: rgba(124, 58, 237, .07); font-size: 13px; }
.fb-adminbar strong { color: #c4b5fd; margin-right: 4px; }
.fb-adminbar form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }

/* Pop-ups */
.fb-dlg { width: min(560px, 94vw); padding: 18px 20px; border: 1px solid var(--border, #334155); border-radius: 16px; background: var(--surface, #16161a); color: var(--text, #eee); }
.fb-dlg.wide { width: min(900px, 94vw); }
.fb-dlg::backdrop { background: rgba(0,0,0,.6); }
.fb-dlg h3 { margin: 0 0 6px; }
.fb-dlg textarea, .fb-dlg input[type=email], .fb-dlg input[type=text], .fb-dlg input[type=number], .fb-dlg select { width: 100%; box-sizing: border-box; margin: 6px 0; }
.fb-dlg-x { float: right; margin: -8px -8px 0 0; }
.fb-dlg-x button { background: none; border: 0; color: inherit; font-size: 24px; cursor: pointer; line-height: 1; }
.fb-dlg-actions { margin-top: 8px; display: flex; gap: 10px; align-items: center; }
.fb-hp { position: absolute; left: -9999px; }

/* Admin tabs */
.fb-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border, #2a2a2a); margin: 4px 0 18px; }
.fb-tabs a { padding: 10px 16px; color: var(--dim, #9ca3af); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.fb-tabs a.on { color: var(--text, #eee); border-bottom-color: var(--accent, #f97316); }
.fb-tabs a b { display: inline-block; min-width: 18px; padding: 1px 6px; margin-left: 6px; border-radius: 999px; background: var(--surface-2, #1c1c1f); font-size: 11px; text-align: center; }
.fb-tabs a.on b { background: var(--accent, #f97316); color: #fff; }
.fb-admin td form { display: inline; margin: 0; }
.fb-admin .fb-btns { white-space: nowrap; text-align: right; }
.fb-admin .fb-btns .mw-btn { padding: 5px 10px; font-size: 13px; }
.fb-admin select.fb-status-sel { padding: 4px 6px; font-size: 13px; }
.fb-settings { display: grid; gap: 16px; }
.fb-settings .fb-card label { display: block; font-size: 13px; margin: 8px 0 3px; }
.fb-settings .fb-card input[type=text], .fb-settings .fb-card input[type=number], .fb-settings .fb-card input[type=password] { width: 100%; box-sizing: border-box; }
.fb-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.fb-help { font-size: 12.5px; color: var(--dim, #9ca3af); margin: 2px 0 8px; }
.fb-ok { color: #4ade80; font-weight: 700; } .fb-bad { color: #f87171; font-weight: 700; }

@media (max-width: 640px) {
  .fb-map { height: 340px; }
  .fb-log .fb-hide-sm { display: none; }
  .fb-facts { grid-template-columns: 1fr; gap: 2px; }
  .fb-facts dd { margin-bottom: 6px; }
}

/* keep plain buttons and card titles in the text colour (site links are purple) */
.fb-wrap a.mw-btn:not(.mw-btn-primary), .fb-wrap summary.mw-btn { color: var(--text, #eee); }
.fb-hunt, .fb-hunt:hover, .fb-hunt-body strong { color: var(--text, #eee); }

/* ── One fireball page ── */
.fb-summary { margin: 8px 0 0; font-size: 15px; max-width: 760px; }
.fb-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.fb-badge-recorded { background: rgba(148,163,184,.15); color: #cbd5e1; border: 1px solid rgba(148,163,184,.35); }
.fb-badge-dropper { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.4); }
.fb-badge-hunt { background: rgba(249,115,22,.16); color: #fb923c; border: 1px solid rgba(249,115,22,.45); }
.fb-badge-closed { background: rgba(100,116,139,.18); color: #94a3b8; border: 1px solid rgba(100,116,139,.4); }
.fb-mapbox { position: relative; }
.fb-layers { position: absolute; top: 50px; left: 10px; z-index: 5; background: rgba(15,23,42,.88); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 6px 10px; font-size: 12.5px; color: #e5e7eb; max-width: 200px; }
.fb-layers summary { cursor: pointer; font-weight: 700; }
.fb-layers label { display: flex; gap: 6px; align-items: center; margin: 5px 0 0; cursor: pointer; }
.fb-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fb-thumb { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 104px; padding: 10px 12px; text-align: left; border-radius: 12px; border: 1px solid var(--border, #2a2a2a); background: var(--surface, #16161a) center/cover no-repeat; color: var(--text, #eee); cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; position: relative; overflow: hidden; }
.fb-thumb:hover { border-color: var(--accent, #f97316); transform: translateY(-2px); }
.fb-thumb strong { font-size: 14px; position: relative; } .fb-thumb small { font-size: 11.5px; color: var(--dim, #9ca3af); position: relative; }
.fb-thumb-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.05) 70%); }
.fb-thumb-img small { color: #cbd5e1; }
.fb-thumb-ico { font-size: 26px; margin-bottom: auto; }
.fb-list { margin: 0 0 6px; padding-left: 18px; font-size: 14px; }
.fb-mini { font-size: 12px; margin-top: 6px; border-collapse: collapse; } .fb-mini td, .fb-mini th { padding: 2px 6px; text-align: left; }
.fb-hovercard .maplibregl-popup-content { font-size: 13px; line-height: 1.4; }
.fb-hc-cta { margin-top: 4px; color: #38bdf8; font-weight: 700; }
.fb-frame { padding: 14px 16px 10px; }
.fb-frame iframe { width: 100%; height: min(78vh, 900px); border: 0; border-radius: 10px; background: var(--bg, #0e0e11); }
.fb-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; max-height: 70vh; overflow: auto; }
.fb-report { display: block; padding: 10px; border: 1px solid var(--border, #2a2a2a); border-radius: 10px; color: inherit; text-decoration: none; font-size: 13px; }
.fb-report img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.fb-report span { display: block; color: var(--dim, #9ca3af); margin-top: 4px; }
.fb-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fb-videos video { width: 100%; border-radius: 10px; background: #000; }

/* radar viewer */
.fb-radar { width: min(1000px, 96vw); max-height: 96vh; }
.rv-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 8px; }
.rv-top h3 { margin: 0; }
.rv-stations { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-stations .mw-btn { padding: 4px 10px; font-size: 13px; }
.rv-stations .mw-btn.on { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }
.rv-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 13px; }
.rv-bar select { padding: 4px 6px; }
.rv-time { min-width: 150px; text-align: center; } .rv-time small { color: var(--dim, #9ca3af); }
.rv-stage { position: relative; overflow: hidden; border-radius: 10px; background: #0b0b0d; height: min(64vh, 640px); touch-action: none; cursor: grab; display: flex; align-items: center; justify-content: center; }
.rv-stage.flagging { cursor: crosshair; }
.rv-pan { position: relative; transform-origin: 0 0; max-width: 100%; max-height: 100%; }
.rv-pan img { display: block; max-width: 100%; max-height: min(64vh, 640px); width: auto; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
#rv-marks { position: absolute; inset: 0; pointer-events: none; }
.rv-mark { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; }
.rv-mark.ok { background: #d946ef; }
.rv-mark.auto { width: 24px; height: 24px; margin: -12px 0 0 -12px; background: transparent; border: 2px dashed #22d3ee; }
.rv-mark.mine { background: #facc15; }
.rv-mark.sugg { background: transparent; border: 2px solid #facc15; }
.rv-help { margin: 8px 0 0; }
.rv-review { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(167,139,250,.5); background: rgba(124,58,237,.07); font-size: 13px; }
.rv-rev-head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.rv-rev-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border, #2a2a2a); }
.rv-rev-row span { flex: 1; min-width: 180px; }
.rv-rev-row .mw-btn { padding: 4px 10px; font-size: 12.5px; }
@media (max-width: 640px) {
  .fb-thumbs { grid-template-columns: repeat(2, 1fr); }
  .fb-layers { max-width: 160px; font-size: 12px; }
  .rv-stage { height: 52vh; }
  .rv-pan img { max-height: 52vh; }
  .fb-frame iframe { height: 80vh; }
}
.fb-map-idx { height: 380px; margin-top: 0; }
.fb-key { display: grid; gap: 3px; margin: 6px 0 4px; }
.fb-key span { display: flex; gap: 6px; align-items: center; }
.fb-idx-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; }
@media (max-width: 640px) { .fb-map-idx { height: 300px; } }

/* ── Radar section (inline, like the admin review screen) ── */
.rv-card { padding: 12px; }
.rv-stations { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.rv-st { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border, #2a2a2a); background: var(--surface-2, #1c1c1f); color: var(--text, #eee); cursor: pointer; font: inherit; text-align: left; }
.rv-st small { font-size: 11px; color: var(--dim, #9ca3af); }
.rv-st.on { border-color: #0ea5e9; background: rgba(14,165,233,.15); }
.rv-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; scroll-snap-type: x proximity; }
.rv-thumb { flex: 0 0 104px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #0b0b0d; color: var(--text, #eee); cursor: pointer; overflow: hidden; font: inherit; scroll-snap-align: center; }
.rv-thumb img { display: block; width: 100%; height: 72px; object-fit: cover; }
.rv-thumb span { display: block; font-size: 10.5px; padding: 3px 4px; white-space: nowrap; }
.rv-thumb.on { border-color: #f97316; }
.rv-thumb.before { opacity: .6; }
.rv-caption { margin: 2px 0 8px; font-size: 13px; color: var(--dim, #9ca3af); }
.rv-caption strong { color: var(--text, #eee); }
.rv-table td { vertical-align: middle; font-size: 13px; }
.rv-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; vertical-align: -1px; }
.rv-dot.ok { background: #d946ef; } .rv-dot.auto { border: 2px dashed #22d3ee; } .rv-dot.mine { background: #facc15; } .rv-dot.sugg { border-color: #facc15; }
.rv-filelist { columns: 2 260px; font-size: 13px; margin: 6px 0 0; padding-left: 18px; }
.rv-card.rv-fullscreen { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; overflow: auto; background: var(--bg, #0e0e11); }
.rv-card.rv-fullscreen .rv-stage { height: calc(100vh - 260px); }
.rv-card.rv-fullscreen .rv-pan img { max-height: calc(100vh - 260px); }
body.rv-noscroll { overflow: hidden; }
.fb-badge-likely { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.45); }
.fb-badge-found { background: rgba(168,85,247,.16); color: #c084fc; border: 1px solid rgba(168,85,247,.45); }
@media (max-width: 640px) { .rv-thumb { flex-basis: 86px; } .rv-thumb img { height: 60px; } .rv-bar .mw-btn { padding: 6px 9px; } }

/* ── Radar live on the map ── */
.fb-live-btn { position: absolute; left: 10px; bottom: 34px; z-index: 6; padding: 8px 12px; border-radius: 10px; border: 1px solid #0ea5e9; background: rgba(15,23,42,.92); color: #e0f2fe; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fb-live-btn.on { background: #0ea5e9; color: #fff; }
.fb-livebar { display: none; position: absolute; left: 10px; right: 56px; bottom: 80px; z-index: 6; padding: 8px 10px; border-radius: 12px; background: rgba(15,23,42,.92); border: 1px solid rgba(56,189,248,.5); color: #e5e7eb; font-size: 13px; }
.fb-livebar.on { display: block; }
.fb-live-row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.fb-live-row + .fb-live-row { margin-top: 6px; }
.fb-livebar select { padding: 4px 6px; border-radius: 8px; background: #0f172a; color: #e5e7eb; border: 1px solid #334155; }
.fb-livebar .mw-btn { padding: 4px 10px; font-size: 13px; }
.fb-live-time { min-width: 170px; } .fb-live-time small { color: #94a3b8; }
#fb-live-range { flex: 1; min-width: 160px; accent-color: #0ea5e9; }
.fb-live-op { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #94a3b8; } .fb-live-op input { width: 90px; accent-color: #0ea5e9; }
@media (max-width: 640px) { .fb-livebar { right: 10px; bottom: 76px; } .fb-live-time { min-width: 0; } .fb-live-op { display: none; } }
.fb-mapper { display: flex; flex-wrap: wrap; gap: 3px; margin: 6px 0 4px; }
.fb-mapper button { padding: 3px 7px; border-radius: 7px; border: 1px solid #334155; background: #0f172a; color: #e5e7eb; font: inherit; font-size: 11.5px; cursor: pointer; }
.fb-mapper button.on { background: #f97316; border-color: #f97316; color: #fff; }
.fb-mapcount { font-size: 11.5px; color: #94a3b8; margin-bottom: 2px; }
.fb-idx-legend { max-width: 230px; }
.fb-key i.ring { background: transparent !important; border: 3px solid; width: 9px; height: 9px; }
.fb-k-ball { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, #fffbeb 0, #fde047 45%, #f97316 100%); border: 1px solid #7c2d12; box-shadow: 0 0 6px #f97316; flex: 0 0 auto; }
.rv-details { margin-top: 16px; }
.rv-details > summary { padding: 10px 12px; border-radius: 10px; background: var(--surface, #16161a); border: 1px solid var(--border, #2a2a2a); }
.rv-details[open] > summary { margin-bottom: 10px; }
.fb-live-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 11.5px; color: #cbd5e1; }
.fb-live-key i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: -1px; margin-right: 4px; }
.fb-live-key .k-auto { border: 2px solid #22d3ee; } .fb-live-key .k-ok { background: #d946ef; border: 2px solid #fff; } .fb-live-key .k-wait { border: 2px solid #facc15; }
/* radar bar sits below the map, not on top of it */
.fb-livebar { position: static; margin: 8px 0 0; left: auto; right: auto; bottom: auto; background: var(--surface, #16161a); border-color: rgba(56,189,248,.45); }
@media (max-width: 640px) { .fb-livebar { position: static; } }
/* compact fireball header: actions beside the title */
.fb-head-compact { align-items: flex-start; margin-bottom: 10px; gap: 8px 20px; }
.fb-head-compact .fb-head-main { flex: 1 1 520px; min-width: 0; }
.fb-head-compact .fb-back { margin: 0 0 2px; }
.fb-head-compact h1 { font-size: 26px; margin: 0 0 2px; }
.fb-head-compact .mw-sub { margin: 0; }
.fb-head-compact .fb-summary { margin: 4px 0 0; font-size: 14.5px; }
.fb-head-compact .fb-gate { margin: 4px 0 0; }
.fb-head-compact .fb-actions { flex: 0 1 auto; justify-content: flex-end; padding-top: 22px; }
@media (max-width: 640px) { .fb-head-compact .fb-actions { padding-top: 0; justify-content: flex-start; } .fb-head-compact h1 { font-size: 22px; } }
/* compact data area under the map */
.fb-data { margin-top: 12px; }
.fb-data > h2 { font-size: 17px; margin: 0 0 6px; }
.fb-thumbs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fb-thumb { min-height: 64px; padding: 7px 10px; gap: 0; }
.fb-thumb strong { font-size: 13px; } .fb-thumb small { font-size: 11px; line-height: 1.3; }
.fb-thumb-ico { position: absolute; top: 6px; right: 8px; font-size: 18px; margin: 0; opacity: .8; }
details.fb-details { margin-top: 8px; }
details.fb-details > summary { display: inline-block; padding: 6px 12px; border-radius: 9px; background: var(--surface, #16161a); border: 1px solid var(--border, #2a2a2a); font-size: 13px; }
.rv-details { margin-top: 8px; }
.rv-details > summary { padding: 6px 12px; }
.fb-adminbar { margin-top: 12px; padding: 6px 10px; gap: 6px; }
.fb-adminbar .mw-btn { padding: 5px 10px; font-size: 13px; }
/* the radar on/off button stays in the map's bottom-left corner (the bar is below the map now) */
.fb-live-btn { bottom: auto; top: 410px; }
@media (max-width: 640px) { .fb-live-btn { top: 290px; } }
/* radar toggle: inside the map, bottom-left above the scale; one label, a switch shows on/off */
.fb-live-btn { position: absolute; top: auto; bottom: 34px; left: 10px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; }
.fb-switch { position: relative; display: inline-block; width: 30px; height: 16px; border-radius: 999px; background: #334155; transition: background .15s; }
.fb-switch i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
.fb-live-btn.on { background: rgba(15,23,42,.92); color: #e0f2fe; }
.fb-live-btn.on .fb-switch { background: #0ea5e9; }
.fb-live-btn.on .fb-switch i { left: 16px; }
@media (max-width: 640px) { .fb-live-btn { top: auto; bottom: 34px; } }
.fb-k-fireball { width: 9px; height: 20px; flex: 0 0 auto; transform: rotate(-90deg); margin: 0 4px; }
/* fireball card popup on the map */
.fb-card-popup .maplibregl-popup-content { padding: 12px 14px; border-radius: 12px; background: #0f172a; color: #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.fb-card-popup .maplibregl-popup-tip { border-top-color: #0f172a; border-bottom-color: #0f172a; }
.fb-card-popup .maplibregl-popup-close-button { color: #94a3b8; font-size: 18px; }
.fb-card-pop strong { font-size: 14px; }
.fb-cp-when { font-size: 12px; color: #94a3b8; margin: 2px 0 6px; }
.fb-cp-src { border-top: 1px solid #1e293b; padding-top: 6px; margin-top: 6px; }
.fb-cp-head { font-weight: 700; font-size: 12.5px; color: #fdba74; margin-bottom: 3px; }
.fb-cp-head a { color: #7dd3fc; font-weight: 600; margin-left: 4px; }
.fb-card-pop table { border-collapse: collapse; font-size: 12px; }
.fb-card-pop th { text-align: left; color: #94a3b8; font-weight: 500; padding: 1px 10px 1px 0; vertical-align: top; white-space: nowrap; }
.fb-card-pop td { padding: 1px 0; }
.fb-cp-note { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.fb-loadradar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(56,189,248,.45); background: rgba(14,165,233,.08); font-size: 13.5px; }
.fb-loadradar .fb-help { display: block; margin: 2px 0 0; }
/* map layers section in the Layers panel; the old separate Land status button is folded into it */
.fb-ovs { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.12); }
.fb-ov-title { font-weight: 700; font-size: 12px; color: #cbd5e1; margin-bottom: 2px; }
.fb-ov-key { margin: 2px 0 4px 20px; font-size: 11px; max-height: 160px; overflow: auto; }
.fb-ov-key div { display: flex; gap: 5px; align-items: center; margin: 1px 0; } .fb-ov-key img { width: 14px; height: 14px; }
.fb-mapbox .mw-land-ctl { display: none; }
.fb-layers { top: 10px; max-height: calc(100% - 60px); overflow-y: auto; }
.fb-layers:not([open]) { overflow: visible; }
/* land card (click the Land status layer) */
.mw-landpop .maplibregl-popup-content { padding: 10px 12px; border-radius: 12px; background: #0f172a; color: #e5e7eb; }
.mw-landpop .maplibregl-popup-tip { border-top-color: #0f172a; border-bottom-color: #0f172a; }
.mw-landcard strong { font-size: 14px; }
.mw-lc-mgr { font-size: 12px; color: #94a3b8; margin: 1px 0 6px; }
.mw-lc-rule { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 6px; margin-bottom: 4px; }
.mw-lc-rule.ban { background: #b91c1c; color: #fff; } .mw-lc-rule.ok { background: #15803d; color: #fff; } .mw-lc-rule.ask { background: #a16207; color: #fff; }
.mw-lc-text { font-size: 12.5px; } .mw-lc-src { font-size: 10.5px; color: #64748b; margin-top: 6px; }
.fb-mapyear { width: 100%; margin: 2px 0 4px; padding: 4px 6px; border-radius: 7px; border: 1px solid #334155; background: #0f172a; color: #e5e7eb; font: inherit; font-size: 12px; }

/* ── Sleek map chrome: frosted panels, thin borders, small type ── */
.fb-layers { background: rgba(10,14,26,.62); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 8px 11px; font-size: 11.5px; line-height: 1.35; color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 210px; }
.fb-layers summary { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #cbd5e1; }
.fb-layers label { margin: 4px 0 0; gap: 7px; font-weight: 400; }
.fb-layers input[type=checkbox] { width: 12px; height: 12px; accent-color: #f97316; margin: 0; }
.fb-ovs { border-top-color: rgba(255,255,255,.07); }
.fb-ov-title { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin: 2px 0 2px; }
.fb-key { gap: 2px; margin: 4px 0 2px; font-size: 11px; color: #cbd5e1; }
.fb-key i { width: 8px; height: 8px; } .fb-key i.ring { width: 7px; height: 7px; border-width: 1.5px; }
.fb-k-fireball { width: 7px; height: 16px; }
.fb-mapper { gap: 4px; margin: 6px 0 4px; }
.fb-mapper button { padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #cbd5e1; font-size: 11px; font-weight: 500; }
.fb-mapper button:hover { border-color: rgba(249,115,22,.6); color: #fff; }
.fb-mapper button.on { background: #f97316; border-color: #f97316; color: #fff; }
.fb-mapyear { border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); font-size: 11px; padding: 3px 6px; }
.fb-mapcount { font-size: 10.5px; color: #94a3b8; }
.fb-ov-key { font-size: 10.5px; }
/* radar toggle + bar */
.fb-live-btn { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(10,14,26,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(56,189,248,.35); color: #e0f2fe; gap: 7px; }
.fb-live-btn.on { background: rgba(10,14,26,.62); }
.fb-switch { width: 24px; height: 13px; } .fb-switch i { width: 9px; height: 9px; } .fb-live-btn.on .fb-switch i { left: 13px; }
.fb-livebar { padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.fb-livebar .mw-btn { padding: 3px 9px; font-size: 12px; border-radius: 8px; }
.fb-livebar select { padding: 3px 6px; font-size: 12px; border-radius: 8px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
#fb-live-range { height: 3px; } .fb-live-key { font-size: 11px; color: #94a3b8; }
/* map popups */
.fb-card-popup .maplibregl-popup-content, .mw-landpop .maplibregl-popup-content { background: rgba(10,14,26,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.08); }
/* map key: one thin line above the map */
.fb-keyline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0 0 6px; padding: 0 2px; font-size: 11.5px; color: #94a3b8; }
.fb-keyline span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fb-keyline i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.fb-keyline i.ring { background: transparent; border: 1.5px solid; width: 7px; height: 7px; }
.fb-keyline .fb-k-fireball { width: 7px; height: 16px; transform: rotate(-90deg); margin: 0 3px; }
/* map credits: a small (i) that opens on hover instead of a long box */
.fb-mapbox .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner { display: none; }
.fb-mapbox .maplibregl-ctrl-attrib.maplibregl-compact:hover .maplibregl-ctrl-attrib-inner { display: block; }
.fb-mapbox .maplibregl-ctrl-attrib { font-size: 10px; }

/* ── Map controls as icons (top-left): Layers and Key open on click ── */
.fb-mapicons { position: absolute; top: 10px; left: 10px; z-index: 7; display: flex; gap: 6px; align-items: flex-start; }
.fb-pop { position: relative; }
.fb-pop > summary { list-style: none; } .fb-pop > summary::-webkit-details-marker { display: none; }
.fb-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: #e2e8f0;
  background: rgba(10,14,26,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background .15s, color .15s; }
.fb-ico:hover { color: #fff; border-color: rgba(249,115,22,.55); }
.fb-pop[open] > .fb-ico { background: #f97316; border-color: #f97316; color: #fff; }
.fb-pop-body { position: absolute; top: 40px; left: 0; width: 224px; max-height: 380px; overflow-y: auto; padding: 9px 11px;
  background: rgba(10,14,26,.72); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.35); font-size: 11.5px; line-height: 1.35; color: #e2e8f0; }
.fb-pop-body label { display: flex; gap: 7px; align-items: center; margin: 5px 0 0; cursor: pointer; }
.fb-pop-body input[type=checkbox] { width: 12px; height: 12px; accent-color: #f97316; margin: 0; }
.fb-pop:nth-child(2) .fb-pop-body { left: -40px; }
.fb-pop-key { width: 236px; }
.fb-keylist { display: grid; gap: 6px; margin-top: 4px; font-size: 11.5px; color: #cbd5e1; }
.fb-keylist span { display: flex; align-items: center; gap: 8px; }
.fb-keylist i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.fb-keylist i.ring { background: transparent; border: 1.5px solid; width: 8px; height: 8px; }
.fb-keylist .fb-k-fireball { width: 7px; height: 16px; transform: rotate(-90deg); margin: 0 3px; }
@media (max-width: 640px) { .fb-pop-body { max-height: 260px; width: 200px; } }
/* readable year list (the open dropdown uses the dark theme) */
.fb-mapyear, .fb-livebar select { color-scheme: dark; color: #e5e7eb; }
.fb-mapyear option, .fb-livebar select option { background: #0f172a; color: #e5e7eb; }
.fb-mapyear option:checked { background: #f97316; color: #fff; }

.fb-keynote { margin: 9px 0 0; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; line-height: 1.4; color: #94a3b8; }

/* recovered meteorites (observed falls) on the main map */
.fb-fell-links { display: grid; gap: 3px; margin-top: 8px; }
.fb-fell-links a { color: #fdba74; font-weight: 600; text-decoration: none; }
.fb-fell-links a:hover { text-decoration: underline; }
.fb-keylist i.fell { width: 8px; height: 8px; border-radius: 1px; background: #a855f7; outline: 1.5px solid #fff; transform: rotate(45deg); margin: 0 1px; }

/* "How our fireball maps are made" pop-up */
.fb-method { max-height: 86vh; overflow-y: auto; line-height: 1.55; }
.fb-method h2 { font-size: 17px; margin: 22px 0 6px; }
.fb-method ul { padding-left: 20px; } .fb-method li { margin: 4px 0; }
.fb-method code { font-size: .9em; }
.fb-method .mt-ell { display: block; width: 100%; max-width: 520px; height: auto; margin: 10px 0; }

/* Projected strewn field: key (bottom-left of the map), card and notes */
.fb-projkey { position: absolute; right: 10px; bottom: 40px; z-index: 6; width: 210px; padding: 8px 10px 7px; border-radius: 10px;
  background: rgba(10,14,26,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0; font-size: 10.5px; line-height: 1.3; pointer-events: none; }
.fb-projkey-t { font-weight: 700; font-size: 11px; color: #fde68a; }
.fb-projkey-t span { display: block; font-weight: 400; color: #cbd5e1; font-size: 10px; }
.fb-projkey-bar { position: relative; height: 8px; margin: 6px 0 3px; border-radius: 4px; background: linear-gradient(90deg, #fde047, #f97316, #7f1d1d); }
.fb-projkey-bar i { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: #fff; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.5); }
.fb-projkey-s { position: relative; height: 13px; color: #cbd5e1; }
.fb-projkey-s span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.fb-projkey-s span:first-child { transform: none; } .fb-projkey-s span:last-child { transform: translateX(-100%); }
.fb-projkey-l { display: flex; justify-content: space-between; }
.fb-projkey-l { color: #94a3b8; font-size: 9.5px; margin-top: 1px; }
.fb-projkey-m { margin-top: 4px; color: #e2e8f0; }
.fb-proj-pop table th { text-align: left; vertical-align: top; padding-right: 8px; color: #94a3b8; font-weight: 600; white-space: nowrap; }
.fb-proj-notice { margin: 6px 0 8px; padding: 7px 9px; border-radius: 8px; background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.35); color: #fde68a; font-size: 12px; }
.fb-proj-cross { margin: 4px 0 0; padding-left: 16px; font-size: 12px; }
.fb-proj-foot { margin: 8px 0 0; font-size: 11.5px; color: #94a3b8; }
.fb-proj-foot a { color: #fdba74; }
.fb-projnote { margin: 6px 0 0; }
@media (max-width: 640px) { .fb-projkey { width: 170px; bottom: 38px; } }

.fb-projkey-l { color: #e2e8f0; font-size: 10px; }
.fb-projkey-w { display: flex; gap: 12px; margin-top: 5px; color: #cbd5e1; font-size: 10px; }
.fb-projkey-w span { display: flex; align-items: center; gap: 5px; }
.fb-projkey-w i { display: inline-block; width: 16px; height: 0; }
.fb-projkey-w i.d { border-top: 2px dashed #374151; box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
.fb-projkey-w i.w { border-top: 2.4px solid #38bdf8; }

/* Fireball page map: a little taller on desktop; projection card wide enough not to wrap so much, and always inside the map */
@media (min-width: 900px) { .fb-page .fb-map { height: min(74vh, 720px); } }
.fb-proj-popup .maplibregl-popup-content { width: min(600px, calc(100vw - 60px)); box-sizing: border-box; overflow-y: auto; padding: 14px 18px; }
.fb-proj-pop table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fb-proj-pop table th { width: 96px; padding: 3px 10px 3px 0; }
.fb-proj-pop table td { padding: 3px 0; }
.fb-proj-notice { font-size: 12.5px; }

.fb-projtools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; }
.fb-projtools .fb-help a { color: #fdba74; }


/* ── "The data": one compact row of chips (sources, radar, winds, reports, Load radar, More details) ── */
.fb-data { margin-top: 10px; }
.fb-data .fb-thumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fb-data-label { font-weight: 700; font-size: 13px; color: var(--dim, #9ca3af); margin-right: 2px; }
.fb-data .fb-thumb, .fb-chip { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; min-height: 0; height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--border, #334155); background: rgba(255,255,255,.04); color: inherit; font-size: 12.5px; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap; }
.fb-data .fb-thumb:hover, .fb-chip:hover { border-color: rgba(249,115,22,.6); }
.fb-data .fb-thumb strong { font-size: 12.5px; } .fb-data .fb-thumb small, .fb-chip small { font-size: 11px; color: var(--dim, #9ca3af); }
.fb-data .fb-thumb .fb-thumb-ico { position: static; font-size: 13px; opacity: 1; }
.fb-data .fb-thumb-img { background-size: cover; background-position: center; height: 30px; padding: 0 11px; text-shadow: 0 1px 2px #000; }
.fb-data .fb-thumb-img::before { content: ''; position: absolute; inset: 0; background: rgba(10,14,26,.45); border-radius: inherit; }
.fb-data .fb-thumb-img { position: relative; overflow: hidden; } .fb-data .fb-thumb-img > * { position: relative; }
.fb-chip-go { background: #f97316; border-color: #f97316; color: #fff; font-weight: 600; } .fb-chip-go small { color: #ffedd5; }
.fb-chip-go:hover { background: #ea580c; } .fb-chip-go[disabled] { opacity: .65; cursor: progress; }
.fb-data .fb-loadradar { display: contents; padding: 0; border: 0; background: none; margin: 0; }
.fb-loadradar-msg { margin: 6px 0 0; font-size: 12px; } .fb-loadradar-msg:empty { display: none; }
.fb-chip-details { display: inline; } .fb-chip-details > summary { list-style: none; } .fb-chip-details > summary::-webkit-details-marker { display: none; }
.fb-chip-details[open] { flex-basis: 100%; } .fb-chip-details[open] > summary { display: inline-flex; margin-bottom: 6px; }
.fb-adminbar { margin-top: 10px; padding: 4px 8px; gap: 6px; border-style: solid; border-color: rgba(167,139,250,.25); background: rgba(167,139,250,.05); }
.fb-adminbar strong { font-size: 12px; }
.fb-adminbar .mw-btn { padding: 4px 9px; font-size: 12px; }

a.fb-chip-go, a.fb-chip-go:visited, a.fb-chip-go:hover { color: #fff !important; }
.fb-projtools { margin: 6px 0 0; gap: 6px; }
.fb-projtools .mw-btn { height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; display: inline-flex; align-items: center; }

/* field sizes in the projection key */
.fb-projkey-sz { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10.5px; color: #e2e8f0; line-height: 1.45; }
.fb-projkey-sz b { color: #fde68a; font-weight: 600; }

.fb-projkey-w i.r { width: 9px; height: 9px; border-radius: 50%; background: #a855f7; border: 1.5px solid #fff; }
.fb-projkey-w i.r { width: 14px; height: 9px; border-radius: 1px; border: 1px solid #fff; background: linear-gradient(90deg, #a5b4fc, #22d3ee, #22c55e, #facc15); }

/* videos under the map */
.fb-vidstrip h2 { margin: 0 0 8px; font-size: 18px; }
.fb-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fb-vids figure { margin: 0; background: var(--surface, #12141c); border: 1px solid var(--border, #334155); border-radius: 12px; overflow: hidden; }
.fb-vids video, .fb-vids iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.fb-vids figcaption { padding: 7px 10px; font-size: 12px; color: var(--dim, #9ca3af); }

/* "Why these?" under Only possible meteorites */
.fb-why { font-size: 12px; color: var(--dim, #9ca3af); margin: 2px 0 6px; }
.fb-why summary { cursor: pointer; color: #c4b5fd; list-style: none; } .fb-why summary::-webkit-details-marker { display: none; } .fb-why summary::before { content: "ⓘ "; }
.fb-why p, .fb-why ul { margin: 6px 0; line-height: 1.45; } .fb-why ul { padding-left: 16px; } .fb-why b { color: var(--text, #e5e7eb); }

/* composition layers + heat map in the projection key */
.fb-projkey-layers { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10.5px; color: #e2e8f0; }
.fb-projkey-layers label { display: flex; align-items: center; gap: 5px; margin: 2px 0; cursor: pointer; }
.fb-projkey-layers label small { color: #94a3b8; font-size: 9.5px; }
.fb-projkey-layers input { margin: 0; accent-color: #f97316; }
.fb-projkey-layers i { display: inline-block; width: 14px; height: 0; border-top: 2px dashed #fff; }
.fb-pk-h { font-weight: 700; color: #fde68a; margin: 5px 0 2px; display: flex; align-items: center; gap: 8px; }
.fb-pk-sw { font-weight: 400; color: #e2e8f0; margin: 0 !important; }
.fb-pk-bands { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.fb-pk-note { color: #94a3b8; font-size: 9.5px; line-height: 1.35; margin-top: 3px; }

/* the composition / heat map tickboxes must take clicks (the rest of the key lets clicks through to the map) */
.fb-projkey-layers, .fb-projkey-layers * { pointer-events: auto; }

/* heat map key (its own layer) */
.fb-pk-heat { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.12); }
.fb-pk-heatbar { height: 8px; margin: 4px 0 3px; border-radius: 4px; background: linear-gradient(90deg, #1d4ed8, #3b82f6, #facc15, #f97316, #dc2626); }

/* compact key (Eric, 10 Nov 2026: the key took too much of the map) */
.fb-projkey { width: 178px; padding: 6px 8px 6px; font-size: 10px; }
.fb-projkey-t { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10.5px; }
.fb-pk-min { pointer-events: auto; cursor: pointer; border: 0; border-radius: 6px; background: rgba(255,255,255,.12); color: #e2e8f0; font: 600 10px/1 inherit; padding: 3px 6px; }
.fb-pk-min:hover { background: rgba(255,255,255,.22); }
.fb-projkey--min { width: auto; padding: 4px; }
.fb-projkey--min .fb-pk-body { display: none; }
.fb-projkey--min .fb-projkey-t { font-size: 0; gap: 0; }
.fb-projkey--min .fb-pk-min { font-size: 11px; padding: 4px 8px; }
.fb-projkey-bar { height: 6px; margin: 5px 0 2px; }
.fb-projkey-l { font-size: 9.5px; margin-top: 0; }
.fb-projkey-l span:nth-child(2) { color: #94a3b8; }
.fb-projkey-w { gap: 8px; margin-top: 4px; font-size: 9.5px; }
.fb-projkey-w i { width: 12px; }
.fb-pk-heat { margin-top: 5px; padding-top: 4px; }
.fb-pk-heatbar { height: 6px; margin: 0 0 2px; }
.fb-projkey-layers { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 5px; padding-top: 4px; font-size: 9.5px; }
.fb-projkey-layers label { gap: 3px; margin: 0; white-space: nowrap; }
.fb-projkey-layers i { width: 10px; }
@media (max-width: 640px) { .fb-projkey { width: 160px; } .fb-projkey--min { width: auto; } }
.fb-projkey { width: 196px; }
.fb-projkey-w span, .fb-projkey-layers label { white-space: nowrap; }
.fb-projkey-w { gap: 7px; }
.fb-projkey-layers { flex-wrap: nowrap; gap: 6px; }
.fb-projkey--min { width: auto; }
@media (max-width: 640px) { .fb-projkey { width: 180px; } .fb-projkey-layers { flex-wrap: wrap; } }

/* a member's own map of this fireball (?map=) */
.fb-mymap { margin: 0 0 8px; padding: 7px 10px; border-radius: 8px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); font-size: 13px; }
.fb-mymap a { color: #86efac; }

/* heat map: by stone size (All, one size, or Ctrl-click for several) */
.fb-pk-hsz { display: flex; gap: 3px; margin-bottom: 4px; pointer-events: auto; }
.fb-pk-hsz button { flex: 1; pointer-events: auto; cursor: pointer; padding: 3px 0; border-radius: 5px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #cbd5e1; font: 600 9px/1.1 inherit; white-space: nowrap; }
.fb-pk-hsz button.on { background: #f97316; border-color: #f97316; color: #111; }
.fb-pk-hsz button:disabled { opacity: .35; cursor: default; }
.fb-pk-hsz { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 2px; }
.fb-pk-hsz button[data-hall] { padding: 3px 5px; }
.fb-pk-hsz button { font-size: 8.5px; padding: 3px 1px; letter-spacing: -.2px; overflow: hidden; text-overflow: clip; }

/* thank-you credit for the find coordinates, under the map */
.fb-credit { font-size: 12.5px; color: var(--dim, #9ca3af); margin: 6px 0 8px; line-height: 1.5; }
.fb-credit a { color: #c4b5fd; }
.fb-acc { display: flex; gap: 12px; align-items: center; margin: 0 0 8px; padding: 9px 12px; border-radius: 8px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.4); font-size: 13.5px; line-height: 1.45; }
.fb-acc-pct { font-size: 26px; font-weight: 800; line-height: 1; min-width: 64px; text-align: center; }
.fb-pnote { margin: 0 0 8px; padding: 9px 12px; border-radius: 8px; background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.45); font-size: 13.5px; line-height: 1.5; }
.fb-pnote p { margin: 0 0 6px; } .fb-pnote p:last-child { margin-bottom: 0; }
.fb-pnote ul { margin: 0 0 6px; padding-left: 20px; }
.fb-pbar { margin: 6px 0 0; max-width: 420px; }
.fb-pbar-track { height: 8px; border-radius: 4px; background: rgba(148,163,184,.25); overflow: hidden; }
.fb-pbar-track i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #fde047, #f97316); transition: width .6s ease; }
.fb-pbar small { display: block; margin-top: 3px; color: #94a3b8; font-size: 12px; }
.fb-pk-op { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10.5px; color: #cbd5e1; }
.fb-pk-op input[type=range] { flex: 1; min-width: 0; accent-color: #f97316; height: 14px; }
.fb-pk-op span { min-width: 30px; text-align: right; color: #94a3b8; }
.fb-pk-op input[type=range] { touch-action: none; cursor: pointer; }
.fb-pk-op, .fb-pk-op * { pointer-events: auto; }   /* the key lets clicks through to the map; the opacity slider must take them */
.fb-addfind { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); z-index: 7; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 13.5px/1.2 inherit; color: #fff !important; text-decoration: none !important; background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 6px 20px rgba(0,0,0,.35); white-space: nowrap; }
.fb-addfind:hover { filter: brightness(1.08); }
/* full-screen map (field use) */
.fb-mapbox.fb-full { position: fixed; inset: 0; z-index: 10000; background: #0b0f19; margin: 0; }
.fb-mapbox.fb-full .fb-map { height: 100vh !important; height: 100dvh !important; margin: 0; border-radius: 0; }
body.fb-noscroll { overflow: hidden; }
.fb-fullbtn svg { display: block; margin: auto; }
.fb-fullbtn.on { color: #f97316; }
/* find card: in-situ photo on top */
.fb-findpop .maplibregl-popup-content { padding: 0; overflow: hidden; border-radius: 10px; }
.fb-findcard { width: 230px; font-size: 12.5px; line-height: 1.4; color: #111827; }
.fb-fc-ph { display: block; background: #0b0f19; }
.fb-fc-ph img { display: block; width: 100%; max-height: 170px; object-fit: cover; }
.fb-fc-body { padding: 8px 10px 9px; }
.fb-fc-body strong { font-size: 14px; }
.fb-fc-dim { color: #4b5563; }
/* per-fireball checklist: every source, found / nothing found / waiting / not built yet (Eric, 24 Nov 2026) */
.fb-checkwrap { margin-top: 10px; }
.fb-checkwrap > summary { font-weight: 700; font-size: 13.5px; cursor: pointer; }
.fb-checklist { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 18px; }
.fb-checklist li { display: flex; gap: 8px; align-items: baseline; font-size: 13px; line-height: 1.35; }
.fb-checklist .fb-ck { flex: 0 0 16px; font-weight: 800; text-align: center; }
.fb-checklist small { color: var(--dim, #9ca3af); }
