/* ============================================================================
   Erdacht und programmiert von Fabian Hammer, Spessartweg 10, 84048 Mainburg, Deutschland.
   (c) 2026 Fabian Hammer - Alle Rechte vorbehalten. Geistiges Eigentum.
   ============================================================================ */

@font-face { font-family: 'Rajdhani'; font-weight: 500; font-display: swap; src: url(schrift/rajdhani-500.woff2) format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-weight: 600; font-display: swap; src: url(schrift/rajdhani-600.woff2) format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url(schrift/rajdhani-700.woff2) format('woff2'); }

:root {
  --grund: #06111d;
  --tafel: rgba(8, 22, 36, 0.86);
  --tafel-hell: rgba(255, 255, 255, 0.05);
  --rand: rgba(63, 214, 232, 0.24);
  --rand-hell: rgba(255, 255, 255, 0.1);
  --sonar: #3fd6e8;
  --gold: #ffc857;
  --gold-dunkel: #c98a1b;
  --text: #e8f1f8;
  --leise: #8fa6b8;
  --rot: #ff5a5f;
  --gruen: #6dffa8;
  --hud: 58px;
  --schrift: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--grund); color: var(--text); font-family: var(--schrift); font-size: 17px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
body { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: 26px; color: var(--sonar); text-shadow: 0 0 18px rgba(63, 214, 232, 0.35); }
h3 { font-size: 14px; color: var(--leise); letter-spacing: 0.18em; margin: 20px 0 10px; }
.info { margin: 6px 0 0; color: var(--leise); font-size: 14.5px; line-height: 1.35; }
.info::before { content: 'ⓘ '; color: var(--sonar); opacity: 0.85; }

#meer { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; z-index: 0; }

/* ---------------------------------------------------------------- Schirme / Tafeln */
.schirm { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; z-index: 2; }
.schirm.aktiv { display: flex; animation: einblenden 0.35s ease; }
@keyframes einblenden { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tafel { position: relative; width: min(600px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--tafel); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--rand); border-radius: 18px; padding: 22px 26px 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); margin: auto; }
.tafel.breit { width: min(860px, 100%); }
.tafel-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tafel-kopf h2 { flex: 1; }
.zurueck { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rand-hell); background: var(--tafel-hell); cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.zurueck:hover { background: rgba(255, 255, 255, 0.12); }
.lesen p, .lesen li { line-height: 1.5; color: #cfdbe6; }
.lesen h3 { color: var(--sonar); }
.lesen ul { padding-left: 20px; }
.lesen kbd { display: inline-block; min-width: 24px; padding: 1px 7px; border: 1px solid var(--rand-hell); border-bottom-width: 2px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); font-family: inherit; font-weight: 700; text-align: center; }

/* ---------------------------------------------------------------- Knöpfe */
.knopf { position: relative; border: 1px solid var(--rand-hell); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); padding: 10px 18px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 17px; letter-spacing: 0.03em; transition: transform 0.12s, background 0.15s, box-shadow 0.15s, border-color 0.15s; }
.knopf:hover:not(:disabled) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.knopf:active:not(:disabled) { transform: translateY(1px); }
.knopf:disabled { opacity: 0.42; cursor: not-allowed; }
.knopf:focus-visible, .zurueck:focus-visible, .segment button:focus-visible, .rund:focus-visible, .waffe:focus-visible { outline: 2px solid var(--sonar); outline-offset: 2px; }
.knopf.gold { background: linear-gradient(180deg, #ffe08a, #e8a12c); color: #2a1a04; border-color: #ffe9a8; box-shadow: 0 6px 22px rgba(255, 180, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.knopf.gold:hover:not(:disabled) { background: linear-gradient(180deg, #fff0b8, #f2b23c); }
.knopf.rot { background: linear-gradient(180deg, #ff7f86, #d63a46); border-color: #ffa0a6; color: #fff; }
.knopf.gross { padding: 14px 26px; font-size: 20px; }
.knopf.klein { padding: 6px 12px; font-size: 15px; border-radius: 9px; }
.knopf.breit { width: 100%; margin-top: 12px; }
.knopf small { font-weight: 600; opacity: 0.75; font-size: 14px; display: block; }
.aktionen { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 24px; }
.rund { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rand-hell); background: var(--tafel-hell); cursor: pointer; font-size: 18px; display: grid; place-items: center; flex: none; }
.rund:hover { background: rgba(255, 255, 255, 0.12); }
.rund.aus { opacity: 0.45; text-decoration: line-through; }

/* ---------------------------------------------------------------- Hauptmenü */
#s-menue { flex-direction: column; gap: 30px; }
.logo-block { text-align: center; }
.logo-block svg { width: 130px; height: 130px; filter: drop-shadow(0 10px 30px rgba(63, 214, 232, 0.35)); }
.radar-strahl { transform-origin: 60px 60px; animation: drehen 4s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.logo-block h1 { font-size: clamp(40px, 9vw, 92px); font-weight: 700; letter-spacing: 0.1em; background: linear-gradient(180deg, #ffffff 10%, #9feaf4 55%, #3fb7d0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(63, 214, 232, 0.4)); line-height: 1; margin-top: 8px; }
.unterzeile { margin: 8px 0 0; letter-spacing: 0.5em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); font-weight: 600; font-size: 14px; }
.menue-knoepfe { display: grid; gap: 12px; width: min(380px, 100%); }
.menue-knoepfe .knopf { width: 100%; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(8, 22, 36, 0.66); }
.menue-knoepfe .knopf.gold { background: linear-gradient(180deg, #ffe08a, #e8a12c); }
.menue-knoepfe .knopf.rot { background: linear-gradient(180deg, #ff7f86, #d63a46); }
.fuss { position: fixed; bottom: 12px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.35); font-size: 13px; letter-spacing: 0.08em; }

/* ---------------------------------------------------------------- Formulare */
.segment { display: inline-flex; flex-wrap: wrap; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--rand-hell); border-radius: 12px; padding: 4px; gap: 4px; margin: 4px 8px 4px 0; }
.segment button { border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--leise); transition: background 0.15s, color 0.15s; }
.segment button.an { background: linear-gradient(180deg, rgba(63, 214, 232, 0.95), rgba(28, 150, 178, 0.95)); color: #03141c; }
.segment button:hover:not(.an) { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.segment.gesperrt { pointer-events: none; opacity: 0.7; }
.feld { display: grid; gap: 6px; margin-top: 12px; font-weight: 600; color: var(--leise); font-size: 15px; }
.feld input, .code-eingabe, .chat-eingabe { background: rgba(0, 0, 0, 0.4); border: 1px solid var(--rand-hell); border-radius: 10px; padding: 10px 12px; color: var(--text); font-weight: 600; font-size: 17px; outline: none; transition: border-color 0.15s; width: 100%; }
.feld input:focus, .code-eingabe:focus, .chat-eingabe:focus { border-color: var(--sonar); }
.code-eingabe { margin-top: 12px; text-transform: uppercase; letter-spacing: 0.5em; text-align: center; font-size: 26px; font-weight: 700; padding: 10px 0 10px 0.5em; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.kasten { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rand-hell); border-radius: 14px; padding: 2px 16px 16px; }
.schalter { display: flex; align-items: center; gap: 12px; margin-top: 12px; cursor: pointer; font-weight: 600; }
.schalter input { position: absolute; opacity: 0; width: 0; height: 0; }
.schalter span { position: relative; width: 46px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, 0.15); transition: background 0.2s; flex: none; }
.schalter span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.schalter input:checked + span { background: #1c96b2; }
.schalter input:checked + span::after { transform: translateX(20px); }
.schalter input:focus-visible + span { outline: 2px solid var(--sonar); outline-offset: 2px; }
.schalter input:disabled + span { opacity: 0.6; }
.regel { margin-top: 4px; }
.regel .info { margin-left: 58px; margin-top: 2px; }
.regel-titel { font-weight: 700; margin-top: 12px; }
.regler { margin-top: 16px; }
.regler label { display: flex; justify-content: space-between; font-weight: 700; }
.regler label output { color: var(--sonar); }
.regler input[type=range] { width: 100%; accent-color: var(--sonar); margin: 8px 0 0; }
.regler .stellung { margin: 2px 0 0; color: var(--text); font-size: 14.5px; opacity: 0.85; }
.verbindung { min-height: 20px; }

/* ---------------------------------------------------------------- Raum */
.code-block { text-align: center; padding: 14px; margin: 10px 0; border-radius: 14px; background: rgba(63, 214, 232, 0.06); border: 1px dashed var(--rand); }
.code-titel { display: block; color: var(--leise); text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px; font-weight: 700; }
#raum-code { display: block; font-size: 56px; letter-spacing: 0.35em; padding-left: 0.35em; color: #fff; text-shadow: 0 0 22px rgba(63, 214, 232, 0.6); line-height: 1.2; }
.code-knoepfe { display: flex; gap: 8px; justify-content: center; margin-top: 6px; flex-wrap: wrap; }
.kapitaene { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.kapitaene li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--rand-hell); font-weight: 700; }
.kapitaene li.leer { color: var(--leise); font-weight: 600; border-style: dashed; }
.kapitaene .punkt { width: 11px; height: 11px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 10px var(--gruen); flex: none; }
.kapitaene .weg .punkt { background: #666; box-shadow: none; }
.kapitaene .rolle { margin-left: auto; font-size: 14px; color: var(--leise); }
.leer .punkt { background: transparent; border: 1px dashed var(--leise); box-shadow: none; animation: pulsieren 1.6s ease-in-out infinite; }
@keyframes pulsieren { 50% { opacity: 0.3; } }

/* ---------------------------------------------------------------- Chat / Logbuch */
.chat { margin-top: 14px; }
.chat-liste, .logbuch { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; font-size: 15px; }
.chat .chat-liste { max-height: 140px; }
.chat.klein .chat-liste { max-height: 110px; }
.chat-liste li b { color: var(--sonar); }
.chat-liste li.ich b { color: var(--gold); }
.chat-liste li.sys { color: var(--leise); font-style: italic; }
.logbuch { max-height: 40vh; }
.logbuch li { padding: 4px 8px; border-left: 3px solid rgba(255, 255, 255, 0.12); color: #cfdbe6; line-height: 1.3; animation: einblenden 0.3s ease; }
.logbuch li.ich { border-left-color: var(--sonar); }
.logbuch li.geg { border-left-color: var(--rot); }
.logbuch li.treffer { color: #ffd2a8; }
.logbuch li.versenkt { color: #ffb08a; font-weight: 700; }
.logbuch li.sys { color: var(--leise); }

/* ---------------------------------------------------------------- Spiel */
#spiel { position: fixed; inset: 0; z-index: 3; display: grid; grid-template-rows: var(--hud) 1fr; }
#hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 0 14px; background: rgba(5, 16, 27, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rand); }
.hud-seite { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hud-seite.rechts { justify-content: flex-end; }
.hud-name { font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flotten-reihe { display: flex; gap: 3px; align-items: center; }
.flotten-reihe i { display: block; height: 7px; border-radius: 4px; background: #a9bdd0; }
.flotten-reihe i.weg { background: var(--rot); opacity: 0.45; }
#zug-anzeige { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--rand-hell); font-weight: 700; font-size: 18px; transition: background 0.3s, border-color 0.3s; white-space: nowrap; }
#zug-anzeige.dran { background: rgba(63, 214, 232, 0.16); border-color: var(--sonar); box-shadow: 0 0 22px rgba(63, 214, 232, 0.25); }
#zug-anzeige.eng { border-color: var(--rot); background: rgba(255, 90, 95, 0.16); animation: pulsieren 1s ease-in-out infinite; }
.zug-uhr { width: 30px; height: 30px; transform: rotate(-90deg); }
.uhr-grund { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 4; }
.uhr-rest { fill: none; stroke: var(--sonar); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke 0.3s; }
#zug-anzeige.eng .uhr-rest { stroke: var(--rot); }
#zug-anzeige.ohne-uhr .zug-uhr { display: none; }
#zug-anzeige.ohne-uhr { padding-left: 16px; }

#bretter { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr) 250px; grid-template-areas: 'eigen ziel seite'; gap: 18px; padding: 14px 16px 16px; overflow: auto; align-items: start; }
#p-eigen { grid-area: eigen; } #p-ziel { grid-area: ziel; } #seite { grid-area: seite; }
.brett-feld { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.brett-titel { margin: 0; font-size: 15px; color: var(--leise); align-self: stretch; text-align: center; }
#p-ziel .brett-titel { color: #ffb4a0; }
.brett-rahmen { width: 100%; aspect-ratio: 1; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--rand); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4); }
#p-ziel .brett-rahmen { max-width: calc(100dvh - var(--hud) - 170px); }
#p-eigen .brett-rahmen { max-width: calc((100dvh - var(--hud) - 170px) * 0.8); }
.brett-rahmen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#p-ziel.aktiv .brett-rahmen { border-color: var(--sonar); box-shadow: 0 0 0 2px rgba(63, 214, 232, 0.35), 0 20px 50px rgba(0, 0, 0, 0.5); }
#seite { background: var(--tafel); border: 1px solid var(--rand-hell); border-radius: 14px; padding: 2px 12px 12px; align-self: stretch; max-height: calc(100dvh - var(--hud) - 30px); display: flex; flex-direction: column; }
#seite h3 { margin: 12px 0 8px; }
#seite .logbuch { flex: 1; max-height: none; min-height: 80px; }
#seite .chat { margin-top: 6px; }

/* Waffenleiste */
.waffen { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.waffe { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 12px; border: 1px solid var(--rand-hell); background: rgba(8, 22, 36, 0.85); cursor: pointer; font-weight: 700; font-size: 16px; transition: border-color 0.15s, background 0.15s, transform 0.12s; }
.waffe svg { width: 24px; height: 24px; flex: none; }
.waffe:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.waffe.an { border-color: var(--sonar); background: rgba(63, 214, 232, 0.18); box-shadow: 0 0 16px rgba(63, 214, 232, 0.3); }
.waffe:disabled { opacity: 0.38; cursor: not-allowed; }
.waffe .taste { position: absolute; top: -7px; right: -5px; font-size: 11px; background: #0b1c2b; border: 1px solid var(--rand-hell); border-radius: 5px; padding: 0 4px; color: var(--leise); }
.waffe .stand { font-size: 12px; font-weight: 600; color: var(--leise); display: block; line-height: 1; }
.waffe .text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.richtungen { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.richtungen button { border: 1px solid var(--rand-hell); background: rgba(8, 22, 36, 0.85); border-radius: 9px; padding: 4px 10px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--leise); }
.richtungen button.an { color: #03141c; background: var(--sonar); border-color: var(--sonar); }
.waffen-info { margin: 0; min-height: 20px; color: var(--leise); font-size: 14.5px; text-align: center; max-width: 560px; }

/* Aufstellen */
.aufbau { width: 100%; max-width: 560px; }
.dock { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 54px; }
.dock button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px 5px; border-radius: 10px; border: 1px solid var(--rand-hell); background: rgba(8, 22, 36, 0.85); cursor: pointer; font-weight: 700; font-size: 13px; color: var(--leise); transition: border-color 0.15s, transform 0.12s; }
.dock button img { display: block; height: 22px; }
.dock button.an { border-color: var(--gold); color: var(--text); box-shadow: 0 0 14px rgba(255, 200, 87, 0.35); }
.dock button:hover { transform: translateY(-1px); }
.dock .fertig { color: var(--gruen); font-weight: 700; align-self: center; }
.aufbau-knoepfe { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.aufbau .info { text-align: center; }

body.aufstellen #bretter { grid-template-columns: minmax(0, 1fr) 250px; grid-template-areas: 'eigen seite'; }
body.aufstellen #p-ziel { display: none; }
body.aufstellen #p-eigen .brett-rahmen { max-width: calc(100dvh - var(--hud) - 230px); }

/* ---------------------------------------------------------------- Overlays, Toasts */
.overlay { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 8, 14, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: einblenden 0.25s ease; }
.klein-tafel { width: min(420px, 100%); text-align: center; }
.klein-tafel .menue-knoepfe { margin: 18px auto 0; }
#frage-text { color: #cfdbe6; line-height: 1.45; }
.ende-tafel { width: min(560px, 100%); text-align: center; }
#ende-titel { font-size: 44px; margin-top: 4px; }
#ende-titel.sieg { color: var(--gold); text-shadow: 0 0 28px rgba(255, 200, 87, 0.5); }
#ende-titel.niederlage { color: var(--rot); text-shadow: 0 0 28px rgba(255, 90, 95, 0.4); }
.ende-text { color: #cfdbe6; margin: 6px 0 0; }
.ende-werte { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 16px; margin: 18px auto 0; max-width: 420px; text-align: left; }
.ende-werte b { text-align: right; }
.ende-werte .kopf { color: var(--leise); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.ende-tafel .aktionen { justify-content: center; }
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 30; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(520px, calc(100vw - 32px)); }
.toast { padding: 10px 18px; border-radius: 12px; background: rgba(8, 22, 36, 0.94); border: 1px solid var(--rand); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); font-weight: 700; animation: einblenden 0.25s ease; text-align: center; }
.toast.fehler { border-color: rgba(255, 90, 95, 0.6); color: #ffd0d2; }
.toast.weg { opacity: 0; transition: opacity 0.4s; }

/* Bestenliste */
.tabelle-rahmen { overflow-x: auto; margin-top: 12px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabelle th { text-align: left; color: var(--leise); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 8px; border-bottom: 1px solid var(--rand-hell); }
.tabelle td { padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.tabelle tr:first-child td:first-child { color: var(--gold); font-weight: 700; }
.tabelle .leer { color: var(--leise); text-align: center; padding: 22px; }

/* ---------------------------------------------------------------- Schmale Schirme */
@media (max-width: 1100px) {
  #bretter { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-areas: 'eigen ziel' 'seite seite'; }
  #seite { max-height: 260px; }
}
@media (max-width: 760px) {
  :root { --hud: 52px; }
  body.im-spiel { overflow: auto; }
  #spiel { position: absolute; min-height: 100%; grid-template-rows: var(--hud) auto; }
  #hud { position: sticky; top: 0; z-index: 4; grid-template-columns: auto 1fr auto; padding: 0 8px; }
  .hud-seite.links .flotten-reihe, .hud-seite.rechts .flotten-reihe, .hud-name { display: none; }
  #zug-anzeige { font-size: 15px; justify-self: center; }
  #bretter, body.aufstellen #bretter { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'ziel' 'eigen' 'seite'; overflow: visible; padding: 10px; gap: 14px; }
  body.aufstellen #bretter { grid-template-areas: 'eigen' 'seite'; }
  #p-ziel .brett-rahmen, body.aufstellen #p-eigen .brett-rahmen { max-width: none; }
  #p-eigen .brett-rahmen { max-width: 78%; }
  body.aufstellen #p-eigen .brett-rahmen { max-width: none; }
  #seite { max-height: none; }
  #seite .logbuch { max-height: 180px; }
  .zwei-spalten { grid-template-columns: 1fr; }
  .tafel { padding: 18px 16px 20px; }
  .waffen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .waffe { flex-direction: column; gap: 2px; padding: 6px 4px 5px; font-size: 14px; }
  .waffe .text { align-items: center; }
  .waffe svg { width: 20px; height: 20px; }
}
