:root {
  /* Hell: Weiß als Grundfarbe, Schwarz für Schrift, Gold als Akzent (Marcus, 22.11.2026: „heller also weiß als hauptfarbe“) – Monsterfarben bleiben bunt */
  --bg: #f7f5ef;
  --bg2: #ffffff;
  --panel: #ffffff;
  --panel2: #f3efe3;
  --line: rgba(160, 125, 30, 0.28);
  --text: #33363c;
  --muted: #6b6558;
  --pink: #b8860b;
  --cyan: #8a6510;
  --gold: #c9a227;
  --yellow: #a87800;
  --green: #17924d;
  --red: #d42f45;
  --r0: #9aa3ad; --r1: #3ddc84; --r2: #3d9bff; --r3: #b45cff; --r4: #ffc531; --r5: #7ff6ff;
  --radius: 16px;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { background-color: var(--bg); }
html, body { margin: 0; min-height: 100%; background: radial-gradient(ellipse at top, #fffdf6 0%, var(--bg) 62%) fixed var(--bg); color: var(--text); }
body { overflow-x: hidden; }
#bg-stars { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, #fff8, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff6, transparent),
  radial-gradient(1px 1px at 40% 70%, #fff7, transparent), radial-gradient(2px 2px at 85% 60%, #ffd23f88, transparent),
  radial-gradient(1.5px 1.5px at 10% 85%, #d4af3788, transparent), radial-gradient(1px 1px at 55% 45%, #ffffff66, transparent);
  background-size: 600px 600px; animation: drift 120s linear infinite; }
@keyframes drift { to { background-position: 600px 1200px; } }
#app { position: relative; z-index: 1; }
a { color: var(--cyan); }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }
h1, h2, h3 { margin: 0 0 12px; letter-spacing: 0.5px; }
h2 { font-size: 22px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }

/* Titel-Schrift im Anime-Stil */
.logo { font-weight: 900; font-style: italic; font-size: 30px; letter-spacing: 1px;
  background: linear-gradient(90deg, #8a6510, #c9a227 50%, #33363c); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; white-space: nowrap; }
.logo.big { font-size: 64px; line-height: 1; }

.btn { display: inline-block; text-decoration: none; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 800; color: #33363c; letter-spacing: 0.3px;
  background: linear-gradient(135deg, #f5d77a, #c9971f); box-shadow: 0 4px 0 #7a5a12, 0 6px 14px rgba(160, 125, 30, 0.25); transition: transform .1s, filter .1s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #7a5a12; }
.btn:disabled { filter: grayscale(1) brightness(.7); cursor: not-allowed; transform: none; }
.btn.alt { background: linear-gradient(135deg, #3f434a, #33363c); color: #fff; box-shadow: 0 4px 0 #2a2d32, 0 8px 18px rgba(0, 0, 0, .18); }
.btn.pink { background: linear-gradient(135deg, #33363c, #2a2d32); color: #f0cf6a; border: 1px solid var(--gold); box-shadow: 0 4px 0 #5c4a14, 0 8px 20px rgba(212, 175, 55, .25); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.danger { background: linear-gradient(135deg, #ff5a6e, #c0263d); color: #fff; box-shadow: 0 4px 0 #6d0e1c; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 30px; padding: 30px 6vw; }
.auth-hero .parade { display: flex; gap: 0; margin: 24px 0; }
.auth-hero .parade .mon { width: 110px; height: 110px; margin-right: -18px; animation: bob 2.4s ease-in-out infinite; }
.auth-hero .parade .mon:nth-child(2n) { animation-delay: -1.2s; }
.auth-hero .tag { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.5; }
.auth-box { max-width: 420px; width: 100%; }
.auth-box label { display: block; margin: 12px 0 4px; font-weight: 700; font-size: 14px; }
.auth-box input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.auth-box input:focus { outline: 2px solid var(--cyan); }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs button { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 800; }
.tabs button.active { background: var(--panel2); color: var(--text); border-color: var(--cyan); }
.err { color: var(--red); min-height: 20px; margin-top: 10px; font-weight: 600; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .logo.big { font-size: 44px; } }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* Layout */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 22px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--gold); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.nav a.active, .nav a:hover { color: var(--text); background: var(--panel2); }
.wallet { display: flex; gap: 12px; align-items: center; font-weight: 800; }
.coin { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 210, 63, .12); color: var(--yellow); border: 1px solid rgba(255, 210, 63, .35); }
.coin::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6b0, #ffc531 50%, #b07800); box-shadow: 0 0 8px #ffc531; }
.lvl { padding: 6px 12px; border-radius: 999px; background: rgba(212, 175, 55, .12); color: var(--cyan); border: 1px solid rgba(212, 175, 55, .35); }
main { padding: 22px; max-width: 1400px; margin: 0 auto; }

/* Monsterkarte */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.mcard { position: relative; border-radius: 16px; padding: 10px; cursor: pointer; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #ffffff, #f1ede2);
  border: 2px solid var(--rc, #9aa3ad); box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 0 18px -4px var(--rc, transparent); transition: transform .15s; }
.mcard:hover { transform: translateY(-4px) rotate(-.5deg); }
.mcard .art { width: 100%; aspect-ratio: 1; }
.mcard .art svg { width: 100%; height: 100%; }
.mcard .nm { font-weight: 900; font-size: 15px; }
.mcard .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.mcard .ovr { position: absolute; top: 8px; left: 8px; font-weight: 900; font-size: 20px; text-shadow: 0 2px 4px #2a2d32; }
.mcard .role { position: absolute; top: 10px; right: 8px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.mcard .ab { font-size: 11px; color: var(--yellow); margin-top: 2px; }
.mcard.r3, .mcard.r4, .mcard.r5 { animation: glow 2.5s ease-in-out infinite; }
.mcard.r5 { background: linear-gradient(130deg, rgba(127, 246, 255, .25), rgba(255, 79, 163, .2), rgba(255, 210, 63, .2), rgba(127, 246, 255, .25)), var(--panel2); background-size: 300% 300%; animation: glow 2.5s ease-in-out infinite, prism 6s linear infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 30px 2px var(--rc); } }
@keyframes prism { to { background-position: 300% 0; } }
.rar { font-weight: 800; }
.rar-0 { color: #6f7780; } .rar-1 { color: #17924d; } .rar-2 { color: #1f6fd1; } .rar-3 { color: #8a2fd6; } .rar-4 { color: #a87600; } .rar-5 { color: #0e8a96; }
.badge-ai { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 90, 110, .2); color: #b8203a; font-weight: 800; }
.badge-human { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(61, 220, 132, .2); color: #127a3e; font-weight: 800; }
.sparkle { transform-origin: center; transform-box: fill-box; animation: twinkle 1.6s ease-in-out infinite; }
.sparkle.s1 { animation-delay: -.4s } .sparkle.s2 { animation-delay: -.8s } .sparkle.s3 { animation-delay: -1.2s }
@keyframes twinkle { 50% { transform: scale(.3) rotate(45deg); opacity: .4 } }

/* Tabellen */
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.tbl tr.mine { background: rgba(255, 210, 63, .12); }
.tbl tr.promo td:first-child { border-left: 4px solid var(--green); }
.tbl tr.releg td:first-child { border-left: 4px solid var(--red); }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover { background: rgba(0, 0, 0, .05); }
.form span { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 4px; font-size: 11px; font-weight: 800; margin-right: 2px; }
.form .S { background: var(--green); color: #002; } .form .U { background: #888; } .form .N { background: var(--red); }

/* Stats-Balken */
.stat { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 8px; margin: 5px 0; font-size: 13px; }
.bar { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e8cf7a, #b8860b); }
.xpbar { height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.xpbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), #ff9d3d); }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(20, 18, 12, .55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .2s; }
.modal { width: min(900px, 100%); max-height: 92vh; overflow: auto; position: relative; }
.modal .close { position: absolute; top: 12px; right: 12px; }
@keyframes fade { from { opacity: 0 } }
.monster-detail { display: grid; grid-template-columns: 280px 1fr; gap: 22px; }
.monster-detail .bigart { border-radius: 20px; border: 3px solid var(--rc); background: radial-gradient(circle at 50% 60%, rgba(0, 0, 0, .12), transparent 70%); box-shadow: 0 0 40px -8px var(--rc); }
@media (max-width: 760px) { .monster-detail { grid-template-columns: 1fr; } }
.equip-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot { border: 1px dashed var(--line); border-radius: 12px; padding: 8px; display: flex; gap: 8px; align-items: center; min-height: 58px; font-size: 13px; }
.slot .ic { width: 40px; height: 40px; flex: none; }
.slot .ic svg { width: 100%; height: 100%; }
.req { display: flex; gap: 8px; align-items: center; margin: 4px 0; font-size: 14px; }
.req .ok { color: var(--green); } .req .no { color: var(--red); }

/* Toasts */
#toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--cyan); box-shadow: 0 8px 30px rgba(42, 45, 50, .5); max-width: 380px; animation: slidein .3s; font-weight: 600; }
.toast.error { border-color: var(--red); }
.toast.gold { border-color: var(--yellow); }
@keyframes slidein { from { transform: translateX(120%) } }

/* Aufstellung */
.lineup-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 16px; }
@media (max-width: 1000px) { .lineup-wrap { grid-template-columns: 1fr; } }
.pitch { position: relative; aspect-ratio: 68/90; max-height: 78vh; margin: 0 auto; border-radius: 18px; overflow: hidden;
  background: repeating-linear-gradient(0deg, #2fa24a 0 8%, #34b153 8% 16%); border: 3px solid #ffffff55; box-shadow: inset 0 0 60px rgba(0, 0, 0, .35); }
.pitch::before { content: ""; position: absolute; inset: 4%; border: 2px solid #ffffffaa; border-radius: 4px; }
.pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid #ffffffaa; border-radius: 50%; }
.pitch .midline { position: absolute; left: 4%; right: 4%; top: 50%; border-top: 2px solid #ffffffaa; }
.pitch .box { position: absolute; left: 25%; right: 25%; height: 14%; border: 2px solid #ffffffaa; }
.pitch .box.top { top: 4%; border-top: 0; } .pitch .box.bot { bottom: 4%; border-bottom: 0; }
.pslot { position: absolute; transform: translate(-50%, -50%); width: 86px; text-align: center; cursor: pointer; z-index: 2; }
.pslot .face { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: rgba(0, 0, 0, .35); border: 3px solid var(--rc, #fff8); overflow: hidden; transition: transform .15s; }
.pslot .face svg { width: 100%; height: 100%; }
.pslot.sel .face { transform: scale(1.15); box-shadow: 0 0 0 4px var(--yellow), 0 0 24px var(--yellow); }
.pslot .lbl { font-size: 11px; font-weight: 800; background: rgba(42, 45, 50, .6); border-radius: 8px; padding: 2px 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pslot .pos { font-size: 10px; color: var(--yellow); font-weight: 900; }
.pslot.warn .lbl { color: #b8203a; }
.bench { display: flex; flex-direction: column; gap: 6px; max-height: 70vh; overflow: auto; }
.benchrow { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; background: rgba(0, 0, 0, .15); }
.benchrow:hover { background: rgba(0, 0, 0, .06); }
.benchrow.sel { border-color: var(--yellow); background: rgba(255, 210, 63, .12); }
.benchrow.inxi { opacity: .55; }
.benchrow .face { width: 40px; height: 40px; flex: none; }
.benchrow .face svg { width: 100%; height: 100%; }

/* Shop */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pack { position: relative; border-radius: 20px; padding: 20px; text-align: center; overflow: hidden; border: 2px solid var(--pc);
  background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 35%, transparent), rgba(0, 0, 0, .35)), var(--panel2); }
.pack .foil { height: 170px; margin: 0 auto 12px; width: 120px; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--pc), #1a0f3d 120%); box-shadow: 0 10px 30px -6px var(--pc); transform: rotate(-4deg); }
.pack .foil::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); animation: shine 3s infinite; }
.pack .foil b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; font-style: italic; color: #fff; text-shadow: 0 2px 6px #2a2d32; padding: 6px; }
@keyframes shine { from { transform: translateX(-60%) } to { transform: translateX(60%) } }
.odds { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: 12px; margin: 8px 0; }
.price { font-size: 22px; font-weight: 900; color: var(--yellow); margin: 6px 0; }
.lock { color: #b8203a; font-size: 13px; font-weight: 700; min-height: 20px; }

/* Posteingang */
.inbox { max-height: 360px; overflow: auto; }
.inbox div { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.inbox time { color: var(--muted); font-size: 11px; display: block; }

/* Spielansicht */
.match-view { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
@media (max-width: 1100px) { .match-view { grid-template-columns: 1fr; } }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 12px 18px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(212, 175, 55, .22), #fff, rgba(212, 175, 55, .22)); border: 1px solid var(--line); margin-bottom: 10px; }
.scoreboard .tn { font-weight: 900; font-size: 18px; }
.scoreboard .tn.away { text-align: right; }
.scoreboard .sc { font-size: 40px; font-weight: 900; font-style: italic; letter-spacing: 2px; text-align: center; }
.scoreboard .clock { font-size: 13px; color: var(--yellow); text-align: center; font-weight: 800; }
canvas.pitchc { width: 100%; border-radius: 16px; display: block; background: #1b7a35; box-shadow: 0 10px 40px rgba(42, 45, 50, .5); }
.ticker { height: 520px; overflow: auto; font-size: 14px; }
.ticker div { padding: 7px 4px; border-bottom: 1px solid var(--line); animation: fade .3s; }
.ticker .m { color: var(--yellow); font-weight: 900; margin-right: 6px; }
.ticker .goal { background: linear-gradient(90deg, rgba(255, 210, 63, .25), transparent); font-weight: 800; }
.ticker .abil { color: var(--pink); font-weight: 800; }
.mstats { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; font-size: 14px; text-align: center; }

/* Pack-Opening Overlay */
.po { position: fixed; inset: 0; z-index: 100; background: radial-gradient(circle at 50% 50%, #3f434a, #2a2d32 70%); overflow: hidden; }
.po canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.po .rays { position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax; transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s;
  background: repeating-conic-gradient(from 0deg, var(--glow, #fff3) 0deg 6deg, transparent 6deg 18deg); animation: spin 18s linear infinite; mask-image: radial-gradient(circle, #2a2d32 0%, transparent 45%); -webkit-mask-image: radial-gradient(circle, #2a2d32 0%, transparent 45%); }
.po .rays.on { opacity: 1; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.po .bigpack { position: absolute; left: 50%; top: 50%; width: 220px; height: 320px; margin: -160px 0 0 -110px; border-radius: 18px;
  background: linear-gradient(135deg, var(--pc), #1a0f3d 130%); box-shadow: 0 0 60px var(--pc); display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; font-style: italic; color: #fff; text-shadow: 0 3px 10px #2a2d32; text-align: center; padding: 20px; overflow: hidden; }
.po .bigpack::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%); animation: shine 1.4s infinite; }
.po .bigpack.enter { animation: packIn 1s cubic-bezier(.2, 1.4, .4, 1) both; }
.po .bigpack.shake { animation: shake .09s linear infinite; }
.po .bigpack.shake2 { animation: shake2 .06s linear infinite; filter: brightness(1.4); }
@keyframes packIn { from { transform: translateY(80vh) rotate(-30deg) scale(.4); } to { transform: none; } }
@keyframes shake { 0%, 100% { transform: rotate(-3deg) } 50% { transform: rotate(3deg) translateX(3px) } }
@keyframes shake2 { 0%, 100% { transform: rotate(-6deg) scale(1.06) } 50% { transform: rotate(6deg) scale(1.1) translateX(6px) } }
.po .half { position: absolute; left: 50%; top: 50%; width: 220px; height: 160px; margin-left: -110px; background: linear-gradient(135deg, var(--pc), #1a0f3d 130%); border-radius: 18px; transition: transform 1s cubic-bezier(.3, .7, .3, 1), opacity 1s; }
.po .half.top { margin-top: -160px; border-radius: 18px 18px 4px 4px; }
.po .half.bot { margin-top: 0; border-radius: 4px 4px 18px 18px; }
.po .half.top.fly { transform: translate(-60vw, -60vh) rotate(-80deg); opacity: 0; }
.po .half.bot.fly { transform: translate(60vw, 60vh) rotate(80deg); opacity: 0; }
.po .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.po .flash.go { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: 1 } 100% { opacity: 0 } }
.po .stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.po .card3d { width: 300px; height: 440px; position: relative; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, 1.3, .5, 1); cursor: pointer; }
.po .card3d.enter { animation: cardIn .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes cardIn { from { transform: translateY(60vh) rotateY(180deg) scale(.5); } to { transform: rotateY(180deg); } }
.po .card3d.back { transform: rotateY(180deg); }
.po .card3d.flipped { transform: rotateY(0deg) scale(1.04); }
.po .face, .po .backside { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.po .backside { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #33363c 0 14px, #3f434a 14px 28px); border: 4px solid #ffd23f; display: flex; align-items: center; justify-content: center; }
.po .backside::before { content: "ML"; font-size: 80px; font-weight: 900; font-style: italic; color: #8a6510; text-shadow: 0 0 20px #ff4fa3; }
.po .face { border: 4px solid var(--rc); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rc) 45%, transparent), #120c2e 70%); box-shadow: 0 0 60px var(--rc); text-align: center; padding: 16px; }
.po .face .art { width: 230px; height: 230px; margin: 4px auto 0; }
.po .face .art svg { width: 100%; height: 100%; }
.po .face.revealed .art { animation: monPop .8s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes monPop { from { transform: scale(0) rotate(-20deg); } }
.po .face .nm { font-size: 28px; font-weight: 900; font-style: italic; text-shadow: 0 2px 8px #2a2d32; }
.po .face .rl { font-size: 15px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--rc); text-shadow: 0 0 12px var(--rc); }
.po .face .new { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); background: var(--pink); color: #fff; font-weight: 900; padding: 4px 40px; font-size: 13px; }
.po .face .ab { color: var(--yellow); font-weight: 800; margin-top: 6px; font-size: 14px; }
.po .face.r5 { background: radial-gradient(circle at 50% 38%, rgba(127, 246, 255, .55), #120c2e 70%), linear-gradient(130deg, #7ff6ff, #ff4fa3, #ffd23f, #3ddc84, #7ff6ff); background-size: 100% 100%, 400% 400%; animation: prism 3s linear infinite; }
.po .hud { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; z-index: 5; }
.po .counter { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font-weight: 900; font-size: 18px; color: var(--muted); z-index: 5; }
.po .rarity-banner { position: absolute; top: 12%; left: 0; right: 0; text-align: center; font-size: 56px; font-weight: 900; font-style: italic; letter-spacing: 4px; color: var(--rc);
  text-shadow: 0 0 30px var(--rc), 0 4px 0 #2a2d32; z-index: 6; animation: banner 1.6s ease-out both; pointer-events: none; }
@keyframes banner { 0% { transform: scale(3); opacity: 0 } 25% { transform: scale(1); opacity: 1 } 80% { opacity: 1 } 100% { opacity: 0; transform: scale(1.1) } }
.po .summary { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 20px; z-index: 7; }
.po .summary .cards { width: min(1000px, 100%); }
.po.shakescreen .stage, .po.shakescreen canvas { animation: shake .08s linear 8; }

.dex-card { opacity: 1; }
.dex-card.unknown .art svg { filter: brightness(0) drop-shadow(0 0 2px #fff6); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .08); font-size: 12px; font-weight: 700; margin: 2px; }
.ach { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.ach.done { border-color: var(--yellow); background: rgba(255, 210, 63, .1); }
.ach .ico { font-size: 28px; width: 40px; text-align: center; }
.countdown { font-size: 26px; font-weight: 900; color: var(--cyan); }
select.inp, input.inp { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); }

.stats2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.stats2 .stat { grid-template-columns: 112px 1fr 32px; }
@media (max-width: 760px) { .stats2 { grid-template-columns: 1fr; } }
.pack-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; border-color: var(--pink); background: linear-gradient(90deg, rgba(212, 175, 55, .25), var(--panel)); animation: glowpink 2s ease-in-out infinite; }
.pack-banner .btn { margin-left: auto; }
@keyframes glowpink { 50% { box-shadow: 0 0 30px rgba(212, 175, 55, .45); } }
.equip-slots { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .equip-slots { grid-template-columns: repeat(2, 1fr); } }
.modal { width: min(1080px, 100%); }
.monster-detail .stats2 .stat { grid-template-columns: 104px 1fr 30px; }
.monster-detail .equip-slots { grid-template-columns: repeat(2, 1fr); }
.slot select { width: 100%; }
.logo-mini { display: inline-block; width: 30px; height: 30px; vertical-align: middle; margin: 0 8px; }
.logo-mini svg, .logo-big svg, .logo-sm svg { width: 100%; height: 100%; }
.logo-sm { display: inline-block; width: 20px; height: 20px; vertical-align: middle; margin-right: 6px; }
.logo-big { width: 120px; height: 120px; }

/* ---------- Neu: Verein, Taktik, Training ---------- */
.topbar { flex-wrap: wrap; gap: 10px; }
.nav a { padding: 7px 9px; font-size: 13px; }
.teamlogo { width: 40px; height: 40px; display: block; }
.teamlogo svg { width: 100%; height: 100%; }
.logo-mid { display: inline-block; width: 56px; height: 56px; margin-right: 10px; }
.logo-mid svg { width: 100%; height: 100%; }
.coin.neg { color: var(--red); border-color: var(--red); }
.warn-banner { border-color: var(--yellow); margin-bottom: 16px; display: flex; gap: 14px; align-items: center; }
.formbar { height: 5px; border-radius: 4px; background: rgba(0, 0, 0, .1); overflow: hidden; margin-top: 5px; }
.formbar > i { display: block; height: 100%; }
.mcard .inj { position: absolute; top: 34px; right: 8px; font-size: 11px; font-weight: 800; background: rgba(255, 90, 110, .85); border-radius: 8px; padding: 1px 6px; }
.mcard .nr { display: inline-block; min-width: 22px; padding: 0 4px; margin-right: 5px; border-radius: 6px; background: rgba(0, 0, 0, .15); font-size: 12px; }
.pill.bad { background: rgba(212, 47, 69, .12); color: #b8203a; }
.pill.okz { background: rgba(23, 146, 77, .14); color: #127a3e; }
.ttabs { display: flex; gap: 6px; flex-wrap: wrap; }
.params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.params label, .editor label, .station label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.tpitch { position: relative; aspect-ratio: 68/90; max-height: 76vh; margin: 0 auto 44px; border-radius: 18px; overflow: visible; touch-action: none; user-select: none;
  background: repeating-linear-gradient(0deg, #2fa24a 0 8%, #34b153 8% 16%); border: 3px solid #ffffff55; }
.tpitch .zone { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(255, 255, 255, .35); pointer-events: none; }
.tpitch .zone span { position: absolute; right: 8px; top: 4px; font-size: 11px; font-weight: 900; color: rgba(255, 255, 255, .55); letter-spacing: 1px; text-transform: uppercase; }
.tpitch .z-st { top: 0; height: 30%; border-top: 0; background: rgba(255, 79, 163, .08); }
.tpitch .z-mf { top: 30%; height: 30%; background: rgba(255, 210, 63, .06); }
.tpitch .z-abw { top: 60%; height: 40%; background: rgba(61, 155, 255, .08); }
.tpitch .z-tw { left: 30%; right: 30%; top: 88%; height: 12%; border: 2px solid rgba(255, 255, 255, .7); border-bottom: 0; background: rgba(0, 0, 0, .08); }
.tpitch .z-tw span { right: auto; left: 6px; }
.tok { position: absolute; transform: translate(-50%, -50%); width: 80px; text-align: center; cursor: grab; z-index: 3; touch-action: none; }
.tok:active { cursor: grabbing; }
.tok .face { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: rgba(0, 0, 0, .35); border: 3px solid var(--rc, #fff8); overflow: hidden; }
.tok .face svg { width: 100%; height: 100%; pointer-events: none; }
.tok .plus { display: block; line-height: 52px; font-size: 26px; color: #fff8; }
.tok.sel .face { box-shadow: 0 0 0 4px var(--yellow), 0 0 22px var(--yellow); }
.tok .lbl { font-size: 11px; font-weight: 800; background: rgba(42, 45, 50, .6); border-radius: 8px; padding: 1px 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tok .zn { font-size: 10px; color: var(--yellow); font-weight: 900; }
.benchrow.subslot { min-height: 52px; }
.rule { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .15); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.station .benchrow { margin-top: 6px; }
.station select { width: 100%; margin-bottom: 6px; }
.coachface { width: 64px; height: 64px; }
.coachface svg { width: 100%; height: 100%; }
.cards.coaches { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mcard.coach { cursor: default; --rc: #c9a227; }
.cskills { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin: 6px 0; text-align: left; }
.cskills > div { display: grid; grid-template-columns: 30px 1fr 16px; gap: 4px; align-items: center; font-size: 10px; }
.cskills .bar { height: 6px; }
.cskills .bar > i { background: linear-gradient(90deg, #c9a227, #ffd23f); }
.cskills .hl { color: var(--yellow); font-weight: 900; }
.sponsor { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.sponsor.active { border-color: var(--green); background: rgba(61, 220, 132, .08); }
.editor { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.editor input[type=color] { width: 100%; height: 34px; border: 0; background: none; padding: 0; }
.jprev { width: 160px; height: 160px; border-radius: 16px; background: radial-gradient(circle, rgba(0, 0, 0, .1), transparent 70%); }
.jprev svg { width: 100%; height: 100%; }
.numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.numrow { display: flex; gap: 8px; align-items: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 10px; }
.numrow .face { width: 38px; height: 38px; }
.numrow .face svg { width: 100%; height: 100%; }
.pos { color: var(--green); } .negv { color: var(--red); }
.buildbox { border-color: var(--yellow); margin: 10px 0; }

.panel > .row.small { margin: 6px 0; gap: 8px; }

/* ---------- Vereinsgelände-Karte ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 420px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .map-wrap { grid-template-columns: 1fr; } }
.map-scroll { position: relative; overflow: auto; container-type: inline-size; max-height: 80vh; border-radius: 20px; border: 2px solid var(--line);
  background: radial-gradient(circle at 50% 50%, #4fb85a, #2f7d3a 70%, #255f2e); padding: 18px; }
.mapgrid { display: grid; grid-template-columns: repeat(var(--n), var(--tile)); grid-auto-rows: var(--tile); gap: 6px; justify-content: center; margin: 0 auto; width: max-content; }
.tile { position: relative; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .12s; }
.tile.wild { background: rgba(0, 0, 0, .06); }
.tile.locked { background: rgba(20, 20, 30, .12); color: #00000070; border: 2px dashed rgba(0, 0, 0, .18); cursor: not-allowed; }
.tile.free { background: rgba(0, 0, 0, .12); border: 2px dashed rgba(255, 255, 255, .7); cursor: pointer; flex-direction: column; }
.tile.free:hover, .tile.built:hover { transform: scale(1.06); background: rgba(255, 255, 255, .22); }
.tile.free .plus { font-size: calc(var(--tile) * .35); font-weight: 900; color: #fff; line-height: 1; }
.tile .mult { font-size: 11px; font-weight: 900; border-radius: 8px; padding: 1px 5px; margin-top: 2px; }
.tile .mult.good { background: rgba(255, 210, 63, .9); color: #2a1838; } .tile .mult.bad { background: rgba(255, 90, 110, .8); color: #fff; }
.tile.built { cursor: pointer; background: rgba(0, 0, 0, .08); }
.tile.busy { background: repeating-linear-gradient(45deg, #ffd23f55 0 8px, #2a183855 8px 16px); border: 2px solid #ffd23f; flex-direction: column; }
.tile .crane { font-size: calc(var(--tile) * .45); animation: bob 1.4s ease-in-out infinite; }
/* Stadion: eigenes Feld in der Mitte, Grafik füllt das Feld, Plätze-Schild innen unten (ragt nicht ins Nachbarfeld) */
.tile.center { z-index: 2; background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .16), rgba(0, 0, 0, .18)); border: 2px solid rgba(255, 210, 63, .75);
  box-shadow: 0 0 18px rgba(255, 210, 63, .25); overflow: hidden; }
.tile.center .stadium-svg { width: 100%; height: 100%; position: absolute; inset: 0; pointer-events: none; transform: scale(1.12); }
.tile .bld-svg { width: 92%; height: 92%; }
.tile .tlabel { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 800;
  background: rgba(42, 45, 50, .65); border-radius: 6px; padding: 1px 5px; max-width: calc(var(--tile) * 1.3); overflow: hidden; text-overflow: ellipsis; }
.tile.center .tlabel { bottom: 5px; z-index: 3; background: rgba(42, 45, 50, .7); }
.catalog { display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.cat { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .15); }
.cat.facility { border-color: rgba(61, 155, 255, .45); }
.cat .ci { font-size: 28px; width: 40px; text-align: center; }

.map-side h3 { margin-top: 16px; }
.map-side .btn { margin-top: 6px; }
.tile.built { z-index: 3; }

.lchain { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 6px 0 12px; font-size: 12px; }
.lchain span { padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .07); color: var(--muted); }
.lchain span.done { color: var(--text); }
.lchain span.cur { background: var(--yellow); color: #2a1838; font-weight: 900; }
.lchain i { color: var(--muted); font-style: normal; }

.mcard.coach.head { --rc: #ffc531; box-shadow: 0 0 24px -4px #ffc531; }
.traits { display: grid; gap: 4px; margin: 6px 0; text-align: left; }
.trait { font-size: 11px; padding: 4px 6px; border-radius: 8px; background: rgba(61, 220, 132, .12); border-left: 3px solid var(--green); }
.trait.mixed { background: rgba(255, 210, 63, .1); border-left-color: var(--yellow); }
.trait b { display: block; font-size: 12px; }
.contract { margin-top: 4px; color: var(--cyan); }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.offer label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.neg-msg { min-height: 24px; margin: 6px 0 10px; font-weight: 700; color: var(--yellow); }
.hc-seat { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
.hc-seat .coachface { width: 56px; height: 56px; }

/* ---------- Freunde, Chat, Gästebuch ---------- */
.social-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .social-wrap { grid-template-columns: 1fr; } }
.srow { display: flex; gap: 8px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); }
.srow.friend { cursor: pointer; border-radius: 10px; }
.srow.friend:hover, .srow.friend.active { background: rgba(0, 0, 0, .06); }
.srow .sl { width: 28px; height: 28px; flex: none; }
.srow .sl .logo-sm { width: 28px; height: 28px; }
.badge-n { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 900; text-align: center; }
.chat { display: flex; flex-direction: column; min-height: 520px; }
.msgs { flex: 1; overflow: auto; max-height: 56vh; min-height: 360px; display: flex; flex-direction: column; gap: 6px; padding: 10px 2px; margin: 10px 0; }
.msg { max-width: 75%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: rgba(0, 0, 0, .09); align-self: flex-start; word-wrap: break-word; }
.msg.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #f3e6bd; }
.msg time, .gbe time { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.msg.me time { color: #6b6558; }
textarea.inp { resize: vertical; font: inherit; }
.gb { margin-top: 12px; display: grid; gap: 8px; }
.gbe { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .15); }
.gbe .sl { width: 32px; height: 32px; flex: none; }
.gbe .sl .logo-sm { width: 32px; height: 32px; }
textarea.inp { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); }

.tpitch.small-pitch { max-height: 560px; }
.tpitch.small-pitch .tok { width: 92px; }
.tpitch.small-pitch .tok .face { width: 50px; height: 50px; }
.sections { display: grid; gap: 8px; margin: 10px 0; }
.secrow { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.15); }
.secrow .ic { font-size: 22px; width: 30px; text-align: center; }

.pairnav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; padding: 12px 16px; }
.pairnav .btn { margin-left: auto; }

/* Finanzen */
.fweek h4 { margin: 14px 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ftiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.frow { display: grid; grid-template-columns: minmax(120px, 1.3fr) 1fr auto; gap: 10px; align-items: center; padding: 3px 0; font-size: 14px; }
.frow .fv { font-variant-numeric: tabular-nums; text-align: right; min-width: 70px; }
.fbar { height: 8px; background: rgba(0, 0, 0, .06); border-radius: 4px; overflow: hidden; }
.fbar i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.fbar i.inc, .sw.inc { background: #3987e5; }
.fbar i.exp, .sw.exp { background: #d95926; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.flegend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.fchart-wrap { position: relative; }
.fchart { width: 100%; height: auto; display: block; }
.fchart text { fill: var(--muted); font-size: 11px; }
.fchart text.run { fill: var(--text); font-weight: 700; }
.fchart line.grid { stroke: rgba(0, 0, 0, .07); }
.fchart line.base { stroke: rgba(255,255,255,.3); }
.fchart path.inc { fill: #3987e5; }
.fchart path.exp { fill: #d95926; }
.fchart .hit { fill: transparent; }
.fchart .wk.on .hit { fill: rgba(0, 0, 0, .05); }
.ftip { position: absolute; pointer-events: none; background: #120e2e; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; min-width: 170px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.ftip div { margin-top: 3px; }

/* Segment-Umschalter, Test-Kennzeichen, Admin */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { background: transparent; color: var(--muted); border: 0; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.seg button.on { background: var(--panel2); color: var(--text); }
.test-badge { background: #ffd23f; color: #33363c; font-weight: 900; border-radius: 8px; padding: 3px 10px; margin-right: 8px; letter-spacing: .08em; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover { background: rgba(0, 0, 0, .05); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; word-break: break-all; max-width: 380px; }
.sev-high { color: #c0263d; font-weight: 700; }
.sev-mid { color: #a87600; font-weight: 700; }
.sev-low { color: var(--muted); }
.pin-input { font-size: 28px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.holdwrap { margin: 16px 0 8px; }
.btn.hold { position: relative; overflow: hidden; width: 100%; padding: 18px; font-size: 16px; user-select: none; touch-action: none; }
.btn.hold .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .35); }
.btn.hold .lbl { position: relative; }

/* Spielstatistik: Heim (blau) gegen Gast (orange) */
.statbars { margin-top: 8px; }
.srow2 { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; padding: 5px 0; }
.srow2 .sv { font-variant-numeric: tabular-nums; font-weight: 700; text-align: center; }
.srow2 .sn { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--muted); margin-top: -2px; }
.srow2 .sbar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 8px; }
.srow2 .sl, .srow2 .sr { background: rgba(0, 0, 0, .06); border-radius: 4px; overflow: hidden; display: flex; }
.srow2 .sl { justify-content: flex-end; }
.srow2 .sl i { background: #3987e5; border-radius: 4px 0 0 4px; }
.srow2 .sr i { background: #d95926; border-radius: 0 4px 4px 0; }

/* Erste Schritte */
.onboard { margin-bottom: 14px; border-color: var(--cyan); }
.obsteps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.obstep { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.obstep.ready { border-color: var(--yellow); background: rgba(255, 210, 63, .08); }
.obstep.claimed { opacity: .55; }
.obstep .ck { font-size: 18px; }

.tbl tr.playoff td:first-child { border-left: 4px solid var(--yellow); }
.zk { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: middle; margin: 0 4px 0 6px; }
.zk.promo { background: var(--green); } .zk.playoff { background: var(--yellow); } .zk.releg { background: var(--red); }
.potie { border-bottom: 1px solid var(--line); padding: 8px 0; }

/* Kartenstapel zum Durchwischen */
.po .deck { position: absolute; left: 50%; bottom: 70px; width: 90px; height: 130px; margin-left: -45px; z-index: 4; }
.po .deck::after { content: attr(data-left); position: absolute; right: -34px; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--muted); }
.po .deckcard { position: absolute; inset: 0; border-radius: 10px; border: 2px solid #ffd23f; background: repeating-linear-gradient(45deg, #33363c 0 8px, #3f434a 8px 16px); box-shadow: 0 4px 10px #0008; }
.po .card3d.arrive { animation: cardArrive .42s cubic-bezier(.2, 1.3, .4, 1) both; transform: rotateY(180deg); }
@keyframes cardArrive { from { transform: translateY(42vh) rotateY(180deg) scale(.35); opacity: .2; } to { transform: rotateY(180deg); opacity: 1; } }
.po .card3d.tease { animation: tease .12s linear infinite; }
.po .card3d.tease .backside { box-shadow: 0 0 40px 10px var(--tease), inset 0 0 30px var(--tease); border-color: var(--tease); }
@keyframes tease { 0%, 100% { transform: rotateY(180deg) rotate(-2deg); } 50% { transform: rotateY(180deg) rotate(2deg) scale(1.03); } }
.po .card3d.flyup { animation: flyUp .55s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes flyUp { from { transform: scale(1.04); opacity: 1; } to { transform: translateY(-115vh) rotate(-14deg) scale(.8); opacity: 0; } }
.po .swipehint { position: absolute; left: 0; right: 0; bottom: 214px; text-align: center; font-weight: 800; color: #fff; opacity: 0; transition: opacity .3s; z-index: 5; pointer-events: none; }
.po .swipehint.show { opacity: .85; animation: hintBob 1.2s ease-in-out infinite; }
@keyframes hintBob { 50% { transform: translateY(-8px); } }
.po .rays.rainbow { background: repeating-conic-gradient(from 0deg, #7ff6ff88 0deg 6deg, transparent 6deg 12deg, #ff4fa388 12deg 18deg, transparent 18deg 24deg, #ffd23f88 24deg 30deg, transparent 30deg 36deg); animation-duration: 3s; }
.po.frenzy { animation: frenzyBg 0.5s linear infinite; }
@keyframes frenzyBg { 0% { background: radial-gradient(circle, #3a1a6b, #2a2d32 70%); } 33% { background: radial-gradient(circle, #1a4a6b, #2a2d32 70%); } 66% { background: radial-gradient(circle, #6b1a4a, #2a2d32 70%); } }
.po .rarity-banner.b4 { font-size: 72px; }
.po .rarity-banner.b5 { font-size: 92px; background: linear-gradient(90deg, #7ff6ff, #ff4fa3, #ffd23f, #3ddc84, #7ff6ff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: banner 3.8s ease-out both, prism 1s linear infinite; text-shadow: none; filter: drop-shadow(0 0 24px #fff); }
.po .stage { touch-action: none; user-select: none; }

/* Logos als Bild */
.logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-sm .logo-img, .logo-mini .logo-img { display: inline-block; }
.upload-box { margin-top: 14px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.sponsor.offer { border-style: dashed; }
/* Spielkarten (Paarungen) */
.fixlist { display: flex; flex-direction: column; gap: 6px; }
.fixcard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(57,135,229,.10), rgba(0, 0, 0, .03) 50%, rgba(217,89,38,.10)); border: 1px solid var(--line); transition: transform .12s, border-color .12s; }
.fixcard:hover { transform: translateY(-1px); border-color: var(--cyan); }
.fixcard.mine { border-color: var(--yellow); box-shadow: 0 0 18px rgba(255,210,63,.18); }
.fixcard .ft { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; min-width: 0; font-weight: 700; }
.fixcard .ft .tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fixcard .ft.home { justify-content: flex-end; text-align: right; }
.fixcard .ft.won .tn { color: #8a6510; }
.fixcard .sc { min-width: 70px; text-align: center; font-weight: 900; font-size: 18px; padding: 4px 10px; border-radius: 10px; background: rgba(0,0,0,.35); color: var(--muted); letter-spacing: 1px; }
.fixcard .sc.played { color: #fff; background: linear-gradient(135deg, #3f434a, #33363c); text-decoration: none; position: relative; }
.fixcard .sc .play { font-size: 10px; margin-left: 6px; color: var(--cyan); }
.logo-fx { display: inline-block; width: 30px; height: 30px; flex: none; }
.logo-fx svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(42, 45, 50, .5)); }
/* Liga-Kopf */
.league-hero { display: flex; align-items: center; gap: 18px; padding: 16px 20px; margin-bottom: 14px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255,79,163,.18), rgba(61,226,255,.12)), var(--panel); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lh-badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 34px; font-weight: 900; color: #33363c;
  background: linear-gradient(135deg, var(--yellow), #ff9d3d); box-shadow: 0 4px 0 #b05a12, 0 0 24px rgba(255,210,63,.4); transform: rotate(-6deg); }
.lh-title { font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: .5px; text-shadow: 0 3px 0 rgba(0,0,0,.4); }
.lh-sub { color: var(--muted); font-weight: 700; margin: 2px 0 8px; }
.lh-bar { height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .08); overflow: hidden; max-width: 420px; }
.lh-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e8cf7a, #b8860b); border-radius: 4px; }
.lh-next { text-align: right; }
/* Büro: VS-Karte */
.vscard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; margin: 8px 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,79,163,.25), transparent 60%), rgba(0,0,0,.25); border: 1px solid var(--line); }
.vsteam { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.vscard > * { min-width: 0; }
.logo-vs { display: block; width: 76px; height: 76px; filter: drop-shadow(0 6px 10px rgba(42, 45, 50, .5)); animation: bob 3s ease-in-out infinite; }
.logo-vs svg { width: 100%; height: 100%; }
.vsmid { text-align: center; }
.vs { font-size: 40px; font-weight: 900; font-style: italic; background: linear-gradient(180deg, var(--yellow), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(42, 45, 50, .5)); animation: vsPulse 1.6s ease-in-out infinite; }
@keyframes vsPulse { 50% { transform: scale(1.12); } }
/* etwas mehr Spiel-Gefühl überall */
.panel h2, .panel h3 { letter-spacing: .3px; }
.panel h2 { font-style: italic; }
.tbl tbody tr { transition: background .12s; }
.tbl tr.mine td { background: rgba(255,210,63,.08); }

/* Mehr Effekte beim Aufdecken */
.po .cardwrap { position: relative; perspective: 1400px; transform-style: preserve-3d; }
.po .cardwrap.pop { animation: cwPop .45s cubic-bezier(.2, 1.6, .4, 1); }
.po .cardwrap.jackpot { animation: cwJackpot 1.1s cubic-bezier(.2, 1.4, .4, 1); }
.po .cardwrap.mega { animation: cwMega 1.8s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes cwPop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes cwJackpot { 0% { transform: scale(.7) rotate(-8deg); } 30% { transform: scale(1.22) rotate(5deg); } 50% { transform: scale(1.05) rotate(-4deg); } 70% { transform: scale(1.12) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes cwMega { 0% { transform: scale(.5) rotate(-20deg); } 20% { transform: scale(1.35) rotate(10deg); } 35% { transform: scale(1.1) rotate(-8deg); } 50% { transform: scale(1.25) rotate(6deg); } 65% { transform: scale(1.08) rotate(-4deg); } 80% { transform: scale(1.15) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
.po .face .sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.65) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; mix-blend-mode: screen; }
.po .face.sheen-once .sheen { animation: sheen 1s ease-out .15s both; }
.po .face.holo .sheen { animation: sheen 1s ease-out .15s both, sheenLoop 2.4s ease-in-out 1.3s infinite; background: linear-gradient(115deg, transparent 35%, rgba(127,246,255,.5) 45%, rgba(255,79,163,.5) 50%, rgba(255,210,63,.5) 55%, transparent 65%); }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes sheenLoop { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }
.po .face.blink1 { animation: borderBlink .32s ease-in-out 2; }
.po .face.blink2 { animation: borderBlink .28s ease-in-out 4; }
.po .face.blink3 { animation: borderBlink .22s ease-in-out 8, glowPulse 1.2s ease-in-out 1.8s infinite; }
@keyframes borderBlink { 50% { box-shadow: 0 0 120px 20px var(--rc), inset 0 0 50px var(--rc); border-color: #fff; } }
@keyframes glowPulse { 50% { box-shadow: 0 0 110px 14px var(--rc); } }
.po .face.r5.revealed { animation: borderBlink .18s ease-in-out 12, rainbowBorder 1.2s linear infinite, prism 3s linear infinite; }
@keyframes rainbowBorder { 0% { border-color: #7ff6ff; } 25% { border-color: #ff4fa3; } 50% { border-color: #ffd23f; } 75% { border-color: #3ddc84; } 100% { border-color: #7ff6ff; } }
.po .edgeglow { position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 120px 30px var(--ec, #fff); transition: opacity .25s; z-index: 3; }
.po .edgeglow.on { opacity: 1; }
.po .edgeglow.pulse { animation: edgePulse .5s ease-in-out infinite; }
.po .edgeglow.rainbow { animation: edgeRainbow .6s linear infinite; }
@keyframes edgePulse { 50% { opacity: .35; } }
@keyframes edgeRainbow { 0% { box-shadow: inset 0 0 140px 40px #7ff6ff; } 33% { box-shadow: inset 0 0 140px 40px #ff4fa3; } 66% { box-shadow: inset 0 0 140px 40px #ffd23f; } 100% { box-shadow: inset 0 0 140px 40px #7ff6ff; } }
.po .strobe { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 3; mix-blend-mode: screen; }
.po .strobe.go { animation: strobe .12s ease-out; }
@keyframes strobe { 0% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .po .strobe, .po .edgeglow.pulse, .po .edgeglow.rainbow, .po.frenzy { animation: none !important; } }

/* Aufgaben */
.missions { margin-bottom: 14px; border-color: var(--yellow); }
.mission { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; }
.mission.ready { border-color: var(--yellow); background: rgba(255, 210, 63, .08); box-shadow: 0 0 14px rgba(255, 210, 63, .15); }
.mission.claimed { opacity: .5; }
.mbar { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .08); overflow: hidden; margin-top: 5px; }
.mbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), #ff9d3d); }
.coinchip { font-size: 12px; font-weight: 800; color: var(--yellow); border: 1px solid rgba(255,210,63,.4); border-radius: 999px; padding: 2px 8px; }
.money { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(61, 220, 132, .12); color: #127a3e; border: 1px solid rgba(61, 220, 132, .35); font-weight: 800; }
.money::before { content: "💵"; font-size: 13px; }
.money.neg { color: var(--red); border-color: var(--red); }

/* Fähigkeiten, Stärken/Schwächen, Eigenschaften */
.stat .bar { position: relative; }
.stat .bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255,255,255,.55); border-radius: 1px; }
.sw-up { color: var(--green); font-size: 11px; }
.sw-down { color: var(--red); font-size: 11px; }
.ts { color: var(--yellow); letter-spacing: 1px; }
.trait { padding: 6px 8px; border-left: 3px solid var(--line); margin: 4px 0; background: rgba(0, 0, 0, .03); border-radius: 0 8px 8px 0; }
.trait.gut { border-left-color: var(--green); }
.trait.gemischt { border-left-color: var(--yellow); }
.trait.schwach { border-left-color: var(--red); }
.mcard .inj.light { background: rgba(255, 197, 49, .85); color: #33363c; }
.mcard .inj.camp { background: rgba(61, 226, 255, .85); color: #33363c; right: auto; left: 6px; }

.shop-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.shopitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 20px; }
.shopitem { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.si-ic { font-size: 34px; }
.pill.up { color: #127a3e; } .pill.down { color: #b8203a; }

/* Live-Spiele */
.badge-live { font-size: 12px; font-weight: 900; color: #fff; background: #ff3b5c; padding: 3px 8px; border-radius: 8px; animation: livepulse 1.4s infinite; }
.badge-event { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 210, 63, .25); color: #8a6510; font-weight: 800; }
.cup-sek { margin: 14px 0 2px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge-lock { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(255, 210, 63, .18); color: #8a6510; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b5c; display: inline-block; animation: livepulse 1.4s infinite; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.live-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; text-decoration: none; color: inherit; border: 1px solid rgba(255, 59, 92, .5); }
.kickoff-box { text-align: center; margin: 14px 0; }
.kick-in { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.kick-cd { font-size: 40px; font-weight: 900; margin: 6px 0; font-variant-numeric: tabular-nums; }

/* Startseite: knackiger */
.auth-sub { font-size: 15px; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; }
.auth-hero .tag.catchy { font-size: 34px; font-weight: 900; color: var(--text); line-height: 1.15; margin: 0 0 8px;
  background: linear-gradient(90deg, #8a6510, #c9a227, #33363c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth-box .agb-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.4; }
.auth-box .agb-check input { width: auto; margin-top: 2px; }
.auth-box .code-input { letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.auth-foot { grid-column: 1 / -1; text-align: center; }
.auth-foot a { color: inherit; }

/* Profil, Feedback */
.avatar-mini { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--panel2); border: 2px solid var(--cyan); text-decoration: none; }
.avatar-mini img, .avatar-mini svg, .avatar-big img, .avatar-big svg { width: 100%; height: 100%; object-fit: cover; }
.avatar-big { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--panel2); border: 3px solid var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 40px; flex-shrink: 0; }
.av-empty { font-size: 16px; font-weight: 900; color: var(--cyan); line-height: 1; }
.avatar-big .av-empty { font-size: 54px; }
.fb-item { border-bottom: 1px solid var(--line); padding: 8px 0; }
.fb-reply { color: var(--cyan); margin-top: 4px; }
.badge-st { font-size: 11px; padding: 2px 8px; border-radius: 8px; background: var(--panel2); }
.danger-zone { border-color: rgba(255, 80, 100, .4); }

.codes { font-size: 18px; letter-spacing: .15em; user-select: all; }
.mono { font-family: ui-monospace, monospace; letter-spacing: .08em; }

/* ---------- Handy & Tablet ---------- */
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.menu-btn { display: none; }
img, svg, canvas { max-width: 100%; }
.pitchc { width: 100%; height: auto; }

@media (max-width: 1100px) {
  .nav a { padding: 6px 8px; font-size: 13px; }
}
/* Tablet hochkant und Handy: Menü einklappen */
@media (max-width: 900px) {
  .topbar { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-size: 20px; flex-shrink: 0; }
  .topbar .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 12px 14px; background: rgba(13, 10, 31, .97); border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: calc(100vh - 70px); overflow: auto; }
  .topbar.menu-open .nav { display: grid; }
  .nav a { padding: 12px 8px; font-size: 15px; text-align: center; background: var(--panel); border-radius: 12px; }
  .wallet { gap: 6px; font-size: 13px; }
  .wallet .lvl { display: none; }
  .coin, .money { padding: 5px 9px; }
  .fb-btn { padding: 6px 9px; font-size: 16px; }
  .fb-txt { display: none; }
  .test-badge { display: none; }
  main { padding: 12px; }
  .panel { padding: 14px; }
  .modal-bg { padding: 8px; align-items: flex-start; }
  .modal { max-height: 96vh; }
  .ticker { height: 320px; }
  .mapgrid { gap: 4px; }
  .map-scroll { padding: 10px; }
}
@media (max-width: 600px) {
  .topbar .nav { grid-template-columns: repeat(2, 1fr); }
  .teamlogo { width: 32px; height: 32px; }
  main { padding: 8px; }
  .panel { padding: 12px; border-radius: 14px; }
  h2 { font-size: 19px; }
  .grid { gap: 10px; }
  /* breite Tabellen seitlich scrollen statt das Layout zu sprengen */
  .cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .tok { width: 64px; }
  .tok .face { width: 42px; height: 42px; border-width: 2px; }
  .tok .lbl, .tok .zn { font-size: 10px; }
  .tpitch.small-pitch .tok { width: 64px; }
  .tpitch.small-pitch .tok .face { width: 38px; height: 38px; }
  .seg { flex-wrap: wrap; }
  .row > .inp { min-width: 0; flex: 1 1 140px; }
  .kick-cd { font-size: 30px; }
  .auth-wrap { padding: 20px 16px; gap: 16px; }
  .auth-hero .parade .mon { width: 64px; height: 64px; margin-right: -12px; }
  .auth-hero .tag.catchy { font-size: 26px; }
  .auth-hero .tag { font-size: 16px; }
  .fixcard .tn { font-size: 12px; }
  .live-banner { font-size: 14px; }
}

.auth-wrap > * { min-width: 0; }
.auth-hero .parade { overflow: hidden; }
@media (max-width: 600px) { .auth-sub { letter-spacing: .12em; font-size: 12px; } .auth-box { max-width: none; } }

.lineup-wrap > * { min-width: 0; }
.tpitch { max-width: 100%; }
.money, .coin { white-space: nowrap; }
@media (max-width: 600px) { .tpitch { max-height: none; width: 100%; } }

/* Taktik-Anweisungen */
.pgroup { margin-top: 12px; }
.pgroup-t { font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.plan-list span { display: inline-block; margin: 2px 10px 2px 0; }

/* Nie seitlich scrollen – auf keinem Gerät */
html, body { max-width: 100%; overflow-x: hidden; }
main, .panel, .modal { min-width: 0; overflow-wrap: break-word; }
.map-scroll { overflow-x: hidden; }
.logo.big { font-size: clamp(34px, 11vw, 72px); }
.params { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
/* Tabellen werden auf schmalen Bildschirmen zu Karten (Beschriftung aus der Kopfzeile) */
@media (max-width: 760px) {
  .tbl:not(.ltable):not(.ptable), .tbl:not(.ltable):not(.ptable) tbody, .tbl:not(.ltable):not(.ptable) tr, .tbl:not(.ltable):not(.ptable) td { display: block; width: 100%; }
  .tbl:not(.ltable):not(.ptable) thead { display: none; }
  .tbl:not(.ltable):not(.ptable) tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .tbl:not(.ltable):not(.ptable) td { display: block; position: relative; padding: 3px 4px; border: 0; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  .tbl:not(.ltable):not(.ptable) td[data-label] { padding-left: calc(38% + 10px); }
  .tbl:not(.ltable):not(.ptable) td[data-label]::before { content: attr(data-label); position: absolute; left: 4px; top: 4px; width: 38%; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: none; overflow-wrap: anywhere; }
  .tbl:not(.ltable):not(.ptable) td:empty { display: none; }
  .mapgrid { gap: 4px; }
  .map-scroll { padding: 10px; }
}
/* Ligatabelle bleibt auf dem Handy eine echte Tabelle (eine Zeile je Verein) */
.tbl.ltable { width: 100%; table-layout: auto; }
@media (max-width: 760px) {
  .tbl.ltable { font-size: 13px; }
  .tbl.ltable th, .tbl.ltable td { padding: 7px 4px; }
  .tbl.ltable td:nth-child(2) { max-width: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tbl.ltable td:nth-child(2) .badge-ai, .tbl.ltable td:nth-child(2) .badge-human { display: none; }
  .tbl.ltable tr.mine td:nth-child(2) { font-weight: 800; }
  .tbl.ltable th:nth-child(4), .tbl.ltable td:nth-child(4), .tbl.ltable th:nth-child(5), .tbl.ltable td:nth-child(5),
  .tbl.ltable th:nth-child(6), .tbl.ltable td:nth-child(6), .tbl.ltable th:nth-child(9), .tbl.ltable td:nth-child(9) { display: none; }
}
@media (max-width: 900px) { .adm-txt { display: none; } }
@media (max-width: 600px) {
  .topbar { flex-wrap: wrap; row-gap: 6px; }
  .topbar .wallet { flex: 1 1 100%; justify-content: flex-end; }
  .topbar .nav { top: 100%; }
}
@media (max-width: 600px) {
  .scoreboard { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 8px 10px; }
  .scoreboard > * { min-width: 0; }
  .scoreboard .tn { font-size: 13px; overflow-wrap: anywhere; }
  .scoreboard .sc { font-size: 28px; }
  .editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .editor > *, .editor label { min-width: 0; }
  .editor select, .editor input { min-width: 0; width: 100%; }
}
input[type=file] { max-width: 100%; min-width: 0; }
.scoreboard .pen-sc { font-size: 12px; font-weight: 900; color: var(--yellow); text-align: center; min-height: 0; }

/* Beta-Kennzeichnung */
.logo-row { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.beta-badge { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .14em; padding: 3px 7px; border-radius: 7px; color: #1a1030;
  background: linear-gradient(90deg, #c9971f, #ffd23f); box-shadow: 0 0 12px rgba(212, 175, 55, .45); align-self: center; }
.beta-badge.big { font-size: 16px; padding: 5px 12px; border-radius: 10px; margin-top: 10px; align-self: flex-start; transform: rotate(-4deg); }
/* Obere Leiste am Desktop: alles in einer Zeile */
.fb-btn { display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 901px) { .topbar { flex-wrap: nowrap; gap: 12px; } .topbar .nav { flex-wrap: nowrap; } }
@media (max-width: 1720px) and (min-width: 901px) {
  .topbar { gap: 8px; padding: 8px 14px; }
  .nav a { padding: 6px 7px; font-size: 13px; }
  .wallet { gap: 6px; }
  .wallet .lvl { display: none; }
  .coin, .money { padding: 5px 9px; font-size: 13px; }
  .fb-txt, .adm-txt { display: none; }
  .test-badge { padding: 3px 6px; margin-right: 0; }
}
@media (max-width: 1500px) and (min-width: 901px) {
  .nav a { padding: 6px 5px; font-size: 12.5px; }
  .teamlogo { width: 34px; height: 34px; }
}

/* Kleine Laptops und Tablets quer: Menü einklappen statt abschneiden */
@media (max-width: 1500px) and (min-width: 901px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-size: 20px; flex-shrink: 0; }
  .topbar .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 14px 14px; background: rgba(13, 10, 31, .97); border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .topbar.menu-open .nav { display: grid; }
  .topbar .nav a { padding: 12px 8px; font-size: 15px; text-align: center; background: var(--panel); border-radius: 12px; }
  .topbar .spacer { flex: 1; }
}

/* Countdown bis zum Saisonstart (Startseite) */
.season-cd { margin: 18px 0 4px; padding: 12px 16px; border-radius: 16px; display: inline-block; max-width: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(0, 0, 0, .06)); border: 1px solid rgba(255, 210, 63, .45); box-shadow: 0 0 24px rgba(212, 175, 55, .2); }
.cd-title { font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.cd-boxes { display: flex; gap: 10px; flex-wrap: wrap; }
.cd-box { min-width: 64px; text-align: center; padding: 6px 8px; border-radius: 12px; background: rgba(0, 0, 0, .35); }
.cd-box b { display: block; font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-box span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cd-when { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .cd-box { min-width: 54px; } .cd-box b { font-size: 24px; } }

/* Handbuch im Spiel */
#view .hb { max-width: 900px; margin: 0 auto; line-height: 1.6; }
#view .hb h2 { font-size: 21px; margin-top: 30px; padding-top: 8px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
#view .hb .toc { columns: 2; column-gap: 24px; padding-left: 18px; }
#view .hb.doc-body .toc { padding: 14px 18px 14px 38px; }
#view .hb table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 14px; }
#view .hb td, #view .hb th { border-bottom: 1px solid var(--line); padding: 5px 6px; text-align: left; vertical-align: top; }
@media (max-width: 600px) { #view .hb .toc { columns: 1; } }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.kpis > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: var(--panel2); }
.kpis b { font-size: 18px; }

/* Gemeinschaft: Liga-Reiter, Zeitung, Pinnwand, Bestenlisten, Ruhmeshalle, Vitrine, Chronik */
.league-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.league-tabs a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 800; background: var(--panel); border: 1px solid var(--line); }
.league-tabs a.on { color: var(--text); border-color: var(--cyan); background: var(--panel2); }
.news { display: grid; gap: 12px; }
.newspaper { background: linear-gradient(180deg, #f6efe0, #e9dfc8); color: #3f434a; border-color: #cbb98f; }
.newspaper .muted { color: #6f6150; }
.newspaper.latest { box-shadow: 0 0 0 2px #ffd23f, 0 10px 30px rgba(0,0,0,.35); }
.news-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-bottom: 3px double #3f434a; padding-bottom: 4px; }
.news-mast { font-family: Georgia, 'Times New Roman', serif; font-weight: 900; letter-spacing: .12em; }
.news-title { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; margin: 10px 0 6px; color: #33363c; }
.newspaper ul { margin: 0; padding-left: 18px; }
.newspaper li { margin: 4px 0; }
.board { margin-top: 12px; display: grid; gap: 8px; }
.board-item { padding: 10px; border-radius: 12px; background: var(--panel2); }
.board-text { white-space: pre-wrap; margin-top: 4px; overflow-wrap: anywhere; }
.mini-face { display: inline-block; width: 28px; height: 28px; vertical-align: middle; margin-right: 6px; }
.mini-face svg { width: 100%; height: 100%; }
.eleven-row { margin: 8px 0; }
.eleven-players { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.eleven-p { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 90px; padding: 6px; border-radius: 12px; background: var(--panel2); }
.eleven-p .mini-face { width: 40px; height: 40px; margin: 0; }
.hall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.hall-item { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--panel2); }
.hall-ic { width: 46px; height: 46px; flex-shrink: 0; }
.trophy-svg { width: 100%; height: 100%; }
.vitrine { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 12px; padding: 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0,0,0,.25)); border: 1px solid rgba(255, 210, 63, .35); }
.trophy { text-align: center; padding: 10px; border-radius: 14px; background: rgba(0,0,0,.25); }
.trophy.hidden-t { opacity: .45; }
.trophy-art { width: 90px; height: 90px; margin: 0 auto 6px; filter: drop-shadow(0 0 10px rgba(255, 210, 63, .45)); }
.chron { padding: 4px 0; border-bottom: 1px solid var(--line); }
.chron.titel, .chron.pokal { color: var(--yellow); font-weight: 800; }
.chron.aufstieg { color: #127a3e; }
.chron.abstieg { color: #b8203a; }

/* Konferenz */
.conf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.conf-card { display: block; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.conf-card.mine { border-color: var(--cyan); }
.conf-card.live { box-shadow: 0 0 0 1px rgba(255, 59, 92, .35); }
.conf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin: 6px 0; }
.conf-team { font-weight: 800; overflow-wrap: anywhere; }
.conf-team.away { text-align: right; }
.conf-score { font-size: 26px; font-weight: 900; font-style: italic; }
.conf-clock { text-align: center; color: var(--yellow); font-weight: 800; font-size: 13px; }
.conf-goals { margin-top: 6px; color: var(--muted); }
.conf-list { display: grid; gap: 4px; max-height: 40vh; overflow-y: auto; margin-top: 8px; }
.conf-goal-banner { margin-top: 12px; padding: 12px 16px; border-radius: 14px; font-weight: 900; font-size: 18px; background: linear-gradient(90deg, #ffd23f, #c9971f); color: #33363c; }
.goal-flash { animation: goalflash 1.2s ease-in-out 3; }
@keyframes goalflash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } 50% { box-shadow: 0 0 0 4px rgba(255,210,63,.9); } }
@media (prefers-reduced-motion: reduce) { .goal-flash { animation: none; } }

/* Wettbewerbe */
.cup-row { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--panel2); margin: 6px 0; flex-wrap: wrap; }
.cup-row.inv, .cup-inv { position: relative; padding-right: 34px; }
.cup-x { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--muted, #888); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.cup-x:hover { background: rgba(0, 0, 0, .08); color: inherit; }
.cup-ic { width: 42px; height: 42px; flex-shrink: 0; }
.cup-big { width: 80px; height: 80px; flex-shrink: 0; }
.cup-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cup-winner { margin-top: 6px; font-weight: 900; color: var(--yellow); }
.design-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.design { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; min-width: 0; }
.design.on { border-color: var(--yellow); box-shadow: 0 0 10px rgba(255, 210, 63, .4); }
.design svg { width: 44px; height: 44px; }
.design span { overflow-wrap: anywhere; text-align: center; font-size: 11px; }
.invite-list { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.cup-fx { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line); }
.cup-fx .won { font-weight: 900; color: #8a6510; }
@media (max-width: 600px) { .cup-fx { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; } .cup-fx > .small.muted:first-child { grid-column: 1 / -1; } .design-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* mehr Menüpunkte: auf mittleren Bildschirmen kompakter, damit alles in eine Zeile passt */
@media (max-width: 1560px) and (min-width: 1321px) {
  .topbar { gap: 6px; padding: 8px 10px; }
  .topbar .nav { gap: 1px; }
  .nav a { padding: 6px 5px; font-size: 12.5px; }
  .topbar .beta-badge { font-size: 9px; padding: 2px 5px; }
  .teamlogo { width: 32px; height: 32px; }
}
#view .hb table { table-layout: fixed; } #view .hb td, #view .hb th { overflow-wrap: anywhere; hyphens: auto; }
.mcard .inj.ban { top: 56px; background: rgba(40, 10, 20, .85); }
.day-pick { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 8px; }
.mach { display: flex; flex-wrap: wrap; gap: 6px; }
.mach .pill.locked { opacity: .45; }
.mach .pill.done { border-color: var(--gold, #ffc531); }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.award { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 197, 49, .08); border: 1px solid rgba(255, 197, 49, .3); min-width: 0; }
.award > div { min-width: 0; overflow-wrap: anywhere; }

/* Entwicklung (Qualitätsaufstieg) */
.po.evo .stage { display: grid; place-items: center; }
.evo-card { transition: transform .3s, filter .3s; }
.evo-card.evo-charge { animation: evoShake .18s infinite; filter: brightness(1.25) drop-shadow(0 0 22px var(--rc, #fff)); }
.evo-card.evo-white { filter: brightness(6) saturate(0); transform: scale(1.08); }
.evo-card.evo-reveal { animation: evoPop .7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes evoShake { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-3px, 1px) rotate(-1deg); } 75% { transform: translate(3px, -1px) rotate(1deg); } }
@keyframes evoPop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.evo-sum { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); text-align: center; background: rgba(10, 8, 30, .8); border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 16px; padding: 12px 18px; max-width: calc(100vw - 24px); z-index: 5; }
.evo-line { font-size: 22px; font-weight: 900; margin: 6px 0; }
@media (prefers-reduced-motion: reduce) { .evo-card.evo-charge { animation: none; } }
/* Erfolgs-Board */
.ach-head { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, rgba(255, 197, 49, .14), rgba(40, 20, 90, .6)); border-color: rgba(255, 197, 49, .45); }
.ach-head .ach-shield { width: 74px; height: 84px; font-size: 22px; }
.ach-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.ach-nav { display: flex; flex-direction: column; gap: 6px; }
.ach-tab { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .04);
  border: 1px solid rgba(255, 197, 49, .18); color: inherit; text-decoration: none; font-weight: 700; min-width: 0; }
.ach-tab:hover { border-color: rgba(255, 197, 49, .5); }
.ach-tab.on { background: linear-gradient(90deg, rgba(255, 197, 49, .25), rgba(255, 197, 49, .05)); border-color: #ffc531; color: #6b4e00; }
.ach-tab small { color: #8a6510; }
.ach-main { min-width: 0; }
.ach-panel { border-color: rgba(255, 197, 49, .3); }
.ach-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; margin: 8px 0; border-radius: 14px; min-width: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .01)); border: 1px solid rgba(0, 0, 0, .1); }
.ach-row.done { background: linear-gradient(90deg, rgba(255, 197, 49, .2), rgba(120, 70, 0, .08)); border-color: rgba(255, 197, 49, .6); box-shadow: inset 0 0 18px rgba(255, 197, 49, .12); }
.ach-row.open { filter: saturate(.55); }
.ach-row.open .ach-title { color: #6b6558; }
.ach-ic { flex: 0 0 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 12px; background: radial-gradient(circle at 35% 30%, #3b2f7a, #120c33);
  border: 2px solid #8a6a1c; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), inset 0 0 10px rgba(255, 197, 49, .25); }
.ach-row.done .ach-ic { border-color: #ffc531; box-shadow: 0 0 12px rgba(255, 197, 49, .55), inset 0 0 10px rgba(255, 197, 49, .35); }
.ach-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ach-title { font-weight: 900; font-size: 16px; color: #6b4e00; }
.ach-desc { font-size: 13px; opacity: .85; }
.ach-date { font-size: 12px; color: #8a6510; margin-top: 3px; }
.ach-reward { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 12px; }
.ach-bar { position: relative; height: 16px; border-radius: 8px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 197, 49, .35); overflow: hidden; margin-top: 5px; }
.ach-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #a86a00, #ffc531); }
.ach-bar span { position: relative; display: block; text-align: center; font-size: 11px; line-height: 14px; font-weight: 800; text-shadow: 0 1px 2px #2a2d32; }
.ach-shield { position: relative; flex: 0 0 auto; width: 44px; height: 50px; display: grid; place-items: center; font-size: 14px; }
.ach-shield svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ach-shield path { fill: #3a3358; stroke: #6e6690; stroke-width: 2; }
.ach-shield.on path { fill: #c48a12; stroke: #ffe27a; }
.ach-shield b { position: relative; color: #fff; text-shadow: 0 1px 3px #2a2d32; }
.ach-count { flex: 0 0 auto; font-weight: 900; font-size: 18px; color: #8a6510; min-width: 30px; text-align: center; }
.ach-cat-line { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto; gap: 10px; align-items: center; color: inherit; text-decoration: none; margin: 8px 0; }
.ach-cat-line .ach-bar { margin: 0; }
.ach-pop { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; display: flex; gap: 12px; align-items: center; cursor: pointer;
  padding: 12px 18px; border-radius: 16px; background: linear-gradient(135deg, #2a1e5c, #120c33); border: 2px solid #ffc531;
  box-shadow: 0 0 30px rgba(255, 197, 49, .5); max-width: calc(100vw - 24px); animation: achIn .5s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .7s, transform .7s; }
.ach-pop.out { opacity: 0; transform: translate(-50%, 20px); }
.ach-pop-k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8a6510; font-weight: 800; }
.ach-pop-n { font-size: 18px; font-weight: 900; color: #6b4e00; }
@keyframes achIn { from { opacity: 0; transform: translate(-50%, 40px) scale(.8); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@media (max-width: 900px) {
  .ach-layout { grid-template-columns: minmax(0, 1fr); }
  .ach-nav { flex-direction: row; flex-wrap: wrap; }
  .ach-tab { flex: 1 1 140px; padding: 8px 10px; font-size: 13px; }
  .ach-cat-line { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.po.evo .cardwrap { transform: translateY(-9vh) scale(.86); }
.evo-sum { bottom: 3vh; }

/* Entwicklungsbalken und Monster-Erfolge in Stufen */
.evo-box { margin-top: 16px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .04)); border: 1px solid var(--rc); box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 35%, transparent); }
.evo-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; font-size: 15px; }
.evo-bar { position: relative; height: 22px; border-radius: 11px; background: rgba(42, 45, 50, .5); overflow: hidden; border: 1px solid rgba(0, 0, 0, .15); }
.evo-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--rc), var(--nc)); box-shadow: 0 0 12px var(--nc); transition: width .6s; }
.evo-bar.full i { animation: evoFull 1.4s ease-in-out infinite; }
.evo-bar span { position: relative; display: block; text-align: center; line-height: 20px; font-size: 12px; font-weight: 900; text-shadow: 0 1px 3px #2a2d32; }
@keyframes evoFull { 50% { filter: brightness(1.5); } }
.mfam { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 8px; }
.mfam-i { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, .04); border: 1px solid rgba(0, 0, 0, .1); min-width: 0; opacity: .6; }
.mfam-i.on { opacity: 1; border-color: rgba(255, 197, 49, .55); background: linear-gradient(90deg, rgba(255, 197, 49, .14), rgba(0, 0, 0, .02)); }
.mfam-ic { font-size: 22px; flex: 0 0 auto; }
.mfam-b { min-width: 0; overflow-wrap: anywhere; }
.mfam-stars { color: #b8860b; font-size: 11px; letter-spacing: 1px; }

/* PIN-Gültigkeit */
.pin-timer { font-weight: 800; font-size: 14px; margin: 4px 0 8px; color: #127a3e; }
.pin-timer.soon { color: #8a6510; }
.pin-timer.gone { color: #c0263d; }


/* Anmeldeart: Passwort (zurzeit) oder E-Mail-PIN */
.auth-box[data-login="password"] .pin-only, .auth-box[data-login="pin"] .pw-only { display: none; }
.pw-form { display: grid; gap: 6px; max-width: 360px; }

.ml-version { margin-top: 6px; font-size: 11px; opacity: .75; }
.ml-brand { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.ml-emblem { width: 92px; height: 92px; flex: 0 0 auto; margin: -10px 0 -6px -6px; filter: drop-shadow(0 6px 16px rgba(255,79,163,.35)); }
@media (max-width: 900px) { .ml-emblem { width: 58px; height: 58px; margin: -6px 0 -4px -4px; } }
@media (max-width: 420px) { .ml-brand .logo.big { font-size: 36px; } .ml-emblem { width: 48px; height: 48px; } }

/* Verhandlung: Schieberegler mit Rahmen */
.offer .slide { display: block; }
.offer .slide b { float: right; color: var(--yellow, #ffd23f); }
.offer .slide input[type=range] { width: 100%; margin: 8px 0 2px; accent-color: #d4af37; height: 28px; }
.slide-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; opacity: .75; font-weight: 400; }
.slide-scale span:nth-child(2) { text-align: center; }

/* Booster: Karte und Stapel überlappen nicht mehr (Marcus, 22.11.2026) */
.po .stage { inset: 56px 0 140px 0; zoom: var(--cs, 1); }
.po .deck { left: auto; right: 18px; bottom: 18px; margin-left: 0; width: 62px; height: 90px; }
.po .deck::after { right: auto; left: -30px; }
.po .swipehint { bottom: 92px; }
.po .hud { bottom: 30px; }
@media (max-width: 520px) { .po .deck { right: 12px; bottom: 76px; width: 46px; height: 66px; } .po .deck::after { left: 0; right: 0; top: -22px; transform: none; text-align: center; } .po .hud { bottom: 22px; } .po .swipehint { bottom: 84px; font-size: 14px; padding: 0 70px; } }

/* Stadion-Seitenleiste: Text bekommt die ganze Breite, Knopf darunter (sonst sehr schmale Textspalte) */
.map-side .secrow { flex-wrap: wrap; align-items: flex-start; }
.map-side .secrow > div { flex: 1 1 220px !important; min-width: 0; }
.map-side .secrow > .btn { margin: 4px 0 0 40px; }
/* Feld-Hintergründe bleiben in den runden Ecken, Monster am Rand (z. B. Torwart) werden nicht mehr abgeschnitten */
.tpitch .z-st { border-radius: 15px 15px 0 0; } .tpitch .z-abw { border-radius: 0 0 15px 15px; }
/* Booster-Shop: Knöpfe aller Packs auf gleicher Höhe */
.pack { display: flex; flex-direction: column; }
.pack > .btn { margin-top: auto; align-self: center; }
.pack .lock:empty { display: none; }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } }

/* Geplante Wechsel */
.wrule { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr auto; gap: 10px; align-items: end; }
.wrule label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.wrule .wmin b { color: var(--yellow, #ffd23f); }
.wrule input[type=range] { width: 100%; accent-color: #d4af37; height: 26px; }
@media (max-width: 760px) { .wrule { grid-template-columns: 1fr 1fr; } .wrule .wmin { grid-column: 1 / -1; } }
.wrule > * { min-width: 0; } .wrule select, .wrule .inp { width: 100%; box-sizing: border-box; }

/* ---- UX-Feinschliff 22.11.2026 ---- */
/* Fehlerzeile nimmt nur Platz ein, wenn es einen Fehler gibt */
.err:empty { min-height: 0; margin-top: 0; }
.auth-box form > .btn { margin-top: 18px !important; }
/* Startseite: ALPHA-Kennzeichen in der Unterzeile statt schief unter dem Logo */
.auth-sub .beta-badge { transform: none; margin: 0 10px 0 0; font-size: 11px; padding: 3px 8px; vertical-align: 2px; letter-spacing: .14em; }
@media (max-width: 900px) { .auth-box { max-width: 560px; justify-self: stretch; } }
/* Handy: Klickflächen mindestens 36 px hoch */
@media (max-width: 600px) {
  .btn.small, select.inp, input.inp, .inp { min-height: 36px; }
  .btn.small { padding-top: 7px; padding-bottom: 7px; }
}
/* Spieler-Statistik im Spielbericht bleibt am Handy eine kompakte Tabelle */
.tbl.ptable { width: 100%; }
@media (max-width: 760px) {
  .tbl.ptable { font-size: 12px; }
  .tbl.ptable th, .tbl.ptable td { padding: 6px 3px; }
  .tbl.ptable td:first-child { max-width: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tbl.ptable th:nth-child(6), .tbl.ptable td:nth-child(6), .tbl.ptable th:nth-child(7), .tbl.ptable td:nth-child(7),
  .tbl.ptable th:nth-child(8), .tbl.ptable td:nth-child(8) { display: none; }
}
/* Liga-Kopf am Handy: Countdown kompakter */
@media (max-width: 600px) { .lh-next .countdown { font-size: 20px; } }
.spoiler-box { margin-top: 20px; text-align: center; } .spoiler-box p { margin: 4px 0 10px; }
/* Pack-Übersicht: scrollt bei vielen Karten, beginnt oben unter der Überschrift (nichts wird abgeschnitten oder verdeckt) */
.po .summary { justify-content: flex-start; overflow-y: auto; padding: 70px 20px 30px; }
.po .summary .cards { margin-top: auto; }
.po .summary > .btn { margin-bottom: auto; flex-shrink: 0; }
.po .counter { z-index: 8; top: 0; padding: 22px 0 12px; background: linear-gradient(180deg, rgba(13,10,31,.92) 60%, rgba(13,10,31,0)); }
.po .summary ~ .counter, .po .counter { pointer-events: none; }
.invite-top { border-color: var(--yellow); box-shadow: 0 0 18px rgba(255, 210, 63, .2); margin-bottom: 14px; }

/* Stadion wächst: kleinere Stufen kleiner im Feld */
.tile.center .stadium-svg.st0 { transform: scale(.98); } .tile.center .stadium-svg.st1 { transform: scale(1); }
.tile.center .stadium-svg.st2 { transform: scale(.92); } .tile.center .stadium-svg.st3 { transform: scale(.98); }
.tile.center .stadium-svg.st4 { transform: scale(1.03); } .tile.center .stadium-svg.st5 { transform: scale(1.08); }
.stadium-type { margin-bottom: 10px; }
.att-hist { margin: 6px 0 12px; }
.att-bars { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin: 6px 0; }
.att-bars i { flex: 1; background: linear-gradient(180deg, #f0f0f0, #9a9a9a); border-radius: 4px 4px 0 0; min-width: 8px; }
.att-bars i.full { background: linear-gradient(180deg, #ffd23f, #ff9d3d); }

/* Head-Coach-Eigenschaften: Stärke grün, Schwäche rot */
.trait .tr-buff { color: #157a43; font-weight: 700; font-size: 13px; margin-top: 3px; }
.trait .tr-debuff { color: #c0263d; font-weight: 700; font-size: 13px; margin-top: 2px; }

/* ---- Trainingsplatz (Karten auf dem Rasen) ---- */
.tg-field { border-radius: 18px; padding: 14px; margin-top: 10px; border: 2px solid rgba(0, 0, 0, .12);
  background: repeating-linear-gradient(90deg, #4f9d3f 0 70px, #5aab48 70px 140px); box-shadow: inset 0 0 60px rgba(0,0,0,.25); }
.tg-head { color: #fff; text-shadow: 0 1px 3px #0009; margin: 0 2px 12px; font-size: 14px; }
.tg-head b { background: rgba(0,0,0,.45); padding: 3px 9px; border-radius: 8px; margin-right: 6px; }
.tg-grid { display: grid; grid-template-columns: 1fr 260px; gap: 14px; align-items: start; }
.tg-stations { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; align-items: start; }
.tg-side { display: grid; gap: 12px; }
.tg-card { background: rgba(250, 252, 255, .95); color: #1d1838; border-radius: 12px; padding: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.28); min-width: 0; }
.tg-card.over { outline: 3px dashed #ffd23f; outline-offset: 2px; }
.tg-title { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 16px; }
.tg-title b { flex: 1; }
.tg-stat { flex: 1; min-width: 0; font-weight: 900; font-size: 15px; border: 0; background: transparent; color: #1d1838; padding: 2px 0; cursor: pointer; }
.tg-cnt { background: #1d1838; color: #fff; font-weight: 900; font-size: 12px; border-radius: 6px; padding: 2px 7px; }
.tg-coach { display: flex; align-items: center; gap: 6px; border-radius: 8px; padding: 4px 6px; margin-bottom: 6px;
  background: linear-gradient(100deg, #ff9d3d 0 60%, #ffb866 60%); color: #2a1838; font-weight: 800; }
.tg-coach.empty { background: linear-gradient(100deg, #ffd3a6 0 60%, #ffe2c4 60%); }
.tg-coach select { flex: 1; min-width: 0; border: 0; background: transparent; font-weight: 800; color: #2a1838; font-size: 13px; cursor: pointer; }
.tg-cface { width: 26px; height: 26px; flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; }
.tg-cface svg { width: 100%; height: 100%; }
.tg-skill { background: #fff; border-radius: 5px; padding: 1px 6px; font-weight: 900; font-size: 12px; }
.tg-list { display: grid; gap: 4px; min-height: 34px; }
.tg-mon { display: flex; align-items: center; gap: 6px; background: #ffe6cf; border-radius: 7px; padding: 3px 6px; cursor: grab; font-size: 13px; }
.tg-rest .tg-mon { background: #eef0f6; }
.tg-mon.dragging { opacity: .4; }
.tg-nr { width: 20px; text-align: right; font-weight: 900; color: #6b6488; font-size: 12px; }
.tg-face { width: 24px; height: 24px; flex: 0 0 24px; } .tg-face svg { width: 100%; height: 100%; }
.tg-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.tg-val { background: #3c8d2f; color: #fff; font-weight: 900; border-radius: 5px; padding: 1px 6px; font-size: 12px; min-width: 22px; text-align: center; }
.tg-x { border: 0; background: transparent; color: #8a2a3a; font-weight: 900; cursor: pointer; padding: 0 2px; }
.tg-empty { font-size: 12px; color: #7a7396; padding: 8px; text-align: center; border: 2px dashed #d4d0e4; border-radius: 8px; }
.tg-add { width: 100%; margin-top: 6px; border: 1px solid #d4d0e4; border-radius: 7px; padding: 5px; font-size: 13px; background: #fff; color: #1d1838; }
.tg-crow { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 4px; border-radius: 6px; background: #fff1e2; margin-bottom: 4px; }
.tg-crow.busy { background: #eef0f6; color: #6b6488; }
.tg-rest .tg-list { max-height: 420px; overflow-y: auto; }
@media (max-width: 900px) { .tg-grid { grid-template-columns: 1fr; } .tg-stations { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tg-field { padding: 8px; } .tg-stat, .tg-coach select, .tg-add { min-height: 34px; } }
/* Auswahllisten überall gut lesbar (Windows zeigte weiße Schrift auf hellgrau): dunkler Grund, helle Schrift */
:root { color-scheme: light; }
select option, select optgroup { background-color: #ffffff; color: #33363c; }
select option:checked { background-color: #d4af37; color: #33363c; }
select option:disabled { color: #9a958a; }

/* Taktik-Spielfeld: weiße Linien (Mittellinie, Mittelkreis, Strafraum, Fünfer, Elfmeterpunkt, Bogen) */
.tpitch .tp-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; border-radius: 15px; overflow: hidden; }
.tpitch .tp-lines line, .tpitch .tp-lines rect, .tpitch .tp-lines ellipse, .tpitch .tp-lines path { stroke: rgba(255, 255, 255, .8); stroke-width: 2px; }
.tpitch .z-tw { border: 2px dashed rgba(255, 210, 63, .7) !important; border-bottom: 0 !important; background: rgba(255, 210, 63, .06) !important; }

/* Standards */
.std-row { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 8px; background: rgba(0, 0, 0, .05); margin-bottom: 4px; }
.std-rank { width: 22px; font-weight: 900; color: var(--yellow); }
.std-name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.std-vals { font-size: 11px; color: var(--muted); white-space: nowrap; }
.std-row .btn.small { padding: 2px 7px; min-height: 26px; }
@media (max-width: 600px) { .std-vals { display: none; } }

/* Ersatzbank-Spalte neben dem Taktik-Feld */
.pitch-bench { display: flex; gap: 10px; align-items: flex-start; }
.pitch-bench > .tpitch { flex: 1; min-width: 0; }
.bench-col { width: 64px; flex: 0 0 64px; display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 8px 4px; border-radius: 14px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.bc-title { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bc-slot { text-align: center; cursor: pointer; }
.bc-slot .face { width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.35); border: 2px solid var(--rc, #fff6); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bc-slot .face svg { width: 100%; height: 100%; }
.bc-slot .plus { font-weight: 900; color: #fff9; }
.bc-slot.sel .face { box-shadow: 0 0 0 3px var(--yellow), 0 0 14px var(--yellow); }
.bc-slot.hc .face { border-color: #ffd23f; } .bc-slot.hc.off { opacity: .45; } .bc-slot.empty { opacity: .5; cursor: default; }
.bc-nr { font-size: 11px; font-weight: 900; margin-top: 1px; }
@media (max-width: 600px) { .bench-col { width: 50px; flex-basis: 50px; } .bc-slot .face { width: 38px; height: 38px; } }

/* Taktik: ganzes Spielfeld (68 × 105). Zonen: Gegnerbereich oben (nicht erreichbar), Sturm 22–44,5 %, Mittelfeld 44,5–67 %, Abwehr 67–100 % */
.tpitch { aspect-ratio: 68 / 105 !important; max-height: 82vh; }
.tpitch .z-opp { top: 0; height: 22%; border-top: 0; background: rgba(0, 0, 0, .22); border-radius: 15px 15px 0 0; }
.tpitch .z-opp span { color: rgba(255, 255, 255, .45); }
.tpitch .z-st { top: 22% !important; height: 22.5% !important; border-radius: 0 !important; border-top: 2px dashed rgba(255,255,255,.35) !important; }
.tpitch .z-mf { top: 44.5% !important; height: 22.5% !important; }
.tpitch .z-abw { top: 67% !important; height: 33% !important; }
.tpitch .z-tw { top: 88% !important; height: 12% !important; }

a.money, a.coin { text-decoration: none; cursor: pointer; } a.money:hover, a.coin:hover { filter: brightness(1.15); }

/* Regel-Karten */
.rcard { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: rgba(0, 0, 0, .04); overflow: hidden; }
.rcard.open { border-color: var(--cyan); }
.rhead { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; background: rgba(0, 0, 0, .05); }
.rnum { width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: #10102a; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 24px; }
.rsum { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbody { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 12px 14px; }
.rbody h4 { margin: 0 0 8px; }
.rbody label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; font-size: 14px; }
.rbody .inp { width: auto; min-width: 120px; }
.rcond input[type=checkbox] { width: 18px; height: 18px; }
@media (max-width: 760px) { .rbody { grid-template-columns: 1fr; } .rsum { display: none; } }

.tp-formation { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 44px; font-weight: 900; color: rgba(255, 255, 255, .28);
  letter-spacing: 2px; pointer-events: none; z-index: 1; text-shadow: 0 2px 6px rgba(0,0,0,.2); }
@media (max-width: 600px) { .tp-formation { font-size: 28px; } }

.cat-h { margin: 14px 0 2px; } .catalog { max-height: none; }
.modal .catalog + .cat-h { border-top: 1px solid var(--line); padding-top: 12px; }

/* Sponsoren mit Logo */
.sponsor { align-items: center; }
.sp-logo { width: 96px; height: 56px; flex: 0 0 96px; margin-right: 10px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.sp-about { font-style: italic; color: var(--muted); margin: 2px 0 4px; }
@media (max-width: 600px) { .sp-logo { width: 72px; height: 42px; flex-basis: 72px; } }

.match-comments { margin-top: 16px; }
.mc-list { margin-top: 10px; display: grid; gap: 8px; }
.mc-item { padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .05); border: 1px solid var(--line); overflow-wrap: anywhere; }
.mc-item .row { gap: 8px; margin-bottom: 2px; }
/* Sponsoren-Zeile: Logo | Text | Knopf */
.sponsor.offer, .sponsor.active { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; }
@media (max-width: 600px) { .sponsor.offer { grid-template-columns: auto 1fr; } .sponsor.offer > .btn { grid-column: 1 / -1; } }

.mnote { margin: 10px 0; display: grid; gap: 4px; }
.mnote textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.tnote { margin-top: 4px; padding: 4px 6px; border-radius: 6px; background: rgba(255, 210, 63, .12); border-left: 3px solid var(--yellow); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Taktik-Feld maßstabsgetreu 68 × 105 (hochkant), keine Verzerrung: Breite aus der Höhe begrenzt */
.pitch-bench > .tpitch, .tpitch { flex: 0 0 auto !important; width: min(100%, calc(82vh * 68 / 105)) !important; aspect-ratio: 68 / 105 !important; max-height: none !important; height: auto !important; margin: 0 auto 30px; }
.pitch-bench { justify-content: center; }
.tpitch .z-opp, .tpitch .z-tw { display: none !important; }
/* Zonen auf dem ganzen Feld (y 0..1 = 3 % … 97 % Länge): Sturm oben bis 31,2 %, Mittelfeld bis 59,4 %, Abwehr darunter */
.tpitch .z-st { top: 0 !important; height: 31.2% !important; border-top: 0 !important; border-radius: 15px 15px 0 0 !important; }
.tpitch .z-mf { top: 31.2% !important; height: 28.2% !important; }
.tpitch .z-abw { top: 59.4% !important; height: 40.6% !important; }
.tpitch.small-pitch { width: min(100%, 360px) !important; }
@media (max-width: 600px) { .tpitch { width: 100% !important; } }

/* Taktik: Kader rechts, Spielweise unter dem Feld; Bank mit Rollen, Coach oben und groß */
.lineup-wrap { grid-template-columns: minmax(0, 1fr) 360px; }
.bench-col { width: 78px; flex: 0 0 78px; }
.bc-slot.hc .face { width: 66px; height: 66px; border-width: 3px; }
.bc-slot.hc .bc-nr { font-size: 10px; max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #8a6510; }
.bc-role { font-size: 9px; font-weight: 900; letter-spacing: .05em; border-radius: 5px; padding: 0 5px; margin-bottom: 2px; color: #10102a; display: inline-block; }
.bc-role.r-TW { background: #ffd23f; } .bc-role.r-ABW { background: #3d9bff; } .bc-role.r-MF { background: #3ddc84; } .bc-role.r-ST { background: #ff4fa3; } .bc-role.r-X, .bc-role.r-X2 { background: #b9b3d6; }
.bc-slot .bc-nr { font-size: 10px; }
@media (max-width: 600px) { .bench-col { width: 58px; flex-basis: 58px; } .bc-slot.hc .face { width: 50px; height: 50px; } }

/* Ziehen aus der Kaderliste */
.benchrow[data-mid] { cursor: grab; touch-action: pan-y; user-select: none; }
.bc-slot { touch-action: none; }
.benchrow.dragging, .bc-slot.dragging { opacity: .45; }
.drag-ghost { position: fixed; z-index: 9999; width: 58px; height: 58px; margin: -29px 0 0 -29px; pointer-events: none; border-radius: 50%; background: rgba(0,0,0,.35);
  box-shadow: 0 0 0 3px #ffd23f, 0 8px 20px rgba(42, 45, 50, .5); }
.drag-ghost svg { width: 100%; height: 100%; }
.tok.drop-over .face, .bc-slot.drop-over .face { box-shadow: 0 0 0 4px #ffd23f, 0 0 20px #ffd23f; transform: scale(1.12); }
.squad-drop.drop-over { outline: 3px dashed #ffd23f; outline-offset: 4px; border-radius: 12px; }

.sp-grid { display: grid; gap: 8px; }
.sp-row { display: grid; grid-template-columns: 130px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; font-size: 13px; }
.sp-row .inp { min-width: 0; width: 100%; }
.cap-badge { display: inline-block; background: #ffd23f; color: #1a1030; border-radius: 4px; padding: 0 4px; font-weight: 900; font-size: 10px; }
@media (max-width: 600px) { .sp-row { grid-template-columns: 1fr 1fr; } .sp-row > span { grid-column: 1 / -1; } }
/* Taktik: Porträts in Kreisen auch in der Kaderliste */
.lineup-wrap .benchrow .face { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; overflow: hidden; background: rgba(0,0,0,.3); border: 2px solid rgba(255,255,255,.25); }
.lineup-wrap .benchrow .face svg { width: 100%; height: 100%; }

/* Effekte in der Taktik: Buff grün, Debuff rot */
.fx { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin: 2px 4px 2px 0; }
.fx-good { color: #127a3e; background: rgba(23, 146, 77, .12); }
.fx-bad { color: #b8203a; background: rgba(212, 47, 69, .1); }
.fx-sec { margin-top: 10px; }
.fx-h { font-weight: 800; font-size: 13px; margin-bottom: 4px; cursor: default; }
details.fx-sec > summary { cursor: pointer; }
.fx-off { opacity: .45; }
.fx-tr { margin: 2px 0; }
.fx-tn { font-size: 12px; color: var(--muted); margin-right: 4px; }
.fx-mon { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--line); cursor: pointer; }
.fx-mon .face { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--rc); background: rgba(0,0,0,.25); }
.fx-mon .face svg { width: 100%; height: 100%; }
.pen-box { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.pen-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pen-list li { display: flex; align-items: center; gap: 6px; }
.pen-nr { width: 26px; font-weight: 900; color: var(--yellow); }
.pen-name { flex: 1; }
.pen-list .btn { padding: 2px 8px; }

/* Helles Design: Sternenhimmel aus, Flächen mit leichtem Schatten */
#bg-stars { display: none; }
.panel { box-shadow: 0 2px 14px rgba(60, 45, 10, .07); backdrop-filter: none; }

/* Ergebnisliste nach Datum (Vorbild Marcus 22.11.2026) */
.rl-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.rlist { margin-top: 10px; border: 1px solid #d9d4c6; border-radius: 10px; overflow: hidden; }
.rl-day { background: #e4e1d8; font-weight: 900; padding: 7px 12px; border-top: 1px solid #cfc9b9; }
.rl-day:first-child { border-top: 0; }
.rl-row { display: grid; grid-template-columns: 52px 34px minmax(110px, 1.1fr) minmax(0, 1.4fr) 64px minmax(0, 1.4fr) 110px 30px; align-items: center; gap: 8px;
  padding: 8px 12px; border-top: 1px solid #e6e1d4; background: #fff; }
.rl-row.rl-hl { background: #fdf6dc; }
.rl-time { font-size: 15px; }
.rl-ic { width: 30px; height: 30px; border-radius: 50%; background: #3a372f; display: flex; align-items: center; justify-content: center; font-size: 15px; border: 2px solid #8d877a; }
.rl-hl .rl-ic { background: #fff1b8; border-color: #b8860b; }
.rl-type { line-height: 1.2; min-width: 0; }
.rl-sub { color: #2b6c99; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-home, .rl-away { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 15px; }
.rl-home { justify-content: flex-end; text-align: right; }
.rl-home a, .rl-away a { color: #2b6c99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-home a.rl-me, .rl-away a.rl-me { font-weight: 900; color: #1c4f75; }
.rl-score { display: block; text-align: center; color: #fff !important; font-weight: 900; border-radius: 6px; padding: 5px 0; text-decoration: none; font-size: 15px; }
.rl-score.w { background: #5f7f1e; } .rl-score.l { background: #8f1414; } .rl-score.d { background: #77736a; }
.rl-tac span { display: block; text-align: center; background: #dcdcdc; border: 1px solid #9d9d9d; border-radius: 6px; font-size: 12px; font-weight: 800; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-tog { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #33363c; color: #fff; font-size: 14px; line-height: 1; transition: transform .15s; }
.rl-tog.open { transform: rotate(180deg); }
.rl-det { grid-column: 3 / -1; font-size: 13px; color: var(--muted); padding: 2px 0 2px; }
@media (max-width: 760px) {
  .rl-row { grid-template-columns: 44px 1fr 56px 1fr 26px; gap: 6px; padding: 8px; }
  .rl-ic, .rl-tac { display: none; }
  .rl-type { grid-column: 2 / -1; grid-row: 1; }
  .rl-time { grid-row: 1 / span 2; }
  .rl-home { grid-column: 2; } .rl-score { grid-column: 3; } .rl-away { grid-column: 4; } .rl-tog { grid-column: 5; }
  .rl-home, .rl-away { font-size: 13px; }
  .rl-det { grid-column: 1 / -1; }
}

/* Schwarz als dritte Grundfarbe (Marcus, 22.11.2026: „weiß schwarz gold … das schwarz fehlt komplett“) */
.topbar { background: #33363c !important; border-bottom: 3px solid var(--gold) !important; box-shadow: 0 2px 14px rgba(0,0,0,.25) !important; }
.topbar .nav a { color: #e9e4d6; }
.topbar .nav a.active, .topbar .nav a:hover { background: #3f434a; color: #f0cf6a; }
.topbar .menu-btn { background: #3f434a; color: #f0cf6a; border-color: #5c4a14; }
@media (max-width: 1500px) { .topbar .nav { background: #33363c !important; } .topbar .nav a { background: #3f434a !important; } .topbar .nav a.active { color: #f0cf6a; } }
.tbl th { background: #33363c; color: #f0cf6a; }
.tbl th:first-child { border-radius: 8px 0 0 0; } .tbl th:last-child { border-radius: 0 8px 0 0; }
.seg button.on, .tabs button.active { background: #33363c; color: #f0cf6a; border-color: #33363c; }
.panel { border-top: 3px solid #33363c; }
/* Tagesbalken dezent (Marcus, 23.11.2026: „der schwarze Balken ist mir aber auch ein bisschen zu krass dominant bei den Spielen … ein bisschen dezenter“) */
.rl-day { background: #f3efe3; color: #5a4a1a; font-weight: 800; font-size: 13px; letter-spacing: .2px; padding: 5px 12px; border-top: 1px solid #e2dccb; border-left: 3px solid #d9b44a; }

/* Vereinsprofil mit Seitenleiste (Vorbild Marcus 22.11.2026) */
.tp-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: start; }
.tp-side { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; position: sticky; top: 80px; }
.tp-side-h { background: #33363c; color: #fff; font-weight: 900; font-size: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 3px solid var(--gold); }
.tp-side a { display: block; padding: 10px 16px; background: #4a4842; color: #fff; text-decoration: none; font-weight: 800; border-top: 1px solid #fff; }
.tp-side a:hover { background: #3f434a; }
.tp-side a.on { background: #33363c; color: #f0cf6a; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) 180px minmax(220px, 1fr); gap: 18px; }
.tp-facts { border-collapse: collapse; width: 100%; }
.tp-facts th { text-align: left; padding: 7px 12px 7px 0; white-space: nowrap; vertical-align: top; width: 1%; }
.tp-facts td { padding: 7px 0; }
.tp-h { margin: 16px 0 6px; font-size: 15px; }
.tp-troph { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-tr { width: 52px; height: 60px; } .tp-tr svg { width: 100%; height: 100%; }
.tp-ach { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tp-badge { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #6b3fa0, #3b1f63); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; border: 2px solid #3b1f63; }
.tp-mid { text-align: center; }
.tp-jersey { width: 170px; height: 190px; margin: 0 auto; } .tp-jersey svg { width: 100%; height: 100%; }
.tp-logo { margin-top: 12px; display: flex; justify-content: center; }
.tp-logo .logo-big { width: 120px; height: 120px; display: inline-block; } .tp-logo .logo-big svg { width: 100%; height: 100%; }
.tp-box { border: 1px solid #ccc; border-radius: 8px; background: #ececec; margin-bottom: 14px; overflow: hidden; }
.tp-box-h { text-align: center; font-weight: 900; padding: 6px; }
.tp-box-h.dark { background: #33363c; color: #fff; font-size: 17px; font-weight: 700; }
.tp-stad { background: #8fbf3f; margin: 0 8px 6px; border-radius: 6px; } .tp-stad svg { width: 100%; height: auto; display: block; }
.tp-sp { background: #fff; margin: 10px; border: 1px solid #ddd; padding: 10px; text-align: center; } .tp-sp .sp-logo { width: 150px; height: auto; }
.tp-actions { margin: 18px -18px -18px; padding: 14px 24px; background: #e6e6e6; border-top: 1px solid #ccc; border-radius: 0 0 var(--radius) var(--radius);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; }
.tp-actions a { color: #2b6c99; }
@media (max-width: 1000px) { .tp-wrap { grid-template-columns: 1fr; } .tp-side { position: static; display: flex; flex-wrap: wrap; } .tp-side-h { width: 100%; } .tp-side a { flex: 1 1 auto; text-align: center; border-left: 1px solid #fff; }
  .tp-grid { grid-template-columns: 1fr; } }

/* Reiter Training / Trainer */
.tr-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 3px solid #33363c; }
.tr-tabs a { padding: 10px 22px; font-weight: 900; text-decoration: none; color: var(--text); background: #e8e4d8; border-radius: 10px 10px 0 0; margin-right: 4px; }
.tr-tabs a.on { background: #33363c; color: #f0cf6a; }

/* Training: Monsterzeilen mit Infos, anklickbar */
.tg-mon { cursor: pointer; align-items: center; padding: 4px 6px; }
.tg-mon:hover { outline: 2px solid var(--gold); }
.tg-face { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--rc, #999); background: #fff; }
.tg-name { white-space: normal; line-height: 1.15; }
.tg-meta { display: block; font-weight: 600; font-size: 11px; color: #5b5648; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tg-mon.boost { box-shadow: inset 3px 0 0 #c9a227; }
.tg-mon.noboost { opacity: .8; background: #eceae3; }
.tg-star { color: #b8860b; font-weight: 900; }
.tg-sep { font-size: 11px; font-weight: 800; color: #6b6558; text-align: center; border-top: 2px dashed #b9b2a0; margin: 4px 0 2px; padding-top: 2px; }

/* Trainingsverlauf im Monster-Fenster */
.tc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0; font-size: 12px; font-weight: 700; }
.tc-leg { display: inline-flex; align-items: center; gap: 5px; }
.tc-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.tc-title { font-size: 12px; font-weight: 800; margin: 8px 0 2px; color: var(--muted); }
.tc-svg { width: 100%; height: auto; display: block; background: #fff; border: 1px solid #e6e1d4; border-radius: 8px; }
/* Trainerkarte: Werte ausgeschrieben, eine Zeile je Wert */
.cskills { grid-template-columns: 1fr; }
.cskills > div { grid-template-columns: minmax(90px, auto) 1fr 34px; font-size: 12px; }
.cskills > div b { text-align: right; }

.ov-eff { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: #e6e1d4; margin-right: 6px; vertical-align: middle; overflow: hidden; }
.ov-eff i { display: block; height: 100%; background: linear-gradient(90deg, #e8cf7a, #b8860b); }
.ov-up { color: var(--green); }

/* Gesamtwert */
.stat-total { display: grid; grid-template-columns: 250px 1fr 52px; gap: 8px; align-items: center; padding: 6px 8px; margin-bottom: 8px; background: #f6efd6; border-radius: 8px; border-left: 4px solid var(--gold); }
.stat-total .bar { height: 10px; }
.pill-total { background: #33363c !important; color: #f0cf6a; }
@media (max-width: 760px) { .stat-total { grid-template-columns: 1fr 1fr 52px; } }
/* Entwicklung im Monster-Fenster: auf hellem Grund lesbar (Marcus, 22.11.2026) */
.evo-box { background: #fff; color: var(--text); }
.evo-bar { background: #e6e1d4; border-color: #cfc9b9; }
.evo-bar span { color: #33363c; text-shadow: 0 0 3px #fff, 0 0 2px #fff; }
.mfam-i:not(.on) { opacity: 1 !important; filter: none !important; }
.mfam-i:not(.on) b { color: #4a463c; }
.mfam-i .small.muted { color: #5b5648; }

/* Vorgesehene Position */
.pos-chip { display: inline-block; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 5px; color: #10102a; vertical-align: middle; }
.pos-chip.p-TW { background: #ffd23f; } .pos-chip.p-ABW { background: #7db7ff; } .pos-chip.p-MF { background: #7fe0a6; } .pos-chip.p-ST { background: #ff9ec9; }
.mcard .pos-card { position: absolute; top: 8px; left: 8px; z-index: 2; }
.mpos { margin: 10px 0; } .pos-pick { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

/* Besonderheiten präsent (Marcus, 22.11.2026) */
.mcard .ab-box { margin: 4px 0 2px; padding: 4px 6px; border-radius: 8px; background: linear-gradient(90deg, #fff1b8, #fdf6dc); border: 1px solid #e0b23a; text-align: center; }
.mcard .ab-box b { display: block; font-size: 12px; color: #6b4e00; }
.mcard .ab-box span { display: block; font-size: 10.5px; line-height: 1.2; color: #3f434a; }
.mcard .ab-box.team { background: linear-gradient(90deg, #ffe08a, #fff1b8); border-color: #b8860b; }
.ab-big { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #fff1b8, #fffaf0); border: 2px solid #e0b23a; box-shadow: 0 2px 10px rgba(184, 134, 11, .18); }
.ab-big.team { border-color: #b8860b; }
.ab-k { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #8a6510; }
.ab-n { font-size: 20px; font-weight: 900; color: #33363c; }
.ab-f { font-style: italic; color: #5b5648; font-size: 13px; }
.ab-t { margin-top: 4px; font-weight: 800; color: #127a3e; }

.mcard .ts .ts-w { font-size: 10px; color: #5b5648; font-weight: 700; }
.ts-box { margin: 8px 0; padding: 6px 8px; border-radius: 8px; background: #f6f3ea; }
/* Taktikfeld & Spielansicht: Namen weiß auf dunklem Schild, Position gelb mit Schatten (Marcus, 22.11.2026: „das schwarz berenkt die namen“) */
.tok .lbl, .pslot .lbl { color: #fff; background: rgba(42, 45, 50, .72); }
.tok .zn { color: #ffe066; text-shadow: 0 1px 2px #2a2d32, 0 0 3px #2a2d32; }
.pslot.warn .lbl { color: #ffb3bd; }

/* Einklappbare Bereiche */
details.fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: '▸'; font-weight: 900; color: var(--gold); transition: transform .15s; }
details.fold[open] > summary::before { transform: rotate(90deg); }
/* Helle Schrift auf dunklen Schildern (Marcus, 22.11.2026: „schwarz nicht sichtbar“) */
.tile .tlabel, .tile.center .tlabel, .mcard .role, .tg-head b, .evo-sum { color: #fff; }
.ach-bar { background: #e6e1d4; }
.ach-bar span { color: #33363c; text-shadow: 0 0 3px #fff, 0 0 2px #fff; }

.sec-build { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.sec-build input { width: 110px; margin-left: 4px; }
/* Taktikfeld: kleinere Monster für genaueres Aufstellen (Marcus, 22.11.2026); der Mittelpunkt des Gesichts ist die Position */
.tpitch:not(.small-pitch) .tok { --fh: 40px; width: 66px; transform: translate(-50%, calc(var(--fh) / -2)); }
.tpitch:not(.small-pitch) .tok .face { width: var(--fh); height: var(--fh); border-width: 2px; }
.tpitch:not(.small-pitch) .tok .plus { line-height: 36px; font-size: 20px; }
.tpitch:not(.small-pitch) .tok .lbl { font-size: 10px; padding: 0 4px; }
.tpitch:not(.small-pitch) .tok .zn { font-size: 9px; }
@media (max-width: 760px) { .tpitch:not(.small-pitch) .tok { --fh: 32px; width: 56px; } .tpitch:not(.small-pitch) .tok .plus { line-height: 28px; } }

/* Namen auf dem Feld in Qualitätsfarbe – helle Töne, damit sie auf dem schwarzen Schild (auch über grünem Rasen) gut lesbar sind */
.lbl-q.q0 { color: #d6dbe0; } .lbl-q.q1 { color: #5ef59a; } .lbl-q.q2 { color: #8fc4ff; } .lbl-q.q3 { color: #dba8ff; } .lbl-q.q4 { color: #ffd23f; } .lbl-q.q5 { color: #8ff8ff; }
/* Fortschrittsbalken überall: heller Grund, dunkle Schrift ohne Schatten */
.ach-bar, .evo-bar { background: #e6e1d4 !important; border-color: #cfc9b9 !important; }
.ach-bar span, .evo-bar span { color: #33363c !important; text-shadow: none !important; }
/* Büro: größere Klapp-Pfeile */
details.fold > summary::before { content: '▶'; font-size: 22px; line-height: 1; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #33363c; color: #f0cf6a; flex: 0 0 30px; }
details.fold > summary h3 { font-size: 20px; }

/* Trainingsplatz: Zeilen bleiben in ihrer Karte, Trainerauswahl lesbar */
.tg-card { overflow: hidden; }
.tg-mon { min-width: 0; overflow: hidden; }
.tg-name { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.tg-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-coach { flex-wrap: wrap; }
.tg-coach select { flex: 1 1 120px; }
.tg-skill { white-space: nowrap; }
.tg-stat { max-width: 100%; min-width: 0; flex: 1; }
.tg-stations { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tg-rest .tg-mon { min-width: 0; }
.tg-val { flex: 0 0 auto; white-space: nowrap; min-width: 26px; }
.tpitch:not(.small-pitch) .tok { width: 116px; }
.tpitch:not(.small-pitch) .tok .lbl { display: inline-block; max-width: 116px; }
@media (max-width: 760px) { .tpitch:not(.small-pitch) .tok { width: 84px; } .tpitch:not(.small-pitch) .tok .lbl { max-width: 84px; } }

.cfilter { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 8px 0; padding: 8px 10px; background: #f6f3ea; border-radius: 10px; font-size: 13px; font-weight: 700; }
.cfilter .inp { margin-left: 4px; }
.cfilter input[type=number] { width: 100px; }

/* Art des Trainers groß und markant (Marcus, 22.11.2026) */
.mcard.coach .coach-role { margin: -10px -10px 8px; padding: 9px 10px; font-size: 17px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
  color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px 14px 0 0; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.mcard.coach .coach-role .cr-ic { font-size: 22px; text-shadow: none; }
.cr-head { background: linear-gradient(90deg, #b8860b, #f0cf6a); color: #33363c !important; text-shadow: none !important; }
.cr-physis { background: #c0392b; } .cr-taktik { background: #6c3fb5; } .cr-sturm { background: #d9661f; } .cr-mittelfeld { background: #1e8c4e; }
.cr-abwehr { background: #1f5fa8; } .cr-torwart { background: #0f8a8a; } .cr-standard { background: #b8226b; } .cr-legende { background: #33363c; color: #f0cf6a !important; }
.mcard.coach .coach-role { font-size: 15px; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
/* Karten: alle Infos auf gleicher Höhe (Marcus, 22.11.2026) – Besonderheits-Kasten und Name mit fester Höhe */
.mcard .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .ab-box { height: 66px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; box-sizing: border-box; }
.mcard .ab-box span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .ts { min-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .ab-box { height: 80px; } .mcard .ab-box span { -webkit-line-clamp: 4; }
.mcard .ts { height: 32px; white-space: normal; line-height: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; }

/* Verwaltung im Monster-Fenster – elegant (Marcus, 22.11.2026: „sieht doof aus mach es eleganter und schöner“) */
.mgmt { margin-top: 14px; padding: 12px 14px; border: 1px solid #e6dfcb; border-radius: 14px; background: linear-gradient(180deg, #fffdf7, #f8f4ea); }
.mg-h { font-weight: 900; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #33363c; margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.mg-h span { font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.mg-l { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #8a6510; margin: 8px 0 4px; }
.mg-l em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.seg-pos { display: flex; border: 1px solid #d9d1bb; border-radius: 10px; overflow: hidden; background: #fff; }
.seg-pos button { flex: 1; border: 0; background: transparent; padding: 7px 4px; font-size: 12px; font-weight: 800; color: #5b5648; cursor: pointer; border-right: 1px solid #ece6d6; transition: background .15s; }
.seg-pos button:last-child { border-right: 0; }
.seg-pos button:hover { background: #f6efd6; }
.seg-pos button.on { background: #33363c; color: #f0cf6a; }
.seg-pos button.on.p-TW { background: #ffd23f; color: #33363c; } .seg-pos button.on.p-ABW { background: #7db7ff; color: #10102a; }
.seg-pos button.on.p-MF { background: #7fe0a6; color: #10102a; } .seg-pos button.on.p-ST { background: #ff9ec9; color: #10102a; }
.mg-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.mg-f { display: block; }
.mg-in { display: flex; border: 1px solid #d9d1bb; border-radius: 10px; background: #fff; overflow: hidden; }
.mg-in:focus-within, .mgmt textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18); outline: none; }
.mg-in input { flex: 1; min-width: 0; border: 0; padding: 8px 10px; font: inherit; font-size: 14px; background: transparent; color: var(--text); outline: none; }
.mg-in button { border: 0; background: #33363c; color: #f0cf6a; font-weight: 900; padding: 0 12px; cursor: pointer; font-size: 15px; }
.mg-in button:hover { background: #3f434a; }
.mgmt textarea { width: 100%; box-sizing: border-box; border: 1px solid #d9d1bb; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; resize: vertical; background: #fff; color: var(--text); }
.mg-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.seg-pos { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 4px; border: 0; background: transparent; overflow: visible; }
.seg-pos button { border: 1px solid #d9d1bb !important; border-radius: 999px; background: #fff; padding: 6px 4px; }
.mg-row { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

.m-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pos-chip.big { font-size: 13px; padding: 3px 10px; border-radius: 999px; font-style: normal; letter-spacing: .02em; }

/* Tutorial-Begleiter */
.guide { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 340px; max-width: calc(100vw - 24px); background: #fff; border-radius: 16px;
  border: 2px solid var(--gold); box-shadow: 0 12px 34px rgba(0,0,0,.25); overflow: hidden; animation: slidein .3s; }
.guide .gd-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #33363c; color: #f0cf6a; }
.guide .gd-head span { flex: 1; font-size: 12px; color: #e9e4d6; }
.guide .gd-min { border: 0; background: transparent; color: #f0cf6a; font-size: 20px; font-weight: 900; cursor: pointer; line-height: 1; padding: 0 4px; }
.guide .gd-bar { height: 5px; background: #e6e1d4; } .guide .gd-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e8cf7a, #b8860b); }
.guide .gd-body { padding: 10px 14px 12px; font-size: 13px; }
.guide .gd-step { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #8a6510; }
.guide .gd-t { font-size: 17px; font-weight: 900; margin: 2px 0 4px; }
.guide p { margin: 4px 0; } .guide .gd-hint { font-weight: 700; }
.guide .gd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.guide.min { width: auto; border-radius: 999px; overflow: visible; }
.guide .gd-open { border: 0; background: #33363c; color: #f0cf6a; font-weight: 900; padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.guide-hl { position: relative; box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(240, 207, 106, .8) !important; border-radius: 10px; animation: guidePulse 1.6s ease-in-out infinite; }
@keyframes guidePulse { 50% { box-shadow: 0 0 0 3px #f0cf6a, 0 0 22px rgba(240, 207, 106, 1) !important; } }
.obfinal { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #e9f9ef; border: 1px solid #7fe0a6; font-weight: 800; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 600px) { .guide { right: 8px; bottom: 8px; } }
/* Finanz-Diagramm: Info beim Überfahren lesbar (Marcus, 22.11.2026) */
.ftip { background: #33363c; color: #fff; border-color: var(--gold); z-index: 5; }
.ftip b { color: #f0cf6a; }
.cd-box { color: #fff; background: #33363c; }

.guide .gd-body { max-height: 70vh; overflow-y: auto; }
.gd-list { margin-top: 10px; border-top: 1px solid #ece6d6; padding-top: 6px; }
.gd-list summary { cursor: pointer; font-weight: 800; font-size: 12px; color: #8a6510; }
.gd-li { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 12.5px; border-bottom: 1px dashed #efe9da; }
.gd-li > span { width: 22px; text-align: center; font-weight: 800; color: #8a6510; }
.gd-li a { flex: 1; color: var(--text); text-decoration: none; } .gd-li a:hover { text-decoration: underline; }
.gd-li.ok a { color: var(--muted); text-decoration: line-through; }
.gd-li small { color: var(--muted); font-weight: 700; }
.gd-li .btn { padding: 2px 10px; font-size: 12px; }
.gd-li.final { border-bottom: 0; color: #127a3e; }

/* Spielansicht: Umschalter 2D / 3D */
.view3d { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; }
.view3d button { border: 1px solid #d9d1bb; background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 800; cursor: pointer; font-size: 13px; }
.view3d button.on { background: #33363c; color: #f0cf6a; border-color: #33363c; }

/* Fehler melden: roter Käfer (Marcus, 22.11.2026) */
.fb-btn .bug-ic { width: 22px; height: 22px; display: block; }
.fb-btn { display: inline-flex; align-items: center; gap: 6px; }
.topbar .fb-btn { background: #fff !important; border-color: #fff !important; padding: 4px 10px; }
.fb-btn .bug-ic { width: 26px; height: 26px; }
.topbar .fb-btn .fb-txt { color: #33363c; }

.rl-score.up { background: #33363c; color: #f0cf6a !important; }
.rl-score.live { background: #ff3b5c; }
.rl-score .rl-pl { font-size: 10px; opacity: .85; }
.rl-tac select { width: 100%; font-size: 12px; padding: 4px; }

/* Menütitel in der Kopfzeile */
.page-title { font-size: 20px; font-weight: 900; font-style: italic; color: #f0cf6a; margin-left: 6px; white-space: nowrap; letter-spacing: .02em; }
@media (max-width: 600px) { .page-title { font-size: 16px; } }
/* Pack-Öffnung: Knöpfe unten auf dunklem Grund lesbar (Marcus, 22.11.2026) */
.po .btn.ghost { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; background: rgba(42, 45, 50, .55) !important; }
.po .btn.ghost:hover { background: rgba(255, 255, 255, .15) !important; }
.po .btn:not(.ghost) { color: #33363c; }
.po .swipehint { color: #fff; text-shadow: 0 2px 6px #2a2d32; }
.po .counter, .po .po-counter { color: #f0cf6a !important; text-shadow: 0 2px 6px #2a2d32; }

/* Pack-Karte: nichts abgeschnitten, Name lesbar, Besonderheit mit Wirkung (Marcus, 22.11.2026) */
.po .card3d { height: 520px; }
.po .face { padding: 14px 14px 12px; }
.po .face .art { width: 190px; height: 190px; }
.po .face .nm { color: #fff; font-size: 26px; }
.po .face .rl { letter-spacing: 1.5px; font-size: 13px; }
.po .face .small.muted { color: #cfc8e8; }
.po .face .abt { margin: 4px auto 0; max-width: 260px; font-size: 13px; font-weight: 800; color: #5ef59a; line-height: 1.25; }
.po .face .pill { font-size: 12px; }

/* Kartenstapel rechts neben der Karte (Marcus, 22.11.2026: „rechts neben der anzeige ist dann ein kartenstapel der kleiner wird wenn ich drauf drücke“) */
.po .deck { left: calc(50% + 190px) !important; right: auto !important; top: 50% !important; bottom: auto !important; margin: 0 !important; transform: translateY(-50%);
  width: 92px !important; height: 132px !important; cursor: pointer; z-index: 6; }
.po .deck:hover .deckcard:last-child { box-shadow: 0 0 0 3px #f0cf6a, 0 6px 18px #2a2d32; }
.po .deck::after { left: 0 !important; right: 0 !important; top: auto !important; bottom: -28px; transform: none !important; text-align: center; color: #f0cf6a !important; font-size: 15px; content: attr(data-left) ' übrig'; }
@media (max-width: 700px) { .po .deck { left: auto !important; right: 10px !important; top: auto !important; bottom: 120px !important; transform: none; width: 52px !important; height: 74px !important; } }
.po .face .small { color: #e9e4f6; }
.po .face .pill { background: rgba(255,255,255,.12); }
.po .face .pill.up { color: #5ef59a; } .po .face .pill.down { color: #ff8a9a; }
.po .face .art { width: 215px; height: 215px; }

/* Pack-Karten (Monster und Gegenstände): alle Texte hell */
.po .face { color: #fff; }
.po .face .pill { color: #fff; background: rgba(255,255,255,.14); }
.po .face .nm { color: #fff !important; }

/* Taktik: Bank direkt am Feld, Kader als kleine Kacheln ohne Scrollen (Marcus, 22.11.2026) */
.pitch-bench { justify-content: flex-start !important; gap: 8px !important; }
.lineup-wrap { grid-template-columns: auto minmax(330px, 1fr) !important; }
.bench.sq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; max-height: none; overflow: visible; }
.lineup-wrap .sq-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 5px; border-radius: 10px;
  background: #fff; border: 2px solid var(--rc); text-align: center; min-width: 0; }
.lineup-wrap .sq-tile .face { width: 44px !important; height: 44px !important; flex: 0 0 auto !important; border: 0 !important; background: #f1ede2 !important; }
.lineup-wrap .sq-tile.inxi { opacity: .55; }
.sq-nm { font-size: 12px; font-weight: 700; line-height: 1.15; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-nm b { color: #8a6510; }
.sq-meta { font-size: 11px; line-height: 1.2; min-height: 15px; }
.sq-val { font-size: 11px; font-weight: 800; background: #33363c; color: #f0cf6a; border-radius: 6px; padding: 0 6px; }
.sq-where { position: absolute; top: 3px; left: 3px; font-size: 9px; font-weight: 900; text-transform: uppercase; background: #33363c; color: #fff; border-radius: 4px; padding: 0 4px; }
.sq-where.w-sub { background: #6b6558; }
@media (max-width: 1000px) { .lineup-wrap { grid-template-columns: 1fr !important; } }
.pitch-bench > .tpitch { margin: 0 !important; }
.lineup-wrap { grid-template-columns: max-content minmax(330px, 1fr) !important; }
.lineup-wrap > div:first-child { max-width: 760px; }
.sq-where { height: auto !important; width: auto !important; line-height: 14px !important; display: inline-block !important; }
.lineup-wrap .sq-tile.inxi { opacity: .6; }
/* Taktik: linke Spalte genau Feld + Bank, Rest für den Kader (Marcus, 22.11.2026) */
@media (min-width: 1001px) {
  .lineup-wrap { grid-template-columns: calc(82vh * 68 / 105 + 96px) minmax(0, 1fr) !important; }
  .lineup-wrap > div:first-child { max-width: none; }
  .pitch-bench > .tpitch { width: calc(82vh * 68 / 105) !important; }
}
.bench.sq-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.lineup-wrap .sq-tile { padding: 8px 6px 7px; gap: 3px; }
.lineup-wrap .sq-tile .face { width: 60px !important; height: 60px !important; }
.sq-nm { font-size: 13px; }
.sq-val { font-size: 12px; }
.sq-stats { font-size: 10.5px; color: var(--muted); line-height: 1.2; }

/* Leere Seiten / Fehlerseite */
.empty-state { text-align: center; padding: 34px 20px; }
.empty-state .es-ic { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.empty-state h2, .empty-state h3 { margin: 0 0 6px; }
.empty-state p { color: var(--muted); max-width: 520px; margin: 0 auto 10px; }
.es-cd { display: inline-block; margin: 6px 0 4px; padding: 8px 14px; border-radius: 12px; background: #33363c; color: #fff; font-size: 14px; }
.es-cd b, .es-cd span { color: #f0cf6a; }
.es-act { margin-top: 10px; }

/* Pack-Karten: kräftige, gut lesbare Schilder und Texte (Marcus, 22.11.2026: „schlecht lesbar“) */
.po .face .pill, .po .face .pill.up, .po .face .pill.down { font-size: 13px !important; font-weight: 800 !important; padding: 3px 10px !important; border: 0 !important; text-shadow: none !important; opacity: 1 !important; }
.po .face .pill.up { background: #1f9d55 !important; color: #fff !important; }
.po .face .pill.down { background: #c2334a !important; color: #fff !important; }
.po .face .pill:not(.up):not(.down) { background: #f0cf6a !important; color: #33363c !important; }
.po .face .rl { color: #fff !important; text-shadow: 0 0 10px var(--rc), 0 1px 3px #2a2d32 !important; }
.po .face .small, .po .face .small.muted { color: #ece8f7 !important; }
.po .face .ab { color: #ffd23f !important; text-shadow: 0 1px 3px #2a2d32; }
/* Kartenstapel weiter rechts mit Hinweis zum Antippen (Marcus, 22.11.2026: „kartenhaufen weiter rechts und info dass man da drücken soll um zu ziehen“) */
.po .deck { left: calc(50% + 250px) !important; cursor: pointer; }
.po .deck::before { content: '👆 Hier tippen: nächste Karte ziehen'; position: absolute; left: 50%; top: -46px; transform: translateX(-50%); width: 150px; text-align: center;
  font-size: 13px; font-weight: 800; line-height: 1.2; color: #33363c; background: #f0cf6a; border-radius: 10px; padding: 5px 8px; box-shadow: 0 3px 10px #0008; animation: deckHint 1.6s ease-in-out infinite; }
@keyframes deckHint { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
@media (max-width: 900px) { .po .deck { left: auto !important; right: 14px !important; } .po .deck::before { width: 110px; font-size: 11px; left: auto; right: -6px; transform: none; animation: none; } }

/* Liga: Spieltage blättern */
.md-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.md-nav .inp { width: auto; min-width: 140px; }
.md-tag { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #ece7da; color: #33363c; }
.md-tag.on { background: #33363c; color: #f0cf6a; }

/* ---------- Spielzentrale (Marcus, 22.11.2026) ---------- */
.mc-head { background: radial-gradient(circle at 50% 0%, #3f434a 0%, #33363c 60%); color: #fff; border-radius: 18px; padding: 16px 18px 18px; margin-bottom: 14px; box-shadow: 0 8px 26px #0003; border: 1px solid #3f434a; }
.mc-comp { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: center; text-align: center; }
.mc-comp b { color: #f0cf6a; font-size: 15px; letter-spacing: .3px; }
.mc-comp .small, .mc-comp .muted { color: #d9d3c2 !important; }
.mc-hist { background: #f0cf6a; color: #33363c; font-size: 11px; font-weight: 900; text-transform: uppercase; border-radius: 6px; padding: 1px 7px; }
.mc-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 14px 0 10px; }
.mc-team { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff !important; text-decoration: none; text-align: center; min-width: 0; }
.mc-team:hover .mc-tn { color: #f0cf6a; }
.mc-logo { width: 74px; height: 74px; display: block; filter: drop-shadow(0 4px 10px #0008); }
.mc-logo svg { width: 100%; height: 100%; }
.mc-tn { font-weight: 900; font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; }
.mc-kit { width: 34px; height: 10px; border-radius: 4px; border: 1px solid #fff6; }
.mc-score { text-align: center; }
.mc-big { font-size: 58px; font-weight: 900; line-height: 1; background: #2a2d32; border: 2px solid #f0cf6a; border-radius: 14px; padding: 6px 18px; color: #fff; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.mc-big i { font-style: normal; color: #f0cf6a; margin: 0 6px; }
.mc-sub { font-size: 13px; color: #d9d3c2; margin-top: 6px; min-height: 16px; }
.mc-play { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mc-head .btn.ghost { color: #fff; border-color: #fff6; }
#mc-replay { margin-bottom: 14px; scroll-margin-top: 70px; }
.mc-grid { display: grid; grid-template-columns: 1fr minmax(240px, 300px) 1fr; gap: 12px; align-items: start; }
.mc-lu, .mc-stats { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-width: 0; }
.mc-lu-h { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 2px 2px 8px; }
.mc-lu-h .logo-mini { width: 26px; height: 26px; display: inline-block; }
.mc-lu-h .logo-mini svg { width: 100%; height: 100%; }
.mc-lu table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mc-lu th { background: #33363c; color: #f0cf6a; font-size: 11px; text-transform: uppercase; text-align: left; padding: 5px 6px; }
.mc-lu th:first-child { border-radius: 8px 0 0 8px; } .mc-lu th:last-child { border-radius: 0 8px 8px 0; }
.mc-lu td { padding: 5px 6px; border-bottom: 1px solid #efe9da; vertical-align: middle; }
.mc-lu tr.sub-in td { background: #faf7ee; }
.mc-lu tr.potm td { background: #fff4cf; }
.mc-lu td.nr { font-weight: 900; color: #8a6510; width: 26px; }
.mc-lu td.nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.mc-lu td.ic { white-space: nowrap; }
.mc-lu td.chg { white-space: nowrap; font-size: 12px; font-weight: 800; }
.mc-lu .in, .tl-in { color: #1f9d55; } .mc-lu .out, .tl-out { color: #c2334a; margin-left: 4px; }
.qd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 1px #0003; }
.mc-pos { display: inline-block; min-width: 30px; text-align: center; font-size: 11px; font-weight: 900; background: #ece7da; color: #33363c; border-radius: 5px; padding: 1px 4px; }
.mc-star { color: #d8a400; font-size: 15px; }
.mc-card { display: inline-block; width: 9px; height: 13px; border-radius: 2px; margin-right: 3px; vertical-align: middle; box-shadow: 0 0 0 1px #0003; }
.mc-card.y { background: #ffd23f; } .mc-card.r { background: #e5383b; } .mc-card.yr { background: linear-gradient(135deg, #ffd23f 50%, #e5383b 50%); }
.mc-ball { font-size: 12px; margin-right: 1px; }
.mc-as { font-size: 10px; font-weight: 900; background: #33363c; color: #f0cf6a; border-radius: 4px; padding: 0 4px; margin-left: 2px; vertical-align: middle; }
.mc-inj { color: #e5383b; font-weight: 900; margin-left: 3px; }
.mc-rt { display: inline-block; min-width: 34px; text-align: center; font-weight: 900; border-radius: 6px; padding: 1px 5px; background: #ece7da; color: #33363c; }
.mc-rt.hi { background: #33363c; color: #f0cf6a; } .mc-rt.gd { background: #1f9d55; color: #fff; } .mc-rt.lo { background: #c2334a; color: #fff; }
.mc-unused { font-size: 12px; color: var(--muted); margin-top: 6px; }
.mc-stats h3 { margin: 2px 0 8px; text-align: center; }
.mc-srow { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; text-align: center; font-size: 13px; padding: 4px 0 6px; border-bottom: 1px solid #efe9da; }
.mc-srow b { font-size: 15px; font-variant-numeric: tabular-nums; color: #6b6558; }
.mc-srow b.lead { color: #33363c; }
.mc-srow span { color: #3f434a; font-weight: 600; }
.mc-sbar { grid-column: 1 / -1; display: flex; gap: 3px; height: 5px; margin-top: 4px; }
.mc-sbar i { display: block; height: 100%; border-radius: 3px; background: #33363c; }
.mc-sbar i + i { background: #d8a400; }
.mc-tabs { margin-top: 16px; }
.mc-tabs button { color: #3f434a; background: #fff; }
.mc-tabs button.active { background: #33363c !important; color: #f0cf6a !important; border-color: #33363c !important; }
.mc-body { scroll-margin-top: 70px; }
.mc-rep { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
.mc-rep-text p { line-height: 1.6; margin: 0 0 10px; }
.mc-lead { font-size: 18px; font-weight: 800; }
.mc-ht { font-weight: 700; color: #8a6510; }
.mc-venue { display: flex; gap: 10px; align-items: center; background: #33363c; color: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.mc-venue svg { width: 84px; height: 84px; flex: 0 0 auto; }
.mc-venue .small { color: #d9d3c2 !important; }
.mc-att { color: #f0cf6a; font-weight: 900; font-size: 18px; }
.mc-potm { display: grid; grid-template-columns: 86px 1fr; gap: 8px; align-items: center; background: #fff4cf; border: 2px solid #d8a400; border-radius: 12px; padding: 8px; }
.mc-potm-h { grid-column: 1 / -1; font-weight: 900; color: #8a6510; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.mc-potm-art svg { width: 86px; height: 86px; }
.mc-potm-v { font-weight: 800; margin-top: 4px; }
.mc-tl { max-width: 820px; margin: 0 auto; }
.mc-tl-head { display: grid; grid-template-columns: 1fr 60px 1fr; text-align: center; margin-bottom: 6px; }
.mc-tl-head b:first-child { text-align: right; } .mc-tl-head b:last-child { text-align: left; }
.tl-row { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; min-height: 40px; }
.tl-min { justify-self: center; width: 44px; height: 30px; line-height: 30px; text-align: center; border-radius: 15px; background: #33363c; color: #f0cf6a; font-weight: 900; font-size: 13px; position: relative; z-index: 1; }
.tl-l, .tl-r { padding: 4px 10px; font-size: 14px; }
.tl-l { text-align: right; } .tl-r { text-align: left; }
.tl-row { background: linear-gradient(#ddd5c1, #ddd5c1) center / 2px 100% no-repeat; }
.tl-ic { margin-right: 4px; }
.tl-sc { font-weight: 900; background: #ece7da; border-radius: 5px; padding: 0 5px; }
.tl-mid { text-align: center; margin: 6px 0; }
.tl-mid span { display: inline-block; background: #f0cf6a; color: #33363c; font-weight: 900; font-size: 12px; border-radius: 999px; padding: 3px 12px; text-transform: uppercase; letter-spacing: .4px; }
.mc-full + .mc-full { margin-top: 18px; }
.mc-full h3 { display: flex; align-items: center; gap: 8px; }
.mc-full .logo-mini { width: 24px; height: 24px; display: inline-block; } .mc-full .logo-mini svg { width: 100%; height: 100%; }
.mc-full .tbl-wrap { overflow-x: auto; }
.mc-full td, .mc-full th { white-space: nowrap; text-align: center; }
.mc-full td:nth-child(2), .mc-full th:nth-child(2) { text-align: left; }
.mc-full tr.potm td { background: #fff4cf; }
.mc-full tr.sum td { font-weight: 900; border-top: 2px solid #33363c; }
@media (max-width: 1100px) { .mc-grid { grid-template-columns: 1fr 1fr; } .mc-stats { grid-column: 1 / -1; order: -1; } }
@media (max-width: 720px) { .mc-grid { grid-template-columns: 1fr; } .mc-rep { grid-template-columns: 1fr; } .mc-big { font-size: 40px; padding: 4px 12px; }
  .mc-logo { width: 52px; height: 52px; } .mc-tn { font-size: 14px; } .mc-tabs { flex-wrap: wrap; } .mc-tabs button { flex: 1 1 45%; } .mc-lu td.nm { max-width: 110px; } }

.sp-btns { display: flex; flex-direction: column; gap: 6px; }

/* Ergebnisliste: Startaufstellungen in den Details */
.rl-lu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rl-lu ol { list-style: none; margin: 4px 0; padding: 0; columns: 1; }
.rl-lu li { font-size: 13px; padding: 2px 0; border-bottom: 1px solid #efe9da; }
.rl-nr { color: #8a6510; display: inline-block; min-width: 18px; }
@media (max-width: 600px) { .rl-lu-grid { grid-template-columns: 1fr; } }

/* Ergebnisliste: Spielfelder in den Details */
.rl-pitches h2 { font-size: 15px; margin: 8px 0 4px !important; }
.rl-pitches .panel { padding: 8px; }
.rl-pitches .tpitch.small-pitch { max-width: 360px; margin: 0 auto; }

/* Trainer-Pool: Filter einklappbar */
.cf-wrap { margin: 8px 0; }
.cf-wrap > summary { cursor: pointer; font-weight: 800; padding: 6px 10px; background: #33363c; color: #f0cf6a; border-radius: 10px; display: inline-block; list-style: none; }
.cf-wrap > summary::-webkit-details-marker { display: none; }
.cf-wrap > summary .muted { color: #d9d3c2 !important; font-weight: 600; }
.cf-wrap[open] > summary { border-radius: 10px 10px 0 0; }
.cf-wrap[open] > .cfilter { margin-top: 0; border-radius: 0 10px 10px 10px; }
/* Trainingsplatz: eine Station je Wert */
.tg-statname { font-size: 15px; }

/* Wettbewerbe: Regeln */
.cup-rules ul { margin: 4px 0 0; padding-left: 18px; }
.cup-rules li { margin: 3px 0; }

/* Wettbewerbe: Paket-Übersicht */
.pass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pass-tile { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; background: #f1ede2; color: #8a8576; text-align: center; }
.pass-tile.has { background: #33363c; color: #fff; }
.pass-tile .pass-n { font-size: 20px; font-weight: 900; }
.pass-tile.has .pass-n { color: #f0cf6a; }
@media (max-width: 500px) { .pass-grid { grid-template-columns: repeat(2, 1fr); } }

/* Analyse (xG) */
.xg-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.xg-card { background: #33363c; color: #fff; border-radius: 12px; padding: 10px 12px; text-align: center; }
.xg-l { font-size: 12px; color: #d9d3c2; font-weight: 700; }
.xg-v { font-size: 24px; font-weight: 900; display: flex; justify-content: center; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.xg-v b:last-child { color: #f0cf6a; } .xg-v span { color: #8a8576; } .xg-v small { font-size: 11px; color: #d9d3c2; font-weight: 600; }
.xg-h { font-size: 11px; color: #bdb6a3; margin-top: 2px; }
.xg-chart { width: 100%; height: auto; display: block; background: #fff; border: 1px solid #ece6d6; border-radius: 10px; }
.xg-pt { cursor: help; }
.xg-leg { display: flex; gap: 14px; font-size: 13px; font-weight: 700; margin: 2px 0 6px; }
.xg-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.rl-xg { margin: 6px 0; }
@media (max-width: 800px) { .xg-cards { grid-template-columns: repeat(2, 1fr); } }

/* Spielkopf: Tore und Karten unter den Vereinen (Marcus, 22.11.2026) */
.mc-evs { font-size: 13px; color: #e9e4d6; line-height: 1.5; margin-top: 4px; }
.mc-evs b { color: #f0cf6a; }

/* Spielseite: Schalter erweiterte Ansicht */
.mc-prorow { margin: -4px 0 8px; }
.mc-pro { font-size: 13px; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }

/* Taktik: Positions-Eignung unter dem Monster */
.tok .zn .fit { font-weight: 900; padding: 0 3px; border-radius: 4px; }
.tok .zn .fit.ok { color: #fff; background: #1f9d55; } .tok .zn .fit.mid { color: #33363c; background: #f0cf6a; } .tok .zn .fit.bad { color: #fff; background: #c2334a; }

/* Finanzen neu */
.flage { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; border-left: 8px solid #1f9d55; }
.flage.mid { border-left-color: #d8a400; } .flage.bad { border-left-color: #c2334a; }
.fl-ic { font-size: 28px; }
.fkpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 12px 0 14px; }
.fkpi { background: #33363c; color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.fkpi span { font-size: 12px; color: #d9d3c2; font-weight: 700; }
.fkpi b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff; }
.fkpi b.pos { color: #5ef59a; } .fkpi b.negv { color: #ff8a9a; }
.fkpi small { font-size: 11px; color: #bdb6a3; }
.ftable td { padding: 5px 8px; }
.ftable .fhead td { font-weight: 900; background: #f1ede2; text-transform: uppercase; font-size: 12px; letter-spacing: .4px; }
.ftable .fsub td { font-weight: 800; border-top: 1px solid #d8d0bc; }
.ftable .ftotal td { font-weight: 900; font-size: 16px; border-top: 2px solid #33363c; }
.fnum { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inc { color: #1f7a45; } .exp { color: #b3263e; }
.fsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.fsum div { background: #f6f3ea; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; }
.fsum span { font-size: 12px; color: #6b6558; font-weight: 700; } .fsum b { font-size: 18px; font-variant-numeric: tabular-nums; }
.fgrp { border-bottom: 1px solid #efe9da; }
.fgrp > summary { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px; cursor: pointer; list-style: none; }
.fgrp > summary::-webkit-details-marker { display: none; }
.fgrp > summary::before { content: '▸'; margin-right: 6px; color: #8a6510; }
.fgrp[open] > summary::before { content: '▾'; }
.fg-n { flex: 1; font-weight: 700; } .fg-h { display: block; font-size: 11px; color: #8a8576; font-weight: 500; }
.fg-item { display: flex; justify-content: space-between; padding: 3px 4px 3px 22px; font-size: 13px; color: #3f434a; }
@media (max-width: 900px) { .fkpis { grid-template-columns: repeat(2, 1fr); } }

/* ===== Geräte-Optimierung (Marcus, 22.11.2026: „Optimiere wieder alle Seiten, auch für Mobil, für Tablet und für Browser“) ===== */
/* Kopfzeile: Titel kürzt sich statt umzubrechen; Handy zweizeilig: oben Menü/Logo/Titel/Knöpfe, unten Kasse */
.topbar .page-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap !important; row-gap: 6px !important; column-gap: 8px !important; }
  .topbar .page-title { flex: 1 1 0; font-size: 18px !important; }
  .topbar .spacer { display: none; }
  .topbar .wallet { order: 10; flex: 1 1 100% !important; justify-content: flex-end; gap: 6px; }
  .topbar .fb-btn { padding: 4px 8px !important; }
  .topbar .fb-btn .fb-txt { display: none; }
}
@media (max-width: 600px) {
  .topbar .beta-badge { display: none; }
  .topbar .teamlogo { width: 30px; height: 30px; }
  .topbar .adm-txt { display: none; }
  .topbar .wallet .money, .topbar .wallet .coin { font-size: 13px !important; padding: 4px 9px !important; }
  .topbar .wallet .lvl { display: none; }
}
/* Tutorial auf dem Handy: nie mehr als die halbe Höhe */
@media (max-width: 700px) {
  .guide:not(.min) { width: calc(100vw - 16px) !important; max-height: 55vh; display: flex; flex-direction: column; }
  .guide:not(.min) .gd-body { max-height: none; overflow-y: auto; flex: 1 1 auto; }
  .guide .gd-t { font-size: 15px; }
}
/* Reiter: auf schmalen Geräten umbrechen statt abschneiden */
@media (max-width: 700px) {
  .tr-tabs { flex-wrap: wrap; gap: 4px; border-bottom-width: 2px; }
  .tr-tabs a { flex: 1 1 calc(50% - 4px); text-align: center; padding: 9px 8px; margin-right: 0; border-radius: 10px; font-size: 14px; }
  .tabs, .mc-tabs, .ttabs { flex-wrap: wrap; }
  .tabs button, .mc-tabs button { flex: 1 1 calc(50% - 6px); font-size: 14px; padding: 9px 6px; }
}

/* Filter mit Beschriftung: Beschriftung über dem Feld, auf dem Handy volle Breite */
.kf { display: inline-flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); font-weight: 700; }
@media (max-width: 600px) { .kf { flex: 1 1 calc(50% - 8px); min-width: 0; } .kf .inp { width: 100%; min-width: 0; } }
/* Taktik auf Handy/Tablet: Feld + Bank oben, Kader darunter – nichts ragt heraus (Geräte-Optimierung 22.11.2026) */
@media (max-width: 1000px) {
  .lineup-wrap { grid-template-columns: minmax(0, 1fr) !important; }
  .lineup-wrap > div:first-child { max-width: 100% !important; }
  .lineup-wrap .row { flex-wrap: wrap; }
  .pitch-bench { justify-content: center !important; max-width: 100%; }
  .pitch-bench > .tpitch { flex: 1 1 auto !important; width: auto !important; max-width: min(560px, calc(100% - 70px)) !important; }
  .squad-drop { max-width: 100%; overflow: hidden; }
  .squad-drop .row { flex-wrap: wrap; }
}
/* Aufstellungstabelle der Spielseite auf sehr kleinen Handys */
@media (max-width: 420px) {
  .mc-lu table { font-size: 11.5px; }
  .mc-lu th, .mc-lu td { padding: 4px 3px; }
  .mc-lu td.nm { max-width: 78px; }
  .mc-lu .mc-pos { min-width: 0; padding: 1px 3px; font-size: 10px; }
  .mc-lu .mc-rt { min-width: 28px; padding: 1px 3px; }
  .mc-lu td.chg { font-size: 10.5px; }
}
/* Taktik-Regeln auf sehr kleinen Handys: eine Spalte, Auswahlfelder in voller Breite */
@media (max-width: 480px) {
  .rbody { grid-template-columns: minmax(0, 1fr) !important; }
  .rbody > div { min-width: 0; }
  .rbody label, .rbody .rcond { flex-wrap: wrap; max-width: 100%; }
  .rbody select.inp, .rbody .inp { max-width: 100%; min-width: 0; }
}

/* Meldungen: kompakter auf dem Handy, „weitere“-Hinweis */
.toast.more { font-size: 13px; opacity: .92; }
@media (max-width: 600px) { #toast-root .toast { font-size: 13px; padding: 8px 12px; } }
/* Fenster (Monster, Verhandlung …) liegen immer über dem Tutorial */
.modal-bg { z-index: 120 !important; }

/* Gesperrte/zu teure Packs: Knopf eindeutig inaktiv */
.pack .btn.is-locked { background: #d9d4c6 !important; color: #6b6558 !important; box-shadow: none !important; cursor: not-allowed; }
/* Spiele-/Ergebnisliste auf dem Handy: Vereinsnamen bis zu zwei Zeilen statt „Real Brü…“, Logos/KI-Schild kompakter */
@media (max-width: 760px) {
  .rl-row { grid-template-columns: 40px minmax(0, 1fr) 58px minmax(0, 1fr) 26px !important; }
  .rl-home a, .rl-away a { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; word-break: break-word; }
  .rl-time { font-size: 13px; }
  .rl-home .badge-ai, .rl-away .badge-ai { font-size: 9px; padding: 0 3px; }
}
@media (max-width: 420px) {
  .rl-home .logo-sm, .rl-away .logo-sm, .rl-home svg, .rl-away svg { display: none; }
}

.warn-box { background: #fff4cf !important; border-left: 6px solid #d8a400; font-size: 14px; margin-bottom: 14px; }
/* Audit 23.11.: Aufstellungstabelle im Spielbericht passt auf jede Breite (feste Spalten, Name kürzt, Wechsel/Karten umbrechen) */
.mc-lu table { table-layout: fixed; }
.mc-lu th:nth-child(1) { width: 26px; } .mc-lu th:nth-child(2) { width: 40px; } .mc-lu th:nth-child(4) { width: 34px; }
.mc-lu th:nth-child(5) { width: 44px; } .mc-lu th:nth-child(6) { width: 58px; }
.mc-lu td.nm { max-width: none; }
.mc-lu td.ic, .mc-lu td.chg { white-space: normal; }
.mc-lu td.chg span { display: inline-block; white-space: nowrap; }
@media (max-width: 400px) {
  .mc-lu { padding: 6px; }
  .mc-lu th, .mc-lu td { padding: 4px 2px; }
  .mc-lu th:nth-child(2) { width: 32px; } .mc-lu th:nth-child(4) { width: 26px; } .mc-lu th:nth-child(5) { width: 36px; } .mc-lu th:nth-child(6) { width: 46px; }
}
.mc-lu th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Höchstwert erreicht (23.11.2026): goldener Balken + „MAX“-Abzeichen in Spielerkarte und Trainingsplatz */
.max-badge { display: inline-block; font-size: 9.5px; font-weight: 900; letter-spacing: .5px; line-height: 1; padding: 2px 5px; border-radius: 6px; vertical-align: middle;
  color: #3a2600; background: linear-gradient(135deg, #fff3b0, #ffc531 45%, #d99a00); box-shadow: 0 0 0 1px #b07c00, 0 0 8px rgba(255, 197, 49, .7); }
.stat.is-max .bar i { background: linear-gradient(90deg, #ffd65a, #ffb300, #ffe58a, #ffb300); background-size: 200% 100%; animation: maxshine 2.4s linear infinite;
  box-shadow: 0 0 8px rgba(255, 179, 0, .6); }
.stat.is-max b { color: #b07c00; }
@keyframes maxshine { from { background-position: 0 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .stat.is-max .bar i { animation: none; } }
.tg-mon.maxed { background: repeating-linear-gradient(135deg, #f3ecd9 0 8px, #ebe2c8 8px 16px); box-shadow: inset 0 0 0 2px #ffc531; }
.tg-mon.maxed .tg-val { background: #ffc531; color: #3a2600; }
.tg-mon.maxed .tg-face { filter: saturate(.75); }
.stat .bar .bar-max { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 8.5px; padding: 1px 4px; }
.stat.is-max .bar { overflow: visible; }
.stat > b { white-space: nowrap; }
/* Scouting-Bericht (23.11.2026) */
.scout-box { margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #f1f6ff, #e7efff); border: 1px solid #b9cdf3; }
.scout-box.todo { background: #f6f4ee; border-style: dashed; border-color: #c9bf9f; }
.scout-box .sc-h { font-weight: 900; font-size: 14px; margin-bottom: 6px; }
.scout-box .sc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; font-size: 13px; }
.scout-box .sc-l { min-width: 84px; color: #5b6478; font-size: 12px; font-weight: 700; }
.scout-box .sc-stars { color: #f0a500; font-size: 17px; letter-spacing: 1px; text-shadow: 0 1px 0 #7a5200; }
.scout-box .sc-stars i { color: #c9c3b0; font-style: normal; text-shadow: none; }
.scout-box .sc-w { color: #1d2b4f; }
.scout-box .sc-t { margin: 0 0 6px; font-style: italic; font-size: 12.5px; color: #3a4460; }
.stat .bar em.fin { background: #1d2b4f; width: 3px; top: -4px; bottom: -4px; border-radius: 2px; opacity: .85; }
.max-badge.final { color: #fff; background: linear-gradient(135deg, #5b4a78, #2a2140); box-shadow: 0 0 0 1px #33363c, 0 0 8px rgba(91, 74, 120, .6); }
.tg-mon.maxed .max-badge.final + * {}

/* Würfel-Knopf in der Spielerkarte dezent (Marcus, 23.11.2026: „zu schwarz, zu dominant … ein bisschen dezenter … schöner“) */
.reroll-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; cursor: pointer;
  font: 700 12.5px/1.2 inherit; font-family: inherit; color: #6b4e10; background: #fffaf0; border: 1.5px solid #e6d3a3; box-shadow: none; transition: background .15s, border-color .15s; }
.reroll-btn .rr-ic { font-size: 15px; }
.reroll-btn .rr-n { font-weight: 800; font-size: 11px; color: #8a6a1f; background: #f3e6c4; border-radius: 999px; padding: 1px 7px; }
.reroll-btn:hover:not(:disabled) { background: #fff1cc; border-color: #d9b45a; }
.reroll-btn:disabled { opacity: .55; cursor: not-allowed; }
/* ---------- Transfermarkt (23.11.2026) ---------- */
.mk-head h2 { margin: 0 0 6px; }
.mk-rules { margin: 4px 0 10px; padding-left: 18px; line-height: 1.5; }
.mk-kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-kpis > div { flex: 1 1 160px; background: #33363c; color: #fff; border-radius: 12px; padding: 8px 12px; }
.mk-kpis span { display: block; font-size: 11px; color: #f0cf6a; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.mk-kpis b { font-size: 17px; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 14px 0; }
.mk-card { background: #fff; border-radius: 16px; border: 2px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.06); padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  border-top: 5px solid var(--rc); }
.mk-card.soon { border-color: #ffb300; box-shadow: 0 0 0 3px rgba(255,179,0,.25), 0 8px 22px rgba(0,0,0,.08); }
.mk-card.has-bid { background: linear-gradient(180deg, #fffaf0, #fff); }
.mk-top { display: flex; gap: 10px; align-items: flex-start; }
.mk-art { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, #efe9da); overflow: hidden; box-shadow: inset 0 0 0 2px var(--rc); }
.mk-art svg { width: 100%; height: 100%; }
.mk-id { flex: 1; min-width: 0; }
.mk-n { font-weight: 900; font-size: 17px; }
.mk-watch { flex: 0 0 auto; border: none; background: #f3efe3; color: #a07a12; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; line-height: 1; }
.mk-watch.on { background: #ffe9a6; color: #b07c00; box-shadow: 0 0 0 2px #ffc531; }
.mk-time { display: flex; justify-content: space-between; align-items: center; background: #33363c; color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 13px; }
.mk-time b { color: #ffd23f; font-size: 16px; font-variant-numeric: tabular-nums; }
.mk-card.soon .mk-time { background: linear-gradient(90deg, #b3261e, #e0571b); }
.mk-bidrow { display: flex; gap: 6px; margin-top: 4px; }
.mk-bidrow .inp { flex: 1; min-width: 0; }
.mk-my { color: #1f7a3a; }
.mk-more summary { cursor: pointer; font-weight: 800; font-size: 13px; color: #6b4e10; }
.mk-more .scout-box { margin-top: 6px; }
.mk-hface { display: inline-block; width: 26px; height: 26px; vertical-align: middle; }
.mk-hface svg { width: 100%; height: 100%; }
/* Zuschlag-Grafik */
.mk-reveal { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 24, .72); display: flex; align-items: center; justify-content: center; overflow: hidden; animation: mkfade .25s ease-out; }
.mk-rv-card { position: relative; z-index: 2; background: radial-gradient(circle at 50% 0%, #fff7d6, #fff 60%); border-radius: 22px; padding: 22px 26px; text-align: center; width: min(420px, 92vw);
  box-shadow: 0 0 0 4px var(--rc), 0 20px 60px rgba(0,0,0,.45); animation: mkpop .5s cubic-bezier(.2, 1.6, .4, 1); }
.mk-rv-k { font-weight: 900; font-size: 22px; letter-spacing: .5px; color: #b07c00; }
.mk-reveal.mine .mk-rv-k { font-size: 26px; color: #1f9d55; }
.mk-rv-art { width: 180px; height: 180px; margin: 6px auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); animation: mkbounce 1.2s ease-in-out infinite alternate; }
.mk-rv-art svg { width: 100%; height: 100%; }
.mk-rv-n { font-size: 22px; font-weight: 900; }
.mk-rv-w { margin-top: 4px; font-size: 15px; }
.mk-rv-p { font-size: 26px; font-weight: 900; color: #33363c; margin: 4px 0 10px; }
.mk-conf { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; z-index: 1; animation: mkfall linear forwards; }
@keyframes mkfall { to { top: 110vh; transform: rotate(720deg) translateX(40px); } }
@keyframes mkpop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes mkfade { from { opacity: 0; } }
@keyframes mkbounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mk-rv-art, .mk-rv-card, .mk-conf { animation: none; } .mk-conf { display: none; } }
@media (max-width: 420px) { .mk-grid { grid-template-columns: 1fr; } .mk-art { width: 60px; height: 60px; flex-basis: 60px; } }
.mk-grid { align-items: start; }
.mk-card .stats2 { display: block; }
.mk-card .stat { grid-template-columns: 112px 1fr 44px; }
.mk-time span { min-width: 0; }
.mk-time { flex-wrap: wrap; gap: 2px 8px; }
.mk-time span, .mk-time b { white-space: nowrap; }
.mk-time b { font-size: 14px; }

/* Scouting-Enthüllung (23.11.2026) */
.sr-ov { position: fixed; inset: 0; z-index: 210; background: radial-gradient(circle at 50% 40%, rgba(30, 22, 70, .82), rgba(8, 6, 20, .94)); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px; }
.sr-card { position: relative; z-index: 2; width: min(440px, 96vw); max-height: 96vh; overflow: auto; background: linear-gradient(180deg, #fffdf5, #fff); border-radius: 22px; padding: 16px 18px; text-align: center;
  box-shadow: 0 0 0 4px var(--rc), 0 24px 70px rgba(42, 45, 50, .5); animation: mkpop .45s cubic-bezier(.2, 1.6, .4, 1); }
.sr-h { font-weight: 900; font-size: 18px; letter-spacing: .4px; }
.sr-art { width: 130px; height: 130px; margin: 6px auto 2px; animation: srwiggle 1.4s ease-in-out infinite; }
.sr-art svg { width: 100%; height: 100%; }
.sr-name { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.sr-step { opacity: .18; filter: blur(3px); transform: scale(.96); transition: opacity .45s, filter .45s, transform .45s; margin: 6px 0; padding: 8px 10px; border-radius: 12px; background: #f6f3ea; }
.sr-step.open { opacity: 1; filter: none; transform: none; animation: srflash .7s ease-out; }
.sr-l { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; color: #6b6450; margin-bottom: 4px; }
.sr-v { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; align-items: center; }
.sr-chip { font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.sr-chip.up { background: #dff6e7; color: #157a3c; } .sr-chip.down { background: #fde2e2; color: #b3261e; }
.sr-stars i { font-style: normal; font-size: 22px; color: #cfc8b4; display: inline-block; }
.sr-stars.big i { font-size: 34px; }
.sr-step.open .sr-stars i.on { color: #f0a500; text-shadow: 0 0 10px rgba(255, 190, 0, .8); animation: srstar .5s cubic-bezier(.2, 1.8, .4, 1) both; }
.sr-word { font-size: 24px; font-weight: 900; margin-top: 4px; }
.sr-word.t6 { background: linear-gradient(90deg, #ff9a00, #ffd23f, #ff4fa3); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 30px; }
.sr-word.t5 { color: #1f9d55; } .sr-word.t2 { color: #b3261e; }
.sr-text { font-style: italic; font-size: 14px; color: #3a4460; }
.sr-drum { min-height: 20px; font-style: italic; color: #6b6450; animation: srpulse 1s ease-in-out infinite; }
.sr-btns { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.sr-ov.star .sr-card { box-shadow: 0 0 0 4px #ffc531, 0 0 60px rgba(255, 197, 49, .7), 0 24px 70px rgba(42, 45, 50, .5); }
@keyframes srflash { 0% { background: #fff6c8; transform: scale(1.06); } 100% { background: #f6f3ea; transform: none; } }
@keyframes srstar { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }
@keyframes srwiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-3px); } }
@keyframes srpulse { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .sr-art, .sr-step.open, .sr-step.open .sr-stars i.on, .sr-drum { animation: none; } }
/* verdeckte Schritte verraten nichts: Inhalt unsichtbar, nur Fragezeichen */
.sr-step { opacity: .55; filter: none; position: relative; }
.sr-step:not(.open) .sr-v, .sr-step:not(.open) .sr-word, .sr-step:not(.open) .sr-text { visibility: hidden; }
.sr-step:not(.open)::after { content: '? ? ?'; position: absolute; left: 0; right: 0; bottom: 8px; font-weight: 900; color: #b9b19a; letter-spacing: 4px; }
.sr-final:not(.open)::after { bottom: 40%; font-size: 22px; }
/* Schriftzug „MonsterLiga“: Unterlänge des „g“ und kursiver Überhang wurden vom Text-Farbverlauf abgeschnitten (Marcus, 23.11.2026) */
.logo { padding: 0 .14em .08em 0; }
.logo.big { line-height: 1.18; padding-bottom: .12em; }

/* ---------- Burger-Menü überall (23.11.2026): Menü als Seitenleiste links, Seitentitel voll sichtbar ---------- */
.topbar .menu-btn, .menu-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  border: 1px solid #5c4a14; background: #3f434a; color: #f0cf6a; font-size: 22px; cursor: pointer; }
.side-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(280px, 82vw); z-index: 160; background: #33363c; border-right: 2px solid #5c4a14;
  display: flex; flex-direction: column; gap: 2px; padding: 0 10px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  transform: translateX(-105%); transition: transform .22s ease-out; box-shadow: 8px 0 30px rgba(0,0,0,.4); }
body.nav-open .side-nav { transform: none; }
.side-nav .sn-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 10px; background: #33363c; color: #f0cf6a; font-size: 18px; font-style: italic; z-index: 1; }
.side-nav .sn-x { border: none; background: #3f434a; color: #f0cf6a; width: 36px; height: 36px; border-radius: 10px; font-size: 18px; cursor: pointer; }
.side-nav a { display: block; color: #e9e4d6; text-decoration: none; font-weight: 800; font-size: 16px; padding: 11px 14px; border-radius: 10px; }
.side-nav a:hover { background: #3f434a; color: #f0cf6a; }
.side-nav a.active { background: #f0cf6a; color: #33363c; }
.nav-backdrop { position: fixed; inset: 0; z-index: 155; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
.topbar .page-title { overflow: visible !important; text-overflow: clip !important; flex: 0 1 auto !important; }
@media (prefers-reduced-motion: reduce) { .side-nav, .nav-backdrop { transition: none; } }

.mk-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-ov { flex: 1 1 80px; background: #f6f3ea; border-radius: 10px; padding: 5px 8px; }
.mk-ov span { display: block; font-size: 10.5px; font-weight: 800; color: #6b6450; text-transform: uppercase; letter-spacing: .3px; }
.mk-ov b { font-size: 17px; }
.mk-st { color: #f0a500; letter-spacing: 1px; } .mk-st i { color: #cfc8b4; font-style: normal; }
.mk-best { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-traits { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.mk-tr b { margin-right: 4px; }
.mk-tr .fx { font-size: 11px; }
/* Desktop: Menü fest links, Handy/Tablet hochkant: Burger-Menü (Marcus, 23.11.2026) */
@media (min-width: 1024px) {
  body { --side-w: 220px; }
  .side-nav { transform: none !important; width: var(--side-w); top: 0; box-shadow: none; z-index: 120; padding-top: 0; }
  .side-nav .sn-x { display: none; }
  .side-nav .sn-head { padding-top: 18px; }
  .side-nav a { font-size: 15px; padding: 9px 14px; }
  .nav-backdrop { display: none !important; }
  .topbar .menu-btn, .menu-btn { display: none !important; }
  body.has-side { padding-left: var(--side-w); }
}

/* Scouting-Bericht, neu gestaltet (23.11.2026) */
.sb2 { margin: 8px 0; border-radius: 14px; overflow: hidden; border: 1px solid #d9d2bd; background: #fff; }
.sb2-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 12px; background: #33363c; color: #f0cf6a; font-weight: 900; font-size: 14px; }
.sb2-h small { color: #bdb59b; font-weight: 700; font-size: 11px; }
.sb2-talent { text-align: center; padding: 10px 12px 8px; background: linear-gradient(180deg, #fffaf0, #fff); border-bottom: 1px solid #efe9da; }
.sb2-talent .sc-stars { font-size: 24px; }
.sb2-w { font-size: 18px; font-weight: 900; margin-top: 2px; }
.sb2-talent.t6 .sb2-w { color: #c77700; } .sb2-talent.t5 .sb2-w { color: #1f9d55; } .sb2-talent.t2 .sb2-w { color: #b3261e; }
.sb2-q { font-style: italic; font-size: 12.5px; color: #4a5268; margin-top: 2px; line-height: 1.35; }
.sb2-k { font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; color: #6b6450; margin-bottom: 3px; }
.sb2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px 0; }
.sb2-tile { border-radius: 10px; padding: 7px 10px; }
.sb2-tile.up { background: #e9f8ef; } .sb2-tile.up .sb2-i { color: #157a3c; }
.sb2-tile.down { background: #fdecec; } .sb2-tile.down .sb2-i { color: #b3261e; }
.sb2-i { font-weight: 800; font-size: 13.5px; line-height: 1.5; }
.sb2-tile.train { margin: 8px 10px 10px; background: #f6f3ea; }
.sb2-tr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sb2-tr .sc-stars { font-size: 17px; }
.sb2 .sc-stars { color: #f0a500; letter-spacing: 1px; text-shadow: 0 1px 0 #7a5200; } .sb2 .sc-stars i { color: #cfc8b4; font-style: normal; text-shadow: none; }
.sb2-h { flex-wrap: wrap; } .sb2-h span { white-space: nowrap; }
.sb2-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sb2-i { white-space: nowrap; }

/* Mehrwert beim Bauen (23.11.2026) */
.gain { font-size: 12.5px; margin-top: 3px; padding: 4px 8px; border-radius: 8px; line-height: 1.4; }
.gain.pos { background: #e9f8ef; color: #135f30; } .gain.neg { background: #fdf1e6; color: #8a4a10; } .gain.none { background: #f3f1ea; color: #6b6450; }

/* Zeitstreifen unter der Spielansicht (23.11.2026) */
.mtl { margin: 8px 2px 0; user-select: none; }
.mtl-bar { position: relative; height: 26px; border-radius: 13px; background: #3f434a; cursor: pointer; touch-action: none; overflow: visible; }
.mtl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 13px; background: linear-gradient(90deg, #8a6510, #f0cf6a); }
.mtl-cap { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 0 13px 13px 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 6px, rgba(0,0,0,.25) 6px 12px); }
.mtl-half { position: absolute; top: 3px; bottom: 3px; width: 2px; background: rgba(255,255,255,.35); }
.mtl-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #f0cf6a, 0 2px 6px rgba(0,0,0,.4); }
.mtl-marks { position: absolute; inset: 0; pointer-events: none; }
.mtl-m { position: absolute; top: -14px; transform: translateX(-50%); border: none; background: #fff; border-radius: 8px; padding: 0 3px; font-size: 13px; line-height: 18px; cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.mtl-m.away { top: 22px; }
.mtl-m.injury { color: #c2334a; font-weight: 900; }
.mtl-lab { position: relative; height: 16px; margin-top: 16px; font-size: 11px; color: #6b6450; font-weight: 700; }
.mtl-lab span:first-child { position: absolute; left: 0; } .mtl-lab .mtl-mid { position: absolute; transform: translateX(-50%); } .mtl-lab .mtl-end { position: absolute; right: 0; }
/* Eignungs-Anzeige auf dem Taktikfeld gut lesbar (Marcus, 23.11.2026: „Das Schwarze hier … kann ich nicht lesen“): kein Schatten, größere Schrift, klare Kontraste */
.tok .zn .fit { text-shadow: none !important; font-size: 11.5px; padding: 1px 6px; border-radius: 6px; box-shadow: 0 0 0 1.5px rgba(42, 45, 50, .55), 0 1px 3px rgba(42, 45, 50, .5); }
.tok .zn .fit.ok { color: #fff; background: #168a47; }
.tok .zn .fit.mid { color: #33363c; background: #ffd84a; }
.tok .zn .fit.bad { color: #fff; background: #c2334a; }
.tg-head .tg-clear { float: right; margin: -4px 0 4px 8px; background: #fff; }

/* Kader: ungescoutet-Abzeichen und Rückennummer direkt auf der Karte (23.11.2026) */
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.unsc-badge { font-size: 11px; font-weight: 800; color: #5a4a1a; background: #fff3c4; border: 1px dashed #c9a227; border-radius: 999px; padding: 2px 8px; }
.kc-nr { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #6b6450; margin-left: auto; }
.kc-nr input { width: 52px; padding: 3px 6px; border: 1px solid #d9d2bd; border-radius: 8px; font: inherit; font-weight: 900; text-align: center; background: #fff; }

/* Freundschaftsspiele: Freunde als Knöpfe (23.11.2026) */
.fr-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border: 1.5px solid #d9d2bd; background: #fff; border-radius: 12px; padding: 7px 12px; cursor: pointer; font: inherit; text-align: left; }
.fr-pick span { font-size: 12px; color: #6b6450; }
.fr-pick:hover { border-color: #c9a227; background: #fffaf0; }
.fr-pick.on { border-color: #1f9d55; background: #e9f8ef; box-shadow: 0 0 0 2px rgba(31,157,85,.25); }

/* Admin: Maßnahmen-Kasten aufgeräumt (Marcus, 23.11.2026) */
.adm-acts { display: grid; gap: 10px; }
.adm-act { border: 1px solid var(--line); border-radius: 14px; background: #fffdf7; padding: 10px 12px 12px; border-left-width: 5px; }
.adm-act.adm-ban { border-left-color: #c0263d; } .adm-act.adm-money { border-left-color: #c9a227; } .adm-act.adm-msg { border-left-color: #2b6cb0; } .adm-act.adm-misc { border-left-color: #8a8270; }
.adm-act-h { font-weight: 900; font-size: 13px; letter-spacing: .02em; margin-bottom: 8px; }
.adm-act-b { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.adm-f { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.adm-f > span { font-size: 11px; font-weight: 800; color: #6b6450; text-transform: uppercase; letter-spacing: .04em; }
.adm-f .inp { width: 100%; box-sizing: border-box; height: 40px; padding: 0 10px; font: inherit; }
.adm-f.grow { flex: 1 1 200px; } .adm-f.w-s { flex: 0 1 150px; }
.adm-f .inp:focus { outline: none; border-color: #c9a227; box-shadow: 0 0 0 3px rgba(201,162,39,.2); }
.adm-btn { height: 40px; padding: 0 16px; border-radius: 10px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.adm-btn.ok { background: linear-gradient(135deg, #2fbf6b, #1f9d55); color: #fff; box-shadow: 0 4px 0 #11663a; }
.adm-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .adm-f.w-s { flex: 1 1 120px; } .adm-btns, .adm-btns .adm-btn, .adm-act-b > .adm-btn { flex: 1 1 auto; } }

/* Eigene Sicherheitsabfrage im Spiel-Design (23.11.2026) */
.ask-bg { position: fixed; inset: 0; z-index: 9000; background: rgba(20, 16, 8, .55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; animation: askIn .16s ease-out; }
.ask-bg.out { animation: askOut .16s ease-in forwards; }
.ask-box { width: min(420px, 100%); background: linear-gradient(180deg, #fffdf6, #fff6df); border: 2px solid #c9a227; border-radius: 20px; padding: 22px 20px 18px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 1px 0 #fff; animation: askPop .22s cubic-bezier(.2,1.4,.4,1); }
.ask-box.danger { border-color: #e0475b; }
.ask-ico { font-size: 38px; line-height: 1; margin-bottom: 6px; }
.ask-title { font-weight: 900; font-size: 19px; margin-bottom: 8px; }
.ask-text { color: #4a4433; font-size: 14.5px; line-height: 1.45; }
.ask-text p { margin: 0 0 8px; }
.ask-btns { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.ask-btns .btn { min-width: 130px; flex: 1 1 130px; }
@keyframes askIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes askOut { to { opacity: 0; } }
@keyframes askPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Manager-Level-Übersicht (23.11.2026) */
a.lvl { text-decoration: none; cursor: pointer; }
a.lvl:hover { filter: brightness(1.1); text-decoration: underline; }
.lvl-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.lvl-badge { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #c9a227 70%, #8a6b10); color: #3f434a; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(201,162,39,.45), inset 0 2px 0 rgba(255,255,255,.6); flex: none; }
.lvl-badge span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.lvl-badge b { font-size: 36px; line-height: 1; font-weight: 900; }
.xpbar.big { height: 14px; margin-top: 8px; }
.lvl-src { display: grid; gap: 10px; }
.lvl-src > div { display: flex; gap: 10px; align-items: flex-start; }
.lvl-src .ico { font-size: 22px; width: 30px; text-align: center; flex: none; }
.lvl-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lvl-tab th, .lvl-tab td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lvl-tab tr.cur td { background: #fff6d6; }

/* Transfermarkt: alle Karten gleich groß (Marcus, 23.11.2026: „dass die alle gleich groß, lang und so weiter sind und alle Werte ordentlich hinpassen“) */
.mk-grid { align-items: stretch; grid-auto-rows: 1fr; }
.mk-card { height: 100%; box-sizing: border-box; }
.mk-card .mk-top { min-height: 74px; }
.mk-card .mk-id { min-width: 0; }
.mk-card .mk-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card .mk-best { height: 52px; overflow: hidden; align-content: flex-start; }
.mk-card .mk-traits { min-height: 64px; }
.mk-card .mk-time { margin-top: auto; }
.mk-quick { flex-wrap: nowrap; }
.mk-quick .mk-ov { flex: 1 1 0; min-width: 0; }
.mk-more-btn { background: none; border: 0; padding: 2px 0; font: inherit; font-weight: 800; font-size: 13px; color: #6b4e10; cursor: pointer; text-align: left; }
.mk-more-btn:hover { text-decoration: underline; }
.mk-modal .mk-art { width: 72px; height: 72px; flex: 0 0 72px; }
.mk-modal .mk-top { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; padding-right: 36px; }
.mk-modal .stats2 { display: block; }

/* Erfolge: Kategorienamen einzeilig (Marcus, 23.11.2026: „Sammeln und Entwicklung in 2 Reihen. Das sieht nicht so schön aus.“) */
@media (min-width: 901px) { .ach-layout { grid-template-columns: minmax(240px, max-content) minmax(0, 1fr); } }
.ach-tab > span { white-space: nowrap; flex: none; }
.ach-tab small { flex: none; }
.ach-cat-line > span:first-child { white-space: nowrap; }
@media (max-width: 900px) { .ach-tab { flex: 1 1 200px; } }

/* Taktik Plan B/C: Feld + Spielweise nebeneinander (23.11.2026) */
.lineup-wrap.plan-wrap { grid-template-columns: auto minmax(300px, 1fr) !important; }
@media (max-width: 1000px) { .lineup-wrap.plan-wrap { grid-template-columns: minmax(0, 1fr) !important; } }

/* Taktik-XML im großen Fenster (23.11.2026) */
.modal:has(.xml-modal) { width: min(860px, 96vw); max-width: 96vw; }
.xml-ta { width: 100%; box-sizing: border-box; min-height: 52vh; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: auto; resize: vertical; }
.mk-quick .mk-st { white-space: nowrap; font-size: 13px; letter-spacing: -1px; }

/* Büro „Nächstes Spiel“ auf dem Handy: Namen nicht mitten im Wort trennen, Countdown kleiner (23.11.2026) */
@media (max-width: 560px) {
  .vscard { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 10px 8px; }
  .vsteam { font-size: 12.5px; overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .vsteam b { display: block; max-width: 100%; }
  .vsmid .countdown { font-size: 17px; white-space: nowrap; }
  .vsmid .vs { font-size: 30px; }
}

.ab-big.locked { background: #f3efe3; border-style: dashed; color: #6b6450; }

/* Transfermarkt: Talent groß vorne (23.11.2026) */
.mk-talent { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: linear-gradient(90deg, #3f434a, #4a3a12); color: #fff; min-height: 46px; box-sizing: border-box; }
.mk-talent .mk-tk { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #ffd86b; }
.mk-talent .mk-tst { font-size: 24px; letter-spacing: 1px; color: #ffd23f; white-space: nowrap; line-height: 1; text-shadow: 0 0 10px rgba(255,210,63,.45); }
.mk-talent .mk-tst i { font-style: normal; color: rgba(255,255,255,.25); text-shadow: none; }
.mk-talent .mk-tw { margin-left: auto; font-weight: 900; font-size: 14px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-talent.t6 { background: linear-gradient(90deg, #5a1a7a, #c9a227); box-shadow: 0 0 0 2px #ffd23f inset; }
.mk-talent.t5 { background: linear-gradient(90deg, #3a2a0a, #8a6510); }
.mk-talent .mk-tw { font-size: 13px; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.1; }
.mk-talent .mk-tst { font-size: 22px; }

/* Transfermarkt: Besonderheit + Eigenschaften (Buffs/Debuffs) als eigener Block (23.11.2026) */
.mk-fx { display: flex; flex-direction: column; gap: 6px; background: #faf6ea; border: 1px solid #ece3c8; border-radius: 12px; padding: 8px 10px; }
.mk-fk { display: block; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; margin-bottom: 2px; }
.mk-ab b { display: block; font-size: 14px; color: #5a3a00; }
.mk-ab .mk-abt { display: block; font-size: 12px; color: #5a5446; line-height: 1.3; }
.mk-ab.team b { color: #6a2bb8; }
.mk-card .mk-traits { min-height: 0; font-size: 13px; }
.mk-card .mk-tr { line-height: 1.6; }
.mk-talent { flex-wrap: wrap; row-gap: 2px; }
.mk-talent .mk-tw { white-space: nowrap; font-size: 12.5px; }
.mk-talent .mk-tst { font-size: 20px; letter-spacing: 0; }

/* Pack-Bild: Namen passen immer hinein (Marcus, 23.11.2026: „Das Willkommenspaket passt von der Schrift nicht richtig rein.“) */
.pack .foil b { font-size: 15px; line-height: 1.15; text-align: center; padding: 8px 6px; overflow-wrap: anywhere; letter-spacing: -.2px; }
.po .bigpack { font-size: 25px; line-height: 1.15; }

/* Trainerkarten: Knöpfe mit Abstand zum Text, immer unten bündig (Marcus, 23.11.2026: „Unsaubere Karte bei Trainern bitte verhandeln Button mehr Abstand erhöhen zum Text“) */
.mcard.coach { display: flex; flex-direction: column; }
.mcard.coach .coach-pay, .mcard.coach .contract { margin: 10px 0 0; line-height: 1.4; }
.mcard.coach .coach-btns { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.logo-creator > summary { cursor: pointer; font-weight: 800; padding: 6px 0; }
.logo-creator:not([open]) { margin-bottom: 10px; }

/* Trikot-Vorschau größer (Marcus, 23.11.2026: „das Monster größer dargestellt …, sodass man das Trikot besser sieht“) */
.jprev { width: 280px; height: 280px; max-width: 100%; overflow: hidden; flex: none; background: radial-gradient(circle, rgba(0, 0, 0, .08), transparent 70%); }
.jprev svg { transform: scale(1.15); transform-origin: 50% 70%; }
@media (max-width: 600px) { .jprev { width: 220px; height: 220px; margin: 0 auto; } }

.fr-out { margin-top: 14px; padding: 10px 12px; border: 2px dashed #c9a227; border-radius: 12px; background: #fffaf0; }
.btn.danger-t { color: #c0263d; border-color: #e7b3bb; }

/* Liga-Tabelle auf dem Handy: kompaktes Kennzeichen echter Manager / KI (Marcus, 23.11.2026: „bei Liga … hinter dem Namen … Markierung, dass es halt ein echter Spieler ist oder ein KI-Spieler“) */
.lt-mark { display: none; }
@media (max-width: 760px) {
  .tbl.ltable .lt-mark { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; font-size: 9.5px; font-weight: 900; line-height: 1; padding: 2px 4px; border-radius: 5px; vertical-align: 1px; }
  .tbl.ltable .lt-mark.ai { background: rgba(255, 90, 110, .18); color: #b8203a; }
  .tbl.ltable .lt-mark.hu { background: rgba(61, 220, 132, .25); color: #127a3e; font-size: 10px; }
}

@media (max-width: 760px) {
  .lt-cell { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .lt-cell > * { flex: none; }
  .lt-cell .lt-nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Hinweis über dem Kartenstapel nicht mehr verdeckt (Marcus, 23.11.2026: „Es überlappt“) */
.po .deck::before { z-index: 10; top: auto !important; bottom: calc(100% + 30px); white-space: normal; }
@media (max-width: 900px) { .po .deck::before { bottom: calc(100% + 14px); } }
@media (max-width: 700px) {
  .po .deck { bottom: 44px !important; right: 10px !important; }
  .po .deck::before { display: none; }
}

/* Tutorial: Ziel leuchtet mit Schild (23.11.2026) */
.tut-spot { position: relative; outline: 3px solid #f0cf6a !important; outline-offset: 3px; border-radius: 12px; animation: tutPulse 1.3s ease-in-out infinite; z-index: 2; }
.tut-spot::after { content: attr(data-tut); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); z-index: 50; white-space: nowrap; max-width: 80vw; overflow: hidden; text-overflow: ellipsis;
  background: #33363c; color: #f0cf6a; font: 800 12.5px/1.2 system-ui, sans-serif; padding: 6px 10px; border-radius: 10px; box-shadow: 0 4px 14px #0007; pointer-events: none; }
@keyframes tutPulse { 50% { outline-color: #ffb300; box-shadow: 0 0 0 6px rgba(240, 207, 106, .35); } }
.mcard.tut-spot::after, .station.tut-spot::after { bottom: auto; top: 6px; }
/* Tutorial auf dem Handy: als Leiste unten, gut lesbar, scrollbar */
@media (max-width: 700px) {
  .guide:not(.min) { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; max-height: 46vh; display: flex; flex-direction: column; }
  .guide:not(.min) .gd-body { overflow-y: auto; font-size: 13.5px; }
  .guide .gd-t { font-size: 16px; }
  .guide .gd-actions .btn { flex: 1 1 auto; }
  body:has(.guide:not(.min)) #view { padding-bottom: 48vh; }
}
/* Kaderkarte: Talent (nach dem Scouting) */
.mcard .tal { color: #c9a227; font-weight: 800; letter-spacing: -.5px; }
.mcard .tal i { font-style: normal; color: #d9d2bd; }
.mcard .tal b { letter-spacing: 0; color: #5a4a1a; margin-left: 3px; }
.mcard .tal.t6 b, .mcard .tal.t5 b { color: #8a5a00; }

.mcard.tut-spot::after { left: 6px; right: 6px; transform: none; white-space: normal; text-align: center; font-size: 11.5px; max-width: none; }
.mcard .tal .tal-k { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #8a6510; margin-right: 2px; }

.sr-card { position: relative; }
.sr-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #33363c; color: #f0cf6a; font-size: 16px; font-weight: 900; cursor: pointer; z-index: 3; }
.sr-x:hover { background: #3f434a; }

/* Vereinsprofil: Aktionen als Spiel-Knöpfe (23.11.2026) */
.tp-actions { display: flex !important; flex-wrap: wrap; gap: 10px; background: linear-gradient(180deg, #fbf6e8, #f3ead2) !important; border-top: 2px solid #e5d7ae !important; }
.tpa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: #33363c; color: #f0cf6a !important; font-weight: 800; font-size: 14px;
  text-decoration: none !important; border: 2px solid #33363c; cursor: pointer; font-family: inherit; box-shadow: 0 3px 0 #2a2d32; }
.tpa-btn:hover { transform: translateY(-1px); }
.tpa-btn .tpa-ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f0cf6a; font-size: 15px; }
.tpa-btn.fight { background: linear-gradient(135deg, #ff5a6e, #c0263d); border-color: #8f1a2c; color: #fff !important; box-shadow: 0 3px 0 #6d0e1c; }
.tpa-btn.fight .tpa-ic { background: #fff; }
.tpa-btn.ghost { background: #fff; color: #c0263d !important; border-color: #e7b3bb; box-shadow: none; }
.tpa-btn.ghost .tpa-ic { background: #fde2e6; }
.tpa-btn.wait, .tpa-btn.off { background: #fff; color: #8a8270 !important; border: 2px dashed #d9d2bd; box-shadow: none; cursor: default; font-weight: 700; }
.tpa-btn.wait .tpa-ic, .tpa-btn.off .tpa-ic { background: #f3efe3; }
@media (max-width: 600px) { .tpa-btn { flex: 1 1 calc(50% - 10px); justify-content: center; font-size: 13px; } }

/* Taktik: Info-Feld rechts (23.11.2026) */
.tinfo { position: sticky; top: 64px; z-index: 3; background: #fffdf6; border: 2px solid var(--rc, #d9d2bd); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px;
  max-height: 54vh; overflow-y: auto; box-shadow: 0 4px 14px #0002; }
.tinfo.empty { position: static; border-style: dashed; box-shadow: none; text-align: center; padding: 12px; }
.tinfo .ti-head { display: flex; gap: 10px; align-items: center; }
.tinfo .ti-face { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; overflow: hidden; border: 3px solid var(--rc); background: #f3eedf; }
.tinfo .ti-face svg { width: 100%; height: 100%; }
.tinfo .ti-n { flex: 1; min-width: 0; }
.tinfo .ti-x { flex: 0 0 auto; }
.tinfo .ti-sec { margin-top: 10px; }
.tinfo .ti-h { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.tinfo .ti-note { white-space: pre-wrap; background: #fff6c9; border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.tinfo .stats2 { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.tinfo .stat { font-size: 12px; }
.tinfo .stat-total { font-size: 12.5px; }
.tinfo .ti-ab { margin-bottom: 6px; }
@media (max-width: 999px) { .tinfo { position: static; max-height: none; } }

/* Spiele: Filter nach Wettbewerb (23.11.2026) */
.rf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.rf-chip { border: 1.5px solid #d9d2bd; background: #fffdf6; color: #3f434a; border-radius: 999px; padding: 5px 12px; font: 700 13px/1.2 inherit; cursor: pointer; }
.rf-chip span { color: #8a8170; font-weight: 600; margin-left: 2px; }
.rf-chip.on { background: #33363c; border-color: #33363c; color: #f0cf6a; }
.rf-chip.on span { color: #d9d2bd; }

/* Kostenwarnung (23.11.2026) */
.neg-cost .cw { border-radius: 10px; padding: 7px 10px; margin: 8px 0; line-height: 1.35; }
.neg-cost .cw.ok { background: #eef7e6; color: #2f5a1c; }
.neg-cost .cw.warn { background: #fff3cf; color: #6b4a00; }
.neg-cost .cw.bad { background: #ffe1e1; color: #8a1a1a; font-weight: 600; }

/* Monster-Fenster: blättern mit ‹ › (23.11.2026) */
.mnav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 1001; width: 48px; height: 64px; border: 0; border-radius: 14px; background: #16140fdd; color: #f0cf6a;
  font: 800 40px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 14px #0006; display: flex; align-items: center; justify-content: center; padding-bottom: 6px; }
.mnav:hover { background: #33363c; color: #ffd75e; }
.mnav.prev { left: max(6px, calc(50% - 596px)); }
.mnav.next { right: max(6px, calc(50% - 596px)); } /* Pfeile neben der Spielerkarte statt auf dem Text */
.mnav-count { position: absolute; top: 14px; left: 18px; font-weight: 700; }
@media (max-width: 700px) { .mnav { top: auto; bottom: 14px; transform: none; width: 44px; height: 48px; font-size: 32px; } .mnav.prev { left: 10px; } .mnav.next { right: 10px; } }

/* Taktik: Positionsfilter oben (23.11.2026) */
.tp-posf { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.tp-posf .tpf { border: 1.5px solid #d9d2bd; background: #fffdf6; border-radius: 999px; padding: 5px 11px; font: 700 13px/1.2 inherit; cursor: pointer; color: #3f434a; }
.tp-posf .tpf span { color: #8a8170; font-weight: 600; }
.tp-posf .tpf.on { background: #33363c; border-color: #33363c; color: #f0cf6a; }
.tp-posf .tpf.on span { color: #d9d2bd; }
.tok.pf-dim { opacity: .35; }
.bc-slot.pf-dim { opacity: .35; }

/* Training: Trainer-Info und Monster-Hover (23.11.2026) */
.tg-crow[data-cinfo] { cursor: pointer; }
.tg-crow[data-cinfo]:hover { background: #fff6d6; }
.tg-crow .tg-meta { display: block; font-weight: 500; font-size: 11px; color: #6d6555; line-height: 1.3; }
.coach-info { display: flex; gap: 18px; flex-wrap: wrap; }
.coach-info .cards { flex: 0 0 230px; }
.coach-info .ci-right { flex: 1 1 300px; min-width: 0; }
.mon-hover { position: fixed; z-index: 1200; width: 290px; background: #fffdf6; border: 2px solid #33363c; border-radius: 12px; padding: 9px 11px; box-shadow: 0 8px 24px #0004; pointer-events: none; font-size: 12px; }
.mon-hover .mh-h { font-size: 13.5px; }
.mon-hover .mh-p { margin: 4px 0 6px; }
.mon-hover .mh-s { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 12px; }
.mon-hover .mh-s > div { display: flex; justify-content: space-between; gap: 6px; }
.mon-hover .mh-s > div.mx b { color: #b8860b; }
.mon-hover .mh-n { margin-top: 6px; background: #fff6c9; border-radius: 6px; padding: 4px 6px; }
/* Desktop: Menü passt immer ohne Scrollen in die Höhe (Marcus, 23.11.2026: „dass es im Menü kein Scrolling nach unten gibt, wenn ich auf dem Desktop bin. Egal wie groß
   der Bildschirm ist“) – Schrift und Abstände wachsen und schrumpfen mit der Fensterhöhe */
@media (min-width: 1024px) {
  .side-nav { gap: 1px; padding-bottom: clamp(4px, 1vh, 24px); }
  .side-nav .sn-head { padding: clamp(6px, 1.5vh, 18px) 4px clamp(4px, 1vh, 10px); font-size: clamp(13px, 2.4vh, 18px); }
  .side-nav a { font-size: clamp(11px, 2.2vh, 15px); line-height: 1.25; padding: clamp(1px, 1.1vh, 9px) 14px; flex: 0 0 auto; }
}

/* Tutorial: Teilschritte (23.11.2026) */
.gd-hint .gd-steps { margin: 4px 0 0; padding-left: 20px; }
.gd-hint .gd-steps li { margin: 2px 0; line-height: 1.35; }

/* Tutorial-Pakete (23.11.2026) */
.gd-pk { font-weight: 800; font-size: 12.5px; padding: 5px 2px 3px; border-top: 1px solid #eee6cf; margin-top: 2px; }
.gd-pk small { font-weight: 600; color: #8a8170; margin-left: 4px; }
.gd-pk.ok { color: #2f7a3a; } .gd-pk.lock { color: #9a927f; } .gd-pk.cur { color: #6b4a00; }

.neg-free { background: #fff1d6; border: 1px dashed #d9a33a; border-radius: 10px; padding: 6px 10px; margin: 8px 0; color: #6b4a00; font-weight: 600; }

/* Kaderkarte: Ausrüstungsleiste (23.11.2026) */
.eq-strip { display: flex; align-items: center; justify-content: center; gap: 3px; margin: 5px 0 2px; }
.eq-s { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.eq-s.on { background: #fff; border: 2px solid var(--ec, #9aa3ad); box-shadow: 0 1px 3px #0002; }
.eq-s.on svg { width: 20px; height: 20px; }
.eq-s.off { border: 1.5px dashed #c9c1aa; background: #f6f3ea; }
.eq-s.off i { font-style: normal; font-size: 7.5px; font-weight: 800; color: #a59c86; letter-spacing: -.2px; }
.eq-n { font-size: 10.5px; color: #8a8170; margin-left: 3px; font-weight: 800; }
/* Regeln: nichts ragt mehr aus der Karte (Marcus, 23.11.2026, Bild Regel-Karte: „Alles verschoben“) */
.lineup-wrap > div { min-width: 0; }
.rbody { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.rbody > div { min-width: 0; }
.rbody label { flex-wrap: wrap; max-width: 100%; }
.rbody .inp, .rbody select.inp { min-width: 0; max-width: 100%; flex: 1 1 140px; width: auto; }
.rbody .rcond > span { flex: 0 0 auto; }
#view #addrule { margin-top: 26px; }
.rbody > div > label:not(.rcond) { display: grid; grid-template-columns: minmax(90px, 165px) minmax(0, 1fr); align-items: center; gap: 8px; }
.rbody .rcond { display: grid; grid-template-columns: 20px minmax(80px, 150px) minmax(0, 1fr); align-items: center; gap: 8px; }
.rbody .rcond > span, .rbody .rcond > select[data-f="scoreBy"] { grid-column: 2 / 4; }

/* Taktik: Speichern-Hinweis (23.11.2026) */
.tac-savehint { background: #f6f1e2; border: 1px solid #e3d9bb; border-left: 4px solid #d9b44a; border-radius: 10px; padding: 7px 12px; margin: 0 0 10px; font-size: 13px; color: #5a4a1a; }
.tac-savehint.on { background: #fff0c2; border-color: #e0a800; border-left-color: #e05a00; color: #6b3a00; font-weight: 600; }
#save.pulse { animation: tutPulse 1.3s ease-in-out infinite; outline: 3px solid #f0cf6a; outline-offset: 2px; }

/* Logo: zwischen hochgeladenem und gezeichnetem wählen (23.11.2026) */
.logo-choice { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
.lc-opt { flex: 1 1 200px; display: flex; gap: 10px; align-items: center; border: 2px solid #e2dccb; border-radius: 12px; padding: 8px 10px; background: #fffdf6; }
.lc-opt.on { border-color: #3aa35a; background: #effaf1; }
.lc-opt .logo-mid { width: 48px; height: 48px; flex: 0 0 48px; display: inline-flex; }
.lc-opt .logo-mid svg, .lc-opt .logo-mid img { width: 100%; height: 100%; }

/* Kader: Rückennummern-Übersicht (23.11.2026) */
.nr-panel { margin-top: 18px; }
.nr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 4px; margin: 8px 0 14px; }
.nr-c { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; padding: 3px 2px; min-height: 40px; font: inherit; line-height: 1.1; }
.nr-c b { font-size: 15px; }
.nr-c span { font-size: 9.5px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nr-c.used { background: #33363c; color: #f0cf6a; border: 0; cursor: pointer; }
.nr-c.used span { color: #e9e4d6; }
.nr-c.free { background: #f3efe3; color: #9a927f; border: 1px dashed #d9d2bd; }
.nr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 6px 14px; }
.nr-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid #efe9da; min-width: 0; }
.nr-face { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; overflow: hidden; border: 2px solid var(--rc); background: #f3eedf; }
.nr-face svg { width: 100%; height: 100%; }
.nr-cur { flex: 0 0 30px; text-align: center; font-weight: 900; font-size: 16px; background: #33363c; color: #f0cf6a; border-radius: 6px; padding: 2px 0; }
.nr-nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-row select.inp { flex: 0 0 150px; width: 150px; }
/* Kaderkarte: mehrere Positions-Badges untereinander links, damit sie die Klasse (z. B. „Hüpfer“) rechts nie überdecken (Marcus, 23.11.2026) */
.mcard .pos-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 48%; }
.mcard .pos-card .pos-chip { margin: 0; }
.mcard .role { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tac-saveerr { background: #ffe1e1; border: 1px solid #e88; border-left: 4px solid #c0263d; border-radius: 10px; padding: 7px 12px; margin: 0 0 10px; color: #8a1a1a; font-weight: 700; font-size: 13.5px; }
@media (min-width: 1024px) { .side-nav a { padding: clamp(1px, 1vh, 9px) 14px; } } /* 18 Menüpunkte (mit Gästebuch) passen weiter ohne Scrollen */

/* Gästebuch-Symbol oben (23.11.2026) */
.topbar .gb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; background: #fff !important; border-color: #fff !important; padding: 4px 9px; text-decoration: none; }
.gb-btn .gb-ic { font-size: 18px; line-height: 1; }
.gb-btn .gb-n { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e0303d; color: #fff; font: 800 11px/18px system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #33363c; }
.gb-btn.new { animation: gbBlink 1s ease-in-out infinite; }
@keyframes gbBlink { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 207, 106, 0); background: #fff; } 50% { box-shadow: 0 0 0 5px rgba(240, 207, 106, .75); background: #fff2b8; } }
@media (prefers-reduced-motion: reduce) { .gb-btn.new { animation: none; box-shadow: 0 0 0 3px #f0cf6a; } }

/* Taktik: Head Coach antippbar, Boni sichtbar (23.11.2026) */
.bc-slot.hc[data-hcinfo] { cursor: pointer; }
.hc-fx { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tinfo .trait { margin: 4px 0; }
/* Kader: Filterleiste in eigener Zeile (23.11.2026) */
.kf-bar { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 12px; margin: -4px 0 14px; }
.kf-bar .kf { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kf-bar .kf select.inp { width: 100%; min-width: 0; }

/* Training: Trainerliebling (23.11.2026) */
.tg-pet { font-size: 15px; margin-right: 2px; filter: drop-shadow(0 1px 1px #0004); }
.tg-mon:first-child .tg-pet { animation: none; }
.tg-pethint { color: #8a5a00; font-weight: 700; margin: 2px 0 4px; }
/* Krone als Aufsatz auf dem Porträt – die Zeile behält ihre Form (Marcus, 23.11.2026) */
.tg-face { position: relative; overflow: visible !important; }
.tg-face .tg-pet { position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-12deg); margin: 0; font-size: 15px; line-height: 1; pointer-events: auto; z-index: 2; }
.tg-face > svg { clip-path: circle(50%); border-radius: 50%; }
/* Kaderkarte: Talent-Titel immer unter den Sternen (Marcus, 23.11.2026: „dass der Titel wie solider Profi unter den Sternen steht … sonst sieht das unsauber aus“) */
.mcard .tal { text-align: center; line-height: 1.25; }
.mcard .tal b { display: block; margin-left: 0; font-size: 12px; }
.kf-bar .kf-dir { width: 100%; justify-content: center; height: 38px; }

/* Training: Rechtsklick-Menü (23.11.2026) */
.tg-ctx { position: fixed; z-index: 1300; background: #fffdf6; border: 2px solid #33363c; border-radius: 12px; box-shadow: 0 10px 28px #0005; padding: 6px; width: 230px; max-height: 80vh; overflow-y: auto; }
.tg-ctx .tc-h { font-weight: 800; font-size: 12.5px; padding: 4px 8px 6px; border-bottom: 1px solid #eee6cf; margin-bottom: 4px; }
.tg-ctx button { display: flex; width: 100%; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 8px; border-radius: 8px; font: 600 13px/1.2 inherit; cursor: pointer; text-align: left; color: #3f434a; }
.tg-ctx button:hover:not([disabled]) { background: #f0cf6a; }
.tg-ctx button[disabled] { opacity: .4; cursor: default; }
.tg-ctx button span { font-size: 11px; color: #6b5a1a; }
.tg-ctx button i { margin-left: auto; font-style: normal; font-size: 11.5px; color: #6d6555; }
/* Freundschaftsspiele: Terminübersicht (23.11.2026) */
.fr-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin: 4px 0 2px; }
.frc { border-radius: 10px; padding: 6px 8px; font-size: 12px; line-height: 1.3; border: 1px solid #e2dccb; background: #fffdf6; min-width: 0; }
.frc b { display: block; font-size: 12.5px; }
.frc span { display: block; overflow: hidden; text-overflow: ellipsis; }
.frc.frei { background: #effaf1; border-color: #bfe5c7; color: #2f6b3a; }
.frc.belegt { background: #ffe9e9; border-color: #f0b8b8; color: #8a1a1a; }
.frc.reserviert { background: #fff4d6; border-color: #ecd08a; color: #7a5200; }
.frc.liga { background: #ecebe6; color: #5a5a5a; }
.frc.opp { background: #f3efe3; color: #7a6f55; }

.tinfo .ti-name { cursor: pointer; text-decoration: underline dotted #c9a227 2px; text-underline-offset: 3px; }
.tinfo .ti-name:hover { color: #8a5a00; }
.tinfo .ti-open { font-size: 12px; color: #c9a227; }

.tp-rarf .qdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--qc, #999); margin-right: 4px; box-shadow: 0 0 0 1px #0002; }

/* Manager-Rang (23.11.2026): Farbe nach Level, wie die Monster-Qualitäten */
.mrank { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 800; font-size: .85em; border: 1px solid; vertical-align: middle; white-space: nowrap; }
.mrank-0 { background: #eceef1; color: #4b535c; border-color: #9aa3ad; }
.mrank-1 { background: #e3f9ec; color: #14783f; border-color: #3ddc84; }
.mrank-2 { background: #e3f0ff; color: #1a5fb4; border-color: #3d9bff; }
.mrank-3 { background: #f3e6ff; color: #6d28b0; border-color: #b45cff; }
.mrank-4 { background: #fff5d6; color: #8a6400; border-color: #ffc531; }
.mrank-5 { background: linear-gradient(120deg, #c9fbff, #7ff6ff 40%, #e8d9ff 70%, #c9fbff); background-size: 200% 100%; color: #0b5560; border-color: #3fd8e6; animation: mrankShine 3s linear infinite; box-shadow: 0 0 8px #7ff6ff99; }
@keyframes mrankShine { to { background-position: -200% 0; } }
a.lvl.mrank { padding: 6px 12px; font-size: inherit; }
.lvl-badge.mrb-0 { background: radial-gradient(circle at 35% 30%, #f4f5f7, #aab2bb 70%, #6d757e); color: #3f434a; box-shadow: 0 6px 18px rgba(120,130,140,.4), inset 0 2px 0 rgba(255,255,255,.6); }
.lvl-badge.mrb-1 { background: radial-gradient(circle at 35% 30%, #b6f5cf, #3ddc84 70%, #18884a); color: #06341b; box-shadow: 0 6px 18px rgba(61,220,132,.4), inset 0 2px 0 rgba(255,255,255,.6); }
.lvl-badge.mrb-2 { background: radial-gradient(circle at 35% 30%, #b9dcff, #3d9bff 70%, #1a5fb4); color: #04223f; box-shadow: 0 6px 18px rgba(61,155,255,.4), inset 0 2px 0 rgba(255,255,255,.6); }
.lvl-badge.mrb-3 { background: radial-gradient(circle at 35% 30%, #e6c9ff, #b45cff 70%, #6d28b0); color: #fff; box-shadow: 0 6px 18px rgba(180,92,255,.4), inset 0 2px 0 rgba(255,255,255,.5); }
.lvl-badge.mrb-4 { background: radial-gradient(circle at 35% 30%, #ffe27a, #c9a227 70%, #8a6b10); color: #3f434a; }
.lvl-badge.mrb-5 { background: conic-gradient(from 0deg, #c9fbff, #7ff6ff, #e8d9ff, #b5fff4, #c9fbff); color: #08444c; box-shadow: 0 0 22px #7ff6ffcc, inset 0 2px 0 rgba(255,255,255,.7); }
.mrank-ladder { display: flex; flex-wrap: wrap; gap: 8px; }
.mrank-ladder > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 10px; border-radius: 10px; border: 1px solid #eee6cf; min-width: 92px; opacity: .55; }
.mrank-ladder > div.done { opacity: .85; }
.mrank-ladder > div.cur { opacity: 1; border: 2px solid #33363c; }
.mrank-ladder small { font-size: 11px; color: #6d6555; }

/* Avatar-Rand in Rangfarbe (23.11.2026) */
.mrav-0 { border: 3px solid #9aa3ad !important; }
.mrav-1 { border: 3px solid #3ddc84 !important; }
.mrav-2 { border: 3px solid #3d9bff !important; }
.mrav-3 { border: 3px solid #b45cff !important; }
.mrav-4 { border: 3px solid #ffc531 !important; box-shadow: 0 0 6px #ffc53199; }
.mrav-5 { border: 3px solid #7ff6ff !important; box-shadow: 0 0 10px #7ff6ffcc, 0 0 2px #e8d9ff; animation: mravGlow 2.4s ease-in-out infinite; }
@keyframes mravGlow { 50% { box-shadow: 0 0 16px #7ff6ff, 0 0 4px #e8d9ff; } }

/* Scouting-Bericht: Talent + Trainingstempo in einer Kachel (23.11.2026) */
.sb2-top { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(180deg, #fffaf0, #fff); border-bottom: 1px solid #efe9da; }
.sb2-top .sb2-talent { background: none; border-bottom: 0; }
.sb2-top .sb2-talent + .sb2-talent { border-left: 1px solid #efe9da; }
.sb2-top .sc-stars { font-size: 20px !important; }
.sb2-top .sb2-w { font-size: 15.5px; }
.sb2-ts .sb2-w { color: #1f5fa8; }
@media (max-width: 380px) { .sb2-top { grid-template-columns: 1fr; } .sb2-top .sb2-talent + .sb2-talent { border-left: 0; border-top: 1px solid #efe9da; } }

/* Rang-Rand breiter (Marcus, 23.11.2026: „den Board also ein bisschen breiter machen, die Randung um meinen Kopf herum“) + Admin-Zeichen am Profilbild */
.avatar-mini[class*="mrav-"] { border-width: 4px !important; overflow: visible; position: relative; }
.avatar-mini[class*="mrav-"] > img, .avatar-mini[class*="mrav-"] > svg { border-radius: 50%; }
.avatar-big[class*="mrav-"] { border-width: 7px !important; overflow: visible; position: relative; }
.avatar-big[class*="mrav-"] > img, .avatar-big[class*="mrav-"] > svg { border-radius: 50%; }
.avatar-mini.is-admin::after, .avatar-big.is-admin::after { content: '🛡️'; position: absolute; right: -7px; bottom: -6px; width: 17px; height: 17px; border-radius: 50%; background: #33363c; border: 2px solid #f0cf6a; display: flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; }
.avatar-big.is-admin::after { width: 36px; height: 36px; font-size: 20px; right: -4px; bottom: -2px; border-width: 3px; }
.adm-chip { display: inline-block; font-size: .8em; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #33363c; color: #f0cf6a; vertical-align: middle; }

/* Menü-Gruppen (23.11.2026) */
.side-nav .sn-grp { margin: 14px 14px 4px; padding-top: 10px; border-top: 1px solid #3f434a; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #a8975e; }
.side-nav a { padding-top: 8px; padding-bottom: 8px; }

/* Kontoauszug (23.11.2026) */
.ftx-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.ftx-f { display: flex; gap: 6px; }
.ftx-bar .inp { max-width: 260px; }
.ftx-t td.inc, .ftx .inc { color: #157a3c; font-weight: 800; } .ftx-t td.exp, .ftx .exp { color: #b3261e; font-weight: 800; }
.ftx-t td.fnum, .ftx-t th.fnum { text-align: right; white-space: nowrap; }

.mg-fixed { display: block; padding: 6px 10px; border-radius: 8px; background: #f3efe3; font-weight: 800; }

/* Rangfarbe stufenlos je Level (23.11.2026): --rk kommt aus mgrColor() */
.mrank[style*="--rk"]:not(.mrank-5) { border-color: var(--rk); background: color-mix(in srgb, var(--rk) 20%, #fff); color: color-mix(in srgb, var(--rk) 50%, #33363c); }
.avatar-mini[style*="--rk"]:not(.mrav-5), .avatar-big[style*="--rk"]:not(.mrav-5) { border-color: var(--rk) !important; }
.lvl-badge.mrb-x:not(.mrb-5) { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--rk) 35%, #fff), var(--rk) 70%, color-mix(in srgb, var(--rk) 60%, #2a2d32)); color: color-mix(in srgb, var(--rk) 25%, #2a2d32); box-shadow: 0 6px 18px color-mix(in srgb, var(--rk) 45%, transparent), inset 0 2px 0 rgba(255,255,255,.6); }

.mrank-grad { display: flex; height: 16px; margin: 12px 0 4px; border-radius: 8px; overflow: visible; }
.mrank-grad i { flex: 1; position: relative; }
.mrank-grad i:first-child { border-radius: 8px 0 0 8px; } .mrank-grad i:last-child { border-radius: 0 8px 8px 0; }
.mrank-grad i.me { outline: 3px solid #33363c; outline-offset: 1px; z-index: 1; border-radius: 3px; transform: scaleY(1.5); }
/* Admin-Abzeichen hängt oben rechts am Rand, verdeckt das Gesicht nicht (Marcus, 23.11.2026) */
.avatar-mini.is-admin::after { top: -9px; right: -11px; bottom: auto; width: 18px; height: 18px; font-size: 10px; transform: rotate(12deg); }
.avatar-big.is-admin::after { top: -8px; right: -14px; bottom: auto; width: 38px; height: 38px; font-size: 20px; transform: rotate(12deg); }
/* Menü passt ohne Scrollen auf den Bildschirm (Marcus, 23.11.2026: „Denke dran bei Menü, dass es nicht scrollbar sein soll.“) – Abstände wachsen mit der Bildschirmhöhe */
.side-nav { overflow: hidden; padding-bottom: 6px; gap: 0; }
.side-nav .sn-head { padding: clamp(6px, 1.2vh, 14px) 4px clamp(4px, 0.8vh, 10px); }
.side-nav a { font-size: clamp(12.5px, 1.75vh, 16px); padding: clamp(2px, 0.62vh, 9px) 14px; line-height: 1.25; }
.side-nav .sn-grp { margin: clamp(3px, 0.8vh, 12px) 14px clamp(1px, 0.3vh, 4px); padding-top: clamp(3px, 0.7vh, 9px); font-size: clamp(9.5px, 1.2vh, 11px); }

/* Vereinsprofil: Manager-Karte (23.11.2026) */
.tp-mgr { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.tp-mgr .tp-av { width: 84px; height: 84px; font-size: 30px; }
.tp-mgr .avatar-big.is-admin::after { width: 30px; height: 30px; font-size: 16px; top: -8px; right: -12px; }
.tp-mgr-n { font-size: 18px; font-weight: 900; margin-bottom: 3px; }

a.vsteam { color: inherit; text-decoration: none; cursor: pointer; } a.vsteam:hover b { text-decoration: underline; }
/* Spielbericht: 2D/3D-Knöpfe gut sichtbar auf dunklem Kopf (Marcus, 23.11.2026: „schwarz auf schwarz … mehr highlighten oder andersfarbig“) */
.mc-play .btn { background: linear-gradient(135deg, #ffe27a, #e0b02a); color: #33363c; box-shadow: 0 4px 0 #8a6b10, 0 8px 18px rgba(0,0,0,.25); border: 2px solid #fff3c4; }
.mc-play .btn.alt { background: linear-gradient(135deg, #6cc4ff, #2f7fe0); color: #fff; box-shadow: 0 4px 0 #1a4f99, 0 8px 18px rgba(0,0,0,.25); border: 2px solid #cfe9ff; }
.mc-play .btn:hover { filter: brightness(1.08); }

/* Scout-Angebot in der Pack-Show (23.11.2026) */
.po-scout { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: rgba(16, 14, 10, .92); border: 2px solid #f0cf6a; color: #f3ecd6; border-radius: 14px; padding: 8px 12px; font-size: 14px; box-shadow: 0 8px 24px rgba(42, 45, 50, .5); max-width: calc(100vw - 24px); animation: poScIn .35s ease-out; }
.po-scout b { color: #ffd23f; }
@keyframes poScIn { from { opacity: 0; transform: translate(-50%, 14px); } }
.po .summary .po-sc-b { margin-top: 6px; font-size: 12px; padding: 4px 8px; }

/* Admin: Online-Zeit (23.11.2026) */
.onl-days { display: flex; gap: 4px; align-items: stretch; height: 190px; overflow-x: auto; padding-bottom: 2px; }
.onl-day { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; cursor: pointer; padding: 2px; border-radius: 8px; font: inherit; }
.onl-day:hover { background: #f6f3ea; } .onl-day.on { background: #fff4cf; outline: 2px solid #c9a227; }
.onl-bar { flex: 1; width: 70%; display: flex; align-items: flex-end; border-bottom: 1px solid #d9d2bf; }
.onl-bar i { display: block; width: 100%; min-height: 2px; background: #3d9bff; border-radius: 4px 4px 0 0; }
.onl-v { font-size: 10.5px; font-weight: 800; color: #4a4536; min-height: 14px; }
.onl-l { font-size: 10px; color: #6d6555; white-space: nowrap; }
.onl-list { display: flex; flex-direction: column; gap: 6px; }
.onl-row { display: grid; grid-template-columns: minmax(90px, 180px) 1fr 100px; gap: 10px; align-items: center; color: inherit; text-decoration: none; padding: 3px 4px; border-radius: 8px; }
.onl-row:hover { background: #f6f3ea; }
.onl-n { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onl-track { height: 14px; background: #efeadc; border-radius: 7px; overflow: hidden; } .onl-track i { display: block; height: 100%; background: #3d9bff; border-radius: 7px; }
.onl-m { text-align: right; font-weight: 800; font-size: 13px; white-space: nowrap; }

.tn-ok { color: #157a3c; background: #e9f8ef; border-radius: 8px; padding: 6px 10px; } /* Vereinsname geändert: Erfolg statt roter Fehlermeldung (23.11.2026) */

/* Pack-Show: Erklärung Scouting (23.11.2026) */
.po-sinfo { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(6, 5, 14, .78); animation: poScIn .3s ease-out; }
.psi-card { width: min(720px, 100%); max-height: calc(100vh - 28px); overflow-y: auto; background: #fffdf6; color: #3f434a; border-radius: 18px; border: 3px solid #f0cf6a; padding: 16px 18px; box-shadow: 0 20px 60px rgba(42, 45, 50, .6); text-align: left; }
.psi-h { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.psi-lead { margin: 0 0 12px; font-size: 14px; }
.psi-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.psi-col { border-radius: 12px; padding: 10px; } .psi-col.off { background: #f1eee6; } .psi-col.on { background: #e9f8ef; }
.psi-t { font-weight: 900; margin-bottom: 4px; } .psi-t small { font-weight: 600; color: #6d6555; }
.psi-art { position: relative; width: 110px; height: 110px; margin: 0 auto 4px; } .psi-art svg { width: 100%; height: 100%; }
.psi-art.dim svg { filter: grayscale(.85) brightness(.85); opacity: .75; }
.psi-lock, .psi-ok { position: absolute; right: 0; bottom: 4px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; }
.psi-lock { background: #3f434a; color: #fff; } .psi-ok { background: #1f9d55; color: #fff; }
.psi-col ul { margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.45; }
.psi-st { color: #e0a800; letter-spacing: 1px; } .psi-col .up { color: #157a3c; font-weight: 800; } .psi-col .down { color: #b3261e; font-weight: 800; }
.psi-small { font-size: 12px; color: #5d5646; margin: 10px 0; }
@media (max-width: 560px) { .psi-cmp { grid-template-columns: 1fr; } .psi-art { width: 80px; height: 80px; } }
/* Trikot-Editor: Knopf über die ganze Breite, am Handy Vorschau oben und Editor darunter (Marcus, 23.11.2026: „Der Button ist hier falsch.“ – Text stand senkrecht) */
#j-save { grid-column: 1 / -1; white-space: nowrap; justify-self: stretch; }
.editor .btn { writing-mode: horizontal-tb; }
@media (max-width: 700px) {
  .row:has(> #jprev) { flex-wrap: wrap; justify-content: center; }
  .row:has(> #jprev) > .editor { flex: 1 1 100%; }
  #jprev { width: 200px; height: 200px; }
}
/* „hidden“ gilt immer – sonst überschreiben Klassen wie .pill (display) das Ausblenden. Fehler 23.11.2026: am Handy stand in der Taktik dauerhaft „ungespeichert“ */
[hidden] { display: none !important; }
/* Handy-Prüfung 23.11.2026 */
/* Lange Seitentitel (Freundschaftsspiele, Transfermarkt …) schoben die Knöpfe oben in eine dritte Zeile: Titel darf am Handy umbrechen (mit Silbentrennung), Knöpfe etwas kleiner */
@media (max-width: 480px) {
  .topbar .page-title { white-space: normal !important; flex: 1 1 0 !important; min-width: 0; font-size: 15.5px !important; line-height: 1.05; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .topbar > .btn.small, .topbar > a.btn.small, .topbar > button.btn.small { padding: 5px 8px; min-width: 0; }
}
/* Vereinsnamen nicht mitten im Wort zerreißen („Schuppenh-ain“), sondern sauber trennen */
.mc-tn { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) { .rl-home a, .rl-away a { font-size: 12px; hyphens: auto; -webkit-hyphens: auto; word-break: normal; overflow-wrap: anywhere; } }
/* Tutorial am Handy: höchstens ~42 % der Höhe, Inhalt scrollt im Fenster – Seite bleibt bedienbar (Handy-Prüfung 23.11.2026) */
@media (max-width: 700px) {
  .guide:not(.min) { max-height: 42vh; display: flex; flex-direction: column; }
  .guide:not(.min) .gd-body { overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; flex: 1 1 auto; }
}
/* Monster-Karte am Handy: Blätter-Pfeile unten in die Ecken, kleiner, Text darunter bleibt lesbar (Handy-Prüfung 23.11.2026) */
@media (max-width: 700px) {
  .mnav { top: auto; bottom: 10px; transform: none; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; opacity: .85; }
  .modal:has(~ .mnav), body:has(.mnav) .modal { padding-bottom: 56px; }
}

/* ===== Taktik-Kopf (23.11.2026) ===== */
.tac-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tac-tabs { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tac-tabs::-webkit-scrollbar { display: none; }
.tac-tab { flex: none; border: 2px solid #e3dac2; background: #fffdf6; color: #3f434a; border-radius: 999px; padding: 7px 14px; font: 800 14px/1.1 inherit; cursor: pointer; white-space: nowrap; }
.tac-tab.on { background: linear-gradient(135deg, #f3d77a, #d4a52a); border-color: #b8860b; color: #33363c; box-shadow: 0 2px 0 #8a6b10; }
.tac-savebox { display: flex; align-items: center; gap: 8px; flex: none; }
.tac-dirty { color: #b3261e; font-weight: 800; font-size: 13px; white-space: nowrap; }
.tac-savebtn { white-space: nowrap; }
.tac-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: #fffdf6; border: 1px solid #eee3c6; border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.tac-name { display: flex; align-items: center; gap: 8px; }
.tac-name .inp { width: 200px; }
.tac-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tac-tools .inp { width: auto; }
.tac-clear { color: #b3261e !important; }
.tac-plans { display: flex; margin-left: auto; background: #efe9da; border-radius: 999px; padding: 3px; }
.tac-plans button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font: 800 13px/1.1 inherit; cursor: pointer; color: #4a4536; white-space: nowrap; }
.tac-plans button.on { background: #33363c; color: #f0cf6a; }
.t-sm { display: none; }
@media (max-width: 700px) {
  .t-lg { display: none; } .t-sm { display: inline; }
  .tac-top { position: sticky; top: var(--tbh, 100px); z-index: 15; margin: -4px -12px 8px; padding: 8px 12px; background: rgba(246, 243, 234, .96); backdrop-filter: blur(6px); box-shadow: 0 6px 12px -8px rgba(0,0,0,.25); }
  .tac-tab { padding: 6px 11px; font-size: 13px; }
  .tac-savebtn { padding: 8px 12px; font-size: 14px; }
  .tac-dirty { font-size: 18px; line-height: 1; }
  .tac-bar { padding: 10px; gap: 8px; }
  .tac-name { flex: 1 1 100%; } .tac-name .inp { flex: 1; width: auto; min-width: 0; }
  .tac-tools { flex: 1 1 100%; flex-wrap: nowrap; } .tac-tools .inp { flex: 1; min-width: 0; }
  .tac-plans { flex: 1 1 100%; margin-left: 0; } .tac-plans button { flex: 1; }
}

/* ===== Kopfleiste am Handy neu geordnet (Marcus, 23.11.2026: „das Menü oben, der Header, dass da auf einmal mein Icon von meinem Avatar in der zweiten Reihe bei Geld ist und da oben der Bug noch ist … dass es Sinn macht, dass es schön ist“)
   Zeile 1: Menü · Logo · Seitentitel · Avatar   Zeile 2: Level · Geld · Münzen … rechts die kleinen Knöpfe (Admin, Gästebuch, Fehler melden) */
@media (max-width: 700px) {
  .topbar { display: flex !important; flex-wrap: wrap !important; align-items: center !important; column-gap: 8px !important; row-gap: 7px !important; padding: 8px 10px 9px !important; }
  .topbar .wallet { display: contents !important; }
  .topbar::after { content: ''; order: 5; flex-basis: 100%; height: 0; }
  .topbar #menu-btn { order: 1; } .topbar #w-logo { order: 2; }
  .topbar .page-title { order: 3; flex: 1 1 0 !important; min-width: 0; margin-left: 0 !important; }
  .topbar #w-avatar { order: 4; width: 38px !important; height: 38px !important; flex: none; }
  .topbar .beta-badge { display: none !important; }
  .topbar #w-lvl { order: 6; display: inline-flex !important; align-items: center; padding: 4px 9px !important; font-size: 12.5px !important; font-weight: 900; }
  .topbar #w-money { order: 7; } .topbar #w-coins { order: 8; }
  .topbar #w-money, .topbar #w-coins { font-size: 12.5px !important; padding: 4px 8px !important; }
  .topbar > .spacer { order: 9; flex: 1 1 0 !important; display: block !important; min-width: 0; }
  .topbar .test-badge { order: 10; }
  .topbar > a[data-nav="admin"] { order: 11; } .topbar #gb-open { order: 12; } .topbar #fb-open { order: 13; }
  .topbar > a[data-nav="admin"], .topbar #gb-open, .topbar #fb-open { width: 32px; height: 32px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 50% !important; font-size: 15px; flex: none; }
  .topbar #fb-open .bug-ic { width: 20px; height: 20px; }
  .topbar .page-title { font-size: 17px !important; }
}
@media (max-width: 360px) { .topbar #w-lvl { display: none !important; } }

/* ===== 3D/2D-Spiel am Handy im Querformat: Vollbild (Marcus, 23.11.2026: „Auf dem Mobil kann ich natürlich die 3D-Spiele auch in Querformat nehmen, ne? Und dann ist das halt Vollscreen.“) */
@media (orientation: landscape) and (max-height: 560px) and (pointer: coarse) {
  .match-view canvas.pitchc { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; max-width: none !important; object-fit: contain; background: #2a2d32; z-index: 900; border-radius: 0 !important; margin: 0 !important; }
  body:has(.match-view canvas.pitchc) { overflow: hidden; }
  body:has(.match-view canvas.pitchc) .guide { display: none !important; }
}
.mv-fs { margin-left: auto; }
/* Kopfleiste und klebende Leisten wieder wirklich oben halten: „overflow-x: hidden“ an html/body machte body zum eigenen Scroll-Container – „sticky“ griff dann nicht (Handy-Prüfung 23.11.2026). „clip“ schneidet genauso ab, ohne Scroll-Container */
html, body { overflow-x: clip !important; overflow-y: visible !important; }
@media (max-width: 700px) {
  .tac-name { flex-wrap: nowrap; } .tac-name .inp { width: 0 !important; flex: 1 1 auto; min-width: 0; } .tac-name .pill, .tac-name .btn { flex: none; font-size: 12px; white-space: nowrap; }
  .tac-tools .btn { padding: 7px 9px !important; font-size: 12.5px; flex: none; }
  .tac-tools .inp { width: 0 !important; flex: 1 1 auto; }
}
@media (max-width: 360px) { .topbar #w-lvl { display: inline-flex !important; } }
@media (max-width: 360px) { .topbar #w-lvl { padding: 3px 6px !important; font-size: 11.5px !important; } .topbar #w-money, .topbar #w-coins { padding: 3px 6px !important; font-size: 11.5px !important; } }
/* Querformat am Handy (niedrige Höhe): Tutorial kleiner, verdeckt keine Knöpfe */
@media (max-height: 500px) { .guide:not(.min) { max-height: 55vh; width: 300px !important; display: flex; flex-direction: column; } .guide:not(.min) .gd-body { overflow-y: auto; min-height: 0; } }
@media (max-width: 700px) { .topbar #fb-open { order: 4 !important; } .topbar > .spacer { order: 9; } }
@media (max-width: 700px) { .tac-top { margin: -4px 0 8px !important; padding: 8px 0 !important; box-shadow: 0 10px 10px -10px rgba(0,0,0,.3) !important; } }

/* ===== Zweiter Handy-Durchgang (23.11.2026): Leerräume weg, Bedienung leichter ===== */
@media (max-width: 700px) {
  /* Büro: Sponsor-Hinweis als Zeile Text + Knopf statt drei gequetschter Spalten */
  .warn-banner.nosp { display: flex; align-items: center; gap: 10px; }
  .warn-banner.nosp > div { flex: 1; min-width: 0; } .warn-banner.nosp b { display: block; } .warn-banner.nosp span { font-size: 13px; color: var(--muted); }
  .warn-banner.nosp .btn { flex: none; }
  /* Spiele: Uhrzeit links fällt weg (steht groß in der Mitte) – mehr Platz für die Vereinsnamen */
  .rl-row { grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 26px !important; }
  .rl-row .rl-time { display: none !important; }
  .rl-row .rl-type { grid-column: 1 / -1 !important; }
  .rl-row .rl-home { grid-column: 1 !important; } .rl-row .rl-score { grid-column: 2 !important; } .rl-row .rl-away { grid-column: 3 !important; } .rl-row .rl-tog { grid-column: 4 !important; }
  /* Liga: Countdown als eigene Zeile unter dem Titel, Liga-Auswahl über die ganze Breite */
  .league-hero { flex-wrap: wrap; gap: 10px 14px; padding: 14px; }
  .league-hero .lh-title { font-size: 24px; }
  .league-hero .lh-next { flex: 1 1 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left; border-top: 1px solid rgba(0,0,0,.08); padding-top: 8px; }
  .league-hero .lh-next .countdown { font-size: 17px !important; white-space: nowrap; }
  .lg-bar { flex-wrap: wrap; } .lg-bar #lsel { flex: 1 1 100%; order: -1; width: 100%; } .lg-bar > .spacer { display: none; }
  /* Verein: Name-Feld nutzt die ganze Breite, Knopf darunter daneben */
  .row:has(> #tn) { flex-wrap: wrap; } .row:has(> #tn) #tn { flex: 1 1 100% !important; width: 100%; } .row:has(> #tn) #tn-save { flex: 1 1 100%; }
  /* Sponsor-Angebote: Logo klein oben neben dem Namen, kein leerer Streifen links */
  .sponsor.offer, .sponsor.active { grid-template-columns: 1fr !important; gap: 8px !important; }
  .sponsor .sp-logo { width: 84px; height: 48px; margin: 0; }
  .sponsor.offer > div[style*="flex:1"] { min-width: 0; }
  .sponsor.offer .btn, .sponsor.offer > div:last-child:not([style]) { width: 100%; }
  /* Stadion: Zoom rechts neben der Überschrift, Name-Feld breit */
  .st-head { flex-wrap: wrap; } .st-head h2 { flex: 1 1 auto; font-size: 19px; } .st-head > .spacer { display: none; }
  .st-zoom { display: inline-flex; align-items: center; gap: 4px; } .st-head #expand { flex: 1 1 100%; }
  .map-side .row:has(> #stname) { flex-wrap: wrap; } .map-side #stname { flex: 1 1 100% !important; } .map-side #stname-save { flex: 1 1 100%; }
  /* Finanzen: Kennzahlen – die fünfte Kachel über die volle Breite statt Lücke */
  .fkpis .fkpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Finanzen-Tabellen bleiben Zeilen: Name links, Betrag rechts – keine Karten mit drei Zeilen pro Posten */
  .tbl.ftable, .tbl.ftable tbody { display: table !important; width: 100%; }
  .tbl.ftable tbody { display: table-row-group !important; }
  .tbl.ftable tr { display: table-row !important; padding: 0; }
  .tbl.ftable td { display: table-cell !important; width: auto !important; padding: 6px 4px !important; vertical-align: middle; }
  .tbl.ftable td:nth-child(2) { font-size: 11.5px; color: var(--muted); }
  .tbl.ftable td.fnum { text-align: right; white-space: nowrap; font-weight: 800; }
  .tbl.ftable tr.fhead td { display: table-cell !important; }
  /* Kontoauszug: je Buchung zwei kompakte Zeilen – „Wofür … Betrag“ und darunter Datum · Kontostand */
  .tbl.ftx-t tr { display: grid !important; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 7px 2px !important; }
  .tbl.ftx-t td { padding: 0 !important; }
  .tbl.ftx-t td::before { display: none !important; }
  .tbl.ftx-t td:nth-child(1) { grid-column: 1; grid-row: 2; font-size: 11.5px; color: var(--muted); }
  .tbl.ftx-t td:nth-child(2) { grid-column: 1; grid-row: 1; font-weight: 700; }
  .tbl.ftx-t td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .tbl.ftx-t td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; font-size: 11.5px; color: var(--muted); }
  .tbl.ftx-t td:nth-child(4)::after { content: ' Stand'; }
  .ftx-bar .inp { max-width: none; flex: 1 1 100%; }
}
@media (max-width: 700px) { .warn-banner:not(.nosp) { display: block !important; } .warn-banner:not(.nosp) > b:first-child { display: block; margin-bottom: 2px; } }

/* Handy: klebende Taktik-Leiste ohne Weichzeichner (backdrop-filter kann auf iPhones Antippen auf klebenden Leisten stören) */
@media (max-width: 700px) { .tac-top { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #f6f3ea !important; } .tac-savebtn { touch-action: manipulation; } }

.tac-top { flex-wrap: wrap; } .tac-top .tac-saveerr:not([hidden]) { flex: 1 1 100%; margin: 4px 0 0; }
.tac-top .tac-tabs { flex: 1 1 0; }

/* Handy: Taktik-Wahl als Auswahlfeld + Speichern daneben – keine abgeschnittenen Reiter mehr (Marcus, 23.11.2026: „Jetzt hast du Taktik 3 über den Speicherbutton gesetzt“) */
.tac-msel { display: none; }
@media (max-width: 700px) {
  .tac-top .tac-tabs { display: none !important; }
  .tac-top .tac-msel { display: block; flex: 1 1 0; min-width: 0; font-weight: 800; height: 42px; }
  .tac-top .tac-savebtn { height: 42px; }
}
/* Münz-Zeichen überall gleich golden wie oben in der Leiste (Marcus, 23.11.2026: „Was sollen denn das für Münzen sein hier? … die normalen Münzen sind ja goldfarben und nicht silber.“ – das 🪙-Emoji ist auf dem iPhone silbern) */
i.mz { display: inline-block; width: .95em; height: .95em; border-radius: 50%; vertical-align: -0.12em; margin: 0 .12em; background: radial-gradient(circle at 35% 35%, #fff6b0, #ffc531 50%, #b07800); box-shadow: 0 0 5px rgba(255,197,49,.7); }
.lvl-tab td:first-child, .lvl-tab th:first-child { white-space: nowrap; }

/* Aufstellen per Antippen: Auswahlfenster (23.11.2026) */
.pk-modal { max-width: 520px; }
.pk-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.pk-list { display: flex; flex-direction: column; gap: 6px; max-height: 62vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pk-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid #eee3c6; background: #fffdf6; border-radius: 12px; padding: 6px 10px; cursor: pointer; font: inherit; color: inherit; }
.pk-row:active, .pk-row:hover { background: #fff4cf; border-color: #d4a52a; }
.pk-face { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; background: #f1ecdd; } .pk-face svg, .pk-face img { width: 100%; height: 100%; }
.pk-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .pk-txt small { color: #6d6555; font-size: 12px; }
.pk-free { color: #157a3c; font-weight: 800; } .pk-on { color: #8a6510; font-weight: 700; }
.modal.pk-modal { background: #fffdf6 !important; opacity: 1 !important; backdrop-filter: none !important; } .pk-row { background: #fff !important; }

/* Taktik am Handy: Bank als Reihe unter dem Feld, Filter im Auswahlfenster (23.11.2026) */
.tac-mhint { display: none; }
.pk-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pk-fr { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .pk-fr::-webkit-scrollbar { display: none; }
.pk-c { flex: none; border: 1px solid #e3dac2; background: #fff; border-radius: 999px; padding: 5px 11px; font: 700 13px/1.1 inherit; cursor: pointer; white-space: nowrap; color: #3f434a; }
.pk-c.on { background: #33363c; color: #f0cf6a; border-color: #33363c; }
.pk-c .qdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--qc); margin-right: 4px; }
.pk-only { font-size: 13px; display: flex; gap: 6px; align-items: center; }
.pk-row[hidden] { display: none !important; }
@media (max-width: 700px) {
  .tac-mhint { display: block; font-size: 12.5px; font-weight: 700; color: #6b5a1a; background: #fff4cf; border-radius: 10px; padding: 6px 10px; margin: 4px 0 8px; }
  .pitch-bench { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .pitch-bench > .tpitch { width: 100% !important; margin: 0 auto 24px !important; }
  .bench-col { width: 100% !important; flex: none !important; flex-direction: row !important; align-items: flex-end !important; gap: 8px !important; overflow-x: auto; padding: 8px 10px !important; scrollbar-width: none; }
  .bench-col::-webkit-scrollbar { display: none; }
  .bench-col .bc-title { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; margin: 0 !important; }
  .bench-col .bc-slot { flex: none; min-width: 48px; }
  .bench-col .bc-slot .face { width: 42px !important; height: 42px !important; }
  .bench-col .bc-slot.hc .face { width: 46px !important; height: 46px !important; }
}
/* Handy-Prüfung Taktik (23.11.2026): Head-Coach-Kasten sauber (Bild nicht gequetscht), eingeklapptes Tutorial klein unten links, damit es das Feld nicht verdeckt */
@media (max-width: 700px) {
  .hc-seat { display: grid !important; grid-template-columns: auto 56px 1fr; align-items: center; gap: 8px 10px; }
  .hc-seat .coachface { width: 56px !important; height: 56px !important; flex: none; }
  .hc-seat > div:last-child { min-width: 0; }
  .guide.min { left: 8px; right: auto !important; bottom: 8px; }
  .guide.min .gd-open { padding: 6px 10px; font-size: 12px; }
}

/* Bank am Handy als Raster ohne Scrollen – vorher schnitt der waagrechte Scrollbereich die Beschriftungen ab (Tester, 23.11.2026: „Jetzt ist die Ersatzbank kaputt“) */
@media (max-width: 700px) {
  .bench-col { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px !important; overflow: visible !important; padding: 10px 8px !important; align-items: start !important; justify-items: center; height: auto !important; max-height: none !important; }
  .bench-col .bc-title { display: none !important; }
  .bench-col .bc-slot { min-width: 0 !important; width: 100%; }
  .bench-col .bc-slot .bc-nr { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bench-col .bc-slot.hc::before { content: 'Coach'; display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .05em; border-radius: 5px; padding: 0 5px; margin-bottom: 2px; background: #f0cf6a; color: #10102a; }
  .bench-col .bc-slot .face { margin: 0 auto; }
}
.pk-stats { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 2px; } .pk-stats .pill { font-size: 10.5px; padding: 1px 6px; }
.pk-ab { color: #8a6510 !important; font-weight: 700; }

/* Handy: Seite lässt sich auch mit dem Finger auf dem Feld/der Bank scrollen (Tester, 23.11.2026: „Wenn man den Finger oben an den Rand setzt geht das scrollen. Mittig nicht“) –
   Plätze werden am Handy angetippt (Auswahlfenster), Positionen über „Formation wählen“ */
@media (max-width: 700px) { .tpitch, .tok, .bc-slot, .bench-col { touch-action: pan-y !important; } }
/* 3D-Knopf im Farbkonzept Weiß/Schwarz/Gold statt Blau (Marcus, 23.11.2026: „Blauer Button passt nicht zum farbkonzept“) */
.mc-play .btn.alt { background: linear-gradient(135deg, #ffffff, #f1ead6) !important; color: #33363c !important; border: 2px solid #f0cf6a !important; box-shadow: 0 4px 0 #8a6b10, 0 8px 18px rgba(0,0,0,.25) !important; }

/* ===== Booster-Design (23.11.2026) ===== */
.pack .foil.packbag { width: 150px; height: 240px; background: none !important; box-shadow: none; overflow: visible; transform: rotate(-4deg); filter: drop-shadow(0 12px 18px color-mix(in srgb, var(--pc) 55%, transparent)); transition: transform .25s; }
.pack:hover .foil.packbag { transform: rotate(0) translateY(-4px) scale(1.04); }
.pack .foil.packbag::after { display: none; }
.packart { width: 100%; height: 100%; display: block; }
.packart .pa-holo { animation: paHolo 3.2s ease-in-out infinite; }
@keyframes paHolo { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(440px); } }
.po .bigpack.packbag { background: none !important; padding: 0; overflow: visible; box-shadow: none; filter: drop-shadow(0 0 40px var(--pc)); }
.po .bigpack.packbag::after { display: none; }
.po .half { background: none !important; overflow: hidden; border-radius: 0 !important; }
.po .half .hb { position: absolute; left: 0; width: 220px; height: 320px; } .po .half.top .hb { top: 0; } .po .half.bot .hb { top: -160px; }
.po .backside { background: #2a2d32 !important; }
.po .backside::before { content: none !important; }
.po .backside .cardback { width: 100%; height: 100%; display: block; }
/* Kartenstapel im Look der neuen Rückseite */
.po .deckcard { background: url(/monsterliga-emblem.svg) center 42% / 58% no-repeat, radial-gradient(circle at 50% 42%, #3a2a66, #1a1230 60%, #2a2d32) !important; border-color: #d4a52a !important; }
/* Stapel = gleiche Rückseite wie die Karte in der Mitte (Marcus, 23.11.2026) */
.po .deckcard { background: #2a2d32 !important; border: 0 !important; overflow: hidden; border-radius: 6px !important; }
.po .deckcard .cardback { width: 100%; height: 100%; display: block; }
/* Handy: Formationsauswahl nicht abschneiden („Formation wähler“) */
@media (max-width: 700px) { .tac-bar #formsel { min-width: 0; flex: 1 1 150px; padding-right: 26px; font-size: 14px; text-overflow: ellipsis; } }

/* Werte nach Bereichen mit Überschrift (Marcus, 23.11.2026) */
.stat-grp { margin-top: 8px; }
.stat-gh { font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; border-bottom: 1px solid #e8dfc6; padding: 2px 0 3px; margin-bottom: 3px; }
.mh-s .mh-gh { grid-column: 1 / -1; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #8a6510; margin-top: 4px; }

/* Trainingsstationen nach Bereichen (Marcus, 23.11.2026) */
.tg-stations .tg-gh { grid-column: 1 / -1; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #ffe9a8; margin: 6px 0 -4px; text-shadow: 0 1px 2px #0008; }
.tg-stations .tg-gh:first-child { margin-top: 0; }
.stat-note { margin: -4px 0 6px; }

/* Admin: Liste „Gerade online“ */
.aol { display: flex; flex-direction: column; gap: 4px; }
.aol-row { display: grid; grid-template-columns: minmax(110px, 200px) 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #f6f3ea; color: inherit; text-decoration: none; }
.aol-row:hover { background: #fff4cf; }
@media (max-width: 700px) { .aol-row { grid-template-columns: 1fr auto; } .aol-row .muted { grid-column: 1 / -1; grid-row: 2; } }

/* Tutorial-Schild als eigene Zeile über dem Ziel – verdeckt nichts (Marcus, 23.11.2026) */
.tut-spot::after { content: none !important; display: none !important; }
.tut-label { display: block; width: fit-content; max-width: 100%; margin: 4px 0 8px; background: #33363c; color: #f0cf6a; font: 800 12.5px/1.25 system-ui, sans-serif; padding: 5px 10px; border-radius: 10px; box-shadow: 0 3px 10px #0005; animation: tutBob 1.3s ease-in-out infinite; }
@keyframes tutBob { 50% { transform: translateY(2px); } }
/* Tutorial-Fenster liegt über Monster-Fenstern (wird nicht mehr verdeckt), aber nicht über der Pack-Show; am PC verschiebbar */
.guide { z-index: 130; }
body:has(.po) .guide { display: none !important; }
@media (min-width: 701px) {
  .guide .gd-drag { cursor: grab; user-select: none; touch-action: none; }
  .guide.dragging, .guide.dragging .gd-drag { cursor: grabbing; }
  .guide.dragging { animation: none; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
  .guide:not(.min) .gd-body { max-height: 62vh; overflow-y: auto; }
}
/* Handy: offenes Tutorial liegt über dem Monster-Fenster – Fenster bekommt unten Platz, damit sich alles darüber scrollen lässt */
@media (max-width: 700px) { body:has(.guide:not(.min)) .modal { padding-bottom: 48vh; } }
/* Spitzname und Rückennummer: Felder auf einer Höhe – Hinweis unter das Feld statt in die Überschrift (Marcus, 23.11.2026: „Die Felder sind schon wieder im Web nicht auf einer Höhe“) */
.mg-row { align-items: start; }
.mg-row .mg-l { white-space: nowrap; }
.mg-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

/* Monster sperren (Marcus, 23.11.2026) */
.lock-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 12px; background: #f6f3ea; border: 1px solid #e3dcc6; margin-bottom: 12px; font-size: 13px; }
.lock-box span { flex: 1 1 220px; color: #4a4433; }
.lock-box.on { background: #fff4cf; border-color: #c9a227; }
.lock-box.on b { color: #8a6510; }
.lock-ic { font-size: .8em; }
.ask-inp { width: 100%; margin: 4px 0 12px; font-size: 16px; }
.ask-inp.bad { border-color: #e0465f !important; box-shadow: 0 0 0 3px rgba(224, 70, 95, .2); }
.ask-btns .btn:disabled { opacity: .45; cursor: not-allowed; }
/* lange Wörter im Scout-Bericht umbrechen statt abschneiden (z. B. „Trainingswunder“) */
.sb2-w, .sr-word { overflow-wrap: break-word; hyphens: manual; }

.fx-cap { color: #8a6510; font-weight: 700; margin: 0 8px 0 -2px; }
/* Taktik: Effekt-Summen mit Herkunft und Endwert */
.fx-sum { width: 100%; margin-top: 4px; }
.fx-sum td { vertical-align: top; }
.fx-sum .fx-g { color: #1f9d55; } .fx-sum .fx-b { color: #d23a52; }
.fx-sum .fx-end { font-size: 15px; }
@media (max-width: 700px) { .fx-sum th:nth-child(2), .fx-sum td:nth-child(2) { min-width: 120px; } }
.fx-sum b, .fx-sum td:nth-child(3), .fx-sum td:nth-child(4) { white-space: nowrap; }

/* Taktik: Effekte bildlich – Karte je Effekt mit Satz, Balken bis zur Grenze und Endwert (Marcus, 23.11.2026) */
.fxv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin-top: 6px; }
.fxv-card { border-radius: 14px; padding: 10px 12px 12px; background: #fff; border: 2px solid #d7f0df; }
.fxv-card.bad { border-color: #f6cdd5; }
.fxv-top { display: flex; align-items: center; gap: 8px; }
.fxv-ic { font-size: 20px; }
.fxv-txt { flex: 1; font-size: 13.5px; line-height: 1.3; }
.fxv-val { font-size: 22px; font-weight: 900; white-space: nowrap; color: #1f9d55; }
.fxv-card.bad .fxv-val { color: #d23a52; }
.fxv-bar { position: relative; display: flex; height: 14px; margin: 10px 0 18px; background: #eee9dc; border-radius: 999px; overflow: visible; }
.fxv-bar i { display: block; height: 100%; border-right: 2px solid #fff; }
.fxv-bar i:first-child { border-radius: 999px 0 0 999px; }
.fxv-bar em { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: #33363c; border-radius: 2px; }
.fxv-lim { position: absolute; top: 17px; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; color: #4a4433; white-space: nowrap; }
.fxv-src { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: #4a4433; }
.fxv-src i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.fxv-calc { margin-top: 6px; font-size: 12.5px; color: #4a4433; }
.fxv-calc b { color: #8a6510; }
@media (max-width: 700px) { .fxv { grid-template-columns: 1fr; } }
.fxv-txt b { white-space: nowrap; }

.worn-hint { color: #8a6510; margin-top: 4px; }

.po .summary .po-card-b { margin-top: 6px; background: #fff; color: #33363c; border: 1px solid #c9a227; }

.fx-legend { margin: -4px 0 8px; }

/* Chat-Übersicht (Sprechblase oben) */
.ci-list { display: flex; flex-direction: column; gap: 6px; }
.ci-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #f6f3ea; color: inherit; text-decoration: none; }
.ci-row:hover { background: #fff4cf; }
.ci-row.new { background: #fff4cf; box-shadow: inset 3px 0 0 #e0303d; }
.ci-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: block; }
.ci-av > * { width: 100%; height: 100%; }
.ci-main { min-width: 0; }
.ci-last { display: block; font-size: 13px; color: #6d6555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-row.new .ci-last { color: #33363c; font-weight: 700; }
.ci-av { background: #33363c; }
.ci-letter { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #f0cf6a; font-weight: 900; font-size: 18px; }
/* Handy: Sprechblase in der zweiten Zeile direkt neben dem Gästebuch */
@media (max-width: 700px) {
  .topbar #chat-open { order: 12; width: 32px; height: 32px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 50% !important; font-size: 15px; flex: none; }
  .topbar #gb-open { order: 12; }
}
/* Level immer im Kopf sichtbar (Marcus, 23.11.2026: „Das Level … in der Header-Übersicht fehlt. Bitte das nachziehen, das muss überall rein.“) */
.topbar .wallet .lvl, .topbar #w-lvl { display: inline-flex !important; align-items: center; font-weight: 900; white-space: nowrap; }
@media (max-width: 360px) { .topbar #w-lvl { padding: 3px 6px !important; font-size: 11.5px !important; } .topbar #w-money, .topbar #w-coins { padding: 3px 6px !important; font-size: 11.5px !important; } }
@media (max-width: 360px) { .topbar > a[data-nav="admin"], .topbar #gb-open, .topbar #chat-open { width: 28px !important; height: 28px !important; font-size: 13px !important; } .topbar { column-gap: 4px !important; } }

/* Freundesliste: Aktionen mit Wort und Symbol (Marcus, 23.11.2026: „Die Icons beim Freund sind irgendwie komisch … nicht selbsterklärend“) */
.srow.friend { flex-wrap: wrap; }
.srow.friend .fr-acts { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 44px; }
.fr-act { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #e3dcc6; background: #fff; color: #33363c;
  font: 800 12.5px/1 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.fr-act span { font-size: 14px; }
.fr-act:hover { background: #fff4cf; border-color: #c9a227; }
.fr-act.gold { background: linear-gradient(180deg, #f3d77a, #d4a52a); border-color: #b8860b; }
.fr-act.del { margin-left: auto; background: none; border-color: transparent; color: #b3263a; font-weight: 700; }
.fr-act.del:hover { background: #fde8ec; border-color: #f2c2cc; }
@media (max-width: 700px) { .srow.friend .fr-acts { margin-left: 0; } }

/* Rückennummern: jedes Monster ein eigener Block (Marcus, 23.11.2026: „Trennblöcke … dass ich sofort sehe, dass ich die neue Nummer für den Spieler X … nutze“) */
.nr-list { gap: 8px 12px !important; margin-top: 12px; }
.nr-row { border: 1px solid #e3dcc6 !important; border-radius: 12px; padding: 8px 10px !important; background: #fffdf6; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.nr-row:nth-child(even) { background: #f7f3e8; }
.nr-row:hover, .nr-row:focus-within { border-color: #c9a227 !important; background: #fff4cf; }
.nr-cur { flex: 0 0 34px !important; font-size: 17px !important; }
.nr-row select.inp { flex: 0 0 160px !important; width: 160px !important; }
@media (max-width: 700px) { .nr-row { flex-wrap: wrap; } .nr-row select.inp { flex: 1 1 100% !important; width: 100% !important; } }
@media (min-width: 701px) { .nr-list { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important; } .nr-row select.inp { flex: 0 0 130px !important; width: 130px !important; } }

.guide .gd-pk.pick { display: block; width: 100%; text-align: left; border: 1px solid #e3dcc6; background: #fffdf6; border-radius: 8px; padding: 5px 8px; margin: 3px 0; font: inherit; font-weight: 700; cursor: pointer; }
.guide .gd-pk.pick:hover { background: #fff4cf; border-color: #c9a227; }
.guide .gd-pk.pick small { color: #8a6510; }
/* Rückennummern kompakter: 3 Kacheln nebeneinander, wenig Abstand (Marcus, 23.11.2026: „nicht so viel Abstand … lieber 3 Kacheln nebeneinander … Platzverschwendung“) */
@media (min-width: 701px) {
  .nr-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 6px !important; }
  .nr-row { padding: 5px 8px !important; gap: 6px !important; }
  .nr-face { width: 30px !important; height: 30px !important; flex-basis: 30px !important; }
  .nr-row select.inp { flex: 0 0 112px !important; width: 112px !important; padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
}
/* Handy: nie seitlich scrollen (Marcus, 23.11.2026: „Bei Taktik ist derzeit Links- und Rechts-Scrollen auf dem Handy möglich … in der ganzen App … korrigiere das“).
   1) Ältere iPhones (iOS < 16) kennen „overflow: clip“ nicht – dort „hidden“ als Ersatz.
   2) Wischen auf der Seite nur senkrecht (und Zoomen); eigene waagrechte Scroll-Leisten (Tabellen, Reiter) funktionieren weiter, weil sie eigene Scroll-Bereiche sind.
   3) Alle Hauptbereiche höchstens bildschirmbreit. */
@supports not (overflow: clip) { html, body { overflow-x: hidden !important; } }
@media (max-width: 700px) {
  html, body { touch-action: pan-y pinch-zoom; max-width: 100%; }
  #app, #view, .topbar, .panel, .lineup-wrap, .pitch-bench, .tac-top, .tac-bar { max-width: 100%; min-width: 0; }
  #view img, #view svg, #view canvas, #view video { max-width: 100%; }
  #view .grid > *, #view .row > * { min-width: 0; }
}

/* Taktik am Handy übersichtlich (Marcus, 23.11.2026: „Beim Handy muss der Kader bei Taktik deutlich weiter nach oben. Der muss sofort unter der Ersatzbank sein …
   Und auch die Auswechslung und so, das muss alles höher. Die Statistiken, diese Buffs, die können ganz nach unten sein.“)
   Reihenfolge am Handy: Feld + Bank → Kader → Auswechslungen → Regeln → Kapitän & Schützen → Spielweise → Effekte. PC unverändert. */
@media (max-width: 700px) {
  .lineup-wrap.lw-start { display: flex !important; flex-direction: column; gap: 12px; }
  .lineup-wrap.lw-start > .lw-left { display: contents; }
  .lw-start .lw-counts { order: 1; } .lw-start .tac-mhint { order: 2; } .lw-start .lw-pitch { order: 3; }
  .lw-start .lw-squad { order: 4; } .lw-start .lw-sub { order: 5; } .lw-start .lw-rules { order: 6; }
  .lw-start .lw-sp { order: 7; } .lw-start .lw-plan { order: 8; } .lw-start .lw-fx { order: 9; }
  .lw-start > .lw-left > * { margin-top: 0 !important; }
  /* kein eigener Scrollkasten am Handy: er hielt den Finger fest, man kam nicht unter die Kaderliste (Marcus, 26.11.2026: „Das Problem war, dass man nicht nach unten scrollen konnte“) */
  .lw-start .lw-squad .bench.sq-grid { max-height: none; overflow: visible; }
}
/* iPhone/Safari: Seite rutschte seitlich und schnitt links ab (Marcus, 23.11.2026, Foto Kader). Inhalte am Rand des Hauptbereichs abschneiden statt die Seite zu verbreitern */
@media (max-width: 700px) {
  #view, .main, .topbar { overflow-x: clip; }
  .tr-tabs { flex-wrap: wrap; max-width: 100%; }
  .tr-tabs > a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kf-bar { max-width: 100%; } .kf-bar .kf, .kf-bar .inp { min-width: 0; max-width: 100%; }
}
/* iPhone: Safari vergrößert die Seite beim Antippen von Feldern mit Schrift unter 16 px und bleibt vergrößert – links wird dann etwas abgeschnitten (Marcus, 23.11.2026).
   Alle Eingabe- und Auswahlfelder am Handy daher mindestens 16 px. */
@media (max-width: 700px) {
  input, select, textarea, .inp { font-size: 16px !important; }
}

/* Chat-Fenster: Liste + Verlauf mit Eingabe (Marcus, 23.11.2026) */
.ci-pop { min-width: min(820px, 92vw); }
.ci-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 12px; min-height: 420px; }
.ci-pop .ci-list { max-height: 60vh; overflow-y: auto; }
.ci-pop .ci-row { width: 100%; border: 1px solid transparent; text-align: left; font: inherit; cursor: pointer; }
.ci-pop .ci-row.on { border-color: #c9a227; background: #fff4cf; }
.ci-conv { display: flex; flex-direction: column; border: 1px solid #e3dcc6; border-radius: 12px; background: #fffdf6; padding: 8px; min-height: 420px; }
.ci-head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 8px; border-bottom: 1px solid #efe9da; }
.ci-back { display: none; }
.ci-del { color: #b3263a !important; }
.ci-msgs { flex: 1; overflow-y: auto; max-height: 50vh; padding: 8px 2px; display: flex; flex-direction: column; gap: 6px; }
.ci-form { display: flex; gap: 6px; padding-top: 8px; border-top: 1px solid #efe9da; }
.ci-form .inp { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .ci-pop { min-width: 0; }
  .ci-wrap { grid-template-columns: 1fr; min-height: 0; }
  .ci-conv { display: none; min-height: 60vh; }
  .ci-box.conv-open .ci-list { display: none; }
  .ci-box.conv-open .ci-conv { display: flex; }
  .ci-back { display: inline-flex; align-self: flex-start; margin-bottom: 8px; }
  .ci-wrap { grid-template-columns: minmax(0, 1fr); }
  .ci-msgs { max-height: 52vh; }
}

/* Freunde-Seite ohne Chat-Spalte (Marcus, 23.11.2026): Liste über die volle Breite, aber nicht endlos breit */
.social-wrap.single { grid-template-columns: 1fr; max-width: 980px; }

/* Werte anklickbar mit Erklärung (Marcus, 23.11.2026) */
.stat-n { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted rgba(0,0,0,.35); text-underline-offset: 3px; text-align: left; }
.stat-n:hover { color: #8a6d00; text-decoration-color: #c9a227; }
.stat-pop { position: absolute; z-index: 3000; background: #fffdf6; color: #33363c; border: 2px solid #c9a227; border-radius: 12px; padding: 10px 12px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; line-height: 1.4; }
.stat-pop b { font-size: 15px; }
.stat-pop p { margin: 4px 0 6px; }
.stat-pop ul { margin: 4px 0 0; padding-left: 18px; }
.stat-pop li { margin: 2px 0; }
.stat-pop-x { position: absolute; top: 4px; right: 6px; background: none; border: 0; font-size: 14px; cursor: pointer; color: #6b6478; padding: 4px; }

/* Inventar als Kacheln (Marcus, 23.11.2026) – gleiche Kartenform wie im Pack */
.inv-head { align-items: center; }
.inv-count { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #f6f3ea; border: 1px solid #e3dcc6; }
.inv-count.full { background: #fff4cf; border-color: #c9a227; }
.inv-count.over { background: #ffe3e6; border-color: #d7263d; color: #b3263a; }
.inv-filter { gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.inv-filter .tr-tabs { margin: 0; }
.inv-cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 700px) {
  .inv-filter .tr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
  .inv-filter .tr-tabs a { font-size: 13px; padding: 8px 4px; text-align: center; white-space: nowrap; }
  .inv-filter select { width: 100%; }
}
/* Handy-Kopfleiste: Admin, Gästebuch und Chat passen mit Level/Geld/Münzen in eine Zeile (sonst rutschte 💬 allein in eine dritte Zeile) */
@media (max-width: 430px) {
  .topbar { column-gap: 5px !important; }
  .topbar > a[data-nav="admin"], .topbar #gb-open, .topbar #chat-open { width: 30px !important; height: 30px !important; }
  .topbar #w-money, .topbar #w-coins { padding: 4px 6px !important; }
}
@media (max-width: 340px) {
  .topbar { column-gap: 3px !important; padding-left: 6px !important; padding-right: 6px !important; }
  .topbar #w-lvl, .topbar #w-money, .topbar #w-coins { padding: 3px 5px !important; font-size: 11px !important; }
  .topbar > a[data-nav="admin"], .topbar #gb-open, .topbar #chat-open, .topbar #fb-open { width: 27px !important; height: 27px !important; }
}

/* Inventar-Karte = Booster-Gegenstandskarte (Marcus, 23.11.2026: „Die Boosterkarte für Items sieht aber anders aus.“) – gleiche Optik wie .po .face in pack.js */
.inv-cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.icard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 12px 12px; border-radius: 20px; overflow: hidden; color: #fff;
  border: 4px solid var(--rc); background: radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--rc) 45%, transparent), #120c2e 70%); box-shadow: 0 0 24px -4px var(--rc); }
.icard.ir5 { background: radial-gradient(circle at 50% 34%, rgba(127, 246, 255, .55), #120c2e 70%), linear-gradient(130deg, #7ff6ff, #ff4fa3, #ffd23f, #3ddc84, #7ff6ff); background-size: 100% 100%, 400% 400%; animation: prism 3s linear infinite; }
.icard .ic-rl { font-size: 12px; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; color: var(--rc); text-shadow: 0 0 10px var(--rc); }
.icard .ic-art { width: 62%; aspect-ratio: 1; padding: 6px; }
.icard .ic-art svg { width: 100%; height: 100%; }
.icard .ic-nm { font-size: 19px; font-weight: 900; font-style: italic; text-shadow: 0 2px 8px #2a2d32; line-height: 1.15; }
.icard .ic-ab { color: #ffd23f; font-weight: 800; font-size: 13px; }
.icard .ic-fx { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 2px; }
.icard .ic-fx .pill { font-size: 12px; font-weight: 800; padding: 3px 9px; border: 0; }
.icard .ic-fx .pill.up { background: #1f9d55; color: #fff; } .icard .ic-fx .pill.down { background: #c2334a; color: #fff; }
.icard .ic-desc { font-size: 12px; color: rgba(255, 255, 255, .7); font-style: italic; line-height: 1.3; }
.icard .ic-who { font-size: 12px; margin-top: auto; padding-top: 7px; width: 100%; border-top: 1px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .9); }
.icard .ic-who b { color: #ffd23f; }
.icard .ic-btns { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 4px; }
.icard .ic-btns .btn { width: 100%; justify-content: center; }
@media (max-width: 700px) { .inv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .icard { padding: 10px 8px; } .icard .ic-nm { font-size: 16px; } .icard .ic-rl { font-size: 10px; letter-spacing: 1.5px; } }

/* Reiter auf der Vereinsseite: ausgeblendete Bereiche wirklich ausblenden (.grid/.panel setzen sonst display) */
.grid[hidden], .panel[hidden] { display: none !important; }
.v-tabs { margin-bottom: 14px; }

/* Reiter auf langen Seiten (secTabs in app.js) */
.sec-hid { display: none !important; }
.sec-tabs { margin: 4px 0 14px; }
.sec-single > .grid.cols-2, .sec-single .grid.cols-2 { grid-template-columns: 1fr; max-width: 980px; }
.sec-tabs + .panel.cup-rules, .sec-tabs ~ .grid.cols-2 { margin-top: 0; }

/* Taktik Info-Feld: Name ist ein Knopf (öffnet die große Spielerkarte) – sieht aus wie vorher */
.tinfo button.ti-name { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 900; color: inherit; text-align: left; cursor: pointer;
  text-decoration: underline dotted #c9a227 2px; text-underline-offset: 3px; -webkit-tap-highlight-color: rgba(201, 162, 39, .25); touch-action: manipulation; }

/* Taktik: Teamwert und Teamform links oben auf dem Feld (Marcus, 24.11.2026) */
.tpitch .team-kpi { position: absolute; left: 6px; top: 6px; z-index: 6; pointer-events: none; display: flex; flex-direction: column; gap: 3px;
  background: rgba(10, 30, 16, .78); border: 1px solid rgba(240, 207, 106, .7); border-radius: 10px; padding: 5px 9px; color: #fff; line-height: 1.1; }
.tpitch .team-kpi div { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; }
.tpitch .team-kpi span { font-size: 11px; font-weight: 700; color: #cfe8d4; text-transform: uppercase; letter-spacing: .5px; }
.tpitch .team-kpi b { font-size: 16px; font-weight: 900; color: #ffd23f; }
@media (max-width: 700px) { .tpitch .team-kpi { padding: 3px 7px; } .tpitch .team-kpi span { font-size: 10px; } .tpitch .team-kpi b { font-size: 14px; } }

/* Vereinsprofil: Teamform-Trend als Pfeil (Marcus, 24.11.2026) */
.ftrend { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 26px; border-radius: 7px; font-size: 15px; font-weight: 900; color: #fff; }
.ftrend.up { background: #2e8b47; } .ftrend.flat { background: #f0b400; color: #33363c; } /* zur Seite gelb, hoch grün, runter rot (Marcus, 24.11.2026) */ .ftrend.down { background: #c2334a; }
.ftrend { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 19px; line-height: 1; }

/* Taktik-Auswahlfenster: Gesicht und Name öffnen die Spielerkarte, „Aufstellen“ rechts (Marcus, 24.11.2026) */
.pk-row > button.pk-face { border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
.pk-txt { flex: 1; }
.pk-row button.pk-nm { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 900; color: inherit; text-align: left; cursor: pointer;
  text-decoration: underline dotted #c9a227 2px; text-underline-offset: 3px; touch-action: manipulation; -webkit-tap-highlight-color: rgba(201, 162, 39, .25); }
.pk-row .pk-go { flex: none; align-self: center; }

/* Kader-Reiter „Statistiken“ (Marcus, 24.11.2026) */
.kst h3 { margin: 14px 0 8px; } .kst h3:first-child { margin-top: 0; }
.kst-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.kst-tile { border: 1px solid #eee3c6; background: #fffdf6; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.kst-tile span { font-size: 12px; font-weight: 700; color: #6d6555; } .kst-tile b { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.kst-tile small { font-size: 11px; color: #8a8270; }
.kst-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kst-bars { display: flex; flex-direction: column; gap: 6px; }
.kst-bar { display: grid; grid-template-columns: 110px 1fr 30px; align-items: center; gap: 8px; font-size: 13px; }
.kst-bar .kst-n { font-weight: 700; } .kst-bar b { text-align: right; }
.kst-track { height: 10px; background: #f1ecdd; border-radius: 5px; overflow: hidden; } .kst-track i { display: block; height: 100%; background: #c9a227; border-radius: 0 4px 4px 0; }
.kst .ftrend { width: 24px; height: 22px; font-size: 13px; }
@media (max-width: 700px) { .kst-tiles { grid-template-columns: repeat(2, 1fr); } .kst-cols { grid-template-columns: 1fr; } .kst-tile b { font-size: 18px; } }
@media (max-width: 700px) { .v-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } .v-tabs a { text-align: center; } }

/* Verein → Statistiken: Siegquoten und Spiel-Zahlen (Marcus, 24.11.2026) */
.kst-tbl { width: 100%; border-collapse: collapse; } .kst-tbl th, .kst-tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #eee3c6; vertical-align: top; }
.kst-tbl thead th { font-size: 12px; color: #6d6555; } .kst-tbl tbody th { white-space: nowrap; }
.kst-tbl td b.kst-q { display: block; font-size: 18px; font-weight: 900; } .kst-tbl td small { color: #8a8270; font-size: 12px; }
.kst-last { display: flex; gap: 5px; flex-wrap: wrap; }
.kst-last .fdot { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #fff; }
.kst-last .fdot.w { background: #2e8b47; } .kst-last .fdot.d { background: #8a8f99; } .kst-last .fdot.l { background: #c2334a; }
.kst-top { margin: 0; padding-left: 22px; } .kst-top li { padding: 3px 0; } .kst-top li span { display: inline-block; min-width: 60%; } .kst-top li b { float: right; }
.kst-card { display: inline-block; width: 11px; height: 15px; border-radius: 2px; vertical-align: -1px; margin-right: 4px; } .kst-card.y { background: #f2c200; } .kst-card.r { background: #d0213a; }
@media (max-width: 700px) { .kst-tbl th, .kst-tbl td { padding: 6px 4px; } .kst-tbl td b.kst-q { font-size: 16px; } }
.kst-last { margin-bottom: 6px; }

/* Gegenstände ab Blau: Trainingstempo-Bonus (Marcus, 24.11.2026) */
.pill.train { background: #e6f0ff; color: #1d4fa3; border-color: #9cbcf0; }
.tg-ctx button.noeff { color: #8a8270; } .tg-ctx button i { font-size: 11px; color: #8a8270; margin-left: auto; }

/* Tagesübersicht: Sortierung (Marcus, 24.11.2026) */
.ov-sort { gap: 8px; align-items: center; margin: 6px 0 8px; flex-wrap: wrap; }

/* Kopfleiste: Gästebuch, Chat, Fehler melden und Admin im selben dunklen Stil wie Geld und Münzen (Marcus, 24.11.2026: „die anderen … genauso eine selbe coole Optik“) */
.topbar .gb-btn, .topbar .fb-btn, .topbar > a[data-nav="admin"] { background: rgba(240, 207, 106, .10) !important; border: 1px solid rgba(240, 207, 106, .45) !important; color: #f0cf6a !important; box-shadow: none !important; }
.topbar .gb-btn:hover, .topbar .fb-btn:hover, .topbar > a[data-nav="admin"]:hover { filter: brightness(1.2); background: rgba(240, 207, 106, .18) !important; }
.topbar .fb-btn .fb-txt { color: #f0cf6a !important; }
.topbar .fb-btn .bug-ic g, .topbar .fb-btn .bug-ic [stroke="#33363c"] { stroke: #f0e6c8; }
.topbar .fb-btn .bug-ic circle[cy="7"] { fill: #f0e6c8; }
.topbar .wallet .lvl { background: rgba(240, 207, 106, .10) !important; border: 1px solid rgba(240, 207, 106, .45) !important; color: #f0cf6a !important; }

/* Spielerkarte: Talent und Lerntempo als leuchtende Sternen-Leisten (Marcus, 24.11.2026: „Talent und lernt schnell die Sterne-Optik ein bisschen anpassen, sodass die cooler aussieht
   und … mehr hervorscheinen“) – Talent gold, Lerntempo türkis; leere Sterne dunkel; ab 4 Sternen glänzt die Leiste. Gestaltung Claudes Setzung. */
.mcard .tal, .mcard .ts { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 5px; height: auto !important; min-height: 0 !important;
  margin: 4px 6px 0; padding: 4px 8px; border-radius: 9px; background: linear-gradient(180deg, #3f434a, #33363c); border: 1px solid #3d3647; line-height: 1.2 !important;
  letter-spacing: 0 !important; overflow: visible !important; white-space: normal !important; position: relative; }
.mcard .tal .tal-k, .mcard .ts .tal-k { flex-basis: 100%; text-align: center; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #a99f88; margin: 0; }
.mcard .tal .st-on, .mcard .ts .st-on { font-size: 17px; letter-spacing: 1px; }
.mcard .tal i, .mcard .ts i { font-style: normal; font-size: 17px; letter-spacing: 1px; color: #3d3647 !important; margin-left: -4px; }
.mcard .tal .st-on { color: #ffd23f; text-shadow: 0 0 6px rgba(255, 196, 40, .85), 0 0 1px #fff3b0; }
.mcard .ts .st-on { color: #5fe3ff; text-shadow: 0 0 6px rgba(80, 210, 255, .85), 0 0 1px #e6fbff; }
.mcard .tal b { display: block; flex-basis: 100%; margin: 0 !important; font-size: 12px !important; color: #ffe9a8 !important; letter-spacing: .02em; }
.mcard .ts .ts-w { display: block; flex-basis: 100%; font-size: 11.5px !important; font-weight: 800; color: #bff3ff !important; }
.mcard .tal.t5, .mcard .tal.t6, .mcard .ts.s5, .mcard .ts.s6 { overflow: hidden !important; }
.mcard .tal.t6, .mcard .ts.s6 { border-color: #b98a1a; box-shadow: 0 0 10px rgba(255, 196, 40, .45), inset 0 0 8px rgba(255, 196, 40, .18); }
.mcard .ts.s6 { border-color: #2aa8c8; box-shadow: 0 0 10px rgba(80, 210, 255, .45), inset 0 0 8px rgba(80, 210, 255, .18); }
/* Glanz nur bei 5 Sternen (Marcus, 24.11.2026: „diesen Glitzerschein … das würde ich halt nur bei 5 Sterne machen“) */
.mcard .tal.t6::after, .mcard .ts.s6::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); animation: starShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes starShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .mcard .tal::after, .mcard .ts::after { animation: none !important; display: none; } }

/* Freundesliste: Spitzname ändern (Marcus, 24.11.2026) */
.fr-nick { border: 0; background: none; cursor: pointer; font-size: 13px; padding: 0 2px; opacity: .65; } .fr-nick:hover { opacity: 1; }
/* 5 Sterne Talent oder Lerntempo: Regenbogen-Sterne (Marcus, 24.11.2026: „wenn die 5 Sterne erreicht sind, dann muss da irgendwie so Regenbogenfarben sein“) */
.mcard .tal.t6 .st-on, .mcard .ts.s6 .st-on { color: transparent !important; text-shadow: none !important;
  background: linear-gradient(90deg, #ff4d4d, #ffa31a, #ffe14d, #4dff88, #4dd2ff, #7a6bff, #ff5ce1, #ff4d4d); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .55)) drop-shadow(0 0 7px rgba(255, 160, 255, .45)); animation: rainbowStars 3s linear infinite; }
@keyframes rainbowStars { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
.mcard .tal.t6, .mcard .ts.s6 { border-color: #c77dff !important; box-shadow: 0 0 10px rgba(199, 125, 255, .55), inset 0 0 8px rgba(255, 255, 255, .12) !important; }
@media (prefers-reduced-motion: reduce) { .mcard .tal.t6 .st-on, .mcard .ts.s6 .st-on { animation: none; } }

/* Einheitliche Reiterleisten (Marcus, 24.11.2026: „Um in Liga gibt es Reiter und die haben einzelne Buttons. Und drumherum ist nochmal ein Frame, der farbig ist … das bitte wegnehmen …
   wenn das alles gleich bleibt. Also alles dieselbe Struktur hat überall.“): Liga, Admin und Spielzentrale sehen aus wie alle anderen Reiter (.tr-tabs) */
.league-tabs.tr-tabs { gap: 0; flex-wrap: nowrap; background: none !important; border: 0; border-bottom: 3px solid #33363c; border-radius: 0; padding: 0; box-shadow: none; }
.league-tabs.tr-tabs a { padding: 10px 22px; font-weight: 900; color: var(--text); background: #e8e4d8; border: 0; border-radius: 10px 10px 0 0; margin-right: 4px; }
.league-tabs.tr-tabs a.on { background: #33363c; color: #f0cf6a; border: 0; }
.tr-tabs button { padding: 10px 22px; font: inherit; font-weight: 900; color: var(--text); background: #e8e4d8; border: 0; border-radius: 10px 10px 0 0; margin-right: 4px; cursor: pointer; }
.tr-tabs button.on { background: #33363c; color: #f0cf6a; }
.mc-tabs { display: flex; gap: 0; border-bottom: 3px solid #33363c; background: none; padding: 0; }
.mc-tabs button { padding: 10px 22px; font-weight: 900; background: #e8e4d8 !important; color: var(--text) !important; border: 0 !important; border-radius: 10px 10px 0 0 !important; margin-right: 4px; box-shadow: none !important; }
.mc-tabs button.active { background: #33363c !important; color: #f0cf6a !important; }
@media (max-width: 700px) {
  .league-tabs.tr-tabs { flex-wrap: wrap; gap: 4px; border-bottom-width: 2px; }
  .league-tabs.tr-tabs a, .tr-tabs button, .mc-tabs button { flex: 1 1 calc(50% - 4px); text-align: center; padding: 9px 8px; margin-right: 0; border-radius: 10px !important; font-size: 14px; }
  .mc-tabs { flex-wrap: wrap; gap: 4px; border-bottom-width: 2px; }
}

/* Freundschaftsspiele: Termin-Leiste in einer Reihe, Farben grün/gelb/grau/hellgrau (Marcus, 24.11.2026: „Grün, wenn ich da ein Freundschaftsspiel habe und es bestätigt ist. Gelb, wenn ich
   eine Einladung geschickt habe … Grau natürlich bei Ligaspieltagen und … ein Grau, aber vielleicht ein anderes, da wenn noch frei ist … alle in einer Reihe“) */
.fr-cal { display: flex !important; flex-wrap: nowrap; gap: 5px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.fr-cal .frc { flex: 1 0 104px; max-width: 150px; }
.frc.belegt { background: #d9f5df !important; border-color: #6cc47f !important; color: #1d6b2e !important; }
.frc.reserviert { background: #fff1bf !important; border-color: #e6c24a !important; color: #7a5600 !important; }
.frc.liga { background: #b9b6ad !important; border-color: #9a968b !important; color: #3f434a !important; }
.frc.frei { background: #f1efe9 !important; border-color: #dcd8cd !important; color: #6b675c !important; }
.frc.opp { background: #e6e2d8 !important; border-color: #cfc9ba !important; color: #7a6f55 !important; }
.fr-legend { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; } .fr-legend .frc { padding: 2px 8px; border-radius: 8px; font-size: 11.5px; border: 1px solid; }
.fr-cal .frc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Taktik: Effekte kompakt in drei Kästen (Marcus, 24.11.2026) */
.fx2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.fx2-card { border: 1px solid #e6dfcb; background: #fffdf6; border-radius: 12px; padding: 8px 10px; min-width: 0; }
.fx2-card.off { opacity: .55; }
.fx2-h { font-size: 13px; font-weight: 800; color: #5a5242; margin-bottom: 6px; }
.fx2-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 5px 0; border-top: 1px solid #f0ead9; align-items: baseline; }
.fx2-row:first-of-type { border-top: 0; }
.fx2-k { font-weight: 700; font-size: 13px; } .fx2-k small { font-weight: 600; color: #8a8270; }
.fx2-v { font-weight: 800; font-size: 13px; text-align: right; } .fx2-v.good { color: #1d7a36; } .fx2-v.bad { color: #c0263d; }
.fx2-sub { grid-column: 1 / -1; font-size: 11.5px; color: #8a8270; }
.fx2-bad { color: #c0263d; font-weight: 700; font-size: 12.5px; }
.fx2-card:not(:last-child) .fx2-row { grid-template-columns: 1fr; } .fx2-card:not(:last-child) .fx2-v { text-align: left; font-weight: 700; }
.fx2 > .fx2-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Erfahrung in den Extras (Marcus, 24.11.2026): violetter Balken, Zahl 0–100 statt % */
.stat.stat-exp .bar i { background: linear-gradient(90deg, #8a5cff, #c78bff) !important; }

/* Taktik Desktop: Kader nie einspaltig (Marcus, 24.11.2026: „So tief muss es nicht sein, so kannst du links und rechts nutzen“) –
   linke Spalte (Feld + Bank) höchstens 60 % der Breite, Kader mindestens 2 Kacheln nebeneinander */
@media (min-width: 1001px) {
  .lineup-wrap.lw-start { grid-template-columns: min(calc(82vh * 68 / 105 + 96px), 60%) minmax(0, 1fr) !important; }
  .lw-start .pitch-bench > .tpitch { width: min(calc(82vh * 68 / 105), calc(100% - 96px)) !important; }
  .lw-start .bench.sq-grid { grid-template-columns: repeat(auto-fill, minmax(min(110px, calc(50% - 4px)), 1fr)); }
}

/* Elfmeter-Reihenfolge als kleine Kacheln zum Ziehen (Marcus, 24.11.2026) */
.pen-list { gap: 4px; max-width: 360px; }
.pen-list li.pen-tile { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; background: #fff; border: 1px solid var(--line); border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .12s; font-size: 13px; }
.pen-list li.pen-tile.drag { transition: none; cursor: grabbing; position: relative; z-index: 5; box-shadow: 0 6px 16px rgba(0,0,0,.18); border-color: #e0b43a; }
.pen-grip { color: #b5ad98; font-size: 14px; line-height: 1; padding: 0 2px; }
.pen-tile .pen-nr { width: 26px; color: #8a6510; }
.pen-tile .pen-name { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pen-x { border: 0; background: transparent; color: #a39a85; font-size: 13px; padding: 2px 6px; border-radius: 6px; cursor: pointer; }
.pen-x:hover { background: #f4e3e3; color: #c0263d; }

/* Kader-Blättern am PC (Marcus, 24.11.2026) */
.sq-pager:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.sq-pager .btn { padding: 2px 10px; font-size: 16px; line-height: 1.2; }
.sq-pager .btn:disabled { opacity: .35; }
.sq-pg { font-weight: 700; font-size: 12px; white-space: nowrap; }
/* Kader am PC kompakter, damit mehr Kacheln pro Seite neben das Feld passen (Marcus, 24.11.2026) */
@media (min-width: 1001px) {
  .lw-start .squad-drop > p.small.muted { display: none; }
  .lw-start .squad-drop .tp-posf { gap: 4px; margin: 4px 0 2px; }
  .lw-start .squad-drop .tpf { padding: 2px 9px; font-size: 12px; }
  .lw-start .squad-drop .row.small { margin: 6px 0 !important; flex-wrap: wrap; gap: 6px; }
  .lw-start .squad-drop h3 { margin-bottom: 4px; }
}

/* Taktik: Sperrkreise beim Ziehen, Tauschen im Kreis (Marcus, 24.11.2026) */
.tok-ring { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.16); border: 2px dashed rgba(255,255,255,.55);
  pointer-events: none; z-index: 2; display: flex; align-items: flex-end; justify-content: center; }
.tok-ring span { display: none; font-size: 11px; font-weight: 900; background: #ffd23f; color: #33363c; border-radius: 6px; padding: 0 5px; transform: translateY(70%); white-space: nowrap; }
.tok-ring.swap { background: rgba(255,210,63,.28); border: 2px solid #ffd23f; }
.tok-ring.swap span { display: inline-block; }
.tok.dragged { z-index: 6; pointer-events: none; }
.tok.dragged .face { box-shadow: 0 6px 16px rgba(0,0,0,.45); }

/* Kader am PC als dünne Avatar-Kacheln: Gesicht, Name, Position – Werte beim Drüberfahren (Marcus, 24.11.2026: „dünne Kacheln mit nur dem Gesicht … den kleinen Namen und
   welche Position. Und wenn man rüberhovert, kommen die Werte.“) */
@media (min-width: 1001px) {
  .lw-start .bench.sq-grid { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)) !important; gap: 6px; }
  .lw-start .sq-tile { padding: 5px 3px 4px !important; gap: 1px !important; }
  .lw-start .sq-tile .face { width: 42px !important; height: 42px !important; }
  .lw-start .sq-tile .sq-nm { font-size: 11.5px; }
  .lw-start .sq-tile .sq-meta { font-size: 10px; min-height: 0; }
  .lw-start .sq-tile .sq-meta .small { font-size: 10px; }
  .lw-start .sq-tile .sq-pop { display: none; position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); z-index: 20; background: #33363c; color: #fff;
    border-radius: 8px; padding: 6px 8px; min-width: 150px; box-shadow: 0 6px 18px rgba(0,0,0,.3); pointer-events: none; text-align: center; }
  .lw-start .sq-tile .sq-pop .sq-stats { color: #d9d2bf; margin-top: 3px; }
  .lw-start .sq-tile:hover .sq-pop { display: block; }
  .lw-start .sq-tile:hover { z-index: 21; }
}

/* Training: Trainer platziert oder auf der Reserve klar erkennbar (Marcus, 24.11.2026: „besser erkennen …, ob der Trainer jetzt platziert worden ist oder noch auf der Reservebank sitzt“) */
.tg-crow.placed { border-left: 5px solid #1f9d55; background: #eefaf2 !important; }
.tg-crow.free { border-left: 5px dashed #c9a227; background: #fbf7ea !important; }
.tg-crow.free .tg-cface, .tg-crow.free .tg-name { opacity: .6; }
.tg-cst { flex: 0 0 auto; font-size: 11px; font-weight: 800; border-radius: 8px; padding: 3px 8px; text-align: center; line-height: 1.25; }
.tg-cst b { display: block; font-size: 12px; }
.tg-cst.on { background: #1f9d55; color: #fff; }
.tg-cst.off { background: #fff; color: #8a6a10; border: 1.5px dashed #c9a227; }

/* Trainer ziehen (24.11.2026) */
.tg-crow[draggable="true"], .tg-cface[draggable="true"] { cursor: grab; }
.tg-crow.dragging { opacity: .45; }
.tg-trainers.over { outline: 3px dashed #c9a227; outline-offset: 2px; }

/* Transfermarkt-Karten = Kader-Karten (Marcus, 24.11.2026) */
.mk-card.mk-k { position: relative; padding: 0; border: 0; box-shadow: none; background: transparent; }
.mk-card.mk-k > .mcard { height: 100%; cursor: default; }
.mk-card.mk-k .mk-watch { position: absolute; top: 8px; right: 8px; z-index: 3; }
.mk-card.mk-k.soon > .mcard { box-shadow: 0 0 0 3px #ff8a3d, 0 6px 18px rgba(0,0,0,.08); }
.mk-card.mk-k.has-bid > .mcard { box-shadow: 0 0 0 3px #1f9d55, 0 6px 18px rgba(0,0,0,.08); }
.mk-x { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; text-align: left; }
.mk-card.mk-k .mcard .art { max-width: 190px; margin-left: auto; margin-right: auto; }
.mk-card.mk-k .mk-watch { right: auto; left: 8px; }

/* Termin-Kacheln ohne Scrollen (Marcus, 24.11.2026: „Das soll nicht scrollbar sein.“): PC alle in einer Reihe, Kacheln teilen sich die Breite; Handy umbrechen */
.fr-cal { display: grid !important; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 5px; overflow: visible !important; }
.fr-cal .frc { min-width: 0; max-width: none; padding: 6px 4px !important; font-size: 12px; }
.fr-cal .frc b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.fr-cal .frc span { font-size: 11px; line-height: 1.25; }
@media (max-width: 700px) { .fr-cal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Tageszeitung und Kurzmeldungen (Marcus, 24.11.2026) */
.np { max-width: 640px; }
.np-head { text-align: center; border-bottom: 3px double #3f434a; padding-bottom: 8px; margin-bottom: 10px; }
.np-title { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 900; letter-spacing: .5px; }
.np-date { font-size: 12px; color: #6d6555; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.np-sec { margin: 10px 0; } .np-sec h3 { font-family: Georgia, serif; font-size: 16px; margin: 0 0 4px; border-bottom: 1px solid #e6dfcb; padding-bottom: 2px; }
.np-it { display: grid; grid-template-columns: 92px 1fr; gap: 8px; font-size: 13.5px; padding: 3px 0; }
.np-it time { color: #8a8270; font-size: 12px; }
@media (max-width: 700px) { .np-it { grid-template-columns: 1fr; gap: 0; } .np-title { font-size: 24px; } }
#news-pops { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; width: min(420px, 92vw); pointer-events: none; }
.news-pop { pointer-events: auto; cursor: pointer; background: #33363c; color: #fff; border: 2px solid #f0cf6a; border-radius: 14px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: flex; flex-direction: column; gap: 2px; animation: npIn .35s ease-out; transition: opacity .5s, transform .5s; }
.news-pop b { color: #f0cf6a; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; } .news-pop span { font-size: 14px; }
.news-pop.out { opacity: 0; transform: translateY(-8px); }
@keyframes npIn { from { opacity: 0; transform: translateY(-12px) scale(.97); } to { opacity: 1; transform: none; } }

/* Transfermarkt: Kartenbreite wie im Kader, Porträt wie ein Sammelbild (Marcus, 24.11.2026: „Die Karten auf dem Transfermarkt sind viel breiter als im Kader außerdem möchte ich die
   Karten werbewirksam sehen mit Portrait der Spieler statt Ganzkörperbild“) */
.mk-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; gap: 14px !important; grid-auto-rows: auto !important; align-items: stretch !important; }
@media (max-width: 700px) { .mk-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 10px !important; } }
.mk-card.mk-k .mcard .art { max-width: none; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin: 2px 0 6px;
  background: radial-gradient(circle at 50% 30%, #fff 0%, color-mix(in srgb, var(--rc) 35%, #fff) 38%, color-mix(in srgb, var(--rc) 85%, #1d1a2a) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 4px 12px color-mix(in srgb, var(--rc) 35%, transparent); }
.mk-card.mk-k .mcard.r5 .art, .mk-card.mk-k .mcard.r4 .art { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 0 0 18px color-mix(in srgb, var(--rc) 70%, transparent); }
.mk-card.mk-k .mk-x { gap: 6px; }
.mk-card.mk-k .mk-quick { display: grid; grid-template-columns: 1fr; gap: 4px; }
.mk-card.mk-k .mk-ov { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.mk-card.mk-k .mk-ov span { font-size: 10px; } .mk-card.mk-k .mk-ov b { font-size: 13px; }
.mk-card.mk-k .mk-tr { font-size: 12px; } .mk-card.mk-k .mk-fk { font-size: 10px; }
.mk-card.mk-k .mk-time { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 11.5px; padding: 6px 8px; }
.mk-card.mk-k .mk-bidrow { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.mk-card.mk-k .mk-bidrow .inp { min-width: 0; width: 100%; }
.mk-card.mk-k .mk-bidrow [data-unbid] { grid-column: 1 / -1; }
.mk-card.mk-k .mk-more-btn { font-size: 12px; }

/* Monster-Post neu (Marcus, 24.11.2026: „deutlich schöner und übersichtlicher“) */
.modal.np-modal { max-width: 900px; width: min(900px, 96vw); padding: 0; overflow: hidden auto; background: #fbf8ef; }
.modal.np-modal > .close { z-index: 2; background: rgba(255,255,255,.9); }
.np { max-width: none; }
.np-mast { background: radial-gradient(circle at 20% 0%, #3f434a 0%, #33363c 70%); color: #f0cf6a; text-align: center; padding: 18px 16px 12px; border-bottom: 4px solid #c9a227; }
.np-title { font-family: Georgia, 'Times New Roman', serif; font-size: 38px; font-weight: 900; letter-spacing: 1px; line-height: 1; text-shadow: 0 2px 0 #2a2d32; }
.np-sub { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #d9cfa8; }
.np-sub span + span::before { content: '•'; margin-right: 14px; color: #c9a227; }
.np-lead { margin: 14px 16px 0; padding: 14px 16px; border-radius: 14px; background: #fff; border-left: 6px solid var(--sc); box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.np-lead-k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sc); }
.np-lead-t { font-family: Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.3; margin-top: 4px; color: #33363c; }
.np-lead a { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 13px; }
.np-today { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 12px 16px 0; }
.np-tbox { background: #33363c; color: #fff; border-radius: 14px; padding: 10px 12px; }
.np-th { color: #f0cf6a; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.np-trow { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 4px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.np-trow:first-of-type { border-top: 0; } .np-trow b { color: #f0cf6a; } .np-trow i { font-style: normal; font-weight: 800; }
.np-tag { font-style: normal; font-size: 10.5px; font-weight: 800; background: rgba(255,255,255,.12); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.np-tag.on { background: #1f9d55; }
.np-go { display: inline-block; margin-top: 6px; color: #f0cf6a; font-weight: 800; font-size: 12.5px; }
.np-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 16px 0; }
.np-card { background: #fff; border-radius: 14px; border-top: 4px solid var(--sc); padding: 10px 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); min-width: 0; }
.np-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .np-ch b { flex: 1; font-size: 14px; }
.np-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 15%, #fff); font-size: 15px; }
.np-n { min-width: 22px; height: 22px; border-radius: 11px; background: var(--sc); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.np-row { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid #f0ead9; font-size: 13px; line-height: 1.35; }
.np-row:first-of-type { border-top: 0; } .np-txt { flex: 1; min-width: 0; } .np-row time { flex: 0 0 auto; font-size: 11px; color: #9a9280; white-space: nowrap; }
.np-more { font-size: 11.5px; color: #8a8270; margin-top: 4px; }
.np-foot { display: flex; justify-content: center; padding: 14px 16px 18px; }
@media (max-width: 700px) { .np-grid { grid-template-columns: 1fr; } .np-title { font-size: 28px; } .np-lead-t { font-size: 17px; } .np-sub span + span::before { margin-right: 8px; } .np-sub { gap: 8px; } }
@media (max-width: 700px) { .np-mast { padding: 16px 52px 10px; } .np-title { font-size: 24px; } }

/* Transfermarkt als Sammelkarten (Marcus, 24.11.2026: „Die Transferkarten sollen richtig werbewirksam werden“): Rahmen und Schimmer in Qualitätsfarbe, Strahlenkranz hinter dem
   Porträt, großes Gesamtwert-Abzeichen, Preisband, „Endet bald“; Gestaltung Claudes Setzung */
.mk-card.mk-k > .mcard { position: relative; border: 3px solid var(--rc) !important; border-radius: 18px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--rc) 30%, #fff) 0%, #fffdf7 32%, #fffdf7 72%, color-mix(in srgb, var(--rc) 22%, #fff) 100%) !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rc) 28%, rgba(0,0,0,.12)) !important; transition: transform .18s ease, box-shadow .18s ease; }
.mk-card.mk-k:hover > .mcard { transform: translateY(-4px) scale(1.015); box-shadow: 0 16px 32px color-mix(in srgb, var(--rc) 45%, rgba(0,0,0,.15)) !important; }
.mk-card.mk-k .mcard .art { position: relative; isolation: isolate;
  background: repeating-conic-gradient(from 0deg at 50% 55%, rgba(255,255,255,.38) 0deg 9deg, rgba(255,255,255,0) 9deg 18deg),
    radial-gradient(circle at 50% 45%, #fff 0%, color-mix(in srgb, var(--rc) 40%, #fff) 35%, color-mix(in srgb, var(--rc) 90%, #1d1a2a) 100%) !important; }
.mk-card.mk-k .mcard .art svg { position: relative; z-index: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.mk-card.mk-k .mcard.r3 .art::after, .mk-card.mk-k .mcard.r4 .art::after, .mk-card.mk-k .mcard.r5 .art::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  background-size: 250% 100%; animation: mkShine 3.2s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes mkShine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -60% 0; } }
.mk-ovb { position: absolute; z-index: 3; top: 8px; right: 8px; width: 54px; height: 54px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #3f434a, #33363c); border: 2px solid #f0cf6a; box-shadow: 0 4px 10px rgba(0,0,0,.4); color: #f0cf6a; line-height: 1; }
.mk-ovb b { font-size: 16px; font-weight: 900; } .mk-ovb small { font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; color: #d9cfa8; margin-top: 2px; }
.mk-hot { position: absolute; z-index: 3; bottom: 8px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #ff4b2b, #ff8a3d); color: #fff; font-weight: 900; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(255,75,43,.5); animation: mkPulse 1.4s ease-in-out infinite; white-space: nowrap; }
@keyframes mkPulse { 50% { transform: translateX(-50%) scale(1.08); } }
.mk-price { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 7px 10px; border-radius: 12px; color: #33363c;
  background: linear-gradient(90deg, #f0cf6a, #ffe9a8 50%, #f0cf6a); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.mk-price span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; } .mk-price b { font-size: 17px; font-weight: 900; }
.mk-card.mk-k .mk-watch { left: 8px; right: auto; top: 8px; }
.mk-card.mk-k .mcard .role { z-index: 4; }
.mk-price b { font-size: 15px; white-space: nowrap; } .mk-price span { font-size: 9.5px; }
.mk-ovb { top: auto; bottom: 8px; right: 8px; width: 50px; height: 50px; }
.mk-hot { left: 8px; transform: none; } @keyframes mkPulse { 50% { transform: scale(1.08); } }
.mk-price { padding: 6px 8px; } .mk-price b { font-size: 14.5px; }
.mk-card.mk-k .mk-time span { white-space: normal; overflow: visible; }
@media (max-width: 700px) { .mk-ovb { width: 42px; height: 42px; } .mk-ovb b { font-size: 13px; } .mk-ovb small { font-size: 7px; } .mk-hot { font-size: 9.5px; padding: 2px 7px; bottom: 6px; left: 6px; } }

/* Monster-Post: Begrüßung, weniger Symbole (Marcus, 24.11.2026) */
.np-greet { margin: 14px 16px 0; display: flex; flex-direction: column; gap: 2px; }
.np-greet b { font-family: Georgia, serif; font-size: 22px; color: #33363c; } .np-greet span { font-size: 13px; color: #6d6555; }
.np-ch b { padding-left: 2px; }
@media (max-width: 700px) { .np-greet b { font-size: 19px; } }

.rl-fcan { padding: 3px 10px !important; font-size: 12px !important; align-self: center; white-space: nowrap; }
.rl-tac { display: flex; flex-direction: column; gap: 4px; align-items: stretch; } .rl-fcan { align-self: stretch; }

/* Freundschaftsspiele: Wochenübersicht mit Aktionen (Marcus, 24.11.2026); Gestaltung Claudes Setzung */
.fr-wh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.fr-wk { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 8px; }
.fw { border-radius: 14px; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 112px; border: 2px solid; }
.fw-d { font-size: 13px; } .fw-k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.fw-o { font-size: 13px; font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fw-a { margin-top: auto; } .fw-note { font-size: 10.5px; opacity: .7; }
.fw.belegt { background: #e3f7e8; border-color: #6cc47f; color: #14532d; }
.fw.reserviert { background: #fff4cc; border-color: #e6c24a; color: #6b4e00; }
.fw.liga { background: #c9c5bb; border-color: #a29d91; color: #3f434a; }
.fw.frei { background: #faf8f2; border: 2px dashed #d6d0c0; color: #6b675c; }
.fw-btn { width: 100%; border: 0; border-radius: 9px; padding: 6px 4px; font-weight: 800; font-size: 12px; cursor: pointer; background: #33363c; color: #f0cf6a; }
.fw-btn:hover { filter: brightness(1.15); } .fw-btn:disabled { opacity: .5; }
.fw-btn.ghost { background: #fff; color: #c0263d; border: 1.5px solid #e9a3ae; }
.fr-send { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; } .fr-send > div { flex: 1 1 160px; } .fr-send label { display: block; }
.fr-rules { margin: 0; padding-left: 18px; } .fr-rules li { margin: 3px 0; }
@media (max-width: 700px) { .fr-wk { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fw { min-height: 96px; } }
@media (max-width: 700px) { .fw { min-height: 0; padding: 8px; } .fw-o { font-size: 12.5px; } }

/* Marktkarten ruhig und bündig (Marcus, 24.11.2026: „Die Inhalte springen“): kein Anheben beim Drüberfahren, Blöcke mit fester Höhe, damit Preis, Zeit und Gebot in allen Karten
   auf gleicher Höhe stehen */
.mk-card.mk-k:hover > .mcard { transform: none; }
.mk-card.mk-k .mcard .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card.mk-k .mcard .ab-box { height: 78px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.mk-card.mk-k .mcard .ab-box span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card.mk-k .mk-traits { height: 118px; overflow: hidden; }
.mk-card.mk-k .mk-time { min-height: 46px; justify-content: center; }
.mk-card.mk-k .mk-bid .small:empty { display: none; }
.mk-card.mk-k .mk-time { height: 58px; min-height: 0; overflow: hidden; }
.mk-card.mk-k .mk-traits { height: auto; min-height: 118px; overflow: visible; } .mk-card.mk-k .mk-traits .fxg, .mk-card.mk-k .mk-tr span { font-size: 11px; }
/* eigenes Gebot ändern: Eingabefeld volle Breite, darunter Ändern + Zurückziehen (Marcus, 24.11.2026: „Hier kann ich kein Gebot verändern da ich nix sehe“) */
.mk-card.mk-k .mk-bidrow.has { grid-template-columns: 1fr 1fr; }
.mk-card.mk-k .mk-bidrow.has .inp { grid-column: 1 / -1; }
.mk-card.mk-k .mk-bidrow.has [data-unbid] { grid-column: auto; padding-left: 4px; padding-right: 4px; font-size: 12px; }
.mk-card.mk-k .mk-bidrow .inp { font-size: 15px; padding: 6px 8px; }
.mk-card.mk-k .mk-bidrow .inp { box-sizing: border-box; max-width: 100%; }
.mk-card.mk-k .mk-bidrow.has { grid-template-columns: 1fr; }
.mk-card.mk-k .mk-bidrow.has .btn { width: 100%; }

/* Teamwert/Teamform: Hinweis beim Drüberfahren (Marcus, 24.11.2026) */
.tpitch .team-kpi { pointer-events: auto; cursor: help; }
.tpitch .team-kpi [data-tip] { position: relative; }
.tpitch .team-kpi [data-tip]:hover::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: 230px; z-index: 20;
  background: #33363c; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; padding: 7px 10px; border-radius: 10px; border: 1.5px solid #f0cf6a; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  text-transform: none; letter-spacing: 0; white-space: normal; }

/* Kaderkarte: zwei Stärken und zwei Schwächen (Marcus, 24.11.2026: „die beiden Stärken und beiden Schwächen … Das muss unbedingt wieder rein“) */
.kc-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; text-align: left; }
.kc-sw > div { display: flex; flex-direction: column; gap: 2px; }
.kc-sw span { font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-sw .up span { background: #e3f7e8; color: #1d7a36; } .kc-sw .down span { background: #fde8eb; color: #c0263d; }
.kc-sw { grid-template-columns: 1fr; } .kc-sw > div { flex-direction: row; flex-wrap: wrap; gap: 3px; } .kc-sw span { white-space: normal; }

/* Profil: Reiter „Meine Profilkarte“ – Karte ohne Seitenleiste (Marcus, 24.11.2026) */
.tp-wrap.tp-solo { display: block !important; max-width: 900px; }
.tp-wrap.tp-solo .tp-main { width: 100%; }
/* Kaderkarte: Stärken (grün) oben, Schwächen (rot) darunter – je eine Zeile, linksbündig (Marcus, 24.11.2026: „ordentlich sortiert“) */
.kc-sw { display: grid !important; grid-template-columns: 1fr !important; gap: 3px !important; margin-top: 6px; }
.kc-sw > div { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3px !important; }
.kc-sw span { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10.5px; line-height: 1.15; font-weight: 800; border-radius: 6px; padding: 3px 4px; white-space: normal; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }
.kc-sw .up span { background: #e3f7e8 !important; color: #1d7a36 !important; } .kc-sw .down span { background: #fde8eb !important; color: #c0263d !important; }
.kc-sw > div { grid-template-columns: 1fr !important; }
.kc-sw span { justify-content: flex-start; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; padding: 2px 8px; }
/* Fehler-melden-Knopf: Käfer schwarz statt weiß (Marcus, 24.11.2026) */
.topbar .fb-btn .bug-ic g, .topbar .fb-btn .bug-ic [stroke="#33363c"] { stroke: #33363c; }
.topbar .fb-btn .bug-ic circle[cy="7"] { fill: #33363c; }

/* Spielerkarte: Aufstiegs-Vorschau (Marcus, 24.11.2026) */
.upv { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 6px 0 12px; background: linear-gradient(180deg, rgba(240,207,106,.10), rgba(240,207,106,.02)); }
.upv-art { display: flex; align-items: center; justify-content: center; gap: 10px; }
.upv-m { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.upv-img { width: 120px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.upv-m.next .upv-img { width: 140px; box-shadow: 0 0 0 2px #f0cf6a, 0 6px 18px rgba(240,207,106,.35); }
.upv-img svg { width: 100%; height: 100%; display: block; }
.upv-arr { font-size: 26px; color: #c9a227; font-weight: 900; }
.upv-tot { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.upv-tot b { font-size: 17px; } .upv-tot em, .upv-s em { font-style: normal; font-weight: 800; color: #1d7a36; }
.upv-lv { text-align: center; font-size: 13px; color: var(--muted, #6d6555); margin-top: 2px; }
.upv-det { margin-top: 8px; } .upv-det summary { cursor: pointer; font-weight: 700; font-size: 13px; text-align: center; }
.upv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 14px; margin-top: 8px; font-size: 13px; }
.upv-s { display: grid; grid-template-columns: 1fr auto 34px; gap: 6px; align-items: baseline; }
.upv-s em { text-align: right; } .upv-s.same em { color: var(--muted, #8a8272); }
@media (max-width: 700px) { .upv-grid { grid-template-columns: 1fr; } .upv-img { width: 100px; } .upv-m.next .upv-img { width: 118px; } }

/* Kaderkarte: Form mit Zahl (Marcus, 24.11.2026) */
.kc-form { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; }
.kc-form > span { color: #8a8170; font-weight: 800; } .kc-form > b { font-size: 11.5px; } .kc-form .formbar { margin: 0; }
/* Ausrüstungsleiste: anklickbar, „bereit“-Markierung blinkt */
button.eq-s { padding: 0; cursor: pointer; position: relative; font: inherit; }
button.eq-s:hover { transform: translateY(-1px); box-shadow: 0 2px 6px #0003; }
.eq-s.off.ready { border-color: #e8a400; background: #fff8e0; }
.eq-dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ffb300; box-shadow: 0 0 0 2px #fff; animation: eqBlink 1.2s ease-in-out infinite; }
@keyframes eqBlink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
/* Platz-Auswahl */
.eqp-ov { position: fixed; inset: 0; background: rgba(20, 16, 10, .45); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 14px; }
.eqp { position: relative; width: min(480px, 100%); max-height: 86vh; overflow: auto; padding: 16px; }
.eqp-x { position: absolute; top: 8px; right: 8px; }
.eqp-h { font-size: 18px; font-weight: 900; margin-bottom: 6px; padding-right: 40px; }
.eqp-sec { font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #8a6510; margin: 12px 0 6px; display: flex; align-items: center; gap: 6px; }
.eqp-n { background: #ffb300; color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11px; letter-spacing: 0; }
.eqp-it { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; border: 2px solid var(--ec, #ccc); border-radius: 12px; padding: 8px; margin-bottom: 6px; background: #fff; }
.eqp-ic { width: 52px; height: 52px; border-radius: 10px; background: #f6f3ea; display: flex; align-items: center; justify-content: center; } .eqp-ic svg { width: 44px; height: 44px; }
.eqp-b b { font-size: 14px; } .eqp-fxs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.eqp-fx { font-size: 11.5px; font-weight: 800; background: #e3f7e8; color: #1d7a36; border-radius: 6px; padding: 1px 6px; } .eqp-fx.neg { background: #fde8eb; color: #c0263d; }
.eqp-fx em { font-style: normal; margin-left: 4px; } .eqp-fx em.up { color: #0f8a3a; } .eqp-fx em.down { color: #c0263d; }
.eqp-none { margin: 2px 0 6px; } .eqp-worn summary { cursor: pointer; font-weight: 800; font-size: 13px; margin: 10px 0 6px; }
/* Spielerkarte: Ausrüstungs-Plätze rund ums Monster */
.gear-doll { display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-areas: ". kopf ." "armL mon armR" "guertel mon schuhe"; gap: 8px; align-items: stretch; }
.gd-kopf { grid-area: kopf; } .gd-armL { grid-area: armL; } .gd-armR { grid-area: armR; } .gd-guertel { grid-area: guertel; } .gd-schuhe { grid-area: schuhe; }
.gd-m { grid-area: mon; display: flex; align-items: center; justify-content: center; } .gd-m svg { width: 100%; max-width: 190px; height: auto; }
button.gd-t { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border-radius: 14px; background: #fff; border: 2px solid var(--ec, #d8d0bb); cursor: pointer; font: inherit; text-align: center; min-height: 118px; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .12s, box-shadow .12s; }
button.gd-t:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
button.gd-t.off { border-style: dashed; background: #faf7ef; }
button.gd-t.off.ready { border-color: #e8a400; background: #fff8e0; }
.gd-l { font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #8a8170; }
.gd-ic { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f6f3ea; } .gd-ic svg { width: 50px; height: 50px; }
button.gd-t.on .gd-ic { background: radial-gradient(circle, #fff, #f1ecdd); box-shadow: inset 0 0 0 2px var(--ec); }
.gd-ic i { font-style: normal; font-size: 26px; font-weight: 300; color: #c9c1aa; }
.gd-n { font-size: 12px; line-height: 1.15; } .gd-fx { font-size: 10.5px; font-weight: 700; color: #1d7a36; line-height: 1.25; } .gd-free { font-size: 11px; color: #a59c86; }
.gd-rdy { position: absolute; top: -8px; right: -6px; font-style: normal; font-size: 10.5px; font-weight: 900; background: #ffb300; color: #fff; border-radius: 10px; padding: 1px 7px; box-shadow: 0 0 0 2px #fff; animation: eqBlink 1.2s ease-in-out infinite; }
@media (max-width: 700px) { .gear-doll { grid-template-columns: 1fr 1fr; grid-template-areas: "mon mon" "kopf guertel" "armL armR" "schuhe ."; } .gd-m svg { max-width: 150px; } }
.gd-m svg { max-width: 240px; } @media (max-width: 700px) { .gd-m svg { max-width: 170px; } }

/* Aufstiegs-Vorschau kompakt (Marcus, 24.11.2026) */
.upv-sum { text-align: center; margin-top: 10px; }
.upv-big span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; }
.upv-big b { font-size: 22px; font-weight: 900; color: #33363c; }
.upv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.upv-c { background: #33363c; color: #f0e6c8; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; } .upv-c b { color: #f0cf6a; }
.upv-note { font-size: 11px; color: #8a8170; margin-top: 4px; }
/* Ausrüstungs-Fenster im Stil der Seite und der Gegenstandskarten (Marcus, 24.11.2026: „schöneres Design … nicht kalt, steril … zum Layout der Seite passen“) */
.eqp-ov { background: rgba(20, 18, 12, .6); backdrop-filter: blur(2px); animation: fade .18s; }
.eqp { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; border-radius: 22px; background: var(--bg, #f7f5ef); box-shadow: 0 20px 60px rgba(0,0,0,.45); border: 2px solid #f0cf6a; padding: 0; }
.eqp-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(180deg, #33363c, #33363c); border-bottom: 3px solid #f0cf6a; color: #f0e6c8; }
.eqp-mon { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #3f434a, #33363c); box-shadow: 0 0 0 2px #f0cf6a; flex: 0 0 54px; } .eqp-mon svg { width: 100%; height: 100%; }
.eqp-k { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #f0cf6a; }
.eqp-h { font-size: 20px; font-weight: 900; font-style: italic; line-height: 1.1; }
.eqp-x { margin-left: auto; background: rgba(240, 207, 106, .12); border: 1px solid rgba(240, 207, 106, .5); color: #f0cf6a; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 15px; }
.eqp-body { padding: 6px 16px 16px; }
.eqp-sec { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8a6510; margin: 14px 0 8px; display: flex; align-items: center; gap: 8px; }
.eqp-sec::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, #f0cf6a, transparent); }
.eqp-n { background: #ffb300; color: #fff; border-radius: 10px; padding: 0 8px; font-size: 11px; letter-spacing: 0; }
.eqp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; } .eqp-grid.one { grid-template-columns: minmax(170px, 210px); }
.eqp-c { padding: 12px 10px 10px; } .eqp-c .ic-art { width: 54%; } .eqp-c .ic-nm { font-size: 16px; } .eqp-c .ic-rl { font-size: 11px; letter-spacing: 2px; }
.eqp-c .ic-fx .pill { font-size: 11.5px; padding: 2px 8px; } .eqp-c .ic-fx .pill em { font-style: normal; margin-left: 4px; padding: 0 4px; border-radius: 5px; background: rgba(0,0,0,.25); }
.eqp-c .ic-fx .pill em.cu { color: #b8ffcf; } .eqp-c .ic-fx .pill em.cd { color: #ffc2cb; }
.eqp-c.is-cur { box-shadow: 0 0 0 3px #f0cf6a, 0 8px 22px rgba(240, 207, 106, .35); }
.eqp-tag { position: absolute; top: 8px; left: 8px; background: #f0cf6a; color: #33363c; font-size: 10px; font-weight: 900; border-radius: 6px; padding: 1px 6px; text-transform: uppercase; letter-spacing: .06em; }
.eqp-high { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 700; }
.eqp-empty { display: flex; align-items: center; gap: 10px; border: 2px dashed #d8cfb6; border-radius: 16px; padding: 14px; background: #fffdf6; color: #6d6555; font-size: 13.5px; }
.eqp-plus { width: 34px; height: 34px; border-radius: 10px; background: #f1ecdd; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #b9ae92; }
.eqp-worn summary { cursor: pointer; font-weight: 900; font-size: 13px; color: #8a6510; margin: 14px 0 8px; }
@media (max-width: 700px) { .eqp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .eqp-grid.one { grid-template-columns: minmax(0, 60%); } .eqp-h { font-size: 17px; } }
.eqp-c [data-eqp-off] { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .55) !important; box-shadow: none !important; }
.eqp-c [data-eqp-off]:hover { background: rgba(255, 255, 255, .22) !important; }
.eqp-c.is-cur .ic-rl { margin-top: 16px; }

/* Profilkarte: Weltrangliste und Abzeichen (Marcus, 24.11.2026) */
.wr-pl { cursor: help; border-bottom: 1px dotted #b9ae92; } .wr-pts { font-size: 11.5px; font-weight: 800; color: #8a6510; background: #fff5d6; border-radius: 8px; padding: 1px 7px; margin-left: 4px; }
.tp-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.bdg-first { position: relative; display: flex; flex-direction: column; align-items: center; width: 168px; cursor: default; filter: drop-shadow(0 6px 14px rgba(120, 80, 0, .25)); }
.bdg-medal { position: relative; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(from 200deg, #fff3b0, #f0b400, #a86a00, #ffe27a, #c88a00, #fff3b0); padding: 6px; box-shadow: inset 0 0 0 2px #7a5200; overflow: hidden; }
.bdg-medal::before { content: ''; position: absolute; inset: -8px; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.0) 0 8deg, rgba(255,255,255,.22) 8deg 12deg); border-radius: 50%; animation: bdgSpin 18s linear infinite; }
.bdg-ring { position: relative; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 40% 32%, #3a2f63, #120c2e 75%); box-shadow: inset 0 0 0 3px #ffe27a, inset 0 0 18px rgba(42, 45, 50, .6); display: flex; align-items: center; justify-content: center; }
.bdg-ring img { width: 82%; height: 82%; filter: drop-shadow(0 2px 6px rgba(42, 45, 50, .6)); }
.bdg-shine { position: absolute; top: -30%; left: -60%; width: 40%; height: 160%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(25deg); animation: bdgShine 4.5s ease-in-out infinite; }
.bdg-ribbon { margin-top: -14px; position: relative; z-index: 1; background: linear-gradient(180deg, #3f434a, #33363c); border: 2px solid #f0cf6a; border-radius: 10px; padding: 5px 12px 6px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.bdg-ribbon::before, .bdg-ribbon::after { content: ''; position: absolute; top: 8px; width: 14px; height: 22px; background: #b8860b; z-index: -1; }
.bdg-ribbon::before { left: -10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); } .bdg-ribbon::after { right: -10px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.bdg-ribbon b { display: block; color: #f0cf6a; font-size: 14px; letter-spacing: .14em; font-weight: 900; }
.bdg-ribbon span { display: block; color: #f0e6c8; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
@keyframes bdgSpin { to { transform: rotate(360deg); } }
@keyframes bdgShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.bdg-first { width: 200px; margin-left: 8px; } .bdg-ribbon span { white-space: nowrap; }
.bdg-nr { font-style: normal; color: #fff; background: linear-gradient(180deg, #ffd23f, #c88a00); color: #33363c; border-radius: 6px; padding: 0 6px; margin-left: 4px; letter-spacing: 0; }
.tg-mon .tg-name { cursor: pointer; } .tg-mon .tg-name:hover { text-decoration: underline; }

/* Pack-Show: Löschen vor Ort, Leiste auf dem Handy unter der Karte (Marcus, 24.11.2026) */
.po-scout .po-or { font-size: 12px; color: rgba(243, 236, 214, .7); }
.po-del { white-space: normal; max-width: 100%; line-height: 1.2; } /* Papierkorb-Knopf passt in die Karte (Beta-Prüfung 29.11.2026) */
.face.po-sold, .po .summary .mcard.po-sold { filter: grayscale(1) brightness(.6); }
.po .summary .po-sold-t { margin-top: 6px; color: #c0263d; font-weight: 800; }
.po .summary .po-del { margin-top: 6px; font-size: 12px; padding: 4px 8px; }
@media (max-width: 700px) {
  .po-scout { position: fixed; left: 8px; right: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; max-width: none; padding: 8px 10px; font-size: 13px; gap: 6px 8px; }
  @keyframes poScIn { from { opacity: 0; transform: translateY(14px); } }
}
.po-scout { background: #33363c; }

/* Spielbericht: Monsterkarte per Klick auf den Namen (Marcus, 24.11.2026) */
.mc-lu a.mc-pl { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; } .mc-lu a.mc-pl:hover { color: #8a6510; }
.pubm { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; max-width: 620px; margin: 0 auto; }
.pubm-art { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 3px var(--rc), 0 10px 26px rgba(0,0,0,.18); background: #fff; } .pubm-art svg { width: 100%; height: auto; display: block; }
.pubm h2 { margin: 0 0 4px; } .pubm-nr { display: inline-block; background: #33363c; color: #f0cf6a; border-radius: 8px; padding: 0 8px; margin-right: 8px; font-size: .8em; }
.pubm-t { margin-top: 10px; }
@media (max-width: 700px) { .pubm { grid-template-columns: 1fr; } .pubm-art { max-width: 220px; margin: 0 auto; } }
.mc-full a.mc-pl { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }

/* Büro: Baustellen-Übersicht (Marcus, 24.11.2026) */
.of-builds { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.of-bh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; } .of-bh a { font-size: 13px; font-weight: 800; }
.of-b { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.of-b:hover { background: rgba(240, 207, 106, .15); }
.of-bn { font-weight: 700; font-size: 13.5px; } .of-bt { font-size: 12.5px; color: #6d6555; }
.of-bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: #ece5d3; overflow: hidden; } .of-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f0cf6a, #e09a00); }
/* Spielerkarte: Nahaufnahme vom Gesicht wie auf den Transfermarkt-Karten (Marcus, 24.11.2026) */
.monster-detail .bigart-face { overflow: hidden; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #fff, #efe9da); }
.monster-detail .bigart-face svg { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .monster-detail .bigart-face { max-width: 240px; margin: 0 auto; } }
.aud-t .aud-raw { display: none; } .aud-t.show-raw .aud-raw { display: table-cell; }

/* Büro: Posteingang (Marcus, 24.11.2026) */
.ib-head { display: flex; align-items: center; gap: 8px; } .ib-head h3 { margin: 0; }
.ib-n { background: #33363c; color: #f0cf6a; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 900; }
.ib-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.ib-chips button { border: 1px solid var(--line); background: #fffdf6; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; color: #6d6555; }
.ib-chips button.on { background: #33363c; color: #f0cf6a; border-color: #33363c; }
.inbox.ib { max-height: 420px; overflow: auto; display: flex; flex-direction: column; gap: 6px; padding: 2px 2px 2px 0; }
.inbox.ib .ib-it { border: 1px solid var(--line); border-left: 4px solid var(--ic); border-radius: 10px; padding: 7px 10px; background: #fff; font-size: 13.5px; }
.inbox.ib .ib-it:first-child { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ib-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.ib-cat { font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ic); }
.inbox.ib time { display: inline; font-size: 11px; color: #8a8170; white-space: nowrap; }
.ib-tx { line-height: 1.35; } .ib-go { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; }
.inbox.ib .ib-it div { border: 0 !important; padding: 0 !important; } .inbox.ib .ib-top { margin-bottom: 3px; }

/* Profilkarte neu (Marcus, 24.11.2026): eigener Beastball-Stil */
.pk { padding: 0 !important; overflow: hidden; }
.pk-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; color: #f3ecd6;
  background: radial-gradient(circle at 12% 30%, color-mix(in srgb, var(--jc) 45%, transparent), transparent 55%), linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border-bottom: 3px solid #f0cf6a; }
.pk-logo .logo-big { width: 92px; height: 92px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.pk-kicker { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #f0cf6a; } .pk-kicker a { color: #f0cf6a; }
.pk-hn h2 { margin: 2px 0 8px; font-size: 26px; font-style: italic; color: #fff; line-height: 1.1; }
.pk-mgr { display: flex; align-items: center; gap: 10px; } .pk-mgr .tp-av { width: 48px; height: 48px; font-size: 20px; }
.pk-mn { font-weight: 900; font-size: 15px; } .pk-mr { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 2px; }
.pk-star { text-align: center; } .pk-hero .pk-face { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #3f434a, #33363c); box-shadow: 0 0 0 3px #f0cf6a, 0 8px 20px rgba(0,0,0,.45); }
.pk-hero .pk-face svg { width: 100%; height: 100%; } .pk-fn { margin-top: 6px; font-size: 12px; font-weight: 800; color: #f0e6c8; }
.pk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 14px 16px 4px; }
.pk-tile { background: #fffdf6; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; box-shadow: 0 2px 8px rgba(60,45,10,.05); }
.pk-tile span { display: block; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; }
.pk-tile b { font-size: 17px; } .pk-tile .wr-pl { font-size: 20px; border-bottom: 1px dotted #b9ae92; }
.pk-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 12px 16px; }
.pk-col { display: flex; flex-direction: column; gap: 12px; }
.pk-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 2px 10px rgba(60,45,10,.05); }
.pk-ch { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; margin-bottom: 8px; }
.pk-ch a { margin-left: auto; font-size: 12px; letter-spacing: 0; text-transform: none; } .pk-cnt { color: #8a8170; font-weight: 700; letter-spacing: 0; text-transform: none; }
.pk-badges { margin: 0 16px 16px; }
@media (max-width: 700px) { .pk-hero { grid-template-columns: auto 1fr; } .pk-star { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; justify-content: center; } .pk-hero .pk-face { width: 72px; height: 72px; }
  .pk-logo .logo-big { width: 64px; height: 64px; } .pk-hn h2 { font-size: 20px; } .pk-body { grid-template-columns: 1fr; } }
.pk-tiles { align-items: start; } .pk-tile { min-height: 0; }
.pk-tile .form { display: flex !important; flex-direction: row !important; gap: 3px; flex-wrap: wrap; margin-top: 2px; }
.pk-tile .form span { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 5px; font-size: 11px; }
.pk-tile .ftrend { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; font-size: 16px; margin-top: 2px; }
@media (max-width: 700px) { .pk-tiles { grid-template-columns: 1fr 1fr; } }
/* Büro: Kacheln am PC nebeneinander (Marcus, 24.11.2026: „mehrere Kacheln auch nebeneinander … eleganter, als wenn ich ewig nach unten scrollen muss“) */
@media (min-width: 701px) { .grid.of-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start; } }
.of-grid .inbox.ib { max-height: 340px; }

/* Kaderkarte: Gesamtwert als Abzeichen oben rechts statt Typ (Marcus, 24.11.2026) */
.mcard .kc-ovb { position: absolute; z-index: 3; top: 8px; right: 8px; width: 50px; height: 50px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 30%, #3f434a, #33363c); color: #f0cf6a; box-shadow: 0 0 0 2px #f0cf6a, 0 4px 10px rgba(0,0,0,.3); line-height: 1; }
.mcard .kc-ovb b { font-size: 15px; font-weight: 900; } .mcard .kc-ovb small { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: #d9cfa8; margin-top: 2px; }
@media (max-width: 700px) { .mcard .kc-ovb { width: 42px; height: 42px; } .mcard .kc-ovb b { font-size: 13px; } .mcard .kc-ovb small { font-size: 7px; } }
/* Taktik: Monster-Info ohne Scrollen (Marcus, 24.11.2026: „die skillkarte so anpassen dass ich da nicht scrollen muss um alles zu sehen“): keine Höhenbegrenzung am PC,
   Werte kompakt; ist das Fenster breit genug, Notiz/Eigenschaften links und Werte rechts */
@media (min-width: 1000px) {
  .tinfo:not(.empty) { max-height: none; overflow: visible; container-type: inline-size; }
  .tinfo .ti-werte .stats2 { row-gap: 0; }
  .tinfo .ti-werte .stat { font-size: 11.5px; margin: 0; padding: 1px 0; min-height: 0; }
  .tinfo .ti-werte .stat .bar { height: 6px; }
  .tinfo .ti-werte .stat-gh { font-size: 10.5px; margin: 4px 0 1px; padding: 0; }
  .tinfo .ti-werte .stat-grp { margin: 0; }
  .tinfo .ti-sec { margin-top: 8px; }
}
@container (min-width: 760px) {
  .tinfo-in { display: grid; grid-template-columns: minmax(200px, .7fr) 1.8fr; grid-template-areas: "head head" "notiz werte" "traits werte" "full werte"; column-gap: 16px; align-items: start; }
  .tinfo-in .ti-head { grid-area: head; } .tinfo-in .ti-notiz { grid-area: notiz; } .tinfo-in .ti-traits { grid-area: traits; } .tinfo-in .ti-werte { grid-area: werte; } .tinfo-in .ti-fullb { grid-area: full; justify-self: start; }
}
/* Freundschaftsspiele im Seitenstil (Marcus, 24.11.2026: „Die Seite entspricht nicht unserem Stil“): Tageskarten mit dunklem Kopf und Goldkante,
   Status als Farbleiste, Überschriften mit Goldlinie, goldener Haupt-Knopf, Formularfelder im Kartenstil */
.fr-week .fr-wh h2, .fr-new h2, .fr-h { display: flex; align-items: center; gap: 10px; font-style: italic; }
.fr-new h2::after, .fr-h::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, #f0cf6a, transparent); }
.fr-wk .fw { padding: 0; overflow: hidden; border: 1px solid var(--line) !important; background: #fff !important; color: #33363c !important; box-shadow: 0 2px 10px rgba(60,45,10,.06); border-radius: 14px; }
.fr-wk .fw-d { display: block; background: linear-gradient(180deg, #33363c, #33363c); color: #f0e6c8; padding: 6px 10px; font-size: 12.5px; border-bottom: 3px solid var(--fwc, #d8cfb6); }
.fr-wk .fw-k, .fr-wk .fw-o, .fr-wk .fw-note { padding: 0 10px; } .fr-wk .fw-k { margin-top: 6px; color: var(--fwt, #8a6510); opacity: 1; }
.fr-wk .fw-a { padding: 0 8px 8px; }
.fr-wk .fw.belegt { --fwc: #1f9d55; --fwt: #1d7a36; } .fr-wk .fw.reserviert { --fwc: #e0a800; --fwt: #8a6510; }
.fr-wk .fw.liga { --fwc: #6b6558; --fwt: #6b6558; background: repeating-linear-gradient(135deg, #f3efe4 0 8px, #ebe6d8 8px 16px) !important; }
.fr-wk .fw.frei { --fwc: #d8cfb6; --fwt: #a59c86; background: #fffdf6 !important; border-style: dashed !important; }
.fr-wk .fw-btn { background: linear-gradient(180deg, #f3d77a, #d4a52a); color: #33363c; box-shadow: 0 2px 0 #8a6b10; }
.fr-wk .fw-btn.ghost { background: #fff; color: #c0263d; box-shadow: none; }
.fr-new label { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; }
.fr-new .inp { background: #fffdf6; border: 1.5px solid #e3dcc6; border-radius: 12px; }
.fr-friends .fr-pick { border-radius: 14px; border-color: #e3dcc6; background: #fffdf6; box-shadow: 0 2px 8px rgba(60,45,10,.05); }
.fr-info .fr-rules li::marker { color: #c9a227; }
/* Profilkarte: Reparatur (Marcus, 24.11.2026, Bild „Reparieren“): hochgeladene Logos riesig, Manager-Abzeichen untereinander, Form-Text wie Überschrift */
.pk-logo { width: 92px; height: 92px; flex: 0 0 92px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pk-logo > *, .pk-logo img, .pk-logo svg, .pk-logo .logo-big { width: 92px !important; height: 92px !important; max-width: 92px; max-height: 92px; object-fit: contain; }
.pk-hero { grid-template-columns: 92px 1fr auto; }
.pk-mr { flex-wrap: nowrap; white-space: nowrap; } .pk-mr .mrank, .pk-mr .adm-chip { white-space: nowrap; }
.pk-mgr > div:last-child { min-width: 0; }
.pk-tile > span:first-child { display: block; } .pk-tile b span, .pk-tile b .muted { display: inline; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8a8170; }
.pk-tile b .form span { color: #fff; font-weight: 800; }
@media (max-width: 700px) { .pk-hero { grid-template-columns: 64px 1fr; } .pk-logo, .pk-logo > *, .pk-logo img, .pk-logo svg, .pk-logo .logo-big { width: 64px !important; height: 64px !important; flex-basis: 64px; } .pk-mr { flex-wrap: wrap; } }

/* Profilkarte: Erfolg mit Namen (Marcus, 24.11.2026: „Schreibe hin welchen Erfolg das ist“) */
.pk-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pk-ai { display: flex; align-items: center; gap: 9px; min-width: 0; } .pk-ai .tp-badge { flex: 0 0 40px; }
.pk-ai b { display: block; font-size: 13.5px; line-height: 1.2; } .pk-ai div span { display: block; font-size: 12px; color: #8a8170; line-height: 1.25; }

/* Freundschaftsspiel: Freunde mit Vereinslogo (Marcus, 24.11.2026: „Hier mit Logo gestalten inkl schöner machen“) */
.fr-friends .fr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fr-friends .fr-pick.fr-fc { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; transition: transform .12s, box-shadow .12s, border-color .12s; }
.fr-friends .fr-pick.fr-fc:hover { transform: translateY(-2px); border-color: #c9a227; box-shadow: 0 6px 16px rgba(60,45,10,.12); }
.fr-fl { flex: 0 0 48px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: radial-gradient(circle, #3f434a, #33363c); }
.fr-fl .logo-big { width: 40px !important; height: 40px !important; display: block; } .fr-fl .logo-big svg, .fr-fl .logo-img { width: 100%; height: 100%; }
.fr-ft { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fr-ft b { font-size: 14.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-friends .fr-ft span { font-size: 12px; color: #8a8170; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-go { flex: 0 0 auto; font-size: 11.5px; font-weight: 900; background: #33363c; color: #f0cf6a; border-radius: 999px; padding: 4px 10px; }
.fr-pick.on .fr-go { background: #1f9d55; color: #fff; }
.fr-friends .fr-fc .fr-ft b { color: #33363c; } .fr-friends .fr-fc span.fr-go { color: #f0cf6a; font-size: 11.5px; } .fr-friends .fr-fc.on span.fr-go { color: #fff; }
@media (max-width: 700px) { .fr-friends .fr-list { grid-template-columns: 1fr; } }

/* Verein-Reiter im MonsterLiga-Stil (Marcus, 24.11.2026: „Nicht unser Design“) */
.vn { padding: 0 !important; overflow: hidden; }
.vn-hero { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 20px 22px; color: #f3ecd6;
  background: linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border-bottom: 3px solid #f0cf6a; }
.vn-logo { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.vn-logo svg, .vn-logo img { width: 96px !important; height: 96px !important; object-fit: contain; }
.vn-kick { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #f0cf6a; margin-bottom: 6px; }
.vn-name { display: flex; gap: 8px; } .vn-name .inp { flex: 1; min-width: 0; font-size: 18px; font-weight: 800; font-style: italic; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(240,207,106,.35); }
.vn-name .inp:disabled { opacity: 1; -webkit-text-fill-color: #fff; }
.vn-name .btn:disabled { background: #3f434a; color: #f0cf6a; border-color: #4a4130; opacity: 1; }
.vn-note { margin-top: 8px; font-size: 12.5px; color: #cfc4a6; } .vn-note.ok { color: #9be3b3; }
.vn-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px 16px; align-items: start; }
.vn-wide { grid-column: 1 / -1; } .vn-card .logo-choice { margin: 0; }
.vn-card .logo-creator > summary { list-style: none; cursor: pointer; margin-bottom: 8px; padding: 0; } .vn-card .logo-creator > summary::-webkit-details-marker { display: none; }
.vn-card .logo-creator > summary::after { content: '▾'; margin-left: auto; color: #8a6510; } .vn-card .logo-creator:not([open]) > summary { margin-bottom: 0; } .vn-card .logo-creator:not([open]) > summary::after { content: '▸'; }
.vn-card .logo-creator:not([open]) { margin-bottom: 0; }
.vn-draw { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; } .vn-draw .logo-big { flex: 0 0 120px; }
.vn-drop { display: flex; align-items: center; gap: 10px; border: 2px dashed #e3d7b0; border-radius: 12px; padding: 12px; background: #fffdf6; }
.vn-on { color: #157a3c; font-weight: 800; }
@media (max-width: 700px) { .vn-hero { grid-template-columns: 64px 1fr; padding: 16px; gap: 12px; } .vn-logo, .vn-logo svg, .vn-logo img { width: 64px !important; height: 64px !important; }
  .vn-name { flex-wrap: wrap; } .vn-body { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .vn-name .inp { flex: 1 1 100%; } }
/* Profilkarte: Admin-Abzeichen passend (Marcus, 24.11.2026: „achte … auf mein Adminbadge dass es passt“) */
.pk-mgr .tp-av { width: 54px; height: 54px; font-size: 22px; border-width: 3px !important; flex: 0 0 54px; }
.pk-mgr .avatar-big.is-admin::after { top: -6px; right: -8px; width: 22px; height: 22px; font-size: 11px; border-width: 2px; transform: rotate(12deg); }
.pk-mr .adm-chip { border: 1px solid #f0cf6a; padding: 1px 8px; line-height: 1.5; }
@media (max-width: 700px) { .pk-mgr .tp-av { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; } .pk-mr { gap: 3px; } .pk-mr > *, .pk-mr .mrank, .pk-mr .adm-chip { font-size: 11px; padding: 1px 6px; } }

/* Shop: Spezial-Artikel und Wettbewerbs-Pakete im Beastball-Stil, Münzen immer golden (Marcus, 24.11.2026) */
.shopitems.sxs { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sx { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(60,45,10,.06); transition: transform .12s, box-shadow .12s; }
.sx:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60,45,10,.12); }
.sx-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border-bottom: 3px solid #f0cf6a; }
.sx-ic { width: 52px; height: 52px; flex: 0 0 52px; display: flex; align-items: center; justify-content: center; font-size: 30px; border-radius: 14px; background: radial-gradient(circle, #3f434a, #33363c); box-shadow: inset 0 0 0 2px rgba(240,207,106,.45); }
.sx-h b { color: #fff; font-size: 17px; font-style: italic; line-height: 1.15; }
.sx-b { flex: 1; padding: 12px 16px 6px; } .sx-d { font-size: 13.5px; color: #5d5646; line-height: 1.4; }
.sx-own { margin-top: 8px; display: inline-block; font-size: 12px; background: #e9f8ef; color: #157a3c; border-radius: 999px; padding: 2px 10px; }
.sx-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 14px; }
.sx-p { font-size: 18px; font-weight: 900; color: #8a6510; display: inline-flex; align-items: center; } .sx-p i.mz { width: 18px; height: 18px; margin-left: 5px; }
.sx-miss { font-size: 12px; font-weight: 800; color: #b3261e; background: #fdecea; border-radius: 999px; padding: 5px 10px; display: inline-flex; align-items: center; }
.sx-buy { min-width: 96px; }

/* Training: Stationen geordnet (Marcus, 24.11.2026: „sieht kreuz und quer und wild aus“) – je Gruppe ein Band, darin feste 3 Spalten gleicher Höhe */
.tg-stations { display: flex !important; flex-direction: column; gap: 12px; }
.tg-grp { background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 8px 10px 10px; }
.tg-grp .tg-gh { margin: 0 2px 8px !important; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #ffe9a8; text-shadow: 0 1px 2px #0008; }
.tg-gs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.tg-gs > .tg-card { display: flex; flex-direction: column; } .tg-gs > .tg-card .tg-list { flex: 1; }
@media (max-width: 1100px) { .tg-gs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tg-gs { grid-template-columns: 1fr; } .tg-grp { padding: 6px; } }

/* Admin-Zeichen: eigenes goldenes Schild statt Emoji (das je nach Gerät blau oder rot aussah), am Avatar klein ohne Kreis
   (Marcus, 24.11.2026: „Mach das [Admin]zeichen bei mir am Kopf einfach ein bisschen kleiner … warum es immer blau mal rot ist … aus dem Kreis herausnehmen und nur ein Admin-Zeichen daran setzen … Muss nicht so auffällig sein.“) */
:root { --adm-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1 L22 5 V13 C22 20 17 25 12 27 C7 25 2 20 2 13 V5 Z' fill='%23f0cf6a' stroke='%2316140f' stroke-width='2'/%3E%3Cpath d='M12 7 L13.8 11 L18 11.3 L14.8 14 L15.8 18.2 L12 16 L8.2 18.2 L9.2 14 L6 11.3 L10.2 11 Z' fill='%2316140f'/%3E%3C/svg%3E"); }
i.adm-ic { display: inline-block; width: .85em; height: 1em; vertical-align: -0.15em; margin-right: .25em; background: var(--adm-shield) center / contain no-repeat; }
.avatar-mini.is-admin::after, .avatar-big.is-admin::after, .pk-mgr .avatar-big.is-admin::after, .tp-mgr .avatar-big.is-admin::after {
  content: '' !important; background: var(--adm-shield) center / contain no-repeat !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  filter: drop-shadow(0 1px 1.5px rgba(42, 45, 50, .6)); transform: none !important; }
.avatar-mini.is-admin::after { width: 11px !important; height: 13px !important; top: -4px !important; right: -4px !important; bottom: auto !important; }
.avatar-big.is-admin::after { width: 26px !important; height: 30px !important; top: -4px !important; right: -6px !important; bottom: auto !important; }
.pk-mgr .avatar-big.is-admin::after { width: 15px !important; height: 18px !important; top: -4px !important; right: -5px !important; }
.pk-adm { background: transparent !important; border: 0 !important; color: #f0cf6a; font-size: 11px !important; padding: 0 2px !important; opacity: .9; }
/* Profilkarte: Monster ganz und freigestellt (Marcus, 24.11.2026: „aus dem Kreis raus und stell den da komplett hin, ausgeschnitten, im Ganzen“) */
.pk-full { width: 150px; height: 160px; margin: -10px 0 -18px; filter: drop-shadow(0 10px 14px rgba(42, 45, 50, .55)); }
.pk-full svg { width: 100%; height: 100%; overflow: visible; }
/* Kopf-Farbverlauf aus beiden Trikotfarben (Marcus: „schwarz und weiße Trikots. Da müsste doch der Farbverlauf anders sein“) */
.pk-hero { background: radial-gradient(circle at 10% 30%, color-mix(in srgb, var(--jc) 55%, transparent), transparent 55%),
  radial-gradient(circle at 88% 70%, color-mix(in srgb, var(--jc2) 38%, transparent), transparent 50%), linear-gradient(135deg, #33363c, #33363c 60%, #3f434a) !important; }
@media (max-width: 700px) { .pk-full { width: 110px; height: 118px; margin: 0; } }
/* Training: Seitenleiste bleibt beim Scrollen sichtbar */
@media (min-width: 901px) { .tg-side { position: sticky; top: 76px; } }
.pk-full svg { transform: scale(1.3); transform-origin: 50% 60%; } @media (max-width: 700px) { .pk-full svg { transform: scale(1.2); } }
.pk-full { margin-bottom: 0; } .pk-star .pk-fn { position: relative; z-index: 1; }

/* Profilkarte: Datum je Erfolg (Marcus, 24.11.2026) */
.pk-ai div span.pk-ad { color: #8a6510; font-weight: 700; font-size: 11px; }
/* Fenster: ✕ bleibt beim Scrollen oben rechts sichtbar (Marcus, 24.11.2026: „wenn ich runterscrolle, verliere ich das X oben … dass das X mitläuft“) */
.modal > .close { position: sticky !important; top: 10px; float: right; margin: 0 0 -40px 10px; z-index: 30; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.18); }

/* Booster-Shop wie Top-Werbung (Marcus, 24.11.2026: „dieses Grau Schrift … auf grauen Hintergrund … verschwommen … hübscher und werbewirksamer … So wie so eine Top-Werbung“):
   dunkle Karte mit Leuchten in Pack-Farbe, scharfe (nicht gedrehte) Packs, helle Schrift, Quoten als kräftige Chips, Band „Chance auf …“ */
.packs .pack { background: radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--pc) 55%, transparent), transparent 62%), linear-gradient(170deg, #33363c, #33363c 75%) !important;
  border: 2px solid color-mix(in srgb, var(--pc) 70%, #f0cf6a) !important; color: #f3ecd6; box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--pc) 70%, transparent), inset 0 0 0 1px rgba(255,255,255,.06); padding-top: 34px; transition: transform .2s, box-shadow .2s; }
.packs .pack:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -8px color-mix(in srgb, var(--pc) 85%, transparent), inset 0 0 0 1px rgba(255,255,255,.1); }
.packs .pack .foil.packbag { transform: none; filter: drop-shadow(0 14px 22px rgba(42, 45, 50, .6)) drop-shadow(0 0 18px color-mix(in srgb, var(--pc) 60%, transparent)); image-rendering: auto; }
.packs .pack:hover .foil.packbag { transform: translateY(-6px) scale(1.05); }
.packs .pack h3 { color: #fff; font-size: 21px; font-style: italic; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(42, 45, 50, .6); margin: 6px 0 4px; }
.packs .pack p.small, .packs .pack .small.muted { color: #e4dac0 !important; font-size: 13px; }
.packs .pack > .small { color: #fff; font-weight: 700; }
.packs .pack .odds { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 8px 0 4px; }
.packs .pack .odds .pill { background: #2a2d32 !important; border: 1px solid rgba(255,255,255,.18); font-weight: 900; font-size: 12px; padding: 3px 9px; }
.packs .pack .odds .rar-0 { color: #d6dbe0 !important; } .packs .pack .odds .rar-1 { color: #5ef59a !important; } .packs .pack .odds .rar-2 { color: #8fc4ff !important; }
.packs .pack .odds .rar-3 { color: #dba8ff !important; } .packs .pack .odds .rar-4 { color: #ffd23f !important; } .packs .pack .odds .rar-5 { color: #8ff8ff !important; }
.packs .pack .price { font-size: 26px; font-weight: 900; color: #ffd23f; text-shadow: 0 0 14px rgba(255,197,49,.45); margin: 8px 0 4px; }
.packs .pack .lock { color: #ffb4a8; font-weight: 800; font-size: 12.5px; }
.packs .pack .btn.is-locked { background: #3f434a !important; color: #cfc4a6 !important; border: 1px solid #4a4130 !important; filter: none; }
.packs .pack .btn:not(.is-locked) { font-size: 15px; padding: 10px 22px; box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--pc) 80%, transparent); }
.packs .pack.pk-locked .foil.packbag { filter: drop-shadow(0 14px 22px rgba(42, 45, 50, .6)) saturate(.75) brightness(.85); }
.pk-rib { position: absolute; top: 12px; left: -34px; transform: rotate(-35deg); width: 150px; text-align: center; padding: 3px 0; font-size: 10.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  background: #33363c; color: #f0cf6a; border-top: 1px solid #f0cf6a; border-bottom: 1px solid #f0cf6a; z-index: 2; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.pk-rib.rar-b1 { color: #5ef59a; border-color: #5ef59a; } .pk-rib.rar-b2 { color: #8fc4ff; border-color: #8fc4ff; } .pk-rib.rar-b3 { color: #dba8ff; border-color: #dba8ff; }
.pk-rib.rar-b4 { color: #ffd23f; border-color: #ffd23f; } .pk-rib.rar-b5 { color: #8ff8ff; border-color: #8ff8ff; }
.pk-rib { top: 0 !important; left: 50% !important; transform: translateX(-50%) !important; width: auto !important; white-space: nowrap; padding: 4px 14px !important; border: 1px solid currentColor !important; border-top: 0 !important; border-radius: 0 0 12px 12px; }
.packs .pack .price { font-size: 23px; white-space: nowrap; }
.packs .pack .price { font-size: 20px; } @media (max-width: 700px) { .packs .pack .price { font-size: 24px; } }

/* Verein: Sponsor und Trikot im Beastball-Stil (Marcus, 24.11.2026) */
.sp-hero { grid-template-columns: 110px 1fr; }
.sp-hlogo { width: 110px; height: 72px; display: flex; align-items: center; justify-content: center; } .sp-hlogo svg { width: 110px; height: auto; filter: drop-shadow(0 6px 14px rgba(42, 45, 50, .5)); }
.sp-none { font-size: 42px; font-weight: 900; color: #f0cf6a; border: 2px dashed rgba(240,207,106,.5); border-radius: 14px; }
.sp-hname { font-size: 24px; font-weight: 900; font-style: italic; color: #fff; line-height: 1.15; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .sp-chips span { background: rgba(240,207,106,.14); color: #f0cf6a; border: 1px solid rgba(240,207,106,.4); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 800; }
.sp-chips.light span { background: #fff8e1; color: #6b4e00; border-color: #ecd9a0; }
.sp-body { padding: 14px 16px 18px; } .sp-ih { margin-bottom: 12px; } .sp-ih .small { margin-top: 4px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sp-card .sx-h { align-items: center; } .sp-logo { flex: 0 0 74px; width: 74px; display: flex; } .sp-logo svg { width: 74px; height: auto; }
.sp-left { margin-top: 3px; font-size: 11.5px; font-weight: 800; color: #f0cf6a; }
.sp-about2 { font-size: 13px; font-style: italic; color: #5d5646; line-height: 1.4; } .sp-type { margin-top: 6px; font-size: 13px; font-weight: 700; color: #3f434a; }
.sp-card .sx-f { justify-content: flex-end; gap: 8px; }
.tk-body { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.2fr); gap: 16px; padding: 16px; align-items: start; }
.tk-stage { border-radius: 18px; background: radial-gradient(circle at 50% 40%, #fffaf0, #efe6cc); border: 1px solid var(--line); display: flex; justify-content: center; padding: 10px; }
.tk-stage .jprev { width: 100%; max-width: 320px; } .tk-stage .jprev svg { width: 100%; height: auto; }
.tk-ed .editor { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .tk-ed .editor label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; color: #6d6555; }
.tk-ed .editor label:first-child { grid-column: 1 / -1; } .tk-ed .editor .btn { grid-column: 1 / -1; }
.tk-col input[type=color] { width: 100%; height: 42px; border: 2px solid var(--line); border-radius: 12px; padding: 3px; background: #fff; cursor: pointer; }
@media (max-width: 700px) { .sp-hero { grid-template-columns: 74px 1fr; } .sp-hlogo, .sp-hlogo svg { width: 74px; } .tk-body { grid-template-columns: 1fr; } }
.v-trikot .vn-hero { grid-template-columns: 1fr; }
.tk-stage .jprev { width: 100% !important; max-width: 300px; height: auto !important; aspect-ratio: 1; overflow: visible; } .tk-stage .jprev svg { width: 100% !important; height: 100% !important; }

/* Sponsor-Logos groß (Marcus, 24.11.2026) */
.sp-card .sx-h.sp-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px; }
.sp-card .sp-logo { flex: none; width: 100%; max-width: 240px; } .sp-card .sp-logo svg { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(42, 45, 50, .5)); }
.sp-card .sp-hd b { font-size: 15px; }
.sp-hero { grid-template-columns: 200px 1fr !important; } .sp-hlogo { width: 200px !important; height: auto !important; } .sp-hlogo svg { width: 200px !important; }
.sp-none { height: 82px !important; }
@media (max-width: 700px) { .sp-hero { grid-template-columns: 1fr !important; } .sp-hlogo, .sp-hlogo svg { width: 200px !important; margin: 0 auto; } }
.sp-card .sp-logo { height: auto !important; margin: 0 !important; display: block; }
.tp-sp .sp-logo-svg { width: 200px; max-width: 100%; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }

/* Verein → Statistiken im Beastball-Stil (Marcus, 24.11.2026) */
.vst-head { margin-bottom: 14px; } .vst-hero { grid-template-columns: 1fr auto !important; }
.vst-hss { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.vst-hs { min-width: 92px; text-align: center; background: rgba(240,207,106,.1); border: 1px solid rgba(240,207,106,.35); border-radius: 14px; padding: 8px 12px; }
.vst-hs b { display: block; font-size: 22px; font-weight: 900; color: #fff; } .vst-hs span { font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #f0cf6a; }
.vst .kst { border-radius: 18px; padding: 16px 18px !important; }
.vst .kst h3 { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.vst .kst h3::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, #f0cf6a, transparent); }
.vst .kst h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 700; }
.vst .kst h3:first-child { margin-top: 0; }
.vst .kst-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid #f0cf6a; border-radius: 14px; padding: 10px 12px; box-shadow: 0 2px 8px rgba(60,45,10,.05); }
.vst .kst-tile span { font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; }
.vst .kst-tile b { font-size: 22px; color: #33363c; }
.vst .kst-tbl { border-collapse: separate; border-spacing: 0 6px; }
.vst .kst-tbl thead th { font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; border: 0; padding: 0 12px; }
.vst .kst-tbl tbody th, .vst .kst-tbl tbody td { background: #fffdf6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 12px; }
.vst .kst-tbl tbody th { border-left: 4px solid #33363c; border-radius: 12px 0 0 12px; font-weight: 900; } .vst .kst-tbl tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.vst .kst-top { list-style: none; padding: 0; counter-reset: r; } .vst .kst-top li { counter-increment: r; display: flex; align-items: center; gap: 10px; background: #fffdf6; border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; margin-bottom: 6px; }
.vst .kst-top li::before { content: counter(r); width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #33363c; color: #f0cf6a; font-weight: 900; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.vst .kst-top li:first-child::before { background: #f0cf6a; color: #33363c; }
.vst .kst-top li span { flex: 1; min-width: 0; } .vst .kst-top li b { float: none; margin-left: auto; font-size: 16px; }
.vst .kst-track { height: 12px; background: #f1ecdd; } .vst .kst-track i { background: linear-gradient(90deg, #c9a227, #f0cf6a); }
.vst .kst-cols > div { background: #fffdf6; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
@media (max-width: 700px) { .vst-hero { grid-template-columns: 1fr !important; } .vst-hss { justify-content: flex-start; } .vst-hs { min-width: 70px; } }

/* Liga auf fremder Vereinsseite: eigener Verein nur dezent (Marcus, 24.11.2026) */
.ltable tr.own td { box-shadow: inset 3px 0 0 #b9ae92; } .ltable tr.own td:first-child { box-shadow: inset 4px 0 0 #b9ae92; }
.tp-main .league-hero { margin-top: 0; }
/* Training: ein Monster füllt nicht mehr die ganze Station (Marcus, 24.11.2026: „Ein Monster nimmt alles ein das ist falsch“) */
.tg-gs > .tg-card .tg-list { align-content: start; grid-auto-rows: max-content; }

/* Taktik: Besonderheiten zusammengefasst (Marcus, 24.11.2026) */
.fx2-v.fx2-cnt { background: #33363c; color: #f0cf6a; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.fx2-v.fx2-cnt:empty { display: none; }

/* Freundschaftsspiele: Hinweis Form-Woche (Marcus, 24.11.2026) */
.fr-formhint { margin: 8px 0 12px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(90deg, #fff6d6, #fffdf6); border: 1px solid #ecd9a0; border-left: 5px solid #f0cf6a; font-size: 13.5px; line-height: 1.45; }
.fr-formhint .fr-fh-c { display: block; margin-top: 4px; color: #6b4e00; } .fr-formhint .small { display: block; margin-top: 2px; }
.fr-wk .fw { position: relative; } .fr-wk .fw.fw-split { margin-left: 12px; } .fr-wk .fw.fw-split::before { content: ''; position: absolute; left: -10px; top: -4px; bottom: -4px; border-left: 3px dashed #c9a227; }
.fw-nw { position: absolute; top: -18px; left: -10px; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #8a6510; white-space: nowrap; }
.fr-wk { padding-top: 14px; }

/* Vereinsseite: Reiter oben statt Seitenleiste (Marcus, 24.11.2026) */
.tp-wrap.tp-top { display: block; }
.tp-wrap.tp-top > .tp-tabs { position: static; background: none; border: 0; border-radius: 0; overflow: visible; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; margin-bottom: 14px; }
.tp-wrap.tp-top > .tp-tabs a { display: inline-block; border-top: 0; }
.tp-tn { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 15px; margin-right: 10px; padding: 0 4px 8px; color: #33363c; }
@media (max-width: 700px) { .tp-tn { width: 100%; padding-bottom: 4px; } }

/* Reiter unter dem Profilkarten-Kopf (Marcus, 24.11.2026) */
.tp-tabs.pk-navin { margin: 0 !important; padding: 10px 16px 0; border-bottom: 3px solid #33363c; background: #faf6ea; }
.tp-tabs.pk-navin .tp-tn { display: none; }

/* Posteingang: Spielmeldung als Karte (Marcus, 24.11.2026) */
.ibm-h { display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; }
.ibm-sc { min-width: 54px; text-align: center; font-size: 18px; font-weight: 900; color: #fff; border-radius: 10px; padding: 4px 8px; background: #8a8f99; }
.ibm.w .ibm-sc { background: #2e8b47; } .ibm.l .ibm-sc { background: #c2334a; }
.ibm-h b { display: block; font-size: 14px; line-height: 1.2; } .ibm-h small { display: block; font-size: 12px; color: #8a8170; }
.ibm-cs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.ibm-c { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: #f1ecdd; color: #4a4232; }
.ibm-c.pos { background: #e3f6e8; color: #1f7a3c; } .ibm-c.neg { background: #fdecea; color: #b3261e; } .ibm-c.coin { background: #fff3c4; color: #7a5600; } .ibm-c.crowd { background: #e8eefc; color: #2b4a9a; }
.ibm-r { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.35; margin-top: 3px; } .ibm-l { flex: 0 0 96px; font-size: 10.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #8a6510; padding-top: 1px; }
.ibm-r.bad .ibm-l { color: #b3261e; }
@media (max-width: 700px) { .ibm-r { flex-direction: column; gap: 0; } .ibm-l { flex: none; } }
.ibm-c { max-width: 100%; white-space: normal; line-height: 1.35; } .ibm-c.coin::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; background: radial-gradient(circle at 35% 35%, #fff6b0, #ffc531 50%, #b07800); }

/* Posteingang: rotes Sanitätskreuz statt Emoji bei Verletzt, rote Karte bei Gesperrt (Marcus, 24.11.2026) */
.ibm-l { display: inline-flex; align-items: flex-start; gap: 5px; }
.ibm-x { position: relative; flex: 0 0 11px; width: 11px; height: 11px; margin-top: 1px; }
.ibm-x::before, .ibm-x::after { content: ''; position: absolute; background: #d0213a; border-radius: 1px; }
.ibm-x::before { left: 4px; top: 0; width: 3px; height: 11px; } .ibm-x::after { left: 0; top: 4px; width: 11px; height: 3px; }
.ibm-rc { flex: 0 0 8px; width: 8px; height: 11px; margin-top: 1px; border-radius: 1.5px; background: #d0213a; }

/* Posteingang: alle Meldungen übersichtlich (Marcus, 24.11.2026) */
.ibn-h { display: block; font-size: 14px; line-height: 1.25; margin-bottom: 2px; } .ibn-b { line-height: 1.4; color: #3d372b; margin-bottom: 4px; }
.ibn .ibm-cs { margin: 4px 0 2px; } .ibm-c.ep { background: #efe6ff; color: #5a2fa8; }

/* Posteingang: alle Rubriken immer als Reiter mit Anzahl (Marcus, 24.11.2026) */
.ib-chips button span { margin-left: 3px; font-size: 11px; opacity: .75; } .ib-chips button.none { opacity: .55; }
.ib-empty { padding: 10px 2px; }

/* Managernamen-Vorschläge (Marcus, 24.11.2026) */
.usugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,.18); max-height: 280px; overflow: auto; }
.usugg button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 8px 10px; font: inherit; text-align: left; cursor: pointer; }
.usugg button:hover { background: #fff6d6; } .usugg button .small { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }

/* Wettbewerbe: mitspielen, Modus, Bearbeiten, Gruppen (Marcus, 24.11.2026) */
.cup-play { display: block; margin-top: 8px; font-weight: 800; } .cup-edit h3 { margin-top: 0; }
.tbl tr.cup-q td { background: #effaf1; }

/* Beastball-Pokal glänzt (Marcus, 24.11.2026) */
.ml-cup .ml-glow { animation: mlGlow 2.4s ease-in-out infinite; transform-origin: 50px 17px; } .ml-cup .ml-spark { animation: mlSpark 1.8s ease-in-out infinite; }
.ml-cup .ml-shine { animation: mlShine 3s ease-in-out infinite; }
@keyframes mlGlow { 0%, 100% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes mlSpark { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes mlShine { 0% { transform: translateX(-30px) rotate(25deg); } 60%, 100% { transform: translateX(30px) rotate(25deg); } }

/* Beastball-Pokal 2: großes goldenes Logo, Glanz wandert endlos (Marcus, 24.11.2026) */
.ml-cup .ml-shine { animation: mlShine2 2.6s ease-in-out infinite; } .ml-cup .ml-rays { animation: mlRays 12s linear infinite; transform-origin: 50px 38px; }
.ml-cup .ml-glow { transform-origin: 50px 38px; }
@keyframes mlShine2 { 0% { transform: translateX(-20px) skewX(-20deg); } 55%, 100% { transform: translateX(80px) skewX(-20deg); } }
@keyframes mlRays { to { transform: rotate(360deg); } }
/* ✕ im Fenster höher, ragt nicht in den Inhalt (Marcus, 24.11.2026: „Im Chat der X-Button … ein bisschen höher positionieren, dass er nicht in den Frame reinragt“) */
.modal > .close { transform: translate(6px, -10px); }
.ci-pop > h2 { padding-right: 48px; margin-bottom: 18px; min-height: 30px; }

/* Fähigkeiten: Bereiche (Physis, Torwart …) als Blöcke nebeneinander, die Werte eines Bereichs untereinander (Marcus, 24.11.2026: „Physis sollte Tempo, Ausdauer,
   Kraft untereinander und neben der Physis kannst du Torwart setzen, sodass du verschiedene Blöcke hast, aber die Skills beisammen bleiben“) */
.stat-grps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; align-items: start; }
.stat-grps .stats2 { grid-template-columns: 1fr !important; }
.stat-grps .stat-grp { min-width: 0; }
@media (max-width: 700px) { .stat-grps { grid-template-columns: 1fr; } }

/* Trainingslager-Hinweis unten neben Nummer und Name statt oben über den Positionen (Marcus, 24.11.2026) */
.nm-camp { display: inline-block; vertical-align: middle; margin-left: 4px; font-size: 10px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; background: #1f7a6d; color: #fff; border-radius: 999px; padding: 1px 7px; }

/* Erfolgs-Fenster nacheinander (Marcus, 24.11.2026) */
.ach-pop { transition: opacity .3s, transform .3s; max-width: min(460px, calc(100vw - 24px)); }
.ach-pop-c { margin-left: 6px; background: #33363c; color: #f0cf6a; border-radius: 999px; padding: 1px 8px; letter-spacing: 0; text-transform: none; font-size: 11px; }
.ach-pop-b { display: flex; gap: 6px; margin-top: 6px; } .ach-pop-b button { border: 1px solid #d9c27a; background: #fff8e1; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; color: #6b4e00; }
.ach-pop .ach-pop-n { color: #fff !important; } .ach-pop .ach-pop-k { color: #f0cf6a !important; } .ach-pop .small { color: #e4dac0 !important; }

/* Chat: Avatare mit Levelring und Admin-Schild (Marcus, 24.11.2026) */
.ci-av.avatar-mini { width: 42px; height: 42px; flex: 0 0 42px; overflow: visible; position: relative; border-width: 3px; border-style: solid; }
.ci-av.avatar-mini > img, .ci-av.avatar-mini > svg, .ci-av.avatar-mini > .ci-letter { border-radius: 50%; overflow: hidden; }
.msg-row { display: flex; align-items: flex-end; gap: 8px; margin: 6px 0; } .msg-row.me { flex-direction: row-reverse; }
.msg-row .msg { margin: 0 !important; max-width: 75%; }
.ci-av.ci-avs { width: 30px; height: 30px; flex: 0 0 30px; border-width: 2px; font-size: 13px; }
.ci-av.ci-avs.is-admin::after { width: 10px !important; height: 12px !important; top: -4px !important; right: -4px !important; }

/* Ligatabelle: Vereinsname oben, Manager bzw. „KI-Verein“ klein darunter – auf jeder Breite gleich (Marcus, 24.11.2026: „Auf kleineren Monitor verschiebt der
   Managername zum Teamname. Kriegst du da eine elegantere Lösung hin, sodass es überall gleich ist?“) */
.lt-cell.lt2 { display: flex !important; align-items: center; gap: 8px; min-width: 0; }
.lt-cell.lt2 .lt-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.lt-cell.lt2 .lt-nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-cell.lt2 .lt-who { font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-cell.lt2 .lt-who.hu { color: #127a3e; } .lt-cell.lt2 .lt-who.ai { color: #9a8f78; font-weight: 700; }
.tbl.ltable tr.mine .lt-cell.lt2 .lt-who.hu { color: #0d5c2e; }
.lt-cell.lt2 .lt-tx { flex: 1; overflow: hidden; } .tbl.ltable td.form { white-space: nowrap; }
@media (max-width: 700px) { .tbl.ltable td:nth-child(2) { width: 100%; max-width: 0; } }

/* Trainingslager im Beastball-Stil (Marcus, 24.11.2026) */
.cp-hero { grid-template-columns: 1fr !important; }
.cp-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .cp-facts span { background: rgba(240,207,106,.12); border: 1px solid rgba(240,207,106,.35); color: #f0cf6a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; } .cp-facts b { color: #fff; }
.cp-body { padding: 14px 16px 18px; }
.cp-info { background: #fffdf6; border: 1px solid var(--line); border-left: 4px solid #f0cf6a; border-radius: 12px; padding: 9px 12px; line-height: 1.45; color: #4a4232; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cp-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--rc); border-radius: 16px; padding: 12px; box-shadow: 0 2px 10px rgba(60,45,10,.06); }
.cp-top { display: flex; align-items: center; gap: 10px; } .cp-id { flex: 1; min-width: 0; } .cp-id a { color: inherit; text-decoration: none; }
.cp-face { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px var(--rc); } .cp-face svg { width: 100%; height: 100%; }
.cp-chips { display: flex; gap: 6px; margin: 10px 0 8px; } .cp-chips span { background: #33363c; color: #f0cf6a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.cp-bar { height: 10px; background: #f1ecdd; border-radius: 5px; overflow: hidden; } .cp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c9a227, #f0cf6a); }
.cp-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 6px; color: #6d6555; }
.cp-new { margin-top: 16px; }
.cp-form { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.cp-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; color: #6d6555; min-width: 0; } .cp-form .inp { width: 100%; }
@media (max-width: 900px) { .cp-form { grid-template-columns: 1fr 1fr; } .cp-form .cp-wide, .cp-form .btn { grid-column: 1 / -1; } }

/* Trainingslager-Schild unter der Gesamtwert-Plakette (Marcus, 24.11.2026) – überholt „unten neben Nummer“ */
.mcard .kc-camp { position: absolute; top: 62px; right: 4px; z-index: 3; font-size: 10px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; background: #1f7a6d; color: #fff; border-radius: 999px; padding: 2px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
@media (max-width: 700px) { .mcard .kc-camp { top: 54px; font-size: 9px; padding: 1px 6px; } }

/* Nachricht vom Beastball-Team (Marcus, 24.11.2026) */
.adm-msg-pop { max-width: 560px; } .modal:has(.adm-msg-pop) { max-width: 620px; }
.adm-pop-h { display: flex; align-items: center; gap: 12px; background: #b3261e; color: #fff; margin: -4px -4px 4px; padding: 10px 14px; border-radius: 12px; }
.adm-pop-h b { display: block; font-size: 1.1em; } .adm-pop-h .small { color: #ffe2df !important; } .adm-pop-ic { font-size: 28px; line-height: 1; }
.adm-reply { display: block; margin-top: 12px; } .adm-reply textarea { width: 100%; box-sizing: border-box; resize: vertical; margin-top: 4px; }
.adm-thread { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; } .adm-thread.new { border-color: #b3261e; box-shadow: 0 0 0 2px rgba(179,38,30,.15); }
.adm-tm { margin: 6px 0; padding: 7px 10px; border-radius: 10px; max-width: 85%; white-space: pre-wrap; } .adm-tm.admin { background: #eef4ff; margin-left: auto; } .adm-tm.user { background: #fff4e0; }
.adm-tm.user.unread { border-left: 4px solid #b3261e; } .adm-msg { background: #fffdf6; border: 1px solid var(--line); border-left: 4px solid #b3261e; border-radius: 12px; padding: 10px 12px; margin-top: 10px; line-height: 1.45; white-space: pre-wrap; }

/* Tagesaufgabe neu würfeln (Marcus, 24.11.2026) */
.mission .m-reroll { white-space: nowrap; padding: 3px 8px; font-size: 12px; }
@media (max-width: 700px) { .mission .m-reroll { padding: 3px 6px; font-size: 11px; } }

/* Profilkarte am Handy aufgeräumt (Marcus, 24.11.2026: „Auf Handys sieht die Profilkarte ziemlich unsortiert aus. Oben … in der Header.“):
   links Logo, darunter Verein/Name/Manager; rechts das Monster mit Namen – keine eigene, halb leere Zeile mehr */
@media (max-width: 700px) {
  .pk-hero { grid-template-columns: 1fr auto !important; grid-template-areas: "logo star" "hn star"; gap: 10px 8px; padding: 16px 14px 14px; align-items: start; }
  .pk-hero > .pk-logo { grid-area: logo; justify-content: flex-start; }
  .pk-hero > .pk-hn { grid-area: hn; min-width: 0; }
  .pk-hero > .pk-star { grid-area: star; grid-column: auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; align-self: end; gap: 2px; width: 118px; }
  .pk-star .pk-full { width: 112px; height: 124px; margin: 0; }
  .pk-star .pk-fn { font-size: 12px; text-align: center; line-height: 1.2; max-width: 118px; overflow-wrap: anywhere; }
  .pk-hn h2 { font-size: 19px; margin: 2px 0 8px; overflow-wrap: anywhere; }
  .pk-kicker { font-size: 11px; }
}

/* Diamant-Monster glänzen (Marcus, 24.11.2026) – Leuchten in Diamant-Farben, pulsierend */
.monster-svg.dia-shiny { animation: diaGlow 2.4s ease-in-out infinite; }
@keyframes diaGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(127,243,255,.85)) drop-shadow(0 0 10px rgba(210,140,255,.45)) brightness(1.04) saturate(1.15); }
  50% { filter: drop-shadow(0 0 9px rgba(127,243,255,1)) drop-shadow(0 0 20px rgba(255,150,240,.7)) brightness(1.14) saturate(1.3); } }
@media (prefers-reduced-motion: reduce) { .monster-svg.dia-shiny { animation: none; filter: drop-shadow(0 0 6px rgba(127,243,255,.9)); } }

/* Qualitätsrahmen der Monster-Karten deutlich und glänzend (Marcus, 24.11.2026: „Generell möchte ich die Rahmen von den Spielern besser sehen. Was ist grün?
   Was ist blau? Das muss schöner sein, das muss glänzender sein, man muss es erkennen.“): dicker Metallrahmen je Qualität (Verlauf hell–satt–hell),
   wandernder Glanz im Rahmen (ab Blau schneller und heller, Diamant Regenbogen), Karte leicht in Qualitätsfarbe getönt, Qualität als Metall-Plakette */
.mcard { --fr: linear-gradient(135deg, #eef1f4, #8d959e 30%, #f4f6f8 50%, #7d858e 70%, #d9dde1);
  border: 0 !important; padding: 14px 12px 12px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--rc, #9aa3ad) 16%, #fff), #f6f2e8 55%, color-mix(in srgb, var(--rc, #9aa3ad) 10%, #f1ede2)); }
.mcard.r1 { --fr: linear-gradient(135deg, #d4ffe5, #18a957 28%, #b8ffd4 50%, #0e7c3f 72%, #7ff0ad); }
.mcard.r2 { --fr: linear-gradient(135deg, #dcefff, #1f6fe0 28%, #bfe0ff 50%, #0d4fb0 72%, #7fc0ff); }
.mcard.r3 { --fr: linear-gradient(135deg, #f3e2ff, #8a2be2 28%, #e6c7ff 50%, #6416b3 72%, #c98bff); }
.mcard.r4 { --fr: linear-gradient(135deg, #fff8cf, #d39a00 28%, #ffe98a 50%, #a86f00 72%, #ffd23f); }
.mcard.r5 { --fr: linear-gradient(135deg, #7ff6ff, #ff7ad9 20%, #ffe27a 38%, #8affc1 55%, #7fb4ff 72%, #e08bff 86%, #7ff6ff); }
.mcard:not(.coach)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 5px; pointer-events: none; z-index: 3;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.95) 48%, transparent 58%) 0 0 / 300% 100% no-repeat, var(--fr);
  -webkit-mask: linear-gradient(#2a2d32 0 0) content-box, linear-gradient(#2a2d32 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: frShine 4.5s linear infinite; }
.mcard.r0::before { padding: 4px; } .mcard.r1::before { padding: 4px; }
.mcard.r2::before, .mcard.r3::before { animation-duration: 3.6s; }
.mcard.r4::before { padding: 6px; animation-duration: 3s; } .mcard.r5::before { padding: 6px; animation-duration: 2.4s; background-size: 300% 100%, 200% 200%; }
@keyframes frShine { 0% { background-position: 130% 0, 0 0; } 60%, 100% { background-position: -30% 0, 100% 100%; } }
.mcard:not(.coach) { box-shadow: 0 3px 10px rgba(0,0,0,.10), 0 0 0 1px color-mix(in srgb, var(--rc) 55%, transparent), 0 0 22px -6px var(--rc); }
.mcard.r4:not(.coach), .mcard.r5:not(.coach) { box-shadow: 0 3px 12px rgba(0,0,0,.12), 0 0 26px -4px var(--rc); }
/* Qualität als Metall-Plakette statt nur farbiger Text */
.mcard .meta .rar { display: inline-block; padding: 1px 9px; border-radius: 999px; color: #fff !important; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--fr); background-size: 200% 200%; text-shadow: 0 1px 2px rgba(42, 45, 50, .55); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 3px rgba(0,0,0,.2); }
.mcard.r4 .meta .rar, .mcard.r5 .meta .rar { color: #33363c !important; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .mcard::before { animation: none !important; } }

/* Tutorial leichter finden (Marcus, 24.11.2026: „Das Tutorial war für den Handynutzer schwer zu finden.“): Menüpunkt unter Hilfe, eingeklapptes Schild gold und pulsierend */
#side-nav .nav-tut { color: #f0cf6a; font-weight: 800; }
.guide.min .gd-open { background: linear-gradient(135deg, #ffe98a, #f0cf6a 45%, #c9a227); color: #33363c; box-shadow: 0 0 0 2px #33363c, 0 6px 18px rgba(0,0,0,.35); animation: tutPulse 2.2s ease-in-out infinite; }
@keyframes tutPulse { 0%, 100% { box-shadow: 0 0 0 2px #33363c, 0 6px 18px rgba(0,0,0,.35), 0 0 0 0 rgba(240,207,106,.7); } 50% { box-shadow: 0 0 0 2px #33363c, 0 6px 18px rgba(0,0,0,.35), 0 0 0 10px rgba(240,207,106,0); } }
@media (max-width: 700px) { .guide.min { left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 10px; }
  .guide.min .gd-open { padding: 11px 18px; font-size: 14px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .guide.min .gd-open { animation: none; } }

/* Qualität nur noch über den Rahmen, ohne Plakette (Marcus, 24.11.2026: „Muss die Qualität als Batch da noch da sein? Wir haben ja die Rahmen jetzt.
   Also kann ja eigentlich raus.“); Transfermarkt im selben Rahmen-Layout („Bei Transfermarkt selbe Layout bitte in Rahmen machen“) */
.mcard .meta { justify-content: center; }
.mk-card.mk-k > .mcard { border: 0 !important; padding: 14px 12px 12px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--rc, #9aa3ad) 16%, #fff), #f6f2e8 55%, color-mix(in srgb, var(--rc, #9aa3ad) 10%, #f1ede2)) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.10), 0 0 0 1px color-mix(in srgb, var(--rc) 55%, transparent), 0 0 22px -6px var(--rc) !important; }
.mk-card.mk-k.soon > .mcard { box-shadow: 0 0 0 3px #ff8a3d, 0 6px 18px rgba(0,0,0,.08) !important; }
.mk-card.mk-k.has-bid > .mcard { box-shadow: 0 0 0 3px #1f9d55, 0 6px 18px rgba(0,0,0,.08) !important; }

/* 6 Sterne passen in die schmalen Scouting-Kacheln (24.11.2026) */
.sb2-top .sb2-talent { min-width: 0; padding-left: 6px; padding-right: 6px; overflow: hidden; }
.sb2-top .sb2-talent .sc-stars { font-size: 19px; letter-spacing: 0; white-space: nowrap; }
.sb2-top .sb2-k { overflow-wrap: anywhere; }
.sb2-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Kader-Kachel aufgeräumt (Marcus, 24.11.2026: „Die Monsterkarte passt irgendwie nicht mehr, die ist ein bisschen überfüllt … Kannst du die anpassen zu unserem
   typischen Stil auch?“): Besonderheit als schmaler Goldstreifen (Text höchstens 2 Zeilen), Talent + Lerntempo in EINER dunklen Plakette mit zwei Zeilen,
   Stärken/Schwächen als kleine Chips 2 × 2 (oben grün, unten rot), weniger Abstände */
.mcard .art { margin-bottom: 2px; }
.mcard .nm { font-size: 15px; margin-top: 2px; }
.mcard .ab-box { height: auto !important; min-height: 0; margin: 6px 0 4px; padding: 5px 8px; border-radius: 10px; text-align: left; display: block !important;
  background: linear-gradient(90deg, #fff3c4, #fffaf0) !important; border: 1px solid #e6c35a; border-left: 4px solid #c9a227; }
.mcard .ab-box b { font-size: 12px; display: block; }
.mcard .ab-box span { font-size: 10.5px; line-height: 1.25; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #4a4232; }
.mcard .meta { margin: 2px 0 4px; font-size: 11.5px; }
.kc-sc { background: linear-gradient(160deg, #33363c, #33363c); border-radius: 12px; padding: 6px 9px; margin: 4px 0 6px; box-shadow: inset 0 0 0 1px rgba(240,207,106,.25); display: grid; gap: 4px; }
.kc-r { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "k st" "w w"; align-items: center; column-gap: 6px; text-align: left; }
.kc-r + .kc-r { border-top: 1px solid rgba(255,255,255,.08); padding-top: 4px; }
.kc-k { grid-area: k; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #a99f86; }
.kc-st { grid-area: st; text-align: right; white-space: nowrap; font-size: 13px; letter-spacing: 0; line-height: 1; }
.kc-st i { color: #3d382c; font-style: normal; }
.tal-r .kc-st b { color: #ffd23f; text-shadow: 0 0 6px rgba(255,200,40,.6); font-weight: 400; }
.ts-r .kc-st b { color: #6fe3ff; text-shadow: 0 0 6px rgba(80,210,255,.55); font-weight: 400; }
.kc-w { grid-area: w; font-size: 11px; font-weight: 800; color: #f3ecd6; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tal-r .kc-w { color: #ffe9a0; } .ts-r .kc-w { color: #bff3ff; }
.kc-r.top .kc-st b { background: linear-gradient(90deg, #7ff6ff, #ff7ad9, #ffe27a, #8affc1, #7fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  background-size: 200% 100%; animation: kcTop 3s linear infinite; }
@keyframes kcTop { to { background-position: 200% 0; } }
.mcard .kc-sw { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3px; margin: 4px 0 0; }
.mcard .kc-sw .up, .mcard .kc-sw .down { display: contents !important; }
.mcard .kc-sw span { display: block !important; font-size: 10.5px !important; font-weight: 800; padding: 2px 5px !important; margin: 0 !important; border-radius: 6px; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .kc-sw .up span { background: #e3f5e9 !important; color: #1b7a3d !important; } .mcard .kc-sw .down span { background: #fde7ea !important; color: #b3261e !important; }
.mcard .kc-form { margin-top: 4px; }
.mcard .kc-foot:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .kc-r.top .kc-st b { animation: none; } }
.mcard .kc-sw { grid-template-columns: 1fr 1fr !important; }
.kc-r { grid-template-columns: auto minmax(0, 1fr); } .kc-w, .kc-st { min-width: 0; }
@media (max-width: 700px) {
  .kc-sc { padding: 5px 7px; }
  .kc-r { grid-template-columns: 1fr; grid-template-areas: "k" "st" "w"; row-gap: 1px; text-align: left; }
  .kc-k { font-size: 8.5px; } .kc-st { text-align: left; font-size: 13px; } .kc-w { text-align: left; font-size: 10.5px; }
}
.mcard .kc-sw span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; line-height: 1.15; }
.mcard .kc-sw { grid-template-columns: 1fr !important; gap: 2px !important; }
.mcard .kc-sw span { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; padding: 1px 7px !important; line-height: 1.35; }

/* Spielerkarte mit Reitern (Marcus, 24.11.2026) */
.mt-tabs { margin: 0 44px 14px 0; position: sticky; top: 0; z-index: 5; }
.mt-pane[hidden] { display: none !important; }
.mt-pane > h3:first-child { margin-top: 0 !important; }
.mt-pane .mgmt { margin-top: 0; }
@media (max-width: 700px) { .mt-tabs { margin-right: 0; } }

/* Positionswahl links, immer sichtbar (Marcus, 24.11.2026) */
.mgmt.pos-box { margin: 10px 0; }

/* Besonderheit groß und prominent oben in der Spielerkarte (Marcus, 24.11.2026) */
.modal .ab-big { position: relative; overflow: hidden; margin: 12px 0; padding: 14px 16px 12px; border-radius: 16px; border: 0;
  background: radial-gradient(circle at 85% 0%, rgba(240,207,106,.35), transparent 55%), linear-gradient(160deg, #33363c, #33363c); color: #f3ecd6;
  box-shadow: inset 0 0 0 2px #c9a227, 0 8px 22px rgba(60,45,10,.25); }
.modal .ab-big::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,240,180,.22), transparent); animation: abShine 4s ease-in-out infinite; pointer-events: none; }
@keyframes abShine { 0% { left: -40%; } 60%, 100% { left: 120%; } }
.modal .ab-big .ab-k { color: #f0cf6a; font-size: 11px; letter-spacing: .1em; }
.modal .ab-big .ab-n { color: #fff; font-size: 24px; font-weight: 900; margin: 2px 0; text-shadow: 0 0 14px rgba(240,207,106,.45); }
.modal .ab-big .ab-f { color: #cfc6ad; font-style: italic; }
.modal .ab-big .ab-t { color: #9ff0b8; font-weight: 800; font-size: 15px; margin: 6px 0 4px; }
.modal .ab-big .small.muted { color: #a99f86 !important; }
.modal .ab-big.team { box-shadow: inset 0 0 0 2px #ffd23f, 0 0 24px rgba(255,210,63,.35), 0 8px 22px rgba(60,45,10,.25); }
.modal .ab-big.locked { background: linear-gradient(160deg, #3f434a, #33363c); box-shadow: inset 0 0 0 2px #5a523f; }
.modal .ab-big.locked .ab-n { font-size: 18px; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .modal .ab-big::after { animation: none; display: none; } }

/* Tagesübersicht in Bereiche getrennt (Marcus, 25.11.2026) */
.ov-sec { margin-top: 14px; border: 1px solid var(--line); border-left: 5px solid #c9a227; border-radius: 14px; padding: 10px 12px; background: #fffdf6; }
.ov-sec.ov-tl { border-left-color: #2aa8c8; background: #f3fbfd; } .ov-sec.ov-idle { border-left-color: #9aa3ad; background: #f6f5f1; }
.ov-h { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 17px; }
.ov-c { font-size: 12px; font-weight: 800; color: #6d6555; background: rgba(0,0,0,.05); border-radius: 999px; padding: 1px 9px; }
.ov-idle-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-chip { display: inline-flex; flex-direction: column; padding: 4px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; font-size: 13px; line-height: 1.2; }
.ov-chip span { font-size: 11px; color: #8a8270; }

/* Zeitung schließt nur über das ✕ oben – gut sichtbar (Marcus, 25.11.2026) */
.modal.np-modal > .close { width: 44px; height: 44px; font-size: 20px; background: #33363c !important; color: #f0cf6a; border: 2px solid #f0cf6a; box-shadow: 0 4px 14px rgba(0,0,0,.35); }

/* Monster-Post in unserer Schrift und unserem Seitenkopf-Stil (Marcus, 25.11.2026: „Achte darauf, dass die Schrift aber in der Morgenzeitung schön ist, nicht irgendwie
   komisch außerhalb unserer Layouts und auch die Zeitung generell unserem Layout entspricht.“) – keine Zeitungsschrift (Georgia) mehr */
.np, .np * { font-family: inherit !important; }
.np-mast { text-align: left; padding: 18px 70px 14px 20px; background: radial-gradient(circle at 85% 0%, rgba(240,207,106,.28), transparent 55%), linear-gradient(160deg, #33363c, #33363c); border-bottom: 3px solid #c9a227; }
.np-mast::before { content: "Beastball · Tageszeitung"; display: block; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #f0cf6a; margin-bottom: 4px; }
.np-title { font-size: 28px !important; font-weight: 900; font-style: italic; color: #fff !important; letter-spacing: 0 !important; text-shadow: none !important; line-height: 1.15; }
.np-sub { justify-content: flex-start; gap: 6px; margin-top: 8px; text-transform: none; letter-spacing: 0; }
.np-sub span { background: rgba(240,207,106,.12); border: 1px solid rgba(240,207,106,.35); color: #f0cf6a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.np-sub span + span::before { content: none !important; }
.np-greet b { font-size: 20px !important; font-weight: 900; }
.np-lead-t { font-size: 17px !important; font-weight: 800; }
.np-ch b { font-weight: 900; letter-spacing: .02em; }
@media (max-width: 700px) { .np-mast { padding: 14px 60px 12px 16px; } .np-title { font-size: 23px !important; } }
.np-today .rar-0 { color: #d6dbe0 !important; } .np-today .rar-1 { color: #5ef59a !important; } .np-today .rar-2 { color: #8fc4ff !important; } .np-today .rar-3 { color: #dba8ff !important; } .np-today .rar-4 { color: #ffd23f !important; } .np-today .rar-5 { color: #8ff8ff !important; }

/* Monster-Post neu (Marcus, 25.11.2026): Logo im Kopf, Tipp des Tages, Heute im Fokus, Dein Team, Seit deinem letzten Besuch */
.np-mast { display: flex !important; align-items: center; gap: 14px; text-align: left; }
.np-mast::before { content: none !important; }
.np-logo { width: 66px; height: 66px; flex: 0 0 66px; filter: drop-shadow(0 4px 10px rgba(42, 45, 50, .5)); }
.np-mh { min-width: 0; }
.np-kick { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #f0cf6a; }
.np-title { font-size: 30px !important; font-weight: 900 !important; font-style: normal !important; text-transform: uppercase; letter-spacing: .04em !important; line-height: 1.05;
  background: linear-gradient(180deg, #fff8d8, #f0cf6a 55%, #c9a227); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.np-tip { display: flex; gap: 12px; align-items: center; margin: 12px 16px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #fff3c4, #fffaf0); border: 2px solid #e0b23a; box-shadow: 0 4px 14px rgba(201,162,39,.18); }
.np-tip img { width: 40px; height: 40px; flex: 0 0 40px; }
.np-tip-k { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8a6510; }
.np-tip-t { font-size: 15px; font-weight: 700; line-height: 1.4; color: #3f434a; margin-top: 2px; }
.np-box { margin: 12px 16px 0; border-radius: 16px; padding: 12px 14px; }
.np-focus { background: linear-gradient(160deg, #33363c, #33363c); color: #f3ecd6; box-shadow: inset 0 0 0 1px rgba(240,207,106,.25); }
.np-team { background: #fff; border: 1px solid var(--line); }
.np-bh { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #f0cf6a; margin-bottom: 8px; }
.np-team .np-bh { color: #8a6510; }
.np-f { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.08); }
.np-team .np-f { border-top-color: var(--line); }
.np-f:first-of-type { border-top: 0; }
.np-ft { flex: 0 0 auto; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 999px; background: rgba(240,207,106,.16); color: #f0cf6a; white-space: nowrap; }
.np-team .np-ft { background: #fff3c4; color: #6b4e00; } .np-team .np-f.bad .np-ft { background: #fde7ea; color: #b3261e; }
.np-fx { font-size: 14px; line-height: 1.4; min-width: 0; }
.np-ok { font-size: 14px; color: #1b7a3d; font-weight: 700; }
.np-auc { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(240,207,106,.25); }
.np-auc-h { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #a99f86; margin-bottom: 4px; }
.np-arow { display: flex; gap: 10px; align-items: center; padding: 3px 0; font-size: 14px; }
.np-arow b { color: #f0cf6a; width: 46px; flex: 0 0 46px; } .np-arow .np-an { font-weight: 800; }
.np-arow.mine { background: rgba(31,157,85,.16); border-radius: 8px; padding: 3px 6px; margin: 0 -6px; } .np-arow.watch { background: rgba(240,207,106,.10); border-radius: 8px; padding: 3px 6px; margin: 0 -6px; }
.np-focus .rar-0 { color: #d6dbe0 !important; } .np-focus .rar-1 { color: #5ef59a !important; } .np-focus .rar-2 { color: #8fc4ff !important; } .np-focus .rar-3 { color: #dba8ff !important; } .np-focus .rar-4 { color: #ffd23f !important; } .np-focus .rar-5 { color: #8ff8ff !important; }
.np-link { color: #f0cf6a; font-weight: 800; font-size: 13px; } .np-team .np-link { color: #8a6510; }
.np-since { margin: 16px 16px 0; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #8a8270; }
@media (max-width: 700px) { .np-logo { width: 50px; height: 50px; flex-basis: 50px; } .np-title { font-size: 22px !important; } .np-f { flex-direction: column; gap: 3px; } .np-tip-t { font-size: 14px; } .np-box, .np-tip { margin-left: 10px; margin-right: 10px; } }
.np-mast { width: 100%; box-sizing: border-box; }
.np-sub span, .np-kick, .np-title { white-space: nowrap; }
@media (max-width: 700px) { .np-title { font-size: 21px !important; letter-spacing: .02em !important; } .np-kick { font-size: 9.5px; letter-spacing: .1em; } .np-mast { gap: 10px; padding-right: 58px !important; } .np-sub span { font-size: 11px; padding: 1px 8px; } }

/* Monster-Post hell und motivierend statt schwarz (Marcus, 25.11.2026: „Bitte nicht die Hauptfarbe von der Daily Post schwarz. Das soll schön sein, motivieren,
   morgens das zu öffnen und nicht so trist sein.“) – Sonnenaufgang im Kopf, helle Karten mit Goldakzenten */
.modal.np-modal { background: radial-gradient(circle at 50% 0%, #fff7dc 0%, #fffdf7 45%, #fdf8ec 100%) !important; }
.np-mast { position: relative; overflow: hidden; border-bottom: 0 !important; color: #3a2a06;
  background: radial-gradient(circle at 18% 120%, rgba(255,255,255,.85) 0 18%, transparent 19%),
    repeating-conic-gradient(from 0deg at 18% 120%, rgba(255,255,255,.22) 0 6deg, transparent 6deg 16deg),
    linear-gradient(120deg, #ffe58a 0%, #ffc35c 38%, #ff9f6b 70%, #ff7fa3 100%) !important; box-shadow: inset 0 -4px 0 rgba(201,162,39,.55); }
.np-logo { filter: drop-shadow(0 4px 10px rgba(120,60,0,.35)); }
.np-kick { color: #7a3f00 !important; }
.np-title { background: linear-gradient(180deg, #5a2d00, #8a4a00) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; text-shadow: none !important; }
.np-sub span { background: rgba(255,255,255,.65) !important; border: 1px solid rgba(138,74,0,.25) !important; color: #6b3a00 !important; }
.modal.np-modal > .close { background: #fff !important; color: #8a4a00 !important; border: 2px solid #e0a23a !important; }
.np-greet b { color: #3a2a06; }
.np-focus { background: #fff !important; color: #3f434a !important; box-shadow: 0 4px 16px rgba(201,162,39,.16) !important; border: 1px solid #f0dca0; border-top: 5px solid #ffb347; }
.np-focus .np-bh { color: #c26a00 !important; }
.np-focus .np-f { border-top-color: #f3ead2 !important; }
.np-focus .np-ft { background: #fff1cc !important; color: #8a4a00 !important; }
.np-focus .np-link { color: #c26a00 !important; }
.np-auc { border-top-color: #f3ead2 !important; }
.np-auc-h { color: #9a8b6a !important; }
.np-arow b { color: #c26a00 !important; }
.np-arow.mine { background: #e3f5e9 !important; } .np-arow.watch { background: #fff6d6 !important; }
.np-focus .rar-0 { color: #59626b !important; } .np-focus .rar-1 { color: #17924d !important; } .np-focus .rar-2 { color: #1f6fd1 !important; } .np-focus .rar-3 { color: #8a2fd6 !important; } .np-focus .rar-4 { color: #a87600 !important; } .np-focus .rar-5 { color: #0e8a96 !important; }
.np-focus .np-tag { background: #f3ead2; color: #6b5a2e; } .np-focus .np-tag.on { background: #1f9d55; color: #fff; }
.np-team { border-top: 5px solid #7fd1a0 !important; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.np-tip { background: linear-gradient(135deg, #fff6d6, #fffdf5) !important; }

/* Zeitung: Rubrik „Aus dem Stadion“ – kleine Artikel (Marcus, 25.11.2026) */
.np-stad { background: #fff; border: 1px solid #f0dca0; border-top: 5px solid #8fd0ff; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.np-stad .np-bh { color: #1f6fd1; }
.np-art { padding: 8px 0; border-top: 1px solid #eef2f6; } .np-art:first-of-type { border-top: 0; }
.np-ah { font-size: 16px; font-weight: 900; color: #33363c; line-height: 1.25; }
.np-aj { font-size: 13.5px; font-style: italic; color: #5d5543; margin: 3px 0 4px; line-height: 1.4; }
.np-af { font-size: 13px; color: #3f434a; background: #f2f8ff; border-radius: 8px; padding: 4px 8px; display: inline-block; }
.np-af b { color: #1f6fd1; }

/* Zeitung: Heute im Training (Marcus, 25.11.2026) */
.np-train { background: #fff; border: 1px solid #d6efdf; border-top: 5px solid #7fd1a0; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.np-train .np-bh { color: #1b7a3d; }
.np-tsum { font-size: 14px; font-weight: 700; color: #3f434a; margin-bottom: 6px; }
.np-idle { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.np-idle span { display: inline-flex; flex-direction: column; background: #f6f5f1; border: 1px solid var(--line); border-radius: 9px; padding: 3px 8px; font-size: 12.5px; line-height: 1.2; }
.np-idle i { font-style: normal; font-size: 10.5px; color: #8a8270; }
.np-train .np-link { color: #1b7a3d !important; }

.np-ig { margin: 4px 0 6px; font-size: 13px; line-height: 1.45; }
.np-iw { display: inline-block; font-size: 11px; font-weight: 900; color: #6d6555; background: #f3efe3; border-radius: 999px; padding: 1px 8px; margin-right: 6px; }
.np-in { color: #3f434a; }

/* Formtag in der Zeitung: Pfeil-Farbe (Marcus, 25.11.2026) */
.np-f.tr-up .np-fx { color: #1b7a3d; font-weight: 800; } .np-f.tr-down .np-fx { color: #b3261e; font-weight: 800; }

.np-fx .np-auc { margin-top: 8px; padding-top: 6px; border-top: 1px dashed #f0dca0; }
.np-bids { font-size: 13.5px; background: #e3f5e9; color: #1b5e33; border-radius: 10px; padding: 6px 10px; margin-bottom: 6px; line-height: 1.45; }

.np-f.warn .np-ft { background: #fde7ea !important; color: #b3261e !important; } .np-f.warn .np-fx { color: #8a1c16; }

/* Stimmung nach der Form-Woche (Marcus, 25.11.2026) */
.mood-chip { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; vertical-align: middle; }
.mood-chip.big { font-size: 12.5px; padding: 2px 10px; }
.mood-happy { background: #e3f5e9; color: #1b7a3d; } .mood-hungrig { background: #fff1d6; color: #a85a00; }
.mood-muede { background: #e8eefc; color: #2c4f9e; } .mood-erschoepft { background: #fde7ea; color: #b3261e; }
.mood-why { color: #6d6555; margin: 2px 0 4px; line-height: 1.35; }
.mcard .meta { flex-wrap: wrap; gap: 2px; align-items: center; }

/* Zeitung: Training als Kacheln, Stimmung (Marcus, 25.11.2026) */
.np-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.np-tile { border-radius: 14px; padding: 10px 8px; text-align: center; background: #f6f5f1; border: 1px solid var(--line); }
.np-tile b { display: block; font-size: 26px; font-weight: 900; line-height: 1; }
.np-tile span { display: block; font-size: 11.5px; font-weight: 700; color: #6d6555; margin-top: 4px; line-height: 1.2; }
.np-tile.t-ok { background: linear-gradient(160deg, #e9f8ee, #fff); border-color: #bfe6cc; } .np-tile.t-ok b { color: #1b7a3d; }
.np-tile.t-camp { background: linear-gradient(160deg, #e6f7fb, #fff); border-color: #b5e2ee; } .np-tile.t-camp b { color: #1a8aa8; }
.np-tile.t-bad { background: linear-gradient(160deg, #fff1e3, #fff); border-color: #f3d2ae; } .np-tile.t-bad b { color: #c26a00; }
.np-tile.t-off { grid-column: 1 / -1; } .np-tile.t-off b { color: #8a8270; }
.np-grp { border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; background: #f6f5f1; border-left: 4px solid #9aa3ad; }
.np-grp.g-red { background: #fdf0f1; border-left-color: #d64545; } .np-grp.g-camp { background: #eef9fc; border-left-color: #2aa8c8; }
.np-gh { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #5d5543; margin-bottom: 5px; }
.np-gh em { font-style: normal; background: rgba(0,0,0,.08); border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.np-names { display: flex; flex-wrap: wrap; gap: 4px; }
.np-names span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; font-size: 12.5px; font-weight: 700; }
.np-sub2 { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8a6510; margin: 12px 0 6px; }
.np-moods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.np-mood { border-radius: 12px; padding: 8px 10px; }
.np-mh2 { display: flex; justify-content: space-between; align-items: center; } .np-mh2 b { font-size: 14px; } .np-mh2 em { font-style: normal; font-weight: 900; font-size: 18px; }
.np-mx { font-size: 11.5px; opacity: .85; margin: 1px 0 5px; }
@media (max-width: 420px) { .np-tile b { font-size: 22px; } .np-tile span { font-size: 10.5px; } }

/* Monster-Post in Weiß/Gold/Grau statt grell (Marcus, 25.11.2026: „ein bisschen zu grell … Weiß und Gold … graue Elemente“) – keine Sprung-Links mehr */
.modal.np-modal { background: #fbf9f3 !important; }
.np-mast { background: linear-gradient(180deg, #ffffff 0%, #fbf6e6 100%) !important; box-shadow: inset 0 -3px 0 #c9a227 !important; border-bottom: 0 !important; }
.np-kick { color: #8a6510 !important; }
.np-title { background: linear-gradient(180deg, #d9b23c, #a87600) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
.np-sub span { background: #f3efe3 !important; border: 1px solid #e3dcc6 !important; color: #5d5543 !important; }
.np-tip { background: #fff !important; border: 1px solid #e8dcb4 !important; border-left: 5px solid #c9a227 !important; box-shadow: 0 2px 10px rgba(60,45,10,.05) !important; }
.np-tip-k { color: #8a6510 !important; }
.np-focus, .np-train, .np-stad { background: #fff !important; border: 1px solid #ebe5d4 !important; border-top: 3px solid #c9a227 !important; box-shadow: 0 2px 10px rgba(60,45,10,.05) !important; }
.np-focus .np-bh, .np-train .np-bh, .np-stad .np-bh { color: #8a6510 !important; }
.np-focus .np-ft, .np-train .np-ft { background: #f3efe3 !important; color: #5d5543 !important; }
.np-tile, .np-tile.t-ok, .np-tile.t-camp, .np-tile.t-bad { background: #f7f5ef !important; border-color: #e6e0cf !important; }
.np-tile b { color: #33363c !important; } .np-tile.t-bad b { color: #a87600 !important; }
.np-grp, .np-grp.g-red, .np-grp.g-camp { background: #f7f5ef !important; border-left-color: #c9c2ae !important; } .np-grp.g-red { border-left-color: #c9a227 !important; }
.np-af { background: #f7f5ef !important; } .np-af b, .np-stad .np-bh { color: #8a6510 !important; }
.np-arow b { color: #a87600 !important; } .np-arow.watch { background: #faf6e8 !important; }
.np-mood { background: #f7f5ef !important; color: #3f434a !important; border: 1px solid #e6e0cf; }
.np-sub2 { color: #8a6510 !important; }
.modal.np-modal > .close { background: #fff !important; color: #33363c !important; border: 2px solid #c9a227 !important; }

/* Stimmung stilvoll: kleines gezeichnetes Symbol im Farbkreis statt Smiley (Marcus, 25.11.2026) */
.mood-chip { display: inline-flex !important; align-items: center; gap: 4px; }
.mood-chip i { display: inline-flex; width: 15px; height: 15px; border-radius: 50%; align-items: center; justify-content: center; background: currentColor; flex: 0 0 15px; }
.mood-chip i svg { width: 10px; height: 10px; color: #fff; }
.mood-happy { background: #eef7f0 !important; color: #2b7a49 !important; } .mood-hungrig { background: #fbf3e2 !important; color: #a8730c !important; }
.mood-muede { background: #eef1f6 !important; color: #55657f !important; } .mood-erschoepft { background: #f8ecec !important; color: #a33b3b !important; }
/* auf der Kader-Kachel: im Bild unten links, wie das Verletzungs-Abzeichen */
.mcard .art { position: relative; }
.mcard .art > .mood-chip { position: absolute; left: 4px; bottom: 4px; margin: 0; font-size: 10.5px; padding: 2px 7px 2px 3px; box-shadow: 0 1px 4px rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.06); z-index: 2; }
/* Taktik-Kacheln: nur der Punkt */
.face { position: relative; }
.mood-chip.mood-dot { position: absolute; right: -2px; bottom: -2px; padding: 0 !important; margin: 0 !important; font-size: 0 !important; background: transparent !important; }
.mood-chip.mood-dot i { width: 14px; height: 14px; box-shadow: 0 0 0 2px #fff; }
.np-mood { border-left: 4px solid currentColor; }
.np-mood.mood-happy { color: #2b7a49 !important; } .np-mood.mood-hungrig { color: #a8730c !important; } .np-mood.mood-muede { color: #55657f !important; } .np-mood.mood-erschoepft { color: #a33b3b !important; }
.np-mood .np-names span, .np-mood .np-mx { color: #3f434a; }
.mood-i { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: currentColor; align-items: center; justify-content: center; margin-right: 6px; vertical-align: -3px; }
.mood-i svg { width: 10px; height: 10px; color: #fff; }

/* Formtag: nur die Zahlen farbig (Marcus, 25.11.2026) */
.np-f.tr-up .np-fx, .np-f.tr-down .np-fx { color: inherit !important; font-weight: 400 !important; }
.np-f.tr-up .np-num { color: #1b7a3d; } .np-f.tr-down .np-num { color: #b3261e; } .np-num { font-weight: 900; white-space: nowrap; }

.np-f .np-num { font-weight: 900; white-space: nowrap; }

/* Formtag: gleich = gelb (wie der Pfeil im Profil, Marcus, 25.11.2026) */
.np-f.tr-flat .np-num { color: #b07f00; } .np-f.tr-up .np-num { color: #2e8b47; } .np-f.tr-down .np-num { color: #c2334a; }
.np-f.tr-flat .np-fx { color: inherit !important; font-weight: 400 !important; }

.np-f .np-ft:is(:empty) { display: none; }

/* Trainingseffekt an jedem Monster der Station (Marcus, 25.11.2026) */
.tg-eff { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; font-size: 11px; font-weight: 900; border-radius: 999px; padding: 2px 7px; margin-left: 4px; white-space: nowrap; }
.tg-eff.hi { background: #e3f5e9; color: #1b7a3d; } .tg-eff.mid { background: #fdf3d6; color: #8a6510; } .tg-eff.lo { background: #f3efe3; color: #6d6555; }
.tg-eff.base { background: #f1f2f4; color: #6a7380; font-weight: 800; }
.tg-eff em { font-style: normal; font-size: 10px; background: #c9a227; color: #fff; border-radius: 999px; padding: 0 5px; } .tg-eff em.h { background: #d98a2b; }

.tg-effl { display: block; margin-top: 2px; line-height: 1; } .tg-effl .tg-eff { margin-left: 0; font-size: 10.5px; padding: 1px 6px; }
/* Stationen: Name nicht auf Breite 0 schrumpfen lassen (Zeilen wurden sehr hoch, 25.11.2026) */
.tg-card.station .tg-mon .tg-name { flex: 1 1 0; min-width: 48px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-card.station .tg-mon .tg-name .tg-meta { display: none; }
.tg-card.station .tg-mon .tg-face { flex: 0 0 auto; } .tg-card.station .tg-mon .tg-val { flex: 0 0 auto; }
.tg-card.station .tg-mon { flex-wrap: wrap; row-gap: 3px; overflow: visible; }
.tg-card.station .tg-mon .tg-name { order: 10; flex: 1 1 100%; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.tg-card.station .tg-mon .tg-name .tg-effl { display: inline-block; margin: 0 0 0 auto; flex: 0 0 auto; }
.tg-card.station .tg-mon .tg-face { width: 32px !important; height: 32px !important; flex: 0 0 32px !important; }
.tg-card.station .tg-mon .tg-x { padding: 0 3px !important; min-width: 0 !important; width: auto !important; font-size: 13px; margin: 0 !important; }
.tg-card.station .tg-mon .tg-nr { min-width: 0 !important; width: auto !important; }
.tg-card.station .tg-mon { gap: 4px !important; }
.tg-card.station .tg-mon .tg-face { width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
.tg-card.station .tg-mon .tg-val { padding: 1px 5px !important; font-size: 12px !important; min-width: 0 !important; }
.tg-card.station .tg-mon .tg-nr { font-size: 11px !important; }
.tg-card.station .tg-mon .tg-x { font-size: 12px !important; padding: 0 2px !important; }
.tg-card.station .tg-mon { gap: 3px !important; padding: 4px 5px !important; }
.tg-card.station .tg-mon .tg-x[data-rm] { order: 11; }
.tg-card.station .tg-mon .tg-name { flex: 1 1 0 !important; min-width: 0; }
.tg-card.station .tg-mon .tg-name { flex-basis: calc(100% - 24px) !important; }

.tg-card.station .tg-mon .tg-name { overflow: visible !important; }
.tg-card.station .tg-mon .tg-nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-card.station .tg-mon .tg-effl { flex: 0 0 auto !important; }

/* eigenes Ziehen (Maus/Trackpad) */
.tg-ghost { position: fixed; z-index: 9999; pointer-events: none; opacity: .9; transform: rotate(-2deg); box-shadow: 0 10px 24px rgba(0,0,0,.25); border-radius: 8px; background: #fff3e3; }

.tg-eff.base { background: #eef0f3 !important; color: #4f5866 !important; }
.tg-eff em { background: transparent !important; color: inherit !important; padding: 0 !important; font-size: 10px; }
.tg-eff em.h { background: #d98a2b !important; color: #fff !important; padding: 0 4px !important; }

/* Trainingsplatz in der Spielerkarte (Marcus, 25.11.2026) */
.mc-train { margin: 10px 0 2px; } .mc-train label { display: flex; flex-direction: column; gap: 4px; } .mc-train b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; }
.mc-train .inp { width: 100%; }

/* Handy: Gesichter und Ränder bleiben im Rahmen (Marcus, 25.11.2026: „Die Icons … überlappen aus dem Frame manchmal“) */
.tg-card { overflow: hidden; }
.tg-crow { overflow: hidden; min-width: 0; }
.tg-crow.free { border-left: 5px solid #e6cf86 !important; }
.tg-crow .tg-cface { flex: 0 0 34px; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.tg-crow .tg-cface svg { width: 100%; height: 100%; }
.tg-mon .tg-face { overflow: visible; }
.tg-mon .tg-face .tg-pet { overflow: visible; }

/* Hinweis neue Version (Marcus, 25.11.2026) */
#new-version { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; align-items: center; gap: 12px;
  background: #fffdf6; color: #33363c; border: 2px solid var(--gold); border-radius: 999px; padding: 8px 10px 8px 18px; box-shadow: 0 8px 24px rgba(0,0,0,.18); font-weight: 700; font-size: 14px; max-width: calc(100vw - 20px); }
#new-version span { flex: 1; } #new-version .btn { white-space: nowrap; }
@media (max-width: 700px) { #new-version { left: 10px; right: 10px; transform: none; max-width: none; font-size: 13px; padding: 6px 8px 6px 14px; gap: 8px; border-radius: 16px; } }

/* Training in der Spielerkarte hervorgehoben (Marcus, 25.11.2026: „bitte ein bisschen mehr highlighten, so dass man es auch einfacher sieht“) */
.mc-trainbox { margin: 12px 0 6px; padding: 10px 12px 12px; border: 2px solid var(--gold); border-radius: 14px; background: linear-gradient(180deg, #fff8e4, #fffdf6); box-shadow: 0 3px 10px rgba(201,162,39,.18); }
.mc-trainbox .mc-train { margin: 0 0 10px; }
.mc-trainbox .mc-train b { font-size: 13px; color: #7a5a12; }
.mc-trainbox #mc-station { border: 2px solid var(--gold); background: #fff; font-weight: 700; cursor: pointer; }
.mc-trainbox #mc-station:focus { outline: none; box-shadow: 0 0 0 3px rgba(201,162,39,.3); }
.mc-trainbox #camp-card { width: 100%; margin: 0; }

/* Stimmung unter der Gesamtzahl der Kader-Karte (Marcus, 25.11.2026) */
.mcard .kc-mood { position: absolute; z-index: 3; top: 64px; right: 20px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff !important; border: 2px solid currentColor; box-shadow: 0 2px 6px rgba(0,0,0,.18); cursor: help; }
.mcard .kc-mood svg { width: 14px; height: 14px; }
.mcard .kc-mood ~ .kc-camp { top: 96px; }
.mood-open { background: #f1f1f1 !important; color: #7b7f86 !important; }
.mcard .kc-mood.mood-open { opacity: .85; }
@media (max-width: 700px) { .mcard .kc-mood { top: 55px; right: 17px; width: 24px; height: 24px; } .mcard .kc-mood svg { width: 13px; height: 13px; } .mcard .kc-mood ~ .kc-camp { top: 84px; } }

/* Trainingswerte in der Farbe ihres Qualitäts-Bereichs, mit Abstand zum Bild (Marcus, 25.11.2026) */
.tg-mon .tg-face + .tg-val, .tg-mon .tg-val { margin-left: 6px; }
.tg-card.station .tg-mon .tg-val { margin-left: 6px !important; }
.tg-mon .tg-val.vb0 { background: #8c949e; color: #fff; } .tg-mon .tg-val.vb1 { background: #2a9d5c; color: #fff; } .tg-mon .tg-val.vb2 { background: #2f7fd6; color: #fff; }
.tg-mon .tg-val.vb3 { background: #9549d8; color: #fff; } .tg-mon .tg-val.vb4 { background: #f0b922; color: #3a2600; } .tg-mon .tg-val.vb5 { background: linear-gradient(135deg, #b9fbff, #5fd8e6); color: #06323a; }
.tg-mon.maxed .tg-val { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #c9a227; }

/* Gehalt oben in der Spielerkarte (Marcus, 25.11.2026) */
.mc-salary { display: inline-flex; align-items: baseline; gap: 5px; margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: #f6f1e2; border: 1px solid #e3d6ad; font-size: 13px; color: #5b4a1c; }
.mc-salary b { color: #33363c; font-size: 14px; }

/* Trainingslager auf der Kader-Karte nur als kleines Zelt-Symbol unter der Stimmung (Marcus, 25.11.2026: „das Trainingslager-Badge … ist zu groß … einfach nur ein kleines Symbol … Das verdeckt alles.“) */
.mcard .kc-camp, .mcard .kc-mood ~ .kc-camp { top: 96px; right: 20px; width: 26px; height: 26px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #1f7a6d; border: 2px solid #1f7a6d; font-size: 0; box-shadow: 0 2px 6px rgba(0,0,0,.18); cursor: help; }
.mcard .kc-camp svg { width: 15px; height: 15px; }
@media (max-width: 700px) { .mcard .kc-camp, .mcard .kc-mood ~ .kc-camp { top: 84px; right: 17px; width: 24px; height: 24px; padding: 0; } .mcard .kc-camp svg { width: 14px; height: 14px; } }

/* Freundschaftsspiele: zwei Reihen = laufende und nächste Form-Woche (Marcus, 25.11.2026) */
.fw-row-h { margin: 14px 0 6px; font-size: 14px; color: #33363c; } .fw-row-h b { color: #8a6510; margin-right: 4px; }
.fr-wk .fw.vorbei { --fwc: #e4dfd2; --fwt: #b3ab97; background: #f6f4ee !important; opacity: .7; }

/* Werbepartner und TV-Gelder im Sponsor-Reiter (Marcus, 25.11.2026) */
.pt-box { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee3c4; }
.pt-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #eee3c4; border-radius: 12px; background: #fff; margin-top: 6px; }
.pt-row.on { background: #fbf6e6; border-color: #e3cf8f; }
.pt-logo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.pt-n { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pt-n .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-row > b { flex: 1; }
.pt-w { font-weight: 800; color: #1d7a36; white-space: nowrap; }
.pt-pick { margin-top: 10px; } .pt-pick summary { cursor: pointer; font-weight: 800; color: #8a6510; }
.pt-list { max-height: 420px; overflow: auto; padding-right: 4px; }
.pt-tv { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f2ec; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
@media (max-width: 700px) { .pt-row { flex-wrap: wrap; } .pt-n .small { white-space: normal; } }

/* Trainingslager: eigene Karte unter „Ausruhen“ und ausgegraute Gruppe in der Taktik (Marcus, 25.11.2026) */
.tg-campc { border-color: #1f7a6d !important; } .tg-campc .tg-title b { color: #1f7a6d; }
.tg-camp-mon { opacity: .6; filter: grayscale(.6); cursor: default; }
.tp-campg { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #cfc6ad; }
.tp-camph { font-weight: 900; color: #1f7a6d; margin-bottom: 6px; } .tp-camph span { background: #e6f2ef; border-radius: 999px; padding: 0 7px; font-size: 12px; } .tp-camph small { color: #8a8270; font-weight: 600; margin-left: 4px; }
.sq-tile.sq-camp { opacity: .5; filter: grayscale(.8); cursor: not-allowed; pointer-events: none; }
/* rechte Spalte am Trainingsplatz bleibt stehen – ist sie höher als das Fenster, in sich scrollbar, damit auch „Trainingslager“ unten erreichbar ist (25.11.2026) */
@media (min-width: 901px) { .tg-side { max-height: calc(100vh - 90px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; } }

/* ===== Weniger Grün (Marcus, 25.11.2026: „verwendest auf dieser Webseite überall ziemlich viel Grün. Grün ist überhaupt nicht in unserem Farbschema so doll mit drin.
   Das sollte eher eine Ausnahme sein und keine Hauptfarbe werden.“) – Grün bleibt nur mit Bedeutung: Qualität Grün, Stärken/Plus-Werte (Buffs), Rasen/Spielfeld,
   Positionsfarbe Mittelfeld, Manager-Rangfarbe. Alles andere (ausgewählt, bestätigt, Erfolg, Geld, Sieg) in Gold/Schwarz/Grau. ===== */
.badge-human, .tbl.ltable .lt-mark.hu { background: #f3ead2 !important; color: #6b4e00 !important; }
.lt-cell.lt2 .lt-who.hu { color: #8a6510 !important; }
.tbl tr.promo td:first-child { border-left-color: #c9a227 !important; } .zk.promo { background: #c9a227 !important; }
/* Form-Kästchen: Sieg grün, Unentschieden gelb, Niederlage rot (Marcus, 28.11.2026: „Wenn ich auf Liga gehe und Sieg sehe, muss das nicht Gold sein, sondern grün. Und gelb ist Unentschieden und rot ist Niederlage.“) */
.form .S { background: #2e9e4f !important; color: #fff !important; } .form .U { background: #f2c230 !important; color: #33363c !important; } .form .N { background: #d63a3a !important; color: #fff !important; }
.kst-last .fdot.w, .ibm.w .ibm-sc { background: #c9a227 !important; color: #33363c !important; }
.req .ok, .chron.aufstieg, .pin-timer, .ab-t, .gd-li.final, .gd-pk.ok, .mk-my, .tn-ok, .pk-free, .vn-on, .np-ok, .sr-word.t5, .sb2-talent.t5 .sb2-w { color: #8a6510 !important; }
.tn-ok, .sx-own { background: #fbf3dc !important; color: #6b4e00 !important; }
.pill.okz { background: #f6ecd0 !important; color: #6b4e00 !important; }
.sponsor.active { border-color: #c9a227 !important; background: #fbf6e6 !important; }
.mc-lu .in, .tl-in { color: #8a6510 !important; }
.mc-rt.gd { background: #e9dcb0 !important; color: #33363c !important; }
.tok .zn .fit.ok { background: #33363c !important; color: #f0cf6a !important; }
.flage { border-left-color: #c9a227 !important; }
.mk-reveal.mine .mk-rv-k { color: #8a6510 !important; }
.mk-card.mk-k.has-bid > .mcard { box-shadow: 0 0 0 3px #c9a227, 0 6px 18px rgba(0,0,0,.08) !important; }
.fr-pick.on { border-color: #c9a227 !important; background: #fbf6e6 !important; box-shadow: 0 0 0 2px rgba(201,162,39,.25) !important; } .fr-pick.on .fr-go { background: #33363c !important; color: #f0cf6a !important; }
.adm-btn.ok { background: linear-gradient(135deg, #f3d77a, #c9971f) !important; color: #33363c !important; box-shadow: 0 4px 0 #7a5a12 !important; }
.lc-opt.on { border-color: #c9a227 !important; background: #fbf6e6 !important; }
.frc.frei { background: #faf7ee !important; border-color: #e3d6ad !important; color: #6b5a2e !important; }
.psi-ok, .tg-cst.on, .np-tag.on, .np-focus .np-tag.on { background: #33363c !important; color: #f0cf6a !important; }
.tg-crow.placed { border-left-color: #c9a227 !important; background: #fbf6e6 !important; }
.tg-eff.hi { background: #33363c !important; color: #f0cf6a !important; }
.fr-wk .fw.belegt { --fwc: #33363c; --fwt: #33363c; }
.pt-w { color: #8a6510 !important; }
.inc, .ftx-t td.inc, .ftx .inc { color: #8a6510 !important; }
.np-train { border-color: #eee3c4 !important; border-top-color: #c9a227 !important; } .np-train .np-bh, .np-train .np-link { color: #8a6510 !important; }
.np-tile.t-ok { background: linear-gradient(160deg, #fbf3dc, #fff) !important; border-color: #e3cf8f !important; } .np-tile.t-ok b { color: #8a6510 !important; }
/* Stimmung „glücklich“ gold statt grün, „will spielen“ orange */
.mood-happy { background: #fbf3dc !important; color: #8a6510 !important; } .mood-hungrig { background: #fbeee4 !important; color: #b5591a !important; }
/* Stations-Trainer: „Trainingseffekt x %“ in eigener Zeile unter der Trainer-Auswahl, damit der Trainername nicht abgeschnitten wird (Marcus, 25.11.2026) */
.tg-coach { flex-wrap: wrap; }
.tg-coach select { flex: 1 1 0; min-width: 0; }
.tg-coach .tg-skill { flex: 1 0 100%; order: 5; text-align: center; margin-top: 2px; }
.tg-coach select { font-size: 12.5px; letter-spacing: -.1px; }

/* Trainername als Text (darf umbrechen), Auswahlfeld unsichtbar darüber (Marcus, 25.11.2026: Name wurde abgeschnitten) */
.tg-csel { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.tg-cname { flex: 1; min-width: 0; font-weight: 800; color: #2a1838; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; }
.tg-carr { flex: 0 0 auto; font-size: 12px; color: #2a1838; }
.tg-csel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.tg-coach .tg-csel { display: flex !important; flex-wrap: nowrap !important; flex-direction: row !important; } .tg-coach .tg-cname { width: auto !important; }

/* Werbeflächen (Marcus, 25.11.2026) */
.ad-types { display: grid; gap: 10px; margin-top: 8px; }
.ad-type { border: 1px solid #eee3c4; border-radius: 14px; padding: 10px 12px; background: #fff; }
.ad-type.locked { background: #f7f5ef; opacity: .75; }
.ad-th { display: flex; align-items: center; gap: 10px; } .ad-ic { font-size: 22px; flex: 0 0 auto; }
.ad-tn { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ad-pay { font-weight: 800; color: #8a6510; white-space: nowrap; }
.ad-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ad-slot { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font-size: 13px; }
.ad-slot.on { background: #fbf6e6; border: 1px solid #e3cf8f; } .ad-slot.on .pt-logo { flex-basis: 26px; width: 26px; height: 26px; font-size: 14px; }
.ad-slot.free { border: 1.5px dashed #c9a227; background: #fffdf6; color: #8a6510; font-weight: 800; cursor: pointer; }
.ad-slot.lock { color: #8a8270; background: #f1eee6; }
.ad-firms { display: grid; gap: 6px; max-height: 60vh; overflow: auto; }
.ad-firm { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; border: 1px solid #eee3c4; border-radius: 12px; background: #fff; cursor: pointer; }
.ad-firm:hover { background: #fbf6e6; } .ad-fn { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 700px) { .ad-th { flex-wrap: wrap; } .ad-pay { width: 100%; } }
.tk-ad { color: #8a6510; font-weight: 700; font-size: .92em; }

/* gestaltete Firmenlogos bei den Werbepartnern (Marcus, 25.11.2026) */
.ad-logo { flex: 0 0 auto; display: inline-block; width: 78px; height: 32px; } .ad-logo svg { width: 100%; height: 100%; display: block; }
.ad-firm .ad-logo { width: 110px; height: 45px; }
.ad-slot.on { padding: 4px 8px 4px 4px; }

/* Verhandeln mit Sponsor/Werbepartnern (Marcus, 25.11.2026) */
.ng-logo { width: 220px; height: 90px; margin: 4px auto 8px; } .ng-logo svg { width: 100%; height: 100%; }
.ng-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; } .ng-row > span { flex: 0 0 190px; font-weight: 700; } .ng-row input[type=range] { flex: 1; } .ng-row b { min-width: 120px; text-align: right; }
.ng-msg { margin-top: 8px; font-weight: 800; color: #8a6510; min-height: 1.2em; }
/* Verhandlung mit Person und Sprechblase (Marcus, 25.11.2026) */
.ng-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; }
.ng-rep { flex: 0 0 160px; width: 160px; } .ng-badge { width: 120px; height: 49px; margin: -6px auto 0; } .ng-badge svg { width: 100%; height: 100%; } .ng-rep svg { width: 100%; height: auto; display: block; }
.ng-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ng-who b { display: block; font-size: 1.05em; }
.ng-bubble { position: relative; background: #fff; color: #2a2238; border: 2.5px solid #2a2238; border-radius: 16px; padding: 10px 14px; font-weight: 700; line-height: 1.35; box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.ng-bubble::before { content: ''; position: absolute; left: -14px; top: 22px; border: 8px solid transparent; border-right: 12px solid #2a2238; border-left: 0; }
.ng-bubble::after { content: ''; position: absolute; left: -9px; top: 24px; border: 6px solid transparent; border-right: 9px solid #fff; border-left: 0; }
.ng-bubble.no { background: #fff4e0; } .ng-bubble.no::after { border-right-color: #fff4e0; }
.ng-bubble.offer { background: #fff7c8; } .ng-bubble.offer::after { border-right-color: #fff7c8; }
.ng-bubble.bye { background: #f1e6ea; } .ng-bubble.bye::after { border-right-color: #f1e6ea; }
.ng-bubble.pop { animation: ngpop .28s ease-out; }
.ng-mood { display: inline-block; margin-top: 3px; font-size: .78em; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: #eee9dc; color: #5a5040; }
.ng-mood.m-gut { background: #dff3e3; color: #1f6b33; } .ng-mood.m-schlecht { background: #f8dfdc; color: #8a2118; }
.ng-rep svg { transition: transform .3s ease; transform-origin: 50% 90%; }
.ng-rep.m-gut svg { animation: ngbob 1.4s ease-in-out infinite; } .ng-rep.m-schlecht svg { transform: rotate(-6deg) translateX(-4px) scale(.97); }
/* Zusage: Tanz, Konfetti, Dank (Marcus, 25.11.2026) */
.ng-rep.m-party svg { animation: ngdance .7s ease-in-out infinite; }
@keyframes ngdance { 0%, 100% { transform: translateY(0) rotate(-8deg); } 25% { transform: translateY(-12px) rotate(0) scale(1.04); } 50% { transform: translateY(0) rotate(8deg); } 75% { transform: translateY(-12px) rotate(0) scale(1.04); } }
.ng-bubble.yay { background: #e3f7e6; border-color: #1f6b33; } .ng-bubble.yay::before { border-right-color: #1f6b33; } .ng-bubble.yay::after { border-right-color: #e3f7e6; }
.ng-deal { background: #fff7d6; border: 1px solid #e8c76a; border-radius: 12px; padding: 10px 14px; font-weight: 800; }
.ng-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.ng-confetti i { position: absolute; top: -14px; width: 9px; height: 14px; opacity: 0; animation-name: ngfall; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes ngfall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .ng-rep.m-party svg, .ng-rep.m-gut svg { animation: none; } .ng-confetti { display: none; } }
@keyframes ngbob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(2deg); } }
@keyframes ngpop { 0% { transform: scale(.92); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.ng-fin { margin-top: 4px; }
.ad-fc { display: flex; flex-direction: column; }
@media (max-width: 700px) { .ng-row { flex-wrap: wrap; } .ng-row > span { flex-basis: 100%; } .ng-rep { flex-basis: 104px; width: 104px; } .ng-badge { width: 96px; height: 39px; } .ng-head { gap: 10px; } }

/* Verhandlungsfenster im MonsterLiga-Stil (Marcus, 25.11.2026: „mache es ein bisschen schöner und nutze unsere UI, UX … identisch zum Layout zum Spiel“):
   dunkle Bühne mit goldener Kante wie die Vereins-Köpfe, Gegenüber im Lichtkegel, goldene Kicker-Zeile, Formular wie bei den Trainern */
.modal .ng-head { margin: 8px -18px 14px; padding: 16px 22px 18px; gap: 18px; align-items: center; color: #f3ecd6;
  background: linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border-top: 1px solid rgba(240,207,106,.25); border-bottom: 3px solid #f0cf6a; }
.modal .ng-rep { position: relative; } .modal .ng-rep::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 46px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(240,207,106,.45), transparent 70%); }
.modal .ng-rep svg { position: relative; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.modal .ng-badge { position: relative; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
.modal .ng-who .vn-kick { margin-bottom: 2px; } .modal .ng-name { display: block; font-size: 22px; font-weight: 900; font-style: italic; color: #fff; line-height: 1.15; }
.modal .ng-mood { margin-top: 6px; background: rgba(255,255,255,.12); color: #f3ecd6; border: 1px solid rgba(255,255,255,.2); }
.modal .ng-mood.m-gut { background: rgba(240,207,106,.18); color: #f0cf6a; border-color: rgba(240,207,106,.5); } .modal .ng-mood.m-schlecht { background: rgba(192,38,61,.25); color: #ffb3bf; border-color: rgba(255,120,140,.45); }
.modal .ng-left { font-size: 12px; color: #c9bfa5; min-height: 1em; }
.modal .ng-bubble { border-color: #f0cf6a; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.modal .ng-bubble::before { border-right-color: #f0cf6a; }
.modal .ng-bubble.yay { border-color: #f0cf6a; background: #fff7d6; } .modal .ng-bubble.yay::after { border-right-color: #fff7d6; } .modal .ng-bubble.yay::before { border-right-color: #f0cf6a; }
.ng-offer { margin-top: 4px; } .ng-offer .slide b { color: #8a6510; } .ng-offer select.inp { margin-top: 6px; }
.ng-sum { background: #fffaf0; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-top: 6px; }
.ng-sum .sp-chips { margin-top: 4px; }
.ng-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
#ngfinal .row { padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .modal .ng-head { margin: 6px -14px 12px; padding: 12px 14px; } .modal .ng-name { font-size: 18px; } }
.ng-offer label.slide select.inp { display: block; width: 100%; }

/* Admin-Bereich im MonsterLiga-Stil (Marcus, 25.11.2026: „passe den Admin-Bereich bitte auch schöner an“) */
.adm-top { padding: 0; overflow: hidden; }
.adm-top .adm-tabs { padding: 10px 14px 0; margin: 0; }
@media (max-width: 700px) { .adm-top .adm-tabs { padding-bottom: 10px; } }
.adm-hero { grid-template-columns: 72px 1fr; }
.adm-shield { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; font-size: 44px; border-radius: 18px; background: radial-gradient(circle, rgba(240,207,106,.3), rgba(240,207,106,.05) 70%); border: 1px solid rgba(240,207,106,.4); }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.adm-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; color: #f3ecd6;
  background: linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border-bottom: 3px solid #f0cf6a; box-shadow: 0 2px 10px rgba(60,45,10,.12); }
.adm-tile span { grid-row: 1 / 3; font-size: 26px; } .adm-tile b { font-size: 26px; font-weight: 900; color: #f0cf6a; line-height: 1.1; } .adm-tile small { color: #c9bfa5; font-weight: 700; }
.adm-tile.bad { border-bottom-color: #c0263d; } .adm-tile.bad b { color: #ff8a9b; } .adm-tile.warn { border-bottom-color: #ff9f1c; } .adm-tile.warn b { color: #ffc46b; }
.adm-pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; vertical-align: middle; font-style: normal; }
.adm-pill.ok { background: #fff3c4; color: #6b4e00; border: 1px solid #ecd9a0; } .adm-pill.bad { background: #fde1e5; color: #9b1730; border: 1px solid #f3b4bf; } .adm-pill.warn { background: #fff0dc; color: #9a5300; border: 1px solid #f7cf98; }
.adm-search .inp { min-height: 42px; }
.adm-un { display: inline-flex; align-items: center; gap: 8px; } .adm-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: 0 0 30px; background: #eee6cf; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #f0cf6a; }
.adm-av img, .adm-av svg { width: 100%; height: 100%; object-fit: cover; } .adm-av .av-empty { font-weight: 900; font-size: 13px; color: #6b4e00; }
.adm-ut tbody tr.click:hover { background: #fff8e1; cursor: pointer; }
.adm-uhero { grid-template-columns: 96px 1fr; }
.adm-uav { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid #f0cf6a; background: #3f434a; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.adm-uav img, .adm-uav svg { width: 100%; height: 100%; object-fit: cover; } .adm-uav .av-empty { font-size: 40px; font-weight: 900; color: #f0cf6a; }
.adm-uhero .vn-note a { color: #f0cf6a; } .adm-banned { color: #ffb3bf !important; font-weight: 800; }
.adm-back { margin-bottom: 4px; }
.adm-acts { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.adm-act.adm-msg { white-space: normal; } /* sonst übernimmt die Karte den Zeilenumbruch-Stil der Nachrichten-Pop-ups */
.adm-scroll { max-height: 320px; overflow: auto; }
@media (max-width: 700px) { .adm-hero, .adm-uhero { grid-template-columns: 56px 1fr; } .adm-shield, .adm-uav { width: 56px; height: 56px; font-size: 30px; } .adm-tile b { font-size: 22px; } }

/* Aufgedeckte Gebote nach dem Zuschlag (Marcus, 25.11.2026) */
.mk-bids { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mk-bids li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 5px 10px; border-radius: 10px; background: #f6f3ea; }
.mk-bids li.win { background: #fff3c4; border: 1px solid #e8c76a; } .mk-bn { font-weight: 900; color: #8a6510; } .mk-ba { font-weight: 900; white-space: nowrap; }
.mk-rv-bids { margin: 12px 0 10px; text-align: left; max-height: 220px; overflow: auto; } .mk-rv-bh { font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8a6510; }
.mk-rv-bids .mk-bids li { color: #2a2238; }
.mk-bidrow td { background: #fffdf6; }
/* Sterne passen immer in den Kasten (Marcus, 25.11.2026: „Die Sterne passen in der mobilen Ansicht nicht mehr in den Frame“): ist der Kasten schmal,
   stehen Bezeichnung, Sterne und Wort untereinander – unabhängig von der Bildschirmbreite (Containerabfrage statt nur ≤ 700 px) */
.kc-sc { container-type: inline-size; }
@container (max-width: 205px) {
  .kc-r { grid-template-columns: 1fr; grid-template-areas: "k" "st" "w"; row-gap: 1px; text-align: left; }
  .kc-st { text-align: left; } .kc-w { text-align: left; }
}
/* Auktionskarten: alle Bereiche auf gleicher Höhe (Marcus, 25.11.2026: „Die Inhalte springen hoch und runter. Bitte machen, dass alles gleich bleibt.“) –
   Besonderheit mit fester Höhe (Titel 1 Zeile, Text bis 3 Zeilen), Stärken/Schwächen fest, „Alle Werte“ immer unten */
.mk-card.mk-k .mcard .ab-box { height: 74px !important; box-sizing: border-box; overflow: hidden; display: flex !important; flex-direction: column; justify-content: flex-start; }
.mk-card.mk-k .mcard .ab-box b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 0 auto; }
.mk-card.mk-k .mcard .ab-box span { -webkit-line-clamp: 3 !important; }
.mk-card.mk-k .mcard .meta { height: 16px; overflow: hidden; white-space: nowrap; }
.mk-card.mk-k .kc-sw { min-height: 71px; align-content: start; }
.mk-card.mk-k > .mcard { display: flex; flex-direction: column; } .mk-card.mk-k .mk-x { flex: 1 1 auto; } .mk-card.mk-k .mk-more-btn { margin-top: auto; }
.mk-card.mk-k .mk-time { margin-top: 0 !important; } /* Zuschlag-Zeile überall auf gleicher Höhe; nur der Gebotsbereich darunter wächst bei eigenem Gebot */
/* Sterne füllen den schwarzen Kasten von links nach rechts (Marcus, 25.11.2026: „Fülle bitte den schwarzen Kasten mit den Sternen aus … dass wirklich die Sterne von links nach
   rechts ordentlich platziert sind“): jeder Stern ein eigenes Element, gleichmäßig über die ganze Breite verteilt, Größe nach Kastenbreite (Containerbreite) */
.kc-st { display: flex; justify-content: flex-end; gap: 1px; }
@container (max-width: 205px) {
  .kc-st { justify-content: space-between; gap: 0; font-size: clamp(14px, calc(100cqi / 7.2), 24px) !important; line-height: 1.1; padding: 1px 0; }
}
@media (max-width: 700px) { .kc-st { justify-content: space-between; font-size: clamp(14px, calc(100cqi / 7.2), 24px) !important; } }
/* Breite Karten (Kasten > 205 px, z. B. großer Monitor): Bezeichnung links, Sterne groß und über den Rest der Zeile verteilt – wie heute Morgen, nur größer
   (Marcus, 25.11.2026: „Die Sterne musst du nicht nur zur Seite ziehen, die musst du auch größer machen … So wie es heute Morgen war. Das sah toll aus.“) */
@container (min-width: 205.01px) {
  .kc-r { grid-template-columns: 74px minmax(0, 1fr) !important; grid-template-areas: "k st" "w w" !important; }
  .kc-st { justify-content: space-between !important; gap: 0 !important; font-size: clamp(14px, calc((100cqi - 80px) / 6.1), 26px) !important; line-height: 1.1; }
  .kc-w { text-align: right; }
}

/* Knopf „Zurückholen“ aus dem Trainingslager im Spiel-Stil (Marcus, 25.11.2026: „muss der Button erstmal wieder schöner werden“) */
.camp-back-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 14px 8px 10px; border-radius: 14px; cursor: pointer; font: inherit; text-align: left;
  color: #f3ecd6; background: linear-gradient(135deg, #33363c, #33363c 60%, #3f434a); border: 0; border-bottom: 3px solid #f0cf6a; box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s; }
.camp-back-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.camp-back-btn .cbb-ic { font-size: 22px; line-height: 1; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(240,207,106,.16); border: 1px solid rgba(240,207,106,.4); }
.camp-back-btn .cbb-t { display: flex; flex-direction: column; line-height: 1.15; } .camp-back-btn b { color: #f0cf6a; font-size: 14px; } .camp-back-btn small { color: #c9bfa5; font-size: 11px; font-weight: 700; }
.camp-back-btn.small { padding: 5px 10px 5px 6px; gap: 6px; margin-top: 0; border-radius: 11px; } .camp-back-btn.small .cbb-ic { width: 26px; height: 26px; font-size: 16px; } .camp-back-btn.small b { font-size: 12.5px; }
#camp-back.camp-back-btn { display: flex; margin: 8px auto 10px; } /* mittig – links liegt der Blätter-Pfeil der Spielerkarte */

/* Verhandlung: Monster frei stehend, Firmenschild schräg rechts oben, alles scharf (Marcus, 25.11.2026: „das Monster einzeln stehen haben und nicht, dass er auf dem Banner
   steht. Der Banner … rechts oben schräg platziert … deutlich schärfer“) – ohne Schatten-Filter (die machten die Vektorgrafik beim Darstellen unscharf) */
.modal .ng-head { position: relative; }
.modal .ng-rep svg, .modal .ng-badge { filter: none !important; }
.modal .ng-rep svg { shape-rendering: geometricPrecision; }
.modal .ng-rep::before { bottom: 2px !important; }
.modal .ng-head .ng-badge { position: absolute; top: 12px; right: 18px; width: 168px; height: 69px; margin: 0; transform: rotate(5deg); z-index: 2;
  border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.modal .ng-head .ng-badge svg { width: 100%; height: 100%; display: block; }
.modal .ng-head.has-badge .ng-who { padding-right: 190px; min-height: 64px; }
.ng-rep.m-gut svg, .ng-rep.m-party svg { will-change: auto; }
@media (max-width: 700px) {
  .modal .ng-head .ng-badge { width: 104px; height: 43px; top: 8px; right: 10px; }
  .modal .ng-head.has-badge .ng-who { padding-right: 112px; min-height: 48px; }
}
.modal .ng-rep { flex: 0 0 190px; width: 190px; } .modal .ng-rep svg { transform: scale(1.18); transform-origin: 50% 80%; }
.modal .ng-rep.m-gut svg { animation-name: ngbob2; } @keyframes ngbob2 { 0%, 100% { transform: scale(1.18) translateY(0) rotate(0); } 50% { transform: scale(1.18) translateY(-5px) rotate(2deg); } }
.modal .ng-rep.m-schlecht svg { transform: scale(1.18) rotate(-6deg) translateX(-4px); }
.modal .ng-rep.m-party svg { animation-name: ngdance2; } @keyframes ngdance2 { 0%, 100% { transform: scale(1.18) translateY(0) rotate(-8deg); } 25%, 75% { transform: scale(1.22) translateY(-12px) rotate(0); } 50% { transform: scale(1.18) translateY(0) rotate(8deg); } }
@media (max-width: 700px) { .modal .ng-rep { flex-basis: 118px; width: 118px; } }

.mc-rp-bar { display: flex; justify-content: flex-end; margin: 6px 0; }
/* Sterne als Bündel in der Mitte, gleiche Größe, engerer Abstand (Marcus, 25.11.2026: „Stell die Sterne … wieder enger zusammen, aber mittig, so dass die schön als Bündel
   aussehen … die Größe soll so bleiben … in den Außen mehr Platz, aber in der Mitte mehr die zusammenkommen“) */
.kc-st { justify-content: center !important; gap: 2px !important; }
@container (max-width: 205px) { .kc-st { justify-content: center !important; gap: 2px !important; } }
@container (min-width: 205.01px) { .kc-st { justify-content: center !important; gap: 2px !important; } }
@media (max-width: 700px) { .kc-st { justify-content: center !important; gap: 2px !important; } }

/* Zahlenfeld mit −/+ unter jedem Verhandlungsregler (Marcus, 25.11.2026) */
.ng-num { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 6px; margin: 2px 0 4px; }
.ng-num .btn { padding: 4px 0; font-size: 18px; font-weight: 900; line-height: 1; }
.ng-num .inp { text-align: center; font-weight: 800; font-size: 15px; padding: 5px 6px; min-width: 0; }

/* Werte beim Drüberfahren auch auf dem Spielfeld, wie auf der Bank (Marcus, 25.11.2026: „wenn ich auf der Bank bin und rüber hover, dann sehe ich den Gesamtwert und die Stats,
   aber wenn ich auf dem Spielfeld rüber hover, sehe ich das nicht“) – nur mit Maus */
@media (hover: hover) {
  .tok .tok-pop { display: none; position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); z-index: 30; background: #33363c; color: #fff; font-size: 12px; line-height: 1.3;
    border-radius: 8px; padding: 6px 8px; min-width: 150px; box-shadow: 0 6px 18px rgba(0,0,0,.3); pointer-events: none; text-align: center; white-space: nowrap; }
  .tok .tok-pop .sq-val { font-weight: 900; color: #f0cf6a; } .tok .tok-pop .sq-stats { color: #d9d2bf; margin-top: 3px; }
  .tok:hover .tok-pop { display: block; } .tok:hover { z-index: 25; }
  .tok.dragging .tok-pop { display: none !important; }
}
@media (hover: none) { .tok .tok-pop { display: none; } }

/* Im Verein seit + Historie in der Spielerkarte (Marcus, 25.11.2026) */
.mc-joined { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mc-joined b { color: var(--text); }
.m-hist { margin-top: 14px; }
.mh-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.mh-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mh-list li i { font-style: normal; font-size: 17px; line-height: 1.3; text-align: center; }
.mh-list li b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.mh-list li span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.mh-list li.mh-herkunft { border-color: rgba(255,210,63,.45); }

/* Qualitätsrahmen auf dem Spielfeld und der Bank deutlicher (Marcus, 25.11.2026: „Bei Spielfeld und so die Berahmung von der Qualität bitte noch ein bisschen deutlicher machen,
   damit man es leichter sieht“): dickerer Ring in Qualitätsfarbe, dunkle Kante außen und Leuchten in derselben Farbe */
.tok .face, .tpitch:not(.small-pitch) .tok .face, .bc-slot .face, .pslot .face { border-width: 4px; box-shadow: 0 0 0 2px rgba(42, 45, 50, .6), 0 0 12px 1px var(--rc, transparent); }
.bc-slot.hc .face { border-width: 4px; }
@media (max-width: 700px) { .tok .face, .tpitch:not(.small-pitch) .tok .face, .bc-slot .face { border-width: 3px; box-shadow: 0 0 0 1.5px rgba(42, 45, 50, .6), 0 0 9px var(--rc, transparent); } }
.tok.sel .face { box-shadow: 0 0 0 4px var(--yellow), 0 0 22px var(--yellow); }
.bc-slot.sel .face { box-shadow: 0 0 0 3px var(--yellow), 0 0 14px var(--yellow); }
.tok.drop-over .face, .bc-slot.drop-over .face { box-shadow: 0 0 0 4px #ffd23f, 0 0 20px #ffd23f; }

/* Laufende Spiele: Übersicht mit Zwischenstand, Live-Knopf daneben (Marcus, 25.11.2026) */
.mc-livetag { font-size: 13px; margin-bottom: 4px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.mc-livetag b { color: #ffd23f; font-size: 15px; }
.mc-livebtn { background: #d42f45 !important; border-color: #d42f45 !important; color: #fff !important; }
.tl-now span { background: #d42f45 !important; color: #fff !important; }
.rl-livebtn { background: #d42f45; color: #fff !important; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 900; text-decoration: none; }
.live-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-banner > a:not(.btn) { flex: 1; min-width: 0; color: inherit; text-decoration: none; }

/* Zwischenstand laufender Spiele verdeckt, bis man ihn aufdeckt (Marcus, 25.11.2026) */
.sc-hide { display: inline-block; cursor: pointer; background: #33363c; color: #ffd23f; border-radius: 6px; padding: 0 7px; font-weight: 900; letter-spacing: 1px; }
.sc-hide:hover { background: #3f434a; }
.mc-big-hide { display: none; cursor: pointer; font-family: inherit; color: #ffd23f; }
.mc-spoilbox { display: none; text-align: center; }
.mc-spoiler .mc-big:not(.mc-big-hide) { display: none; }
.mc-spoiler .mc-big-hide { display: inline-flex; align-items: center; justify-content: center; }
.mc-spoiler .mc-evs, .mc-spoiler .mc-sub, .mc-spoiler .mc-prorow, .mc-spoiler .mc-grid, .mc-spoiler .mc-tabs, .mc-spoiler .mc-body, .mc-spoiler .match-comments { display: none !important; }
.mc-spoiler .mc-spoilbox { display: block; }

/* Laufendes Spiel in der Spielliste: Zwischenstand oben, Live-Knopf darunter – passt in die schmale Mittelspalte (Marcus, 25.11.2026: „Die neue verdeckte Form ist leider kaputt.“) */
.rl-livesc { display: flex !important; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; white-space: nowrap; }
.rl-livesc-sc { display: block; text-align: center; background: #33363c; color: #f0cf6a !important; font-weight: 900; border-radius: 6px; padding: 3px 0; text-decoration: none; font-size: 14px; }
.rl-livesc-sc .sc-hide { background: none; padding: 0; color: #ffd23f; }
.rl-livesc .rl-livebtn { display: block; text-align: center; padding: 1px 0; font-size: 10.5px; border-radius: 6px; overflow: hidden; }

/* Spielliste rechts: Taktik und Absagen ruhiger und einheitlich; bei laufenden/eingefrorenen Spielen nur der Hinweis, kein Absagen (Marcus, 25.11.2026: „Live-Spiele kann man gar
   nicht mehr absagen. Da muss kein Button hinten sein … auch hinten diese Absage und Taktik, das muss schöner gemacht werden.“) */
.rl-livesc { padding: 0 !important; background: none !important; }
.rl-tac { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.rl-tac select { width: 100%; font-size: 12.5px; font-weight: 700; padding: 5px 8px; border-radius: 999px; border: 1.5px solid rgba(201,162,39,.55); background: #fffdf7; color: var(--text); box-shadow: none; cursor: pointer; }
.rl-tac select:hover { border-color: var(--gold); }
.rl-tac span { display: block; text-align: center; background: #f6efd9; border: 1.5px solid rgba(201,162,39,.45); color: #5a4a1c; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 5px 8px; }
.rl-tac .rl-fcan { background: #fff !important; color: #b3261e !important; border: 1.5px solid rgba(179,38,30,.35) !important; border-radius: 999px !important; box-shadow: none !important; font-size: 11.5px !important; font-weight: 800; padding: 4px 8px !important; }
.rl-tac .rl-fcan:hover { background: #fdecea !important; }
@media (max-width: 760px) {
  .rl-row .rl-tac { display: flex !important; grid-column: 1 / 5 !important; flex-direction: row; justify-content: flex-end; align-items: center; gap: 8px; }
  .rl-row .rl-tac select { width: auto; min-width: 110px; max-width: 60%; font-size: 14px; padding: 4px 10px; }
  .rl-row .rl-tac span { padding: 4px 12px; }
}
@media (max-width: 700px) { .rl-row .rl-tac { grid-column: 1 / 4 !important; } }

/* Live: Zwischenstand wieder verdecken (Marcus, 25.11.2026) */
.mc-rehide { display: inline-block; margin-top: 6px; background: rgba(255,255,255,.12); color: #f0cf6a; border: 1px solid rgba(240,207,106,.5); border-radius: 999px; font-size: 12px; font-weight: 800; padding: 3px 12px; cursor: pointer; }
.mc-rehide:hover { background: rgba(255,255,255,.22); }
.mc-spoiler .mc-rehide { display: none; }
/* Spielerkarte: Reiter scrollen mit dem Inhalt weg, nur der X-Knopf bleibt sichtbar (Marcus, 25.11.2026: „Bei der Player Detail Card scrollt jetzt das Menü immer mit runter.
   Das will ich nicht. Das soll oben bleiben. Nur der X-Knopf soll mit scrollen.“) */
.mt-tabs { position: static !important; }

/* Teamwert beider Startelfen in der Aufstellungs-Ansicht (Marcus, 25.11.2026) */
.lu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lu-tv { font-size: 13px; font-weight: 700; background: #f6efd9; border: 1.5px solid rgba(201,162,39,.5); color: #5a4a1c; border-radius: 999px; padding: 3px 12px; }
.lu-tv b { font-size: 16px; color: #3f434a; }

/* Teamwert-Vergleich über den Aufstellungen (Marcus, 25.11.2026) */
.tv-cmp { padding: 14px 18px; margin-bottom: 12px; }
.tv-cmp .tv-k { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(120px, 2fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.tv-row .tv-n { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.tv-row .tv-n.r { text-align: left; }
.tv-row b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--muted); }
.tv-row b.lead { color: var(--text); }
.tv-bar { height: 10px; border-radius: 999px; background: #d8a400; overflow: hidden; }
.tv-bar i { display: block; height: 100%; background: #33363c; border-radius: 999px 0 0 999px; }
@media (max-width: 700px) {
  .tv-row { grid-template-columns: auto minmax(60px, 1fr) auto; gap: 8px; }
  .tv-row .tv-n { display: none; }
  .tv-row b { font-size: 18px; }
}

/* Schwarz → Anthrazit (Marcus, 25.11.2026: „Das Schwarz auf meiner Webseite bitte mit ein Anthrazit austauschen. Vielleicht auf verschiedene Übergänge mal oder so, aber nicht mehr schwarz.“):
   Abstufungen #2a2d32 (tief) · #33363c (mittel) · #3f434a (hell); leere Sterne heller, damit sie auf Anthrazit sichtbar bleiben, Kästen mit sanftem Verlauf */
.kc-st i { color: #60646c !important; }
.kc-sc { background: linear-gradient(160deg, #3a3e45, #2c2f34) !important; }
.mc-head { background: radial-gradient(ellipse at top, #444850, #2c2f34 70%) !important; }
.topbar { background: linear-gradient(90deg, #2c2f34, #383b41) !important; }

/* Ligatabelle: Zonen deutlich unterscheidbar, Managernamen ruhiger (Marcus, 25.11.2026: „Platz 1 mit Gold … und dann so ein dunkles Braun von 2 zu 5. Macht die Farben ein bisschen
   unterschiedlicher, man sieht kaum einen Unterschied … Und auch die Player-Name in der Tabelle, also die Manager-Namen, die auch eine andere Farbe bitte.“) */
.tbl tr.promo td:first-child { border-left: 5px solid #e0a81e !important; }
.tbl tr.promo td { background: rgba(224, 168, 30, .14); }
.tbl tr.playoff td:first-child { border-left: 5px solid #4f7fb8 !important; }
.tbl tr.playoff td { background: rgba(79, 127, 184, .08); }
.tbl tr.releg td:first-child { border-left: 5px solid #c2334a !important; }
.tbl tr.releg td { background: rgba(194, 51, 74, .06); }
.zk.promo { background: #e0a81e !important; } .zk.playoff { background: #4f7fb8 !important; } .zk.releg { background: #c2334a !important; }
.lt-cell.lt2 .lt-who.hu { color: #a87a0c !important; font-weight: 800; } /* Gold (Marcus, 25.11.2026: „Managernamen … in Gold haben, sodass man so schneller sieht, wer das ist. KI-Verein kann so grau bleiben“) */
.lt-cell.lt2 .lt-who.ai { color: #9a9ea5 !important; font-weight: 600; font-style: italic; }
.tbl.ltable tr.mine .lt-cell.lt2 .lt-who.hu { color: #a87a0c !important; }
/* M$-Betrag in der Kopfleiste auf Anthrazit gut lesbar (Marcus, 25.11.2026) */
.topbar .money { color: #7ee2a6 !important; background: rgba(126, 226, 166, .12) !important; border-color: rgba(126, 226, 166, .45) !important; }

/* Admin-Nachrichten löschen (Marcus, 25.11.2026) */
.adm-mdel { margin-left: 8px; border: none; background: transparent; color: #b3261e; font-weight: 900; cursor: pointer; font-size: 13px; padding: 0 4px; border-radius: 4px; }
.adm-mdel:hover { background: #fdecea; }
.adm-del { color: #b3261e !important; border-color: rgba(179,38,30,.35) !important; margin-left: 8px; }

/* Menü und Kopfleiste als ein Rahmen (Marcus, 25.11.2026: „Zwischen meinem Seitenmenü und meinem Header ist oben noch so ein gelber Strich … Das möchte ich nicht haben. Ich möchte aber
   an den Seitenmenü so einen goldenen Streifen haben, wie ich im Header unten habe … so dass es wie in einem Frame aussieht und nicht irgendwie zwei Elemente.“):
   keine Linie neben der Kopfleiste; ab der Unterkante der Kopfleiste (--tb-h) läuft derselbe Goldstreifen am Menü hinunter */
@media (min-width: 1024px) {
  .side-nav { border-right: none !important; }
  .side-nav::after { content: ''; position: absolute; right: 0; top: calc(var(--tb-h, 55px) - 3px); bottom: 0; width: 3px; background: var(--gold); pointer-events: none; }
}
/* „Menü“-Kopf genau so hoch wie die Kopfleiste, News beginnt unterhalb (Marcus, 26.11.2026: „News ist im Menü immer noch zu weit oben platziert. Es ist immer noch höher
   als mein Head-Menü.“) */
@media (min-width: 1024px) {
  .side-nav .sn-head { box-sizing: border-box; height: var(--tb-h, 55px); padding-top: 0 !important; padding-bottom: 0 !important; }
  .side-nav .sn-top { margin-top: 10px; }
}

/* Trainer-Sterne 1–6 (Marcus, 25.11.2026) */
.coach-stars { display: flex; justify-content: center; gap: 1px; font-size: 17px; line-height: 1; margin: 2px 0 4px; }
.coach-stars b { color: #f5b800; text-shadow: 0 1px 0 #8a6510; }
.coach-stars i { color: #c9c4b6; font-style: normal; }
.coach-stars-in { color: #f5b800; letter-spacing: -1px; font-size: .95em; white-space: nowrap; }
/* Ecke Menü/Kopfleiste aus einem Guss (Marcus, 25.11.2026: „farbliche Unterschiede. Das soll 1 sein, das soll ein Guss sein.“): Kopfleiste und Menü gleiches Anthrazit, kein Verlauf */
.topbar { background: #33363c !important; }
.side-nav, .side-nav .sn-head { background: #33363c !important; }

/* Taktik tauschen (Marcus, 25.11.2026) */
.tswap-list { display: grid; gap: 8px; margin: 10px 0; }
.tswap-list .btn { text-align: left; }

/* Taktik-Kopf geordnet (Marcus, 25.11.2026: „Knöpfe wie als Standard, zufällig, tauschen und leeren möchte ich zusammengebündelt in einer Linie … wo man den Namen der Taktik eintippt“):
   Zeile 1 Name + Aktionen, Zeile 2 Formation, XML und Start/Plan B/Plan C */
.tac-bar .tac-name { flex: 1 1 100%; flex-wrap: wrap; }
.tac-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tac-acts .pill, .tac-acts .btn { white-space: nowrap; }
@media (max-width: 700px) { .tac-bar .tac-name { flex-wrap: wrap !important; } .tac-acts { flex: 1 1 100%; } .tac-acts .btn { padding: 7px 9px !important; font-size: 12.5px; } }

/* Fortschrittsbalken Optimierer (Marcus, 25.11.2026) */
.opt-bar { height: 12px; border-radius: 999px; background: #ece5d3; overflow: hidden; margin: 6px 0 10px; }
.opt-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c9a227, #f0cf6a); transition: width .6s; }

/* Auswertung optimale Taktik (Marcus, 25.11.2026) */
.ot-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ot-tiles div { background: #f6efd9; border: 1.5px solid rgba(201,162,39,.4); border-radius: 12px; padding: 8px 10px; text-align: center; }
.ot-tiles div.hl { background: #33363c; border-color: #33363c; }
.ot-tiles span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8a7a4a; }
.ot-tiles .hl span { color: #c9c4b6; }
.ot-tiles b { display: block; font-size: 17px; margin-top: 2px; }
.ot-tiles .hl b { color: #f0cf6a; font-size: 20px; }
.ot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ot-box { border: 1px solid #eee3c6; border-radius: 12px; padding: 10px 12px; background: #fffdf6; }
.ot-box h4 { margin: 0 0 8px; font-size: 14px; }
.ot-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 4px 0; border-top: 1px dashed #eee3c6; font-size: 13.5px; }
.ot-row:first-of-type { border-top: 0; }
.ot-row span { color: var(--muted); font-weight: 700; }
.ot-row ol { margin: 0; padding-left: 18px; font-weight: 700; }
.ot-fr { display: grid; grid-template-columns: 52px 150px 1fr 120px; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 8px; font-size: 13.5px; }
.ot-fr.on { background: #f6efd9; }
.ot-fp { color: var(--muted); }
.ot-fb { height: 8px; background: #ece5d3; border-radius: 999px; overflow: hidden; } .ot-fb i { display: block; height: 100%; background: #c9a227; }
.ot-fv { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.ot-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
@media (max-width: 700px) { .ot-tiles { grid-template-columns: repeat(2, 1fr); } .ot-cols { grid-template-columns: 1fr; } .ot-fr { grid-template-columns: 46px 1fr 90px; } .ot-fr .ot-fb { display: none; } }

/* Namen auf der Ersatzbank (Marcus, 25.11.2026: „Ich sehe keine Namen der Monster auf der Ersatzbank“) – wie auf dem Feld als ein Namensschild mit Nummer,
   einzeilig gekürzt (Marcus, 25.11.2026: „Die Bank ist nicht mehr schön“) */
.bench-col { width: 84px !important; flex: 0 0 84px !important; }
.bc-slot { max-width: 100%; }
.bc-slot .bc-lbl { margin-top: 3px; max-width: 80px; padding: 1px 6px; border-radius: 8px; background: rgba(42,45,50,.82); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.bc-slot .bc-lbl b { color: #ffe066; font-weight: 900; }
@media (max-width: 700px) { .bench-col { width: 100% !important; flex: none !important; } .bc-slot .bc-lbl { max-width: 100%; } }

/* Trainer-Filter: leere Optionen ausgegraut (Marcus, 25.11.2026) */
.cfilter label.cf-off { opacity: .45; cursor: not-allowed; }
.cfilter option:disabled, #pf option:disabled { color: #b5b0a3; }

/* Erfolge: Belohnung abholen + Münzflug (Marcus, 25.11.2026) */
.ach-claim { animation: achPulse 1.6s ease-in-out infinite; }
.ach-row.claim { border-color: #e0a81e; box-shadow: 0 0 0 2px rgba(224,168,30,.35), inset 0 0 18px rgba(255,197,49,.2); }
@keyframes achPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(224,168,30,.55); } 50% { box-shadow: 0 0 0 6px rgba(224,168,30,0); } }
.ach-head .ach-claim { align-self: center; white-space: nowrap; }
.coin-fly { position: fixed; z-index: 9999; width: 22px; height: 22px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff6c4, #ffd34d 40%, #c9a227 75%, #8a6a10); box-shadow: 0 0 8px rgba(255,211,77,.8), inset 0 0 0 2px rgba(138,106,16,.5); }
.coin-bump { animation: coinBump .3s ease-out; }
@keyframes coinBump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
/* Kopfhörer am Profilbild: Ton an/aus (Marcus, 25.11.2026) */
.av-wrap { position: relative; display: inline-flex; }
.snd-mini { position: absolute; right: -5px; bottom: -4px; width: 17px; height: 17px; padding: 2px; border-radius: 50%; border: 1.5px solid #c9a227;
  background: #33363c; color: #f0cf6a; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 0; }
.snd-mini svg { width: 11px; height: 11px; }
.snd-mini.off { color: #9a958a; }
.snd-mini:hover { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .ach-claim { animation: none; } }
/* Kopfleiste am Handy: Profilbild wieder rechts, Menü fest oben links (Marcus, 25.11.2026: „Wieso hast du denn schon wieder mein Icon oben neben das Burger-Menü gesetzt? Das Burger-Menü
   darf bei der mobilen Version nicht in der Mitte sein, sondern muss immer oben links fest bleiben.“) – die Hülle um Profilbild + Kopfhörer bekommt die Reihenfolge des Profilbilds.
   Kopfhörer weiter weg vom Profilbild („ein bisschen weiter weg …, sodass man es auch aufdrücken kann, ohne dass man gleichzeitig auf sein eigenes Icon drückt“) */
.av-wrap { margin-right: 14px; }
.snd-mini { right: -19px; bottom: -8px; width: 20px; height: 20px; }
.snd-mini svg { width: 12px; height: 12px; }
@media (max-width: 700px) {
  .topbar .av-wrap { order: 4; flex: none; margin-right: 16px; }
  .snd-mini { right: -21px; bottom: -9px; width: 22px; height: 22px; }
  .snd-mini::before { content: ''; position: absolute; inset: -6px -6px -6px -2px; } /* größere Tippfläche, nicht über dem Profilbild */
}
/* Papierkorb beim Pack-Öffnen (Marcus, 25.11.2026): zerrissene Hälften, Korb mit Deckel, Münzen */
.po-half { position: fixed; z-index: 60; pointer-events: none; transform-origin: 50% 50%; }
.po-half > * { width: 100%; height: 100%; }
.po-bin { position: absolute; left: 50%; bottom: 120px; width: 86px; height: 96px; margin-left: -43px; z-index: 55; animation: binIn .35s cubic-bezier(.2, 1.5, .4, 1) both; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.po-bin svg { width: 100%; height: 100%; overflow: visible; }
.po-bin .lid { transform-origin: 12% 100%; transition: transform .25s; }
.po-bin.open .lid { transform: rotate(-38deg) translate(-4px, -6px); }
.po-bin.gulp { animation: binGulp .45s ease-out; }
.po-bin.out { opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .4s; }
@keyframes binIn { from { transform: translateY(80px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes binGulp { 0% { transform: scale(1); } 35% { transform: scale(1.18, .86); } 70% { transform: scale(.94, 1.06); } 100% { transform: scale(1); } }
.coin-plus { position: fixed; z-index: 9999; transform: translate(-50%, -50%); font-weight: 900; font-size: 26px; color: #ffd34d; text-shadow: 0 2px 8px rgba(0,0,0,.6); pointer-events: none; animation: coinPlus 1.5s ease-out forwards; }
@keyframes coinPlus { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 20% { opacity: 1; transform: translate(-50%, -90%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -190%) scale(1); } }
.po .po-del { background: #3f434a !important; color: #f0cf6a !important; border: 1.5px solid #c9a227 !important; }
/* Büro: Tabellenausschnitt passt in die halbe Breite (Gesamtprüfung 25.11.2026: Form-Spalte ragte rechts heraus) – Vereinsnamen dürfen umbrechen, Form-Kästchen kleiner */
.bt-mini .tbl.ltable { width: 100%; }
.bt-mini .lt-cell.lt2 .lt-nm { white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
.bt-mini .tbl.ltable td, .bt-mini .tbl.ltable th { padding-left: 4px; padding-right: 4px; }
.bt-mini .form span { width: 15px; height: 15px; line-height: 15px; font-size: 9.5px; margin-right: 1px; }
/* Verein: Logo-Editor – Speichern-Knopf über die ganze Zeile; am Handy Editor unter dem Logo in voller Breite (Gesamtprüfung 25.11.2026: Knopf zerfiel in Silben) */
.vn-draw .editor #l-save { grid-column: 1 / -1; white-space: normal; }
@media (max-width: 700px) { .vn-draw { flex-direction: column; align-items: stretch; } .vn-draw .logo-big { align-self: center; } .vn-draw .editor { flex: 1 1 100%; width: 100%; } }
/* Optimierer: Vergleich Grundtaktik / Optimal / eigene Liga (25.11.2026) */
.ot-cmp { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; font-size: 13.5px; }
.ot-cmp span { background: #f6efd9; border-radius: 8px; padding: 4px 10px; }
.ot-fr .ot-fp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-fr { grid-template-columns: 150px 190px 1fr 120px; } .ot-fr > b { white-space: nowrap; }
.ot-row { grid-template-columns: 110px 1fr; }
@media (max-width: 700px) { .ot-fr { grid-template-columns: 1fr auto; } .ot-fr .ot-fp { grid-column: 1; grid-row: 2; font-size: 12px; } .ot-fr .ot-fv { grid-column: 2; grid-row: 1 / 3; align-self: center; } .ot-fr .ot-fb, .ot-fr > span:empty { display: none; } }
/* Spielerkarte am Handy: Reiter gleich oben (Marcus, 25.11.2026) */
.mt-jump { display: none; }
@media (max-width: 700px) {
  .mt-jump { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
  .mt-jump button { flex: 1 1 calc(50% - 6px); padding: 8px 6px; border-radius: 10px; border: 1.5px solid #e3d6b0; background: #fffaf0; font-weight: 800; font-size: 13px; color: #3f434a; }
  .mt-jump button.on { background: #33363c; color: #f0cf6a; border-color: #33363c; }
  .mt-col { scroll-margin-top: 8px; }
}
/* Fenster offen → Seite dahinter scrollt nicht mit (Marcus, 25.11.2026: „wenn die Detail-Page auf ist, kann man im Hintergrund weiter scrollen“) */
html:has(#modal-root .modal-bg), html:has(#modal-root .modal-bg) body, html:has(.ask-bg) body, html:has(.sr-ov) body { overflow: hidden !important; }
.modal-bg, .modal, .ask-bg, .sr-ov { overscroll-behavior: contain; }
@media (max-width: 700px) { .monster-detail .mt-tabs { margin-right: 52px !important; } }

/* Bereichswerte (Ø je Torwart/Abwehr/Mittelfeld/Sturm/Physis/Extras) – Marcus, 25.11.2026 */
.grp-avg { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin: 4px 0 2px; }
.grp-avg .ga { display: inline-flex; align-items: baseline; gap: 3px; padding: 1px 6px; border-radius: 999px; background: #f3ecd8; border: 1px solid #e3d6b0; font-size: 11px; line-height: 1.5; color: #3f434a; }
.grp-avg .ga i { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .03em; color: #8a7a4a; }
.grp-avg .ga b { font-weight: 800; font-variant-numeric: tabular-nums; }
.grp-avg .ga.top { background: #e3f6e8; border-color: #8fd3a2; color: #17803a; } .grp-avg .ga.top i { color: #17803a; }
.grp-avg .ga.low { background: #fde8eb; border-color: #f0a9b4; color: #c0263d; } .grp-avg .ga.low i { color: #c0263d; }
.grp-avg.mini { justify-content: flex-start; margin: 3px 0; } .grp-avg.mini .ga { font-size: 10.5px; padding: 0 5px; }
.stat-gh .gh-avg { margin-left: auto; float: right; font-size: 12px; font-weight: 900; color: #8a6a10; background: #f6efd9; border-radius: 999px; padding: 0 7px; }

/* Menü: Hauptmenüs auf- und zuklappbar (25.11.2026) */
.side-nav .sn-sec { border-top: 1px solid #3f434a; margin: 0 6px; }
.side-nav .sn-grp { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: clamp(7px, 1.1vh, 11px) 8px; border: 0; border-radius: 10px; background: none;
  color: #c9b77a; cursor: pointer; font: inherit; font-size: clamp(11px, 1.35vh, 12.5px); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.side-nav .sn-grp:hover { background: #3f434a; color: #f0cf6a; }
.side-nav .sn-grp:focus-visible { outline: 2px solid #f0cf6a; outline-offset: -2px; }
.side-nav .sn-grp > span:first-child { flex: 1; }
.side-nav .sn-sum { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; letter-spacing: 0; text-align: center; }
.side-nav .sn-chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .18s ease; margin-right: 4px; }
.side-nav .sn-sec.open .sn-chev { transform: rotate(45deg); }
/* Marker am Hauptmenü bleibt auch aufgeklappt sichtbar (Marcus, 25.11.2026) */
.side-nav .sn-items { display: none; padding: 0 0 6px; }
.side-nav .sn-sec.open .sn-items { display: block; }
.side-nav .sn-sec.open > .sn-grp { color: #f0cf6a; }
@media (prefers-reduced-motion: reduce) { .side-nav .sn-chev { transition: none; } }
/* News und Büro ganz oben als eigene Knöpfe (Marcus, 26.11.2026: „Das Menü News ist zu weit oben und schließt nicht mit der Kante ab. Außerdem sieht es aus wie ein Fremdkörper …
   Finde ich auch gut, dass es anders aussieht, aber es muss halt so sein, dass man sieht, dass es klickbar ist.“): gleiche Einrückung wie die Hauptmenüs, Abstand zur Überschrift,
   Knopf-Fläche mit Pfeil; aktiv golden */
.side-nav .sn-top { display: flex; flex-direction: column; gap: 5px; margin: clamp(4px, 0.8vh, 10px) 6px clamp(6px, 1vh, 12px); }
.side-nav .sn-top a { display: flex; align-items: center; gap: 6px; padding: clamp(5px, 0.9vh, 10px) 12px; border-radius: 10px; background: #3f434a; border: 1px solid #50545c; box-shadow: 0 2px 0 #26282d; }
.side-nav .sn-top a::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid #a8975e; border-top: 2px solid #a8975e; transform: rotate(45deg); flex: 0 0 auto; }
.side-nav .sn-top a:hover { border-color: #a8975e; color: #f0cf6a; }
.side-nav .sn-top a.active { background: #f0cf6a; border-color: #f0cf6a; color: #33363c; box-shadow: 0 2px 0 #a8862a; }
.side-nav .sn-top a.active::after { border-color: #33363c; }

/* Chat als eigene Seite (Community, 25.11.2026) */
.ci-page { max-width: 1100px; }
.ci-inpage .ci-list { max-height: 64vh; overflow-y: auto; }
.ci-inpage .ci-row { width: 100%; border: 1px solid transparent; text-align: left; font: inherit; cursor: pointer; }
.ci-inpage .ci-row.on { border-color: #c9a227; background: #fff4cf; }
.ci-inpage .ci-msgs { max-height: 56vh; }

/* Forum (Community, 25.11.2026) */
.fo-wrap { max-width: 1100px; display: flex; flex-direction: column; gap: 12px; }
.fo-crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fo-crumbs a { color: var(--cyan); font-weight: 800; text-decoration: none; } .fo-crumbs a:hover { text-decoration: underline; }
.fo-crumbs b { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.fo-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, #fffaf0, #f6eed6); }
.fo-hero > div { flex: 1; min-width: 220px; } .fo-hero h2 { margin: 0 0 4px; } .fo-hero p { margin: 0; }
.fo-mine { background: #33363c; color: #f0cf6a; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.fo-cats { display: flex; flex-direction: column; gap: 8px; }
.fo-cat { display: grid; grid-template-columns: 52px minmax(0, 1fr) 76px 76px minmax(0, 220px); align-items: center; gap: 14px; padding: 14px 16px; color: inherit; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.fo-cat:hover { transform: translateY(-1px); border-color: var(--gold); box-shadow: 0 6px 18px rgba(160, 125, 30, .14); }
.fo-cat:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fo-cat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: #f3efe3; border: 1px solid var(--line); }
.cat-bugs .fo-cat-ic { background: #fde8eb; border-color: #f0a9b4; } .cat-fragen .fo-cat-ic { background: #e6f0fd; border-color: #a9c6f0; }
.cat-news .fo-cat-ic { background: #fff4cf; border-color: #e8cf7a; }
.fo-cat-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fo-cat-name { font-size: 17px; }
.fo-cat-num { text-align: center; display: flex; flex-direction: column; } .fo-cat-num b { font-size: 18px; } .fo-cat-num small { color: var(--muted); font-size: 11px; }
.fo-cat-last { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); padding-left: 12px; }
.fo-cat-last b, .fo-cat-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fo-head-t { flex: 1; min-width: 200px; } .fo-head h2 { margin: 0 0 2px; } .fo-head p { margin: 0; }
.fo-form { display: flex; flex-direction: column; gap: 10px; } .fo-form h3 { margin: 0; }
.fo-form[hidden] { display: none; }
.fo-l { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 13px; }
.fo-form textarea, .fo-edit textarea { width: 100%; resize: vertical; min-height: 110px; font: inherit; line-height: 1.45; }
.fo-search { display: flex; gap: 6px; align-items: center; } .fo-search .inp { flex: 1; min-width: 0; max-width: 420px; }
.fo-list { padding: 4px; }
.fo-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 72px 72px 120px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: inherit; text-decoration: none; }
.fo-row + .fo-row { border-top: 1px solid #efe9da; }
.fo-row:hover { background: #fbf7ea; }
.fo-row.pinned { background: #fffaf0; }
.fo-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fo-row-t { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-row.unread .fo-row-t { font-weight: 900; }
.fo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: 6px; vertical-align: middle; }
.fo-row-chips { display: flex; flex-wrap: wrap; gap: 4px; } .fo-row-chips:empty { display: none; }
.fo-row-n { text-align: center; display: flex; flex-direction: column; } .fo-row-n b { font-size: 16px; } .fo-row-n small { color: var(--muted); font-size: 11px; }
.fo-row-last { display: flex; flex-direction: column; text-align: right; min-width: 0; } .fo-row-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-empty { padding: 18px; text-align: center; }
.fo-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; border: 1px solid #e3dcc6; background: #f8f4e7; color: #5c5442; }
.fo-chip.pin { background: #fff4cf; border-color: #e8cf7a; color: #7a5a00; } .fo-chip.lock { background: #eceef1; border-color: #cfd3d9; color: #3f434a; }
.fo-chip.st-open { background: #fde8eb; border-color: #f0a9b4; color: #b3263a; } .fo-chip.st-work { background: #fff1db; border-color: #f2c784; color: #8a5400; }
.fo-chip.st-done { background: #e3f6e8; border-color: #8fd3a2; color: #17803a; } .fo-chip.st-none { background: #eceef1; border-color: #cfd3d9; color: #5b6068; }
.fo-av { width: 40px; height: 40px; flex: 0 0 40px; } .fo-av.big { width: 64px; height: 64px; flex-basis: 64px; }
.fo-thead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .fo-thead-t { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.fo-thead h2 { margin: 0; overflow-wrap: anywhere; }
.fo-mod { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #f7f5ef; border-style: dashed; }
.fo-mod .inp-s { padding: 4px 8px; width: auto; }
.fo-posts { display: flex; flex-direction: column; gap: 10px; }
.fo-post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 16px; }
.fo-post.first { border-color: var(--gold); }
.fo-post.by-admin { background: linear-gradient(180deg, #fffaf0, #fff); }
.fo-pa { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; border-right: 1px solid #efe9da; padding-right: 12px; min-width: 0; }
.fo-pa-n { font-size: 15px; overflow-wrap: anywhere; } .fo-pa-t { color: var(--muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; overflow-wrap: anywhere; line-height: 1.25; }
.fo-pb { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fo-pmeta { display: flex; align-items: center; gap: 8px; } .fo-pmeta a { color: var(--muted); text-decoration: none; }
.fo-txt { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.fo-q { margin: 0; padding: 8px 12px; border-left: 4px solid var(--gold); background: #f8f4e7; border-radius: 0 10px 10px 0; font-size: 13px; color: #5c5442; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.fo-pfoot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px solid #f1ecdf; padding-top: 8px; }
.fo-del { margin: 0; }
.fo-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.fo-pager a, .fo-pager b { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: inherit; background: #fff; }
.fo-pager b { background: #33363c; color: #f0cf6a; border-color: #33363c; }
.fo-quoting[hidden] { display: none; } .fo-quoting { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fo-locked { text-align: center; color: var(--muted); }
.fo-edit { display: flex; flex-direction: column; gap: 8px; }
/* Reaktionen (Forum und Spielkommentare) */
.rx-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rx-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e3dcc6; background: #fff; border-radius: 999px; padding: 2px 9px; font: inherit; font-size: 14px; cursor: pointer; }
.rx-chip b { font-size: 12px; } .rx-chip:hover { border-color: var(--gold); }
.rx-chip.mine { background: #fff4cf; border-color: #d9b441; }
.rx-add { position: relative; display: inline-flex; }
.rx-plus { border: 1px dashed #d6ccb0; background: none; border-radius: 999px; padding: 2px 9px; font-size: 14px; cursor: pointer; color: var(--muted); }
.rx-plus i { font-style: normal; font-size: 11px; font-weight: 900; } .rx-plus:hover { border-color: var(--gold); color: var(--text); }
.rx-pick { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; display: flex; gap: 2px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(51, 54, 60, .18); }
.rx-pick[hidden] { display: none; }
.rx-pick button { border: 0; background: none; font-size: 20px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.rx-pick button:hover { background: #f8f4e7; transform: scale(1.12); }
@media (max-width: 900px) {
  .fo-cat { grid-template-columns: 46px minmax(0, 1fr) 64px 64px; } .fo-cat-last { display: none; }
  .fo-row { grid-template-columns: 36px minmax(0, 1fr) 64px 96px; } .fo-row .hide-s { display: none; }
}
@media (max-width: 700px) {
  .fo-cat { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 12px; } .fo-cat-ic { width: 44px; height: 44px; font-size: 22px; }
  .fo-cat-posts { display: none !important; } .fo-cat-name { font-size: 16px; }
  .fo-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 8px; } .fo-row-last { display: none; } .fo-av { width: 34px; height: 34px; flex-basis: 34px; }
  .fo-post { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .fo-pa-t { flex-direction: row; } .fo-pa { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: 1px solid #efe9da; padding: 0 0 8px; text-align: left; justify-content: flex-start; }
  .fo-av.big { width: 40px; height: 40px; flex-basis: 40px; }
  .fo-head .btn, .fo-thead .btn { width: 100%; }
  .rx-pick { left: auto; right: auto; }
}
/* Spielkommentare mit Antworten (25.11.2026) */
.mc-item { display: flex; flex-direction: column; gap: 6px; }
.mc-replies { margin-left: 22px; padding-left: 12px; border-left: 2px solid #efe9da; display: flex; flex-direction: column; gap: 8px; }
.mc-rf { display: flex; gap: 6px; } .mc-rf .inp { flex: 1; min-width: 0; }
.mc-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mcc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mcc-head .fo-av { width: 30px; height: 30px; flex-basis: 30px; }
.match-comments .mc-item { background: #fffdf6; }
.match-comments .mc-replies .mc-item { background: #fff; }
.match-comments .mc-list { display: flex; flex-direction: column; gap: 10px; }
.match-comments .mc-item { position: relative; }
.match-comments .mcc-head { padding-right: 30px; row-gap: 2px; }
.mc-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e3dcc6; background: #fff; color: #6b6558; font-size: 12px; cursor: pointer; }
.mc-del:hover { border-color: #d42f45; color: #d42f45; }

/* News: Login-Kalender, Tages-/Wochenaufgaben, Neuigkeiten (25.11.2026) */
.nw-wrap { max-width: 1100px; display: flex; flex-direction: column; gap: 14px; }
.cal-box { --th: #c9a227; background: linear-gradient(160deg, color-mix(in srgb, var(--th) 10%, #fff), #fff 55%); border-color: color-mix(in srgb, var(--th) 45%, #e3dcc6); }
.cal-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-head > div { flex: 1; min-width: 220px; } .cal-head h2 { margin: 0 0 2px; } .cal-head p { margin: 0; }
.cal-th-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: color-mix(in srgb, var(--th) 18%, #fff); border: 1px solid color-mix(in srgb, var(--th) 50%, #fff); }
.cal-cta { background: var(--th); color: #fff; font-weight: 900; padding: 6px 14px; border-radius: 999px; animation: calPulse 1.6s ease-in-out infinite; }
.cal-done { color: #17803a; font-weight: 800; }
/* „Startet am 1. Dezember“ dezent in der Monatsfarbe statt schwarz (Marcus, 26.11.2026: „wieder so mit so einem schwarzen Hintergrund gestaltet. Das bitte wieder angemessener machen.“) */
.cal-soon { background: color-mix(in srgb, var(--th) 12%, #fff); color: color-mix(in srgb, var(--th) 75%, #1a1a2e); border: 1px solid color-mix(in srgb, var(--th) 40%, #fff); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
/* Dezember: weihnachtlicher Rahmen – Girlande oben, Stechpalme rechts oben, leichte Schneeflocken */
.cal-box.cal-xmas { position: relative; overflow: hidden; padding-top: 34px; border: 2px solid #c8d9ee;
  background: radial-gradient(circle at 12% 30%, #ffffff 0 2px, transparent 3px) 0 0 / 46px 46px, radial-gradient(circle at 60% 70%, #dbe8f7 0 2px, transparent 3px) 0 0 / 64px 64px,
    radial-gradient(circle at 30% 80%, #e6eff9 0 1.5px, transparent 2.5px) 0 0 / 38px 38px, linear-gradient(170deg, #eef5fd, #fff 60%); }
.cal-garland { position: absolute; top: 0; left: 0; right: 0; height: 30px; pointer-events: none; }
.cal-garland svg { display: block; }
.cal-holly { position: absolute; top: 14px; right: 10px; pointer-events: none; }
.cal-xmas .cal-head { padding-right: 56px; }
/* Klausomir schaut im Rahmen der Kalender-Kachel vom rechten Rand herein (vom Kachelrand abgeschnitten), Kacheln liegen vor ihm */
.cal-xmas { --peek: 240px; }
.cal-xmas .cal-holly { display: none; }
.cal-peek { position: absolute; z-index: 0; right: calc(var(--peek) * -0.36); top: 22px; width: var(--peek); height: var(--peek); transform-origin: 70% 90%; animation: santaPeek 3.4s ease-in-out infinite; pointer-events: none; }
.cal-peek-m, .cal-peek-m .monster-svg { width: 100%; height: 100%; display: block; }
.cal-xmas .cal-head, .cal-xmas .cal-row, .cal-xmas .cal-miss { position: relative; z-index: 1; }
.cal-xmas .cal-head { padding-right: calc(var(--peek) * 0.64 + 190px); }
.cal-xmas .cal-bubble { position: absolute; z-index: 2; right: calc(var(--peek) * 0.62); top: 44px; max-width: 180px; padding: 9px 13px; border-radius: 16px; background: #fff; border: 2px solid #d62e3a;
  color: #8a1c24; font-weight: 900; font-size: 14px; line-height: 1.25; box-shadow: 0 4px 14px rgba(214, 46, 58, .18); }
.cal-xmas .cal-bubble::before { content: ''; position: absolute; right: -10px; top: 18px; border: 8px solid transparent; border-left-color: #d62e3a; border-right: 0; }
.cal-xmas .cal-bubble::after { content: ''; position: absolute; right: -6px; top: 20px; border: 6px solid transparent; border-left-color: #fff; border-right: 0; }
@keyframes santaPeek { 0%, 100% { transform: rotate(-12deg) translateX(0); } 50% { transform: rotate(-7deg) translateX(-10px); } }
@media (prefers-reduced-motion: reduce) { .cal-peek { animation: none; } }
@media (max-width: 1100px) { .cal-xmas { --peek: 190px; } .cal-xmas .cal-head { padding-right: calc(var(--peek) * 0.6); padding-top: 70px; } .cal-xmas .cal-bubble { top: 40px; } }
@media (max-width: 700px) { .cal-xmas { --peek: 140px; } .cal-xmas .cal-head { padding-top: 84px; padding-right: 0; } .cal-xmas .cal-bubble { font-size: 13px; max-width: calc(100% - 130px); } .cal-peek { top: 26px; } }
@media (max-width: 700px) { .cal-holly { width: 42px; height: 30px; top: 18px; right: 6px; } .cal-xmas .cal-head { padding-right: 36px; } }
.cal-miss { margin: 0 0 10px; color: #8a5400; }
@keyframes calPulse { 50% { transform: scale(1.06); } }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 8px 4px; border-radius: 14px;
  border: 1px solid #e3dcc6; background: #fff; font: inherit; color: inherit; cursor: default; transition: transform .15s ease, box-shadow .15s ease; transform-style: preserve-3d; }
.cal-d { position: absolute; top: 5px; left: 8px; font-size: 11px; font-weight: 900; color: var(--muted); }
.cal-ic { font-size: 26px; line-height: 1; }
.cal-l { font-size: 11px; font-weight: 800; text-align: center; line-height: 1.2; color: #5c5442; overflow-wrap: anywhere; }
.cal-t.k-pack, .cal-t.k-item, .cal-t.k-money { background: color-mix(in srgb, var(--th) 8%, #fff); border-color: color-mix(in srgb, var(--th) 35%, #e3dcc6); }
.cal-t.gift { background: linear-gradient(145deg, #fff4cf, #f0cf6a); border-color: #d9b441; box-shadow: 0 0 0 2px #f0cf6a55; } /* Feiertags-Geschenk */
/* Wochen-Bonus (letzter Tag der Woche): Band unten an der Kachel */
.cal-t[class*="wk-"] { padding-bottom: 0; } .cal-t[class*="wk-"] .cal-ic { margin-top: auto; } /* Inhalt mittig, Wochen-Bonus-Band darunter (nicht darüber) */
.cal-wk { align-self: stretch; margin: auto -4px 0; padding: 2px 2px; border-radius: 0 0 12px 12px; font-size: 10px; font-weight: 800; line-height: 1.3; background: #2f9150; color: #fff; text-align: center; }
.cal-t.wk-got .cal-wk { background: #8fbf9c; }
.cal-wk-it { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; }
.cal-wk-what { display: block; font-size: 9px; font-weight: 700; opacity: .95; } /* was es als Wochen-Bonus gibt */
.cal-wk-it svg { width: 100%; height: 100%; }
/* Feiertags-Geschenk: bekommt jeder, der sich an dem Tag einloggt */
.cal-gift { position: absolute; top: 4px; right: 5px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 1px 5px; border-radius: 6px; background: #d62e3a; color: #fff; }
@media (max-width: 700px) { .cal-gift { font-size: 8px; text-transform: none; letter-spacing: 0; padding: 1px 4px; top: 5px; right: 4px; } }
.cal-t.wk-lost .cal-wk { background: #b9b2a3; }
/* zweigeteilte Kachel: oben Feiertags-Geschenk, unten Wochen-Bonus – kompakt, die Reihe bleibt so niedrig wie sonst (Marcus, 26.11.2026: „schön dezent“) */
.cal-t.split { gap: 1px; }
.cal-t.split .cal-ic { margin-top: 12px; }
.cal-t.split .cal-ic.cal-itm svg { width: 32px; height: 32px; }
.cal-t.split .cal-l { font-size: 10px; line-height: 1.15; }
.cal-t.split .cal-fx { font-size: 8.5px; padding: 1px 4px; }
.cal-wk-half { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 4px; padding: 3px 2px 4px; border-top: 2px dashed #ffffffaa; font-size: 10px; line-height: 1.15; }
.cal-wk-half .cal-wk-what { font-size: 8.5px; }
.cal-wk-big { width: 18px; height: 18px; display: grid; place-items: center; font-size: 13px; }
.cal-wk-big svg { width: 100%; height: 100%; }
.cal-t.st-today { cursor: pointer; border: 2px solid var(--th); box-shadow: 0 0 0 4px color-mix(in srgb, var(--th) 25%, transparent), 0 8px 20px rgba(51, 54, 60, .15); animation: calGlow 1.8s ease-in-out infinite; }
.cal-t.st-today:hover { transform: translateY(-2px) scale(1.04); }
.cal-t.st-today:focus-visible { outline: 3px solid #33363c; outline-offset: 2px; }
@keyframes calGlow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--th) 18%, transparent), 0 8px 20px rgba(51, 54, 60, .15); } }
.cal-t.st-claimed { background: #e3f6e8; border-color: #8fd3a2; } .cal-t.st-claimed .cal-ic { color: #17803a; font-weight: 900; }
.cal-t.st-missed { opacity: .45; filter: grayscale(1); }
.cal-t.st-future { opacity: .85; }
.cal-t.flip { animation: calFlip .55s ease-in-out; }
.cal-t.pop { animation: calPop .5s ease-out; }
@keyframes calFlip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(1.1); } 100% { transform: rotateY(0) scale(1.05); } }
@keyframes calPop { 0% { transform: scale(1.25); box-shadow: 0 0 0 0 #f0cf6a; } 100% { transform: scale(1); box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { .cal-t, .cal-cta, .cal-t.st-today, .cal-t.flip, .cal-t.pop { animation: none !important; transition: none; } }
.nw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nw-tasks { display: flex; flex-direction: column; gap: 8px; }
.nw-tasks.week { background: linear-gradient(160deg, #f7f5ef, #fff 60%); }
.nw-th { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .nw-th h2 { margin: 0; }
.nw-m { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nw-m.ready { border-color: var(--yellow); background: #fffaf0; box-shadow: 0 0 14px rgba(255, 210, 63, .18); }
.nw-m.claimed { opacity: .55; }
.nw-m-main { flex: 1; min-width: 0; } .nw-m-t { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.nw-m-p { white-space: nowrap; color: var(--muted); font-weight: 800; }
.nw-ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e3f6e8; color: #17803a; font-weight: 900; }
.nw-hint { margin: 2px 0 0; }
.np-page { max-width: none; } .np-page .np-greet { border-radius: 14px; }
@media (max-width: 900px) { .nw-cols { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .cal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .cal-t { min-height: 74px; } .cal-ic { font-size: 22px; } .cal-l { font-size: 10px; }
  .cal-th-ic { width: 44px; height: 44px; font-size: 24px; }
}

/* Bug melden (Community, 26.11.2026) */
.bug-wrap { max-width: 900px; display: flex; flex-direction: column; gap: 14px; }
.bug-form { display: flex; flex-direction: column; gap: 12px; }
.bug-h { display: flex; gap: 14px; align-items: flex-start; } .bug-h h2 { margin: 0 0 4px; } .bug-h p { margin: 0; }
.bug-ic { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: #fde8eb; border: 1px solid #f0a9b4; }
.bug-form textarea { width: 100%; resize: vertical; font: inherit; line-height: 1.45; }
.bug-item { padding: 10px 0; border-top: 1px solid #efe9da; display: flex; flex-direction: column; gap: 4px; } .bug-item:first-of-type { border-top: 0; }
.bug-t { white-space: pre-line; overflow-wrap: anywhere; }

/* News: „Heute, Wochentag:“ oben (26.11.2026) */
.nw-today { border-color: var(--gold); background: linear-gradient(160deg, #fffaf0, #fff 60%); display: flex; flex-direction: column; gap: 6px; }
.nw-today h2 { margin: 0 0 4px; } .nw-today h2 span { color: var(--muted); font-size: .75em; font-weight: 700; }
.nw-quiet { margin: 0; }

/* Login-Kalender in einer Reihe mit Pfeilen, erste Kachel = heute (26.11.2026) */
.cal-row { display: flex; align-items: center; gap: 8px; }
.cal-strip { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0; overscroll-behavior-x: contain; }
.cal-strip::-webkit-scrollbar { display: none; }
.cal-strip .cal-t { flex: 0 0 calc((100% - 6 * 8px) / 7); scroll-snap-align: start; min-height: 96px; }
.cal-nav { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--th) 45%, #e3dcc6); background: #fff; color: var(--text); font-size: 24px; font-weight: 900; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(51, 54, 60, .12); }
.cal-nav:hover:not(:disabled) { background: color-mix(in srgb, var(--th) 12%, #fff); }
.cal-nav:disabled { opacity: .35; cursor: default; box-shadow: none; }
.cal-nav:focus-visible { outline: 3px solid var(--th); outline-offset: 2px; }
i.mz.cal-mz { width: 26px; height: 26px; margin: 0; vertical-align: middle; }
@media (max-width: 700px) {
  .cal-strip .cal-t { flex-basis: calc((100% - 2 * 8px) / 3); min-height: 86px; }
  .cal-nav { flex-basis: 32px; height: 32px; font-size: 20px; }
  i.mz.cal-mz { width: 22px; height: 22px; }
}
@media (min-width: 701px) and (max-width: 1100px) { .cal-strip .cal-t { flex-basis: calc((100% - 4 * 8px) / 5); } }

/* Kalender: Sondergegenstände mit Bild und Werten (26.11.2026) */
.cal-ic.cal-itm svg { width: 46px; height: 46px; display: block; }
.cal-fx { font-size: 10px; font-weight: 900; line-height: 1.2; text-align: center; padding: 1px 6px; border-radius: 999px; background: #f3efe3; }
.cal-fx.rar-1 { background: #e3f6e8; color: #17803a; } .cal-fx.rar-2 { background: #e6f0fd; color: #1f62b8; }
.cal-strip .cal-t { min-height: 112px; }
@media (max-width: 700px) { .cal-ic.cal-itm svg { width: 38px; height: 38px; } .cal-strip .cal-t { min-height: 104px; } }
.cal-ic.cal-itm svg { width: 60px; height: 60px; }
.cal-l { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 700px) { .cal-ic.cal-itm svg { width: 48px; height: 48px; } }

/* Booster-Shop am PC: alle 6 Packs in einer Reihe (Marcus, 26.11.2026: „Mach auch, dass die Booster-Pakete, die 6 Stück, alle nebeneinander passen bei der Webansicht.“);
   dafür kompaktere Karten. Schmaler (1024–1199 px): 3 + 3 */
@media (min-width: 1024px) {
  .packs.packs-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1200px) { .packs.packs-shop { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; } }
/* kompakte Pack-Karten überall; Handy 2, Tablet 3 nebeneinander */
@media (max-width: 1023px) { .packs.packs-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 700px) { .packs.packs-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media all {
  .packs.packs-shop .pack { padding: 14px 8px 12px; border-radius: 16px; }
  .packs.packs-shop .pack .foil.packbag { width: 112px; height: 180px; }
  .packs.packs-shop .pack h3 { font-size: 16px; }
  .packs.packs-shop .pack p.small, .packs.packs-shop .pack .small.muted { font-size: 11.5px; line-height: 1.3; }
  .packs.packs-shop .pack > .small { font-size: 12px; }
  .packs.packs-shop .pack .odds { gap: 3px; }
  .packs.packs-shop .pack .odds .pill { font-size: 10.5px; padding: 2px 6px; }
  .packs.packs-shop .pack .price { font-size: 15.5px; white-space: normal; }
  .packs.packs-shop .pack .lock { font-size: 11px; }
  .packs.packs-shop .pack .btn:not(.is-locked), .packs.packs-shop .pack .btn { font-size: 13px; padding: 8px 10px; }
  .packs.packs-shop .pk-rib { font-size: 9px; width: 130px; left: -32px; top: 10px; }
}

/* Pack-Karte: nur Band, Bild, Name, Preis, Kaufen – Infos hinter „!“ (Marcus, 26.11.2026) */
.packs.packs-shop .pack .btn[data-pack] { margin-right: 36px; }
.pk-info { position: absolute; right: 10px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #f0cf6a; background: #2a2d32; color: #f0cf6a; font-weight: 900; font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pk-info:hover { background: #f0cf6a; color: #2a2d32; }
.pk-info-lock { color: #b3261e; font-weight: 800; }

/* Sperr-Grund auf dem Kaufknopf darf umbrechen */
.packs.packs-shop .pack .btn.is-locked { white-space: normal; line-height: 1.2; font-size: 12px; }

/* Pack-Info im Pop-up-Stil des Spiels */
.pk-ask-ico { width: 64px; height: 102px; margin: -4px auto 6px; filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--pc) 45%, transparent)); }
.pk-ask-ico svg { width: 100%; height: 100%; display: block; }
.pk-ask-odds { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; text-align: left; }
.pk-ask-row { display: grid; grid-template-columns: 82px 1fr 52px; align-items: center; gap: 8px; font-size: 13.5px; }
.pk-ask-row .pill { justify-self: start; }
.pk-ask-row b { text-align: right; }
.pk-ask-bar { height: 8px; border-radius: 999px; background: #efe6cc; overflow: hidden; }
.pk-ask-bar i { display: block; height: 100%; border-radius: 999px; }
.rar-bg-0 { background: #9aa3ad; } .rar-bg-1 { background: #2fbf6a; } .rar-bg-2 { background: #3d8bff; } .rar-bg-3 { background: #a95cff; } .rar-bg-4 { background: #e3b21b; } .rar-bg-5 { background: #2ad4e0; }

/* Weihnachts-Banner über dem Booster-Shop (Dezember) */
.xmas-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 10px 16px; border-radius: 16px; color: #fff;
  background: radial-gradient(circle at 15% 30%, rgba(255,255,255,.25) 0 2px, transparent 3px) 0 0 / 36px 36px, linear-gradient(120deg, #a81f2c, #d62e3a 45%, #1f6e3a); border: 2px solid #f0cf6a; box-shadow: 0 8px 20px -8px rgba(168, 31, 44, .6); }
.xmas-banner .xb-m { flex: 0 0 auto; width: 74px; height: 74px; }
.xmas-banner .xb-m .monster-svg { width: 100%; height: 100%; display: block; }
.xmas-banner b { display: block; font-size: 19px; font-style: italic; color: #ffe27a; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.xmas-banner span { font-size: 13px; line-height: 1.35; }
.pk-ask-xmas { color: #a81f2c; font-weight: 800; }
@media (max-width: 700px) { .xmas-banner { padding: 8px 12px; } .xmas-banner .xb-m { width: 58px; height: 58px; } .xmas-banner b { font-size: 16px; } }

/* Levelring auch im Admin-Bereich (Marcus, 26.11.2026); große Ansicht mit dickerem Ring */
.adm-uav[class*="mrav-"] { border-width: 5px !important; }

/* gespieltes Freundschaftsspiel in den Form-Wochen: Gegner, Ergebnis, Link zum Spiel */
.fw.gespielt { background: #f4f1e8; border-color: #d8cfb6; }
.fw.gespielt .fw-score { display: block; text-align: center; margin: 3px 0; padding: 2px 10px; border-radius: 8px; font-weight: 900; font-size: 15px; color: #fff; text-decoration: none; background: #8a8f99; }
.fw.gespielt.res-w .fw-score { background: #2f9150; } .fw.gespielt.res-l .fw-score { background: #c23a3a; }
.fw-btn[href] { display: block; text-align: center; text-decoration: none; }

/* Gegner mit Wappen und Manager/Spitzname in den Form-Wochen-Kacheln */
.fw-opp { display: flex; align-items: center; gap: 6px; min-width: 0; }
.fw-logo { flex: 0 0 26px; width: 26px; height: 26px; } .fw-logo svg, .fw-logo img { width: 100%; height: 100%; display: block; }
.fr-wk .fw-opp { padding: 0 8px 0 10px; } .fw-ot { min-width: 0; display: flex; flex-direction: column; } .fr-wk .fw-opp .fw-o { padding: 0; }
.fw-mgr { font-size: 10.5px; font-weight: 800; color: #8a6510; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Form-Wochen-Kacheln elegant und schlank (Marcus, 26.11.2026: „Mach die Grafiken aber bitte sehr schön, elegant und schlank.“) */
.fr-wk { gap: 6px; }
.fr-wk .fw { min-height: 92px; gap: 2px; border-radius: 12px; border: 1px solid #e6dfcc !important; box-shadow: 0 1px 4px rgba(60,45,10,.05); }
.fr-wk .fw-d { background: none; color: #33363c; padding: 6px 10px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; border-bottom: 2px solid var(--fwc, #e6dfcc); }
.fr-wk .fw-k { margin-top: 5px; font-size: 9.5px; letter-spacing: .08em; }
.fr-wk .fw-opp { gap: 6px; margin-top: 1px; }
.fw-logo { flex-basis: 20px; width: 20px; height: 20px; }
.fr-wk .fw-o { font-size: 12px; line-height: 1.2; }
.fw-mgr { font-size: 10px; font-weight: 700; color: #9a8a5c; }
.fr-wk .fw-a { padding: 0 8px 7px; }
.fr-wk .fw-btn { padding: 4px 4px; font-size: 11px; border-radius: 7px; box-shadow: none; background: #33363c; color: #f0cf6a; }
.fr-wk .fw-btn.ghost { background: transparent; color: #8a6510; border: 1px solid #e0d4ae; }
.fr-wk .fw-btn.ghost:hover { background: #fff8e2; }
.fr-wk .fw-note { font-size: 10px; }
.fr-wk .fw.gespielt { --fwc: var(--res, #8a8f99); }
.fr-wk .fw.gespielt.res-w { --res: #2f9150; } .fr-wk .fw.gespielt.res-l { --res: #c23a3a; } .fr-wk .fw.gespielt.res-d { --res: #8a8f99; }
.fr-wk .fw.gespielt .fw-score { align-self: center; margin: 4px 0 2px; padding: 1px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; letter-spacing: .04em; background: var(--res); }
.fr-wk .fw.gespielt .fw-btn { background: transparent; color: #33363c; border: 1px solid #d8cfb6; }
.fr-wk .fw.liga { background: repeating-linear-gradient(135deg, #f7f4ec 0 6px, #f0ebdf 6px 12px) !important; }
.fr-wk .fw.frei .fw-btn { background: transparent; color: #8a6510; border: 1px dashed #d4b45a; }
.fr-wk .fw.frei .fw-btn:hover { background: #fff8e2; }
@media (max-width: 700px) { .fr-wk .fw { min-height: 0; } }
.fr-wk .fw-btn.ghost[data-fwithdraw] { color: #c0263d; border-color: #efc0c7; } .fr-wk .fw-btn.ghost[data-fwithdraw]:hover { background: #fff1f3; }
/* noch eleganter (Marcus, 26.11.2026: „Das Ergebnis muss gar nicht so fett sein, also so breit sein wie der Absageknopf … Es kann alles ein bisschen eleganter sein.“):
   Ergebnis als schlichte Zahl in Ergebnisfarbe, Knöpfe nur so breit wie ihr Text */
.fr-wk .fw.gespielt .fw-score { background: none; color: var(--res); padding: 0; margin: 4px 0 0; font-size: 15px; font-weight: 800; letter-spacing: .06em; border-radius: 0; }
.fr-wk .fw.gespielt .fw-score:hover { text-decoration: underline; }
.fr-wk .fw-a { display: flex; justify-content: center; }
.fr-wk .fw-btn, .fr-wk .fw-btn[href] { width: auto; display: inline-block; padding: 3px 10px; font-size: 10.5px; font-weight: 700; border-radius: 999px; }
.fr-wk .fw.gespielt .fw-btn { border: none; color: #8a6510; padding: 2px 6px; }
.fr-wk .fw.gespielt .fw-btn:hover { text-decoration: underline; background: none; }

/* Freundschaftsspiele schicker (Marcus, 26.11.2026: „Das sieht mir jetzt so steril und zu beige aus … oben die Info mit dieser gelben Box, das sieht mir so sehr nach Word“) –
   Info als Anthrazit-Karte mit Fortschrittsring, Kacheln mit Statusfarbe als Verlauf im Kopf */
.fr-formhint.fh2 { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 0; border-radius: 16px; color: #e9e4d6;
  background: radial-gradient(circle at 0% 0%, rgba(240,207,106,.18), transparent 55%), linear-gradient(135deg, #3a3d44, #2b2d33); box-shadow: 0 8px 24px -10px rgba(20,16,8,.5), inset 0 0 0 1px rgba(240,207,106,.25); }
.fh2-ring { flex: 0 0 74px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#f0cf6a calc(var(--p) * 1%), rgba(255,255,255,.1) 0); position: relative; }
.fh2-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #2f3238; }
.fh2-ring b { position: relative; font-size: 24px; font-weight: 900; color: #f0cf6a; } .fh2-ring small { font-size: 13px; color: #b9ad8a; }
.fh2-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; line-height: 1.4; color: #d8d2c2; }
.fh2-t > b { font-size: 16px; color: #fff; } .fh2-t span b { color: #f0cf6a; }
.fh2-open { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: rgba(240,207,106,.16); color: #f0cf6a; font-weight: 800; font-size: 12px; }
.fh2-note { font-size: 11.5px; color: #9c9584; }
@media (max-width: 700px) { .fr-formhint.fh2 { padding: 12px; gap: 12px; } .fh2-ring { flex-basis: 60px; width: 60px; height: 60px; } .fh2-ring b { font-size: 20px; } }

.fr-wk .fw { background: #fff !important; border: 0 !important; box-shadow: 0 4px 14px -6px rgba(40,30,10,.25), 0 0 0 1px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; }
.fr-wk .fw:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(40,30,10,.35), 0 0 0 1px rgba(0,0,0,.05); }
.fr-wk .fw-d { color: #fff; border-bottom: 0; padding: 7px 10px; background: linear-gradient(135deg, var(--fh1, #6b6558), var(--fh2, #4a4640)); }
.fr-wk .fw.belegt { --fh1: #3a3d44; --fh2: #24262b; --fwt: #33363c; }
.fr-wk .fw.reserviert { --fh1: #e3b23c; --fh2: #b98412; --fwt: #9a6c00; }
.fr-wk .fw.gespielt.res-w { --fh1: #34a35e; --fh2: #1f7a42; } .fr-wk .fw.gespielt.res-l { --fh1: #d2474f; --fh2: #9f2a31; } .fr-wk .fw.gespielt.res-d { --fh1: #8a8f99; --fh2: #63676f; }
.fr-wk .fw.gespielt .fw-k { color: var(--res); }
.fr-wk .fw.frei { --fh1: #f6efd9; --fh2: #eadfbe; background: linear-gradient(180deg, #fffdf6, #fbf6e8) !important; box-shadow: inset 0 0 0 1.5px #ecdfb8; }
.fr-wk .fw.frei .fw-d { color: #8a6510; }
.fr-wk .fw.liga { --fh1: #4b4f57; --fh2: #33363c; background: linear-gradient(180deg, #e9e6df, #dedad1) !important; }
.fr-wk .fw.liga .fw-k { color: #5a5e66; }
.fr-wk .fw.vorbei { --fh1: #b8b3a6; --fh2: #a09a8b; opacity: .65; }
.fr-wk .fw.belegt { --fh1: #2f9b74; --fh2: #1d6e51; --fwt: #1d6e51; } /* bestätigt = grün (Marcus, 24.11.2026) */

/* Kapazität auf einen Blick (Stadion) */
.cap-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 12px; }
.cap-bar > div { border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; }
.cap-now, .cap-then { background: linear-gradient(135deg, #3a3d44, #2b2d33); color: #e9e4d6; min-width: 150px; }
.cap-now span, .cap-then span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #b9ad8a; font-weight: 800; }
.cap-now b, .cap-then b { font-size: 26px; color: #f0cf6a; line-height: 1.1; } .cap-now small, .cap-then small { font-size: 11.5px; color: #c9c2ae; }
.cap-then { background: linear-gradient(135deg, #2f9b74, #1d6e51); } .cap-then b { color: #fff; } .cap-then span, .cap-then small { color: #d8f3e7; }
.cap-build { flex: 1; min-width: 220px; background: #fff; box-shadow: 0 0 0 1px #e6dfcc; gap: 3px; font-size: 13px; }
.cap-step { font-size: 12px; color: #5a5446; }

/* großes Stadionbild mit Ausbaustufe (Stadion oben) */
.cap-hero { flex: 0 0 300px; padding: 6px 10px 10px !important; background: linear-gradient(180deg, #8fd16a, #5fa844); color: #fff; }
.cap-hero .stadium-svg { width: 100%; height: 210px; display: block; }
.cap-step-n { font-size: 13px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.35); } .cap-step-n b { color: #ffe27a; } .cap-step-n small { display: block; font-size: 11.5px; font-weight: 600; }
@media (max-width: 700px) { .cap-hero { flex-basis: 100%; } }

/* Platzschlüssel der Stadionbereiche */
.sec-key { display: flex; align-items: center; gap: 8px; margin: 3px 0; } .sec-key-bar { flex: 1; max-width: 160px; height: 6px; border-radius: 3px; background: #e8e2d4; overflow: hidden; }
.sec-key-bar i { display: block; height: 100%; background: #5fa844; border-radius: 3px; } .sec-key-bar i.full { background: #d98b1f; }
.sec-key-full { color: #9a5a00; margin-top: 3px; }
/* Stadionpersonal */
.sf-page { max-width: 1180px; margin: 0 auto; }
.sf-hero { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; margin-bottom: 14px;
  background: linear-gradient(120deg, #23262f, #343949); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sf-hero h2 { margin: 0 0 4px; color: #ffe27a; } .sf-hero p { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.45; color: #e8e8ee; }
.sf-sum { display: flex; gap: 10px; } .sf-sum > div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 110px; }
.sf-sum small { display: block; font-size: 11px; color: #c9cbd6; } .sf-sum b { font-size: 20px; color: #fff; }
.sf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-bottom: 12px; }
.sf-role { background: #fff; border: 1px solid #ece6d8; border-radius: 16px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 8px; }
.sf-role.is-hired { border-color: #9fd38a; box-shadow: 0 2px 10px rgba(95,168,68,.18); }
.sf-role header { display: flex; gap: 10px; align-items: flex-start; } .sf-role h3 { margin: 0 0 2px; font-size: 16px; }
.sf-ric { font-size: 26px; width: 42px; height: 42px; border-radius: 12px; background: #f6f1e6; display: grid; place-items: center; flex: 0 0 42px; }
.sf-per { background: #f7f5ef; border-radius: 8px; padding: 5px 9px; }
.sf-free { font-size: 12.5px; font-weight: 700; color: #8a7d62; margin-top: 2px; }
.tk-who { display: flex; gap: 6px; margin: 0 0 10px; } .tk-who .btn { flex: 1; }
.sf-free.sf-more { white-space: normal !important; min-height: 0 !important; margin-top: 6px; overflow: visible !important; }
.sf-person { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #efe9dc; border-radius: 12px; padding: 8px; background: #fffdf8; }
.sf-person.hired { background: linear-gradient(180deg, #f2fbee, #fff); border-color: #cfe8c3; }
.sf-art { position: relative; flex: 0 0 96px; width: 96px; height: 96px; } .sf-art svg { width: 100%; height: 100%; }
.sf-badge { position: absolute; right: -4px; bottom: -2px; font-size: 18px; background: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.sf-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .sf-name { font-weight: 800; font-size: 14px; }
.sf-stars { color: #f0b400; font-size: 14px; letter-spacing: 1px; } .sf-stars i { color: #ddd6c6; font-style: normal; }
.sf-skills { display: flex; flex-direction: column; gap: 2px; } .sf-sk { display: grid; grid-template-columns: 82px 1fr 16px; gap: 6px; align-items: center; font-size: 11.5px; color: #555; }
.sf-bar { height: 6px; border-radius: 3px; background: #eee8da; overflow: hidden; } .sf-bar i { display: block; height: 100%; background: linear-gradient(90deg, #5fa844, #9bd35a); }
.sf-sk b { text-align: right; font-size: 11px; }
.sf-fx { font-size: 12px; font-weight: 700; color: #2f7d1f; } .sf-contract { font-size: 12px; color: #555; }
.sf-info .btn { align-self: flex-start; margin-top: 3px; }
.sf-neg-fx { margin: 8px 0 2px; padding: 6px 10px; border-radius: 8px; background: #f2fbee; color: #2f7d1f; font-size: 13px; }
.ng-head.has-badge { position: relative; } .ng-head .sf-badge { left: 132px; right: auto; top: 6px; bottom: auto; z-index: 2; }
@media (max-width: 700px) { .sf-hero { padding: 14px; } .sf-sum { width: 100%; } .sf-sum > div { flex: 1; } }

/* Ersatzbank neu (Marcus, 26.11.2026: „Verändere optisch die Ersatzbank, dass sie schöner ist“): dunkle Trainerbank mit Glasdach, Coach im Scheinwerferlicht,
   jeder Bankplatz als eigener Sitz mit Farbkante der Rolle (TW gelb, ABW blau, MF grün, ST pink, Extras lila). Gestaltung Claudes Setzung. */
.pitch-bench .bench-col { position: relative; overflow: hidden; background: linear-gradient(180deg, #3b4049 0%, #2b2e35 60%, #24272d 100%); border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px rgba(20,22,28,.22); border-radius: 18px; }
.pitch-bench .bench-col::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: linear-gradient(180deg, rgba(170,215,255,.55), rgba(170,215,255,.08));
  border-bottom: 2px solid rgba(255,255,255,.22); pointer-events: none; }
.bench-col .bc-title { color: #ffe27a !important; font-size: 9.5px; letter-spacing: .16em; display: flex; align-items: center; gap: 4px; width: 100%; justify-content: center; }
.bench-col .bc-title::before, .bench-col .bc-title::after { content: ''; flex: 1; height: 1px; background: rgba(255,226,122,.35); max-width: 14px; }
.bench-col .bc-slot.hc { background: radial-gradient(circle at 50% 38%, rgba(255,210,63,.38), rgba(255,210,63,0) 68%); padding: 4px 0 6px; border-radius: 14px; }
.bench-col .bc-slot.hc .bc-nr { color: #ffe27a !important; }
.bench-col .bc-slot[data-role] { --role: #b9b3d6; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 6px 3px 7px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.07); border-bottom: 3px solid var(--role);
  transition: background .15s, transform .15s; }
.bench-col .bc-slot[data-role="TW"] { --role: #ffd23f; } .bench-col .bc-slot[data-role="ABW"] { --role: #3d9bff; } .bench-col .bc-slot[data-role="MF"] { --role: #3ddc84; } .bench-col .bc-slot[data-role="ST"] { --role: #ff4fa3; }
.bench-col .bc-slot[data-role]:hover { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); transform: translateY(-1px); }
.bench-col .bc-slot[data-role].sel { background: rgba(255,210,63,.18); border-color: rgba(255,210,63,.6); }
.bench-col .bc-slot[data-role] .bc-role { margin-bottom: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.bench-col .bc-slot[data-role="X"] .bc-role, .bench-col .bc-slot[data-role="X2"] .bc-role { background: #b9b3d6; }
.bench-col .bc-slot[data-filled="0"] .face { background: rgba(255,255,255,.04); border: 2px dashed rgba(255,255,255,.28) !important; box-shadow: none !important; }
.bench-col .bc-slot[data-filled="0"] .plus { color: rgba(255,255,255,.55); font-size: 20px; }
.bench-col .bc-slot[data-filled="0"] .bc-nr { color: rgba(255,255,255,.55); font-weight: 700; }
.bench-col .bc-slot .bc-lbl { background: rgba(0,0,0,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
@media (min-width: 701px) {
  .pitch-bench .bench-col { width: 96px !important; flex: 0 0 96px !important; align-self: stretch; gap: 7px; padding: 18px 7px 10px; }
  .pitch-bench .bench-col .bc-slot[data-role] { flex: 1 1 0; justify-content: center; max-height: 128px; }
  .bench-col .bc-slot .bc-lbl { max-width: 84px; }
}
@media (max-width: 700px) { .pitch-bench .bench-col { padding-top: 18px !important; } }

/* Anfrage der Stadt für ein Stadion-Event (annehmen/ablehnen) */
.ev-offer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; margin: 0 0 12px; border-radius: 14px; background: linear-gradient(120deg, #23262f, #3a2f4f); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.ev-ic { font-size: 30px; } .ev-t { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; } .ev-t small { color: #ffe27a; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.ev-t b { font-size: 15px; } .ev-t span { font-size: 13px; color: #dcdce6; } .ev-t span b { color: #ffe27a; font-size: 13px; } .ev-b { display: flex; gap: 8px; } .ev-b .ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* Stadion: Zoom-Prozent und Tabelle „Was ein Platz bringt und kostet“ */
.st-zpct { display: inline-block; min-width: 46px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.seat-pay { background: #fffdf6; border: 1px solid #ece4cf; border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; }
.sp-h { font-size: 13.5px; margin-bottom: 6px; }
.sp-tbl td, .sp-tbl th { vertical-align: top; padding: 6px 6px; } .sp-tbl th { font-size: 11.5px; white-space: nowrap; }
.sp-tbl td small { display: block; font-size: 10.5px; color: #8a8270; font-weight: 600; line-height: 1.25; } .sp-tbl td b { font-size: 14px; }
.sp-tbl td.pos b { color: #2f7d1f; } .sp-tbl td.neg b { color: #b0412b; } .sp-tbl td:first-child { white-space: nowrap; font-weight: 700; } .sp-ic { font-size: 15px; }
.sp-notes { margin: 6px 0 0; padding-left: 18px; } .sp-notes li { margin: 2px 0; }

.sp-list { display: flex; flex-direction: column; gap: 6px; }
.sp-card { background: #fff; border: 1px solid #efe7d4; border-radius: 10px; padding: 6px 8px; }
.sp-n { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.sp-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sp-g > div { background: #f8f5ec; border-radius: 8px; padding: 4px 6px; display: flex; flex-direction: column; line-height: 1.2; }
.sp-g small { font-size: 10px; color: #8a8270; font-weight: 700; } .sp-g b { font-size: 14px; font-variant-numeric: tabular-nums; }
.sp-g .pos b { color: #2f7d1f; } .sp-g .neg b { color: #b0412b; }
@media (max-width: 420px) { .sp-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* News: Schlagwörter auf hellem Grund gut lesbar (Marcus, 26.11.2026: „Das gelb ist schwer lesbar“) – dunkles Braun auf hellem Gold statt Gelb auf Creme */
.nw-today .np-ft, .np-page .np-ft { background: #fbe6a6 !important; color: #5a3d00 !important; border: 1px solid #e3c35f; font-size: 11.5px; }
.nw-today .np-f.warn .np-ft, .np-page .np-f.warn .np-ft { background: #fde7ea !important; color: #9b1f17 !important; border-color: #f0b4b0; }

/* ---------- Stadionseite neu (26.11.2026): Reiter Übersicht / Plätze / Einrichtungen / Gelände ---------- */
.sd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .sd-head h2 { margin: 0; } .sd-name { font-size: 13px; color: var(--muted); font-weight: 700; }
.sd-top { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr); gap: 14px; align-items: start; }
.sd-hero { border-radius: 16px; padding: 10px 14px 14px; background: linear-gradient(180deg, #8fd16a, #5fa844); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.sd-hero .stadium-svg { width: 100%; height: 260px; display: block; }
.sd-step { font-size: 15px; font-weight: 800; } .sd-step b { color: #ffe27a; } .sd-nextst { font-size: 12px; font-weight: 600; opacity: .95; }
.sd-right { display: flex; flex-direction: column; gap: 10px; }
.sd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sd-kpi { background: #fff; border: 1px solid #ece4cf; border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; }
.sd-kpi small { font-size: 11px; font-weight: 800; color: #8a8270; text-transform: uppercase; letter-spacing: .04em; } .sd-kpi b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sd-kpi span { font-size: 12px; color: #6d6758; } .sd-kpi.warn { border-color: #e9c46a; background: #fff9e8; } .sd-kpi.warn span { color: #9a5a00; font-weight: 700; }
.sd-hist, .sd-namebox, .sd-builds { background: #fff; border: 1px solid #ece4cf; border-radius: 12px; padding: 9px 12px; }
.sd-ht, .sd-namebox label { display: block; font-size: 11px; font-weight: 800; color: #8a8270; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.sd-hist .att-bars { height: 46px; } .sd-hs { font-size: 12px; color: #6d6758; margin-top: 4px; }
.sd-builds { margin-top: 12px; } .sd-bl { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; border-top: 1px solid #f2ecdd; } .sd-bl:first-of-type { border-top: 0; }
.sd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.sd-card { background: #fff; border: 1px solid #ece4cf; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.sd-ch { display: flex; align-items: center; gap: 8px; } .sd-ch b { font-size: 15px; flex: 1; } .sd-ic { font-size: 22px; }
.sd-big { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sd-sub { font-size: 12px; color: #6d6758; } .sd-desc { font-size: 12.5px; color: #4d4839; line-height: 1.35; }
.sd-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sd-money > span { background: #f8f5ec; border-radius: 8px; padding: 5px 7px; display: flex; flex-direction: column; font-weight: 900; font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sd-money small { font-size: 10px; font-weight: 700; color: #8a8270; } .sd-money .pos { color: #2f7d1f; } .sd-money .neg { color: #b0412b; }
.sd-per { font-size: 11px; color: #8a8270; }
.sd-build { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: end; border-top: 1px solid #f2ecdd; padding-top: 8px; }
.sd-build label { font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 3px; } .sd-build .inp { width: 100%; }
.sd-max { grid-column: 1 / -1; font-size: 11px; color: #8a8270; } .sd-prev { grid-column: 1 / -1; font-size: 12.5px; }
.sd-done { font-size: 12.5px; font-weight: 800; color: #8a6510; } .sd-busy { font-size: 12.5px; font-weight: 800; color: #6d6758; } .sd-lock { font-size: 12.5px; font-weight: 700; color: #9a5a00; }
.sd-dots { display: inline-flex; gap: 3px; } .sd-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e6dfcc; } .sd-dots i.on { background: #d4a72c; }
.sd-nx { display: flex; flex-direction: column; background: #f8f5ec; border-radius: 8px; padding: 6px 9px; font-size: 12px; color: #6d6758; } .sd-nx b { font-size: 13.5px; color: #2a2d32; }
.sd-card .btn { align-self: flex-start; } .sd-card .gain { margin: 0; }
.sd-foot { font-size: 12px; color: #8a8270; margin: 10px 2px 0; line-height: 1.45; }
.sd-maptools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
#sd-map .map-scroll { max-height: 78vh; }
@media (max-width: 900px) { .sd-top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sd-hero .stadium-svg { height: 200px; } .sd-kpi b { font-size: 20px; } .sd-grid { grid-template-columns: 1fr; } .sd-head .btn { font-size: 12px; } }
.sd-head .btn { white-space: nowrap; }

/* Plätze-Karten immer gleich aufgebaut, Vorschau mit fester Höhe (Marcus, 26.11.2026: „Außerdem muss sie gleich aussehen. Die springt hier eine Anzeige.“) */
#sd-seats .sd-card { justify-content: flex-start; } #sd-seats .sd-build { margin-top: auto; min-height: 178px; align-content: start; }
#sd-seats .sd-prev { min-height: 96px; } .sd-nobuild { display: flex !important; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 13px; color: #8a6510; background: #f8f5ec; border-radius: 10px; border-top: 0 !important; }
.sd-pend { color: #8a6510; }

/* Maskottchen-Auswahl (Verein) und Profilkarte */
.masc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.masc-opt { background: #f8f5ec; border: 2px solid transparent; border-radius: 12px; padding: 6px 4px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; }
.masc-opt svg { width: 84px; height: 108px; } .masc-opt span { font-weight: 800; font-size: 12.5px; color: #2a2d32; } .masc-opt i { font-style: normal; font-size: 11px; font-weight: 800; color: #8a6510; }
.masc-opt:hover { border-color: #e3c35f; } .masc-opt.on { border-color: #d4a72c; background: #fff6d6; box-shadow: 0 0 0 3px rgba(212,167,44,.2); }
.tp-masc { display: flex; justify-content: center; } .tp-masc svg { width: 120px; height: 154px; }

/* Maskottchen-Baukasten (Verein → Maskottchen) */
.v-masc { padding: 16px; } .mk-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.mk-left { position: sticky; top: 70px; background: linear-gradient(180deg, #8fd16a, #5fa844); border-radius: 16px; padding: 14px; text-align: center; }
.mk-prev svg { width: 100%; height: 330px; } .mk-pname { font-size: 20px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.mk-form { display: flex; flex-direction: column; gap: 10px; } .mk-name { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 13px; max-width: 320px; }
.mk-h { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #8a8270; margin-bottom: 4px; }
.mk-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 6px; } .mk-opts .masc-opt svg { width: 64px; height: 82px; } .mk-opts .masc-opt span { font-size: 11.5px; }
.mk-cols { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; } .mk-cols label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 700; }
.sf-costume { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #6d6758; } .sf-costume svg { width: 34px; height: 44px; flex: 0 0 34px; }
@media (max-width: 700px) { .mk-wrap { grid-template-columns: 1fr; } .mk-left { position: static; } .mk-prev svg { height: 240px; } }

/* Einrichtungen: Baupläne, Wirkung A → B, Lage-Bonus auf dem Gelände */
.sd-h3 { margin: 14px 2px 8px; font-size: 16px; } .sd-h3:first-child { margin-top: 0; }
.sd-tag { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #eef0f4; color: #4d5361; white-space: nowrap; } .sd-tag.money { background: #fbe6a6; color: #5a3d00; }
.sd-ab { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; background: #fff9e8; border: 1px solid #f0dfa6; border-radius: 8px; padding: 5px 9px; }
.sd-ab span { color: #6d6758; } .sd-ab i { font-style: normal; color: #b08a1e; font-weight: 900; } .sd-ab b { color: #2a2d32; }
.sd-chain { display: flex; flex-wrap: wrap; gap: 4px; } .sd-chain span { font-size: 11px; background: #f3efe3; border-radius: 6px; padding: 2px 6px; color: #4d4839; } .sd-chain small { color: #8a6510; font-weight: 800; }
.sd-plan { font-size: 12.5px; font-weight: 800; color: #5a3d00; background: #fbe6a6; border-radius: 8px; padding: 5px 9px; }
.tile.free .mult { font-size: 13px; padding: 3px 8px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* Personal-Kacheln überall gleich groß (Marcus, 26.11.2026: „Sauber die Kacheln machen, dass die nicht unterschiedlich groß sind“): feste Höhen je Zeile,
   Knopf immer unten; Kopf der Spalten gleich hoch; Kostüm des Maskottchens klein unter dem Bild statt eigener Zeile */
.sf-role header { min-height: 92px; } .sf-role header .small { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sf-per { min-height: 46px; display: flex; align-items: center; } .sf-free { min-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-person { height: 236px; box-sizing: border-box; align-items: stretch; }
.sf-art { display: flex; flex-direction: column; align-items: center; height: auto; } .sf-art > svg { width: 96px; height: 96px; flex: 0 0 96px; }
.sf-info { height: 100%; } .sf-name { min-height: 2.5em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-fx { min-height: 2.6em; line-height: 1.3; } .sf-contract { min-height: 2.6em; line-height: 1.3; } .sf-info .btn { margin-top: auto; }
.sf-costume { display: flex; flex-direction: column; align-items: center; margin-top: 6px; text-decoration: none; font-size: 10.5px; font-weight: 800; color: #8a6510; gap: 0; }
.sf-costume svg { width: 44px; height: 56px; }
@media (max-width: 700px) { .sf-person { height: auto; min-height: 220px; } .sf-role header { min-height: 0; } .sf-per { min-height: 0; } }
.sf-per { display: block !important; padding-top: 6px; } .sf-person { height: 258px; } .sf-fx { min-height: 3.9em; font-size: 11.5px; }
.sf-art > .sf-badge { top: 70px; bottom: auto; right: -4px; }

/* Maskottchen-Farben: 5 Felder + Farbfelder zum Antippen */
.mk-col { padding: 4px 6px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; } .mk-col.on { border-color: #d4a72c; background: #fff6d6; }
.mk-sw { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.mk-swb { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #2a2d32; cursor: pointer; padding: 0; } .mk-swb:hover { transform: scale(1.12); }

/* Login-Kalender: Kachel mit Wochen-Bonus-Band – Münzen/Belohnung auf derselben Höhe wie in den anderen Kacheln (Marcus, 26.11.2026: „Wenn die Kachel bei Münzen
   unterteilt ist, wie im 13., dann möchte ich, dass die Münzenanzeige trotzdem auf derselben Höhe ist wie die anderen.“): Band unten fest angeheftet, Inhalt mittig wie überall */
.cal-t[class*="wk-"]:not(.split) { padding-bottom: 8px; }
.cal-t[class*="wk-"]:not(.split) .cal-ic { margin-top: 0; }
.cal-t[class*="wk-"]:not(.split) .cal-wk { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
.cal-strip .cal-t { min-height: 128px; } .cal-strip .cal-t > .cal-ic:first-of-type { margin-bottom: 0; }
@media (max-width: 700px) { .cal-strip .cal-t { min-height: 118px; } }

/* Maskottchen-Seite im Vereins-Stil (26.11.2026): Vorschau im dunklen Kopf statt grüner Fläche, Karten wie im Reiter Verein */
.mk-hero { grid-template-columns: 220px 1fr !important; } .mk-hero .mk-prev { width: 220px; height: 260px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(240,207,106,.22), rgba(255,255,255,.03) 70%); }
.mk-hero .mk-prev svg { width: 100%; height: 100%; } .mk-del { margin-top: 10px; color: #f3ecd6 !important; border-color: rgba(255,255,255,.35) !important; }
.mk-miss { border-color: #e5484d !important; box-shadow: 0 0 0 3px rgba(229,72,77,.35) !important; }
.mk-body .mk-opts { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } .mk-body .masc-opt { background: #fbf8f0; border: 2px solid #efe8d6; } .mk-body .masc-opt.on { border-color: #d4a72c; background: #fff6d6; }
.mk-body .masc-opt svg { width: 72px; height: 92px; }
@media (max-width: 700px) { .mk-hero { grid-template-columns: 1fr !important; justify-items: center; } .mk-hero .mk-prev { width: 180px; height: 214px; } }
.mk-body .mk-opts { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); } .mk-body .masc-opt svg { width: 66px; height: 84px; }

/* Einrichtungen: Stufen-Karussell (wischbar), klare Beschriftung (26.11.2026) */
.lv-intro { background: #fff9e8; border: 1px solid #f0dfa6; border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
.lv-card { gap: 8px; } .lv-h { display: flex; flex-direction: column; flex: 1; min-width: 0; } .lv-h b { font-size: 15px; } .lv-cur { font-size: 12px; font-weight: 800; color: #8a6510; }
.lv-what { min-height: 2.6em; }
.lv-car { position: relative; display: flex; align-items: stretch; gap: 4px; }
.lv-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; -webkit-overflow-scrolling: touch; }
.lv-track::-webkit-scrollbar { display: none; }
.lv-s { flex: 0 0 82%; scroll-snap-align: start; border-radius: 12px; border: 2px solid #ece4cf; background: #fbf8f0; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; box-sizing: border-box; }
.lv-s.have { background: #f4f1e8; } .lv-s.cur { border-color: #d4a72c; background: #fff6d6; } .lv-s.next { border-color: #2a2d32; background: #fff; } .lv-s.lock { opacity: .72; }
.lv-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; } .lv-n { font-size: 11px; font-weight: 900; color: #8a8270; text-transform: uppercase; letter-spacing: .05em; }
.lv-b { font-size: 10.5px; font-weight: 900; padding: 2px 8px; border-radius: 999px; white-space: nowrap; } .lv-b.have { background: #d4a72c; color: #fff; } .lv-b.done { background: #e8e2d0; color: #5d5543; }
.lv-b.next { background: #2a2d32; color: #ffe27a; } .lv-b.lock { background: #eee9dc; color: #8a8270; }
.lv-name { font-size: 15px; } .lv-row { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.3; } .lv-row small { font-size: 10.5px; font-weight: 800; color: #8a8270; text-transform: uppercase; letter-spacing: .03em; }
.lv-fx span { font-weight: 800; color: #2a2d32; } .lv-act { margin-top: auto; padding-top: 4px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lv-lock { font-size: 12px; font-weight: 800; color: #8a8270; } .lv-ok { font-size: 12px; font-weight: 800; color: #8a6510; }
.lv-arr { flex: 0 0 26px; border: 0; border-radius: 8px; background: #f3efe3; font-size: 20px; font-weight: 900; color: #5d5543; cursor: pointer; } .lv-arr:hover { background: #ece4cf; }
@media (max-width: 700px) { .lv-arr { display: none; } .lv-s { flex-basis: 86%; } }
.sd-big { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; } .sd-big small { font-size: 10.5px; font-weight: 800; color: #8a8270; text-transform: uppercase; letter-spacing: .04em; }

.lv-s.lv-have { background: #f4f1e8; } .lv-s.cur { border-color: #d4a72c; background: #fff6d6; } .lv-s.lv-next { border-color: #2a2d32; background: #fff; } .lv-s.lv-lk { opacity: .75; }
.lv-s.lv-lk, .lv-s.lv-lk * { color: #6d6758 !important; } .lv-s.lv-lk .lv-b { background: #eee9dc; }
.sd-grid > * { min-width: 0; } .lv-card { min-width: 0; overflow: hidden; }

/* Profilkarte: Star-Monster (z. B. Diamant mit Flügeln) nicht mehr rechts abgeschnitten (Marcus, 26.11.2026, Bild Meine Profilkarte) – kleiner skaliert, Platz nach rechts */
.pk-hero { padding-right: 34px; } .pk-full svg { transform: scale(1.08) !important; transform-origin: 50% 70%; }
.pk-hero > .pk-star { overflow: visible; } @media (max-width: 700px) { .pk-hero { padding-right: 18px; } }
.pk-hero > .pk-star { margin-right: 14px; } @media (max-width: 700px) { .pk-hero > .pk-star { margin-right: 12px; } }

/* Einrichtungen im MonsterLiga-Stil (26.11.2026, Marcus: „sieht extrem hässlich aus und entspricht auch nicht unserer UI/UX“): dunkler Kartenkopf, Stufen-Punkte,
   je Stufe ein großes Bild (Entwicklung sichtbar), Werte als Kacheln */
#sd-fac .lv-card { padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid #e3dcc6; background: #fff; box-shadow: 0 4px 14px rgba(42,45,50,.08); gap: 0; }
.fx-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #2a2d32, #3a3e47); color: #f3ecd6; border-bottom: 3px solid var(--gold); }
.fx-ic { font-size: 26px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.08); border-radius: 12px; }
.fx-hn { display: flex; flex-direction: column; min-width: 0; } .fx-hn b { font-size: 16px; font-style: italic; color: #fff; } .fx-hn span { font-size: 12px; font-weight: 800; color: #f0cf6a; }
.fx-what { padding: 10px 14px 4px; font-size: 12.5px; color: #4d4839; line-height: 1.4; min-height: 2.8em; }
#sd-fac .lv-car { flex-direction: column; gap: 8px; padding: 6px 14px 14px; }
.fx-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.fx-chip { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d9d1bc; background: #f4f1e8; color: #8a8270; font-weight: 900; font-size: 13px; cursor: pointer; padding: 0; flex: 0 0 30px; transition: transform .15s; }
.fx-chip.done { background: #f0cf6a; border-color: #c9a227; color: #2a2d32; } .fx-chip.cur { background: #c9a227; color: #fff; } .fx-chip.next { border-color: #2a2d32; background: #fff; color: #2a2d32; }
.fx-chip.on { transform: scale(1.18); box-shadow: 0 0 0 3px rgba(201,162,39,.35); } .fx-line { flex: 1 1 14px; max-width: 28px; height: 3px; background: #e3dcc6; }
#sd-fac .lv-track { gap: 0; } #sd-fac .lv-s { flex: 0 0 100%; padding: 0; border: 0; background: none; border-radius: 0; gap: 0; }
#sd-fac .lv-s.lv-lk { opacity: 1; } #sd-fac .lv-s.lv-lk .fx-art { filter: grayscale(.85) brightness(1.05); opacity: .75; }
.fx-art { position: relative; border-radius: 12px; overflow: hidden; background: #f4f1e8; aspect-ratio: 160 / 96; } .fx-art svg.fx-svg { width: 100%; height: 100%; display: block; }
.fx-bld { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(180deg, #e6f4ff, #cfe8c4); } .fx-bld svg { height: 92%; width: auto; }
.fx-badge { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.fx-badge.cur { background: #c9a227; color: #fff; } .fx-badge.done { background: #f0cf6a; color: #2a2d32; } .fx-badge.next { background: #2a2d32; color: #f0cf6a; } .fx-badge.lk { background: #e8e2d0; color: #6d6758; }
.fx-body { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.fx-lvname small, .fx-gain small, .fx-meta small { display: block; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #8a8270; }
.fx-lvname b { font-size: 17px; font-style: italic; color: #2a2d32; }
.fx-gain { background: #fff9e8; border: 1px solid #f0dfa6; border-radius: 10px; padding: 7px 10px; } .fx-gain b { font-size: 14px; color: #2a2d32; }
.fx-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .fx-meta span { background: #f8f5ec; border-radius: 10px; padding: 6px 8px; } .fx-meta b { font-size: 13px; color: #2a2d32; }
#sd-fac .lv-act { padding-top: 2px; } #sd-fac .lv-act .btn { align-self: stretch; text-align: center; } #sd-fac .lv-act .gain { margin: 0; }
#sd-fac .lv-lock { color: #8a8270; } #sd-fac .lv-ok { color: #8a6510; }
#sd-fac .lv-s.lv-lk, #sd-fac .lv-s.lv-lk * { color: inherit !important; }
@media (max-width: 700px) { .fx-meta { grid-template-columns: 1fr 1fr 1fr; } .fx-meta b { font-size: 12px; } .fx-chip { width: 28px; height: 28px; flex-basis: 28px; } }
#sd-fac .lv-track { padding: 0 !important; scroll-padding: 0; } #sd-fac .lv-s { scroll-snap-stop: always; }
/* Profilkarte: Star-Monster senkrecht mittig im Kopf (Marcus, 26.11.2026: „Im Profil zu hoch oben, näher am Rand als unten“) – gleicher Abstand oben und unten */
@media (min-width: 701px) {
  .pk-hero > .pk-star { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 0; }
  .pk-full { width: 150px; height: 150px; margin: 0 !important; } .pk-full svg { transform: scale(1) !important; }
}
@media (min-width: 701px) { .pk-hero > .pk-star { padding: 24px 0 6px; } }
@media (max-width: 700px) { .pk-hero > .pk-star { align-self: center !important; justify-content: center !important; } }
@media (max-width: 700px) { .pk-hero > .pk-star { padding-top: 13px; } }

/* Plätze einfacher (26.11.2026) */
#sd-seats .pl-card { padding: 0; overflow: hidden; border-radius: 16px; gap: 0; box-shadow: 0 4px 14px rgba(42,45,50,.08); }
.pl-card .fx-hn span { font-weight: 600; color: #cfc4a6; font-size: 11.5px; } .pl-have { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.pl-have small { font-size: 10.5px; font-weight: 900; color: #f0cf6a; text-transform: uppercase; letter-spacing: .05em; } .pl-have b { font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.05; }
.pl-art { position: relative; } .pl-art svg { width: 100%; display: block; aspect-ratio: 2 / 1; }
.pl-body { display: flex; flex-direction: column; gap: 9px; padding: 12px 14px 14px; flex: 1; }
.pl-occ { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #4d4839; } .pl-occ i { height: 8px; border-radius: 4px; background: #eee8da; overflow: hidden; } .pl-occ i b { display: block; height: 100%; background: linear-gradient(90deg, #c9a227, #f0cf6a); }
.fx-gain span { display: block; font-size: 12.5px; color: #4d4839; margin-top: 2px; }
.pl-meta em { display: block; font-style: normal; font-size: 10.5px; color: #8a8270; }
.pl-buy { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid #f2ecdd; padding-top: 10px; margin-top: auto; } .pl-bh { font-weight: 800; font-size: 13px; } .pl-bh small { font-weight: 600; color: #8a8270; }
.pl-q { display: flex; gap: 6px; flex-wrap: wrap; } .pl-q .inp { flex: 1; min-width: 80px; } .pl-qb { border: 1.5px solid #e3c35f; background: #fff9e8; border-radius: 999px; padding: 5px 11px; font-weight: 800; font-size: 12.5px; cursor: pointer; } .pl-qb:hover { background: #fbe6a6; }
.pl-pv { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; font-size: 12.5px; color: #4d4839; } .pl-prev .gain { margin-top: 6px; }
.pl-buy .btn { align-self: stretch; text-align: center; }
.pl-nobuy { margin-top: auto; text-align: center; font-weight: 800; color: #8a6510; background: #f8f5ec; border-radius: 10px; padding: 12px; }
.pl-rm { font-size: 12px; color: #8a8270; align-self: flex-start; }
/* Personal: Inhalt links statt mittig (Marcus, 26.11.2026) */
.sf-page { max-width: none !important; margin: 0 !important; }
/* Stadionseite auf großen Bildschirmen links statt mittig (Marcus, 26.11.2026: „Inhalt vielleicht links ausgerichtet ist auf der Seite und nicht mittig“) */
body:has(.sd-head) main { margin-left: 0; max-width: 1600px; }

/* Reiter: Hover gut sichtbar (Marcus, 26.11.2026: „wenn ich darüber hover, ist das Anthrazit auf schwarz. Man sieht das kaum.“) – helles Gold mit dunkler Schrift;
   aktiver Reiter bleibt dunkel mit Goldschrift */
.tr-tabs a:not(.on):hover, .league-tabs.tr-tabs a:not(.on):hover, .tr-tabs button:not(.on):hover { background: #f3e2a6 !important; color: #2a2d32 !important; }
.tr-tabs a.on:hover { background: #33363c !important; color: #ffe27a !important; }

/* Einrichtungen: alle Karten gleich aufgebaut (Marcus, 26.11.2026: „dass die Kacheln alle gleich groß sind und nicht den Inhalt so hoch und runter springen“):
   Kopf, Beschreibung (max. 3 Zeilen), Stufen-Punkte, Bild, Werte und Aktionsbereich mit festen Höhen */
#sd-fac .sd-grid { align-items: stretch; } #sd-fac .lv-card { height: 100%; display: flex; flex-direction: column; }
#sd-fac .fx-head { min-height: 66px; box-sizing: border-box; } #sd-fac .fx-hn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sd-fac .fx-what { height: 4.4em; min-height: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; box-sizing: content-box; }
#sd-fac .lv-car { flex: 1; } #sd-fac .lv-track { flex: 1; align-items: stretch; } #sd-fac .lv-s { display: flex; flex-direction: column; }
#sd-fac .fx-lvname b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sd-fac .fx-gain { min-height: 62px; box-sizing: border-box; } #sd-fac .fx-gain b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#sd-fac .fx-meta span { min-height: 54px; box-sizing: border-box; }
#sd-fac .fx-body { flex: 1; } #sd-fac .lv-act { min-height: 118px; justify-content: flex-start; }
#sd-fac .fx-lvname { height: 40px; overflow: hidden; } #sd-fac .fx-gain { height: 66px; min-height: 0; overflow: hidden; }
#sd-fac .fx-gain span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#sd-fac .lv-act { min-height: 130px; }

.mk-qdot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 1.5px solid #2a2d32; }

/* Übersicht: Ausbaustufen 1–12 durchblättern */
.sd-hero { display: flex; flex-direction: column; gap: 6px; } .sd-hart > svg { width: 100%; height: 300px; display: block; border-radius: 12px; }
.sd-hsteps { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; } .sd-hsteps .fx-chip { width: 26px; height: 26px; flex: 0 0 26px; font-size: 11.5px; text-shadow: none; }
.sd-hnav { display: flex; align-items: center; gap: 8px; } .sd-htxt { flex: 1; min-width: 0; }
.sd-harr { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; } .sd-harr:hover { background: rgba(0,0,0,.4); }
.sd-hero.preview { background: linear-gradient(180deg, #6d8fb3, #4b6b8f); }
@media (max-width: 700px) { .sd-hart > svg { height: 220px; } .sd-hsteps .fx-chip { width: 22px; height: 22px; flex-basis: 22px; font-size: 10.5px; } }

.pl-seg { display: grid; grid-template-columns: 1fr 1fr; background: #f3efe3; border-radius: 10px; padding: 3px; gap: 3px; }
.pl-seg button { border: 0; background: none; border-radius: 8px; padding: 7px 6px; font-weight: 800; font-size: 12.5px; color: #6d6758; cursor: pointer; }
.pl-seg button.on { background: #2a2d32; color: #f0cf6a; } .pl-seg button:not(.on):hover { background: #f3e2a6; color: #2a2d32; }
.pl-mode { display: flex; flex-direction: column; gap: 7px; } .pl-qb.rm { border-color: #f0b4b0; background: #fdf1f0; } .pl-qb.rm:hover { background: #fbd9d6; }
.pl-mode .btn { align-self: stretch; text-align: center; }

/* Plätze: „im Bau“ im Kopf unter „Du hast“ statt als Schild im Bild (Marcus, 26.11.2026) */
.pl-pend { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 800; color: #2a2d32; background: #f0cf6a; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pl-card .fx-head { align-items: center; } .pl-have { align-items: flex-end; }
.pl-card .fx-hn span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .pl-card .fx-hn { flex: 1; } .pl-have { flex: 0 0 auto; }

/* Plätze: Auswahl = Ausführung, Abreißen zurückhaltend (Marcus, 26.11.2026) */
.pl-seg button.on { background: #fff; color: #2a2d32; box-shadow: 0 1px 4px rgba(0,0,0,.12); } .pl-seg .pl-seg-rm { color: #8a8270; font-weight: 700; }
.pl-seg .pl-seg-rm.on { color: #9b1f17; }
.pl-go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .pl-gob { padding: 10px 4px !important; text-align: center; font-size: 14px !important; }
.pl-gob.rm { color: #9b1f17 !important; border-color: #f0b4b0 !important; background: #fff !important; }
.pl-own { display: flex; gap: 6px; } .pl-own .inp { flex: 1; min-width: 0; }

/* Stadionbild in der Übersicht immer blau (Marcus, 26.11.2026: „Lass es doch alles blau“) */
.sd-hero, .sd-hero.preview { background: linear-gradient(180deg, #6d8fb3, #4b6b8f) !important; }
/* Einrichtungen: weniger Weißraum unten (Marcus, 26.11.2026: „unten ist ziemlich viel weiß … Kachel kleiner machen“) – Aktionsbereich nur so hoch wie nötig, Karten einer Reihe weiter gleich hoch */
#sd-fac .lv-act { min-height: 0 !important; margin-top: auto; } #sd-fac .lv-card { height: auto; } #sd-fac .lv-car { padding-bottom: 12px; }
#sd-fac .lv-act .gain { font-size: 12px; padding: 6px 8px; }
#sd-fac .lv-card { height: 100%; }
#sd-fac .fx-gain b b { display: inline !important; -webkit-line-clamp: unset; }

.ein-tabs { display: inline-flex; background: #f3efe3; border-radius: 12px; padding: 4px; gap: 4px; margin: 0 0 12px; flex-wrap: wrap; }
.ein-tabs button { border: 0; background: none; border-radius: 9px; padding: 8px 16px; font-weight: 800; font-size: 14px; color: #6d6758; cursor: pointer; }
.ein-tabs button.on { background: #2a2d32; color: #f0cf6a; } .ein-tabs button:not(.on):hover { background: #f3e2a6; color: #2a2d32; }

/* Gelände auf dem Handy (Marcus, 26.11.2026: „Sieht nicht so gut aus passe das mobil an“): Lage-Schild einzeilig und klein („+19 %“, außen „0 %“),
   Stadion nur mit Platzzahl, Bauzeit ohne Sanduhr – nichts wird mehr abgeschnitten */
.tile .mm { display: none; }
@media (max-width: 700px) {
  .tile .mw { display: none; } .tile .mm { display: inline; }
  .tile.free .mult { font-size: 11px; padding: 2px 6px; border-radius: 8px; white-space: nowrap; margin-top: 3px; line-height: 1.25; }
  .tile.free .plus { font-size: calc(var(--tile) * .28); }
  .tile.free { border-width: 1.5px; }
  .tile .tlabel { font-size: 9px; padding: 1px 5px; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
}

/* Kopfleiste: eigenes Spiel läuft (Marcus, 26.11.2026) */
.tb-live { display: inline-flex; align-items: center; gap: 5px; background: #e63946; color: #fff !important; font-weight: 900; font-size: 13px; letter-spacing: .5px;
  border-radius: 999px; padding: 5px 11px; margin-right: 8px; text-decoration: none; box-shadow: 0 2px 8px rgba(230,57,70,.45); white-space: nowrap; }
.tb-live[hidden] { display: none; }
.tb-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: tbLive 1.2s ease-in-out infinite; }
.tb-live b { font-weight: 800; opacity: .9; }
.tb-live:hover { background: #c92d39; }
@keyframes tbLive { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 700px) { .tb-live { font-size: 11px; padding: 4px 8px; margin-right: 4px; } .tb-live b { display: none; } }
@media (max-width: 700px) { .topbar #tb-live { order: 3; flex: none; margin-right: 0; } }

/* Admin-Testspiel */
.adm-tq { display: flex; flex-wrap: wrap; gap: 6px; } .adm-tq .qd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }

/* Knöpfe in den Einrichtungs-Karten sauber und flach (Marcus, 26.11.2026: „rechts und links unten ist so ein braunes Etwas … sieht aus wie so ein Viereck, was falsch geschnitten ist“):
   kein abgeschnittener 3D-Schatten mehr, gleichmäßig runde Ecken */
#sd-fac .lv-act .btn, #sd-fac .lv-act button { box-shadow: 0 2px 6px rgba(42,45,50,.14) !important; border-radius: 12px !important; transform: none !important; }
#sd-fac .lv-act .btn:not(:disabled):hover { filter: brightness(1.05); }
#sd-fac .lv-act .btn.lv-info { background: #eef7ee !important; color: #2e6b35 !important; border: 1.5px solid #bfe3c4 !important; box-shadow: none !important; opacity: 1 !important; cursor: default; font-weight: 800; white-space: normal; line-height: 1.25; }
#sd-fac .lv-act .btn.lv-info:disabled { filter: none !important; }

/* Hinweise in den Einrichtungs-Karten immer einzeilig (Marcus, 26.11.2026) */
#sd-fac .lv-one { white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
#sd-fac .sd-busy.lv-one { padding: 7px 10px; border-radius: 10px; font-size: 13px; }

/* Profilkarte: Stadionbild mit Umgebung (Marcus, 26.11.2026) */
.tp-stad.tp-scene > svg { width: 100%; height: auto; aspect-ratio: 1.6; display: block; border-radius: 10px; }

/* Werbe-Angebote: Fläche groß und deutlich (Marcus, 26.11.2026: „ob es für eine Bandenwerbung Anbieter ist oder Ärmelbieter. Das ist zu klein geschrieben, man übersieht das schnell.“) */
.ad-for { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; background: linear-gradient(135deg, #f0cf6a, #d8a400); color: #2a2d32; border-bottom: 2px solid #b88a00; }
.ad-for-ic { font-size: 26px; line-height: 1; } .ad-for small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; opacity: .75; }
.ad-for b { display: block; font-size: 17px; font-weight: 900; line-height: 1.15; }
/* Spitzname löschen (Marcus, 26.11.2026) */
.mg-in .mg-fixed { flex: 1; border-radius: 0; }
.mg-in button.nick-del { background: #fff; color: #c1121f; border-left: 1px solid #e4dccb; }
.mg-in button.nick-del:hover { background: #fdecee; }
/* Rückennummern: Positionsfilter und Werte beim Drüberfahren (Marcus, 26.11.2026) */
.nr-filter { gap: 12px; margin: 4px 0 10px; flex-wrap: wrap; align-items: center; }
.nr-c { position: relative; }
.nr-c.used.dim { opacity: .28; }
.nr-nm { position: relative; overflow: visible; }
.nr-tip { display: none; position: absolute; z-index: 40; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: #23252c; color: #fff; border: 1px solid #c9a227;
  border-radius: 10px; padding: 7px 9px; box-shadow: 0 8px 22px rgba(0,0,0,.35); white-space: nowrap; pointer-events: none; text-align: left; }
.nr-nm .nr-tip { left: 0; transform: none; }
.nr-c:hover .nr-tip, .nr-c:focus .nr-tip, .nr-row:hover .nr-tip { display: block; }
.nr-tip-h { display: block; font-size: 12px; margin-bottom: 5px; color: #f0cf6a; }
.nr-tip-h b { color: #fff; }
.nr-tip .grp-avg { margin: 0; }
.nr-c .nr-tip span, .nr-tip .ga i, .nr-tip .ga b { max-width: none; overflow: visible; }
.nr-c .nr-tip { max-width: none; overflow: visible; font-size: 12px; }
.nr-c .nr-tip .ga { font-size: 11px; }
.nr-c .nr-tip .ga, .nr-c.used .nr-tip .ga { color: #3f434a; }
.nr-c.used .nr-tip .ga.top, .nr-c.used .nr-tip .ga.top i { color: #17803a; } .nr-c.used .nr-tip .ga.low, .nr-c.used .nr-tip .ga.low i { color: #c0263d; }
.nr-c.used .nr-tip-h { color: #f0cf6a; }
.nr-tip .grp-avg { flex-wrap: nowrap; justify-content: flex-start; }

/* Besonderheit in der Spielerkarte heller und lesbarer (Marcus, 26.11.2026: „Ich kann bei den Player-Karten nicht so gut seine Talente lesen. Das ist ein bisschen dunkel …
   schöner designen“): helle Gold-Plakette, dunkle Schrift, „Im Spiel“ in eigenem weißen Kasten mit grünem Rand. Gestaltung Claudes Setzung. */
.modal .ab-big { background: linear-gradient(160deg, #fffaf0 0%, #fff1c4 100%); color: #33363c; box-shadow: inset 0 0 0 2px #d8a400, 0 6px 18px rgba(150,110,10,.18); padding: 12px 14px; }
.modal .ab-big::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); }
.modal .ab-big .ab-k { display: inline-block; background: #33363c; color: #f0cf6a; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.modal .ab-big .ab-n { color: #33363c; font-size: 23px; text-shadow: none; margin: 6px 0 0; }
.modal .ab-big .ab-f { color: #6b6150; font-style: italic; font-size: 14px; }
.modal .ab-big .ab-t { color: #145c30 !important; background: #fff; border: 1px solid #cfe9d6; border-left: 5px solid #1f9d55; border-radius: 10px; padding: 8px 10px; font-size: 15px; line-height: 1.4; margin: 8px 0 6px; position: relative; z-index: 1; }
.modal .ab-big .small.muted { color: #7a6f55 !important; }
.modal .ab-big.team { box-shadow: inset 0 0 0 3px #d8a400, 0 0 20px rgba(255,200,40,.45), 0 6px 18px rgba(150,110,10,.2); }
.modal .ab-big.locked { background: #f3efe3; box-shadow: inset 0 0 0 2px #d9d1bb; color: #6b6450; }
.modal .ab-big.locked .ab-n { color: #6b6450; }
/* Freundesliste: Spitzname zurücknehmen */
.fr-nickdel { border: 0; background: none; color: #c1121f; cursor: pointer; font-size: 12px; font-weight: 800; padding: 0 4px; }

/* Rückennummern: Filter als Knöpfe, Zeilen ohne Überdeckung (Marcus, 26.11.2026: „dass das ein Filter ist nach Position und dass nicht irgendwelche Details … überdeckt werden“) */
.nr-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 12px; padding: 10px 12px; background: #f7f3e8; border: 1px solid #e3dcc6; border-radius: 12px; }
.nr-fl { font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a6510; margin-right: 4px; }
.nr-fb { border: 1px solid #d9d1bb; background: #fff; color: #33363c; border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.nr-fb em { font-style: normal; font-weight: 700; font-size: 11px; color: #8a7a4a; margin-left: 2px; }
.nr-fb:hover { border-color: #c9a227; }
.nr-fb.on { background: #33363c; color: #f0cf6a; border-color: #33363c; }
.nr-fb.on em { color: #e9e4d6; }
.nr-fh { flex-basis: 100%; margin-top: 2px; }
.nr-row { align-items: center; }
.nr-nm { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; overflow: visible; min-width: 0; }
.nr-nm > b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-pos { display: flex; flex-wrap: wrap; gap: 3px; }
.nr-pos .pos-chip { margin: 0; }
.nr-row select.inp { flex: 0 0 132px; width: 132px; }

/* Rechtsklick „wohin?“: je Station Trainer, Belegung und Platz in der Reihe (Marcus, 26.11.2026) */
.tg-ctx:has(.tc-st) { width: 300px; }
.tg-ctx button.tc-st { display: block; padding: 7px 9px; border-bottom: 1px solid #f0e9d6; border-radius: 8px; }
.tg-ctx button.tc-st.here { opacity: 1; background: #f3efe3; }
.tc-st .tc-l1 { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; color: #33363c; }
.tc-st .tc-l1 i { margin-left: auto; font-style: normal; font-size: 12px; color: #6d6555; font-weight: 700; }
.tc-st .tc-l2 { display: block; font-size: 12px; color: #6b5a1a; margin-top: 2px; }
.tc-st .tc-l2 em { font-style: normal; color: #9a927f; }
.tc-st .tc-l3 { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin-top: 4px; font-size: 11.5px; }
.tc-st .tc-occ { color: #5c5546; }
.tc-st .tc-pl { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: #eee8d8; color: #5c5546; font-weight: 800; }
.tc-st .tc-pl.ok { background: #e3f6e8; color: #17803a; }
.tc-st .tc-pl.no { background: #fff0e0; color: #b45309; }

/* Freundesliste neu (Marcus, 26.11.2026: „Die ganze Freundschaftsframe sieht aus wie ein klickbares Element, ist es aber nicht, nur der Name. Gestalte mal bitte komplettes Frame … in schön um.“):
   ruhige Karte ohne Hover-Fläche; klickbar sind nur Logo und Name (mit ›) sowie die Knöpfe unten. Gestaltung Claudes Setzung. */
.fr-list { display: grid; gap: 10px; }
.fr-card { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 12px 14px; background: #fffdf6; border: 1px solid #e3dcc6; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.fr-logo { width: 48px; height: 48px; display: block; border-radius: 12px; }
.fr-logo .logo-sm { width: 48px; height: 48px; }
.fr-main { min-width: 0; }
.fr-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fr-name { font-weight: 900; font-size: 17px; color: #33363c; text-decoration: none; }
.fr-name:hover { color: #8a6510; text-decoration: underline; }
.fr-card .fr-name::after { content: "›"; display: inline-block; margin-left: 5px; color: #c9a227; font-weight: 900; transition: transform .15s; }
.fr-card .fr-name:hover::after { transform: translateX(3px); }
.fr-real { font-size: 12px; color: #8a7a4a; }
.fr-team { font-size: 13.5px; color: #3f434a; font-weight: 600; margin-top: 1px; }
.fr-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #7a7262; margin-top: 3px; }
.fr-seen::before { content: "●"; color: #b8b0a0; margin-right: 4px; font-size: 9px; vertical-align: 1px; }
.fr-card .fr-acts { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding-top: 10px; border-top: 1px dashed #e3dcc6; }
.fr-tools { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.fr-tool { border: 0; background: none; color: #6b6150; font: inherit; font-size: 12.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.fr-tool:hover { background: #f3efe3; color: #33363c; }
.fr-tool.red { color: #b3263a; }
.fr-tool.red:hover { background: #fdecee; }
@media (max-width: 700px) { .fr-tools { margin-left: 0; } }

/* Wettbewerb gründen: Teilnahme-Optionen (Marcus, 26.11.2026) */
.cup-opt { margin-top: 10px; padding: 10px 12px; background: #f7f3e8; border: 1px solid #e3dcc6; border-radius: 12px; }
.cup-opt-h { font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #8a6510; margin: 6px 0 5px; }
.cup-opt-h:first-child { margin-top: 0; }
.cup-seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid #d9d1bb; border-radius: 999px; overflow: hidden; background: #fff; }
.cup-seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 800; padding: 7px 14px; cursor: pointer; color: #33363c; }
.cup-seg button + button { border-left: 1px solid #e3dcc6; }
.cup-seg button.on { background: #33363c; color: #f0cf6a; }
.cup-auto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; font-size: 13.5px; }
.cup-auto .small { flex-basis: 100%; margin-left: 22px; }

/* Beta-Hinweis auf der Startseite (Marcus, 26.11.2026) */
.beta-promo { position: relative; overflow: hidden; margin-top: 22px; max-width: 580px; padding: 18px 20px 16px; border-radius: 18px; color: #f3ecd6;
  background: radial-gradient(circle at 90% -10%, rgba(240,207,106,.45), transparent 55%), linear-gradient(150deg, #2b2e35, #1d1f24); box-shadow: inset 0 0 0 2px #c9a227, 0 14px 34px rgba(0,0,0,.28); }
.beta-promo::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,240,180,.16), transparent); animation: abShine 5s ease-in-out infinite; pointer-events: none; }
.bp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-chip { background: linear-gradient(180deg, #f3d77a, #d4a52a); color: #1d1f24; font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.bp-date { color: #f0cf6a; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.bp-h { font-size: 28px; font-weight: 900; line-height: 1.1; margin: 10px 0 10px; color: #fff; text-shadow: 0 0 18px rgba(240,207,106,.35); }
.bp-cd { display: flex; gap: 8px; margin-bottom: 12px; }
.bp-cd span { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 4px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(240,207,106,.35); }
.bp-cd b { font-size: 24px; font-weight: 900; color: #f0cf6a; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bp-cd i { font-style: normal; font-size: 10.5px; color: #cfc6ad; text-transform: uppercase; letter-spacing: .08em; }
.bp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.bp-list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: #e9e4d6; }
.bp-list li::before { content: "★"; position: absolute; left: 0; top: 0; color: #f0cf6a; }
.bp-list b { color: #fff; }
@media (max-width: 700px) { .beta-promo { padding: 14px 14px 12px; margin-top: 14px; } .bp-h { font-size: 22px; } .bp-cd span { min-width: 0; flex: 1; } .bp-cd b { font-size: 20px; } .bp-list li { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .beta-promo::after { animation: none; display: none; } }
/* Handy: Fenster nie höher als der wirklich sichtbare Bereich (iPhone-Safari-Leisten, 100dvh) und „Angebot machen“ in Verhandlungen immer unten sichtbar
   (Marcus, 26.11.2026: „bei den Verhandlungen mit Trainern auf Handysicht, ob man auch nach unten scrollen kann … der Verhandlungsbutton ist nicht mehr ins Spielfeld“) */
@media (max-width: 700px) {
  .modal { max-height: 96vh; max-height: calc(100dvh - 16px); }
  .modal-bg { height: 100vh; height: 100dvh; }
  .modal .ng-actions { position: sticky; bottom: -14px; z-index: 5; background: #fff; margin: 10px -14px -14px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 16px rgba(0,0,0,.08); }
}
/* Regler: senkrechtes Wischen scrollt das Fenster statt den Wert zu verstellen (Android/iPhone, Marcus 26.11.2026) */
input[type=range] { touch-action: pan-y; }
/* Fenster: eigenes Scrollen auf iPhone-Safari sicher (Schwung-Scrollen, kein Durchrutschen auf die Seite dahinter); am Handy scrollt notfalls auch der Hintergrund (Marcus, 26.11.2026) */
.modal { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 700px) { .modal-bg { overflow-y: auto; -webkit-overflow-scrolling: touch; } }
/* Handy-Prüfung 26.11.2026: Freunde-Karten bei Freundschaftsspielen ragten rechts raus („Herausfordern“ abgeschnitten); Erfolge-Kopf: Text wurde neben dem Knopf auf einen Buchstaben Breite gequetscht */
.fr-friends .fr-list > .fr-pick { min-width: 0; width: 100%; box-sizing: border-box; }
@media (max-width: 700px) { .ach-head { flex-wrap: wrap; } .ach-head .ach-claim { flex: 1 1 100%; white-space: normal; } }

/* Gästebuch-Einträge: helle Karte, Knöpfe klein unter dem Text (Marcus, 26.11.2026) */
.gb { display: grid; gap: 10px; }
.gbe { background: #fffdf6 !important; border-color: #e3dcc6 !important; padding: 12px 14px; }
.gbe .sl, .gbe .sl .logo-sm { width: 38px; height: 38px; }
.gbe-txt { margin-top: 4px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.gbe-acts { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e3dcc6; }
.gbe-rep { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; border: 1px solid #c9a227; background: #fff8e1; color: #6b5a1a; font-weight: 800; font-size: 13px; text-decoration: none; }
.gbe-rep:hover { background: #f0cf6a; color: #33363c; }
.gbe-del { margin-left: auto; border: 0; background: none; color: #b3263a; font: inherit; font-size: 12.5px; font-weight: 700; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.gbe-del:hover { background: #fdecee; }

/* Verhandlungen am Handy kompakt und aufgeräumt (Marcus, 26.11.2026, Android-Bild: „Kannst du das für die Mobiltelefone hübscher machen? Das sieht echt hässlich aus.“):
   je Wert eine kleine Karte – oben Name links, Betrag rechts; darunter „−  Regler  +“ in einer Zeile; darunter klein von/bis; Zahlenfeld am Handy ausgeblendet. Gestaltung Claudes Setzung. */
@media (max-width: 700px) {
  .modal .ng-offer { display: grid; gap: 8px; }
  .modal .ng-offer label.slide.ng-sl { display: grid !important; grid-template-columns: 34px minmax(0, 1fr) 34px; grid-template-areas: "lbl lbl val" "mi rg pl" "sc sc sc"; align-items: center; column-gap: 10px; row-gap: 2px;
    margin: 0; padding: 9px 12px 6px; background: #faf7ef; border: 1px solid #ece4cf; border-radius: 14px; }
  .modal .ng-sl .ng-lbl { grid-area: lbl; font-size: 13.5px; font-weight: 700; color: #4a4f57; line-height: 1.25; }
  .modal .ng-sl > b { grid-area: val; float: none !important; justify-self: end; white-space: nowrap; font-size: 15px; color: #8a6510; }
  .modal .ng-sl .ng-num { display: contents; }
  .modal .ng-sl .ng-num .inp { display: none; }
  .modal .ng-sl .ng-num .btn { width: 34px; height: 34px; padding: 0; margin: 0; border-radius: 50%; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e0d6bd; }
  .modal .ng-sl .ng-num .btn[data-d="-1"] { grid-area: mi; }
  .modal .ng-sl .ng-num .btn[data-d="1"] { grid-area: pl; }
  .modal .ng-sl input[type=range] { grid-area: rg; width: 100%; min-width: 0; margin: 0; height: 30px; }
  .modal .ng-sl .slide-scale { grid-area: sc; display: flex; justify-content: space-between; padding: 0 44px; font-size: 11px; color: #9a927f; }
  .modal .ng-sl .slide-scale > span:nth-child(2) { display: none; }
  .modal .pk-ch { margin: 4px 0 6px; }
  .modal > .close { position: sticky; top: 0; float: right; z-index: 6; width: 36px; height: 36px; padding: 0; margin: -4px -4px 0 6px; }
}
/* Tutorial-Knopf unten nicht über offenen Fenstern */
body:has(#modal-root .modal-bg) #guide.min { display: none; }
/* Spielansicht passt auf kleine Handys (iPhone SE 320 px: Spielfeld war 12 px zu breit, Handy-Test 26.11.2026) */
.match-view > * { min-width: 0; }
.view3d { flex-wrap: wrap; } .match-view .row { flex-wrap: wrap; }
@media (max-width: 400px) { .view3d button { padding: 5px 9px; font-size: 12px; } }
/* Training am Handy: Ausruhen-Liste ohne eigenen Scrollkasten – hielt den Finger fest, man kam nicht weiter nach unten (Handy-Test 26.11.2026) */
@media (max-width: 700px) { .tg-rest .tg-list { max-height: none; overflow: visible; } }
@media (max-width: 700px) { .conf-list, .mh-list, .ci-inpage .ci-list { max-height: none; overflow: visible; } }
/* Tablet (iPad mini): Tabellenausschnitt im Büro ragte 14 px rechts raus – Rasterzellen dürfen schrumpfen (Handy-Test 26.11.2026) */
.grid > * { min-width: 0; }
.panel.bt-mini { overflow-x: auto; }
@media (max-width: 900px) { .grid.cols-2.of-grid { grid-template-columns: 1fr; } }
/* „Nächstes Spiel“: Vereinsnamen nie auf Buchstabenbreite quetschen (iPad 768 px: Name stand senkrecht, Handy-Test 26.11.2026) */
.vscard { grid-template-columns: minmax(84px, 1fr) minmax(0, auto) minmax(84px, 1fr); }
.vsteam { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.vsmid { min-width: 0; } .vsmid .countdown { white-space: normal; }
@media (max-width: 700px) { .vscard { grid-template-columns: minmax(72px, 1fr) minmax(0, auto) minmax(72px, 1fr); } }

/* Anmeldeseite sauber ausgerichtet (Marcus, 28.11.2026: „Der Login-Balken … das liegt so wahllos im Raum rum. Das bitte schön machen.“): Inhalt mittig in fester Breite,
   Anmeldekarte oben bündig mit dem Schriftzug, feste Breite, bleibt beim Scrollen stehen; eigener Kopf mit Emblem. Am Handy (≤ 900px) wie bisher untereinander. */
.auth-wrap { max-width: 1180px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; align-content: center; gap: 28px 56px; padding: 44px 32px 28px; }
.auth-box { justify-self: end; position: sticky; top: 28px; margin-top: 6px; padding: 22px 22px 20px; border-radius: 18px; border-top: 4px solid #d4a52a; box-shadow: 0 18px 44px rgba(20,18,28,.16); }
.auth-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.auth-head img { width: 46px; height: 46px; flex: none; }
.auth-head b { display: block; font-size: 20px; line-height: 1.2; }
.auth-head span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.auth-box .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.auth-foot { margin-top: 6px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; padding: 20px 16px; gap: 16px; align-content: start; } .auth-box { position: static; justify-self: stretch; max-width: 560px; margin: 0 auto; width: 100%; } }
/* Handy: Anmeldekarte direkt unter dem Schriftzug, damit man nicht erst an Parade und Beta-Hinweis vorbeiscrollen muss (28.11.2026, Claudes Setzung) */
@media (max-width: 900px) { .auth-hero { display: contents; } .auth-hero > * { order: 5; margin-top: 0; margin-bottom: 0; } .auth-hero > .logo-row { order: 1; } .auth-hero > .auth-sub { order: 2; }
  .auth-wrap > .auth-box { order: 3; margin-top: 4px; } .auth-hero > .parade { order: 4; } .auth-wrap > .auth-foot { order: 9; } .auth-wrap { gap: 12px; } }

/* Entwicklungs-Film: Leiste „alt ➜ neu“ und Umriss-Wechsel (28.11.2026) */
.evo-track { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; z-index: 6; padding: 8px 14px; border-radius: 999px; background: rgba(20,18,28,.78); border: 2px solid rgba(255,255,255,.18); white-space: nowrap; }
.evo-track .rar { font-size: 15px; font-weight: 900; }
.evo-track .evo-to { opacity: .35; filter: grayscale(.8); transition: opacity .4s, filter .4s, transform .4s; }
.evo-track.done .evo-to { opacity: 1; filter: none; transform: scale(1.18); }
.evo-arrow { position: relative; display: block; width: min(34vw, 190px); height: 10px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.evo-arrow b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--c0), var(--c1)); transition: width .3s linear; box-shadow: 0 0 10px var(--c1); }
.evo-card.evo-sil .art { filter: brightness(0) invert(1) drop-shadow(0 0 16px var(--rc, #fff)) drop-shadow(0 0 6px var(--rc, #fff)); }
.evo-card.evo-sil { animation: evoShake .12s infinite; }
@media (max-width: 700px) { .evo-track { bottom: 84px; padding: 6px 10px; gap: 7px; } .evo-track .rar { font-size: 13px; } }

/* Entwicklung: Monster statt Karte auf der Bühne, Werte-Tafel am Ende (28.11.2026) */
.evo-mon { position: relative; width: min(46vh, 76vw); transform: translateY(-5vh); transition: transform .6s ease, width .6s ease; }
.evo-fig { position: relative; width: 100%; aspect-ratio: 1; }
.evo-fig .art { position: absolute; inset: 0; } .evo-fig .art svg { width: 100%; height: 100%; display: block; }
.evo-halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc, #fff) 55%, transparent) 0%, color-mix(in srgb, var(--rc, #fff) 18%, transparent) 42%, transparent 68%); transition: background .3s; }
.evo-floor { position: absolute; left: 8%; right: 8%; bottom: -3%; height: 16%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 70%); box-shadow: 0 0 0 3px var(--rc, #fff), 0 0 26px 6px var(--rc, #fff); opacity: .9; }
.evo-plate { margin: 16px auto 0; width: max-content; max-width: 92vw; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(20,18,28,.82); border: 2px solid rgba(255,255,255,.2); color: #fff; }
.evo-plate b { font-size: 20px; } .evo-plate .rar { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.evo-plate.new { animation: evoPop .7s cubic-bezier(.2, 1.6, .4, 1); border-color: #d4a52a; }
.evo-mon.evo-small { width: min(26vh, 46vw); transform: translateY(-27vh); }
.evo-sum2 { width: min(560px, 94vw); max-height: 52vh; overflow: auto; padding: 14px 16px 16px; border-radius: 16px; border: 2px solid #d4a52a; background: rgba(20,18,28,.92); }
.evo-key { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 10px; }
.evo-key > div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 6px 8px; } .evo-key small { display: block; font-size: 11px; color: #cfc9b8; text-transform: uppercase; letter-spacing: .06em; } .evo-key b { font-size: 17px; color: #ffd66b; }
.evo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; text-align: left; margin-bottom: 10px; }
.evo-st { display: grid; grid-template-columns: 1fr 26px 16px 26px 34px; align-items: center; gap: 2px; font-size: 13.5px; padding: 3px 6px; border-radius: 7px; background: rgba(255,255,255,.05); }
.evo-st span { color: #e9e4d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .evo-st i { font-style: normal; color: #a8a295; text-align: right; } .evo-st em { font-style: normal; color: #6f6a5e; text-align: center; font-size: 11px; }
.evo-st b { color: #fff; text-align: right; } .evo-st u { text-decoration: none; font-weight: 800; font-size: 12px; text-align: right; } .evo-st u.up { color: #5ef59a; } .evo-st u.down { color: #ff8b9a; }
.evo-sum2 .btn { margin-top: 10px; }
@media (max-width: 700px) { .evo-stats { grid-template-columns: 1fr; } .evo-mon.evo-small { width: min(20vh, 40vw); transform: translateY(-30vh); } .evo-sum2 { max-height: 56vh; } .evo-plate b { font-size: 17px; } }

/* Erstmitglied-Abzeichen halb so groß (Marcus, 28.11.2026: „bitte die Abzeichen ein bisschen kleiner machen, also die Hälfte“) */
.bdg-first { zoom: 0.5; }

/* Gerätetest 28.11.2026 (alle Geräte und Auflösungen): Nachbesserungen */
@media (max-width: 700px) {
  /* Verhandlungsfenster: Rolle und Name stehen unter dem Firmenschild statt daneben (brachen bei 320–412 px buchstabenweise um) */
  .modal .ng-head.has-badge .ng-who { padding-right: 0; padding-top: 52px; min-height: 0; }
  .modal .ng-head .ng-who, .modal .ng-head .ng-name { overflow-wrap: normal; word-break: normal; hyphens: auto; }
}
/* Entwicklungs-Film: „Weiter“ bleibt im Kasten immer sichtbar, die Werte scrollen darüber */
.evo-sum2 .btn { position: sticky; bottom: -16px; margin-bottom: -4px; box-shadow: 0 -10px 14px 6px rgba(20,18,28,.95); z-index: 2; }
/* Vereinsseite: Namensfeld darf schrumpfen */
@media (max-width: 700px) { .vn-hero { grid-template-columns: 64px minmax(0, 1fr); } .vn-hero > * { min-width: 0; } .vn-name .inp { min-width: 0; max-width: 100%; } .vn-hero .small, .vn-hero p { overflow-wrap: anywhere; } }
/* Vereinsstatistik: Siegquoten-Tabelle passt aufs Handy */
@media (max-width: 420px) { .kst-tbl tbody th { white-space: normal; } .kst-tbl th, .kst-tbl td { padding: 6px 3px; font-size: 13px; } .kst-tbl td b.kst-q { font-size: 15px; } .kst-tbl td small { font-size: 11px; } }
/* Monster-Fenster: einspaltig bis 1000 px (ragte zwischen 761 und 960 px rechts heraus) */
@media (max-width: 1000px) { .monster-detail { grid-template-columns: 1fr; } }
/* Admin-Reiter brechen um */
.adm-top .adm-tabs { flex-wrap: wrap; row-gap: 6px; }
/* Transfermarkt: Restzeit vollständig lesbar */
.mk-card.mk-k .mk-time { overflow: visible; } .mk-card.mk-k .mk-time b { font-size: 12.5px; letter-spacing: -.01em; }
/* sehr schmale Handys (320–360 px) */
@media (max-width: 370px) { .eq-strip { gap: 2px; } .eq-s { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; } .sb2-talent .sc-stars { font-size: 19px; } }
@media (max-width: 340px) { .eq-strip { gap: 1px; } .eq-s { width: 19px; height: 19px; flex: 0 0 19px; } }

/* Textseiten (Impressum, Datenschutz, AGB, Handbuch) im Stil der ganzen Seite – Marcus, 28.11.2026: „Das Impressum und so weiter, was da unten alles ist zum Anklicken,
   entspricht nicht der UI, UX, die wir für die ganze Webseite festgelegt haben. Da bitte nachziehen.“ Dunkler Kopf mit Goldkante wie die Vereins- und Admin-Seite,
   Reiter wie im Spiel, helle Karte, Abschnitts-Überschriften mit Goldlinie. */
body.doc-page { padding: 20px 16px 60px; }
.doc-wrap { max-width: 900px; margin: 0 auto; }
.doc-top { margin-bottom: 14px; }
.doc-hero { grid-template-columns: 72px minmax(0, 1fr); }
.doc-emb img { width: 72px; height: 72px; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.doc-sub { font-size: 13.5px; color: #d8d2c0; margin-top: 4px; }
.doc-top .doc-tabs { padding: 10px 14px 0; margin: 0; flex-wrap: wrap; row-gap: 6px; }
.doc-body { line-height: 1.6; padding: 20px 24px 24px; border-radius: 18px; }
.doc-body > h1:first-child, .doc-body > .doc-h1 { display: none; }
.doc-body h2 { font-size: 13px; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #8a6510; margin: 30px 0 10px; display: flex; align-items: center; gap: 10px; scroll-margin-top: 20px; border: 0; padding: 0; }
.doc-body h2::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, #f0cf6a, transparent); }
.doc-body h2:first-of-type { margin-top: 6px; }
.doc-body h3 { font-size: 16px; font-weight: 900; color: #33363c; margin: 18px 0 4px; }
.doc-body li { margin: 4px 0; }
.doc-body a { color: #8a6510; font-weight: 700; }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0; }
.doc-body td, .doc-body th { border: 1px solid #e6dcc0; padding: 7px 9px; text-align: left; vertical-align: top; }
.doc-body th { background: #f7f1df; font-weight: 900; }
.doc-body .tbl-scroll { overflow-x: auto; }
.doc-body .missing { color: #b3261e; font-weight: 800; }
.doc-body .toc { columns: 2; column-gap: 24px; padding: 14px 18px 14px 38px; margin: 0 0 6px; background: #fbf7ea; border: 1px solid #eee3c6; border-radius: 14px; }
.doc-body .toc li { break-inside: avoid; }
.doc-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.doc-foot a { color: #8a6510; font-weight: 700; }
@media (max-width: 700px) {
  body.doc-page { padding: 10px 8px 50px; }
  .doc-hero { grid-template-columns: 52px minmax(0, 1fr); padding-right: 64px; }
  .doc-emb img { width: 52px; height: 52px; }
  .doc-hero .sp-hname { font-size: 20px; }
  .doc-top .doc-tabs { padding: 8px 8px 8px; }
  .doc-body { padding: 14px 14px 18px; }
  .doc-body .toc { columns: 1; }
  .doc-body table { font-size: 13px; }
}
#view .hb.doc-body { max-width: 900px; }
#view .hb.doc-body h2 { font-size: 13px; margin-top: 30px; padding-top: 0; border-top: 0; }
@media (max-width: 700px) {
  .doc-hero .sp-hname { font-size: 18px; overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .doc-body table { table-layout: fixed; } .doc-body td, .doc-body th { overflow-wrap: anywhere; hyphens: auto; padding: 5px 5px; }
}

/* Prüfbericht 28.11.2026: Tablet mit Finger – auf dem freien Spielfeld scrollt die Seite, die Monster-Kreise bleiben ziehbar */
@media (pointer: coarse) and (min-width: 701px) { .tpitch { touch-action: pan-y; } .tpitch .tok { touch-action: none; } }
/* Prüfbericht 28.11.2026: Fenster „Das steckt in …“ am kleinen Handy – ✕ nicht über dem Titel, Knöpfe immer sichtbar */
.sr-h { padding: 0 36px; }
.sr-card .sr-btns { position: sticky; bottom: -16px; background: #fff; padding: 8px 0; margin-bottom: -8px; z-index: 2; }
@media (max-width: 420px) { .sr-art { width: 100px; height: 100px; } .sr-h { font-size: 16px; } .sr-card { padding: 14px 12px; } .sr-card .sr-btns { bottom: -14px; } }
/* Prüfbericht 28.11.2026: Auswahlfenster „Wer soll hier spielen?“ am Handy – Knopf unter die Angaben, Text bekommt die volle Breite */
@media (max-width: 480px) { .pk-row { flex-wrap: wrap; } .pk-row .pk-txt { flex: 1 1 0; min-width: 0; } .pk-row .pk-go { flex: 1 0 100%; margin-top: 4px; } }
/* Startinhalt für Suchmaschinen (29.11.2026): nur sichtbar, bis das Spiel geladen ist oder ohne JavaScript */
.seo-start { max-width: 760px; margin: 40px auto; padding: 24px 28px; line-height: 1.6; }
.seo-start h1 { font-size: 26px; margin: 0 0 10px; } .seo-start h2 { font-size: 19px; margin: 18px 0 6px; } .seo-start ul { padding-left: 20px; }
h1.logo { margin: 0; } /* Anmeldeseite: Schriftzug als Hauptüberschrift (SEO, 29.11.2026), Aussehen wie vorher */
/* Ersatz-Vollbild fürs Spiel (iPhone-Safari ohne Vollbild-Funktion, 29.11.2026) */
.ml-fs .pitchc { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: none !important; max-height: none !important; object-fit: contain; z-index: 900; background: #2a2d32; margin: 0 !important; border-radius: 0 !important; }
.ml-fs [data-fs] { position: fixed !important; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 901; }
body.ml-fs-on { overflow: hidden; }
/* Vorlage Beta-Pionierpokal im Gründen-Formular (29.11.2026) */
.cup-tpl { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 10px; padding: 8px 10px; border: 1px dashed #d4a52a; border-radius: 12px; background: #fffbea; }
/* Pokale vorne im Profil (29.11.2026) */
.vitrine .trophy.front-t { box-shadow: 0 0 0 2px #d4a52a inset; background: #fff8de; }

.wr-up { color: #127a3e; font-weight: 800; }
.wr-down { color: #b8203a; font-weight: 800; }

/* Tutorial-Fenster verdeckt keine Knöpfe in Fenstern mehr (Tutorial-Test 29.11.2026: am PC lag „Angebot machen“ im Trainer-Verhandeln-Fenster unter dem Tutorial):
   ab 1000 px rückt das Fenster nach links neben das Tutorial, darunter bekommt es unten Platz zum Hochscrollen (wie am Handy). Bei der eigenen Wahl „verschoben“ gilt dasselbe. */
@media (min-width: 701px) { body:has(.guide:not(.min)) .modal { padding-bottom: 62vh; } } /* nach rechts rücken machte breite Fenster (Spielerkarte am iPad quer) zu schmal – jetzt überall unten Platz zum Hochscrollen */

/* Weltrangliste (Wettkämpfe) */
.wr-tbl td { vertical-align: middle; }
.wr-tbl .wr-rk { white-space: nowrap; }
.wr-tbl tr.me td { background: rgba(255, 210, 63, .18); font-weight: 700; }
.wr-tbl .wr-team { display: inline-flex; align-items: center; gap: 6px; }
.wr-tbl .wr-gap td { text-align: center; color: var(--muted); }
@media (max-width: 700px) { .wr-tbl .hide-m { display: none; } }

/* Ligatabelle: hervorgehobener Verein deutlich sichtbar, auch auf Aufstiegs-/Playoff-Plätzen; der eigene Verein auf fremden Vereinsseiten nur mit einem
   dezenten Strich ganz links – vorher bekam jede Zelle einen Strich, das sah kaputt aus (Marcus, 29.11.2026: „oben in der Liga … kaputt … nicht schön“ und
   „da würde ich gerne, dass dann auch ihr Platz markiert ist und nicht ich“) */
.ltable tr.own td, .ltable tr.own td:first-child { box-shadow: none; }
.ltable tr.own td:first-child { box-shadow: inset 4px 0 0 #b9ae92; }
.tbl.ltable tr.mine td { background: rgba(255, 196, 0, .30) !important; border-top: 2px solid #c9a227; border-bottom: 2px solid #c9a227; }
.tbl.ltable tr.mine td:nth-child(2) .lt-nm { font-weight: 800; }

/* Weltrangliste: Einleitung (Marcus, 29.11.2026: „ein bisschen werbewirksamer … einen ordentlichen Text“) */
.wr-intro { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #fff8e1, #fdf0c4); border: 1px solid #ecd58a; }
.wr-intro b { font-size: 16px; color: #5a4409; }
.wr-intro span { font-size: 14px; color: #4a4030; line-height: 1.45; }

/* Forum: Avatar des Beastball-Teams = Beastball-Logo, ohne Rang-Rahmen (29.11.2026) */
.fo-av.fo-av-team { background: #1f2430; border: 2px solid #e0b43a; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.fo-av.fo-av-team img { width: 82%; height: 82%; object-fit: contain; }



/* Wettbewerbsseite neu (Marcus, 29.11.2026: „richtig schön professionell … werbemäßig … dass man richtig Bock hat auf das Turnier“) – Gestaltung Claudes Setzung */
.cp-hero { position: relative; display: flex; gap: 22px; align-items: center; padding: 22px 24px; border-radius: 18px; margin-bottom: 14px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 12% 40%, rgba(255, 200, 60, .35), transparent 45%), linear-gradient(135deg, #2b2f36 0%, #3b3326 60%, #5a4410 100%); border: 1px solid #c9a227; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cp-hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px); pointer-events: none; }
.cp-trophy { width: 150px; height: 150px; flex-shrink: 0; filter: drop-shadow(0 0 22px rgba(255, 205, 80, .65)); animation: cpGlow 3s ease-in-out infinite; position: relative; z-index: 1; }
.cp-trophy svg { width: 100%; height: 100%; }
@keyframes cpGlow { 50% { filter: drop-shadow(0 0 34px rgba(255, 215, 100, .9)); transform: translateY(-3px); } }
.cp-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cp-kick { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f3cf62; }
.cp-title { margin: 4px 0 2px; font-size: 32px; font-weight: 900; font-style: italic; line-height: 1.1; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.cp-sub { color: rgba(255,255,255,.8); font-size: 14px; }
.cp-sub b { color: #f3cf62; }
.cp-win { margin-top: 8px; font-size: 18px; font-weight: 900; color: #f3cf62; }
.cp-win a { color: #fff; }
.cp-bar { margin-top: 12px; height: 8px; max-width: 420px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.cp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e8cf7a, #f3b51c); }
.cp-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.cp-cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cp-top { margin-bottom: 0; }
.cp-sec h3 { margin-top: 0; }
.cp-prizes { display: flex; gap: 10px; align-items: flex-end; }
.cp-prize { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fbf8ef; text-align: center; }
.cp-prize.p1 { background: linear-gradient(180deg, #fff3c4, #f7dc7a); border-color: #d9b23a; padding-top: 22px; padding-bottom: 20px; }
.cp-prize.p2 { background: linear-gradient(180deg, #f4f5f7, #dfe3e8); border-color: #c3c9d1; }
.cp-prize.p3 { background: linear-gradient(180deg, #fbe9dc, #eec3a2); border-color: #d29b6f; }
.cp-medal { font-size: 30px; line-height: 1; }
.cp-pl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #6b5a2a; }
.cp-prize b { font-size: 26px; font-weight: 900; line-height: 1.1; }
.cp-cur { font-size: 12px; color: #6b5a2a; }
.cp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cp-fact { padding: 10px 12px; border-radius: 12px; background: #fbf8ef; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.cp-fact span { background: none; padding: 0; border: 0; box-shadow: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #7a7262); }
.cp-fact b { font-size: 14px; color: #2b2f36; }
/* Turnierbaum mit Verbindungslinien */
.br-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.br { display: flex; min-width: 100%; width: max-content; }
.br-col { display: flex; flex-direction: column; flex: 1 0 230px; }
.br-col.champ { flex: 0.8 0 180px; }
.br-h { text-align: center; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #8a6a0e; padding: 4px 0 10px; }
.br-b { display: flex; flex-direction: column; height: var(--br-h); }
.br-pair { flex: 1; display: flex; flex-direction: column; position: relative; }
.br-pair.two::after { content: ''; position: absolute; right: 0; top: 25%; bottom: 25%; border-right: 2px solid #d9c27a; }
.br-slot { flex: 1; display: flex; align-items: center; position: relative; padding: 0 18px; }
.br-slot::after { content: ''; position: absolute; right: 0; top: 50%; width: 18px; border-top: 2px solid #d9c27a; }
.br-slot.in::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; border-top: 2px solid #d9c27a; }
.br-col.champ .br-slot::after { display: none; }
.br-m { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.br-m.open { border-style: dashed; opacity: .6; box-shadow: none; }
.br-t { display: flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
.br-t:last-of-type { border-bottom: 0; }
.br-lg { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; }
.br-lg svg { width: 18px; height: 18px; }
.br-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-s { min-width: 18px; text-align: right; font-weight: 900; }
.br-t.won { background: linear-gradient(90deg, rgba(243, 197, 54, .28), rgba(243, 197, 54, .08)); font-weight: 800; box-shadow: inset 3px 0 0 #d9a520; }
.br-t.lost { color: #9a927f; }
.br-t.me .br-n { text-decoration: underline; text-decoration-color: #d9a520; text-underline-offset: 3px; }
.br-t.bye { color: #9a927f; font-style: italic; }
.br-f { display: flex; justify-content: space-between; gap: 6px; padding: 3px 8px; font-size: 11px; color: var(--muted, #7a7262); background: #faf7ee; border-top: 1px solid var(--line); }
.br-champ { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, #fff3c4, #f7dc7a); border: 1px solid #d9b23a; box-shadow: 0 6px 18px rgba(217, 165, 32, .3); }
.br-cup { width: 64px; height: 64px; } .br-cup svg { width: 100%; height: 100%; }
.br-champ b { font-size: 14px; } .br-champ span:not(.br-cup) { font-size: 12px; color: #6b5a2a; font-weight: 700; }
.cup-out a { color: var(--muted, #7a7262); text-decoration: line-through; }
@media (max-width: 700px) {
  .cp-hero { flex-direction: column; text-align: center; padding: 18px 14px; }
  .cp-trophy { width: 120px; height: 120px; }
  .cp-title { font-size: 26px; }
  .cp-bar { margin-left: auto; margin-right: auto; }
  .cp-cta { justify-content: center; }
  .grid.cp-top { display: grid !important; grid-template-columns: 1fr !important; }
  .cp-facts { grid-template-columns: 1fr 1fr; }
  .cp-prize b { font-size: 20px; }
  .br-col { flex: 0 0 200px; } .br-col.champ { flex: 0 0 160px; }
}

/* Admin: Event-Formular in Abschnitten (29.11.2026) */
.ev-sec { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 12px; background: #fdfbf5; }
.ev-sec h4 { margin: 0 0 10px; font-size: 14px; font-weight: 900; color: #6b5310; }
.ev-wide { display: block; } .ev-wide .inp { width: 100%; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 8px; align-items: end; }
.ev-grid label { display: flex; flex-direction: column; gap: 4px; } .ev-grid .inp { width: 100%; }
.ev-grid label.ev-check { flex-direction: row; align-items: center; gap: 6px; }
.ev-note { align-self: center; }
.ev-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ev-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ev-box-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ev-box-h .inp { width: auto; }

/* Weltrangliste: auch am Handy eine echte Tabelle wie die Ligatabelle (eine Zeile je Verein: Platz, Verein, Knopf) statt Karten mit Beschriftungen (29.11.2026) */
.wr-tbl td { vertical-align: middle; }
.wr-tbl td:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .wr-tbl { font-size: 13px; width: 100%; }
  .wr-tbl th, .wr-tbl td { padding: 7px 4px; }
  .wr-tbl .hide-m { display: none; }
  .wr-tbl td:nth-child(2) { max-width: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.wr-pr-m { display: none; }
@media (max-width: 760px) {
  .wr-tbl td:first-child, .wr-tbl th:first-child { width: 1%; white-space: nowrap; }
  .wr-tbl .wr-pr { display: none; }
  .wr-tbl .wr-pr-m { display: block; }
}
@media (max-width: 760px) {
  .tbl.wr-tbl { table-layout: fixed; }
  .wr-tbl th:first-child, .wr-tbl td:first-child { width: 46px; }
  .wr-tbl th:last-child, .wr-tbl td:last-child { width: 132px; }
  .wr-tbl td:nth-child(2) { max-width: none; width: auto; }
  .wr-tbl .wr-team { display: flex; min-width: 0; } .wr-tbl .wr-team > :first-child { flex-shrink: 0; }
  .wr-tbl .wr-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Weltrangliste: Preis wie im Shop (Zahl + Münz-Icon) neben dem normalen Knopf (Marcus, 29.11.2026: „mach es doch so ähnlich wie im Shop, Spezialartikel“) */
.wr-buy { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.wr-buy .sx-p { font-size: 15px; } .wr-buy .sx-p i.mz { width: 15px; height: 15px; }
.wr-pr-m { font-size: 12px; font-weight: 800; color: #8a6510; }

/* LIVE oben: Auswahl, wenn mehrere eigene Spiele gleichzeitig laufen (29.11.2026) */
.tb-live-menu { position: fixed; z-index: 1000; min-width: 260px; max-width: calc(100vw - 16px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 6px; }
.tb-live-menu .tlm-h { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #e63946; padding: 6px 8px; }
.tb-live-menu a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 10px; border-radius: 10px; color: #2b2f36; text-decoration: none; }
.tb-live-menu a:hover { background: #fff3c4; }
.tb-live-menu .tlm-k { font-weight: 800; font-size: 13px; } .tb-live-menu .tlm-o { grid-row: 2; font-size: 12px; color: var(--muted, #7a7262); }
.tb-live-menu b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #e63946; }
@media (max-width: 700px) { .tb-live b.tlm-n { display: inline; } }

/* Spiel: Knöpfe im Bild rechts (Ton, Namen, Aufstellungen) und durchsichtiges Aufstellungsfenster (29.11.2026) */
.mv-stage { position: relative; }
.mv-tools { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 5; opacity: .45; transition: opacity .2s; }
.mv-stage:hover .mv-tools, .mv-tools:focus-within { opacity: 1; }
.mv-tools button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(20, 22, 28, .55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.mv-tools button.on { background: rgba(201, 162, 39, .75); border-color: #f3cf62; }
.mv-lu { position: absolute; inset: 6% 64px 6% 6%; z-index: 6; overflow: auto; border-radius: 14px; background: rgba(15, 18, 24, .72); color: #fff; padding: 12px 14px; backdrop-filter: blur(3px); }
.mv-lu.hidden { display: none; }
.mv-lu-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
.mv-lu-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-lu-h { font-weight: 900; color: #f3cf62; margin-bottom: 6px; font-size: 14px; }
.mv-lu-r { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; font-size: 13px; padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mv-lu-r b { color: #f3cf62; text-align: right; } .mv-lu-r i { font-style: normal; font-size: 11px; opacity: .7; }
.mv-lu-r.sub { opacity: .75; }
.mv-lu-b { margin-top: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.mv-stage:fullscreen { background: #2a2d32; display: flex; align-items: center; justify-content: center; }
.mv-stage:fullscreen canvas.pitchc { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.ml-fs .mv-tools { position: fixed; right: 12px; z-index: 902; }
.ml-fs .mv-lu { position: fixed; z-index: 902; }
@media (orientation: landscape) and (max-height: 560px) and (pointer: coarse) { .match-view .mv-tools { position: fixed; right: 12px; z-index: 902; } .match-view .mv-lu { position: fixed; z-index: 902; } }
@media (max-width: 700px) { .mv-tools button { width: 34px; height: 34px; font-size: 15px; } .mv-lu { inset: 4% 52px 4% 4%; padding: 10px; } .mv-lu-g { gap: 10px; } .mv-lu-r { font-size: 11.5px; grid-template-columns: 20px 1fr; } .mv-lu-r i { display: none; } }

/* Turnierbaum: eigene Taktik je Spiel (29.11.2026) */
.br-tac { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px; font-size: 11px; font-weight: 800; color: #6b5310; background: #fff8e1; border-top: 1px solid var(--line); }
.br-tac select { font-size: 12px; padding: 2px 6px; max-width: 120px; }
.wr-intro .wr-when { margin-top: 4px; font-size: 13px; color: #6b5310; }
.wr-intro .wr-when b { font-size: inherit; color: inherit; }
/* Admin-Events: Art (Pokal/Liga) vorne gut sichtbar (Marcus, 29.11.2026) */
.adm-kind { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .06em; vertical-align: middle; margin-right: 4px; }
.adm-kind.pokal { background: #fff3c4; color: #6b4e00; border: 1px solid #e3c766; }
.adm-kind.liga { background: #dceefe; color: #1d4f86; border: 1px solid #a9cdf2; }

/* Admin: Neuigkeiten der letzten 48 Stunden (29.11.2026) */
.an-day { margin-bottom: 14px; }
.an-dh { font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #8a6a0e; padding: 6px 0; border-bottom: 2px solid #ecd58a; margin-bottom: 4px; }
.an-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.an-t { color: var(--muted, #7a7262); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.an-area { color: #2b2f36; }
.an-x ul { margin: 2px 0 0; padding-left: 18px; }
.an-badge { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: linear-gradient(180deg, #f7d25c, #d9a520); color: #3b2a00; font-size: 12px; font-weight: 900; line-height: 18px; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.an-row.new { background: #fff8e1; } .an-row.new .an-t::after { content: ' neu'; color: #b07d00; font-weight: 900; font-size: 11px; }
/* Meine Wettbewerbe: × zum Entfernen beendeter Wettbewerbe sitzt oben rechts in der Zeile (29.11.2026) */
.cup-row { position: relative; } .cup-row:has([data-hide]) { padding-right: 36px; }

/* Großer Spieltagsbericht im Monster-Kurier (29.11.2026) */
.kp-kicker { margin: 10px 0 0; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #a33a2b; }
.newspaper .kp-lead { margin: 6px 0; line-height: 1.5; }
.newspaper .kp-lead:first-of-type { font-weight: 700; }
.kp-photo { margin: 10px 0; }
.kp-pic { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; border-radius: 10px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  background: radial-gradient(ellipse at 50% 115%, rgba(255,255,255,.35), transparent 55%), linear-gradient(180deg, #1c2a44 0%, #2b3d5f 30%, #4a5b7a 31%, #3a4a68 52%, #2f8a3a 53%, #3ea24a 100%); }
.kp-pic::before { content: ''; position: absolute; inset: 0 0 48% 0; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1.2px, transparent 1.6px), radial-gradient(circle, rgba(255,210,63,.5) 1.2px, transparent 1.6px);
  background-size: 9px 7px, 13px 9px; background-position: 0 0, 4px 3px; opacity: .55; }
.kp-photo.big .kp-pic { height: 220px; }
.kp-photo.small .kp-pic { height: 120px; width: 120px; flex: none; }
.kp-mon { position: relative; display: block; height: 92%; aspect-ratio: 1; margin: 0 -18px; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); }
.kp-photo.small .kp-mon { height: 100%; margin: 0; }
.kp-mon svg { width: 100%; height: 100%; }
.kp-photo figcaption { font-size: 12px; font-style: italic; color: #6f6150; margin-top: 4px; }
.kp-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0; }
.kp-nums span { background: #33363c; color: #f6efe0; border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 11px; }
.kp-nums b { display: block; font-size: 20px; color: #ffd23f; }
.kp-h { font-family: Georgia, 'Times New Roman', serif; margin: 16px 0 8px; border-bottom: 2px solid #3f434a; padding-bottom: 2px; color: #33363c; }
.kp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kp-focus, .kp-iv { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.45); border-radius: 10px; padding: 8px; }
.kp-focus .kp-photo, .kp-iv .kp-photo { margin: 0; }
.kp-focus h4, .kp-iv h4 { margin: 4px 0; color: #33363c; }
.kp-focus p, .kp-iv p { margin: 0 0 4px; font-size: 14px; line-height: 1.45; }
.kp-tag { display: inline-block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; background: #a33a2b; color: #fff; padding: 1px 7px; border-radius: 6px; }
.kp-injury .kp-tag { background: #c92a2a; } .kp-hattrick .kp-tag { background: #2b8a3e; } .kp-red .kp-tag { background: #862e2e; } .kp-upset .kp-tag { background: #5f3dc4; }
.kp-q { font-weight: 800; color: #33363c; }
.kp-a { font-style: italic; }
.kp-quote { margin: 10px 0; padding: 8px 12px; border-left: 4px solid #a33a2b; background: rgba(255,255,255,.45); border-radius: 6px; font-style: italic; }
.kp-quote span { display: block; font-style: normal; font-size: 12px; color: #6f6150; margin-top: 4px; }
.kp-games { display: grid; gap: 8px; }
.kp-game { background: rgba(255,255,255,.45); border-radius: 10px; padding: 8px 10px; }
.kp-game p { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.kp-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-weight: 800; }
.kp-score b { background: #33363c; color: #ffd23f; border-radius: 6px; padding: 2px 10px; font-size: 18px; }
.kp-t { display: flex; align-items: center; gap: 6px; } .kp-t.away { justify-content: flex-end; text-align: right; }
.kp-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #5c5040; }
.kp-facts a { color: #a33a2b; font-weight: 800; margin-left: auto; }
.kp-top { display: flex; flex-wrap: wrap; gap: 8px; } .kp-top span { background: rgba(255,255,255,.5); border-radius: 8px; padding: 4px 10px; } .kp-top i { color: #6f6150; font-style: normal; }
@media (max-width: 700px) {
  .kp-fgrid { grid-template-columns: 1fr; }
  .kp-nums { grid-template-columns: repeat(3, 1fr); }
  .kp-photo.big .kp-pic { height: 170px; }
  .kp-photo.small .kp-pic { height: 90px; width: 90px; }
  .kp-score { font-size: 13px; }
}

/* Spieltagsbericht als Artikel (29.11.2026, zweite Fassung) */
.kp-title { font-size: 30px; line-height: 1.15; margin-top: 4px; }
.kp-sub { font-size: 17px; font-weight: 700; color: #4a4036; margin: 0 0 8px; line-height: 1.4; }
.kp-body { max-width: 760px; }
.newspaper .kp-lead { font-weight: 800; font-size: 16px; line-height: 1.55; margin: 10px 0; }
.newspaper .kp-lead::first-letter { float: left; font-family: Georgia, 'Times New Roman', serif; font-size: 46px; line-height: .9; padding: 4px 6px 0 0; color: #a33a2b; }
.newspaper .kp-p { margin: 0 0 10px; line-height: 1.6; font-size: 15.5px; text-align: justify; hyphens: auto; }
.kp-body .kp-h { border-bottom: 0; margin: 18px 0 6px; font-size: 19px; }
.kp-photo.mid .kp-pic { height: 170px; max-width: 360px; }
.kp-photo.mid { max-width: 360px; }
.kp-ad { margin: 16px 0; border: 1px dashed #9c8f7a; border-radius: 10px; padding: 6px; background: rgba(255,255,255,.35); }
.kp-ad-l { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a7d68; margin-bottom: 4px; }
.kp-ad-in { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; border-radius: 8px; padding: 12px 14px; }
.kp-ad-in b { font-size: 20px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.kp-ad-in p { margin: 2px 0; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.kp-ad-in i { font-size: 12px; font-weight: 800; opacity: .9; }
.kp-ad-ic { font-size: 40px; flex: none; }
.kp-iv .kp-q { margin: 8px 0 2px; }
.kp-iv .kp-a { font-style: normal; margin: 0 0 4px; }
@media (max-width: 700px) {
  .kp-title { font-size: 24px; }
  .newspaper .kp-p { text-align: left; }
  .kp-photo.mid, .kp-photo.mid .kp-pic { max-width: none; }
}

/* Magazin-Ressorts im Monster-Kurier (29.11.2026) */
.kp-ressort { margin: 26px 0 4px; border-top: 4px solid #a33a2b; }
.kp-ressort span { display: inline-block; background: #a33a2b; color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 0 0 6px 6px; }
.kp-toc { font-size: 13px; color: #5c5040; margin: 4px 0 10px; padding: 6px 10px; background: rgba(255,255,255,.45); border-radius: 8px; }
.kp-note { font-size: 12px; font-style: italic; color: #8a7d68; margin: 0 0 8px; }

/* Interview-Anfrage in den News (29.11.2026) */
.iv-card { position: relative; display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--gold, #ffd23f); background: linear-gradient(135deg, rgba(255,210,63,.14), transparent 60%), var(--panel); }
.iv-mic { font-size: 38px; line-height: 1; }
.iv-txt p { margin: 4px 0 8px; }
.iv-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.iv-q { margin: 0 0 12px; padding: 10px; border-radius: 10px; background: var(--panel2); }
.iv-q p { margin: 0 0 6px; }
.iv-o { display: block; margin: 4px 0; cursor: pointer; }
.iv-own { width: 100%; margin-top: 4px; box-sizing: border-box; }

/* Liga-Magazin als Zeitschrift (29.11.2026, dritte Fassung) */
.kp-mag { display: grid; gap: 18px; margin-top: 10px; }
.kp-cover { position: relative; background: #fffdf7; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.3); color: #222; }
.kp-cv-top { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; font-size: 11px; font-weight: 800; padding: 6px 12px; background: #222; color: #ffd23f; letter-spacing: .04em; }
.kp-cv-mast { font-family: Georgia, 'Times New Roman', serif; font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -.01em; color: #c0392b; padding: 10px 14px 6px; text-transform: uppercase; }
.kp-cv-mast small { display: block; font-family: inherit; font-size: 13px; letter-spacing: .14em; color: #333; font-weight: 700; margin-top: 4px; }
.kp-cv-pic { position: relative; }
.kp-photo.cover { margin: 0; }
.kp-photo.cover .kp-pic { height: 340px; border: 0; border-radius: 0; box-shadow: none; }
.kp-photo.cover .kp-mon { margin: 0 -26px; }
.kp-cv-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); color: #fff; }
.kp-cv-title > b { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 36px; line-height: 1.05; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.kp-cv-title span { display: block; margin-top: 6px; font-weight: 700; font-size: 15px; }
.kp-cv-badge { position: absolute; top: 14px; right: 14px; max-width: 46%; background: #ffd23f; color: #222; font-weight: 900; font-size: 13px; padding: 8px 12px; border-radius: 50px; transform: rotate(4deg); box-shadow: 0 3px 8px rgba(0,0,0,.35); text-align: center; }
.kp-cv-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 3px solid #c0392b; }
.kp-cv-lines div { padding: 8px 12px; font-weight: 800; font-size: 14px; border-right: 1px solid #e4d9c4; }
.kp-cv-lines small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #c0392b; }
.kp-page { position: relative; background: #fffdf7; color: #2f3237; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); padding: 0 18px 0; }
.kp-pg-head { display: flex; justify-content: space-between; gap: 8px; border-bottom: 2px solid #c0392b; padding: 8px 0 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; color: #c0392b; }
.kp-pg-head span + span { color: #8a7d68; font-weight: 700; }
.kp-pg-foot { display: flex; justify-content: space-between; border-top: 1px solid #e4d9c4; padding: 6px 0 8px; margin-top: 12px; font-size: 11px; color: #8a7d68; }
.kp-pg-foot span:first-child { font-weight: 900; color: #2f3237; }
.kp-cols { column-count: 2; column-gap: 26px; column-rule: 1px solid #ece3d2; padding-top: 6px; }
.kp-cols > * { break-inside: avoid; }
.kp-cols .kp-photo, .kp-cols .kp-ad, .kp-cols .kp-mgr, .kp-cols .kp-iv, .kp-cols .kp-box { column-span: all; }
.kp-cols .kp-h { break-after: avoid; }
.kp-page .kp-p { color: #2f3237; }
.kp-page .kp-lead { font-weight: 800; }
.kp-adpage .kp-cols { column-count: 1; }
.kp-adpage .kp-ad { border: 0; padding: 0; margin: 8px 0; }
.kp-adpage .kp-ad-in { min-height: 180px; padding: 24px; }
.kp-adpage .kp-ad-in b { font-size: 34px; }
.kp-adpage .kp-ad-ic { font-size: 80px; }
.kp-p2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kp-toc-row { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dotted #d8ccb4; }
.kp-toc-row > b { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; color: #c0392b; min-width: 28px; }
.kp-toc-row small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8a7d68; }
.kp-ed { font-style: italic; }
.kp-imp { font-size: 11px; color: #8a7d68; border-top: 1px solid #e4d9c4; padding-top: 6px; margin-top: 12px; line-height: 1.5; }
.kp-box { background: #f3ecdd; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.kp-box-h { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #c0392b; margin-bottom: 4px; }
.kp-res { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 3px 0; color: #2f3237; text-decoration: none; font-size: 14px; border-bottom: 1px solid #e4d9c4; }
.kp-res span:last-child { text-align: right; }
.kp-res { align-items: center; padding: 5px 0; }
.kp-res > b { background: #2f3237; color: #ffd23f; border-radius: 4px; padding: 1px 8px; min-width: 42px; text-align: center; align-self: center; }
.kp-res .kp-nm { background: none; color: inherit; padding: 0; font-weight: 800; }
.kp-mgr { background: #f3ecdd; border-radius: 10px; padding: 12px 14px; margin: 8px 0; }
.kp-mgr-pic { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.kp-mgr-pic > img, .kp-mgr-pic > svg, .kp-mgr-pic > .av-empty, .kp-mgr-logo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); background: #fff; display: grid; place-items: center; }
.kp-mgr-logo svg { width: 80%; height: 80%; }
.kp-mgr-pic > span:last-child { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 900; }
.kp-mgr-pic small { display: block; font-family: system-ui, sans-serif; font-size: 12px; font-weight: 700; color: #8a7d68; }
.newspaper .kp-nodrop::first-letter, .kp-nodrop::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; }
@media (max-width: 700px) {
  .kp-cols { column-count: 1; }
  .kp-p2-grid { grid-template-columns: 1fr; }
  .kp-cv-mast { font-size: 34px; }
  .kp-photo.cover .kp-pic { height: 220px; }
  .kp-cv-title > b { font-size: 24px; }
  .kp-cv-badge { font-size: 11px; padding: 6px 9px; }
  .kp-page { padding: 0 12px; }
}

.kp-issue .kp-mag { margin-top: 0; }
@media (max-width: 700px) { .kp-cv-top { font-size: 10px; } .kp-cv-top span:nth-child(3) { display: none; } }

.np-tip-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.np-tip-n { color: #8a6510; }

/* Namen in der Liga-Zeitung (30.11.2026) */
.kp-nm { font-weight: 800; color: inherit; }
.kp-me { background: linear-gradient(transparent 55%, rgba(255,210,63,.75) 55%); padding: 0 2px; }
.kp-cv-title .kp-me { background: rgba(255,210,63,.85); color: #222; border-radius: 3px; }
.kp-res .kp-nm.kp-me { background: rgba(255,210,63,.85); color: #222; border-radius: 3px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kp-res { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.kp-res > span { min-width: 0; overflow-wrap: break-word; hyphens: manual; }
.kp-box { overflow: hidden; }
@media (max-width: 700px) { .kp-res { font-size: 13px; gap: 6px; } .kp-res > b { min-width: 36px; padding: 1px 5px; } }
/* Magazin nie breiter als der Bildschirm (Raster-Elemente dürfen schrumpfen) */
.news > *, .kp-issue, .kp-mag, .kp-mag > *, .kp-cols, .kp-cols > * { min-width: 0; max-width: 100%; }
.kp-mag { grid-template-columns: minmax(0, 1fr); }
.kp-page, .kp-cover { overflow-wrap: anywhere; }

/* Wirkung des Interviews (30.11.2026) */
.iv-eff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.iv-eff > div { background: var(--panel2); border-radius: 12px; padding: 12px; text-align: center; border: 2px solid var(--line); }
.iv-eff > div.up { border-color: #3ddc84; } .iv-eff > div.down { border-color: #ff5d5d; }
.iv-eff b { display: block; } .iv-eff span { display: block; font-size: 28px; font-weight: 900; margin: 4px 0; }
.iv-eff .up span { color: #3ddc84; } .iv-eff .down span { color: #ff5d5d; }
.iv-eff small { color: var(--muted); }

/* Interview-Übersicht (30.11.2026) */
.iv-qa { position: relative; background: var(--panel2); border-radius: 10px; padding: 8px 10px; margin: 6px 0; }
.iv-qa-q { margin: 0; font-weight: 800; font-size: 13px; }
.iv-qa-a { margin: 3px 0 0; font-style: italic; padding-right: 110px; }
.iv-tag { position: absolute; right: 8px; bottom: 8px; font-size: 12px; font-weight: 900; padding: 2px 8px; border-radius: 999px; background: var(--panel); }
.iv-tag.up { color: #3ddc84; } .iv-tag.down { color: #ff5d5d; }
.iv-v.up { color: #3ddc84; } .iv-v.down { color: #ff5d5d; }
@media (max-width: 700px) { .iv-qa-a { padding-right: 0; } .iv-tag { position: static; display: inline-block; margin-top: 4px; } }

/* fett gesetzte Namen in Inhalt, Titel und Teasern wie der Text drumherum (nur fett) */
.kp-toc-row .kp-nm, .kp-cv-title .kp-nm, .kp-cv-lines .kp-nm { font: inherit; font-weight: 800; color: inherit; display: inline; min-width: 0; text-shadow: inherit; }
/* Transfermarkt: alle Karten gleich aufgebaut, alles auf einer Höhe (Marcus, 30.11.2026: „Beim Transfermarkt sind die Fenster wieder unterschiedlich. Bitte wieder ruhiger
   machen und alles auf einer Höhe.“) – Kurzwerte immer in 2 Zeilen (3 + 2), Stärken/Schwächen feste Höhe, Preis/Zuschlag/Bieten unten bündig */
.mk-card.mk-k > .mcard { display: flex; flex-direction: column; }
.mk-card.mk-k .grp-avg { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; align-content: start; gap: 3px; height: 44px; overflow: hidden; margin: 4px 0; }
.mk-card.mk-k .grp-avg .ga { justify-content: center; }
.mk-card.mk-k .mcard .meta { min-height: 18px; }
.mk-card.mk-k .kc-sw { min-height: 92px; box-sizing: border-box; }
.mk-card.mk-k .mk-x { margin-top: auto; }
.mk-card.mk-k .mk-quick .mk-ov { white-space: nowrap; height: 20px; overflow: hidden; }
.mk-card.mk-k .mk-price { white-space: nowrap; }
.mk-card.mk-k .grp-avg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; height: 40px; }
.mk-card.mk-k .grp-avg .ga { min-width: 0; padding: 0 2px; gap: 2px; font-size: 10px; justify-content: center; white-space: nowrap; }
.mk-card.mk-k .grp-avg .ga i { font-size: 8px; }
