/* =====================================================================================
   Shop (js/shop.js): Shop-Fenster mit Reitern, Klassen-/Paket-/Pass-Karten, Kasse (Echtgeld-Zustimmung),
   Namens-Zusatz der Pass-Stufen, Diamanten im Hauptmenü und die Shop-Übersicht im Admin-Bereich.
   Farben/Schriften aus thema.css (Eisen/Gold). Ebene 88: über Freunde & Clan (78–82), unter Konto (92),
   Toast (95) und Fragen (97). Kein horizontales Scrollen – alles bricht um.
   ===================================================================================== */
#shop-fenster { z-index: 88; padding: 12px; }
.lobby-karte.shop-tafel { width: min(1040px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; gap: 10px;
  padding: 18px 20px 16px; overflow: hidden; }

/* ---------------------------------------------------------------- Icons */
.shop-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.shop-ic .fein { stroke-width: 1.2; opacity: .75; }
.shop-ic.dia { stroke: #8fe6ff; fill: rgba(143, 230, 255, .14); }
.dia-anzeige { color: #bdf1ff; }
.dia-anzeige .shop-ic { width: 22px; height: 22px; filter: drop-shadow(0 0 4px rgba(120, 220, 255, .45)); }
.knopf .muenze, .shop-chip .muenze, .shop-aenderung .muenze { width: 16px; height: 16px; vertical-align: -3px; }

/* Hauptmenü-Knopf (wie „Freunde & Clan“) */
.hm-knoepfe .shop-hm-knopf { display: flex; align-items: center; gap: 10px; }
.hm-knoepfe .shop-hm-knopf[hidden] { display: none; }
.shop-hm-knopf .shop-ic { width: 22px; height: 22px; }
.shop-hm-knopf span { flex: 1; }

/* ---------------------------------------------------------------- Kopf: Titel, Kontostand, Schließen */
.shop-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.shop-kopf h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 28px var(--schrift-titel); letter-spacing: 4px; color: var(--gold); }
.shop-kopf h2 .shop-ic { width: 26px; height: 26px; stroke: var(--gold); }
.shop-saldo { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.shop-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid var(--eisen-rand); border-radius: 999px; background: rgba(0, 0, 0, .45);
  font: 700 15px var(--schrift); color: var(--gold-hell); white-space: nowrap; }
.shop-chip.dia { color: #bdf1ff; }
.shop-chip.pass { color: var(--pf, var(--grau)); border-color: color-mix(in srgb, var(--pf, #3d3428) 45%, transparent); }
.shop-chip.pass small { color: var(--grau); font-weight: 600; font-size: 12px; }
.shop-zu { margin-left: auto; }

/* ---------------------------------------------------------------- Reiter */
.shop-reiter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--eisen-rand); }
.shop-reiter button { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 9px 4px; border: 0; border-bottom: 3px solid transparent;
  background: none; color: var(--grau); font: 700 15px var(--schrift-titel); letter-spacing: 1.5px; text-transform: uppercase; cursor: var(--zeiger-klick); }
.shop-reiter button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-reiter button.an { color: var(--gold); border-bottom-color: var(--gold); }
.shop-reiter button:hover, .shop-reiter button:focus-visible { color: var(--gold-hell); outline: none; }

.shop-inhalt { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 2px 4px 6px 0; outline: none; }
.shop-klein { margin: 0; color: var(--grau); font-size: 12.5px; line-height: 1.4; }
.shop-hinweis { margin: 0; padding: 7px 10px; border-left: 3px solid var(--gold-dunkel); background: rgba(246, 197, 90, .07); color: var(--gold-hell); font-size: 13px; }
.shop-leer { margin: 18px 0; color: var(--grau); text-align: center; }
.shop-fehler { margin: 0; min-height: 1em; color: #ff7a70; font-size: 13px; }

/* ---------------------------------------------------------------- Werkzeuge (Suche + Stufen-Filter) */
.shop-werkzeuge { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-werkzeuge input, .shop-formzeile input { flex: 1 1 180px; min-width: 0; padding: 7px 10px; border: 1px solid var(--eisen-rand); background: rgba(0, 0, 0, .45); color: var(--text); font: 15px var(--schrift); }
.shop-werkzeuge input:focus, .shop-formzeile input:focus { outline: none; border-color: var(--gold-dunkel); box-shadow: 0 0 0 1px var(--gold-dunkel); }
.shop-filter { display: flex; flex-wrap: wrap; gap: 4px; }
.shop-filter button { min-width: 34px; padding: 6px 9px; border: 1px solid var(--eisen-rand); background: rgba(0, 0, 0, .3); color: var(--grau); font: 700 13px var(--schrift-titel);
  letter-spacing: 1px; cursor: var(--zeiger-klick); }
.shop-filter button.an { color: var(--gold); border-color: var(--gold-dunkel); background: rgba(246, 197, 90, .1); }

/* ---------------------------------------------------------------- Karten-Raster */
.shop-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.shop-raster.stufen { grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); }
.shop-karte { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--eisen-rand); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .35)); transition: border-color .15s, transform .15s; }
.shop-karte:hover { border-color: rgba(246, 197, 90, .45); }
.shop-karte.besitz { border-color: var(--gold-dunkel); box-shadow: inset 0 0 0 1px rgba(246, 197, 90, .15); }
.shop-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-text b { font: 800 18px var(--schrift-titel); letter-spacing: 1px; color: var(--gold-hell); overflow-wrap: anywhere; }
.shop-text small { color: var(--grau); font-size: 12.5px; }
.shop-bild { position: relative; overflow: hidden; border-radius: 4px; background: #0b0a0d; }
.shop-bild img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.shop-karte.besitz .shop-bild img { filter: saturate(.9); }
.shop-stufe { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 3px; padding: 4px 6px; border-radius: 3px; background: rgba(0, 0, 0, .7); }
.shop-stufe i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 4px rgba(246, 197, 90, .6); }
.shop-stufe.s5 i { background: #ffd9a0; box-shadow: 0 0 6px rgba(255, 140, 60, .8); }
.shop-preise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.shop-preise.shop-spalte { flex-direction: column; }
.shop-preise.shop-spalte .knopf { flex: none; width: 100%; }
.shop-preise .knopf { flex: 1 1 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; min-width: 0; }
.shop-preis[data-knapp] { opacity: .55; }
.shop-preis.dia { color: #c9f3ff; }
.shop-besitz, .shop-status { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 700 13px var(--schrift-titel); letter-spacing: 1px; text-transform: uppercase; }
.shop-besitz { color: #9fe0a8; }
.shop-besitz .shop-ic { stroke: #9fe0a8; }
.shop-status { color: var(--grau); }

/* Diamanten-Pakete */
.shop-paket-bild { display: flex; align-items: center; justify-content: center; gap: 0; height: 92px; border-radius: 4px;
  background: radial-gradient(circle at 50% 60%, rgba(120, 220, 255, .18), rgba(0, 0, 0, .2) 70%); }
.shop-paket-bild .shop-ic { width: 46px; height: 46px; margin: 0 -6px; filter: drop-shadow(0 0 8px rgba(120, 220, 255, .5)); }
.shop-paket-bild.g4 .shop-ic, .shop-paket-bild.g5 .shop-ic { width: 54px; height: 54px; }
.shop-paket-bild.g5 .shop-ic { margin: 0 -9px; }
.shop-bonus { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: rgba(143, 230, 255, .12); color: #bdf1ff; font: 700 12px var(--schrift); font-style: normal; }
/* Testartikel (nur Admins): deutlich als Test markiert */
.shop-test { align-self: flex-start; padding: 1px 8px; border-radius: 4px; background: #ffd23f; color: #1a1a1a; font: 800 11px var(--schrift); letter-spacing: .04em; }
.shop-karte.test { outline: 2px dashed #ffd23f; outline-offset: -2px; }

/* Pässe */
.shop-karte.stufe { border-top: 3px solid var(--pf); }
.shop-stufen-kopf { display: flex; align-items: center; gap: 8px; color: var(--pf); }
.shop-stufen-kopf .shop-ic { width: 22px; height: 22px; fill: color-mix(in srgb, var(--pf) 25%, transparent); }
.shop-stufen-kopf b { font: 800 21px var(--schrift-titel); letter-spacing: 2px; text-transform: uppercase; }
.shop-stufen-kopf em { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pf) 22%, transparent); color: var(--pf);
  font: 700 11px var(--schrift); font-style: normal; text-transform: uppercase; letter-spacing: 1px; }
.shop-vorteile { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.shop-vorteile li { display: flex; align-items: center; gap: 7px; }
.shop-vorteile .shop-ic { width: 16px; height: 16px; color: var(--grau); }
.shop-passinfo { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--eisen-rand); border-left: 3px solid var(--pf, var(--gold-dunkel));
  background: rgba(0, 0, 0, .35); }
.shop-passinfo .shop-ic { width: 30px; height: 30px; color: var(--pf, var(--gold)); }
.shop-passinfo div { display: flex; flex-direction: column; min-width: 0; }
.shop-passinfo b { font: 800 19px var(--schrift-titel); letter-spacing: 1px; color: var(--pf, var(--gold-hell)); }
.shop-passinfo small { color: var(--grau); font-size: 13px; }

/* Namens-Zusatz der Pass-Stufe („Name [GOLD]“) – Lobby, Lobby-Browser, Gruppenanzeige, Chat */
.pass-tag { color: var(--pf, var(--gold)); font: 700 .86em var(--schrift-titel); letter-spacing: 1px; white-space: nowrap; text-shadow: 0 0 6px rgba(0, 0, 0, .9); }

/* ---------------------------------------------------------------- Geschenke & Codes */
.shop-abschnitt { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--eisen-rand); border-radius: 6px; background: rgba(0, 0, 0, .28); }
.shop-abschnitt h3 { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 18px var(--schrift-titel); letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.shop-stufenwahl { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-stufenwahl button { flex: 1 1 80px; padding: 7px 8px; border: 1px solid color-mix(in srgb, var(--pf) 40%, #3d3428); background: rgba(0, 0, 0, .35); color: var(--pf);
  font: 700 14px var(--schrift-titel); letter-spacing: 1.5px; text-transform: uppercase; cursor: var(--zeiger-klick); }
.shop-stufenwahl button.an { background: color-mix(in srgb, var(--pf) 18%, transparent); border-color: var(--pf); box-shadow: 0 0 10px color-mix(in srgb, var(--pf) 30%, transparent); }
.shop-formzeile { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.shop-formzeile .knopf { margin: 0; }
.shop-vorschlaege { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.shop-liste { display: flex; flex-direction: column; gap: 4px; }
.shop-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 7px 9px; background: rgba(0, 0, 0, .3); border-left: 2px solid var(--eisen-rand); }
.shop-zeile.verlauf, .shop-zeile.ab { grid-template-columns: minmax(0, 1fr) auto; }
.shop-zeile.ab { grid-template-columns: minmax(0, 1fr) auto auto; }
.shop-zeile > div { display: flex; flex-direction: column; min-width: 0; }
.shop-zeile b { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.shop-zeile small { color: var(--grau); font-size: 12px; overflow-wrap: anywhere; }
.shop-zeile .knopf { margin: 0; }
.shop-aenderung { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; font-weight: 700; font-size: 14px; }
.shop-aenderung span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.shop-aenderung .plus { color: #9fe0a8; }
.shop-aenderung .minus { color: #ffab9f; }

/* ---------------------------------------------------------------- Kasse (Echtgeld) */
.shop-kasse { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 14px; background: rgba(4, 4, 10, .82); }
.shop-kasse[hidden] { display: none; }
.shop-kasse-box { width: min(480px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px;
  border: 1px solid var(--gold-dunkel); background: var(--korn), linear-gradient(180deg, #1d1a20, #0e0c10); box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.shop-kasse-box h3 { margin: 0; font: 800 22px var(--schrift-titel); letter-spacing: 4px; color: var(--gold); }
.shop-kasse-artikel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; background: rgba(0, 0, 0, .4); border-left: 3px solid var(--gold); }
.shop-kasse-artikel b { font: 800 18px var(--schrift-titel); letter-spacing: 1px; color: var(--gold-hell); overflow-wrap: anywhere; }
.shop-kasse-artikel span { font-weight: 700; color: var(--text); white-space: nowrap; }
.shop-kasse-box .shop-haken { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; margin: 0; font-size: 13.5px; line-height: 1.4; text-align: left; cursor: var(--zeiger-klick); }
.shop-haken span { flex: 1; min-width: 0; }
.shop-kasse-box .shop-haken input { flex: none; width: 18px; min-width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--gold); }
.shop-zahlarten { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-zahlarten .knopf { flex: 1 1 180px; margin: 0; }
.shop-zahlarten .knopf:disabled { opacity: .45; }
.shop-kasse-box > .knopf.mini { align-self: flex-end; margin: 0; }

/* ---------------------------------------------------------------- Admin-Bereich: Shop-Kachel + Übersicht */
button.ab-bereich.bereit { cursor: var(--zeiger-klick); text-align: left; font: inherit; color: inherit; border-color: rgba(246, 197, 90, .6); }
button.ab-bereich.bereit:hover { background: rgba(246, 197, 90, .08); }
button.ab-bereich.bereit em { background: rgba(246, 197, 90, .16); color: var(--gold); }
.ab-inhalt:empty { display: none; }
.ab-inhalt { max-height: 52vh; overflow-y: auto; overflow-x: hidden; }
.ab-shop { display: flex; flex-direction: column; gap: 10px; }
.ab-shop-werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 8px; }
.ab-shop-werte > div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--eisen-rand); background: rgba(0, 0, 0, .35); }
.ab-shop-werte small { color: var(--grau); font-size: 12px; }
.ab-shop-werte b { font: 800 20px var(--schrift-titel); color: var(--gold-hell); letter-spacing: 1px; }
.ab-shop-werte em { color: var(--grau); font-size: 12px; font-style: normal; }
.ab-status { padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: rgba(255, 255, 255, .07); color: var(--grau); }
.ab-status.bezahlt { background: rgba(110, 200, 120, .16); color: #9fe0a8; }
.ab-status.erstattet { background: rgba(240, 160, 80, .16); color: #ffc58a; }
.ab-status.fehlgeschlagen { background: rgba(226, 56, 44, .16); color: #ff9a8f; }

/* ---------------------------------------------------------------- Kleine Fenster */
@media (max-width: 720px) {
  .shop-reiter button span { display: none; }
  .shop-reiter button .shop-ic { width: 22px; height: 22px; }
}
@media (max-width: 520px) {
  #shop-fenster { padding: 6px; }
  .lobby-karte.shop-tafel { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); padding: 12px 12px 10px; }
  .shop-kopf h2 { font-size: 22px; letter-spacing: 3px; }
  .shop-chip { font-size: 13px; padding: 3px 8px; }
  .shop-zeile, .shop-zeile.ab { grid-template-columns: minmax(0, 1fr) auto; }
  .shop-zeile.ab .knopf { grid-column: 1 / -1; justify-self: start; }
}
@media (max-height: 560px) {
  .lobby-karte.shop-tafel { padding: 10px 14px; gap: 6px; }
  .shop-kopf h2 { font-size: 20px; }
  .shop-bild img { aspect-ratio: 16 / 9; }
  .shop-paket-bild { height: 60px; }
}

/* Pass-Karten: luftiger, Preis groß über dem Knopf */
.shop-raster.stufen { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.shop-karte.stufe { padding: 14px 14px 12px; gap: 12px; }
.shop-karte.stufe .shop-vorteile { gap: 9px; font-size: 14px; line-height: 1.3; }
.shop-karte.stufe .shop-vorteile li { align-items: flex-start; }
.shop-karte.stufe .shop-vorteile .shop-ic { margin-top: 1px; flex: none; }
.pass-preis { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--eisen-rand); }
.pass-preis b { font: 800 24px var(--schrift-titel); letter-spacing: 1px; color: var(--pf, var(--gold-hell)); }
.pass-preis small { color: var(--grau); font-size: 12px; }
.shop-karte.stufe .shop-preise .knopf { letter-spacing: 2px; white-space: nowrap; }

/* Kasse: über dem ganzen Bildschirm, gleich groß bei jedem Reiter, nie scrollen – Texte brechen um */
.shop-kasse { position: fixed; inset: 0; z-index: 95; padding: 12px; }
.shop-kasse-box { width: min(520px, 100%); max-height: none; overflow: visible; gap: 9px; padding: 16px 18px; }
.shop-kasse-artikel span { white-space: normal; }
.shop-kasse-box, .shop-kasse-box * { overflow-wrap: anywhere; }
.shop-kasse-box .shop-klein { line-height: 1.35; }
.shop-zahlarten .knopf { flex: 1 1 200px; white-space: normal; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
@media (max-height: 620px) { .shop-kasse-box { gap: 6px; padding: 12px 14px; } .shop-kasse-box h3 { font-size: 18px; }
  .shop-kasse-box .shop-haken { font-size: 12.5px; line-height: 1.3; } .shop-kasse-box .shop-klein { font-size: 11.5px; } }

/* ---------------------------------------------------------------- Kasse im Spiel (Stripe-Zahlfeld) + Rechtliches-Links
   Schritt 2 (Klasse .zahlen): auf breiten Bildschirmen zweispaltig (links Artikel + Bedingungen, rechts Zahlfeld + Knopf),
   auf schmalen untereinander und kompakt (die Zustimmung steht dann als eine Zeile da). Die Kasse scrollt nie. */
.shop-kasse-teil { display: flex; flex-direction: column; gap: inherit; min-width: 0; }
.shop-kasse-teil[hidden] { display: none; }
.shop-kasse-box.zahlen { width: min(980px, 100%); }
.shop-kasse-zahlung { gap: 10px; }
.shop-kasse-element { min-height: 120px; }
.shop-kasse-zahlung > .knopf { margin: 0; white-space: normal; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
.shop-kasse-zahlung > .knopf:disabled { opacity: .45; }
.shop-kasse-zahlung > small { color: var(--grau); font-size: 11.5px; line-height: 1.35; }
.shop-kasse-zugestimmt { color: #9fe0a8 !important; }
.shop-recht-zeile { margin: 0; }
.shop-recht-zeile .knopf-link, .shop-fuss .knopf-link { font-size: inherit; padding: 0; }
@media (min-width: 820px) {
  .shop-kasse-box.zahlen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 9px 22px; align-items: start; }
  .shop-kasse-box.zahlen .shop-kasse-zahlung { border-left: 1px solid var(--eisen-rand); padding-left: 22px; }
}
@media (max-width: 819.98px) {
  /* schmal: Zustimmung ist schon gegeben – Haken-Text und Bedingungen kürzen, damit Zahlfeld + Knopf ohne Scrollen passen */
  .shop-kasse-box.zahlen .shop-haken, .shop-kasse-box.zahlen [data-kasse="creator-feld"] { display: none; }
  .shop-kasse-box.zahlen { gap: 6px; padding: 12px 14px; }
  .shop-kasse-box.zahlen .shop-klein { font-size: 11.5px; line-height: 1.3; }
  .shop-kasse-box.zahlen h3 { font-size: 18px; }
}
@media (min-width: 820px) { .shop-kasse-box.zahlen .shop-kasse-zugestimmt { display: none; } }
.shop-fuss { margin: 0; padding-top: 4px; text-align: center; font-size: 12px; color: var(--grau); }
.shop-fuss .knopf-link { color: var(--grau); text-decoration-color: rgba(169, 159, 143, .45); }
.shop-fuss .knopf-link:hover { color: var(--gold); }
@media (max-height: 560px) { .shop-fuss { display: none; } }

/* ---------------------------------------------------------------- Fenster „Rechtliches“ (js/recht.js) – über Shop und Kasse */
#recht-fenster { z-index: 96; padding: 12px; }
.lobby-karte.recht-tafel { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 14px; text-align: left; }
.recht-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recht-kopf h2 { margin: 0; font: 800 28px var(--schrift-titel); letter-spacing: 5px; color: var(--gold); }
.recht-zu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.recht-reiter { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--eisen-rand); }
.recht-reiter button, .recht-extern { padding: 8px 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--grau);
  font: 700 14px var(--schrift-titel); letter-spacing: 1.5px; text-transform: uppercase; cursor: var(--zeiger-klick); text-decoration: none; }
.recht-reiter button.an { color: var(--gold); border-bottom-color: var(--gold); }
.recht-reiter button:hover, .recht-extern:hover { color: var(--gold-hell); }
.recht-extern { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.recht-extern svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.recht-inhalt { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-right: 6px; outline: none; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.recht-entwurf { margin: 0 0 8px; padding: 7px 10px; border-left: 3px solid var(--glut); background: rgba(255, 122, 42, .1); color: #ffc58a; font-weight: 700; font-size: 13px; }
.recht-text h3 { margin: 16px 0 4px; font: 800 17px var(--schrift-titel); letter-spacing: 1.5px; color: var(--gold-hell); }
.recht-text p { margin: 0 0 8px; overflow-wrap: anywhere; }
.recht-text a, .recht-text .knopf-link { color: #c9a35a; font-size: inherit; }
.recht-formular { padding: 8px 12px; border: 1px dashed var(--eisen-rand); background: rgba(0, 0, 0, .3); }
.recht-stand { margin: 10px 0 0; color: var(--grau); font-size: 12px; }
.recht-form { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.recht-form label { display: flex; flex-direction: column; gap: 4px; color: var(--grau); font-size: 13px; }
.recht-form label > span, .recht-form legend { font: 700 12px var(--schrift-titel); letter-spacing: 1.5px; text-transform: uppercase; color: var(--grau); }
.recht-form input:not([type=radio]), .recht-form select, .recht-form textarea { width: 100%; min-width: 0; padding: 7px 10px; border: 1px solid var(--eisen-rand); border-radius: 0;
  background: rgba(0, 0, 0, .45); color: var(--text); font: 15px var(--schrift); }
.recht-form select option { background: #1d1a20; }
.recht-form fieldset { margin: 0; padding: 6px 10px 8px; border: 1px solid var(--eisen-rand); display: flex; flex-direction: column; gap: 6px; }
.recht-form label.recht-wahl { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; cursor: var(--zeiger-klick); }
.recht-form label.recht-wahl input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.recht-form label[hidden] { display: none; }
.recht-form .recht-jetzt { align-self: flex-start; margin: 0; }
.recht-form .recht-jetzt:disabled { opacity: .5; }
.recht-bestaetigt { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-left: 3px solid #6ec878; background: rgba(110, 200, 120, .08); max-width: 620px; }
.recht-bestaetigt h3 { margin: 0; font: 800 20px var(--schrift-titel); letter-spacing: 2px; color: #9fe0a8; }
.recht-bestaetigt p { margin: 0; }
.recht-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.recht-knoepfe .knopf { margin: 0; }
.konto-recht { margin: 0; text-align: left; }
.konto-recht .knopf-link { font-size: inherit; padding: 0; }
@media (max-width: 560px) {
  #recht-fenster { padding: 6px; }
  .lobby-karte.recht-tafel { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); padding: 12px; }
  .recht-kopf h2 { font-size: 22px; letter-spacing: 3px; }
  .recht-reiter button, .recht-extern { padding: 6px 8px; font-size: 12.5px; }
}
.recht-form label.recht-wahl > span { font: 14.5px var(--schrift); letter-spacing: 0; text-transform: none; color: var(--text); }
.shop-kasse-teil > .knopf.mini { align-self: flex-end; margin: 0; }
