/* STUFENSTURM – Spielfläche und HUD. Menü und Einstellungen: ../_sdk/menu.css (für alle Spiele gleich). */
:root { --ink: #0b0c0e; --lime: #d1ff69; --coral: #ff5d47; --gold: #ffd166; --paper: #f4f4ef; --muted: #a3a7ab; --edge: #ffffff24; --head: 'Space Grotesk', system-ui, sans-serif; --safe-top: 0px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0b0c0e; color: var(--paper); font-family: system-ui, 'Segoe UI', sans-serif; -webkit-tap-highlight-color: transparent; user-select: none; }
html[data-bg="gruen"], html[data-bg="gruen"] body { background: #00ff00; }
html[data-bg="durchsichtig"], html[data-bg="durchsichtig"] body { background: transparent; }
#game { position: fixed; left: 0; top: var(--cv-cam-top, 0px); width: 100%; height: calc(100% - var(--cv-cam-top, 0px) - var(--cv-cam-bottom, 0px)); display: block; touch-action: none; }
[hidden] { display: none !important; }
#hud { position: fixed; left: 0; right: 0; top: var(--cv-cam-top, 0px); bottom: var(--cv-cam-bottom, 0px); z-index: 20; pointer-events: none; container-type: size; }
html[data-stream][data-game-orientation=hoch] { --safe-top: 11cqh; }
html[data-facecam="oben"][data-game-orientation=hoch] { --safe-top: 0px; }

/* Oben: Wins und der große Stufenzähler */
.top { position: absolute; top: calc(var(--safe-top) + 10px); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; width: min(560px, 80cqw); }
#wins { display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 12px; border-radius: 999px; background: rgba(11,12,14,.86); border: 3px solid var(--gold); box-shadow: 0 4px 0 #0b0c0e66; }
.w-lbl { font: 800 12px var(--head); letter-spacing: .12em; color: var(--gold); }
#w-val { display: flex; align-items: baseline; gap: 5px; }
#w-val b { font: 900 30px/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
#w-val b.neg { color: var(--coral); }
#w-val small { font: 800 20px var(--head); color: #fff; opacity: .8; }
#wins.good { animation: bumpG .7s ease-out; } #wins.bad { animation: bumpR .7s ease-out; }
@keyframes bumpG { 30% { transform: scale(1.25); box-shadow: 0 0 40px var(--gold); } }
@keyframes bumpR { 30% { transform: scale(1.2) rotate(-3deg); border-color: var(--coral); box-shadow: 0 0 40px var(--coral); } }
#counter { display: grid; justify-items: center; gap: 4px; }
.c-num { display: flex; align-items: baseline; gap: 8px; font: 900 64px/1 var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.c-num b, .c-sl { background: linear-gradient(180deg, #fff7c8 0%, #ffd166 45%, #e09a1a 55%, #ffd77a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px #5a2a08; paint-order: stroke fill; filter: drop-shadow(0 4px 0 #3a1a0499) drop-shadow(0 0 18px #ffb84a55); }
.c-num .c-goal { opacity: .92; }
.c-sl { font-size: .8em; }
#counter.good .c-num { animation: bumpG .6s ease-out; } #counter.bad .c-num { animation: bumpR .6s ease-out; }
.c-bar { position: relative; width: min(340px, 64cqw); height: 9px; border-radius: 99px; background: rgba(11,12,14,.6); border: 1px solid #ffffff33; }
.c-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #ffb84a, var(--gold), #fff3b0); box-shadow: 0 0 10px #ffd16699; transition: width .2s linear; }
.c-bar em { position: absolute; top: -5px; width: 3px; height: 19px; border-radius: 2px; background: #ff7ab6; transform: translateX(-50%); }
.c-bar em::after { content: '🏁'; position: absolute; left: 4px; top: -16px; font-size: 12px; font-style: normal; }
.c-biome { font: 700 11px var(--head); padding: 2px 10px; border-radius: 999px; background: rgba(11,12,14,.65); color: #e9ecef; }
#h-status { position: absolute; top: calc(var(--safe-top) + 160px); left: 50%; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 92cqw; }
#h-status .st { padding: 4px 11px; border-radius: 999px; background: rgba(11,12,14,.84); border: 2px solid var(--edge); font: 800 13px var(--head); }
#h-status .sh { border-color: #7ad7ff; } #h-status .dbl { border-color: #7af7ff; color: #bffcff; } #h-status .jail { border-color: var(--coral); color: #ffb3a8; animation: pulse .8s ease-in-out infinite; }

/* Sturz-Zähler – der Clip-Moment */
#fall { position: absolute; left: 50%; top: 50cqh; width: max-content; max-width: 94cqw; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; animation: fallIn .25s ease-out; }
#fall b { font: 900 64px/1 var(--head); color: var(--coral); -webkit-text-stroke: 3px #0b0c0e; paint-order: stroke fill; text-shadow: 6px 6px 0 #0b0c0e; font-variant-numeric: tabular-nums; }
#fall.big b { font-size: 104px; animation: shakeTxt .12s infinite; }
#fall span { padding: 4px 12px; border-radius: 999px; background: rgba(11,12,14,.85); font: 800 15px var(--head); border: 2px solid var(--coral); white-space: nowrap; }
@keyframes fallIn { from { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } }
@keyframes shakeTxt { 50% { transform: translate(2px, -2px) rotate(-1deg); } }
#flash { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
#flash.on { animation: flash .35s ease-out; }
@keyframes flash { from { opacity: .42; } to { opacity: 0; } }

/* Banner, Feed, Zahlen */
#banner { position: absolute; left: 50%; top: 30cqh; width: max-content; max-width: 92cqw; transform: translate(-50%, -50%) scale(.9); display: grid; justify-items: center; gap: 4px; opacity: 0; transition: opacity .25s, transform .25s; text-align: center; }
#banner.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#banner b { font: 900 34px/1.05 var(--head); -webkit-text-stroke: 2px #0b0c0e; paint-order: stroke fill; text-shadow: 4px 4px 0 #0b0c0e; }
#banner span { padding: 3px 12px; border-radius: 999px; background: rgba(11,12,14,.8); font: 700 14px var(--head); }
#feed { position: absolute; left: 10px; bottom: 12px; display: grid; gap: 4px; width: min(300px, 70cqw); }
.fi { display: flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 12px; background: rgba(11,12,14,.78); border-left: 4px solid #ffffff55; font: 700 13px var(--head); animation: feedIn .3s ease-out; overflow: hidden; }
.fi span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi.hoch { border-left-color: var(--lime); } .fi.runter { border-left-color: var(--coral); } .fi.spass { border-left-color: #b48cff; }
.fi:nth-child(n+4) { opacity: .6; }
@keyframes feedIn { from { transform: translateX(-30px); opacity: 0; } }
#pops .pop { position: absolute; transform: translate(-50%, -50%); font: 900 22px var(--head); -webkit-text-stroke: 2px #0b0c0e; paint-order: stroke fill; white-space: nowrap; animation: popUp 1.6s ease-out forwards; }
#pops .pop.big { font-size: 38px; }
@keyframes popUp { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -160%) scale(1); } }
#taphint { position: absolute; left: 50%; bottom: 14cqh; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(11,12,14,.72); font: 700 13px var(--head); animation: pulse 1.6s ease-in-out infinite; white-space: nowrap; }
@keyframes pulse { 50% { opacity: .55; } }
.demo #taphint, .obs #taphint, html[data-stream] #taphint { display: none; }

.hud-buttons { position: absolute; top: calc(var(--safe-top) + 10px); right: 10px; display: flex; flex-direction: column; gap: 6px; pointer-events: auto; }
html[data-game-orientation=quer] .hud-buttons { flex-direction: row; }
.hud-buttons button { width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 2px solid var(--edge); background: rgba(11,12,14,.75); color: #fff; font-size: 17px; cursor: pointer; }
.hud-buttons button:hover { border-color: var(--lime); }
.demo .hud-buttons, .obs .hud-buttons { display: none; }

/* Ziel-Tafel */
#done { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.d-card { width: min(460px, 90cqw); padding: 18px 20px; border-radius: 22px; background: rgba(11,12,14,.9); border: 3px solid var(--gold); box-shadow: 8px 8px 0 #ffd16644; display: grid; gap: 12px; text-align: center; animation: fallIn .4s ease-out; margin-top: 18cqh; }
.d-kicker { font: 900 22px var(--head); color: var(--gold); }
.d-wins { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.d-wins b { font: 900 54px/1 var(--head); color: #fff; } .d-wins b.neg { color: var(--coral); } .d-wins small { font: 800 26px var(--head); color: var(--muted); }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-stats div { display: grid; padding: 6px; border-radius: 12px; background: #ffffff0d; }
.d-stats b { font: 800 22px var(--head); } .d-stats span { font: 700 11px var(--head); color: var(--muted); }
.d-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.d-lists h3 { margin: 0 0 4px; font: 800 13px var(--head); }
.d-lists ol { margin: 0; padding-left: 18px; font: 700 13px var(--head); }
.d-lists b { color: var(--lime); } .d-lists div + div b { color: var(--coral); }
.d-card small { color: var(--muted); font-weight: 600; }
#watermark { position: fixed; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 4; pointer-events: none; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* Querformat: Zähler oben Mitte, Geschenk-Anzeige links */
@container (max-width: 980px) { html[data-game-orientation=quer] .c-num { font-size: 52px; } }

/* ---------- Hochformat (Handy und Stream-Fenster 9:16) ---------- */
html[data-game-orientation=hoch] .top { top: calc(var(--safe-top) + 8px); width: calc(100cqw - 110px); gap: 4px; }
html[data-game-orientation=hoch] #wins { padding: 3px 12px 3px 10px; border-width: 2px; }
html[data-game-orientation=hoch] #w-val b { font-size: 22px; } html[data-game-orientation=hoch] #w-val small { font-size: 15px; }
html[data-game-orientation=hoch] .w-lbl { font-size: 10px; }
html[data-game-orientation=hoch] .c-num { font-size: clamp(34px, 11cqw, 52px); gap: 5px; }
html[data-game-orientation=hoch] .c-bar { width: min(260px, 62cqw); height: 7px; }
html[data-game-orientation=hoch] .c-biome { font-size: 10px; }
html[data-game-orientation=hoch] .hud-buttons { top: calc(var(--safe-top) + 8px); right: 8px; gap: 5px; }
html[data-game-orientation=hoch] .hud-buttons button { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
html[data-game-orientation=hoch] #h-status { top: calc(var(--safe-top) + 128px); }
html[data-game-orientation=hoch] #h-status .st { font-size: 11px; padding: 3px 9px; }
html[data-game-orientation=hoch] body #cv-gifts { top: calc(var(--cv-cam-top, 0px) + var(--safe-top) + 24cqh); transform: scale(.74); transform-origin: top left; }
html[data-game-orientation=hoch] #feed { bottom: 10px; width: min(250px, 66cqw); }
html[data-game-orientation=hoch] #feed .fi { font-size: 12px; padding: 3px 8px; }
html[data-game-orientation=hoch] #feed .fi:nth-child(n+4) { display: none; }
html[data-game-orientation=hoch] #banner b { font-size: 24px; }
html[data-game-orientation=hoch] #banner span { font-size: 12px; }
html[data-game-orientation=hoch] #fall b { font-size: 50px; }
html[data-game-orientation=hoch] #fall.big b { font-size: 78px; }
html[data-game-orientation=hoch] .d-card { margin: 0; }
html[data-game-orientation=hoch] #taphint { bottom: 30cqh; }
/* Stream-Fenster im Hochformat: unten liegen TikTok-Kommentare (27 %), rechts die Symbole */
html[data-stream][data-game-orientation=hoch] #feed { bottom: 27cqh; width: 46cqw; }
html[data-stream][data-game-orientation=hoch] #feed .fi:nth-child(n+3) { display: none; }
html[data-stream][data-game-orientation=hoch] .d-card { margin-bottom: 14cqh; }

/* ---------- Geschenk-Meldung: jede Chat-Aktion fliegt groß ins Bild ---------- */
#alert { position: absolute; left: 50%; top: calc(var(--safe-top) + 178px); translate: -50% 0; width: max-content; display: none; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: linear-gradient(180deg, rgba(20,22,28,.95), rgba(11,12,14,.92)); border: 3px solid #fff; box-shadow: 0 8px 0 #0b0c0e55, 0 0 30px #ffffff22; max-width: 90cqw; z-index: 2; }
#alert.on { display: flex; animation: alIn .5s cubic-bezier(.2, 1.6, .4, 1); }
#alert.out { animation: alOut .26s ease-in forwards; }
#alert.hoch { border-color: var(--lime); box-shadow: 0 8px 0 #0b0c0e55, 0 0 34px #d1ff6955; }
#alert.runter { border-color: var(--coral); box-shadow: 0 8px 0 #0b0c0e55, 0 0 34px #ff5d4766; }
#alert.spass { border-color: #b48cff; box-shadow: 0 8px 0 #0b0c0e55, 0 0 34px #b48cff66; }
.al-ic { position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #ffffff14; overflow: hidden; }
.al-ic span { position: relative; font-size: 34px; animation: alPop .6s .1s cubic-bezier(.2, 1.8, .4, 1) both; }
.al-rays { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg, #ffffff30 0 12deg, transparent 12deg 30deg); animation: spin 3s linear infinite; }
.hoch .al-rays { background: repeating-conic-gradient(from 0deg, #d1ff6955 0 12deg, transparent 12deg 30deg); }
.runter .al-rays { background: repeating-conic-gradient(from 0deg, #ff5d4766 0 12deg, transparent 12deg 30deg); }
.al-txt { display: grid; gap: 1px; min-width: 0; }
.al-txt b { font: 900 21px/1.1 var(--head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-txt span { font: 800 15px var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoch .al-txt span { color: var(--lime); } .runter .al-txt span { color: #ff9a8a; } .spass .al-txt span { color: #d4bfff; }
.al-txt em { font-style: normal; color: var(--gold); }
#alert.big { padding: 10px 26px 10px 10px; border-width: 4px; }
#alert.big .al-ic { width: 74px; height: 74px; } #alert.big .al-ic span { font-size: 46px; }
#alert.big .al-txt b { font-size: 26px; } #alert.big .al-txt span { font-size: 18px; }
#alert.big.on { animation: alInBig .6s cubic-bezier(.2, 1.6, .4, 1), alGlow 1s .6s ease-in-out infinite alternate; }
@keyframes alIn { from { transform: translateY(-24px) scale(.4); opacity: 0; } }
@keyframes alInBig { 0% { transform: scale(2.2) rotate(-4deg); opacity: 0; } 60% { transform: scale(.94) rotate(1deg); opacity: 1; } }
@keyframes alOut { to { transform: translateY(-14px) scale(.85); opacity: 0; } }
@keyframes alPop { from { transform: scale(0) rotate(-30deg); } }
@keyframes alGlow { to { filter: brightness(1.18); } }
@keyframes spin { to { transform: rotate(360deg); } }
html[data-game-orientation=hoch] #alert { top: calc(var(--safe-top) + 150px); left: auto; right: 8px; translate: none; max-width: calc(100cqw - 16px); gap: 8px; padding: 5px 14px 5px 5px; transform-origin: right center; }
html[data-game-orientation=hoch] .al-ic { width: 44px; height: 44px; } html[data-game-orientation=hoch] .al-ic span { font-size: 26px; }
html[data-game-orientation=hoch] .al-txt b { font-size: 16px; } html[data-game-orientation=hoch] .al-txt span { font-size: 12px; }
html[data-game-orientation=hoch] #alert.big .al-ic { width: 54px; height: 54px; } html[data-game-orientation=hoch] #alert.big .al-ic span { font-size: 32px; }
html[data-game-orientation=hoch] #alert.big .al-txt b { font-size: 19px; } html[data-game-orientation=hoch] #alert.big .al-txt span { font-size: 13px; }
/* Ziel-Tafel: eigene Einblendung (ohne Verschiebung) */
.d-card { animation: cardIn .45s cubic-bezier(.2, 1.4, .4, 1) !important; }
@keyframes cardIn { from { transform: scale(.7); opacity: 0; } }
#done:not([hidden]) ~ * #alert, #done:not([hidden]) + #alert { display: none; }

/* ---------- WOW: Kino-Moment, Speed-Linien, Riesenname, Konfetti-Kanonen, Hype ---------- */
#cine i { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .22s ease-out; z-index: 3; }
#cine i:first-child { top: 0; } #cine i:last-child { bottom: 0; }
#cine.on i { height: 8cqh; }
#speed { position: absolute; inset: -25%; opacity: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0 3deg, color-mix(in srgb, var(--c, #fff) 60%, transparent) 3deg 3.5deg, transparent 3.5deg 8deg); -webkit-mask: radial-gradient(circle at 50% 50%, transparent 24%, #000 62%); mask: radial-gradient(circle at 50% 50%, transparent 24%, #000 62%); }
#speed.on { animation: speedL 1.7s ease-out forwards; }
@keyframes speedL { 0% { opacity: 0; transform: scale(1.35) rotate(0); } 12% { opacity: .85; } 100% { opacity: 0; transform: scale(1) rotate(10deg); } }
#bigname { position: absolute; left: 50%; top: 46cqh; translate: -50% -50%; display: grid; justify-items: center; gap: 2px; opacity: 0; pointer-events: none; width: max-content; max-width: 96cqw; text-align: center; z-index: 3; }
#bigname.on { animation: bigIn 1.7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
#bigname small { font: 900 24px var(--head); color: #fff; -webkit-text-stroke: 2px #0b0c0e; paint-order: stroke fill; text-shadow: 3px 3px 0 #0b0c0e; }
#bigname b { font: 900 66px/1 var(--head); color: var(--c); -webkit-text-stroke: 3px #0b0c0e; paint-order: stroke fill; text-shadow: 0 0 34px var(--c), 6px 6px 0 #0b0c0e; letter-spacing: .01em; white-space: nowrap; }
@keyframes bigIn { 0% { opacity: 0; transform: scale(2.8) rotate(-6deg); } 16% { opacity: 1; transform: scale(.94) rotate(1deg); } 24% { transform: scale(1.04); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }
html[data-game-orientation=hoch] #bigname small { font-size: 16px; } html[data-game-orientation=hoch] #bigname b { font-size: clamp(26px, 9cqw, 40px); white-space: normal; }
#pops .cf { position: absolute; bottom: 4cqh; width: 10px; height: 17px; border-radius: 2px; animation: cfFly 2.3s cubic-bezier(.15, .75, .35, 1) forwards; }
@keyframes cfFly { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
#hype { position: relative; width: min(230px, 52cqw); height: 15px; border-radius: 99px; background: rgba(11,12,14,.7); border: 1px solid #ffffff33; overflow: hidden; }
#hype i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #ff5d47, #ffb84a, #ffd166); transition: width .3s; }
#hype span { position: relative; display: block; text-align: center; font: 900 9px/15px var(--head); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 2px #000; }
html.hype #hype { border-color: #ffd166; box-shadow: 0 0 16px #ffd166aa; }
html.hype #hype i { background: linear-gradient(90deg, #ffd166, #fff3b0, #ffd166); animation: pulse .45s infinite; }
html.hype #hud::after { content: ''; position: absolute; inset: 0; border: 6px solid #ffd166; box-shadow: inset 0 0 70px #ffb84aaa; animation: pulse .6s infinite; pointer-events: none; }
html.hype .c-num { filter: drop-shadow(0 0 22px #ffd166); }
html[data-game-orientation=hoch] #hype { height: 12px; } html[data-game-orientation=hoch] #hype span { font-size: 8px; line-height: 12px; }

/* Abstände nach Hype-Leiste */
#h-status { top: calc(var(--safe-top) + 192px); }
#alert { top: calc(var(--safe-top) + 228px); }
html[data-game-orientation=hoch] #h-status { top: calc(var(--safe-top) + 146px); }
html[data-game-orientation=hoch] #alert { top: calc(var(--safe-top) + 176px); }

/* ---------- Meldungen im STUFENSTURM-Stil (gold statt grün, Nutzerwunsch 17.11.2026) ---------- */
#alert, #alert.hoch, #alert.runter, #alert.spass { background: linear-gradient(180deg, rgba(58,26,12,.95), rgba(24,11,6,.95)); border: 3px solid #ffd166; border-radius: 20px; box-shadow: 0 6px 0 #3a1a0499, 0 0 26px #ffb84a55, inset 0 1px 0 #fff3b066; }
#alert .al-ic { background: radial-gradient(circle at 50% 40%, #5a2a10, #2a1006); box-shadow: inset 0 0 0 3px #ffd166; }
#alert.runter .al-ic { box-shadow: inset 0 0 0 3px #ff6a4a; }
#alert .al-rays { background: repeating-conic-gradient(from 0deg, #ffd16640 0 12deg, transparent 12deg 30deg); }
#alert.runter .al-rays { background: repeating-conic-gradient(from 0deg, #ff6a4a40 0 12deg, transparent 12deg 30deg); }
#alert .al-txt b { color: #fff7dc; }
#alert.hoch .al-txt span { color: #ffd77a; } #alert.runter .al-txt span { color: #ffab96; } #alert.spass .al-txt span { color: #e2ccff; }
#h-status .st, #h-status .sh, #h-status .dbl, #h-status .jail { background: linear-gradient(180deg, rgba(58,26,12,.92), rgba(24,11,6,.92)); border: 2px solid #ffd16699; color: #fff3d0; }
#h-status .jail { border-color: #ff6a4a; color: #ffc0b0; }
#bigname small { color: #fff7dc; }
html[data-game-orientation=hoch] #bigname { top: 58cqh; }

/* ---------- Aufgeräumt (Nutzerwunsch 17.11.2026: „cleaner“) ----------
   Oben nur Wins + Zähler + schlanke Leisten, Mitte frei, Meldungen rechts, Liste unten links dezent. */
.c-biome { display: none; }
#counter { gap: 5px; }
.c-bar { height: 7px; border: 0; background: rgba(11,12,14,.45); }
#hype { height: 4px; width: min(340px, 64cqw); border: 0; background: rgba(11,12,14,.35); margin-top: -1px; }
#hype span { display: none; }
html.hype #hype { height: 18px; border: 2px solid #ffd166; }
html.hype #hype span { display: block; font-size: 10px; line-height: 14px; }
html[data-game-orientation=hoch] #hype { width: min(260px, 62cqw); }
#h-status { top: calc(var(--safe-top) + 150px); gap: 5px; }
#h-status .st, #h-status .sh, #h-status .dbl, #h-status .jail { padding: 2px 10px; font-size: 12px; border-width: 1px; }
html[data-game-orientation=hoch] #h-status { top: calc(var(--safe-top) + 118px); }
/* Meldungen als goldene Hinweise am rechten Rand */
#alert, html[data-game-orientation=hoch] #alert { left: auto; right: 14px; translate: none; top: calc(var(--safe-top) + 70px); transform-origin: right center; max-width: min(360px, 70cqw); padding: 6px 16px 6px 6px; gap: 10px; }
#alert .al-ic { width: 46px; height: 46px; } #alert .al-ic span { font-size: 26px; }
#alert .al-txt b { font-size: 17px; } #alert .al-txt span { font-size: 13px; }
@keyframes alIn { from { transform: translateX(40px) scale(.85); opacity: 0; } }
@keyframes alOut { to { transform: translateX(30px); opacity: 0; } }
html[data-game-orientation=hoch] #alert { top: calc(var(--safe-top) + 150px); right: 8px; }
html[data-game-orientation=hoch] #alert .al-ic { width: 38px; height: 38px; } html[data-game-orientation=hoch] #alert .al-ic span { font-size: 21px; }
html[data-game-orientation=hoch] #alert .al-txt b { font-size: 14px; } html[data-game-orientation=hoch] #alert .al-txt span { font-size: 11px; }
/* Liste unten links: ohne Kästen, nur Schrift mit Schatten */
#feed { gap: 2px; width: min(280px, 60cqw); }
.fi, .fi.hoch, .fi.runter, .fi.spass { background: none; border: 0; padding: 1px 4px; font: 700 13px var(--head); color: #fff7dc; text-shadow: 0 1px 2px #000, 0 0 8px #000a; }
.fi i { font-style: normal; }
.fi:nth-child(n+4) { display: none; }
.fi:nth-child(2) { opacity: .75; } .fi:nth-child(3) { opacity: .5; }
html[data-game-orientation=hoch] #feed .fi { font-size: 11px; padding: 0 4px; }
/* Steuerungshinweis klein und unaufdringlich */
#taphint { font-size: 11px; padding: 4px 10px; background: rgba(11,12,14,.5); }
/* Geschenk-Anzeige im gleichen Gold-Stil */
body #cv-gifts .cvg-card, body #cv-gifts .cvg-ia-row { background: linear-gradient(180deg, rgba(48,22,10,.9), rgba(22,10,5,.9)); border: 1px solid #ffd16655; border-left: 3px solid var(--gift-accent, #ffd166); box-shadow: 0 4px 14px #0007; }
body #cv-gifts .cvg-card.tone-help { --gift-accent: #ffd166; }
body #cv-gifts .cvg-card.tone-stoer { --gift-accent: #ff6a4a; }
body #cv-gifts .cvg-source { background: rgba(48,22,10,.9); color: #ffe6a8; }
body #cv-gifts .cvg-dots i.on { background: #ffd166; }
html[data-stream][data-game-orientation=hoch] #feed { display: none; }

/* Geschenk-Meldung ohne Kasten (Nutzerwunsch 17.11.2026): nur Symbol + Schrift mit Schatten, rechts, platzsparend */
#alert, #alert.hoch, #alert.runter, #alert.spass, html[data-game-orientation=hoch] #alert { background: none; border: 0; box-shadow: none; padding: 0; gap: 8px; border-radius: 0; flex-direction: row-reverse; text-align: right; }
#alert .al-ic, html[data-game-orientation=hoch] #alert .al-ic { width: auto; height: auto; background: none; box-shadow: none; overflow: visible; }
#alert .al-rays { display: none; }
#alert .al-ic span { font-size: 34px; filter: drop-shadow(0 2px 3px #000) drop-shadow(0 0 10px #ffb84a99); }
#alert .al-txt b { font-size: 19px; color: #fff; text-shadow: 0 2px 3px #000, 0 0 10px #000b; -webkit-text-stroke: 0; }
#alert .al-txt span { font-size: 14px; text-shadow: 0 1px 2px #000, 0 0 8px #000c; }
#alert.hoch .al-txt span { color: #ffd77a; } #alert.runter .al-txt span { color: #ff9a82; } #alert.spass .al-txt span { color: #d9c2ff; }
html[data-game-orientation=hoch] #alert .al-ic span { font-size: 26px; }
html[data-game-orientation=hoch] #alert .al-txt b { font-size: 15px; } html[data-game-orientation=hoch] #alert .al-txt span { font-size: 12px; }
html[data-game-orientation=hoch]:has(#cv-gifts:not([hidden])) #bigname { left: 66%; max-width: 64cqw; }
