/* Colony notes add-on: Dogecoin + Martian buffet in-world lines under the packages. */
.colony-notes{margin:.75rem auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem .6rem;max-width:100%}
.colony-note{display:inline-flex;align-items:center;gap:.5rem;padding:.32rem .8rem;border:1px solid #c9b48a59;border-radius:999px;background:#0e0c0a8c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--sand,#e8d7be);font-size:.76rem;line-height:1.35;letter-spacing:.01em;text-shadow:0 1px 8px #0000008c}
.colony-note b{color:var(--gold,#c9b48a);font-weight:500;letter-spacing:.14em;text-transform:uppercase;font-size:.6rem}
.colony-note i{font-family:var(--display,Georgia,serif);font-size:.95rem;font-style:italic;color:var(--ivory,#f4eee6)}
.colony-note small{color:var(--muted,#b8aa98);font-size:.66rem}
@media (max-width:560px){.colony-note{border-radius:12px;text-align:center;justify-content:center}}
.doge-tick{gap:.45rem;font-variant-numeric:tabular-nums}
.doge-tick__v{color:var(--ivory,#f4eee6)}
.doge-tick__src{color:var(--muted,#b8aa98);font-size:.6rem;opacity:.75;text-decoration:underline;text-decoration-color:#b8aa9855;text-underline-offset:2px}

/* Buffet window: keep the MARS BUFFET kiosk + roof Tesla (lower-left of the bg video) uncovered. */
@media (orientation:portrait){.sky .sky__video,.sky .sky__poster{object-position:28% 40%}}
@media (min-width:1024px) and (orientation:landscape){
.section:has(.timeline) .section__intro,.section:has(.timeline) .timeline{width:min(46%,620px);margin-left:auto;margin-right:0}
.section:has(.timeline) .timeline{grid-template-columns:1fr;gap:1rem}
.section:has(.timeline) .timeline__item{grid-template-columns:auto 1fr}
}
@media (max-width:1023px){.section:has(.timeline) .timeline{margin-top:62svh}}

/* Rotating one-liners (jokes.js) */
.mjoke{display:flex;align-items:center;justify-content:center;gap:.5rem;width:fit-content;max-width:min(760px,100%);margin:.7rem auto 0!important;padding:.45rem 1rem;border-radius:999px;background:#0e0c0a99;border:1px dashed #c9b48a66;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ivory,#f4eee6);font:italic 500 clamp(.95rem,1.6vw,1.1rem)/1.35 var(--display,'Cormorant Garamond',serif);text-align:center;text-shadow:0 1px 8px #0000008c;min-height:2.3rem}
.mjoke__t{transition:opacity .45s ease,transform .45s ease}
.mjoke--out .mjoke__t{opacity:0;transform:translateY(4px)}
.mjoke__i{font-style:normal}
@media (max-width:560px){.mjoke{border-radius:14px}}
/* Easter eggs (eggs.js) */
.egg-dot{position:fixed;z-index:30;width:44px;height:44px;margin:-22px 0 0 -22px;padding:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.egg-dot[hidden]{display:none}
.egg-dot span{pointer-events:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:15px;line-height:1;color:#ffe9c7;background:#1a0f0a99;border:1px solid #ffd9a8aa;box-shadow:0 0 0 0 #ffd9a880;animation:eggP 2.6s infinite;opacity:.8;transition:transform .15s,opacity .15s}
.egg-dot:hover span,.egg-dot:focus-visible span{opacity:1;transform:scale(1.15)}
@keyframes eggP{70%{box-shadow:0 0 0 12px #ffd9a800}100%{box-shadow:0 0 0 0 #ffd9a800}}
.egg-toast{position:fixed;left:50%;bottom:max(1rem,env(safe-area-inset-bottom));z-index:70;width:min(440px,calc(100% - 2rem));transform:translate(-50%,140%);opacity:0;transition:transform .35s cubic-bezier(.2,.9,.3,1.2),opacity .25s;pointer-events:none;
 padding:.85rem 2.6rem .75rem 1rem;border-radius:14px;background:#160e0af2;border:1px solid #ffd9a866;box-shadow:0 18px 50px #000000a6;color:#fff3e2;font-family:Outfit,sans-serif}
.egg-toast--on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.egg-toast p{margin:0 0 .3rem;font-size:.92rem;line-height:1.45}
.egg-toast b{color:#ffd9a8;letter-spacing:.04em}
.egg-toast small{font-size:.66rem;color:#b8aa98;letter-spacing:.04em}
.egg-toast button{position:absolute;top:.4rem;right:.45rem;width:2rem;height:2rem;border:0;border-radius:50%;background:#ffffff14;color:#fff3e2;font-size:1.1rem;cursor:pointer}
@media (prefers-reduced-motion:reduce){.egg-dot span{animation:none}.egg-toast{transition:none}.mjoke__t{transition:none}}


/* ---- Enhanced DOGE ticker (notes + scene badge) ---- */
.doge-tick{gap:.55rem;font-variant-numeric:tabular-nums;padding:.48rem .95rem;border-color:#e8c56a99;background:#120e0ae8;box-shadow:0 0 0 1px #ffd56a33,0 0 18px #e8c56a55,0 8px 22px #0008;animation:dogeGlow 2.8s ease-in-out infinite}
.doge-tick__badge{color:#ffe7a8;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;text-shadow:0 0 10px #ffd56a99}
.doge-tick__v{color:#fff8e8;font-weight:600;font-size:1.05rem;letter-spacing:.02em;text-shadow:0 0 12px #ffe7a888}
.doge-tick__h{color:#f4eee6;font-size:.82rem}
.doge-tick__src{color:var(--muted,#b8aa98);font-size:.6rem;opacity:.8;text-decoration:underline;text-decoration-color:#b8aa9855;text-underline-offset:2px}
.doge-ch{font-weight:600;font-size:.8rem;letter-spacing:.02em}
.doge-up{color:#8ef0a8;text-shadow:0 0 8px #4dff8a88}
.doge-dn{color:#ff9b8a;text-shadow:0 0 8px #ff6a4a88}
@keyframes dogeGlow{0%,100%{box-shadow:0 0 0 1px #ffd56a33,0 0 14px #e8c56a44,0 8px 22px #0008}50%{box-shadow:0 0 0 1px #ffe7a866,0 0 26px #e8c56a88,0 8px 22px #0008}}

.doge-sign{position:fixed;z-index:25;display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;min-width:7.4rem;padding:.45rem .7rem .4rem;border-radius:12px;background:#120e0af2;border:1px solid #e8c56acc;color:#fff8e8;font-family:Outfit,system-ui,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 0 0 1px #ffd56a44,0 0 22px #e8c56a77,0 12px 28px #000000b3;animation:dogeGlow 2.8s ease-in-out infinite;text-shadow:0 1px 8px #000a;pointer-events:auto}
.doge-sign[hidden]{display:none!important}
.doge-sign__k{font-size:.62rem;font-weight:700;letter-spacing:.16em;color:#ffe7a8;text-transform:uppercase}
.doge-sign__v{font-size:1.28rem;font-weight:600;line-height:1.15;letter-spacing:.01em;text-shadow:0 0 14px #ffe7a8aa}
.doge-sign .doge-ch{font-size:.78rem}
.doge-sign__h{font-size:.78rem;color:#f4eee6;opacity:.95}
.doge-sign__src{font-size:.58rem;color:#b8aa98;opacity:.8;text-decoration:underline;text-decoration-color:#b8aa9855;text-underline-offset:2px}

/* ---- Mars weather widget: top-left over the mountains; clear of the Starship catch (right) and the buffet (lower-left). Mobile pill stays top-right so it does not cover left-aligned headings. ---- */
.mx-weather{position:fixed;left:max(12px,env(safe-area-inset-left));right:auto;z-index:28;width:min(268px,calc(100vw - 24px));padding:.7rem .8rem .65rem;border-radius:14px;background:#110d0af0;border:1px solid #c9b48a73;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f4eee6;font-family:Outfit,system-ui,sans-serif;box-shadow:0 14px 36px #000000a3,0 0 0 1px #c9b48a22;text-shadow:0 1px 8px #0008;pointer-events:auto}
.mx-weather__hd{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;margin-bottom:.35rem}
.mx-weather__hd b{font-size:.68rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#c9b48a}
.mx-weather__hd span{font-size:.68rem;color:#b8aa98;letter-spacing:.04em}
.mx-weather__temps{display:grid;grid-template-columns:1fr 1fr;gap:.4rem .7rem;margin:.1rem 0 .45rem}
.mx-weather__temps em{display:block;font-style:normal;font-family:var(--display,'Cormorant Garamond',Georgia,serif);font-size:1.55rem;font-weight:500;line-height:1;color:#fff8e8;letter-spacing:-.02em}
.mx-weather__temps small{display:block;margin-top:.12rem;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:#b8aa98}
.mx-weather__row{display:flex;flex-wrap:wrap;gap:.25rem .55rem;margin:0 0 .45rem;padding:0;list-style:none;font-size:.72rem;color:#e8d7be}
.mx-weather__row li{white-space:nowrap}
.mx-weather__joke{margin:0;padding:.35rem 0 0;border-top:1px dashed #c9b48a55;font-family:var(--display,'Cormorant Garamond',Georgia,serif);font-size:.92rem;font-style:italic;line-height:1.35;color:#f4eee6}
.mx-weather__src{display:block;margin-top:.35rem;font-size:.58rem;letter-spacing:.02em;color:#b8aa98;opacity:.85}
.mx-weather--away{opacity:0;pointer-events:none;visibility:hidden}
@media (min-width:1024px){
  .mx-weather{left:max(16px,env(safe-area-inset-left));right:auto;max-width:268px}
}
@media (max-width:700px){
  .mx-weather{left:auto;right:max(12px,env(safe-area-inset-right));width:min(240px,calc(100vw - 16px));padding:.55rem .65rem .5rem;border-radius:12px}
  .mx-weather__temps em{font-size:1.28rem}
  .mx-weather__joke{font-size:.84rem}
}
@media (prefers-reduced-motion:reduce){
  .doge-tick,.doge-sign{animation:none}
}
/* Mobile: weather collapses to a small pill (tap to open) so it never covers headings */
.mx-weather__pill{display:none}
@media (max-width:700px){
  .mx-weather{left:auto;right:max(12px,env(safe-area-inset-right));width:auto;padding:0;border-radius:999px;background:#110d0ae6}
  .mx-weather:not(.mx-weather--open)>:not(.mx-weather__pill){display:none}
  .mx-weather__pill{display:block;margin:0;padding:.3rem .65rem;border:0;background:none;color:#f4eee6;font:500 .72rem/1.2 Outfit,system-ui,sans-serif;letter-spacing:.03em;white-space:nowrap;cursor:pointer}
  .mx-weather--open{width:min(240px,calc(100vw - 16px));padding:.5rem .65rem .5rem;border-radius:12px}
  .mx-weather--open .mx-weather__pill{padding:0 0 .3rem;opacity:.7}
}
