/* Shared by the Creamies pages (Home, Kiosk, Validator, Meltdown) – used by all Creamies web apps through the import alias @shared (see vite.config). */

/* Footer */
.cr-footer { display: flex; justify-content: center; gap: 4px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .26); background: rgba(19, 81, 155, .22); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
.cr-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; padding: 5px 12px; font-size: 15px; transition: color .2s; }
.cr-footer a:hover, .cr-footer a:focus-visible { color: #fff; }
.cr-footer a:focus-visible { outline: none; }
.cr-footer { align-items: center; overflow-x: clip; } /* the IOTA logo's empty SVG margin must not widen the page */
.cr-powered { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 0; color: #fff; opacity: .55; font-size: 12px; white-space: nowrap; } /* far right; text and logo a bit see-through; links stay centred */
@media (max-width: 560px) { /* no room for centred links + right block: links left, "operating on" right */
  .cr-footer:has(.cr-powered) { justify-content: flex-start; }
  .cr-powered { position: static; transform: none; margin-left: auto; }
  .cr-powered-text { display: none; } /* phones: just the IOTA logo */
}
.cr-powered { opacity: 1; } /* "operating on" and the IOTA logo always fully white */
.cr-powered img { display: block; height: 40px; width: auto; margin: -11px -12px -11px -5px; } /* the SVG has wide empty margins left and right */

/* Imprint and privacy pages: one frosted card, text left aligned for easy reading */
.cr-legal { box-sizing: border-box; width: 100%; padding: 32px 20px 48px; color: #fff; text-align: left; font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.65; }
.cr-legal *, .cr-legal *::before, .cr-legal *::after { box-sizing: border-box; }
.cr-legal.cr-imprint { display: flex; flex-direction: column; justify-content: center; min-height: 70vh; }
.cr-legal-card { width: 100%; max-width: 680px; margin: 0 auto; padding: 26px 32px 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .09)); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 24px 60px rgba(6, 32, 72, .28), inset 0 1px 0 rgba(255, 255, 255, .22); }
.cr-imprint .cr-legal-card { max-width: 420px; }
.cr-legal-head { margin-bottom: 20px; padding-right: 48px; }
.cr-legal h2 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; hyphens: auto; color: #fff; }
.cr-legal p.cr-legal-note { margin: 4px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.cr-legal p { margin: 0 0 11px; font-size: 13.5px; color: rgba(255, 255, 255, .9); overflow-wrap: break-word; }
.cr-legal section { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.cr-legal section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.cr-legal section > :last-child { margin-bottom: 0; }
.cr-legal .cr-heading { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 15px; line-height: 1.35; font-weight: 700; color: #fff; }
.cr-num { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; margin-top: -1px; padding: 0 6px; border-radius: 999px; background: #e375b5; color: #fff; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* sub sections (3.1, 3.2 …) sit indented in their own panels */
.cr-legal section.cr-sub { margin-top: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(10, 52, 110, .2); }
.cr-legal .cr-sub .cr-heading { font-size: 14px; }
.cr-legal .cr-label { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fcbfe3; }
.cr-legal p.cr-box { padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); border-left: 3px solid #fcbfe3; line-height: 1.55; }
/* Imprint: one row per fact */
.cr-facts { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
.cr-facts > div { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.cr-facts dt { margin-bottom: 1px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fcbfe3; }
.cr-facts dd { margin: 0; font-weight: 400; font-size: 14px; overflow-wrap: anywhere; }
.cr-facts a { color: #fff; text-underline-offset: 3px; }
/* Close button: top right of the card, stays in view while scrolling (pages can move it below a fixed header via --cr-close-top) */
.cr-legal-close { float: right; position: sticky; top: var(--cr-close-top, 16px); z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; margin: -4px -10px 0 12px; border-radius: 50%; color: #fff; text-decoration: none; font-size: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cr-legal-close:hover { background: rgba(255, 255, 255, .26); }
.cr-legal-close:focus-visible, .cr-facts a:focus-visible { outline: 2px solid #fcbfe3; outline-offset: 2px; }
@media (max-width: 600px) {
  .cr-legal { padding: 16px 12px 32px; }
  .cr-legal-card { padding: 20px 16px 22px; border-radius: 18px; }
  .cr-legal section.cr-sub { padding: 16px 14px; }
  .cr-legal-close { margin-right: -4px; }
}

/* Language switch: round flag button with a small menu */
.cr-lang { position: relative; }
.cr-lang-current { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); cursor: pointer; transition: background .15s; }
.cr-lang-current:hover { background: rgba(255, 255, 255, .22); }
.cr-flag { display: inline-flex; width: 22px; height: 15px; flex: none; border-radius: 3px; overflow: hidden; }
.cr-flag svg { display: block; width: 100%; height: 100%; max-width: none; }
.cr-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1000; min-width: 160px; padding: 6px; border-radius: 14px; background: #1a5fae; border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 14px 36px rgba(2, 20, 50, .45); }
.cr-lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: 600 15px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-align: left; cursor: pointer; }
.cr-lang-menu button:hover { background: rgba(255, 255, 255, .12); }
.cr-lang-menu button.on { background: rgba(255, 255, 255, .18); }

/* Button back to the start page: same round glass as the language button */
.cr-home { display: grid; place-items: center; flex: none; box-sizing: border-box; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background .15s; }
.cr-home:hover { background: rgba(255, 255, 255, .22); }
.cr-home:focus-visible { outline: 2px solid #fcc5e5; outline-offset: 2px; }

/* Header bar (Validator, Meltdown) – same look as the Kiosk header */
.cr-header { position: sticky; top: 0; z-index: 20; flex: none; box-sizing: border-box; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px max(24px, calc((100% - 1180px) / 2 + 24px)); background: rgba(19, 81, 155, .72); border-bottom: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }
.cr-brand { display: flex; align-items: center; gap: 14px; margin: 0; --logo-h: 48px; }
.cr-brand img { display: block; width: auto; height: var(--logo-h); position: relative; top: calc(var(--logo-h) * .134); filter: drop-shadow(0 2px 4px rgba(10, 40, 90, .22)); } /* small soft shadow, like the logos on the start page */
.cr-brand span { line-height: 1.1; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .45); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.cr-brand span.cr-solo { padding-left: 0; border-left: 0; } /* app name alone, without logo */
.cr-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cr-header button[data-dapp-kit] { height: 44px; min-height: 0 !important; padding: 0 16px !important; border-radius: 999px !important; background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .45) !important; box-shadow: none !important; transition: background .15s; }
.cr-header button[data-dapp-kit]:hover { background: rgba(255, 255, 255, .22) !important; }
.cr-header button[data-dapp-kit], .cr-header button[data-dapp-kit] * { color: #fff !important; font-size: 14px !important; font-weight: 600 !important; }
@media (max-width: 640px) {
  .cr-header { padding: 10px 16px; }
  .cr-brand { gap: 10px; --logo-h: 38px; }
  .cr-brand span { padding-left: 10px; letter-spacing: .16em; font-size: 12px; }
}
/* Very narrow: the app name next to the logo goes (the page title shows it), so logo and buttons fit in one row */
@media (max-width: 420px) {
  .cr-brand:has(.cr-home) span:not(.cr-solo) { display: none; } /* only when the start-page button needs the room */
}

/* Connect Wallet button (ConnectWallet.tsx): wallet symbol + text; on phones only "Connect" */
.cr-connect { display: inline-flex; align-items: center; gap: 8px; }
.cr-wallet-icon { flex: none; }
.cr-connect-short { display: none; }
@media (max-width: 640px) {
  .cr-connect-full { display: none; }
  .cr-connect-short { display: inline; }
}
/* Titan One (SIL Open Font License, public/fonts/OFL.txt), served from this site instead of Google Fonts – no request to Google */
@font-face{font-family:'Titan One';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/titan-one-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Titan One';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/titan-one-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --sky-top:#13519b; --sky-bot:#2f9ff0;
  --glass:rgba(255,255,255,.16); --glass-2:rgba(255,255,255,.10); --line:rgba(255,255,255,.32);
  --ink:#fff; --ink-2:rgba(255,255,255,.72); --ink-3:rgba(255,255,255,.5);
  --candy:#ec76bb; --candy-2:#c2438d; --warn:#ffd86b;
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--ink);font:15px -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;
  background:linear-gradient(180deg,var(--sky-top),var(--sky-bot)) fixed}
.mono{font-family:ui-monospace,"SF Mono",Menlo,monospace}
.faint{color:var(--ink-3)}
.lbl{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);font-weight:600}
a{color:#fdd3eb}

/* Buttons */
button{font:inherit}
.b{background:rgba(255,255,255,.2);color:#fff;border:1.5px solid rgba(255,255,255,.55);border-radius:999px;padding:9px 18px;
  font-weight:700;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .15s,transform .1s}
.b:hover:not(:disabled){background:rgba(255,255,255,.3)}
.b:active:not(:disabled){transform:scale(.97)}
.b:disabled{opacity:.45;cursor:default}

/* Lobby */
.lobby-wrap{position:fixed;inset:0;z-index:60;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:flex;padding:16px 12px;scrollbar-width:none}   /* takes the touches itself: with pointer-events:none, iOS Safari would not scroll it */
.lobby-col{margin:auto;width:min(500px,100%);display:flex;flex-direction:column;align-items:center;pointer-events:auto}
.drip-title{width:min(470px,92%);display:block;margin-bottom:-46px;position:relative;z-index:2;pointer-events:none}
.lobby{width:100%;background:linear-gradient(180deg,rgba(18,112,235,.78),rgba(30,155,250,.68));border:1.5px solid rgba(255,255,255,.5);
  border-radius:30px;padding:54px 22px 22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.4);display:flex;flex-direction:column;gap:14px;
  backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
.seg{display:flex;padding:5px;border-radius:18px;background:var(--glass-2);border:1.5px solid var(--line)}
.seg span{flex:1;text-align:center;padding:9px 0;border-radius:13px;font-weight:600;color:var(--ink-3);font-size:15px}
.seg span.on{background:rgba(255,255,255,.28);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.wallet-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 4px}
.wallet-row .mono{font-size:14px;margin-top:4px}
.wallet-row button{background:rgba(255,255,255,.22)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.55)!important;
  border-radius:999px!important;box-shadow:none!important;font-weight:700!important}
.tile{background:var(--glass);border:1.5px solid var(--line);border-radius:22px;padding:16px}
.tile.center{text-align:center}
.big{font-size:40px;font-weight:600;margin-top:8px;letter-spacing:.02em}
.pills{display:flex;gap:7px;justify-content:center}
.pill{flex:1 1 auto;background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.75);border-radius:999px;padding:8px 10px;font-weight:700;cursor:pointer;font-size:16px;white-space:nowrap}
.pill:hover:not(:disabled){background:rgba(255,255,255,.18)}
.pill:disabled{opacity:.4;cursor:default}
.play-row{display:flex;gap:12px;align-items:center}
.b.play{flex:1;padding:17px;font-size:21px;letter-spacing:.08em;text-transform:uppercase;border:none;
  background:linear-gradient(180deg,#fba0d5,#dc5da7);box-shadow:0 6px 20px rgba(194,67,141,.45),inset 0 2px 0 rgba(255,255,255,.45)}
.b.play:hover:not(:disabled){background:linear-gradient(180deg,#fbb4dd,#e46bb2)}
.b.play:disabled{background:linear-gradient(180deg,#fba0d5,#dc5da7);box-shadow:none;opacity:.72}
.round{width:54px;height:54px;border-radius:50%;flex:none;display:grid;place-items:center;background:transparent;color:#fff;
  border:1.5px solid rgba(255,255,255,.7);cursor:pointer}
.round:disabled{opacity:.4;cursor:default}
.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1.5px solid var(--line);border-radius:22px;background:var(--glass);overflow:hidden}
.stats>div{text-align:center;padding:14px 6px}
.stats>div+div{border-left:1.5px solid var(--line)}
.stats .lbl{font-size:11px}
.stat{font-size:28px;font-weight:700;margin-top:6px}
.sub{font-size:12px;color:var(--ink-2);margin-top:2px}
/* Lobby: Effekte */
.candy{background:linear-gradient(180deg,#fcc5e5,#ec76bb);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800}
.tagline{font-size:17px!important;font-weight:600;color:#fff!important}
.chips{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:-4px}
.chips span{font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22)}
.connect-hint{display:flex!important;align-items:center;justify-content:center;gap:10px;border-style:solid!important;border-color:rgba(251,174,219,.8)!important;
  background:linear-gradient(90deg,rgba(249,118,194,.3),rgba(251,164,215,.14));animation:glow 2.4s ease-in-out infinite}
@keyframes glow{50%{box-shadow:0 0 22px rgba(249,118,194,.55)}}
.connect-hint .arrow{display:inline-block;font-size:18px;animation:nudge 1.2s ease-in-out infinite}
@keyframes nudge{50%{transform:translate(4px,-4px)}}
.stats .ic{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 7px;border-radius:50%;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:14px}
.stat.bump{animation:bump .45s ease-out}
@keyframes bump{0%{transform:scale(1.3);color:#fdd3eb;text-shadow:0 0 14px rgba(249,118,194,.8)}100%{transform:none}}
.lbl.with-dot{display:inline-flex;align-items:center;gap:6px;line-height:1}
.tps-dot{flex:none;width:6px;height:6px;border-radius:50%;background:#5be3a5;animation:pulseG 1.6s infinite}
@keyframes pulseG{0%{box-shadow:0 0 0 0 rgba(91,227,165,.7)}70%{box-shadow:0 0 0 7px rgba(91,227,165,0)}100%{box-shadow:0 0 0 0 rgba(91,227,165,0)}}
.b.play{position:relative;overflow:hidden}
.b.play:not(:disabled)::after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.5) 50%,transparent 65%);
  transform:translateX(-100%);animation:shine 2.8s ease-in-out infinite}
@keyframes shine{60%,100%{transform:translateX(100%)}}
.pill{transition:background .15s,box-shadow .15s,transform .1s,border-color .15s}
.pill:hover:not(:disabled){background:rgba(249,118,194,.28)!important;border-color:#fcc5e5;box-shadow:0 0 14px rgba(249,118,194,.5)}
.pill:active:not(:disabled){transform:scale(.94)}
.big{text-shadow:0 0 20px rgba(255,255,255,.35)}

/* Einsatz-Auswahl */
.buyin{display:flex;flex-direction:column;gap:8px;align-items:center}
.chip-row{display:flex;gap:7px;width:100%}
.chip,.chip-input{flex:1;min-width:0;height:40px;border-radius:999px;font:inherit;font-weight:700;font-size:15px;color:#fff;
  border:1.5px solid rgba(255,255,255,.6);background:transparent;transition:background .15s,box-shadow .15s,border-color .15s}
.chip{cursor:pointer;white-space:nowrap}
.chip:hover:not(:disabled):not(.on){background:rgba(255,255,255,.14)}
.chip.on{border-color:#fcc5e5;background:linear-gradient(180deg,rgba(251,160,213,.55),rgba(220,93,167,.45));box-shadow:0 0 14px rgba(249,118,194,.45)}
.chip:disabled,.chip-input:disabled{opacity:.45;cursor:default}
.chip-input{text-align:center;border-style:dashed;outline:none;padding:0 8px}
.chip-input::placeholder{color:var(--ink-3);font-family:-apple-system,BlinkMacSystemFont,system-ui,sans-serif}
.chip-input:focus,.chip-input.on{border-style:solid;border-color:#fcc5e5;box-shadow:0 0 14px rgba(249,118,194,.45)}
.b.topup{width:100%;height:44px;padding:0 16px}
.top-row{display:flex;gap:8px;width:100%;align-items:center;margin-top:14px}
.tile-actions{display:flex;gap:10px;margin-top:14px}
.tile-actions .pill{flex:1;height:44px;padding:0 16px}
.amount{flex:1;min-width:0;display:flex;align-items:center;height:44px;border-radius:999px;border:1.5px solid #fcc5e5;
  box-shadow:0 0 14px rgba(249,118,194,.45);padding:0 16px;gap:8px;background:rgba(255,255,255,.08)}
.amount input{flex:1;min-width:0;background:none;border:none;outline:none;color:#fff;font-size:18px;font-weight:700}
.amount input::placeholder{color:var(--ink-3)}
.amount span{font-weight:700;color:var(--ink-2);font-size:14px}
.b.confirm{height:44px;padding:0 18px;border:none;background:linear-gradient(180deg,#fba0d5,#dc5da7)}
.round.small{width:44px;height:44px;font-size:15px}
.play-hint{text-align:center;font-size:13px;color:var(--ink-2);margin-top:-6px}

/* Einzahlen: wie Auszahlen, beim Hovern grün statt pink */
.pill.deposit:hover:not(:disabled){background:rgba(91,227,165,.28)!important;border-color:#a6f0cd;box-shadow:0 0 14px rgba(91,227,165,.5)}
.b.confirm.deposit{background:linear-gradient(180deg,#6fe6b0,#2fb97c)}
.b.confirm.deposit:hover:not(:disabled){background:linear-gradient(180deg,#86edbf,#3cc98a)}

/* Kill-Feed */
.rw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}
.b.claim{border:none;padding:10px 22px;font-weight:800;letter-spacing:.04em;background:linear-gradient(180deg,#ffe08a,#f4b52c);color:#5a3a00;box-shadow:0 4px 14px rgba(244,181,44,.45)}
.b.claim:hover:not(:disabled){background:linear-gradient(180deg,#ffe9a8,#f7c24a)}
.b.claim:disabled{opacity:.7}
.rw-progress{display:flex;flex-direction:column;gap:5px;font-size:12.5px}
.rw-bar{height:8px;border-radius:999px;background:rgba(8,40,82,.35);overflow:hidden}
.rw-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffe08a,#f4b52c)}
.rw-got{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:14px;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;font-weight:700;font-size:13.5px}
.rw-got img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.rw-got span:last-child{margin-left:auto}
/* Untermenü Rewards: gleich gebaut wie Top Creamies; goldener Hinweis in der Kopfzeile, wenn etwas abholbereit ist */
.tile.rewards{padding:14px;display:flex;flex-direction:column;gap:10px}
.rw-ready{display:inline-flex;align-items:center;gap:6px;margin-right:8px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffd86b}
.rw-ready::before{content:'';width:7px;height:7px;border-radius:50%;background:#ffd86b;box-shadow:0 0 8px #ffd86b}
.rw-item{display:flex;align-items:center;gap:12px;padding:6px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,216,107,.45)}
.rw-item img{width:52px;height:52px;border-radius:10px;object-fit:cover;flex:none}
.rw-item span{display:flex;flex-direction:column;gap:2px;font-size:14px}
.rw-item small{font-size:11.5px;color:rgba(255,255,255,.75)}
.tile.rewards .b.claim{align-self:stretch}
.rw-title{display:inline-flex;align-items:center;gap:6px}
.rw-spark{font-size:15px;line-height:1;opacity:1}   /* außerhalb von .lbl: voll sichtbar */
.rw-none{font-size:13.5px;color:rgba(255,255,255,.8)}
.rw-how{margin:0;font-size:12px;line-height:1.4;color:rgba(255,255,255,.78)}
.tile.feed{display:flex;flex-direction:column;gap:6px;font-size:13px;padding:14px}
.tile.top-creamies{padding:14px}   /* gleicher Innenabstand wie „Letzte Kills“ -> Pfeile auf einer Höhe */
.feed-head{display:flex;justify-content:space-between;align-items:center;margin:0 2px 2px}
.live{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fdd3eb}
.live i{width:8px;height:8px;border-radius:50%;background:#f864ba;box-shadow:0 0 0 0 rgba(248,100,186,.7);animation:pulse 1.6s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(248,100,186,.7)}70%{box-shadow:0 0 0 8px rgba(248,100,186,0)}100%{box-shadow:0 0 0 0 rgba(248,100,186,0)}}
.kill{display:flex;align-items:center;gap:7px;padding:6px 8px 6px 6px;border-radius:14px;background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);animation:killIn .35s ease-out}
@keyframes killIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
.kill.mine{background:linear-gradient(90deg,rgba(249,118,194,.38),rgba(249,118,194,.12));border-color:rgba(251,174,219,.6);box-shadow:0 0 14px rgba(249,118,194,.35)}
.who{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who b{font-weight:700}
.who.victim{color:var(--ink-3);flex:1}
.av{width:22px;height:22px;border-radius:6px;flex:none;display:grid;place-items:center;font-size:12px}
.who.victim .av{filter:grayscale(.6);opacity:.75}
.xh{flex:none;color:#fa94cf;filter:drop-shadow(0 0 4px rgba(249,118,194,.6))}
.amt{flex:none;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;background:rgba(249,118,194,.28);border:1px solid rgba(251,174,219,.6);color:#fff}
.kill.bots{background:rgba(255,255,255,.04);border-style:dashed;opacity:.7}   /* Bot gegen Bot: dezent, ohne IOTA-/Tx-Chips */
.bot-duel{flex:none;font-size:11px;font-style:italic;color:var(--ink-3)}
.txl{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.55);color:#fff;
  text-decoration:none;font-size:13px;font-weight:700}
.txl:hover{background:rgba(255,255,255,.2)}
.txl.pending{border-style:dashed;border-color:rgba(255,255,255,.35)}
.txl.pending i{width:6px;height:6px;border-radius:50%;background:#fff;animation:blink 1s infinite}
@keyframes blink{50%{opacity:.2}}
.status{display:flex;gap:8px;justify-content:center;align-items:center;text-align:center;font-weight:700;padding:14px;border-radius:18px;background:rgba(255,255,255,.14);border:1.5px solid var(--line)}
.status.warn{background:rgba(120,130,140,.35);border-color:rgba(255,216,107,.65)}

/* Lobby: Aufbau */
.tagline{margin:4px 0 2px;text-align:center;color:var(--ink-2);font-size:15px;line-height:1.5}
.connect-hint{text-align:center;font-weight:700;padding:14px;border-radius:999px;border:1.5px dashed rgba(255,255,255,.55);color:#fff}
.tile-top{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:-4px 0 12px}
.badge.plain{letter-spacing:.06em}
.badge{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;border:1.5px solid var(--line);
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}
.badge i{width:7px;height:7px;border-radius:50%;background:#5be3a5;box-shadow:0 0 8px #5be3a5}
.big span{font-size:.5em;color:var(--ink-2);font-weight:600}
/* Hinweis unter dem Guthaben, solange es gesperrt ist: ruhige Glas-Pille (wird gleich freigegeben); gelb nur, wenn der Server ausgefallen ist */
.locked-note{display:flex;align-items:center;gap:8px;width:fit-content;margin:12px auto 0;padding:6px 14px 6px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);color:#fff;font-weight:600;font-size:13px;line-height:1.2}
.locked-note svg{width:15px;height:15px;flex:none}
.ln-spin{flex:none;width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;animation:ln-spin .8s linear infinite}
@keyframes ln-spin{to{transform:rotate(360deg)}}
.locked-note.down{padding:4px 4px 4px 11px;background:rgba(255,196,64,.16);border-color:rgba(255,206,92,.55);color:#ffe08a}
.ln-btn{margin-left:4px;padding:5px 12px;border-radius:999px;border:none;background:#ffd25c;color:#3a2a00;font:inherit;font-weight:700;cursor:pointer}
.ln-btn:hover:not(:disabled){background:#ffe08a}.ln-btn:disabled{opacity:.5;cursor:default}
.link{background:none;border:none;color:var(--ink-2);font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:4px}
.link:hover:not(:disabled){color:#fff}.link:disabled{opacity:.5;cursor:default}
.link.center{align-self:center;margin-top:-6px}

.pill.withdraw{margin-top:12px;padding:8px 26px;flex:none}

/* Overlays im Spiel */
.ov{position:absolute;background:rgba(38,108,196,.45);border:1.5px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  color:#fff;border-radius:18px;padding:10px 14px;font-size:13px;line-height:1.5;box-shadow:0 8px 30px rgba(8,30,70,.25)}
.ov-feed{left:12px;bottom:12px;width:min(420px,calc(100vw - 24px));display:flex;flex-direction:column;gap:5px;padding:12px}
.feed-right{display:flex;align-items:center;gap:8px}
.feed-toggle{width:24px;height:24px;padding:0;display:grid;place-items:center;border-radius:999px;border:1.5px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.14);color:#fff;cursor:pointer;flex:none}
.feed-toggle:hover{background:rgba(255,255,255,.28)}
.feed-count{margin-left:7px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.22);font-size:11px;font-weight:800}
.ov-status{left:50%;top:64px;transform:translateX(-50%);max-width:calc(100vw - 24px);font-weight:700}
.ov-spec{left:50%;bottom:14px;transform:translateX(-50%);font-size:14px;white-space:nowrap}
.ov-bar{position:absolute;right:12px;top:10px;display:flex;gap:8px;align-items:center}
.ov-bar .b{padding:0 14px;height:39px}
.ov-bar button:not(.b){height:39px;padding:0 18px}
.ov-bar.fixed{position:fixed;z-index:70}

@media(max-width:600px){
  .lobby{padding:46px 14px 16px;border-radius:24px;gap:12px}
  .big{font-size:32px}.stat{font-size:22px}
  .pill{padding:7px 12px;font-size:15px}
  .drip-title{margin-bottom:-36px}
}

/* keine Schatten an Guthaben-Buttons, Badges, Betragsfeld */
.tile-actions .pill,.tile-actions .pill:hover,.round.small,.tile-top .badge,.amount,.b.confirm,.b.confirm:hover{box-shadow:none!important}

/* ===== Glas-Controls v2: transparent, Verlaufsrand, keine Schatten ===== */
.gl{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;border:none;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.03));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  font:inherit;font-weight:700;cursor:pointer;transition:background .18s,transform .12s;box-shadow:none}
.gl::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.gl svg{flex:none}
button.gl:hover:not(:disabled){background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.08));transform:translateY(-1px)}
button.gl:active:not(:disabled){transform:scale(.98)}
button.gl:disabled{opacity:.45;cursor:default}
.gl.green::before{background:linear-gradient(135deg,#c9fbe4,rgba(127,232,184,.25) 55%,#7fe8b8)}
.gl.green svg{color:#9ff2cc}
button.gl.green:hover:not(:disabled){background:linear-gradient(180deg,rgba(127,232,184,.32),rgba(127,232,184,.08))}
.gl.red::before{background:linear-gradient(135deg,#ffd0d8,rgba(255,138,160,.25) 55%,#ff8aa0)}
.gl.red svg{color:#ffb3c2}
button.gl.red:hover:not(:disabled){background:linear-gradient(180deg,rgba(255,138,160,.32),rgba(255,138,160,.08))}
.tile-actions .gl{flex:1;height:46px;font-size:15px}
.gl.tag{height:26px;padding:0 11px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;cursor:default;gap:6px}
.gl.tag i{width:7px;height:7px;border-radius:50%;background:#5be3a5}
.chips .gl{height:28px;padding:0 11px;font-size:12px;cursor:default;gap:6px;border:none;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.03))}
.chips .gl svg{color:#fcc5e5}
.amount.gl{border:none!important;justify-content:flex-start;padding:0 16px;height:46px;cursor:text;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.03))}
.amount.gl::before{background:linear-gradient(135deg,#c9fbe4,rgba(127,232,184,.3) 55%,#7fe8b8)}
.gl.round-gl{width:46px;height:46px;flex:none;padding:0}
.top-row .b.confirm{height:46px}

/* ===== Kompakteres Panel ===== */
.lobby-col{width:min(440px,100%)}
.drip-title{width:min(390px,88%);margin-bottom:-38px}
.lobby{padding:44px 16px 16px;gap:10px;border-radius:26px}
.tagline{font-size:15px!important;margin:2px 0 0}
.chips .gl{height:25px;font-size:11.5px;padding:0 9px}
.connect-hint{padding:11px!important;font-size:14px}
.tile{padding:12px;border-radius:18px}
.tile-top{margin:-2px 0 8px}
.big{font-size:30px;margin-top:4px}
.tile-actions,.top-row{margin-top:10px}
.tile-actions .gl,.amount.gl,.gl.round-gl,.top-row .b.confirm{height:40px}
.gl.round-gl{width:40px}
.amount input{font-size:16px}
.b.play{padding:12px;font-size:18px}
.stats{border-radius:18px}
.stats>div{padding:9px 4px}
.stat{font-size:22px;margin-top:3px}
.stats .lbl{font-size:10px}
.sub{font-size:11px;margin-top:1px}
.tile.feed,.tile.top-creamies,.tile.rewards{padding:10px;gap:5px}
.kill{padding:4px 7px 4px 5px;gap:6px}
.av{width:20px;height:20px;font-size:11px}
.txl{width:22px;height:22px;font-size:12px}
.status{padding:9px 12px;font-size:13px;border-radius:14px;align-items:flex-start;text-align:left}
.st-txt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.status:not(.warn){justify-content:center;text-align:center}
@media(max-width:600px){.lobby{padding:38px 12px 12px}.drip-title{margin-bottom:-32px}}

/* Panel-Rand identisch zu den Kacheln */
.lobby{border:1.5px solid var(--line);box-shadow:none}

/* ohne Schriftzug: normaler Innenabstand oben */
.lobby{padding-top:16px}
@media(max-width:600px){.lobby{padding-top:12px}}

/* etwas großzügiger als die kompakte Version */
.lobby-col{width:min(470px,100%)}
.lobby{padding:20px 20px 20px;gap:12px}
.tile{padding:14px}
.big{font-size:34px}
.stats>div{padding:12px 6px}
.stat{font-size:25px;margin-top:4px}
.tile.feed,.tile.top-creamies,.tile.rewards{padding:12px;gap:6px}
.kill{padding:5px 8px 5px 6px}
.tagline{font-size:16px!important}
@media(max-width:600px){.lobby{padding:14px}}

/* SPIELEN-Button größer */
.b.play{padding:17px;font-size:21px;letter-spacing:.1em}
@media(max-width:600px){.b.play{padding:15px;font-size:19px}}

/* alle Kennzahl-Labels gleich hoch (auch "Network TPS" mit Punkt) */
.stats .lbl,.stats .lbl.with-dot{display:flex;justify-content:center;align-items:center;gap:6px;height:14px;line-height:14px}

/* Leiste oben rechts: runde Glas-Icon-Buttons, alles 40px */
.ov-bar button:not(.b){height:40px}
.ov-bar .gl.icon-btn{width:40px;height:40px;padding:0;border-radius:50%}
.ov-bar .gl.leave{height:40px;padding:0 16px;font-size:14px}

/* Ohne Wallet: schlanker Aufbau */
.stats{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:1fr}
.tile.off .big{opacity:.55}
.stats>div.off .stat,.stats>div.off .sub{opacity:.5}
.lobby>.tile-top{margin:0}

/* ===== HUD im Spiel ===== */
.glass-card{position:relative;isolation:isolate;color:#fff;border-radius:16px;
  background:linear-gradient(180deg,rgba(38,108,196,.5),rgba(52,150,235,.34));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.glass-card::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,255,255,.16) 55%,rgba(255,255,255,.5));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.hud{position:absolute;left:12px;top:12px;width:232px;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.hud-card{padding:10px 14px}
.hud-bal{font-size:26px;font-weight:700;margin-top:3px}
.hud-bal span{font-size:13px;color:var(--ink-2);font-weight:600}
.hud-delta{position:absolute;right:12px;top:10px;font-size:14px;font-weight:800;animation:floatUp 1.5s ease-out forwards}
.hud-delta.up{color:#8ff0c4}.hud-delta.down{color:#ff9fb2}
@keyframes floatUp{0%{opacity:0;transform:translateY(6px) scale(.9)}15%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-14px)}}
.hud-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.hud-stat{padding:7px 4px;text-align:center}
.hud-stat .lbl{font-size:9.5px}
.hud-stat .mono{font-size:19px;font-weight:700;margin-top:2px}
.hearts{display:flex;justify-content:center;gap:2px;margin-top:3px;font-size:16px;line-height:1}
.hearts span{color:rgba(255,255,255,.28);transition:color .2s,transform .2s}
.hearts span.on{color:#ff6b8f;text-shadow:0 0 8px rgba(255,107,143,.7)}
.hearts.healed span{animation:heal .6s ease-out both}.hearts.healed span:nth-child(2){animation-delay:.08s}.hearts.healed span:nth-child(3){animation-delay:.16s}
@keyframes heal{0%{transform:scale(1)}40%{transform:scale(1.7);text-shadow:0 0 14px #fba3d6}100%{transform:scale(1)}}
.hud-help{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:7px 14px;font-size:12px;white-space:nowrap;
  border-radius:999px;pointer-events:none;transition:opacity .8s;max-width:calc(100vw - 24px);overflow:hidden;text-overflow:ellipsis}
.hud-help.gone{opacity:0}
@media(max-width:600px){.hud{width:190px}.hud-bal{font-size:21px}}
.kill.died{background:linear-gradient(90deg,rgba(255,90,110,.32),rgba(255,90,110,.1));border-color:rgba(255,150,165,.55)}

/* HUD-Karten exakt wie die Glas-Buttons oben rechts (.gl) */
.glass-card{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.03));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.glass-card::before{background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55))}

/* HUD als kompakte Leiste: jede Kachel so breit wie ihr Inhalt */
.hud{width:auto;flex-direction:row;align-items:stretch;gap:8px}
.hud-card{padding:7px 14px;display:flex;flex-direction:column;justify-content:center}
.hud-bal{font-size:22px;margin-top:2px;line-height:1.1}
.hud-stat{padding:7px 12px;min-width:62px;display:flex;flex-direction:column;justify-content:center}
.hud-delta{right:-8px;top:-10px;padding:2px 7px;border-radius:999px;font-size:12px;background:rgba(10,30,60,.45)}
@media(max-width:600px){.hud{flex-wrap:wrap;width:calc(100vw - 120px)}.hud-bal{font-size:18px}}
.big,.hud-bal{white-space:nowrap}

/* Chips oben im Panel: schlicht wie die Kacheln (Fläche + Rand, ohne Effekte) */
.lobby .gl.tag{background:var(--glass);border:1.5px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none;transform:none}
.lobby .gl.tag::before{display:none}

/* HUD-Kacheln im Spiel: exakt wie das "Deine Kills"-Overlay (.ov) */
.glass-card{background:rgba(38,108,196,.45);border:1.5px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 8px 30px rgba(8,30,70,.25)}
.glass-card::before{display:none}
.glass-card{border-radius:18px}

/* HUD: mehr Abstand, einheitliche Wertgröße */
.hud{gap:12px}
.hud-card{padding:8px 16px}
.hud-stat{padding:8px 14px;min-width:68px}
.hud-bal,.hud-stat .mono{font-size:20px;line-height:1.15;margin-top:3px}
.hearts{font-size:17px;margin-top:4px}

/* HUD: Labels und Werte auf exakt einer Linie */
.hud .lbl{font-size:10px;line-height:12px;height:12px;display:block}
.hud-bal,.hud-stat .mono,.hearts{height:24px;line-height:24px;margin-top:4px;display:flex;align-items:center}
.hud-stat .mono,.hearts{justify-content:center}
.hearts span{line-height:1}
.hud-bal span{margin-left:6px}

/* Info-Button + Steuerung im Panel */
.lobby .gl.tag.info-btn{width:26px;padding:0;cursor:pointer;font-family:Georgia,serif;font-style:italic;font-size:14px;font-weight:700;letter-spacing:0;text-transform:none}
.lobby .gl.tag.info-btn:hover,.lobby .gl.tag.info-btn.on{background:rgba(255,255,255,.28)}
.tile.help{display:flex;flex-direction:column;gap:10px}
.help-grid{display:grid;grid-template-columns:auto 1fr;gap:7px 12px;align-items:center;font-size:13px}
.help-grid kbd{justify-self:start;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12px;font-weight:700;padding:3px 8px;border-radius:7px;
  background:var(--glass);border:1.5px solid var(--line);white-space:nowrap}
.lobby{gap:14px}

/* Buttons oben rechts im Spiel: gleiche Blautöne wie der Lobby-Dialog */
.ov-bar .gl{background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42));backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15)}
.ov-bar button.gl:hover:not(:disabled){background:linear-gradient(180deg,rgba(18,112,235,.7),rgba(30,155,250,.56))}
.ov-bar .gl.red::before{background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55))}
.ov-bar .gl.red svg{color:#fff}

/* HUD-Kacheln (Spielguthaben, Kills, Tode, Leben): ohne Schatten */
.hud .glass-card{box-shadow:none}

/* Bot-Profilbild (Cream Bot) */
.av.av-img{padding:0;overflow:hidden;background:#3aa8f0}
.av.av-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

/* Geteilter Button: links „Spielen“, rechts das Auge (Zuschauen) – gleiche Farbe wie Spielen */
.play-wrap{display:flex;gap:3px;align-items:stretch}
.play-wrap .b.play{flex:1;min-width:0;border-radius:0}
.watch-btn{flex:0 0 66px;display:grid;place-items:center;padding:0;border:none;border-radius:0 999px 999px 0;color:#fff;cursor:pointer;position:relative;
  background:linear-gradient(180deg,#fba0d5,#dc5da7);box-shadow:0 6px 20px rgba(194,67,141,.45),inset 0 2px 0 rgba(255,255,255,.45);transition:background .15s,transform .12s}
.watch-btn:hover{background:linear-gradient(180deg,#fbb4dd,#e46bb2)}
.watch-btn:active{transform:scale(.97)}
.watch-btn .tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;
  white-space:nowrap;background:rgba(20,70,150,.85);color:#fff;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}
.watch-btn:hover .tip{opacity:1;transform:translateX(-50%)}
@media(max-width:600px){.watch-btn{flex-basis:56px}}
/* Arena-Wahl: Gegenstück zum Zuschauen-Knopf auf der linken Seite */
.arena-pick{flex:0 0 66px;display:flex;position:relative}
.arena-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;border:none;border-radius:999px 0 0 999px;color:#fff;cursor:pointer;font-family:inherit;background:linear-gradient(180deg,#fba0d5,#dc5da7);box-shadow:0 6px 20px rgba(194,67,141,.45),inset 0 2px 0 rgba(255,255,255,.45)}
.arena-btn:hover{background:linear-gradient(180deg,#fbb4dd,#e46bb2)}
.arena-btn:active{transform:scale(.97)}
.arena-btn small{font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.85;padding-left:4px}
.arena-btn span{display:flex;align-items:center;gap:3px;font-size:14px;font-weight:800;line-height:1.2;padding-left:6px}
@media(max-width:600px){.arena-pick{flex-basis:56px}}
.arena-menu{position:fixed;z-index:76;width:190px;display:flex;flex-direction:column;padding:6px}
.arena-list{min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}
.arena-opt{flex:none;display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:#fff;font:600 15px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;text-align:left;cursor:pointer}
.arena-opt:hover{background:rgba(255,255,255,.12)}
.arena-opt.on,.arena-opt.on:hover{background:rgba(255,255,255,.18)}
/* Aufklappfenster (Controls, Arena-Wahl) im selben Glas wie das Sprachmenü */
.pop-glass{isolation:isolate;color:#fff;border-radius:14px;border:none;box-shadow:0 14px 36px rgba(2,20,50,.45);
  background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42));backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15)}
/* Meldungen in der Spielmitte (Kills, Creamie gewonnen …): farbiges Glas. Die Pille ist in der Akzentfarbe getönt (oben kräftiger),
   mit heller Glanzkante oben und einem Rand in einer helleren Variante der Farbe; die Schrift ist weiß. */
.game-pop{--a:var(--accent,#ffffff);position:absolute;left:50%;top:20%;opacity:0;pointer-events:none;white-space:nowrap;max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis;
  padding:11px 28px;border-radius:999px;font:800 23px/1.2 ui-rounded,"SF Pro Rounded",system-ui,sans-serif;letter-spacing:.02em;
  color:#fff;
  --d:color-mix(in srgb,var(--a) 84%,#000);   /* Glas etwas dunkler als die Akzentfarbe, damit die weiße Schrift sich abhebt */
  background:linear-gradient(180deg,color-mix(in srgb,var(--d) 56%,transparent),color-mix(in srgb,var(--d) 32%,transparent));
  backdrop-filter:none;-webkit-backdrop-filter:none;   /* Unschärfe nur, solange eine Meldung läuft (.pop) – unsichtbar kostet sie sonst jedes Bild Leistung */
  border:1px solid color-mix(in srgb,var(--a) 55%,#fff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -10px 18px -12px color-mix(in srgb,var(--a) 70%,#000),0 10px 26px color-mix(in srgb,var(--a) 22%,rgba(4,24,60,.35));text-shadow:none}
@media(max-width:600px){.game-pop{font-size:17px;padding:8px 20px}}
.game-pop.pop,.game-pop.warm{backdrop-filter:blur(16px) saturate(1.6);-webkit-backdrop-filter:blur(16px) saturate(1.6)}
.game-pop::before{display:none}
/* neutrale Meldungen: blaues Glas wie der Rest der Oberfläche (weiße Schrift bleibt auch auf hellem Boden lesbar) */
.game-pop.neutral{background:linear-gradient(180deg,rgba(70,140,215,.36),rgba(45,105,180,.24));border-color:rgba(220,236,255,.8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -10px 18px -12px rgba(5,40,110,.5),0 10px 26px rgba(4,24,60,.3)}
.game-pop.g1{box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -10px 18px -12px color-mix(in srgb,var(--a) 70%,#000),0 10px 26px color-mix(in srgb,var(--a) 22%,rgba(4,24,60,.35)),0 0 18px color-mix(in srgb,var(--a) 45%,transparent)}   /* Rampage: leichtes Leuchten */
.game-pop.g2{box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -10px 18px -12px color-mix(in srgb,var(--a) 70%,#000),0 10px 26px color-mix(in srgb,var(--a) 22%,rgba(4,24,60,.35)),0 0 28px 2px color-mix(in srgb,var(--a) 60%,transparent)}   /* Unstoppable, Creamie gewonnen */
.pop-glass::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}

/* Creamie-Auswahl in der Lobby */
.creamie-pick{padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.creamie-pick a{color:#fff;font-weight:700}
.cp-cur{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px}
.cp-cur span{opacity:.85}
.cp-tier{padding:1px 8px;border-radius:999px;background:rgba(255,215,120,.3);border:1px solid rgba(255,230,160,.7);font-size:11px;font-weight:800;opacity:1!important}
.cp-row{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}
.cp-item{flex:none;width:64px;padding:0;border:2px solid rgba(255,255,255,.35);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.1);cursor:pointer;position:relative;transition:transform .12s,border-color .12s}
.cp-item img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.cp-item span{position:absolute;left:0;right:0;bottom:0;font-size:10px;font-weight:800;color:#fff;background:rgba(0,0,0,.35)}
.cp-item:hover{transform:translateY(-2px)}
.cp-item.on{border-color:#fba0d5;box-shadow:0 0 0 2px #fba0d5}
.cp-item.tier-creme,.cp-item.tier-crown{border-color:rgba(255,215,120,.85)}
/* Top Creamies */
.top-creamies{display:flex;flex-direction:column;gap:6px}
.tc-row{display:flex;align-items:center;gap:8px;font-size:13px}
.tc-row img{width:28px;height:28px;border-radius:7px;object-fit:cover}
.tc-row .faint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-rank{width:16px;text-align:center;font-weight:800;opacity:.8}
.tc-k{margin-left:auto;font-weight:800}

/* Spielname „Pew-Pew“ als Logo über der Lobby; hängt oben in die Lobby-Kachel hinein */
.game-logos{display:flex;flex-direction:column;align-items:center;margin:0 auto -34px;position:relative;z-index:2;pointer-events:none}
.game-logos img{display:block;filter:drop-shadow(0 2px 4px rgba(10,40,90,.22))}   /* small soft shadow, like the logos on the start page */
.pewpew-logo{width:min(340px,80%)}
@media(max-width:600px){.game-logos{margin-bottom:-26px}.pewpew-logo{width:min(260px,72%)}}
.game-logos + .lobby{padding-top:40px}
@media(max-width:600px){.game-logos + .lobby{padding-top:36px}}

/* Charakter-Auswahl (nach „Spielen“) */
.cs-wrap{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:16px;background:rgba(10,40,90,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cs{width:min(980px,100%);height:min(640px,calc(100vh - 32px));display:grid;grid-template-columns:minmax(260px,1fr) 1.25fr;grid-template-rows:minmax(0,1fr);gap:16px;padding:16px;border-radius:28px;color:#fff;
  background:linear-gradient(180deg,rgba(18,112,235,.78),rgba(30,155,250,.68));border:1.5px solid rgba(255,255,255,.5);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}   /* same glass as the lobby dialog */
.cs-left{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
.cs-preview{flex:1 1 0;min-height:200px;border-radius:20px;background:radial-gradient(circle at 50% 70%,rgba(255,255,255,.28),rgba(255,255,255,.05) 70%);cursor:grab;overflow:hidden}
.cs-preview canvas{width:100%;height:100%;display:block}
.cs-info{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.cs:not(.cs-compact) .cs-info{height:150px;overflow:hidden;flex:none}   /* feste Höhe: Vorschau bleibt gleich groß -> kein teures Neuanlegen der 3D-Fläche bei jedem Wechsel */
.cs-name{font-size:22px;font-weight:900}
.cs-traits{display:flex;flex-wrap:wrap;gap:5px}
.cs-traits span{padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.4);font-size:12px;font-weight:700}
.cs-right{display:flex;flex-direction:column;gap:10px;min-height:0}
.cs-head{display:flex;justify-content:space-between;align-items:center}
.cs-filters{display:flex;flex-wrap:wrap;gap:6px}
.cs-filters .chip{flex:none;width:auto;height:30px;padding:0 12px;font-size:12px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.cs-filters .chip span{opacity:.75;font-weight:800}
.cs-grid{flex:1 1 0;min-height:0;overflow-y:auto;display:grid;grid-auto-rows:max-content;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;align-content:start;padding:2px;scrollbar-width:thin}
.cs-grid .cp-item{width:auto}
.cs-grid a{color:#fff;font-weight:700}
.cs-grid .cs-soon{color:#fff;font-weight:700;opacity:.85}
.cs.cs-compact{width:min(460px,100%);grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}   /* ohne Creamies im Wallet: schmale Karte, einspaltig (oben Creamie, unten Hinweis + Knöpfe) */
.cs-compact .cs-right .cs-grid{flex:none}
.cs-compact .cs-empty{font-size:15px;text-align:center}
.cs-compact .cs-info{align-items:center}
@media(max-width:720px){.cs.cs-compact{height:auto;max-height:calc(100vh - 32px);grid-template-rows:auto auto}.cs-compact .cs-left{max-height:none}.cs-compact .cs-preview{flex:none;height:min(44vh,340px)}}   /* Handy: nur so hoch wie der Inhalt */
.cs-grid .cs-empty{grid-column:1/-1;line-height:1.45;padding:4px 2px}   /* Hinweis ohne Creamies: über die ganze Breite */
.cs-actions{display:flex;gap:10px}
.cs-actions .gl{height:auto;padding:0 22px}
.cs-actions .b.play{flex:1;padding:14px;font-size:19px}
@media(max-width:720px){.cs{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 32px)}.cs-left{max-height:42vh}.cs-preview{min-height:180px}}
.cs-grid .cp-item{flex:none;min-height:0;aspect-ratio:1/1}
.cs-grid .cp-item img{height:100%;width:100%}
/* Platz für Rahmen + Hover-Anheben, damit oben/seitlich nichts abgeschnitten wird */
.cs-grid{padding:7px 6px}
.cs-traits span i{font-style:normal;opacity:.7;font-weight:600}

/* Leistungsanzeige unten rechts (Taste P) */
.perf{position:absolute;right:12px;bottom:12px;z-index:5;padding:6px 8px 8px;border-radius:12px;background:rgba(10,30,60,.55);border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;font:600 11px/1.2 ui-monospace,Menlo,monospace}
.perf-top{display:flex;align-items:baseline;gap:5px;margin-bottom:4px}
.perf-top b{font-size:18px}
.perf-top span{opacity:.7}
.perf-top i{margin-left:auto;font-style:normal;opacity:.75}
.perf canvas{display:block;cursor:crosshair}
.perf-spikes{max-width:240px;margin-top:4px;font-size:9.5px;line-height:1.35;opacity:.9}
.perf-spikes div{padding:2px 0;border-top:1px solid rgba(255,255,255,.12)}
.perf-spikes b{color:#ff8a8a}
.perf-spikes u{color:#ffd86b;text-decoration:none}
.perf-tip{display:none;position:absolute;right:8px;bottom:calc(100% + 4px);padding:3px 7px;border-radius:8px;background:rgba(0,0,0,.7);white-space:nowrap}
.perf-tests{margin-top:6px;font-size:10.5px}
.perf-tests summary{cursor:pointer;opacity:.85}
.perf-tests label{display:flex;align-items:center;gap:6px;padding:2px 0;cursor:pointer}
.perf-tests input{margin:0}
/* Creamies im Marktplatz-Kiosk: gesperrt (grau + Schloss), Hinweis beim Anklicken, Link unten links */
.cp-item.locked{cursor:not-allowed}
.cp-item.locked{opacity:.45;border-color:rgba(255,255,255,.3)!important}
.cp-item.locked img{filter:grayscale(1) brightness(.8)}
.cp-item.locked:hover{opacity:.6}
.cp-item.locked:hover{transform:none}
.cs-locktip{position:fixed;z-index:90;transform:translate(-50%,calc(-100% - 8px));pointer-events:none;white-space:nowrap;font-size:12px;font-weight:800;color:#fff;background:rgba(20,30,70,.92);border:1px solid rgba(255,255,255,.3);border-radius:10px;padding:6px 10px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.cp-lock{position:absolute;top:3px;right:4px;font-size:13px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.cs-lockhint{font-size:13px;font-weight:700;line-height:1.35;color:#fff;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:8px 12px}
.cs-kiosk{margin-top:auto;align-self:flex-start;flex:none;font-size:13px;font-weight:800;color:#fff;text-decoration:none;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35)}
.cs-kiosk{display:inline-flex;align-items:center;gap:7px}
.cs-kiosk svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.cs-kiosk:hover{background:rgba(255,255,255,.24)}
@media(max-width:720px){.cs-left{position:relative}.cs-kiosk{position:absolute;left:10px;top:10px;margin:0;z-index:2;background:rgba(20,40,90,.45)}}   /* schmal: links unten wäre abgeschnitten -> oben links in der Vorschau */
.cs-grid .cp-item span{font-size:11px;padding:1px 0}

/* Wallet-Button oben rechts: gleicher blauer Glas-Stil wie die Buttons daneben (.ov-bar .gl) */
.ov-bar button[data-dapp-kit]{position:relative;isolation:isolate;height:40px;min-height:0!important;padding:0 18px!important;border:none!important;border-radius:999px!important;
  background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42))!important;box-shadow:none!important;
  backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15);transition:background .18s,transform .12s;cursor:pointer}
.ov-bar button[data-dapp-kit]::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.ov-bar button[data-dapp-kit]:hover{background:linear-gradient(180deg,rgba(18,112,235,.7),rgba(30,155,250,.56))!important;transform:translateY(-1px)}
.ov-bar button[data-dapp-kit]:active{transform:scale(.98)}
.ov-bar button[data-dapp-kit],.ov-bar button[data-dapp-kit] *{color:#fff!important;font-size:15px!important;font-weight:700!important}

/* ── Shared Creamies frame (like Kiosk, Validator, Meltdown): start-page button top left, language next to the wallet, footer with imprint/privacy ── */
.cr-home{position:fixed;left:12px;top:10px;z-index:70}
/* start-page and language buttons: same blue glass as the wallet, sound and fullscreen buttons (.ov-bar .gl) */
.cr-home,.ov-bar .cr-lang-current{position:relative;isolation:isolate;width:40px;height:40px;color:#fff;border:none;
  background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42));backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15);
  transition:background .18s,transform .12s}
.cr-home{position:fixed}
.cr-home::before,.ov-bar .cr-lang-current::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.cr-home:hover,.ov-bar .cr-lang-current:hover{background:linear-gradient(180deg,rgba(18,112,235,.7),rgba(30,155,250,.56));transform:translateY(-1px)}
.ov-bar .cr-lang{z-index:75}
.cr-footer{position:fixed;left:0;right:0;bottom:0;z-index:65;
  background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42));backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15)}   /* same blue glass as the buttons at the top */
.lobby-wrap{padding-bottom:64px;padding-top:62px}   /* the lobby stays clear of the footer and of the fixed buttons at the top (on short phone screens it would slide under them) */
.legal-page{position:fixed;inset:0;z-index:80;overflow-y:auto;background:linear-gradient(180deg,#13519b,#2f9ff0);padding-bottom:56px}
.cr-footer:has(~ .legal-page){z-index:85}   /* Footer bleibt auf den Rechtsseiten sichtbar */
.legal-page{--cr-close-top:90px}
.cr-header.legal-header{display:grid;grid-template-columns:1fr auto 1fr;gap:10px 20px}
.legal-header .cr-home,.legal-header .cr-home:hover{position:static;justify-self:start;width:44px;height:44px;transform:none;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14)}
.legal-header .cr-home:hover{background:rgba(255,255,255,.22)}
.legal-header .cr-home::before{content:none}
.legal-header .cr-lang{justify-self:end}
.legal-brand{display:flex;align-items:center;gap:14px}
.legal-brand span{padding-right:14px;border-right:1px solid rgba(255,255,255,.45);font-size:13px;font-weight:700;letter-spacing:.22em;line-height:1.1;text-transform:uppercase;color:#fff}
.legal-brand img{display:block;height:40px;width:auto;position:relative;top:3px;filter:drop-shadow(0 2px 4px rgba(10,40,90,.22))}
@media (max-width:640px){ .legal-page{--cr-close-top:78px} .legal-brand span{display:none} .legal-brand img{height:31px} .cr-header.legal-header{padding:10px;gap:6px} }
/* the lobby is drawn inside the game layer: keep the top-right buttons (and the language menu) above it */
.ov-bar{z-index:61}
/* FPS meter clear of the footer while the footer is shown */
body:has(.cr-footer) .perf{bottom:60px}
/* language button: no side padding from ".ov-bar button" (flag sits in the middle); its menu in the same blue glass as the button */
.ov-bar button.cr-lang-current{padding:0}   /* button.… beats ".ov-bar button:not(.b)" */
.ov-bar .cr-lang-menu{isolation:isolate;border:none;background:linear-gradient(180deg,rgba(18,112,235,.55),rgba(30,155,250,.42));
  backdrop-filter:blur(10px) saturate(1.15);-webkit-backdrop-filter:blur(10px) saturate(1.15)}
.ov-bar .cr-lang-menu::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.18) 55%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.ov-bar .cr-lang-menu button:not(.b){height:auto;padding:9px 12px}
/* Lobby dialog a size smaller on larger screens: scaled as a whole, so all its parts keep their proportions and look */
@media (min-width:601px){ .lobby-col{zoom:.95} }
/* character select without Creamies: kiosk button centred under the hint (not in the corner of the preview) */
.cs-empty-kiosk{display:flex;justify-content:center;margin-top:12px}
.cs-empty-kiosk .cs-kiosk{position:static;margin:0;align-self:center}
/* own kills green (deaths stay red) */
.kill.mine{background:linear-gradient(90deg,rgba(91,227,165,.38),rgba(91,227,165,.12));border-color:rgba(160,245,205,.6);box-shadow:0 0 14px rgba(91,227,165,.35)}

/* Abstimmung im Match (Vote.jsx): Liste der Mitspieler (Taste V), Banner der laufenden Abstimmung, kurze Meldungen */
.vote-menu{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:60;min-width:260px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;color:#fff}
.vote-title{font-weight:800;font-size:15px;margin-bottom:4px}
.vote-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:14px;cursor:pointer;text-align:left}
.vote-row:hover,.vote-row.sel{background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.5)}
.vote-list{display:grid;gap:6px}
.vote-row img{width:34px;height:34px;flex:none;border-radius:50%;object-fit:cover;background:rgba(255,255,255,.2);border:2px solid rgba(255,255,255,.5)}
.vote-who{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.vote-who{flex:1}.vote-k{flex:none;font-size:12px;font-weight:700;color:var(--ink-2)}.vote-row.sel .vote-k{color:#fff}
.vote-who b{font-size:14px}.vote-who small{font-size:11.5px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vote-menu.two{min-width:420px}.vote-menu.two .vote-list{grid-template-columns:1fr 1fr}
.vote-menu kbd.none{visibility:hidden}
.vote-hint{margin-top:4px;font-size:12px;color:var(--ink-2)}
.vote-menu kbd,.vote-banner kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:rgba(255,255,255,.22);font:700 12px/1 ui-monospace,monospace;color:#fff}
.vote-banner{position:absolute;left:50%;top:70px;transform:translateX(-50%);z-index:55;width:min(420px,calc(100% - 24px));padding:12px 16px;color:#fff}
.vote-banner.me{border-color:rgba(255,206,92,.6);background:rgba(120,80,0,.28)}
.vote-q{font-weight:800;font-size:15px;text-align:center}
.vote-bar{height:6px;margin:9px 0 8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.vote-bar i{display:block;height:100%;border-radius:99px;background:var(--candy);transition:width .3s}
.vote-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-2)}
.vote-btns{display:flex;gap:6px}
.vote-btns button{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:99px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.vote-btns button.on{background:var(--candy);border-color:var(--candy)}
.vote-note{position:absolute;left:50%;top:150px;transform:translateX(-50%);z-index:55;padding:10px 16px;color:#fff;font-weight:700;font-size:14px;white-space:nowrap}

/* Tastenkürzel (Keys.jsx): Übersicht über dem Spiel und über der Lobby */
.keys-panel{position:fixed;right:12px;top:62px;z-index:76;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 130px);display:flex;flex-direction:column;padding:14px 16px 16px;text-align:left}
.keys-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;font-size:16px}
.keys-head button{width:28px;height:28px;padding:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.keys-groups{min-height:0;overflow-y:auto}
.keys-tabs{display:flex;gap:4px;padding:4px;margin:4px 0 2px;border-radius:999px;background:rgba(8,40,82,.32);border:1px solid rgba(255,255,255,.16)}
.keys-tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:32px;border:0;border-radius:999px;background:transparent;color:rgba(255,255,255,.75);font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s,color .15s}
.keys-tabs button:hover{color:#fff}
.keys-tabs button.on{color:#fff;background:linear-gradient(180deg,#fba0d5,#dc5da7);box-shadow:0 2px 8px rgba(220,93,167,.35)}
.keys-pad-note{margin:10px 0 0;padding:8px 10px;border-radius:12px;font-size:12.5px;line-height:1.35;background:rgba(8,40,82,.3);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.85)}
.keys-pad-note.on{border-color:rgba(143,240,196,.55);color:#fff}
.keys-pad-note.on::before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#8ff0c4;vertical-align:1px}
.keys-groups section{padding-top:9px}
.keys-groups .lbl{font-size:10.5px;margin-bottom:5px}
.keys-row{display:grid;grid-template-columns:124px 1fr;gap:10px;align-items:center;padding:3px 0;font-size:13px}
.keys-row>span:first-child{display:flex;flex-wrap:wrap;gap:4px}
.keys-row kbd{min-width:24px;padding:2px 7px;border-radius:7px;text-align:center;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:11.5px;font-weight:700;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.45)}
.keys-anchor{position:relative;display:inline-flex}
/* erstes Match: alles abgedunkelt, nur der Tastatur-Knopf und die Erklärung darunter bleiben hell */
.keys-dim{position:fixed;inset:0;z-index:4;background:rgba(3,18,45,.55);cursor:pointer;animation:keys-in .35s ease-out}
.keys-anchor.spot{z-index:5}
.ov-bar .keys-anchor.spot>.gl{box-shadow:0 0 0 3px #fff,0 0 0 8px rgba(251,160,213,.75),0 0 26px 10px rgba(251,160,213,.55)}
.keys-hint{position:absolute;right:-6px;top:calc(100% + 18px);width:min(280px,calc(100vw - 24px));display:flex;flex-direction:column;gap:11px;padding:15px 16px 16px;border-radius:18px;text-align:left;isolation:isolate;
  color:#fff;animation:keys-in .35s ease-out}
/* Glasfläche und Rand reichen 9 px (Spitze) über die Karte hinaus; Form kommt aus Keys.jsx */
.keys-glass{position:absolute;left:0;right:0;top:-9px;bottom:0;z-index:-1;background:rgba(38,108,196,.45);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}   /* gleiches Glas wie .glass-card */
.ov-bar .keys-edge{position:absolute;left:0;top:-9px;width:auto;height:auto;overflow:visible;pointer-events:none;fill:none;stroke:var(--line);stroke-width:1.5;stroke-linejoin:round}
.keys-hint b{display:block;font-size:19px;line-height:1.25}
.keys-intro{display:block;margin-top:2px;font-size:13.5px;color:#fdd3eb;font-weight:700}
.keys-hint p{margin:0;font-size:13.5px;line-height:1.9}
.keys-chip,.keys-hint p kbd{display:inline-grid;place-items:center;min-width:26px;height:22px;padding:0 6px;margin:0 1px;vertical-align:middle;border-radius:7px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.45);font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12px;font-weight:700;line-height:1}
.keys-safe{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:rgba(8,40,82,.28);border:1px solid rgba(255,255,255,.14);font-size:13px;font-weight:600;line-height:1.4}
.keys-safe svg{flex:none;color:#8ff0c4}
.keys-hint .keys-safe .keys-secs{flex:none;margin-left:auto;min-width:50px;padding:4px 8px;border-radius:999px;text-align:center;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;color:#bff5da;background:rgba(143,240,196,.16);border:1px solid rgba(143,240,196,.5)}
.ov-bar .keys-hint button:not(.b){height:38px;border-radius:999px;border:1px solid #fcc5e5;background:linear-gradient(180deg,#fba0d5,#dc5da7);color:#fff;font-weight:700;cursor:pointer}
@keyframes keys-in{from{opacity:0}to{opacity:1}}

/* Ladeanzeige beim Öffnen (über allem, bis die Arena flüssig läuft) */
.loader{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;
  background:linear-gradient(180deg,#13519b,#2f9ff0);transition:opacity .45s ease}
.loader.out{opacity:0;pointer-events:none}
.loader-logo{width:min(300px,70vw);height:auto}
.loader-spin{width:42px;height:42px;border-radius:50%;border:4px solid rgba(255,255,255,.22);border-top-color:#f37fc0;animation:loader-spin .8s linear infinite}
@keyframes loader-spin{to{transform:rotate(360deg)}}
.loader-txt{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.85)}
@media (prefers-reduced-motion:reduce){.loader-spin{animation-duration:2.4s}}
/* Spielen-Knopf: kleine Ladeanzeige, solange die Charakterauswahl noch vorbereitet wird */
.b.play.loading{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.play-spin{width:20px;height:20px;border-radius:50%;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;animation:play-spin .7s linear infinite}
@keyframes play-spin{to{transform:rotate(360deg)}}

/* Ton-Menü unter dem Lautstärke-Knopf: je ein Schalter für Geräusche und Musik */
.snd-anchor{position:relative;display:inline-flex}
.snd-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:75;min-width:236px;padding:6px;display:flex;flex-direction:column;gap:2px}
/* Alles stumm: ganze Breite, mit Tasten-Hinweis M; aktiv (alles aus) rosa */
.ov-bar .snd-menu button.snd-all{height:40px;margin-bottom:4px;padding:0 10px 0 12px;display:flex;align-items:center;gap:10px;border:none;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.ov-bar .snd-menu button.snd-all:hover{background:rgba(255,255,255,.24)}
.ov-bar .snd-menu button.snd-all.on{background:linear-gradient(180deg,#fba0d5,#dc5da7)}
.snd-all span{flex:1;text-align:left}
.snd-all kbd{font:inherit;font-size:11px;font-weight:800;padding:2px 6px;border-radius:6px;background:rgba(4,24,60,.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.snd-ch{display:flex;flex-direction:column;gap:4px;padding:6px 8px 8px 10px}
.snd-name{font-size:13px;font-weight:700}
.snd-line{display:flex;align-items:center;gap:10px}
.ov-bar .snd-menu button.snd-spk{flex:none;width:28px;height:28px;padding:0;display:grid;place-items:center;border:none;border-radius:50%;cursor:pointer;color:#fff;background:linear-gradient(180deg,#fba0d5,#dc5da7)}
.ov-bar .snd-menu button.snd-spk.off{background:rgba(4,24,60,.45);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);color:rgba(255,255,255,.75)}
.ov-bar .snd-menu button.snd-spk:hover{filter:brightness(1.08)}
.snd-vol{-webkit-appearance:none;appearance:none;flex:1;min-width:0;margin:0;height:6px;border-radius:999px;cursor:pointer;outline:none;
  background:linear-gradient(#fba0d5,#fba0d5) left/var(--v) 100% no-repeat,rgba(4,24,60,.45);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.snd-vol::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(4,30,70,.45)}
.snd-vol::-moz-range-thumb{width:16px;height:16px;border:none;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(4,30,70,.45)}
.snd-vol:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px rgba(251,160,213,.7)}
.ov-bar .snd-menu button.snd-row{height:40px;padding:0 10px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:none;border-radius:10px;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.ov-bar .snd-menu button.snd-row:hover{background:rgba(255,255,255,.18)}
.snd-row i{position:relative;flex:none;width:36px;height:20px;border-radius:999px;background:rgba(4,24,60,.45);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);transition:background .15s}
.snd-row i::after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s}
.snd-row[aria-checked=true] i{background:linear-gradient(180deg,#fba0d5,#dc5da7)}
.snd-row[aria-checked=true] i::after{transform:translateX(16px)}
.snd-spk svg{width:15px;height:15px}
/* Song-Zeile: Zurück · Name · Vor (Knöpfe stehen im Markup vor dem Namen, order sortiert) */
.snd-skip{display:flex;align-items:center;gap:10px;margin-top:6px;width:0;min-width:100%}
.ov-bar .snd-menu button.snd-step{flex:none;width:28px;height:28px;padding:0;display:grid;place-items:center;border:none;border-radius:50%;cursor:pointer;color:#fff;background:rgba(255,255,255,.18)}
.ov-bar .snd-menu button.snd-step:hover:not(:disabled){background:rgba(255,255,255,.3)}
.ov-bar .snd-menu button.snd-step:disabled{opacity:.4;cursor:default}
.snd-step svg{width:15px;height:15px}
.snd-step.prev{order:1}
.snd-song{order:2;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:12px;font-weight:700}
.snd-step.next{order:3}
