@font-face { font-family: "Guanyu Serif"; src: url("assets/catalog-serif.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: clamp(14px, 1.12vw, 18px); line-height: 1.6; font-weight: 400; background: #070b12; color: #e0e8f3; -webkit-font-smoothing: antialiased; --muted: #8797ac; --line: #52678035; --accent: #b8dfff; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #a8d9ff; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, p { margin: 0; }
svg { width: 1.15rem; height: 1.15rem; stroke-width: 1.4; flex: 0 0 auto; }
.cosmos-page { display: flex; flex-direction: column; height: 100dvh; min-height: 100dvh; }
.cosmos-header { display: flex; align-items: center; gap: 2.5rem; flex: 0 0 auto; padding: 1rem 2.5rem; border-bottom: 1px solid var(--line); background: #090e17; }
.cosmos-brand { display: flex; align-items: center; gap: .75rem; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.cosmos-brand > svg { width: 2rem; height: 2rem; color: #95c5e9; }
.cosmos-brand small { display: block; margin-top: .3rem; color: #8b9cb1; letter-spacing: .3em; font-size: .53rem; }
.cosmos-back { display: flex; align-items: center; gap: .5rem; color: #a0b0c5; font-size: .8rem; }
.cosmos-back:hover { color: var(--accent); }
.cosmos-course-name { margin-left: auto; color: #8d9db3; font-size: .8rem; }
.cosmos-course-name span { margin: 0 .65rem; color: #435269; }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid #536d8c55; border-radius: .4rem; background: #101a2780; font-size: .8rem; white-space: nowrap; }
.quiet-button:hover { border-color: #96c5e8; color: #d6edff; }
.cosmos-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.cosmos-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 0 0 auto; padding: .85rem 2.5rem .65rem; }
.cosmos-tabs { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; isolation: isolate; }
.cosmos-tabs button { position: relative; z-index: 1; padding: .65rem 1.25rem; color: #889bb5; font-size: .92rem; letter-spacing: .06em; border-radius: .4rem; transition: color .25s; }
.cosmos-tabs button:hover { color: #e2f2ff; }
.cosmos-tabs button[aria-selected="true"] { color: #dceeff; }
.cosmos-tabs .motion-indicator { border: 1px solid #6b92b34a; background: #172537; border-radius: .4rem; }
.cosmos-navigation-note { color: #708298; font-size: .72rem; letter-spacing: .08em; white-space: nowrap; }
.cosmos-workspace { display: grid; grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr); gap: 2rem; flex: 1 1 auto; min-height: 0; padding: .6rem 2.5rem 1.1rem; }
.cosmos-info { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: 1.25rem 1.5rem 0 .25rem; overflow-y: auto; overflow-anchor: none; scrollbar-width: thin; scrollbar-color: #34445a transparent; }
.eyebrow { color: #7896b8; font-size: .62rem; letter-spacing: .2em; }
.cosmos-info h1 { margin-top: .7rem; font-family: "Guanyu Serif", "Songti SC", "SimSun", serif; font-size: clamp(2.1rem, 3.3vw, 3.2rem); line-height: 1.3; letter-spacing: .06em; font-weight: 500; color: #eef4fb; }
.cosmos-lead { margin-top: 1.1rem; font-size: .95rem; color: #c9d7e7; }
.cosmos-description { margin-top: .8rem; color: #91a2b9; font-size: .8rem; line-height: 1.95; }
.cosmos-facts { margin: 1rem 0 0; padding: .25rem 0; border-block: 1px solid var(--line); }
.cosmos-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: .7rem; row-gap: .2rem; padding: .5rem 0; }
.cosmos-facts dt { color: #879eb8; font-size: .72rem; }
.cosmos-facts dd { margin: 0; font-size: .86rem; font-variant-numeric: tabular-nums; color: #c5dff4; }
.cosmos-concept { margin-top: 1rem; }
.cosmos-concept h2 { margin: 0 0 .5rem; color: #bdcfe1; font-size: .8rem; font-weight: 500; }
.cosmos-concept p { color: #8c9fb7; font-size: .76rem; line-height: 1.9; }
.cosmos-info-bottom { margin-top: auto; padding-top: 1rem; }
.cosmos-check { display: flex; align-items: center; gap: .5rem; font-size: .7rem; color: #9cb3cc; cursor: pointer; white-space: nowrap; }
.cosmos-check input { margin: 0; width: 1rem; height: 1rem; accent-color: #acd7f5; }
.cosmos-sources, .cosmos-references { font-size: .65rem; color: #8196af; }
.cosmos-references { margin-top: 1rem; }
.cosmos-sources summary, .cosmos-references summary { cursor: pointer; padding-block: .35rem; }
.cosmos-references > div { display: grid; gap: .55rem; padding-top: .5rem; }
.cosmos-sources p { margin: .7rem 0; line-height: 1.8; }
.cosmos-sources a, .cosmos-references a { color: #adcee8; text-decoration: underline; text-underline-offset: .2em; }
.cosmos-type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.4rem; }
.cosmos-type-options button { padding: .5rem .35rem; border: 1px solid #5469814a; border-radius: .3rem; font-size: .75rem; color: #839bb7; }
.cosmos-type-options button[aria-pressed="true"] { color: #d4eaff; background: #1c3046; border-color: #8abcd1; }
.cosmos-system-links { display: grid; gap: .35rem; margin-top: 1.25rem; }
.cosmos-system-links button { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: .6rem 0; font-size: .75rem; color: #afc9e1; text-align: left; }
.cosmos-viewport { position: relative; display: flex; flex-direction: column; min-height: 0; min-width: 0; isolation: isolate; border: 1px solid #35496142; border-radius: .75rem; background: #060b13; overflow: hidden; }
.cosmos-stage { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; }
.cosmos-canvas { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.cosmos-canvas:active { cursor: grabbing; }
.cosmos-canvas canvas { display: block; width: 100%; height: 100%; }
.cosmos-scene-top, .cosmos-scene-bottom { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; flex-wrap: wrap; gap: .65rem 1rem; padding: .8rem 1.5rem; }
.cosmos-scene-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; margin-left: auto; }
.cosmos-scene-bottom { color: #7891ad; font-size: .66rem; }
.cosmos-scene-bottom > span:last-child { white-space: nowrap; }
.cosmos-live { display: flex; align-items: center; gap: .5rem; font-size: .65rem; color: #7894b4; letter-spacing: .1em; }
.cosmos-live > span { width: .3rem; height: .3rem; border-radius: 50%; background: #8fc3e8; }
.cosmos-auto { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid #516b8740; border-radius: .4rem; background: #0d1724da; font-size: .72rem; pointer-events: auto; }
.cosmos-auto svg { width: 1rem; }
.switch-track { width: 1.75rem; height: .95rem; border-radius: 1rem; background: #293749; padding: .15rem; transition: background .2s; }
.switch-track::after { content: ""; display: block; width: .65rem; height: .65rem; border-radius: 50%; background: #b0c3da; transition: transform .2s; }
.cosmos-auto[aria-pressed="true"] .switch-track { background: #5184a7; }
.cosmos-auto[aria-pressed="true"] .switch-track::after { transform: translateX(.8rem); background: #e4f2ff; }
.hint-dot { margin: 0 .55rem; }
.cosmos-reset { display: grid; place-items: center; padding: .6rem; border: 1px solid #647d9750; border-radius: .4rem; background: #111c2bcc; }
.cosmos-reset:hover { border-color: #a2ccec; }
.cosmos-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cosmos-model-label { position: absolute; top: 0; left: 0; padding: .35rem .65rem; background: #0b1522d9; border: 1px solid #6c9dc351; border-radius: .3rem; color: #c7dced; font-size: .72rem; white-space: nowrap; transform: translate(-50%, -100%); will-change: left, top; }
.cosmos-model-label.is-location { border-color: #92cbe699; color: #e0f3ff; background: #10283ee8; }
.cosmos-leaders { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #8ab6d97a; stroke-width: 1; }
.cosmos-loading { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: #070d17ed; text-align: center; padding: 1.5rem; color: #92acc8; font-size: .85rem; }
.loading-orbit { width: 2.3rem; height: 2.3rem; border: 1px solid #263f59; border-top-color: #abd8fa; border-radius: 50%; animation: loading-turn 2s linear infinite; }
@keyframes loading-turn { to { transform: rotate(360deg); } }
.cosmos-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; flex: 0 0 auto; padding: 1.05rem 2.5rem 1.15rem; border-top: 1px solid var(--line); background: #0c131e; }
.scale-heading, .cosmos-local-zoom > label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .7rem; color: #8ba3be; }
.scale-heading label { display: flex; align-items: center; gap: .6rem; color: #b5cce1; }
.scale-heading output { color: #99b9d9; }
.scale-track-row { display: flex; align-items: center; gap: .75rem; margin: .2rem 0; }
.scale-track-row button { display: grid; place-items: center; flex: 0 0 auto; width: 2rem; height: 2rem; border: 1px solid #3f556d70; border-radius: .3rem; color: #b3cce3; }
.scale-track-row input { --progress: 0%; flex: 1 1 auto; width: 100%; min-width: 0; height: 1.6rem; margin: 0; appearance: none; background: transparent; cursor: ew-resize; accent-color: #bce3ff; }
.scale-track-row input::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, #afd9f7 var(--progress), #2c4057 var(--progress)); }
.scale-track-row input::-webkit-slider-thumb { appearance: none; width: .8rem; height: .8rem; margin-top: calc(1.5px - .4rem); border: 2px solid #e0f1ff; border-radius: 50%; background: #7fb4d9; box-shadow: 0 0 0 .28rem #8dbfe513; }
.scale-track-row input::-moz-range-track { height: 3px; background: #2c4057; }
.scale-track-row input::-moz-range-progress { height: 3px; background: #afd9f7; }
.scale-track-row input::-moz-range-thumb { width: .65rem; height: .65rem; border: 2px solid #e0f1ff; border-radius: 50%; background: #7fb4d9; }
.scale-stops { display: flex; justify-content: space-between; margin: 0 2.75rem; }
.scale-stops button { padding: 0; color: #7f96b0; font-size: .74rem; text-align: center; }
.scale-stops button:first-child { text-align: left; }
.scale-stops button:last-child { text-align: right; }
.scale-stops button.is-current { color: #d6ebfc; }
.scale-stops span { display: block; color: #56708d; font-size: .58rem; margin-top: .15rem; }
.cosmos-control-aside { display: flex; align-items: center; gap: 2.5rem; padding-left: 2.5rem; border-left: 1px solid var(--line); }
.cosmos-control-aside > p { font-size: .7rem; line-height: 1.9; color: #6a849e; }
.cosmos-local-zoom { max-width: 56rem; }
.cosmos-local-zoom > p { color: #637d97; font-size: .67rem; }
.cosmos-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 2.5rem; flex: 0 0 auto; font-size: .62rem; color: #59718d; border-top: 1px solid #22304477; }
.footer-wordmark { margin-left: 1rem; letter-spacing: .25em; }
.cosmos-classroom-notice { position: fixed; z-index: 10; bottom: 1.5rem; left: 50%; max-width: calc(100% - 2rem); padding: .85rem 1.25rem; border: 1px solid #7491ac; border-radius: .5rem; background: #172839f5; color: #e5f2ff; font-size: .85rem; transform: translateX(-50%); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 20; padding: .8rem; background: #213d58; }
html.is-classroom .cosmos-header, html.is-classroom .cosmos-footer, html.is-classroom .cosmos-info, html.is-classroom .cosmos-navigation-note { display: none; }
html.is-classroom .cosmos-workspace { grid-template-columns: minmax(0, 1fr); }
html.is-classroom .cosmos-model-label { font-size: .88rem; }
@media (max-width: 1050px) { .cosmos-navigation-note, .cosmos-control-aside > p { display: none; } .cosmos-workspace { grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); gap: 1rem; } .cosmos-control-aside { padding-left: 1.5rem; } .cosmos-info { padding-right: .8rem; } }
@media (max-width: 760px) { .cosmos-header { gap: 1.25rem; padding: .8rem 1.25rem; } .cosmos-course-name { display: none; } .cosmos-header > .quiet-button { margin-left: auto; } .cosmos-navigation { padding: .65rem 1rem; } .cosmos-tabs { flex: 1; gap: .15rem; } .cosmos-tabs button { padding: .55rem .8rem; font-size: .83rem; } .cosmos-workspace { padding: .25rem 1.25rem 1rem; gap: .75rem; grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr); } .cosmos-controls { padding: .8rem 1.25rem; gap: 1.2rem; } .cosmos-info h1 { font-size: 2.1rem; } .cosmos-scene-top, .cosmos-scene-bottom { padding: .65rem .85rem; } .cosmos-scene-actions { gap: .65rem; } .cosmos-scene-bottom > span:last-child { display: none; } .cosmos-live { font-size: .6rem; } .cosmos-auto { gap: .4rem; font-size: .64rem; } .cosmos-auto > svg { display: none; } .cosmos-footer { padding-inline: 1.25rem; } }
@media (max-height: 640px) and (min-width: 621px) { .cosmos-header { padding-block: .65rem; } .cosmos-navigation { padding-block: .45rem; } .cosmos-info { padding-top: .65rem; } .cosmos-info h1 { font-size: 2.1rem; margin-top: .4rem; } .cosmos-lead, .cosmos-facts, .cosmos-concept { margin-top: .8rem; } .cosmos-info-bottom { padding-top: 1rem; } .cosmos-controls { padding-block: .65rem; } .scale-stops span { display: none; } .cosmos-footer { padding-block: .4rem; } }
@media (max-width: 620px) { :root { font-size: 14px; } .cosmos-page { height: auto; } .cosmos-tabs { display: grid; grid-template-columns: repeat(6, auto); } .cosmos-tabs button { padding: .5rem .3rem; letter-spacing: 0; font-size: .78rem; } .cosmos-workspace { grid-template-columns: minmax(0, 1fr); flex: 1 0 auto; } .cosmos-viewport { order: -1; aspect-ratio: 1.15; } .cosmos-info { padding: .8rem .25rem; overflow: visible; display: block; } .cosmos-info h1 { font-size: 2rem; } .cosmos-description { max-width: 44rem; } .cosmos-facts, .cosmos-concept { margin-top: .75rem; } .cosmos-info-bottom { padding-top: 1rem; } .cosmos-type-options { display: flex; flex-wrap: wrap; } .cosmos-type-options button { padding-inline: .9rem; } .cosmos-system-links { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } .cosmos-controls { grid-template-columns: minmax(0, 1fr); gap: .75rem; } .cosmos-control-aside { padding: .6rem 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: flex-end; } .cosmos-footer { align-items: flex-start; font-size: .6rem; } .cosmos-footer > span:last-child { white-space: nowrap; } .footer-wordmark { display: none; } html.is-classroom .cosmos-page { height: 100dvh; } html.is-classroom .cosmos-workspace { flex: 1 1 auto; } html.is-classroom .cosmos-viewport { aspect-ratio: auto; } }
@media (max-height: 400px) { .cosmos-page { height: auto; } .cosmos-viewport, html.is-classroom .cosmos-viewport { aspect-ratio: 2; } html.is-classroom .cosmos-page { height: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } .loading-orbit { animation: none; } }

/* The model owns the available width. Educational copy is an overlay so it can
   be opened in a normal lesson and kept available in classroom fullscreen. */
.cosmos-workspace { display: flex; position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; padding: .35rem 2.5rem .9rem; }
.cosmos-viewport { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; }
.cosmos-info { position: absolute; z-index: 6; top: 3.55rem; bottom: .8rem; left: .9rem; display: flex; width: clamp(18rem, 27vw, 25rem); max-width: calc(100% - 1.8rem); padding: 1rem 1.15rem 1.15rem; border: 1px solid #7894b557; border-radius: .75rem; background: #0a1422e8; box-shadow: 0 1rem 3.5rem #02060db3; backdrop-filter: blur(18px) saturate(1.1); overflow-y: auto; opacity: 1; transform: translateX(0); transition: opacity .25s ease, transform .35s cubic-bezier(.2,.75,.25,1); }
.cosmos-page[data-info-open="false"] .cosmos-info { opacity: 0; transform: translateX(calc(-100% - 1rem)); pointer-events: none; }
.cosmos-info-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 0 0 auto; padding-bottom: .7rem; border-bottom: 1px solid var(--line); color: #b4cbe2; font-size: .7rem; letter-spacing: .08em; }
.cosmos-info-close, .cosmos-info-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2rem; padding: .35rem .55rem; border: 1px solid #627e9c55; border-radius: .35rem; background: #132234aa; color: #b7cee4; font-size: .7rem; }
.cosmos-info-close { width: 2rem; padding: .35rem; }
.cosmos-info-close:hover, .cosmos-info-toggle:hover { border-color: #abd5f5; color: #e5f5ff; }
.cosmos-info-toggle { display: inline-flex; }
.cosmos-info-toggle svg, .cosmos-info-close svg { width: .95rem; height: .95rem; }
.cosmos-scene-top { position: relative; z-index: 7; }
.cosmos-scene-actions { gap: .55rem; }
.cosmos-classroom-toggle { display: none; }
.cosmos-info .cosmos-copy { flex: 0 0 auto; }
.cosmos-info .cosmos-info-bottom { margin-top: 1rem; padding-top: 0; }
.cosmos-type-options, .cosmos-system-links { display: block; }
.cosmos-type-options { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cosmos-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin-top: .55rem; }
.cosmos-type-grid button { min-height: 2.15rem; padding: .35rem .25rem; }
.cosmos-control-label { color: #a7bfd8; font-size: .68rem; letter-spacing: .08em; }
.cosmos-system-links { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cosmos-system-links button { padding: .55rem 0; }
.cosmos-scene-bottom { position: relative; z-index: 7; min-height: 3.35rem; padding-block: .55rem; }
.cosmos-scene-hint { margin-left: auto; }
.cosmos-scale-control { display: grid; grid-template-columns: auto minmax(6rem, auto) 1.85rem 1.85rem; align-items: center; gap: .45rem; margin-left: 1rem; padding: .25rem .35rem .25rem .5rem; border: 1px solid #536b8650; border-radius: .45rem; background: #0d1927d9; color: #8ea6bf; }
.cosmos-scale-caption { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; white-space: nowrap; }
.cosmos-scale-caption svg { width: .85rem; height: .85rem; }
.cosmos-scale-control output { min-width: 6rem; color: #c0d9ef; font-size: .68rem; text-align: center; white-space: nowrap; }
.cosmos-scale-control button { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border: 1px solid #5b759055; border-radius: .3rem; color: #c3ddf2; }
.cosmos-scale-control button:hover { border-color: #a6d5f5; background: #1a2d43; }
.cosmos-scale-control button svg { width: .85rem; height: .85rem; }
.cosmos-controls { display: none; }
html.is-classroom .cosmos-info { display: flex; }
html.is-classroom .cosmos-classroom-toggle { display: inline-flex; }
html.is-classroom .cosmos-workspace { padding: .45rem 1rem 1rem; }
html.is-classroom .cosmos-navigation { padding-block: .45rem; }

@media (max-width: 760px) {
  .cosmos-workspace { padding: .25rem 1rem .75rem; }
  .cosmos-scene-top { padding-inline: .8rem; }
  .cosmos-scene-actions { gap: .4rem; }
  .cosmos-scene-actions .cosmos-check span, .cosmos-scene-actions .cosmos-auto span:not(.switch-track) { display: none; }
  .cosmos-scene-actions .cosmos-check { gap: 0; }
  .cosmos-info { top: 3.25rem; left: .65rem; bottom: .65rem; width: min(23rem, calc(100% - 1.3rem)); }
  .cosmos-scene-bottom { align-items: center; }
  .cosmos-scene-hint { display: none; }
  .cosmos-scale-control { margin-left: auto; grid-template-columns: auto minmax(5rem, auto) 1.7rem 1.7rem; }
  .cosmos-scale-control button { width: 1.7rem; height: 1.7rem; }
  .cosmos-scale-control output { min-width: 5rem; font-size: .64rem; }
}
@media (max-width: 520px) {
  .cosmos-workspace { padding-inline: .6rem; }
  .cosmos-info { top: 3rem; left: .45rem; bottom: .45rem; width: calc(100% - .9rem); max-width: none; }
  .cosmos-scene-top { padding-inline: .55rem; }
  .cosmos-live { letter-spacing: .04em; }
  .cosmos-reset { padding: .5rem; }
  .cosmos-info-toggle span { display: none; }
  .cosmos-info-toggle { width: 2rem; padding-inline: .4rem; }
  .cosmos-scale-caption { display: none; }
  .cosmos-scale-control { grid-template-columns: minmax(5rem, auto) 1.7rem 1.7rem; padding-left: .35rem; }
  .cosmos-scale-control output { grid-column: 1; }
}

/* The information trigger sits on the viewport edge, leaving the model
   toolbar clear. When the drawer opens, the WebGL host gives it real space so
   the camera and labels are resized instead of being covered by the panel. */
.cosmos-stage { overflow: hidden; }
.cosmos-info-toggle { position: absolute; z-index: 9; top: 50%; left: .8rem; transform: translateY(-50%); box-shadow: 0 .6rem 1.5rem #0207118c; transition: opacity .2s ease, transform .25s ease, left .35s ease; }
.cosmos-info-toggle:hover { transform: translateY(-50%) translateX(2px); }
.cosmos-page[data-info-open="true"] .cosmos-info-toggle { opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(-.5rem); }
.cosmos-type-switcher { order: 3; display: flex; align-items: center; justify-content: center; gap: .2rem; flex: 1 1 100%; min-width: 0; max-width: 100%; padding: .25rem; border: 1px solid #536b8655; border-radius: .45rem; background: #0d1927d9; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #3b5975 transparent; }
.cosmos-type-switcher > span { flex: 0 0 auto; padding-inline: .55rem; color: #91aac4; font-size: .68rem; letter-spacing: .06em; }
.cosmos-type-switcher button { flex: 0 0 auto; min-height: 1.95rem; padding: .3rem .7rem; border: 1px solid transparent; border-radius: .3rem; color: #8da5bf; font-size: .7rem; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.cosmos-type-switcher button:hover { color: #e1f1ff; background: #172b40; }
.cosmos-type-switcher button[aria-pressed="true"] { color: #e6f5ff; border-color: #8ab9db8a; background: #23405a; }
.cosmos-label-detail { margin-top: 1rem; padding: .8rem 0 0; border-top: 1px solid var(--line); }
.cosmos-label-detail h2 { margin-top: .4rem; color: #c6ddf1; font-size: .82rem; font-weight: 500; }
.cosmos-label-detail p:last-child { margin-top: .35rem; color: #91a7be; font-size: .74rem; line-height: 1.85; }
.cosmos-model-label { pointer-events: auto; cursor: pointer; }
.cosmos-model-label:hover, .cosmos-model-label:focus-visible { border-color: #c5e7ff; color: #f0f9ff; background: #18334ce8; box-shadow: 0 0 .8rem #86c9ff44; }
.cosmos-model-label:focus-visible { outline: 2px solid #acdfff; outline-offset: 3px; }
@media (min-width: 761px) {
  .cosmos-page[data-info-open="true"] .cosmos-canvas,
  .cosmos-page[data-info-open="true"] .cosmos-labels { left: calc(clamp(18rem, 27vw, 25rem) + 1.6rem); transition: left .35s cubic-bezier(.2,.75,.25,1); }
  .cosmos-page[data-view="5"] .cosmos-info { top: 6.85rem; }
}
@media (max-width: 760px) {
  .cosmos-type-switcher { justify-content: flex-start; }
  .cosmos-type-switcher > span { padding-left: .25rem; }
  .cosmos-page[data-view="5"] .cosmos-info { top: 6.8rem; }
  .cosmos-info-toggle { left: .55rem; }
}
