/* Ethernet-style link light: a small rectangular LED. */
.link-led { display: inline-block; flex: none; width: 9px; height: 7px; border-radius: 1px; background: #1c1d16; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); transition: background-color 60ms linear, box-shadow 60ms linear; }
.link-led[data-state="online"] { background: #6dff4a; box-shadow: 0 0 6px rgb(109 255 74 / .75), 0 0 14px rgb(109 255 74 / .25); }
.link-led[data-state="online"].is-blink { background: #1f3a16; box-shadow: none; transition: none; }
.link-led[data-state="checking"] { background: #ffb02e; box-shadow: 0 0 6px rgb(255 176 46 / .6); }
.link-led[data-state="offline"] { background: #1c1d16; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="off"]) .link-led[data-state="checking"] { animation: led-negotiate 1s steps(1, end) infinite; }
}
@keyframes led-negotiate { 50% { background: #3a2a0c; box-shadow: none; } }

/* Hero summary. */
.server-status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.server-status[hidden] { display: none; }
.server-status[data-state="online"] { color: var(--cream); }
.server-status[data-state="offline"] { color: #ff9a8c; }
.hero-status { display: flex; justify-content: center; margin-top: 22px; }

/* Server location list, styled like a switch panel. */
.server-list { width: min(100%, 520px); margin: 30px auto 0; text-align: left; }
.server-list[hidden] { display: none; }
.server-list-title { color: var(--muted); margin-bottom: 10px; text-align: center; }
.server-list ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: #000; }
.server-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 13px 16px; font-family: var(--mono); font-size: .82rem; }
.server-row + .server-row { border-top: 1px solid var(--line); }
.server-name { color: var(--cream); letter-spacing: .04em; }
.server-state { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.server-row[data-state="online"] .server-state { color: #9df07f; }
.server-row[data-state="offline"] .server-state { color: #ff9a8c; }
.server-meta { grid-column: 2 / -1; color: var(--muted); font-size: .74rem; }
.server-meta:empty { display: none; }
@media (forced-colors: active) { .link-led { forced-color-adjust: none; } }

/* Build number + changelog (Development section). */
.build-tag { color: var(--muted); }
.build-tag[hidden], .changelog[hidden] { display: none; }
.changelog { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.changelog > .eyebrow { color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.changelog-entry + .changelog-entry { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.changelog-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; font-family: var(--mono); font-size: .8rem; }
.changelog-version { color: var(--light); font-weight: 700; letter-spacing: .04em; }
.changelog-latest { color: #000; background: var(--light); padding: 1px 6px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.changelog-head time { color: var(--muted); }
.changelog ul { margin: 0; padding-left: 1.1em; }
.changelog li { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.changelog li + li { margin-top: 6px; }
.changelog li::marker { color: var(--light); content: "› "; }

/* Content warning near the Play buttons. */
.content-warning { margin: 14px auto 0; max-width: 520px; font-family: var(--mono); font-size: .74rem; line-height: 1.6; color: var(--muted); text-align: center; }
.content-warning-label { color: #e8b04a; text-transform: uppercase; letter-spacing: .12em; margin-right: 8px; white-space: nowrap; }
.cta-inner .content-warning { margin-top: 18px; }
