/* The decorative window occupies its own band above the page. */
html:root[data-special="orbit"] {
  color-scheme:dark;
  --page:#0e1d2c; --surface:#182938; --soft:#203546; --soft-hover:#293f50;
  --text:#f0f4f3; --navy:#f0f4f3; --muted:#bdcad3; --line:#526879;
  --blue:#86e8d5; --link:#90e9d7; --focus:#ffce85;
  --question:#15353b; --music:#322b26; --success-bg:#153a31; --success-text:#b3f0cb;
  --danger-bg:#3c2732; --danger-text:#ffcad1;
  --quote-recipient-bg:#143e45; --quote-recipient-accent:#8bf0db;
  --blue-name:#9fc3ff; --green-name:#8be0ab; --teal-name:#79dbcf; --ocean-name:#8bd4f4;
  --brown-name:#eac094; --slate-name:#c6d1df; --amber-name:#f3cc73; --copper-name:#f6b07d;
  --olive-name:#d1da86; --moss-name:#b0d990; --emerald-name:#70dfb0; --turquoise-name:#72d8e7;
  --denim-name:#aecbf2; --espresso-name:#ddc5ac; --yellow-name:#ffe340; --yellow-name-bg:#393100;
  --red-name:#ff947f; --purple-name:#ef91ff; --orange-name:#ffb04a; --pink-name:#ff8ed1;
  --admin-name:#ff9fbb; --moderator-name:#d4aeff;
}
html:root[data-special="orbit"] body { background:#08131f; color:var(--text); }
html:root[data-special="orbit"] :is(.topbar,.site-footer) { background:#101f2e; color:var(--text); border-block-end:1px solid #9c8663; }
html:root[data-special="orbit"] :is(.topbar,.site-footer) :is(a,small,button) {color:#e8f4f2}
html:root[data-special="orbit"] .brand-number { color:#8ee5d4; }
html:root[data-special="orbit"] .winter-panorama { display:block; position:relative; overflow:hidden; height:clamp(120px,17vw,225px); background:#102238 url('/assets/illustrations/orbit-strip.webp') center 56%/cover; border-block-end:1px solid #617b7c; }
html:root[data-special="orbit"] .winter-snow { display:none; }
html:root[data-special="orbit"] .winter-panorama::after { background:linear-gradient(transparent 78%,#07142280); }
html:root[data-special="orbit"][data-orbit-motion="true"] .winter-panorama { animation:orbit-window 32s ease-in-out infinite alternate; }
@keyframes orbit-window { from {background-position-y:46%} to {background-position-y:56%} }
html:root[data-special="orbit"] .sidebar { background:#132432; color:var(--text); border:1px solid #587176; border-radius:15px; }
html:root[data-special="orbit"] .sidebar :is(a,p,button) { color:#e2eeed; }
html:root[data-special="orbit"] .sidebar a:is(:hover,[aria-current="page"]) { background:#254a50; color:#a1fae8; box-shadow:inset 3px 0 #93e9da; }
html:root[data-special="orbit"] main { background:var(--page); color:var(--text); border:1px solid #415767; border-radius:17px; padding:clamp(12px,2vw,28px); min-width:0; }
html:root[data-special="orbit"] :is(.card,.post,.profile-card,.auth-card,dialog,.composer) {background:var(--surface);color:var(--text);border-color:var(--line);}
html:root[data-special="orbit"] :is(input,textarea,select) {background:#112330;color:var(--text);border-color:#748b97}
html:root[data-special="orbit"] :is(button,.button):not(.quiet,.secondary,.danger,.chip,.mention-option) {background:#87dece;color:#102a30}
html:root[data-special="orbit"] :is(.secondary,.quiet,.chip) {background:#203646;color:#dbefed;border-color:#68838c}
html:root[data-special="orbit"] #chat-log .message {background:#182938;color:var(--text);border:1px solid #4e6678;border-inline-start:3px solid #708da6; border-radius:14px;}
html:root[data-special="orbit"] #chat-log .message-own {background:#253039;border-inline-start:4px solid #e2bb79}
html:root[data-special="orbit"] #chat-log .message-quoted-me {background:#143e45;border-inline-start:5px solid #8bf0db}
html:root[data-special="orbit"] .message header {flex-wrap:wrap;gap:.35em .6em}
html:root[data-special="orbit"] .message-main, html:root[data-special="orbit"] .message header>* {min-width:0;overflow-wrap:anywhere}
html:root[data-special="orbit"] :focus-visible {outline:3px solid var(--focus);outline-offset:3px}
.art-orbit {background:#102238 url('/assets/illustrations/orbit-bridge.webp') center 50%/cover;}
.panorama-viewer {margin-block:1em}
.panorama-viewer img {width:100%;height:auto;display:block;border-radius:10px}
.panorama-viewer figure {margin:12px 0}
.panorama-viewer figcaption {margin-block:8px;color:var(--muted)}
html[data-special="winter"] body[data-public-entry="yes"] .winter-panorama {background-image:url('/assets/illustrations/winter-arrival.webp');background-size:cover;}
html:root[data-special="orbit"] body[data-public-entry="yes"] .winter-panorama {background-image:url('/assets/illustrations/orbit-arrival.webp');}
html[data-special]:not([data-special=""]) body[data-public-entry="yes"] .auth-card {max-width:36rem;margin-inline:auto}
.orbit-link-status:not(:empty) {position:fixed;bottom:1rem;right:1rem;z-index:50;padding:.6rem 1rem;border:1px solid #83e4d1;border-radius:2rem;background:#122a33;color:#c4f9ec;}
.orbit-link-status:not(:empty)::before {content:"";display:inline-block;width:.8em;height:.8em;border:2px solid #8ae4d3;border-radius:50%;margin-inline-end:.55em;}
@media(max-width:650px){
 html:root[data-special="orbit"] .winter-panorama {height:88px;background-position:78% 48%}
 html:root[data-special="orbit"] body[data-public-entry="yes"] .winter-panorama, html[data-special="winter"] body[data-public-entry="yes"] .winter-panorama {height:clamp(85px,28vw,136px);background-position:center;background-size:cover}
}
@media(prefers-reduced-motion:reduce){html:root[data-special="orbit"] .winter-panorama {animation:none!important}}
@media(forced-colors:active){
 html:root[data-special="orbit"] :is(body,main,.sidebar,.topbar,.site-footer,.message) {background:Canvas;color:CanvasText;box-shadow:none;}
 html:root[data-special="orbit"] .winter-panorama {display:none}
}

.orbit-mention-label {display:none}
html:root[data-special="orbit"] .orbit-mention-label {
  display:inline-block;margin:.25rem 0;padding:.15em .5em;border:1px solid #76c3b7;
  border-radius:.35em;background:#143e45;color:#b7f4e9;font-weight:700
}
html:root[data-special="orbit"] #chat-log .message-mentioned {border-inline-start:5px solid #8bf0db}
.special-theme-editor [hidden] {display:none!important}

/* Public entrances retain both subjects, including the console at the lower
   edge. A quiet backdrop fills the sides of very wide windows. */
@media(min-width:651px) {
  html:root[data-special="orbit"] body[data-public-entry="yes"] .winter-panorama,
  html[data-special="winter"] body[data-public-entry="yes"] .winter-panorama {
    height:clamp(145px,16vw,230px);background-size:auto 100%;background-repeat:no-repeat;background-position:center;
    background-color:#102334;
  }
}
@media(max-width:650px) {
  html:root[data-special="orbit"] body:not([data-public-entry="yes"]) .winter-panorama {
    background-image:url('/assets/illustrations/orbit-bridge.webp');background-position:right center;
    background-size:auto 100%;background-repeat:no-repeat;
  }
}
