:root {
  font-family:Inter,"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;
  color:#202b32;
  background:#f3f5f4;
  font-synthesis:none;
  --ink:#202b32;
  --muted:#57666e;
  --line:#d9e2df;
  --accent:#136b59;
  --light:#e5f3ed;
  --dark:#162925;
  --white:#fff;
  --radius:14px
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input {
  font:inherit
}
button,a,input,summary {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed
}
a {
  color:var(--accent);
  text-underline-offset:.2em
}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,canvas:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #269d82;
  outline-offset:3px
}
[hidden] {
  display:none!important
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  line-height:1.22
}
p {
  line-height:1.65
}
.frame {
  width:min(1240px, calc(100% - 64px));
  margin-inline:auto
}
.topbar {
  border-bottom:1px solid #d3ded9;
  background:#fafbf9
}
.topbar-inner {
  height:65px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  color:var(--ink);
  font-weight:750;
  white-space:nowrap
}
.brand-icon {
  display:grid;
  grid-template-columns:repeat(2,5px);
  gap:3px;
  padding:8px;
  background:var(--dark);
  border-radius:7px;
  transform:rotate(-7deg)
}
.brand-icon i {
  display:block;
  background:#aadecc;
  width:5px;
  height:5px;
  border-radius:1px
}
.brand-icon i:nth-child(2) {
  opacity:.6
}
.topbar nav {
  display:flex;
  gap:26px
}
.topbar nav a,.top-meta {
  font-size:.875rem;
  color:var(--muted);
  text-decoration:none;
  white-space:nowrap
}
.topbar nav a:hover {
  color:var(--accent)
}
.top-meta {
  font-family:ui-monospace,Consolas,monospace
}
.skip {
  position:absolute;
  left:15px;
  top:-100px;
  z-index:5;
  background:white;
  padding:12px
}
.skip:focus {
  top:8px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}
.intro {
  padding:45px 0 24px
}
.kicker {
  color:var(--accent);
  font-weight:750;
  font-size:.875rem;
  letter-spacing:.065em;
  margin-bottom:12px
}
h1 {
  font-weight:770;
  font-size:clamp(2rem,5.1vw,3.65rem);
  letter-spacing:-.045em
}
.intro p {
  color:var(--muted);
  margin-top:11px
}
.asset-selector {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.asset-select {
  display:grid;
  grid-template-columns:75px minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  padding:10px 17px 10px 10px;
  text-align:left;
  background:#fcfdfa;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius);
  min-height:88px
}
.asset-select:hover {
  background:#f3faf6
}
.asset-select[aria-pressed=true] {
  border-color:#378772;
  background:#e9f5ee;
  box-shadow:0 0 0 1px #378772 inset
}
.asset-select img {
  width:75px;
  height:67px;
  object-fit:contain;
  background:#dce6e0;
  border-radius:8px
}
.asset-select small {
  display:block;
  color:var(--accent);
  font:700 .75rem ui-monospace,Consolas,monospace;
  letter-spacing:.06em;
  margin-bottom:4px
}
.asset-select strong {
  display:block;
  font-size:1.13rem;
  letter-spacing:-.017em;
  margin-bottom:4px
}
.selector-meta {
  color:var(--muted);
  font-size:.875rem
}
.select-check {
  visibility:hidden;
  color:white;
  background:var(--accent);
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  font-weight:700
}
.asset-select[aria-pressed=true] .select-check {
  visibility:visible
}
.workspace,.record-panel,.compare {
  scroll-margin-top:16px;
  margin-top:27px
}
.section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:0 0 13px
}
.section-head h2 {
  font-size:clamp(1.32rem,2.5vw,1.65rem);
  letter-spacing:-.025em
}
.section-head p {
  color:var(--muted);
  font-size:.875rem;
  margin-top:5px
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:20px;
  padding:5px 10px;
  font-size:.82rem;
  font-weight:750;
  background:#e2efea;
  color:#235c4b
}
.badge.warn {
  color:#8b400e;
  background:#f9ebd9
}
.badge.neutral {
  color:#43535b;
  background:#e8eeed
}
.work-grid {
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);
  gap:14px;
  align-items:stretch
}
.viewer-panel,.control-panel,.record-panel,.compare {
  border:1px solid var(--line);
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden
}
.viewer-panel {
  display:grid;
  grid-template-rows:auto 1fr auto;
  min-width:0;
  background:#1a2b29;
  color:#effaf5;
  border-color:#253e38
}
.viewer-head,.viewer-foot {
  display:flex;
  min-height:48px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 15px;
  font-size:.875rem
}
.viewer-head {
  border-bottom:1px solid #3a4e4a;
  font-weight:650
}
.viewer-head>[role=status],.viewer-foot>span {
  color:#b6cec5;
  font-weight:400
}
.viewer-foot {
  border-top:1px solid #3a4e4a
}
.live-dot {
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:8px;
  background:#77cbb1
}
.stage {
  position:relative;
  min-height:410px;
  background:radial-gradient(ellipse at 52% 35%,#51645e 0,#2f443e 48%,#213631 100%);
  overflow:hidden
}
.stage canvas {
  width:100%;
  height:100%;
  position:absolute;
  display:block;
  inset:0;
  touch-action:none;
  cursor:grab
}
.stage canvas:active {
  cursor:grabbing
}
.poster {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.9
}
.stage-overlay {
  position:absolute;
  right:14px;
  top:13px;
  pointer-events:none;
  color:#e9f7f0;
  background:#172c25e6;
  border:1px solid #57786d;
  font-size:.82rem;
  border-radius:8px;
  padding:8px 10px
}
.small-buttons {
  display:flex;
  gap:7px
}
.small-buttons button {
  border:1px solid #547067;
  background:transparent;
  color:#effaf5;
  padding:5px 9px;
  border-radius:6px
}
.small-buttons button:hover {
  background:#3d584f
}
.control-panel {
  padding:19px
}
.control-panel h3 {
  font-size:1.1rem
}
.hint {
  color:var(--muted);
  font-size:.875rem;
  margin-top:7px
}
.presets {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:12px 0 14px;
  border-bottom:1px solid var(--line);
  margin-bottom:9px
}
.presets button,.filter button,.replay-panel button,.lightbox-head button,.lightbox-foot button,.download-links a {
  display:inline-block;
  background:#f7faf8;
  color:#2d5046;
  line-height:1.35;
  border:1px solid var(--line);
  border-radius:7px;
  padding:6px 10px;
  font-size:.875rem;
  font-weight:650;
  text-decoration:none
}
.presets button:hover,.filter button:hover,.replay-panel button:hover,.download-links a:hover,.lightbox button:hover {
  background:var(--light);
  border-color:#9abeb1
}
.presets button:disabled {
  opacity:.5
}
.control-panel fieldset {
  border:0;
  margin:0;
  padding:0;
  min-width:0
}
.joint {
  padding:8px 0 7px
}
.joint-line {
  display:flex;
  justify-content:space-between;
  gap:9px;
  margin-bottom:5px;
  font-size:.9rem;
  font-weight:610
}
.joint output,.mono {
  font-family:ui-monospace,Consolas,monospace;
  font-variant-numeric:tabular-nums
}
.joint output {
  color:var(--accent);
  font-size:.9rem
}
.joint input,.replay-panel input {
  display:block;
  width:100%;
  margin:0;
  accent-color:var(--accent)
}
.joint input:disabled {
  opacity:.45
}
.joint-help {
  color:var(--muted);
  font-size:.82rem;
  margin-top:5px
}
.wheel-select {
  margin-top:8px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.875rem
}
.wheel-select select {
  font:inherit;
  color:var(--ink);
  background:#f6f9f7;
  border:1px solid var(--line);
  padding:4px 8px;
  border-radius:6px
}
.replay-panel {
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid var(--line)
}
.replay-panel h4 {
  margin:0 0 8px
}
.replay-row {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}
.replay-panel input {
  margin:10px 0 5px
}
.replay-panel button[aria-pressed=true],.filter button[aria-pressed=true] {
  border-color:#79ac9d;
  background:var(--light);
  color:#145949
}
.record-panel,.compare {
  padding:19px
}
.download-links {
  display:flex;
  flex-wrap:wrap;
  gap:7px
}
.tabs {
  display:flex;
  gap:4px;
  overflow:auto;
  border-bottom:1px solid var(--line)
}
.tabs button {
  min-width:max-content;
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  padding:10px 13px;
  color:var(--muted);
  font-weight:650
}
.tabs button[aria-selected=true] {
  color:var(--accent);
  border-bottom-color:var(--accent)
}
.tab-content {
  padding-top:17px;
  min-height:185px
}
.stack {
  display:grid;
  gap:14px
}
.filter {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px
}
.gallery {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(129px,1fr));
  gap:10px
}
.picture {
  display:block;
  text-align:left;
  width:100%;
  min-width:0;
  background:#fafcfa;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--ink);
  overflow:hidden;
  padding:0
}
.picture:hover {
  border-color:#548a7a;
  box-shadow:0 2px 8px #1a51401a
}
.picture img {
  display:block;
  width:100%;
  height:130px;
  object-fit:contain;
  background:#eef1ee
}
.picture .caption {
  display:block;
  padding:7px 8px;
  font-size:.84rem
}
.picture .caption strong {
  display:block;
  font-size:.875rem
}
.picture .caption span {
  color:var(--muted);
  display:block;
  margin-top:3px
}
.input-list {
  display:grid;
  gap:8px
}
.input-list details,details.data-detail {
  border:1px solid var(--line);
  border-radius:8px;
  background:#fafcfa;
  padding:9px 12px
}
.input-list summary,details.data-detail summary {
  cursor:pointer;
  font-weight:650;
  color:#2b594e
}
.input-list pre {
  background:#edf2ee;
  border-radius:7px;
  font:normal .9rem/1.52 ui-monospace,Consolas,monospace;
  padding:10px 13px;
  white-space:pre-wrap;
  overflow:auto;
  max-height:360px;
  overflow-wrap:anywhere;
  margin:.75rem 0 .5rem
}
.record-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.fact {
  padding:13px 14px;
  background:#f4f8f5;
  border:1px solid #e2eae5;
  border-radius:9px
}
.fact span {
  display:block;
  color:var(--muted);
  font-size:.86rem;
  margin-bottom:5px
}
.fact strong {
  display:block;
  font-weight:720;
  color:#23443b;
  line-height:1.35
}
.table-wrap {
  overflow:auto
}
.data-table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:.9rem
}
.data-table th,.data-table td {
  padding:10px 11px;
  border-bottom:1px solid var(--line);
  vertical-align:top
}
.data-table thead th {
  background:#edf3ef;
  color:#2e5248
}
.data-table tbody th {
  font-weight:630;
  color:#23443b
}
.data-table td a {
  font-weight:650
}
.data-table tbody tr:last-child td,.data-table tbody tr:last-child th {
  border-bottom:0
}
.callout {
  border-left:3px solid var(--accent);
  background:#ecf6f0;
  padding:10px 13px;
  border-radius:0 6px 6px 0
}
.callout.warning {
  border-left-color:#b46c25;
  background:#faf2e6
}
.technical-link {
  font-weight:650
}
.footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
  padding:12px 0 23px;
  color:var(--muted);
  font-size:.82rem
}
.noscript {
  padding:15px
}
dialog {
  border:1px solid #d1ded7;
  border-radius:12px;
  background:#f9fcfa;
  color:var(--ink);
  width:min(880px,calc(100% - 20px));
  max-height:95dvh;
  padding:0;
  overflow:auto
}
dialog::backdrop {
  background:#112520cc
}
.lightbox-head,.lightbox-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 13px
}
.lightbox-head p {
  color:var(--muted);
  font-size:.875rem;
  margin-top:3px
}
#large-photo {
  display:block;
  width:100%;
  height:min(68vh,760px);
  object-fit:contain;
  background:#e4ede8
}
.lightbox-foot span {
  color:var(--muted);
  font-size:.875rem
}
@media(max-width:870px) {
  .frame {
    width:calc(100% - 36px)
  }
  .work-grid {
    grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)
  }
  .control-panel {
    padding:14px
  }
  .stage {
    min-height:375px
  }
  .topbar nav {
    gap:12px
  }
  .viewer-foot>span {
    font-size:.78rem
  }
}
@media(max-width:650px) {
  .frame {
    width:calc(100% - 24px)
  }
  .topbar-inner {
    height:55px;
    gap:9px
  }
  .topbar nav {
    margin-left:auto
  }
  .topbar nav a {
    font-size:.78rem
  }
  .top-meta {
    display:none
  }
  .brand {
    font-size:.875rem
  }
  .brand-icon {
    display:none
  }
  .intro {
    padding-top:26px
  }
  .asset-selector {
    gap:7px
  }
  .asset-select {
    padding:7px;
    grid-template-columns:38px minmax(0,1fr);
    gap:7px;
    min-height:73px
  }
  .asset-select img {
    width:38px;
    height:48px
  }
  .asset-select strong {
    font-size:.9rem
  }
  .asset-select small,.selector-meta {
    font-size:.73rem
  }
  .select-check {
    display:none
  }
  .work-grid {
    grid-template-columns:1fr
  }
  .stage {
    min-height:310px
  }
  .section-head {
    align-items:flex-start;
    flex-direction:column;
    gap:8px
  }
  .record-panel,.compare {
    padding:12px
  }
  .record-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .tabs button {
    font-size:.875rem;
    padding-inline:8px
  }
  .gallery {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .footer {
    font-size:.75rem
  }
  .data-table td,.data-table th {
    padding:8px 9px
  }
}
.inline-action {
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#f7faf8;
  color:var(--accent);
  white-space:nowrap
}
.inline-action:hover {
  background:var(--light)
}
