:root {
  color-scheme: dark;
  --ink: #d3e6e2;
  --dim: #7e9592;
  --acc: #72ecd4;
  --mono: 'Share Tech Mono', ui-monospace, Consolas, monospace;
  --head: 'Chakra Petch', system-ui, sans-serif;
  --plate: linear-gradient(180deg, rgba(22, 31, 34, 0.86), rgba(11, 16, 18, 0.86));
  --edge: rgba(130, 170, 168, 0.28);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #01060a; color: var(--ink); font-family: var(--mono); }
#view { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; }
kbd {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 0.4em; margin-right: 2px;
  font: 600 11px/1 var(--head); color: #dff3ee; border-radius: 3px;
  background: linear-gradient(#56646a, #2a3438); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 0 #0b1012;
}

/* HUD */
.hud, .keys, .hudbtn, .rosterwrap, .inv {
  position: fixed; z-index: 2; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--plate); border: 1px solid var(--edge); color: rgba(200, 228, 222, 0.82);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.hud { top: 14px; left: 16px; display: flex; gap: 16px; padding: 9px 14px; align-items: center; }
.hud b { font: 700 13px var(--head); color: #9ff1dd; letter-spacing: 0.16em; }
.hud em { font-style: normal; color: #e6f5f1; }
#netstate { padding: 2px 7px; border: 1px solid currentColor; font-size: 10px; }
#netstate.live { color: #6ff0a8; } #netstate.solo { color: #d9b56a; }
.keys { bottom: 82px; left: 16px; display: flex; gap: 16px; padding: 8px 12px; align-items: center; color: rgba(190, 215, 210, 0.7); }
.topright { position: fixed; top: 14px; right: 16px; z-index: 3; display: flex; gap: 8px; }
.hudbtn { position: static; padding: 9px 14px; cursor: pointer; display: flex; gap: 8px; align-items: center; font-family: var(--mono); }
.hudbtn:hover, .hudbtn:focus-visible { color: #fff; outline: none; border-color: rgba(160, 230, 215, 0.6); }
.mute i { width: 8px; height: 8px; border-radius: 50%; background: #66f0a8; box-shadow: 0 0 8px #66f0a8; }
.mute[aria-pressed="true"] i { background: #ff5b4f; box-shadow: 0 0 8px #ff5b4f; }

.rosterwrap { top: 60px; right: 16px; width: 210px; max-height: min(46vh, 420px); overflow: auto; padding: 6px 10px 8px; text-transform: none; letter-spacing: 0.02em; }
.rosterhead { all: unset; cursor: pointer; display: flex; width: 100%; gap: 6px; align-items: center; margin: 0 0 6px; font: 700 11px var(--head); letter-spacing: 0.22em; text-transform: uppercase; color: #8fb7ae; }
.rosterhead span { color: #d8ebe6; letter-spacing: 0.06em; }
.rosterhead i { margin-left: auto; font-style: normal; transition: transform 0.2s; }
.rosterwrap.closed .rosterhead { margin: 0; }
.rosterwrap.closed .rosterhead i { transform: rotate(-90deg); }
.rosterwrap.closed #roster { display: none; }
body.helm .rosterwrap { max-height: 30vh; }
#roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
#roster li { display: flex; align-items: center; gap: 7px; padding: 3px 5px; color: #cfe0dc; font-size: 12px; cursor: pointer; border-left: 2px solid var(--tint); }
#roster li svg { color: var(--tint); flex: none; }
#roster li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#roster li.me { background: rgba(120, 220, 200, 0.08); cursor: default; color: #fff; }
#roster li:not(.me):hover { background: rgba(255, 255, 255, 0.05); }
#roster em { font-style: normal; font-size: 10px; color: #9fe6ff; border: 1px solid rgba(159, 230, 255, 0.5); padding: 0 4px; letter-spacing: 0.1em; }

.inv { bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; gap: 6px; padding: 7px 8px; text-transform: none; letter-spacing: 0.02em; clip-path: none; }
.inv-role { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 4px; color: var(--tint); border-right: 1px solid var(--edge); }
.inv-role span { display: grid; line-height: 1.1; }
.inv-role small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa9a4; }
.inv-role b { font: 700 14px var(--head); letter-spacing: 0.06em; text-transform: uppercase; color: #eef8f5; }
.slot { position: relative; width: 50px; height: 50px; display: grid; place-items: center; color: #d6e8e3; border: 1px solid rgba(130, 170, 168, 0.32);
  background: radial-gradient(circle at 50% 35%, rgba(120, 180, 175, 0.12), rgba(0, 0, 0, 0.35)); }
.slot i { position: absolute; top: 2px; left: 4px; font: 600 9px var(--head); color: #7d9792; font-style: normal; }
.slot span { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; font-size: 11px;
  background: #081012; border: 1px solid var(--edge); opacity: 0; pointer-events: none; transition: opacity 0.12s; }
.slot:hover span, .slot:focus-visible span { opacity: 1; }
.slot:focus-visible { outline: 1px solid var(--tint); }

.crewcard { position: fixed; z-index: 4; width: 260px; padding: 10px; background: linear-gradient(#152024, #0b1214); border: 1px solid var(--tint); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.crewcard[hidden] { display: none; }
.crewcard header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; color: var(--tint); }
.crewcard header div { display: grid; }
.crewcard b { font: 700 15px var(--head); color: #f1fbf8; letter-spacing: 0.04em; }
.crewcard small { font-size: 11px; color: #9db6b1; }
.crewcard .kit { display: grid; grid-template-columns: repeat(auto-fill, 44px); gap: 5px; }
.crewcard .slot { width: 44px; height: 44px; }
.toast { position: fixed; z-index: 5; top: 64px; left: 50%; transform: translateX(-50%); padding: 9px 16px; font: 600 13px var(--head); letter-spacing: 0.06em; color: #eafaf6;
  background: rgba(8, 16, 18, 0.92); border: 1px solid rgba(120, 236, 212, 0.5); }
.toast[hidden] { display: none; }
.toast.show { animation: toast 4.2s both; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -8px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

.helmhud { position: fixed; z-index: 3; right: 16px; bottom: 16px; display: none; gap: 14px; align-items: flex-end; }
body.helm .helmhud { display: flex; }
body.helm .keys, body.helm .inv { display: none; }
#dial { width: 210px; height: 210px; touch-action: none; cursor: crosshair; filter: drop-shadow(0 0 12px rgba(80, 200, 240, 0.25)); }
.helm-read { background: var(--plate); border: 1px solid rgba(159, 230, 255, 0.4); padding: 10px 12px; color: #cfe8f0; font-size: 12px; min-width: 210px; }
.helm-read h2 { margin: 0 0 6px; font: 700 12px var(--head); letter-spacing: 0.24em; text-transform: uppercase; color: #9fe6ff; }
.helm-read dl { margin: 0 0 8px; display: grid; gap: 3px; }
.helm-read dl div { display: flex; justify-content: space-between; gap: 16px; }
.helm-read dt { color: #7f9aa2; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.helm-read dd { margin: 0; color: #fff; }
.helm-read p { margin: 0 0 8px; color: #8aa3aa; }
.helm-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.helm-btns .hudbtn { padding: 6px 9px; font-size: 11px; }

/* in-world interaction prompt */
.prompt {
  position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; white-space: nowrap;
  font: 600 13px var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: #eafaf6;
  background: linear-gradient(rgba(12, 20, 22, 0.92), rgba(6, 11, 12, 0.92));
  border: 1px solid color-mix(in srgb, var(--acc) 70%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 30%, transparent);
}
.prompt[hidden] { display: none; }
.prompt::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: #070c0d; border-right: 1px solid color-mix(in srgb, var(--acc) 70%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--acc) 70%, transparent); }
.prompt kbd { background: linear-gradient(color-mix(in srgb, var(--acc) 85%, white), color-mix(in srgb, var(--acc) 55%, black)); color: #041210; }

/* boarding screen */
.board {
  position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(ellipse at 50% 55%, rgba(4, 24, 30, 0.55), rgba(0, 4, 6, 0.96) 70%);
  transition: opacity 0.9s ease, backdrop-filter 0.9s;
  backdrop-filter: blur(3px);
}
.board[hidden] { display: none; }
.board.gone { opacity: 0; pointer-events: none; backdrop-filter: blur(0); }
.board-in { text-align: center; padding: 16px; opacity: 0; transform: translateY(8px); transition: opacity 0.8s, transform 0.8s; }
.board.ready .board-in { opacity: 1; transform: none; }
.board-k { font: 600 12px var(--head); letter-spacing: 0.5em; color: #6fd8c3; margin: 0; }
.board h1 {
  margin: 6px 0 4px; font: 700 clamp(54px, 11vw, 128px)/0.95 var(--head); letter-spacing: 0.06em; text-transform: uppercase;
  color: #cfe9e3; text-shadow: 0 0 30px rgba(110, 230, 210, 0.25), 0 2px 0 #071012;
}
.board-role { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 22px; padding: 6px 12px; color: #cfe6e0; font-size: 13px; letter-spacing: 0.04em; border: 1px dashed rgba(120, 236, 212, 0.35); }
.board-role b { color: #fff; }
.board-s { margin: 6px auto 22px; max-width: 560px; color: #8fb2ac; font-size: 15px; letter-spacing: 0.08em; }
.board-go span {
  display: inline-block; padding: 11px 22px; font: 600 14px var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: #dffbf4;
  border: 1px solid rgba(120, 236, 212, 0.55); background: rgba(10, 30, 32, 0.6);
  animation: breathe 2.4s ease-in-out infinite;
}
.board-n { margin-top: 18px; color: #5f7a76; font-size: 12px; letter-spacing: 0.1em; }
@keyframes breathe { 50% { box-shadow: 0 0 24px rgba(120, 236, 212, 0.35); border-color: rgba(120, 236, 212, 0.95); } }

/* terminal */
.term-wrap { position: fixed; inset: 0; z-index: 6; display: grid; place-items: center; padding: 16px; background: rgba(0, 4, 6, 0); transition: background 0.35s; }
.term-wrap.on { background: rgba(0, 4, 6, 0.55); }
.term-wrap[hidden] { display: none; }
.term {
  --scr: color-mix(in srgb, var(--acc) 62%, #f2fffb);
  position: relative; width: min(1000px, 100%); max-height: min(720px, calc(100dvh - 32px)); display: flex; flex-direction: column;
  padding: 12px 16px 10px; border-radius: 7px;
  background:
    radial-gradient(circle at 10px 10px, #a2adb1 0 2px, #1a2124 2.6px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 10px) 10px, #a2adb1 0 2px, #1a2124 2.6px 4px, transparent 4.5px),
    radial-gradient(circle at 10px calc(100% - 10px), #a2adb1 0 2px, #1a2124 2.6px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #a2adb1 0 2px, #1a2124 2.6px 4px, transparent 4.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 5px),
    linear-gradient(165deg, #5b686e, #343e43 30%, #22292c 70%, #171d20);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px #07090a;
  transform-origin: 50% 50%;
}
.term-head { display: flex; align-items: center; gap: 14px; padding: 0 12px 10px; }
.term-code {
  font: 700 11px var(--head); letter-spacing: 0.2em; color: #1a2124; padding: 3px 8px; border-radius: 2px;
  background: linear-gradient(#c3ccc8, #8d9893); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 0 rgba(0, 0, 0, 0.6);
}
.term-head h2 { margin: 0; flex: 1; font: 700 15px var(--head); letter-spacing: 0.18em; text-transform: uppercase; color: #c6d3d0; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.08); }
.term-close {
  font: 600 12px var(--head); letter-spacing: 0.14em; text-transform: uppercase; color: #d9e5e2; cursor: pointer;
  display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 3px; border: 1px solid #0b0f10;
  background: linear-gradient(#45525a, #262f33); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0 #0a0d0e;
}
.term-close:hover, .term-close:focus-visible { outline: none; background: linear-gradient(#55636b, #2e383d); color: #fff; }
.term-close:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.term-screen {
  position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 14px / 18px;
  background: radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--acc) 11%, #030c0c), #010505 78%);
  box-shadow: inset 0 0 0 2px #070a0b, inset 0 0 0 5px #11181a, inset 0 0 50px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.1);
}
.term-screen::before, .term-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit; }
.term-screen::before { background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.term-screen::after {
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55)), linear-gradient(180deg, transparent, color-mix(in srgb, var(--acc) 7%, transparent) 50%, transparent);
  background-size: 100% 100%, 100% 260px; background-repeat: no-repeat; animation: roll 7s linear infinite;
}
@keyframes roll { from { background-position: 0 0, 0 -260px; } to { background-position: 0 0, 0 calc(100% + 260px); } }
.term-body {
  position: relative; height: 100%; max-height: calc(min(720px, 100dvh - 32px) - 92px); overflow: auto; padding: 24px 30px 30px;
  color: var(--scr); font-size: 15px; line-height: 1.6;
  text-shadow: 0 0 7px color-mix(in srgb, var(--acc) 50%, transparent);
  scrollbar-color: color-mix(in srgb, var(--acc) 40%, transparent) transparent;
}
.boot .term-screen { animation: crt 0.5s cubic-bezier(.2, .7, .2, 1) both; }
.boot .term-body > * { animation: type 0.5s steps(4) both; }
.boot .term-body > *:nth-child(2) { animation-delay: 0.08s; }
.boot .term-body > *:nth-child(3) { animation-delay: 0.16s; }
@keyframes crt { 0% { transform: scale(0.7, 0.006); filter: brightness(5); } 45% { transform: scale(1, 0.006); filter: brightness(3); } 100% { transform: none; filter: none; } }
@keyframes type { 0% { opacity: 0; } 50% { opacity: 0.4; } 75% { opacity: 0.1; } 100% { opacity: 1; } }
.term-foot { display: flex; gap: 10px; align-items: center; padding: 9px 12px 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8d9b98; }
.term-foot .sp { flex: 1; }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

/* page content */
.term-body p { margin: 0 0 12px; }
.term-body a { color: #fff; text-decoration-color: color-mix(in srgb, var(--acc) 60%, transparent); text-underline-offset: 3px; }
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--acc); opacity: 0.75; }
.big { margin: 0 0 4px; font: 700 clamp(30px, 4.4vw, 48px)/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: #f1fffb; }
.lede { font-size: 17px; color: #eefcf8; }
.dim { opacity: 0.6; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.chip { font-size: 12px; letter-spacing: 0.1em; padding: 3px 9px; border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); background: color-mix(in srgb, var(--acc) 8%, transparent); }

@media (max-width: 760px) {
  .term { padding: 10px 10px 8px; }
  .term-head { padding: 0 6px 8px; gap: 10px; }
  .term-head h2 { font-size: 13px; }
  .term-body { padding: 18px 16px 22px; font-size: 14px; }
  .keys, .rosterwrap, .hide-sm, #dirbtn span { display: none; }
  .inv { bottom: 8px; gap: 4px; padding: 5px; max-width: calc(100vw - 16px); }
  .inv-role { display: none; }
  .slot { width: 42px; height: 42px; }
  .helmhud { left: 8px; right: 8px; bottom: 8px; justify-content: space-between; }
  #dial { width: 160px; height: 160px; }
  .helm-read { min-width: 0; flex: 1; }
  .modgrid, .dirgrid { grid-template-columns: minmax(0, 1fr) !important; }
  .setup-head.with-flair { grid-template-columns: minmax(0, 1fr) !important; }
  .hud { gap: 12px; font-size: 11px; padding: 8px 10px; }
  .mute span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .boot .term-screen, .boot .term-body > *, .term-screen::after, .board-go span { animation: none; }
}

/* setup pages */
.setup-head { display: grid; gap: 22px; align-items: center; margin-bottom: 18px; }
.setup-head.with-flair { grid-template-columns: minmax(0, 1fr) 240px; }
.flair.scope { width: 100%; aspect-ratio: 1; cursor: crosshair; }
.flair.ekg { width: 100%; height: 120px; border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.chip.warn { border-color: #ffb54d; color: #ffd08a; }
.modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.mod { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); background: color-mix(in srgb, var(--acc) 4%, transparent); }
.mod.retired { opacity: 0.62; border-style: dashed; }
.mod-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.tier { padding: 1px 7px; text-shadow: none; color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); }
.tier.core { color: #041210; background: var(--acc); border-color: var(--acc); }
.tier.skip { background: #5a3a32; color: #ffd6cc; border-color: #5a3a32; }
.lua { opacity: 0.85; text-align: right; }
.lua.warn { color: #ffcb80; } .lua.ok { color: #9be8b8; } .lua.self { color: #fff; }
.mod h4 { margin: 2px 0 0; font: 700 18px/1.15 var(--head); letter-spacing: 0.02em; }
.mod h4 a { color: #f2fffb; text-decoration: none; }
.mod h4 a:hover { text-decoration: underline; }
.by { margin: -4px 0 0 !important; font-size: 12px; opacity: 0.6; }
.what { margin: 0 !important; color: #e6f6f2; font-size: 14px; }
.why { margin: 0 !important; font-size: 13px; }
.why b { color: var(--acc); font-weight: 400; }
.mod-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; opacity: 0.75; margin-top: auto; padding-top: 4px; }
.mod-links { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { font: 600 12px var(--head); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; color: #041210 !important; background: var(--acc); padding: 5px 10px; text-shadow: none; }
.btn.ghost { background: transparent; color: var(--acc) !important; border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); }
.btn:hover { filter: brightness(1.15); }
.block { margin: 0 0 18px; padding: 12px 14px; border-left: 2px solid color-mix(in srgb, var(--acc) 60%, transparent); background: rgba(0, 0, 0, 0.18); }
.block h5 { margin: 0 0 8px; font: 700 13px var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--acc); }
.block ol, .block ul { margin: 0 0 6px; padding-left: 22px; }
.block li { margin: 3px 0; color: #e6f6f2; }
.warnings { border-left-color: #ffb54d; }
.warnings h5 { color: #ffc56e; }
.small-note { font-size: 13px; margin: 6px 0 0 !important; }
.source { font-size: 12px; opacity: 0.55; margin-top: 10px !important; }
.dirgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; }
.dir { all: unset; cursor: pointer; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); background: color-mix(in srgb, var(--acc) 7%, transparent); font-family: var(--mono); }
.dir:hover, .dir:focus-visible { background: color-mix(in srgb, var(--acc) 16%, transparent); border-color: var(--acc); }
.dir-st { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc); }
.dir b { font: 700 20px var(--head); color: #f2fffb; text-transform: uppercase; letter-spacing: 0.03em; }
.dir-k { font-size: 13px; color: #cfe3de; }
.dir-n { font-size: 11px; opacity: 0.6; }

/* outdated mods list */
.stale { margin: 0 !important; font-size: 12px; color: #e8c487; }
.odfilters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.odf { all: unset; cursor: pointer; font-size: 12px; letter-spacing: 0.08em; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--scr); }
.odf[aria-selected="true"] { background: var(--acc); color: #120802; text-shadow: none; }
.odf:focus-visible { outline: 1px solid #fff; }
.odlist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.odrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 82px 92px; gap: 12px; align-items: start; padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--acc) 16%, transparent); }
.odrow:hover { background: color-mix(in srgb, var(--acc) 6%, transparent); }
.odrank { font: 700 16px var(--head); color: var(--acc); text-align: right; }
.odmain a { color: #f4fffb; font: 700 15px var(--head); text-decoration: none; }
.odmain a:hover { text-decoration: underline; }
.odtags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.odtag { font-size: 11px; letter-spacing: 0.06em; padding: 1px 7px; border: 1px solid; }
.odtag.bad { color: #ffb4a3; border-color: #b8513f; background: rgba(184, 81, 63, 0.2); }
.odtag.warn { color: #ffd08a; border-color: #b8873f; }
.odtag.old { color: color-mix(in srgb, var(--acc) 70%, #fff); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.odnote { margin: 5px 0 0 !important; font-size: 13px; color: #e6f6f2; }
.odsubs { text-align: right; font-size: 12px; opacity: 0.8; }
.odsubs b { font: 700 15px var(--head); color: #fff; }
.oddate { text-align: right; font-size: 12px; opacity: 0.6; }
@media (max-width: 760px) {
  .odrow { grid-template-columns: 28px minmax(0, 1fr); }
  .odsubs, .oddate { grid-column: 2; text-align: left; }
}
