:root {
  --bg: #070b10;
  --panel: #0d141c;
  --card: #121b26;
  --text: #e8f0f7;
  --muted: #8fa3b8;
  --accent: #3dff9a;
  --blue: #388cff;
  --line: #243140;
  --warn: #ffb020;
  --danger: #ff5d73;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; height: 100%; overflow: hidden; }
html:has(#login:not(.hidden)), body:has(#login:not(.hidden)) { height: auto; min-height: 100%; overflow: auto; }
* {
  scrollbar-width: thin;
  scrollbar-color: #2a4158 #0b121a;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #0b121a; }
*::-webkit-scrollbar-thumb { background: #2a4158; border-radius: 8px; border: 2px solid #0b121a; }
*::-webkit-scrollbar-thumb:hover { background: #388cff; }
*::-webkit-scrollbar-corner { background: #0b121a; }
body {
  font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(56, 140, 255, .18), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(61, 255, 154, .08), transparent 50%),
    var(--bg);
}
button, input, textarea, select {
  font: inherit;
  color: var(--text);
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color-scheme: dark;
}
select option, select optgroup { background: #0b121a; color: var(--text); }
button { cursor: pointer; background: #16324f; }
button.primary, a.primary { background: linear-gradient(180deg, #1c8f55, #146b3e); border-color: #1f8a52; }
a.primary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; border: 1px solid #1f8a52; border-radius: 10px; padding: 10px 14px; font-weight: 650; }
button.ghost { background: transparent; }
textarea, input, select { width: 100%; }
.shell { display: grid; grid-template-columns: 228px 1fr; height: 100vh; }
.side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 16px 12px 14px;
  background: rgba(13, 20, 28, .94);
  border-right: 1px solid var(--line);
}
.brand { display: flex; gap: 10px; align-items: center; }
.brand strong { display: block; letter-spacing: .04em; font-size: 14px; }
.brand span, .muted, .kicker, .side-label, .side-foot { color: var(--muted); }
.side-label { margin: 18px 8px 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.games { display: grid; gap: 6px; flex: 1; min-height: 0; overflow: auto; align-content: start; }
.side-foot-nav { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; }
.side-foot { margin-top: 0; padding: 10px 8px 0; font-size: 12px; word-break: break-all; }
.hint { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.game {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: center;
  text-align: left;
  background: #101820;
  border-radius: 12px;
  padding: 6px;
}
.game.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px rgba(61, 255, 154, .35); }
.game strong { display: block; font-size: 13px; }
.game small { display: block; color: var(--muted); font-size: 10px; }
.game .mark, .game .ico { width: 20px; height: 20px; }
.game-art {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(56, 140, 255, .45), transparent 55%),
    linear-gradient(160deg, #16324a, #0b121a);
}
.game-art.dayz { background: radial-gradient(circle at 30% 30%, rgba(143, 163, 184, .35), transparent 55%), #101820; }
.game-art.reforger { background: radial-gradient(circle at 30% 30%, rgba(56, 140, 255, .4), transparent 55%), #101820; }
.game-art.asa { background: radial-gradient(circle at 30% 30%, rgba(232, 184, 109, .4), transparent 55%), #101820; }
.game-art.palworld { background: radial-gradient(circle at 30% 30%, rgba(122, 208, 255, .4), transparent 55%), #101820; }
.game-art.rust { background: radial-gradient(circle at 30% 30%, rgba(205, 127, 50, .45), transparent 55%), #101820; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #243140; }
.game.active .pulse { background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 255, 154, .15); }
.mark, .ico { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.game-art .ico { width: 18px; height: 18px; color: var(--accent); }
.workspace { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top {
  flex: none;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 12px 18px 0;
  background: rgba(7, 11, 16, .96);
  border-bottom: 1px solid var(--line);
}
.chrome-label {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.title-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.title-right { display: flex; align-items: center; gap: 10px; flex: none; min-height: 32px; }
.shop-actions { display: flex; gap: 8px; align-items: center; }
.shop-actions.hidden { display: none; }
.shop-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 14px;
  border-radius: 12px;
  white-space: nowrap;
}
.shop-actions .ico { width: 18px; height: 18px; border-radius: 0; }
.shop-actions #shop-account { background: #16324f; border-color: #2a5a8a; color: var(--text); }
.shop-actions #shop-donate { background: #3a2a12; border-color: #c4923a; color: #f6e2b8; }
.shop-actions #shop-donate.active { border-color: #f0c36a; box-shadow: inset 0 0 0 1px rgba(240, 195, 106, .45); }
.donate-copy { white-space: pre-wrap; line-height: 1.45; margin: 0 0 14px; }
.donate-links { display: flex; flex-direction: column; gap: 0; margin: 12px 0; }
.donate-link { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px 0; }
.donate-link + .donate-link { border-top: 1px solid var(--line); }
.donate-link strong { font-size: 14px; color: var(--text); }
.donate-link a { max-width: 100%; overflow-wrap: anywhere; color: #8ec8ff; text-decoration: none; }
.donate-link a:hover { text-decoration: underline; }
.donate-editor { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.donate-edit { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 10px; background: #0b121a; }
.donate-edit-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.donate-edit .field { flex: 1 1 220px; margin: 8px 0 0; }
.donate-edit .field input { margin-top: 4px; }
.donate-show {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.donate-show input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: none;
  accent-color: var(--accent);
}
.donate-edit-top .danger { flex: none; margin: 0 0 2px; padding: 8px 12px; }
.donate-editor > button { align-self: flex-start; }
.donate-live {
  margin-top: 2px;
  padding: 10px 12px 2px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
}
.donate-live-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.donate-live .donate-links { margin-top: 4px; }
.donate-live .donate-copy { margin-bottom: 0; }
h1 { margin: 0; font-family: Bahnschrift, "Segoe UI Variable", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
h2 { margin: 0 0 8px; font-size: 15px; }
.lead { margin: 0 0 8px; color: var(--muted); line-height: 1.4; }
.tabs, .subs { display: flex; gap: 4px; align-items: center; }
.tabs { margin-top: 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs.tabs-pin { overflow: visible; }
.tabs-flow {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px;
  margin-top: -10px;
}
.tabs-flow::-webkit-scrollbar { display: none; }
.tabs .tab-end { flex: none; margin-left: 8px; }
.tabs-pin-group { display: flex; gap: 4px; flex: none; align-items: center; }
.reward-page { display: grid; gap: 14px; }
.reward-page h3 { margin: 12px 0 8px; font-size: 14px; }
.reward-page p { margin: 0 0 8px; line-height: 1.5; }
.reward-intro { padding-bottom: 0; }
.reward-intro > p { max-width: 78ch; }
.reward-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px -14px 0;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: #101820;
  border-radius: 0 0 15px 15px;
}
.reward-tabs button {
  background: #0b121a;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 14px;
}
.reward-tabs button.active {
  background: #16324f;
  border-color: var(--accent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(61, 255, 154, .45);
}
.reward-picked h2 { margin: 0; }
.reward-picked p { margin: 4px 0 0; color: var(--muted); }
.reward-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reward-split section { background: #0b121a; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.reward-picks { align-items: start; }
.reward-pick h3 { display: flex; align-items: baseline; gap: 8px; }
.reward-count { color: var(--muted); font-size: 12px; font-weight: 650; }
.reward-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.reward-table th, .reward-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.reward-table th { color: var(--muted); font-weight: 600; }
.reward-pool, .reward-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reward-pool { counter-reset: pool; }
.reward-pool li, .reward-tickets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
}
.reward-pool li { justify-content: flex-start; }
.reward-pool li::before {
  counter-increment: pool;
  content: counter(pool, decimal-leading-zero);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 1.8em;
}
.reward-tickets li span {
  flex: none;
  background: #16324f;
  border: 1px solid #24527f;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}
.reward-winners { margin: 8px 0 0; padding-left: 18px; }
.reward-winners li { margin: 2px 0; }
.reward-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.reward-steps li { line-height: 1.45; }
@media (max-width: 800px) {
  .reward-split, .reward-facts { grid-template-columns: 1fr; }
}
.tabs .ico { width: 16px; height: 16px; border-radius: 0; }
.subs { flex-wrap: wrap; margin-top: 2px; padding-bottom: 0; }
.deep-tabs { margin: 6px 0 0; padding: 0; gap: 6px; }
.shop-maps.is-off .shop-map-when { display: none; }
.tabs button, .subs button {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border-color: transparent; color: var(--muted);
  border-radius: 10px; padding: 8px 12px; white-space: nowrap;
}
.tabs button.active { background: #16324f; border-color: #24527f; color: var(--text); }
.subs button.active { color: var(--accent); background: transparent; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.deep-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0b121a;
  color: var(--muted);
  box-shadow: none;
  padding: 6px 12px;
}
.deep-tabs button.active {
  color: var(--text);
  background: #16324f;
  border-color: #24527f;
  box-shadow: none;
  border-radius: 999px;
}
#stage, #later { flex: 1; min-height: 0; overflow: auto; overflow-anchor: none; padding: 12px 18px 14px; }
.fit { height: 100%; min-height: 0; display: grid; gap: 12px; }
.fit.two { grid-template-columns: 1fr 1fr; }
.fit.three { grid-template-columns: 1fr 1fr 1fr; }
.fit.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fit.three.tribe-page,
.fit.tribe-page {
  height: 100%;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
}
.fit.tribe-page.one { grid-template-columns: minmax(0, 1fr); }
.tribe-maps, .tribe-slot {
  min-height: 0;
  overflow: auto;
  overflow-anchor: none;
}
.tribe-maps > h2, .tribe-slot > h2 { margin: 0 0 10px; min-height: 32px; }
.tribe-slot > .tribe-map { margin-top: 0; }
.tribe-pending-split {
  height: 1px;
  margin: 14px 0;
  border: 0;
  background: var(--line);
}
.tribe-queue .tribe-head { padding: 8px 8px 8px 12px; }
.tribe-queue-main { min-width: 0; display: grid; gap: 2px; }
.tribe-queue .tribe-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tribe-queue .tribe-timer { white-space: normal; }
.tribe-queue-note { margin: 0; font-size: 12px; }
.tribe-back {
  padding: 6px 8px;
  font-size: 12px;
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.tribe-map {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b121a;
}
.tribe-map:first-child { margin-top: 0; }
.tribe-map-toggle, .tribe-toggle, .squad-toggle {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 12px;
}
.tribe-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.tribe-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.tribe-edit, .tribe-del {
  padding: 6px 8px;
  font-size: 12px;
  background: transparent;
}
.tribe-ico-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
}
.tribe-ico-btn .ico {
  width: 14px;
  height: 14px;
  border-radius: 0;
}
.tribe-edit { border-color: var(--line); }
.tribe-del {
  border-color: #5a2430;
  color: var(--danger);
}
.tribe-map-toggle .map-head-name, .tribe-toggle .tribe-name, .squad-toggle .squad-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tribe-timer {
  flex: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  white-space: nowrap;
}
.tribe-empty {
  flex: none;
  margin: 0;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(143, 163, 184, .45);
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.tribe-row.is-ok .tribe-empty,
.tribe-row.is-soon .tribe-empty,
.tribe-row.is-expired .tribe-empty { color: var(--muted); }
.tribe-row.is-vacant { border-style: dashed; }
.tribe-row.is-ok { border-color: rgba(61, 255, 154, .45); }
.tribe-row.is-ok .tribe-name, .tribe-row.is-ok .tribe-timer { color: var(--accent); }
.tribe-row.is-soon { border-color: rgba(255, 176, 32, .55); }
.tribe-row.is-soon .tribe-name, .tribe-row.is-soon .tribe-timer { color: var(--warn); }
.tribe-row.is-expired { border-color: rgba(255, 93, 115, .55); }
.tribe-row.is-expired .tribe-name, .tribe-row.is-expired .tribe-timer { color: var(--danger); }
.tribe-row.is-unknown .tribe-name, .tribe-row.is-unknown .tribe-timer { color: var(--muted); }
button.danger { background: #5a1d28; border-color: #8a2d3c; }
.tribe-confirm { margin-top: 10px; display: grid; gap: 8px; }
.tribe-confirm.hidden { display: none; }
.tribe-confirm label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.tribe-sync { margin: 0 0 8px; font-size: 12px; }
.tribe-map-toggle .chevron, .tribe-toggle .chevron, .squad-toggle .chevron {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  margin: 0 4px 2px 2px;
}
.tribe-map.folded .tribe-map-toggle .chevron,
.tribe-row.folded .tribe-toggle .chevron,
.squad-row.folded .squad-toggle .chevron { transform: rotate(-45deg); margin-bottom: 0; }
.tribe-map.folded .tribe-map-body,
.tribe-row.folded .tribe-members,
.squad-row.folded .squad-members { display: none; }
.tribe-map-body { padding: 0 12px 12px; }
.tribe-map-body > p.muted { margin: 0; }
.tribe-row, .squad-row {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101820;
}
.tribe-row:first-child, .squad-row:first-child { margin-top: 0; }
.tribe-members, .squad-members { padding: 0 10px 10px; }
.tribe-player {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #0b121a;
}
.tribe-player:first-child { margin-top: 0; }
.tribe-player.is-off { opacity: .7; }
.tribe-player.is-away { opacity: .78; }
.tribe-player span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tribe-player strong { min-width: 0; }
.tribe-player em {
  margin-left: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .04em;
}
.tribe-player small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tribe-player[data-player], button.tribe-player { width: 100%; text-align: left; }
.squad-toggle .squad-count {
  flex: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.squad-toggle b { margin-left: auto; white-space: nowrap; font-family: Bahnschrift, sans-serif; }
.archive-page { display: grid; gap: 10px; }
.archive-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.archive-tools input { flex: 1; min-width: 180px; max-width: 360px; }
.archive-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.archive-user { background: #0b121a; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.archive-user .squad-toggle { padding: 12px 14px; }
.archive-face { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: #101820; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; color: var(--text); }
.archive-body { padding: 0 12px 12px; display: grid; gap: 8px; }
.archive-body .desk-cart { margin: 0; background: #101820; }
.archive-body .inbox-lines { margin: 10px 0 0; }
.archive-body .inbox-line { grid-template-columns: minmax(0, 1fr) auto; }
.archive-body .desk-cart header span { color: var(--muted); font-size: 12px; }
.archive-empty, .archive-miss { margin: 0; }
.squad-members .tribe-player span {
  display: flex;
  flex-direction: column;
  white-space: normal;
}
.squad-members .tribe-player small { display: block; }
.overview-stack {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}
.overview-stack.solo { grid-template-rows: minmax(0, 1fr); }
.fit.two.overview-home { height: 100%; min-height: 0; overflow: hidden; align-items: stretch; }
.fit.two.overview-home > .landing-maps { min-height: 0; height: 100%; overflow: auto; }
.overview-side { min-height: 0; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.overview-side > .landing-log { flex: 1 1 0; min-height: 0; overflow: auto; }
.overview-side > .landing-drop { flex: 0 0 auto; overflow: visible; display: grid; gap: 8px; align-content: start; }
.landing-drop h2, .landing-drop p { margin: 0; }
.keep-choices { display: grid; gap: 6px; }
.keep-choice { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #0b121a; cursor: pointer; }
.keep-choice.is-on { border-color: var(--accent); }
.keep-choice input { grid-row: 1 / span 2; margin: 0; width: 16px; height: 16px; }
.keep-choice span { font-weight: 650; }
.keep-choice small { color: var(--muted); font-size: 12px; }
.landing-drop .row { margin: 0; }
.landing-maps, .landing-log {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
  overflow-anchor: none;
}
.map-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex: none;
  margin: 0 0 10px;
  min-height: 32px;
}
.map-summary strong { font-size: 15px; }
.map-summary span { color: var(--muted); font-size: 12px; }
.map-group {
  margin: 14px 2px 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
}
.map-group:first-of-type { margin-top: 0; }
.landing-log > h2 {
  flex: none;
  margin: 0 0 10px;
  min-height: 32px;
}
.landing-empty { margin: 8px 0 0; }
.landing-empty-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 140px;
  text-align: center;
}
.landing-empty-wrap p { margin: 0; font-size: 14px; }
.arrival-log { flex: 1; min-height: 0; overflow: auto; }
.arrival-log li { grid-template-columns: 76px 1fr; align-items: start; }
.arrival-log small { display: block; margin-top: 2px; color: var(--muted); }
.map-block {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b121a;
}
.map-block:first-child { margin-top: 0; }
.map-block:hover { border-color: #2e4256; }
.map-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 10px;
}
.map-toggle {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 4px 0;
}
.map-head-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-tag {
  flex: none;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.map-count {
  flex: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  min-width: 1.25em;
  text-align: right;
}
.map-toggle .chevron {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  margin: 0 4px 2px 2px;
}
.map-block.folded .map-toggle .chevron { transform: rotate(-45deg); margin-bottom: 0; }
.map-block.folded .map-body { display: none; }
.map-block.hide-off .offline-only { display: none; }
.map-head .check {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  user-select: none;
}
.map-head .check input { width: auto; flex: none; }
.map-body { padding: 0 12px 12px; }
.map-body .kicker { margin: 0 0 2px; }
.map-body .player { margin-top: 6px; padding: 8px 10px; border-radius: 10px; }
.map-body .player.is-off { opacity: .7; }
.map-body.stats-cols .kicker-row,
.map-body.stats-cols .player {
  display: grid;
  grid-template-columns: 14px minmax(110px, 1.3fr) minmax(118px, 1fr) minmax(92px, .85fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
}
.map-body.stats-cols.rf-cols .kicker-row,
.map-body.stats-cols.rf-cols .player {
  grid-template-columns: 14px minmax(90px, 1fr) minmax(110px, .9fr) minmax(86px, .7fr) minmax(72px, .65fr) minmax(88px, .75fr);
}
.map-body.stats-cols.asa-cols .kicker-row,
.map-body.stats-cols.asa-cols .player {
  grid-template-columns: 14px minmax(110px, 1.15fr) minmax(110px, 1fr) minmax(118px, .95fr) minmax(92px, .8fr);
}
.map-body.stats-cols .kicker-row { margin: 0; padding-top: 0; padding-bottom: 2px; }
.map-body.stats-cols .kicker-row .kicker { margin: 0; }
.map-body.stats-cols .kicker-row .kicker-dot {
  width: 10px;
  height: 10px;
  visibility: hidden;
}
.map-body.stats-cols .player-line { position: relative; }
.map-body.stats-cols .player-line > .player { width: 100%; padding-right: 36px; }
.player-trash { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; z-index: 1; }
.player-trash .ico { width: 16px; height: 16px; }
.player-trash:hover { color: #ff5d6c; }
#stage[data-access="read"] .player-trash { pointer-events: none; opacity: .45; }
.map-body.stats-cols .player .who,
.map-body.stats-cols .player .stat { min-width: 0; }
.map-body.stats-cols .player .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1px;
  text-align: left;
}
.map-body.stats-cols .player .stat small { display: none; }
.map-body.stats-cols .player .stat b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-body.stats-cols .muted,
.map-body.stats-cols .offline-split,
.map-body.stats-cols .server-split { grid-column: 1 / -1; }
.server-split {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 2px 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}
.server-split::before, .server-split::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.landing-maps.one-server .map-block {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.landing-maps.one-server .map-block:hover { border-color: transparent; }
.landing-maps.one-server .map-head {
  padding: 0 0 10px;
  min-height: 32px;
  flex: none;
}
.landing-maps.one-server .map-summary,
.landing-maps.one-server .map-group { display: none; }
.landing-maps.one-server .map-head-name {
  font-size: 15px;
  font-weight: 600;
}
.landing-maps.one-server .map-body { padding: 0; flex: 1; min-height: 0; overflow: auto; }
.panel.landing-maps.one-server, .panel.landing-log { overflow: hidden; }
.offline-split {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.offline-split::before, .offline-split::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.landing-sim { margin: 0; }
.landing-sim summary { cursor: pointer; }
.fit.one { grid-template-columns: minmax(0, 880px); align-content: start; }
.fit.wide { grid-template-columns: 1fr; }
.bot-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.bot-home-grid .field { margin-top: 0; }
.bot-home .status { justify-content: flex-start; margin-top: 14px; }
.bot-home input[readonly] { color: var(--muted); }
.bot-home-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.bot-home-actions .primary { flex: 0 0 auto; }
.rechte-desk { align-content: start; }
.rechte-add { display: flex; gap: 8px; margin: 12px 0; }
.rechte-add input { flex: 1; }
.rechte-people { display: grid; gap: 6px; }
.rechte-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.rechte-head h2, .rechte-game h3 { margin: 0; }
.rechte-game { display: grid; gap: 8px; margin-top: 18px; }
.rechte-group { display: grid; }
.rechte-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 140px; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
#stage[data-access="read"] button.primary,
#stage[data-access="read"] button.danger { pointer-events: none; opacity: .45; }
.overview {
  height: 100%; min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}
.metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.map-card { grid-column: 1 / -1; min-height: 0; display: flex; flex-direction: column; }
.panel {
  min-height: 0;
  overflow: auto;
  overflow-anchor: none;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 32%), var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.panel h2 { display: flex; align-items: center; gap: 8px; }
.stat { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.stat b { font-family: Bahnschrift, sans-serif; font-size: 28px; font-weight: 600; line-height: 1; }
.meter { height: 6px; margin-top: 8px; border-radius: 99px; background: #0b121a; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.ok { color: var(--accent); }
.warn { color: var(--warn); }
.bad { color: var(--danger); }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.row > * { flex: 1 1 120px; }
.row button { flex: 0 0 auto; }
label.field { display: block; margin: 10px 0 4px; color: var(--muted); font-size: 12px; }
.player-search { display: block; margin: 0 0 10px; }
.player-search input { width: 100%; }
.switches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #0b121a; }
.switches .switch { margin-top: 0; }
.shop-maps { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.shop-maps h3 { margin: 8px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.shop-map { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #0b121a; }
.shop-map > .switch { margin-top: 0; border: 0; background: transparent; padding: 0; }
.shop-map-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin-top: 8px; }
.shop-map.is-off .shop-map-when { display: none; }
.shop-days { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.shop-days .switch { margin: 0; padding: 6px 8px; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 36px; height: 20px; border-radius: 99px; background: #243140; position: relative; flex: none; }
.switch i::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #e8f0f7; top: 3px; left: 3px; }
.switch input:checked + i { background: #1f8a52; }
.switch input:checked + i::after { left: 19px; }
.map {
  position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(rgba(56,140,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,140,255,.16) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, #1a3d58, #0b121a 72%);
  background-size: 12.5% 12.5%, 12.5% 12.5%, auto;
  border: 1px solid var(--line);
}
.bracket { position: absolute; width: 16px; height: 16px; pointer-events: none; border-color: rgba(232, 240, 247, .45); border-style: solid; }
.bracket.tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.bracket.tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.bracket.bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.bracket.br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.compass { position: absolute; left: 50%; top: 46%; width: 92px; height: 92px; transform: translate(-50%, -50%); pointer-events: none; }
.map-empty {
  position: absolute; left: 0; right: 0; bottom: 14px; margin: 0;
  text-align: center; color: var(--muted); letter-spacing: .14em;
  text-transform: uppercase; font-size: 11px; pointer-events: none;
}
.tag { font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tag.planned, .tag.skip { color: var(--warn); }
.tag.rcon, .tag.discord { color: var(--accent); }
.tag.rcon_error { color: var(--danger); }
.dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(0,0,0,.28); padding: 0; min-width: 0; }
button.dot { border: 0; }
.ico, .mark, .pulse, .presence { pointer-events: none; }
.dot.player { background: var(--accent); }
.dot.vehicle { background: var(--blue); }
.dot.flag { background: var(--warn); }
.dot.mine { background: var(--danger); }
.dot span { position: absolute; left: 14px; top: -6px; white-space: nowrap; font-size: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.timeline em { color: var(--blue); font-style: normal; font-size: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 13px; }
th.bonus-role { font-size: 11px; font-weight: 650; letter-spacing: 0.01em; white-space: nowrap; }
.bonus-role-row { max-width: 28rem; margin: 0 0 14px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 6px; border: 1px solid var(--line); }
.legend { display: flex; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 8px; flex: none; }
.legend b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.hit { display: grid; grid-template-columns: 78px 1fr 28px; gap: 8px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted); }
.hit i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.hit b { color: var(--text); text-align: right; }
.status { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #101820; border: 1px solid var(--line); font-size: 12px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.chip.ok i { background: var(--accent); }
.hidden { display: none; }
#login { max-width: 440px; margin: 8vh auto; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
#login .lead { margin: 0 0 14px; }
#login .primary { width: 100%; }
.login-logo { display: block; width: min(100%, 360px); height: auto; margin: 0 auto 14px; border-radius: 18px; }
.fit.one.shop-home { grid-template-columns: 1fr; justify-items: stretch; align-content: start; gap: 22px; padding: 0; margin-top: -8px; }
.shop-home-logo { width: min(48%, 360px); height: auto; display: block; justify-self: center; }
.shop-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.shop-banner {
  --glow: rgba(56, 140, 255, .18);
  --edge: #388cff;
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 16px 16px 16px 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(120% 90% at 0% 0%, var(--glow), transparent 58%),
    linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.012) 42%, #0b121a);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.shop-banner::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--edge);
  box-shadow: 0 0 16px var(--edge);
}
.shop-banner:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--edge) 65%, #243140);
  box-shadow: 0 16px 36px rgba(0,0,0,.32), 0 0 0 1px color-mix(in srgb, var(--edge) 40%, transparent);
}
.shop-banner--gamesplanet { --glow: rgba(61, 255, 154, .16); --edge: #3dff9a; }
.shop-banner--lagofast { --glow: rgba(56, 220, 255, .18); --edge: #4ad8ff; }
.shop-banner--instant-gaming { --glow: rgba(255, 140, 60, .2); --edge: #ff8c3c; }
.shop-banner--iggm { --glow: rgba(78, 224, 200, .18); --edge: #4ee0c8; }
.shop-banner-ad {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-banner-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(7, 11, 16, .72);
  border: 1px solid rgba(255,255,255,.08);
}
.shop-banner-logo img { width: 52px; height: 52px; object-fit: contain; }
.shop-banner--iggm .shop-banner-logo img { width: 64px; height: 36px; }
.shop-banner-copy { display: grid; gap: 3px; min-width: 0; padding-right: 8px; }
.shop-banner-kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--edge); font-weight: 650; }
.shop-banner-copy strong { font-size: 18px; letter-spacing: -.03em; }
.shop-banner-deal { color: var(--muted); font-size: 13px; line-height: 1.4; }
.shop-banner-code {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74, 216, 255, .12);
  border: 1px solid rgba(74, 216, 255, .35);
}
.shop-banner-code small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9fdfff; }
.shop-banner-code b { font-size: 13px; letter-spacing: .04em; }
.shop-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--edge) 78%, #fff), color-mix(in srgb, var(--edge) 55%, #0b121a));
  border: 1px solid color-mix(in srgb, var(--edge) 50%, #243140);
}
.shop-banner--split { grid-template-columns: minmax(0, 1fr) auto; }
.shop-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.shop-banner.shop-banner--offers {
  --glow: rgba(61, 255, 154, .12);
  --edge: #3dff9a;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 10px;
}
.shop-offer-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; min-width: 0; }
.shop-offer-head strong { font-size: 18px; letter-spacing: -.03em; }
.shop-offer-week { color: var(--muted); font-size: 12px; }
.shop-offer-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-offer {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 8px;
  text-align: left;
  color: var(--text);
  background: rgba(7, 11, 16, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
}
.shop-offer img, .shop-offer-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: #101820;
}
.shop-offer-mark {
  display: grid;
  place-items: center;
  color: var(--edge);
  font-weight: 700;
}
.shop-offer-copy { display: grid; gap: 2px; min-width: 0; }
.shop-offer-kicker { color: var(--edge); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; }
.shop-offer-copy strong { font-size: 13px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-offer-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 12px; }
.shop-offer-prices s { color: var(--muted); }
.shop-offer-prices b { font-size: 14px; }
.shop-offer-prices em { color: #ffd36a; font-style: normal; font-weight: 700; }
.shop-offer-dots { display: flex; gap: 6px; }
.shop-offer-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  border: 0;
  background: #243140;
}
.shop-offer-dot.is-active { background: var(--edge); }
.shop-banner--g2g { --glow: rgba(255, 184, 48, .16); --edge: #ffb020; }
.shop-banner--g2g .shop-banner-copy { display: flex; align-items: center; gap: 12px; }
.shop-banner--g2g .shop-banner-copy-text { display: grid; gap: 3px; min-width: 0; }
.shop-banner--g2g .shop-banner-logo { width: 112px; height: 52px; flex: none; }
.shop-banner--g2g .shop-banner-logo img { width: 96px; height: 36px; }
button.primary:disabled { opacity: .55; cursor: default; }
#form-error { min-height: 0; margin: 6px 0 0; }
#form-error:empty { display: none; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.later-card { max-width: 520px; }
.story-art, .later-art { height: 140px; border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 58%, rgba(61, 255, 154, .28), transparent 42%),
    linear-gradient(rgba(56,140,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,140,255,.18) 1px, transparent 1px),
    #0b121a;
  background-size: auto, 24px 24px, 24px 24px, auto;
}
.story-art.welcome { background: radial-gradient(circle at 50% 40%, rgba(56,140,255,.4), transparent 46%), #0b121a; }
.story-art.shop { background: radial-gradient(circle at 50% 62%, rgba(61,255,154,.35), transparent 40%), linear-gradient(#16324a, #0b121a); }
.panel.story { align-self: start; }
select[multiple] { min-height: 8.5rem; }
.game-block { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 650; }
label.check input { width: auto; }
.fit.servers { height: auto; align-content: start; }
.player { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: #0b121a; margin-top: 8px; }
.player.history { cursor: default; }
.player.is-off { opacity: .72; }
.player span { flex: 1; min-width: 0; }
.player strong, .player small { display: block; }
.player small { color: var(--muted); font-size: 12px; }
.ini-list { display: grid; gap: 6px; margin-top: 10px; }
.ini-grid { display: grid; gap: 4px; }
.ini-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(68px, 120px) minmax(48px, 80px) minmax(48px, 80px) minmax(110px, 200px);
  gap: 8px 16px;
  align-items: center;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(36, 49, 64, .85);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}
.ini-row:nth-child(even) { background: rgba(122, 168, 214, .07); }
.ini-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ini-copy b { font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.ini-vanilla, .ini-bound { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ini-vanilla small, .ini-bound small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ini-vanilla b, .ini-bound b { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.ini-points { margin: 0; padding: 0 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.ini-points li { margin: 0; }
.ini-row input, .ini-row textarea { margin: 0; min-height: 32px; width: 100%; }
.ini-row textarea { min-height: 72px; resize: vertical; }
.ini-pending, .ini-lock, .ini-absent { color: #7dffb8; font-size: 11px; }
.ini-lock, .ini-absent { color: var(--muted); }
@media (max-width: 720px) {
  .ini-row { grid-template-columns: 1fr; gap: 6px; }
}
.combat-head, .combat-list .player {
  display: grid;
  grid-template-columns: 14px minmax(120px, 1.4fr) repeat(8, minmax(52px, .7fr));
  gap: 8px;
  align-items: center;
}
.combat-head.dayz, .combat-list.dayz .player {
  grid-template-columns: 14px minmax(180px, 1.8fr) repeat(4, minmax(104px, 1fr));
}
.combat-head.dayz .kicker { letter-spacing: .08em; white-space: nowrap; }
.combat-list.dayz .player .stat b { font-variant-numeric: tabular-nums; }
.combat-head {
  margin: 8px 0 0;
  padding: 0 10px 4px;
}
.combat-head .kicker { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.combat-head .kicker-dot { width: 10px; height: 10px; visibility: hidden; }
.combat-list .player { margin-top: 6px; padding: 8px 10px; }
.combat-list .player .who, .combat-list .player .stat { min-width: 0; }
.combat-list .player .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.combat-list .player .stat small { display: none; }
.combat-list .player .stat b {
  font-family: Bahnschrift, "Segoe UI Variable", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.combat-list .muted { grid-column: 1 / -1; }
@media (max-width: 1100px) {
  .combat-head { display: none; }
  .combat-list .player {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .combat-list .player .who { flex: 1 1 140px; }
  .combat-list .player .stat { flex: 0 0 auto; min-width: 64px; }
  .combat-list .player .stat small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
}
.presence { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.presence.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 255, 154, .16); }
.presence.off { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 93, 115, .16); }
.squad-members .squad-row { margin-top: 8px; }
.zone-body { padding-bottom: 12px; }
.zone-body .server-facts, .trader-list .server-facts { margin: 0 0 10px; }
.cmd-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cmd-grid button { flex: 0 0 auto; }
.cmd-group { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cmd-group h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cmd-group .cmd-grid { margin-bottom: 2px; }
.cmd-line {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.cmd-line.cmd-slider { grid-template-columns: 11.5rem minmax(0, 1fr) 72px auto; }
.cmd-line.cmd-skill { grid-template-columns: 11.5rem minmax(0, 1fr) 72px auto; }
.cmd-xyz-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; min-width: 0; }
.cmd-xyz-fields input { width: 100%; }
.cmd-line > span:first-child { color: var(--text); font-size: 11px; font-family: ui-monospace, Consolas, monospace; line-height: 1.25; }
.cmd-hint { color: var(--muted); font-size: 12px; }
.cmd-line b { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 650; color: var(--text); white-space: nowrap; text-align: right; }
.cmd-line button { white-space: nowrap; }
.cmd-line input[type=range] {
  width: 100%;
  height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  accent-color: var(--accent);
}
.cmd-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.cmd-lists button { width: 100%; font-size: 12px; font-family: ui-monospace, Consolas, monospace; }
.cmd-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.cmd-more > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  list-style: none;
}
.cmd-more > summary::-webkit-details-marker { display: none; }
.cmd-result { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #0b121a; min-height: 72px; }
.cmd-result strong { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; word-break: break-word; }
.cmd-result pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 12px/1.45 ui-monospace, Consolas, monospace; max-height: 280px; overflow: auto; }
.cmd-result.is-empty pre { color: var(--muted); }
.cmd-result.ok { border-color: rgba(61, 255, 154, .35); }
.cmd-result.error { border-color: rgba(255, 93, 115, .45); }
.cmd-result.planned { border-color: rgba(255, 176, 32, .4); }
#cmd-note:empty, #tp-note:empty { display: none; margin: 0; }
.command-teleport { grid-column: 1 / -1; }
.teleport-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; margin: 12px 0; }
.teleport-flow label span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.teleport-flow select { width: 100%; }
.teleport-flow strong { padding-bottom: 9px; color: var(--accent); }
.teleport-map { margin: 12px 0 0; }
.teleport-map label span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.teleport-map select { width: 100%; }
.cmd-group.is-locked { opacity: .5; }
#teleport-note:empty { margin: 0; min-height: 0; }
.fit.two.desk { height: 100%; min-height: 0; align-items: stretch; align-content: start; }
.fit.two.desk > .panel { min-width: 0; min-height: 0; overflow: auto; }
.fit.three.desk { height: 100%; min-height: 0; align-items: stretch; }
.fit.three.desk > .panel { min-width: 0; min-height: 0; overflow: hidden; }
.fit.three.desk > .panel.desk-stack { overflow: auto; }
.desk-card { display: flex; flex-direction: column; min-height: 0; }
.desk-stack { gap: 16px; }
.cmd-result.desk-last { min-height: 0; margin-top: 14px; }
.chat-feed { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-height: 160px; max-height: min(58vh, 640px); overflow: auto; margin-top: 10px; }
.fit.four.desk { height: 100%; min-height: 0; align-items: stretch; }
.fit.four.desk > .panel { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.fit.four.desk > .panel.desk-stack { overflow: auto; }
.fit.four.desk > .panel h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 0 auto; }
.fit.four.desk > .panel > p.muted { flex: 0 0 auto; }
.chat-compose { margin-top: auto; display: grid; gap: 8px; padding-top: 10px; flex: 0 0 auto; }
.chat-compose .field { margin: 0; }
#asa-cluster-text, #asa-einzel-text { margin-top: 0; }
.chat-item { display: block; padding: 0; border: 0; background: transparent; }
.chat-who { color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.35; }
.chat-text { color: var(--text); font-size: 14px; line-height: 1.45; word-break: break-word; white-space: pre-wrap; }
.cmd-block { margin-top: 12px; }
.cmd-block .row { align-items: end; }
.blacklist-list { flex: 1 1 auto; min-height: 140px; max-height: none; overflow: auto; margin-top: 8px; }
.blacklist-list table { width: 100%; }
.modal-back { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .62); display: grid; place-items: center; padding: 18px; }
.modal { width: min(680px, 100%); max-height: min(82vh, 760px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.player-sheet { width: min(760px, 100%); }
.sheet-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 14px; }
.sheet-facts div { background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.sheet-facts dt { color: var(--muted); font-size: 12px; }
.sheet-facts dd { margin: 4px 0 0; word-break: break-word; }
.player-sheet .modal-head h2 { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.player-sheet .modal-head h2 .sheet-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-body button.player { border-color: transparent; background: #0b121a; color: inherit; width: 100%; font: inherit; }
.player-sheet .cmd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.player-sheet .cmd-grid button { width: 100%; }
.player-sheet .cmd-grid button[data-act="ban"] { background: #5a1d28; border-color: #8a2d3c; }
.player-sheet #sheet-error:empty { display: none; }
button.player { text-align: left; cursor: pointer; }
button.player:hover { border-color: #24527f; }
button.player.is-picked { border-color: #24527f; background: #122033; }
.fit.two.desk.creature-page { grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.4fr); }
.creature-page > .panel { min-height: 0; overflow: auto; overflow-anchor: none; }
.creature-card h2 { margin-top: 0; }
.creature-map { margin: 14px 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.creature-tribe { margin-top: 14px; }
.creature-tribe + .creature-tribe { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.creature-tribe h3 { margin: 0 0 2px; font-size: 15px; }
.creature-art { margin-top: 8px; }
.creature-art-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color: inherit;
  font: inherit;
}
.creature-art-toggle:hover { border-color: #24527f; }
.creature-art-toggle strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creature-art-toggle small { color: var(--muted); font-variant-numeric: tabular-nums; }
.creature-art-toggle .chevron { transform: rotate(-45deg); margin: 0 2px 2px 0; }
.creature-art.open .creature-art-toggle .chevron { transform: rotate(45deg); margin: 2px 0 0 2px; }
.creature-art .creature-list { display: none; margin: 6px 0 0 18px; }
.creature-art.open .creature-list { display: grid; }
.creature-list { display: grid; gap: 6px; }
.tribe-dinos { margin: 8px 0 4px; display: grid; gap: 6px; }
.tribe-dinos h3 { margin: 0; font-size: 14px; }
.creature-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-content: space-between; gap: 12px; align-items: start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0b121a; }
.creature-row span { min-width: 0; display: grid; }
.creature-row small, .creature-row em { color: var(--muted); font-style: normal; text-align: right; }
.creature-row strong { white-space: normal; overflow: visible; text-overflow: unset; }
button.player:hover .who strong { text-decoration: underline; text-underline-offset: 2px; }
.modal.modal-settings { width: min(720px, 100%); }
.modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.modal-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.sim { margin-top: 12px; color: var(--muted); }
.server-desk { height: 100%; min-height: 0; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 12px; }
.server-rail { min-height: 0; overflow: auto; display: grid; gap: 8px; align-content: start; }
.server-rail > .warn { margin: 0; }
.server-pane { min-height: 0; overflow: auto; }
.server-pane-title { margin: 0 0 8px; }
.settings-pairs { display: grid; gap: 12px; }
.game-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  grid-template-rows: auto repeat(6, auto);
}
.game-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / span 7;
  row-gap: 6px;
  align-content: start;
  min-width: 0;
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px 12px;
}
.game-col > h2 { margin: 0 0 2px; font-size: 16px; }
.game-col .rank-row { min-width: 0; grid-template-columns: 9.6rem minmax(0, 1fr); gap: 6px; }
.game-col .rank-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-col .rank-row select { min-width: 0; }
.game-col select:disabled { opacity: .55; }
.assign-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.assign-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px 12px;
}
.assign-card h2 { margin: 0; font-size: 16px; }
.assign-card select { min-width: 0; width: 100%; }
.server-pane select[multiple] { min-height: 5.5rem; background: #0b121a; color: var(--text); }
.rank-list { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 8px; align-items: center; margin: 0; }
.rank-row span { font-size: 13px; font-weight: 650; }
.server-icon.fallback .ico { width: 22px; height: 22px; color: var(--accent); }
.panel.server-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 12px 10px; gap: 8px; cursor: pointer; width: 100%; height: 122px; }
.panel.server-card.is-on { border-color: var(--accent); }
.server-card h2 { display: block; width: 100%; margin: 0; max-height: 2.6em; font-size: 14px; line-height: 1.3; text-align: center; overflow: hidden; overflow-wrap: anywhere; }
.server-icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #16324f; border: 2px solid #121b26; }
.server-icon.fallback { display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.server-card > .muted { margin: 0; font-size: 12px; }
.server-assign { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; width: 100%; justify-items: center; }
.server-assign li { display: grid; gap: 1px; justify-items: center; min-width: 0; max-width: 100%; }
.server-assign b { font-size: 12px; font-weight: 650; }
.server-assign span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.server-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.stalls { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; margin-top: 12px; }
.stall { width: 100%; text-align: left; background: #0b121a; border-radius: 12px; padding: 10px 12px; }
.stall b { display: block; }
.stall span { color: var(--muted); font-size: 12px; }
.stall.active { border-color: var(--accent); background: rgba(61, 255, 154, .08); }
.stall-title { margin-top: 16px; }
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.trade-item { background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.trade-item h3 { margin: 0; font-size: 15px; }
.trade-item p { margin: 6px 0 0; }
.trade-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.trade-prices div { background: #101820; border-radius: 10px; padding: 8px 10px; }
.trade-prices span { display: block; color: var(--muted); font-size: 12px; }
.trade-prices b { font-size: 16px; }
#form-ok { margin: 8px 0 0; }
#form-ok:empty { display: none; }
.hub-page { display: grid; gap: 14px; align-content: start; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.fax-form { display: grid; gap: 12px; max-width: none; }
.fax-form h2, .fax-form h3 { margin: 0; }
.fax-form label { display: grid; gap: 6px; }
.fax-head { display: flex; align-items: center; gap: 12px; }
.fax-back { width: 44px; height: 44px; flex: 0 0 44px; font-size: 24px; line-height: 1; padding: 0; }
.fax-live { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.fax-live-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.fax-reiter { min-width: 84px; text-align: center; border-radius: 999px; padding: 7px 14px; font-weight: 700; opacity: .4; }
.fax-live[data-on="wait"] .fax-reiter { opacity: .55; }
.fax-reiter.active[data-fax-live="online"] { opacity: 1; background: #1f8f4e; color: #fff; }
.fax-reiter.active[data-fax-live="offline"] { opacity: 1; background: #8f2d2d; color: #fff; }
.fax-paper { background: #fff; color: #111; min-height: 280px; padding: 16px; border-radius: 4px; }
.fax-paper pre { white-space: pre-wrap; font: 16px/1.4 Arial, sans-serif; margin: 8px 0; }
.fax-paper img, .fax-paper iframe { width: 100%; min-height: 180px; max-height: 420px; background: #fff; border: 0; }
.fax-paper-file { margin: 8px 0 0; font-weight: 700; }
.fax-scan-item { display: grid; gap: 4px; width: 128px; }
.fax-scan { display: flex; flex-wrap: wrap; gap: 8px; }
.fax-thumb { display: grid; gap: 4px; width: 120px; padding: 6px; text-align: left; }
.fax-thumb img, .fax-pdf { width: 108px; height: 72px; object-fit: contain; background: #fff; color: #111; display: grid; place-items: center; }
.fax-thumb.active { border-color: var(--accent, #3dd68c); }
.fax-stage { background: #fff; color: #111; border-radius: 8px; min-height: 80px; padding: 8px; }
.fax-stage-img, .fax-stage-frame { width: 100%; min-height: 280px; max-height: 520px; background: #fff; border: 0; }
.fax-board { display: grid; grid-template-columns: minmax(340px, 1.45fr) minmax(260px, .8fr); gap: 14px; align-items: start; }
.fax-side { display: grid; gap: 14px; align-content: start; }
.fax-col, .fax-compose { min-width: 0; }
.fax-layout { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; align-items: start; }
.fax-book { display: grid; gap: 8px; margin: 8px 0; }
.fax-pick { display: grid; gap: 2px; text-align: left; }
.fax-pick.active { border-color: var(--accent, #3dd68c); }
.fax-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fax-files { margin: 0; padding-left: 18px; }
.fax-sheet { display: grid; gap: 12px; margin-top: 8px; }
.fax-sheet table { border-collapse: collapse; width: 100%; }
.fax-sheet th, .fax-sheet td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.fax-sheet img { width: 100%; max-width: 720px; background: #fff; }
.fax-sheet pre { white-space: pre-wrap; font: inherit; margin: 0; }
@media (max-width: 1100px) { .fax-board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .fax-board, .fax-layout { grid-template-columns: 1fr; } }
.hub-card {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
  text-align: left;
  width: 100%;
  padding: 0;
  cursor: pointer;
}
.hub-card:hover { border-color: rgba(61, 255, 154, .4); transform: translateY(-3px); }
.hub-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0a1218; }
.hub-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zugang-card .hub-media { background: #05070c; }
.zugang-card .hub-media img { object-fit: contain; }
.denkdino-card .hub-media { background: #5ac535; }
.denkdino-card .hub-media img { object-fit: contain; }
.hub-body { display: grid; gap: 6px; padding: 14px 16px 16px; align-content: start; }
.hub-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.hub-body h2 { margin: 0; font-size: 18px; }
.hub-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.shop-actions button { position: relative; }
.shop-actions button em {
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #062014;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.scum-shop { display: grid; gap: 14px; align-content: start; min-height: 100%; }
.scum-shop-title { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.scum-shop-note {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 176, 32, .35);
  border-left: 4px solid var(--warn);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 176, 32, .12), rgba(18, 27, 38, .55));
}
.scum-shop-note strong { color: var(--warn); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.scum-shop-note p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.45; }
.scum-shop-body { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 16px; align-items: start; }
.scum-shop-cats { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; }
.scum-shop-cats button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: #0b121a;
  text-align: left;
}
.scum-shop-cats button.active {
  background: linear-gradient(180deg, #16324f, #102536);
  border-color: rgba(61, 255, 154, .45);
  color: var(--text);
}
.scum-shop-cats em { color: var(--muted); font-style: normal; font-size: 11px; font-weight: 700; }
.scum-shop-cats button.active em { color: var(--accent); }
.scum-shop-main { display: grid; gap: 10px; min-width: 0; }
.shop-item-search { display: flex; gap: 8px; align-items: center; }
.shop-item-search input { flex: 1; min-width: 0; }
.shop-item-search button { flex: 0 0 auto; width: 36px; padding: 8px 0; }
.shop-item-search button[hidden] { display: none; }
.scum-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.scum-item {
  display: grid;
  grid-template-rows: 92px auto auto;
  gap: 6px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 27, 38, .96), rgba(11, 18, 26, .9));
  text-align: left;
}
.scum-item.is-dlc { grid-template-rows: 92px auto auto auto; }
.scum-item:hover { border-color: rgba(61, 255, 154, .42); transform: translateY(-2px); }
.scum-item.is-featured { box-shadow: inset 0 0 0 1px rgba(56, 140, 255, .28); }
.scum-item.is-dlc { border-color: rgba(224, 160, 48, .55); }
.scum-item--legendary { border-color: rgba(255, 215, 0, .38); }
.scum-item--epic { border-color: rgba(162, 77, 255, .38); }
.scum-item--rare { border-color: rgba(56, 140, 255, .32); }
.scum-item.is-dlc,
.scum-item--legendary.is-dlc,
.scum-item--epic.is-dlc,
.scum-item--rare.is-dlc { border-color: rgba(224, 160, 48, .55); }
.scum-shop-subs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.scum-shop-subs button { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; }
.scum-shop-subs button em { color: var(--muted); font-style: normal; font-size: 11px; font-weight: 700; }
.scum-shop-subs button.active { border-color: rgba(61, 255, 154, .45); color: var(--text); }
.scum-shop-subs button.active em { color: var(--accent); }
.scum-shop-subs button.is-dlc:not(.active) { border-color: rgba(224, 160, 48, .5); color: #ffd27a; }
.scum-item.is-dlc .scum-item-meta i { min-width: 0; }
.scum-item-need {
  color: #ffd27a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.scum-shop-subs button.is-dlc.active {
  background: linear-gradient(135deg, #ffd27a, #e08a2a);
  color: #2a1c05;
  border-color: transparent;
}
.scum-shop-subs button.is-dlc.active em { color: #2a1c05; }
.scum-dlc-hint { flex: 1 0 100%; margin: 0; color: #e0b15a; font-size: 13px; font-weight: 700; }
.scum-dlc {
  position: absolute; left: 4px; top: 4px; z-index: 1;
  padding: 1px 5px; border-radius: 6px; background: #8a4b12; color: #fff8ea;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
}
.scum-item-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 96px;
  padding: 6px;
  border-radius: 10px;
  background:
    radial-gradient(120px 60px at 50% 20%, rgba(61, 255, 154, .08), transparent 70%),
    #0a1218;
}
.scum-item-media img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; image-rendering: auto; }
.scum-item strong { font-size: 12px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 30px; }
.scum-item-meta { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.scum-item-meta i { font-style: normal; color: var(--muted); font-size: 10px; }
.scum-item-meta b { color: var(--accent); font-size: 12px; }
.modal.scum-modal, .modal.scum-cart { width: min(760px, 100%); padding: 0; overflow: hidden; }
.modal.scum-cart { overflow-y: auto; }
.modal.scum-modal.scum-modal--dino { width: min(920px, 100%); max-height: min(90vh, 920px); overflow: auto; }
.dino-alloc h3, .dino-saddle h3 { margin: 0 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dino-alloc h3 span { margin-left: 8px; color: var(--accent); letter-spacing: 0; text-transform: none; font-size: 13px; }
.dino-alloc p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.dino-alloc-row { display: grid; grid-template-columns: 132px 28px minmax(80px, 1fr) 28px 28px 72px; gap: 6px; align-items: center; margin-bottom: 6px; }
.dino-alloc-lab { font-size: 12px; }
.dino-alloc-row button { padding: 0; height: 28px; }
.dino-alloc-row input[type="range"] { width: 100%; }
.dino-alloc-pts, .dino-alloc-val { font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.dino-saddle { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #0b121a; }
.dino-saddle strong { font-size: 13px; }
.dino-saddle span { color: var(--muted); font-size: 12px; }
.dino-saddle.is-yes strong { color: var(--accent); }
.dino-rigs { margin: 0 0 12px; }
.dino-rigs h3 { margin: 0 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dino-rigs h3 span { margin-left: 8px; color: var(--accent); letter-spacing: 0; text-transform: none; font-size: 13px; }
.dino-rigs p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.dino-rig-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(140px, 32%); gap: 6px; align-items: center; margin-bottom: 8px; }
.dino-rig-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.dino-rig-row > span { font-size: 12px; }
.dino-rig-effect { color: var(--muted); text-align: right; }
.dino-rigs button { padding: 6px 8px; }
.dino-rigs button.active { border-color: var(--accent); color: var(--accent); }
.scum-modal-add:disabled, #scum-modal-add:disabled { opacity: .45; cursor: not-allowed; }
.scum-modal .modal-head, .scum-cart .modal-head { padding: 14px 16px 0; }
.scum-modal-kicker { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.scum-modal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; padding: 12px 16px 0; }
.scum-modal-media {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 16px;
  background: radial-gradient(180px 120px at 50% 30%, rgba(56, 140, 255, .16), transparent 70%), #0a1218;
}
.scum-modal-media img { max-width: 100%; max-height: 280px; object-fit: contain; }
.scum-modal-copy { display: grid; align-content: start; gap: 10px; min-width: 0; }
.scum-modal-copy h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.scum-modal-legal { margin: 0; color: var(--warn); font-size: 13px; }
.scum-modal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.scum-modal-stats div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0b121a; }
.scum-modal-stats dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.scum-modal-stats dd { margin: 2px 0 0; font-weight: 700; }
.scum-modal-parts h3, .scum-modal-colors h3 { margin: 0 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.scum-modal-parts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.scum-modal-parts li { font-size: 13px; }
.scum-modal-colors div { display: flex; flex-wrap: wrap; gap: 6px; }
.scum-modal-colors button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; }
.scum-modal-colors button.active { border-color: var(--accent); }
.scum-modal-colors i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.scum-modal-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.scum-modal-foot > div { margin-right: auto; display: grid; }
.scum-modal-foot strong { font-size: 20px; }
.scum-modal-qty { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.scum-modal-qty input { width: 72px; }
.scum-cart-list { list-style: none; margin: 0; padding: 12px 16px; display: grid; gap: 10px; max-height: 48vh; overflow: auto; }
.scum-cart-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; }
.scum-cart-list img { width: 48px; height: 48px; object-fit: contain; background: #0a1218; border-radius: 8px; }
.scum-cart-list span { display: block; color: var(--muted); font-size: 12px; }
.scum-cart-qty { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.scum-cart-qty input { width: 68px; }
.scum-cart-total { margin: 0 16px 8px; font-weight: 800; }
.scum-cart .muted, .scum-cart .row { padding: 0 16px 16px; }
.shop-cart-subtitle { margin: 12px 16px 0; font-size: 14px; }
.shop-cart-status { margin: 12px 16px 0; }
.shop-sent-carts { border-top: 1px solid var(--line); padding: 14px 16px 18px; }
.shop-sent-carts > h3 { margin: 0 0 4px; font-size: 15px; }
.shop-sent-carts > .muted, .shop-sent-carts > .warn { padding: 0; margin: 0 0 10px; }
.shop-sent-cart { border: 1px solid var(--line); border-radius: 12px; background: #0b121a; padding: 10px; margin-top: 8px; }
.shop-sent-cart header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; }
.shop-sent-cart header span { color: var(--muted); font-size: 11px; }
.shop-sent-cart ul { list-style: none; display: grid; gap: 3px; margin: 8px 0; padding: 0; }
.shop-sent-cart li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
.shop-sent-cart li span { color: var(--accent); font-weight: 800; }
.shop-sent-cart p { margin: 0; color: var(--accent); font-size: 12px; }
.fit.dz-trader-grid {
  height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.dz-trader-note { grid-column: 1 / -1; margin: 0; }
.dz-trader-card { min-width: 0; overflow: visible; }
.dz-trader-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dz-trader-head h2 { margin: 0; }
.dz-trader-head .kicker { margin: 0 0 2px; }
.dz-offer-tools { display: grid; gap: 6px; max-width: 420px; margin-bottom: 14px; }
.dz-offer-tools select { width: 100%; }
.dz-offer-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.dz-offer-table { width: 100%; border-collapse: collapse; }
.dz-offer-table th, .dz-offer-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.dz-offer-table thead th { background: #101a24; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.dz-offer-table tbody th { font-weight: 700; }
.dz-offer-table tr:last-child th, .dz-offer-table tr:last-child td { border-bottom: 0; }
.dz-offer-table td:nth-child(3) { color: #a9c7d4; font-variant-numeric: tabular-nums; }
.dz-offer-table .primary { padding: 7px 12px; }
.dz-offer-table tbody.folded .dz-offer-detail { display: none; }
.dz-offer-table tbody.folded .dz-offer-open .chevron { transform: rotate(-45deg); margin-bottom: 0; }
.dz-offer-detail td { background: #0b121a; }
.dz-offer-open { display: inline-flex; align-items: center; gap: 8px; width: auto; background: none; border: 0; color: var(--blue); padding: 0; cursor: pointer; text-align: left; }
.dz-offer-open strong { color: var(--blue); }
.dz-offer-open small { color: var(--muted); font-weight: 500; }
.modal.offer-sheet { width: min(960px, calc(100% - 24px)); max-height: min(86vh, 820px); display: flex; flex-direction: column; }
.offer-sheet .modal-head { flex: none; }
.offer-sheet .kicker { margin: 0 0 2px; }
.offer-tools { display: flex; align-items: end; gap: 10px; margin: 4px 0 12px; }
.offer-tools .field { margin: 0; }
.offer-tools input { flex: 1; min-width: 0; }
#offer-count { color: var(--muted); font-size: 12px; white-space: nowrap; padding-bottom: 8px; }
.offer-scroll { max-height: min(62vh, 640px); }
.offer-prices th small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 11px; }
.offer-prices td:nth-child(2), .offer-prices td:nth-child(3) { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1400px) {
  .fit.four { grid-template-columns: 1fr 1fr; }
  .dz-offer-table td:nth-child(3) { white-space: normal; }
}
@media (max-width: 980px) {
  html, body { height: auto; min-height: 100%; overflow: auto; }
  html.modal-open, html.modal-open body { overflow: hidden; height: 100%; }
  .shell.hidden { display: none !important; }
  .shell:not(.hidden) {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .side {
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    height: auto;
    position: static;
    gap: 6px;
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side-label, .side-foot { display: none; }
  .games, .side-foot-nav {
    display: flex;
    flex-direction: row;
    flex: none;
    gap: 6px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    align-content: center;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .game { scroll-snap-align: start; }
  .games::-webkit-scrollbar, .side-foot-nav::-webkit-scrollbar, .tabs::-webkit-scrollbar, .subs::-webkit-scrollbar { display: none; }
  .game {
    flex: 0 0 auto;
    width: auto;
    grid-template-columns: 28px auto;
    gap: 6px;
    padding: 6px 10px;
  }
  .game small, .game .pulse { display: none; }
  .game strong { white-space: nowrap; }
  .game-art { width: 28px; height: 28px; border-radius: 8px; }
  .workspace { flex: none; min-width: 0; height: auto; overflow: visible; }
  .top { position: static; background: #070b10; padding: 8px 12px 0; }
  .title-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .title-right, .status, .shop-actions { width: 100%; min-width: 0; justify-content: flex-start; flex-wrap: wrap; }
  h1 { font-size: 20px; }
  .tabs, .tabs.tabs-pin, .subs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  .tabs-flow {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    width: 100%;
    min-width: 100%;
    overflow: visible;
    gap: 4px;
  }
  .tabs { margin-top: 8px; }
  .tabs button, .subs button { padding: 10px 12px; }
  #stage, #later { flex: none; height: auto; min-height: 0; max-width: 100%; overflow: visible; padding: 10px 12px max(28px, env(safe-area-inset-bottom)); }
  img, svg, video { max-width: 100%; height: auto; }
  .fit, .fit.one, .fit.two, .fit.three, .fit.four,
  .fit.two.overview-home, .fit.two.desk, .fit.two.desk.creature-page, .fit.three.tribe-page, .fit.tribe-page, .fit.three.desk, .fit.four.desk,
  .overview, .metrics, .switches, .shop-map-when, .reward-split, .reward-facts,
  .scum-shop-body, .scum-modal-grid, .scum-modal-stats, .cmd-lists, .fit.dz-trader-grid,
  .bot-home-grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .overview, .overview-stack { grid-template-rows: auto; height: auto; }
  .overview-stack, .overview-stack.solo, .fit.two.overview-home, .overview-side { height: auto; overflow: visible; }
  .overview-side > .landing-log, .overview-side > .landing-drop { flex: none; max-height: none; overflow: visible; }
  .fit.two.desk > .panel, .fit.three.desk > .panel, .fit.four.desk > .panel,
  .landing-maps, .landing-log, .panel.landing-maps.one-server, .panel.landing-log,
  .tribe-maps, .tribe-slot, .landing-maps.one-server .map-body, .landing-maps.one-server .map-block {
    overflow: visible;
    max-height: none;
    height: auto;
    flex: none;
  }
  .chat-feed, .warenkorb-card-body { max-height: none; }
  .map { min-height: 200px; flex: none; }
  .dz-offer-tools { max-width: none; }
  .map-head { grid-template-columns: minmax(0, 1fr); }
  .map-head .check { justify-self: start; white-space: normal; }
  .map-body.stats-cols .kicker-row,
  .combat-head { display: none; }
  .map-body.stats-cols .player,
  .map-body.stats-cols.rf-cols .player,
  .map-body.stats-cols.asa-cols .player,
  .combat-list .player {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
  }
  .map-body.stats-cols .player .who,
  .combat-list .player .who { flex: 1 1 calc(100% - 28px); }
  .map-body.stats-cols .player .stat,
  .combat-list .player .stat { flex: 1 1 30%; min-width: 0; }
  .map-body.stats-cols .player .stat small,
  .combat-list .player .stat small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .map-body.stats-cols .player .stat b,
  .combat-list .player .stat b { white-space: normal; overflow: visible; text-overflow: unset; }
  .cmd-line, .cmd-line.cmd-slider, .cmd-line.cmd-skill, .teleport-flow { grid-template-columns: minmax(0, 1fr); }
  .teleport-flow strong { padding: 0; }
  .sheet-facts { grid-template-columns: 1fr; }
  .dino-alloc-row { grid-template-columns: 28px minmax(0, 1fr) 28px 28px 64px; }
  .dino-alloc-lab { grid-column: 1 / -1; }
  .dino-rig-row { grid-template-columns: 1fr; }
  .dino-rig-effect { text-align: left; }
  .scum-shop-cats { position: static; flex-direction: row; flex-wrap: wrap; }
  .shop-banners, .cols, .trade-prices { grid-template-columns: 1fr; }
  .shop-home-logo { width: min(100%, 280px); }
  .shop-banner { grid-template-columns: 64px minmax(0, 1fr); }
  .shop-banner.shop-banner--offers, .shop-offer-pair, .shop-banner--split { grid-template-columns: 1fr; }
  .shop-banner-actions { justify-content: flex-start; }
  .shop-banner-cta { grid-column: 1 / -1; justify-self: stretch; white-space: normal; text-align: center; }
  .shop-banner--g2g .shop-banner-copy { flex-wrap: wrap; }
  .shop-banner--g2g .shop-banner-logo { width: 72px; height: 40px; }
  .scum-shop-title { font-size: 22px; }
  .scum-cart-list li { grid-template-columns: 48px minmax(0, 1fr) auto auto; }
  .scum-cart-list li > div { grid-column: 2 / -1; }
  .scum-cart-qty { grid-column: 2; justify-self: start; }
  .scum-cart-list li > b { grid-column: 3; }
  .scum-cart-list li > button { grid-column: 4; }
  .server-desk, .server-settings, .assign-grid, .game-pair { grid-template-columns: 1fr; height: auto; }
  .server-rail { max-height: 220px; }
  .game-col { display: block; grid-row: auto; }
  .rank-row, .game-col .rank-row { grid-template-columns: 1fr; }
  .modal-back { padding: max(10px, env(safe-area-inset-top)) 0 0; align-items: end; justify-items: stretch; }
  .modal, .player-sheet, .modal.scum-modal, .modal.scum-cart, .modal.scum-modal.scum-modal--dino, .legal-sheet {
    width: 100%;
    max-width: 100%;
    max-height: min(92dvh, 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
  }
  .player-sheet, .modal.modal-settings { padding: 14px 16px; overflow: auto; }
  .scum-modal-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 10px 16px 12px;
  }
  .scum-modal-media { min-height: 0; height: 132px; }
  .scum-modal-media img { max-height: 124px; width: auto; }
  .scum-modal-copy h2 { font-size: 20px; }
  .scum-modal-foot {
    flex: none;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  }
  .scum-modal-foot > div { flex: 1 1 100%; margin-right: 0; }
  .scum-modal-qty { width: 100%; justify-content: space-between; }
  .scum-modal-qty input { width: 88px; }
  .scum-modal-foot .primary, #scum-modal-add { width: 100%; }
  .scum-cart { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .scum-cart-list { max-height: 36vh; flex: 0 0 auto; min-height: 0; overflow: auto; }
  .shop-sent-cart header { grid-template-columns: minmax(0, 1fr) auto; }
  .shop-sent-cart header b { grid-column: 1 / -1; }
  .player-sheet .cmd-grid { grid-template-columns: minmax(0, 1fr); }
  th, td { word-break: break-word; }
  th.bonus-role { white-space: normal; }
}
.shop-actions #shop-account.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px rgba(61, 255, 154, .35); }
.acct { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: start; }
.acct-nav { position: sticky; top: 0; display: grid; gap: 6px; }
.acct-nav button, .acct-logout {
  display: flex; align-items: center; gap: 8px; text-align: left; width: 100%;
  background: #101820; border-color: transparent; color: var(--muted);
}
.acct-nav button.active { background: #16324f; border-color: #24527f; color: var(--text); }
.acct-nav .ico { width: 16px; height: 16px; }
.acct-nav button.danger { background: #5a1d28; border-color: #8a2d3c; color: #ffd5dc; }
.acct-logout { margin-top: 8px; }
.acct-main { display: grid; gap: 12px; min-width: 0; }
.acct-card { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 28%), var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.acct-card h2, .acct-head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.acct-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 28px; margin-top: 8px; }
.acct-note-col { display: grid; gap: 8px; align-content: start; }
.acct-note-title { margin: 6px 0 2px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.acct-note-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; margin: 2px 0; }
.acct-note-games label { display: flex; gap: 8px; align-items: center; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #0b121a; }
.acct-note-games.is-off, .acct-note-games label.is-off { opacity: .45; }
.acct-note-games label.is-off { pointer-events: none; }
#acct-note-ok:empty, #acct-note-error:empty { display: none; }
.acct-phone { display: grid; gap: 6px; margin: 10px 0 4px; }
.acct-phone .row { margin: 0; align-items: center; }
.acct-phone input { flex: 1; min-width: 0; }
.switch input:disabled + i { opacity: .4; }
.switch input:disabled ~ span { opacity: .55; }
.acct-head .primary { flex: none; }
.acct-who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.acct-discords { display: grid; gap: 12px; }
.acct-discord { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #0b121a; }
.acct-discord.is-primary { border-color: rgba(110, 231, 168, 0.45); }
.acct-discord.needs-primary { border-color: rgba(255, 184, 77, 0.7); }
.acct-discord h3 { margin: 0; font-size: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.acct-discord em { color: var(--accent); font-style: normal; font-size: 12px; }
.acct-discord .acct-who-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 240px; }
.acct-account { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; margin: 8px 0; padding: 8px 0; border-top: 1px solid var(--line); }
.acct-account:first-of-type { border-top: 0; padding-top: 0; }
.acct-account-tools { justify-content: flex-end; }
.acct-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #16324f; }
.acct-who h2 { margin: 0; font-size: 22px; }
.acct-who p { margin: 2px 0; }
.acct-dot { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 255, 154, .15); }
.acct-who-actions { display: grid; gap: 8px; }
.acct-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 14px 0 0; }
.acct-facts div { background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.acct-facts dt { color: var(--muted); font-size: 12px; }
.acct-facts dd { margin: 4px 0 0; }
.acct-facts em { font-style: normal; margin-left: 6px; font-size: 12px; }
.acct-game { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #0b121a; }
.acct-game img { width: 148px; height: 84px; object-fit: cover; border-radius: 10px; background: #101820; }
.acct-game h3 { margin: 0 0 6px; }
.acct-game p { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acct-game p span { color: var(--muted); font-size: 12px; }
.acct-game code { font-size: 13px; }
.acct-copy { flex: none; padding: 4px 8px; }
.acct-copy[data-copied="1"] { color: var(--accent); }
.acct-game-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct-game-actions p { width: 100%; }
.acct-game-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.acct-game-actions button:disabled { opacity: .45; cursor: not-allowed; }
.acct-game-actions .ico { width: 16px; height: 16px; }
.acct-rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.3fr); gap: 10px; }
.acct-rewards article { background: #0b121a; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.acct-rewards b { display: block; font-family: Bahnschrift, sans-serif; font-size: 28px; }
.acct-next img { width: 42px; height: 28px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: 8px; }
.acct-next .meter { margin: 8px 0; }
.acct-table-wrap { overflow: auto; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acct-table th, .acct-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.acct-table th { color: var(--muted); font-weight: 600; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-form { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.acct-secret { display: block; margin: 8px 0; word-break: break-all; }
.acct-foot { display: flex; flex-wrap: wrap; gap: 14px; padding: 8px 2px 18px; }
.acct-foot a { color: var(--muted); text-decoration: none; }
.acct-foot a:hover { color: var(--text); }
@media (max-width: 1100px) {
  .acct, .acct-facts, .acct-rewards, .acct-grid, .acct-note, .acct-game, .acct-who, .acct-discord { grid-template-columns: 1fr; }
  .acct-nav { position: static; }
  .acct-game img { width: 100%; height: 120px; }
  .acct-discord .acct-who-actions { max-width: none; justify-content: flex-start; }
  .acct-account { grid-template-columns: 1fr; }
  .acct-account-tools { justify-content: flex-start; }
}
.login-card { width: min(440px, calc(100vw - 32px)); }
.login-form { display: grid; gap: 8px; margin-top: 14px; }
.login-kicker { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.acct-notice { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: rgba(56, 140, 255, .12); border: 1px solid rgba(56, 140, 255, .35); border-radius: 12px; padding: 10px 12px; }
.acct-notice-need { background: rgba(255, 184, 77, .12); border-color: rgba(255, 184, 77, .45); color: var(--text); }
.modal.acct-claim { display: grid; gap: 8px; overflow: auto; }
.modal.acct-claim select, .modal.acct-claim input { width: 100%; min-width: 0; }
.claim-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.claim-lines li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0b121a; }
.claim-lines li.is-held { border-color: rgba(255, 184, 77, .45); background: rgba(255, 184, 77, .08); }
.claim-lines em { font-style: normal; font-size: 12px; white-space: nowrap; }
.claim-lines li.is-held em { color: var(--warn); }
.claim-lines li.is-go em { color: var(--accent); }
.claim-map-warn { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 184, 77, .12); border: 1px solid rgba(255, 184, 77, .45); color: var(--text); }
.desk { display: grid; gap: 12px; }
.desk-cart, .desk-user-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.desk-cart header, .desk-cart footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.desk-users { grid-template-columns: minmax(280px, 440px) 1fr; align-items: start; }
.desk-user-tools { display: flex; gap: 8px; }
.desk-user-tools input { flex: 1; }
.desk-user-scroll { display: grid; gap: 6px; max-height: calc(100vh - 220px); overflow: auto; margin-top: 8px; }
.desk-user { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; width: 100%; padding: 8px 10px; }
.desk-user-avatar { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; background: #101820; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.desk-user-id { min-width: 0; }
.desk-user-id strong, .desk-user-id small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-user-id small.user-id-line { white-space: normal; text-overflow: unset; overflow: visible; word-break: break-all; line-height: 1.35; margin-top: 6px; }
.desk-user-id small.user-id-line > b { display: block; font-weight: 650; color: var(--text); }
.desk-user-id small.user-id-line span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.desk-user-id small.user-id-line span b { display: inline; margin-right: 6px; color: var(--text); font-weight: 650; }
.desk-user-id small.user-id-line code { display: block; margin-top: 1px; color: var(--text); font-size: 12px; white-space: normal; word-break: break-all; }
.desk-user { align-items: start; }
.desk-user-avatar { margin-top: 2px; }
.desk-user-open { margin-top: 12px; }
.desk-user small, .desk-user-tags { color: var(--muted); }
.desk-user-tags { font-size: 11px; text-align: right; max-width: 108px; line-height: 1.3; }
.desk-user-count { margin: 8px 2px 0; color: var(--muted); font-size: 12px; }
.desk-user.active { border-color: var(--accent); }
.id-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.id-card h2, .id-card h3, .id-card p { margin: 0; }
.id-card-empty { min-height: 160px; align-content: center; }
.id-card-head { display: flex; gap: 14px; align-items: center; }
.id-card-avatar { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: #101820; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.id-card-head .kicker { margin-bottom: 2px; }
.id-card-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.id-card-facts div { background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.id-card-facts dt { color: var(--muted); font-size: 12px; }
.id-card-facts dd { margin: 4px 0 0; word-break: break-word; }
.id-card-facts code, .id-game code { word-break: break-all; }
.id-card-games { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.id-game { background: #0b121a; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 6px; }
.id-game header { display: flex; gap: 10px; align-items: center; }
.id-game header img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; background: #101820; }
.id-game header p, .id-game-label { color: var(--muted); font-size: 12px; }
.id-game-value { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); }
.id-game-value span { grid-column: 1; color: var(--text); }
.id-game-value em { grid-column: 1; font-style: normal; color: var(--muted); font-size: 12px; }
.id-game-value code { grid-column: 1; word-break: break-all; }
.id-game-value button { grid-column: 2; grid-row: 1 / -1; align-self: center; padding: 6px 8px; }
.id-card-list, .id-card-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.id-card-list li, .id-card-history li { display: flex; gap: 10px; align-items: baseline; background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.id-card-list span, .id-card-history span, .id-card-history time, .id-card-notes, .id-card-note { color: var(--muted); }
.id-card-history time { flex: none; font-size: 12px; }
.id-card-note { background: rgba(56, 140, 255, .12); border: 1px solid rgba(56, 140, 255, .35); border-radius: 12px; padding: 10px 12px; }
.desk-id-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.desk-id-grid section { background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.desk-id-grid code { word-break: break-all; }
@media (max-width: 900px) {
  .desk-users { grid-template-columns: 1fr; }
}
.tax-note { color: var(--muted); font-size: 13px; line-height: 1.4; }
.shop-foot { display: grid; gap: 8px; padding: 16px 8px 24px; }
.shop-foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.shop-foot button, .shop-foot a, .check button { background: none; border: 0; color: var(--muted); padding: 0; cursor: pointer; text-decoration: underline; font: inherit; }
.check button { color: #8ec5ff; }
.gate-card { width: min(440px, 100%); display: grid; gap: 12px; }
.gate-card .login-logo { margin-bottom: 0; }
.gate-card .lead, .gate-card .tax-note, .gate-card .warn { margin: 0; }
.gate-card .primary { justify-self: start; }
.gate-card.is-blocked { border-color: var(--warn); }
.shop-blocked {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 176, 32, 0.14);
  border: 1px solid rgba(255, 176, 32, 0.45);
  color: var(--warn);
  font-weight: 700;
  line-height: 1.4;
}
#shop-foot.is-blocked { border-top: 1px solid rgba(255, 176, 32, 0.35); }
.shop-blocked.hidden { display: none; }
.gate-foot { padding: 4px 0 0; }
#legal-view { z-index: 40; }
html.site-admin .only-shop, html.site-shop .only-admin { display: none; }
.login-legal, .check { display: grid; gap: 8px; text-align: left; }
.login-legal { width: 100%; }
html.site-shop #login { width: min(460px, calc(100% - 32px)); max-width: 460px; margin: 20px auto 28px; }
html.site-shop .login-logo { width: min(100%, 280px); margin-bottom: 8px; }
html.site-shop #login .lead { margin-bottom: 8px; }
html.site-shop #login .tax-note { margin: 0 0 12px; }
html.site-shop #login-discord { background: #5865F2; border-color: #4752c4; }
html.site-shop .login-or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
html.site-shop .login-or::before, html.site-shop .login-or::after { content: ""; height: 1px; background: var(--line); }
html.site-shop .login-form { margin-top: 12px; }
html.site-shop #shop-register { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.login-form[hidden] { display: none !important; }
.login-switch { display: inline; width: auto; margin: 14px 0 0; padding: 0; border: 0; border-radius: 0; background: none; color: #8ec5ff; text-decoration: underline; font: inherit; }
html.site-shop #login .shop-foot { padding: 14px 0 0; }
html.site-shop #login .shop-foot nav { justify-content: center; }
#login-status:empty, #login-error:empty { display: none; }
.check { display: flex !important; align-items: center; gap: 10px; width: 100%; }
.check input { width: 16px; height: 16px; min-width: 16px; margin: 0; padding: 0; flex: none; }
.check span { flex: 1; min-width: 0; line-height: 1.35; }
.check button { margin-left: auto; flex: none; white-space: nowrap; }
.legal-sheet { width: min(760px, 100%); max-height: min(84vh, 860px); display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.legal-sheet .modal-head { flex: 0 0 auto; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.legal-sheet .modal-head h2 { font-size: 16px; line-height: 1.35; }
#legal-body { overflow: auto; padding: 16px 18px 20px; }
#legal-body h1 { font-size: 1.15rem; margin: 0 0 12px; }
.legal-sheet p, .legal-sheet h2, .legal-sheet h3 { margin: 0 0 10px; }
.shop-foot.hidden, .modal-back.hidden { display: none; }
#layers:empty { display: none; }
.verwaltung { display: grid; gap: 16px; }
.warenkorb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.warenkorb-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.warenkorb-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.warenkorb-card-head h2 { margin: 0; }
.warenkorb-card-head span, .warenkorb-card > .muted { margin: 0; }
.warenkorb-card-body { display: grid; gap: 10px; align-content: start; min-height: 180px; max-height: min(58vh, 640px); overflow: auto; }
.warenkorb-card .desk-cart { background: #0b121a; }
.warenkorb-card .desk-cart footer { justify-content: flex-end; }
.admin-cart { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1; }
.inbox-lines { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.inbox-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; }
.inbox-line span { display: block; color: var(--muted); font-size: 12px; }
.inbox-qty { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; white-space: nowrap; }
.inbox-qty input { width: 64px; }
.inbox-line b { white-space: nowrap; }
.inbox-edit-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.desk-cart.is-editing { border-color: var(--accent); }
.desk-cart footer { flex-wrap: wrap; justify-content: flex-end; }
.admin-cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-cart-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) 64px auto auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #0b121a; }
.admin-cart-line img { width: 48px; height: 48px; object-fit: contain; background: #0a1218; border-radius: 8px; }
.admin-cart-line span { display: block; color: var(--muted); font-size: 12px; }
.admin-cart-line input { width: 64px; }
.admin-cart-line b { white-space: nowrap; }
.admin-cart-foot { display: grid; gap: 8px; }
.admin-cart-pick { display: grid; gap: 6px; }
.admin-cart-chosen { display: flex; gap: 10px; align-items: center; margin: 0; }
.admin-cart-chosen button { background: none; border: 0; color: #8ec5ff; padding: 0; text-decoration: underline; }
.admin-cart-users { display: grid; gap: 6px; max-height: 180px; overflow: auto; }
.admin-cart-user-pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #0b121a; }
.admin-cart-user-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-cart-user-copy > span { display: grid; min-width: 0; gap: 2px; }
.desk-cart header .desk-user-avatar { width: 28px; height: 28px; flex: none; }
.admin-cart-user-copy small { color: var(--muted); }
.admin-cart-user-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-cart-user-pick button { flex: none; }
.modal.admin-user-modal { width: min(720px, 100%); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.admin-user-search { display: grid; gap: 6px; }
.admin-user-search input { width: 100%; }
.admin-user-results { display: grid; gap: 6px; min-height: 120px; max-height: min(58vh, 540px); overflow: auto; padding-right: 3px; }
#admin-cart-send:disabled,
#admin-cart-direct:disabled { opacity: .45; cursor: not-allowed; }
#main-tabs .tab-count { min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #062014; font-size: 11px; font-style: normal; font-weight: 800; line-height: 18px; text-align: center; }
#main-tabs .tab-ico { position: relative; display: inline-flex; flex: none; width: 16px; height: 16px; overflow: visible; }
#main-tabs .tab-ico .ico { display: block; width: 16px; height: 16px; }
#main-tabs button[data-group="warenkorb"] { overflow: visible; }
#main-tabs button[data-group="warenkorb"]:has(.is-cart) { gap: 12px; }
#main-tabs .tab-ico .tab-count.is-cart {
  position: absolute;
  top: -7px;
  right: -9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: #e10600;
  color: #fff;
  box-shadow: 0 0 0 2px #070b10;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
#main-tabs button[data-group="warenkorb"].active .tab-ico .tab-count.is-cart { box-shadow: 0 0 0 2px #16324f; }
#main-tabs .tab-ico .tab-count.is-cart.is-wide { width: auto; min-width: 16px; padding: 0 4px; right: -12px; }
@media (max-width: 980px) {
  .warenkorb-split { grid-template-columns: 1fr; }
  .admin-cart-line { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .admin-cart-line input { grid-column: 2; }
  .archive-tools input { max-width: none; }
}
.verwaltung h2 { margin: 0 0 4px; }
.verwaltung .desk-users { grid-template-columns: minmax(0, 1fr); }
.verwaltung .desk-user-list { max-width: min(720px, 50vw); }
.desk-user { grid-template-columns: 36px minmax(0, 1fr) 14px; cursor: pointer; }
.id-card-facts dd small, .id-card-history em { display: block; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; }
.id-card-history li { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: start; }
.id-card-history strong, .id-card-history span { display: block; }
.id-game-value span { color: var(--text); font-size: 13px; }
@media (max-width: 980px) {
  .id-card-history li { grid-template-columns: minmax(0, 1fr); }
  .modal.id-sheet, .modal.id-sheet.is-full { width: 100%; max-height: min(92dvh, 100%); }
  .admin-cart-user-pick { align-items: stretch; flex-direction: column; }
  .admin-cart-user-pick button { width: 100%; }
  .modal.admin-user-modal { padding: 14px 16px max(16px, env(safe-area-inset-bottom)); }
  .admin-user-results { max-height: none; flex: 1 1 auto; min-height: 0; }
}
.desk-user-open { width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); justify-self: end; }
.modal.id-sheet { width: min(720px, 50vw); max-width: 50vw; display: grid; gap: 16px; padding: 18px 18px 16px; }
.modal.id-sheet.is-full { width: min(720px, 50vw); max-width: 50vw; max-height: min(88vh, 920px); }
.modal.id-sheet .kicker { margin: 0; }
.id-mini-facts { display: grid; margin: 0; }
.id-mini-facts > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.id-mini-facts dt, .id-block h3 { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.id-mini-facts dd { margin: 0; word-break: break-word; }
.id-mini-games { display: grid; gap: 8px; }
.id-mini-game { display: grid; gap: 0; background: #0b121a; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.id-mini-game > strong { display: block; }
.id-mini-game p { display: grid; gap: 1px; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); }
.id-mini-game em { font-style: normal; color: var(--text); }
.id-mini-game span, .id-mini-game code { display: block; color: var(--muted); font-size: 12px; word-break: break-all; }
.id-mini-game code { color: var(--text); font-size: 13px; }
.id-sheet-foot { display: flex; justify-content: flex-end; }
.id-block { display: grid; gap: 8px; }
.id-block h3 { margin: 0; }
.id-discords { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.id-discords li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #0b121a; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.id-discords img, .id-discords li > span { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: #101820; display: grid; place-items: center; font-weight: 700; }
.id-discords strong, .id-discords small, .id-discords code { display: block; overflow: hidden; text-overflow: ellipsis; }
.id-discords small, .id-discords code { color: var(--muted); font-size: 12px; }
.id-discords em { font-style: normal; font-size: 12px; color: #8ec5ff; }
.verwaltung .desk-user-tools { display: grid; }
.verwaltung .desk-user-card { background: transparent; border: 0; padding: 0; }
.verwaltung .desk-cart footer { align-items: flex-start; }
.verwaltung .desk-cart footer .muted { flex: 1; }
@media (max-width: 980px) {
  .acct, .acct-facts, .acct-rewards, .acct-grid, .acct-note, .acct-game, .acct-who, .acct-discord,
  .desk-users, .verwaltung .desk-users, .warenkorb-split, .id-card-games {
    grid-template-columns: minmax(0, 1fr);
  }
  .acct-nav { position: static; }
  .acct-game img { width: 100%; height: 120px; }
  .acct-discord .acct-who-actions { max-width: none; justify-content: flex-start; }
  .acct-account { grid-template-columns: 1fr; }
  .inbox-line, .admin-cart-line { grid-template-columns: minmax(0, 1fr); }
  .admin-cart-line input, .inbox-qty input { width: 100%; }
  .desk-user-scroll { max-height: none; }
  .modal-back { padding: max(10px, env(safe-area-inset-top)) 0 0; align-items: end; justify-items: stretch; }
  .modal, .player-sheet, .modal.scum-modal, .modal.scum-cart, .modal.scum-modal.scum-modal--dino, .legal-sheet {
    width: 100%;
    max-width: 100%;
    max-height: min(92dvh, 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
  }
  .scum-modal-grid { flex: 1 1 auto; min-height: 0; overflow: auto; grid-template-columns: minmax(0, 1fr); }
  .scum-modal-media { min-height: 0; height: 132px; }
  .scum-modal-media img { max-height: 124px; }
  .scum-modal-foot { flex-wrap: wrap; }
  .scum-modal-foot > div { flex: 1 1 100%; margin-right: 0; }
  .scum-modal-foot .primary, #scum-modal-add { width: 100%; }
  .player-sheet .cmd-grid { grid-template-columns: minmax(0, 1fr); }
}
