:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242c2a;
  background: #f7f8f5;
  --paper: #fff; --base: #f7f8f5; --soft: #eef1ed; --line: #dce1db;
  --ink: #242c2a; --muted: #5f6b65; --green: #245b47; --focus: #287758;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --motion: cubic-bezier(.2, .75, .26, 1);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .46; }
a, button, input, select { transition: background-color 145ms var(--motion), border-color 145ms var(--motion), color 145ms var(--motion); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
code, .mono, .cmd { font-family: var(--mono); }
h2 { font-size: 16px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 650; }
.hint, .muted { color: var(--muted); }
.hint { line-height: 1.55; font-size: 14px; }
.trim { overflow-wrap: anywhere; min-width: 0; }
.icon { width: 17px; height: 17px; display: inline-block; object-fit: contain; flex: 0 0 auto; opacity: .77; }
.app { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: #f0f2ee; padding: 24px 15px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; min-width: 0; }
.brand { display: flex; align-items: center; gap: 11px; padding-inline: 5px; width: max-content; max-width: 100%; }
.bricon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 5px; background: #214235; }
.bricon .icon { width: 22px; height: 22px; opacity: 1; filter: invert(1); }
.brand strong { display: grid; gap: 3px; font-size: 16px; line-height: 1; font-weight: 750; }
.brand small { color: #516259; font: 10px/1.2 var(--mono); }
.side nav { margin-top: 35px; display: grid; gap: 4px; }
.nav-label, .eyebrow, .host-mark { font: 11px/1.35 var(--mono); text-transform: uppercase; color: #52625a; }
.nav-label { margin: 0 0 5px 9px; }
.admin-label { margin-top: 19px; }
.nav-item { min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 9px; border-radius: 5px; color: #425049; font-size: 14px; }
.nav-item:hover { background: #e4e9e2; color: #21332a; }
.nav-item.active { background: #dbe7dd; color: #204633; font-weight: 700; }
.nav-item.active .icon { opacity: 1; filter: invert(27%) sepia(17%) saturate(1035%) hue-rotate(101deg); }
.sidefoot { margin-top: auto; padding: 15px 4px 0; border-top: 1px solid #d7dfd7; }
.profile { display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #cbd9cf; border-radius: 5px; background: #e0e9e1; color: #264333; font-weight: 720; font-size: 12px; }
.profile-text { min-width: 0; flex: 1; }
.profile strong, .profile small { display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.profile strong { font-size: 13px; }
.profile small { margin-top: 3px; font-size: 12px; color: var(--muted); }
.main { min-width: 0; }
.topbar { height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 0 32px; }
.trail, .top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; }
.trail > span { color: #68736c; }
.trail strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.host-mark { display: inline-flex; align-items: center; white-space: nowrap; gap: 7px; }
.host-mark i { width: 5px; height: 5px; background: #658e73; border-radius: 50%; }
.language-control { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.language-control button { min-width: 49px; min-height: 27px; padding: 2px 6px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
.language-control button:hover { background: var(--soft); color: var(--ink); }
.language-control button[aria-pressed="true"] { background: #dbe7dd; color: #204633; font-weight: 700; }
.mobile-signout { display: none; }
.screen { max-width: 1480px; padding: 34px 32px 60px; margin-inline: auto; }
.head { display: flex; justify-content: space-between; align-items: flex-start; margin: 0 0 25px; gap: 18px; }
.head h1 { font-size: 32px; line-height: 1.15; font-weight: 720; overflow-wrap: anywhere; }
.head p { margin-top: 7px; }
.head p span { margin-inline: 3px; }
.head-actions, .inline, .text-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.head-actions { justify-content: flex-end; }
.btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid #cfd8cf; background: var(--paper); color: #2a3931; border-radius: 5px; font-size: 13px; font-weight: 650; white-space: nowrap; text-align: center; }
.btn:hover:not(:disabled) { background: #edf3ec; border-color: #afc3b4; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #1b4838; border-color: #1b4838; }
.btn.primary .icon { filter: invert(1); opacity: 1; }
.btn.small { min-height: 32px; padding: 0 9px; }
.btn.small .icon { width: 14px; height: 14px; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.icononly { width: 32px; min-height: 32px; padding: 0; }
.btn.icononly .icon { width: 15px; height: 15px; }
.btn.text-button { min-height: 28px; padding: 0 1px; background: transparent; border: 0; color: #315b49; font-size: 12px; }
.btn.text-button:hover { background: transparent; color: #132d20; text-decoration: underline; }
.btn.danger { color: #922e32; background: #fff; border-color: #d9b7b6; }
.btn.danger:hover:not(:disabled) { background: #fae9e9; border-color: #c88e8e; }
.btn.copied { background-color: #dfede1; border-color: #90b59a; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 237px; gap: 24px; align-items: start; }
.register { min-width: 0; container-type: inline-size; }
.register-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; }
.segmented { display: inline-flex; gap: 2px; align-items: center; border: 1px solid var(--line); background: #ecf0ea; border-radius: 5px; padding: 2px; }
.segmented button { font-size: 13px; min-height: 28px; padding: 0 10px; color: #45554b; background: transparent; border: 1px solid transparent; border-radius: 3px; }
.segmented button:hover { color: #193b2a; background: #e1e9de; }
.segmented button[aria-pressed=true] { color: #203b2c; background: #fff; border-color: #d4dfd4; font-weight: 700; }
.search { display: flex; align-items: center; gap: 7px; width: 218px; min-width: 85px; height: 34px; padding-inline: 8px; border: 1px solid var(--line); background: #fff; border-radius: 5px; }
.search:focus-within { border-color: var(--focus); }
.search .icon { width: 15px; height: 15px; opacity: .55; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; font-size: 13px; }
.table-frame { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.server-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
.server-table thead { color: #536257; background: #f0f3ef; }
.server-table thead th { height: 37px; padding: 0 11px; font-weight: 640; }
.server-table thead th:first-child { width: 33%; }
.server-table thead th:nth-child(2) { width: 15%; }
.server-table thead .version-cell { width: 13%; }
.server-table thead .actions-cell { width: 117px; text-align: right; }
.server-table tbody th, .server-table td { padding: 9px 11px; height: 65px; border-top: 1px solid #e2e7df; transition: background-color 160ms var(--motion); text-align: left; }
.server-table tbody th { font-weight: 600; }
.server-table tr:hover > td, .server-table tr:hover > th { background: #f6f9f4; }
.server-name { display: flex; align-items: center; min-width: 0; gap: 10px; width: max-content; max-width: 100%; border-radius: 4px; }
.server-name > span { min-width: 0; }
.server-name strong { font-size: 14px; font-weight: 700; color: #253b2e; overflow-wrap: anywhere; }
.server-name:hover strong { color: #0e5939; text-decoration: underline; }
.server-name small, .version-cell small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.35; overflow-wrap: anywhere; font-weight: 500; }
.thumbnail { width: 42px; height: 42px; flex: 0 0 auto; object-fit: cover; background: #435d54; border: 1px solid #ccdad0; border-radius: 4px; image-rendering: pixelated; }
.address-inline { display: flex; align-items: center; gap: 2px; min-width: 0; }
.address-inline code { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.address-inline .icononly { width: 28px; min-height: 28px; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: var(--muted); font-size: 12px; }
.server-table .empty-row { height: 76px; color: var(--muted); text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 4px; min-height: 21px; background: #edf0ec; color: #505e55; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill.online { color: #1c5a34; background: #e5f2e6; }
.pill.starting, .pill.pending { color: #80591f; background: #f8efd9; }
.pill.error { color: #9b3436; background: #f7e4e3; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.starting .dot, .pill.pending .dot { background: none; width: 8px; height: 8px; border: 1px solid currentColor; border-right-color: transparent; animation: spin 800ms linear infinite; }
.inspector { min-width: 0; border-left: 1px solid var(--line); padding-left: 18px; }
.aside-section + .aside-section { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 13px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 31px; margin-bottom: 7px; }
.capacity { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 9px; }
.capacity strong { font: 27px/1 var(--mono); color: #243e31; }
.capacity span { font-size: 13px; color: var(--muted); }
.meter { display: flex; gap: 4px; }
.meter i { height: 4px; flex: 1; border-radius: 1px; background: #dfe6de; }
.meter .used { background: #4d856a; }
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--line); padding: 9px 0; line-height: 1.4; font-size: 13px; }
.activity li:last-child { border-bottom: 0; }
.activity .icon { width: 14px; height: 14px; margin-top: 2px; }
.activity p { overflow-wrap: anywhere; }
.activity time { display: block; font: 11px/1.45 var(--mono); color: #637168; margin-top: 3px; overflow-wrap: anywhere; }
.empty { max-width: 580px; padding: 25px 0; color: var(--muted); }
.empty .btn { margin-top: 10px; }
.loading { width: 100vw; min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.auth-view { width: 100vw; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.auth-panel { width: min(380px, calc(100% - 40px)); margin: 20px auto; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.auth-panel .brand { padding-inline: 0; }
.auth-panel h1 { font-size: 30px; margin-bottom: 10px; }
.auth-panel .btn { margin-top: 18px; }
.auth-art { width: 100%; height: 100vh; object-fit: cover; image-rendering: pixelated; border-left: 1px solid var(--line); }
.return-row { margin: -5px 0 14px; }
.return-row a { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); }
.return-row a:hover { color: var(--green); }
.return-row .icon { width: 15px; height: 15px; }
.detail-identity, .detail-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.detail-identity > div { min-width: 0; }
.detail-identity .thumbnail { width: 58px; height: 58px; }
.detail-title { gap: 9px; flex-wrap: wrap; }
.details-head { margin-bottom: 13px; align-items: center; }
.details-head h1 { font-size: 29px; }
.tabs { display: flex; align-items: center; overflow-x: auto; gap: 19px; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.tabs a { min-height: 39px; padding: 6px 3px 8px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; font-size: 13px; white-space: nowrap; color: var(--muted); }
.tabs a:hover { color: var(--green); }
.tabs a[aria-current] { color: #184b35; font-weight: 700; border-color: #397657; }
.tabs .icon { width: 14px; height: 14px; }
.connection { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--line); padding: 1px 0 14px; }
.connection > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.connection code { font-size: 15px; overflow-wrap: anywhere; }
.log-panel { margin-top: 16px; }
.console { min-height: 210px; max-height: 405px; margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #252e2a; color: #e1ebe3; border: 1px solid #35443b; border-radius: 6px; padding: 13px; font: 12px/1.6 var(--mono); }
.console-form { display: flex; align-items: stretch; gap: 7px; margin-top: 8px; }
.console-form input { min-width: 0; flex: 1; min-height: 36px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--paper); font: 13px/1.4 var(--mono); }
.console-replies { max-height: 180px; overflow: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 5px; background: #f2f5ef; }
.console-replies > div { padding: 7px 10px; overflow-wrap: anywhere; }
.console-replies > div + div { border-top: 1px solid var(--line); }
.console-replies code, .console-replies pre { font: 12px/1.5 var(--mono); margin: 0; white-space: pre-wrap; }
.console-replies code { color: var(--green); font-weight: 700; }
.player-slot { margin-top: 2px; }
.player-count { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 48px; min-height: 24px; padding: 1px 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); font: 12px/1.4 var(--mono); }
.player-count .icon { height: 14px; width: 14px; }
.player-count:hover:not(:disabled) { color: var(--green); background: var(--soft); border-color: var(--line); }
.roster { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.roster th, .roster td { border-bottom: 1px solid var(--line); padding: 9px; overflow-wrap: anywhere; }
.roster thead { color: var(--muted); }
.roster th:last-child, .roster td:last-child { text-align: right; }
.kv { margin: 0; }
.kv > div { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border: 0; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { min-width: 0; overflow-wrap: anywhere; margin: 0; text-align: right; font: 12px/1.5 var(--mono); }
.group { max-width: 890px; padding-bottom: 20px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.group:last-child { border: 0; }
.group .hint { margin-top: 5px; }
.toolbar { margin-top: 13px; }
.table { list-style: none; margin: 8px 0 0; padding: 0; }
.table li { display: flex; justify-content: space-between; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); min-height: 49px; padding: 7px 0; font-size: 14px; }
.table .sub { display: block; margin-top: 3px; color: var(--muted); font: 11px/1.35 var(--mono); }
.write-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 7px 0 8px; }
.file-picker { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--muted); font-size: 13px; cursor: pointer; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.file-picker:hover .btn { background: #edf3ec; border-color: #afc3b4; }
.setup-mode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 6px; }
.setup-mode .btn { width: 100%; gap: 4px; white-space: normal; padding-inline: 4px; }
.setup-mode .btn[aria-pressed="true"] { color: var(--green); border-color: #a4bcad; background: #e5eee6; }
.setup-summary { margin: 6px 0 11px; }
.creation-uploads { display: grid; gap: 7px; }
.upload-field { padding: 8px 0; border-top: 1px solid var(--line); }
.upload-title { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 650; }
.upload-field small { display: block; margin-top: 3px; font-size: 12px; }
.upload-status { margin-top: 12px; }
.upload-status progress { display: block; width: 100%; accent-color: var(--green); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 13px; margin: 10px 0; }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fields .full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 5px; font-size: 13px; font-weight: 650; }
.field input, select { width: 100%; min-width: 0; min-height: 36px; padding: 7px 8px; border: 1px solid #cfd8cf; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; }
.field input:hover, select:hover { border-color: #94ac9b; }
select { appearance: none; background: #fff url('/icons/chevron-down.svg') right 8px center / 13px no-repeat; padding-inline-end: 24px; }
.check { display: flex; align-items: start; gap: 7px; min-height: 26px; font-size: 13px; line-height: 1.45; }
.check input { flex: 0 0 auto; margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--green); }
.accord { margin: 12px 0; border-block: 1px solid var(--line); }
.accord summary { display: flex; align-items: center; justify-content: space-between; min-height: 41px; cursor: pointer; font-size: 13px; font-weight: 700; }
.accord summary::-webkit-details-marker { display: none; }
.accord summary .icon { transition: transform 170ms var(--motion); }
.accord[open] summary .icon { transform: rotate(180deg); }
.accord[open] .settings-group:first-of-type { animation: appear 165ms var(--motion) both; }
.settings-group { min-width: 0; margin: 13px 0; padding: 1px 0 4px; border: 0; border-bottom: 1px solid var(--line); }
.settings-group legend { padding: 0; color: var(--green); font-weight: 720; font-size: 13px; }
.under { text-decoration: underline; text-underline-offset: 2px; color: var(--green); }
dialog { width: min(562px, calc(100vw - 20px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #cbd8cc; border-radius: 7px; background: #fff; box-shadow: 0 19px 65px #172c214a; color: var(--ink); }
dialog[open] { animation: arrive 190ms var(--motion) both; }
dialog.closing { animation: leave 120ms ease-in both; }
dialog::backdrop { background: #202e2766; }
dialog[open]::backdrop { animation: appear 160ms var(--motion) both; }
dialog.closing::backdrop { animation: fade-out 120ms ease-in both; }
.modal-head, .modal-footer { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 19px; }
.modal-body { padding: 7px 17px 13px; }
.modal-footer { justify-content: end; border-bottom: 0; border-top: 1px solid var(--line); background: #f2f5ef; }
.catalogue-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin: 6px 0; }
.catalogue-panel { margin-top: 12px; }
.catalogue-heading, .catalogue-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 9px 0; }
.catalogue-list { list-style: none; padding: 0; margin: 8px 0; }
.catalogue-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.catalogue-list li > div { min-width: 0; overflow-wrap: anywhere; }
.catalogue-list strong { font-size: 14px; }
.catalogue-list .hint { font-size: 12px; }
@media (max-width: 420px) { .catalogue-list li { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 5px; } }
.err { margin: 10px 0 0; color: #922e32; font-size: 13px; }
.notices { position: fixed; z-index: 5; right: 19px; bottom: 16px; width: min(340px, calc(100% - 32px)); display: grid; gap: 6px; pointer-events: none; }
.notice { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #bdd1bf; border-radius: 5px; box-shadow: 0 6px 20px #24362724; background: #eff7ed; color: #244535; font-size: 13px; animation: arrive 165ms var(--motion) both; }
.notice.error { border-color: #d9b9b5; background: #fbefef; color: #803437; }
.notice .icon { width: 15px; height: 15px; }
.enter { animation: arrive 170ms var(--motion) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes leave { to { opacity: 0; transform: translateY(4px); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@container (max-width: 650px) {
  .server-table .version-cell { display: none; }
  .server-table thead th:first-child { width: 40%; }
  .server-table thead th:nth-child(2) { width: 17%; }
}
@media (max-width: 1100px) {
  .app { grid-template-columns: 184px minmax(0, 1fr); }
  .topbar, .screen { padding-left: 22px; padding-right: 22px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .inspector { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; border-left: 0; border-top: 1px solid var(--line); padding: 11px 0 0; }
  .aside-section + .aside-section { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 740px) {
  .app { display: block; }
  .side { height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 11px 14px 0; }
  .brand { padding: 0; }
  .side nav { display: flex; gap: 4px; margin: 9px 0 0; flex-wrap: wrap; }
  .nav-item { min-height: 35px; padding-inline: 7px; font-size: 12px; gap: 5px; }
  .nav-item .icon { width: 13px; height: 13px; }
  .nav-label, .sidefoot { display: none; }
  .mobile-signout { display: inline-flex; }
  .topbar { height: 42px; }
  .screen { padding-top: 19px; padding-bottom: 35px; }
  .screen, .topbar { padding-left: 15px; padding-right: 15px; }
  .head { margin-bottom: 17px; align-items: flex-start; gap: 7px; flex-wrap: wrap; }
  .head h1, .details-head h1 { font-size: 25px; }
  .detail-identity .thumbnail { width: 45px; height: 45px; }
  .auth-view { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 24px; }
  .auth-art { max-width: calc(100% - 40px); height: 145px; border: 0; border-radius: 5px; }
}
@media (max-width: 510px) {
  .top-actions .host-mark { display: none; }
  .search { max-width: 132px; }
  .segmented button { padding-inline: 7px; font-size: 12px; }
  .register-toolbar { gap: 6px; }
  .server-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .server-table tbody { display: block; }
  .server-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name state" "address actions"; align-items: center; padding: 8px 9px; gap: 2px 8px; }
  .server-table tbody tr + tr { border-top: 1px solid var(--line); }
  .server-table tbody td, .server-table tbody th { min-width: 0; min-height: 0; height: auto; padding: 1px 0; border: 0; }
  .server-table tbody th { grid-area: name; }
  .state-cell { grid-area: state; justify-self: end; }
  .player-slot { text-align: right; }
  .address-cell { grid-area: address; }
  .actions-cell { grid-area: actions; }
  .server-table .version-cell { display: none; }
  .server-table .empty-row { grid-column: 1/-1; padding: 12px 0; }
  .server-name .thumbnail { width: 34px; height: 34px; }
  .inspector { grid-template-columns: 1fr; gap: 11px; }
  .aside-section + .aside-section { border-top: 1px solid var(--line); padding-top: 8px; }
  .fields.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { gap: 12px; margin-bottom: 17px; }
  .tabs a { font-size: 12px; }
  .table li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
