@font-face { font-family: 'Pixelify Sans'; src: url(fonts/pixelify-sans.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url(fonts/rubik.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  /* Deepslate-Töne + Redstone-Lampe als einziges warmes Licht */
  --deepslate: #1f2127;
  --well: #17181c;
  --slate: #282b33;
  --slate-2: #33363f;
  --seam: #424754;
  --bone: #e8e3d6;
  --ash: #a3a8b4;
  --dim: #737988;
  --lamp: #f6b23c;
  --lamp-hot: #ffe08a;
  --redstone: #d5413a;
  --emerald: #47b881;
  --emerald-deep: #3d8a5f;
  --lapis: #6c95e8;

  --display: 'Pixelify Sans', ui-monospace, monospace;
  --body: 'Rubik', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 4px;
  --gutter: clamp(16px, 3vw, 32px);
  --inline: max(var(--gutter), calc((100% - 1400px) / 2));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--deepslate); color: var(--bone); font: 400 15px/1.5 var(--body); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; background: var(--slate-2); padding: 1px 5px; border-radius: 3px; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Für Screenreader/Passwort-Manager, unsichtbar – gewinnt gegen alle Feld-Regeln */
.sr-only, input.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important;
}

/* ---------- Lampe (Signatur) ---------- */
.lamp { display: block; width: 100%; height: 100%; transition: filter .6s ease;
  --l0: #3a2a1f; --l1: #4a3526; --l2: #5c4330; --l3: #6b4f37; --l4: #7a5a3f; }
.lamp .t0 { fill: var(--l0); } .lamp .t1 { fill: var(--l1); } .lamp .t2 { fill: var(--l2); }
.lamp .t3 { fill: var(--l3); } .lamp .t4 { fill: var(--l4); }
.lamp[data-state="online"] { --l0: #5a3a22; --l1: #c9762a; --l2: #e39a35; --l3: var(--lamp); --l4: var(--lamp-hot);
  filter: drop-shadow(0 0 12px rgba(246, 178, 60, .55)) drop-shadow(0 0 32px rgba(246, 178, 60, .22)); }
.lamp[data-state="starting"], .lamp[data-state="stopping"] { --l0: #5a3a22; --l1: #8f5726; --l2: #c9762a; --l3: #e39a35; --l4: var(--lamp);
  animation: flicker 1.6s steps(1) infinite; }
.lamp[data-state="crashed"] { --l0: #3b1715; --l1: #6e1f1b; --l2: #8f2a24; --l3: #b8342d; --l4: var(--redstone);
  filter: drop-shadow(0 0 12px rgba(213, 65, 58, .45)); }
@keyframes flicker {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(246, 178, 60, .45)); opacity: 1; }
  20% { filter: none; opacity: .55; } 28% { filter: drop-shadow(0 0 10px rgba(246, 178, 60, .45)); opacity: 1; }
  60% { filter: none; opacity: .7; } 66% { filter: drop-shadow(0 0 8px rgba(246, 178, 60, .35)); opacity: 1; }
}

/* ---------- Grundbausteine ---------- */
.btn {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px; white-space: nowrap;
  background: var(--slate-2); border: 1px solid var(--seam); border-bottom-width: 3px; border-radius: var(--radius);
  font-weight: 500; font-size: 14px; text-decoration: none; color: var(--bone);
  transition: background .12s, transform .06s;
}
.btn:hover:not(:disabled) { background: #3e424d; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-go { background: var(--emerald-deep); border-color: #2c6a48; color: #f4fff8; }
.btn-go:hover:not(:disabled) { background: #449a6a; }
.btn-stop { background: #a6332d; border-color: #7a2420; color: #fff3f2; }
.btn-stop:hover:not(:disabled) { background: #b93a33; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ash); }
.btn-ghost:hover:not(:disabled) { background: var(--slate-2); color: var(--bone); }
.btn-small { min-height: 28px; padding: 0 10px; font-size: 13px; border-bottom-width: 2px; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 4px 0; color: var(--ash); cursor: pointer; font-size: 14px; }
.link:hover { color: var(--bone); }

input[type="text"], input[type="password"], input[type="number"], textarea {
  width: 100%; min-height: 36px; padding: 7px 10px;
  background: var(--well); border: 1px solid var(--seam); border-radius: var(--radius);
}
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, textarea:focus { outline: none; border-color: var(--lamp); }
input::placeholder, textarea::placeholder { color: var(--dim); }

.count {
  display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 10px;
  background: var(--slate-2); color: var(--ash); font: 600 12px/20px var(--mono); text-align: center;
}
.count:empty { display: none; }
.hint { color: var(--dim); font-size: 13px; }
.tag { font: 500 11px/18px var(--mono); color: var(--dim); border: 1px solid var(--seam); border-radius: 3px; padding: 0 6px; white-space: nowrap; }
.tag.on { color: var(--emerald); border-color: #2c6a48; }
.tag.op { color: var(--lamp); border-color: #7a5a22; }

/* ---------- Kopfzeile ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--inline); border-bottom: 1px solid var(--slate-2);
}
.brand { display: flex; align-items: center; gap: 8px; font: 700 18px/1 var(--display); }
.address {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--slate); border: 1px solid var(--seam); border-radius: var(--radius);
  padding: 4px 10px; font: 500 13px var(--mono); color: var(--ash);
}
.address:hover { color: var(--bone); border-color: var(--dim); }
.address svg { width: 12px; height: 12px; fill: currentColor; }
.top-actions { margin-left: auto; display: flex; gap: 20px; }

/* ---------- Statusleiste ---------- */
.status {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 24px;
  padding: 18px var(--inline);
  background: linear-gradient(180deg, var(--slate) 0%, var(--deepslate) 100%);
}
.status-lamp { width: 64px; height: 64px; }
.state { font: 700 38px/1 var(--display); letter-spacing: .01em; color: var(--ash); }
.state[data-state="online"] { color: var(--lamp); }
.state[data-state="crashed"] { color: var(--redstone); }
.state[data-state="starting"], .state[data-state="stopping"] { color: #e39a35; }
.motd { margin-top: 6px; font: 400 14px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.stats { display: flex; margin: 0; }
.stats > div { padding: 2px 20px; border-left: 1px solid var(--slate-2); }
.stats dt { font-size: 12px; color: var(--dim); white-space: nowrap; }
.stats dd { margin: 2px 0 0; font: 600 16px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dd.good { color: var(--emerald); } .stats dd.warn { color: var(--lamp); } .stats dd.bad { color: var(--redstone); }
.power { display: flex; gap: 8px; align-items: center; justify-content: flex-end; min-width: 220px; }
.power .btn { min-height: 40px; padding: 0 18px; }
.power-wait { color: var(--ash); font-size: 14px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--inline); border-bottom: 1px solid var(--slate-2);
}
.tabs button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 11px 14px; cursor: pointer; color: var(--ash); font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs button:hover { color: var(--bone); }
.tabs button[aria-selected="true"] { color: var(--bone); border-bottom-color: var(--lamp); }

.content { padding: 18px var(--inline) 20px; }

/* ---------- Konsole ---------- */
.panel-console { display: flex; flex-direction: column; gap: 8px; }
.console {
  background: var(--well); border: 1px solid var(--slate-2); border-radius: var(--radius);
  height: 60vh; overflow: auto; padding: 10px 14px;
  font: 400 12.5px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word;
}
.console .l { display: block; }
.console .time { color: var(--dim); }
.console .warn { color: var(--lamp); }
.console .error { color: #ff7a72; }
.console .panel-note { color: var(--lapis); }
.console .cmd { color: var(--bone); font-weight: 600; }
.console .join { color: var(--emerald); }
.console-input {
  display: flex; align-items: center; gap: 10px;
  background: var(--well); border: 1px solid var(--slate-2); border-radius: var(--radius); padding: 4px 4px 4px 12px;
}
.console-input:focus-within { border-color: var(--dim); }
.prompt { color: var(--lamp); font: 600 15px var(--mono); }
.console-input input[type="text"] { flex: 1; min-width: 0; background: none; border: 0; padding: 6px 0; font: 400 14px var(--mono); }
.follow { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; cursor: pointer; white-space: nowrap; }
.follow input { accent-color: var(--lamp); margin: 0; }

/* ---------- Spieler: drei identische Karten ---------- */
.panel-players { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; min-height: 0;
  background: var(--slate); border: 1px solid var(--slate-2); border-radius: var(--radius);
}
.pcard-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.pcard-head h2, .card-head h2, .sgroup h2, .modal h2 { font: 700 17px/1.2 var(--display); letter-spacing: .02em; }
.pcard-head { min-height: 52px; }
.pcard-head h2 { display: flex; align-items: center; gap: 8px; }
.pcard-head h2 .count { font-family: var(--mono); letter-spacing: 0; }
.head-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--ash); }
.head-switch.off { color: var(--lamp); }
.pcard-notice {
  margin: 10px 16px 0; padding: 8px 10px; border-radius: 3px; font-size: 13px;
  background: rgba(246, 178, 60, .1); border: 1px solid rgba(246, 178, 60, .35); color: var(--lamp);
}
.pcard-form { display: flex; gap: 8px; padding: 0 16px 12px; border-bottom: 1px solid var(--slate-2); }
.pcard-form input { flex: 1; min-width: 0; }
.plist { list-style: none; margin: 0; padding: 4px 8px; overflow: auto; flex: 1; min-height: 120px; }
.plist li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 3px; }
.plist li:hover { background: rgba(255, 255, 255, .03); }
.plist img { width: 28px; height: 28px; image-rendering: pixelated; border-radius: 3px; background: var(--slate-2); flex-shrink: 0; }
.plist .name { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.plist .btn { opacity: 0; }
.plist li:hover .btn, .plist li:focus-within .btn, .plist .btn:focus-visible { opacity: 1; }
@media (hover: none) { .plist .btn { opacity: 1; } }
.plist .empty { display: block; padding: 28px 12px; text-align: center; color: var(--dim); font-size: 14px; }
.plist .empty:hover { background: none; }

/* ---------- Einstellungen ---------- */
.settings { display: flex; flex-direction: column; gap: 12px; }
.settings-scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-content: start; }
.sgroup {
  background: var(--slate); border: 1px solid var(--slate-2); border-radius: var(--radius);
  padding: 14px 16px 6px; display: flex; flex-direction: column; min-width: 0;
}
.sgroup h2 { margin-bottom: 10px; }
.setting { padding: 9px 0; border-top: 1px solid var(--slate-2); }
.sgroup h2 + div > :first-child, .serverlist + div > :first-child { border-top: 0; }
.setting-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; font-size: 13px; color: var(--ash); }
.setting-label output { font: 600 13px var(--mono); color: var(--bone); }
.setting-help { font-size: 12px; color: var(--dim); margin-top: 2px; line-height: 1.35; }
.setting.dirty .setting-label > span:first-child::after,
.toggle.dirty .toggle-text strong::after { content: ' •'; color: var(--lamp); }

/* Server-Listen-Vorschau */
.serverlist {
  display: flex; gap: 10px; align-items: center; margin-bottom: 10px;
  background: #0d0d0f; border: 1px solid var(--slate-2); border-radius: 3px; padding: 8px 10px;
}
.serverlist img { image-rendering: pixelated; flex-shrink: 0; }
.serverlist-text { min-width: 0; flex: 1; }
.serverlist-top { display: flex; justify-content: space-between; font: 400 13px var(--mono); color: #aaa; }
.serverlist-top strong { font-weight: 400; color: #fff; }
.serverlist p { font: 400 13px/1.35 var(--mono); color: #aaa; min-height: 2.7em; overflow-wrap: anywhere; }
textarea.motd-input { resize: none; height: 54px; font: 400 13px/1.4 var(--mono); }

/* Segment-Schalter (statt Dropdown) */
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 3px; padding: 3px; background: var(--well); border: 1px solid var(--seam); border-radius: var(--radius); }
.seg-2 { grid-template-columns: 1fr 1fr; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; padding: 6px 4px; border-radius: 3px; text-align: center; font-size: 13px; color: var(--ash);
  transition: background .12s, color .12s; pointer-events: none; white-space: nowrap;
}
.seg label:hover span { color: var(--bone); background: var(--slate-2); }
.seg input:checked + span { background: var(--slate-2); color: var(--bone); box-shadow: inset 0 -2px 0 var(--lamp); }
.seg input:focus-visible + span { outline: 2px solid var(--lamp); outline-offset: 1px; }

/* Schalter mit Beschreibung */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--slate-2); cursor: pointer; }
.toggle-text { min-width: 0; }
.toggle-text strong { display: block; font-weight: 500; font-size: 14px; }
.switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; background: var(--well); border: 1px solid var(--seam); border-radius: 3px; pointer-events: none; transition: background .15s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 2px; background: var(--dim); transition: transform .15s, background .15s; }
.switch input:checked + i { background: var(--emerald-deep); border-color: #2c6a48; }
.switch input:checked + i::after { transform: translateX(16px); background: #f4fff8; }
.switch input:focus-visible + i { outline: 2px solid var(--lamp); outline-offset: 2px; }

/* Plus/Minus-Feld */
.stepper { display: flex; align-items: stretch; height: 36px; }
.stepper button {
  width: 36px; flex-shrink: 0; cursor: pointer; background: var(--slate-2); border: 1px solid var(--seam);
  font: 600 16px var(--mono); color: var(--ash);
}
.stepper button:hover { color: var(--bone); background: #3e424d; }
.stepper button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stepper button:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.stepper input[type="number"] {
  border-radius: 0; border-left: 0; border-right: 0; text-align: center; min-width: 0; flex: 1;
  font: 600 14px var(--mono); -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { align-self: center; margin-left: 10px; color: var(--dim); font-size: 13px; min-width: 44px; }

/* Schieberegler */
input[type="range"] { width: 100%; accent-color: var(--lamp); margin: 4px 0; height: 20px; cursor: pointer; }

/* Speicherleiste */
.savebar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--slate-2); border: 1px solid var(--seam); border-left: 3px solid var(--lamp);
  border-radius: var(--radius); padding: 8px 8px 8px 14px;
}
.savebar span { margin-right: auto; font-size: 14px; }

/* ---------- Listen (Plugins, Backups, Geräte) ---------- */
.card { background: var(--slate); border: 1px solid var(--slate-2); border-radius: var(--radius); padding: 16px 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .hint { margin-top: 10px; }
.rows { list-style: none; margin: 10px 0 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--slate-2); }
.rows li:first-child { border-top: 0; }
.rows .main { flex: 1; min-width: 0; }
.rows .title { font-weight: 500; overflow-wrap: anywhere; }
.rows .meta { color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.rows .actions { display: flex; gap: 6px; flex-shrink: 0; }
.rows .empty { display: block; color: var(--dim); padding: 20px 0; text-align: center; }

/* Minecraft-Farbcodes */
.mc-0 { color: #000; } .mc-1 { color: #00a; } .mc-2 { color: #0a0; } .mc-3 { color: #0aa; }
.mc-4 { color: #a00; } .mc-5 { color: #a0a; } .mc-6 { color: #fa0; } .mc-7 { color: #aaa; }
.mc-8 { color: #555; } .mc-9 { color: #55f; } .mc-a { color: #5f5; } .mc-b { color: #5ff; }
.mc-c { color: #f55; } .mc-d { color: #f5f; } .mc-e { color: #ff5; } .mc-f { color: #fff; }
.mc-l { font-weight: 700; } .mc-o { font-style: italic; } .mc-n { text-decoration: underline; } .mc-m { text-decoration: line-through; }

/* ---------- Dialoge + Toast ---------- */
.modal {
  background: var(--slate); color: var(--bone); border: 1px solid var(--seam); border-radius: 6px;
  padding: 20px; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 64px);
}
.modal-small { width: min(400px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(10, 11, 14, .72); }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal p { color: var(--ash); margin-top: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 10; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--slate-2); border: 1px solid var(--seam); border-left: 3px solid var(--emerald);
  padding: 10px 16px; border-radius: var(--radius); max-width: calc(100vw - 32px);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-left-color: var(--redstone); }

/* ---------- Login ---------- */
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-lamp { width: 80px; height: 80px; margin-bottom: 22px; }
.login-card h1 { font: 700 32px/1.1 var(--display); }
.login-sub { margin-top: 6px; color: var(--dim); font: 400 13px var(--mono); }
.login-form { width: 100%; margin-top: 28px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.field-label { font-size: 13px; color: var(--ash); }
.key-field { position: relative; }
.key-field input { padding-right: 92px; min-height: 42px; font-family: var(--mono); font-size: 14px; }
.key-toggle {
  position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 10px; cursor: pointer;
  background: var(--slate-2); border: 0; border-radius: 3px; color: var(--ash); font-size: 13px;
}
.key-toggle:hover { color: var(--bone); }
.login-form .btn { min-height: 42px; margin-top: 6px; }
.login-error { color: #ff7a72; font-size: 14px; min-height: 1.5em; }
.login-foot { margin-top: 18px; color: var(--dim); font-size: 13px; }

/* ---------- Desktop: App-Layout ohne Seiten-Scroll ---------- */
@media (min-width: 901px) and (min-height: 620px) {
  body.app { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); overflow: hidden; }
  .content { min-height: 0; overflow: hidden; }
  .panel { height: 100%; min-height: 0; }
  .console { height: auto; flex: 1; min-height: 0; }
  .panel-players .pcard { height: 100%; }
  .settings { height: 100%; }
  .settings-scroll { flex: 1; min-height: 0; overflow: auto; padding-right: 2px; }
  .panel-list { overflow: auto; }
}

/* ---------- Mittelgroß ---------- */
@media (max-width: 1280px) {
  .stat-version { display: none; }
  .settings-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .status { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .status-lamp { width: 56px; height: 56px; }
  .stats { grid-column: 1 / -1; grid-row: 2; }
  .stats > div:first-child { border-left: 0; padding-left: 0; }
  .power { grid-column: 3; grid-row: 1; }
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .panel-players { grid-template-columns: 1fr; }
  .plist { max-height: 320px; }
  .console { height: 58vh; }
  .settings-scroll { grid-template-columns: 1fr; }
  .savebar { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
}
@media (max-width: 600px) {
  .topbar { flex-wrap: wrap; gap: 10px; }
  .top-actions { gap: 14px; }
  .address { order: 3; }
  .status { grid-template-columns: 48px minmax(0, 1fr); gap: 14px 14px; padding-top: 14px; padding-bottom: 14px; }
  .status-lamp { width: 48px; height: 48px; }
  .state { font-size: 30px; }
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div { padding: 0 0 0 10px; }
  .stats dd { font-size: 14px; }
  .power { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
  .power .btn { flex: 1; }
  .follow { display: none; }
  .rows li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
