/* ExplorerUK Drone — Command Hub 2030 layer. Loads after hub.css. */

:root {
  --wx-good: #2fbf71;
  --wx-fair: #e8b84a;
  --wx-poor: #ef5b4c;
  --hub-ink-2: #9fb0c3;
  --hub-card: #132033;
  --hub-line: #1c2a3d;
}

/* ---------- Conditions pill under the search bar ---------- */
.wx-pill {
  position: fixed;
  top: calc(var(--safe-top) + var(--bar) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.92);
  color: #e8eef6;
  font: 700 12.5px/1.2 "DM Sans", system-ui, sans-serif;
  box-shadow: 0 8px 22px rgba(7, 11, 18, 0.35);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.wx-pill:focus-visible { outline: 3px solid var(--hub-gold); outline-offset: 2px; }
.wx-dot { width: 9px; height: 9px; border-radius: 50%; background: #64748b; flex-shrink: 0; }
.wx-pill.is-good .wx-dot { background: var(--wx-good); }
.wx-pill.is-fair .wx-dot { background: var(--wx-fair); }
.wx-pill.is-poor .wx-dot { background: var(--wx-poor); }
.wx-pill.is-idle { color: var(--hub-ink-2); }
body[class*="hub2-m-"] .wx-pill, body.has-confirm .wx-pill { display: none; }

.hub-count {
  position: fixed;
  left: 12px;
  bottom: calc(var(--safe) + var(--bar) + 18px);
  z-index: 35;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.82);
  color: #e8eef6;
  font: 700 11px/1.2 "DM Sans", system-ui, sans-serif;
  pointer-events: none;
}
.hub-count:empty { display: none; }
body[class*="hub2-m-"] .hub-count { display: none; }

/* ---------- Clusters + pin states ---------- */
.euk-cluster {
  background: none !important;
  border: 0 !important;
}
.euk-cluster span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--hub-gold);
  color: #1b1b1b;
  font: 800 13px/1 "DM Sans", system-ui, sans-serif;
  box-shadow: 0 0 0 5px rgba(232, 184, 74, 0.32), 0 6px 16px rgba(7, 11, 18, 0.4);
  transition: transform .15s ease;
}
.euk-cluster:hover span { transform: scale(1.08); }
.euk-cluster.is-live span { box-shadow: 0 0 0 5px rgba(47, 191, 113, 0.45), 0 6px 16px rgba(7, 11, 18, 0.4); }

/* Leaflet positions marker icons with position:absolute + translate3d. Never set position:relative here:
   it drops markers into normal flow and offsets each one by the heights of the markers before it. */
.leaflet-marker-icon.euk-pin, .leaflet-marker-icon.euk-cluster { position: absolute; }
.euk-pin.is-stale svg { opacity: .55; filter: grayscale(.6); }
.euk-pin .pin-tick {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--wx-good);
  color: #fff;
  font: 800 10px/15px "DM Sans", sans-serif;
  text-align: center;
  box-shadow: 0 0 0 2px #0b1220;
}
.euk-pin.is-live::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 3px solid var(--wx-good);
  animation: eukPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes eukPulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .euk-pin.is-live::before { animation: none; opacity: .8; }
}

/* ---------- Location panel extras ---------- */
.pin-plus { padding: 10px 14px 0; }
.pin-status { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pin-flag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  color: #d7e6f7;
  font-size: 11.5px;
  font-weight: 700;
}
.pin-flag.is-good { background: rgba(47, 191, 113, .14); border-color: rgba(47, 191, 113, .5); color: #9be8bd; }
.pin-flag.is-live { background: rgba(47, 191, 113, .22); border-color: var(--wx-good); color: #c9f6dc; }
.pin-flag.is-dim { color: var(--hub-ink-2); }
.pin-by { flex-basis: 100%; color: var(--hub-ink-2); font-size: 11.5px; }

.pin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.pa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--hub-line);
  border-radius: 10px;
  background: var(--hub-card);
  color: #e8eef6;
  font: 800 12px/1.15 "DM Sans", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.pa-btn:hover { border-color: #33465f; }
.pa-btn.pa-go { background: var(--hub-gold); border-color: var(--hub-gold); color: #1b1b1b; }
.pa-btn.is-on { background: rgba(47, 191, 113, .18); border-color: var(--wx-good); color: #c9f6dc; }
.pa-btn:disabled { opacity: .6; }
.pa-btn:focus-visible, .hub2-act:focus-visible, .chip:focus-visible { outline: 3px solid var(--hub-gold); outline-offset: 2px; }

.pin-wx { margin-bottom: 10px; }
.pin-flagline { padding: 4px 14px 14px; }
.linkish { background: none; border: 0; padding: 0; color: var(--hub-ink-2); text-decoration: underline; font: inherit; font-size: 12px; cursor: pointer; }
.pin-owner { margin: 8px 14px 14px; padding: 10px 12px; border: 1px solid var(--hub-line); border-radius: 12px; }
.pin-owner summary { cursor: pointer; font-weight: 700; font-size: 13px; }

.hub2-stage .wx-card { margin-bottom: 10px; }
.hub-checks .hub2-act { font-size: 13px; }

/* ---------- Spot reports ---------- */
.rp-item { padding: 8px 0; border-bottom: 1px solid var(--hub-line); }
.rp-item:last-of-type { border-bottom: 0; }
.rp-item p { margin: 4px 0 0; font-size: 12.5px; color: #d7e6f7; }
.rp-meta { color: var(--hub-ink-2) !important; font-size: 11.5px !important; margin: 0 0 4px !important; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.rp-chip { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 11px; font-weight: 700; color: #d7e6f7; }
.rp-chip.is-warn { background: rgba(239, 91, 76, .16); color: #ffb3aa; }
.rp-chip.is-good { background: rgba(47, 191, 113, .16); color: #9be8bd; }
.rp-form { display: grid; gap: 10px; margin-top: 10px; }
.rp-q > span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hub-gold); margin-bottom: 4px; }
.rp-opts { display: flex; flex-wrap: wrap; gap: 5px; }
.rp-opts label { position: relative; cursor: pointer; }
.rp-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rp-opts span { display: inline-block; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--hub-line); background: var(--hub-card); font-size: 12px; font-weight: 700; }
.rp-opts input:checked + span { background: var(--hub-gold); border-color: var(--hub-gold); color: #1b1b1b; }
.rp-opts input:focus-visible + span { outline: 2px solid var(--hub-gold); outline-offset: 2px; }
.rp-check { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; }
.rp-form textarea { width: 100%; min-height: 70px; box-sizing: border-box; border-radius: 10px; border: 1px solid var(--hub-line); background: #0b1220; color: #e8eef6; padding: 10px; font: inherit; font-size: 16px; }

/* ---------- Checklist + logbook (inside the white stage) ---------- */
.ck-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.ck-list label { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; padding: 11px 12px; border-radius: 12px; background: #f4f7fb; font-weight: 600 !important; font-size: 14px !important; color: #14202b !important; cursor: pointer; }
.ck-list input { width: 20px !important; height: 20px; flex-shrink: 0; margin: 1px 0 0; accent-color: #1f6fbf; padding: 0 !important; }
.ck-list input:checked + span { color: #1f7a45; }
.ck-count { font-weight: 800; font-size: 13px; color: #0e3a66; margin: 4px 0 6px; }
.lf-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.lf-row label { margin-top: 0 !important; }
.lb-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.lb-tot div { background: #0d1624; color: #fff; border-radius: 12px; padding: 10px; text-align: center; }
.lb-tot b { display: block; font: 800 1.5rem/1 "Barlow Condensed", sans-serif; color: var(--hub-gold); font-variant-numeric: tabular-nums; }
.lb-tot span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #9fb0c3; }
.lb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.lb-actions .hub2-act { margin-top: 0; }
.lb-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb-board li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: #0d1624; color: #e8eef6; }
.lb-rank { grid-row: span 2; font: 800 1.3rem/1 "Barlow Condensed", sans-serif; color: var(--hub-gold); text-align: center; }
.lb-name { font-weight: 800; }
.lb-bits { grid-column: 2; font-size: 11.5px; color: #9fb0c3; }
.lb-board b { grid-row: 1 / span 2; grid-column: 3; font: 800 1.3rem/1 "Barlow Condensed", sans-serif; }
.live-item { display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--wx-good); margin-right: 4px; vertical-align: 1px; }
.me-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }

.euk-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #1f6fbf; color: #fff; font: 800 10.5px/1.4 "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.euk-badge-gold { background: var(--hub-gold); color: #1b1b1b; }

.add-tags { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.add-tags legend { font-weight: 700; font-size: 12px; margin-bottom: 6px; padding: 0; }
.add-tags label { display: inline-flex !important; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--hub-line); font-size: 12px !important; font-weight: 700; margin: 0 !important; cursor: pointer; }
.add-tags input { width: auto !important; margin: 0; }

/* ---------- Toast ---------- */
.hub-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe) + var(--bar) + 26px);
  transform: translateX(-50%);
  z-index: 6000;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #0b1220;
  color: #fff;
  border: 1px solid var(--hub-gold);
  font: 700 13.5px/1.35 "DM Sans", system-ui, sans-serif;
  box-shadow: 0 14px 34px rgba(7, 11, 18, .45);
}
.hub-toast[hidden] { display: none; }

@media (max-width: 420px) {
  .wx-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .wx-grid dd { font-size: 13px; }
  .lf-row { grid-template-columns: 1fr 1fr; }
  .lf-row label:first-child { grid-column: span 2; }
}
body:has(.hub-panel.place) .wx-pill,
body:has(.hub-panel.place) .hub-count { display: none; }

/* ---------- Flights feed: poster, link-out, actions ---------- */
.hub-disc-frame { background: #0b1220 center / cover no-repeat; }
.hub-disc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex-shrink: 0; }
.hub-disc-actions .hub2-act { margin-top: 0; padding: 11px 8px; font-size: 13px; }
.hub-disc-actions .hub2-act:only-child { grid-column: 1 / -1; }
.disc-linkout {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  width: 100%; height: 100%; min-height: 260px; padding: 18px; box-sizing: border-box;
  background: #0b1220 center / cover no-repeat; color: #fff; text-decoration: none; border-radius: inherit;
}
.disc-linkout::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.15), rgba(11,18,32,.9)); border-radius: inherit; }
.disc-linkout span, .disc-linkout b { position: relative; }
.disc-linkout span { font-size: 13px; color: #cfe1f5; }
.disc-linkout b { align-self: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--hub-gold); color: #1b1b1b; font-size: 14px; }
.pin-linkout { min-height: 180px; border-radius: 12px; margin-bottom: 6px; }

/* ---------- Footage pins + map key (2030.4) ---------- */
.euk-pin .pin-play {
  position: absolute; top: -5px; left: -7px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; color: #7e22ce; font: 800 8px/16px "DM Sans", sans-serif; text-align: center; padding-left: 1px; box-sizing: border-box;
  box-shadow: 0 0 0 2px #7e22ce;
}
/* (cluster positioning handled above) */
.euk-cluster .cl-clips {
  position: absolute; right: -10px; top: -8px; padding: 2px 6px; border-radius: 999px;
  background: #a855f7; color: #fff; font: 800 10.5px/1.3 "DM Sans", sans-serif; font-style: normal;
  box-shadow: 0 0 0 2px #0b1220; white-space: nowrap;
}
.map-key-btn {
  position: fixed; left: 12px; bottom: calc(var(--safe) + var(--bar) + 46px); z-index: 36;
  border: 0; border-radius: 999px; padding: 7px 12px; background: #fff; color: #0d1624;
  font: 800 12px/1.2 "DM Sans", system-ui, sans-serif; box-shadow: 0 6px 18px rgba(13,22,36,.25); cursor: pointer;
}
.map-key {
  position: fixed; left: 12px; bottom: calc(var(--safe) + var(--bar) + 84px); z-index: 37;
  width: min(300px, calc(100% - 24px)); padding: 12px 14px; border-radius: 16px;
  background: rgba(11,18,32,.96); color: #e8eef6; box-shadow: 0 16px 40px rgba(7,11,18,.45);
}
.map-key[hidden] { display: none; }
body[class*="hub2-m-"] .map-key-btn, body[class*="hub2-m-"] .map-key,
body:has(.hub-panel.place) .map-key-btn, body:has(.hub-panel.place) .map-key { display: none; }
.map-key-list p { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-size: 12.5px; line-height: 1.3; }
.map-key-list p:last-child { margin-bottom: 0; }
.mk { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); font: 800 9px/1 "DM Sans", sans-serif; color: #fff; }
.mk-gold { background: #e8b84a; }
.mk-purple { background: #a855f7; }
.mk-purple, .mk-tick, .mk-cluster { transform: none; }
.mk-purple { border-radius: 50%; }
.mk-orange { background: #f59f00; width: 12px; height: 12px; }
.mk-blue { background: #3b82f6; width: 12px; height: 12px; }
.mk-red { background: #ef4444; width: 12px; height: 12px; }
.mk-cluster { width: 22px; height: 22px; border-radius: 50%; background: #e8b84a; color: #1b1b1b; }
.mk-live { border-radius: 50%; transform: none; border: 3px solid #2fbf71; box-sizing: border-box; }
.mk-tick { border-radius: 50%; background: #2fbf71; }
.mk-air { border-radius: 50%; transform: none; border: 2px solid #fb923c; background: rgba(251,146,60,.15); box-sizing: border-box; }
.map-key-inline { margin: 4px 0 12px; padding: 10px 12px; border-radius: 14px; background: #0d1624; color: #e8eef6; }
.map-key-inline summary { cursor: pointer; font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.hub2-stage .map-key-inline p { color: #e8eef6; }
.euk-cluster.is-footage span { background: #a855f7; color: #fff; box-shadow: 0 0 0 5px rgba(168,85,247,.32), 0 6px 16px rgba(7,11,18,.4); }

/* Classic TikTok embed: video plus caption underneath needs more height than 9:16. */
.pin-embed { aspect-ratio: auto; height: 740px; max-height: none; max-width: 340px; margin: 0 auto 6px; background: #000; }

/* ---------- Close you can't miss + colour-coded bars (2030.8) ---------- */
.hub-panel .panel-top { position: relative; padding-right: 108px; }
.hub-panel .panel-top .hub-close,
.modal-card > .hub-close {
  position: absolute; top: 10px; right: 10px; float: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border: 0; border-radius: 12px;
  background: var(--hub-gold); color: #1b1b1b;
  font: 800 13px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .03em; text-transform: uppercase;
  cursor: pointer; z-index: 2;
  animation: eukClosePulse 2s ease-in-out infinite;
}
.hub-panel .panel-top .hub-close::before,
.modal-card > .hub-close::before { content: "✕"; font-size: 14px; }
.modal-card { position: relative; padding-top: 58px; }
@keyframes eukClosePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,184,74,.65); }
  50% { box-shadow: 0 0 0 8px rgba(232,184,74,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-panel .panel-top .hub-close, .modal-card > .hub-close { animation: none; outline: 2px solid #fff; }
}

/* Each bar button has its own colour so it's easy to learn. Open = gold + flash (as before). */
.hub2-icon[data-menu="hub"] { background: #0d1624; color: #fff; }
.hub2-icon[data-menu="map"] { background: #1f6fbf; color: #fff; }
#hub2Scan { background: #2f9e44; color: #fff; }
.hub2-icon[data-menu="add"] { background: #a855f7; color: #fff; }
/* HOME: bottom-right, same spot + colour the Add button had. Leaves the map, so it is a link, not a panel toggle. */
.hub2-icon.hub2-home { background: #a855f7; color: #fff; text-decoration: none; flex-direction: column; gap: 3px; }
.hub2-icon.hub2-home svg { display: block; }
/* Hub menu: Home is the first tile, full width, gold-outlined so it can't be missed. */
.hub-dash-btn.home { grid-column: 1 / -1; gap: 10px; background: #0d1624; color: var(--hub-gold); border: 2px solid var(--hub-gold); min-height: 56px; font-size: 15px; letter-spacing: .02em; }
.hub-dash-btn.home svg { flex-shrink: 0; }
.hub2-icon.is-on, #hub2Scan.is-on { background: var(--hub-gold) !important; color: #1b1b1b !important; }

/* ---------- No-fly, parking, map panel scroll (2030.10) ---------- */
.hub2-stage[data-panel="map"] { overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
.hub2-stage[data-panel="map"] .hub-fly-below { flex: none; overflow: visible; }
#hub2Scan { background: #dc2626 !important; color: #fff !important; }
#hub2Scan.is-on { background: var(--hub-gold) !important; color: #1b1b1b !important; }
.euk-park { background: none !important; border: 0 !important; }
.euk-park span { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 5px; background: #fff; color: #1f6fbf; font: 800 12px/1 "DM Sans", sans-serif; box-shadow: 0 0 0 2px #1f6fbf, 0 3px 8px rgba(7,11,18,.35); }
.mk-park { transform: none; border-radius: 4px; background: #fff; color: #1f6fbf; box-shadow: inset 0 0 0 2px #1f6fbf; font-size: 10px; }
.mk-air { border-color: #ef4444 !important; border-style: dashed !important; background: rgba(239,68,68,.15) !important; }
.euk-air-dot { background: #ef4444 !important; }
.nf-alert { border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; }
.nf-alert b { display: block; font-size: 14px; }
.nf-alert p { margin: 3px 0 0; font-size: 12.5px; }
.nf-alert a { color: inherit; text-decoration: underline; }
.nf-in { background: #fde2e1; color: #7f1d1d; border: 2px solid #ef4444; }
.nf-near { background: #fff4e0; color: #7a4a00; border: 1px solid #f0b54a; }
.nf-clear { background: #e3f6eb; color: #14532d; }
.hub-panel .nf-alert { margin: 0 0 10px; }
.nf-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.nf-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; background: #f4f7fb; font-size: 13px; }
.nf-list span { color: #5b6770; white-space: nowrap; }
.nf-links .hub2-act { font-size: 13px; }

/* ---------- Pro (2031) ---------- */
.pro-badge { display: inline-block; font: 800 10px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .06em; padding: 3px 6px; border-radius: 999px; background: linear-gradient(135deg, #a855f7, #6d28d9); color: #fff; vertical-align: middle; }
.euk-badge-pro { background: linear-gradient(135deg, #a855f7, #6d28d9) !important; color: #fff !important; border-color: transparent !important; }
.hub-dash-btn.pro { background: linear-gradient(135deg, #a855f7, #6d28d9); color: #fff; border-color: transparent; font-weight: 800; text-decoration: none; text-align: center; }
.pro-lock { display: grid; gap: 8px; padding: 12px; border: 1px dashed #a855f7; border-radius: 12px; background: rgba(168, 85, 247, .08); }
.pro-lock p { margin: 0; }
.plan30 { display: grid; gap: 10px; }
.plan30-name { margin: 0 0 4px; font-weight: 800; }
.plan30-name small { font-weight: 500; opacity: .7; }
.plan30-row { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.plan30-h { flex: 0 0 auto; min-width: 26px; display: grid; text-align: center; border-radius: 6px; padding: 3px 2px; font-size: 11px; line-height: 1.2; border: 2px solid transparent; }
.plan30-h b { font-weight: 800; }
.plan30-h i { font-style: normal; opacity: .85; }
.plan30-h.is-good, .plan30-key .is-good { background: #16a34a; color: #fff; }
.plan30-h.is-fair, .plan30-key .is-fair { background: #f59e0b; color: #1a1300; }
.plan30-h.is-poor, .plan30-key .is-poor { background: #dc2626; color: #fff; }
.plan30-h.is-dark, .plan30-key .is-dark { background: #334155; color: #cbd5e1; }
.plan30-h.is-golden { border-color: #fbbf24; }
.plan30-key { font-size: 12px; opacity: .85; margin: 0; }
.plan30-key span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 3px 0 8px; vertical-align: -1px; }
.plan30-best { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; background: rgba(22, 163, 74, .12); }
.offline30 { display: grid; gap: 6px; }
.offline30-item { display: flex; gap: 6px; align-items: stretch; }
.offline30-go { flex: 1; display: grid; text-align: left; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, .35); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; cursor: pointer; }
.offline30-go small { opacity: .7; }
