/* Shoot Planner, November 2026. Uses the site's design system variables from Theme Options. */
html:has(.mpb-planner) { overflow-x: clip; }
.mpb-planner {
  --p-ground: var(--mpb-ground, #141514);
  --p-surface: var(--mpb-surface, #1d1f1d);
  --p-deep: var(--mpb-deep, #0e0f0e);
  --p-text: var(--mpb-text, #eceae4);
  --p-body: var(--mpb-body, #cfccc4);
  --p-muted: var(--mpb-muted, #a9a7a0);
  --p-accent: var(--mpb-accent, #d9a441);
  --p-line: var(--mpb-line, rgba(236, 234, 228, 0.14));
  --p-readout: var(--mpb-readout, "Archivo Narrow", "Archivo", "Arial Narrow", sans-serif);
  --p-ease: var(--mpb-ease, cubic-bezier(0.16, 1, 0.3, 1));
  --p-blue: #6f8fb8;
  --p-gold: #d9a441;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 40px;
  overflow-x: clip;
  color: var(--p-body);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--mpf-17);
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
.mpb-planner *, .mpb-planner *::before, .mpb-planner *::after { box-sizing: border-box; }
.mpb-planner p { padding: 0; margin: 0 0 0.75em; }
.mpb-planner a { color: var(--p-accent); text-underline-offset: 3px; }
.mpb-planner button, .mpb-planner input, .mpb-planner select { font: inherit; color: inherit; }
/* Beat Divi's .entry-content ul / p rules inside the planner */
.mpb-planner ul.mpbp-tags, .mpb-planner ul.mpbp-legend, .mpb-planner ul.mpbp-hits { list-style: none; padding: 0; line-height: inherit; }
.mpb-planner ul.mpbp-list { list-style: disc; padding: 0 0 0 18px; line-height: inherit; }
.mpb-planner .mpbp-card p, .mpb-planner .mpbp-spot p, .mpb-planner .mpbp-head p { padding-bottom: 0; }
.mpb-planner h1, .mpb-planner h2, .mpb-planner h3 { padding-bottom: 0; }

/* Header */
.mpbp-head { padding: 0 0 16px; display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 16px; }
.mpbp-head .mpbp-kicker { width: 100%; }
.mpbp-today { margin: 0 0 6px auto; font-size: var(--mpf-14) !important; }
.mpbp-kicker, .mpbp-readout, .mpbp-chip-label, .mpbp-h, .mpbp-ev-label, .mpbp-nums dt, .mpbp-times dt, .mpbp-mini dt, .mpbp-hours, .mpbp-tab, .mpbp-filter, .mpbp-tideform label, .mpbp-alignform label, .mpbp-coords label {
  font-family: var(--p-readout);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.mpbp-kicker { font-size: var(--mpf-13); color: var(--p-accent); margin-bottom: 10px !important; }
.mpb-planner .mpbp-title { font-size: clamp(1.9rem, 6.2vw, 2.9rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; color: var(--p-text); margin: 0; padding: 0; }
.mpbp-readout { font-size: var(--mpf-13); color: var(--p-muted); }
.mpbp-readout span + span::before { content: ""; display: inline-block; width: 1px; height: 0.9em; margin: 0 0.9em; vertical-align: -0.1em; background: var(--p-line); }

/* Sticky place/date bar: translucent layer, content scrolls under it */
.mpbp-bar {
  position: sticky; top: calc(var(--mpb-header-h, 0px) + 0px); z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px;
  background: var(--p-line);
  border: 1px solid var(--p-line);
  margin: 0 0 14px;
}
.mpbp-chip {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 58px; padding: 9px 14px; text-align: left;
  background: rgba(20, 21, 20, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .2s var(--p-ease), transform .1s var(--p-ease);
}
.mpbp-chip:active { transform: scale(0.985); background: var(--p-surface); }
.mpbp-chip-label { font-size: var(--mpf-11-5); color: var(--p-muted); }
.mpbp-chip-value { color: var(--p-text); font-weight: 500; font-size: var(--mpf-16); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mpbp-chip--place .mpbp-chip-value::after { content: "  \25BE"; color: var(--p-accent); }
.mpbp-chip--date { min-width: 128px; position: relative; }
.mpbp-chip--date .mpbp-chip-value::after { content: "  \25BE"; color: var(--p-accent); }
.mpbp-chip--date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; font-size: var(--mpf-16); color-scheme: dark; cursor: pointer; }
.mpbp-chip--date:focus-within { outline: 2px solid var(--p-accent); outline-offset: -2px; }

/* Tabs */
.mpbp-tabs { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--p-line); margin: 0 0 18px; }
.mpbp-tabs::-webkit-scrollbar { display: none; }
.mpbp-tab {
  flex: 1 0 auto; background: none; border: 0; border-radius: 0; padding: 14px 4px 12px; min-height: 46px;
  font-size: var(--mpf-12); letter-spacing: 0.07em; color: var(--p-muted); cursor: pointer; position: relative;
  transition: color .2s var(--p-ease);
}
.mpbp-tabs { position: relative; }
.mpbp-tab.is-on { color: var(--p-text); }
/* One indicator that travels between tabs (critically damped feel, no overshoot) */
.mpbp-ind { position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px; background: var(--p-accent); transform-origin: 0 0; transition: transform .42s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; pointer-events: none; }
.mpbp-tab:active { color: var(--p-text); }

/* Panel: content arrives from the side you moved towards; swipe tracks the finger */
.mpbp-panel { touch-action: pan-y; transition: transform .38s cubic-bezier(0.16, 1, 0.3, 1), opacity .38s cubic-bezier(0.16, 1, 0.3, 1); }
.mpbp-panel.is-enter > * { animation: mpbp-in .5s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(min(var(--i, 0), 7) * 45ms); }
@keyframes mpbp-in {
  from { opacity: 0; transform: translate(calc(var(--dir, 0) * 28px), calc(var(--dy, 0) * 12px)); }
  to { opacity: 1; transform: none; }
}
.mpbp-card, .mpbp-spot { transition: border-color .25s var(--p-ease); }

/* Cards */
.mpbp-card { background: var(--p-surface); border: 1px solid var(--p-line); padding: 20px 18px; margin: 0 0 14px; }
.mpb-planner .mpbp-h { font-size: var(--mpf-13); font-weight: 500; color: var(--p-muted); margin: 0 0 14px; padding: 0; letter-spacing: 0.12em; }
.mpbp-h--out { margin-top: 26px !important; }
.mpb-planner .mpbp-sub { font-size: var(--mpf-18); color: var(--p-text); margin: 4px 0 8px; padding: 0; }
.mpbp-muted { color: var(--p-muted); font-size: var(--mpf-15); }
.mpbp-loading { animation: mpbp-pulse 1.6s ease-in-out infinite; }
@keyframes mpbp-pulse { 50% { opacity: .45; } }

/* Verdict cards use the site's focus brackets */
.mpbp-card--verdict { --mpb-frame-inset: 8px; --mpb-frame-len: 16px; --mpb-frame-colour: rgba(217, 164, 65, 0.7); padding: 22px 22px 18px; }
.mpbp-ev { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.mpbp-ev-label { font-size: var(--mpf-13); color: var(--p-accent); width: 100%; }
.mpbp-ev-time { font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1; font-weight: 500; color: var(--p-text); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mpbp-ev-dir { font-family: var(--p-readout); font-size: var(--mpf-15); letter-spacing: 0.08em; color: var(--p-body); }
.mpbp-verdict { font-size: var(--mpf-20); line-height: 1.3; color: var(--p-text); font-weight: 500; letter-spacing: -0.01em; margin: 6px 0 12px !important; }
.mpbp-tags { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.mpbp-tag { font-size: var(--mpf-15); padding: 0 0 0 14px; position: relative; color: var(--p-body); }
.mpbp-tag::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--p-muted); }
.mpbp-tag strong { color: var(--p-text); font-weight: 500; }
.mpbp-tag--colour::before, .mpbp-tag--frost::before, .mpbp-tag--calm::before { background: var(--p-accent); }
.mpbp-tag--mist::before { background: #cfd6dc; }
.mpbp-tag--dull::before, .mpbp-tag--wind::before { background: #7a7a74; }
.mpbp-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); margin: 0; }
.mpbp-nums div { background: var(--p-surface); padding: 9px 11px; }
.mpbp-nums div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mpbp-nums dt { font-size: var(--mpf-11); color: var(--p-muted); }
.mpbp-nums dd { margin: 2px 0 0; color: var(--p-text); font-variant-numeric: tabular-nums; font-size: var(--mpf-16); }

/* Times list */
.mpbp-times { margin: 0; }
.mpbp-times div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--p-line); }
.mpbp-times div:first-child { border-top: 0; }
.mpbp-times dt { font-size: var(--mpf-12-5); color: var(--p-muted); align-self: center; }
.mpbp-times dd { margin: 0; color: var(--p-text); text-align: right; font-variant-numeric: tabular-nums; }

/* Tonight */
.mpbp-night { background: linear-gradient(180deg, #121722 0%, var(--p-surface) 70%); position: relative; overflow: hidden; }
.mpbp-night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 34% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 46% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 40%, #fff 50%, transparent 51%);
  -webkit-mask-image: linear-gradient(#000, transparent 45%); mask-image: linear-gradient(#000, transparent 45%); }
.mpbp-night > * { position: relative; }
.mpbp-night-top { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; }
.mpbp-night-top .mpbp-verdict { margin: 4px 0 0 !important; }
.mpbp-moon { flex: 0 0 auto; filter: drop-shadow(0 0 14px rgba(236, 234, 228, 0.18)); }
.mpbp-moon-dark { fill: #262a33; stroke: rgba(236, 234, 228, 0.12); stroke-width: 1; }
.mpbp-moon-lit { fill: #ece6d4; }
.mpbp-panel.is-enter .mpbp-moon { animation: mpbp-rise .9s cubic-bezier(0.16, 1, 0.3, 1) both .1s; }
@keyframes mpbp-rise { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.mpbp-cloudstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(30px, 1fr); gap: 1px; margin: 4px 0 16px; overflow-x: auto; scrollbar-width: none; }
.mpbp-cloudstrip span { height: 38px; position: relative; background: linear-gradient(rgba(150, 156, 168, var(--c)), rgba(150, 156, 168, var(--c))), #0b0e16; }
.mpbp-cloudstrip b { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font: 500 10.5px/1 var(--p-readout); letter-spacing: .06em; color: var(--p-text); text-shadow: 0 0 3px rgba(0,0,0,.9); }
.mpbp-aurora { border-top: 1px solid var(--p-line); padding-top: 14px; margin-top: 4px; }
.mpbp-aurora-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.mpbp-aurora-head strong { color: var(--p-text); font-weight: 500; }
.mpbp-meter { display: grid; grid-template-columns: repeat(4, 20px); gap: 3px; margin-left: auto; }
.mpbp-meter i { height: 6px; background: rgba(236, 234, 228, 0.12); transition: background-color .4s var(--p-ease); }
.mpbp-meter i.is-on:nth-child(1) { background: #4f7d6a; }
.mpbp-meter i.is-on:nth-child(2) { background: #5e9a7c; }
.mpbp-meter i.is-on:nth-child(3) { background: #7fbf8f; }
.mpbp-meter i.is-on:nth-child(4) { background: #9be0a6; }
.mpbp-night .mpbp-mini { margin-top: 10px; }

/* Day timeline */
.mpbp-timeline { margin: 4px 0 18px; }
.mpbp-track { position: relative; height: 26px; background: var(--p-deep); border: 1px solid var(--p-line); overflow: hidden; }
.mpbp-band { position: absolute; top: 0; bottom: 0; }
.mpbp-band.is-astro { background: #1c2230; }
.mpbp-band.is-naut { background: #26324a; }
.mpbp-band.is-blue { background: var(--p-blue); }
.mpbp-band.is-gold { background: var(--p-gold); }
.mpbp-band.is-day { background: #4a4b45; }
.mpbp-now { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--p-text); box-shadow: 0 0 0 1px var(--p-deep); }
.mpbp-marks { position: relative; height: 22px; margin-top: 4px; }
.mpbp-mark { position: absolute; transform: translateX(-50%); font-family: var(--p-readout); font-weight: 500; font-size: var(--mpf-12); letter-spacing: 0.06em; color: var(--p-text); white-space: nowrap; }
.mpbp-hours { display: flex; justify-content: space-between; font-size: var(--mpf-11); color: var(--p-muted); }

/* Compass */
.mpbp-compass { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 18px; align-items: center; }
.mpbp-compass svg { width: 100%; height: auto; overflow: visible; }
.mpbp-ring { fill: var(--p-deep); stroke: var(--p-line); }
.mpbp-tick { stroke: rgba(236, 234, 228, 0.32); stroke-width: 1; }
.mpbp-cp { fill: var(--p-muted); font-family: var(--p-readout); font-size: var(--mpf-12); letter-spacing: 0.1em; text-anchor: middle; }
.mpbp-cl { font-family: var(--p-readout); font-size: var(--mpf-11); letter-spacing: 0.08em; text-anchor: middle; dominant-baseline: middle; stroke: none !important; }
.mpbp-compass line.is-rise, .mpbp-compass line.is-set { stroke: var(--p-gold); stroke-width: 2.5; }
.mpbp-compass text.is-rise, .mpbp-compass text.is-set { fill: var(--p-gold); }
.mpbp-compass line.is-face { stroke: var(--p-text); stroke-width: 1.5; stroke-dasharray: 3 4; }
.mpbp-compass line.is-moon { stroke: #cfd6dc; stroke-width: 2; }
.mpbp-hub { fill: var(--p-text); }
.mpbp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--mpf-15); }
.mpbp-legend li { padding-left: 22px; position: relative; color: var(--p-body); }
.mpbp-legend li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 2px; background: var(--p-gold); }
.mpbp-legend li.is-face::before { background: repeating-linear-gradient(90deg, var(--p-text) 0 3px, transparent 3px 6px); }
.mpbp-legend li.is-moon::before { background: #cfd6dc; }

/* Hourly sun */
.mpbp-hourly { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); overflow-x: auto; gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); scrollbar-width: thin; }
.mpbp-hourly div { background: var(--p-deep); padding: 10px 8px; text-align: center; display: grid; gap: 2px; }
.mpbp-hourly span { font-size: var(--mpf-12); color: var(--p-muted); font-variant-numeric: tabular-nums; }
.mpbp-hourly strong { color: var(--p-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.mpbp-hourly em { font-style: normal; font-family: var(--p-readout); font-size: var(--mpf-12); letter-spacing: 0.08em; color: var(--p-accent); }

/* Links row */
.mpbp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 14px !important; font-size: var(--mpf-15); }
.mpbp-links a { color: var(--p-accent) !important; text-decoration: underline; text-decoration-thickness: 1px; }

/* Buttons: same look as the site's buttons */
.mpbp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  font-family: "Archivo", sans-serif; font-weight: 500; font-size: var(--mpf-15); letter-spacing: 0.04em; line-height: 1.2;
  padding: 13px 22px; border-radius: 0; cursor: pointer;
  background: var(--p-accent); color: #141514; border: 1px solid var(--p-accent);
  transition: background-color .25s var(--p-ease), color .25s var(--p-ease), transform .1s var(--p-ease);
}
.mpbp-btn:hover { background: transparent; color: var(--p-accent); }
.mpb-planner .mpbp-btn { color: #141514; }
.mpb-planner .mpbp-btn:hover { color: var(--p-accent); }
.mpb-planner .mpbp-btn--quiet { color: var(--p-text); }
.mpb-planner .mpbp-btn--quiet:hover { color: var(--p-accent); }
.mpbp-btn:active { transform: scale(0.97); }
.mpbp-btn:disabled { opacity: .55; cursor: progress; }
.mpbp-btn--quiet { background: transparent; color: var(--p-text); border-color: rgba(236, 234, 228, 0.32); }
.mpbp-btn--quiet:hover { border-color: var(--p-accent); color: var(--p-accent); }
.mpbp-btn--wide { width: 100%; margin: 0 0 14px; }
.mpb-planner a.mpbp-btn { text-decoration: none; color: #141514 !important; }
.mpb-planner a.mpbp-btn:hover { color: var(--p-accent) !important; }

/* Spots */
.mpbp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.mpbp-filter { background: transparent; border: 1px solid var(--p-line); border-radius: 0; padding: 9px 13px; min-height: 40px; font-size: var(--mpf-12-5); color: var(--p-body); cursor: pointer; transition: border-color .2s var(--p-ease), color .2s var(--p-ease), transform .1s var(--p-ease); }
.mpbp-filter:active { transform: scale(0.96); }
.mpbp-filter.is-on { border-color: var(--p-accent); color: var(--p-accent); }
.mpbp-spots { display: grid; gap: 14px; }
.mpbp-spot { background: var(--p-surface); border: 1px solid var(--p-line); padding: 18px; }
.mpbp-spot.is-on { border-color: rgba(217, 164, 65, 0.6); }
.mpb-planner .mpbp-spot h3 { font-size: var(--mpf-19); color: var(--p-text); margin: 0 0 6px; padding: 0; }
.mpbp-mini { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 12px; }
.mpbp-mini dt { font-size: var(--mpf-11); color: var(--p-muted); }
.mpbp-mini dd { margin: 0; color: var(--p-text); font-size: var(--mpf-15); }

.mpbp-spot-kind { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-11-5); color: var(--p-accent); margin: 0 0 4px !important; }
.mpbp-spot-actions { display: flex; align-items: center; gap: 18px; margin: 4px 0 0 !important; }
.mpbp-maplink { font-size: var(--mpf-15); color: var(--p-accent) !important; text-decoration: underline; text-underline-offset: 3px; }
.mpbp-textbtn { background: none; border: 0; padding: 0; color: var(--p-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: var(--mpf-15); }
.mpbp-filters--radius { align-items: center; margin-top: -6px; }
.mpbp-filter-label { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-11-5); color: var(--p-muted); margin-right: 4px; }
.mpbp-src { margin-top: 14px !important; font-size: var(--mpf-14); }
.mpbp-picks { display: grid; gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); margin: 0 0 12px; }
.mpbp-pick { display: grid; gap: 3px; text-align: left; background: var(--p-surface); border: 0; border-radius: 0; padding: 13px 14px; cursor: pointer; color: var(--p-body); transition: background-color .2s var(--p-ease), transform .1s var(--p-ease); }
.mpbp-pick:active { transform: scale(0.985); background: var(--p-deep); }
.mpbp-pick strong { color: var(--p-text); font-weight: 500; font-size: var(--mpf-17); }
.mpbp-pick em { font-style: normal; font-size: var(--mpf-15); color: var(--p-body); }
.mpbp-pick .mpbp-spot-kind { margin: 0 !important; }

/* Lists and notes */
.mpbp-list { margin: 0 0 10px; padding: 0 0 0 18px; }
.mpbp-list li { margin: 0 0 6px; }
.mpbp-list li::marker { color: var(--p-accent); }
.mpbp-note { border-left: 2px solid var(--p-accent); padding: 4px 0 4px 12px !important; margin: 14px 0 12px !important; }

/* Forms */
.mpbp-tideform, .mpbp-alignform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 6px 0 16px; }
.mpbp-alignform .mpbp-btn { grid-column: 1 / -1; }
.mpbp-tideform label, .mpbp-alignform label, .mpbp-coords label { display: grid; gap: 6px; font-size: var(--mpf-11-5); color: var(--p-muted); }
.mpb-planner input:not([type="date"]), .mpb-planner select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 0;
  background: var(--p-deep); border: 1px solid var(--p-line); color: var(--p-text);
  font-family: "Archivo", sans-serif; font-size: var(--mpf-17); letter-spacing: 0; text-transform: none;
  color-scheme: dark;
}
.mpb-planner input:focus, .mpb-planner select:focus { border-color: var(--p-accent); outline: none; }
.mpb-planner input[aria-invalid="true"] { border-color: #c86b5a; }
.mpbp-hits { list-style: none; margin: 0 0 12px; padding: 0; }
.mpbp-hits li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--p-line); font-variant-numeric: tabular-nums; }
.mpbp-hits strong { color: var(--p-text); font-weight: 500; min-width: 9.5em; }
.mpbp-hits span { color: var(--p-body); }

.mpbp-foot { font-size: var(--mpf-14); color: var(--p-muted); margin-top: 22px !important; }

/* Place sheet: anchored to the bottom edge, enters and leaves the same way */
.mpbp-lock, .mpbp-lock body { overflow: hidden; }
.mpbp-sheet-wrap { position: fixed; inset: 0; z-index: 100000; }
.mpbp-sheet-wrap *, .mpbp-sheet-wrap *::before, .mpbp-sheet-wrap *::after { box-sizing: border-box; }
.mpbp-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity .3s var(--p-ease, ease); }
.mpbp-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 86svh; overflow: auto; overscroll-behavior: contain;
  width: min(100%, 640px); margin: 0 auto;
  background: rgba(29, 31, 29, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(22px); backdrop-filter: saturate(140%) blur(22px);
  border-top: 2px solid #d9a441; padding: 8px 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .36s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
  color: #cfccc4; font-family: "Archivo", system-ui, sans-serif;
}
.mpbp-sheet-wrap.is-open .mpbp-scrim { opacity: 1; }
.mpbp-sheet-wrap.is-open .mpbp-sheet { transform: translateY(0); }
.mpbp-grab { width: 44px; height: 4px; background: rgba(236, 234, 228, 0.32); margin: 6px auto 10px; touch-action: none; cursor: grab; }
.mpbp-sheet-head { display: flex; justify-content: space-between; align-items: center; touch-action: none; }
.mpbp-sheet .mpbp-h { font-family: "Archivo Narrow", "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-13); color: #a9a7a0; margin: 0; padding: 0; font-weight: 500; }
.mpbp-x { background: none; border: 0; color: #d9a441; font: inherit; font-size: var(--mpf-15); padding: 12px 0 12px 12px; cursor: pointer; }
.mpbp-sheet .mpbp-btn { background: #d9a441; color: #141514; border: 1px solid #d9a441; }
.mpbp-sheet .mpbp-btn--quiet { background: transparent; color: #eceae4; border-color: rgba(236, 234, 228, 0.32); }
.mpbp-coords { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0 0 14px; }
.mpbp-coords label { font-family: "Archivo Narrow", "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-11-5); color: #a9a7a0; display: grid; gap: 6px; }
.mpbp-coords input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 0; background: #0e0f0e; border: 1px solid rgba(236, 234, 228, 0.14); color: #eceae4; font: inherit; font-size: var(--mpf-17); }
.mpbp-search { margin: 4px 0 6px; }
.mpbp-search label, .mpbp-sheet-sub { display: block; font-family: "Archivo Narrow", "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-11-5); font-weight: 500; color: #a9a7a0; margin: 0 0 6px; padding: 0; }
.mpbp-sheet-sub { margin: 18px 0 2px; }
.mpbp-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.mpbp-search input { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 0; background: #0e0f0e; border: 1px solid rgba(236, 234, 228, 0.24); color: #eceae4; font: inherit; font-size: var(--mpf-17); -webkit-appearance: none; appearance: none; }
.mpbp-search input:focus { border-color: #d9a441; outline: none; }
.mpbp-results:not(:empty) { margin: 6px 0 12px; }
.mpbp-results li { animation: mpbp-res .32s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes mpbp-res { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mpbp-note-li { padding: 12px 2px; color: #a9a7a0; font-size: var(--mpf-15); border-top: 1px solid rgba(236, 234, 228, 0.14); }
.mpbp-placelist { list-style: none; margin: 0; padding: 0; }
.mpbp-placelist button { width: 100%; text-align: left; display: grid; gap: 2px; background: none; border: 0; border-top: 1px solid rgba(236, 234, 228, 0.14); padding: 13px 2px; cursor: pointer; color: #eceae4; font: inherit; font-size: var(--mpf-17); transition: background-color .15s ease; }
.mpbp-placelist button:active { background: rgba(236, 234, 228, 0.06); }
.mpbp-placelist button[aria-current="true"] span { color: #d9a441; }
.mpbp-placelist em { font-style: normal; font-family: "Archivo Narrow", "Archivo", sans-serif; font-size: var(--mpf-12); text-transform: uppercase; letter-spacing: 0.1em; color: #a9a7a0; }

/* ---------- Best shot hero (November 2026 rework) ---------- */
.mpbp-hero { --mpb-frame-inset: 8px; --mpb-frame-len: 18px; --mpb-frame-colour: rgba(217, 164, 65, 0.75); position: relative; overflow: hidden; padding: 24px 22px 20px; margin: 0 0 14px; border: 1px solid var(--p-line); background: linear-gradient(165deg, #2a2216 0%, var(--p-surface) 58%); }
.mpbp-hero--sunrise { background: linear-gradient(165deg, #26241a 0%, #1f2022 45%, var(--p-surface) 75%); }
.mpbp-hero--night { background: linear-gradient(170deg, #111827 0%, #141a24 40%, var(--p-surface) 85%); }
.mpbp-hero > * { position: relative; }
.mpbp-hero-top { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 4px; }
.mpbp-hero-what { display: grid; gap: 2px; padding-bottom: 4px; }
.mpbp-hero-what strong { font-size: var(--mpf-19); color: var(--p-text); font-weight: 500; line-height: 1.15; }
.mpbp-hero-what em { font-style: normal; font-family: var(--p-readout); font-size: var(--mpf-13-5); letter-spacing: 0.06em; color: var(--p-body); }
.mpbp-hero .mpbp-verdict { font-size: var(--mpf-22); margin: 10px 0 12px !important; }
.mpbp-score { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.mpbp-score-track { flex: 1; height: 4px; background: rgba(236, 234, 228, 0.12); position: relative; overflow: hidden; }
.mpbp-score-track i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--s)); background: linear-gradient(90deg, rgba(217, 164, 65, .45), var(--p-accent)); transition: transform .9s var(--p-ease); }
.mpbp-panel.is-enter .mpbp-score-track i { animation: mpbp-fill 1s cubic-bezier(0.16, 1, 0.3, 1) both .25s; }
@keyframes mpbp-fill { from { transform: scaleX(0); } }
.mpbp-score b { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-13); font-weight: 500; color: var(--p-accent); min-width: 48px; text-align: right; }
.mpb-planner .mpbp-plan { font-size: var(--mpf-15-5); margin: -4px 0 14px; color: var(--p-body); }
.mpbp-plan strong { color: var(--p-text); font-weight: 500; }
.mpbp-go { border-top: 1px solid var(--p-line); padding-top: 14px; margin-top: 4px; }
.mpbp-go strong { display: block; font-size: var(--mpf-19); color: var(--p-text); font-weight: 500; line-height: 1.25; margin: 0 0 4px; }
.mpb-planner .mpbp-go p { margin-bottom: 10px; font-size: var(--mpf-15-5); }
.mpb-planner .mpbp-go .mpbp-spot-kind { margin: 0 0 4px; }
.mpbp-go-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 0 !important; }

/* Next 36 hours */
.mpbp-moments { display: grid; border-top: 1px solid var(--p-line); }
.mpbp-moment { border-bottom: 1px solid var(--p-line); }
.mpbp-moment summary, .mpbp-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 0; min-height: 56px; }
.mpbp-moment summary::-webkit-details-marker, .mpbp-more summary::-webkit-details-marker { display: none; }
.mpbp-m-time { font-size: var(--mpf-22); font-weight: 500; color: var(--p-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; min-width: 64px; }
.mpbp-m-what { flex: 1; display: grid; line-height: 1.25; }
.mpbp-m-what strong { color: var(--p-text); font-weight: 500; font-size: var(--mpf-16); }
.mpbp-m-what em { font-style: normal; font-size: var(--mpf-13-5); color: var(--p-muted); }
.mpbp-moment.is-best .mpbp-m-time { color: var(--p-accent); }
.mpbp-pill { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-11-5); padding: 4px 8px; border: 1px solid var(--p-line); color: var(--p-body); }
.mpbp-pill--great { border-color: var(--p-accent); color: #141514; background: var(--p-accent); }
.mpbp-pill--good { border-color: var(--p-accent); color: var(--p-accent); }
.mpbp-pill--poor { color: var(--p-muted); }
.mpbp-chev { width: 9px; height: 9px; border-right: 1.5px solid var(--p-muted); border-bottom: 1.5px solid var(--p-muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--p-ease); flex: none; }
details[open] > summary .mpbp-chev { transform: rotate(225deg) translate(-2px, -2px); }
.mpbp-m-body, .mpbp-more-body { padding: 2px 0 14px; }
details[open] .mpbp-m-body, details[open] .mpbp-more-body { animation: mpbp-open .35s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes mpbp-open { from { opacity: 0; transform: translateY(-6px); } }
.mpbp-more { padding-top: 6px; padding-bottom: 6px; }
.mpbp-more summary .mpbp-h { margin: 0 !important; flex: 1; }
.mpbp-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); margin: 14px 0 0; }
.mpbp-quad div { background: var(--p-surface); padding: 10px 12px; }
.mpbp-quad dt { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-11); color: var(--p-muted); }
.mpbp-quad dd { margin: 2px 0 0; color: var(--p-text); font-size: var(--mpf-16); font-variant-numeric: tabular-nums; }

/* Sky events */
.mpb-planner ul.mpbp-evlist, .mpb-planner ul.mpbp-planets { list-style: none; padding: 0; margin: 0 0 12px; line-height: inherit; }
.mpbp-ev-row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--p-line); }
.mpbp-ev-row:first-child { border-top: 0; padding-top: 2px; }
.mpbp-ev-row.is-dim { opacity: .55; }
.mpbp-ev-date { display: grid; align-content: start; justify-items: center; text-align: center; font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--mpf-11-5); color: var(--p-muted); border: 1px solid var(--p-line); padding: 6px 2px 5px; height: max-content; }
.mpbp-ev-date b { font-family: "Archivo", sans-serif; font-size: var(--mpf-21); line-height: 1; letter-spacing: -0.02em; color: var(--p-text); font-weight: 500; margin-bottom: 2px; }
.mpbp-ev-date em { font-style: normal; font-size: 10.5px; }
.mpbp-ev-main { display: grid; gap: 2px; font-size: var(--mpf-15); color: var(--p-body); }
.mpbp-ev-main strong { color: var(--p-text); font-weight: 500; font-size: var(--mpf-16-5); line-height: 1.3; }
.mpb-planner .mpbp-ev-main .mpbp-spot-kind { margin: 0 !important; }
.mpbp-ev-row--eclipse .mpbp-ev-date, .mpbp-ev-row--comet .mpbp-ev-date { border-color: rgba(217, 164, 65, 0.55); }
.mpbp-evlist--mini .mpbp-ev-main > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpbp-teaser .mpbp-links { margin-bottom: 0 !important; }
.mpbp-planets li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--p-line); font-size: var(--mpf-15); }
.mpbp-planets li:first-child { border-top: 0; padding-top: 0; }
.mpbp-pl-name { display: flex; align-items: baseline; gap: 10px; }
.mpbp-pl-name strong { color: var(--p-text); font-weight: 500; font-size: var(--mpf-17); }
.mpbp-pl-name em { font-style: normal; font-family: var(--p-readout); font-size: var(--mpf-12-5); letter-spacing: 0.08em; color: var(--p-muted); text-transform: uppercase; }
.mpbp-filters--sky { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -4px; padding-bottom: 2px; }
.mpbp-filters--sky::-webkit-scrollbar { display: none; }
.mpbp-filters--sky .mpbp-filter { flex: none; padding: 8px 10px; font-size: var(--mpf-11-5); letter-spacing: 0.08em; }
.mpbp-filters--sky { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }

/* Compact spot cards */
.mpbp-spots { gap: 10px; }
.mpbp-spot { padding: 14px 16px 12px; }
.mpb-planner .mpbp-spot h3 { font-size: var(--mpf-18); line-height: 1.25; margin: 0 0 4px; }
.mpb-planner .mpbp-spot .mpbp-spot-kind { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mpbp-spot-kind span { color: var(--p-muted); letter-spacing: 0.06em; }
.mpb-planner .mpbp-spot-desc { font-size: var(--mpf-14); color: var(--p-muted); margin: 0 0 4px; }
.mpb-planner .mpbp-spot-tip { font-size: var(--mpf-15); margin: 0 0 8px; }
.mpb-planner .mpbp-btn--sm { min-height: 38px; padding: 8px 14px; font-size: var(--mpf-14); }

/* ---------- Apple review: press feedback, phone tab bar ---------- */
.mpbp-moment summary, .mpbp-more summary { transition: background-color .15s var(--p-ease); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.mpbp-moment summary:active, .mpbp-more summary:active { background: rgba(236, 234, 228, 0.06); transition: none; }
.mpbp-textbtn, .mpbp-maplink, .mpbp-links a { transition: opacity .15s var(--p-ease); }
.mpbp-textbtn:active, .mpbp-maplink:active, .mpbp-links a:active { opacity: .55; transition: none; }
.mpbp-spot { transition: border-color .25s var(--p-ease), transform .12s var(--p-ease); }
.mpbp-spot:active { transform: scale(0.992); }
/* On phones the tabs become a translucent bar at the bottom, always within thumb reach (like an iOS tab bar). */
@media (max-width: 640px) {
  .mpb-planner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mpbp-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; overflow: visible;
    grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch;
    padding: 0 8px env(safe-area-inset-bottom);
    background: rgba(20, 21, 20, 0.82);
    -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);
    border-top: 1px solid var(--p-line); border-bottom: 0;
  }
  .mpb-planner .mpbp-tab { min-height: 54px; padding: 16px 0 14px; font-size: var(--mpf-11-5); letter-spacing: 0.04em; text-align: center; white-space: nowrap; }
  .mpbp-ind { top: -1px; bottom: auto; }
}

@media (max-width: 560px) {
  .mpbp-compass { grid-template-columns: 1fr; }
  .mpbp-compass svg { max-width: 240px; margin: 0 auto; display: block; }
  .mpbp-card { padding: 18px 16px; }
}

/* Installed on the home screen: hide the site chrome so it feels like an app */
@media (display-mode: standalone) {
  .mpbp-app .et-l--header, .mpbp-app .et-l--footer, .mpbp-app #wpadminbar { display: none !important; }
  .mpbp-app .mpbp-bar { top: 0; }
  .mpbp-app .mpb-planner { padding-top: env(safe-area-inset-top); }
}

@media (prefers-reduced-motion: reduce) {
  .mpbp-results li { animation: none !important; }
  .mpb-planner *, .mpbp-sheet, .mpbp-scrim { transition-duration: 0.01ms !important; animation: none !important; }
  .mpbp-panel.is-enter > * { animation: mpbp-fade .2s ease both !important; }
  @keyframes mpbp-fade { from { opacity: 0; } to { opacity: 1; } }
  .mpbp-sheet { transform: none; opacity: 0; transition: opacity .2s ease !important; }
  .mpbp-sheet-wrap.is-open .mpbp-sheet { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .mpbp-tabs { background: var(--p-ground) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .mpbp-chip { background: var(--p-ground); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mpbp-sheet { background: #1d1f1d; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .mpb-planner { --p-line: rgba(236, 234, 228, 0.4); --p-muted: #cfccc4; }
}
.mpbp-chip-value.is-empty { color: var(--p-accent); }
.mpbp-start p { margin: 0 0 16px; }
.mpbp-start-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.mpbp-seo { color: var(--p-muted); font-size: var(--mpf-16); }

/* Animated bits, 3 November 2026: timeline sweep, compass rays, cloud strip and aurora meter, live countdown */
@keyframes mpbp-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mpbp-show { from { opacity: 0; } }
@keyframes mpbp-grow-y { from { transform: scaleY(0); } }
@keyframes mpbp-grow-x { from { transform: scaleX(0); } }
@keyframes mpbp-draw { from { stroke-dashoffset: var(--len, 100); } to { stroke-dashoffset: 0; } }
@keyframes mpbp-glow { 50% { box-shadow: 0 0 0 1px var(--p-deep), 0 0 10px 2px rgba(236, 234, 228, 0.5); } }
@keyframes mpbp-tick { from { opacity: 0; } }
.mpbp-timeline.is-grow .mpbp-track { animation: mpbp-sweep .9s cubic-bezier(0.16, 1, 0.3, 1) both .15s; }
.mpbp-timeline.is-grow .mpbp-marks, .mpbp-timeline.is-grow .mpbp-hours { animation: mpbp-show .4s ease-out both .75s; }
.mpbp-now { transition: left .6s var(--p-ease); animation: mpbp-glow 2.8s ease-in-out infinite; }
.mpbp-compass.is-grow line.is-rise, .mpbp-compass.is-grow line.is-set, .mpbp-compass.is-grow line.is-moon { stroke-dasharray: var(--len, 100); animation: mpbp-draw .8s cubic-bezier(0.16, 1, 0.3, 1) both .25s; }
.mpbp-compass.is-grow line.is-set { animation-delay: .35s; }
.mpbp-compass.is-grow line.is-moon { animation-delay: .45s; }
.mpbp-compass.is-grow text.is-rise, .mpbp-compass.is-grow text.is-set, .mpbp-compass.is-grow text.is-moon, .mpbp-compass.is-grow line.is-face { animation: mpbp-show .4s ease-out both .85s; }
.mpbp-cloudstrip.is-grow span { transform-origin: 50% 100%; animation: mpbp-grow-y .55s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(.2s + min(var(--k, 0), 14) * 30ms); }
.mpbp-meter.is-grow i.is-on { transform-origin: 0 50%; animation: mpbp-grow-x .35s ease-out both; animation-delay: calc(.4s + var(--k, 0) * 90ms); }
[data-until].is-tick { animation: mpbp-tick .45s ease-out; }
[data-until].is-soon, [data-until].is-now { color: var(--p-accent); }
[data-until].is-now { animation: mpbp-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .mpbp-now, [data-until].is-now, [data-until].is-tick { animation: none !important; transition: none !important; }
  .mpbp-timeline.is-grow *, .mpbp-compass.is-grow *, .mpbp-cloudstrip.is-grow span, .mpbp-meter.is-grow i { animation: none !important; }
}
/* Extras, 3 November 2026: tides, horizon check, mist and inversion, drone check, rainbows, calendar, dark skies, calculators */
.mpbx-tidewrap { position: relative; height: 110px; margin: 4px 0 12px; }
.mpbx-tide { display: block; width: 100%; height: 110px; overflow: visible; }
.mpbx-tide path { fill: none; stroke: var(--p-blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mpbx-tsun { stroke: var(--p-gold); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.mpbx-tnow { stroke: var(--p-text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mpbx-tlab { position: absolute; transform: translateX(-50%); font: 500 var(--mpf-11)/1 var(--p-readout); letter-spacing: .06em; color: var(--p-body); white-space: nowrap; pointer-events: none; }
.mpbx-cal { margin: 10px 0 0 !important; }
.mpbx-pill { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: .1em; font-size: var(--mpf-11-5); padding: 4px 8px; border: 1px solid var(--p-line); color: var(--p-body); white-space: nowrap; }
.mpbx-pill--0 { border-color: #7fbf8f; color: #9be0a6; }
.mpbx-pill--1 { border-color: var(--p-accent); color: var(--p-accent); }
.mpbx-pill--2 { color: var(--p-muted); }
.mpbx-drone summary .mpbx-pill { margin-left: auto; }
.mpbx-calc .mpbp-alignform { margin-bottom: 8px; }
.mpbx-calc-out .mpbp-times dd { line-height: 1.45; }
.mpbx-inv .mpbp-verdict, .mpbx-rainbow .mpbp-verdict { margin: 0 0 8px; }
.mpbp-times dd .mpbp-muted { font-size: var(--mpf-13-5); }
@media (prefers-contrast: more) { .mpbx-tide path { stroke-width: 3; } .mpbx-tlab { color: var(--p-text); } }

/* Compass, modern dial (3 November 2026). Replaces the older ring, ticks and line legend. */
.mpb-planner .mpbp-ring { fill: url(#mpbp-dial); stroke: rgba(236, 234, 228, 0.10); stroke-width: 1; }
.mpb-planner .mpbp-tick { stroke: rgba(236, 234, 228, 0.18); stroke-width: 1; stroke-linecap: round; }
.mpb-planner .mpbp-tick.is-major { stroke: rgba(236, 234, 228, 0.45); stroke-width: 1.4; }
.mpb-planner .mpbp-cp { fill: var(--p-muted); font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; }
.mpb-planner .mpbp-cp.is-n { fill: var(--p-text); }
.mpb-planner .mpbp-dayarc { fill: none; stroke: var(--p-gold); stroke-width: 4; stroke-linecap: round; opacity: .9; }
.mpb-planner .mpbp-view { fill: rgba(236, 234, 228, 0.07); stroke: none; }
.mpb-planner .mpbp-compass line.is-rise, .mpb-planner .mpbp-compass line.is-set { stroke: rgba(217, 164, 65, 0.55); stroke-width: 1.25; stroke-linecap: round; }
.mpb-planner .mpbp-compass line.is-moon { stroke: rgba(207, 214, 220, 0.5); stroke-width: 1.25; stroke-linecap: round; }
.mpb-planner .mpbp-compass line.is-face { stroke: rgba(236, 234, 228, 0.35); stroke-width: 1; stroke-dasharray: 2 3; }
.mpb-planner .mpbp-glow { fill: rgba(217, 164, 65, 0.22); }
.mpb-planner .mpbp-mk { fill: var(--p-gold); stroke: #141514; stroke-width: 2; }
.mpb-planner .mpbp-mk--moon { fill: #dfe4e8; stroke: #141514; stroke-width: 1.5; }
.mpb-planner .mpbp-hub { fill: var(--p-surface); stroke: rgba(236, 234, 228, 0.6); stroke-width: 1.2; }
.mpb-planner .mpbp-cl { font: 500 var(--mpf-11) var(--p-readout); letter-spacing: .06em; dominant-baseline: central; }
.mpb-planner .mpbp-compass text.is-rise, .mpb-planner .mpbp-compass text.is-set { fill: var(--p-text); }
.mpb-planner .mpbp-legend li::before { width: 9px; height: 9px; top: 0.5em; border-radius: 50%; background: var(--p-gold); }
.mpb-planner .mpbp-legend li.is-moon::before { background: #dfe4e8; }
.mpb-planner .mpbp-legend li.is-face::before { border-radius: 0; width: 10px; height: 10px; background: rgba(236, 234, 228, 0.18); border: 1px dashed rgba(236, 234, 228, 0.5); box-sizing: border-box; }
@keyframes mpbp-arc { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes mpbp-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.mpbp-compass.is-grow .mpbp-dayarc { stroke-dasharray: 100; animation: mpbp-arc .9s cubic-bezier(0.16, 1, 0.3, 1) both .15s; }
.mpbp-compass.is-grow .mpbp-mk, .mpbp-compass.is-grow .mpbp-glow { transform-box: fill-box; transform-origin: center; animation: mpbp-pop .45s cubic-bezier(0.16, 1, 0.3, 1) both .6s; }
.mpbp-compass.is-grow .mpbp-view { animation: mpbp-show .5s ease-out both .3s; }
@media (prefers-reduced-motion: reduce) { .mpbp-compass.is-grow * { animation: none !important; } }
@media (prefers-contrast: more) { .mpb-planner .mpbp-tick { stroke: rgba(236, 234, 228, 0.5); } .mpb-planner .mpbp-compass line.is-rise, .mpb-planner .mpbp-compass line.is-set { stroke: var(--p-gold); stroke-width: 2; } }

@media (min-width: 700px) { .mpb-planner .mpbp-compass { grid-template-columns: minmax(0, 270px) 1fr; gap: 24px; } }
.mpb-planner .mpbp-compass svg { max-width: 280px; }

/* ---------- Living sky, 3 November 2026 ---------- */

/* 1. Best shot: the live sky sits behind the moment */
.mpbp-hero:has(.mpbl-sky) { background: #1d1f1d; padding-top: 26px; border-color: rgba(255,255,255,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.mpbl-sky { position: absolute !important; left: 0; right: 0; top: 0; height: 420px; overflow: hidden; pointer-events: none; z-index: 0; }
.mpbl-sky i { position: absolute; display: block; }
.mpbl-cloud { height: 14px; border-radius: 50%; filter: blur(6px); opacity: 0.75; }
.mpbl-glow { top: 64%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(circle, rgba(255,228,170,0.95) 0%, rgba(255,192,112,0.55) 24%, rgba(255,160,90,0) 64%); }
.mpbl-sun { top: 64%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff2d2; box-shadow: 0 0 18px 6px rgba(255,214,140,0.85); }
.mpbl-streak { top: 68.6%; width: 26px; height: 22%; margin-left: -13px; opacity: 0.75; filter: blur(1px); }
.mpbl-land { position: absolute; left: 0; top: calc(68.4% - 12px); width: 100%; height: 14px; display: block; }
.mpbl-fade { left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(29,31,29,0) 0%, rgba(29,31,29,0.82) 55%, #1d1f1d 100%); }
.mpbl-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.mpbl-milky { left: -20%; top: 10%; width: 140%; height: 90px; transform: rotate(-32deg); background: radial-gradient(50% 50% at 50% 50%, rgba(205,196,232,0.2) 0%, rgba(150,140,205,0.08) 48%, rgba(0,0,0,0) 72%); filter: blur(10px); }
.mpbp-hero:has(.mpbl-sky) > *:not(.mpbl-sky) { z-index: 1; }
.mpbp-hero:has(.mpbl-sky) .mpbp-ev-label { color: rgba(255,232,190,0.92); text-shadow: 0 1px 12px rgba(10,10,30,0.5); }
.mpbp-hero:has(.mpbl-sky) .mpbp-hero-top { margin: 6px 0 164px; align-items: flex-end; }
.mpbp-hero:has(.mpbl-sky) .mpbp-ev-time { font-size: clamp(4.2rem, 21vw, 5.6rem); font-weight: 300; letter-spacing: -0.05em; line-height: 0.92; color: #fff8ec; text-shadow: 0 2px 30px rgba(20,16,40,0.45); }
.mpbp-hero:has(.mpbl-sky) .mpbp-hero-what strong { color: #fff4e2; text-shadow: 0 1px 14px rgba(20,16,40,0.5); }
.mpbp-hero:has(.mpbl-sky) .mpbp-hero-what em { color: rgba(255,240,220,0.9); text-shadow: 0 1px 12px rgba(20,16,40,0.5); }
.mpbp-hero:has(.mpbl-sky) .mpbp-verdict { font-size: var(--mpf-24); letter-spacing: -0.02em; }
.mpbp-hero--night:has(.mpbl-sky) .mpbl-fade { height: 40%; }

/* 2. Score ring */
.mpbl-score { display: flex !important; align-items: center; gap: 12px; }
.mpbl-score svg { width: 52px; height: 52px; display: block; }
.mpbl-ring-bg { fill: none; stroke: rgba(236,234,228,0.12); stroke-width: 4; }
.mpbl-ring-fg { fill: none; stroke: var(--p-accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: var(--s) 100; }
.mpbl-score-n { fill: var(--p-text); font: 500 var(--mpf-16) Archivo, sans-serif; text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.mpbl-score b { text-align: left !important; min-width: 0 !important; font-size: var(--mpf-14) !important; }
@keyframes mpbl-ring { from { stroke-dasharray: 0 100; } }
.mpbp-panel.is-enter .mpbl-ring-fg { animation: mpbl-ring 1s cubic-bezier(0.16, 1, 0.3, 1) both .25s; }

/* 3. Ribbon of real sky colour */
.mpbl-ribbon .mpbp-track { height: 48px; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); overflow: visible; }
.mpbl-ribbon .mpbp-track::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 1px, transparent 1px calc(100% / 24)); mix-blend-mode: overlay; pointer-events: none; }
.mpbl-ribbon .mpbp-now { top: -7px; bottom: -7px; width: 2px; background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,0.6); }
.mpbl-ribbon .mpbp-mark { font-size: var(--mpf-12-5); }

/* 4. Sky dome */
.mpbl-dome { position: relative; overflow: hidden; border-color: rgba(255,255,255,0.08); }
.mpbl-dome-sky { margin: 8px -16px 0; padding: 6px 16px 0; transition: background .25s ease; }
.mpbl-dome .mpbp-h { color: rgba(236,234,228,0.8); position: relative; }
.mpbl-dome-svg { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; }
.mpbl-horizon { stroke: rgba(255,226,170,0.55); stroke-width: 1; }
.mpbl-tick { stroke: rgba(236,234,228,0.45); stroke-width: 1; }
.mpbl-az { fill: #c9c6be; font: 600 10.5px var(--p-readout); letter-spacing: .12em; text-anchor: middle; }
.mpbl-band { font: 600 9.5px var(--p-readout); letter-spacing: .12em; text-anchor: start; }
.mpbl-band.is-gold { fill: #ffd690; }
.mpbl-band.is-blue { fill: #a9c1e8; }
.mpbl-blue { fill: #3a5a9a; opacity: .35; }
.mpbl-sunpath { fill: none; stroke: #f6c87c; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,200,120,0.45)); }
.mpbl-sunbelow { fill: none; stroke: rgba(240,179,90,0.4); stroke-width: 1.5; stroke-dasharray: 2 4; }
.mpbl-moonpath { fill: none; stroke: rgba(223,228,232,0.55); stroke-width: 1.2; stroke-dasharray: 1.5 4; stroke-linecap: round; }
.mpbl-moondot { fill: #e8ebee; filter: drop-shadow(0 0 5px rgba(232,235,238,0.5)); }
.mpbl-noon { stroke: rgba(255,240,200,0.2); stroke-dasharray: 2 3; }
.mpbl-rs { fill: #ffe2a6; font: 600 10.5px var(--p-readout); letter-spacing: .08em; text-anchor: middle; }
.mpbl-sundisc { fill: #fff6dc; }
.mpbl-sunnow { transition: transform .12s linear; }
.mpbl-scrub { display: grid; gap: 8px; margin: 10px 0 0; position: relative; }
.mpbl-scrub-label { font: 600 10.5px var(--p-readout); letter-spacing: .12em; text-transform: uppercase; color: rgba(236,234,228,0.75); }
.mpb-planner .mpbl-scrub input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; min-height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.mpbl-scrub input[type=range]::-webkit-slider-runnable-track { height: 4px; background: rgba(255,255,255,0.28); }
.mpbl-scrub input[type=range]::-moz-range-track { height: 4px; background: rgba(255,255,255,0.28); }
.mpbl-scrub input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: #f4f1ea; border: 0; box-shadow: 0 0 0 5px rgba(244,241,234,0.16), 0 6px 16px rgba(0,0,0,0.45); }
.mpbl-scrub input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #f4f1ea; border: 0; box-shadow: 0 0 0 5px rgba(244,241,234,0.16), 0 6px 16px rgba(0,0,0,0.45); }
.mpbl-scrub input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.mpb-planner .mpbl-readout { margin: 2px 0 0; font: 500 var(--mpf-15)/1.4 Archivo, sans-serif; color: #f4f1ea; font-variant-numeric: tabular-nums; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
@keyframes mpbl-draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.mpbp-panel.is-enter .mpbl-sunpath { stroke-dasharray: 400; animation: mpbl-draw 1.1s cubic-bezier(0.16, 1, 0.3, 1) both .2s; }

/* 5. Sun path from above */
.mpb-planner .mpbl-polar { grid-template-columns: 1fr; }
.mpb-planner .mpbl-polar svg { max-width: 340px; margin: 0 auto; display: block; width: 100%; }
.mpbl-ring { fill: none; stroke: rgba(236,234,228,0.08); }
.mpbl-ring.is-edge { stroke: rgba(236,234,228,0.18); }
.mpbl-tk { stroke: rgba(236,234,228,0.2); stroke-width: 1; }
.mpbl-tk.is-big { stroke: rgba(236,234,228,0.5); }
.mpbl-cp { fill: var(--p-muted); font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; }
.mpbl-cp.is-n { fill: var(--p-text); }
.mpbl-view { fill: rgba(236,234,228,0.07); }
.mpbl-summer { fill: none; stroke: rgba(240,179,90,0.5); stroke-width: 1; stroke-dasharray: 3 4; }
.mpbl-winter { fill: none; stroke: rgba(111,143,184,0.5); stroke-width: 1; stroke-dasharray: 3 4; }
.mpbl-today { fill: none; stroke: #f0b35a; stroke-width: 3; stroke-linecap: round; }
.mpbl-hr { fill: #f4d79c; }
.mpbl-hrt { fill: #e9e6de; font: 600 10px var(--p-readout); letter-spacing: .06em; text-anchor: middle; }
.mpbl-glowc { fill: rgba(240,179,90,0.2); }
.mpbl-mk { fill: #f0b35a; stroke: #141514; stroke-width: 2; }
.mpbl-hub { fill: #121312; stroke: #f4f1ea; stroke-width: 1.5; }
.mpbl-polar line.is-rise, .mpbl-polar line.is-set { stroke: rgba(240,179,90,0.5); stroke-width: 1; }
.mpbl-polar line.is-moon { stroke: rgba(223,228,232,0.45); stroke-width: 1; }
.mpb-planner .mpbl-polar .mpbp-legend { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mpb-planner .mpbp-legend li.is-season::before { border-radius: 0; height: 0; width: 12px; top: .75em; background: none; border-top: 1px dashed #b48a46; }
.mpbp-compass.is-grow .mpbl-today { stroke-dasharray: 100; animation: mpbp-arc 1s cubic-bezier(0.16, 1, 0.3, 1) both .15s; }

/* 6. Moon */
.mpbl-moon { overflow: visible; }
.mpbl-moonhalo { fill: #dfe4ea; filter: blur(4px); }

/* 7. Tonight: a real night sky behind the card */
.mpbp-night:has(.mpbl-night) { position: relative; overflow: hidden; background: radial-gradient(130% 90% at 75% 0%, #17204a 0%, #0b1230 48%, #070a14 100%); border-color: rgba(255,255,255,0.08); }
.mpbl-night { position: absolute; inset: 0; pointer-events: none; }
.mpbl-night svg { position: absolute; left: 0; top: 0; width: 100%; height: 300px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.mpbl-night .mpbl-milky { position: absolute; display: block; }
.mpbp-night:has(.mpbl-night) > *:not(.mpbl-night) { position: relative; z-index: 1; }

/* Cloud through the night: soft bars, clear hours in amber */
.mpb-planner .mpbp-cloudstrip { height: 64px; align-items: end; gap: 2px; }
.mpb-planner .mpbp-cloudstrip span { height: 64px; background: transparent; }
.mpb-planner .mpbp-cloudstrip span::before { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: calc(4% + var(--c) * 72%); background: linear-gradient(180deg, rgba(200,206,222,0.85), rgba(120,128,150,0.3)); }
.mpb-planner .mpbp-cloudstrip span.is-clear::before { background: linear-gradient(180deg, rgba(217,164,65,0.95), rgba(217,164,65,0.35)); }
.mpb-planner .mpbp-cloudstrip b { bottom: 2px; color: #9da1b2; text-shadow: none; }
.mpb-planner .mpbp-cloudstrip span.is-clear b { color: var(--p-accent); }

/* Aurora meter as light */
.mpb-planner .mpbp-meter i { height: 8px; }
.mpb-planner .mpbp-meter i.is-on { box-shadow: 0 0 12px 1px rgba(111,211,154,0.55); }

/* Tide curve fill */
.mpbx-tide path.mpbx-tarea { fill: url(#mpbxSea); stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .mpbl-sunnow, .mpbl-dome-sky { transition: none !important; }
  .mpbp-panel.is-enter .mpbl-sunpath, .mpbp-panel.is-enter .mpbl-ring-fg, .mpbp-compass.is-grow .mpbl-today { animation: none !important; stroke-dasharray: none; }
  .mpbp-panel.is-enter .mpbl-ring-fg { stroke-dasharray: var(--s) 100 !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .mpbl-cloud, .mpbl-milky { display: none !important; }
}
@media (prefers-contrast: more) {
  .mpbl-sunpath { stroke-width: 3.5; }
  .mpbl-az, .mpbl-scrub-label { fill: #fff; color: #fff; }
}

/* ---------- Living sky, part 2: the other sections (3 November 2026) ---------- */

/* Browser surfaces in the planner's palette */
.mpb-planner ::selection { background: rgba(217,164,65,0.85); color: #141514; }
.mpb-planner input, .mpb-planner select { caret-color: var(--p-accent); accent-color: var(--p-accent); }
.mpb-planner { scrollbar-color: rgba(236,234,228,0.25) transparent; }

/* Cards: a faint top light and soft depth */
.mpb-planner .mpbp-card, .mpb-planner .mpbp-spot { box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 10px 28px rgba(0,0,0,0.22); }

/* Filters: one quiet row that scrolls, the chosen one filled */
.mpb-planner .mpbp-filters:not(.mpbp-filters--radius) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.mpb-planner .mpbp-filters::-webkit-scrollbar { display: none; }
.mpb-planner .mpbp-filter { flex: none; min-height: 40px; padding: 8px 14px; font-size: var(--mpf-11-5); letter-spacing: 0.1em; color: #d8d5cd; border-color: rgba(236,234,228,0.16); background: rgba(236,234,228,0.03); }
.mpb-planner .mpbp-filter.is-on { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpb-planner .mpbp-filters--radius { gap: 0; flex-wrap: nowrap; }
.mpb-planner .mpbp-filters--radius .mpbp-filter-label { margin-right: 12px; }
.mpb-planner .mpbp-filters--radius .mpbp-filter + .mpbp-filter { margin-left: -1px; }
.mpb-planner .mpbp-filters--radius .mpbp-filter { min-width: 64px; }

/* Spot cards: a dial showing which way the spot faces and where today's sun rises and sets */
.mpb-planner .mpbp-spot { position: relative; }
.mpb-planner .mpbp-spot:has(.mpbx-dial) h3, .mpb-planner .mpbp-spot:has(.mpbx-dial) .mpbp-spot-tip { padding-right: 66px; }
.mpbx-dial { position: absolute; right: 14px; top: 34px; width: 52px; height: 52px; overflow: visible; }
.mpbx-dring { fill: rgba(14,15,14,0.7); stroke: rgba(236,234,228,0.22); stroke-width: 1; }
.mpbx-dview { fill: rgba(236,234,228,0.16); }
.mpbx-dial.is-lined .mpbx-dview { fill: rgba(217,164,65,0.34); }
.mpbx-dn { fill: #a9a7a0; font: 600 7.5px var(--p-readout); text-anchor: middle; letter-spacing: .1em; }
.mpbx-dsun { fill: var(--p-gold); stroke: #141514; stroke-width: 1.2; }
.mpbx-dsun.is-set { fill: #f2a052; }
.mpbx-dhub { fill: #f4f1ea; }
.mpb-planner .mpbp-spot.is-on { border-color: rgba(217,164,65,0.6); background: linear-gradient(180deg, rgba(217,164,65,0.06), rgba(217,164,65,0) 60%), var(--p-surface); }

/* Planets */
.mpbx-planet { flex: none; align-self: center; width: var(--z); height: var(--z); border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, var(--a), var(--b) 75%); box-shadow: 0 0 10px rgba(255,240,210,0.18); }
.mpbx-planet.is-banded { background: linear-gradient(180deg, transparent 38%, rgba(140,100,70,0.35) 40% 46%, transparent 48% 58%, rgba(140,100,70,0.3) 60% 64%, transparent 66%), radial-gradient(circle at 35% 30%, var(--a), var(--b) 75%); }
.mpbx-planet.is-ringed::after { content: ""; position: absolute; left: -45%; right: -45%; top: 42%; height: 16%; border-radius: 50%; border: 1.5px solid rgba(232,212,160,0.85); transform: rotate(-18deg); }
.mpb-planner .mpbp-pl-name { align-items: center; }

/* Sky events: colour by kind */
.mpbp-ev-row--moon { --k: #dfe4e8; }
.mpbp-ev-row--planet { --k: #a9c8ef; }
.mpbp-ev-row--meteor { --k: #f0c060; }
.mpbp-ev-row--iss { --k: #8fe0d0; }
.mpbp-ev-row--eclipse { --k: #f2a052; }
.mpbp-ev-row--comet { --k: #b8f0c4; }
.mpb-planner .mpbp-ev-row .mpbp-spot-kind { color: var(--k, var(--p-accent)); }
.mpb-planner .mpbp-ev-row .mpbp-ev-date { border-color: color-mix(in srgb, var(--k, #ecebe4) 35%, transparent); background: color-mix(in srgb, var(--k, #ecebe4) 7%, transparent); }
.mpb-planner .mpbp-ev-row .mpbp-ev-date b { color: var(--k, var(--p-text)); }

/* Wildlife day band */
.mpbx-wtrack { position: relative; }
.mpbx-wb { position: absolute; display: block; top: 0; bottom: 0; }
.mpbx-wb.is-busy { background: repeating-linear-gradient(135deg, rgba(217,164,65,0.55) 0 3px, rgba(217,164,65,0.18) 3px 7px); box-shadow: inset 0 0 0 1px rgba(255,214,140,0.7); }
.mpbx-wb.is-tide { top: auto; height: 34%; background: rgba(120,170,225,0.75); box-shadow: 0 0 10px rgba(120,170,225,0.6); }
.mpb-planner ul.mpbx-wkey { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: var(--mpf-15); color: var(--p-body); }
.mpbx-wkey li { position: relative; padding-left: 22px; }
.mpbx-wkey li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; }
.mpbx-wkey li.is-busy::before { background: repeating-linear-gradient(135deg, rgba(217,164,65,0.9) 0 3px, rgba(217,164,65,0.3) 3px 6px); }
.mpbx-wkey li.is-tide::before { background: rgba(120,170,225,0.9); }
.mpbx-wkey strong { color: var(--p-text); font-weight: 500; }

/* Wildlife lists: hairline rows instead of bullets */
.mpb-planner .mpbp-card ul.mpbp-list { list-style: none; padding: 0; }
.mpb-planner .mpbp-card ul.mpbp-list li { padding: 8px 0 8px 18px; margin: 0; border-top: 1px solid rgba(236,234,228,0.08); position: relative; }
.mpb-planner .mpbp-card ul.mpbp-list li:first-child { border-top: 0; }
.mpb-planner .mpbp-card ul.mpbp-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; background: var(--p-accent); }

@media (prefers-contrast: more) {
  .mpbx-dview { fill: rgba(236,234,228,0.35); }
  .mpb-planner .mpbp-filter { border-color: rgba(236,234,228,0.5); }
}

/* Part 2 tuning: clearer spot dials, room for Saturn's rings */
.mpbx-dial { width: 58px; height: 58px; top: 32px; }
.mpbx-dview { fill: rgba(236,234,228,0.3); }
.mpbx-dial.is-lined .mpbx-dview { fill: rgba(217,164,65,0.62); }
.mpbx-dsun { r: 3.6; }
.mpb-planner .mpbp-spot:has(.mpbx-dial) h3, .mpb-planner .mpbp-spot:has(.mpbx-dial) .mpbp-spot-tip { padding-right: 72px; }
.mpbx-planet.is-ringed { margin-left: 6px; margin-right: 4px; }

/* ---------- Living sky, part 3 (3 November 2026) ---------- */

/* Chosen chips always read dark on amber */
.mpb-planner .mpbp-filters .mpbp-filter.is-on, .mpb-planner .mpbp-filters .mpbp-filter.is-on:hover { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpb-planner [data-until] { white-space: nowrap; }

/* Moment list: a small window of sky */
.mpbx-mthumb { flex: none; width: 40px; height: 40px; border-radius: 8px; margin-right: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.mpb-planner .mpbp-moment > summary { align-items: center; }

/* Meteor rates */
.mpbx-rate { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.mpbx-rate-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(236,234,228,0.1); overflow: hidden; }
.mpbx-rate-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8a6a2a, #f0c060 70%, #fff1c8); box-shadow: 0 0 8px rgba(240,192,96,0.6); }
.mpbx-rate b { font: 600 var(--mpf-15)/1 var(--p-readout, inherit); color: #f0c060; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.mpbx-rate b small { font-size: 10px; color: var(--p-muted, #a9a7a0); margin-left: 2px; font-weight: 500; }
.mpbx-rate-moon { flex: none; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, #e8e6df var(--lit), #2a2c30 var(--lit)); box-shadow: inset 0 0 0 1px rgba(236,234,228,0.3); }
.mpbx-rate-moon.is-bad { box-shadow: 0 0 8px rgba(232,230,223,0.7), inset 0 0 0 1px rgba(236,234,228,0.5); }

/* ISS arcs */
.mpbx-issarc { display: block; width: 100%; max-width: 280px; height: auto; margin: 6px 0 4px; overflow: visible; }
.mpbx-ia-hz { stroke: rgba(236,234,228,0.2); stroke-width: 1; }
.mpbx-ia-path { fill: none; stroke: #8fe0d0; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(143,224,208,0.7)); stroke-dasharray: 400; stroke-dashoffset: 0; }
.mpbx-ia-peak { fill: #e9fffa; }
.mpbx-ia-t { fill: #a9cfc7; font: 600 9px var(--p-readout, sans-serif); text-anchor: middle; letter-spacing: .06em; }
@media (prefers-reduced-motion: no-preference) {
  .mpb-planner .mpbx-ia-path { animation: mpbxDraw 1.1s cubic-bezier(.2,.8,.2,1) both; }
  .mpb-planner .mpbx-rate-bar i { animation: mpbxGrow .9s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
}
@keyframes mpbxDraw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes mpbxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* High water, next three days */
.mpb-planner ul.mpbx-hw { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mpbx-hw li { margin: 0; padding: 10px 10px 8px; border: 1px solid rgba(120,170,225,0.25); background: linear-gradient(180deg, rgba(91,143,198,0) 40%, rgba(91,143,198,0.16)); display: grid; gap: 2px; }
.mpbx-hw span { font: 600 10px var(--p-readout, inherit); letter-spacing: .12em; text-transform: uppercase; color: #9fbfe2; }
.mpbx-hw b { font-size: var(--mpf-19); font-weight: 500; color: var(--p-text); font-variant-numeric: tabular-nums; }
.mpbx-hw em { font-style: normal; font-size: var(--mpf-12); color: var(--p-muted, #a9a7a0); }

/* Sky events: an icon for each kind */
.mpb-planner .mpbp-ev-row .mpbp-spot-kind::before { content: ""; display: inline-block; width: 12px; height: 12px; margin: 0 6px -2px 0; background: var(--k, var(--p-accent)); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mpbp-ev-row--moon { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M8 1a5 5 0 1 0 3 8.5A4.2 4.2 0 0 1 8 1z'/%3E%3C/svg%3E"); }
.mpbp-ev-row--planet { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Cellipse cx='6' cy='6' rx='5.8' ry='1.8' fill='none' stroke='%23000' stroke-width='1' transform='rotate(-20 6 6)'/%3E%3C/svg%3E"); }
.mpbp-ev-row--meteor { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='9' cy='9' r='2.2'/%3E%3Cpath d='M1 1l7 7' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mpbp-ev-row--iss { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='4.5' y='4.5' width='3' height='3'/%3E%3Crect x='0' y='3.5' width='3.5' height='5'/%3E%3Crect x='8.5' y='3.5' width='3.5' height='5'/%3E%3C/svg%3E"); }
.mpbp-ev-row--eclipse { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='6' cy='6' r='2.6'/%3E%3C/svg%3E"); }
.mpbp-ev-row--comet { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='9' cy='3' r='2.2'/%3E%3Cpath d='M8 4L1 11M7 2.5L2 8M9.5 5L5 10.5' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E"); }

.mpbl-sunnow.is-down { opacity: .45; }

/* Part 3 tuning: light tiles tinted by their hour, slimmer moment tiles */
.mpbp-quad div:nth-child(1), .mpbp-quad div:nth-child(4) { background: linear-gradient(180deg, rgba(70,110,190,0.2), rgba(70,110,190,0) 85%), var(--p-surface); }
.mpbp-quad div:nth-child(2), .mpbp-quad div:nth-child(3) { background: linear-gradient(180deg, rgba(217,164,65,0.18), rgba(217,164,65,0) 85%), var(--p-surface); }
.mpbp-quad div:nth-child(1) dt, .mpbp-quad div:nth-child(4) dt { color: #9fbfe2; }
.mpbp-quad div:nth-child(2) dt, .mpbp-quad div:nth-child(3) dt { color: #e6bd6e; }
.mpbx-mthumb { width: 36px; height: 36px; margin-right: 10px; }

/* ---------- Pro (3 November 2026): week, colour chance, map, viewfinder, Milky Way, moonlight, aurora ---------- */

/* Colour chance */
.mpbx-fireg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 12px 0 4px; }
.mpbx-fireg-l { font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .1em; text-transform: uppercase; color: #f3c9a0; }
.mpbx-fireg-bar { height: 8px; border-radius: 4px; background: rgba(236,234,228,0.12); overflow: hidden; }
.mpbx-fireg-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6b3a63, #d0567a 35%, #f2a052 70%, #ffe1a0); box-shadow: 0 0 10px rgba(242,160,82,0.55); }
.mpbx-fireg b { font: 600 var(--mpf-15) var(--p-readout); color: #ffd7a0; font-variant-numeric: tabular-nums; }
.mpbx-hero-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; }
.mpbx-hero-acts .mpbp-textbtn { min-height: 40px; }

/* The week ahead */
.mpbx-wk-best { margin: 0 0 12px; color: var(--p-body); }
.mpbx-wk-best strong { color: var(--p-text); font-weight: 500; }
.mpbx-wk { display: grid; gap: 4px; }
.mpbx-wk-row { display: grid; grid-template-columns: 64px repeat(3, 1fr); gap: 4px; align-items: stretch; }
.mpbx-wk-row.is-far { opacity: .62; }
.mpbx-wk-head span { font: 600 10px var(--p-readout); letter-spacing: .12em; text-transform: uppercase; color: var(--p-muted); text-align: center; padding-bottom: 2px; }
.mpbx-wk-day { display: flex; flex-direction: column; justify-content: center; font-size: var(--mpf-12); color: var(--p-muted); line-height: 1.25; }
.mpbx-wk-day b { font-size: var(--mpf-14); color: var(--p-text); font-weight: 500; }
.mpbx-wk-row.is-sel .mpbx-wk-day b { color: var(--p-accent); }
.mpbx-wk-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 2px; border: 1px solid rgba(236,234,228,0.08); background: rgba(236,234,228,0.03); color: var(--p-text); font: inherit; cursor: pointer; transition: transform .16s cubic-bezier(.2,.8,.2,1), background-color .2s; -webkit-tap-highlight-color: transparent; }
.mpbx-wk-cell:active { transform: scale(.96); }
.mpbx-wk-cell b { font: 600 var(--mpf-17)/1.1 var(--p-readout); font-variant-numeric: tabular-nums; }
.mpbx-wk-cell em { font-style: normal; font-size: var(--mpf-11); color: var(--p-muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.mpbx-wk-cell.lvl-0 b { color: #8d8b85; }
.mpbx-wk-cell.lvl-1 { background: rgba(217,164,65,0.06); }
.mpbx-wk-cell.lvl-2 { background: rgba(217,164,65,0.13); }
.mpbx-wk-cell.lvl-3 { background: rgba(217,164,65,0.24); }
.mpbx-wk-cell.lvl-4 { background: rgba(217,164,65,0.4); }
.mpbx-wk-cell.lvl-4 b, .mpbx-wk-cell.lvl-3 b { color: #ffe3b0; }
.mpbx-wk-cell.is-best { border-color: var(--p-accent); box-shadow: 0 0 0 1px var(--p-accent), 0 0 18px rgba(217,164,65,0.35); }
.mpbx-wk-cell.is-na { cursor: default; }
.mpbx-flame { display: inline-block; width: 10px; height: 13px; background: linear-gradient(0deg, #d0567a, #f2a052 55%, #ffe1a0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 0C6 3 9 5 9 8.5A4 4 0 0 1 1 8.5C1 6.5 2.5 5.5 3 4c.6 1.4 1.4 1.8 2 2C5.6 4 5 2 5 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 0C6 3 9 5 9 8.5A4 4 0 0 1 1 8.5C1 6.5 2.5 5.5 3 4c.6 1.4 1.4 1.8 2 2C5.6 4 5 2 5 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mpbx-wk-cell .mpbx-flame { position: absolute; top: 5px; right: 5px; }
.mpbx-wk-key { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; }
.mpbx-wk-key .mpbx-flame { flex: none; }

/* Map */
.mpbx-map-wrap { position: relative; margin: 0 -16px; }
.mpbx-map { height: 360px; background: #0e0f0e; }
.mpbx-map-layers { position: absolute; z-index: 500; right: 10px; top: 10px; display: flex; background: rgba(14,15,14,0.88); border: 1px solid rgba(236,234,228,0.2); }
.mpbx-map-layers button { min-height: 36px; padding: 6px 12px; background: transparent; border: 0; color: #d8d5cd; font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.mpbx-map-layers button.is-on { background: var(--p-accent); color: #141514; }
.mpbx-mapcard .leaflet-container { font: var(--mpf-12)/1.4 var(--p-readout, sans-serif); background: #0e0f0e; }
.mpbx-mapcard .leaflet-control-attribution { background: rgba(14,15,14,0.75); color: #a9a7a0; }
.mpbx-mapcard .leaflet-control-attribution a { color: #d8d5cd; }
.mpbx-mapcard .leaflet-bar a { background: rgba(14,15,14,0.9); color: #ecebe4; border-color: rgba(236,234,228,0.2); }
.mpbx-pin i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 4px rgba(217,164,65,0.3), 0 4px 12px rgba(0,0,0,0.5); border: 2px solid #141514; }
.mpbx-tgt i { display: block; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.5); background: radial-gradient(circle, #fff 2px, transparent 3px); }
.mpbx-mline { stroke-linecap: round; }
.mpbx-mline.k-rise { stroke: #ffd27c; }
.mpbx-mline.k-set { stroke: #f2865a; }
.mpbx-mline.k-moon { stroke: #dfe4e8; }
.mpbx-mline.k-mw { stroke: #b9a4ff; }
.mpbx-mline.k-now { stroke: #fff4d8; stroke-opacity: .7; }
.mpbx-mline.k-target { stroke: #fff; }
.mpbx-mlab span { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; padding: 3px 7px; background: rgba(14,15,14,0.86); border: 1px solid rgba(236,234,228,0.18); font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .04em; color: #ecebe4; }
.mpbx-mlab.k-rise span { color: #ffd27c; } .mpbx-mlab.k-set span { color: #f6a07a; } .mpbx-mlab.k-moon span { color: #dfe4e8; } .mpbx-mlab.k-mw span { color: #cbbcff; }
ul.mpbx-map-key { list-style: none; padding: 0; margin: 12px 0 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--mpf-13); color: var(--p-body); }
.mpbx-map-key li { margin: 0; display: flex; align-items: center; gap: 6px; }
.mpbx-map-key li::before { content: ""; width: 18px; height: 3px; border-radius: 2px; }
.mpbx-map-key .k-rise::before { background: #ffd27c; } .mpbx-map-key .k-set::before { background: #f2865a; } .mpbx-map-key .k-moon::before { background: repeating-linear-gradient(90deg, #dfe4e8 0 5px, transparent 5px 8px); } .mpbx-map-key .k-mw::before { background: repeating-linear-gradient(90deg, #b9a4ff 0 2px, transparent 2px 6px); }
.mpbx-map-hint { margin: 4px 0 10px; }
.mpbx-map-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 10px 0; }
.mpbx-tinfo { border-top: 1px solid rgba(236,234,228,0.1); padding-top: 12px; margin-top: 6px; }
.mpbx-tinfo strong { color: var(--p-text); font-weight: 500; }
.mpbx-xh { display: grid; gap: 6px; font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted); margin: 10px 0 4px; }
.mpbx-xh input { max-width: 140px; min-height: 44px; padding: 8px 10px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.2); color: var(--p-text); font: var(--mpf-16) var(--p-readout); }
.mpb-planner ul.mpbx-lu { list-style: none; padding: 0; margin: 8px 0 0; }
.mpbx-lu li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; margin: 0; border-top: 1px solid rgba(236,234,228,0.08); font-size: var(--mpf-14); color: var(--p-body); }
.mpbx-lu-t strong { display: block; color: var(--p-text); font-weight: 500; }
.mpbx-lu-b { width: 12px; height: 12px; border-radius: 50%; }
.mpbx-lu-sun { background: #ffd27c; box-shadow: 0 0 8px rgba(255,210,124,0.7); }
.mpbx-lu-moon { background: #dfe4e8; box-shadow: 0 0 8px rgba(223,228,232,0.6); }

/* Milky Way */
.mpbx-mw-pic { margin: 10px -16px 0; }
.mpbx-mw-svg { display: block; width: 100%; height: auto; }
.mpbx-mw-band path { fill: none; stroke: #b9a4ff; stroke-opacity: .16; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; filter: blur(3px); }
.mpbx-mw-band2 path { fill: none; stroke: #e6dcff; stroke-opacity: .22; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.mpbx-mw-line path { fill: none; stroke: #f4efff; stroke-opacity: .55; stroke-width: 1.2; }
.mpbx-mw-hz { stroke: rgba(236,234,228,0.5); stroke-width: 1; }
.mpbx-mw-grid { stroke: rgba(236,234,228,0.1); stroke-dasharray: 2 5; }
.mpbx-mw-gl, .mpbx-mw-az { fill: #a9a7a0; font: 600 9px var(--p-readout); letter-spacing: .08em; }
.mpbx-mw-az { text-anchor: middle; }
.mpbx-mw-cl { fill: #fff3dc; font: 600 9px var(--p-readout); text-anchor: middle; letter-spacing: .1em; }
.mpbx-mw-moon { fill: #e8e6df; filter: drop-shadow(0 0 4px rgba(232,230,223,0.8)); }
.mpbx-mw-read { margin: 4px 0 12px; font: 500 var(--mpf-14) var(--p-readout); color: var(--p-text); font-variant-numeric: tabular-nums; }
.mpbx-sub { font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .12em; text-transform: uppercase; color: var(--p-muted); margin: 14px 0 8px; }
.mpbx-ms-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 64px; }
.mpbx-ms { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.mpbx-ms i { display: block; width: 100%; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #d7c8ff, #6f5bb8); }
.mpbx-ms em { font-style: normal; font: 600 10px var(--p-readout); color: var(--p-muted); }
.mpbx-ms.is-now em { color: var(--p-accent); }
.mpbx-acts { margin: 12px 0 0; }

/* Moonlight */
.mpbx-ml { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin: 10px 0 0; }
.mpbx-ml span:first-child { font: 600 var(--mpf-11) var(--p-readout); letter-spacing: .1em; text-transform: uppercase; color: #cfd6dc; }
.mpbx-ml-bar { height: 8px; border-radius: 4px; background: rgba(236,234,228,0.1); overflow: hidden; }
.mpbx-ml-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4b5a72, #cfd9e6 80%, #ffffff); box-shadow: 0 0 10px rgba(207,217,230,0.5); }
.mpbx-ml b { font: 600 var(--mpf-15) var(--p-readout); color: #e8eef4; }
.mpb-planner .mpbx-mlq div, .mpb-planner .mpbx-aq div { background: var(--p-surface); }
.mpb-planner .mpbx-mlq div dt, .mpb-planner .mpbx-aq div dt { color: var(--p-muted); }

/* Aurora */
.mpb-planner .mpbx-aq div.is-go { background: linear-gradient(180deg, rgba(94,240,164,0.16), rgba(94,240,164,0) 85%), var(--p-surface); }
.mpb-planner .mpbx-aq div.is-go dd { color: #8ff5c0; }
.mpbx-oval { display: block; width: 100%; height: auto; margin: 12px 0 4px; }
.mpbx-ov-you { stroke: var(--p-accent); stroke-width: 2; }
.mpbx-ov-view { stroke: #5ef0a4; stroke-width: 1; stroke-dasharray: 3 3; }
.mpbx-ov-t { fill: #a9a7a0; font: 600 9px var(--p-readout); text-anchor: middle; letter-spacing: .06em; }
.mpbx-ov-t.is-you { fill: var(--p-accent); }

/* Sky viewfinder */
html.mpbx-ar-on, html.mpbx-ar-on body { overflow: hidden; }
.mpbx-ar { position: fixed; inset: 0; z-index: 100000; background: #000; color: #fff; overscroll-behavior: contain; }
.mpbx-ar video, .mpbx-ar canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mpbx-ar-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 14px 12px; background: linear-gradient(180deg, rgba(0,0,0,0.7), transparent); }
.mpbx-ar-close { min-height: 44px; padding: 8px 16px; background: rgba(20,21,20,0.8); color: #fff; border: 1px solid rgba(255,255,255,0.3); font: 600 var(--mpf-12) var(--p-readout, sans-serif); letter-spacing: .1em; text-transform: uppercase; }
.mpbx-ar-head { font: 600 var(--mpf-13) var(--p-readout, sans-serif); letter-spacing: .04em; text-shadow: 0 1px 3px #000; font-variant-numeric: tabular-nums; }
.mpbx-ar-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0,0,0,0.78), rgba(0,0,0,0.3) 80%, transparent); }
.mpbx-ar-msg { margin: 0 0 8px; font-size: var(--mpf-14); color: #ffe1a0; text-shadow: 0 1px 3px #000; }
.mpbx-ar-msg:empty { display: none; }
.mpbx-ar-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; min-height: 44px; font: 600 var(--mpf-12) var(--p-readout, sans-serif); letter-spacing: .06em; }
.mpbx-ar-row input { width: 100%; accent-color: #d9a441; }
.mpbx-ar-time { font-size: var(--mpf-18); font-variant-numeric: tabular-nums; }
.mpbx-ar-more summary { min-height: 40px; display: flex; align-items: center; font: 600 var(--mpf-11) var(--p-readout, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #d8d5cd; cursor: pointer; }
ul.mpbx-ar-key { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--mpf-12); }
.mpbx-ar-key li { margin: 0; display: flex; align-items: center; gap: 6px; }
.mpbx-ar-key li::before { content: ""; width: 14px; height: 4px; border-radius: 2px; }
.mpbx-ar-key .k-sun::before { background: #ffe6a8; } .mpbx-ar-key .k-gold::before { background: #f0b35a; } .mpbx-ar-key .k-blue::before { background: #6e9ad0; } .mpbx-ar-key .k-moon::before { background: #dfe4e8; } .mpbx-ar-key .k-mw::before { background: #b9a4ff; }

/* Offline banner and toast */
.mpbx-offline { position: fixed; z-index: 9999; left: 12px; right: 12px; top: max(10px, env(safe-area-inset-top)); padding: 10px 14px; background: #2a2316; color: #ffe1a0; border: 1px solid rgba(217,164,65,0.5); font-size: var(--mpf-14); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mpbx-toast { position: fixed; z-index: 100001; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); opacity: 0; padding: 10px 16px; background: #ecebe4; color: #141514; font-size: var(--mpf-14); pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
.mpbx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .mpbx-wk-cell, .mpbx-toast { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mpbx-mw-band path { filter: none; }
}

/* Pro tuning: map tiles, past slots, all-sky Milky Way */
.mpbx-tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.35); }
.mpbx-tiles-topo { filter: brightness(.82) saturate(.85); }
.mpbx-wk-cell.is-past { opacity: .35; }
.mpbx-mw-pic { margin: 12px 0 0; }
.mpbx-mw-svg { max-width: 320px; margin: 0 auto; }
.mpbx-mw-az { font-size: var(--mpf-11); fill: #d8d5cd; }
.mpbx-mw-cap { text-align: center; margin: 6px 0 4px; font-size: var(--mpf-13); }

/* ---------- Milky Way, real sky (3 November 2026) ---------- */
.mpbx-sky-lead { font-size: var(--mpf-17); line-height: 1.5; color: var(--p-text); margin: 0 0 14px; }
.mpbx-sky-lead strong { font-weight: 600; color: #e6dcff; }
.mpbx-sky-views { display: flex; margin: 0 0 12px; }
.mpbx-sky-views button { flex: 1; min-height: 40px; padding: 8px 10px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.18); color: #d8d5cd; font: 600 var(--mpf-11-5) var(--p-readout); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.mpbx-sky-views button + button { margin-left: -1px; }
.mpbx-sky-views button[aria-pressed="true"] { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpbx-sky-views button:active { transform: scale(.98); }
.mpbx-sky-stage { position: relative; margin: 0 -16px; background: #04060d; min-height: 220px; }
.mpbx-sky-cv { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .6s ease; }
.mpbx-sky.is-ready .mpbx-sky-cv { opacity: 1; }
.mpbx-sky-load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #a9a7a0; font-size: var(--mpf-14); }
.mpbx-sky.is-ready .mpbx-sky-load { display: none; }
.mpbx-sky-read { margin: 12px 0 10px; font: 500 var(--mpf-14)/1.5 var(--p-readout); color: var(--p-body); font-variant-numeric: tabular-nums; }
.mpbx-sky-read strong { color: var(--p-text); font-weight: 600; font-size: var(--mpf-16); }
.mpbx-sky-cam { display: block; color: var(--p-muted); font-size: var(--mpf-13); }
.mpbx-tl-wrap { position: relative; margin: 0 0 4px; }
.mpbx-tl { display: block; width: 100%; height: 82px; }
.mpbx-tl-core { fill: none; stroke: #cbbcff; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mpbx-tl-head { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.mpbx-tl-t { fill: #a9a7a0; font: 600 9px var(--p-readout); text-anchor: middle; }
.mpbx-tl-in { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 64px; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.mpbx-tl-wrap:focus-within { outline: 2px solid var(--p-accent); outline-offset: 3px; }
ul.mpbx-tl-key { list-style: none; padding: 0; margin: 6px 0 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--mpf-13); color: var(--p-body); }
.mpbx-tl-key li { margin: 0; display: flex; align-items: center; gap: 6px; }
.mpbx-tl-key li::before { content: ""; width: 14px; height: 6px; }
.mpbx-tl-key .k-core::before { height: 2px; background: #cbbcff; }
.mpbx-tl-key .k-win::before { background: rgba(185,164,255,0.45); }
.mpbx-tl-key .k-moon::before { background: #dfe4e8; }
.mpb-planner .mpbx-skyq div { background: var(--p-surface); }
.mpb-planner .mpbx-skyq div dt { color: var(--p-muted); }
.mpb-planner .mpbx-skyq .mpbx-skyq-band dd { font-size: var(--mpf-14); line-height: 1.35; }
.mpbx-season { margin-top: 18px; }
.mpbx-sb-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 92px; }
.mpbx-sb { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.mpbx-sb b { font: 600 10px var(--p-readout); color: var(--p-muted); font-variant-numeric: tabular-nums; min-height: 12px; }
.mpbx-sb i { display: block; width: 100%; background: #5d4f96; }
.mpbx-sb.is-best i { background: #cbbcff; }
.mpbx-sb.is-best b { color: #e6dcff; }
.mpbx-sb em { font-style: normal; font: 600 10px var(--p-readout); color: var(--p-muted); }
.mpbx-sb.is-now em { color: var(--p-accent); }
.mpbx-credit { font-size: var(--mpf-12); margin-top: 10px; }
.mpbx-credit a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .mpbx-sky-cv { transition: none; } }

/* ---------- Sky views (3 November 2026) ---------- */
.mpbx-sv .mpbx-sky-cv, .mpbx-sv-cv { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .6s ease; }
.mpbx-sv.is-ready .mpbx-sv-cv { opacity: 1; }
.mpbx-sv.is-ready .mpbx-sky-load { display: none; }
.mpbx-sv-stage { aspect-ratio: 1 / 1; min-height: 0; }
.mpbx-sv-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mpbx-sv-chips::-webkit-scrollbar { display: none; }
.mpbx-sv-chips button { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 7px 12px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.18); color: #d8d5cd; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.mpbx-sv-chips button b { font: 600 var(--mpf-13) var(--p-readout); color: var(--p-text); white-space: nowrap; }
.mpbx-sv-chips button span { font: 500 var(--mpf-11-5) var(--p-readout); color: var(--p-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mpbx-sv-chips button[aria-pressed="true"] { background: var(--p-accent); border-color: var(--p-accent); }
.mpbx-sv-chips button[aria-pressed="true"] b, .mpbx-sv-chips button[aria-pressed="true"] span { color: #141514; }
.mpbx-sv-chips button:active { transform: scale(.97); }
.mpbx-sv-tl { height: auto; }
.mpbx-sv-lane { font: 600 8.5px var(--p-readout); fill: rgba(240,238,230,0.92); paint-order: stroke; stroke: rgba(5,7,15,0.8); stroke-width: 2.4px; stroke-linejoin: round; }
.mpbx-sv .mpbx-tl-in { height: calc(100% - 18px); }
.mpbx-tl-key .k-lane::before { height: 7px; border-radius: 4px; background: linear-gradient(90deg, #f4dcae, #ff8d5e); }
.mpbx-tl-key .k-ecl::before { height: 0; border-top: 2px dotted rgba(255,214,140,0.8); }
.mpbx-sv-note { margin: 0 0 6px; font-size: var(--mpf-14); line-height: 1.5; }
.mpbx-nightcv { position: absolute; left: 0; top: 0; width: 100%; height: 300px; opacity: 0; transition: opacity 1s ease; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 96%); mask-image: linear-gradient(180deg, #000 35%, transparent 96%); }
.mpbl-night.is-real .mpbx-nightcv { opacity: .8; }
.mpbl-night.is-real svg, .mpbl-night.is-real .mpbl-milky { opacity: 0; transition: opacity 1s ease; }
@media (prefers-reduced-motion: reduce) { .mpbx-sv-cv, .mpbx-nightcv { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .mpbx-nightcv { display: none; } .mpbl-night.is-real svg { opacity: 1; } }
.mpbx-sv-lane.is-in { fill: #141514; stroke: none; }

/* ---------- Lens tools (4 November 2026) ---------- */
.mpbx-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 12px; }
.mpbx-scenes button { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 66px; padding: 9px 4px 7px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.14); color: var(--p-body); cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.mpbx-scenes button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: #d8d5cd; }
.mpbx-scenes button span { font: 600 10.5px/1.2 var(--p-readout); text-align: center; letter-spacing: .01em; }
.mpbx-scenes button[aria-pressed="true"] { background: rgba(227,166,76,0.16); border-color: var(--p-accent); color: var(--p-text); }
.mpbx-scenes button[aria-pressed="true"] svg { color: var(--p-accent); }
.mpbx-scenes button:active { transform: scale(.96); }
.mpbx-guide-src { margin-bottom: 14px; }
.mpbx-guide-light { margin: 0 0 12px; font-size: var(--mpf-14); line-height: 1.5; color: var(--p-body); }
.mpbx-guide-light strong { color: var(--p-text); }
.mpbx-ins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 12px; }
.mpbx-ins-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 4px 12px; background: var(--p-surface, rgba(236,234,228,0.04)); }
.mpbx-ins-svg { width: 100%; max-width: 104px; height: auto; display: block; }
.mpbx-ins-cell b { margin-top: 4px; font: 700 var(--mpf-20)/1.1 var(--p-readout); color: var(--p-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mpbx-ins-cell span { margin-top: 4px; font-size: var(--mpf-11-5); line-height: 1.3; color: var(--p-muted); }
.mpbx-ins-ring { fill: none; stroke: rgba(236,234,228,0.25); stroke-width: 1.5; }
.mpbx-ins-blade line { stroke: rgba(0,0,0,0.55); stroke-width: 1.2; }
.mpbx-dial-slow, .mpbx-dial-mid, .mpbx-dial-fast { fill: none; stroke-width: 5; }
.mpbx-dial-slow { stroke: #5f7fb8; } .mpbx-dial-mid { stroke: #8a8f99; } .mpbx-dial-fast { stroke: #e3a64c; }
.mpbx-dial-tick path { stroke: rgba(236,234,228,0.5); stroke-width: 1; }
.mpbx-dial-tick text, .mpbx-ladder text { fill: #a9a7a0; font: 600 8px var(--p-readout); text-anchor: middle; }
.mpbx-ladder text { text-anchor: start; }
.mpbx-dial-needle { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.mpbx-ladder rect { fill: rgba(236,234,228,0.12); }
.mpbx-ladder rect.is-on { fill: #e3a64c; }
.mpbx-ladder rect.is-hot { fill: #e86f4a; }
.mpbx-nd { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; padding: 10px 12px; background: rgba(236,234,228,0.04); }
.mpbx-nd i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 4px; background: linear-gradient(135deg, rgba(40,40,46,var(--nd)), rgba(10,10,12,calc(var(--nd) + .1))); box-shadow: inset 0 0 0 1px rgba(236,234,228,0.25), inset 6px 6px 12px rgba(255,255,255,0.08); }
.mpbx-nd span { font-size: var(--mpf-14); line-height: 1.45; color: var(--p-body); }
.mpbx-nd strong { display: block; color: var(--p-text); }
.mpbx-guide-note { margin: 0 0 10px; font-size: var(--mpf-14); line-height: 1.5; color: #f0cf96; }
.mpbx-guide-tip { margin: 0 0 6px; font-size: var(--mpf-14); line-height: 1.5; color: var(--p-body); }
.mpbx-guide-tip span { display: inline-block; margin-right: 8px; padding: 1px 7px; background: var(--p-accent); color: #141514; font: 700 10.5px/1.7 var(--p-readout); letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.mpbx-sens button { align-items: flex-start; }
.mpbx-sens svg { width: 32px; height: 24px; margin-bottom: 4px; }
.mpbx-sens svg .ff { fill: none; stroke: rgba(236,234,228,0.35); stroke-width: 1; stroke-dasharray: 2 2; }
.mpbx-sens svg .me { fill: rgba(236,234,228,0.55); }
.mpbx-sens button[aria-pressed="true"] svg .me { fill: #141514; }
.mpbx-sens button[aria-pressed="true"] svg .ff { stroke: rgba(20,21,20,0.5); }
.mpbx-lens-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.mpbx-lens-row .mpbp-sub { margin: 0; }
.mpbx-lens-val { margin: 0; text-align: right; }
.mpbx-lens-val b { font: 700 var(--mpf-18) var(--p-readout); color: var(--p-text); font-variant-numeric: tabular-nums; }
.mpbx-lens-val span { display: block; font-size: var(--mpf-12); color: var(--p-muted); }
.mpbx-fchips { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.mpbx-fchips button { min-width: 44px; min-height: 36px; padding: 4px 8px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.16); color: #d8d5cd; font: 600 var(--mpf-13) var(--p-readout); cursor: pointer; font-variant-numeric: tabular-nums; }
.mpbx-fchips button[aria-pressed="true"] { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpb-planner input.mpbx-slider, .mpbx-slider { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 2px 0; padding: 0; border: 0; box-shadow: none; background: transparent; cursor: pointer; touch-action: pan-y; }
.mpbx-slider::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, rgba(236,234,228,0.18), rgba(227,166,76,0.6)); border-radius: 2px; }
.mpbx-slider::-moz-range-track { height: 4px; background: linear-gradient(90deg, rgba(236,234,228,0.18), rgba(227,166,76,0.6)); border-radius: 2px; }
.mpbx-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #f4efe6; box-shadow: 0 1px 4px rgba(0,0,0,.5), 0 0 0 4px rgba(227,166,76,.35); }
.mpbx-slider::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #f4efe6; box-shadow: 0 1px 4px rgba(0,0,0,.5), 0 0 0 4px rgba(227,166,76,.35); }
.mpbx-slider-n::-webkit-slider-runnable-track { background: linear-gradient(90deg, rgba(227,166,76,0.65), rgba(236,234,228,0.18)); }
.mpbx-slider-n::-moz-range-track { background: linear-gradient(90deg, rgba(227,166,76,0.65), rgba(236,234,228,0.18)); }
.mpbx-ticks { position: relative; height: 14px; margin: -4px 12px 14px; font: 600 10px var(--p-readout); color: var(--p-muted); }
.mpbx-dof-mode { margin-bottom: 12px; }
.mpbx-dof-stage { position: relative; margin: 0 -16px; }
.mpbx-dof-svg { display: block; width: 100%; height: auto; }
.mpbx-dof-svg .st { stroke: #5c8a52; stroke-width: 1.5; }
.mpbx-dof-edge { stroke: rgba(227,166,76,0.7); stroke-width: 1; stroke-dasharray: 3 3; }
.mpbx-dof-cone { stroke: rgba(236,234,228,0.18); stroke-width: 1; fill: none; }
.mpbx-dof-focus { stroke: #e3a64c; stroke-width: 1.6; }
.mpbx-dof-cam rect, .mpbx-dof-cam circle { fill: #d8d5cd; }
.mpbx-dof-cam circle { fill: #2b2f38; stroke: #d8d5cd; stroke-width: 1.5; }
.mpbx-dof-ax line { stroke: rgba(236,234,228,0.4); }
.mpbx-dof-ax text { fill: #b9b6ae; font: 600 9.5px var(--p-readout); text-anchor: middle; }
.mpbx-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.mpbx-dof-lab { fill: #f0cf96; font: 700 var(--mpf-11) var(--p-readout); paint-order: stroke; stroke: rgba(13,20,38,0.85); stroke-width: 3px; }
.mpbx-dof-flab { fill: #fff; font: 700 9.5px var(--p-readout); letter-spacing: .02em; }
.mpbx-dof-in { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 134px; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.mpbx-dof-stage:focus-within { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpbx-dof-big { margin: 14px 0 4px; font-size: var(--mpf-22); line-height: 1.3; color: var(--p-text); }
.mpbx-dof-big strong { color: #f0cf96; font-weight: 700; font-variant-numeric: tabular-nums; }
.mpbx-dof-sub { margin: 0 0 12px; font-size: var(--mpf-14); line-height: 1.5; color: var(--p-body); }
.mpbx-dof .mpbx-skyq dd { font-variant-numeric: tabular-nums; }
@media (max-width: 360px) { .mpbx-scenes { grid-template-columns: repeat(3, 1fr); } .mpbx-ins-cell b { font-size: var(--mpf-17); } }

/* ---------- Polish (4 November 2026) ---------- */
.mpbp-hero .mpbp-hero-what em, .mpbp-hero .mpbp-hero-what em span { white-space: normal; overflow: visible; text-overflow: clip; }
.mpbx-herocv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 92%); mask-image: linear-gradient(180deg, #000 45%, transparent 92%); pointer-events: none; }
.mpbx-herocv.is-on { opacity: .9; }
.mpbx-hero-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin: 0; padding: 8px 15px 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); color: #f4efe6; font: 600 var(--mpf-13)/1 var(--p-readout); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M12 14v4M10 16h4'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx-hero-acts [data-xshare]::before { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 8l5-5 5 5'/%3E%3Cpath d='M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx-hero-acts [data-xar]::before { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V5a2 2 0 0 1 2-2h3M16 3h3a2 2 0 0 1 2 2v3M21 16v3a2 2 0 0 1-2 2h-3M8 21H5a2 2 0 0 1-2-2v-3'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx-hero-acts [data-xar] { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn:hover { background-color: rgba(255,255,255,0.16); }
.mpb-planner .mpbx-hero-acts [data-xar]:hover { background-color: #eab45f; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn:active { transform: scale(.96); }
.mpb-planner :is(.mpbx-scenes, .mpbx-fchips, .mpbx-sv-chips, .mpbx-sky-views, .mpbx-hero-acts) button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbx-slider:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 4px; border-radius: 6px; }
.mpb-planner .mpbp-src a, .mpb-planner .mpbp-muted a, .mpb-planner .mpbx-credit a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (prefers-reduced-transparency: reduce) { .mpb-planner .mpbx-hero-acts .mpbp-textbtn { -webkit-backdrop-filter: none; backdrop-filter: none; background: #2a2c31; } .mpbx-herocv { display: none; } }
@media (prefers-reduced-motion: reduce) { .mpbx-herocv { transition: none; } .mpb-planner .mpbx-hero-acts .mpbp-textbtn { transition: none; } }
.mpb-planner .mpbp-foot a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.mpb-planner .mpbp-hourly:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbp-cloudstrip:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
/* My kit (4 November 2026) */
.mpbx-fchips.mpbx-kit button { padding: 6px 12px; font-size: var(--mpf-12-5); }
.mpbx-fchips.mpbx-kit + .mpbx-fchips.mpbx-kit, .mpbx-sens + .mpbx-fchips.mpbx-kit { margin-top: 2px; }
.mpbx-kit-line { margin: 8px 0 0; font-size: var(--mpf-12-5); color: var(--p-muted); }
/* Forecast clouds (4 November 2026) */
.mpbx-cloudcv { position: absolute; left: -10%; top: 0; width: 120%; height: 70%; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; animation: mpbxDrift 90s ease-in-out infinite alternate; }
.mpbx-cloudcv.is-on { opacity: 1; }
@keyframes mpbxDrift { from { transform: translateX(0); } to { transform: translateX(-5%); } }
@media (prefers-reduced-motion: reduce) { .mpbx-cloudcv { animation: none; transition: none; } }
/* Colour alerts (4 November 2026) */
.mpbx-alert { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: start; margin-top: 16px; padding: 14px; background: rgba(236,234,228,0.04); border: 1px solid rgba(236,234,228,0.12); }
.mpbx-alert.is-on { border-color: rgba(227,166,76,0.45); background: rgba(227,166,76,0.07); }
.mpbx-alert-ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(227,166,76,0.16); position: relative; }
.mpbx-alert-ic::before { content: ""; position: absolute; inset: 8px; background: var(--p-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.mpbx-alert-t b { display: block; font: 600 var(--mpf-15) var(--p-readout); color: var(--p-text); margin-bottom: 3px; }
.mpbx-alert-t span { display: block; font-size: var(--mpf-13-5); line-height: 1.45; color: var(--p-body); }
.mpbx-alert-msg { display: block; font-style: normal; font-size: var(--mpf-13); color: #f0cf96; margin-top: 4px; }
.mpbx-alert-msg:empty { display: none; }
.mpbx-alert-b { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mpb-planner .mpbx-alert-b button { min-height: 40px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #f4efe6; font: 600 var(--mpf-13)/1 var(--p-readout); cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.mpb-planner .mpbx-alert-b button.is-main { background: var(--p-accent); border-color: var(--p-accent); color: #141514; }
.mpb-planner .mpbx-alert-b button:active { transform: scale(.96); }
.mpb-planner .mpbx-alert-b button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbx-alert-b button:disabled { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .mpb-planner .mpbx-alert-b button { transition: none; } }


/* ---------- What are you shooting? (5 November 2026) ---------- */
.mpb-planner .mpbp-shoot-q { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--mpf-11-5); color: var(--p-muted); margin: 0 0 10px; }
.mpb-planner .mpbp-filters.mpbp-filters--shoot { flex-wrap: wrap; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; gap: 8px; margin-bottom: 12px; }
.mpb-planner .mpbp-shoot-note { font-size: var(--mpf-15); line-height: 1.5; color: var(--p-body); margin: 0 0 16px; max-width: 40em; }


/* ---------- Use my location help (5 November 2026) ---------- */
.mpb-planner .mpbp-locate-msg:empty { display: none; }
.mpb-planner .mpbp-locate-msg { margin: 12px 0 0; padding: 10px 0 2px 14px; border-left: 2px solid var(--p-accent); font-size: var(--mpf-14-5); line-height: 1.5; color: var(--p-body); text-align: left; }
.mpb-planner .mpbp-locate-msg p { margin: 0 0 8px; }
.mpb-planner .mpbp-locate-msg ol { margin: 0 0 8px; padding-left: 1.2em; }
.mpb-planner .mpbp-locate-msg li { margin: 0 0 6px; }
.mpb-planner [data-act="locate"][disabled] { opacity: 0.7; cursor: progress; }


/* ---------- UX pass (5 November 2026): tab icons, bar buttons, folding cards, glance, spot rows,
   stars, loading shimmer, red night mode, pull to refresh, compass ---------- */

/* Tab icons */
.mpb-planner .mpbp-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mpb-planner .mpbp-tab-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--p-ease), color .2s var(--p-ease); }
.mpb-planner .mpbp-tab.is-on .mpbp-tab-ic { color: var(--p-accent); transform: translateY(-1px); }
.mpb-planner .mpbp-tab:active .mpbp-tab-ic { transform: scale(0.9); }
@media (max-width: 640px) {
  .mpb-planner .mpbp-tab { min-height: 58px; padding: 9px 0 7px; font-size: 10.5px; letter-spacing: 0.06em; }
  .mpb-planner { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
@media (min-width: 641px) {
  .mpb-planner .mpbp-tab { flex-direction: row; gap: 8px; }
  .mpb-planner .mpbp-tab-ic { width: 17px; height: 17px; }
}

/* Bar: compass and red night mode buttons */
.mpb-planner .mpbp-bar { grid-template-columns: minmax(0, 1fr) auto auto; }
.mpbx-baracts { display: flex; gap: 1px; }
.mpbx-iconbtn { display: grid; place-items: center; width: 46px; min-height: 100%; padding: 0; background: rgba(20, 21, 20, 0.86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border: 0; border-radius: 0; color: var(--p-body); cursor: pointer; transition: color .2s var(--p-ease), transform .1s var(--p-ease); }
.mpbx-iconbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mpbx-iconbtn:active { transform: scale(0.92); }
.mpbx-iconbtn.is-on { color: #ff5a46; }
.mpbx-iconbtn.is-on svg { fill: currentColor; }
.mpbx-iconbtn:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -2px; }
@media (prefers-reduced-transparency: reduce) { .mpbx-iconbtn { background: var(--p-ground); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Place bar tucks in once you scroll */
.mpb-planner .mpbp-chip { transition: min-height .25s var(--p-ease), padding .25s var(--p-ease), background-color .2s var(--p-ease), transform .1s var(--p-ease); }
.mpb-planner .mpbp-chip-label { max-height: 18px; transition: max-height .25s var(--p-ease), opacity .2s var(--p-ease); }
.mpb-planner.is-scrolled .mpbp-chip { min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.mpb-planner.is-scrolled .mpbp-chip-label { max-height: 0; opacity: 0; overflow: hidden; }

/* Forecast freshness line */
.mpb-planner .mpbp-fresh { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px !important; padding: 0 !important; font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-11); color: var(--p-muted); }
.mpb-planner .mpbp-fresh .mpbp-textbtn { margin-left: auto; font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-11); min-height: 32px; }
.mpb-planner .mpbp-fresh.is-busy::before { content: ""; width: 10px; height: 10px; flex: none; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mpbx-spin .8s linear infinite; }
@keyframes mpbx-spin { to { transform: rotate(360deg); } }

/* The day at a glance */
.mpbx-glance { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1px; background: var(--p-line); border: 1px solid var(--p-line); margin: 0 0 14px; }
.mpbx-glance > div { background: var(--p-surface, #1d1f1d); padding: 9px 4px 8px; text-align: center; min-width: 0; }
.mpbx-glance span { display: block; font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbx-glance strong { display: block; font-size: var(--mpf-17); font-weight: 500; line-height: 1.2; color: var(--p-text); font-variant-numeric: tabular-nums; margin: 3px 0 2px; }
.mpbx-glance em { display: block; font-style: normal; font-size: var(--mpf-11); color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cards that fold to one line */
.mpbx-foldbtn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 34px; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.mpbx-foldbtn > span { flex: 1; min-width: 0; }
.mpbx-foldbtn:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 4px; }
.mpbx-foldbtn[aria-expanded="true"] .mpbp-chev { transform: rotate(225deg) translate(-2px, -2px); }
.mpbx-foldbtn:active { opacity: 0.75; }
.mpb-planner .mpbx-fold.is-folded > .mpbp-h { margin-bottom: 0 !important; }
.mpb-planner .mpbx-fold.is-folded > :not(.mpbp-h):not(.mpbx-peek) { display: none !important; }
.mpb-planner .mpbx-fold.is-folded { padding-top: 14px; padding-bottom: 14px; }
.mpb-planner .mpbx-peek { margin: 6px 0 0 !important; padding: 0 !important; font-size: var(--mpf-14-5); line-height: 1.45; color: var(--p-body); }
.mpbx-fold.is-justopened > :not(.mpbp-h) { animation: mpbx-unfold .38s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes mpbx-unfold { from { opacity: 0; transform: translateY(-6px); } }

/* Spots: List or Map */
.mpb-planner .mpbp-seg { margin: 0 0 16px; }
.mpb-planner .mpbp-seg .mpbp-filter { min-width: 88px; }

/* Spots as compact rows */
.mpb-planner .mpbp-spots { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--p-line); margin-bottom: 8px; }
.mpbp-rowwrap { position: relative; border-bottom: 1px solid var(--p-line); }
.mpbp-rowwrap.is-on { background: linear-gradient(90deg, rgba(217,164,65,0.09), rgba(217,164,65,0)); }
.mpb-planner .mpbp-spot.mpbp-spot--row { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; transform: none; }
.mpbp-spot--row > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 46px 10px 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mpbp-spot--row > summary::-webkit-details-marker { display: none; }
.mpbp-spot--row > summary:active { background: rgba(236,234,228,0.03); }
.mpbp-spot--row > summary:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -2px; }
.mpb-planner .mpbp-spot--row .mpbx-dial { position: static; flex: none; width: 42px; height: 42px; }
.mpbp-row-pin { flex: none; width: 42px; height: 42px; display: grid; place-items: center; }
.mpbp-row-pin::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--p-muted); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.mpbp-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mpbp-row-main strong { font-size: var(--mpf-16); font-weight: 500; line-height: 1.3; color: var(--p-text); }
.mpbp-row-main em { font-style: normal; font-size: var(--mpf-12-5); line-height: 1.3; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbp-rowwrap.is-on .mpbp-row-main em { color: var(--p-accent); }
.mpb-planner .mpbp-row-body { padding: 0 8px 14px 56px; }
.mpb-planner .mpbp-row-body p { margin: 0 0 8px; }
.mpb-planner .mpbp-row-body .mpbp-spot-actions { flex-wrap: wrap; row-gap: 8px; }
.mpbp-spot--row[open] > .mpbp-row-body { animation: mpbx-unfold .3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.mpbp-star { position: absolute; top: 10px; right: 0; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: none; border: 0; color: var(--p-muted); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mpbp-star svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.mpbp-star.is-on { color: var(--p-accent); }
.mpbp-star.is-on svg { fill: currentColor; }
.mpbp-star:active svg { transform: scale(0.8); }
.mpbp-star:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -4px; }
.mpbp-spot--row > summary .mpbp-chev { margin-right: 4px; }

/* Loading: a soft shimmer instead of an empty gap */
.mpb-planner .mpbp-loading::after { content: ""; display: block; height: 56px; margin-top: 12px; background: linear-gradient(90deg, rgba(236,234,228,0.035) 25%, rgba(236,234,228,0.09) 50%, rgba(236,234,228,0.035) 75%); background-size: 200% 100%; animation: mpbx-shimmer 1.4s linear infinite; }
@keyframes mpbx-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Red night mode: one layer that keeps only red light */
.mpbx-red { display: none; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; background: rgb(196, 0, 0); mix-blend-mode: multiply; }
html.mpbx-red-on .mpbx-red { display: block; }
html.mpbx-red-on, html.mpbx-red-on body { background: #000; }

/* Pull to refresh (Home Screen app) */
.mpbx-ptr { position: fixed; top: calc(env(safe-area-inset-top) - 36px); left: 50%; z-index: 100002; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--p-surface, #1d1f1d); border: 1px solid var(--p-line); box-shadow: 0 6px 18px rgba(0,0,0,0.4); opacity: 0; transform: translate(-50%, 0); transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .2s; pointer-events: none; }
.mpbx-ptr i { width: 14px; height: 14px; border: 2px solid var(--p-muted); border-right-color: transparent; border-radius: 50%; }
.mpbx-ptr.is-armed i { border-color: var(--p-accent); border-right-color: transparent; }
.mpbx-ptr.is-spin i { animation: mpbx-spin .7s linear infinite; }

/* Live compass (redesigned 5 November 2026): glass dial over the real sky colour */
html.mpbx-cmp-on, html.mpbx-cmp-on body { overflow: hidden; }
.mpbx-cmp { position: fixed; inset: 0; z-index: 100001; overflow: auto; overscroll-behavior: contain; color: #f2f0ea;
  background: linear-gradient(180deg, var(--s1, #0b1020) 0%, var(--s2, #14203a) 58%, var(--s3, #2a3550) 100%);
  animation: mpbx-c-in .45s cubic-bezier(0.16, 1, 0.3, 1) both; -webkit-font-smoothing: antialiased; }
.mpbx-cmp.is-closing { animation: mpbx-c-out .22s ease both; }
@keyframes mpbx-c-in { from { opacity: 0; } }
@keyframes mpbx-c-out { to { opacity: 0; } }
.mpbx-c-stars { position: fixed; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity 1s; }
.mpbx-cmp.is-twilight .mpbx-c-stars { opacity: 0.45; }
.mpbx-cmp.is-night .mpbx-c-stars { opacity: 1; }
.mpbx-c-veil { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.72) 100%), linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0.55)); }
.mpbx-c-inner { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100%; max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 10px) 16px calc(env(safe-area-inset-bottom) + 22px); box-sizing: border-box; }

.mpbx-c-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; width: 100%; min-height: 48px; }
.mpbx-c-close { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); color: #fff; cursor: pointer; transition: transform .12s, background-color .2s; }
.mpbx-c-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mpbx-c-close:active { transform: scale(0.9); }
.mpbx-c-title { text-align: center; line-height: 1.2; }
.mpbx-c-title span { display: block; font-family: var(--p-readout, sans-serif); text-transform: uppercase; letter-spacing: 0.22em; font-size: var(--mpf-11); color: rgba(255,255,255,0.6); }
.mpbx-c-title em { display: block; font-style: normal; font-size: var(--mpf-14); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbx-c-acc { justify-self: end; font-family: var(--p-readout, sans-serif); font-size: var(--mpf-12); letter-spacing: 0.06em; color: rgba(255,255,255,0.6); font-variant-numeric: tabular-nums; }
.mpbx-c-acc.is-poor { color: #ffb36b; }

.mpbx-c-read { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 6px 0 0; }
.mpbx-c-deg { font-size: clamp(54px, 15vw, 76px); font-weight: 200; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.mpbx-c-pt { font-family: var(--p-readout, sans-serif); text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--mpf-15); color: rgba(255,255,255,0.75); }

.mpbx-c-dial { position: relative; width: min(92vw, 420px, 50svh); aspect-ratio: 1 / 1; margin: 4px auto 0; flex: none; animation: mpbx-c-dial .7s cubic-bezier(0.16, 1, 0.3, 1) both .05s; }
@keyframes mpbx-c-dial { from { opacity: 0; transform: scale(0.88); } }
.mpbx-c-dial::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,0.5), rgba(0,0,0,0)); filter: blur(18px); transform: translateY(6%); }
.mpbx-c-svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.mpbx-c-halo { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.mpbx-c-face { fill: url(#mpbxFace); }
.mpbx-c-rim { fill: none; stroke: url(#mpbxRim); stroke-width: 1.4; }
.mpbx-c-svg line { stroke: rgba(255,255,255,0.28); stroke-width: 1; stroke-linecap: round; }
.mpbx-c-svg line.is-mid { stroke: rgba(255,255,255,0.55); stroke-width: 1.3; }
.mpbx-c-svg line.is-big { stroke: #ffffff; stroke-width: 2; }
.mpbx-c-card { fill: #ffffff; font-family: var(--p-body-font, inherit); font-size: var(--mpf-21); font-weight: 500; text-anchor: middle; }
.mpbx-c-card.is-n { fill: #ff5b45; filter: drop-shadow(0 0 6px rgba(255, 91, 69, 0.7)); }
.mpbx-c-num { fill: rgba(255,255,255,0.55); font-family: var(--p-readout, sans-serif); font-size: var(--mpf-11); letter-spacing: 0.04em; text-anchor: middle; font-variant-numeric: tabular-nums; }
.mpbx-c-dome { fill: url(#mpbxDome); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.mpbx-c-alt { fill: none; stroke: rgba(255,255,255,0.09); stroke-width: 1; stroke-dasharray: 2 4; }
.mpbx-c-svg line.mpbx-c-path { stroke: rgba(255, 223, 150, 0.75); stroke-width: 2.2; }
.mpbx-c-svg line.mpbx-c-path.is-gold { stroke: #ff9a3d; stroke-width: 2.6; }
.mpbx-c-sundisc { fill: #fff3cf; filter: drop-shadow(0 0 8px rgba(255, 200, 90, 0.95)); }
.mpbx-c-sunglow { animation: mpbx-c-breathe 3.6s ease-in-out infinite; transform-origin: 0 0; }
@keyframes mpbx-c-breathe { 50% { opacity: 0.65; transform: scale(1.12); } }
.mpbx-c-moondisc { fill: #eef2fa; filter: drop-shadow(0 0 6px rgba(220, 230, 255, 0.9)); }
.mpbx-c-obj.is-down { opacity: 0.4; }
.mpbx-c-obj.is-planet circle { fill: #fff8e6; }
.mpbx-c-lab { fill: rgba(255,255,255,0.78); font-family: var(--p-readout, sans-serif); font-size: 9.5px; letter-spacing: 0.08em; text-anchor: middle; text-transform: uppercase; paint-order: stroke; stroke: rgba(0,0,0,0.55); stroke-width: 2.5px; }

.mpbx-cmp .is-sun { --c: #ffd25a; } .mpbx-cmp .is-rise { --c: #ffb347; } .mpbx-cmp .is-set { --c: #ff7a45; } .mpbx-cmp .is-moon { --c: #dfe6f5; } .mpbx-cmp .is-mw { --c: #b9a6ff; } .mpbx-cmp .is-face { --c: #7fe0b0; } .mpbx-cmp .is-dest { --c: #5cc2ff; }
.mpbx-c-gem { fill: var(--c); stroke: rgba(0,0,0,0.5); stroke-width: 1; filter: drop-shadow(0 0 4px var(--c)); }
.mpbx-c-svg .mpbx-c-ray { stroke: var(--c); stroke-width: 1.2; stroke-dasharray: 2 4; opacity: 0; transition: opacity .3s; }
.mpbx-c-mark.is-sel .mpbx-c-ray { opacity: 0.9; stroke-dasharray: none; stroke-width: 2; filter: drop-shadow(0 0 4px var(--c)); }
.mpbx-c-mark.is-sel .mpbx-c-gem { transform: scale(1.25); transform-origin: 0 -156px; }
.mpbx-c-arc { fill: none; stroke: #ffc35a; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 180, 70, 0.8)); }
.mpbx-c-lubber path { fill: #ffffff; filter: drop-shadow(0 0 6px rgba(255,255,255,0.7)); transition: fill .25s; }
.mpbx-c-svg .mpbx-c-lubber line { stroke: #ffffff; stroke-width: 2.5; }
.mpbx-c-level line { stroke: rgba(255,255,255,0.55); stroke-width: 1.4; }
.mpbx-c-ring { fill: rgba(0,0,0,0.25); stroke: rgba(255,255,255,0.5); stroke-width: 1.2; }
.mpbx-c-bubble { fill: rgba(255,255,255,0.85); transition: fill .25s; }
.mpbx-c-level.is-flat .mpbx-c-bubble { fill: #7fe0a0; filter: drop-shadow(0 0 5px rgba(127, 224, 160, 0.9)); }
.mpbx-c-level.is-flat .mpbx-c-ring { stroke: rgba(127, 224, 160, 0.8); }
.mpbx-cmp.is-ontarget .mpbx-c-lubber path { fill: #7fe0a0; filter: drop-shadow(0 0 10px rgba(127, 224, 160, 1)); }
.mpbx-cmp.is-ontarget .mpbx-c-svg .mpbx-c-lubber line { stroke: #7fe0a0; }
.mpbx-cmp.is-ontarget .mpbx-c-halo { stroke: rgba(127, 224, 160, 0.7); stroke-width: 2; animation: mpbx-c-ping 1.4s ease-out infinite; transform-origin: 0 0; }
@keyframes mpbx-c-ping { from { transform: scale(0.97); opacity: 1; } to { transform: scale(1.04); opacity: 0; } }

.mpbx-c-guide { min-height: 2.8em; margin: 10px 0 14px !important; padding: 0 !important; text-align: center; font-size: var(--mpf-19); font-weight: 400; line-height: 1.4; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.mpbx-cmp.is-ontarget .mpbx-c-guide { color: #9df0bd; }
.mpbx-c-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.mpbx-c-t { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 9px 10px 9px 11px; text-align: left; color: #fff; cursor: pointer; border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); transition: background-color .2s, border-color .2s, transform .12s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.mpbx-c-t:active { transform: scale(0.97); }
.mpbx-c-t.is-on { background: rgba(255,255,255,0.16); border-color: var(--c); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 0 0 1px var(--c), 0 6px 24px -6px var(--c); }
.mpbx-c-t.is-ahead .mpbx-c-rel { color: #9df0bd; }
.mpbx-c-ic { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; box-sizing: border-box; background: color-mix(in srgb, var(--c) 22%, transparent); fill: none; stroke: var(--c); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mpbx-c-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mpbx-c-tx strong { font-size: var(--mpf-14-5); font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbx-c-tx em { font-style: normal; font-size: var(--mpf-12); color: rgba(255,255,255,0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbx-c-rel { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 34px; color: rgba(255,255,255,0.8); }
.mpbx-c-rel svg { width: 16px; height: 16px; fill: currentColor; transition: transform .08s linear; }
.mpbx-c-rel b { font-weight: 500; font-size: 10.5px; font-family: var(--p-readout, sans-serif); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.mpbx-c-close:focus-visible, .mpbx-c-t:focus-visible { outline: 2px solid #ffc35a; outline-offset: 2px; }
.mpbx-c-note { margin: 16px 0 0 !important; padding: 0 !important; font-size: var(--mpf-12-5); line-height: 1.5; color: rgba(255,255,255,0.6); text-align: center; }
html.mpbx-red-on .mpbx-cmp { background: #000; }
html.mpbx-red-on .mpbx-c-stars { opacity: 0.5; }
@media (prefers-reduced-transparency: reduce) { .mpbx-c-t, .mpbx-c-close { background: #1b1d1b; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .mpbx-cmp, .mpbx-c-dial, .mpbx-c-sunglow, .mpbx-cmp.is-ontarget .mpbx-c-halo { animation: none !important; } }
@media (max-height: 700px) { .mpbx-c-dial { width: min(88vw, 44svh); } .mpbx-c-deg { font-size: 48px; } .mpbx-c-guide { font-size: var(--mpf-17); margin: 6px 0 10px !important; } }

@media (prefers-reduced-motion: reduce) {
  .mpb-planner .mpbp-loading::after, .mpbx-ptr.is-spin i, .mpb-planner .mpbp-fresh.is-busy::before { animation: none; }
  .mpbx-fold.is-justopened > :not(.mpbp-h), .mpbp-spot--row[open] > .mpbp-row-body, .mpbx-cmp { animation: none; }
  .mpb-planner .mpbp-chip, .mpb-planner .mpbp-chip-label { transition: none; }
}
@media (prefers-contrast: more) {
  .mpbp-row-main em, .mpbx-glance em, .mpbx-glance span, .mpb-planner .mpbp-fresh { color: var(--p-body); }
  .mpbp-rowwrap, .mpb-planner .mpbp-spots { border-color: rgba(236,234,228,0.4); }
}

/* Compass chips: room for the names (5 November 2026) */
.mpbx-c-t { gap: 8px; padding: 9px 8px 9px 10px; }
.mpbx-c-ic { width: 28px; height: 28px; padding: 5px; }
.mpbx-c-rel { min-width: 28px; }
.mpbx-c-tx strong { font-size: var(--mpf-14); }
.mpbx-c-t:last-child:nth-child(odd) { grid-column: 1 / -1; }


/* ---------- Field tools (5 November 2026): where to go, real horizon, find a date, trips,
   second model, rain radar, sightings, shot journal, lens frames ---------- */
.mpb-planner .mpbx2-intro { margin: 8px 0 12px !important; padding: 0 !important; font-size: var(--mpf-15); line-height: 1.5; color: var(--p-body); }
.mpb-planner .mpbx2-small { font-size: var(--mpf-12-5); line-height: 1.45; margin: 10px 0 0 !important; }
.mpb-planner .mpbx2-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 8px 0 0 !important; padding: 0 !important; }
.mpb-planner .mpbx2-seg { margin: 0 0 12px; }
.mpb-planner .mpbx2-seg .mpbp-filter { min-width: 0; flex: 1 1 auto; padding-left: 8px; padding-right: 8px; }

/* Where to go */
.mpbx2-golist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--p-line); }
.mpbx2-golist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--p-line); }
.mpbx2-score { --v: 0; position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--p-accent) calc(var(--v) * 1%), rgba(236,234,228,0.1) 0); }
.mpbx2-score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--p-surface, #1d1f1d); }
.mpbx2-score b { position: relative; font-size: var(--mpf-17); font-weight: 500; color: var(--p-text); font-variant-numeric: tabular-nums; }
.mpbx2-gomain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mpbx2-gomain strong { font-size: var(--mpf-16-5); font-weight: 500; color: var(--p-text); line-height: 1.3; }
.mpbx2-gomain em { font-style: normal; font-size: var(--mpf-14); color: var(--p-body); line-height: 1.4; }
.mpbx2-gomain small { font-size: var(--mpf-12-5); color: var(--p-muted); }

/* Real horizon */
.mpbx2-hz-svg { display: block; width: 100%; height: auto; margin: 4px 0 0; border: 1px solid var(--p-line); background: #0f1419; }
.mpbx2-hz-ground { fill: #0b0d0b; stroke: rgba(236,234,228,0.55); stroke-width: 1.2; }
.mpbx2-hz-flat { stroke: rgba(236,234,228,0.35); stroke-dasharray: 3 4; stroke-width: 1; }
.mpbx2-hz-path { fill: none; stroke: #ffc35a; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255,180,70,0.6)); }
.mpbx2-hz-sun { fill: #fff2c9; stroke: #ff9a3d; stroke-width: 2; }
.mpbx2-hz-lab { fill: #ffe2a6; font: 600 var(--mpf-11) var(--p-readout, sans-serif); text-anchor: middle; letter-spacing: 0.04em; paint-order: stroke; stroke: rgba(0,0,0,0.6); stroke-width: 3px; }
.mpbx2-hz-ax { fill: rgba(236,234,228,0.6); font: 10px var(--p-readout, sans-serif); text-anchor: middle; letter-spacing: 0.1em; }
.mpbx-glance em.mpbx2-real { color: var(--p-accent); }

/* Forms */
.mpbx2-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 12px; }
.mpbx2-form label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mpbx2-form label > span { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-11); color: var(--p-muted); }
.mpb-planner .mpbx2-form select, .mpb-planner .mpbx2-form input[type="date"], .mpb-planner .mpbx2-form input[type="number"] { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid rgba(236,234,228,0.22); border-radius: 0; background: rgba(236,234,228,0.05); color: var(--p-text); font: inherit; font-size: var(--mpf-15); box-sizing: border-box; color-scheme: dark; }
.mpbx2-form select:focus-visible, .mpbx2-form input:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 1px; }
.mpbx2-form .mpbx2-check { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; font-size: var(--mpf-14-5); color: var(--p-body); }
.mpbx2-check input { width: 20px; height: 20px; accent-color: var(--p-accent); flex: none; }

/* Find a date results */
.mpbx2-cfres { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--p-line); }
.mpbx2-cfres li { display: grid; grid-template-columns: 96px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--p-line); }
.mpbx2-cfd { font-family: var(--p-readout); font-size: var(--mpf-12); letter-spacing: 0.06em; color: var(--p-muted); text-transform: uppercase; }
.mpbx2-cfd b { display: block; font-weight: 600; color: var(--p-text); }
.mpbx2-cft { font-size: var(--mpf-14-5); line-height: 1.45; color: var(--p-body); }
.mpbx2-cfres .mpbx2-acts { grid-column: 2; margin: 2px 0 0 !important; }

/* Trips */
.mpbx2-triplist { margin-top: 14px; border-top: 1px solid var(--p-line); }
.mpbx2-trip { border-bottom: 1px solid var(--p-line); }
.mpbx2-trip > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; }
.mpbx2-trip > summary::-webkit-details-marker { display: none; }
.mpbx2-trip > summary strong { font-size: var(--mpf-16); font-weight: 500; color: var(--p-text); }
.mpbx2-trip > summary em { flex: 1; min-width: 0; font-style: normal; font-size: var(--mpf-12-5); color: var(--p-muted); }
.mpbx2-tday { padding: 6px 0 10px; }
.mpb-planner .mpbx2-tday h3 { margin: 6px 0 6px; padding: 0; font-family: var(--p-readout); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--mpf-12); color: var(--p-accent); }
.mpbx2-tday ul { list-style: none; margin: 0; padding: 0; }
.mpbx2-tday li { display: grid; grid-template-columns: 112px 1fr; gap: 2px 10px; padding: 7px 0 7px 10px; border-left: 2px solid var(--k, var(--p-line)); margin: 0 0 4px; font-size: var(--mpf-14-5); line-height: 1.4; }
.mpbx2-tday li.is-sunrise { --k: #ffb347; } .mpbx2-tday li.is-sunset { --k: #ff7a45; } .mpbx2-tday li.is-tide { --k: #5ea8e8; } .mpbx2-tday li.is-night { --k: #9b8cf0; }
.mpbx2-tday li b { font-weight: 500; color: var(--p-text); }
.mpbx2-tday li em { grid-column: 2; font-style: normal; font-size: var(--mpf-13); color: var(--p-muted); }
.mpbx2-tday li a { margin-left: 6px; font-size: var(--mpf-13); }

/* Met Office second opinion on the best shot */
.mpb-planner .mpbx2-model { position: relative; margin: 10px 0 0 !important; padding: 8px 12px !important; font-size: var(--mpf-13-5); line-height: 1.4; color: #f2f0ea; background: rgba(0,0,0,0.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-left: 3px solid #7fd4a0; }
.mpbx2-model.is-differ { border-left-color: #ffb36b; }
.mpbx2-model b { font-weight: 600; margin-right: 4px; }

/* Rain radar control on the map */
.mpbx2-radar { display: flex; align-items: center; gap: 8px; }
.mpbx2-radar button { min-height: 36px; padding: 0 12px; border: 1px solid rgba(236,234,228,0.3); background: rgba(20,21,20,0.88); color: #ecebe4; font: 600 var(--mpf-11) var(--p-readout, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.mpbx2-radar button.is-on { background: #5ea8e8; border-color: #5ea8e8; color: #0b1622; }
.mpbx2-radar-t { padding: 4px 8px; background: rgba(20,21,20,0.8); color: #ecebe4; font: var(--mpf-11) var(--p-readout, sans-serif); letter-spacing: 0.06em; }
.mpbx2-radar-t:empty { display: none; }

/* Seen nearby lately */
.mpbx2-sg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mpbx2-sg a { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--p-line); text-decoration: none; color: inherit; min-height: 60px; }
.mpbx2-sg a:active { transform: scale(0.98); }
.mpbx2-sg img, .mpbx2-sg i { flex: none; width: 48px; height: 48px; object-fit: cover; background: rgba(236,234,228,0.08); }
.mpbx2-sg span { display: flex; flex-direction: column; min-width: 0; }
.mpbx2-sg strong { font-size: var(--mpf-14); font-weight: 500; line-height: 1.25; color: var(--p-text); }
.mpbx2-sg em { font-style: normal; font-size: var(--mpf-12); color: var(--p-muted); }

/* Shot journal */
.mpbx2-file { position: relative; overflow: hidden; cursor: pointer; }
.mpbx2-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.mpbx2-file:focus-within { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbx2-jmsg { margin: 8px 0 0 !important; font-size: var(--mpf-13-5); }
.mpb-planner .mpbx2-jmsg:empty { display: none; }
.mpb-planner .mpbx2-pattern { margin: 12px 0 !important; padding: 10px 12px !important; border-left: 3px solid var(--p-accent); background: rgba(217,164,65,0.07); font-size: var(--mpf-14-5); line-height: 1.5; color: var(--p-body); }
.mpbx2-jlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--p-line); }
.mpbx2-jlist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--p-line); }
.mpbx2-jlist img, .mpbx2-jlist li > i { flex: none; width: 96px; height: 72px; object-fit: cover; background: rgba(236,234,228,0.06); }
.mpbx2-jlist li.is-keep img { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpbx2-jlist div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mpbx2-jlist strong { font-size: var(--mpf-14-5); font-weight: 500; color: var(--p-text); }
.mpbx2-jlist em { font-style: normal; font-size: var(--mpf-13); color: var(--p-body); line-height: 1.4; }
.mpbx2-jlist small { font-size: var(--mpf-12); color: var(--p-muted); }
.mpbx2-jlist .mpbp-textbtn.is-on { color: var(--p-accent); }

/* Lens frames in the Sky viewfinder */
.mpbx2-frames { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding-bottom: 2px; }
.mpbx2-frames::-webkit-scrollbar { display: none; }
.mpbx2-frames span { flex: none; font: 600 var(--mpf-11) var(--p-readout, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.mpbx2-frames button { flex: none; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.28); border-radius: 17px; background: rgba(0,0,0,0.35); color: #fff; font: var(--mpf-12) var(--p-readout, sans-serif); cursor: pointer; }
.mpbx2-frames button.is-on { background: #ffc35a; border-color: #ffc35a; color: #141514; }

@media (prefers-contrast: more) { .mpbx2-gomain small, .mpbx2-cfd, .mpbx2-sg em, .mpbx2-jlist small { color: var(--p-body); } }


/* ---------- Met Office line spacing and drone airspace (5 November 2026) ---------- */
.mpb-planner .mpbx2-model { margin: 14px 0 16px !important; padding: 10px 14px !important; }
.mpb-planner .mpbx2-model + * { margin-top: 0; }
.mpbx-drone summary { flex-wrap: wrap; row-gap: 6px; }
.mpbx-drone-pills { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; justify-content: flex-end; }
.mpbx-drone summary .mpbx-drone-pills .mpbx-pill { margin-left: 0; }
.mpbx2-airpill.is-0 { border-color: #7fbf8f; color: #9be0a6; }
.mpbx2-airpill.is-1 { border-color: #ffb020; color: #ffc65a; }
.mpbx2-airpill.is-2 { border-color: #ff6b5f; color: #ff8a80; background: rgba(255, 90, 79, 0.12); }
.mpbx2-airpill.is-wait { color: var(--p-muted); }
.mpbx-drone-sub { font-family: var(--p-readout); text-transform: uppercase; letter-spacing: .12em; font-size: var(--mpf-11-5); font-weight: 600; color: var(--p-muted); margin: 18px 0 8px; }
.mpbx-drone-sub:first-child { margin-top: 4px; }
.mpbx2-air { display: grid; gap: 10px; }
.mpbx2-air p { margin: 0; }
.mpbx2-airsay { padding: 10px 12px; border-left: 3px solid #7fbf8f; background: rgba(127, 191, 143, 0.08); line-height: 1.45; }
.mpbx2-airsay.is-1 { border-left-color: #ffb020; background: rgba(255, 176, 32, 0.09); }
.mpbx2-airsay.is-2 { border-left-color: #ff5a4f; background: rgba(255, 90, 79, 0.12); }
.mpbx2-airlist { list-style: none; margin: 0; padding: 0; }
.mpbx2-airlist li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--p-line); }
.mpbx2-airlist li:last-child { border-bottom: 1px solid var(--p-line); }
.mpbx2-airlist li > i { width: 10px; height: 10px; background: #ff5a4f; box-shadow: 0 0 0 3px rgba(255, 90, 79, 0.18); }
.mpbx2-airlist li.is-nsa > i { background: #ff4d7d; box-shadow: 0 0 0 3px rgba(255, 77, 125, 0.18); }
.mpbx2-airlist li.is-prison > i { background: #c58cff; box-shadow: 0 0 0 3px rgba(197, 140, 255, 0.18); }
.mpbx2-airlist li.is-danger > i { background: transparent; border: 2px dashed #ffb020; box-shadow: none; }
.mpbx2-airlist b { display: block; font-weight: 600; color: var(--p-ink, #f2f0ea); }
.mpbx2-airlist em { display: block; font-style: normal; font-size: var(--mpf-12-5); color: var(--p-muted); }
.mpbx2-airdist { font-family: var(--p-readout); font-size: var(--mpf-12); letter-spacing: .04em; white-space: nowrap; color: var(--p-body); }
.mpbx2-airlist li.is-in .mpbx2-airdist { color: #ff8a80; }
.mpbx2-airsrc { font-size: var(--mpf-12); }
.mpb-planner .mpbx2-nofly button.is-on { background: #ff5a4f !important; border-color: #ff5a4f !important; color: #1c0b0a !important; }
.mpbx2-airpop .leaflet-popup-content { font-size: var(--mpf-13); line-height: 1.4; }
.mpbx2-airpop .leaflet-popup-content span { color: #555; }
.mpbx-drone summary .mpbp-h { white-space: nowrap; }
.mpbx2-airsay { font-size: var(--mpf-14); }
.mpbx2-airsay strong { font-weight: 600; }
.mpbx2-airlist b { font-size: var(--mpf-14-5); line-height: 1.3; }
.mpbx-drone summary .mpbp-chev { margin-left: auto; }
.mpbx-drone-pills { order: 3; flex-basis: 100%; justify-content: flex-start; margin-left: 0; }


/* ---------- Wildlife seen nearby: groups and month view (5 November 2026) ---------- */
.mpb-planner .mpbx2-sgchips { flex-wrap: wrap; overflow: visible; gap: 6px; margin: 2px 0 10px; }
.mpbx2-sgwin { display: inline-flex; border: 1px solid var(--p-line); margin: 0 0 12px; }
.mpbx2-sgwin button { min-height: 36px; padding: 0 12px; background: transparent; border: 0; color: var(--p-body); font: 600 var(--mpf-11-5) var(--p-readout, sans-serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.mpbx2-sgwin button + button { border-left: 1px solid var(--p-line); }
.mpbx2-sgwin button.is-on { background: var(--p-accent); color: #141514; }
.mpbx2-sgwin button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbp-filters.mpbx2-sgchips { flex-wrap: wrap; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
.mpbx2-sg li { list-style: none; margin: 0; padding: 0; }
.mpbx2-sg li::marker { content: none; }
@media (max-width: 479px) { .mpbx2-sg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .mpbx2-sg a { gap: 8px; padding: 5px; } .mpbx2-sg img, .mpbx2-sg i { width: 40px; height: 40px; } .mpbx2-sg strong { font-size: var(--mpf-13); } }


/* ---------- Taste pass (6 November 2026) ----------
   From a design review against the app-screen rules: sentence-case labels at 12px or more, card titles at
   16/600, no frosted glass, no resting shadows or glows, no corner marks, amber kept for data and the one
   primary action (Sky viewfinder), inverted ink buttons elsewhere, 44px tap targets on phones. */

/* Title row: no eyebrow, title at app size */
.mpb-planner .mpbp-head .mpbp-kicker { display: none !important; }
.mpb-planner .mpbp-head .mpbp-title { font-size: clamp(26px, 6vw, 30px) !important; letter-spacing: -0.01em; }

/* Card titles: sentence case, 16/600, in ink */
.mpb-planner .mpbp-h,
.mpb-planner .mpbx-foldbtn,
.mpb-planner .mpbx-foldbtn > span,
.mpb-planner summary > .mpbp-h {
  font-family: "Archivo", sans-serif !important; font-size: var(--mpf-16) !important; font-weight: 600 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: #eceae4 !important; line-height: 1.3 !important;
}

/* Labels, chips, pills and small controls: sentence case, no tracking, 12px or more */
.mpb-planner :is(.mpbx-drone-sub, .mpbp-ev-label, .mpbx-fireg-l, .mpbp-chip-label, .mpbp-fresh, .mpbp-fresh *, .mpbp-score b,
  .mpbp-pill, .mpbx-pill, .mpbp-filter, .mpbp-filter-label, .mpbp-shoot-q, .mpbx2-sgwin button, .mpbx-sky-views button,
  dt, label > span, .mpbx-glance span, .mpbx-wk-row > span, .mpbp-hours span, .mpbp-tab, .mpbp-tab span, .mpbp-textbtn,
  .mpbp-btn, .mpbp-spot-kind, .mpbp-sub, .mpbx-alert-b button) {
  text-transform: none !important; letter-spacing: 0 !important;
}
.mpb-planner :is(.mpbx-drone-sub, .mpbx-fireg-l, .mpbp-chip-label, .mpbp-fresh, .mpbp-fresh *, dt, label > span,
  .mpbx-glance span, .mpbx-wk-row > span, .mpbp-hours span, .mpbp-tab span, .mpbp-spot-kind) { font-size: var(--mpf-12) !important; }
.mpb-planner :is(.mpbp-pill, .mpbx-pill, .mpbp-filter, .mpbp-filter-label, .mpbp-shoot-q, .mpbx2-sgwin button, .mpbx-sky-views button) { font-size: var(--mpf-13) !important; }
.mpb-planner .mpbp-ev-label { font-size: var(--mpf-14) !important; }
.mpb-planner .mpbx-drone-sub { font-weight: 600 !important; color: #a9a7a0 !important; }
.mpb-planner :is(.mpbx-sb em, .mpbx-sb b, .mpbp-cloudstrip span > b) { font-size: var(--mpf-11) !important; }

/* No frosted glass: opaque surfaces, a neutral scrim over the sky picture */
.mpb-planner, .mpb-planner * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mpb-planner :is(.mpbp-chip, .mpbx-iconbtn) { background-color: #141514 !important; }
.mpb-planner .mpbp-tabs { background-color: #141514 !important; }
.mpb-planner .mpbx2-model { background: rgba(10, 11, 10, 0.62) !important; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn { background: rgba(10, 11, 10, 0.62) !important; border-color: rgba(236, 234, 228, 0.28) !important; }

/* No resting shadows, glows or corner marks */
.mpb-planner .mpbp-hero { box-shadow: none !important; }
.mpb-planner .mpb-frame { --mpb-frame-colour: transparent; }
.mpb-planner :is(.mpbp-now, .mpbx-wb, .mpbx-wk-cell, .mpbx2-airlist li > i, .mpbp-aurora i, i.is-on) { box-shadow: none !important; }

/* One shape for controls: square, like the cards */
.mpb-planner :is(.mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button, .mpbp-btn) { border-radius: 0 !important; }

/* Amber for data and the one primary action. Other buttons are ink on dark; selected segments invert. */
.mpb-planner .mpbp-btn:not(.mpbp-btn--quiet),
.mpb-planner a.mpbp-btn:not(.mpbp-btn--quiet) { background: #eceae4 !important; border-color: #eceae4 !important; color: #141514 !important; }
.mpb-planner .mpbp-btn:not(.mpbp-btn--quiet):hover,
.mpb-planner a.mpbp-btn:not(.mpbp-btn--quiet):hover { background: transparent !important; color: #eceae4 !important; }
.mpb-planner .mpbx2-acts .mpbp-btn { background: transparent !important; border-color: rgba(236, 234, 228, 0.32) !important; color: #eceae4 !important; }
.mpb-planner .mpbx2-acts .mpbp-btn:hover { border-color: #eceae4 !important; }
.mpb-planner :is(.mpbp-filter.is-on, .mpbx2-sgwin button.is-on) { background: #eceae4 !important; border-color: #eceae4 !important; color: #141514 !important; }
.mpb-planner .mpbx-alert-b button.is-main { background: transparent !important; border-color: rgba(236, 234, 228, 0.32) !important; color: #eceae4 !important; }
.mpb-planner .mpbx-hero-acts [data-xar] { background: #d9a441 !important; border-color: #d9a441 !important; color: #141514 !important; }

/* The hero's own "Go to" repeats Where to go, which sits right under it */
.mpb-planner .mpbp-panel:has(.mpbx2-go) .mpbp-hero .mpbp-go { display: none !important; }

/* Tap targets on phones */
@media (max-width: 600px) {
  .mpb-planner :is(.mpbp-textbtn, .mpbp-maplink, .mpbp-filter, .mpbx2-sgwin button, .mpbp-btn, .mpbx-sky-views button, .mpbx-alert-b button) {
    min-height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center;
  }
  .mpb-planner .mpbx-foldbtn { min-height: 44px !important; }
  .mpb-planner .mpbp-fresh { min-height: 44px; display: flex; align-items: center; }
  .mpb-planner .mpbp-links a { display: inline-flex; align-items: center; min-height: 44px; }
}


/* ---------- Desktop layout (6 November 2026) ----------
   From 1100px the planner fills the Divi row's content box (width: 100%), so its edges line up with the
   header's logo and menu: the row's padding is the site's --mpb-gutter, clamp(16px, 4vw, 56px), and the row
   stops at 1440px. Gaps use Divi's --module-gutter (30px). The title and the place bar share the top row;
   cards flow in two balanced columns; status lines, filters, lists and the map span both. Phones and
   tablets are unchanged. */
@media (min-width: 1100px) {
  .mpb-planner {
    max-width: none !important; width: 100% !important;
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 680px);
    column-gap: var(--module-gutter, 30px); align-items: end;
  }
  .mpb-planner > * { grid-column: 1 / -1; min-width: 0; }
  .mpb-planner > .mpbp-head { grid-column: 1; }
  .mpb-planner > .mpbp-bar { grid-column: 2; }
  .mpb-planner > :is(.mpbp-head, .mpbp-bar) { align-self: center; margin-bottom: 20px !important; }

  .mpb-planner .mpbp-tabs { justify-content: start !important; column-gap: 8px; }
  .mpb-planner .mpbp-tabs .mpbp-tab { padding-left: 18px; padding-right: 22px; }

  .mpb-planner .mpbp-panel:not(:has(> .mpbp-filters--shoot)):not(:has(.mpbx-mapcard)) {
    column-count: 2; column-gap: var(--module-gutter, 30px); column-fill: balance;
  }
  .mpb-planner .mpbp-panel > * { break-inside: avoid; page-break-inside: avoid; }
  .mpb-planner .mpbp-panel > :is(.mpbp-card, .mpbp-hero) { display: block; width: 100%; margin-top: 0; }
  .mpb-planner .mpbp-panel > :is(.mpbp-fresh, .mpbx-glance, .mpbp-filters, .mpbp-links, .mpbp-src, .mpbp-h--out, .mpbp-spots, p.mpbp-muted) {
    column-span: all;
  }
  .mpb-planner .mpbp-spots { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--module-gutter, 30px); align-items: start; }
  .mpb-planner .mpbp-spots > * { min-width: 0; }
  .mpb-planner .mpbx-mapcard .leaflet-container { height: min(68vh, 620px) !important; }
}

/* The selected sky view inverts to ink, like other selected segments */
.mpb-planner .mpbx-sky-views button[aria-pressed="true"] { background: #eceae4 !important; border-color: #eceae4 !important; color: #141514 !important; }

/* Find a date: the "Milky Way core up" tick box was stretched to the field width */
.mpb-planner .mpbx2-form .mpbx2-check input { width: 20px !important; height: 20px !important; min-height: 0 !important; flex: 0 0 auto !important; padding: 0 !important; }
.mpb-planner .mpbx2-check > span { font-size: var(--mpf-14) !important; }


/* ---------- Fluid type (6 November 2026) ----------
   Every planner font size from 11px to 24px is a token that grows with the screen, using the same formula
   and span as the site's Divi Sizing Variable Generator scale (--gvid-*: clamp(min rem, calc(k * (100vw - 360px)
   + min px), max rem), reaching its maximum at about 1350px). Phones keep today's sizes (the minimum); desktops
   get about 10% more (small labels +1px); tablets sit in between. rem endpoints follow the browser's text size.
   Card titles use the site's own Divi variable for 16px to 18px. Sizes under 11px (drawing labels) are left fixed. */
:root {
  --mpf-11: clamp(0.6875rem, calc(0.001 * (100vw - 360px) + 11px), 0.75rem);
  --mpf-11-5: clamp(0.7188rem, calc(0.001 * (100vw - 360px) + 11.5px), 0.7813rem);
  --mpf-12: clamp(0.75rem, calc(0.001 * (100vw - 360px) + 12px), 0.8125rem);
  --mpf-12-5: clamp(0.7813rem, calc(0.0015 * (100vw - 360px) + 12.5px), 0.875rem);
  --mpf-13: clamp(0.8125rem, calc(0.0015 * (100vw - 360px) + 13px), 0.9063rem);
  --mpf-13-5: clamp(0.8438rem, calc(0.0015 * (100vw - 360px) + 13.5px), 0.9375rem);
  --mpf-14: clamp(0.875rem, calc(0.0015 * (100vw - 360px) + 14px), 0.9688rem);
  --mpf-14-5: clamp(0.9063rem, calc(0.0015 * (100vw - 360px) + 14.5px), 1rem);
  --mpf-15: clamp(0.9375rem, calc(0.0015 * (100vw - 360px) + 15px), 1.0313rem);
  --mpf-15-5: clamp(0.9688rem, calc(0.0015 * (100vw - 360px) + 15.5px), 1.0625rem);
  --mpf-16: clamp(1rem, calc(0.0015 * (100vw - 360px) + 16px), 1.0938rem);
  --mpf-16-5: clamp(1.0313rem, calc(0.0015 * (100vw - 360px) + 16.5px), 1.125rem);
  --mpf-17: clamp(1.0625rem, calc(0.0015 * (100vw - 360px) + 17px), 1.1563rem);
  --mpf-18: clamp(1.125rem, calc(0.002 * (100vw - 360px) + 18px), 1.25rem);
  --mpf-19: clamp(1.1875rem, calc(0.0025 * (100vw - 360px) + 19px), 1.3438rem);
  --mpf-20: clamp(1.25rem, calc(0.0025 * (100vw - 360px) + 20px), 1.4063rem);
  --mpf-21: clamp(1.3125rem, calc(0.0025 * (100vw - 360px) + 21px), 1.4688rem);
  --mpf-22: clamp(1.375rem, calc(0.0025 * (100vw - 360px) + 22px), 1.5313rem);
  --mpf-24: clamp(1.5rem, calc(0.003 * (100vw - 360px) + 24px), 1.6875rem);
  --mpf-title: clamp(1.625rem, calc(0.0061 * (100vw - 360px) + 26px), 2rem);
}
.mpb-planner .mpbp-head .mpbp-title { font-size: var(--mpf-title) !important; }
.mpb-planner .mpbp-h,
.mpb-planner .mpbx-foldbtn,
.mpb-planner .mpbx-foldbtn > span,
.mpb-planner summary > .mpbp-h { font-size: var(--gvid-qfyhjo2em8, var(--mpf-16)) !important; }


/* Wildlife seen nearby: equal tiles (6 November 2026) */
.mpb-planner ul.mpbx2-sg { padding: 0 !important; margin: 0 !important; grid-auto-rows: 1fr; align-items: stretch; }
.mpb-planner .mpbx2-sg li { margin: 0 !important; padding: 0 !important; display: flex; min-width: 0; }
.mpb-planner .mpbx2-sg a { flex: 1 1 auto; min-width: 0; height: 100%; box-sizing: border-box; }
.mpb-planner .mpbx2-sg strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Forms: every field the same height on iPhone, select arrow and date icon drawn the same way (6 November 2026) */
.mpb-planner .mpbx2-form select, .mpb-planner .mpbx2-form input[type="date"], .mpb-planner .mpbx2-form input[type="number"] {
  -webkit-appearance: none; appearance: none; display: block; margin: 0; height: 48px; min-height: 48px; line-height: 1.2; padding: 0 40px 0 12px; text-align: left;
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px;
}
.mpb-planner .mpbx2-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23eceae4' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5 8 3l3.5 3.5M4.5 9.5 8 13l3.5-3.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-form input[type="date"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23eceae4' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='2' y='3' width='12' height='11'/%3E%3Cpath d='M2 6.5h12M5 1.5v3M11 1.5v3'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-form input[type="number"] { padding-right: 12px; }
.mpb-planner .mpbx2-form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.mpb-planner .mpbx2-form input[type="date"]::-webkit-datetime-edit { padding: 0; }
.mpb-planner .mpbx2-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }
.mpb-planner .mpbx2-form + .mpbx2-acts { margin-top: 10px; }
.mpb-planner .mpbx2-form + .mpbx2-acts .mpbp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; box-sizing: border-box; }

/* Forms: centre the date text on iPhone, which ignores the box height for date fields (6 November 2026) */
.mpb-planner .mpbx2-form input[type="date"] { line-height: 46px; padding-top: 0; padding-bottom: 0; }
.mpb-planner .mpbx2-form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; line-height: 46px; min-height: 46px; }

/* Aurora right now: the oval button runs full width with room above, like the other card buttons (6 November 2026) */
.mpb-planner .mpbx-aurora p:has(> .mpbp-btn[data-xaurora]) { margin: 14px 0 0 !important; padding: 0; }
.mpb-planner .mpbx-aurora .mpbp-btn[data-xaurora] { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; box-sizing: border-box; text-align: center; }
.mpb-planner .mpbx-aurora p:has(> .mpbp-btn[data-xaurora]) + .mpbp-muted { margin: 8px 0 0 !important; text-align: center; font-size: var(--mpf-13); }

/* Spots controls: List or Map and Within as full-width joined controls, What are you shooting? as an even grid of tiles with icons (6 November 2026) */
.mpb-planner .mpbp-filters.mpbp-seg { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; margin: 0 0 18px; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.mpb-planner .mpbp-filters.mpbp-seg .mpbp-filter { min-width: 0; min-height: 44px; margin: 0 !important; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--mpf-14) !important; }
.mpb-planner .mpbp-filters.mpbp-seg .mpbp-filter + .mpbp-filter { border-left-width: 0; }
.mpb-planner .mpbp-filters.mpbp-seg .mpbp-filter::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mpb-planner [data-spotview="list"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6.5h12M8 12h12M8 17.5h12'/%3E%3Ccircle cx='4.5' cy='6.5' r='1'/%3E%3Ccircle cx='4.5' cy='12' r='1'/%3E%3Ccircle cx='4.5' cy='17.5' r='1'/%3E%3C/svg%3E"); }
.mpb-planner [data-spotview="map"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5 9 4l6 2.5L21 4v13.5L15 20l-6-2.5L3 20zM9 4v13.5M15 6.5V20'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters.mpbp-filters--shoot { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
@media (min-width: 600px) { .mpb-planner .mpbp-filters.mpbp-filters--shoot { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); } }
.mpb-planner .mpbp-filters--shoot .mpbp-filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 66px; margin: 0; padding: 9px 4px 8px; text-align: center; line-height: 1.2; white-space: normal; font-size: var(--mpf-13) !important; }
.mpb-planner .mpbp-filters--shoot .mpbp-filter::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; opacity: .9; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mpb-planner .mpbp-filters--shoot [data-filter="all"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6.5' height='6.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="landscape"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 19.5 9 10l4 5.5 2.5-3 6 7z'/%3E%3Ccircle cx='16.5' cy='6.5' r='1.8'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="sunrise"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M7 18a5 5 0 0 1 10 0M12 4v6M9.5 6.5 12 4l2.5 2.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="sunset"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M7 18a5 5 0 0 1 10 0M12 4v6M9.5 7.5 12 10l2.5-2.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="seascape"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 9c2.4 0 2.4-2 4.8-2s2.4 2 4.7 2 2.4-2 4.7-2 2.4 2 4.8 2M2.5 14c2.4 0 2.4-2 4.8-2s2.4 2 4.7 2 2.4-2 4.7-2 2.4 2 4.8 2M2.5 19c2.4 0 2.4-2 4.8-2s2.4 2 4.7 2 2.4-2 4.7-2 2.4 2 4.8 2'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="nature"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-14 15-14 0 10-6 15-14 15zM5 19l8-8'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="woodland"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 6 12h3l-4 6h14l-4-6h3zM12 18v3.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="water"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5s-6 7-6 11a6 6 0 0 0 12 0c0-4-6-11-6-11z'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="hills"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 20 10 7l4 7 2-3 5.5 9z'/%3E%3Cpath d='M10 7v-3.5l3 1.2-3 1.2'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="architecture"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 4l9 5.5zM5 20h14M6.5 11v7M10 11v7M14 11v7M17.5 11v7'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="night"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5a7.5 7.5 0 1 0 4 12.5 6 6 0 0 1-4-12.5z'/%3E%3Cpath d='M18.5 3.5v3M17 5h3'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters--shoot [data-filter="mist"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h13M7 12h14M3 16h11M9 20h9'/%3E%3C/svg%3E"); }
.mpb-planner .mpbp-filters.mpbp-filters--radius:not(.mpbp-seg) { display: grid !important; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; gap: 0; width: 100%; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.mpb-planner .mpbp-filters--radius:not(.mpbp-seg) .mpbp-filter-label { margin-right: 14px; }
.mpb-planner .mpbp-filters--radius:not(.mpbp-seg) .mpbp-filter { min-width: 0; min-height: 44px; margin: 0 !important; font-size: var(--mpf-14) !important; }
.mpb-planner .mpbp-filters--radius:not(.mpbp-seg) .mpbp-filter + .mpbp-filter { border-left-width: 0; }

/* Wildlife seen nearby: group tiles with icons in an even grid (All across the top), and When as a full-width switch (6 November 2026) */
.mpb-planner .mpbp-filters.mpbx2-sgchips { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 600px) { .mpb-planner .mpbp-filters.mpbx2-sgchips { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mpb-planner .mpbx2-sgchips .mpbp-filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 66px; margin: 0 !important; padding: 9px 4px 8px; text-align: center; line-height: 1.2; white-space: normal; font-size: var(--mpf-13) !important; }
.mpb-planner .mpbx2-sgchips .mpbp-filter[data-x2sg="all"] { grid-column: 1 / -1; flex-direction: row; gap: 8px; min-height: 44px; padding: 8px; }
.mpb-planner .mpbx2-sgchips .mpbp-filter::before, .mpb-planner .mpbx2-sgwin button::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; opacity: .9; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mpb-planner .mpbx2-sgwin { display: grid !important; grid-template-columns: 1fr 1fr; width: 100%; margin: 0 0 16px; }
.mpb-planner .mpbx2-sgwin button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; margin: 0 !important; padding: 8px 6px; text-align: center; line-height: 1.2; font-size: var(--mpf-14) !important; }
.mpb-planner .mpbx2-sgwin button::before { width: 18px; height: 18px; }
.mpb-planner .mpbx2-sgwin button + button { border-left-width: 0; }
.mpb-planner .mpbx2-sgwin [data-x2sgw="recent"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgwin [data-x2sgw="month"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="all"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6.5' height='6.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="birds"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 15.5c4 0 6-3 7-6 .8-2.4 2.8-3.5 4.8-3.5 1.5 0 2.6.9 3.1 2l2.1.6-2 1.4c0 4.5-3.3 8.5-9 8.5-3 0-5-1.2-6-3z'/%3E%3Ccircle cx='16' cy='8.3' r='.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="mammals"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='16' rx='4' ry='3.3'/%3E%3Ccircle cx='6' cy='10.5' r='1.7'/%3E%3Ccircle cx='9.6' cy='6.5' r='1.7'/%3E%3Ccircle cx='14.4' cy='6.5' r='1.7'/%3E%3Ccircle cx='18' cy='10.5' r='1.7'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="lep"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v12M12 10C9.5 5 4 4.5 4 8.5s4.5 4.5 8 2.5M12 10c2.5-5 8-5.5 8-1.5s-4.5 4.5-8 2.5M12 13c-3 0-6.5 1.5-5.5 4.5S11 18 12 14M12 13c3 0 6.5 1.5 5.5 4.5S13 18 12 14'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="odo"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5V21'/%3E%3Ccircle cx='12' cy='4.5' r='1.5'/%3E%3Cpath d='M12 8.5c-4-2-8.5-2-9 .3S8 11 12 8.5zM12 8.5c4-2 8.5-2 9 .3S16 11 12 8.5zM12 11.5c-3-1-7-1-7.8.8S9 13.5 12 11.5zM12 11.5c3-1 7-1 7.8.8S15 13.5 12 11.5z'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="herps"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5a2.2 2.2 0 1 1 4.4 0M13.6 9.5a2.2 2.2 0 1 1 4.4 0M4.5 11.5c0 5 3.3 8 7.5 8s7.5-3 7.5-8M9 15.5c2 1.2 4 1.2 6 0'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-sgchips [data-x2sg="fungi"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.5a9 7.5 0 0 1 18 0zM9.2 12.5v5.5a2.8 2.8 0 0 0 5.6 0v-5.5'/%3E%3C/svg%3E"); }

/* Depth of field card: My kit and focal length as even grids, and more air in the results (6 November 2026) */
.mpb-planner .mpbx-fchips.mpbx-kit { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; overflow: visible; }
.mpb-planner .mpbx-fchips.mpbx-kit[aria-label="Camera"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpb-planner .mpbx-fchips.mpbx-kit::before { content: attr(aria-label); grid-column: 1 / -1; margin: 0 0 2px; font-size: var(--mpf-12); color: var(--p-muted); }
.mpb-planner .mpbx-fchips.mpbx-kit button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 46px; margin: 0; padding: 6px 8px; text-align: center; line-height: 1.2; white-space: normal; font-size: var(--mpf-13); }
.mpb-planner .mpbx-fchips.mpbx-kit[aria-label="Lens"] button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mpb-planner .mpbx-fchips.mpbx-kit + .mpbx-fchips.mpbx-kit, .mpb-planner .mpbx-sens + .mpbx-fchips.mpbx-kit { margin-top: 0; }
.mpb-planner .mpbx-fchips[aria-label="Focal length"] { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 6px; overflow: visible; }
.mpb-planner .mpbx-fchips[aria-label="Focal length"] button { min-width: 0; min-height: 44px; margin: 0; padding: 6px 2px; }
.mpb-planner .mpbx-lens-row { margin-top: 6px; }
.mpb-planner .mpbx-dof-big { margin: 24px 0 8px !important; line-height: 1.2; }
.mpb-planner .mpbx-dof-sub { margin: 0 0 20px !important; line-height: 1.55; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbp-quad { margin: 0 0 22px !important; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbp-quad > div { padding: 14px 16px; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbp-quad dt { margin-bottom: 4px; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbx-guide-note, .mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbx-guide-tip { margin: 0 0 16px !important; line-height: 1.6; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbx-guide-tip span { margin-right: 10px; vertical-align: 2px; }
.mpb-planner .mpbp-card:has(.mpbx-dof-stage) .mpbx-guide-tip ~ p { margin-top: 0 !important; line-height: 1.6; }

/* Where to go: Sunset, Sunrise and Night as one full-width switch with equal parts and icons (7 November 2026) */
.mpb-planner .mpbp-filters.mpbx2-seg { display: grid !important; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; width: 100%; margin: 4px 0 16px; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.mpb-planner .mpbp-filters.mpbx2-seg .mpbp-filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 60px; margin: 0 !important; padding: 8px 4px; line-height: 1.15; white-space: nowrap; font-size: var(--mpf-13) !important; }
.mpb-planner .mpbp-filters.mpbx2-seg .mpbp-filter + .mpbp-filter { border-left-width: 0; }
.mpb-planner .mpbp-filters.mpbx2-seg .mpbp-filter::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; opacity: .9; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mpb-planner .mpbx2-seg [data-x2go="sunrise"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M7 18a5 5 0 0 1 10 0M12 4v6M9.5 6.5 12 4l2.5 2.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-seg [data-x2go="sunset"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M7 18a5 5 0 0 1 10 0M12 4v6M9.5 7.5 12 10l2.5-2.5'/%3E%3C/svg%3E"); }
.mpb-planner .mpbx2-seg [data-x2go="night"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5a7.5 7.5 0 1 0 4 12.5 6 6 0 0 1-4-12.5z'/%3E%3Cpath d='M18.5 3.5v3M17 5h3'/%3E%3C/svg%3E"); }

/* ---------- Button system (7 November 2026) ----------
   One family for every control in the planner:
   1. Action buttons: 46 px tall, Archivo 500 at 14 px, square, 1 px border, icon 18 px with an 8 px gap.
      Filled ink for the main action of a card, outlined for the rest, amber only for Sky viewfinder.
   2. Chips and segments: 44 px tall (66 px when they carry an icon above the label), Archivo 500 at 13-14 px,
      the same quiet border and fill, selected = ink.
   3. Text links (Directions, Refresh, Try again): amber, underlined, 44 px touch height. */
.mpb-planner { --btn-h: 46px; --chip-h: 44px; --ctl-line: rgba(236, 234, 228, 0.3); --ctl-fill: rgba(236, 234, 228, 0.04); --ctl-ink: #eceae4; --ctl-dark: #141514; }

/* 1. Action buttons */
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button) {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h) !important; height: auto; padding: 0 18px !important; margin: 0;
  font: 500 var(--mpf-14) / 1.2 "Archivo", system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important;
  border: 1px solid var(--ctl-line) !important; border-radius: 0 !important; box-sizing: border-box; white-space: nowrap;
  background: transparent !important; color: var(--ctl-ink) !important; transition: transform .1s ease-out, background-color .15s ease, border-color .15s ease;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.mpb-planner .mpbp-btn.mpbp-btn--sm { min-height: var(--btn-h) !important; padding: 0 16px !important; font-size: var(--mpf-14) !important; }
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button):hover { border-color: var(--ctl-ink) !important; }
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button):active { transform: scale(0.97); transition-duration: 0s; }
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button):focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn::before { width: 18px !important; height: 18px !important; }
/* Filled ink: the main action of a card */
.mpb-planner :is(.mpbp-btn:not(.mpbp-btn--quiet):not(.mpbx2-acts .mpbp-btn), .mpbx-alert-b button.is-main) { background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important; }
.mpb-planner :is(.mpbp-btn:not(.mpbp-btn--quiet):not(.mpbx2-acts .mpbp-btn), .mpbx-alert-b button.is-main):hover { background: #ffffff !important; border-color: #ffffff !important; }
/* Amber: Sky viewfinder only */
.mpb-planner .mpbx-hero-acts [data-xar] { background: #d9a441 !important; border-color: #d9a441 !important; color: var(--ctl-dark) !important; }
.mpb-planner .mpbx-hero-acts [data-xar]:hover { background: #e6b65c !important; border-color: #e6b65c !important; }
/* Outlined buttons over the sky picture keep a dark scrim so they stay readable */
.mpb-planner .mpbx-hero-acts .mpbp-textbtn:not([data-xar]) { background: rgba(10, 11, 10, 0.62) !important; }

/* Hero buttons: two equal buttons, then Sky viewfinder across the full width */
.mpb-planner .mpbx-hero-acts { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.mpb-planner .mpbx-hero-acts > * { min-width: 0; width: 100%; padding: 0 10px !important; }
.mpb-planner .mpbx-hero-acts [data-xar] { grid-column: 1 / -1; }
.mpb-planner .mpbx-hero-acts > *:last-child:nth-child(odd):not([data-xar]) { grid-column: 1 / -1; }

/* Alerts strip buttons: equal widths in a row */
.mpb-planner .mpbx-alert-b { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.mpb-planner .mpbx-alert-b button { width: 100%; padding: 0 10px !important; }

/* Row actions (Plan here + Directions) line up on the button's centre line */
.mpb-planner .mpbx2-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }

/* 2. Chips and segments: one look everywhere */
.mpb-planner :is(.mpbp-filter, .mpbx-fchips button, .mpbx-sky-views button, .mpbx2-sgwin button) {
  min-height: var(--chip-h) !important; border: 1px solid var(--ctl-line) !important; border-radius: 0 !important;
  background: var(--ctl-fill) !important; color: #d8d5cd !important;
  font-family: "Archivo", system-ui, sans-serif !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important;
  font-variant-numeric: tabular-nums;
}
.mpb-planner :is(.mpbp-filter, .mpbx-fchips button, .mpbx-sky-views button, .mpbx2-sgwin button):is(.is-on, [aria-pressed="true"]) { background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important; }
.mpb-planner :is(.mpbx-fchips button, .mpbx-sky-views button) { font-size: var(--mpf-13) !important; }
/* Joined segments: no doubled borders */
.mpb-planner :is(.mpbx-sky-views, .mpbx2-sgwin, .mpbp-seg, .mpbx2-seg, .mpbp-filters--radius) > * + * { margin-left: 0 !important; }
.mpb-planner .mpbx-sky-views { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
.mpb-planner .mpbx-sky-views button + button { border-left-width: 0 !important; }
/* Where to go: the Sunset / Sunrise / Night switch spans the card */
.mpb-planner .mpbp-filters.mpbx2-seg { width: 100% !important; max-width: none !important; justify-self: stretch; }

/* 3. Text links */
.mpb-planner .mpbp-textbtn:not(.mpbx-hero-acts .mpbp-textbtn), .mpb-planner .mpbp-maplink { font-family: "Archivo", system-ui, sans-serif; font-weight: 500; font-size: var(--mpf-15); color: var(--p-accent) !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mpb-planner .mpbp-fresh .mpbp-textbtn { font-size: var(--mpf-13) !important; }

@media (prefers-reduced-motion: reduce) { .mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button):active { transform: none; } }
@media (prefers-contrast: more) { .mpb-planner { --ctl-line: rgba(236, 234, 228, 0.6); } }

/* Button system: map overlay controls (Map, Terrain, Satellite, Rain radar, No-fly zones) use the chip look, on an opaque ground over the map (7 November 2026) */
.mpb-planner :is(.mpbx-map-layers, .mpbx2-radar) button { min-height: var(--chip-h) !important; padding: 0 14px !important; border: 1px solid var(--ctl-line) !important; border-radius: 0 !important; background: #141514 !important; color: #d8d5cd !important; font: 500 var(--mpf-13) / 1.2 'Archivo', system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
.mpb-planner :is(.mpbx-map-layers, .mpbx2-radar) button:is(.is-on, [aria-pressed='true']) { background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important; }
.mpb-planner .mpbx-map-layers { display: inline-grid !important; grid-auto-flow: column; gap: 0; }
.mpb-planner .mpbx-map-layers button + button { border-left-width: 0 !important; margin-left: 0 !important; }

/* Button system: every icon-above tile is the same height (room for two lines), every inline-icon segment is 44 px (7 November 2026) */
.mpb-planner :is(.mpbp-filters--shoot .mpbp-filter, .mpbx2-sgchips .mpbp-filter:not([data-x2sg='all']), .mpbp-filters.mpbx2-seg .mpbp-filter) { min-height: 76px !important; padding: 8px 4px !important; }
.mpb-planner .mpbx2-sgwin button { min-height: var(--chip-h) !important; padding: 0 6px !important; white-space: nowrap; font-size: var(--mpf-13) !important; }

/* ---------- Controls, second generation (7 November 2026) ----------
   Segmented controls are a dark track with an ink thumb that slides to the chosen option (like a camera mode dial).
   Buttons and tiles are soft tonal surfaces with a continuous 12 px corner, a hairline edge and a faint top light.
   Ink is the chosen state and the main action; amber stays for Sky viewfinder and data. Cards keep their square edge. */
.mpb-planner { --c-r: 12px; --c-r-in: 9px; --c-trk: #0e0f0e; --c-edge: rgba(236, 234, 228, 0.1); --c-tone: rgba(236, 234, 228, 0.065); --c-tone-hi: rgba(236, 234, 228, 0.11); --c-lite: inset 0 1px 0 rgba(255, 255, 255, 0.05); --c-ease: cubic-bezier(0.32, 0.72, 0, 1); }

/* Action buttons */
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button) {
  border-radius: var(--c-r) !important; border: 1px solid var(--c-edge) !important; background: var(--c-tone) !important; box-shadow: var(--c-lite);
  color: var(--ctl-ink) !important; transition: transform .12s var(--c-ease), background-color .2s ease, box-shadow .2s ease !important;
}
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button):hover { background: var(--c-tone-hi) !important; border-color: var(--c-edge) !important; }
.mpb-planner :is(.mpbp-btn, .mpbx-hero-acts .mpbp-textbtn, .mpbx-alert-b button, .mpbp-filter, .mpbx-fchips button, .mpbx-sky-views button, .mpbx2-sgwin button):active { transform: scale(0.96); transition-duration: 0s !important; }
.mpb-planner :is(.mpbp-btn:not(.mpbp-btn--quiet):not(.mpbx2-acts .mpbp-btn), .mpbx-alert-b button.is-main) {
  background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}
.mpb-planner :is(.mpbp-btn:not(.mpbp-btn--quiet):not(.mpbx2-acts .mpbp-btn), .mpbx-alert-b button.is-main):hover { background: #ffffff !important; border-color: #ffffff !important; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn:not([data-xar]) { background: rgba(14, 15, 14, 0.58) !important; border-color: rgba(236, 234, 228, 0.16) !important; }
.mpb-planner .mpbx-hero-acts .mpbp-textbtn:not([data-xar]):hover { background: rgba(14, 15, 14, 0.72) !important; }
.mpb-planner .mpbx-hero-acts [data-xar] {
  background: linear-gradient(180deg, #e3b259, #d29b37) !important; border-color: #d9a441 !important; color: #141514 !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 20px -8px rgba(217, 164, 65, 0.55);
}
.mpb-planner .mpbx-hero-acts [data-xar]:hover { background: linear-gradient(180deg, #ebbd68, #d9a441) !important; }

/* Tiles and chips: tonal, soft corner, ink when chosen */
.mpb-planner :is(.mpbp-filters--shoot .mpbp-filter, .mpbx2-sgchips .mpbp-filter, .mpbx-fchips button) {
  border-radius: var(--c-r) !important; border: 1px solid var(--c-edge) !important; background: var(--c-tone) !important; box-shadow: var(--c-lite); color: #d8d5cd !important;
  transition: transform .12s var(--c-ease), background-color .2s ease, color .2s ease, box-shadow .2s ease !important;
}
.mpb-planner .mpbx-fchips[aria-label="Focal length"] button { border-radius: 10px !important; }
.mpb-planner :is(.mpbp-filters--shoot .mpbp-filter, .mpbx2-sgchips .mpbp-filter, .mpbx-fchips button):hover { background: var(--c-tone-hi) !important; }
.mpb-planner :is(.mpbp-filters--shoot .mpbp-filter, .mpbx2-sgchips .mpbp-filter, .mpbx-fchips button):is(.is-on, [aria-pressed="true"]) {
  background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}
.mpb-planner :is(.mpbp-filters--shoot, .mpbx2-sgchips, .mpbx-fchips.mpbx-kit, .mpbx-fchips[aria-label="Focal length"]) { gap: 8px !important; }

/* Segmented tracks with a sliding thumb */
.mpb-planner :is(.mpbp-seg, .mpbp-filters--radius, .mpbx2-seg, .mpbx2-sgwin, .mpbx-sky-views, .mpbx-map-layers, .mpbp-filters--sky) {
  position: relative; isolation: isolate; gap: 2px !important; padding: 3px !important;
  background: var(--c-trk) !important; border: 1px solid var(--c-edge) !important; border-radius: var(--c-r) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
.mpb-planner :is(.mpbp-seg, .mpbp-filters--radius, .mpbx2-seg, .mpbx2-sgwin, .mpbx-sky-views, .mpbx-map-layers, .mpbp-filters--sky) > :is(button, .mpbp-filter) {
  position: relative; z-index: 1; min-height: 38px !important; border: 0 !important; border-radius: var(--c-r-in) !important;
  background: transparent !important; box-shadow: none !important; color: #b9b6ae !important;
  transition: color .3s var(--c-ease), transform .12s var(--c-ease) !important;
}
.mpb-planner :is(.mpbp-seg, .mpbp-filters--radius, .mpbx2-seg, .mpbx2-sgwin, .mpbx-sky-views, .mpbx-map-layers, .mpbp-filters--sky) > :is(button, .mpbp-filter):hover { color: var(--ctl-ink) !important; }
.mpb-planner :is(.mpbp-seg, .mpbp-filters--radius, .mpbx2-seg, .mpbx2-sgwin, .mpbx-sky-views, .mpbx-map-layers, .mpbp-filters--sky) > :is(button, .mpbp-filter):is(.is-on, [aria-pressed="true"]) { color: var(--ctl-dark) !important; background: var(--ctl-ink) !important; }
.mpb-planner .has-thumb > :is(button, .mpbp-filter):is(.is-on, [aria-pressed="true"]) { background: transparent !important; }
.mpb-planner .mpbp-filters.mpbx2-seg > .mpbp-filter { min-height: 68px !important; }
.mpb-planner .mpbp-filters--radius:not(.mpbp-seg) .mpbp-filter-label { padding: 0 6px 0 10px; margin: 0 !important; color: var(--p-muted); }
.mpb-planner .mpbx-thumb {
  position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; pointer-events: none; border-radius: var(--c-r-in);
  background: var(--ctl-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.6);
  transition: transform .42s var(--c-ease), width .42s var(--c-ease), height .42s var(--c-ease), opacity .2s ease;
}
.mpb-planner :is(.mpbx-map-layers, .mpbx2-radar) { background: rgba(14, 15, 14, 0.92) !important; }
.mpb-planner .mpbx2-radar button { border-radius: var(--c-r) !important; border: 1px solid var(--c-edge) !important; background: rgba(14, 15, 14, 0.92) !important; }

@media (prefers-reduced-motion: reduce) {
  .mpb-planner .mpbx-thumb { transition: none; }
  .mpb-planner :is(.mpbp-btn, .mpbp-filter, button):active { transform: none !important; }
}
@media (prefers-contrast: more) {
  .mpb-planner { --c-edge: rgba(236, 234, 228, 0.45); --c-tone: rgba(236, 234, 228, 0.1); }
}

/* Tracks that grew their columns from their children use flex, so the sliding thumb never takes a column (7 November 2026) */
.mpb-planner :is(.mpbp-filters.mpbx2-seg, .mpbx-sky-views, .mpbx-map-layers) { display: flex !important; grid-auto-flow: unset; }
.mpb-planner :is(.mpbp-filters.mpbx2-seg, .mpbx-sky-views, .mpbx-map-layers) > :is(button, .mpbp-filter) { flex: 1 1 0; min-width: 0; }
.mpb-planner .mpbx-map-layers { display: inline-flex !important; }
.mpb-planner .mpbx-map-layers > button { flex: 0 0 auto; }

.mpb-planner .mpbp-filters.mpbp-filters--radius.mpbx2-seg { display: flex !important; }

/* The button after a form is that card's main action: ink. Form fields take the same soft corner as the controls (7 November 2026) */
.mpb-planner .mpbx2-form + .mpbx2-acts .mpbp-btn { background: var(--ctl-ink) !important; border-color: var(--ctl-ink) !important; color: var(--ctl-dark) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.35), 0 6px 16px -6px rgba(0,0,0,0.5); }
.mpb-planner .mpbx2-form + .mpbx2-acts .mpbp-btn:hover { background: #ffffff !important; border-color: #ffffff !important; }
.mpb-planner .mpbx2-form :is(select, input[type='date'], input[type='number'], input[type='text']) { border-radius: var(--c-r) !important; border: 1px solid var(--c-edge) !important; background-color: var(--c-trk) !important; box-shadow: inset 0 1px 3px rgba(0,0,0,0.45); }
.mpb-planner .mpbx2-form :is(select, input):focus-visible { outline: 2px solid var(--p-accent); outline-offset: 1px; }

/* ---------- Surfaces, second generation (7 November 2026) ----------
   One corner scale for the whole planner: cards 20 px, panels inside cards 14 px, controls 12 px, small cells 8 px.
   Cards get a little more room inside, and pictures that run to the card edge are clipped by the card's corner. */
.mpb-planner { --s-r: 20px; --s-r-in: 14px; --s-r-sm: 8px; }
.mpb-planner :is(.mpbp-card, details.mpbp-card, .mpbp-hero) { border-radius: var(--s-r) !important; overflow: clip; }
.mpb-planner :is(section.mpbp-card, details.mpbp-card) { padding: 20px 18px !important; margin-bottom: 16px !important; }
.mpb-planner :is(.mpbl-dome-sky, .mpbx-dof-stage, .mpbx-sky-stage) { margin-left: -18px !important; margin-right: -18px !important; }
.mpb-planner :is(.mpbx-glance, .mpbx2-model, .mpbp-quad, .mpbp-nums, .mpbp-times, .mpbp-mini, .mpbx-alert, .mpbp-track, .mpbp-hourly, .mpbp-aurora, .mpbx-skyq-band, .mpbp-cloudstrip, .mpbx2-hzwrap) { border-radius: var(--s-r-in) !important; overflow: clip; }
.mpb-planner .mpbx2-model { border-left-width: 1px !important; }
.mpb-planner .mpbx-wk-cell { border-radius: var(--s-r-sm) !important; }
.mpb-planner .mpbx-wk { gap: 4px !important; }
.mpb-planner .mpbx2-sg a { border-radius: var(--c-r) !important; overflow: clip; }
.mpb-planner .mpbx2-sg img, .mpb-planner .mpbx2-sg i { border-radius: 8px; }
.mpb-planner .mpbp-bar { border-radius: var(--s-r-in) !important; overflow: clip; }
.mpb-planner :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea) { border-radius: var(--c-r) !important; }

/* Breathing room where blocks were touching */
.mpb-planner .mpbx2-golist { margin-bottom: 14px !important; }
.mpb-planner .mpbx-wk-key { margin-top: 12px !important; }
.mpb-planner .mpbx-sky-read { margin-top: 14px !important; }
.mpb-planner .mpbx-lens-row { margin-bottom: 10px !important; }
.mpb-planner .mpbx-hero-acts { margin-top: 18px !important; }
.mpb-planner .mpbp-card > .mpbp-h, .mpb-planner .mpbp-card > .mpbx-foldbtn { margin-bottom: 14px !important; }


/* The sun's path in 3D (7 November 2026) */
.mpb-planner .mpbl-dome-sky.is-3d { position: relative; height: min(88vw, 400px) !important; touch-action: pan-y; }
.mpb-planner .mpbl-dome-sky.is-3d > svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.mpb-planner canvas.mpbl-3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; animation: mpbl3dIn .6s cubic-bezier(0.32, 0.72, 0, 1) both; }
.mpb-planner canvas.mpbl-3d.is-drag { cursor: grabbing; }
.mpb-planner .mpbl-3d-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: rgba(14, 15, 14, 0.62); color: rgba(236, 234, 228, 0.82); font: 500 var(--mpf-12) / 1.2 "Archivo", system-ui, sans-serif; pointer-events: none; }
@keyframes mpbl3dIn { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mpb-planner canvas.mpbl-3d { animation: none; } }
@media (min-width: 1100px) { .mpb-planner .mpbl-dome-sky.is-3d { height: 420px !important; } }

/* Visual pass, third round (7 November 2026) */
.mpbp-hero-what em span[data-until] { white-space: nowrap; }
.mpbl-readout { text-wrap: pretty; }
#mpb-planner .mpbx-dark .mpbp-times > div { align-items: flex-start; gap: 16px; }
#mpb-planner .mpbx-dark .mpbp-times dt { font-family: inherit; font-size: 15px !important; font-weight: 500; line-height: 1.35; letter-spacing: 0; text-transform: none; color: #eceae4; font-stretch: normal; }
#mpb-planner .mpbx-dark .mpbp-times dd { white-space: nowrap; text-align: right; flex: none; }
#mpb-planner .mpbp-times dt { font-family: inherit; font-size: 14px !important; font-weight: 500; letter-spacing: 0; text-transform: none; color: #c9c6bd; font-stretch: normal; }

/* Place bar: the date value matches the place value (7 November 2026). The label > span rule made it 12 px. */
.mpb-planner .mpbp-chip--date > .mpbp-chip-value { font-size: var(--mpf-16) !important; font-family: Archivo, system-ui, sans-serif; font-weight: 500; letter-spacing: 0; }

/* Where to go: the chosen option's icon in gold (7 November 2026). Deeper than the brand amber so it holds 3.3:1 on the ink thumb. */
.mpb-planner .mpbx2-seg .mpbp-filter.is-on::before, .mpb-planner .mpbx2-seg .mpbp-filter[aria-pressed="true"]::before { background-color: #a8771a !important; }

/* Rounding, last pieces, and the 3D moon (7 November 2026) */
.mpb-planner .mpbp-pill, .mpb-planner .mpbx-pill { border-radius: 999px; }
.mpb-planner .mpbp-ev-date { border-radius: 12px; }
.mpb-planner .mpbx-hw li { border-radius: 12px; }
.mpb-planner .mpbx2-hz-svg { border-radius: 14px; }
.mpb-planner .mpbx-guide-tip span { border-radius: 6px; }
.mpb-planner .mpbp-note { border-left: 0; border-radius: 12px; background: rgba(217, 164, 65, 0.09); padding: 12px 14px; }
.mpb-planner .mpbx2-airsay { border-left: 0; border-radius: 12px; padding: 12px 14px; }
/* Glance strip and four-up figures: separate rounded tiles on a tone step instead of cells split by hairlines. */
.mpb-planner .mpbx-glance, .mpb-planner .mpbp-quad { gap: 6px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.mpb-planner .mpbx-glance > div, .mpb-planner .mpbp-quad > div { border-radius: 12px; background: rgba(236, 234, 228, 0.055); }
/* The 3D moon */
.mpbp-night-top.has-m3d > svg.mpbl-moon { display: none; }
.mpb-planner img.mpbm3d { width: 76px; height: 76px; flex: none; display: block; filter: drop-shadow(0 0 16px rgba(240, 236, 222, var(--m-glow, 0.08))); animation: mpbm3dIn 0.6s cubic-bezier(0.32, 0.72, 0, 1) both; }
.mpb-planner .mpbp-ev-row--moon.has-m3d { grid-template-columns: 52px minmax(0, 1fr) 36px; }
.mpb-planner img.mpbm3d-row { width: 36px; height: 36px; grid-column: 3; grid-row: 1; align-self: start; margin: 2px 0 0; }
.mpb-planner img.mpbm3d-mini { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-left: 5px; }
@keyframes mpbm3dIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mpb-planner img.mpbm3d { animation: none; } }
.mpb-planner .mpbx-glance { gap: 4px; }
.mpb-planner .mpbx-glance > div { padding-left: 3px; padding-right: 3px; }
.mpb-planner img.mpbm3d-mini { border-radius: 50%; box-shadow: 0 0 0 1px rgba(236, 234, 228, 0.16); }
/* Hero countdown: the separator lives in CSS, so on a phone the countdown can drop to its own line without a stray dot. */
.mpbp-hero-what em span[data-until]:not(:empty)::before { content: " \00b7  "; white-space: pre; }
@media (max-width: 600px) {
  .mpbp-hero-what em span[data-until] { display: block; }
  .mpbp-hero-what em span[data-until]:not(:empty)::before { content: none; }
}

/* Rounding, second sweep (7 November 2026) */
.mpb-planner .mpbp-hourly { gap: 6px; background: transparent; }
.mpb-planner .mpbp-hourly > div { border-radius: 12px; }
.mpb-planner .mpbp-nums { gap: 6px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.mpb-planner .mpbp-nums > div { border-radius: 12px; background: rgba(236, 234, 228, 0.055); }
.mpb-planner .mpbx-ins-cell { border-radius: 12px; }
/* Settings for the scene and the Sky pickers follow the tile system: tonal, ink when chosen. */
.mpb-planner .mpbx-scenes button, .mpb-planner .mpbx-sv-chips button { border-radius: var(--c-r, 12px); background: var(--c-tone, rgba(236, 234, 228, 0.065)); border: 1px solid var(--c-edge, rgba(236, 234, 228, 0.1)); color: #eceae4; transition: transform 0.16s var(--c-ease, ease), background-color 0.2s ease; }
.mpb-planner .mpbx-scenes button[aria-pressed="true"], .mpb-planner .mpbx-sv-chips button[aria-pressed="true"] { background: #eceae4; border-color: #eceae4; color: #141514; }
.mpb-planner .mpbx-sv-chips button[aria-pressed="true"] span, .mpb-planner .mpbx-sv-chips button[aria-pressed="true"] b { color: #141514; }
.mpb-planner .mpbx-scenes button:active, .mpb-planner .mpbx-sv-chips button:active { transform: scale(0.96); transition-duration: 0s; }
@media (prefers-reduced-motion: reduce) { .mpb-planner .mpbx-scenes button:active, .mpb-planner .mpbx-sv-chips button:active { transform: none; } }
/* The chosen scene's icon is gold, as on Where to go: the deeper gold holds 3.3:1 on the ink tile. */
.mpb-planner .mpbx-scenes button[aria-pressed="true"] svg, .mpb-planner .mpbx-scenes button[aria-pressed="true"] svg * { color: #a8771a; stroke: #a8771a; }

/* Next 36 hours: the little sky thumbnails take a soft corner too (7 November 2026). */
.mpb-planner svg.mpbx-mthumb { border-radius: 10px; overflow: hidden; }

/* Sun and moon detail in 3D (7 November 2026) */
.mpbp-compass.mpbl-polar.is-3d > svg { display: none; }
.mpbl-p3 { position: relative; width: 100%; height: min(80vw, 330px); margin: 0 auto 14px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #1c1f22 0%, #121413 60%, #0e0f0e 100%); }
@media (min-width: 1100px) { .mpbl-p3 { height: 400px; } }
.mpbl-p3-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; animation: mpbp3In 0.7s cubic-bezier(0.32, 0.72, 0, 1) both; }
.mpbl-p3-cv.is-drag { cursor: grabbing; }
.mpbl-p3-hint { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: rgba(14, 15, 14, 0.72); color: #cfccc4; font: 500 var(--mpf-12, 12px)/1.2 Archivo, system-ui, sans-serif; pointer-events: none; transition: opacity 0.4s ease; }
.mpbl-p3-hint.is-gone { opacity: 0; }
@keyframes mpbp3In { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mpbl-p3-cv { animation: none; } }
