/* Affiliate Empire Manager – Retro-Stil: MAD-TV-Studio trifft Sid-Meier-Strategie */
:root {
  --bg: #140b2e;            /* nächtliches TV-Studio-Violett */
  --bg2: #1c1038;
  --card: #241543;          /* Panel */
  --card2: #2f1d56;
  --border: #4a3380;
  --gold: #e0a939;          /* Sid-Meier-Gold */
  --gold-dark: #8a6512;
  --gold-light: #f5cf6b;
  --text: #f2e8cf;          /* Pergament-Creme */
  --muted: #b9a8e0;
  --cyan: #38e0ff;          /* MAD-TV-Neon */
  --magenta: #ff4fd8;
  --good: #3ee06b;
  --warn: #ffb347;
  --bad: #ff5a5a;
  --parch: #f4e4c1;         /* Pergament für Dialoge */
  --parch2: #e8d3a4;
  --ink: #2b1d0e;           /* Tinte auf Pergament */
  --shadow: 5px 5px 0 rgba(0, 0, 0, .55);
  --px: 'Press Start 2P', 'Courier New', monospace;   /* Pixel-Headline-Font */
  --crt: 'VT323', 'Courier New', monospace;           /* Terminal-Zahlen-Font */
  /* Bevel-Kanten wie in alten Sid-Meier-/DOS-Oberflächen */
  --bevel: inset 2px 2px 0 rgba(255, 255, 255, .18), inset -2px -2px 0 rgba(0, 0, 0, .4);
  --bevel-gold: inset 2px 2px 0 rgba(255, 255, 255, .45), inset -2px -2px 0 rgba(0, 0, 0, .3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
  background:
    radial-gradient(ellipse at 50% -10%, #2a1758 0%, var(--bg) 55%),
    var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 100vh;
}

/* CRT-Scanlines über allem – der MAD-TV-Röhrenblick */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .11) 0 1px, transparent 1px 3px);
}

.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.good-t { color: var(--good); }
.bad-t { color: var(--bad); }
.alert { color: var(--warn); font-weight: 700; margin: 6px 0; }

h1, h2, h3, h4, .brand {
  text-transform: uppercase;
  letter-spacing: .06em;
}
h3 { font-family: var(--px); font-size: 12px; line-height: 1.6; color: var(--gold-light); text-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }

/* ---------- Buttons: gegossene Gold-Knöpfe ---------- */
.btn {
  border: 3px solid var(--gold-dark);
  background: var(--card2);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5), var(--bevel);
  transition: filter .1s;
}
.btn:hover:not(:disabled) { filter: brightness(1.15); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .5); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #c08a1e 100%);
  border-color: var(--gold-dark);
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5), var(--bevel-gold);
}
.btn-danger { background: #3a1025; border-color: var(--bad); color: var(--bad); }
.btn-warn { background: #3a2a10; border-color: var(--warn); color: var(--warn); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-sm { padding: 5px 10px; font-size: 11.5px; border-width: 2px; }
.btn-big { padding: 13px 30px; font-size: 15px; }

input[type=text], input[type=email] {
  background: #170d33;
  border: 3px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 0;
}
input[type=text]:focus, input[type=email]:focus { outline: none; border-color: var(--cyan); }

/* ---------- Startscreen: Studio-Bühne ---------- */
.start-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 20px 30px; }
.start-head { text-align: center; margin-bottom: 28px; position: relative; }
.start-head h1 {
  font-family: var(--px);
  font-size: 26px;
  line-height: 1.5;
  margin: 18px 0 12px;
  color: var(--gold-light);
  text-shadow: 3px 3px 0 var(--magenta), 6px 6px 0 rgba(0, 0, 0, .7);
}
.tagline { color: var(--muted); max-width: 640px; margin: 0 auto; }

.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--magenta), #7a1fd1);
  border: 4px solid var(--gold);
  box-shadow: var(--shadow);
  font-size: 38px; color: #fff; font-weight: 700;
}
.logo-badge.small { width: 34px; height: 34px; border-width: 2px; font-size: 18px; box-shadow: 2px 2px 0 rgba(0, 0, 0, .5); }

/* Logo/Titel oben verlinkt zurück zur Startseite (index.html) – Farben/Layout bleiben wie ohne Link */
.brand-link { text-decoration: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.brand-link:hover { opacity: .82; }
.start-head .brand-link { flex-direction: column; }

.lang-switch {
  display: inline-flex; gap: 4px; margin-top: 18px;
  background: var(--card); border: 3px solid var(--gold-dark); padding: 3px;
}
.lang-switch.compact { margin: 0; border-width: 2px; }
.lang-btn { border: 0; background: transparent; color: var(--muted); padding: 4px 12px; cursor: pointer; font-weight: 700; font-family: inherit; }
.lang-btn.active { background: var(--gold); color: var(--ink); }

.continue-box { text-align: center; margin-bottom: 26px; display: flex; gap: 10px; justify-content: center; }

.setup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-card { margin-top: 18px; }
.setup-card {
  background: var(--card);
  border: 3px solid var(--gold-dark);
  box-shadow: var(--shadow), var(--bevel);
  padding: 16px;
}
.setup-card h2 {
  font-family: var(--px); font-size: 10px; line-height: 1.6;
  margin-bottom: 12px; color: var(--gold-light);
  border-bottom: 2px solid var(--gold-dark); padding-bottom: 6px;
}
.option-list { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  background: var(--bg); border: 2px solid var(--border);
  padding: 10px 12px; cursor: pointer; color: var(--text); font: inherit;
}
.opt:hover { border-color: var(--cyan); }
.opt.selected {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(224, 169, 57, .22), rgba(224, 169, 57, .08));
  box-shadow: inset 0 0 0 1px var(--gold);
}
.opt-icon { font-size: 24px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .5)); }
.opt-body strong { display: block; }
.opt-body small { color: var(--muted); font-size: 11.5px; }

.name-row { display: flex; gap: 8px; margin-bottom: 8px; }
.name-row input { flex: 1; min-width: 0; }

.start-actions { text-align: center; margin-top: 28px; }
.start-note { text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 16px; }

/* ---------- Footer & Newsletter ---------- */
.site-footer { margin-top: 48px; border-top: 3px double var(--gold-dark); padding-top: 26px; text-align: center; }
.nl-box {
  max-width: 560px; margin: 0 auto 24px;
  background: var(--card);
  border: 3px solid var(--gold-dark);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: left;
}
.nl-box h2 { font-size: 16px; color: var(--cyan); margin-bottom: 8px; text-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }
.nl-box p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--muted); margin-top: 10px; cursor: pointer; }
.nl-consent input { margin-top: 2px; accent-color: var(--gold); }
#nl-website, #acc-website, #gate-website { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.nl-msg { margin-top: 10px; font-size: 13px; font-weight: 700; min-height: 1em; }
.nl-msg.ok { color: var(--good); }
.nl-msg.err { color: var(--bad); }

.footer-links { color: var(--muted); font-size: 13px; }
.footer-links a { color: var(--cyan); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--magenta); }
.footer-links a:hover { color: var(--gold-light); }
.footer-note { color: var(--muted); font-size: 11px; margin: 10px 0 6px; }

/* ---------- Spiel-Chrome ---------- */
#screen-game { display: flex; flex-direction: column; min-height: 100vh; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; background: var(--bg2);
  border-bottom: 3px solid var(--gold-dark);
  position: sticky; top: 0; z-index: 20;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--px); font-weight: 400; font-size: 10px; color: var(--gold-light); text-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }
.shop-chip {
  background: linear-gradient(180deg, var(--magenta), #b3269a);
  color: #fff; border: 2px solid var(--gold);
  padding: 3px 12px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .5);
}
.month-chip {
  background: var(--card2); border: 2px solid var(--border);
  padding: 1px 12px; font-family: var(--crt); font-size: 19px;
}
.ap-chip {
  background: rgba(56, 224, 255, .15); border: 2px solid var(--cyan); color: var(--cyan);
  padding: 1px 12px; font-family: var(--crt); font-size: 19px;
}
.ap-chip.empty { background: rgba(255, 90, 90, .15); border-color: var(--bad); color: var(--bad); }

.program-tabs { display: flex; gap: 8px; align-items: center; padding: 8px 18px; background: var(--bg2); border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.pt-note { color: var(--muted); font-size: 11px; margin-right: 8px; }
.ptab {
  background: var(--card); border: 2px solid var(--border); color: var(--text);
  padding: 6px 14px; cursor: pointer; font-weight: 700; font-family: inherit; font-size: 12.5px;
}
.ptab.active { border-color: var(--gold); background: linear-gradient(180deg, rgba(224, 169, 57, .25), rgba(224, 169, 57, .08)); }
.ptab.danger { border-color: var(--warn); }
.ptab.lost { opacity: .45; text-decoration: line-through; }

.kpi-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 18px;
  background: #0e0722; border-bottom: 3px solid var(--gold-dark);
}
.kpi {
  flex: 0 0 auto; background: var(--card); border: 2px solid var(--border);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45), var(--bevel);
  padding: 6px 14px; min-width: 112px;
}
.kpi-l { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; }
.kpi-v { font-family: var(--crt); font-size: 22px; line-height: 1.05; white-space: nowrap; color: var(--cyan); }
.kpi.good .kpi-v { color: var(--good); }
.kpi.warn .kpi-v { color: var(--warn); }
.kpi.bad .kpi-v { color: var(--bad); }

.tabs { display: flex; gap: 4px; padding: 8px 18px 0; background: var(--bg); border-bottom: 3px solid var(--gold-dark); overflow-x: auto; }
.tab {
  background: var(--card); border: 2px solid var(--border); border-bottom: 0;
  color: var(--muted); padding: 10px 13px 8px;
  cursor: pointer; font-family: var(--px); font-size: 8px; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-color: var(--gold-dark);
}

.tab-content { flex: 1; padding: 18px 26px; max-width: 2400px; width: 100%; margin: 0 auto; }

.bottombar {
  position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  padding: 12px 18px; background: var(--bg2); border-top: 3px solid var(--gold-dark); z-index: 20;
}
.pending-hint { color: var(--warn); font-weight: 700; font-size: 13px; }
/* Posteingang-Hinweis oben, prominent unter dem Ticker */
.pending-hint.pending-top:not(:empty) { text-align: center; padding: 7px 12px; margin: 0; background: var(--card2); border-bottom: 2px solid var(--gold-dark); }
.pending-hint.pending-top:empty { display: none; }

/* ---------- Karten & Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.card {
  background: var(--card);
  border: 3px solid var(--gold-dark);
  box-shadow: var(--shadow), var(--bevel);
  padding: 16px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }

.event-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: rgba(255, 179, 71, .1); border: 2px dashed var(--warn);
  padding: 10px 12px; margin-bottom: 8px;
}

.goal-list { list-style: none; }
.goal-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.goal-list li:last-child { border-bottom: 0; }
.goal-list li.met { color: var(--good); }
.goal-v { font-weight: 700; white-space: nowrap; }

/* Berater im Sid-Meier-Stil: kursive Ratgeberstimme */
.advisor { list-style: none; }
.advisor li {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-size: 14px;
  padding: 7px 0 7px 10px; border-left: 3px solid var(--gold);
  border-bottom: 1px dashed var(--border);
}
.advisor li:last-child { border-bottom: 0; }

.trend { width: 100%; height: auto; background: #0e0722; border: 2px solid var(--border); }
.trend .line { fill: none; stroke-width: 2.5; }
.trend .line.rev { stroke: var(--cyan); }
.trend .line.prof { stroke: var(--good); }
.trend .zero { stroke: var(--border); stroke-dasharray: 4 4; }
.legend { display: flex; gap: 16px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.lg::before { content: ''; display: inline-block; width: 14px; height: 3px; margin-right: 5px; vertical-align: middle; }
.lg.rev::before { background: var(--cyan); }
.lg.prof::before { background: var(--good); }

/* ---------- Strategie ---------- */
.fld { display: block; margin-bottom: 16px; font-weight: 700; font-size: 13px; }
.fld small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; font-size: 11.5px; }
.fld input[type=range] { width: 100%; margin-top: 6px; accent-color: var(--gold); }
.fld-label { display: block; margin-bottom: 8px; }
.net-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.net-opt {
  display: block; background: var(--bg); border: 2px solid var(--border);
  padding: 10px; cursor: pointer; font-weight: 400;
}
.net-opt input { display: none; }
.net-opt strong { display: block; font-size: 12px; }
.net-opt small { color: var(--muted); font-size: 11px; }
.net-opt.selected { border-color: var(--gold); background: rgba(224, 169, 57, .14); }

.action-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.action { background: var(--bg); border: 2px solid var(--border); padding: 12px; }
.action.done { opacity: .55; }
.action-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.action-icon { font-size: 20px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .5)); }
.action p { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.action-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.action-foot .muted { font-size: 11.5px; }

/* ---------- Partner ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pgrid.one { grid-template-columns: 1fr; }
.konf-pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.pcard {
  background: var(--bg); border: 2px solid var(--border);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  padding: 12px;
}
.pcard.banned { opacity: .5; border-color: var(--bad); }
.pcard.inactive { opacity: .5; }
.pcard-head { margin-bottom: 8px; }
.ptype { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcard-head strong { font-size: 14px; color: var(--gold-light); }
.pcard-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; background: var(--card2); border: 1px solid var(--border); }
.chip.bad { border-color: var(--bad); color: var(--bad); }
.chip.warn { border-color: var(--warn); color: var(--warn); }

.stat-line { display: flex; justify-content: space-between; font-size: 12px; margin-top: 6px; }
.stat-v { font-weight: 700; }
.bar { height: 6px; background: #0e0722; border: 1px solid var(--border); margin-top: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--cyan); }
.bar-fill.good { background: var(--good); }
.bar-fill.warn { background: var(--warn); }
.bar-fill.bad { background: var(--bad); }

/* ---------- Fraud ---------- */
.fraud-case { background: var(--bg); border: 2px solid var(--bad); box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); padding: 12px; margin-bottom: 10px; }
.fraud-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.fraud-head strong { color: var(--warn); }
.fraud-case p { font-size: 13px; margin: 3px 0; }
.evidence { color: var(--muted); font-style: italic; font-family: Georgia, serif; }
.fraud-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- Quiz / Akademie ---------- */
.quiz-card { max-width: 760px; margin: 0 auto; }
.quiz-score { font-weight: 700; color: var(--cyan); margin-bottom: 10px; font-size: 13px; }
.quiz-progress { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.quiz-q { background: var(--bg); border: 2px solid var(--border); padding: 16px; margin-top: 10px; }
.quiz-q h4 { font-size: 16px; margin: 10px 0 14px; color: var(--text); text-transform: none; letter-spacing: 0; }
.quiz-choices { display: flex; flex-direction: column; gap: 8px; }
.quiz-choice {
  text-align: left; background: var(--parch); color: var(--ink);
  border: 3px solid var(--gold-dark); box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  padding: 10px 14px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700;
}
.quiz-choice:hover:not(:disabled) { background: var(--gold-light); }
.quiz-choice:disabled { cursor: default; opacity: .8; }
.quiz-choice.right { background: #b9e6b3; border-color: #1d7a3d; box-shadow: 3px 3px 0 rgba(29, 122, 61, .4); }
.quiz-choice.wrong { background: #f0b3ad; border-color: #a3271a; }
.quiz-info {
  margin-top: 12px; padding: 10px 12px;
  background: rgba(56, 224, 255, .08); border-left: 3px solid var(--cyan);
  font-family: Georgia, serif; font-style: italic; font-size: 13.5px;
}
.quiz-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-weight: 700; }
.quiz-done { font-size: 15px; margin-top: 10px; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--gold-light); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
tr.me { background: rgba(255, 79, 216, .12); outline: 2px solid var(--magenta); outline-offset: -2px; }
tr.me td { font-weight: 700; }

/* ---------- Modal: Pergament-Dekret im Sid-Meier-Stil ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(8, 3, 24, .82); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: linear-gradient(180deg, var(--parch) 0%, var(--parch2) 100%);
  color: var(--ink);
  border: 4px solid var(--gold-dark);
  outline: 2px solid var(--gold);
  outline-offset: -8px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .6);
  max-width: 680px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 26px;
}
.modal h2 { font-size: 19px; margin-bottom: 6px; color: #5a3c10; text-shadow: none; }
.modal h3 { color: #5a3c10; text-shadow: none; border-bottom: 2px solid rgba(138, 101, 18, .4); padding-bottom: 4px; }
.modal .muted { color: #6b5a3e; }
.modal-kicker { font-size: 11px; color: #8a6512; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
/* Verstecktes Easter-Egg-Minispiel: dunkler CRT-Rahmen statt Pergament */
.modal.modal-funnel {
  background: #0a0616; color: var(--text);
  border: 4px solid var(--gold-dark); outline: 2px solid var(--gold); outline-offset: -8px;
  max-width: 540px; padding: 16px;
}
.modal-funnel h2 { color: var(--gold-light); text-shadow: 0 0 8px rgba(224, 169, 57, .5); }
.modal-funnel .modal-kicker { color: var(--muted); }
.funnel-frame { position: relative; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 40px rgba(0, 0, 0, .8), 0 0 24px rgba(56, 224, 255, .25); }
.funnel-frame iframe { display: block; width: 100%; height: 62vh; max-height: 620px; border: 0; background: #140b2e; }
.funnel-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .45;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0px, rgba(0, 0, 0, .2) 1px, transparent 2px, transparent 3px);
}
.modal-text { color: #4a3a22; margin-bottom: 14px; font-family: Georgia, serif; font-style: italic; font-size: 15px; }
.choice-list { display: flex; flex-direction: column; gap: 8px; }
.choice {
  text-align: left; background: rgba(255, 252, 240, .75);
  border: 3px solid var(--gold-dark);
  box-shadow: 3px 3px 0 rgba(90, 60, 16, .35);
  padding: 11px 14px; cursor: pointer; color: var(--ink); font: inherit;
}
.choice:hover { background: var(--gold-light); }
.choice strong { display: block; font-size: 13.5px; }
.choice small { color: #6b5a3e; font-size: 12px; }
.modal-foot { text-align: center; margin-top: 20px; }
.modal .alert { color: #a3510e; }
.modal .goal-list li { border-bottom-color: rgba(138, 101, 18, .35); }
.modal .goal-list li.met { color: #1d7a3d; }
.modal .good-t { color: #1d7a3d; }
.modal .bad-t { color: #a3271a; }

.me-block { border-top: 2px solid rgba(138, 101, 18, .35); padding-top: 12px; margin-top: 12px; }
.me-block h3 { margin-bottom: 8px; border-bottom: 0; }
.me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.me-cell { background: rgba(255, 252, 240, .7); border: 2px solid rgba(138, 101, 18, .4); padding: 8px 10px; }
.me-cell span { display: block; font-size: 10px; color: #6b5a3e; text-transform: uppercase; letter-spacing: .04em; }
.me-cell strong { font-size: 13.5px; }

.final-score { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.grade {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; font-size: 36px; font-weight: 800; color: #fff;
  border: 4px solid var(--gold-dark); box-shadow: 4px 4px 0 rgba(0, 0, 0, .4);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .5);
}
.grade-S { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.grade-A { background: #16a34a; }
.grade-B { background: #2563eb; }
.grade-C { background: #d97706; }
.grade-D { background: #6b7280; }
.win-msg { color: #1d7a3d; font-weight: 800; font-size: 16px; }
.lose-msg { color: #a3510e; font-weight: 800; font-size: 16px; }

/* ---------- Toast: Studio-Laufband ---------- */
#toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card2); border: 3px solid var(--gold); color: var(--text);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
  padding: 10px 20px; font-weight: 700; font-size: 13px; z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: 90vw;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.good { border-color: var(--good); }
#toast.warn { border-color: var(--warn); }

/* ---------- Responsive ---------- */
.acc-active { color: var(--good); font-weight: 700; margin-bottom: 6px; }

/* ---------- Avatar-Bausteine ---------- */
.av, .av-big {
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--card2); border: 2px solid var(--gold-dark);
  position: relative; vertical-align: middle;
}
.av { width: 40px; height: 40px; }
.av-big { width: 96px; height: 96px; border-width: 3px; box-shadow: var(--shadow); }
.av img, .av-big img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
/* Fallback, wenn Bilddatei fehlt: Emoji auf farbiger Kachel */
.av-fallback::after, .av-big.av-fallback::after {
  content: attr(data-emoji);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--card2), var(--card));
}
.av-fallback::after { font-size: 22px; }
.av-big.av-fallback::after { font-size: 52px; }

/* Identität auf dem Startscreen */
.identity-card { margin-bottom: 16px; }
.identity-row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.identity-name { flex: 1; min-width: 220px; }
.identity-avatar { text-align: center; }
.avatar-preview { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.avatar-name { font-size: 12px; color: var(--gold-light); font-weight: 700; }
.avatar-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 8px; margin-top: 14px;
}
.avatar-opt {
  background: var(--bg); border: 2px solid var(--border); padding: 3px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.avatar-opt .av { width: 100%; height: auto; aspect-ratio: 1; border: 0; }
.avatar-opt:hover { border-color: var(--cyan); }
.avatar-opt.selected { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }

/* HUD-Avatar + Spielername */
.hud-avatar .av { width: 34px; height: 34px; }
.player-chip {
  background: var(--card2); border: 2px solid var(--gold); color: var(--gold-light);
  padding: 1px 12px; font-family: var(--crt); font-size: 18px;
}

/* Konto-Box oben */
.acc-top { max-width: 720px; margin: 0 auto 24px; }
.acc-optional {
  background: rgba(56, 224, 255, .08); border-left: 3px solid var(--cyan);
  padding: 8px 10px; font-size: 12.5px; color: var(--muted);
}
.acc-bonus {
  background: rgba(245, 207, 107, .12); border: 2px solid var(--gold); color: var(--gold-light);
  padding: 8px 10px; font-weight: 700; font-size: 13px; margin-bottom: 8px;
}

/* Kontext-Hintergrund hinter den Panels */
#game-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: .10; filter: saturate(.8);
  transition: background-image .3s;
}
#screen-game > *:not(#game-bg) { position: relative; z-index: 1; }

/* Lern-Hinweis in Modals */
.learn-note {
  background: rgba(56, 224, 255, .12); border-left: 3px solid var(--cyan);
  padding: 9px 12px; margin-bottom: 12px; font-size: 13px; color: #3a5a6a;
}
.modal .learn-note { color: #2b4a58; }

/* ---------- Staged Screen: Grafik ist die Oberfläche, Infos sitzen in den Panels ---------- */
.stage {
  position: relative; width: 100%; max-width: 1360px; margin: 0 auto;
  aspect-ratio: 1696 / 922; container-type: inline-size;
}
.stage-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; image-rendering: pixelated; z-index: 0;
}
.slot {
  position: absolute; z-index: 1; overflow: auto; overflow-x: hidden;
  color: #2b1d0e; font-size: 1.05cqw; line-height: 1.28; padding: 0.2cqw 0.4cqw;
  scrollbar-width: thin;
}
.slot::-webkit-scrollbar { width: 5px; }
.slot::-webkit-scrollbar-thumb { background: rgba(90,60,16,.4); }
.slot-row {
  padding: 0.35cqw 0; border-bottom: 1px dashed rgba(90,60,16,.28);
  display: flex; justify-content: space-between; gap: 0.5cqw; align-items: baseline;
}
.slot-row:last-child { border-bottom: 0; }
.slot-row b { font-weight: 700; white-space: nowrap; }
.slot-row.act { cursor: pointer; color: #7a3c0a; font-weight: 700; }
.slot-row.act:hover { color: #b3560d; text-decoration: underline; }
.slot-row.muted { color: #6b5a3e; border-bottom: 0; }
.slot .muted { color: #6b5a3e; }
.slot a { color: #1a56db; text-decoration: none; }
.slot a:hover { text-decoration: underline; }
.slot .news-list li { border-bottom-color: rgba(90,60,16,.28); padding: 0.3cqw 0; font-size: 1cqw; }
.slot .news-src { color: #6b5a3e; }
.slot-avatar { padding: 0; overflow: visible; }
.slot-avatar .av-big { width: 100%; height: 100%; border: 0; box-shadow: none; }
.slot-avatar .avatar-name { display: none; }
.hslot { color: var(--gold-light); display: flex; align-items: center; overflow: hidden; }
.hres { font-family: var(--crt); font-size: 2.1cqw; line-height: 1; white-space: nowrap; }
.slot-kpis { overflow: visible; padding: 0; }
.kpi-row { display: flex; height: 100%; }
.kpi-cell { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.3cqw; }
.kpi-cell b { font-family: var(--crt); font-size: 1.9cqw; color: #2b1d0e; white-space: nowrap; }

/* ---------- Szenen-Navigation: Grafik + beschriftete Klick-Hotspots ---------- */
/* Szenen-Grafik: möglichst groß, aber immer im sichtbaren Bereich (Höhe ≤ 70vh) */
.scene-stage { max-width: min(100%, calc(60vh * 1.839)); margin: 0 auto; }
.scene-stage .stage-img { object-fit: contain; background: #0e0722; }
.hotspot {
  position: absolute; z-index: 3; background: transparent;
  border: 2px solid transparent; border-radius: 8px; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s;
}
.hotspot:hover { border-color: var(--gold-light); background: rgba(245,207,107,.16); }
.hotspot:active { background: rgba(245,207,107,.3); }
.hotspot-label {
  font-family: var(--px); font-size: 0.82cqw; line-height: 1.25; color: var(--gold-light);
  background: rgba(20,11,46,.85); border: 2px solid var(--gold-dark);
  padding: 0.3cqw 0.5cqw; box-shadow: 2px 2px 0 rgba(0,0,0,.6);
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
  pointer-events: none; max-width: none;
}
.hotspot.hot-ext .hotspot-label { color: var(--cyan); border-color: var(--cyan); }
.hotspot.hot-client .hotspot-label { color: var(--magenta); border-color: var(--magenta); font-size: 0.78cqw; }
.hotspot.hot-client.danger .hotspot-label { color: var(--warn); border-color: var(--warn); }
.hotspot.hot-client.active .hotspot-label { color: var(--gold-light); border-color: var(--gold); }

/* Blinkendes Event-Symbol auf der Weltkarte, solange ein Networking-Event läuft und noch nicht besucht wurde */
@keyframes hotspot-blink {
  0%, 45% { border-color: var(--warn); background: rgba(245, 207, 107, .28); }
  50%, 100% { border-color: transparent; background: transparent; }
}
.hotspot.hot-alert { animation: hotspot-blink 1100ms steps(1) infinite; border-radius: 10px; }
.hotspot.hot-alert .hotspot-label { color: var(--ink); background: var(--warn); border-color: var(--gold-dark); animation: sfx-pulse 1100ms ease-in-out infinite; }

/* Info-Panels um das Bild (Büro-Management etc.) */
.around-info { max-width: 1360px; margin: 14px auto 0; }
.around-info h3, .around-hint { max-width: 1360px; margin: 14px auto 8px; }
.around-hint { color: var(--muted); font-family: Georgia, serif; font-style: italic; }

/* 3-Spalten-Bühne: Grafik mittig, Infos links/rechts, KPIs darunter */
.staged { max-width: 100%; margin: 0 auto; }
.stage-heading { text-align: center; margin-bottom: 10px; }
/* Infos je 20 %, Grafik 60 % */
.staged-main { display: grid; grid-template-columns: 20% 60% 20%; gap: 16px; align-items: start; }
.staged-center { min-width: 0; }
.staged-center.wide { max-width: 100%; margin: 0 auto; }
.staged-side { min-width: 0; }
.staged-side .card { margin-bottom: 12px; }
.staged-side .action-foot { flex-wrap: wrap; gap: 4px; }
.kpi-bar.inline {
  display: flex; gap: 8px; overflow-x: auto; margin: 14px auto 0; max-width: 100%;
  padding: 10px; background: #0e0722; border: 3px solid var(--gold-dark); box-shadow: var(--shadow);
  justify-content: center; flex-wrap: wrap;
}
.staged-below { max-width: 100%; margin: 16px auto 0; }
.pending-hint.clickable { cursor: pointer; text-decoration: underline; }
.pending-hint.clickable:hover { color: var(--gold-light); }

/* Domain-Badge unter dem Titel */
.domain-badge {
  display: inline-block; font-family: var(--crt); font-size: 20px; color: var(--cyan);
  background: var(--card); border: 2px solid var(--gold-dark); padding: 1px 14px; margin: 4px 0 6px;
  letter-spacing: .05em;
}

/* Feedback-Formular */
.fb-stars { display: flex; gap: 4px; }
.fb-star { background: none; border: 0; font-size: 26px; color: var(--gold-dark); cursor: pointer; padding: 0 2px; line-height: 1; }
.fb-star:hover { color: var(--gold-light); }
.fb-textarea { width: 100%; min-height: 70px; background: var(--card2); border: 2px solid var(--gold-dark); color: var(--text); padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; box-sizing: border-box; }
.fb-textarea:focus { outline: none; border-color: var(--cyan); }

/* Beta-Badge neben dem Spieltitel (Startscreen + In-Game-Topbar) */
.beta-badge {
  display: inline-block; vertical-align: middle; font-family: var(--px); font-size: 11px;
  color: #2b1d0e; background: linear-gradient(180deg, var(--gold-light), var(--gold)); border: 2px solid var(--gold-dark);
  padding: 2px 7px; margin-left: 8px; letter-spacing: .04em; box-shadow: 2px 2px 0 rgba(0, 0, 0, .4);
}
.beta-badge-sm { font-size: 8px; padding: 1px 5px; margin-left: 6px; }

/* Programm-Setup */
.setup-wizard { max-width: 1300px; margin: 0 auto; }
.setup-hero {
  display: block; width: 100%; max-width: 1100px; margin: 0 auto 16px; image-rendering: pixelated;
  border: 3px solid var(--gold-dark); box-shadow: var(--shadow);
}
.setup-select {
  width: 100%; background: #170d33; border: 2px solid var(--border); color: var(--text);
  padding: 9px 12px; font-family: inherit; font-size: 14px;
}
.setup-wizard .opt { cursor: pointer; }
.setup-titlecard { text-align: center; }
.margin-note {
  background: rgba(255,179,71,.12); border-left: 3px solid var(--warn); color: var(--warn);
  padding: 8px 10px; font-weight: 700; font-size: 13px; margin-bottom: 10px;
}
.terms-sub { border-left: 2px solid var(--border); padding-left: 12px; margin-top: 6px; }
.setup-later { text-align: center; margin: 8px 0; }
.pcard.applied { border-color: var(--warn); }
.applied-note { color: var(--warn); font-size: 12px; font-style: italic; margin: 4px 0; }

/* News-Ticker (Startseite) */
.news-ticker {
  max-width: 900px; margin: 16px auto 0; overflow: hidden; white-space: nowrap;
  border: 2px solid var(--gold-dark); background: #0e0722; padding: 7px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.news-ticker:empty { display: none; }
.ticker-track { display: inline-block; padding-left: 100%; animation: ticker 90s linear infinite; }
.news-ticker:hover .ticker-track { animation-play-state: paused; }
/* News-Ticker oben im Spiel: volle Breite, direkt unter der Topbar */
.game-ticker { max-width: none; margin: 0; border-left: 0; border-right: 0; border-top: 0; padding: 5px 0; }
.game-ticker .ticker-track a { font-size: 12px; }
.ticker-track a { color: var(--cyan); text-decoration: none; font-size: 13px; }
.ticker-track a:hover { color: var(--gold-light); }
.ticker-track em { color: var(--muted); font-style: normal; }
.tick-sep { color: var(--gold); margin: 0 14px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Leinwand-Hotspot in der Akademie */
.hot-screen .hotspot-label { color: #fff; border-color: var(--cyan); background: rgba(20,11,46,.7); }
.tips-card .advisor li { font-size: 13px; }

@media (max-width: 1100px) {
  .staged-main { grid-template-columns: 1fr; }
  .staged-side { order: 2; }
  .staged-center { order: 1; }
}

/* Konferenzraum-Gespräch: Avatare links/rechts */
.konferenz-scene .conf-you, .konferenz-scene .conf-partner {
  z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: visible;
}
.konferenz-scene .av-big { width: 100%; height: auto; aspect-ratio: 1; box-shadow: 3px 3px 0 rgba(0,0,0,.6); }
.conf-name {
  margin-top: 4px; font-family: var(--px); font-size: 0.9cqw; color: var(--gold-light);
  background: rgba(20,11,46,.82); border: 2px solid var(--gold-dark); padding: 0.3cqw 0.5cqw; white-space: nowrap;
}

/* Konferenz-Dialog: liegt als Overlay MITTIG zwischen den Avataren auf der Grafik */
.konferenz-scene .conf-dialogue {
  position: absolute; left: 21%; top: 8%; width: 58%; z-index: 4;
  display: flex; flex-direction: column; gap: 0.8cqw; pointer-events: none;
}
.konferenz-scene .cbubble {
  font-family: Georgia, serif; font-size: 1.35cqw; line-height: 1.35; padding: 0.9cqw 1.1cqw;
  border: 0.25cqw solid var(--gold-dark); box-shadow: 0.25cqw 0.25cqw 0 rgba(0,0,0,.45);
  max-width: 82%; position: relative;
}
.konferenz-scene .cbubble.you {
  align-self: flex-start; background: var(--card2); color: var(--parch); border-color: var(--gold-dark);
}
.konferenz-scene .cbubble.partner {
  align-self: flex-end; background: var(--parch); color: var(--ink); font-style: italic;
}
@media (max-width: 1100px) {
  .konferenz-scene .cbubble { font-size: 2.4cqw; }
  .konferenz-scene .conf-dialogue { top: 4%; }
}

/* Konferenz-Gespräch: Sprechblase + Antwortoptionen */
.konv-box { max-width: 900px; margin: 14px auto 0; }
.konv-speech {
  background: var(--parch); color: var(--ink);
  border: 3px solid var(--gold-dark); box-shadow: 3px 3px 0 rgba(0,0,0,.45);
  padding: 14px 16px; font-family: Georgia, serif; font-style: italic; font-size: 15px; margin-bottom: 8px;
}
.konv-sub { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.konv-tick { color: var(--gold-light); font-style: italic; }
.konv-end { background: var(--card2) !important; }
.konv-cat { display: block; font-family: var(--px); font-size: 9px; color: var(--gold-light); margin: 8px 0 4px; text-transform: uppercase; }
.konv-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.choice.sm { flex: 1 1 45%; text-align: left; padding: 8px 10px; font-size: 12.5px; }
.choice.dlg-line { flex: 1 1 100%; text-align: left; padding: 9px 12px; font-size: 13px; font-style: italic; }
.dlg-ask { margin: 8px 0 4px; }
.dlg-ask-row { display: flex; gap: 6px; }
.dlg-ask-row input { flex: 1; min-width: 0; background: var(--card2); border: 2px solid var(--gold-dark); color: var(--text); padding: 7px 9px; font: inherit; font-size: 12.5px; }
.dlg-ask-row input:focus { outline: none; border-color: var(--cyan); }
.pcard.konv-pick { cursor: pointer; text-align: left; width: 100%; font: inherit; color: var(--text); }
.pcard.konv-pick:hover { border-color: var(--cyan); }
.pcard.konv-pick .ptype { display: flex; align-items: center; gap: 6px; }
.pcard.konv-pick .av { width: 26px; height: 26px; }

/* Agentur: Programm-/Kundenauswahl über dem Büro */
.prog-switcher { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.prog-switcher-label { font-family: var(--px); font-size: 10px; color: var(--gold-light); text-transform: uppercase; }
.prog-tab {
  font: inherit; font-size: 13px; cursor: pointer; padding: 6px 12px;
  background: var(--card2); color: var(--text); border: 2px solid var(--gold-dark); box-shadow: 2px 2px 0 rgba(0,0,0,.4);
}
.prog-tab.active { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink); font-weight: 700; }
.prog-tab.lost { opacity: .5; text-decoration: line-through; cursor: default; }
.prog-tab:not(.active):not(.lost):hover { border-color: var(--cyan); }

/* Neukundenakquise: Lead-Karten */
.lead-card .lead-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lead-card .lead-actions .btn { flex: 1 1 auto; }
.choice .ch-sub { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Event-Ergebnis-Overlay */
.event-scene .event-result {
  position: absolute; z-index: 3; left: 50%; top: 8%; transform: translateX(-50%);
  font-family: var(--px); font-size: 1.2cqw; padding: 0.6cqw 1cqw;
  border: 3px solid var(--gold-dark); box-shadow: 3px 3px 0 rgba(0,0,0,.6);
}
.event-scene .event-result.ok { background: #16532b; color: #b9e6b3; }
.event-scene .event-result.fail { background: #5a1220; color: #f0b3ad; }
.event-actions { display: flex; gap: 10px; margin-top: 10px; }

/* Zurück-zur-Weltkarte-Leiste */
.backbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.backbar-title { font-family: var(--px); font-size: 10px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .05em; }

/* Weltkarten-Hub */
.hres-sm { font-family: var(--crt); font-size: 1.6cqw; color: var(--gold-light); white-space: nowrap; overflow: hidden; }
.slot-stat { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slot-stat .stat-val { font-family: var(--crt); font-size: 1.8cqw; color: #2b1d0e; white-space: nowrap; }
/* transparente, klickbare Zonen über den gezeichneten ACTION-Buttons */
.map-btn {
  position: absolute; z-index: 2; background: transparent; border: 2px solid transparent;
  border-radius: 6px; cursor: pointer; padding: 0;
}
.map-btn:hover { border-color: var(--gold-light); background: rgba(245,207,107,.18); }
.map-btn:active { background: rgba(245,207,107,.32); }
.world-stage .location, .world-stage .market { font-size: 0.98cqw; }

/* Einstellungen-Modal */
.set-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 2px; border-bottom: 2px solid rgba(138,101,18,.35);
}
.set-row .lang-switch { border-color: var(--gold-dark); }

/* Markt-News */
.news-list { list-style: none; }
.news-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { color: var(--cyan); text-decoration: none; }
.news-list a:hover { color: var(--gold-light); }
.news-src { color: var(--muted); font-size: 11.5px; }
/* Spielwelt-Meldungen mit Ziel: wie Text, aber anklickbar (springt in den passenden Bereich) */
.news-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--cyan); cursor: pointer; text-align: left; }
.news-link:hover { color: var(--gold-light); text-decoration: underline; }
.newsroom-tip { margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--gold-dark); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.newsroom-tip b { color: var(--gold-light); }

@media (max-width: 900px) {
  .setup-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .net-opts { grid-template-columns: 1fr; }
  .me-grid { grid-template-columns: repeat(2, 1fr); }
  .continue-box { flex-direction: column; align-items: center; }
  .start-head h1 { font-size: 16px; }
  .nl-row { flex-direction: column; }
}

/* ===== Saisonende & Karriere (Mehrjahres-System) ===== */
.season-result {
  font-family: var(--px); font-size: 10px; line-height: 1.7;
  padding: 10px 12px; margin: 10px 0; border-radius: 6px;
  border: 3px solid var(--gold-dark); background: var(--card2);
}
.season-result.good { border-color: var(--good); box-shadow: inset 0 0 0 1px rgba(62,224,107,.35); }
.season-result.bad { border-color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255,90,90,.3); }
.season-crown-note { border-color: var(--gold) !important; color: var(--gold-light); }
.season-log { margin: 10px 0; font-size: 15px; }
.season-log ul { list-style: none; padding: 0; margin: 6px 0 0; }
.season-log li { padding: 3px 0; border-bottom: 1px dashed var(--border); }
.season-goalpick { margin-top: 12px; }
.season-goalpick .option-list { margin-top: 6px; }
.season-foot { display: flex; flex-wrap: wrap; gap: 10px; }
.season-foot .btn { flex: 1 1 auto; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #c08a1e 100%);
  border: 4px solid var(--gold-dark); color: var(--ink);
  text-shadow: 1px 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { filter: brightness(1.08); }
.final-career {
  margin: 12px 0; padding: 10px 12px; border: 3px solid var(--gold-dark);
  border-radius: 6px; background: var(--card2); font-size: 15px;
}
.final-career strong { color: var(--gold-light); font-family: var(--px); font-size: 10px; }

/* ===== Team / Personal (#18) ===== */
.team-summary {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 14px;
  padding: 8px 12px; background: var(--card2); border: 3px solid var(--gold-dark);
  border-radius: 6px; font-size: 15px;
}
.team-summary strong { color: var(--gold-light); }
.team-sub { margin: 14px 0 6px; }
.emp-card .emp-tier { font-family: var(--px); font-size: 8px; margin: 4px 0; }
.emp-tier.tier-trainee { color: var(--warn); }
.emp-tier.tier-junior { color: var(--cyan); }
.emp-tier.tier-senior { color: var(--good); }
.role-card .role-nums { font-size: 14px; color: var(--muted); margin: 4px 0 8px; }
.role-card.locked { opacity: .6; }
.role-card.locked .alert { margin-top: 6px; }

/* Noch nicht angelegte Werbemittel/Produktdaten hervorheben */
.action.to-create { border-color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(56,224,255,.35); }

/* ===== Büro-Overlay-Animationen (Sprite-Strips, 6 Frames) ===== */
/* Eigene Stage-Variante: exaktes Seitenverhältnis von Buero.png (1672×941), kein Letterbox → %-Overlays passen 1:1 */
.stage-buero { aspect-ratio: 1672 / 941; max-width: min(100%, calc(60vh * 1.777)); overflow: hidden; }
.stage-buero .stage-img { object-fit: fill; }
.ovl { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; }
.ovl-sprite {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-repeat: no-repeat; background-size: 600% 100%;
  image-rendering: pixelated;
  animation: ovl-frames 900ms steps(1) infinite;
}
@keyframes ovl-frames {
  0%    { background-position: 0% 0; }
  16.6% { background-position: 20% 0; }
  33.3% { background-position: 40% 0; }
  50%   { background-position: 60% 0; }
  66.6% { background-position: 80% 0; }
  83.3% { background-position: 100% 0; }
}
/* leicht versetzte Taktung, damit nicht alles synchron blinkt */
.ovl--monitor_back_left .ovl-sprite  { animation-delay: -120ms; }
.ovl--monitor_back_center .ovl-sprite{ animation-delay: -260ms; }
.ovl--monitor_chart .ovl-sprite      { animation-delay: -410ms; }
.ovl--monitor_back_right .ovl-sprite { animation-delay: -540ms; }
.ovl--monitor_center_map .ovl-sprite { animation-delay: -80ms; }
.ovl--laptop .ovl-sprite             { animation-delay: -330ms; }
.ovl--monitor_front_left .ovl-sprite { animation-delay: -200ms; }
.ovl--monitor_front_right .ovl-sprite{ animation-delay: -470ms; }
@media (prefers-reduced-motion: reduce) {
  .ovl-sprite { animation: none; background-position: 40% 0; }
}

/* ===== Animierte Weltkarten-Overlays (Turm, Rauch, Zeppelin, Fahrzeuge) ===== */
.wovl { position: absolute; z-index: 2; pointer-events: none; overflow: visible; }
.wovl-sprite {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-repeat: no-repeat; image-rendering: auto;
}
/* Bewegung über die Karte: left von --mv-from nach --mv-to */
.wovl-move { will-change: left; }
/* Bewegung über die Karte (harter Schnitt am Kartenrand via overflow:hidden) */
/* Fahrt auch mit Höhenverlauf (z. B. schräges Brückendeck): top wird mitanimiert */
@keyframes wovl-move {
  from { left: var(--mv-from); top: var(--mv-top-from); }
  to   { left: var(--mv-to);   top: var(--mv-top-to); }
}
/* Sanftes Ein-/Ausblenden an den Enden (nur wo gewünscht, z. B. Kutsche/Bus an Gebäudekanten) */
@keyframes wovl-move-fade {
  0%   { left: var(--mv-from); top: var(--mv-top-from); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: var(--mv-to); top: var(--mv-top-to); opacity: 0; }
}
/* 6-Frame-Cycle (Turm) */
@keyframes wovl6 {
  0%    { background-position-x: 0%; }
  16.6% { background-position-x: 20%; }
  33.3% { background-position-x: 40%; }
  50%   { background-position-x: 60%; }
  66.6% { background-position-x: 80%; }
  83.3% { background-position-x: 100%; }
}
/* 8-Frame-Cycle (Rauch, Zeppelin, Fahrzeuge) */
@keyframes wovl8 {
  0%    { background-position-x: 0%; }
  12.5% { background-position-x: 14.2857%; }
  25%   { background-position-x: 28.5714%; }
  37.5% { background-position-x: 42.8571%; }
  50%   { background-position-x: 57.1429%; }
  62.5% { background-position-x: 71.4286%; }
  75%   { background-position-x: 85.7143%; }
  87.5% { background-position-x: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wovl-sprite { animation: none !important; background-position-x: 0%; }
  .wovl-move { animation: none !important; }
}

/* Dampfer-Rauch: unsichtbar bis der Dampfer angeklickt wird */
.wovl-smoke { opacity: 0; transition: opacity .4s ease; }
.wovl-smoke.smoking { opacity: 1; }
/* unsichtbare Klickfläche (z. B. Dampfer) */
.hotspot.hot-invisible { background: transparent; border: 0; box-shadow: none; }
.hotspot.hot-invisible .hotspot-label { display: none; }
.hotspot.hot-invisible:hover { background: rgba(255,255,255,.06); }

/* ===== Lebendige Räume: pulsierende/flackernde Licht-Overlays (SCENE_FX) ===== */
.sfx {
  position: absolute; z-index: 1; pointer-events: none; display: block;
  background: radial-gradient(ellipse at center, rgba(var(--sfx-c), .38) 0%, rgba(var(--sfx-c), .14) 45%, transparent 72%);
  mix-blend-mode: screen;
}
@keyframes sfx-pulse { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes sfx-flicker {
  0%, 100% { opacity: .55; } 8% { opacity: .8; } 14% { opacity: .35; } 22% { opacity: .75; }
  36% { opacity: .5; } 47% { opacity: .85; } 58% { opacity: .4; } 71% { opacity: .7; } 86% { opacity: .3; }
}
/* Kaputtes CRT-Flackern (deutlich unruhiger als sfx-flicker, mit kurzen Blackouts) – markiert den Bildschirm mit dem Easter Egg. */
@keyframes sfx-glitch {
  0%, 100% { opacity: .6; } 5% { opacity: .1; } 11% { opacity: .8; } 18% { opacity: .05; }
  27% { opacity: .7; } 33% { opacity: .3; } 41% { opacity: .85; } 52% { opacity: 0; }
  60% { opacity: .6; } 68% { opacity: .2; } 77% { opacity: .75; } 89% { opacity: .4; }
}
.sfx.sfx-pulse { animation: sfx-pulse 2400ms ease-in-out infinite; }
.sfx.sfx-flicker { animation: sfx-flicker 4000ms steps(1) infinite; }
.sfx.sfx-glitch { animation: sfx-glitch 850ms steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .sfx { animation: none !important; opacity: .4; } }

/* Verstecktes Easter Egg: unsichtbarer Button über einem flackernden Newsroom-Bildschirm */
.nr-secret-screen {
  position: absolute; z-index: 2; background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nr-secret-screen:hover, .nr-secret-screen:focus-visible { box-shadow: inset 0 0 0 2px rgba(224, 169, 57, .3); }

/* 4:3-Szenen (Newsroom, Fraud-Center) – nicht zu hoch, mittig */
.stage-43 { aspect-ratio: 4 / 3; max-width: min(100%, calc(60vh * 1.333)); }
.stage-43 .stage-img { object-fit: fill; }

/* Geister-Kutsche (10 %-Erscheinung, halbdurchsichtig) */
.wovl-ghost { opacity: .5; filter: saturate(.6) brightness(1.15); }

/* Leinwand-Panel in der Akademie: Frage/Tipp/Witz direkt auf der Leinwand der Grafik */
.canvas-box {
  position: absolute; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.2cqw; text-align: center; overflow: hidden;
  background: rgba(14, 8, 32, .55); border-radius: 4px;
}
.canvas-box .chip { align-self: center; margin-bottom: .5cqw; }
.canvas-q { font-family: var(--px); font-size: 1.15cqw; line-height: 1.8; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.8); }
.canvas-info { font-size: 1.05cqw; color: #ffe9b0; margin-top: .6cqw; }
.canvas-progress { font-family: var(--crt); font-size: 1.3cqw; color: var(--cyan); margin-top: .8cqw; }

/* ===== Newsroom-Laufband: echte + Spielwelt-Headlines auf dem LIVE-Ticker der Grafik ===== */
.nr-ticker { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; display: flex; align-items: center; }
.nr-ticker-inner {
  white-space: nowrap; font-family: var(--crt); font-size: 1.35cqw; color: #ffd7d0;
  text-shadow: 0 0 6px rgba(255,80,60,.9), 1px 1px 0 #000;
  animation: nr-scroll 30s linear infinite; will-change: transform; padding-left: 100%;
}
@keyframes nr-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ===== Wanduhr im Telefonzimmer: Zeiger drehen sich ===== */
.clock-anim { position: absolute; z-index: 2; pointer-events: none; }
.clock-anim span {
  position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%;
  border-radius: 2px; display: block;
}
.clock-min { width: 5%; height: 34%; background: #1c1c22; animation: clock-rot 480s linear infinite; }
.clock-sec { width: 2.5%; height: 42%; background: #c0392b; animation: clock-rot 8s linear infinite; }
@keyframes clock-rot { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .clock-min, .clock-sec, .nr-ticker-inner { animation: none !important; } }

/* ===== Partner-Roster: kompakte Zeilen, Karte klappt per Klick auf ===== */
.proster-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--bg); border: 2px solid var(--border); padding: 7px 10px; margin-bottom: 5px;
}
.proster-row:hover { border-color: var(--cyan); }
.proster-row.open { border-color: var(--gold); background: rgba(224,169,57,.12); }
.proster-row.bannedrow { opacity: .55; text-decoration: line-through; }

/* ===== Seiten-Spalten blättern statt endlos wachsen (nicht höher als die Grafik) ===== */
.staged-main { align-items: start; }
/* Info-Spalten strecken sich auf die Höhe der Grafik (Grid-Zeile) */
.staged-main { align-items: stretch; }
.staged-side { overflow: visible; height: 100%; display: flex; flex-direction: column; gap: 12px; }
/* Info-Panel = so hoch wie die Grafik; Liste blättert (Pager unten), kein Endlos-Scroll */
.side-pane { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.side-pane > h3 { flex: 0 0 auto; }
.side-pane .side-list { flex: 1 1 auto; overflow: hidden; min-height: 0; }
.side-pane .side-pager { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; margin-top: 6px; border-top: 2px solid var(--gold-dark); }
