@font-face { font-family: Anybody; src: url(/shared/fonts/anybody.woff2) format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/shared/fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
:root { color-scheme: light; --night: #161c2b; --mist: #eef0ee; --paper: #f8f9f7; --ink: #1a2030; --quiet: #535b6b; --lamp: #f2b872; --clay: #9a4f1c; --line: #1a203022; --fill: #1a20300f; --fill2: #1a20301f; --card: #fbfcfa; --field: #fff; --edge: #1a203059; --deep: #161c2b; --on: #231c30; --press: var(--ink); --onpress: var(--mist); }
:root[data-theme="dark"] { color-scheme: dark; --night: #2a2350; --mist: #151230; --paper: #2a2350; --ink: #fff4e8; --quiet: #cabfd9; --lamp: #ffc27a; --clay: #ffb08a; --line: #ffffff1f; --fill: #ffffff12; --fill2: #ffffff24; --card: #201a40; --field: #151230; --edge: #ffffff66; --deep: #2a2350; --press: var(--lamp); --onpress: var(--on); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--mist); scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); font: 400 1rem/1.45 "Instrument Sans", system-ui, sans-serif; min-height: 100vh; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, header a { font-family: Anybody, system-ui, sans-serif; font-weight: 250; font-stretch: 104%; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
h2 { font-size: 1.9rem; line-height: 1.1; overflow-wrap: anywhere; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.quiet { color: var(--quiet); font-size: 0.94rem; text-wrap: pretty; }
.bad { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
label:has(.sr) { position: relative; }
label:has(.sr:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
button, select, input, textarea { font: inherit; color: inherit; }
button, .button { min-height: 44px; padding: 0 0.9rem; background: var(--fill); border: 0; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; text-align: left; transition: background 0.15s, scale 0.15s; }
button:hover, .button:hover { background: var(--fill2); }
button:active, .button:active { scale: 0.98; }
button:disabled { opacity: 0.45; cursor: default; }
.main, .main:hover { background: var(--press); color: var(--onpress); font-weight: 600; }
select, input:not([type="checkbox"]), textarea { min-height: 44px; padding: 0 0.6rem; border: 1px solid var(--edge); border-radius: 6px; background: var(--field); min-width: 0; max-width: 100%; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.8rem 0; }
.wide { width: 100%; margin-top: 1.2rem; }
.link { background: none; border: 0; padding: 0 0.25rem; text-decoration: underline; text-underline-offset: 3px; }
header { background: var(--deep); color: #fff4e8; padding: 0.35rem clamp(1rem, 2.4vw, 1.75rem); display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; align-items: center; }
header a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
header > a { font-weight: 600; font-size: 1.1rem; font-stretch: 125%; letter-spacing: 0; }
header > span { overflow-wrap: anywhere; min-width: 0; color: #cdc6dc; padding-left: 1.25rem; border-left: 1px solid #ffffff2e; line-height: 1.6; }
header > span:empty { display: none; }
#sum { color: #cdc6dc; font-variant-numeric: tabular-nums; }
header div { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; align-items: center; }
header :is(button, .button) { background: none; padding: 0; border-radius: 0; border-bottom: 2px solid transparent; opacity: 0.85; transition: opacity 0.15s, border-color 0.15s; }
header :is(button, .button):hover { background: none; opacity: 1; border-color: #ffffff59; }
header :is(button, .button):active { scale: 1; }
header button:disabled { opacity: 0.4; border-color: transparent; }
#theme { padding-left: 1.4rem; border-left: 1px solid #ffffff2e; }
#lang { margin: 0; gap: 1.1rem; flex-wrap: nowrap; }
#lang button, #lang button:hover { padding: 0; border: 0; background: none; border-bottom: 2px solid transparent; border-radius: 0; opacity: 0.75; transition: opacity 0.15s, border-color 0.15s; }
#lang button:hover, #lang [aria-pressed="true"] { opacity: 1; }
#lang [aria-pressed="true"] { border-color: var(--lamp); }
header :focus-visible, header label:has(.sr:focus-visible), #act :focus-visible { outline-color: var(--lamp); }
.prog { background: var(--deep); height: 3px; overflow: hidden; }
.prog svg { background: #ffffff1a; }
.prog svg { display: block; }
.prog rect { fill: var(--lamp); transition: width 0.3s; }
#fileError:not(:empty) { padding: 1rem 1.75rem; }
#open { padding: clamp(3rem, 14vh, 9rem) clamp(1.2rem, 8vw, 8rem); max-width: 60rem; }
#open > p { font-size: 1.25rem; margin: 1.4rem 0; max-width: 32rem; text-wrap: pretty; }
#open > .quiet { font-size: 1rem; }
body.over { outline: 4px solid var(--lamp); outline-offset: -4px; }
main { display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; gap: 10px; padding: 10px; min-height: calc(100vh - 75px); }
main > * { padding: 1.4rem 1.5rem; min-width: 0; background: var(--card); border-radius: 8px; }
aside h3:first-child { margin-top: 0; }
#places button { display: flex; justify-content: space-between; gap: 0.6rem; width: calc(100% + 20px); background: none; padding: 0 10px; margin-left: -10px; overflow-wrap: anywhere; }
#places button:hover { background: var(--fill); }
#places button[aria-pressed="true"] { background: var(--fill2); font-weight: 600; }
#places button.in { padding-left: 1.5rem; }
#places span + span { color: var(--quiet); font-variant-numeric: tabular-nums; white-space: nowrap; }
#places button.in2 { padding-left: 2.5rem; }
#places button.srv { font-weight: 600; margin-top: 0.5rem; }
#places .note { display: block; color: var(--quiet); font-size: 0.82rem; padding: 0 0 0.3rem 0; overflow-wrap: anywhere; }
#places h3 { margin: 1.4rem 0 0.2rem; }
#places .quiet { font-size: 0.82rem; margin: 0 0 0.4rem; }
#places .miss { border-left: 2px dashed var(--line); padding: 0.2rem 0 0.6rem 0.6rem; margin: 0.4rem 0; }
#places .miss button { width: calc(100% + 10px); margin-left: -0.6rem; padding-left: 0.6rem; }
#places .miss button span + span { color: var(--clay); }
#places .miss small { display: block; color: var(--quiet); font-size: 0.82rem; margin-bottom: 0.4rem; overflow-wrap: anywhere; }
#places .miss .button { min-height: 44px; display: inline-flex; align-items: center; }
#own li { padding: 0.5rem 0; font-size: 0.94rem; color: var(--quiet); overflow-wrap: anywhere; }
#own b { color: var(--ink); font-weight: 600; display: block; }
#modes { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 8px; background: var(--fill); width: fit-content; max-width: 100%; }
#modes button { flex: none; background: none; white-space: nowrap; color: var(--quiet); }
#modes button:hover { background: var(--fill); }
#modes [aria-pressed="true"], #modes [aria-pressed="true"]:hover { background: var(--field); color: var(--ink); font-weight: 600; }
:root[data-theme="dark"] #modes [aria-pressed="true"] { background: #ffffff26; }
#said { min-height: 2rem; padding: 0.3rem 0; color: var(--clay); }
.bar { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin-bottom: 0.8rem; }
.bar input { flex: 1 1 14rem; }
article { border-top: 1px solid var(--line); }
article.at { background: var(--fill); border-radius: 6px; border-color: transparent; }
article.at + article { border-color: transparent; }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px minmax(200px, 0.8fr); align-items: center; gap: 0.5rem; min-height: 76px; }
.ck { display: grid; place-items: center; min-height: 48px; cursor: pointer; }
.name, .name:hover { background: none; border: 0; padding: 0.5rem 0; min-width: 0; display: block; }
.name b { font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.name span { display: block; color: var(--quiet); font-size: 0.94rem; overflow-wrap: anywhere; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.guess { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0 0.5rem 0 1rem; min-width: 0; overflow-wrap: anywhere; }
.guess button { flex: none; }
.guess small { display: block; color: var(--quiet); font-size: 0.94rem; }
.way { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 2rem; padding: 0 0.5rem 1rem 56px; }
.way h3 { margin: 0 0 0.6rem; }
article .chain { margin: 0; padding: 0; list-style: none; }
article .chain li { display: block; border: 0; cursor: auto; position: relative; padding: 0 0 1rem 1.4rem; }
.chain li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: -5px; border-left: 2px solid var(--line); }
.chain .end::before { background: var(--lamp); }
.chain .gone::before { border-style: dashed; border-color: var(--clay); }
.chain :is(b, span) { display: block; overflow-wrap: anywhere; }
.chain span { color: var(--quiet); font-size: 0.94rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; }
fieldset label { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; }
.servers h2 { margin: 2rem 0 0.3rem; }
.servers h2:first-child { margin-top: 0; }
.servers small { display: block; color: var(--quiet); font-size: 0.94rem; font-weight: 400; }
.servers b { overflow-wrap: anywhere; font-weight: 600; }
.server { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 0.4rem 1.2rem; align-items: center; border-top: 1px solid var(--line); padding: 0.7rem 0; min-height: 64px; }
.server.no b { color: var(--quiet); }
.server .acts { margin: 0; }
.server > label { justify-self: start; }
.servers form { align-items: end; padding-bottom: 1rem; margin: 0; }
#reading { padding: 0 1.75rem; color: var(--clay); }
#reading:empty { display: none; }
article ul { padding: 0 0.5rem 0.75rem 56px; }
article li { display: grid; grid-template-columns: minmax(0, 1.3fr) 4rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; align-items: center; font-size: 0.94rem; border-top: 1px solid var(--line); cursor: grab; overflow-wrap: anywhere; }
article li label { display: flex; gap: 0.6rem; min-height: 44px; align-items: center; font-weight: 600; min-width: 0; }
article li label span { min-width: 0; color: inherit; }
article li input { flex: none; }
article li > span { color: var(--quiet); }
.point { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; align-items: center; border-top: 1px solid var(--line); min-height: 60px; padding: 0.4rem 0; }
.point.two { grid-template-columns: minmax(0, 1fr) auto; }
.point b { font-weight: 600; overflow-wrap: anywhere; display: block; }
.point small { display: block; font-size: 0.9rem; color: var(--quiet); overflow-wrap: anywhere; }
.deep1 > :first-child { padding-left: 1rem; }
.deep2 > :first-child { padding-left: 2rem; }
.deep3 > :first-child { padding-left: 3rem; }
.deep4 > :first-child { padding-left: 4rem; }
.empty { padding: 3rem 0; font-size: 1.25rem; }
.keys { margin-top: 1.1rem; }
#act { position: sticky; bottom: 10px; z-index: 2; background: var(--deep); color: #fff4e8; margin: 1.25rem -0.9rem -0.8rem; padding: 0.8rem 0.9rem; border-radius: 8px; box-shadow: 0 10px 34px #0c092040; display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; align-items: center; }
#act label { display: flex; gap: 0.5rem; align-items: center; flex: 1 1 240px; white-space: nowrap; min-width: 0; }
#act :is(input, select) { color: var(--ink); flex: 1; }
#act button { background: #ffffff1f; }
#act button:hover { background: #ffffff36; }
#act .main, #act .main:hover { background: var(--lamp); color: var(--on); }
#eq .pick { display: grid; gap: 0.25rem; margin-bottom: 1.4rem; color: var(--quiet); font-size: 0.94rem; }
#eq .pick select { color: var(--ink); width: 100%; }
.slots li { display: flex; justify-content: space-between; gap: 0.9rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.94rem; }
.slots span + span { text-align: right; overflow-wrap: anywhere; min-width: 0; color: var(--quiet); }
.slots .miss span + span { white-space: nowrap; flex: none; color: var(--clay); font-weight: 600; }
#eq.over, .slots li.over { background: #f2b87233; }
.links li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; font-size: 0.94rem; overflow-wrap: anywhere; }
.links small { color: var(--quiet); font-size: 0.9rem; }
.diff { font-size: 0.94rem; max-height: 260px; overflow: auto; margin-top: 0.8rem; }
.diff li { padding: 0.5rem 0; border-top: 1px solid var(--line); }
#net { overflow-x: auto; }
#net svg { display: block; width: 100%; min-width: 760px; }
#net path { fill: none; stroke: var(--quiet); stroke-width: 1.4; opacity: 0.65; }
#net .maybe { stroke-dasharray: 5 5; stroke: var(--clay); }
#net .hot { stroke-width: 3; opacity: 1; }
#net rect { fill: var(--card); stroke: var(--edge); }
#net text { text-anchor: middle; font-size: 15px; fill: var(--ink); }
#net .hd { fill: var(--quiet); }
#net g { cursor: pointer; }
#net g:hover rect, #net .sel rect { stroke: var(--ink); stroke-width: 2; }
#net .src rect { fill: var(--lamp); }
#net .src text { fill: var(--on); }
#stage { position: relative; overflow: hidden; background: radial-gradient(90% 85% at 50% 62%, #33435f 0, #1b2539 48%, #0e1422 100%); height: max(420px, calc(100vh - 290px)); margin: 0 0 0.6rem; border-radius: 8px; }
:root[data-theme="dark"] #stage { background: radial-gradient(90% 85% at 50% 62%, #4a3d7a 0, #251e48 48%, #120f2a 100%); }
#c { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
#tip { position: fixed; z-index: 4; left: 0; top: 0; pointer-events: none; font-weight: 600; color: #fff4e8; text-shadow: 0 0 10px #100c28, 0 1px 3px #100c28; white-space: nowrap; translate: -50% -130%; }
#tip small { display: block; font-weight: 400; font-size: 0.9rem; }
#building h2, #filesPart h2 { margin: 1.8rem 0 0.3rem; }
#filesPart h2:first-child { margin-top: 0; }
details { border-top: 1px solid var(--line); }
details + details, details + ul { border-bottom: 1px solid var(--line); }
summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; margin: 0 4px 0 auto; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -3px; }
details[open] > summary::after { rotate: 225deg; translate: 0 3px; }
details > div { padding-bottom: 1.2rem; }
.field { display: grid; margin-bottom: 0.7rem; color: var(--quiet); max-width: 34rem; }
.field :is(input, select) { color: var(--ink); width: 100%; }
textarea { width: 100%; height: 22rem; padding: 0.6rem; font: 400 0.88rem/1.5 ui-monospace, Consolas, monospace; resize: vertical; }
.check { display: inline-flex; gap: 0.6rem; align-items: center; min-height: 44px; }
dialog { border: 0; border-radius: 8px; background: var(--card); color: var(--ink); padding: 1.9rem; max-width: 540px; width: calc(100% - 36px); }
dialog::backdrop { background: #161c2bb0; }
dialog p { margin-top: 0.8rem; overflow-wrap: anywhere; }
dialog .acts { margin: 1.5rem 0 0; }
.parts { display: none; }
@media (max-width: 1100px) {
  .parts { display: flex; gap: 2px; margin: 10px 10px 0; padding: 4px; border-radius: 8px; background: var(--fill); }
  .parts button { flex: 1; justify-content: center; background: none; }
  .parts [aria-pressed="true"] { background: var(--fill2); font-weight: 600; }
  main { display: block; }
  main > * { display: none; padding: 1.25rem 1.1rem; }
  [data-part="places"] aside, [data-part="work"] #middle, [data-part="eq"] #eq { display: block; }
  #eq { min-height: calc(100vh - 130px); }
  header { padding: 0.5rem 0.9rem; }
  #act { margin: 1.25rem -0.5rem -0.6rem; padding: 0.75rem; }
}
@media (max-width: 700px) {
  .way, .server { grid-template-columns: minmax(0, 1fr); }
  .way { padding-left: 44px; }
  .row { grid-template-columns: 44px minmax(0, 1fr) 40px; }
  .guess { grid-column: 2 / -1; padding: 0 0 0.75rem; }
  article ul { padding-left: 44px; }
  article li { grid-template-columns: 1fr 1fr; padding-bottom: 0.4rem; }
  article li label { grid-column: 1 / -1; }
  .point { grid-template-columns: 44px minmax(0, 1fr); }
  .point > :nth-child(3) { grid-column: 2; }
  .point.two { grid-template-columns: minmax(0, 1fr) auto; }
  .keys { display: none; }
  header div { margin: 0; }
  #act label { flex-basis: 100%; }
  #stage { height: 52vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.one { border-top: 1px solid var(--line); padding: 1rem 0.9rem; margin: 0 -0.9rem; }
.one.at { background: var(--fill); border-radius: 6px; border-color: transparent; }
.one.at + .one { border-color: transparent; }
.one .top { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; min-height: 28px; }
.one .top b { font-weight: 600; }
.one .top .quiet { white-space: nowrap; }
.ex { list-style: none; margin: 0.8rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; }
.ex li { overflow-wrap: anywhere; min-width: 0; }
.ex .quiet { display: block; }
mark { background: none; color: inherit; border-bottom: 3px solid var(--lamp); padding-bottom: 1px; }
.words { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0.8rem 1.2rem; margin: 0.8rem 0; align-items: end; }
.words .field small { display: block; color: var(--quiet); font-size: 0.86rem; margin-top: 0.1rem; }
.words[hidden] { display: none; }
.words .field { display: grid; gap: 0.25rem; min-width: 0; }
.words .field > span { color: var(--quiet); font-size: 0.94rem; overflow-wrap: anywhere; }
.words .field b { color: var(--ink); font-weight: 600; }
.words select { width: 100%; }
.words .check { min-height: 44px; }
.reads { list-style: none; margin: 0; padding: 0; }
.reads li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem; padding: 0.6rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; font-size: 0.94rem; }
.reads span + span { color: var(--quiet); }
.reads .ok span + span { color: var(--ink); font-weight: 600; }
.earlier { margin-bottom: 1rem; }

/* the building is dark, what's read for hours stays light */
header .plain { font: inherit; font-size: 1rem; letter-spacing: 0; opacity: 0.85; border-bottom: 2px solid transparent; transition: opacity 0.15s, border-color 0.15s; }
header .plain:hover { opacity: 1; border-color: #ffffff59; }
#crumb { position: absolute; left: 10px; top: 6px; right: 10px; display: flex; flex-wrap: wrap; pointer-events: none; }
#crumb button { pointer-events: auto; border: 0; padding: 0 0.6rem; color: #c3bdd4; background: none; border-radius: 4px; }
#crumb button:hover { background: #ffffff14; }
#crumb [aria-current] { color: #eaf0fa; font-weight: 600; }
#srv { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 2px; max-width: min(320px, 55%); max-height: 60%; overflow: auto; }
#srv button { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.7rem; border: 0; border-radius: 4px; background: #111828cc; color: #eaf0fa; text-align: left; }
#srv button:hover { background: #1b2539ee; }
#srv button[aria-pressed="true"] { background: #2a3753; font-weight: 600; }
#srv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#srv small { color: #aab6cb; font-size: 0.82rem; white-space: nowrap; }
#srv .sw { width: 14px; height: 14px; border-radius: 3px; }
#srv .sw.miss { border: 2px dashed #ff9b85; }
#looks { position: absolute; left: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 0.6rem; pointer-events: none; }
#looks button { pointer-events: auto; border-radius: 4px; color: #eaf0fa; background: #ffffff1c; }
#looks button:hover, #looks > [aria-pressed="true"] { background: #ffffff2e; }
#looks .seg { display: flex; padding: 3px; border-radius: 6px; background: #0c1220b0; }
#looks .seg button { background: none; }
#looks .seg [aria-pressed="true"] { background: #ffffff24; font-weight: 600; }
#stage :focus-visible, .dark #eq :focus-visible { outline-color: var(--lamp); }
.dark #eq { background: #1a2438; color: #eaf0fa; }
:root[data-theme="dark"] .dark #eq { background: var(--card); }
.dark #eq :is(.quiet, .rows span + span, .chain span) { color: #aab6cb; }
.dark #eq button { background: #ffffff14; }
.dark #eq button:hover { background: #ffffff26; }
.dark #eq .main { background: var(--lamp); color: var(--on); }
.dark #eq .main:hover { background: #ffd29a; }
.dark #eq .acts { margin-top: 1rem; }
.dark #eq .rows button { display: flex; justify-content: space-between; gap: 0.9rem; width: calc(100% + 20px); margin: 0 -10px; padding: 0.4rem 10px; background: none; text-align: left; }
.dark #eq .rows button:hover { background: #ffffff12; }
.rows span { min-width: 0; overflow-wrap: anywhere; }
.dark .rows span:first-child { flex: 1 0 45%; max-width: 70%; }
.rows span + span { text-align: right; font-size: 0.94rem; }
.meter { height: 4px; border-radius: 2px; background: #ffffff1c; margin-top: 0.9rem; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 2px; background: var(--lamp); }
.dark .chain { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.dark .chain li { position: relative; padding: 0 0 1rem 1.4rem; }
.dark .chain li::before { border-color: #aab6cb; }
.dark .chain li:not(:last-child)::after { border-color: #ffffff2e; }
.ref { color: var(--lamp); display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
@media (max-width: 700px) { #stage { height: 62vh; } }
@media (max-width: 1100px) { .dark [data-part="work"] main, [data-part="work"].dark main { display: block; } [data-part="work"].dark #eq { display: block; min-height: 0; } }
#net rect { rx: 9px; }
.bar label { flex: none; white-space: nowrap; }
@media (max-width: 700px) {
  header { gap: 0 1rem; }
  header div:not(#lang) { width: 100%; gap: 0.5rem 0.8rem; }
  #sum { flex: 1 0 100%; }
  #lang { margin-left: auto; }
  .num { padding-right: 0.8rem; }
}
@media (max-width: 640px) {
  header { gap: 0 1rem; }
  header > div { margin-left: 0; width: 100%; gap: 0 1.1rem; }
  #sum { width: 100%; }
  #theme { padding-left: 0; border-left: 0; }
  #lang { gap: 0.9rem; margin-left: auto; }
}
