 :root {
  color-scheme: dark;
  --bg: #101812;
  --panel: #1a2820;
  --panel-2: #223329;
  --line: #344b39;
  --green: #72c34b;
  --green-dark: #3c812e;
  --cream: #f0f3df;
  --muted: #aab9a8;
  --orange: #d5a34c;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--cream); background:
  radial-gradient(ellipse at 85% 0%, rgba(80,143,61,.18), transparent 35%),
  linear-gradient(180deg, #17251b 0%, var(--bg) 60%);
  font-family: "Nunito", system-ui, sans-serif;
}
button, input { font: inherit; }
.page-shell { width: min(100% - 32px, 760px); margin: 0 auto; padding-bottom: 28px; }
.topbar { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid rgba(190,220,180,.12); }
.brand { display:flex; align-items:center; gap:11px; color:inherit; text-decoration:none; }
.brand-cube { display:grid; place-items:center; width:42px; height:42px; border:2px solid #a5db76; background:#477b37; color:#e7f7c9; font-size:27px; box-shadow: inset -5px -5px 0 #315c2b; }
.brand strong { display:block; letter-spacing:1.2px; font-size:13px; font-weight:900; }
.brand small { display:block; margin-top:2px; color:var(--muted); font-size:9px; letter-spacing:1.8px; font-weight:800; }
.edition-pill { border:1px solid #45613e; background:#243b28; border-radius:999px; padding:7px 10px; font-size:10px; letter-spacing:1px; font-weight:900; color:#c8e8a8; white-space:nowrap; }
.edition-dot { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--green); }
.hero { position:relative; display:flex; align-items:center; min-height:235px; overflow:hidden; padding:35px 22px 28px; }
.hero-copy { position:relative; z-index:2; max-width:75%; }
.eyebrow,.section-kicker { color:#9acb78; font-size:10px; font-weight:900; letter-spacing:2px; }
h1 { margin:10px 0 9px; font-size:clamp(35px, 9vw, 58px); line-height:.98; letter-spacing:-2px; font-weight:900; }
h1 span { color:var(--green); }
.hero p { max-width:350px; margin:0; color:#b5c4b2; line-height:1.5; font-size:14px; }
.grass-art { position:absolute; right:14px; bottom:25px; width:112px; height:112px; transform:rotate(-12deg); filter:drop-shadow(0 14px 16px #0008); }
.grass-top { position:absolute; inset:0 0 28px; background: repeating-linear-gradient(90deg,#76b94c 0 13px,#69a842 13px 26px); border:5px solid #9bd36b; }
.grass-side { position:absolute; left:0; right:0; bottom:0; height:32px; background:repeating-linear-gradient(90deg,#805b37 0 15px,#6d492d 15px 29px); border:4px solid #9a7447; }
.pixel { position:absolute; width:9px; height:9px; background:#b6e27d; }
.p1 { top:19px; left:22px; }.p2 { top:48px; right:17px; background:#4f8b37; }.p3 { top:8px; right:29px; background:#d2ed94; }
.server-card { padding:22px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,rgba(35,54,41,.98),rgba(23,36,28,.98)); box-shadow:0 18px 45px #0003; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
h2 { margin:3px 0 0; font-size:25px; font-weight:900; }
.status-badge { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; font-size:10px; font-weight:900; white-space:nowrap; background:#3a3827; color:#e7ce8c; }
.status-badge i { width:7px; height:7px; border-radius:50%; background:currentColor; }
.status-badge.online { color:#b8f18e; background:#29472c; }
.status-badge.offline { color:#ffb1a4; background:#4b2d2a; }
.status-badge.unknown { color:#e7ce8c; }
.server-address label { display:block; margin-bottom:8px; color:#b7c7b1; font-size:10px; font-weight:900; letter-spacing:1.1px; }
.address-row { display:flex; gap:8px; }
.address-row input { width:100%; min-width:0; padding:13px 14px; border:1px solid #486147; border-radius:10px; outline:none; background:#101b14; color:var(--cream); }
.address-row input:focus { border-color:var(--green); box-shadow:0 0 0 3px #72c34b22; }
.icon-button { width:48px; flex:0 0 48px; border:1px solid #568347; border-radius:10px; color:#f3ffe7; background:#3c7932; font-size:22px; font-weight:900; }
.hint { margin:7px 0 0; color:#9eae9b; font-size:11px; line-height:1.4; }
.stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:20px 0; }
.stat-box { min-height:94px; padding:13px; border:1px solid #344b39; border-radius:12px; background:#17241b; }
.stat-box.wide { grid-column:1 / -1; min-height:78px; }
.stat-icon { display:block; margin-bottom:4px; font-size:17px; }
.stat-label { display:block; color:#93a58f; font-size:9px; letter-spacing:1.2px; font-weight:900; }
.stat-box strong { display:block; margin-top:2px; color:#edf5e5; font-size:18px; overflow-wrap:anywhere; }
.action-area { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.button { display:flex; min-height:48px; align-items:center; justify-content:center; gap:8px; border-radius:10px; padding:12px 10px; text-align:center; text-decoration:none; font-size:11px; font-weight:900; letter-spacing:.5px; transition:transform .15s,filter .15s; }
.button:active,.icon-button:active { transform:translateY(1px); filter:brightness(1.12); }
.button-primary { border:1px solid #9bd76c; color:#152510; background:linear-gradient(#a1df70,#71b94c); box-shadow:inset 0 -4px 0 #4d9138; }
.button-primary:disabled { opacity:.65; }
.button-secondary { border:1px solid #536e4a; color:#e5f2dc; background:#293e2c; cursor:pointer; }\n.button-secondary.is-loading { opacity:.7; pointer-events:none; }
.feedback { min-height:20px; margin:13px 0 4px; color:#b9c9b3; font-size:12px; text-align:center; }
.last-check { margin:0; color:#81917e; font-size:10px; text-align:center; }
.notice-card { display:flex; gap:13px; margin-top:15px; padding:17px; border:1px solid #5a4c2d; border-radius:14px; background:#302b1e; }
.notice-icon { display:grid; place-items:center; flex:0 0 28px; height:28px; border-radius:8px; color:#2c2413; background:#dfb75e; font-weight:900; }
.notice-card h3 { margin:0 0 4px; color:#f0d99e; font-size:14px; }
.notice-card p { margin:0; color:#d2c7a9; font-size:12px; line-height:1.55; }
footer { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:7px; margin:25px 0 0; color:#81917e; font-size:10px; text-align:center; }
.footer-mark { color:#a4d778; font-size:16px; }
@media (max-width:420px) {
  .page-shell { width:min(100% - 22px,760px); }
  .hero { min-height:218px; padding-left:10px; }
  .grass-art { right:0; width:90px; height:90px; }
  .hero-copy { max-width:80%; }
  .server-card { padding:16px; }
  .card-heading { align-items:flex-start; flex-direction:column; }
  .action-area { grid-template-columns:1fr; }
}
