:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #ecf1eb;
  background: #101a1d;
  font-synthesis: none;
  --bg: #101a1d;
  --surface: #162226;
  --surface-high: #1c2b30;
  --border: #2a3a3e;
  --text: #ecf1eb;
  --muted: #9aaeb1;
  --accent: #c9dc8c;
  --accent-dark: #243820;
  --danger: #e6a199;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #c9dc8c;
  outline-offset: 4px;
}
input {
  width: 100%;
  background: #111c20;
  border: 1px solid #3a4e53;
  border-radius: 8px;
  color: var(--text);
  padding: 12px 14px;
  min-height: 46px;
}
input:disabled {
  opacity: 0.55;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 8px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 10;
  padding: 12px;
  background: var(--accent);
  color: var(--bg);
}
.skip-link:focus {
  top: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 2px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  background: var(--accent);
  color: #18302a;
  font-weight: 850;
  font-size: 33px;
  clip-path: polygon(50% 0, 100% 100%, 75% 100%, 50% 43%, 25% 100%, 0 100%);
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2.4px;
  margin-top: 4px;
}
.eyebrow,
.small-label,
.nav-caption {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: var(--muted);
}
.eyebrow {
  margin: 0 0 10px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin-bottom: 10px;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 0;
}
.heading-dot {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 11px 18px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  transition: background 0.15s;
}
.primary {
  background: var(--accent);
  color: #1d2c22;
}
.primary:hover:not(:disabled) {
  background: #dbebb0;
}
.secondary {
  background: #1e2e32;
  border-color: #3a4a4e;
  color: var(--text);
}
.secondary:hover:not(:disabled) {
  background: #283c40;
}
.full {
  width: 100%;
}
.text-button {
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
  padding: 0;
  font-size: 12px;
}
.text-button:hover {
  color: var(--text);
}
.icon-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 21px;
}
.login-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-intro {
  position: relative;
  padding: 55px 10%;
  overflow: hidden;
  background: #1c302f;
  min-height: 700px;
}
.login-intro .brand {
  margin-bottom: 100px;
}
.login-intro .eyebrow {
  color: #bbcf9f;
}
.login-intro h1 {
  font-size: clamp(45px, 5.6vw, 78px);
  font-weight: 600;
  letter-spacing: -3px;
  position: relative;
  z-index: 1;
}
.login-intro > p:not(.eyebrow) {
  color: #b2c3bb;
  line-height: 1.8;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.login-main {
  display: grid;
  place-items: center;
  padding: 48px;
}
.login-card {
  width: 100%;
  max-width: 350px;
}
.login-card h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.login-card > .muted {
  margin-bottom: 35px;
}
.login-card .button {
  margin-top: 24px;
}
.login-note {
  font-size: 11px;
  color: #83999c;
  line-height: 1.7;
  margin-top: 20px;
}
.login-coordinate {
  position: absolute;
  left: 10%;
  bottom: 34px;
  font-size: 9px;
  letter-spacing: 2px;
  z-index: 2;
  color: #d0dcc0;
}
.login-coordinate span {
  display: block;
  color: #7f9b8f;
  margin-top: 8px;
  font-size: 8px;
}
.login-landscape {
  position: absolute;
  inset: 40% -10% 0;
  opacity: 0.5;
  pointer-events: none;
}
.mountain {
  position: absolute;
  bottom: -15%;
  width: 100%;
  height: 65%;
  clip-path: polygon(
    0 100%,
    15% 50%,
    32% 65%,
    52% 0,
    74% 55%,
    88% 40%,
    100% 100%
  );
  background: #426347;
}
.m-two {
  height: 50%;
  left: 25%;
  background: #274e43;
  transform: scaleX(-1);
}
.m-three {
  height: 30%;
  background: #132e29;
  left: -15%;
  bottom: -5%;
}
.obelisk {
  height: 150px;
  width: 20px;
  position: absolute;
  left: 65%;
  top: 30%;
  clip-path: polygon(50% 0, 100% 15%, 80% 85%, 50% 100%, 20% 85%, 0 15%);
  background: #b1c688;
  transform: rotate(10deg);
}
.app-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 31px 24px;
  background: #0d171a;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.nav-caption {
  margin: 50px 0 18px;
  font-size: 8px;
}
.navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 12px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.nav-item > span {
  font-size: 18px;
  width: 18px;
  text-align: center;
}
.nav-item:hover {
  background: #162427;
}
.nav-item.active {
  background: #233330;
  border-color: #36473b;
  color: var(--accent);
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 50px;
}
.sidebar-footer strong {
  font-size: 13px;
  font-weight: 550;
}
.sidebar-footer > span:not(.small-label) {
  font-size: 10px;
  color: var(--muted);
}
.sidebar-rule {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.sidebar-footer .text-button {
  margin-top: 6px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  border-bottom: 1px solid var(--border);
}
.topbar-location {
  color: var(--muted);
  font-size: 11px;
}
.topbar-location span {
  margin: 0 12px;
  color: #51686f;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.connection-label {
  font-size: 10px;
  color: var(--muted);
}
.connection-label.live {
  color: var(--accent);
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #536348;
  color: var(--accent);
  background: #28352a;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
#main {
  padding: 35px 44px 18px;
  max-width: 1440px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .muted {
  margin-bottom: 0;
}
.updated-label {
  font-size: 10px;
  color: #82989e;
  white-space: nowrap;
  margin-top: 20px;
}
.world-card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 227px;
  background: #203632;
  border: 1px solid #3c5146;
}
.world-copy {
  position: relative;
  z-index: 1;
  padding: 29px 30px;
  max-width: 70%;
}
.world-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent);
  padding: 6px 9px;
  border: 1px solid #63714e;
  border-radius: 4px;
  white-space: nowrap;
}
.world-edition {
  font-size: 8px;
  letter-spacing: 2px;
  color: #9db0a3;
}
.world-copy h2 {
  font-size: 31px;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.world-description {
  font-size: 12px;
  color: #b0c4b5;
  margin: 10px 0 25px;
}
.world-description > span:first-child {
  margin: 0 8px;
}
.world-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.world-bottom .muted {
  font-size: 10px;
}
.status-badge {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #344431;
  color: var(--accent);
  white-space: nowrap;
}
.status-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.neutral {
  background: #334143;
  color: #b8c8ca;
}
.status-badge.warning {
  background: #4c4226;
  color: #ead398;
}
.world-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  opacity: 0.9;
  background: linear-gradient(90deg, #203632 0, transparent 50%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#758e6a12 1px, transparent 1px),
    linear-gradient(90deg, #758e6a12 1px, transparent 1px);
  background-size: 30px 30px;
  transform: rotate(-12deg) scale(1.3);
}
.art-sun {
  position: absolute;
  width: 160px;
  height: 160px;
  right: 22%;
  top: 24px;
  border-radius: 50%;
  background: #85986718;
  border: 1px solid #b0bb7740;
  box-shadow:
    0 0 0 18px #9ab57308,
    0 0 0 36px #9ab57308;
}
.island {
  position: absolute;
  right: -5%;
  bottom: -10px;
  width: 85%;
  height: 160px;
  background: #41513a;
  clip-path: polygon(
    0 100%,
    14% 76%,
    25% 71%,
    40% 23%,
    47% 34%,
    55% 0,
    69% 39%,
    78% 50%,
    85% 35%,
    100% 70%,
    100% 100%
  );
}
.island-front {
  height: 105px;
  bottom: -25px;
  right: -16%;
  background: #182c26;
  transform: scaleX(-1);
}
.art-obelisk {
  position: absolute;
  top: 20px;
  right: 20%;
  height: 105px;
  width: 22px;
  background: linear-gradient(90deg, #8d9f73 50%, #b8c891 50%);
  clip-path: polygon(50% 0, 100% 15%, 80% 75%, 50% 100%, 20% 75%, 0 15%);
  transform: rotate(9deg);
}
.art-coordinate {
  position: absolute;
  right: 18px;
  bottom: 16px;
  text-align: right;
  font-size: 8px;
  letter-spacing: 2px;
  color: #a0ad8e;
  line-height: 1.9;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 21px 24px;
}
.metric-value {
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 13px 0 7px;
  min-height: 37px;
}
.metric-value.smaller {
  font-size: 23px;
  padding-top: 4px;
  letter-spacing: -0.6px;
}
.metric-unit {
  font-size: 15px;
  color: var(--muted);
  margin-left: 7px;
  letter-spacing: 0;
}
.metric-card .muted {
  font-size: 10px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.panel {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.panel-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.panel-symbol {
  font-size: 22px;
  color: #718787;
  font-weight: 300;
}
.controls-intro {
  font-size: 11px;
  margin-bottom: 20px;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.control-button {
  border: 1px solid #334449;
  border-radius: 8px;
  background: #1b2a2e;
  color: var(--text);
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px 11px;
  text-align: left;
  transition: background 0.15s;
}
.control-button:hover:not(:disabled) {
  background: #2a3c3e;
  border-color: #6e8163;
}
.control-icon {
  font-size: 22px;
  grid-row: span 2;
  align-self: center;
  color: #a5b4ac;
}
.control-button strong {
  font-size: 11px;
  font-weight: 600;
}
.control-button > span:last-child {
  font-size: 9px;
  color: var(--muted);
}
.start-control {
  background: #29392b;
  border-color: #4d6040;
}
.start-control .control-icon {
  color: var(--accent);
}
.stop-control .control-icon {
  color: var(--danger);
}
.footnote {
  font-size: 10px;
  color: #81999e;
  line-height: 1.7;
  margin: 16px 0 0;
}
.count-pill {
  font-size: 10px;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 5px;
  background: #293b3f;
  color: #b1c8c8;
  vertical-align: middle;
}
.players-list {
  min-height: 170px;
  max-height: 315px;
  overflow-y: auto;
}
.empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  padding: 20px;
}
.player-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 13px 0;
}
.player-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #2d4037;
  color: #c8d4af;
  border: 1px solid #4b5b42;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
}
.player-row strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.player-row small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.player-online {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.join-panel {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 25px;
  align-items: center;
}
.join-panel .eyebrow {
  font-size: 8px;
}
.join-panel h2 {
  font-size: 19px;
}
.join-panel .muted {
  font-size: 11px;
  max-width: 520px;
  margin: 9px 0 0;
}
.join-address {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.join-address code {
  font-size: 13px;
  letter-spacing: 0.3px;
  overflow-wrap: anywhere;
}
.join-address .button {
  font-size: 10px;
  min-height: 36px;
  padding: 8px 13px;
}
.join-panel .footnote {
  grid-column: 1/-1;
  margin: 0;
}
.resources-panel {
  margin-top: 20px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.resource-grid strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
}
.notice {
  padding: 13px 17px;
  border-radius: 8px;
  border: 1px solid #4f603a;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
  background: #293828;
  color: #d9e4b9;
}
.notice strong {
  margin-right: 8px;
}
.demo-notice {
  border-color: #806e3e;
  color: #ead4a1;
  background: #373125;
}
.warning-notice {
  border-color: #825747;
  color: #f0c4a5;
  background: #3e2f27;
}
.operation-notice {
  background: #233435;
  border-color: #476463;
  color: #bad5cf;
}
.notice.error {
  background: #3e2c2b;
  border-color: #875a54;
  color: #f0c1b9;
}
.form-error {
  font-size: 12px;
  color: #f0b2a7;
  line-height: 1.6;
  margin: 14px 0 0;
}
.subtle-notice {
  border-color: var(--border);
  background: #1b2b2e;
  color: var(--muted);
}
.settings-panel {
  max-width: 850px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 25px;
}
.field.wide {
  grid-column: 1/-1;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 8px;
}
.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 55px;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
.checkbox-field small {
  font-weight: 400;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 22px;
  gap: 20px;
}
.form-footer .muted {
  font-size: 11px;
}
.maintenance-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  max-width: 850px;
}
.maintenance-panel h2 {
  font-size: 17px;
}
.maintenance-panel .muted {
  font-size: 11px;
  margin: 9px 0 0;
  max-width: 500px;
}
.maintenance-panel .button {
  white-space: nowrap;
}
.record-list {
  margin-top: 22px;
}
.record-row {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.record-row:last-child {
  padding-bottom: 0;
}
.record-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #2a382f;
  border-radius: 7px;
  flex-shrink: 0;
}
.record-main {
  flex: 1;
  min-width: 0;
}
.record-main strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
}
.record-main p {
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  margin: 5px 0 0;
}
.record-meta {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  line-height: 1.8;
  flex-shrink: 0;
}
.record-outcome {
  font-size: 9px;
  color: var(--accent);
}
.record-outcome.failed {
  color: var(--danger);
}
.content-footer {
  display: flex;
  justify-content: space-between;
  color: #6d858b;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin: 32px 0 5px;
}
.content-footer span:last-child {
  letter-spacing: 0;
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid #506247;
  border-radius: 14px;
  padding: 30px;
  max-width: 430px;
  width: calc(100% - 40px);
}
dialog::backdrop {
  background: #061216b8;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 25px;
  margin-bottom: 18px;
}
dialog .muted {
  font-size: 13px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}
@media (min-width: 1500px) {
  #main {
    padding-top: 45px;
  }
  .world-card {
    min-height: 250px;
  }
  .world-copy h2 {
    font-size: 36px;
  }
}
@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 16px;
  }
  .topbar {
    padding: 0 25px;
  }
  #main {
    padding: 30px 25px 18px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .control-button {
    padding: 12px 10px;
    gap: 6px;
  }
  .panel {
    padding: 20px;
  }
  .join-panel {
    grid-template-columns: 1fr;
  }
  .join-address {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .world-copy {
    max-width: 85%;
  }
  .metric-card {
    padding: 20px;
  }
  .metric-value.smaller {
    font-size: 20px;
  }
  .updated-label {
    display: none;
  }
}
@media (max-width: 800px) {
  .app-layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: relative;
    padding: 20px 24px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar .brand {
    font-size: 21px;
  }
  .sidebar .brand-mark {
    width: 31px;
    height: 35px;
    font-size: 23px;
  }
  .nav-caption,
  .sidebar-footer {
    display: none;
  }
  .navigation {
    flex-direction: row;
    margin-top: 22px;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .nav-item {
    padding: 10px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .nav-item > span {
    font-size: 15px;
  }
  .topbar {
    height: 54px;
    padding: 0 24px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .topbar-location {
    font-size: 10px;
  }
  .avatar {
    display: none;
  }
  #main {
    padding: 26px 24px 15px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .world-copy {
    max-width: 100%;
    padding: 25px;
  }
  .world-copy h2 {
    font-size: 27px;
  }
  .world-art {
    opacity: 0.4;
    width: 60%;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 17px;
  }
  .metric-card .small-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-value.smaller {
    font-size: 17px;
  }
  .metric-unit {
    font-size: 12px;
  }
  .metric-card .muted {
    font-size: 9px;
  }
  .control-grid {
    grid-template-columns: 1fr;
  }
  .controls-intro {
    margin-bottom: 14px;
  }
  .control-button {
    padding: 10px 12px;
  }
  .controls-panel,
  .players-panel {
    padding: 19px;
  }
  .players-list {
    min-height: 270px;
  }
  .login-intro {
    min-height: 640px;
    padding: 40px 10%;
  }
  .login-intro .brand {
    margin-bottom: 100px;
  }
  .login-main {
    padding: 35px;
  }
  .login-intro h1 {
    font-size: 49px;
  }
  .login-intro > p:not(.eyebrow) {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .login-view {
    display: block;
  }
  .login-intro {
    min-height: 260px;
    padding: 25px 30px;
  }
  .login-intro .brand {
    margin-bottom: 30px;
  }
  .login-intro .eyebrow {
    font-size: 8px;
  }
  .login-intro h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 0;
  }
  .login-intro > p:not(.eyebrow),
  .login-coordinate {
    display: none;
  }
  .login-landscape {
    inset: 15% -20% 0 25%;
  }
  .login-main {
    padding: 38px 30px 45px;
  }
  .login-card {
    max-width: 420px;
  }
  .login-card h2 {
    font-size: 25px;
  }
  .login-card > .muted {
    margin-bottom: 23px;
  }
  .sidebar {
    padding: 20px 16px 6px;
  }
  .navigation {
    margin-top: 17px;
    gap: 0;
  }
  .nav-item {
    padding: 9px 10px;
    gap: 7px;
    font-size: 10px;
  }
  .nav-item > span {
    width: 13px;
  }
  .topbar {
    padding: 0 18px;
  }
  #main {
    padding: 25px 18px 15px;
  }
  .page-heading {
    margin-bottom: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-heading .muted {
    font-size: 12px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .world-card {
    min-height: 235px;
  }
  .world-copy {
    padding: 23px 21px;
  }
  .world-copy h2 {
    font-size: 25px;
  }
  .world-edition {
    display: none;
  }
  .world-meta {
    margin-bottom: 25px;
  }
  .world-bottom {
    gap: 8px;
  }
  .world-art {
    width: 85%;
    opacity: 0.33;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
  }
  .metric-card:last-child .metric-value {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    text-align: right;
    margin: 0;
    padding: 0;
    min-height: 0;
    font-size: 20px;
  }
  .metric-card:last-child .muted {
    grid-column: 1;
  }
  .metric-value {
    margin-top: 13px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .control-grid {
    grid-template-columns: 1fr 1fr;
  }
  .control-button {
    padding: 12px 10px;
  }
  .players-list {
    min-height: 140px;
    max-height: 270px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .panel {
    padding: 20px;
  }
  .join-panel .muted {
    font-size: 11px;
  }
  .join-address {
    gap: 13px;
    margin-top: 8px;
  }
  .join-address code {
    font-size: 12px;
  }
  .content-footer {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field.wide {
    grid-column: auto;
  }
  .checkbox-field {
    margin-top: 25px;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-footer .button {
    width: 100%;
  }
  .maintenance-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .maintenance-panel .button {
    width: 100%;
  }
  .record-row {
    gap: 11px;
    flex-wrap: wrap;
  }
  .record-meta {
    margin-left: 45px;
    text-align: left;
  }
  .record-meta span {
    display: inline;
    margin-right: 10px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .topbar-actions .connection-label {
    font-size: 9px;
  }
  .notice {
    font-size: 11px;
  }
  .control-button strong {
    font-size: 10px;
  }
  .control-button > span:last-child {
    font-size: 8px;
  }
}
