:root {
  --paper: #f5f5f0;
  --ink: #252b28;
  --muted: #81857c;
  --line: #dcdfd4;
  --lime: #d8ee9c;
  --soft: #eceedf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid #647c3c;
  outline-offset: 5px;
}
button {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
button:active {
  transform: translateY(1px);
}
button svg,
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg {
  flex-shrink: 0;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.page-shell {
  max-width: 1600px;
  margin: auto;
  padding: 0 48px;
}
.site-header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 730;
  font-size: 31px;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1;
}
.brand-mark {
  width: 37px;
  height: 37px;
  background: var(--lime);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-right: 3px;
}
.brand-mark svg {
  height: 29px;
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.brand-period {
  margin-left: -9px;
}
.header-caption {
  font: 10px var(--mono);
  letter-spacing: 1.7px;
  color: #7a7e72;
  margin-left: 65px;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 25px;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 9px var(--mono);
  letter-spacing: 1px;
}
.live-label i,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #809956;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #81985613;
}
.icon-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: #81877a;
  border-radius: 50%;
}
.icon-button:hover {
  background: #e8ebdf;
  color: var(--ink);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 38px 0 32px;
}
.eyebrow {
  font: 9px var(--mono);
  letter-spacing: 1.6px;
  margin: 0 0 13px;
  color: #777d70;
}
.intro h1 {
  font-weight: 520;
  font-size: clamp(36px, 3.65vw, 55px);
  letter-spacing: -2.65px;
  line-height: 1.1;
  margin: 0;
}
.intro h1 span {
  color: #90a76b;
}
.intro-copy {
  font-size: 13px;
  line-height: 1.8;
  color: #7a7e75;
  margin: 16px 0 0;
  padding-right: 6px;
}
.scene-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-bottom: 23px;
}
.scene-tab {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dbded4;
  background: transparent;
  border-radius: 8px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.scene-tab .tab-number {
  font: 9px var(--mono);
  color: #969b8f;
  align-self: center;
}
.scene-tab > svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.35;
  color: #626c58;
  margin-left: 3px;
}
.scene-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.scene-tab.active > svg {
  color: var(--lime);
}
.scene-tab.active .tab-number {
  color: #a1ab96;
}
.scene-tab:hover:not(.active) {
  background: #eceedf;
  border-color: #c9d0bc;
}
.active-dot {
  display: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  margin-left: auto;
}
.active .active-dot {
  display: block;
}
.experiment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 279px;
  gap: 30px;
  align-items: stretch;
}
.viewer-card {
  border: 1px solid #dbded3;
  border-radius: 12px;
  overflow: hidden;
  background: #e9ddc8;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.viewport {
  position: relative;
  width: 100%;
  height: 504px;
  min-height: 350px;
  flex: 1;
  overflow: hidden;
  isolation: isolate;
}
#scene-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  touch-action: none;
  cursor: grab;
}
#scene-canvas:active {
  cursor: grabbing;
}
.viewport-header {
  position: absolute;
  left: 24px;
  right: 20px;
  top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.viewport-eyebrow {
  margin: 0 0 10px;
  font: 9px var(--mono);
  letter-spacing: 1.5px;
  color: #5d5b51;
}
.scene-status {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #716b5b;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #948567;
  box-shadow: none;
}
.viewport-actions {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.glass-button {
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff75;
  border-radius: 7px;
  background: #faf9ef3d;
  display: grid;
  place-items: center;
  backdrop-filter: blur(5px);
  color: #686a5d;
}
.glass-button:hover {
  background: #faf9efbd;
}
.glass-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.4;
}
.viewport-bottom {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  color: #716e5e;
}
.orbit-hint {
  font: 8px var(--mono);
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.orbit-hint svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hint-divider {
  opacity: 0.5;
  margin: 0 1px;
}
.scene-scale {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 8px var(--mono);
  letter-spacing: 0.5px;
}
.scene-scale i {
  width: 40px;
  height: 6px;
  border: 1px solid #747364;
  border-top: none;
  margin-top: -5px;
}
.loading-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ebe4d5;
  z-index: 4;
  transition: opacity 0.4s;
}
.loading-cover.loaded {
  opacity: 0;
  pointer-events: none;
}
.loading-cover p {
  font-size: 12px;
  color: #7a7e75;
  line-height: 1.7;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}
.loading-orbit {
  width: 32px;
  height: 32px;
  border: 1px solid #d0d0bb;
  border-top-color: #758050;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.paused-tag {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  background: #283128d9;
  color: #e9f2da;
  display: flex;
  align-items: center;
  gap: 7px;
  font: 9px var(--mono);
  letter-spacing: 1px;
  padding: 8px 13px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}
.paused-tag[hidden] {
  display: none;
}
.paused-tag svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.playback-bar {
  min-height: 66px;
  background: #fcfcf8;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 21px;
  border-top: 1px solid #daddcf;
}
.play-button {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--lime);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.play-button:hover {
  background: #c8e485;
}
.play-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.restart-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  font-size: 11px;
  padding: 8px 0;
  white-space: nowrap;
}
.restart-button:hover {
  color: #738448;
}
.restart-button svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}
kbd {
  font: 8px var(--mono);
  border: 1px solid #dedfd6;
  border-radius: 3px;
  min-width: 14px;
  padding: 2px 3px;
  text-align: center;
  color: #8a8d81;
  line-height: 1;
}
.restart-button kbd {
  margin-left: 4px;
}
.toolbar-divider {
  height: 18px;
  border-left: 1px solid #e0e3d7;
  margin: 0 1px 0 3px;
}
.timeline-group {
  display: flex;
  gap: 11px;
  align-items: center;
  flex: 1;
  min-width: 60px;
}
.time-label {
  font: 9px var(--mono);
  color: #747b69;
}
.total-time {
  color: #a0a396;
}
.timeline-track {
  flex: 1;
  height: 3px;
  background: #e3e7d9;
  border-radius: 4px;
  overflow: hidden;
  min-width: 15px;
}
#timeline-fill {
  height: 100%;
  width: 0;
  background: #81965f;
  border-radius: 4px;
}
.speed-control select {
  font: 10px var(--mono);
  padding: 6px 14px 6px 7px;
  border: 1px solid #e4e7db;
  border-radius: 5px;
  background-color: transparent;
  color: #646d5b;
  cursor: pointer;
  max-width: 72px;
}
.loop-button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: #b4b7ac;
  font-size: 10px;
}
.loop-button.active {
  color: #667c48;
}
.loop-button svg {
  height: 14px;
  width: 14px;
  stroke-width: 1.6;
}
.experiment-details {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.details-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #83897a;
  margin: 1px 0 19px;
}
.details-eyebrow > span:last-child {
  color: #a2a598;
  letter-spacing: 0;
}
.experiment-details h2 {
  font-size: 28px;
  font-weight: 520;
  letter-spacing: -0.85px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.scene-description {
  font-size: 12px;
  line-height: 1.85;
  color: #787e70;
  margin: 0 0 18px;
}
.phenomena {
  display: grid;
  gap: 10px;
  margin: 0 0 23px;
}
.phenomena > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #5f6758;
}
.phenomena i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
}
.parameters {
  padding: 19px 0 0;
  border-top: 1px solid var(--line);
}
.parameter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
  margin-bottom: 19px;
}
.parameter label {
  font-size: 11px;
  font-weight: 500;
}
.parameter output {
  font: 10px var(--mono);
  color: #687454;
}
.parameter output span {
  font-size: 8px;
  color: #9a9f90;
}
.parameter input {
  grid-column: 1/-1;
  width: 100%;
  height: 10px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline-offset: 6px;
  background: transparent;
}
.parameter input::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(
    to right,
    #a3b97d var(--range, 40%),
    #dfe4d5 var(--range, 40%)
  );
  border-radius: 5px;
}
.parameter input::-moz-range-track {
  height: 3px;
  background: #dfe4d5;
  border-radius: 5px;
}
.parameter input::-moz-range-progress {
  height: 3px;
  background: #a3b97d;
  border-radius: 5px;
}
.parameter input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f8faee;
  border: 2.5px solid #8c9e6e;
  margin-top: -4px;
  box-shadow: 0 0 0 3px var(--paper);
}
.parameter input::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f8faee;
  border: 2px solid #8c9e6e;
}
.parameter-note {
  font-size: 9px;
  color: #a1a595;
  margin: -3px 0 23px;
}
.principle-card {
  margin-top: auto;
  background: #eaeddf;
  border: 1px solid #e2e6d5;
  border-radius: 8px;
  padding: 16px 17px 15px;
}
.principle-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 7px var(--mono);
  letter-spacing: 1.25px;
  color: #859073;
}
.principle-heading svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #8c9975;
  stroke-width: 1;
}
.principle-formula {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: #576445;
  padding: 9px 0 6px;
  font-style: italic;
}
.principle-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #849072;
  margin: 0;
}
.below-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 29px;
}
.below-stage > p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #8a9180;
  margin: 0;
}
.tiny-asterisk {
  color: #8b9c71;
  font-size: 18px;
}
.below-stage > div {
  display: flex;
  gap: 20px;
}
.keyboard-hint {
  font-size: 9px;
  color: #9b9f91;
  white-space: nowrap;
}
.keyboard-hint kbd {
  margin-right: 4px;
  font-size: 7px;
}
footer {
  height: 63px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #909786;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
footer i {
  font-style: normal;
  margin: 0 10px;
  color: #aeb79c;
}
.footer-edition {
  color: #a5ab9b;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
#viewer-card:fullscreen {
  width: 100vw;
  height: 100vh;
  background: #e9ddc8;
  border: 0;
  border-radius: 0;
}
#viewer-card:fullscreen .viewport {
  height: auto;
  flex: 1;
}
#viewer-card:fullscreen .playback-bar {
  flex: 0 0 70px;
}
dialog {
  border: 1px solid #d9decf;
  border-radius: 16px;
  background: #f8f8f1;
  color: var(--ink);
  padding: 38px;
  max-width: 490px;
  width: calc(100% - 40px);
  box-shadow: 0 30px 100px #1c281b33;
}
dialog::backdrop {
  background: #28332555;
  backdrop-filter: blur(7px);
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 17px;
}
.modal-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--lime);
  border-radius: 50%;
  margin-bottom: 24px;
}
.modal-mark svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
}
dialog h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 0 17px;
}
dialog > p:not(.eyebrow) {
  font-size: 12px;
  color: #767e6c;
  line-height: 1.9;
}
.modal-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 25px 0;
  font-size: 10px;
  color: #778569;
}
.modal-shortcuts kbd {
  margin-right: 5px;
}
.modal-cta {
  width: 100%;
  background: var(--ink);
  color: #eef4df;
  border: 0;
  border-radius: 7px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.modal-cta:hover {
  background: #3e4a35;
}
.modal-cta svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1450px) {
  .viewport {
    height: 560px;
  }
  .experiment-details {
    padding-top: 9px;
  }
  .scene-description {
    font-size: 13px;
  }
  .phenomena {
    margin-bottom: 29px;
  }
  .parameter {
    margin-bottom: 22px;
  }
  .principle-card {
    padding: 20px;
  }
  .experiment-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }
}
@media (max-width: 1150px) {
  .page-shell {
    padding: 0 30px;
  }
  .experiment-layout {
    grid-template-columns: minmax(0, 1fr) 246px;
    gap: 23px;
  }
  .scene-tab {
    gap: 9px;
    padding: 0 12px;
    font-size: 11px;
  }
  .scene-tab > svg {
    margin-left: 0;
    width: 18px;
  }
  .active-dot {
    width: 4px;
    height: 4px;
  }
  .viewport {
    height: 500px;
  }
  .playback-bar {
    gap: 11px;
    padding: 0 15px;
  }
  .restart-button kbd {
    display: none;
  }
  .total-time {
    display: none;
  }
  .header-caption {
    margin-left: 0;
    font-size: 8px;
  }
  .experiment-details h2 {
    font-size: 26px;
  }
  .principle-heading {
    font-size: 6.5px;
  }
  .below-stage > div {
    gap: 12px;
  }
  .intro h1 {
    font-size: 43px;
  }
}
@media (max-width: 850px) {
  .page-shell {
    padding: 0 23px;
  }
  .site-header {
    height: 74px;
  }
  .header-caption {
    display: none;
  }
  .intro {
    padding: 31px 0 27px;
  }
  .intro h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }
  .intro-copy {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .scene-tabs {
    gap: 6px;
    margin-bottom: 18px;
  }
  .scene-tab {
    gap: 7px;
    padding: 0 10px;
    height: 52px;
    font-size: 10px;
  }
  .scene-tab .tab-number {
    display: none;
  }
  .scene-tab > svg {
    width: 17px;
    height: 17px;
  }
  .active-dot {
    display: none !important;
  }
  .experiment-layout {
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 18px;
  }
  .viewport {
    height: 505px;
  }
  .experiment-details h2 {
    font-size: 23px;
  }
  .details-eyebrow {
    font-size: 6.5px;
    margin-bottom: 17px;
  }
  .scene-description {
    font-size: 11px;
    line-height: 1.8;
  }
  .phenomena > div {
    font-size: 9px;
  }
  .phenomena {
    gap: 9px;
    margin-bottom: 22px;
  }
  .parameters {
    padding-top: 17px;
  }
  .parameter {
    margin-bottom: 18px;
  }
  .parameter-note {
    font-size: 8px;
  }
  .principle-card {
    padding: 13px;
  }
  .principle-heading {
    font-size: 6px;
    letter-spacing: 0.9px;
  }
  .principle-card p {
    font-size: 9px;
  }
  .principle-formula {
    font-size: 26px;
  }
  .viewport-header {
    left: 18px;
    top: 20px;
    right: 16px;
  }
  .viewport-bottom {
    left: 18px;
    right: 18px;
    bottom: 19px;
  }
  .orbit-hint {
    font-size: 6px;
    gap: 5px;
  }
  .hint-divider,
  .hint-divider + span {
    display: none;
  }
  .scene-scale {
    font-size: 7px;
  }
  .playback-bar {
    gap: 11px;
    padding: 0 14px;
    min-height: 60px;
  }
  .restart-button span,
  .loop-button span,
  .toolbar-divider {
    display: none;
  }
  .timeline-group {
    gap: 8px;
  }
  .speed-control select {
    font-size: 9px;
    width: 52px;
    padding-left: 5px;
  }
  .below-stage {
    padding-bottom: 23px;
  }
  .below-stage > div {
    display: none;
  }
  footer {
    font-size: 6px;
    gap: 10px;
    height: 56px;
  }
  .header-end {
    gap: 17px;
  }
  .footer-edition {
    display: none;
  }
}
@media (max-width: 640px) {
  .page-shell {
    padding: 0 18px;
  }
  .site-header {
    height: 69px;
  }
  .brand {
    font-size: 28px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-mark svg {
    width: 25px;
    height: 25px;
  }
  .live-label {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .header-end {
    gap: 12px;
  }
  .intro {
    padding: 30px 0 24px;
    display: block;
  }
  .intro h1 {
    font-size: 40px;
  }
  .intro-copy {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 15px;
  }
  .intro-copy br {
    display: none;
  }
  .intro-copy {
    max-width: 295px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
    margin-bottom: 11px;
  }
  .scene-tabs {
    overflow-x: auto;
    display: flex;
    margin: 0 -18px 16px;
    padding: 0 18px 5px;
    scrollbar-width: none;
  }
  .scene-tabs::-webkit-scrollbar {
    display: none;
  }
  .scene-tab {
    flex: 0 0 auto;
    font-size: 11px;
    height: 45px;
    padding: 0 13px;
    gap: 9px;
  }
  .scene-tab .tab-number {
    display: block;
    font-size: 8px;
  }
  .scene-tab > svg {
    width: 16px;
    height: 16px;
  }
  .experiment-layout {
    display: flex;
    flex-direction: column;
    gap: 27px;
  }
  .viewer-card {
    border-radius: 10px;
  }
  .viewport {
    height: 390px;
    min-height: 390px;
    flex: auto;
  }
  .viewport-header {
    left: 17px;
    top: 19px;
  }
  .viewport-eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .scene-status {
    font-size: 10px;
  }
  .viewport-bottom {
    bottom: 17px;
  }
  .orbit-hint {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .scene-scale {
    font-size: 7px;
  }
  .scene-scale i {
    width: 30px;
  }
  .playback-bar {
    min-height: 61px;
    padding: 0 16px;
    gap: 14px;
  }
  .play-button {
    width: 29px;
    height: 29px;
  }
  .restart-button span {
    display: inline;
    font-size: 10px;
  }
  .timeline-group {
    gap: 8px;
  }
  .time-label {
    font-size: 8px;
  }
  .speed-control select {
    font-size: 9px;
  }
  .experiment-details {
    padding: 0 2px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .details-eyebrow {
    grid-column: 1/-1;
    font-size: 8px;
    margin-bottom: 14px;
  }
  .experiment-details h2 {
    grid-column: 1/-1;
    font-size: 29px;
    margin-bottom: 12px;
  }
  .scene-description {
    grid-column: 1/-1;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .phenomena {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 15px;
    margin-bottom: 23px;
  }
  .phenomena > div {
    font-size: 9px;
    gap: 6px;
  }
  .parameters {
    border-top: 0;
    padding: 3px 0 0;
  }
  .parameter {
    gap: 12px;
    margin-bottom: 18px;
  }
  .parameter label {
    font-size: 10px;
  }
  .parameter output {
    font-size: 9px;
  }
  .parameter-note {
    font-size: 8px;
    line-height: 1.5;
    max-width: 120px;
    margin-bottom: 0;
  }
  .principle-card {
    margin: 0;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .principle-heading {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .principle-heading svg {
    width: 11px;
  }
  .principle-formula {
    font-size: 27px;
    padding: 13px 0 10px;
  }
  .principle-card p {
    font-size: 10px;
    line-height: 1.7;
  }
  .below-stage {
    padding: 24px 0;
  }
  .below-stage > p {
    font-size: 9px;
    gap: 7px;
  }
  .tiny-asterisk {
    font-size: 16px;
  }
  footer {
    height: 63px;
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  footer > span:nth-child(2) {
    max-width: 130px;
    text-align: right;
    line-height: 1.8;
  }
  footer i {
    margin: 0 4px;
  }
  .modal-shortcuts {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  dialog {
    padding: 30px;
  }
  .about-button svg {
    width: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .loading-orbit {
    animation: none;
  }
  button,
  .loading-cover {
    transition: none;
  }
}
