/* Gaming-Look in LS-Farben: dunkles Gruenschwarz, LS-Gruen als Hauptakzent, Weizengold fuer Kurse/Live,
   abgeschraegte Karten, kursive Turnier-Ueberschriften, Ranglisten im Mittelpunkt. Navigation bleibt links. */
body.esport {
  --bg: #0b100d; --bg-2: #0f1511; --panel: #131a16; --panel-2: #18211c;
  --line: #222d26; --line-2: #2f3d34;
  --ink: #eef3ec; --straw: #ffffff; --muted: #8f9d93; --dim: #5d6b62;
  --lime: #7fc241; --lime-2: #9bd85a; --amber: #7fc241; --lime-glow: rgba(127, 194, 65, .28);
  --cyan: #f2c230; --cyan-glow: rgba(242, 194, 48, .25);
  --up: #2ee6a0; --red: #ff4d6d; --wood: #232937;
  --radius: 10px; --shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  --cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(127, 194, 65, .14), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(242, 194, 48, .10), transparent 60%),
    linear-gradient(180deg, #0d1510, #0b100d 40%);
  background-attachment: fixed;
}
.esport h1, .esport h2 { font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
.esport .preview-back { position: fixed; z-index: 50; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 6px; background: var(--lime); color: #160800; font: 700 13px "Instrument Sans", sans-serif; text-decoration: none; box-shadow: 0 0 24px var(--lime-glow); }

/* ---------- Navigation links ---------- */
.esport .side { background: #070b08; border-right: 1px solid var(--line); }
.esport .logo { font-style: italic; text-transform: uppercase; }
.esport .logo-mark { background: linear-gradient(135deg, var(--lime), #4ea52f); border-radius: 10px; box-shadow: 0 0 22px var(--lime-glow); }
.esport .logo-mark svg { stroke: #0d1a06; }
.esport .side-nav a { border-radius: 8px; transition: color .15s, background .15s; }
.esport .side-nav a:hover { background: var(--panel); }
.esport .side-nav a.on { background: linear-gradient(90deg, rgba(127, 194, 65, .22), rgba(127, 194, 65, 0)); border-color: transparent; box-shadow: inset 3px 0 0 var(--lime); }
.esport .side-nav a.on svg { stroke: var(--lime); filter: drop-shadow(0 0 6px var(--lime-glow)); }
.esport .side-foot { background: var(--panel); border-color: var(--line); }

/* Kopfleiste */
.esport .topbar { background: rgba(11, 16, 13, .8); border-bottom: 1px solid var(--line); }
.esport .topbar h1 { font-size: 40px; font-weight: 900; }
.esport .pill, .esport .search { border-radius: 8px; background: var(--panel); border-color: var(--line); }
.esport .pill.cta, .esport .btn { background: linear-gradient(135deg, var(--lime), #4ea52f); border: 0; color: #0d1a06; box-shadow: 0 0 22px var(--lime-glow); text-transform: uppercase; font-style: italic; letter-spacing: .02em; }
.esport .pill.cta:hover, .esport .btn:hover { filter: brightness(1.1); background: linear-gradient(135deg, var(--lime), #4ea52f); }
.esport .live-state i, .esport .pulse { background: var(--cyan); }
.esport .round #countdown { color: var(--cyan); }

/* ---------- Karten mit abgeschraegten Ecken ---------- */
.esport .panel, .esport .card, .esport .rank-banner, .esport .auth, .esport .veh-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 0;
  clip-path: var(--cut); box-shadow: var(--shadow);
}
.esport .rank-banner > header { background: linear-gradient(90deg, rgba(127, 194, 65, .16), transparent 60%); border-bottom: 1px solid var(--line); }
.esport .rank-banner h2, .esport .panel h2, .esport .card h2 { color: #fff; }
.esport .count { background: var(--lime); color: #0d1a06; border-radius: 4px; }
.esport .kpi-tile { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 0; clip-path: var(--cut); }
.esport .kpi-tile::after { background: radial-gradient(var(--cyan-glow), transparent 70%); }
.esport .kpi-ico { background: rgba(242, 194, 48, .1); border-color: rgba(242, 194, 48, .3); border-radius: 8px; }
.esport .kpi-ico svg { stroke: var(--cyan); }
.esport .kpi-tile b { color: #fff; font-style: italic; }
.esport .ptable .price, .esport .rank-table td.sorted, .esport .pprice b, .esport .dprice b { color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.esport .rank-table th.sorted { color: var(--cyan); }
.esport .prow.on { background: rgba(127, 194, 65, .1); border-color: rgba(127, 194, 65, .4); }
.esport .picon, .esport .dicon, .esport .ico { background: var(--bg-2); border-color: var(--line); }
.esport .pname small { display: none; }
.esport .seg { background: var(--panel); border-color: var(--line); border-radius: 8px; }
.esport .seg a { border-radius: 6px; font-style: italic; text-transform: uppercase; font-size: 13px; }
.esport .seg a.on { background: linear-gradient(135deg, var(--lime), #4ea52f); color: #0d1a06; }
.esport .badge.std { background: rgba(242, 194, 48, .12); color: var(--cyan); }
.esport .badge.mod { background: rgba(127, 194, 65, .14); color: var(--lime-2); }
.esport .form input, .esport .form textarea, .esport .price-input, .esport .buy-form select { background: var(--bg-2); border-color: var(--line-2); border-radius: 8px; }
.esport .form input:focus, .esport .price-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
.esport .veh-card { transition: transform .2s, box-shadow .2s; }
.esport .veh-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--lime), 0 18px 40px -18px var(--lime-glow); }
.esport .veh-foot b { color: var(--cyan); }

/* Ranglisten: Plaetze als Abzeichen */
.esport .pos { border-radius: 6px; transform: skewX(-10deg); }
.esport .rank-table .p1 .pos, .esport .leaders li:nth-child(1) .pos { background: linear-gradient(135deg, #ffd34d, #ff8a1a); color: #1a0d00; box-shadow: 0 0 16px rgba(255, 180, 40, .5); }
.esport .rank-table .p2 .pos { background: linear-gradient(135deg, #e8edf7, #9aa6bd); color: #10131a; }
.esport .rank-table .p3 .pos { background: linear-gradient(135deg, #e7a26a, #a85c2a); color: #1a0d00; }
.esport .rank-table .p1 td { background: rgba(255, 180, 40, .05); }
.esport .rank-table tbody tr { transition: background .15s; }
.esport .rank-table tbody tr:hover td { background: rgba(242, 194, 48, .05); }

/* ---------- Bausteine der Startseite ---------- */
.es-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; text-decoration: none; font: 800 italic 15px "Instrument Sans", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: #0d1a06;
  background: linear-gradient(135deg, var(--lime), #4ea52f); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); box-shadow: 0 0 30px var(--lime-glow); transition: filter .15s, transform .15s; }
.es-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.es-btn.ghost { background: var(--panel-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.es-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 var(--cyan-glow); animation: esPulse 1.8s infinite; }
@keyframes esPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 194, 48, .6); } 70% { box-shadow: 0 0 0 10px rgba(242, 194, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 194, 48, 0); } }
.es-tag { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; background: rgba(242, 194, 48, .1); color: var(--cyan); font: 700 italic 12.5px "Instrument Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

.es-lobby { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: end; padding: 42px 40px; overflow: hidden;
  background: linear-gradient(120deg, rgba(127, 194, 65, .18), rgba(78, 165, 47, .08) 40%, rgba(242, 194, 48, .1)), var(--panel);
  border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.es-lobby::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); animation: esSlide 30s linear infinite; }
@keyframes esSlide { from { background-position: 0 0; } to { background-position: 600px 0; } }
.es-lobby > * { position: relative; }
.es-lobby h1 { margin-top: 16px; font-size: clamp(46px, 5.6vw, 88px); line-height: .9; font-weight: 900; color: #fff; }
.es-lobby h1 em { color: transparent; background: linear-gradient(90deg, var(--lime), #4ea52f); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
.es-lobby p { margin: 18px 0 0; max-width: 52ch; color: #c3c9d8; font-size: 17px; }
.es-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.es-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.es-stat { padding: 18px 20px; background: rgba(7, 11, 8, .55); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.es-stat b { display: block; font: 900 italic 40px/1 "Big Shoulders Display", sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.es-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.es-stat.live b { color: var(--cyan); text-shadow: 0 0 20px var(--cyan-glow); }

.es-block { min-width: 0; }
.es-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.es-head h2 { display: flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 900; color: #fff; }
.es-head h2::after { content: ""; width: 46px; height: 4px; background: linear-gradient(90deg, var(--lime), transparent); transform: skewX(-20deg); margin-left: 6px; }
.es-head a { color: var(--cyan); font-weight: 700; text-decoration: none; font-size: 14px; }
.es-head a:hover { text-decoration: underline; }
.es-empty { color: var(--muted); padding: 20px 0; }

/* Podium */
.es-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.es-card { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 20px 20px; text-align: center; text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: transform .2s, box-shadow .2s; }
.es-card:hover { transform: translateY(-4px); }
.es-card.place-1 { padding-top: 38px; padding-bottom: 30px; background: linear-gradient(180deg, rgba(255, 180, 40, .2), var(--panel) 60%); border-color: rgba(255, 180, 40, .5); box-shadow: 0 0 40px -10px rgba(255, 180, 40, .5); }
.es-card.place-2 { background: linear-gradient(180deg, rgba(200, 210, 230, .12), var(--panel) 60%); }
.es-card.place-3 { background: linear-gradient(180deg, rgba(230, 150, 90, .14), var(--panel) 60%); }
.es-place { position: absolute; top: 12px; left: 16px; font: 900 italic 30px/1 "Big Shoulders Display", sans-serif; color: var(--dim); }
.place-1 .es-place { color: #ffc94d; text-shadow: 0 0 18px rgba(255, 190, 60, .6); font-size: 40px; }
.place-2 .es-place { color: #cfd6e4; }
.place-3 .es-place { color: #e39a62; }
.es-avatar { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; font: 900 italic 36px "Big Shoulders Display", sans-serif; color: #fff;
  background: linear-gradient(135deg, #34443a, #18211c); box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--line-2); }
.place-1 .es-avatar { width: 96px; height: 96px; font-size: 44px; background: linear-gradient(135deg, #ffd34d, #ff8a1a); color: #1a0d00; box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px #ffc94d, 0 0 30px rgba(255, 190, 60, .5); }
.es-avatar.small { width: 36px; height: 36px; font-size: 17px; box-shadow: none; }
.es-card strong { margin-top: 8px; font: 900 italic 24px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; }
.es-card small { color: var(--muted); }
.es-score { margin-top: 6px; font: 900 italic 30px "Big Shoulders Display", sans-serif; color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.place-1 .es-score { font-size: 36px; color: #ffc94d; text-shadow: 0 0 20px rgba(255, 190, 60, .5); }
.es-meta { display: flex; gap: 0; width: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
.es-meta span { flex: 1; padding-top: 10px; font-weight: 700; color: var(--ink); }
.es-meta span + span { border-left: 1px solid var(--line); }
.es-meta i { display: block; font-style: normal; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

/* Kurse als Match-Karten + Live-Feed */
.es-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; }
.es-matches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.es-match { position: relative; display: grid; grid-template-columns: 42px 1fr auto; grid-template-rows: auto auto; gap: 0 12px; align-items: center; padding: 14px 16px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: border-color .15s, transform .15s; }
.es-match::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--dim); }
.es-match.up::before { background: var(--up); box-shadow: 0 0 12px var(--up); }
.es-match.down::before { background: var(--red); box-shadow: 0 0 12px var(--red); }
.es-match:hover { border-color: var(--line-2); transform: translateX(3px); }
.es-match-ico { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--bg-2); font-size: 22px; }
.es-match-name { font-weight: 700; color: #fff; }
.es-match-name small { display: block; font-weight: 500; color: var(--dim); font-size: 11.5px; }
.es-match b { grid-row: span 2; font: 900 italic 28px "Big Shoulders Display", sans-serif; color: #fff; text-align: right; }
.es-match em { font-style: normal; font-weight: 800; font-size: 12px; }
.es-match.up em { color: var(--up); }
.es-match.down em { color: var(--red); }
.es-match.flat em { color: var(--dim); }

.es-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.es-feed li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.es-feed li b { color: #fff; }
.es-feed li strong { color: var(--ink); }
.es-feed li small { display: block; color: var(--dim); font-size: 11.5px; }
.es-feed li.sell .es-avatar { background: linear-gradient(135deg, var(--lime), #4ea52f); }
.es-feed li.buy .es-avatar { background: linear-gradient(135deg, var(--cyan), #d99a14); }
.es-pill { padding: 3px 9px; font: 800 italic 11px "Instrument Sans", sans-serif; text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; }
.es-feed li.sell .es-pill { background: rgba(127, 194, 65, .16); color: var(--lime-2); }
.es-feed li.buy .es-pill { background: rgba(242, 194, 48, .14); color: var(--cyan); }

.es-join { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 34px 40px;
  background: linear-gradient(110deg, rgba(127, 194, 65, .25), rgba(78, 165, 47, .18) 50%, rgba(242, 194, 48, .14)), var(--panel);
  border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.es-join h2 { font-size: clamp(30px, 3vw, 46px); font-weight: 900; color: #fff; }
.es-join p { margin: 8px 0 0; color: #c3c9d8; }

/* Discord: eigene Markenfarbe (Blurple), damit der Knopf sofort als Discord erkannt wird */
.dc-ico { width: 18px; height: 18px; fill: currentColor; stroke: none; flex: none; }
.esport .pill.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.esport .pill.discord svg { fill: #fff; stroke: none; }
.esport .pill.discord:hover { background: #4752c4; }
.es-discord { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 28px 34px; border-radius: 14px;
  background: linear-gradient(110deg, rgba(88, 101, 242, .32), rgba(88, 101, 242, .1) 60%), var(--panel); border: 1px solid rgba(88, 101, 242, .45); }
.es-discord-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #5865f2; color: #fff; box-shadow: 0 0 28px rgba(88, 101, 242, .5); }
.es-discord-logo .dc-ico { width: 36px; height: 36px; }
.es-discord h2 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; color: #fff; }
.es-discord p { margin: 6px 0 0; color: #c3c9d8; max-width: 640px; }
.esport .es-btn.discord { display: inline-flex; align-items: center; gap: 10px; background: #5865f2; color: #fff; box-shadow: 0 0 22px rgba(88, 101, 242, .45); white-space: nowrap; }
.esport .es-btn.discord:hover { background: #4752c4; filter: none; }
@media (max-width: 700px) {
  .es-discord { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; justify-items: start; }
  .esport .topbar-tools .pill.discord span { display: none; }
}

/* Ranglisten-Podium (ranglisten.php) */
.es-rank-podium { margin-bottom: 4px; }

@media (max-width: 1100px) {
  .es-lobby { grid-template-columns: 1fr; padding: 30px 24px; }
  .es-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .es-podium { grid-template-columns: 1fr; }
  .es-podium .place-1 { order: -1; }
  .es-matches { grid-template-columns: 1fr; }
  .es-join { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .es-lobby::before, .es-live { animation: none; }
  .es-card, .es-match, .esport .veh-card { transition: none; }
}
.esport .rank-table td.sorted { background: none; }
.esport .rank-table tr.p1 { background: linear-gradient(90deg, rgba(255, 180, 40, .08), transparent 70%); }
.esport .rank-table .p1 td { background: none; }

/* ---------- Hintergrundbilder (web/img/bg, hero, join) ---------- */
body.esport.has-bg::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 13, .62), rgba(11, 16, 13, .86) 45%, rgba(11, 16, 13, .95)), var(--bg-img) center top / cover no-repeat; }
body.esport.has-bg { background: transparent; }
body.esport.has-bg .side { background: rgba(7, 11, 8, .88); backdrop-filter: blur(10px); }
.es-lobby.has-img { background:
  linear-gradient(90deg, rgba(11, 16, 13, .94) 0%, rgba(11, 16, 13, .78) 45%, rgba(11, 16, 13, .35) 100%),
  linear-gradient(0deg, rgba(11, 16, 13, .7), transparent 50%),
  var(--hero-img) center / cover no-repeat; min-height: 440px; }
.es-lobby.has-img::before { opacity: .25; }
.es-join.has-img { background: linear-gradient(90deg, rgba(11, 16, 13, .9), rgba(11, 16, 13, .55)), var(--join-img) center / cover no-repeat; }

/* Handy: Raster nie breiter als der Bildschirm */
.esport main { grid-template-columns: minmax(0, 1fr); }
.esport .es-lobby > *, .esport .es-grid > *, .esport .es-podium > * { min-width: 0; }
@media (max-width: 1100px) { .es-lobby { grid-template-columns: minmax(0, 1fr); } .es-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .es-lobby { padding: 26px 18px; }
  .es-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .es-stat b { font-size: 30px; }
  .esport .topbar-tools .pill.cta { display: none; }
}
.esport .shell { grid-template-columns: 236px minmax(0, 1fr); }
@media (max-width: 1000px) { .esport .shell { grid-template-columns: minmax(0, 1fr); } }

/* Kacheln im Bild-Banner halbtransparent, damit der Traktor durchscheint */
.es-lobby.has-img .es-stat { background: rgba(7, 11, 8, .45); backdrop-filter: blur(4px); }

/* ---------- Logo: Original-Logo als Bild, auf dem Handy nur das Emblem ---------- */
.esport .logo { padding: 0 2px; }
.logo-full { display: block; width: 210px; height: auto; transition: transform .25s; }
.logo:hover .logo-full { transform: scale(1.03); }
.logo-emblem { display: none; width: 44px; height: 44px; }
@media (max-width: 1000px) { .logo-full { display: none; } .logo-emblem { display: block; } }
.dl-logo { margin: 0; text-align: center; }
.dl-logo img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }

/* ---------- Version 0.20: Community-Ziel, Gesuche, Preisalarm, Erfolge, Auktionen, Vertraege, Lohnarbeit ---------- */
.goal-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: 20px; align-items: center; padding: 18px 22px;
  background: linear-gradient(110deg, rgba(127, 194, 65, .16), rgba(242, 194, 48, .1)), var(--panel); border: 1px solid var(--line); clip-path: var(--cut); }
.goal-tag { display: inline-block; padding: 3px 10px; margin-bottom: 6px; font: 800 italic 11.5px "Instrument Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #0d1a06; background: var(--lime); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.goal-text strong { display: block; font: 900 italic 24px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; }
.goal-text small { color: var(--muted); }
.goal-meter { position: relative; height: 26px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.goal-meter i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--lime), #f2c230); box-shadow: 0 0 20px var(--lime-glow); }
.goal-meter span { position: relative; display: grid; place-items: center; height: 100%; font: 900 italic 14px "Instrument Sans", sans-serif; color: #fff; text-shadow: 0 1px 3px #000; }
.alert-form, .request-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.request-form { padding: 0 20px 16px; border-top: 0; }
.request-form strong { color: #fff; font: 800 italic 16px "Instrument Sans", sans-serif; text-transform: uppercase; }
.alert-form select, .request-form select { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font: inherit; }

/* Erfolge (Abzeichen) */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ach { display: grid; justify-items: center; gap: 4px; padding: 14px 10px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.ach .ach-ico { font-size: 30px; line-height: 1; filter: drop-shadow(0 0 10px rgba(242, 194, 48, .4)); }
.ach b { font: 800 italic 14px "Instrument Sans", sans-serif; text-transform: uppercase; color: #fff; }
.ach small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.ach.locked { opacity: .35; filter: grayscale(1); }
.ach.locked .ach-ico { filter: none; }
.coop-tag { display: inline-block; padding: 1px 7px; margin-right: 6px; font: 800 italic 12px "Instrument Sans", sans-serif; color: #0d1a06; background: var(--lime); border-radius: 3px; vertical-align: 2px; }
.season-chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; background: rgba(242, 194, 48, .12); color: #f2c230; font-weight: 800; border-radius: 6px; }

/* Auktionen */
.auction-badge { display: inline-block; padding: 2px 8px; font: 800 italic 11px "Instrument Sans", sans-serif; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #e5654c, #f2c230); border-radius: 3px; }
.countdown-cell { font: 800 italic 16px "Instrument Sans", sans-serif; color: #f2c230; font-variant-numeric: tabular-nums; }

/* Karten-Listen fuer Vertraege/Lohnarbeit/Genossenschaften */
.card-list { display: grid; gap: 10px; }
.row-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.row-card .rc-ico { display: grid; place-items: center; width: 44px; height: 44px; font-size: 24px; background: var(--bg-2); border-radius: 8px; }
.row-card strong { display: block; color: #fff; font-weight: 800; }
.row-card small { color: var(--muted); }
.row-card .rc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.status-pill { display: inline-block; padding: 2px 9px; font-size: 12px; font-weight: 800; border-radius: 4px; background: rgba(242, 194, 48, .14); color: #f2c230; }
.status-pill.ok { background: rgba(132, 220, 120, .14); color: var(--up); }
.status-pill.off { background: rgba(255, 255, 255, .06); color: var(--muted); }
.status-pill.bad { background: rgba(255, 77, 109, .14); color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; align-items: end; padding: 4px 20px 20px; }
.form-grid label { display: grid; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.form-grid input, .form-grid select { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font: inherit; }
.veh-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; padding: 0 20px 16px; }
.veh-pick label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.veh-pick input { width: 18px; height: 18px; accent-color: var(--lime); }
.veh-pick label:has(input:checked) { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
@media (max-width: 800px) { .goal-bar { grid-template-columns: minmax(0, 1fr); } .row-card { grid-template-columns: auto minmax(0, 1fr); } .row-card .rc-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.es-head-plain { font: 900 italic 30px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.esport .form select { font: inherit; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.return-all { margin: 6px 0 2px; }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; }
.lohn-job { margin-bottom: 14px; }
.lohn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.lohn-head strong { display: block; color: #fff; font-size: 17px; }

/* ---------- Bilder aus dem Spiel ---------- */
.gimg { width: 1.5em; height: 1.5em; object-fit: cover; border-radius: 6px; vertical-align: middle; }
.picon .gimg, .dicon .gimg, .rc-ico .gimg, .es-match-ico .gimg { width: 100%; height: 100%; border-radius: inherit; }
.picon:has(.gimg), .dicon:has(.gimg), .rc-ico:has(.gimg), .es-match-ico:has(.gimg) { overflow: hidden; padding: 0; }
.stock-table .p-ico .gimg { width: 30px; height: 30px; }
.veh-ico.has-img, .rc-ico.has-img, .pick-ico.has-img { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 70%, rgba(127, 194, 65, .22), rgba(255, 255, 255, .03) 70%); border-color: var(--line); }
.veh-ico.has-img { width: 112px; height: 112px; border-radius: 12px; }
.veh-ico.has-img > img:first-child, .rc-ico.has-img > img:first-child, .pick-ico.has-img > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.has-img .brand-logo { position: absolute; left: 6px; top: 6px; height: 16px; width: auto; max-width: 60%; opacity: .9; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.pick-ico { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 8px; font-size: 26px; border: 1px solid var(--line); }
.pick-ico.has-img .brand-logo, .rc-ico.has-img .brand-logo { display: none; }
.row-card .rc-ico.has-img { width: 64px; height: 64px; }
.veh-thumb-cell { display: flex; align-items: center; gap: 12px; }
.veh-thumb-cell .rc-ico { width: 72px; height: 72px; flex: none; display: grid; place-items: center; font-size: 26px; border-radius: 8px; background: var(--bg-2); }
/* Fahrzeugkarte mit Spielbild: Bild gross oben, Text darunter */
.veh-card:has(> .veh-ico.has-img) { grid-template-columns: 1fr; padding-top: 12px; }
.veh-card > .veh-ico.has-img { width: 100%; height: 170px; border-radius: 10px; }
.veh-card > .veh-ico.has-img .brand-logo { height: 20px; left: 10px; top: 10px; }
.veh-card:has(> .veh-ico.has-img) > * { grid-column: 1; }
.veh-ico.has-img, .rc-ico.has-img, .pick-ico.has-img { display: block; }
.veh-ico.has-img > img:first-child, .rc-ico.has-img > img:first-child, .pick-ico.has-img > img:first-child { display: block; }
.veh-card .veh-sell .price-input { min-width: 0; flex: 1; }
.veh-card:has(> .veh-ico.has-img) { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.veh-card:has(> .veh-ico.has-img) .veh-sell { flex-wrap: wrap; }
/* echte Warensymbole: ganz zeigen, nicht beschneiden */
.gimg.gicon { object-fit: contain; border-radius: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.picon .gimg.gicon, .dicon .gimg.gicon, .rc-ico .gimg.gicon, .es-match-ico .gimg.gicon { width: 76%; height: 76%; margin: 12%; }
/* Gemietete Server */
.server-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.server-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 0 20px 14px; }
.server-facts div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.server-facts small { display: block; color: var(--muted); font-size: 12px; }
.server-facts b { font-size: 16px; color: #fff; }
.server-facts em { display: block; font-style: normal; font-size: 12px; color: var(--lime); }
.server-note { padding: 0 20px; }
.server-actions { padding: 0 20px 16px; flex-wrap: wrap; }
.server-form { padding: 0 20px 20px; }
.steps-list { margin: 0; padding: 0 20px 6px 42px; display: grid; gap: 8px; }
.steps-list + .muted { padding: 0 20px 18px; }
.server-actions { display: flex; gap: 10px; align-items: center; }
.server-actions form { margin: 0; }

/* ---------- Fahrzeugmarkt (Maschinenbörse) ---------- */
.vm-kpis em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
.vm-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; }
.vm-filter { position: sticky; top: 16px; padding: 18px; display: grid; gap: 14px; }
.vm-filter header { display: flex; justify-content: space-between; align-items: baseline; padding: 0; }
.vm-filter h2 { margin: 0; }
.vm-filter label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.vm-filter input, .vm-filter select { font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.vm-filter input:focus, .vm-filter select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow); }
.vm-info { display: grid; gap: 4px; padding: 12px; border-radius: 8px; border: 1px solid rgba(242, 194, 48, .3); background: rgba(242, 194, 48, .06); font-size: 13px; color: var(--muted); }
.vm-info b { color: var(--cyan); font-size: 13px; }
.vm-filter .btn, .vm-filter .btn-line { text-align: center; }
.vm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.vm-head h2 { margin: 0; font: 900 italic 30px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; }
.vm-head small { font: 600 14px Inter, sans-serif; color: var(--muted); text-transform: none; margin-left: 8px; }
.vm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vm-card { display: flex; flex-direction: column; background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.vm-card:hover { transform: translateY(-3px); border-color: rgba(127, 194, 65, .55); box-shadow: 0 18px 40px -20px var(--lime-glow); }
.vm-card.is-auction { border-color: rgba(242, 194, 48, .35); }
.vm-card[hidden] { display: none; }
.vm-media { position: relative; height: 190px; display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 55% at 50% 72%, rgba(127, 194, 65, .28), transparent 70%), linear-gradient(180deg, #1c2a21 0%, #0f1612 100%); border-bottom: 1px solid var(--line); }
.vm-media::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 18px; height: 14px; border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(6px); }
.vm-media > img:first-child { position: relative; z-index: 1; width: 86%; height: 86%; object-fit: contain; transition: transform .3s; }
.vm-card:hover .vm-media > img:first-child { transform: scale(1.05); }
.vm-fallback { font-size: 64px; }
.vm-logo { position: absolute; z-index: 2; left: 12px; top: 12px; height: 22px; width: auto; max-width: 45%; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
.vm-badge { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: rgba(15, 21, 17, .85); border: 1px solid var(--line-2); color: var(--ink); }
.vm-badge.auction { background: var(--cyan); border-color: var(--cyan); color: #1b1600; }
.vm-cond { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(15, 21, 17, .88); border: 1px solid var(--line-2);
  color: color-mix(in srgb, var(--up) calc(var(--c) * 1%), var(--red)); }
.vm-needs { position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 3px 8px; border-radius: 6px; font-size: 11px; background: rgba(15, 21, 17, .88); border: 1px solid var(--line-2); color: var(--muted); }
.vm-body { padding: 14px 16px 6px; display: grid; gap: 4px; }
.vm-kicker { color: var(--lime); font-size: 12px; font-weight: 700; }
.vm-body h3 { margin: 0; font: 800 italic 25px/1.05 "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-seller { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.vm-seller svg { width: 14px; height: 14px; }
.vm-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.vm-chips div { padding: 8px 6px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.vm-chips b { display: block; font-size: 14px; color: #fff; white-space: nowrap; }
.vm-chips small { font-size: 11px; color: var(--muted); }
.vm-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); margin-top: 10px; }
.vm-price { display: grid; min-width: 0; }
.vm-price small { font-size: 11px; color: var(--muted); }
.vm-price b { font: 900 italic 28px/1 "Big Shoulders Display", sans-serif; color: var(--cyan); }
.vm-price em { font-style: normal; font-size: 11px; color: var(--up); }
.vm-action { flex: none; }
.vm-form { display: grid; gap: 6px; justify-items: end; }
.vm-form select { font: inherit; font-size: 12px; padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); max-width: 140px; }
.vm-bid { display: flex; gap: 6px; }
.vm-bid .price-input { width: 96px; padding: 7px 8px; font-size: 14px; }
.vm-own { font-size: 12px; color: var(--muted); }
@media (max-width: 980px) {
  .vm-layout { grid-template-columns: 1fr; }
  .vm-filter { position: static; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .vm-filter header, .vm-info { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .vm-card, .vm-media > img:first-child { transition: none; } }
.vm-media { display: block; }
.vm-media > img:first-child { position: absolute; inset: 14px 14px 18px; width: calc(100% - 28px); height: calc(100% - 32px); }
.vm-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.vm-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.vm-card.is-auction .vm-foot { flex-direction: column; align-items: stretch; }
.vm-card.is-auction .vm-form { grid-template-columns: 1fr; justify-items: stretch; }
.vm-card.is-auction .vm-form select { max-width: none; }
.vm-card.is-auction .vm-bid .price-input { flex: 1; width: auto; }
.vm-price .countdown-cell { font: 700 11px Inter, sans-serif; color: var(--cyan); }
.vm-price b { white-space: nowrap; }
.vm-bid { width: 100%; min-width: 0; }
.vm-bid .price-input { min-width: 0; }
.vm-bid .btn { flex: none; }
.vm-card .vm-form { min-width: 0; }
.vm-card.is-auction .vm-action { width: 100%; }
.vm-card:not(.is-auction) .vm-foot:has(.vm-bid) { flex-direction: column; align-items: stretch; }
.vm-foot .vm-bid .price-input { flex: 1; width: auto; }

/* ---------- Börse: Beliebte Handelswaren ---------- */
.popular-goods { padding-bottom: 18px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0 20px; }
.pg-tile { display: grid; justify-items: center; gap: 3px; padding: 16px 10px 12px; border-radius: 12px; text-decoration: none; color: inherit; text-align: center;
  background: radial-gradient(circle at 50% 28%, rgba(242, 194, 48, .14), transparent 62%), linear-gradient(170deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pg-tile:hover { transform: translateY(-3px); border-color: rgba(242, 194, 48, .55); box-shadow: 0 14px 30px -18px var(--cyan-glow); }
.pg-tile.on { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.pg-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; font-size: 40px; }
.pg-ico .gimg { width: 64px; height: 64px; }
.pg-ico .gimg.gicon { width: 60px; height: 60px; margin: 2px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
.pg-tile strong { font-size: 15px; color: #fff; }
.pg-price { font: 900 italic 22px/1 "Big Shoulders Display", sans-serif; color: var(--cyan); }
.pg-change { font-size: 12px; font-weight: 700; color: var(--muted); }
.pg-change.up { color: var(--up); }
.pg-change.down { color: var(--red); }
.pg-tile small { font-size: 11px; color: var(--muted); }

/* ---------- Börse: Handelsplatz mit Reitern ---------- */
.tt-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tt-nav { display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.tt-tab { font: 700 14px Inter, sans-serif; color: var(--muted); background: transparent; border: 0; border-radius: 7px; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.tt-tab:hover { color: #fff; }
.tt-tab:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tt-tab .count { font-size: 11px; }
.tt-panel { display: none; }
.tt-hint { padding: 0 20px; margin: 0 0 10px; }
html:not([data-trade-tab]) .tt-panel[data-tab="angebote"],
html[data-trade-tab="angebote"] .tt-panel[data-tab="angebote"],
html[data-trade-tab="gesuche"] .tt-panel[data-tab="gesuche"],
html[data-trade-tab="verlauf"] .tt-panel[data-tab="verlauf"] { display: block; }
html:not([data-trade-tab]) .tt-tab[data-tab="angebote"],
html[data-trade-tab="angebote"] .tt-tab[data-tab="angebote"],
html[data-trade-tab="gesuche"] .tt-tab[data-tab="gesuche"],
html[data-trade-tab="verlauf"] .tt-tab[data-tab="verlauf"] { background: var(--lime); color: #10200a; }
@media (prefers-reduced-motion: reduce) { .pg-tile { transition: none; } }
.pg-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
/* Beliebte Handelswaren: quer – Symbol links, Name/Kurs rechts, Fusszeile unten */
.pg-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pg-tile { grid-template-columns: 64px auto 1fr; grid-template-areas: "ico name name" "ico price change" "foot foot foot";
  justify-items: start; align-items: center; column-gap: 12px; row-gap: 2px; text-align: left; padding: 14px 16px;
  background: radial-gradient(circle at 15% 40%, rgba(242, 194, 48, .14), transparent 45%), linear-gradient(170deg, var(--panel-2), var(--bg-2)); }
.pg-ico { grid-area: ico; margin: 0; }
.pg-tile strong { grid-area: name; font-size: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-price { grid-area: price; font-size: 26px; }
.pg-change { grid-area: change; justify-self: start; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .05); }
.pg-change.up { background: rgba(46, 230, 160, .1); }
.pg-change.down { background: rgba(255, 77, 109, .1); }
.pg-tile small { grid-area: foot; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); width: 100%; white-space: nowrap; }

/* ---------- Wiki & Hilfe ---------- */
.wk-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.wk-toc { position: sticky; top: 16px; padding: 14px; display: grid; gap: 10px; }
.wk-search input { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.wk-search input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow); }
.wk-toc nav { display: grid; gap: 2px; }
.wk-toc nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.wk-toc nav a svg { width: 18px; height: 18px; flex: none; }
.wk-toc nav a:hover { color: #fff; background: var(--bg-2); }
.wk-toc nav a.on { color: #fff; background: rgba(127, 194, 65, .14); box-shadow: inset 3px 0 0 var(--lime); }
.wk-toc nav a.dim { opacity: .35; }
.wk-content { display: grid; gap: 16px; min-width: 0; }
.wk-section { scroll-margin-top: 16px; }
.wk-section[hidden] { display: none; }
.wk-section h2 { display: flex; align-items: center; gap: 12px; }
.wk-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(242, 194, 48, .12); border: 1px solid rgba(242, 194, 48, .35); color: var(--cyan); flex: none; }
.wk-ico svg { width: 22px; height: 22px; }
.wk-body { padding: 0 22px 20px; max-width: 78ch; line-height: 1.65; color: var(--ink); }
.wk-body h3 { margin: 18px 0 6px; font: 800 italic 20px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: var(--lime); }
.wk-body ul, .wk-body ol { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.wk-body li::marker { color: var(--lime); font-weight: 700; }
.wk-body code, .wk-body kbd { font: 600 13px ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--cyan); }
.wk-body a { color: var(--lime); }
.wk-steps { counter-reset: none; }
.wk-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(127, 194, 65, .35); background: rgba(127, 194, 65, .07); }
.wk-faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); margin-bottom: 8px; }
.wk-faq details[hidden] { display: none; }
.wk-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.wk-faq summary::-webkit-details-marker { display: none; }
.wk-faq summary::after { content: "+"; color: var(--lime); font-size: 20px; line-height: 1; }
.wk-faq details[open] summary::after { content: "–"; }
.wk-faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); }
@media (max-width: 980px) {
  .wk-layout { grid-template-columns: 1fr; }
  .wk-toc { position: static; }
  .wk-toc nav { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
.wk-toc nav a svg, .wk-ico svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wk-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.wk-roles div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.wk-roles b:first-child { color: var(--cyan); font-size: 15px; }
.wk-roles span { color: var(--muted); }

/* ---------- Lohnbörse ---------- */
.lb-tabs .tt-panel { display: none; padding: 0 20px 20px; }
html:not([data-lb-tab]) .lb-tabs .tt-panel[data-tab="auftraege"],
html[data-lb-tab="auftraege"] .lb-tabs .tt-panel[data-tab="auftraege"],
html[data-lb-tab="kunde"] .lb-tabs .tt-panel[data-tab="kunde"],
html[data-lb-tab="lohner"] .lb-tabs .tt-panel[data-tab="lohner"] { display: block; }
.lb-tabs .tt-tab { background: transparent; color: var(--muted); }
html:not([data-lb-tab]) .lb-tabs .tt-tab[data-tab="auftraege"],
html[data-lb-tab="auftraege"] .lb-tabs .tt-tab[data-tab="auftraege"],
html[data-lb-tab="kunde"] .lb-tabs .tt-tab[data-tab="kunde"],
html[data-lb-tab="lohner"] .lb-tabs .tt-tab[data-tab="lohner"] { background: var(--lime); color: #10200a; }
.lb-filter { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.lb-filter input, .lb-filter select { font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.lb-list { display: grid; gap: 14px; margin-top: 14px; }
.lb-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; border: 1px solid var(--line);
  background: radial-gradient(circle at 8% 0%, rgba(127, 194, 65, .12), transparent 40%), linear-gradient(170deg, var(--panel-2), var(--panel)); transition: border-color .2s, transform .2s; }
.lb-card:hover { border-color: rgba(127, 194, 65, .5); }
.lb-card[hidden] { display: none; }
.lb-top { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.lb-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; font-size: 28px; background: rgba(242, 194, 48, .12); border: 1px solid rgba(242, 194, 48, .35); }
.lb-top h3 { margin: 0; font: 800 italic 22px/1.05 "Big Shoulders Display", sans-serif; text-transform: uppercase; color: #fff; }
.lb-farm { font-size: 13px; color: var(--muted); }
.lb-price { text-align: right; display: grid; }
.lb-price b { font: 900 italic 26px/1 "Big Shoulders Display", sans-serif; color: var(--cyan); white-space: nowrap; }
.lb-price small { font-size: 11px; color: var(--muted); }
.lb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-chips span { font-size: 12px; padding: 5px 9px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }
.lb-chips b { color: var(--muted); font-weight: 600; margin-right: 3px; }
.lb-note { margin: 0; font-size: 14px; color: var(--muted); font-style: italic; }
.lb-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--line); padding-top: 10px; }
.lb-stars { color: var(--cyan); letter-spacing: 1px; }
.lb-stars i { color: var(--dim); font-style: normal; }
.lb-stars small { color: var(--muted); letter-spacing: 0; }
.lb-stars.none { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.lb-cta { align-self: flex-start; }
.lb-apply summary, .lb-new summary { list-style: none; cursor: pointer; display: inline-flex; }
.lb-apply summary::-webkit-details-marker, .lb-new summary::-webkit-details-marker { display: none; }
.lb-apply[open] summary { display: none; }
.lb-apply form, .lb-form { margin-top: 10px; }
.lb-new { margin-bottom: 6px; }
.lb-new[open] summary { margin-bottom: 4px; }
.lb-wide { grid-column: 1 / -1; }
.lb-state { position: absolute; top: 14px; right: 16px; }
.lb-card.wide .lb-top { padding-right: 130px; }
.lb-sub { margin: 4px 0 0; font: 800 italic 18px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: var(--lime); }
.lb-app { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.lb-app p { margin: 4px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.lb-app-price { font: 900 italic 22px "Big Shoulders Display", sans-serif; color: var(--cyan); }
.lb-actions { display: flex; gap: 10px; align-items: center; }
.lb-pad { margin: 0; }
.lb-rate { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; border: 1px dashed rgba(242, 194, 48, .4); }
.lb-rate input[name="text"] { flex: 1; min-width: 160px; font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.lb-starpick { display: inline-flex; flex-direction: row-reverse; }
.lb-starpick input { position: absolute; opacity: 0; pointer-events: none; }
.lb-starpick label { font-size: 24px; color: var(--dim); cursor: pointer; padding: 0 1px; }
.lb-starpick input:checked ~ label, .lb-starpick label:hover, .lb-starpick label:hover ~ label { color: var(--cyan); }
.lb-starpick input:focus-visible + label { outline: 2px solid var(--lime); }
@media (max-width: 700px) {
  .lb-filter { grid-template-columns: 1fr; }
  .lb-top { grid-template-columns: 44px minmax(0, 1fr); }
  .lb-price { grid-column: 1 / -1; text-align: left; }
  .lb-card.wide .lb-top { padding-right: 0; padding-top: 28px; }
  .lb-app { grid-template-columns: 1fr; }
}
.legal-body ul { margin: 0 0 12px; padding-left: 22px; max-width: 72ch; display: grid; gap: 4px; }
.legal-body li::marker { color: var(--lime); }
.legal-body a { color: var(--lime); }

/* ---------- Werbung in eigener Sache (GamingPlus) + Unterstuetzen ---------- */
.gp-promo { display: grid; gap: 6px; padding: 14px; border-radius: 12px; border: 1px solid rgba(242, 194, 48, .35);
  background: radial-gradient(circle at 90% 0%, rgba(242, 194, 48, .16), transparent 55%), linear-gradient(170deg, var(--panel-2), var(--bg-2)); }
.gp-label { font-size: 10px; color: var(--dim); letter-spacing: .03em; }
.gp-promo strong { color: #fff; font-size: 15px; }
.gp-promo span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.gp-promo b { color: var(--cyan); }
.gp-code { font: 800 14px ui-monospace, Consolas, monospace; color: var(--cyan) !important; padding: 6px 8px; border: 1px dashed rgba(242, 194, 48, .55); border-radius: 7px; background: rgba(242, 194, 48, .06); }
.gp-code em { display: block; font: 500 11px Inter, sans-serif; font-style: normal; color: var(--muted); }
.gp-promo .btn { justify-self: start; }
.side-foot .gp-side { margin-bottom: 12px; }
.gp-wide { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "title btn" "text btn" "code btn"; align-items: center; column-gap: 20px; padding: 18px 22px; margin-bottom: 16px; }
.gp-wide .gp-label { grid-area: label; }
.gp-wide strong { grid-area: title; font-size: 18px; }
.gp-wide > span:not(.gp-code) { grid-area: text; }
.gp-wide .gp-code { grid-area: code; justify-self: start; }
.gp-wide .btn { grid-area: btn; }
.supporter { font-size: .85em; }
.support-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: 24px; }
.support-hero h2 { margin: 0 0 8px; }
.support-text p { max-width: 62ch; line-height: 1.6; }
.support-perks { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0 16px; }
.support-perks li::marker, .support-other li::marker { color: var(--lime); }
.support-other { padding: 16px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); align-self: start; }
.support-other h3 { margin: 0 0 8px; font: 800 italic 20px "Big Shoulders Display", sans-serif; text-transform: uppercase; color: var(--lime); }
.support-other ul { padding-left: 18px; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.support-other a { color: var(--lime); }
.support-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.support-list span { padding: 6px 12px; border-radius: 999px; background: rgba(242, 194, 48, .1); border: 1px solid rgba(242, 194, 48, .35); color: #fff; font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .support-hero { grid-template-columns: 1fr; } .gp-wide { grid-template-columns: 1fr; grid-template-areas: "label" "title" "text" "code" "btn"; } }
.gp-side { gap: 5px; padding: 12px; }
.gp-side > span:not(.gp-code) { display: none; }
.gp-side strong { font-size: 14px; }
.gp-side .gp-code { font-size: 13px; padding: 5px 8px; }
@media (max-height: 980px) { .side-foot > p { display: none; } }
@media (max-height: 820px) { .side-foot .gp-side { display: none; } }
.esport .side { overflow-y: auto; scrollbar-width: thin; }
@media (max-height: 1150px) { .side-foot > p { display: none; } }
@media (max-height: 820px) { .side-foot .gp-side { display: block; } }
.gp-side .gp-code em { display: none; }
.gp-side .gp-label { display: none; }
.gp-side { grid-template-columns: 1fr auto; grid-template-areas: "title title" "code btn"; align-items: center; column-gap: 8px; }
.gp-side strong { grid-area: title; }
.gp-side .gp-code { grid-area: code; }
.gp-side .btn { grid-area: btn; padding: 7px 10px; font-size: 12px; }
.esport .side-foot:has(.gp-side) { padding: 10px; }
.side-foot .gp-side { margin-bottom: 0; }
.gp-side .gp-label { display: block; grid-column: 1 / -1; font-size: 9.5px; }
.gp-side { grid-template-areas: "label label" "title title" "code btn"; }
/* Seitenleiste: GamingPlus als eine saubere Karte (ohne Kasten im Kasten) */
.esport .side-foot:has(.gp-card) { background: none; border: 0; padding: 0; }
.gp-card { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: inherit;
  border: 1px solid rgba(242, 194, 48, .3); background: radial-gradient(circle at 100% 0%, rgba(242, 194, 48, .14), transparent 60%), var(--panel);
  transition: border-color .2s, transform .2s; }
.gp-card:hover { border-color: rgba(242, 194, 48, .7); transform: translateY(-2px); }
.gp-card small { font-size: 10px; color: var(--dim); }
.gp-card-row { display: flex; gap: 10px; align-items: center; }
.gp-card-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; font-size: 18px; background: rgba(242, 194, 48, .12); }
.gp-card strong { display: block; font-size: 13.5px; line-height: 1.25; color: #fff; }
.gp-card em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.gp-card-code { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); }
.gp-card-code b { font: 800 13px ui-monospace, Consolas, monospace; color: var(--cyan); letter-spacing: .03em; }
.gp-card-code i { margin-left: auto; font-style: normal; color: var(--cyan); transition: transform .2s; }
.gp-card:hover .gp-card-code i { transform: translateX(3px); }
@media (max-height: 820px) { .side-foot .gp-card { display: none; } }
@media (prefers-reduced-motion: reduce) { .gp-card, .gp-card-code i { transition: none; } }

/* Lohnboerse: Feldauswahl */
.lb-lands small { display: block; color: var(--muted); margin-bottom: 6px; }
.lb-land-list { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-land { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.lb-land small { margin: 0; font-weight: 400; font-size: 11px; }
.lb-land:hover { border-color: #7fc241; }
.lb-land.on { background: rgba(127, 194, 65, .18); border-color: #7fc241; color: #fff; }
.lb-land:focus-visible { outline: 2px solid #f2c230; outline-offset: 2px; }

/* Lohnboerse: Termin */
.lb-appt { margin: 10px 0 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg-2); }
.lb-appt.ok { border-style: solid; border-color: rgba(127, 194, 65, .55); }
.lb-appt-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-appt-head > span:nth-child(2) { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.lb-appt-head b { font-size: 16px; }
.lb-appt.ok .lb-appt-head b { color: #7fc241; }
.lb-appt-head small { color: var(--muted); }
.lb-appt-ico { font-size: 22px; }
.lb-appt-edit { margin-top: 8px; }
.lb-appt-edit summary { cursor: pointer; color: #f2c230; font-size: 13px; font-weight: 600; }
.lb-appt-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; margin-top: 10px; }
.lb-appt-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.lb-appt-form .lb-wide { grid-column: 1 / -1; }

/* Vorschau: Lager als Kacheln */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.st-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: linear-gradient(160deg, rgba(127, 194, 65, .08), rgba(0, 0, 0, .25) 60%), var(--bg-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.st-card:hover { border-color: rgba(127, 194, 65, .5); }
.st-top { display: flex; align-items: center; gap: 12px; }
.st-ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); font-size: 28px; }
.st-ico .gicon { width: 44px; height: 44px; }
.st-name { display: flex; flex-direction: column; min-width: 0; }
.st-name strong { font-size: 17px; line-height: 1.15; overflow-wrap: anywhere; }
.st-name small { color: var(--muted); font-size: 12px; }
.st-amount { display: flex; align-items: baseline; gap: 6px; }
.st-amount b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; color: #f2c230; }
.st-amount span { color: var(--muted); font-size: 13px; }
.st-bar { display: flex; height: 6px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.st-bar i { display: block; height: 100%; }
.st-silo { background: #7fc241; }
.st-paletten { background: #f2c230; }
.st-ballen { background: #c98a3c; }
.st-parts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.st-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; }
.st-value { display: flex; flex-direction: column; font-weight: 700; }
.st-value small { color: var(--muted); font-weight: 400; font-size: 11px; }
.st-pending { font-size: 11px; color: #f2c230; text-align: right; }
.st-offer summary { list-style: none; text-align: center; cursor: pointer; }
.st-offer summary::-webkit-details-marker { display: none; }
.st-offer[open] summary { opacity: .6; }
.st-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.st-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.st-form input { width: 100%; min-width: 0; }
.st-form .btn { grid-column: 1 / -1; }
.st-all { font-size: 12px; text-align: center; }

/* Vorschau: Startseite – Bereichskacheln und Schritte */
.hb-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px; margin: 18px 0; }
.hb-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 20px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: border-color .2s, transform .2s; }
.hb-tile:hover { border-color: #7fc241; transform: translateY(-2px); }
.hb-tile:focus-visible { outline: 2px solid #f2c230; outline-offset: 3px; }
.hb-market { grid-column: span 2; grid-row: span 2; background: radial-gradient(120% 90% at 100% 0, rgba(127, 194, 65, .22), transparent 60%), var(--bg-2); }
.hb-veh, .hb-lohn { grid-column: span 1; }
.hb-rank { grid-column: span 2; background: radial-gradient(90% 120% at 100% 100%, rgba(242, 194, 48, .2), transparent 60%), var(--bg-2); }
.hb-kicker { font-size: 13px; font-weight: 700; color: #7fc241; }
.hb-tile h3 { margin: 0; font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-style: italic; font-size: 26px; line-height: 1.02; text-transform: uppercase; max-width: 16ch; position: relative; z-index: 1; }
.hb-market h3 { font-size: 38px; max-width: 13ch; }
.hb-foot { margin-top: auto; font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.hb-foot b { color: #f2c230; font-size: 16px; }
.hb-tile.has-img img { position: absolute; right: -6%; bottom: -4%; width: 62%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); transition: transform .3s; }
.hb-tile.has-img:hover img { transform: translateX(-6px) scale(1.03); }
.hb-tile.has-img h3 { max-width: 12ch; }
.hb-goods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.hb-good { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.hb-good-ico { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; font-size: 26px; }
.hb-good-ico .gicon { width: 42px; height: 42px; }
.hb-good b { font-size: 18px; }
.hb-good small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-good.up b { color: #7fc241; }
.hb-good.down b { color: #ff6b6b; }
.hb-trophy { position: absolute; right: 18px; bottom: 10px; font-size: 76px; opacity: .9; transform: rotate(-8deg); }
.hb-steps { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 0 0 18px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(90deg, rgba(127, 194, 65, .14), rgba(0, 0, 0, .2)); border: 1px solid var(--line); }
.hb-steps h2 { margin: 0; font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-style: italic; font-size: 28px; line-height: 1; text-transform: uppercase; max-width: 8ch; }
.hb-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.hb-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; padding-left: 46px; position: relative; font-size: 13px; color: var(--muted); }
.hb-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f2c230; color: #11160f; font-weight: 800; font-size: 17px; }
.hb-steps li b { color: var(--ink); font-size: 15px; }
@media (max-width: 1100px) {
  .hb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-market { grid-row: auto; }
  .hb-steps { grid-template-columns: 1fr; }
  .hb-steps h2 { max-width: none; }
}
@media (max-width: 640px) {
  .hb-bento { grid-template-columns: minmax(0, 1fr); }
  .hb-market, .hb-veh, .hb-lohn, .hb-rank { grid-column: auto; }
  .hb-market h3 { font-size: 30px; }
  .hb-steps ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hb-tile, .hb-tile img { transition: none; } .hb-tile:hover { transform: none; } }
.hb-veh, .hb-lohn { min-height: 250px; }
.hb-veh h3, .hb-lohn h3 { font-size: 22px; max-width: 11ch; }
.hb-tile.has-img img { width: 58%; right: -8%; bottom: 18%; max-height: 62%; }
.hb-tile.has-img .hb-foot { align-self: flex-start; padding: 5px 9px; border-radius: 7px; background: rgba(8, 12, 9, .78); }

/* Vorschau: Hofverzeichnis */
.hv-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.hv-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.hv-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.hv-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 0; color: var(--ink); font: inherit; }
.hv-search input:focus { outline: none; }
.hv-search:focus-within { border-color: #7fc241; }
.hv-check { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.hv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.hv-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); transition: border-color .2s; }
.hv-card:hover { border-color: #7fc241; }
.hv-card:focus-visible { outline: 2px solid #f2c230; outline-offset: 3px; }
.hv-card.online { background: linear-gradient(160deg, rgba(127, 194, 65, .12), transparent 55%), var(--bg-2); }
.hv-top { display: flex; align-items: center; gap: 12px; }
.hv-top .es-avatar { width: 46px; height: 46px; font-size: 22px; flex: none; }
.hv-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hv-name strong { font-size: 17px; line-height: 1.15; overflow-wrap: anywhere; }
.hv-name small { color: var(--muted); font-size: 12px; }
.hv-state { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.hv-card.online .hv-state { color: #7fc241; font-weight: 600; }
.hv-desc { margin: 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 8px; border-radius: 7px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.hv-chips svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.hv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.hv-stats span { display: flex; flex-direction: column; }
.hv-stats b { font-size: 15px; color: #f2c230; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-stats small { font-size: 11px; color: var(--muted); }
.hv-filter select { font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
@media (max-width: 640px) { .hv-filter > * { flex: 1 1 100%; } }
