/* css/asphlt-web.css – neue Website im Design der App (Redesign Oktober 2026).
   Farben, Schrift und Formen wie in der App: Anthrazit, helle Knöpfe, Gold nur als Akzent. */

:root {
  --bg: #0d0e0f; --s1: #161719; --s2: #1e1f22; --s3: #26272b;
  --ln: #2b2c30; --ln2: #3d3e43;
  --tx: #f1f1ee; --tx2: #a3a5aa; --tx3: #8b8d92; --ink: #0d0e0f;
  --gold: #d9b668; --ok: #7fc99a; --info: #8fb3d9; --warn: #c9a466; --bad: #e0675a;
  --r: 16px; --r-sm: 10px;
  --disp: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --top: 64px; --tabs: 0px;
  --glass: rgba(22, 23, 25, .82);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background: radial-gradient(110% 40% at 50% 0%, #1c1d21, transparent 70%), var(--bg);
  background-attachment: fixed;
  color: var(--tx); font-family: var(--body); font-size: 15px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo ---------- */
.disp { font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 0; }
.lbl { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--tx3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.logo { font-weight: 900; letter-spacing: .02em; text-transform: lowercase; font-family: var(--body); }
.muted { color: var(--tx3); }
.sub { color: var(--tx2); font-size: 13px; }
.hint { color: var(--tx3); font-size: 12.5px; line-height: 1.45; }
.ok-t { color: var(--ok); } .bad-t { color: var(--bad); } .gold-t { color: var(--gold); }
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic.s { width: 15px; height: 15px; } .ic.l { width: 26px; height: 26px; }

/* ---------- Kopfleiste ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--top); z-index: 50;
  display: flex; align-items: center; gap: 18px; padding: 0 20px;
  background: rgba(13, 14, 15, .78); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .brand { font-size: 27px; color: var(--tx); text-decoration: none; line-height: 1; }
.topbar .nav { display: flex; gap: 4px; flex: 1; }
.topbar .nav a {
  height: 36px; padding: 0 15px; border-radius: 18px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--tx2); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.topbar .nav a:hover { color: var(--tx); background: rgba(255, 255, 255, .05); }
.topbar .nav a.on { background: var(--tx); color: var(--ink); font-weight: 700; }
.topbar .right { display: flex; align-items: center; gap: 6px; }
.ibtn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; position: relative;
  color: var(--tx); text-decoration: none;
}
.ibtn:hover { background: rgba(255, 255, 255, .07); }
.ibtn.box { border: 1px solid var(--ln); background: var(--s1); width: 38px; height: 38px; }
.dot-n {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.soon-pill {
  height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--ln2); display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); white-space: nowrap;
}
.soon-pill em { font-style: normal; color: var(--gold); }
.me-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 4px; border-radius: 20px; border: 1px solid var(--ln); background: var(--s1); }
.me-btn .av { width: 32px; height: 32px; font-size: 13px; }
.me-btn span { font-weight: 700; font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.only-m { display: none !important; }

/* ---------- Tab-Leiste (Handy) ---------- */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 50;
  display: none; grid-template-columns: repeat(6, 1fr); padding: 7px 4px 8px;
  background: rgba(22, 23, 25, .86); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--tx3); min-height: 44px; justify-content: center; }
.tabbar a .tw { width: 44px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; position: relative; }
.tabbar a.on { color: var(--tx); }
.tabbar a.on .tw { background: var(--s3); }
.tabbar a span { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tabbar a.on span { font-weight: 800; }
.livedot { position: absolute; top: 2px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); border: 1.5px solid var(--bg); }

/* ---------- Seitenaufbau ---------- */
#view { padding-top: var(--top); min-height: 100vh; }
.page { max-width: 760px; margin: 0 auto; padding: 22px 20px calc(60px + var(--tabs)); }
.page.wide { max-width: 1120px; }
.page-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.page-head .grow { flex: 1; min-width: 0; }
.page-head h1 { font-size: 34px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--tx2); font-size: 13px; font-weight: 600; text-decoration: none; margin-bottom: 12px; letter-spacing: .04em; }
.back:hover { color: var(--tx); }
.sech { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 10px; }
.sech h2 { font-size: 20px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spacer { flex: 1; }
.divider { height: 1px; background: var(--ln); margin: 14px 0; }

/* ---------- Karte (iframe) ---------- */
.map-wrap { position: fixed; left: 0; right: 0; top: var(--top); bottom: var(--tabs); background: #111113; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Bausteine ---------- */
.card { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--r); padding: 14px 16px; }
.card.click { cursor: pointer; transition: border-color .15s; }
.card.click:hover { border-color: var(--ln2); }
.card.flat { padding: 4px 16px; }
.card h3 { margin: 0; font-size: 15px; font-weight: 700; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--ln); text-decoration: none; color: inherit; }
.list-row:last-child { border-bottom: 0; }
a.list-row:hover .nm, button.list-row:hover .nm { text-decoration: underline; }
button.list-row { width: 100%; }
.list-row .nm { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--ln2); border-radius: 99px;
  font-size: 12.5px; font-weight: 600; color: var(--tx2); white-space: nowrap; background: transparent; text-decoration: none;
}
.chip:hover { color: var(--tx); border-color: #55565c; }
.chip.on { background: var(--tx); color: var(--ink); border-color: var(--tx); font-weight: 700; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--ln2); border-radius: 99px; }
.seg button { flex: 1; height: 36px; border-radius: 99px; color: var(--tx2); font-weight: 600; font-size: 12.5px; text-align: center; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 0 8px; }
.seg button.on { background: var(--tx); color: var(--ink); font-weight: 700; }
.btn {
  height: 50px; border-radius: var(--r); background: var(--tx); color: var(--ink); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; text-decoration: none; padding: 0 18px;
  transition: background .15s, opacity .15s;
}
.btn:hover { background: #d9d9d4; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.sec { background: transparent; color: var(--tx); border: 1px solid var(--ln2); }
.btn.sec:hover { background: rgba(255, 255, 255, .05); }
.btn.ok { background: var(--ok); color: var(--ink); }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid rgba(224, 103, 90, .45); }
.btn.sm { height: 40px; font-size: 12px; border-radius: 12px; }
.btn.xs { height: 32px; font-size: 11px; border-radius: 10px; padding: 0 12px; width: auto; }
.btn.auto { width: auto; }
.link { color: var(--tx); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.badge.ad { background: var(--tx); color: var(--ink); }
.badge.mod { background: var(--info); color: #0d1620; }
.badge.ehr, .badge.gold { background: var(--gold); color: #2a1f08; }
.badge.ok { background: rgba(127, 201, 154, .16); color: var(--ok); }
.badge.wa { background: rgba(201, 164, 102, .16); color: var(--warn); }
.badge.ba { background: rgba(224, 103, 90, .16); color: var(--bad); }
.badge.plain { border: 1px solid var(--ln2); color: var(--tx2); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--ln2); font-size: 11.5px; font-weight: 600; color: var(--tx2); white-space: nowrap; }
.pill.ok { border-color: rgba(127, 201, 154, .5); color: var(--ok); }
.pill.warn { border-color: rgba(201, 164, 102, .5); color: var(--warn); }
.pill.inv { background: var(--tx); border-color: var(--tx); color: var(--ink); }
.av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(145deg, #33353a, #1c1d20); border: 1px solid var(--ln2);
  display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; color: var(--tx); font-size: 16px; text-transform: uppercase;
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.ring { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
.bar { height: 6px; border-radius: 9px; background: var(--ln); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); border-radius: 9px; }
.bar.ok i { background: var(--ok); }
.empty { text-align: center; padding: 34px 18px; color: var(--tx2); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty p { margin: 0; max-width: 420px; line-height: 1.5; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--ln2); border-top-color: var(--tx); animation: sp .8s linear infinite; margin: 40px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.adtag { background: var(--tx); color: var(--ink); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > .lbl { padding-left: 2px; }
.inp {
  height: 50px; border: 1px solid var(--ln2); border-radius: var(--r); background: var(--s1); display: flex; align-items: center; padding: 0 15px; gap: 11px;
  color: var(--tx); font-size: 15px; width: 100%;
}
.inp:focus-within { border-color: #6a6b70; }
.inp .ic { color: var(--tx3); }
.inp input, .inp select { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; height: 100%; color: var(--tx); font-size: 15px; }
.inp select option { background: var(--s1); }
textarea.ta { width: 100%; min-height: 96px; border: 1px solid var(--ln2); border-radius: var(--r); background: var(--s1); padding: 12px 15px; color: var(--tx); font-size: 15px; resize: vertical; outline: 0; line-height: 1.45; }
textarea.ta:focus { border-color: #6a6b70; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--tx2); font-size: 13.5px; line-height: 1.45; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .bx { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--ln2); flex: none; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.check input:checked + .bx { background: var(--tx); border-color: var(--tx); }
.check input:not(:checked) + .bx svg { display: none; }
.check input:focus-visible + .bx { outline: 2px solid var(--gold); outline-offset: 2px; }
.sw { width: 48px; height: 28px; border-radius: 99px; background: var(--ln2); position: relative; flex: none; transition: background .15s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--tx); transition: left .15s; }
.sw.on { background: var(--ok); }
.sw.on::after { left: 23px; background: var(--ink); }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ln); cursor: pointer; width: 100%; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .t { flex: 1; min-width: 0; }
.toggle-row .t b { display: block; font-weight: 600; }
.toggle-row .t small { color: var(--tx3); font-size: 12.5px; }
.form-err { color: var(--bad); font-size: 13px; min-height: 0; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--ln); }

/* Spielername wie in der App (GamerTag) */
.gt { position: relative; border: 1px solid var(--ln2); background: linear-gradient(180deg, #18191b, #0f1011); padding: 12px 16px; }
.gt::before, .gt::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold); pointer-events: none; }
.gt::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.gt::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.gt input { width: 100%; background: transparent; border: 0; outline: 0; font-family: var(--disp); font-weight: 800; font-size: 32px; letter-spacing: .04em; text-transform: uppercase; color: var(--tx); padding: 6px 0 2px; caret-color: var(--gold); }
.gt input::placeholder { color: #45464b; }
.gt .bar { border-radius: 0; height: 4px; margin-top: 8px; }
.gt .bar i { border-radius: 0; }

/* ---------- Fenster ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .62); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fi .15s ease; }
@keyframes fi { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto; background: rgba(22, 23, 25, .97);
  border: 1px solid var(--ln2); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); animation: su .18s ease;
}
.sheet.wide { max-width: 560px; }
@keyframes su { from { transform: translateY(14px); opacity: 0; } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 24px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs) + 24px); transform: translateX(-50%); z-index: 90; background: var(--tx); color: var(--ink);
  padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); max-width: calc(100vw - 32px); text-align: center;
  animation: su .18s ease;
}

/* ---------- Seitenmenü ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .55); animation: fi .15s ease; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: 320px; max-width: 86vw; z-index: 71; background: var(--s1); border-right: 1px solid var(--ln);
  padding: 22px 18px 30px; overflow-y: auto; animation: sl .2s ease; box-shadow: 10px 0 40px rgba(0, 0, 0, .5);
}
@keyframes sl { from { transform: translateX(-100%); } }
.drawer .dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer .lbl { margin: 18px 0 6px; display: block; }
.drawer a, .drawer button.dl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 6px; border-radius: 10px; text-decoration: none; color: var(--tx); font-weight: 600; font-size: 14.5px; }
.drawer a:hover, .drawer button.dl:hover { background: var(--s2); }
.drawer a .ic, .drawer button.dl .ic { color: var(--tx2); }
.drawer .motto { margin-top: 26px; color: var(--tx3); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Treffen / Events ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 20px 6px; margin: 0 -20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.ev-big { width: 300px; flex: none; scroll-snap-align: start; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: block; }
.ev-big:hover { border-color: var(--ln2); }
.ev-cover { position: relative; height: 170px; background: #202225; display: flex; align-items: center; justify-content: center; color: rgba(241, 241, 238, .3); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-date { position: absolute; left: 0; top: 0; background: var(--tx); color: var(--ink); padding: 5px 10px; min-width: 54px; text-align: center; }
.ev-date b { display: block; font-family: var(--disp); font-weight: 800; font-size: 25px; line-height: 1; }
.ev-date small { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.ev-tag { position: absolute; right: 0; top: 0; background: rgba(0, 0, 0, .72); color: #f1f1ee; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; }
.ev-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; }
.ev-h { font-family: var(--disp); font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: 1.05; letter-spacing: .02em; }
.ev-meta { color: var(--tx3); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.ev-list { border-top: 1px solid var(--ln); }
.ev-month { padding: 16px 0 8px; border-bottom: 1px solid var(--ln); }
.ev-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ln); text-decoration: none; color: inherit; }
.ev-row:hover .ev-h { text-decoration: underline; }
.ev-dcol { width: 42px; flex: none; padding-top: 2px; }
.ev-dcol .wd { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--tx3); }
.ev-dcol .dn { font-family: var(--disp); font-weight: 800; font-size: 28px; line-height: 1; }
.ev-dcol .mo { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.ev-thumb { width: 80px; height: 80px; flex: none; background: #202225; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: rgba(241, 241, 238, .3); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ev-live { border: 1px solid var(--ok); border-radius: var(--r); background: var(--s1); overflow: hidden; }
.ev-live .top { display: flex; gap: 12px; padding: 12px; text-decoration: none; color: inherit; }
.ev-live .go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; background: var(--ok); color: var(--ink); font-weight: 800; font-size: 13.5px; }
.ev-live .done { padding: 12px; border-top: 1px solid var(--ln); color: var(--ok); font-weight: 700; display: flex; gap: 8px; align-items: center; justify-content: center; }
.banner-ad { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--ln2); border-radius: var(--r); background: var(--s1); position: relative; text-decoration: none; color: inherit; margin-bottom: 14px; }
.banner-ad .adtag { position: absolute; top: -1px; right: -1px; border-radius: 0 var(--r) 0 6px; }
.radius-box { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--r); padding: 12px 14px 10px; }
.radius-box input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--ln2); outline: 0; margin: 10px 0 4px; }
.radius-box input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tx); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--tx); cursor: pointer; }
.radius-box input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--tx); border: 3px solid var(--bg); cursor: pointer; }

/* Event-Seite */
.hero-photo { position: relative; height: 300px; border-radius: 22px; overflow: hidden; background: radial-gradient(90% 80% at 50% 105%, #3a3c42, #1a1b1d 62%, #101112); display: flex; align-items: center; justify-content: center; color: rgba(241, 241, 238, .25); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, transparent, var(--bg)); }
.facts .list-row { min-height: 48px; }
.facts .list-row .ic { color: var(--tx3); }
.avs { display: flex; }
.avs .av { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px var(--bg); }
.avs .av + .av { margin-left: -8px; }
.msg-list { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Gruppen ---------- */
.g-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--s1); border: 1px solid var(--ln); border-radius: var(--r); text-decoration: none; color: inherit; }
.g-card:hover { border-color: var(--ln2); }
.g-logo { border-radius: 50%; flex: none; overflow: hidden; background: linear-gradient(145deg, #2c2e33, #18191c); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; color: var(--tx); text-transform: uppercase; }
.g-logo img { width: 100%; height: 100%; object-fit: cover; }
.g-logo.ring { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--gold), 0 14px 40px rgba(217, 182, 104, .18); }
.g-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 6px 0 4px; }

/* ---------- Cruiser ---------- */
.deck { position: relative; max-width: 420px; margin: 0 auto; aspect-ratio: 3 / 4.25; user-select: none; }
.dcard { position: absolute; inset: 0; background: var(--s1); border: 1px solid var(--ln2); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); touch-action: pan-y; }
.dcard.behind { transform: scale(.95); opacity: .6; }
.dcard .ph { position: relative; flex: 1; min-height: 0; background: #1a1b1e; cursor: pointer; }
.dcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.dcard .dots { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; }
.dcard .dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.dcard .dots i.on { background: #fff; }
.dcard .pills { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.dcard .pills .pill { background: rgba(13, 14, 15, .72); border-color: rgba(255, 255, 255, .2); color: #f1f1ee; }
.dcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.stamp { position: absolute; top: 26px; padding: 6px 12px; border: 3px solid; border-radius: 8px; font-family: var(--disp); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .06em; opacity: 0; pointer-events: none; }
.stamp.like { left: 18px; color: var(--ok); border-color: var(--ok); transform: rotate(-12deg); }
.stamp.nope { right: 18px; color: var(--tx2); border-color: var(--tx2); transform: rotate(12deg); }
.deck-actions { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.dact { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--ln2); background: var(--s1); display: flex; align-items: center; justify-content: center; }
.dact:hover { border-color: #66676c; }
.dact.like { background: var(--tx); color: var(--ink); border-color: var(--tx); }
.dact.mid { width: auto; height: 46px; padding: 0 18px; border-radius: 23px; gap: 8px; font-weight: 700; font-size: 13px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--ln); border-radius: var(--r); background: var(--s1); width: 100%; margin-bottom: 16px; }
.status-row.on { border-color: var(--ok); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.st-opt { padding: 14px 12px; border: 1px solid var(--ln2); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.st-opt.on { border-color: var(--ok); background: rgba(127, 201, 154, .08); }
.st-opt b { font-size: 14px; }
.st-opt small { color: var(--tx3); font-size: 12px; line-height: 1.35; }

/* ---------- Ranking ---------- */
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.lb-row:hover { background: var(--s1); }
.lb-row.me { background: var(--s1); border-color: var(--ln2); }
.medal { width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--tx2); border: 1px solid var(--ln2); }
.medal.p1 { background: radial-gradient(circle at 32% 26%, #f6e6b4, #c19a45 58%, #6f5420); color: #2a1f08; border: 0; }
.medal.p2 { background: radial-gradient(circle at 32% 26%, #f4f4f2, #a9abb0 58%, #55575c); color: #1a1b1d; border: 0; }
.medal.p3 { background: radial-gradient(circle at 32% 26%, #f1c9a2, #b0713e 58%, #5c3415); color: #2a1406; border: 0; }
.lb-val { font-family: var(--mono); font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* ---------- Profil / Garage ---------- */
.p-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 260px; background: radial-gradient(90% 80% at 50% 105%, #3a3c42, #1a1b1d 62%, #101112); display: flex; align-items: flex-end; }
.p-hero > img.bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero .fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 15, .05) 30%, var(--bg)); }
.p-hero .inner { position: relative; display: flex; align-items: flex-end; gap: 16px; padding: 18px; width: 100%; }
.p-hero .av { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 3px var(--bg); }
.p-name { font-size: 40px; }
.stat { background: var(--s1); border: 1px solid var(--ln); border-radius: 14px; padding: 11px 13px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--mono); font-size: 19px; font-weight: 700; }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 14px 8px; }
.aw-i { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.aw { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #f6e6b4, #c19a45 58%, #6f5420); display: flex; align-items: center; justify-content: center; color: #2a1f08; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), 0 4px 14px rgba(0, 0, 0, .55); }
.aw.lock { background: var(--s2); color: var(--tx3); box-shadow: inset 0 0 0 1px var(--ln2); }
.aw-i small { font-size: 11px; color: var(--tx2); line-height: 1.25; }
.veh { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ln); }
.veh:last-child { border-bottom: 0; }
.veh .t { flex: 1; min-width: 0; }
.veh .t b { display: block; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 12px 0 10px; }
.week span { height: 34px; border: 1px solid var(--ln2); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: var(--tx2); }
.week span.on { background: var(--tx); color: var(--ink); border-color: var(--tx); }
.week span.today { border-color: var(--gold); }
.week span.fut { opacity: .4; }
.links { background: var(--s1); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; }
.links a, .links button { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--ln); text-decoration: none; color: var(--tx); font-weight: 600; width: 100%; }
.links a:last-child, .links button:last-child { border-bottom: 0; }
.links a:hover, .links button:hover { background: var(--s2); }
.links .t { flex: 1; }
.photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ph-tile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--s2); border: 1px solid var(--ln); }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; }
.ph-tile .tools { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; gap: 4px; justify-content: space-between; }
.ph-tile .tools button { width: 32px; height: 32px; border-radius: 50%; background: rgba(13, 14, 15, .78); display: flex; align-items: center; justify-content: center; color: #fff; }
.ph-tile .main { position: absolute; top: 6px; left: 6px; }
.ph-add { aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--ln2); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: var(--tx2); font-weight: 600; font-size: 13px; }
.ph-add:hover { border-color: var(--tx2); color: var(--tx); }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery button { flex: none; width: min(100%, 520px); aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: var(--s2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox .ibtn { position: absolute; color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Postfach / Chat ---------- */
.chat-box { display: flex; flex-direction: column; height: calc(100vh - var(--top) - var(--tabs) - 44px); max-height: 820px; }
.chat-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 12px 2px; }
.bub { max-width: 78%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; word-wrap: break-word; white-space: pre-wrap; }
.bub.me { align-self: flex-end; background: var(--tx); color: var(--ink); border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: var(--s2); border: 1px solid var(--ln); border-bottom-left-radius: 4px; }
.bub small { display: block; font-size: 10.5px; opacity: .6; margin-top: 3px; font-family: var(--mono); }
.chat-input { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ln); }
.chat-input input { flex: 1; height: 48px; border-radius: 24px; border: 1px solid var(--ln2); background: var(--s1); padding: 0 18px; outline: 0; color: var(--tx); }
.chat-input button { width: 48px; height: 48px; border-radius: 50%; background: var(--tx); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.unread { min-width: 22px; height: 22px; border-radius: 11px; background: var(--tx); color: var(--ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 6px; }

/* ---------- Anmelden ---------- */
.auth-page { min-height: calc(100vh - var(--top)); display: flex; align-items: flex-start; justify-content: center; padding: 34px 16px calc(40px + var(--tabs)); background: radial-gradient(70% 70% at 50% 30%, #26282d, transparent 70%); }
.auth-card { width: 100%; max-width: 460px; background: rgba(22, 23, 25, .86); border: 1px solid var(--ln); border-radius: 24px; padding: 26px 28px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.social-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
#google-host { display: flex; justify-content: center; min-height: 44px; }
.legal { color: var(--tx2); line-height: 1.6; font-size: 14.5px; }
.legal h1, .legal h2, .legal h3 { font-family: var(--disp); text-transform: uppercase; letter-spacing: .02em; color: var(--tx); }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 980px) {
  .topbar .nav a span.l { display: none; }
  .soon-pill { display: none; }
}
@media (max-width: 760px) {
  :root { --top: 56px; }
  .only-d { display: none !important; }
  .only-m { display: flex !important; }
  .topbar { padding: 0 6px; gap: 4px; justify-content: space-between; }
  .topbar .brand { position: absolute; left: 50%; transform: translateX(-50%); font-size: 24px; }
  .topbar .nav { display: none; }
  .page { padding: 16px 16px calc(40px + var(--tabs)); }
  .page-head h1 { font-size: 30px; }
  .chips.scroll, .rail { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .p-name { font-size: 32px; }
  .p-hero { min-height: 230px; border-radius: 18px; }
  .hero-photo { height: 220px; border-radius: 18px; }
  .scrim { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 22px 22px 0 0; max-height: 88vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .auth-card { padding: 22px 18px; border-radius: 20px; }
  .ev-big { width: 280px; }
  .grid2.m1 { grid-template-columns: 1fr; }
}
a.pill, a.chip { text-decoration: none; }
.btn { white-space: nowrap; }
.deck { width: min(100%, 420px, calc((100dvh - var(--top) - var(--tabs) - 250px) * .706)); min-width: 240px; }
@media (max-width: 760px) {
  .btn.sm { font-size: 11px; letter-spacing: .05em; padding: 0 10px; }
  .status-row { padding: 11px 13px; }
}
.dact { text-decoration: none; color: inherit; }
.row > .inp { min-width: 0; }

/* ---------- Website: App-Hinweis ---------- */
.tabbar { display: none !important; }
body.has-appbar { --tabs: 74px; }
.appbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 74px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px;
  padding-bottom: env(safe-area-inset-bottom); background: rgba(16, 17, 19, .9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-top: 1px solid rgba(255, 255, 255, .1);
}
.appbar .ab-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--tx); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.appbar .ab-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.appbar .ab-t b { font-size: 14px; }
.appbar .ab-t span { color: var(--tx2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border: 1px solid var(--ln2); border-radius: 14px; background: var(--s2); }
.store b { font-size: 15px; }
.app-card { background: linear-gradient(160deg, #1c1d20, #121314); border-color: #34353a; }
.app-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-feat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--ln); border-radius: 12px; font-weight: 600; font-size: 13px; color: var(--tx); }
.app-feat:hover { border-color: var(--ln2); background: var(--s2); }
.app-focus { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin-bottom: 22px; border-color: var(--gold); }
.app-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding: 10px 0; }
.app-hero h1 { font-size: 52px; margin: 10px 0 14px; }
.app-hero .sub { font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; max-width: 560px; }
.app-phone { justify-self: center; width: 250px; height: 500px; border-radius: 38px; border: 8px solid #222327; background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px #3a3b40; padding: 14px 12px; }
.ph-screen { height: 100%; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ph-top { text-align: center; font-size: 20px; padding: 6px 0; }
.ph-card { background: var(--s1); border: 1px solid var(--ln); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ph-card b { font-size: 20px; }
.ph-btn { background: var(--ok); color: var(--ink); font-weight: 800; font-size: 11px; border-radius: 9px; padding: 7px; text-align: center; }
.ph-row { display: flex; flex-direction: column; gap: 6px; }
.ph-row i { display: block; height: 22px; border-radius: 8px; background: var(--s2); }
.ph-row i:first-child { background: linear-gradient(90deg, rgba(217, 182, 104, .4), var(--s2)); }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 9px 4px; border-radius: 20px; background: var(--s1); border: 1px solid var(--ln); color: var(--tx3); }
.ph-tabs span:first-child { color: var(--tx); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.app-tile { display: flex; flex-direction: column; gap: 8px; }
.app-tile.on { border-color: var(--gold); }
@media (max-width: 760px) {
  .app-hero { grid-template-columns: 1fr; }
  .app-hero h1 { font-size: 38px; }
  .app-phone { display: none; }
  .app-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3.m1 { grid-template-columns: 1fr; }
  .appbar { height: 68px; padding-left: 12px; gap: 10px; }
  body.has-appbar { --tabs: 68px; }
  .appbar .ab-t span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11.5px; line-height: 1.3; }
  .me-btn { padding: 0 4px; }
}

/* ---------- Update 43: Social Media als Icons im Profil ---------- */
.soc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.soc { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ln2); background: var(--s2); color: var(--tx); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s, color .15s; }
.soc .ic { width: 17px; height: 17px; }
.soc:hover, .soc:focus-visible { background: var(--tx); color: var(--ink); border-color: var(--tx); }
.toggle-row[disabled] { opacity: .55; cursor: default; }
