/* Optik von shd.selle-gaming.de (shd-terminal/app/fivem_seite.php) */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --grund: #060708; --flaeche: #0f1113; --kachel: #17181b; --linie: #2a2c30; --linie-fein: #1b1d20;
  --text: #c9ccd1; --hell: #eeeeea; --dim: #8a8f98; --akzent: #e8590c;
  --ok: #7fb98a; --warn: #e6b45c; --warn-rand: #c9852c; --warn-grund: #1c1813; --fehler: #d0342c;
  --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
body { background: var(--grund); color: var(--text); font-family: 'IBM Plex Sans', system-ui, sans-serif;
       margin: 0; padding-inline: 16px; padding-block: 24px 48px; line-height: 1.5; }
a { color: var(--akzent); }
.wrap { max-width: 1180px; margin: 0 auto; }
.board { position: relative; background: var(--flaeche); border: 1px solid var(--linie); padding: 22px 24px 26px; }
.board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--linie) 0 1px, transparent 1px 9px); opacity: .7; }

.topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.marke { display: flex; align-items: center; gap: 12px; }
.callsign { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--akzent); font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 1.1; }
.callsign span { display: block; font-family: var(--mono); text-transform: none; letter-spacing: .04em; font-size: .72rem; color: var(--dim); margin-top: 6px; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a { font-family: var(--mono); font-size: .75rem; color: var(--dim); text-decoration: none; border: 1px solid var(--linie); padding: 7px 12px; white-space: nowrap; }
.nav a:hover, .nav a.aktiv { color: var(--akzent); border-color: var(--akzent); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 26px; }
.tile { background: var(--kachel); border: 1px solid var(--linie); padding: 14px 16px 16px; position: relative; }
.tile::before, .tile::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--akzent); pointer-events: none; }
.tile::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.tile::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.tile .label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tile .value { font-family: var(--mono); font-weight: 500; font-size: 1.5rem; color: var(--hell); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.tile .sub { font-family: var(--mono); font-size: .68rem; color: var(--dim); }
.tile.ok .value { color: var(--ok); }
.tile.warn { border-color: var(--warn-rand); background: var(--warn-grund); }
.tile.warn::before, .tile.warn::after { border-color: var(--warn-rand); }
.tile.warn .value { color: var(--warn); }
.tile.aus .value { color: var(--fehler); }

h2 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--hell); font-size: 1.05rem; margin: 28px 0 10px; border-bottom: 1px solid var(--linie); padding-bottom: 6px; }
h2 .zusatz { font-family: var(--mono); font-size: .7rem; color: var(--dim); text-transform: none; letter-spacing: .03em; margin-left: 10px; }

.tabelle { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
  text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--linie); font-weight: 500; }
td { padding: 9px 10px; border-bottom: 1px solid var(--linie-fein); vertical-align: top; }
tr:hover td { background: #131518; }
.name { color: var(--hell); font-weight: 500; }
.mono { font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.pille { display: inline-block; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid currentColor; white-space: nowrap; }
.pille.allianz { color: #6fa3d8; } .pille.horde { color: #d0544c; }
.leer { color: var(--dim); font-family: var(--mono); font-size: .8rem; padding: 14px 0; }

.hinweis { border-left: 3px solid var(--warn-rand); background: var(--warn-grund); padding: 10px 14px; margin-bottom: 20px;
  font-family: var(--mono); font-size: .78rem; color: var(--warn); }
.hinweis.ok { border-color: var(--ok); background: #131a15; color: var(--ok); }
.hinweis.fehler { border-color: var(--fehler); background: #1c1313; color: #e88880; }

/* Formulare */
.formular { max-width: 460px; }
.feld { margin-bottom: 14px; }
.feld label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 5px; }
.feld input { width: 100%; background: var(--kachel); border: 1px solid var(--linie); color: var(--hell); padding: 9px 11px;
  font-family: var(--mono); font-size: .9rem; }
.feld input:focus { outline: none; border-color: var(--akzent); }
.feld .tipp { font-family: var(--mono); font-size: .68rem; color: var(--dim); margin-top: 4px; }
button { background: transparent; color: var(--akzent); border: 1px solid var(--akzent); padding: 9px 18px; cursor: pointer;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
button:hover { background: var(--akzent); color: var(--grund); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.text { max-width: 760px; font-size: .9rem; }
.text ol, .text ul { padding-left: 1.3em; }
.text li { margin-bottom: 8px; }
code, pre { font-family: var(--mono); font-size: .8rem; background: var(--kachel); border: 1px solid var(--linie); color: var(--hell); }
code { padding: 1px 5px; }
pre { padding: 10px 12px; overflow-x: auto; }

.fuss { margin-top: 26px; font-family: var(--mono); font-size: .7rem; color: var(--dim); line-height: 1.6; }
@media (max-width: 560px) { .board { padding: 18px 14px 22px; } th, td { padding: 7px 6px; } }
