@font-face {
  font-family: 'D-DIN';
  src: url('assets/D-DIN.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/BarlowCondensed-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
/* Mixed-language labels keep their text face; only their digits use Plex. */
@font-face {
  font-family: 'Dial Digits';
  src: url('assets/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0030-0039;
}
:root {
  color-scheme: dark;
  --paper: #f2f1eb;
  --muted: #c1c6c8;
  --light: #dac6a5;
  --line: rgb(219 224 219 / 26%);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --readout: 'IBM Plex Mono', ui-monospace, monospace;
  --clock-face: 'D-DIN', system-ui, sans-serif;
  --readout-tracking: .055em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--paper);
  background: #090c0f;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 35% 28%, #202528 0%, #13171a 28%, #090c0f 65%);
}
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .28; cursor: default; }
button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
h1:focus-visible { outline: 1px solid #dfc9a366; outline-offset: 2px; border-radius: 5px; }
.station { width: min(100vw, 480px); }
.display-shell { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; }
.display-shell::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  background: linear-gradient(143deg, #737879, #232627 19%, #080b0d 43%, #34383a 72%, #121416 86%);
  box-shadow: 0 0 0 1px #24292c, 3px 22px 45px #000a, 0 0 80px #0004;
}
.watch {
  position: absolute; top: 0; left: 0; width: 480px; height: 480px;
  border-radius: 50%; overflow: hidden; isolation: isolate; transform-origin: top left;
  background: #050709; font-variant-numeric: tabular-nums;
}
.scene, .scene-earth, .scene-shade { position: absolute; inset: 0; pointer-events: none; }
.scene { overflow: hidden; z-index: -1; }
.scene-earth {
  inset: -27% -18% -10%;
  background: #030406 url('assets/cinema-earth.jpg') center / cover no-repeat;
  transform: rotate(-18deg) scale(1.025);
  animation: earth-drift 48s ease-in-out infinite alternate;
}
.scene-shade {
  background: linear-gradient(180deg, #0006, transparent 26%, transparent 64%, #02040653 83%, #020406ac),
    linear-gradient(90deg, #01030552, transparent 65%);
}
.scene-vehicle {
  position: absolute; top: 82px; right: 46px; width: 148px; height: 130px;
  object-fit: contain; object-position: center; opacity: 0;
  animation: ship-drift 13s ease-in-out infinite alternate;
  transition: opacity .55s ease;
}
.watch[data-view=countdown][data-vehicle=starship] .scene-vehicle.starship,
.watch[data-view=countdown][data-vehicle=falcon] .scene-vehicle.falcon { opacity: 1; }
.watch[data-view=manifest] .scene-shade { background: linear-gradient(170deg, #03070a45, #03070a80 60%, #03070a90); }
.watch-header { position: absolute; top: 28px; left: 60px; width: 360px; text-align: center; }
.wordmark { width: 146px; height: 23px; display: block; margin: auto; filter: brightness(0) invert(1); }
.countdown-page { position: absolute; inset: 0; }
.hero-heading { position: absolute; top: 104px; left: 58px; width: 246px; }
.eyebrow {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: var(--light); font-size: 15px; line-height: 19px; white-space: nowrap;
}
.eyebrow::before { content: ''; width: 16px; height: 1px; background: currentColor; }
h1 {
  margin: 0; font: 500 38px/.98 var(--display); letter-spacing: .4px; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere; white-space: pre-line; text-shadow: 0 2px 12px #000a;
}
h1.long-name { font-size: 30px; line-height: 1.08; }
.countdown-panel {
  position: absolute; left: 46px; top: 212px; width: 388px; padding: 6px 11px 8px;
  background: linear-gradient(90deg, transparent, #04070ad4 7%, #05090dd6 70%, #070c10a6 94%, transparent);
  border-block: 1px solid var(--line);
}
.countdown-panel::before, .countdown-panel::after {
  content: ''; position: absolute; top: -1px; width: 15px; height: 1px; background: var(--light);
}
.countdown-panel::before { left: 0; }
.countdown-panel::after { right: 0; opacity: .6; }
.countdown { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; text-align: center; }
.countdown div { display: flex; flex-direction: column; align-items: center; }
.countdown b { color: #f8f7f0; }
.countdown i { color: #979d9d; opacity: .6; }
.countdown small { display: flex; gap: 5px; font-size: 14px; line-height: 17px; font-weight: 400; color: var(--muted); }
.launch-meta {
  position: absolute; top: 336px; left: 68px; width: 344px; display: flex;
  align-items: center; justify-content: space-between; gap: 15px; text-shadow: 0 1px 6px #000;
}
.launch-meta>div { display: flex; gap: 7px; align-items: center; min-width: 0; }
.launch-meta svg, #return-next svg { width: 18px; height: 19px; flex: none; fill: none; stroke: var(--light); stroke-width: 1.4; }
.launch-meta strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 17px; font-weight: 500; }
.schedule-row { position: absolute; top: 356px; left: 68px; width: 344px; height: 36px; display: flex; align-items: center; justify-content: center; }
.schedule-row.has-selection { justify-content: space-between; }
.launch-time { font-size: 15px; letter-spacing: .5px; color: #eeeae2; text-shadow: 0 1px 5px #000; }
#return-next { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: #071016df; }
#return-next>span { display: flex; flex-direction: column; align-items: center; }
#return-next>span { font-size: 14px; }
#return-next small { font: 500 11px/12px var(--display); letter-spacing: 1px; color: var(--muted); }
.manifest-page { position: absolute; top: 100px; left: 60px; width: 360px; }
.manifest-heading, .next-strip, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.manifest-heading h2 { margin: 0; font-size: 23px; line-height: 28px; font-weight: 500; }
.manifest-heading h2 small { font: 500 15px/1 var(--display); letter-spacing: 1.6px; color: var(--light); margin-left: 5px; }
#mission-count { font-size: 14px; color: var(--muted); }
.next-strip { margin: 6px 0 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.next-strip>span { font-size: 14px; color: var(--muted); }
.next-strip em { font-style: normal; }
.next-strip b {
  flex: 1; text-align: right; white-space: nowrap;
  font: 500 21px/26px var(--clock-face);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: var(--readout-tracking);
}
#manifest-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.mission-card {
  width: 100%; height: 77px; position: relative; display: grid; grid-template-rows: 1fr 20px; gap: 3px;
  padding: 5px 15px 6px; text-align: left; border-radius: 4px; border: 1px solid #ffffff29;
  color: var(--paper); background: linear-gradient(100deg,#0b1117ea,#0a1016cb); appearance: none;
}
button.mission-card[aria-pressed=true] { border-color: #d4c6ae9c; }
button.mission-card[aria-pressed=true]::before { content: ''; position: absolute; top: 16px; bottom: 16px; left: -1px; width: 2px; background: var(--light); }
.card-title { align-self: center; font: 500 21px/21px var(--display); letter-spacing: .3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bottom time { font-size: 16px; line-height: 20px; }
.card-status { font-size: 14px; color: #c5c8c8; }
.pagination { margin-top: 4px; display: flex; justify-content: center; align-items: center; gap: 19px; }
.pagination button { width: 44px; height: 40px; border: 0; border-radius: 3px; background: #0a0f13ad; font: 500 30px/1 var(--display); }
.pagination span { min-width: 8ch; text-align: center; font: 500 17px/1 var(--readout); text-shadow: 0 1px 5px black; }
@keyframes earth-drift { from { transform: rotate(-18deg) scale(1.025) translate(-.4%,.4%); } to { transform: rotate(-18deg) scale(1.065) translate(.7%,-.5%); } }
@keyframes ship-drift { from { transform: translate(-2px,2px); } to { transform: translate(2px,-3px); } }
@keyframes page-entry { from { opacity: .82; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.manifest-page { animation: page-entry .28s ease-out; }
.watch[data-motion=off] *, .watch[data-motion=off] *::before, .watch[data-motion=off] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .watch * { animation: none !important; transition: none !important; } }
@container (max-width: 479px) { .watch { transform: scale(calc(100cqw / 480px)); } }
@media (max-width: 500px) { body { background: #020305; } .display-shell::before { display: none; } }

/* Larger secondary text for the 2.1-inch dial. Keep the edge clear at both poles. */
.hero-heading { top: 95px; }
.countdown-panel { top: 201px; }
.countdown small { font-size: 16px; line-height: 20px; }
.launch-meta { top: 328px; }
.launch-meta strong, .launch-time { font-size: 18px; }
#return-next { min-height: 44px; }
#return-next > span { font-size: 16px; }
#return-next small { font-size: 13px; }
.manifest-page { top: 96px; }
.pagination { margin-top: 1px; }
.pagination button { height: 44px; }
.card-title { font-size: 24px; line-height: 23px; }
.card-status, .card-bottom time { font-size: 17px; }
.card-status { text-align: right; }

.schedule-row { top: 357px; height: 35px; }
.schedule-row:has(.schedule-change:not([hidden])) { justify-content: flex-start; gap: 8px; }
.schedule-row:has(.schedule-change:not([hidden])) #return-next { margin-left: auto; }
.schedule-change {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%;
  padding: 0 9px; background: #16180fe8; border: 1px solid #c4a36f72; border-radius: 3px;
  text-align: left; font-size: 17px;
}
.schedule-change strong { color: #f0d6a7; white-space: nowrap; font-weight: 600; }
.schedule-change span { white-space: nowrap; color: var(--paper); }
.schedule-row.has-selection .schedule-change { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 20px; }
.schedule-row.has-selection .schedule-change span { font-size: 15px; }
.schedule-row:has(.schedule-change:not([hidden])) { left: 95px; width: 290px; }
.schedule-row:not(.has-selection):has(.schedule-change:not([hidden])) { justify-content: center; }

.dial-page, .watching-page, .changes-page { position: absolute; inset: 0; }
.screen-heading {
  position: absolute; top: 101px; left: 58px; width: 364px; margin: 0;
  text-align: center; font-size: 26px; line-height: 34px; font-weight: 600;
}
.screen-heading small, .screen-label span {
  font: 500 18px/1 var(--display); letter-spacing: 1.3px; color: var(--light);
}
.watch[data-view=dial] { touch-action: none; }
.watch[data-view=dial] .scene-shade, .watch[data-view=changes] .scene-shade {
  background: radial-gradient(ellipse at 50% 54%, #030709f2 22%, #030709ad 55%, transparent 78%),
    linear-gradient(180deg, transparent 48%, #030709bb 90%);
}
.dial-track {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; pointer-events: none;
}
.dial-ticks { stroke: #b9c2c171; stroke-width: 4; stroke-dasharray: .1 1.65; }
.dial-ticks-left { opacity: .65; }
.dial-base, #dial-progress { stroke: #c1c9c73b; stroke-width: 1px; }
#dial-progress { stroke: #ead4ad; transition: stroke-dasharray .24s ease-out; }
.dial-center { position: absolute; top: 151px; left: 117px; width: 246px; text-align: center; }
.dial-position { color: var(--light); font: 500 21px/27px var(--readout); }
.dial-select {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 139px; gap: 7px; padding: 8px 2px;
  border: 0; background: transparent; color: var(--paper);
}
#dial-mission, .watching-mission, .changes-mission {
  overflow-wrap: anywhere; text-wrap: balance; overflow: hidden; text-transform: uppercase;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font: 500 34px/.99 var(--display); letter-spacing: .2px;
}
#dial-time { font-size: 20px; line-height: 25px; color: #e3e5e1; }
.dial-open { font-size: 17px; line-height: 23px; color: var(--light); }
.dial-open span { margin-left: 3px; }
.dial-arrow {
  position: absolute; top: 206px; display: grid; place-items: center;
  width: 54px; height: 62px; padding: 0 0 4px;
  font: 500 46px/1 var(--display); color: var(--paper);
  border: 1px solid #ffffff24; border-radius: 4px; background: #060c12e5;
}
.dial-prev { left: 47px; }
.dial-next { right: 47px; }
.dial-list, .watching-demo, .close-changes {
  position: absolute; top: 347px; left: 145px; width: 190px; min-height: 45px;
  color: var(--paper); font-size: 17px; line-height: 23px; text-align: center;
  border: 1px solid #d5dbc952; background: #090d10e8; border-radius: 3px;
}
.dial-list span, .watching-demo span { color: var(--light); }

.watching-heading { position: absolute; top: 102px; left: 83px; width: 314px; text-align: center; }
.screen-label { color: var(--light); font-size: 17px; line-height: 22px; letter-spacing: 1.3px; margin: 0 0 7px; }
.watching-mission { margin: 0; font-size: 30px; text-shadow: 0 2px 12px #000; }
.watching-main {
  position: absolute; top: 201px; left: 64px; width: 352px; min-height: 137px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.watching-state { color: var(--light); font-size: 20px; line-height: 24px; }
.watching-timer {
  display: flex; align-items: baseline; justify-content: center; gap: 7px;
  font: 500 35px/.9 var(--display); text-shadow: 0 2px 12px #0008;
}
#watching-number { font: 500 96px/.94 var(--readout); white-space: nowrap; }
.watch[data-phase=final] #watching-number { font-size: 115px; line-height: .88; }
#watching-unit { font: 500 18px/1 system-ui, sans-serif; }
.watching-note { font-size: 18px; line-height: 24px; color: var(--muted); margin: 7px 0 0; }
.watching-note:empty { display: none; }
.watch[data-phase=idle] .watching-state,
.watch[data-phase=awaiting] .watching-state,
.watch[data-phase=hold] .watching-state,
.watch[data-phase=confirmed] .watching-state { font-size: 32px; line-height: 42px; color: var(--paper); }

.changes-mission {
  position: absolute; top: 148px; left: 81px; width: 318px; text-align: center; margin: 0;
  font-size: 30px;
}
.change-times { position: absolute; top: 221px; left: 84px; width: 312px; display: grid; }
.change-times > div { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 11px 0; border-block-start: 1px solid var(--line); }
.change-times span { display: grid; gap: 2px; font-size: 17px; color: var(--muted); }
.change-times small { color: var(--light); font: 500 14px/1 var(--display); letter-spacing: 1px; }
.change-times strong { font: 500 20px/1.3 var(--readout); white-space: nowrap; }

/* The observation dial uses an original monochrome flight profile. */
.watch[data-view=watching] { background: #030506; }
.watch[data-view=watching] .scene { display: none; }
.watching-heading { top: 97px; }
.watching-heading .screen-label {
  color: #b8bfc1; font-size: 15px; line-height: 19px; letter-spacing: 1.5px; margin-bottom: 5px;
}
.watching-mission { font-size: 27px; line-height: 1.03; }
.flight-profile {
  position: absolute; top: 144px; left: 69px; width: 342px; height: 103px;
  overflow: visible; color: #f3f5f4; pointer-events: none;
}
.flight-profile path, .flight-profile circle { vector-effect: non-scaling-stroke; }
.profile-plan, .profile-trace, .profile-platform, .profile-node {
  fill: none; stroke: currentColor; stroke-linecap: round;
}
.profile-plan { stroke-width: 1; stroke-dasharray: 2 5; opacity: .32; }
.profile-platform { stroke-width: 1; opacity: .47; }
.profile-node { stroke-width: 1; opacity: .54; }
.profile-trace {
  stroke-width: 1.25; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .93;
}
.profile-at-pad, .profile-moving-stack, .profile-moving-upper, .profile-moving-booster, .profile-returning-booster, .profile-stowed-booster {
  fill: currentColor;
}
.flight-mark { stroke: #030506; stroke-width: .7; }
.profile-flame { fill: #c7d7d4; opacity: .74; }
.profile-satellite { fill: currentColor; stroke: currentColor; stroke-width: .8; }
.profile-panels { fill: none; }
.profile-moving-stack, .profile-moving-upper, .profile-moving-booster, .profile-returning-booster, .profile-stowed-booster, .profile-satellite { visibility: hidden; }
.flight-profile[data-stage] .profile-at-pad { visibility: hidden; }
.flight-profile[data-stage="pad"] .profile-at-pad { visibility: visible; }
.flight-profile[data-stage="liftoff"] .profile-ascent {
  stroke-dashoffset: 52; animation: profile-ascent 4s cubic-bezier(.3,.7,.4,1) both;
}
.flight-profile[data-stage="liftoff"] .profile-moving-stack {
  visibility: visible; offset-path: path("M27 152C27 117 44 87 78 66S131 38 169 34");
  transform: translate(92px, 58px) rotate(-30deg);
  animation: profile-rocket 4s cubic-bezier(.3,.7,.4,1) both;
}
.flight-profile[data-stage="separation"] .profile-ascent,
.flight-profile[data-landing="true"] .profile-ascent,
.flight-profile[data-deployed="true"] .profile-ascent,
.flight-profile[data-stage="complete"] .profile-ascent { stroke-dashoffset: 0; }
.flight-profile[data-stage="separation"] .profile-moving-upper {
  visibility: visible; transform: translate(197px,31px) rotate(-9deg);
  animation: profile-separate-upper 2s ease-out both;
}
.flight-profile[data-stage="separation"] .profile-moving-booster {
  visibility: visible; transform: translate(181px,49px) rotate(26deg);
  animation: profile-separate-booster 2s ease-out both;
}
.flight-profile[data-landing="true"] .profile-return { stroke-dashoffset: 0; }
.flight-profile[data-stage="landing"] .profile-return { animation: profile-draw 3.3s ease-out both; }
.flight-profile[data-landing="true"] .profile-stowed-booster { visibility: visible; }
.flight-profile[data-stage="landing"] .profile-returning-booster {
  visibility: visible;
  offset-path: path("M169 34C218 42 268 83 290 150");
  animation: profile-return-rocket 3.3s ease-in-out both;
}
.flight-profile[data-stage="landing"] .profile-stowed-booster { animation: profile-reveal 3.3s ease-out both; }
.flight-profile[data-deployed="true"] .profile-upper { stroke-dashoffset: 0; }
.flight-profile[data-stage="deployment"] .profile-upper { animation: profile-draw 2.8s ease-out both; }
.flight-profile[data-deployed="true"] .profile-satellite { visibility: visible; }
.flight-profile[data-stage="deployment"] .profile-satellite { animation: profile-reveal 2.8s ease-out both; }
.watch[data-flight-display="true"] .flight-profile { top: 154px; height: 154px; }
.watch[data-flight-display="true"] .watching-main { top: 304px; min-height: 0; }
.watch[data-flight-display="true"] .watching-timer { position: absolute; right: 0; top: 34px; font-size: 16px; }
.watch[data-flight-display="true"] #watching-number { font-size: 21px; }
.watch[data-flight-display="true"] .watching-note { display: none; }
.watching-main { top: 240px; min-height: 90px; }
.watching-status { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.watching-state { color: #f5f6f5; font-size: 24px; line-height: 1.15; }
.watch[data-flight-display="true"] .watching-state { font-size: 32px; line-height: 38px; }
.watching-timer { margin-top: 3px; }
#watching-number { font-size: 83px; line-height: .91; }
.watch[data-phase=final][data-view=watching] .flight-profile { height: 78px; }
.watch[data-phase=final][data-view=watching] .watching-main { top: 225px; }
.watch[data-phase=final] #watching-number { font-size: 109px; }
.watching-note { color: #bfc6c6; }
.watching-demo { top: 353px; min-height: 42px; background: #0a0c0d; }
@keyframes profile-ascent { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 52; } }
@keyframes profile-rocket {
  from { offset-distance: 0%; transform: none; }
  to { offset-distance: 48%; transform: none; }
}
@keyframes profile-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes profile-separate-upper { from { transform: translate(169px,34px) rotate(-12deg); } }
@keyframes profile-separate-booster { from { transform: translate(164px,37px) rotate(-12deg); } }
@keyframes profile-return-rocket {
  0% { offset-distance: 0%; offset-rotate: auto 165deg; opacity: 1; }
  82% { opacity: 1; }
  100% { offset-distance: 100%; offset-rotate: auto 175deg; opacity: 0; }
}
@keyframes profile-reveal { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
.watch[data-motion=off] .profile-moving-stack { offset-path: none; }
.watch[data-motion=off] .profile-returning-booster { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .profile-moving-stack { offset-path: none !important; }
  .profile-returning-booster { visibility: hidden !important; }
}

/* Time and date are read horizontally, inside the round safe area. */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.watch-header {
  top: 48px; left: 87px; width: 306px; height: 32px;
  display: grid; grid-template-columns: 114px 1px minmax(0, 1fr); align-items: center; gap: 10px;
}
.dial-date {
  position: absolute; top: 24px; left: 90px; width: 300px; margin: 0;
  text-align: center; color: #c2cbd0; font: 500 15px/18px var(--readout);
  white-space: nowrap; pointer-events: none;
}
.watch-header .wordmark { width: 112px; height: 20px; margin: 0; justify-self: end; }
.clock-divider { width: 1px; height: 15px; background: #b9bec14d; }
#current-time {
  flex: 0 0 100px; text-align: left; font: 400 23px/26px var(--clock-face);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: var(--readout-tracking);
}
.language-switch {
  position: absolute; z-index: 7; top: 79px; right: 59px; width: 44px; height: 44px;
  display: grid; place-items: center; color: #bdc4c5; border-radius: 50%; text-decoration: none;
}
.language-switch svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.language-switch:hover, .language-switch:focus-visible { color: #fff; background: #ffffff15; }
.language-switch:focus-visible { outline: 1px solid currentColor; }

.watch[data-view=countdown] .dial-date { top: 29px; }
.watch[data-view=countdown] .watch-header { top: 53px; }
.watch[data-view=countdown] .language-switch { top: 84px; }
.watch[data-view=countdown] .scene-vehicle {
  top: 105px; right: 38px; width: 105px; height: 126px;
  mask-image: linear-gradient(90deg, transparent 3%, #000 65%);
}
.watch[data-view=countdown][data-vehicle=starship] .scene-vehicle.starship,
.watch[data-view=countdown][data-vehicle=falcon] .scene-vehicle.falcon { opacity: .22; }
.watch[data-view=countdown] .scene-shade {
  background: radial-gradient(ellipse at 49% 45%, #030609e8 14%, #030609a8 43%, transparent 76%),
    linear-gradient(180deg, #0006 4%, transparent 63%, #020405bc 93%);
}
.hero-heading { top: 97px; left: 69px; width: 342px; text-align: center; }
.eyebrow { justify-content: center; margin-bottom: 6px; font-size: 17px; letter-spacing: .6px; }
.eyebrow .mission-status { color: #c0c8cd; font-size: 15px; letter-spacing: .1px; }
.eyebrow .mission-status::before { content: '·'; margin-right: 8px; color: #dabf92; }
.eyebrow::before, .eyebrow::after { content: ''; width: 15px; height: 1px; background: currentColor; opacity: .55; }
#mission { font-size: 40px; line-height: .97; text-wrap: balance; }
#mission.long-name { font-size: 34px; line-height: 1; }
.countdown-panel {
  top: 189px; left: 62px; width: 356px; padding: 4px 0 0;
  border: 0; background: transparent;
}
.countdown-panel::before, .countdown-panel::after { display: none; }
.countdown { grid-template-columns: repeat(3, minmax(0, 1fr) 11px) minmax(0, 1fr); }
.countdown b {
  width: 100%; font: 500 75px/70px var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap; text-shadow: 0 2px 12px #000a;
}
#days { font-size: calc(150px / var(--day-places, 2)); }
.countdown i { align-self: start; font: 500 33px/65px var(--display); }
.countdown small { margin-top: 2px; line-height: 19px; font-size: 16px; }
.launch-meta {
  top: 292px; left: 79px; width: 322px;
  justify-content: center; gap: 17px;
}
.launch-meta strong { font-size: 17px; }
.launch-meta > div:nth-child(2) { position: relative; padding-left: 16px; }
.launch-meta > div:nth-child(2)::before { content: ''; position: absolute; left: 0; width: 1px; height: 13px; background: var(--line); }
.schedule-row { top: 314px; left: 91px; width: 298px; height: 39px; z-index: 6; pointer-events: none; }
.schedule-row button { pointer-events: auto; }
.schedule-row.has-selection { justify-content: center; gap: 9px; }
.launch-time { font-size: 17px; white-space: nowrap; }
#return-next {
  min-height: 37px; flex: 0 0 auto; padding: 0 7px;
  background: #111619c9; border-color: #d5dbc93a;
}
#return-next > span { font-size: 15px; }
.schedule-change { min-height: 35px; font-size: 16px; background: #171810c9; }
.schedule-row:has(.schedule-change:not([hidden])) { left: 84px; width: 312px; }

/* The entire rectangle for every control fits inside the circular safe area. */
.view-switch {
  position: absolute;
  inset: 372px auto auto 118px;
  z-index: 5;
  display: grid;
  width: 244px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: none;
}
.view-switch button {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 60px;
  padding: 3px 1px;
  border: 1px solid #aab7bd45;
  border-radius: 11px;
  color: #d1d9dc;
  background: #0b1117f0;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}
.view-switch button + button { border: 1px solid #aab7bd45; }
.view-switch svg {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.view-switch button[aria-pressed=true] {
  border-color: #c5ac7eba;
  color: #fff2d9;
  background: #29241bee;
}
.view-switch button[aria-pressed=true]::after { display: none; }
.view-switch button:hover { border-color: #dce2e2a0; }
.view-switch button:focus-visible { outline: 2px solid #e0c69b; outline-offset: 2px; }

.screen-heading { top: 106px; font-size: 27px; }
.dial-track { opacity: .79; }
.dial-center { top: 150px; }
.dial-list, .watching-demo, .close-changes {
  top: 325px; min-height: 39px; z-index: 6; border-radius: 20px; font-size: 17px;
}
.manifest-page { top: 104px; left: 75px; width: 330px; }
.manifest-heading h2 { font-size: 25px; }
.next-strip { margin: 4px 0 7px; padding: 3px 0 6px; }
.mission-card { height: 70px; padding: 5px 12px 6px; border-radius: 7px; }
.pagination { margin-top: 2px; }
.pagination button { height: 35px; }

.watching-heading { top: 101px; }
.watching-heading .screen-label { font-size: 16px; }
.watching-mission { font-size: 31px; white-space: nowrap; text-overflow: ellipsis; display: block; }
.watching-state { font-weight: 500; }
.watch[data-view=watching][data-flight-display=true] .watching-timer {
  top: 45px; right: -3px;
}
.watch[data-view=watching] .watching-demo { min-height: 39px; top: 323px; }
.watch[data-view=watching] .flight-profile { top: 138px; height: 94px; }
.watch[data-view=watching] .watching-main { top: 218px; min-height: 70px; }
.watch[data-view=watching] #watching-number { font-size: 76px; }
.watch[data-view=watching][data-phase=final] .flight-profile { height: 59px; }
.watch[data-view=watching][data-phase=final] .watching-main { top: 200px; }
.watch[data-view=watching][data-phase=final] #watching-number { font-size: 101px; }
.watch[data-view=watching][data-flight-display=true] .flight-profile { top: 138px; height: 138px; }
.watch[data-view=watching][data-flight-display=true] .watching-main { top: 277px; min-height: 0; }
.watch[data-view=watching][data-flight-display=true] #watching-number { font-size: 21px; }
.changes-mission { top: 153px; }
.change-times { top: 219px; }
.change-times > div { padding: 13px 0; }

html[lang=en] .view-switch button,
html[lang=en] .screen-heading,
html[lang=en] .manifest-heading h2,
html[lang=en] .watching-state {
  font-family: var(--display); font-weight: 500; letter-spacing: .055em; text-transform: uppercase;
}
html[lang=en] .view-switch button { font-size: 19px; }
html[lang=en] .screen-heading, html[lang=en] .manifest-heading h2 { font-size: 30px; }
html[lang=en] .eyebrow, html[lang=en] #watching-mode {
  font-family: var(--display); letter-spacing: .12em; text-transform: uppercase;
}

/* The clock is the disclosure affordance. Its panel stays above the navigation band. */
.watch-header { z-index: 8; }
.clock-data { min-width: 0; }
.clock-data summary {
  min-height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 6px;
}
.clock-data summary::-webkit-details-marker { display: none; }
.clock-data summary:hover, .clock-data[open] summary { background: #d6e2ec12; }
.clock-data summary:focus-visible { outline: 2px solid #e0c69b; outline-offset: 1px; }
.data-signal {
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid #aebcc5;
  border-radius: 50%;
}
.clock-data[data-state=live] .data-signal { background: #d3dfdf; }
.clock-data[data-state=stale] .data-signal,
.clock-data[data-state=offline] .data-signal { border-color: #dbba81; }
.clock-data[data-demo=true] .data-signal { background: transparent; }
.data-badge { font-size: 14px; color: #e1c9a2; }
.data-panel {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 268px;
  transform: translateX(-50%);
  padding: 13px 16px;
  text-align: left;
  background: #0c141c;
  border: 1px solid #aebdc36a;
  border-radius: 10px;
  box-shadow: 0 12px 28px #000b;
}
.data-panel dl { margin: 0; display: grid; gap: 11px; }
.data-panel dt { font-size: 14px; color: #c2cbd0; }
.data-panel dd { margin: 2px 0 0; font-size: 18px; line-height: 1.25; }

:is(#launch-time, #change-new-time, #data-synced, #dial-time, .card-bottom time) {
  font-family: var(--readout);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
:is(#mission-count, #change-summary, .card-status, #watching-note) {
  font-family: 'Dial Digits', system-ui, sans-serif;
}

.watch:has(.clock-data[open]) > section[id$="-page"] { visibility: hidden; }
