/* RobVaultDB · "Dispatch-Terminal": Lichtleiste oben, Akten-Look mit Mono-Labels, Farben Blau/Weiß/Rot */
:root {
  --bg: #060810;
  --panel: #0c101c;
  --panel-2: #121829;
  --line: #1f2840;
  --text: #f5f7fc;
  --muted: #8a93ab;
  --accent: #2f6bff;
  --accent-ink: #ffffff;
  --red: #ff3347;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-common: #d9d9d2; --r-uncommon: #7ed43a; --r-epic: #b06cff; --r-legendary: #ff9b26; --r-exotic: #ff4f45;
  --tip-desc: #d0936a;
  --side: 232px;
  --rad: 10px; --rad-s: 6px; --hdr: 190px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: .005em; }
h2 { font-size: 30px; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); color: var(--red); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: "// "; color: var(--muted); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kopfzeile oben mit Navigation */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(6,8,16,.96); backdrop-filter: blur(6px); }
.hbar { max-width: 1400px; margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .wm { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.brand .wm em { font-style: italic; background: var(--red); color: #fff; padding: 1px 6px 0; margin-left: 4px; font-size: 20px; vertical-align: 3px; }
nav.main { display: flex; align-items: stretch; height: 100%; }
nav.main > a, nav.main .dd > button { display: flex; align-items: center; gap: 6px; padding: 0 14px; text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: #c3cadb; border: 0; background: none; font-family: inherit; cursor: pointer; border-bottom: 3px solid transparent; }
nav.main > a:hover, nav.main .dd:hover > button { color: var(--text); }
nav.main > a.on, nav.main .dd.on > button { color: var(--text); border-bottom-color: var(--red); }
nav.main .badge { font-family: var(--font-mono); font-size: 10px; background: var(--red); color: #fff; padding: 1px 5px; }
.dd { position: relative; display: flex; }
.dd .menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--panel-2); border: 1px solid var(--line); display: none; padding: 6px 0; }
.dd:hover .menu, .dd:focus-within .menu { display: block; }
.dd .menu a { display: flex; justify-content: space-between; padding: 8px 14px; text-decoration: none; font-size: 14px; color: #c7cede; }
.dd .menu a span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.dd .menu a:hover { background: #1a2238; color: var(--text); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input { width: 220px; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 8px 30px 8px 10px; font: inherit; font-size: 14px; }
.search kbd { position: absolute; right: 8px; top: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 0 5px; }
.results { position: absolute; right: 0; top: 42px; width: 340px; background: var(--panel-2); border: 1px solid var(--line); max-height: 60vh; overflow: auto; display: none; z-index: 60; }
.results.open { display: block; }
.results a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; text-decoration: none; border-bottom: 1px solid var(--line); }
.results a:hover, .results a.sel { background: #18213a; }
.results img { width: 44px; height: 26px; object-fit: contain; }
.results b { color: var(--rc); }
.btn-discord { display: flex; align-items: center; gap: 8px; background: #5865f2; color: #fff; border: 0; padding: 9px 12px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-discord svg { width: 18px; height: 18px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); display: inline-block; }
.led.b { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lightbar { height: 2px; background: #2c3346; margin-top: 4px; }
.lightbar i { display: none; }
.content { min-width: 0; }
/* Statuszeile unter der Navigation (Patch, Spieler online, Peak …) */
.statusline { border-bottom: 1px solid var(--line); background: #080b14; }
.statusline .in { max-width: 1400px; margin: 0 auto; padding: 9px 28px; display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.statusline a { text-decoration: none; }
.statusline .lnk { color: #c7cede; border-bottom: 1px dotted #59627d; }
.statusline .lnk:hover { color: var(--text); border-bottom-color: var(--text); }
.statusline .sep { color: #3a4258; font-size: 11px; }
.statusline .on { color: #5fe07a; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.statusline .on i { width: 7px; height: 7px; border-radius: 50%; background: #5fe07a; box-shadow: 0 0 6px #5fe07a; }
.statusline b { color: var(--text); font-weight: 600; }
.statusline .right { margin-left: auto; display: flex; gap: 18px; }
.crumbbar { max-width: 1400px; margin: 0 auto; padding: 14px 28px 0; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.crumbbar .chip-logo { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #5a1f28; background: #1a0b10; padding: 2px 8px; font-weight: 700; color: var(--red); font-size: 13px; text-decoration: none; }
.crumbbar .chip-logo span { color: var(--muted); font-weight: 600; }
.crumbbar .arr { color: var(--muted); font-size: 10px; }
.crumbbar .cur { color: #ffb02e; }
main { padding-top: 18px !important; }

/* Spieler-Statistik (wie Charts-Seiten) */
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pstat { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; }
.pstat small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pstat b { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1.05; }
.pstat span { color: var(--muted); font-size: 13px; }
.pstat.live b { color: #5fe07a; }
.chartbox { background: var(--panel); border: 1px solid var(--line); padding: 16px; margin-top: 12px; }
.chartbox .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.chartbox svg { width: 100%; height: auto; display: block; }
.chartbox .note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.ranges { display: flex; gap: 4px; }
.ranges button { background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 4px 10px; cursor: pointer; }
.ranges button.on { background: var(--accent); border-color: var(--accent); color: #fff; }

main { padding: 28px 28px 60px; max-width: 1400px; margin: 0 auto; }

.view { display: none; }
.view.on { display: block; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; font-family: inherit; }
.btn:hover { border-color: #3a4870; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); background: var(--panel); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.r-common { --rc: var(--r-common); } .r-uncommon { --rc: var(--r-uncommon); } .r-epic { --rc: var(--r-epic); } .r-legendary { --rc: var(--r-legendary); } .r-exotic { --rc: var(--r-exotic); }
.rar { color: var(--rc); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; text-transform: capitalize; }
.rar .dot { background: var(--rc); }
.section { margin-top: 38px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.section-head a { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-decoration: none; }

/* Startseite: Dispatch-Board */
.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.brief { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.brief .map-ghost { position: absolute; right: -8%; bottom: -18%; width: 62%; aspect-ratio: 1800 / 1380; background: url("../img/map/looty-bay-small.webp") center / cover; opacity: .16; filter: grayscale(1); transform: rotate(-6deg); }
.brief > *:not(.map-ghost) { position: relative; }
.brief p { max-width: 50ch; margin: 0; color: #c7cede; }
.brief .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.apb { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); border: 1px solid var(--line); background: #0a0d17; overflow: hidden; }
.apb .tag { background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 500; padding: 9px 14px; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.apb .track { overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.apb .run { display: inline-flex; gap: 34px; padding-left: 20px; animation: ticker 60s linear infinite; font-family: var(--font-mono); font-size: 13px; }
.apb .run a { text-decoration: none; color: #c7cede; }
.apb .run a b { color: var(--rc); font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wanted { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.poster { background: var(--panel); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; position: relative; }
.poster:hover { border-color: var(--rc); }
.poster .ptop { display: flex; justify-content: space-between; padding: 8px 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.poster .ptop b { color: var(--red); font-weight: 500; letter-spacing: .12em; }
.poster .pimg { height: 110px; display: grid; place-items: center; margin: 10px; border: 1px solid color-mix(in srgb, var(--rc, var(--r-common)) 55%, transparent);
  background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--rc) 18%, #0f1320) 0%, #0a0c14 75%); }
.poster .pimg img { max-height: 92px; max-width: 88%; object-fit: contain; }
.poster .pname { padding: 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1; }
.poster .pmeta { padding: 4px 12px 0; font-size: 13px; color: var(--muted); }
.poster .pmeta .rn { color: var(--rc); }
.poster .reward { margin-top: auto; padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 12px; }
.poster .reward small { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.poster .reward b { font-family: var(--font-mono); font-size: 17px; font-weight: 500; }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.job { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.job:hover { border-color: var(--accent); }
.job .n { font-family: var(--font-mono); font-size: 28px; color: var(--accent); line-height: 1; }
.job h3 { margin-bottom: 6px; }
.job p { margin: 0; color: var(--muted); font-size: 14px; }
.news-mini { display: grid; gap: 8px; }

/* News */
.news-list { display: grid; gap: 12px; max-width: 900px; }
.post { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 16px 18px; }
.post.patch { border-left-color: var(--red); }
.post .meta { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.post .meta .type { color: #fff; background: var(--accent); padding: 1px 7px; }
.post.patch .meta .type { background: var(--red); }
.post h3 { font-size: 24px; margin-bottom: 8px; }
.post ul { margin: 8px 0 0; padding-left: 18px; color: #c7cede; }
.post li { margin: 3px 0; }
.post .aff { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.post .aff a { text-decoration: none; }
.newsfilter { display: flex; gap: 6px; margin-bottom: 16px; }

/* Login-Zustand */
.me { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 4px; border: 1px solid var(--line); background: var(--panel); }
.me img, .me .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #5865f2; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.me b { font-size: 14px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signin-card { background: var(--panel); border: 1px solid var(--line); padding: 34px; display: grid; gap: 14px; justify-items: start; max-width: 620px; }
.signin-card p { margin: 0; color: var(--muted); }
.signin-card .btn-discord { font-size: 16px; padding: 12px 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 10px 16px; z-index: 200; display: none; max-width: 90vw; }
.toast.open { display: block; }
.toast.err { border-left-color: var(--red); }
.winner { color: #5fe07a; font-weight: 700; }

/* Member-Dashboard */
.demo-note { font-family: var(--font-mono); font-size: 12px; color: #ffd34d; border: 1px dashed #6b5a1c; padding: 8px 12px; margin-bottom: 16px; background: #15120a; }
.dash { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 14px; }
.profile { background: var(--panel); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; align-content: start; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #5865f2; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.profile .who b { font-size: 20px; display: block; }
.profile .kv2 { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14px; }
.profile .kv2 span:nth-child(odd) { color: var(--muted); }
.profile .kv2 span:nth-child(even) { font-family: var(--font-mono); }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 16px; }
.panel h3 { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.gw { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.gw:first-of-type { border-top: 0; }
.gw .ico { width: 76px; height: 54px; }
.gw .ico img { max-width: 68px; max-height: 46px; }
.gw b { display: block; }
.gw small { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.bar { height: 5px; background: #1b2236; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--accent); }
.dgrid { display: grid; gap: 14px; }

/* Items */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-bottom: 20px; }
.page-head p { color: var(--muted); margin: 0; }
.locker { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; align-items: start; }
.cats { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); position: sticky; top: calc(var(--hdr) + 14px); }
.cats button { display: flex; justify-content: space-between; text-align: left; background: none; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); color: #c7cede; padding: 10px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.cats button span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.cats button:hover { background: var(--panel-2); }
.cats button.on { border-left-color: var(--red); background: var(--panel-2); color: var(--text); }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) 180px 200px; gap: 10px; margin-bottom: 10px; }
.filters label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.filters input, .filters select { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 9px 10px; font: inherit; }
.found { margin: 0 0 8px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.found b { color: var(--text); font-weight: 500; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.list { width: 100%; border-collapse: collapse; min-width: 720px; }
table.list th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 10px 12px; background: var(--panel); border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; user-select: none; }
table.list th.r, table.list td.r { text-align: right; }
table.list td { padding: 7px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list td.r { font-family: var(--font-mono); font-size: 13px; }
table.list tbody tr { cursor: pointer; }
table.list tbody tr:hover { background: var(--panel); }
.it { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.ico { width: 58px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 3px;
  background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--rc, #888) 16%, #10131d) 0%, #0b0d15 75%);
  border: 1px solid color-mix(in srgb, var(--rc, #888) 60%, transparent); }
.ico img { max-width: 52px; max-height: 32px; object-fit: contain; }
.ico.lg { width: 92px; height: 72px; }
.ico.lg img { max-width: 84px; max-height: 64px; }
.it b { display: block; color: var(--rc); font-weight: 600; }
.it small { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.desc-cell { color: var(--muted); font-size: 13px; max-width: 300px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.tile { background: var(--panel); border: 1px solid var(--line); padding: 10px; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.tile:hover { border-color: var(--rc); }
.tile .txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tile .name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .meta { font-size: 13px; color: var(--muted); }
.tile .meta .rn { color: var(--rc); }
.tile .stat { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.tile .price { font-weight: 700; font-style: italic; font-size: 18px; margin-top: 3px; }

/* Item-Detail */
.crumbs { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.detail { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 26px; }
.art-big { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; border-radius: 4px;
  background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--rc) 18%, #10131d) 0%, #0a0c14 72%);
  border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); }
.art-big img { max-height: 100%; object-fit: contain; }
.detail h1.rn { color: var(--rc); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.quote { border-left: 3px solid var(--red); padding: 4px 0 4px 14px; color: #c9d0e0; font-style: italic; max-width: 65ch; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 18px; }
.kv div { background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; }
.kv small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.kv b { font-family: var(--font-mono); font-size: 20px; font-weight: 500; }
.detail .panel { margin-top: 16px; }
.sbar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 90px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.sbar .track { height: 6px; background: #1b2236; }
.sbar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #6f97ff); }
.sbar b { text-align: right; font-family: var(--font-mono); font-weight: 500; }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mini td, table.mini th { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.mini th { color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 400; }
table.mini td.num { font-family: var(--font-mono); font-size: 13px; }
.loclist { display: flex; flex-wrap: wrap; gap: 6px; }
.loclist a { text-decoration: none; }
.loclist a:hover .chip { border-color: var(--accent); color: var(--text); }

/* Hover-Tooltip */
.tip { position: fixed; z-index: 100; pointer-events: none; display: none; gap: 6px; align-items: flex-start; }
.tip.open { display: flex; }
.tip-img { width: 96px; height: 96px; flex: none; display: grid; place-items: center; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.6);
  background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--rc) 22%, #10131d) 0%, #0a0c14 75%); border: 1px solid color-mix(in srgb, var(--rc) 65%, transparent); }
.tip-img img { max-width: 86px; max-height: 86px; object-fit: contain; }
.tip-card { width: 330px; background: #10131c; border: 1px solid #333a50; box-shadow: 0 14px 40px rgba(0,0,0,.6); color: var(--text); }
.tip-head { padding: 12px 14px 10px; text-align: center; border-bottom: 1px solid #2a3146; background: repeating-linear-gradient(135deg, #171c2a 0 6px, #131725 6px 12px); }
.tip-head .tn { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--rc); line-height: 1; }
.tip-head .ts { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tip-head .ts .rn { color: var(--rc); }
.tip-body { padding: 10px 16px 6px; }
.tip-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) 14px; align-items: center; text-align: center; padding: 1px 0; line-height: 1.3; }
.tip-row > span:first-child, .tip-row > span:last-child { color: #5d6680; }
.tip-row b { font-weight: 700; font-size: 15px; }
.tip-row .v { display: block; font-weight: 400; font-size: 14px; color: #f1f1ea; }
.tip-row .v i { font-style: normal; color: var(--muted); }
.tip-steps { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; font-size: 13px; }
.tip-steps span { color: var(--muted); }
.tip-steps em { font-style: normal; }
.tip-hint { text-align: center; color: #6ea0ff; font-size: 14px; padding: 4px 0 2px; }
.tip-sep { border-top: 1px dotted #39415a; margin: 8px 0; }
.tip-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; font-size: 14px; }
.tip-kv > span:nth-child(odd) { text-align: right; color: var(--muted); }
.tip-kv > span:nth-child(odd)::after { content: ":"; }
.tip-kv > span:nth-child(even) { color: #e9e9e2; }
.tip-desc { text-align: center; color: var(--tip-desc); font-size: 14px; padding: 2px 4px 6px; }
.tip-foot { text-align: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #6f7892; padding: 7px; border-top: 1px solid #2a3146; }
.tip-foot b { color: var(--text); font-weight: 700; }

/* Karten-Auswahl und Editor */
.maptabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.maptabs .btn.on { background: var(--accent); border-color: var(--accent); }
.maptabs .spacer { flex: 1; }
.edit-on .viewport { cursor: crosshair; outline: 2px dashed #ffd34d; outline-offset: -2px; }
.editor { position: absolute; left: 12px; bottom: 60px; width: 330px; background: rgba(6,8,16,.96); border: 1px solid #6b5a1c; border-top: 3px solid #ffd34d; padding: 12px; z-index: 7; display: none; font-size: 13px; }
.edit-on .editor { display: block; }
.editor h4 { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; color: #ffd34d; letter-spacing: .08em; }
.editor label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; margin: 8px 0 3px; }
.editor input, .editor select, .editor textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 6px 8px; font: inherit; font-size: 13px; }
.editor .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.editor .acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.editor .acts .btn { padding: 7px 10px; font-size: 12px; }
.editor .msg { color: #ffd34d; margin-top: 6px; min-height: 18px; }
.mk.draft { width: 14px; height: 14px; border-radius: 50%; background: #ffd34d; border: 2px solid #000; pointer-events: none; }
.newmap { display: none; margin-top: 10px; padding: 12px; border: 1px dashed #6b5a1c; background: #15120a; }
.newmap.open { display: grid; gap: 8px; grid-template-columns: 1fr 1fr auto; align-items: end; }
.newmap label { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 3px; }
.newmap input { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 7px 8px; font: inherit; }

/* Map: Karte über die ganze Breite, Filter als "Funkscanner" rechts */
.mapwrap { position: relative; border: 1px solid var(--line); height: min(80vh, 860px); min-height: 520px; }
.viewport { position: absolute; inset: 0; overflow: hidden; background: #6aa9b0; cursor: grab; touch-action: none; }
.viewport.drag { cursor: grabbing; }
.stage { position: absolute; left: 0; top: 0; width: 1800px; height: 1380px; transform-origin: 0 0; }
.stage > img { width: 1800px; height: 1380px; display: block; user-select: none; -webkit-user-drag: none; }
.scanner { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 280px; background: rgba(6,8,16,.94); border: 1px solid var(--line); overflow-y: auto; z-index: 5; }
.scanner h4 { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.scanner .blk { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.scanner .grp { display: flex; justify-content: space-between; color: var(--red); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px 6px; }
.scanner input[type=search] { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 8px 10px; font: inherit; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.two .btn { justify-content: center; padding: 7px; }
.layer { display: flex; align-items: center; gap: 10px; padding: 6px 14px; cursor: pointer; font-size: 14px; }
.layer:hover { background: var(--panel-2); }
.layer input { accent-color: var(--accent); width: 16px; height: 16px; }
.layer .sw { width: 14px; height: 14px; flex: none; }
.layer .sw.img { width: 20px; height: 18px; }
.layer .sw.img img { width: 100%; height: 100%; object-fit: contain; }
.layer .cnt { margin-left: auto; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.legend-note { padding: 12px 14px; font-size: 12px; color: var(--muted); }
.mk { position: absolute; transform: translate(-50%, -50%) scale(var(--inv, 1)); }
.mk.b { width: 34px; height: 30px; display: grid; place-items: center; cursor: pointer; }
.mk.b.tile { --gbg: #f6f3ea; width: 30px; height: 30px; border-radius: 6px; background: #f6f3ea; color: #151713; border: 2px solid #151713; box-shadow: 0 2px 0 rgba(0,0,0,.45), inset 0 -3px 0 var(--c); }
.mk.b.tile svg { width: 19px; height: 19px; pointer-events: none; }
.mk.b.tile.land { --gbg: var(--c); width: 40px; height: 40px; background: var(--c); box-shadow: 0 3px 0 rgba(0,0,0,.45); }
.mk.b.tile.land svg { width: 24px; height: 24px; }
.mk.b img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.55)); pointer-events: none; }
.mk.b.land { width: 46px; height: 40px; }
.mk.b:hover { z-index: 5; transform: translate(-50%, -50%) scale(calc(var(--inv, 1) * 1.18)); }
.mk.b::after { content: attr(data-name); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #0d111d; color: var(--text); border: 1px solid var(--line); font-size: 12px; font-weight: 600; padding: 3px 7px; opacity: 0; pointer-events: none; }
.mk.b:hover::after { opacity: 1; }
.mk.b.sel { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; z-index: 6; }
.mk.i { width: 20px; height: 17px; pointer-events: none; }
.mk.i img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.mk.p { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1.5px solid #111; box-shadow: 0 0 0 1.5px rgba(255,255,255,.65); pointer-events: none; }
.mk.lbl { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .12em; color: #1b1e24; pointer-events: none; white-space: nowrap;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px rgba(255,255,255,.9); }
.mk.exit { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; pointer-events: none; white-space: nowrap;
  text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 8px rgba(0,0,0,.8); }
.mk.exit-ic { width: 30px; height: 28px; pointer-events: none; }
.mk.exit-ic img { width: 100%; height: 100%; object-fit: contain; }
.zoom { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; z-index: 5; }
.zoom button { width: 36px; height: 36px; background: rgba(6,8,16,.92); color: var(--text); border: 1px solid var(--line); font-size: 18px; cursor: pointer; }
.info { position: absolute; left: 12px; top: 12px; width: min(330px, calc(100% - 320px)); background: rgba(6,8,16,.95); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 14px; display: none; max-height: calc(100% - 80px); overflow: auto; z-index: 6; }
.info.open { display: block; }
.info .x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; }
.info p { margin: 8px 0; color: #c9d0e0; font-size: 14px; }
.info .loot a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info .loot a:hover { color: var(--accent); }
.info .loot img { width: 40px; height: 22px; object-fit: contain; }
.info .loot a span:nth-child(2) { color: var(--rc); }

footer { border-top: 1px solid var(--line); padding: 20px 28px 40px; max-width: 1400px; margin: 0 auto; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--text); }

@media (max-width: 980px) {
  .hbar { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  nav.main { order: 3; width: 100%; overflow-x: auto; height: 44px; }
  .search input { width: 150px; }
  .board, .page-head, .detail, .dash, .locker { grid-template-columns: minmax(0, 1fr); }
  .cats { position: static; flex-direction: row; flex-wrap: wrap; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .scanner { position: static; width: auto; max-height: 260px; }
  .mapwrap { height: auto; display: flex; flex-direction: column; }
  .viewport { position: relative; height: 65vh; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== Gemeinsame Bausteine (neu) ===== */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.side-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.side-layout > aside { display: grid; gap: 12px; position: sticky; top: calc(var(--hdr) + 14px); }
.filterbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filterbar .btn { padding: 7px 12px; }
.filterbar .btn .cnt { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.filterbar .btn.primary .cnt { color: #dfe6ff; }
.empty { border: 1px dashed var(--line); padding: 26px; color: var(--muted); text-align: center; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #0a0f1d; padding: 12px 14px; margin: 14px 0; font-size: 14px; color: #c7cede; }
.callout b.k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6f97ff; margin-bottom: 2px; font-weight: 500; }
.callout.warn { border-left-color: var(--red); } .callout.warn b.k { color: var(--red); }
.callout.unconfirmed { border-left-color: #ffd34d; border-style: dashed; border-left-style: solid; } .callout.unconfirmed b.k { color: #ffd34d; }
a.il { color: var(--rc, var(--accent)); text-decoration: none; border-bottom: 1px dotted currentColor; font-weight: 600; }
a.il:hover { border-bottom-style: solid; }
a.il img { width: 22px; height: 16px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
a.ml { color: #7fd8ff; text-decoration: none; border-bottom: 1px dotted currentColor; white-space: nowrap; }
a.ml::before { content: "⌖ "; }
a.ml:hover { border-bottom-style: solid; }
a.xl { color: #c7cede; text-decoration: none; border-bottom: 1px dotted #59627d; }
a.xl:hover { color: var(--text); border-bottom-color: var(--text); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gc, var(--accent)); }
.tag::before { content: ""; width: 8px; height: 8px; background: var(--gc, var(--accent)); }

/* Guide-Kategorien */
.g-beginner { --gc: #5fe07a; } .g-heists { --gc: #ff3347; } .g-money { --gc: #ffb02e; } .g-weapons { --gc: #b06cff; } .g-base { --gc: #2f6bff; }

/* ===== Guides: Hub ===== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.gcard { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gc); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.gcard:hover { border-color: var(--gc); border-top-color: var(--gc); background: #0e1322; }
.gcard .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.gcard h3 { font-size: 26px; }
.gcard p { margin: 0; color: var(--muted); font-size: 14px; }
.gcard .icons { display: flex; gap: 6px; margin-top: auto; }
.gcard .icons .ico { width: 46px; height: 32px; }
.gcard .icons .ico img { max-width: 40px; max-height: 26px; }
.gcard .foot { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; display: flex; justify-content: space-between; }

/* ===== Guides: Detail ===== */
.guide-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.guide-head h1 { margin: 8px 0 12px; max-width: 22ch; }
.guide-head .lead { font-size: 17px; color: #c7cede; max-width: 70ch; margin: 0; }
.guide-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 14px; }
.guide-meta b { color: var(--text); font-weight: 500; }
.guide-body { max-width: 760px; }
.guide-body section { scroll-margin-top: calc(var(--hdr) + 16px); margin-bottom: 30px; }
.guide-body h2 { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; font-size: 28px; }
.guide-body h2 .sn { font-family: var(--font-mono); font-size: 14px; color: var(--red); font-weight: 500; }
.guide-body p { margin: 0 0 12px; color: #d3d9e6; font-size: 16px; line-height: 1.65; }
.guide-body ul.bl { margin: 0 0 12px; padding-left: 20px; color: #d3d9e6; }
.guide-body ul.bl li { margin: 5px 0; }
ol.steps { list-style: none; counter-reset: st; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
ol.steps > li { counter-increment: st; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; background: var(--panel); border: 1px solid var(--line); padding: 12px 14px; color: #d3d9e6; line-height: 1.6; }
ol.steps > li::before { content: counter(st, decimal-leading-zero); font-family: var(--font-mono); font-size: 20px; color: var(--accent); line-height: 1.2; }
ol.steps > li b:first-child { color: var(--text); }
.need { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0 0 12px; }
.need a { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 8px 10px; text-decoration: none; }
.need a:hover { border-color: var(--rc); }
.need a b { display: block; color: var(--rc); font-size: 14px; }
.need a small { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.need .total { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.need .total b { color: var(--text); font-weight: 500; }
.gtable { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; background: var(--panel); border: 1px solid var(--line); }
.gtable th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.gtable td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: #d3d9e6; vertical-align: top; }
.gtable tr:last-child td { border-bottom: 0; }
.gtable td.num, .gtable th.num { text-align: right; font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.tbl-scroll { overflow-x: auto; }
.toc { background: var(--panel); border: 1px solid var(--line); padding: 14px 0 8px; }
.toc .eyebrow { padding: 0 16px 8px; display: block; }
.toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 6px 16px; text-decoration: none; color: #c7cede; font-size: 14px; border-left: 3px solid transparent; }
.toc a span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.toc a:hover { background: var(--panel-2); color: var(--text); }
.toc a.on { border-left-color: var(--red); color: var(--text); background: var(--panel-2); }
.side-box { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
.side-box h4 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.side-list { display: grid; gap: 2px; }
.side-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 0; font-size: 14px; }
.side-list a:hover b { text-decoration: underline; }
.side-list a b { color: var(--rc, #7fd8ff); font-weight: 600; }
.side-list a small { margin-left: auto; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.side-list .ico { width: 40px; height: 28px; }
.side-list .ico img { max-width: 34px; max-height: 22px; }
.mtip { position: fixed; z-index: 100; pointer-events: none; display: none; width: 280px; background: #10131c; border: 1px solid #333a50; border-top: 3px solid #7fd8ff; box-shadow: 0 14px 40px rgba(0,0,0,.6); padding: 10px 12px; font-size: 13px; }
.mtip.open { display: block; }
.mtip b { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; display: block; line-height: 1.05; }
.mtip p { margin: 6px 0 0; color: #c7cede; }
.mtip small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

@media (max-width: 980px) {
  .side-layout, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .side-layout > aside { position: static; }
}
.dd .menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.crumbbar a.crumb-a { color: #c7cede; text-decoration: none; }
.crumbbar a.crumb-a:hover { color: var(--text); text-decoration: underline; }

/* ===== Karte: Item-Suche, Treffer, Pins ===== */
.mini-l { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.scanner .blk + .blk { border-top: 0; }
.mfind { position: relative; }
.mfind input { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 8px 10px; font: inherit; }
.mfind .results { left: 0; right: 0; top: 40px; width: auto; }
.find-card { display: flex; gap: 10px; align-items: center; margin-top: 8px; background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--rc) 50%, var(--line)); padding: 8px; position: relative; }
.find-card small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.find-card .x { position: absolute; right: 4px; top: 2px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.find-list { display: grid; gap: 2px; margin-top: 6px; max-height: 190px; overflow: auto; }
.find-list button { display: flex; justify-content: space-between; gap: 8px; text-align: left; background: none; border: 0; border-left: 2px solid #ffd34d; color: #c7cede; padding: 5px 8px; font: inherit; font-size: 13px; cursor: pointer; }
.find-list button:hover { background: var(--panel-2); color: var(--text); }
.find-list button small { color: var(--muted); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
@keyframes hitPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 211, 77, .8), inset 0 -3px 0 var(--c); } 100% { box-shadow: 0 0 0 16px rgba(255, 211, 77, 0), inset 0 -3px 0 var(--c); } }
.mk.b.tile.hit { background: #ffd34d; --gbg: #ffd34d; animation: hitPulse 1.4s ease-out infinite; z-index: 4; }
.mk.b.dim { opacity: .35; }
.mk.b.dim:hover { opacity: 1; }
.mk.b.tile.pin { border-radius: 50% 50% 50% 4px; background: #ffd34d; --gbg: #ffd34d; width: 28px; height: 28px; }
.pin-on .viewport { cursor: crosshair; outline: 2px dashed #ffd34d; outline-offset: -2px; }
.info-acts { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.info-acts .btn { padding: 6px 10px; font-size: 12px; }
.note-in { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 7px 9px; font: inherit; font-size: 13px; margin-top: 6px; resize: vertical; }
.info .loot a.hitrow { background: rgba(255, 211, 77, .12); outline: 1px solid #ffd34d; }

/* ===== Item-Seite: Fundorte und Mini-Karte ===== */
.where { display: grid; gap: 6px; }
.where-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line); padding: 8px 10px; }
.where-row small { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.where-row .btn { padding: 6px 10px; font-size: 12px; }
.minimap { display: block; position: relative; margin-top: 14px; border: 1px solid var(--line); aspect-ratio: 1800 / 1380; background: #6aa9b0 center / cover; overflow: hidden; }
.minimap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.minimap i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #ffd34d; border: 2px solid #151713; box-shadow: 0 0 0 4px rgba(255, 211, 77, .35); }
.minimap span { position: absolute; left: 8px; bottom: 8px; background: rgba(6, 8, 16, .9); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; }
.minimap:hover { border-color: #ffd34d; }

/* ===== Spielwelt: NPCs, Rezepte, Heists, Notoriety, Fahrzeuge, Plots ===== */
.k-npc { --kc: #7fd8ff; } .k-recipe { --kc: #ffb02e; } .k-heist { --kc: #ff5f6d; } .k-vehicle { --kc: #5fe07a; } .k-plot { --kc: #c9a7ff; } .k-level { --kc: #ffd34d; }
a.wl { color: var(--kc); border-bottom-color: color-mix(in srgb, var(--kc) 60%, transparent); }
.ico.wk { border-color: var(--kc); color: var(--kc); font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em; background: #0b0d15; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.wcard { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.wcard:hover { border-color: var(--accent); background: #0e1322; }
.wcard h3 { font-size: 24px; }
.wcard p { margin: 0; color: var(--muted); font-size: 14px; }
.wcard small { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: #c7cede; }
.wcard .icons { display: flex; gap: 6px; }
.wcard .icons .ico { width: 46px; height: 32px; }
.wcard .icons .ico img { max-width: 40px; max-height: 26px; }
.wcard.hk-locked { border-style: dashed; opacity: .8; }
.wcard .tag { --gc: var(--red); }
.detail-w { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.detail-w .page-head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.detail-w .page-head p { color: #c7cede; font-size: 16px; max-width: 70ch; }
.wside { display: grid; gap: 12px; }
.wside .minimap { margin-top: 0; }
.svc { display: grid; gap: 10px; }
.svc div { border-left: 2px solid var(--accent); padding-left: 12px; }
.svc b { display: block; }
.svc p { margin: 2px 0 0; color: #c7cede; font-size: 14px; }
.irows { display: grid; gap: 4px; }
.irow { display: flex; gap: 10px; align-items: center; text-decoration: none; padding: 4px 0; }
.irow b { display: block; color: var(--rc, var(--text)); font-size: 14px; }
.irow b em { font-style: normal; color: var(--text); font-family: var(--font-mono); font-weight: 500; }
.irow small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.irow .ico { width: 46px; height: 32px; }
.irow .ico img { max-width: 40px; max-height: 26px; }
.irow:hover b { text-decoration: underline; }
.backs { display: grid; gap: 8px; }
.backs > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.backs small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.backs span { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.backs.compact > div { grid-template-columns: 50px minmax(0, 1fr); font-size: 13px; }
.recipe { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rin { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; position: relative; }
.rin b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); }
.rin em { font-style: normal; font-size: 10px; font-family: var(--font-mono); color: #ffd34d; text-transform: uppercase; letter-spacing: .06em; }
.rin.cash b { border: 1px dashed var(--line); padding: 8px 10px; color: #5fe07a; }
.rin.out b { color: var(--rc); font-family: var(--font-body); font-weight: 700; }
.recipe .plus, .recipe .arrow { font-family: var(--font-mono); color: var(--muted); font-size: 18px; }
.recipe .arrow { color: var(--red); font-size: 22px; padding: 0 4px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.rcard { background: var(--panel); border: 1px solid var(--line); padding: 16px; text-decoration: none; display: grid; gap: 10px; }
.rcard:hover { border-color: #ffb02e; }
.rcard p { margin: 0; color: var(--muted); font-size: 13px; }
.nlevels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.nlevel { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid #ffd34d; padding: 14px; text-decoration: none; display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: end; }
.nlevel:hover { background: #0e1322; }
.nlevel .lv { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: .8; color: #ffd34d; grid-row: span 2; }
.nlevel small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.nlevel b { font-family: var(--font-mono); font-size: 18px; font-weight: 500; }
.nlevel em { grid-column: 2 / -1; font-style: normal; font-size: 12px; color: var(--muted); }
.vbar { display: grid; grid-template-columns: 70px 26px; gap: 8px; align-items: center; }
.vbar i { display: block; height: 6px; background: linear-gradient(90deg, var(--accent), #6f97ff); }
.vbar b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chain a { border: 1px solid var(--line); padding: 6px 10px; text-decoration: none; background: var(--bg); }
.chain a small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.chain a.on { border-color: var(--red); }
.chain span { color: var(--muted); }
table.list tr[data-href] { cursor: pointer; }
@media (max-width: 980px) { .detail-w { grid-template-columns: minmax(0, 1fr); } .nlevels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .backs > div { grid-template-columns: minmax(0, 1fr); } }

/* ===== Item-Datenbank: Filter, Sortierung, Vergleich, Rechner ===== */
.ifilters { display: grid; grid-template-columns: minmax(0, 1fr) 230px 190px 190px; gap: 10px; margin-bottom: 10px; }
.ifilters label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.ifilters input, .ifilters select { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 9px 10px; font: inherit; }
.f-price span { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.f-price i { color: var(--muted); font-style: normal; }
.msel { position: relative; }
.msel-btn { width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 9px 10px; font: inherit; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msel-pop { display: none; position: absolute; z-index: 30; top: calc(100% + 2px); left: 0; min-width: 240px; max-height: 320px; overflow: auto; background: var(--panel-2); border: 1px solid var(--line); padding: 6px 0; }
.msel.open .msel-pop { display: block; }
.msel-pop label { display: flex; gap: 8px; align-items: center; padding: 5px 12px; font-family: var(--font-body); font-size: 14px; text-transform: none; letter-spacing: 0; color: #c7cede; margin: 0; cursor: pointer; }
.msel-pop label:hover { background: #1a2238; }
.msel-pop label span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.msel-pop input { width: auto; accent-color: var(--accent); }
.rchips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.rchip { display: inline-flex; gap: 6px; align-items: center; background: var(--panel); border: 1px solid var(--line); color: #c7cede; padding: 5px 10px; font: inherit; font-size: 13px; text-transform: capitalize; cursor: pointer; }
.rchip .dot { background: var(--rc); }
.rchip.on { border-color: var(--rc); color: var(--rc); background: color-mix(in srgb, var(--rc) 12%, var(--panel)); }
.cats-hint { margin: 0; padding: 8px 12px; font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.found { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.found .gaps { margin-left: auto; }
.found .gaps a { color: #ffd34d; text-decoration: none; border-bottom: 1px dotted currentColor; }
.gap-dot { font-family: var(--font-mono); font-size: 10px; color: #ffd34d; border: 1px dashed #6b5a1c; padding: 0 4px; margin-left: 4px; text-transform: uppercase; }
table.list th[data-s] i { font-style: normal; margin-left: 4px; color: #4a5370; }
table.list th.sorted { color: var(--text); }
table.list th.sorted i { color: var(--red); }
th.cmp-h, td.cmp-c { width: 34px; padding-right: 0 !important; text-align: center; }
.cmp-b { width: 24px; height: 24px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.cmp-b:hover { border-color: var(--accent); color: var(--text); }
.cmp-b.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cmp-item { padding: 3px 10px; font-size: 12px; }
.auto-note { display: block; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.cmp-tray { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(140%); z-index: 80; width: min(980px, calc(100vw - 24px)); background: rgba(12, 16, 28, .97); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 10px 12px; display: none; gap: 8px; align-items: center; flex-wrap: wrap; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.cmp-tray.open { display: flex; transform: translateX(-50%); }
.cmp-pill { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); padding: 3px 4px 3px 3px; background: var(--bg); }
.cmp-pill .ico { width: 34px; height: 24px; } .cmp-pill .ico img { max-width: 30px; max-height: 20px; }
.cmp-pill b { color: var(--rc); font-size: 13px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-pill button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; }
.btn.disabled { opacity: .45; pointer-events: none; }
.cmp-add { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: calc(180px + var(--n) * 200px); background: var(--panel); border: 1px solid var(--line); }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.cmp-table tbody th { width: 180px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.cmp-table thead th:first-child { width: 180px; }
.cmp-table thead th a { display: grid; justify-items: start; gap: 6px; text-decoration: none; }
.cmp-table thead th b { color: var(--rc); font-size: 17px; }
.cmp-table thead th small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin: 2px 0 8px; }
.cmp-table thead .btn { padding: 4px 8px; font-size: 11px; }
.cmp-table td { font-family: var(--font-mono); font-size: 13px; }
.cmp-table td.best { color: #5fe07a; background: rgba(95, 224, 122, .07); }
.cmp-table td.cmp-desc { font-family: var(--font-body); color: var(--muted); font-size: 13px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.calc-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.lvl { display: flex; align-items: center; gap: 4px; }
.lvl button { width: 38px; height: 38px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-family: var(--font-mono); font-size: 15px; cursor: pointer; }
.lvl button.on { background: #ffd34d; border-color: #ffd34d; color: #151713; font-weight: 600; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.presets a { text-decoration: none; }
.presets a:hover { border-color: var(--accent); color: var(--text); }
input.qty { width: 74px; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 5px 6px; font-family: var(--font-mono); font-size: 13px; text-align: right; }
input.qty.cost { width: 104px; }
.fill-t { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: #ffd34d; margin-left: 8px; font-family: var(--font-mono); }
.x-btn { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.x-btn:hover { color: var(--red); }
.pos { color: #5fe07a !important; } .neg { color: #ff6b78 !important; }
.calc-t tfoot td { border-top: 1px solid var(--line); background: var(--panel-2); }
.calc-sum .big { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1; }
.calc-sum small { color: #5fe07a; font-family: var(--font-mono); font-size: 12px; }
.side-box table.mini tr.on td { color: #ffd34d; }
@media (max-width: 1100px) { .ifilters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .calc { grid-template-columns: minmax(0, 1fr); } }
.kv2 { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14px; }
.kv2 span:nth-child(odd) { color: var(--muted); }
.kv2 span:nth-child(even) { font-family: var(--font-mono); }

/* ===== Patch-Verlauf und Uhren ===== */
.clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.clock { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.clock small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.clock b { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1.05; }
.clock span { color: var(--muted); font-size: 13px; }
.clock.mine { border-color: #5a1f28; background: #12090d; }
.clock.mine b { color: var(--red); }
.clock select { margin-top: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 6px 8px; font: inherit; font-size: 13px; }
.clock-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
table.changes td.was, table.mini td.was { color: #ff8a95; text-decoration: line-through; text-decoration-color: rgba(255, 138, 149, .5); }
table.changes td.was .muted, table.mini td.was .muted { text-decoration: none; }
table.changes td.now, table.mini td.now { color: #5fe07a; }
.post .tbl-scroll { margin-top: 10px; }
.phist { display: grid; gap: 10px; }
.ph { border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; }
.ph.patch { border-left-color: var(--red); }
.ph-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.ph-h .type { font-family: var(--font-mono); font-size: 10px; background: var(--accent); color: #fff; padding: 1px 6px; text-transform: uppercase; }
.ph.patch .ph-h .type { background: var(--red); }
.ph-h time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ph table.mini { margin-top: 4px; }
@media (max-width: 980px) { .clocks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .clock b { font-size: 26px; } }

/* ===== Karten: mehrere Karten, einklappbarer Scanner, Bottom-Sheet ===== */
.maptabs .btn.soon { border-style: dashed; color: var(--muted); }
.maptabs .btn.soon small { font-family: var(--font-mono); font-size: 10px; color: #ffd34d; margin-left: 4px; }
.maptabs .btn.soon.on { background: #15120a; border-color: #6b5a1c; color: var(--text); }
.map-soon { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; padding: 30px; background: radial-gradient(ellipse at 50% 40%, #1a1508 0%, #08090e 70%); }
.map-soon > div { max-width: 560px; display: grid; gap: 10px; justify-items: start; }
.map-soon h2 { font-size: 52px; }
.map-soon p { margin: 0; color: #c7cede; }
.soon-on .scanner, .soon-on .zoom, .soon-on .scan-toggle, .soon-on .info { display: none !important; }
.mk.exit small { display: block; font-size: 10px; letter-spacing: .14em; color: #ffd34d; }
.mk.exit.go { pointer-events: auto; cursor: pointer; }
.mk.exit.go:hover { color: #ffd34d; }
.scan-toggle { position: absolute; right: 12px; top: 12px; z-index: 5; display: none; align-items: center; gap: 6px; background: rgba(6,8,16,.94); color: var(--text); border: 1px solid var(--line); padding: 8px 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.scan-closed .scan-toggle { display: inline-flex; }
.scan-closed .scanner { display: none; }
.scan-x { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--muted); width: 26px; height: 24px; cursor: pointer; font-size: 14px; }
.scan-x:hover { color: var(--text); border-color: #3a4870; }
.sheet-grip { display: none; }
@media (max-width: 980px) {
  .mapwrap { display: block; height: auto; }
  .viewport { position: relative; height: 72vh; min-height: 420px; }
  .scanner { position: absolute !important; top: 0; right: 0; bottom: 0; width: min(330px, 88%); max-height: none; z-index: 8; box-shadow: -10px 0 30px rgba(0,0,0,.5); }
  .scan-x { width: 34px; height: 30px; }
  .info { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto !important; max-height: 62vh; border-top: 3px solid var(--red); border-radius: 12px 12px 0 0; padding-top: 22px; z-index: 90; transform: translateY(105%); transition: transform .22s ease-out; display: block; box-shadow: 0 -12px 40px rgba(0,0,0,.6); }
  .info.open { transform: translateY(0); }
  .sheet-grip { display: block; position: absolute; top: 8px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: #3a4258; }
  .zoom { bottom: 12px; }
  .editor { width: auto; right: 12px; }
}
.map-soon[hidden] { display: none; }
@media (max-width: 980px) {
  .statusline .in { padding: 7px 16px; gap: 10px; font-size: 13px; }
  .statusline .right { display: none; }
  .crumbbar { padding: 10px 16px 0; flex-wrap: wrap; }
  main { padding-left: 16px !important; padding-right: 16px !important; }
  .page-head { gap: 10px; }
  .tools { width: 100%; margin-left: 0; }
  .search { flex: 1; }
  .search input { width: 100%; }
}

/* ===== Tooltips auf Touch-Geräten: Tippen öffnet eine Karte unten ===== */
.tip.sheet, .mtip.sheet { position: fixed; left: 10px !important; right: 10px; bottom: 10px; top: auto !important; pointer-events: auto; z-index: 120; }
.tip.sheet { flex-direction: column; align-items: stretch; }
.tip.sheet .tip-img { display: none; }
.tip.sheet .tip-card { width: auto; max-height: 60vh; overflow: auto; }
.mtip.sheet { width: auto; }
.tip-acts { display: flex; gap: 8px; justify-content: flex-end; padding: 10px; background: #10131c; border: 1px solid #333a50; border-top: 0; }
.mtip .tip-acts { border: 0; padding: 10px 0 0; background: none; }
.tip-acts .btn { padding: 9px 14px; }
.news-list, .news-mini { grid-template-columns: minmax(0, 1fr); }
.post .meta { flex-wrap: wrap; }
.clock { min-width: 0; } .clock select { width: 100%; min-width: 0; }
.tip-acts { align-self: stretch; } .dd > button { white-space: nowrap; }
.datastate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; border: 1px solid var(--line); border-left: 3px solid #5fe07a; background: var(--panel); padding: 12px 14px; margin-bottom: 12px; font-size: 13px; color: #c7cede; }
.datastate.stale { border-left-color: #ffd34d; background: #13110a; }
.datastate b { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.datastate em { font-style: normal; color: #ffd34d; }
.statusline .on.stale { color: #c7cede; } .statusline .on.stale i { background: #ffd34d; box-shadow: 0 0 6px #ffd34d; }
.statusline .on small { color: var(--muted); font-weight: 400; }
@media (max-width: 980px) { .datastate { grid-template-columns: minmax(0, 1fr); } }

/* ===== Community: Kommentare, Bewertungen, Watchlist, Nutzer-Guides ===== */
.community h3 { flex-wrap: wrap; gap: 10px; }
.votes { display: flex; gap: 6px; }
.vote { background: var(--bg); border: 1px solid var(--line); color: #c7cede; padding: 4px 10px; font-family: var(--font-mono); font-size: 13px; cursor: pointer; }
.vote:hover { border-color: #3a4870; color: var(--text); }
.vote.on[data-vote="1"] { border-color: #5fe07a; color: #5fe07a; }
.vote.on[data-vote="-1"] { border-color: var(--red); color: var(--red); }
.votes.off .vote { opacity: .45; cursor: default; }
.c-list { display: grid; gap: 12px; margin-bottom: 12px; }
.c-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.c-item img, .c-item .ph { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #5865f2; display: grid; place-items: center; font-weight: 700; }
.c-item.hidden { opacity: .5; }
.c-meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.c-meta time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.c-act { background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.c-item p { margin: 3px 0 0; color: #d3d9e6; font-size: 14px; white-space: pre-wrap; }
.c-form textarea, .gform input, .gform select, .gform textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 8px 10px; font: inherit; font-size: 14px; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.watch-b { padding: 3px 10px; font-size: 12px; }
.watch-b.on { border-color: #ffd34d; color: #ffd34d; }
.write-cta { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px dashed var(--line); padding: 18px 20px; background: var(--panel); flex-wrap: wrap; }
.write-cta b { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.write-cta p { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }
.gform { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
.gform label { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.gform .full { grid-column: 1 / -1; }
.gform textarea { font-family: var(--font-mono); font-size: 13px; text-transform: none; letter-spacing: 0; }
.panel.focus { border-color: var(--accent); }
.ug-row { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.chip.st-pending { color: #ffd34d; border-color: #6b5a1c; } .chip.st-published { color: #5fe07a; border-color: #255c34; } .chip.st-rejected { color: var(--red); border-color: #5a1f28; }
.ug-review { border-top: 1px solid var(--line); padding: 10px 0; }
.ug-review summary { cursor: pointer; }
.ug-review pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); padding: 10px; font-size: 12px; max-height: 300px; overflow: auto; }
.wl-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; border-bottom: 1px solid var(--line); }
@media (max-width: 980px) { .gform { grid-template-columns: minmax(0, 1fr); } }
/* Logo (Tresor) */
.brand img.logo { width: 44px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 0 6px rgba(255, 176, 46, .25)); }
/* ===== Twitch ===== */
.statusline .twl { color: #c9b3ff; display: inline-flex; align-items: center; gap: 6px; }
.statusline .twl i { width: 7px; height: 7px; border-radius: 50%; background: #9146ff; box-shadow: 0 0 6px #9146ff; }
.statusline .twl:hover { color: #fff; }
.statusline .twl small { color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; border: 1px solid #3a4258; padding: 0 4px; }
.tw-stats .pstat b { font-size: 38px; }
.tw-stats .pstat.live b { color: #b48cff; }
.tw-feats { display: grid; gap: 12px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.tw-feats.n5 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.tw-feats.n4 .big { grid-row: span 3; }
.tw-feats .big { grid-row: span 2; }
.tw-feat { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #1d1433, #0d1226); border: 1px solid #3a2a66; color: var(--text); text-decoration: none; }
.tw-feat.big { aspect-ratio: auto; min-height: 100%; }
.tw-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tw-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 8, 16, .9)); pointer-events: none; }
.tw-feat:hover { border-color: #9146ff; }
.tw-feat.off { filter: saturate(.4); }
.tw-feat.playing { background: #000; border-color: #9146ff; }
.tw-feat.playing::after { display: none; }
.tw-feat iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tw-sp { position: absolute; left: 10px; top: 10px; z-index: 2; background: #ffd34d; color: #2a2000; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; }
.tw-live { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #ff3347; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; }
.tw-off { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #2c3346; color: #c7cede; font-size: 11px; padding: 2px 7px; }
.tw-play { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(145, 70, 255, .9); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; }
.tw-fmeta { position: absolute; left: 10px; right: 10px; bottom: 34px; z-index: 2; display: grid; gap: 2px; }
.tw-fmeta b { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tw-feat.big .tw-fmeta b { font-size: 20px; }
.tw-fmeta small { color: #c7cede; font-size: 12px; }
.tw-feat.empty { display: grid; place-items: center; text-align: center; padding: 34px 18px 18px; border-style: dashed; background: #0c101c; }
.tw-feat.empty::after { display: none; }
.tw-feat.empty b { font-size: 16px; }
.tw-feat.empty p { margin: 6px 0 0; color: var(--muted); font-size: 13px; max-width: 34ch; }
.tw-feat.empty .tw-sp { background: transparent; color: #ffd34d; border: 1px solid #ffd34d55; }
.tw-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.tw-tools { display: flex; gap: 8px; }
.tw-tools input, .tw-tools select { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 8px 10px; font: inherit; font-size: 14px; }
.tw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tw-card { display: block; text-decoration: none; color: var(--text); }
.tw-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #161d31, #0c101c); border: 1px solid var(--line); overflow: hidden; }
.tw-card:hover .tw-thumb { border-color: #9146ff; }
.tw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-thumb .tw-live { left: 8px; bottom: 8px; }
.tw-up { position: absolute; right: 8px; bottom: 8px; background: rgba(6, 8, 16, .8); color: #c7cede; font-family: var(--font-mono); font-size: 11px; padding: 1px 6px; }
.tw-18 { position: absolute; right: 8px; top: 8px; background: #2c3346; color: #fff; font-size: 10px; padding: 1px 5px; }
.tw-meta { display: grid; gap: 2px; padding-top: 8px; }
.tw-meta b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-meta small { color: var(--muted); font-size: 12px; }
@media (max-width: 980px) { .statusline .right { display: flex; margin-left: 0; } }
@media (max-width: 760px) {
  .tw-feats, .tw-feats.n5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tw-feats .big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .tw-feats.n4 .big { grid-row: auto; }
  .tw-fmeta { bottom: 30px; } .tw-fmeta b { font-size: 13px; } .tw-feat.big .tw-fmeta b { font-size: 16px; }
  .tw-feat:not(.big) .tw-fmeta small { display: none; }
  .tw-tools { width: 100%; } .tw-tools input { flex: 1; min-width: 0; }
  .tw-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; } .tw-stats .pstat { padding: 12px; } .tw-stats .pstat b { font-size: 26px; }
  .tw-feat.empty:not(.big) p { display: none; } .tw-feat.empty:not(.big) b { font-size: 13px; }
  .tw-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } .tw-meta b { font-size: 13px; }
}
/* ===== Startseite im Wowhead-Stil ===== */
/* Themen-Streifen: Bild ragt oben aus dem Rahmen, Beschriftung darunter */
/* Große Suche */
.hsearch-band { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); padding: 24px 26px 20px; }
.hsearch-band .map-ghost { position: absolute; right: -6%; bottom: -40%; width: 52%; aspect-ratio: 1800 / 1380; background: url("../img/map/looty-bay-small.webp") center / cover; opacity: .13; filter: grayscale(1); transform: rotate(-6deg); pointer-events: none; }
.hsearch-band > *:not(.map-ghost) { position: relative; }
.hsearch-band h1 { font-size: clamp(28px, 4vw, 44px); margin: 6px 0 14px; }
.hsearch { max-width: 720px; z-index: 5; }
.hsearch input { width: 100%; font-size: 17px; padding: 14px 44px 14px 16px; border-color: var(--accent); background: #0a0e1a; }
.hsearch kbd { top: 15px; right: 12px; }
.hsearch .results { left: 0; right: auto; width: 100%; top: calc(100% + 4px); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.quick a { border: 1px solid var(--line); background: #0a0e1a; color: #c7cede; padding: 3px 10px; text-decoration: none; }
.quick a:hover { border-color: var(--accent); color: #fff; }
/* Zwei Spalten: News links, Kästen rechts */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 26px; align-items: start; }
.home-main > .section:first-of-type { margin-top: 30px; }
.stories { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 140px; padding: 16px;
  background: linear-gradient(150deg, #16213f, var(--panel) 70%); border: 1px solid var(--line); border-left: 3px solid var(--accent); color: var(--text); text-decoration: none; }
.story.patch { border-left-color: var(--red); background: linear-gradient(150deg, #2a1420, var(--panel) 70%); }
.story.big { grid-row: span 2; min-height: 300px; }
.story:hover { border-color: var(--accent); } .story.patch:hover { border-color: var(--red); }
.story .stype { align-self: flex-start; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; }
.story.patch .stype { background: var(--red); }
.story b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.story.big b { font-size: 34px; }
.story .sx { color: #c7cede; max-width: 52ch; }
.story small { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.sicons { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; }
.sicons img { height: 54px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.story.big .sicons img { height: 84px; }
.feed { display: grid; }
.frow { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.frow:hover b { color: var(--accent); }
.fth { width: 64px; height: 64px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: #7ea2ff; font-family: var(--font-mono); font-size: 11px; }
.fth.patch { color: #ff8a96; }
.fth img { max-width: 56px; max-height: 56px; object-fit: contain; }
.frow b { display: block; font-size: 17px; font-weight: 600; }
.frow .fx { display: block; margin-top: 2px; color: #a9b1c6; font-size: 14px; }
.frow small { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.home-side { display: grid; gap: 14px; }
.spanel { background: var(--panel); border: 1px solid var(--line); }
.spanel h3 { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: #c7cede; font-size: 14px; text-decoration: none; }
.srow b { color: #fff; font-weight: 500; white-space: nowrap; }
.srow small { color: var(--muted); font-size: 11px; margin-left: 6px; white-space: nowrap; }
a.srow:hover { background: #121a2e; color: #fff; }
.spanel select { width: calc(100% - 28px); margin: 6px 14px 8px; background: #0a0e1a; border: 1px solid var(--line); color: var(--text); padding: 6px 8px; font: inherit; font-size: 13px; }
.snote { margin: 0; padding: 8px 14px 12px; color: var(--muted); font-size: 12px; }
.smore { display: block; padding: 8px 14px; color: var(--accent); font-family: var(--font-mono); font-size: 12px; text-decoration: none; }
.smp { border: 1px solid #3a4258; color: var(--muted); font-family: var(--font-mono); font-size: 10px; font-weight: 400; padding: 0 4px; letter-spacing: .06em; }
.twdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9146ff; margin-right: 7px; vertical-align: middle; }
/* Datenbank-Kacheln */
.dbtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dbtile { display: grid; gap: 2px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.dbtile:hover { border-color: var(--accent); }
.dbtile b { font-family: var(--font-mono); font-size: 24px; font-weight: 500; }
.dbtile span { color: var(--muted); font-size: 13px; }
@media (max-width: 980px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hsearch-band { padding: 18px 16px; }
  .hsearch input { font-size: 15px; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .story.big { grid-row: auto; min-height: 230px; } .story.big b { font-size: 26px; } .story.big .sicons img { height: 60px; }
  .frow { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; } .fth { width: 52px; height: 52px; } .fth img { max-width: 46px; max-height: 46px; }
  .frow b { font-size: 15px; } .frow .fx { font-size: 13px; }
  .dbtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.story.has-ic:not(.big) b { padding-right: 64px; }
.story.big::before { content: ''; position: absolute; inset: 0; background: url("../img/map/looty-bay-small.webp") center / cover; opacity: .08; filter: grayscale(1); pointer-events: none; }
.story > * { position: relative; }
.story .sicons { position: absolute; }
@media (max-width: 760px) { .dbtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .dbtile { padding: 9px 10px; } .dbtile b { font-size: 19px; } .dbtile span { font-size: 12px; } }
/* ===== Server-Seite ===== */
.srv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.srv-card { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; }
.srv-card.mine { border-color: #2c3b66; }
.srv-card h3 { margin: 4px 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #c7cede; }
.srv-cd { display: block; font-family: var(--font-mono); font-size: 30px; font-weight: 500; color: #fff; }
.srv-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.srv-card select { width: 100%; margin-top: 10px; background: #0a0e1a; border: 1px solid var(--line); color: var(--text); padding: 7px 8px; font: inherit; font-size: 13px; }
.srv-table td { white-space: nowrap; }
.stb { display: inline-block; font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border: 1px solid var(--line); }
.st-fresh .stb { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-live .stb { color: #5fe07a; border-color: #2e6b3d; }
.st-soon .stb { background: var(--red); border-color: var(--red); color: #fff; }
.st-wiped td { color: var(--muted); }
.admin-link { margin-right: 8px; }
@media (max-width: 760px) { .srv-cards { grid-template-columns: minmax(0, 1fr); } .srv-cd { font-size: 26px; } }
/* Header auf Laptop-Breiten: enger, dann ohne Schriftzug, dann zweizeilig */
.hsearch-band .hsearch input { width: 100%; }   /* große Suche bleibt immer breit */
@media (max-width: 980px) { .search input { width: 100%; } }   /* Handy/Tablet: Suchfeld füllt die Zeile wie vorher */
/* Kleines Item-Bild vor jedem Item-Link, Rahmen in der Rarity-Farbe */
a.il { border-bottom: 0; white-space: nowrap; }
a.il .iln { border-bottom: 1px dotted currentColor; white-space: normal; }
a.il:hover .iln { border-bottom-style: solid; }
a.il .ili { display: inline-grid; place-items: center; width: 22px; height: 20px; margin-right: 5px; vertical-align: -5px; border: 1px solid var(--rc, var(--accent)); border-radius: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc, #2f6bff) 26%, #0a0e1a), #0a0e1a); box-shadow: inset 0 0 6px color-mix(in srgb, var(--rc, #2f6bff) 35%, transparent); }
a.il .ili img { width: 18px; height: 16px; margin: 0; object-fit: contain; vertical-align: 0; }
a.il:hover .ili { box-shadow: inset 0 0 8px color-mix(in srgb, var(--rc, #2f6bff) 60%, transparent); }

/* ---------- Themen-Streifen im Kopfbereich: immer sichtbar, beim Scrollen kompakt ---------- */
html { scroll-padding-top: calc(var(--hdr) + 12px); }
.hbar { position: relative; z-index: 3; transition: height .2s; }
.topics { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 26px 28px 10px; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 12px; transition: padding .2s; }
.topic { display: grid; justify-items: center; gap: 7px; text-decoration: none; color: var(--text); min-width: 0; }
.tframe { position: relative; width: 100%; height: 52px; border: 1px solid #2c3346; border-radius: var(--rad); background: linear-gradient(180deg, #0c101c, #131b2e); transition: border-color .15s, height .2s; }
.topic:hover .tframe, .topic.on .tframe { border-color: var(--accent); }
.topic.on .tframe { box-shadow: inset 0 -2px 0 var(--accent), 0 0 18px rgba(47, 107, 255, .25); }
.tframe img { position: absolute; left: 50%; bottom: 0; height: 80px; max-width: 128%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); transition: transform .15s, height .2s; }
.topic:hover .tframe img, .topic:hover .tph { transform: translateX(-50%) translateY(-3px); }
.tph { position: absolute; left: 50%; bottom: 6px; width: 60px; height: 70px; transform: translateX(-50%); display: grid; place-items: center; align-content: center; gap: 4px; border: 1px dashed #3a4358; border-radius: var(--rad-s); color: #5b6788; background: #0a0e1a; }
.tph svg { width: 28px; height: 22px; }
.tph small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.tlabel { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #c7cede; text-align: center; line-height: 1.05; max-width: 100%;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.topic:hover .tlabel, .topic.on .tlabel { color: #fff; }
/* kompakt: Bild klein links im Kästchen, Text daneben */
body.scrolled .hbar { height: 54px; }
body.scrolled .topics { padding: 8px 28px 8px; }
body.scrolled .topic { display: flex; align-items: center; gap: 0; position: relative; }
body.scrolled .tframe { height: 38px; }
body.scrolled .tframe img { left: 8px; bottom: 2px; height: 40px; max-width: 58px; transform: none; }
body.scrolled .topic:hover .tframe img { transform: translateY(-2px); }
body.scrolled .tph { display: none; }
body.scrolled .tlabel { position: absolute; left: 66px; right: 6px; top: 50%; transform: translateY(-50%); text-align: left; font-size: 13px; letter-spacing: .03em; line-height: 1; }
@media (max-width: 1240px) { body.scrolled .tframe img { left: 6px; height: 32px; max-width: 40px; } body.scrolled .tlabel { left: 50px; font-size: 12px; letter-spacing: .02em; } .topics { gap: 8px; } .tlabel { font-size: 13px; letter-spacing: .03em; } }
@media (max-width: 900px) {
  .topics { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scrollbar-width: none; padding-left: 16px; padding-right: 16px; }
  .topics::-webkit-scrollbar { display: none; }
  body.scrolled .topics { padding-left: 16px; padding-right: 16px; }
  body.scrolled .topic { min-width: 132px; }
}
/* Handy: Streifen immer kompakt und wischbar, damit er nicht den halben Bildschirm belegt */
@media (max-width: 760px) {
  .topics, body.scrolled .topics { padding: 6px 12px 8px; grid-auto-columns: 128px; gap: 8px; }
  .topic { display: flex; align-items: center; gap: 0; position: relative; }
  .tframe, body.scrolled .tframe { height: 36px; }
  .tframe img, body.scrolled .tframe img { left: 6px; bottom: 2px; height: 34px; max-width: 44px; transform: none; }
  .topic:hover .tframe img { transform: none; }
  .tph { display: none; }
  .tlabel, body.scrolled .tlabel { position: absolute; left: 54px; right: 6px; top: 50%; transform: translateY(-50%); text-align: left; font-size: 12px; letter-spacing: .02em; line-height: 1; }
  body.scrolled .hbar { height: auto; }
  /* Menüzeile scrollt weg, der Streifen bleibt oben kleben */
  header.top { top: calc(var(--hbar-h, 0px) * -1); }
}

/* ---------- Abgerundete Ecken für alle Kästen ---------- */
.dd .menu, .results, .pstat, .chartbox, .brief, .apb, .poster, .job, .post, .me, .signin-card, .toast, .profile, .panel, .cats, .tbl-wrap, .tile, .tip-card, .tip-img, .editor, .mapwrap, .scanner,
.info, .callout, .gcard, ol.steps > li, .gtable, .toc, .side-box, .mtip, .find-card, .minimap, .wcard, .rcard, .nlevel, .msel-pop, .cmp-b, .cmp-tray, .cmp-table, .clock, .datastate, .tip-acts,
.ug-review pre, .tw-feat, .tw-thumb, .hsearch-band, .fth, .spanel, .smp, .dbtile, .srv-card, .stb, .story, .empty, .kv div, .where-row { border-radius: var(--rad); }
.btn, .chip, .search input, .search kbd, .ranges button, .filters input, .filters select, .editor input, .editor select, .editor textarea, .newmap input, .scanner input[type=search], .zoom button,
.need a, .mfind input, .note-in, .chain a, .ifilters input, .ifilters select, .msel-btn, .rchip, .cmp-pill, .lvl button, input.qty, .clock select, .scan-toggle, .scan-x, .vote,
.c-form textarea, .gform input, .gform select, .gform textarea, .tw-tools input, .tw-tools select, .quick a, .spanel select, .srv-card select, .story .stype, .tw-feat.empty .tw-sp, .statusline .twl small { border-radius: var(--rad-s); }
.cats, .toc, .spanel, .panel, .tbl-wrap, .cmp-table, .dd .menu, .results, .tip-card, .mtip, .msel-pop { overflow: hidden; }
.tbl-wrap { overflow-x: auto; }
.results { overflow: auto; }
.gtable { border-collapse: separate; border-spacing: 0; overflow: hidden; }
.dd .menu { overflow: visible; }
.dd .menu a:first-child { border-radius: var(--rad-s) var(--rad-s) 0 0; }
.tip.sheet .tip-card { border-radius: var(--rad) var(--rad) 0 0; } .tip.sheet .tip-acts { border-radius: 0 0 var(--rad) var(--rad); }
.tip.sheet .tip-card { overflow: auto; }

/* ---------- Loot Routes ---------- */
.empty-card { border: 1px dashed #2c3a5c; border-radius: var(--rad); background: linear-gradient(180deg, #0c1222, #0a0e1a); padding: 22px 24px; margin-bottom: 18px; }
.empty-card b { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; margin-bottom: 4px; }
.empty-card p { margin: 0; color: var(--muted); }
.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.route-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid #ffd34d; border-radius: var(--rad); text-decoration: none; color: var(--text); }
.route-card:hover { border-color: var(--accent); border-top-color: #ffd34d; }
.route-card b { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; line-height: 1; }
.route-card p { margin: 0; color: #a9b1c6; font-size: 14px; }
.rc-top { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.rc-foot .pay { font-weight: 700; font-style: italic; color: #7ed43a; }
.rc-foot .gear { display: flex; gap: 4px; } .rc-foot .gear img { width: 34px; height: 26px; object-fit: contain; }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.route-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); }
.route-steps p { margin: 4px 0 0; color: #c7cede; }
.rs-n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; }
.rs-grab { font-size: 14px; }

/* ---------- Tier Lists ---------- */
.muted-p { color: var(--muted); margin: -4px 0 12px; max-width: 80ch; }
.tierboard { display: grid; gap: 6px; }
.trow { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px; }
.tlab { display: grid; align-content: start; justify-content: center; padding-top: 18px !important; text-align: center; background: var(--tc); color: #0a0e1a; border-radius: var(--rad); padding: 8px 4px; min-height: 84px; }
.tlab b { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; }
.tlab small { font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.titems { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); min-width: 0; }
.tmore .titems { border: 0; padding: 6px 0 0; background: none; }
.tmore { flex-basis: 100%; } .tmore summary { cursor: pointer; color: var(--accent); font-family: var(--font-mono); font-size: 12px; padding: 4px 2px; }
.tit { width: 86px; display: grid; justify-items: center; gap: 3px; padding: 6px 4px 5px; border: 1px solid color-mix(in srgb, var(--rc, var(--r-common)) 55%, transparent); border-radius: var(--rad-s);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc, var(--r-common)) 18%, #0c1222), #0c1222); text-decoration: none; color: var(--text); }
.tit:hover { border-color: var(--rc); }
.tim { height: 44px; display: grid; place-items: center; } .tim img { max-width: 74px; max-height: 44px; object-fit: contain; }
.tit small { font-family: var(--font-mono); font-size: 10.5px; color: #c7cede; text-align: center; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tnote { flex-basis: 100%; margin: 2px 4px; color: #a9b1c6; font-size: 13px; }
@media (max-width: 760px) { .trow { grid-template-columns: 58px minmax(0, 1fr); } .tlab b { font-size: 26px; } .tlab small { font-size: 9px; } .tit { width: 74px; } }

/* Waffen-Tier und Quellenhinweis */
.wtier { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: var(--rad-s); font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #0a0e1a; }
.wtier.t-S { background: #ff4f45; } .wtier.t-A { background: #ff9b26; } .wtier.t-B { background: #ffd34d; } .wtier.t-C { background: #7ed43a; }
.src-note { margin: 10px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.tit em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: #fff; font-weight: 600; }
.statusline[hidden] { display: none; }
.story.site .stype { background: #f5f7fc; color: #0a0e1a; }
.fth.site { color: #0a0e1a; background: #f5f7fc; font-family: var(--font-mono); font-size: 10px; }
.post.site { border-left-color: #f5f7fc; }
#itemTable td.num { white-space: nowrap; }

/* =================== 24.11.2026: Watchlist, Werkzeuge, Quellen, neue Seiten =================== */
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--rad-s); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #9fc0ff; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ncount { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 11px var(--font-mono); }
.ncount[hidden] { display: none; }
/* Quellen-Stempel */
.stamp { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; text-decoration: none; color: var(--muted); font: 500 11px var(--font-mono); text-transform: none; letter-spacing: 0; }
.stamp i { width: 8px; height: 8px; border-radius: 50%; background: #8a93ab; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); flex: none; }
.stamp.c-official i { background: #5fe07a; } .stamp.c-community i { background: #4f8bff; } .stamp.c-inferred i { background: #ffd34d; } .stamp.c-screenshot i { background: #b06cff; } .stamp.c-unknown i { background: #ff5a5f; }
.stamp:hover span { color: var(--text); }
.stamp-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.stamp-legend > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 12px 14px; }
.stamp-legend p { margin: 6px 0 0; color: #a9b1c6; font-size: 14px; }
/* Watchlist-Seitenleiste */
.wl-side { position: fixed; right: 0; top: calc(var(--hdr) + 16px); z-index: 40; display: flex; align-items: flex-start; }
.wl-side[hidden] { display: none; }
.wl-tab { writing-mode: vertical-rl; transform: rotate(180deg); background: var(--accent); color: #fff; border: 0; border-radius: 0 var(--rad-s) var(--rad-s) 0; padding: 14px 8px; font: 700 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.wl-tab b { display: inline-block; margin-top: 6px; }
.wl-body { display: none; width: 280px; max-height: calc(100vh - var(--hdr) - 40px); overflow: auto; background: #0e1424; border: 1px solid #2c3a5c; border-right: 0; border-radius: var(--rad) 0 0 var(--rad); box-shadow: 0 18px 44px rgba(0, 0, 0, .6); }
.wl-side.open .wl-body { display: block; } .wl-side.open .wl-tab { display: none; }
.wl-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #0e1424; }
.wl-h b { font: 700 18px var(--font-display); text-transform: uppercase; flex: 1; } .wl-h a { font-size: 13px; }
.wl-x, .wl-rm { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: var(--rad-s); } .wl-x:hover, .wl-rm:hover { color: #fff; background: #1c2a50; }
.wl-items { padding: 6px 8px; }
.wl-row { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: var(--rad-s); } .wl-row:hover { background: #141c30; }
.wl-row a { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; text-decoration: none; color: var(--rc, var(--text)); font-size: 14px; }
.wl-row a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wl-row small { color: var(--muted); font-family: var(--font-mono); }
.wl-sum { margin: 0; padding: 10px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.wl-sum div { display: flex; justify-content: space-between; } .wl-sum dt { color: var(--muted); font-size: 13px; } .wl-sum dd { margin: 0; font: 600 14px var(--font-mono); }
.wl-tools, .cmp-add, .srv-tools, .log-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.wl-tools .mfind, .cmp-add .mfind { flex: 1 1 260px; position: relative; }
.wl-noto select, .srv-tools select { margin-left: 6px; }
.wl-cards, .wipe-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat-card { display: grid; gap: 4px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 14px 16px; }
.stat-card small { color: var(--muted); font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.stat-card b { font: 700 28px var(--font-display); } .stat-card span { color: #a9b1c6; font-size: 13px; } .stat-card .btn { justify-self: start; margin-top: 6px; }
.wl-table input.qty { width: 80px; } .wl-table tfoot th, .wl-table tfoot td { border-top: 2px solid var(--line); padding-top: 10px; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
/* Vergleich */
.cmp-table td { position: relative; } .cbar { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: #2f6bff66; }
.cmp-table td.best .cbar { background: #5fe07a; }
.seg { display: inline-flex; } .seg .btn { border-radius: 0; } .seg .btn:first-child { border-radius: var(--rad-s) 0 0 var(--rad-s); } .seg .btn:last-child { border-radius: 0 var(--rad-s) var(--rad-s) 0; }
/* Wipe */
.home-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 14px; padding: 10px 16px; background: linear-gradient(90deg, #13203f, #0e1424); border: 1px solid #2c3a5c; border-radius: var(--rad); }
.hb-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; } .hb-l a { color: var(--text); font-weight: 600; } .hb-l time { color: var(--muted); font: 12px var(--font-mono); }
.hb-tag { background: var(--red); color: #fff; font: 600 11px var(--font-mono); text-transform: uppercase; padding: 2px 8px; border-radius: var(--rad-s); }
.hb-wipe { color: #c7cede; text-decoration: none; font-size: 14px; } .hb-wipe b { font-family: var(--font-mono); color: #fff; }
.wipe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.wipe-me, .wipe-tip { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 18px 20px; }
.wipe-me h2, .wipe-tip h2 { margin: 0 0 10px; font: 700 22px var(--font-display); text-transform: uppercase; }
.wipe-me select { width: 100%; } .wipe-cd { margin: 14px 0 8px; } .wipe-cd small { display: block; color: var(--muted); font: 12px var(--font-mono); text-transform: uppercase; }
.wipe-cd b { font: 700 44px var(--font-display); } .wipe-me.gone .wipe-cd b { color: var(--red); }
.wipe-bar { height: 8px; background: #1a2238; border-radius: 4px; overflow: hidden; } .wipe-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2f6bff, #ff3347); }
.wipe-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Werkzeuge und Rechner */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tool-card { display: grid; gap: 4px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); text-decoration: none; color: var(--text); }
.tool-card:hover { border-color: var(--accent); } .tool-card small { color: var(--muted); font: 12px var(--font-mono); text-transform: uppercase; } .tool-card b { font: 700 22px var(--font-display); text-transform: uppercase; } .tool-card span { color: #a9b1c6; font-size: 14px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.calc-in, .calc-out { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 16px 18px; }
.calc-in { display: grid; gap: 6px; } .calc-in label { font-size: 13px; color: #c7cede; margin-top: 6px; } .calc-in input:not([type=checkbox]), .calc-in select { width: 100%; }
.calc-in .chk { display: flex; align-items: center; gap: 8px; }
.quick-amt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.big-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; } .big-num b { font: 800 52px/1 var(--font-display); } .big-num span { color: var(--muted); }
.big-num.ok b { color: #5fe07a; } .big-num.bad b { color: var(--red); }
.calc-dl { display: grid; gap: 6px; margin: 0 0 10px; } .calc-dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #232c44; padding-bottom: 5px; }
.calc-dl dt { color: var(--muted); } .calc-dl dd { margin: 0; font-family: var(--font-mono); text-align: right; }
.verdict { font-weight: 600; } .warn { color: #ffb02e; }
/* Lenny's Tree */
.tree-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.tree-scroll { overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 14px; max-height: 76vh; }
.tree { position: relative; } .tree-lines { position: absolute; inset: 0; pointer-events: none; }
.tree-lines path { fill: none; stroke: #33406a; stroke-width: 2; } .tree-lines path.on { stroke: #5fe07a; }
.tnode { position: absolute; width: 214px; height: 78px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; text-align: left; background: #0c1222; border: 1px solid #2c3346; border-radius: var(--rad); color: var(--text); cursor: pointer; }
.tnode:hover { border-color: var(--accent); } .tnode.on { border-color: #5fe07a; background: #10241a; box-shadow: 0 0 0 1px #5fe07a inset; }
.tnode.ph { border-style: dashed; opacity: .75; } .tnode .ico { flex: none; }
.tn-t { display: grid; min-width: 0; line-height: 1.2; } .tn-t b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--rc, var(--text)); }
.tn-t small { font: 11px var(--font-mono); color: var(--muted); } .tn-x { color: #ffb02e !important; }
.tree-sum { position: sticky; top: calc(var(--hdr) + 14px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 14px 16px; }
.tree-sum h3 { margin: 0 0 10px; font: 700 20px var(--font-display); text-transform: uppercase; }
.tree-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; font-size: 13px; } .tree-list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid #1a2238; }
/* Startseite */
.qtiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.qtile { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); text-decoration: none; color: var(--text); font: 700 14px var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.qtile:hover { border-color: var(--accent); } .qtile .ico.lg img { object-fit: contain; }
.pl-row { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pl-row small { color: var(--muted); } .pl-row b { font: 700 24px var(--font-display); text-align: right; } .pl-row span { grid-column: 1 / -1; font-size: 12px; }
/* Patch notes */
.pn-list { display: grid; gap: 12px; } .pn { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--rad); padding: 14px 18px; }
.pn-h { display: flex; gap: 10px; align-items: center; } .pn-v { background: var(--red); color: #fff; font: 600 11px var(--font-mono); padding: 2px 8px; border-radius: var(--rad-s); } .pn-h time { color: var(--muted); font: 12px var(--font-mono); }
.pn h2 { margin: 6px 0; font: 700 24px var(--font-display); text-transform: uppercase; } .pn h2 a { color: var(--text); text-decoration: none; }
.pn-you { margin: 0 0 6px; } .pn details summary { cursor: pointer; color: var(--accent); font-size: 14px; }
@media (max-width: 1100px) { .qtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tree-wrap { grid-template-columns: 1fr; } .tree-sum { position: static; } }
@media (max-width: 760px) {
  .wipe-grid, .calc-grid { grid-template-columns: 1fr; }
  .wl-side { top: auto; bottom: 14px; right: 14px; } .wl-tab { writing-mode: horizontal-tb; transform: none; border-radius: 24px; padding: 12px 16px; }
  .wl-tab b { margin: 0 0 0 4px; } .wl-side.open { left: 8px; right: 8px; } .wl-body { width: auto; flex: 1; max-height: 70vh; border: 1px solid #2c3a5c; border-radius: var(--rad); }
  .big-num b { font-size: 40px; } .qtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .qtile { font-size: 12px; padding: 10px 4px; }
}
#footLinks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
#footLinks a { color: #a9b1c6; text-decoration: none; font-size: 13px; } #footLinks a:hover { color: var(--text); text-decoration: underline; }
.qtiles-wrap { margin-bottom: 22px; }
@media (min-width: 1200px) { body.wl-open #main, body.wl-open footer { padding-right: 300px; } }
/* Kontrast: Textlinks heller als die Akzentfarbe der Knöpfe (WCAG 4.5:1) */
.section-head a, .smore, a.xl, .src-note a, .hb-l a:hover { color: #6b98ff; }
.calc-in select { max-width: 100%; } .calc-in, .calc-out { min-width: 0; }
