/* Crewplay – Plattform-Stil
   Leitlinien: Systemschrift mit größenabhängiger Laufweite, durchscheinende Leisten statt fester Balken,
   sofortiges Feedback beim Drücken, Federn statt fester Animationsdauern (siehe common.js → spring). */
:root {
  --bg: #0a0b12;
  --bg2: #11131c;
  --card: #151823;
  --card2: #1c2030;
  --fill: rgba(255,255,255,.06);
  --fill2: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.07);
  --line2: rgba(255,255,255,.13);
  --text: #f4f5fa;
  --muted: #a1a7bd;
  --dim: #6f7591;
  --brand1: #7b6cff;
  --brand2: #f15bb5;
  --brand3: #ff8c42;
  --ok: #3ddc97;
  --warn: #ffd23f;
  --bad: #ff5d73;
  --grad: linear-gradient(110deg, var(--brand1), var(--brand2) 55%, var(--brand3));
  --radius: 20px;
  --shadow-s: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.22);
  --shadow: 0 2px 6px rgba(0,0,0,.25), 0 22px 60px rgba(0,0,0,.45);
  --material: rgba(14,15,24,.68);
  --material-strong: rgba(18,20,30,.82);
  --blur: blur(22px) saturate(170%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --press: 100ms cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 100%/1.5 var(--font); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(1100px 620px at 88% -12%, rgba(123,108,255,.2), transparent 62%), radial-gradient(900px 520px at -12% 8%, rgba(241,91,181,.11), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.hidden, [hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(241,91,181,.4); }

/* ---------- Kopfzeile: durchscheinende Leiste, Kante erst beim Scrollen ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--material); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: box-shadow .3s var(--ease-out); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line2); opacity: 0; transition: opacity .3s; }
.top.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.top.scrolled::after { opacity: 1; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 750; font-size: 1.3rem; letter-spacing: -.025em; }
.logo svg { width: 32px; height: 32px; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top nav { display: flex; gap: 2px; margin-left: 8px; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 560; font-size: .9375rem; padding: 7px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.top nav a:hover { color: var(--text); background: var(--fill); }
.spacer { flex: 1; }
.top-cta { opacity: 0; transform: translateY(-6px) scale(.96); pointer-events: none; max-width: 0; padding-left: 0 !important; padding-right: 0 !important; margin-right: -16px; overflow: hidden; transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), max-width .35s var(--ease-out), padding .35s var(--ease-out), margin .35s var(--ease-out); }
.top.cta-on .top-cta { opacity: 1; transform: none; pointer-events: auto; max-width: 180px; padding-left: 13px !important; padding-right: 13px !important; margin-right: 0; }
.chip { white-space: nowrap; max-width: 46vw; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: var(--fill); border-radius: 999px; padding: 5px 14px 5px 6px; font-weight: 620; font-size: .9375rem; transition: background .15s, transform var(--press); }
.chip:hover { background: var(--fill2); }
.chip:active { transform: scale(.96); }
.dot { width: 22px; height: 22px; border-radius: 50%; display: inline-block; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.2); flex: none; }

/* ---------- Buttons: Feedback beim Drücken, nicht beim Loslassen ---------- */
.btn { border: 1px solid var(--line2); border-radius: 14px; padding: 12px 20px; font-weight: 650; font-size: 1rem; letter-spacing: -.005em; background: var(--fill); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: transform var(--press), filter .15s, background .15s, box-shadow .2s; }
.btn:hover { background: var(--fill2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 6px 20px -4px rgba(241,91,181,.5), inset 0 1px 0 rgba(255,255,255,.22); }
.btn.primary:hover { filter: brightness(1.08) saturate(1.05); }
.btn.big { font-size: 1.0625rem; padding: 0 26px; height: 56px; border-radius: 16px; }
.btn.small { padding: 7px 13px; font-size: .875rem; border-radius: 10px; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--fill); }
.btn:disabled { opacity: .45; cursor: default; transform: none; filter: none; }

/* ---------- Startseite ---------- */
.hero { padding: 72px 0 48px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 620; letter-spacing: .01em; color: var(--muted); background: var(--fill); border: 1px solid var(--line); padding: 5px 12px 5px 8px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.02; margin: 0 0 20px; letter-spacing: -.045em; font-weight: 780; font-optical-sizing: auto; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero p.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 30em; line-height: 1.5; letter-spacing: -.01em; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.join-form { display: flex; align-items: center; height: 56px; border: 1px solid var(--line2); border-radius: 16px; background: var(--fill); padding: 6px; transition: border-color .2s, background .2s, box-shadow .2s; }
.join-form:focus-within { border-color: rgba(255,255,255,.35); background: var(--fill2); box-shadow: 0 0 0 4px rgba(123,108,255,.18); }
.join-form input { width: 7.2em; height: 100%; border: 0; background: transparent; padding: 0 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; outline: none; font-variant-numeric: tabular-nums; }
.join-form input::placeholder { letter-spacing: .18em; color: var(--dim); font-weight: 600; }
.join-form button { height: 100%; border: 0; border-radius: 11px; background: var(--fill2); padding: 0 16px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, transform var(--press); }
.join-form button:hover { background: rgba(255,255,255,.16); }
.join-form button:active { transform: scale(.96); }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin-top: 36px; color: var(--muted); font-size: .8125rem; font-weight: 520; }
.hero-facts div { padding: 0 22px; border-left: 1px solid var(--line2); line-height: 1.35; }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts b { color: var(--text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; display: block; margin-bottom: 2px; }

/* Collage: Karten kippen per Feder zur Maus (home.js) */
.collage { position: relative; height: 440px; perspective: 1200px; }
.collage .cv { position: absolute; width: 56%; aspect-ratio: 16/10; cursor: pointer; transform: rotate(var(--rot)); transform-style: preserve-3d; z-index: var(--z, 1); will-change: transform; -webkit-tap-highlight-color: transparent; }
.collage .cv:nth-child(1) { left: 0; top: 34px; --rot: -6deg; }
.collage .cv:nth-child(2) { right: 0; top: 0; --rot: 5deg; }
.collage .cv:nth-child(3) { left: 17%; top: 196px; --rot: -1.5deg; --z: 2; width: 62%; }
.collage .cv:nth-child(4) { right: -2%; top: 240px; --rot: 8deg; width: 40%; }
.collage .cv.hover { z-index: 6; }
.collage .card { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); transition: transform .32s ease-in, box-shadow .35s var(--ease-out); }
.collage .card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.12); pointer-events: none; }
.collage .cv.hover .card { box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 2px rgba(241,91,181,.5); }
.collage .card.flip { transform: rotateY(90deg) scale(.96); }
.collage .img { position: absolute; inset: -6%; background-size: cover; background-position: center; will-change: transform; }
.collage .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.24), transparent 55%); opacity: var(--light, 0); }
.collage .lbl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 36px 16px 13px; background: linear-gradient(transparent, rgba(5,6,12,.86)); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.015em; opacity: var(--light, 0); transform: translateY(calc((1 - var(--light, 0)) * 10px)); }
.collage .lbl span { font-size: .8125rem; font-weight: 650; background: var(--grad); padding: 6px 12px; border-radius: 999px; white-space: nowrap; letter-spacing: 0; }

/* Spiele-Leiste für das Handy (statt Collage), native Wisch-Physik mit Einrasten */
.strip { display: none; }

section h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 720; margin: 0; letter-spacing: -.028em; line-height: 1.15; }
.sec { padding: 34px 0; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-sub { color: var(--muted); font-size: .9375rem; margin: -10px 0 18px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); flex: none; }
.live-dot.on { background: var(--bad); box-shadow: 0 0 0 0 rgba(255,93,115,.7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255,93,115,0); } 100% { box-shadow: 0 0 0 0 rgba(255,93,115,0); } }
.live-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.live-card { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; text-decoration: none; transition: border-color .15s, background .15s, transform var(--press); }
.live-card:hover { border-color: var(--line2); background: var(--card2); }
.live-card:active { transform: scale(.98); }
.live-card .th { width: 96px; aspect-ratio: 16/10; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.live-card .info { flex: 1; min-width: 0; }
.live-card .t { font-weight: 650; letter-spacing: -.01em; }
.live-card .s { color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--muted); letter-spacing: .005em; }
.badge.live { background: rgba(255,93,115,.16); color: #ff8c9b; }
.badge.lobby { background: rgba(61,220,151,.14); color: var(--ok); }
.badge.d3 { background: rgba(255,140,66,.2); color: #ffb380; }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line2); border-radius: 16px; padding: 22px; text-align: center; }
.empty-inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9375rem; padding: 4px 0; }
.empty-inline .btn { color: var(--text); }

.search { flex: 1; min-width: 200px; max-width: 320px; margin-left: auto; position: relative; }
.search input { width: 100%; height: 40px; border: 1px solid transparent; background: var(--fill); border-radius: 11px; padding: 0 14px 0 36px; outline: none; transition: background .15s, border-color .15s, box-shadow .2s; }
.search input:focus { background: var(--fill2); border-color: var(--line2); box-shadow: 0 0 0 4px rgba(123,108,255,.16); }
.search input::placeholder { color: var(--dim); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; opacity: .55; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.fchip { border: 0; background: var(--fill); border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: .875rem; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s, transform var(--press); }
.fchip:hover { color: var(--text); background: var(--fill2); }
.fchip:active { transform: scale(.95); }
.fchip.on { background: var(--text); color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 20px; }
.gcard { position: relative; background: var(--card); border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; padding: 0; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.gcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; transition: box-shadow .25s; }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gcard:hover::after { box-shadow: inset 0 0 0 1px var(--line2); }
.gcard:active { transform: scale(.975); transition-duration: .1s; }
.gcard .cover { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.gcard .cover::before { content: ''; position: absolute; inset: 0; background: inherit; background-size: cover; transition: transform .6s var(--ease-out); }
.gcard:hover .cover::before { transform: scale(1.04); }
.gcard .cover .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 1; }
.gcard .cover .badges .badge { background: rgba(10,11,18,.55); color: #fff; -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); }
.gcard .cover .badges .badge.d3 { color: #ffc49e; }
.gcard .body { padding: 14px 16px 16px; }
.gcard .name { font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; line-height: 1.25; }
.gcard .tag { color: var(--muted); font-size: .875rem; margin-top: 4px; line-height: 1.42; min-height: 2.84em; }
.gcard .meta { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.soon-card { border: 1px dashed var(--line2); background: transparent; box-shadow: none; display: grid; place-content: center; text-align: center; gap: 4px; padding: 24px; color: var(--muted); cursor: default; min-height: 260px; }
.soon-card::after { display: none; }
.soon-card:hover, .soon-card:active { transform: none; box-shadow: none; }
.soon-card b { color: var(--text); font-weight: 650; }
.soon-card .big { font-size: 2.25rem; margin-bottom: 4px; }
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.roadmap div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; color: var(--muted); line-height: 1.5; font-size: .9375rem; }
.roadmap b { color: var(--text); display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -.015em; margin-bottom: 6px; }
footer { color: var(--dim); font-size: .8125rem; padding: 48px 0 56px; text-align: center; }
footer b { color: var(--muted); font-weight: 600; }

/* ---------- Modale: wachsen aus der angeklickten Karte, auf dem Handy als Sheet ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(5,6,12,.62); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .28s var(--ease-out); }
.modal-bg.show { opacity: 1; }
.modal { position: relative; background: var(--bg2); border-radius: 24px; width: min(560px, 100%); max-height: 92vh; overflow: auto; overscroll-behavior: contain; box-shadow: 0 0 0 1px var(--line2), 0 40px 120px rgba(0,0,0,.6); will-change: transform; }
.modal.wide { width: min(980px, 100%); }
.modal-in { padding: 26px; }
.modal h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 720; letter-spacing: -.025em; line-height: 1.2; }
.modal p { color: var(--muted); line-height: 1.55; }
.modal .x { position: sticky; top: 14px; float: right; z-index: 3; border: 0; background: rgba(20,22,32,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; color: var(--muted); display: grid; place-items: center; transition: background .15s, transform var(--press); }
.modal .x:hover { background: rgba(40,44,60,.8); color: var(--text); }
.modal .x:active { transform: scale(.9); }
.modal .x.modal-close { position: absolute; right: 14px; top: 14px; float: none; z-index: 5; background: rgba(10,11,18,.5); color: #fff; }
.sheet-grab { display: none; }
.field { display: block; margin: 18px 0; }
.field span { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.field input { width: 100%; height: 50px; border: 1px solid var(--line2); background: var(--fill); border-radius: 13px; padding: 0 14px; font-size: 1.125rem; font-weight: 620; letter-spacing: -.01em; outline: none; transition: border-color .15s, box-shadow .2s; }
.field input:focus { border-color: rgba(123,108,255,.8); box-shadow: 0 0 0 4px rgba(123,108,255,.2); }
.palette { display: grid; grid-template-columns: repeat(12, 1fr); gap: 9px; }
.palette button { aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); transition: transform .3s var(--ease-out), box-shadow .2s; }
.palette button:active { transform: scale(.88); }
.palette button.on { transform: scale(1.12); box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px #fff; }
.detail-cover { aspect-ratio: 21/9; background-size: cover; background-position: center; position: relative; }
.detail-cover .shade { position: absolute; inset: 0; background: linear-gradient(transparent 35%, var(--bg2)); }
.detail-cover h3 { position: absolute; left: 26px; bottom: 6px; font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 780; letter-spacing: -.035em; margin: 0; }
.keys { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 4px; font-size: .875rem; color: var(--muted); }
.keys b { background: var(--card2); border: 1px solid var(--line2); border-bottom-width: 2px; color: var(--text); border-radius: 7px; padding: 1px 7px; font-size: .75rem; font-weight: 650; margin-right: 5px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Raum / Lobby ---------- */
.room-top .code { font-weight: 700; letter-spacing: .22em; font-size: .9375rem; background: var(--fill); border: 1px solid var(--line2); padding: 6px 8px 6px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.lobby { display: grid; grid-template-columns: 1fr 370px; gap: 22px; padding: 24px 0 40px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; overflow: clip; }
.panel-in { padding: 18px 20px; }
.panel h4 { margin: 0 0 12px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.panel h4 .badge { text-transform: none; letter-spacing: 0; }
.game-hero { aspect-ratio: 21/8; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; }
.game-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 22%, rgba(21,24,35,.97)); }
.game-hero .gh { position: relative; z-index: 1; padding: 18px 22px; width: 100%; display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.game-hero h2 { font-size: clamp(2rem, 4vw, 2.875rem); font-weight: 780; letter-spacing: -.035em; margin: 0; line-height: 1.05; }
.game-hero .tl { color: var(--muted); font-weight: 520; width: 100%; margin-top: -4px; }
.desc { color: var(--muted); line-height: 1.6; margin: 0 0 6px; }
.opts { display: grid; gap: 18px; margin-top: 22px; }
.opt label { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
/* Segment-Steuerung wie auf iOS: eine Schiene, die Auswahl liegt als erhabene Pille darauf */
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--fill); border-radius: 12px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 7px 15px; font-weight: 600; font-size: .875rem; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s, transform var(--press); }
.seg button:hover:not(:disabled) { color: var(--text); }
.seg button:active:not(:disabled) { transform: scale(.96); }
.seg button.on { background: #3a3f55; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.seg button:disabled { cursor: default; }
.seg button:disabled:not(.on) { opacity: .5; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--brand2) var(--p, 37%), var(--fill2) var(--p, 37%)); outline: none; }
.range-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4), 0 0 0 .5px rgba(0,0,0,.1); cursor: grab; transition: transform .15s var(--ease-out); }
.range-row input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); cursor: grabbing; }
.range-row input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.range-row input[type=range]:disabled { opacity: .5; }
.range-row output { font-weight: 650; min-width: 128px; font-variant-numeric: tabular-nums; }
.opt-note { color: var(--dim); font-size: .75rem; margin-top: 7px; }
/* Start-Leiste bleibt am unteren Rand sichtbar, solange die Lobby gescrollt wird */
.start-bar { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 24px -20px -18px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--material-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid var(--line); }
.start-bar .btn.big { min-width: 210px; }
.start-bar .wait { color: var(--muted); font-weight: 600; display: flex; gap: 10px; align-items: center; min-height: 56px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line2); border-top-color: var(--brand2); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.invite-row { display: flex; gap: 8px; }
.invite-row input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--fill); border-radius: 11px; padding: 9px 12px; font-size: .875rem; color: var(--muted); outline: none; }
.qr { margin-top: 12px; display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 12px; }
.qr canvas, .qr img { width: 180px; height: 180px; image-rendering: pixelated; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 340px; overflow: auto; }
.plist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--fill); font-weight: 600; }
.plist li.me { box-shadow: inset 0 0 0 1px var(--line2); }
.plist .tagx { margin-left: auto; font-size: .75rem; color: var(--muted); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.plist .kick { border: 0; background: transparent; color: var(--dim); font-size: 13px; padding: 2px 5px; border-radius: 6px; }
.plist .kick:hover { color: var(--bad); background: rgba(255,93,115,.12); }
.plist li.bots { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-weight: 520; font-size: .875rem; }
.chat-log { height: 200px; overflow: auto; display: flex; flex-direction: column; gap: 4px; font-size: .875rem; padding-right: 4px; }
.chat-log .m { line-height: 1.4; word-wrap: break-word; }
.chat-log .m b { margin-right: 6px; font-weight: 650; }
.chat-log .sys { color: var(--dim); font-size: .8125rem; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--fill); border-radius: 11px; padding: 9px 12px; outline: none; transition: border-color .15s; }
.chat-form input:focus { border-color: var(--line2); }
.side { display: grid; gap: 16px; position: sticky; top: 80px; }

/* ---------- Spielansicht ---------- */
.stage { position: fixed; inset: 0; z-index: 50; background: #000; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.stage-bar { position: absolute; left: 10px; top: 10px; z-index: 3; display: flex; gap: 4px; align-items: center; background: var(--material); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 0 0 1px var(--line); border-radius: 13px; padding: 4px; opacity: .55; transition: opacity .2s; }
.stage-bar:hover, .stage-bar:focus-within { opacity: 1; }
.stage-bar .lbl { font-weight: 700; font-size: .8125rem; padding: 0 8px; letter-spacing: .12em; white-space: nowrap; }
.stage-bar .lbl.ping { color: var(--muted); letter-spacing: 0; font-weight: 600; min-width: 54px; font-variant-numeric: tabular-nums; }
.sb { border: 0; background: var(--fill); border-radius: 9px; height: 32px; min-width: 32px; padding: 0 10px; font-weight: 600; font-size: .8125rem; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, transform var(--press); }
.sb:hover { background: rgba(255,255,255,.16); }
.sb:active { transform: scale(.93); }
.stage-chat { position: absolute; left: 10px; bottom: 90px; z-index: 3; width: min(380px, 70vw); pointer-events: none; }
.stage-chat .lines { display: flex; flex-direction: column; gap: 3px; font-size: .875rem; font-weight: 600; text-shadow: 0 1px 4px #000; }
.stage-chat .lines div { background: rgba(10,11,18,.45); border-radius: 8px; padding: 3px 8px; align-self: flex-start; transition: opacity .6s; }
.stage-chat .lines div.old { opacity: 0; }
.stage-chat.open .lines div.old { opacity: 1; }
.stage-chat form { display: none; margin-top: 6px; pointer-events: auto; }
.stage-chat.open form { display: flex; }
.stage-chat input { flex: 1; border: 1px solid var(--line2); background: var(--material-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-radius: 11px; padding: 9px 12px; outline: none; }
.loading { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; z-index: 2; background: var(--bg); pointer-events: none; transition: opacity .4s; }
.loading.gone { opacity: 0; }
.loading .spin { width: 40px; height: 40px; border-width: 4px; margin: 0 auto; }
.loading .gname { font-size: 2.125rem; font-weight: 760; letter-spacing: -.03em; }

/* ---------- Ergebnis ---------- */
.results { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(5,6,12,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 16px; animation: fade .3s; overflow: auto; }
@keyframes fade { from { opacity: 0; } }
.res-box { width: min(760px, 100%); text-align: center; }
.res-box h2 { font-size: clamp(2rem, 5vw, 3.125rem); font-weight: 780; margin: 0 0 4px; letter-spacing: -.035em; }
.res-box .sub { color: var(--muted); margin-bottom: 26px; }
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 12px; max-width: 560px; margin: 0 auto 22px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: rise .7s cubic-bezier(.2,.9,.25,1.1) backwards; }
.pod:nth-child(1) { animation-delay: .3s; } .pod:nth-child(2) { animation-delay: .1s; } .pod:nth-child(3) { animation-delay: .5s; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.pod .av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.22); }
.pod .pn { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.015em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .ps { color: var(--muted); font-weight: 600; font-size: .875rem; }
.pod .blk { width: 100%; border-radius: 14px 14px 4px 4px; display: grid; place-items: center; font-size: 2.125rem; font-weight: 800; color: rgba(255,255,255,.92); }
.pod.p1 .blk { height: 150px; background: linear-gradient(#ffd23f, #e0a800); }
.pod.p2 .blk { height: 110px; background: linear-gradient(#d6dbe6, #9aa3b8); }
.pod.p3 .blk { height: 80px; background: linear-gradient(#ffa36b, #c46a2c); }
.res-list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; max-height: 260px; overflow: auto; text-align: left; margin-bottom: 22px; }
.res-list div { display: flex; gap: 12px; padding: 9px 16px; border-top: 1px solid var(--line); align-items: center; font-weight: 600; }
.res-list div:first-child { border-top: 0; }
.res-list .n { color: var(--dim); width: 28px; font-variant-numeric: tabular-nums; }
.res-list .sc { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-list .me { background: var(--fill); }

.error-screen { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 14px; padding: 20px; }
.error-screen h2 { font-size: 2.125rem; letter-spacing: -.03em; }
.toast-g { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); translate: -50% 0; background: rgba(244,245,250,.92); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: #0a0b12; font-weight: 650; font-size: .9375rem; padding: 11px 18px; border-radius: 14px; z-index: 200; box-shadow: 0 10px 40px rgba(0,0,0,.4); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .collage { height: 320px; max-width: 640px; }
  .lobby { grid-template-columns: 1fr; }
  .side { position: static; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 28px 0 8px; gap: 0; }
  .eyebrow { margin-bottom: 18px; }
  .hero p.lead { margin-bottom: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn.big { width: 100%; }
  .join-form { width: 100%; }
  .join-form input { flex: 1; width: auto; min-width: 0; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 0; margin-top: 28px; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .collage { display: none; }
  /* Handy: Spiele als waagrechte Leiste mit Einrasten */
  .strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 30px -16px 0; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip::-webkit-scrollbar { display: none; }
  .strip button { flex: none; width: 74%; scroll-snap-align: start; border: 0; padding: 0; background: var(--card); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); transition: transform var(--press); }
  .strip button:active { transform: scale(.97); }
  .strip .sc { aspect-ratio: 16/10; background-size: cover; background-position: center; }
  .strip .sn { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px 12px; font-weight: 680; letter-spacing: -.015em; }
  .strip .sn span { font-size: .75rem; font-weight: 600; color: var(--muted); }
  .sec { padding: 26px 0; }
  .search { max-width: none; order: 3; flex-basis: 100%; margin-left: 0; }
  /* Filter als wischbare Zeile mit weichem Rand statt drei Zeilen Chips */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gcard { border-radius: 16px; }
  .gcard .body { padding: 10px 12px 12px; }
  .gcard .name { font-size: 1rem; }
  .gcard .tag { font-size: .8125rem; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gcard .meta { display: none; }
  .gcard .cover .badges { left: 8px; top: 8px; }
  .soon-card { min-height: 0; grid-column: 1 / -1; padding: 20px; }
  .top.cta-on #pName { display: none; }
  .top.cta-on .chip { padding-right: 6px; }
  .top .wrap { gap: 12px; }
  #pName { overflow: hidden; text-overflow: ellipsis; }
  .palette { grid-template-columns: repeat(8, 1fr); }
  .stage-bar .lbl.code { display: none; }
  .res-box .podium { gap: 6px; }
  .lobby { padding-top: 14px; gap: 14px; }
  .start-bar .btn { flex: 1; }
  .start-bar .btn.big { min-width: 0; }
  /* Sheet von unten mit Griff; per Wischen nach unten schließen (common.js) */
  .modal-bg { place-items: end center; padding: 0; }
  .modal, .modal.wide { width: 100%; max-height: calc(100dvh - 44px); border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .sheet-grab { display: block; position: sticky; top: 0; z-index: 4; height: 22px; margin-bottom: -22px; touch-action: none; cursor: grab; }
  .sheet-grab::before { content: ''; position: absolute; left: 50%; top: 8px; width: 38px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.35); translate: -50% 0; }
  .detail-cover { aspect-ratio: 16/9; touch-action: none; }
  .detail-cover h3 { font-size: 2rem; left: 20px; }
  .modal-in { padding: 22px 20px; }
  .modal-in > .row:last-child .btn { flex: 1; }
  /* Lobby am Handy */
  .room-top #pName { display: none; }
  .room-top .chip { padding-right: 6px; }
  .room-top .code { font-size: .875rem; padding: 5px 6px 5px 10px; }
  .game-hero { aspect-ratio: auto; min-height: 210px; }
  .game-hero .gh { padding: 16px 18px; gap: 8px; }
  .game-hero #gBadges .badge:nth-child(2) { display: none; }
  .panel-in { padding: 16px 18px; }
  .start-bar { margin: 22px -18px -16px; padding-left: 18px; padding-right: 18px; }
  .range-row { flex-wrap: wrap; gap: 10px 16px; }
  .range-row input[type=range] { flex-basis: 100%; order: 2; }
  .range-row output { min-width: 0; order: 1; }
}

/* ---------- Barrierefreiheit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .gcard, .gcard:hover, .gcard .cover::before, .collage .card { transform: none !important; transition: opacity .2s, box-shadow .2s !important; }
  .live-dot.on { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .top, .start-bar, .stage-bar, .modal-bg, .results, .toast-g, .stage-chat input, .modal .x { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top { background: #0d0e16; }
  .start-bar { background: var(--card2); }
  .modal-bg { background: rgba(5,6,12,.85); }
  .toast-g { background: #f4f5fa; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(255,255,255,.28); --line2: rgba(255,255,255,.45); --muted: #c9cde0; --dim: #a1a7bd; --fill: rgba(255,255,255,.1); }
  .top, .start-bar { background: #0d0e16; }
}

/* ---------- Münzen, Laden, Abzeichen, Konto ---------- */
.coin-chip { padding: 5px 13px; gap: 6px; text-decoration: none; font-variant-numeric: tabular-nums; }
.coin-chip b { font-weight: 700; }
.nm-style { background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; font-weight: 720; }
.nm-badge { font-size: .95em; }
.plist .pn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skin-row:empty { display: none; }
.skin-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 8px 8px 14px; background: var(--fill); border-radius: 13px; font-size: .875rem; color: var(--muted); }
.skin-row b { color: var(--text); font-weight: 650; }
.skin-row .btn { margin-left: auto; }

.shop-loading { display: grid; place-items: center; padding: 40px; }
.shop-bal { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; padding: 14px 16px; background: var(--card2); border: 1px solid var(--line); border-radius: 16px; margin-top: 14px; }
.coin-big { font-size: 1.5rem; font-weight: 760; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.coin-big span { font-size: .875rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.bal-note { color: var(--muted); font-size: .8125rem; }
.shop-bal .btn { margin-left: auto; }
.shop-sec h4 { margin: 26px 0 12px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.h4-note { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 520; margin-left: 6px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.item.on { border-color: rgba(241,91,181,.6); box-shadow: 0 0 0 1px rgba(241,91,181,.35), 0 8px 26px -10px rgba(241,91,181,.45); }
.it-prev { display: block; width: 100%; aspect-ratio: 16/10; height: auto; background: radial-gradient(120% 90% at 50% 30%, #262a3b, #141621); }
.name-prev { display: grid; place-items: center; font-size: 1.375rem; letter-spacing: -.02em; padding: 0 10px; text-align: center; overflow: hidden; }
.it-body { padding: 10px 12px 0; flex: 1; }
.it-name { font-weight: 650; letter-spacing: -.01em; }
.it-sub { color: var(--muted); font-size: .75rem; margin-top: 1px; font-variant-numeric: tabular-nums; }
.it-btn { margin: 10px 12px 12px; }
.it-btn.on { color: var(--ok); }
.it-btn.short { color: var(--muted); }
.founder { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: linear-gradient(var(--card2), var(--card2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; margin-bottom: 12px; }
.founder.owned { background: var(--card); border-color: var(--line); }
.f-icon { font-size: 2.5rem; line-height: 1; }
.f-title { font-size: 1.125rem; font-weight: 720; letter-spacing: -.015em; }
.f-desc { color: var(--muted); font-size: .875rem; line-height: 1.45; margin-top: 2px; }
.f-until { color: var(--warn); font-size: .75rem; font-weight: 650; margin-top: 6px; }
.f-done { color: var(--ok); font-weight: 650; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pk-coins { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-tag { font-size: .75rem; font-weight: 650; color: var(--ok); }
.pk-tag.ghost { color: var(--dim); }
.pack .btn { margin-top: 10px; min-width: 96px; }
.shop-note { color: var(--dim); font-size: .8125rem; line-height: 1.5; margin: 22px 0 4px; }
.shop-note a { color: var(--muted); }

.co-price { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--fill); border-radius: 14px; margin-top: 16px; color: var(--muted); font-weight: 600; }
.co-price b { color: var(--text); font-size: 1.375rem; letter-spacing: -.02em; }
.co-check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 8px; font-size: .875rem; color: var(--text); line-height: 1.45; cursor: pointer; }
.co-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand2); }
.modal p.co-note { font-size: .8125rem; color: var(--dim); margin: 6px 0 0; }
.dev-tag { display: inline-block; background: var(--warn); color: #0a0b12; font-size: .6875rem; font-weight: 750; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.thanks { display: grid; gap: 6px; text-align: left; }
.thanks div { padding: 10px 14px; background: var(--fill); border-radius: 12px; font-weight: 600; }

.res-reward { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; width: fit-content; max-width: 100%; margin: -12px auto 22px; padding: 8px 16px; background: rgba(255,210,63,.09); border: 1px solid rgba(255,210,63,.28); border-radius: 999px; animation: rise .6s cubic-bezier(.2,.9,.25,1.1) backwards; }
.rw-coins { font-size: 1.25rem; font-weight: 780; letter-spacing: -.02em; color: #ffd23f; font-variant-numeric: tabular-nums; }
.rw-note { color: var(--muted); font-size: .8125rem; }
.rw-badge { font-size: .875rem; font-weight: 560; padding-left: 12px; border-left: 1px solid rgba(255,210,63,.28); }

.prof { padding: 28px 0 20px; }
.prof-hero { display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; min-height: 120px; }
.ph-av { width: 72px; height: 72px; border-radius: 50%; flex: none; box-shadow: inset 0 -6px 0 rgba(0,0,0,.22), 0 0 0 4px var(--card2); }
.ph-main { flex: 1; min-width: 220px; }
.ph-main h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 760; overflow-wrap: anywhere; }
.ph-sub { color: var(--muted); font-size: .875rem; margin-top: 6px; }
.ph-sub b { color: var(--text); }
.ph-sub a { color: #c6bfff; font-weight: 600; }
.ph-stats { display: flex; flex-wrap: wrap; row-gap: 12px; }
.ph-stats div { padding: 0 18px; border-left: 1px solid var(--line2); color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.ph-stats div:first-child { border-left: 0; padding-left: 0; }
.ph-stats b { display: block; color: var(--text); font-size: 1.125rem; font-weight: 720; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.prof-tabs { margin: 22px 0 4px; }
.tab-intro { color: var(--muted); margin: 18px 0; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bcard { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 3px; transition: transform var(--press), border-color .2s; }
.bcard:active:not(:disabled) { transform: scale(.97); }
.bcard:disabled { cursor: default; }
.bcard:not(.has) .b-icon { filter: grayscale(1); opacity: .4; }
.bcard:not(.has) .b-name { color: var(--muted); }
.bcard.on { border-color: rgba(241,91,181,.6); box-shadow: 0 0 0 1px rgba(241,91,181,.35); }
.b-icon { font-size: 2rem; line-height: 1.1; margin-bottom: 4px; }
.b-name { font-weight: 650; letter-spacing: -.01em; }
.b-desc { color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.b-prog { height: 6px; background: var(--fill2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.b-prog i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.b-pn { color: var(--dim); font-size: .75rem; font-variant-numeric: tabular-nums; }
.b-on { margin-top: 8px; font-size: .75rem; font-weight: 650; color: var(--ok); }
.b-on.ghost { color: var(--muted); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; align-items: start; }
.acc-card h3 { margin: 0 0 6px; font-size: 1.375rem; letter-spacing: -.02em; font-weight: 720; }
.acc-card p { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin: 0 0 4px; }
.acc-card.wide { max-width: 640px; margin-top: 18px; }
.acc-card .field input { font-size: 1rem; }
.acc-h { margin: 26px 0 8px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.buys { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.buys li { display: flex; justify-content: space-between; padding: 9px 12px; background: var(--fill); border-radius: 10px; font-weight: 600; font-size: .9375rem; }
.buys li span:last-child { color: var(--muted); font-weight: 520; }
.muted-s { color: var(--dim) !important; font-size: .875rem !important; }
.danger { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.danger summary { color: var(--bad); font-weight: 600; cursor: pointer; font-size: .9375rem; }
.danger input { flex: 1; min-width: 180px; height: 40px; border: 1px solid var(--line2); background: var(--fill); border-radius: 11px; padding: 0 12px; outline: none; }
@media (max-width: 640px) {
  .coin-chip { padding: 5px 10px; }
  .top.cta-on .coin-chip { display: none; }
  .items { grid-template-columns: 1fr 1fr; gap: 10px; }
  .founder { grid-template-columns: auto 1fr; padding: 16px; }
  .founder .btn, .f-done { grid-column: 1 / -1; }
  .packs { gap: 8px; }
  .pack { padding: 14px 6px 12px; }
  .pk-coins { font-size: 1.0625rem; }
  .pack .btn { min-width: 0; width: 100%; }
  .prof { padding-top: 16px; }
  .prof-hero { padding: 18px; }
  .ph-av { width: 56px; height: 56px; }
  .ph-stats { width: 100%; }
  .ph-stats div { padding: 0 12px; }
  .acc-grid { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bcard { padding: 14px; }
  .skin-row { flex-wrap: wrap; }
}
.coin { display: inline-block; position: relative; width: 1em; height: 1em; border-radius: 50%; vertical-align: -.15em; flex: none; background: radial-gradient(circle at 34% 28%, #fff6c4, #ffd23f 32%, #eaa900 68%, #a87400); box-shadow: inset 0 0 0 .08em rgba(150,100,0,.55), 0 .04em .12em rgba(0,0,0,.35); }
.coin::after { content: ''; position: absolute; inset: .24em; border-radius: 50%; box-shadow: inset 0 0 0 .065em rgba(140,92,0,.5); }
.rw-coins .coin { font-size: .9em; }

/* ---------- Rechtstexte (Datenschutz) ---------- */
footer a { color: var(--muted); }
.legal { max-width: 760px; padding: 40px 0 10px; line-height: 1.65; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 6px; font-weight: 760; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.02em; margin: 34px 0 10px; font-weight: 700; }
.legal p, .legal li { color: #c9cde0; }
.legal b { color: var(--text); font-weight: 650; }
.legal a { color: #c6bfff; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal-date { color: var(--dim) !important; font-size: .875rem; margin: 0 0 24px; }
.legal-short { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px 10px; }
.legal-short h2 { margin-top: 16px; }
.legal-table { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 650; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.legal code { font-size: .875em; background: var(--fill); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.acc-card p.acc-note { font-size: .8125rem; color: var(--dim); margin: 12px 0 0; }
.acc-note a { color: var(--muted); }
.guest-del { max-width: 640px; }
.guest-del p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
