/* RigRush — Spiel-Oberfläche. Schriften: Lilita One + Nunito (SIL OFL, lokal eingebunden). Icons: Tabler (MIT). */
@font-face { font-family: "Lilita One"; font-display: swap; src: url(/assets/fonts/lilita-one-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Lilita One"; font-display: swap; src: url(/assets/fonts/lilita-one-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-latin-900-normal.woff2) format("woff2"); }

:root {
  --bg: #140f2e; --bg-2: #1b1540; --panel: #251c52; --panel-2: #2f2466; --panel-3: #3a2d7a;
  --line: #392c76; --line-2: #4d3e9a; --text: #f5f2ff; --muted: #a79dd2; --dim: #7d73ad;
  --yellow: #ffcd3c; --yellow-d: #c98f00; --green: #3ee08f; --green-d: #179a59; --blue: #4cb4ff; --blue-d: #1f7fd1;
  --pink: #ff62a5; --red: #ff5b6b; --red-d: #c92a3d; --orange: #ff9b3d; --purple: #9b7bff;
  --doge: #ffcd3c; --coin: #62e3ff; --power: #9b7bff;
  --common: #a7b0c8; --rare: #4cb4ff; --epic: #c27bff; --legendary: #ffb52e;
  --r: 16px; --r-sm: 11px;
  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 6px 0 rgba(8, 5, 25, .35), 0 14px 30px rgba(8, 5, 25, .35);
  /* Kompatibilitaet zu aelteren Klassen */
  --accent: var(--coin); --accent-2: var(--purple); --ok: var(--green); --warn: var(--orange); --danger: var(--red); --doge-2: var(--orange); --radius: var(--r);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 600 15px/1.5 var(--font); min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(1000px 520px at 50% -180px, rgba(155, 123, 255, .28), transparent 70%), radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.2px);
  background-size: auto, 22px 22px; background-attachment: fixed, fixed;
}
a { color: var(--coin); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .55em; }
h1 { font-size: 2rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
h1 .ic, h2 .ic, h3 .ic { vertical-align: -3px; color: var(--yellow); }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .right { text-align: right !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.doge { color: var(--doge); font-variant-numeric: tabular-nums; }
.coin { color: var(--coin); }
.power { color: var(--power); font-variant-numeric: tabular-nums; }
.warn-text { color: var(--orange); }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.ic-lg { width: 30px; height: 30px; } .ic-xl { width: 46px; height: 46px; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: .35rem; }
.grad { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knöpfe: dick, mit Kante — drücken sich beim Klick ein ---------- */
.btn {
  --b: var(--panel-3); --bd: #241a55; --bt: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  padding: .62em 1.15em; border: 0; border-radius: 12px; font: 1rem/1.1 var(--font-display); letter-spacing: .02em; color: var(--bt); background: var(--b);
  box-shadow: 0 4px 0 var(--bd), inset 0 2px 0 rgba(255, 255, 255, .22); transform: translateY(0); transition: transform .08s ease, box-shadow .08s ease, filter .12s ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
.btn:hover { filter: brightness(1.08); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--bd), inset 0 2px 0 rgba(255, 255, 255, .22); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-primary { --b: var(--yellow); --bd: var(--yellow-d); --bt: #3a2300; text-shadow: none; }
.btn-doge { --b: var(--green); --bd: var(--green-d); --bt: #06301a; text-shadow: none; }
.btn-blue { --b: var(--blue); --bd: var(--blue-d); --bt: #06213d; text-shadow: none; }
.btn-danger { --b: var(--red); --bd: var(--red-d); --bt: #fff; }
.btn-ghost { --b: transparent; --bd: transparent; box-shadow: inset 0 0 0 2px var(--line-2); color: var(--text); text-shadow: none; }
.btn-ghost:active:not(:disabled) { box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-lg { padding: .78em 1.5em; font-size: 1.15rem; border-radius: 14px; }
.btn-sm { padding: .42em .8em; font-size: .88rem; border-radius: 10px; box-shadow: 0 3px 0 var(--bd), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost.btn-sm { box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-block { width: 100%; }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .4rem; border-radius: 10px; display: inline-flex; position: relative; }
.icon-btn:hover { color: var(--text); background: var(--panel); }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; font: inherit; }

/* ---------- Formulare ---------- */
.form { display: flex; flex-direction: column; gap: .85rem; }
label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--muted); font-weight: 700; }
label.check { display: block; color: var(--text); line-height: 1.5; font-weight: 600; }
label.check input { width: auto; margin: 0 .5rem 0 0; vertical-align: -2px; accent-color: var(--yellow); }
input, select, textarea { width: 100%; font: 700 1rem var(--font); color: var(--text); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: .62em .85em; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 205, 60, .18); }
textarea { resize: vertical; }
.help { color: var(--muted); font-size: .8rem; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; flex-direction: row; }
.inline-form input { width: auto; flex: 1; min-width: 140px; }
.input-sm { padding: .3em .5em; font-size: .85rem; max-width: 120px; }

/* ---------- Kopfzeile, Navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .55rem max(1rem, env(safe-area-inset-left));
  background: rgba(20, 15, 46, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); font: 1.4rem var(--font-display); letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--yellow); color: #3a2300; box-shadow: 0 3px 0 var(--yellow-d), inset 0 2px 0 rgba(255, 255, 255, .4); transform: rotate(-6deg); }
.brand-mark .ic { width: 21px; height: 21px; stroke-width: 2.4; }
.mainnav { display: flex; gap: .15rem; flex: 1; justify-content: center; }
.mainnav a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .7rem; border-radius: 12px; color: var(--muted); font-weight: 800; font-size: .78rem; }
.mainnav a .ic { width: 22px; height: 22px; }
.mainnav a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.mainnav a.active { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -3px 0 var(--yellow); }
.mainnav a.active .ic { color: var(--yellow); }
.guestnav { display: flex; gap: 1.2rem; flex: 1; justify-content: center; }
.guestnav a { color: var(--muted); font-weight: 800; }
.guestnav a:hover { color: var(--text); text-decoration: none; }
.balances { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
.balances form { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem .25rem .25rem; border-radius: 999px; background: var(--bg); border: 2px solid var(--line); color: var(--text); font: 1rem var(--font-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pill:hover { text-decoration: none; border-color: var(--line-2); }
.pill-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.pill-ic .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.pill-doge .pill-ic { background: var(--doge); color: #3a2300; }
.pill-coin .pill-ic { background: var(--coin); color: #032a35; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: var(--panel); border: 2px solid var(--line); color: var(--text); font-weight: 800; font-size: .85rem; }
.bell-count { position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 900; display: grid; place-items: center; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--purple); color: #fff; font: 1.15rem var(--font-display); box-shadow: 0 3px 0 #5b3fc4; }
.usermenu-box { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; display: flex; flex-direction: column; padding: .45rem; border-radius: var(--r); background: var(--panel); border: 2px solid var(--line-2); box-shadow: var(--shadow); z-index: 40; }
.usermenu-box strong { padding: .4rem .6rem .5rem; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; border-bottom: 2px solid var(--line); margin-bottom: .3rem; }
.usermenu-box a, .usermenu-box button { display: flex; gap: .55rem; align-items: center; padding: .5rem .6rem; border-radius: 9px; color: var(--text); font: 700 .92rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.usermenu-box a:hover, .usermenu-box button:hover { background: var(--panel-2); text-decoration: none; }
.usermenu-box form { margin: 0; }
.announce { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; background: var(--purple); color: #fff; font-weight: 800; font-size: .92rem; text-align: center; }
.announce .ic { color: var(--yellow); }

/* Untere Leiste auf dem Handy */
.tabbar { display: none; }
.tabbar-more summary { list-style: none; }
.tabbar-more summary::-webkit-details-marker { display: none; }

/* ---------- Seitenraster ---------- */
.page { display: flex; gap: 1.25rem; max-width: 1440px; margin: 0 auto; padding: 1.25rem 1.25rem 2rem; align-items: flex-start; }
.main { flex: 1; min-width: 0; max-width: 1180px; margin: 0 auto; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 2px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.35rem; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.card-head h2, .card-head h1 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.grid-2 > .card { margin-bottom: 1.2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.flash { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; border: 2px solid var(--line); background: var(--panel); font-weight: 800; }
.flash-success { border-color: var(--green); background: rgba(62, 224, 143, .12); }
.flash-error { border-color: var(--red); background: rgba(255, 91, 107, .12); }
.flash-info { border-color: var(--blue); background: rgba(76, 180, 255, .1); }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 1440px; margin: 1rem auto 0; padding: 1.4rem 1.25rem 2rem; color: var(--muted); font-size: .85rem; border-top: 2px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-mark .ic { width: 15px; height: 15px; }
.footer nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer a { color: var(--muted); }
.lang-switch { display: inline-flex; gap: .15rem; border: 2px solid var(--line); border-radius: 999px; padding: .1rem; }
.lang-switch a { padding: .05rem .55rem; border-radius: 999px; font-weight: 900; font-size: .75rem; }
.lang-switch a.active { background: var(--panel-2); color: var(--text); }

/* ---------- Werbung ---------- */
.ad { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; align-items: center; margin: 0 auto 1.2rem; max-width: 100%; overflow: hidden; }
.ad-label { position: absolute; top: 0; right: 4px; z-index: 1; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); pointer-events: none; }
.ad-wide { min-height: 50px; padding-top: .9rem; }
.ad-unit { display: flex; justify-content: center; max-width: 100%; }
.ad-frame { display: block; }
.rail { flex: 0 0 auto; width: 170px; position: sticky; top: 84px; margin: 0; flex-direction: column; padding-top: .9rem; }
.rail-right:has(iframe[width="300"]), .rail-right:has(.aads-unit[data-sizes*="300"]) { width: 310px; }
.rail-left { display: none; }
.ad-home_mid { gap: 1rem; padding-top: .9rem; }
.ad-in_content, .ad-native, .ad-home_native { padding-top: .9rem; }
.aads-unit { display: flex; justify-content: center; width: 100%; }
.house-ad { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; width: 100%; max-width: 728px; min-height: 90px; margin: 0 auto; border-radius: 14px; border: 2px dashed var(--line-2); background: rgba(155, 123, 255, .08); color: var(--text); text-align: center; padding: .6rem; font-weight: 800; }
.house-ad:hover { text-decoration: none; border-color: var(--yellow); }
.house-ad strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.house-ad span { color: var(--muted); font-size: .85rem; }
.rail .house-ad, .house-banner_side, .house-rail_left { min-height: 300px; max-width: 160px; }
.house-home_mid, .house-in_content, .house-game_side, .house-game_over { max-width: 300px; min-height: 250px; }
.sticky-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 35; background: rgba(20, 15, 46, .96); border: 2px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: .3rem .4rem 0; max-width: 100vw; }
.sticky-wrap .ad { margin: 0; padding-top: .7rem; }
.sticky-close { position: absolute; top: -14px; right: -6px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--panel-2); color: var(--text); font: 900 1rem/1 var(--font); cursor: pointer; }
body:has(.sticky-wrap) .footer { padding-bottom: 7rem; }
.interstitial { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(10, 7, 28, .88); backdrop-filter: blur(6px); padding: 1rem; }
.interstitial-box { background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--r); padding: .8rem; max-width: 100%; box-shadow: var(--shadow); }
.interstitial-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.interstitial-head .ad-label { position: static; }
.interstitial-ad { display: flex; justify-content: center; min-width: 300px; min-height: 250px; }
/* Admin-Vorschau: Zonen sichtbar machen */
.is-admap .ad, .adzone-inspect { outline: 2px dashed var(--yellow); outline-offset: 2px; min-height: 60px; min-width: 120px; padding-top: 1.9rem !important; }
.adzone-inspect.is-empty { background: repeating-linear-gradient(45deg, rgba(255, 205, 60, .06) 0 10px, transparent 10px 20px); }
.adzone-tag { position: absolute; top: 2px; left: 2px; z-index: 5; padding: .15rem .5rem; border-radius: 6px; border: 0; background: var(--yellow); color: #3a2300; font: 900 .72rem var(--font); cursor: pointer; white-space: nowrap; }
.adzone-empty { display: grid; place-items: center; text-align: center; min-height: 70px; width: 100%; color: var(--yellow); font-weight: 800; font-size: .8rem; }
.admap-panel { position: fixed; right: 10px; bottom: 10px; z-index: 90; display: flex; flex-direction: column; gap: .3rem; padding: .6rem; border-radius: 12px; background: rgba(20, 15, 46, .95); border: 2px solid var(--yellow); max-width: 260px; }
.admap-panel strong { color: var(--yellow); font-size: .8rem; }
.admap-panel .adzone-tag { position: static; text-align: left; }
.rail.adzone-inspect { display: flex; }

/* ---------- Tabellen, Listen, Badges ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 900; padding: .55rem .6rem; border-bottom: 2px solid var(--line); white-space: nowrap; }
.table td { padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table.compact td, .table.compact th { padding: .4rem .5rem; }
.table tr.dim { opacity: .5; }
.table tr.me td { background: rgba(255, 205, 60, .1); font-weight: 900; }
.table .actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.table .actions form { margin: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: .8rem; align-items: center; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.badge { display: inline-block; padding: .18em .65em; border-radius: 999px; font-size: .75rem; font-weight: 900; background: var(--panel-2); color: var(--muted); border: 2px solid var(--line); }
.badge-sent { color: var(--green); border-color: rgba(62, 224, 143, .4); background: rgba(62, 224, 143, .12); }
.badge-review, .badge-pending, .badge-processing { color: var(--orange); border-color: rgba(255, 155, 61, .4); background: rgba(255, 155, 61, .12); }
.badge-failed, .badge-rejected { color: var(--red); border-color: rgba(255, 91, 107, .4); background: rgba(255, 91, 107, .12); }
.badge-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; }
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs a { padding: .45rem .9rem; border-radius: 12px; background: var(--panel); border: 2px solid var(--line); color: var(--muted); font-weight: 800; font-size: .9rem; }
.tabs a.active, .tabs a:hover { color: var(--text); border-color: var(--yellow); text-decoration: none; }

/* ---------- Kennzahlen ---------- */
.stat { display: flex; flex-direction: column; gap: .1rem; }
.stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 900; }
.stat-value { font: 1.6rem var(--font-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: .8rem; color: var(--muted); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.4rem; }
.stats-row .stat { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; }

/* ---------- Startseite (Gäste) ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; padding: 1.5rem 0 2.5rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; margin-bottom: .35em; text-shadow: 0 4px 0 rgba(8, 5, 25, .4); }
.hero h1 .grad { display: block; color: var(--yellow); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 46ch; font-weight: 700; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0 1.2rem; }
.usp { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.usp li { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .75rem; border-radius: 999px; background: var(--panel); border: 2px solid var(--line); font-weight: 800; font-size: .88rem; }
.usp .ic { color: var(--green); }
.hero-art { position: relative; }
.rack { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1.2rem; border-radius: 22px; background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); border: 2px solid var(--line-2); box-shadow: var(--shadow); transform: rotate(2deg); }
.rack-slot { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: var(--bg); border: 2px solid var(--rar, var(--line)); box-shadow: inset 0 0 22px color-mix(in srgb, var(--rar, #000) 25%, transparent); }
.rack-slot .miner-svg { width: 70%; }
.hero-block { position: absolute; left: -1.2rem; bottom: -1.4rem; background: var(--yellow); color: #3a2300; border-radius: 16px; padding: .7rem 1.1rem; display: flex; flex-direction: column; box-shadow: 0 5px 0 var(--yellow-d), 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-3deg); }
.hero-block span { font-size: .75rem; font-weight: 900; }
.hero-block strong { font: 1.45rem var(--font-display); }
.section-title { text-align: center; margin: 2.4rem 0 1.2rem; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.section-title p { color: var(--muted); margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { position: relative; background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.2rem 1.2rem; box-shadow: var(--shadow); }
.step .ic { color: var(--yellow); margin-bottom: .5rem; width: 34px; height: 34px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.step-n { position: absolute; top: -14px; left: 1rem; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--purple); color: #fff; font: 1rem var(--font-display); box-shadow: 0 3px 0 #5b3fc4; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature .ic { color: var(--yellow); }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.game-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.game-tile { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: var(--r); background: var(--panel); border: 2px solid var(--line); color: var(--text); box-shadow: var(--shadow); overflow: hidden; }
.game-tile:hover { text-decoration: none; border-color: var(--yellow); transform: translateY(-2px); }
.game-tile .game-icon { margin: 0 0 .4rem; }
.game-tile span { color: var(--muted); font-size: .85rem; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; border-radius: 20px; background: var(--purple); box-shadow: 0 6px 0 #5b3fc4, 0 18px 40px rgba(0, 0, 0, .35); margin: 2rem 0; }
.cta-band h2 { margin: 0; font-size: 1.7rem; }
.cta-band p { margin: .2rem 0 0; font-weight: 700; opacity: .9; }
.payout-ticker { display: flex; gap: .6rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.payout-ticker span { flex: 0 0 auto; padding: .35rem .8rem; border-radius: 999px; background: var(--panel); border: 2px solid var(--line); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.payout-ticker b { color: var(--doge); }
.faq details { padding: .9rem 1rem; border-radius: 12px; background: var(--panel); border: 2px solid var(--line); margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 900; }
.faq p { margin: .6rem 0 0; color: var(--muted); }

/* ---------- Login / Registrierung ---------- */
.auth-card { max-width: 440px; margin: 2rem auto; }

/* ---------- Farm ---------- */
.onboarding { border-color: var(--yellow); }
.onboard-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.onboard-steps li { display: flex; gap: .7rem; align-items: center; background: var(--bg); border-radius: 12px; padding: .6rem .8rem; }
.onboard-steps li .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); color: #3a2300; font: .95rem var(--font-display); flex-shrink: 0; }
.onboard-steps li.done .n { background: var(--green); color: #06301a; }
.block-panel { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; align-items: center; border-color: var(--line-2); background: linear-gradient(135deg, #3a2a86, var(--bg-2) 70%); }
.block-reward { font: 2.5rem var(--font-display); color: var(--doge); font-variant-numeric: tabular-nums; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.block-reward small { font-size: 1rem; color: var(--muted); }
.countdown { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 900; margin: .3rem 0 .6rem; }
.progress { height: 12px; border-radius: 999px; background: var(--bg); overflow: hidden; border: 2px solid var(--line); }
.progress-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(180deg, #ffe07a, var(--yellow)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); transition: width 1s linear; }
.block-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.room {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; padding: 1rem; border-radius: 16px;
  background: repeating-linear-gradient(0deg, transparent 0 46px, rgba(155, 123, 255, .07) 46px 48px), var(--bg); border: 2px solid var(--line);
}
.slot { aspect-ratio: .85; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .4rem; text-align: center; }
.slot.filled { background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); border: 2px solid var(--rar, var(--line)); box-shadow: inset 0 0 18px color-mix(in srgb, var(--rar, #000) 22%, transparent), 0 3px 0 rgba(0, 0, 0, .3); }
.slot.filled .miner-svg { width: 62%; }
.slot-name { font-size: .72rem; font-weight: 900; line-height: 1.2; }
.slot-power { font-size: .7rem; color: var(--power); font-weight: 800; font-variant-numeric: tabular-nums; }
.slot.empty { border: 2px dashed var(--line-2); color: var(--line-2); font: 1.8rem var(--font-display); }
.slot.empty:hover { color: var(--yellow); border-color: var(--yellow); text-decoration: none; }
.rar-common { --rar: var(--common); } .rar-rare { --rar: var(--rare); } .rar-epic { --rar: var(--epic); } .rar-legendary { --rar: var(--legendary); }
.rar-text { color: var(--rar, var(--muted)); font-weight: 900; }

/* Miner-Grafiken */
.miner-svg { display: block; overflow: visible; }
.miner-svg .body { fill: #241b52; stroke: var(--rar, var(--common)); stroke-width: 1.6; }
.miner-svg .dark { fill: #120d2b; }
.miner-svg .metal { fill: #8a84b5; }
.miner-svg .accent { fill: var(--rar, var(--common)); opacity: .9; }
.miner-svg .fan { fill: none; stroke: var(--rar, var(--common)); stroke-width: 2.2; stroke-dasharray: 4 3; transform-box: fill-box; transform-origin: center; animation: spin 1.1s linear infinite; }
.miner-svg .frost { fill: none; stroke: var(--rar); stroke-width: 2.2; stroke-linecap: round; }
.miner-svg .ring { fill: none; stroke: var(--rar); stroke-width: 1.6; opacity: .75; transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.miner-svg .ring.r2 { animation-direction: reverse; animation-duration: 8s; }
.miner-svg .core { fill: var(--rar); filter: drop-shadow(0 0 6px var(--rar)); }
.miner-svg .led { fill: var(--green); animation: blink 1.4s steps(2, jump-none) infinite; }
.miner-svg .pins { fill: none; stroke: #8a84b5; stroke-width: 2.4; stroke-linecap: round; }
.miner-svg .led.l2 { animation-delay: .7s; fill: var(--coin); }
.custom-art { display: block; object-fit: contain; }
.item-art { display: block; }
.ic.miner-svg, img.ic { display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- Spiele ---------- */
.games-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.games-head h1 { margin-bottom: .2rem; }
.games-head p { margin: 0; }
.games-meta { display: flex; gap: 1.6rem; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.game-card { display: flex; flex-direction: column; color: var(--text); margin: 0; transition: transform .15s ease, border-color .15s ease; }
.game-card:hover { transform: translateY(-3px); border-color: var(--yellow); text-decoration: none; }
.game-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.game-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--purple); color: #fff; margin-bottom: .8rem; box-shadow: 0 4px 0 #5b3fc4, inset 0 2px 0 rgba(255, 255, 255, .25); }
.game-icon .ic { width: 34px; height: 34px; }
.game-foot { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: .8rem; font-size: .85rem; }
.game-foot span { display: inline-flex; align-items: center; gap: .3rem; }
.tiers { display: flex; gap: .4rem; flex-wrap: wrap; }
.tier { font-size: .74rem; font-weight: 900; padding: .2em .65em; border-radius: 999px; border: 2px solid; }
.tier.bronze { color: #f0a96b; border-color: rgba(240, 169, 107, .45); background: rgba(240, 169, 107, .12); }
.tier.silver { color: #d8def0; border-color: rgba(216, 222, 240, .4); background: rgba(216, 222, 240, .1); }
.tier.gold { color: var(--yellow); border-color: rgba(255, 205, 60, .5); background: rgba(255, 205, 60, .12); }
.tiers.big .tier { font-size: .9rem; padding: .45em .95em; }
.play-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.play-head h1 { margin: 0; }
.play-layout { display: flex; gap: 1.2rem; align-items: flex-start; justify-content: center; }
.play-layout .ad-game_side { flex: 0 0 auto; width: 310px; margin: 0; padding-top: .9rem; position: sticky; top: 84px; }
.play-area { position: relative; flex: 0 1 560px; max-width: 560px; width: 100%; background: var(--panel); border: 2px solid var(--line-2); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); }
.hud { display: flex; gap: 1.2rem; align-items: center; margin-bottom: .8rem; }
.hud strong { font: 1.45rem var(--font-display); font-variant-numeric: tabular-nums; display: block; }
.hud-tiers { margin-left: auto; display: flex; gap: .3rem; }
.stage { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg); touch-action: none; user-select: none; -webkit-user-select: none; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 10, 34, .9); backdrop-filter: blur(4px); border-radius: 20px; z-index: 5; padding: 1rem; overflow-y: auto; }
.overlay[hidden] { display: none; }
.overlay-box { text-align: center; max-width: 380px; }
.overlay-box.wide { max-width: 520px; width: 100%; }
.overlay-box .game-icon { margin: 0 auto .8rem; }
.overlay-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.error-text { color: var(--red); min-height: 1.2em; margin-top: .6rem; font-size: .9rem; font-weight: 800; }
.captcha-box { display: flex; justify-content: center; margin: .8rem 0; }
.result-medal { font-size: 3rem; line-height: 1; margin-bottom: .4rem; }
.result-score { font: 2rem var(--font-display); margin: .2rem 0; }
.result-reward { color: var(--coin); font-weight: 900; }
.result-record { color: var(--muted); font-weight: 800; margin: 0 0 .3rem; }
.result-record.new { color: var(--yellow); animation: pop .4s ease 2; }
.adbreak-frame { width: 100%; min-height: 280px; border-radius: 12px; overflow: hidden; background: var(--bg); margin: .8rem 0; border: 2px solid var(--line); }
.adbreak-frame iframe { width: 100%; height: 360px; border: 0; display: block; }
.ad-game_over { margin: .6rem auto; }
.fx-toggle { font-size: 1rem; }

/* 2048 — Hintergrundzellen + gleitende Kacheln (nur transform = GPU) */
.g2048 { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; padding: 8px; }
.g2048 .cell { border-radius: 10px; background: rgba(255, 255, 255, .05); }
.g2048 .tiles { position: absolute; inset: 8px; pointer-events: none; }
.g2048 .tile {
  --c: 0; --r: 0; position: absolute; left: 0; top: 0; width: calc((100% - 24px) / 4); height: calc((100% - 24px) / 4);
  display: grid; place-items: center; border-radius: 10px; font: clamp(1.1rem, 5vw, 1.9rem) var(--font-display); font-variant-numeric: tabular-nums;
  transform: translate(calc(var(--c) * (100% + 8px)), calc(var(--r) * (100% + 8px))); transition: transform .1s ease-out; will-change: transform; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2);
}
.g2048 .tile.new { animation: appear .14s ease-out .08s backwards; }
.g2048 .tile.merged { animation: merge .16s ease-out; }
.g2048.over .tiles { opacity: .55; transition: opacity .3s ease; }
@keyframes appear { from { opacity: 0; scale: .4; } }
@keyframes merge { 50% { scale: 1.14; } }
@keyframes pop { 50% { transform: scale(1.12); } }
.v2 { background: #3a2d7a; } .v4 { background: #45358f; } .v8 { background: #5b3fc4; }
.v16 { background: #7a4fe0; } .v32 { background: #9b5cf0; } .v64 { background: #c062e8; }
.v128 { background: #3ee08f; color: #06301a; } .v256 { background: #62e3ff; color: #032a35; }
.v512 { background: #ff9b3d; color: #3a1a00; } .v1024 { background: #ffb52e; color: #3a2300; font-size: clamp(.9rem, 4.2vw, 1.55rem); }
.v2048, .vbig { background: #ffcd3c; color: #3a2300; box-shadow: 0 0 22px rgba(255, 205, 60, .6); font-size: clamp(.9rem, 4.2vw, 1.55rem); }
.stage.hurry { box-shadow: inset 0 0 0 3px rgba(255, 91, 107, .6); }
.stage.shake { animation: shake .28s ease; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.stage canvas { width: 100%; height: 100%; display: block; }

/* ---------- Spiele-Bibliothek (große Spiele) ---------- */
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.lib-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; color: var(--text); }
.lib-card:hover { text-decoration: none; border-color: var(--yellow); transform: translateY(-3px); }
.lib-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--purple), #2b1e66); display: grid; place-items: center; position: relative; }
.lib-cover img, .lib-cover svg { width: 100%; height: 100%; object-fit: cover; }
.lib-cover .lib-genre { position: absolute; left: .7rem; top: .7rem; }
.lib-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.lib-body p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.lib-meta { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .8rem; }
.player-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
.player-frame-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 2px solid var(--line-2); background: #fff; box-shadow: var(--shadow); }
.player-frame-wrap iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.player-frame-wrap:fullscreen iframe { height: 100vh; }
.player-bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: .7rem; }
.player-bar h1 { margin: 0 auto 0 0; font-size: 1.6rem; }
.session-card .stat-value { font-size: 1.3rem; }
.meter-line { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; border: 2px solid var(--line); margin: .3rem 0 .8rem; }
.meter-line span { display: block; height: 100%; background: var(--coin); border-radius: 999px; transition: width .6s ease; }
.ms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.ms-list li { display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: .45rem .6rem; border-radius: 10px; background: var(--bg); font-size: .85rem; }
.ms-list li.done { opacity: .55; }
.ms-list li.done::before { content: '✓'; color: var(--green); font-weight: 900; }
.break-overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(10, 7, 28, .94); padding: 1rem; text-align: center; }
.credits { font-size: .78rem; color: var(--dim); }
.credits a { color: var(--muted); }

/* ---------- Shop, Inventar, Wallet ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; margin-bottom: 1rem; }
.shop-card { position: relative; margin: 0; text-align: center; border-top: 4px solid var(--rar); display: flex; flex-direction: column; }
.shop-card .rarity { position: absolute; top: .7rem; left: .8rem; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--rar); }
.shop-art { width: 110px; height: 110px; margin: .8rem auto .4rem; display: grid; place-items: center; border-radius: 22px; background: radial-gradient(circle, color-mix(in srgb, var(--rar) 26%, transparent), transparent 70%); }
.shop-art .miner-svg { width: 90px; }
.shop-power { color: var(--power); font-weight: 900; display: flex; align-items: center; justify-content: center; gap: .3rem; margin-bottom: 1rem; }
.shop-actions { display: grid; gap: .45rem; margin-top: auto; }
.shop-actions form { margin: 0; }
.wallet-balance { border-color: var(--yellow); }
.big-balance { font: 2.8rem var(--font-display); margin: .2rem 0 .6rem; color: var(--doge); }
.big-balance small { font-size: 1rem; color: var(--muted); }
.wallet-sub { display: flex; flex-direction: column; gap: .2rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.withdraw-form { display: flex; flex-direction: column; gap: .7rem; }
.auto-form { margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--line); }
.prose { max-width: 820px; }
.prose ul { padding-left: 1.2rem; } .prose li { margin-bottom: .4rem; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.item-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1rem .9rem; border-radius: var(--r); background: var(--bg); border: 2px solid var(--line); border-top: 4px solid var(--rar); }
.item-card h3 { margin: .2rem 0 0; font-size: 1rem; }
.item-art-wrap { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle, color-mix(in srgb, var(--rar) 26%, transparent), transparent 70%); }
.item-art-wrap .miner-svg, .item-art-wrap .custom-art { width: 68px; height: 68px; }
.item-effect { color: var(--coin); font-weight: 900; font-size: .85rem; margin: 0; }
.item-desc { margin: 0 0 .4rem; flex: 1; }
.item-actions { display: grid; gap: .35rem; width: 100%; margin-top: auto; }
.item-actions form { margin: 0; }
.qty-badge { position: absolute; top: .55rem; right: .6rem; font: .9rem var(--font-display); background: var(--panel-2); border: 2px solid var(--line); border-radius: 999px; padding: .05em .55em; font-variant-numeric: tabular-nums; }
.crate-card .item-art-wrap { width: 100px; height: 100px; } .crate-card .item-art-wrap .miner-svg { width: 84px; height: 84px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.odds { width: 100%; text-align: left; font-size: .8rem; margin-top: .3rem; }
.odds summary { cursor: pointer; color: var(--muted); text-align: center; font-weight: 800; }
.odds ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.odds li { display: flex; justify-content: space-between; gap: .5rem; padding: .15rem 0; border-bottom: 1px dashed var(--line); }
.mini-art { width: 46px; } .mini-art .miner-svg, .mini-art .custom-art { width: 38px; height: 38px; }
.sale-badge { position: absolute; top: .6rem; right: .7rem; background: var(--red); color: #fff; font: .8rem var(--font-display); border-radius: 999px; padding: .1em .6em; box-shadow: 0 2px 0 var(--red-d); }
.old-price { opacity: .6; font-weight: 600; }
.qty-row { display: flex; gap: .4rem; }
.qty-row input { max-width: 64px; }
.qty-row .btn { flex: 1; }

/* ---------- Modal + Kisten-Enthüllung ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(10, 7, 28, .85); backdrop-filter: blur(6px); padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 460px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 2px solid var(--line-2); border-radius: 22px; padding: 1.4rem; text-align: center; box-shadow: var(--shadow); }
.reveal { min-height: 230px; display: grid; place-items: center; position: relative; }
.reveal-crate .miner-svg, .reveal-crate .custom-art { width: 150px; height: 150px; }
.reveal-crate.shaking { animation: crate-shake .5s ease-in-out infinite; }
.reveal-crate.burst { animation: crate-burst .26s ease-in forwards; }
@keyframes crate-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg) scale(1.03); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg) scale(1.05); } 80% { transform: rotate(3deg); } }
@keyframes crate-burst { to { transform: scale(1.5); opacity: 0; filter: brightness(2.5); } }
.reveal-prize { position: relative; display: flex; flex-direction: column; align-items: center; animation: prize-in .45s cubic-bezier(.2, 1.4, .4, 1); }
.reveal-prize h2 { margin: .2rem 0 0; }
.reveal-prize .reveal-art { width: 120px; height: 120px; position: relative; z-index: 1; }
.reveal-glow { position: absolute; top: -20px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rar) 55%, transparent), transparent 65%); animation: spin 8s linear infinite; }
.reveal-prize.rar-legendary .reveal-glow, .reveal-prize.rar-epic .reveal-glow { background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--rar) 60%, transparent), transparent 30%, color-mix(in srgb, var(--rar) 60%, transparent), transparent 60%); filter: blur(6px); }
.coin-art { color: var(--coin); stroke-width: 1.4; }
@keyframes prize-in { from { transform: scale(.3); opacity: 0; } }
.result-drop { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .2rem auto .8rem; padding: .5rem .8rem; border-radius: 12px; border: 2px solid var(--rar); background: color-mix(in srgb, var(--rar) 14%, transparent); font-weight: 900; animation: prize-in .4s ease; }
.result-drop[hidden] { display: none; }
.result-drop .reveal-art { width: 40px; height: 40px; }

/* ---------- Kampagnen, Energie, Bonus ---------- */
.campaign { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; margin-bottom: 1rem; border-radius: var(--r); color: var(--text); border: 2px solid var(--purple); background: linear-gradient(90deg, rgba(155, 123, 255, .3), rgba(155, 123, 255, .06)); box-shadow: var(--shadow); }
a.campaign:hover { text-decoration: none; border-color: var(--yellow); }
.campaign-sale { border-color: var(--orange); background: linear-gradient(90deg, rgba(255, 155, 61, .3), rgba(255, 155, 61, .06)); }
.campaign-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: #3a2300; flex-shrink: 0; }
.campaign-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.campaign-body strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.campaign-timer { display: inline-flex; align-items: center; gap: .3rem; font-weight: 900; font-size: .85rem; color: var(--yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
.offline { display: flex; gap: 1rem; align-items: center; border-color: var(--green); }
.offline .ic { color: var(--green); }
.offline p { margin: .2rem 0 0; color: var(--muted); }
.bonus.ready { border-color: var(--yellow); }
.bonus-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin-bottom: 1rem; }
.bonus-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .7rem .3rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); text-align: center; }
.bonus-day strong { font: 1.2rem var(--font-display); color: var(--coin); }
.bonus-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 900; }
.bonus-day.done { opacity: .5; }
.bonus-day.current { border-color: var(--yellow); background: rgba(255, 205, 60, .12); animation: glow 1.6s ease-in-out infinite; }
.bonus-check { position: absolute; top: .3rem; right: .45rem; color: var(--green); font-weight: 900; }
.bonus-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: .6rem; }
.bonus-extras { display: flex; gap: .15rem; margin-top: .2rem; }
.bonus-extras .reveal-art { width: 22px; height: 22px; }
@keyframes glow { 50% { box-shadow: 0 0 20px rgba(255, 205, 60, .5); } }
.energy-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.energy-card h2 { margin-bottom: .5rem; }
.energy-card.low { border-color: var(--orange); }
.energy-card.critical { border-color: var(--red); }
.energy-card p { margin: .5rem 0 0; }
.cells { display: flex; gap: .35rem; }
.cell-e { width: 34px; height: 20px; border-radius: 6px; border: 2px solid var(--line); background: var(--bg); }
.cell-e.on { background: linear-gradient(180deg, #8ff5bf, var(--green)); border-color: var(--green-d); box-shadow: 0 0 10px rgba(62, 224, 143, .4); }
.energy-card.low .cell-e.on { background: linear-gradient(180deg, #ffd08a, var(--orange)); border-color: #c46c12; }
.energy-card.critical .cell-e.on { background: linear-gradient(180deg, #ff9aa4, var(--red)); border-color: var(--red-d); }
.energy-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.energy-actions form { margin: 0; }
.room.no-power .slot.filled { filter: grayscale(.9) brightness(.6); }
.room.no-power .miner-svg * { animation: none !important; }
.effect-chip { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding: .5rem .7rem; margin-bottom: .5rem; border-radius: 12px; background: rgba(98, 227, 255, .08); border: 2px solid rgba(98, 227, 255, .3); font-size: .9rem; }
.effect-chip .muted { margin-left: auto; }

/* ---------- Marktplatz ---------- */
.live-pill { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 45; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--yellow); color: #3a2300; font-weight: 900; box-shadow: 0 4px 0 var(--yellow-d); animation: prize-in .3s ease; }
.live-pill[hidden] { display: none; }
.live-pill:hover { text-decoration: none; filter: brightness(1.06); }
.market-card { color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.market-card:hover { transform: translateY(-3px); border-color: var(--yellow); text-decoration: none; }
.offers-count { position: absolute; top: .65rem; right: .8rem; font-size: .72rem; color: var(--muted); font-weight: 900; }
.market-price { font: 1.25rem var(--font-display); margin-top: auto; color: var(--doge); }
.empty-state { text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 2rem; }
.sell-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .9rem 0; border-bottom: 2px solid var(--line); }
.sell-row:target { background: rgba(255, 205, 60, .08); border-radius: 12px; padding: .9rem .6rem; }
.sell-goods { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: center; }
.sell-row label:only-of-type { grid-column: 1 / -1; }
.sell-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.offer-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; margin-top: .8rem; border-top: 4px solid var(--rar); }
.offer-head .shop-art { margin: 0; }
.offer-head h1 { margin: 0 0 .3rem; }
.buy-form { display: inline-flex; gap: .35rem; margin: 0; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin-bottom: .8rem; padding: .4rem; border-radius: 12px; background: var(--bg); }
.spark span { flex: 1; min-width: 4px; background: var(--yellow); border-radius: 3px 3px 0 0; opacity: .85; }
.promo form { max-width: 460px; }

/* ---------- Verdienen ---------- */
.bell { position: relative; }
.earn-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.earn-tile { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--panel); border: 2px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.earn-tile:hover { text-decoration: none; border-color: var(--yellow); }
.earn-tile .ic { color: var(--yellow); width: 26px; height: 26px; }
.earn-tile strong { font: 1.15rem var(--font-display); }
.earn-tile span { font-size: .8rem; color: var(--muted); }
.earn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.2rem; align-items: start; }
.earn-grid > .card { margin-bottom: 1.2rem; }
.claim-card { display: flex; gap: 1.2rem; align-items: center; }
.claim-card.ready { border-color: var(--yellow); }
.claim-card.ready .claim-art .miner-svg { animation: bob 1.8s ease-in-out infinite; }
.claim-art { width: 110px; flex-shrink: 0; }
.claim-art .miner-svg { width: 110px; height: 110px; }
.claim-body { flex: 1; min-width: 0; }
.quest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.quest { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); }
.quest.done { border-color: var(--green); }
.quest.claimed { opacity: .5; }
.quest form { margin: 0; }
.quest-body { flex: 1; min-width: 0; display: grid; gap: .25rem; }
.quest-body .progress { height: 10px; }
.quest-body .progress-bar { background: linear-gradient(180deg, #8ff5bf, var(--green)); transition: none; }
.quest-reward { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--rar) 18%, transparent); flex-shrink: 0; }
.quest-reward .reveal-art { width: 32px; height: 32px; }
.quest-reward b { position: absolute; bottom: -6px; right: -6px; font-size: .66rem; background: var(--panel-2); border: 2px solid var(--line); border-radius: 999px; padding: 0 .35em; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.task { display: flex; gap: .8rem; align-items: center; padding: .75rem .85rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); }
.task:hover { border-color: var(--line-2); }
.task.done { opacity: .45; }
.task-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--panel-2); color: var(--yellow); overflow: hidden; }
.task-icon img { width: 100%; height: 100%; object-fit: cover; }
.task-body { flex: 1; min-width: 0; }
.task-body strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-body span { font-size: .78rem; color: var(--muted); }
.task .btn { flex-shrink: 0; }
.ptc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.ptc-card { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); }
.ptc-card p { margin: .2rem 0; }
.ptc-card .ic { vertical-align: -3px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.wall-card { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: 14px; background: var(--purple); color: #fff; box-shadow: 0 4px 0 #5b3fc4; }
.wall-card strong { font: 1.2rem var(--font-display); }
.wall-card:hover { text-decoration: none; filter: brightness(1.07); }
.wall-card .muted { color: rgba(255, 255, 255, .8); }
.offerwall-frame { width: 100%; height: 78vh; min-height: 560px; border: 0; border-radius: 12px; background: #fff; }
.advertise-cta { display: flex; gap: 1rem; align-items: center; color: var(--text); }
.advertise-cta:hover { text-decoration: none; border-color: var(--yellow); }
.advertise-cta .ic { color: var(--yellow); }
.advertise-cta p { margin: .2rem 0 0; }
.sponsor-total { font-size: 1.1rem; margin: 0; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.ach { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: 14px; background: var(--bg); border: 2px solid var(--line); }
.ach.done { border-color: var(--yellow); }
.ach.claimed { opacity: .45; }
.ach form { margin: 0; }
.news-item { padding: 1rem 0; border-bottom: 2px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item.unread h3::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); margin-right: .45rem; vertical-align: 2px; }
.news-item p { color: var(--muted); margin: .3rem 0 .6rem; }
.news-meta { display: flex; gap: .4rem; align-items: center; margin-bottom: .3rem; }
.news-update, .news-item-kind { color: var(--coin); }
.news-event { color: var(--yellow); border-color: rgba(255, 205, 60, .45); }
.news-maintenance { color: var(--orange); }
.maintenance { padding: 3rem 1.5rem; }
.maintenance .ic { color: var(--yellow); margin-bottom: .6rem; }
.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.lb-grid .card { margin: 0; }
.league { border-color: var(--yellow); }
.referral-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: center; border-color: var(--purple); }
.referral-hero h1 { font-size: 1.8rem; }
.ref-link { display: flex; gap: .5rem; }
.ref-link input { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
.countdown.flash-new { color: var(--yellow); }
.preview-frame { min-height: 120px; padding: 1rem; border: 2px dashed var(--line-2); border-radius: 12px; display: flex; justify-content: center; }
.preview-banner_side { max-width: 190px; }

/* ---------- Cookie-Hinweis ---------- */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--r); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.consent p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.consent-actions { display: flex; gap: .5rem; }

/* ---------- Responsiv ---------- */
@media (min-width: 1500px) { .rail-left { display: flex; } }
@media (max-width: 1240px) {
  .mainnav a span { display: none; }
  .mainnav a { padding: .55rem .65rem; }
}
@media (max-width: 1100px) {
  .rail-right { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .room { grid-template-columns: repeat(4, 1fr); }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .lb-grid, .features { grid-template-columns: 1fr; }
  .referral-hero, .split { grid-template-columns: 1fr; }
  .earn-grid { grid-template-columns: 1fr; }
  .player-shell { grid-template-columns: 1fr; }
  .play-layout { flex-direction: column; align-items: center; }
  .play-layout .ad-game_side { position: static; width: 100%; }
  .earn-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  h1 { font-size: 1.6rem; }
  .topbar { padding: .5rem .8rem; gap: .5rem; }
  .brand-name { display: none; }
  .mainnav, .guestnav { display: none; }
  .pill { font-size: .9rem; padding-right: .6rem; }
  .pill-ic { width: 22px; height: 22px; }
  .usermenu .avatar { width: 34px; height: 34px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: .35rem .3rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(20, 15, 46, .97); border-top: 2px solid var(--line); backdrop-filter: blur(10px); }
  .tabbar a, .tabbar summary { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .3rem 0; color: var(--muted); font-size: .68rem; font-weight: 900; cursor: pointer; }
  .tabbar a.active, .tabbar summary.active { color: var(--yellow); }
  .tabbar .ic { width: 24px; height: 24px; }
  .tabbar .bell-count { top: 0; right: 22%; }
  .tabbar-more .sheet { position: fixed; left: .6rem; right: .6rem; bottom: calc(70px + env(safe-area-inset-bottom)); display: grid; gap: .2rem; padding: .5rem; border-radius: var(--r); background: var(--panel); border: 2px solid var(--line-2); box-shadow: var(--shadow); }
  .tabbar-more .sheet a { flex-direction: row; gap: .6rem; padding: .7rem .8rem; font-size: .95rem; color: var(--text); border-radius: 10px; }
  .tabbar-more .sheet a:hover { background: var(--panel-2); text-decoration: none; }
  .is-user .footer { padding-bottom: 6.5rem; }
  .is-user .sticky-wrap { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .is-user .consent { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .page { padding: 1rem .75rem 1.5rem; }
  .card { padding: 1rem; border-radius: 14px; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: .5rem; }
  .hero-art { max-width: 340px; margin: 0 auto 1.5rem; }
  .stats-row, .block-stats, .grid-2 { grid-template-columns: 1fr; }
  .block-panel { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .room { grid-template-columns: repeat(3, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .play-area { padding: .6rem; }
  .bonus-days { grid-template-columns: repeat(4, 1fr); }
  .ref-link { flex-direction: column; }
  .offer-head { grid-template-columns: 1fr; text-align: center; }
  .offer-head .shop-art { margin: 0 auto; }
  .sell-row { grid-template-columns: 1fr; }
  .campaign { flex-wrap: wrap; }
  .cell-e { width: 26px; }
  .claim-card { flex-direction: column; text-align: center; }
  .cta-band { padding: 1.2rem; }
  .player-frame-wrap iframe { height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
  .miner-svg *, .g2048 .tile, .reveal-crate.shaking, .crate-card .item-art-wrap .miner-svg, .reveal-glow, .bonus-day.current { animation: none !important; transition: none !important; }
}
