:root {
  color-scheme: dark;
  --bg:#101310;
  --panel:#191e19;
  --panel-alt:#151a15;
  --border:#2c342c;
  --text:#edf3ed;
  --muted:#9ba99b;
  --green:#74c94b;
  --green-bright:#98e66d;
  --amber:#e7bb65;
  --red:#ef8585;
  --font:"Segoe UI",Arial,sans-serif;
}
/* Donation details remain selectable and the alias has a dedicated copy action. */
.donation-transfer {border-top:1px solid var(--border);padding:18px 0 0}
.alias-line {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 14px}
.alias-line strong {font-size:23px;color:var(--green-bright);overflow-wrap:anywhere}
.holder-label,.holder-name {display:block;font-size:12px}
.holder-label {color:var(--muted);margin-bottom:3px}
.holder-name {overflow-wrap:anywhere}
.budget-summary {color:var(--muted);font-size:13px;line-height:1.6;margin:14px 0 16px}
.server-summary > .players-button {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  min-width: 0;
  border-radius: 4px;
}
.players-button > span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 11px;
  gap: 4px;
}
.players-button:hover strong {
  color: var(--green-bright);
}
#player-names {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  max-height: 50vh;
  overflow: auto;
}
#player-names li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
#players-dialog h2 {
  font-size: 20px;
  margin: 0;
}
#players-message {
  margin: 16px 0 0;
}
@media (max-width: 650px) {
  .server-summary > .players-button {
    gap: 7px;
    align-items: flex-start;
  }
  .players-button > span {
    font-size: 10px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
  letter-spacing: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: .5;
}
button,
select,
input {
  letter-spacing: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}
svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
.header {
  height: 76px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 max(28px, calc((100% - 1184px)/2));
  background: #121612;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 23px;
  font-weight: 700;
  white-space: nowrap;
}
.brand img {
  image-rendering: pixelated;
  border-radius: 2px;
}
.brand-dot {
  color: var(--green);
}
nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 100%;
  font-size: 13px;
  color: var(--muted);
}
nav a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}
nav a:hover,
nav .active {
  color: var(--text);
  border-bottom-color: var(--green);
}
.connection {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.connection.live .dot {
  background: var(--green);
}
.connection.error .dot {
  background: var(--amber);
}
main {
  max-width: 1240px;
  padding: 0 28px 48px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  padding: 36px 0 27px;
}
.eyebrow,
.section-kicker {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}
.eyebrow {
  margin-bottom: 9px;
}
.server-address {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
}
.icon-button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.server-address .icon-button {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.server-address svg {
  width: 14px;
  height: 14px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.heading-actions button {
  border-color: var(--border);
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(285px, 1fr);
  gap: 24px;
  align-items: stretch;
}
.server-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel-alt);
}
.landscape {
  height: 185px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 28px;
  background: #263425 url(/panorama.png) center 58%/cover;
}
.landscape:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13, 23, 13, .88),
      rgba(13, 23, 13, .36));
}
.landscape-content {
  position: relative;
}
.server-label {
  font-size: 10px;
  color: #c0d1bc;
  letter-spacing: 0;
  font-weight: 700;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.status-line h2 {
  font-size: 32px;
}
.status-dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #a8b0a4;
  box-shadow: 0 0 0 5px #ffffff0c;
}
.status-dot.online {
  background: var(--green);
}
.status-dot.starting {
  background: var(--amber);
  animation: pulse 1.8s infinite;
}
.status-dot.error {
  background: var(--red);
}
.state-time {
  display: block;
  color: #bac9b5;
  font-size: 12px;
  margin-top: 12px;
  min-height: 18px;
}
.world-tag {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0;
  color: #dfebda;
}
.world-tag svg {
  width: 13px;
  height: 13px;
}
.server-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
}
.server-summary > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
}
.server-summary > div > span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 11px;
  gap: 4px;
}
.server-summary strong {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.credits-panel {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-top > svg {
  color: var(--green);
  width: 20px;
  height: 20px;
}
.balance {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 15px 0 7px;
  font-variant-numeric: tabular-nums;
}
.balance > span:first-child {
  font-size: 44px;
  font-weight: 650;
  line-height: 1.2;
}
.unit {
  color: var(--muted);
  font-size: 12px;
}
.hours {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  padding-bottom: 21px;
}
.hours svg {
  width: 14px;
  height: 14px;
}
.hours strong {
  font-weight: 600;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.cost-row strong {
  color: #d6dfd3;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}
.primary-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #14230e;
}
.primary-button:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
}
.primary-button svg {
  width: 16px;
  height: 16px;
}
.primary-button svg:last-child {
  margin-left: auto;
}
.primary-button svg:first-child {
  margin-right: auto;
}
.credits-panel .primary-button {
  width: 100%;
  margin-top: 20px;
}
.credits-updated {
  display: block;
  margin-top: 9px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.section {
  padding: 31px 0 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  margin-bottom: 5px;
}
.section-heading > svg {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.section-heading h2 {
  font-size: 20px;
}
.segmented {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px;
  background: var(--panel-alt);
}
.segmented button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 5px 11px;
  font-size: 11px;
  min-width: 50px;
  border-radius: 2px;
}
.segmented button[aria-pressed=true] {
  background: #303c2b;
  color: var(--green-bright);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.metric {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--panel-alt);
  padding: 19px 19px 12px;
  min-width: 0;
}
.metric-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.metric-title > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.metric-title svg {
  width: 15px;
  height: 15px;
}
.metric-tag {
  font-size: 9px;
  color: #b4c5a8;
  white-space: nowrap;
}
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 13px 0 13px;
  font-variant-numeric: tabular-nums;
}
.metric-value strong {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.metric-value span {
  font-size: 12px;
  color: var(--muted);
}
canvas {
  display: block;
  width: 100%;
  height: 75px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #778474;
  margin-top: 8px;
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 52px;
  margin-top: 5px;
}
.settings dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding: 13px 0;
  min-height: 47px;
}
.setting dt {
  color: var(--muted);
  font-size: 12px;
}
.setting dd {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.setting dd.yes {
  color: var(--green);
}
.setting dd.no {
  color: #929d8e;
}
.settings-loading {
  color: var(--muted);
  font-size: 12px;
}
.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.calc-controls label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.calc-controls label > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-controls input,
.calc-controls select {
  color: var(--text);
  background: #1c231a;
  border: 1px solid #36402f;
  border-radius: 4px;
  height: 39px;
  padding: 7px 11px;
  max-width: 100%;
  width: 100%;
}
.calc-controls label > span input {
  min-width: 0;
}
.calc-result {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--border);
  padding: 20px 0 17px;
  font-size: 11px;
  color: var(--muted);
}
.calc-result > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-result > span:last-child {
  text-align: right;
}
.calc-result strong {
  font-size: 17px;
  color: var(--green-bright);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc-result strong.negative {
  color: var(--red);
}
.rate-note {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #7f8b79;
  font-size: 10px;
  margin-top: 10px;
}
.rate-note svg {
  width: 11px;
  height: 11px;
  vertical-align: middle;
}
.activity {
  padding-top: 30px;
}
.activity ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 11px 0;
  font-size: 12px;
}
.activity li > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.activity .event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #87967e;
}
.activity .event-dot.online {
  background: var(--green);
}
.activity .event-dot.starting {
  background: var(--amber);
}
.activity .event-dot.error {
  background: var(--red);
}
.activity time {
  color: var(--muted);
  font-size: 11px;
}
.startup {
  padding: 0 24px 22px;
}
.startup ol {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 15px 0 0;
  gap: 0;
  justify-content: space-between;
}
.startup li {
  position: relative;
  padding-top: 17px;
  font-size: 10px;
  color: #74816f;
  flex: 1;
  text-align: center;
  border-top: 2px solid var(--border);
}
.startup li:before {
  position: absolute;
  content: "";
  top: -5px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.startup li.done {
  border-color: #465b38;
  color: #a6c197;
}
.startup li.done:before {
  background: #5e8e46;
}
.startup li.current {
  color: var(--green-bright);
  border-color: var(--green);
}
.startup li.current:before {
  background: var(--green);
  box-shadow: 0 0 0 4px #74c94b16;
}
.shutdown {
  margin: 0 24px 22px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  gap: 8px;
  color: var(--amber);
  font-size: 12px;
}
.shutdown svg {
  width: 16px;
  height: 16px;
}
footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 20px 0 25px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #81907b;
  gap: 16px;
}
footer > span:first-child {
  color: #a2b397;
  font-weight: 600;
  display: flex;
  gap: 7px;
  align-items: center;
}
.footer-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
footer a {
  display: flex;
  gap: 4px;
  align-items: center;
}
footer svg {
  width: 12px;
  height: 12px;
}
.error-banner {
  margin-bottom: 20px;
  background: #30281c;
  color: var(--amber);
  border: 1px solid #53432a;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 12px;
}
dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 27px;
  background: var(--panel);
  border: 1px solid #43503b;
  border-radius: 7px;
  color: var(--text);
}
dialog::backdrop {
  background: #050805c9;
}
dialog h2 {
  font-size: 25px;
  margin: 15px 0 10px;
}
dialog p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-wallet {
  width: 32px;
  height: 32px;
  color: var(--green);
  margin-top: 12px;
}
.secondary-button {
  border: 1px solid var(--border);
  background: transparent;
  margin-top: 10px;
  color: var(--text);
}
.secondary-button:hover {
  border-color: var(--green);
}
.pool-note {
  font-size: 11px !important;
  margin: 16px 0 0 !important;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #172510;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 8px 35px #0008;
  font-size: 13px;
  font-weight: 600;
  max-width: calc(100% - 30px);
  text-align: center;
}
@keyframes pulse {
  50% {
    opacity: .4;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .status-dot.starting {
    animation: none;
  }
}
@media (min-width: 1440px) {
  main {
    padding-top: 8px;
  }
  .landscape {
    height: 205px;
  }
}
@media (max-width: 900px) {
  .header {
    gap: 28px;
    padding: 0 24px;
  }
  .overview {
    gap: 18px;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  }
  .server-summary {
    gap: 16px;
    padding: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .server-summary > div:last-child {
    grid-column: 1/-1;
  }
  .credits-panel {
    padding: 20px;
  }
  .lower-grid {
    gap: 30px;
  }
  .settings dl {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    gap: 14px;
  }
  .metric {
    padding: 15px;
  }
  .metric-title > span:first-child {
    gap: 5px;
  }
  .metric-tag {
    font-size: 8px;
  }
  footer {
    margin: 0 28px;
  }
  .balance > span:first-child {
    font-size: 38px;
  }
}
@media (max-width: 650px) {
  .header {
    height: 66px;
    padding: 0 20px;
    gap: 16px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .connection {
    font-size: 10px;
  }
  .header nav {
    display: none;
  }
  main {
    padding: 0 20px 30px;
  }
  .page-heading {
    padding-top: 28px;
    align-items: flex-start;
  }
  .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: 32px;
  }
  .heading-actions {
    gap: 6px;
    padding-top: 22px;
  }
  .heading-actions > span {
    display: none;
  }
  .overview {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .landscape {
    height: 165px;
    padding: 24px;
  }
  .status-line h2 {
    font-size: 29px;
  }
  .server-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 20px 18px;
  }
  .server-summary > div:last-child {
    grid-column: auto;
  }
  .server-summary > div {
    gap: 7px;
    align-items: flex-start;
  }
  .server-summary svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }
  .server-summary strong {
    font-size: 12px;
  }
  .server-summary > div > span {
    font-size: 10px;
  }
  .credits-panel {
    padding: 22px;
  }
  .balance > span:first-child {
    font-size: 42px;
  }
  .hours {
    padding-bottom: 17px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 19px;
  }
  .metric canvas {
    height: 85px;
  }
  .metric-value {
    margin-bottom: 10px;
  }
  .metric-title {
    font-size: 13px;
  }
  .metric-tag {
    font-size: 10px;
  }
  .lower-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .settings dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
  .setting {
    gap: 8px;
    align-items: flex-start;
  }
  .setting dt {
    font-size: 11px;
  }
  .setting dd {
    font-size: 11px;
  }
  .section {
    padding-top: 29px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .segmented button {
    min-width: 42px;
    padding: 5px 8px;
  }
  footer {
    margin: 0 20px;
    padding: 20px 0;
    flex-wrap: wrap;
    font-size: 10px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .calc-result strong {
    font-size: 18px;
  }
}
@media (max-width: 360px) {
  .settings dl {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 18px;
  }
  .connection {
    font-size: 9px;
  }
  .server-summary {
    grid-template-columns: 1fr 1fr;
  }
  .server-summary > div:last-child {
    grid-column: 1/-1;
  }
  .section-heading {
    align-items: flex-start;
  }
  .segmented button {
    min-width: 35px;
  }
}
