/* flippingreality Kosmos – Couch (Mehrspieler-Fenster, Touch-Steuerung, Nur-Controller). Nur Klassen (CSP). */
.cz-lobby { position: fixed; inset: 0; z-index: 30; background: rgba(8, 8, 24, .82); display: grid; place-items: center; padding: 12px; overflow: auto; }
.cz-karte { position: relative; width: min(100%, 460px); background: #171a2e; color: #eef; border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 10px; text-align: center; }
.cz-karte h2 { margin: 0 30px; font-size: 20px; }
.cz-zu { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #2a2f4a; color: #fff; font-size: 16px; cursor: pointer; }
.cz-wahl { display: flex; flex-direction: column; gap: 8px; }
.cz-wahl.zwei { flex-direction: row; }
.cz-wahl button { flex: 1; border: 2px solid #2f3557; background: #20243d; color: #fff; border-radius: 12px; padding: 10px 12px; text-align: left; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; }
.cz-wahl button:hover, .cz-wahl button:focus-visible { border-color: #ffd43b; }
.cz-wahl b { font-size: 15px; }
.cz-wahl small { color: #a7acc8; font-size: 12px; }
.cz-oder { color: #8a90b0; font-size: 12px; margin-top: 4px; }
.cz-code input { width: 160px; text-align: center; font: 800 26px/1 ui-monospace, Consolas, monospace; letter-spacing: .2em; text-transform: uppercase; padding: 8px; border-radius: 10px; border: 2px solid #2f3557; background: #0e1022; color: #ffd43b; }
.cz-raum { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cz-raum span { color: #a7acc8; font-size: 12px; }
.cz-raum b { font: 900 40px/1 ui-monospace, Consolas, monospace; letter-spacing: .18em; color: #ffd43b; }
.cz-raum small { color: #a7acc8; font-size: 12px; }
.cz-link, .cz-weg, .cz-los { border: 0; border-radius: 999px; padding: 9px 16px; font: 700 14px/1 system-ui, sans-serif; cursor: pointer; }
.cz-link, .cz-weg { background: #2a2f4a; color: #fff; }
.cz-los { background: #ffd43b; color: #1b1b2b; padding: 12px 18px; font-size: 16px; }
.cz-los:disabled { opacity: .5; }
.cz-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.cz-liste li { display: flex; align-items: center; gap: 10px; background: #20243d; border-radius: 10px; padding: 4px 10px; }
.cz-liste li.leer { color: #8a90b0; padding: 10px; }
.cz-liste span { flex: 1; font-weight: 700; }
.cz-liste em { font-style: normal; color: #a7acc8; font-size: 13px; }
.cz-fig { width: 24px; height: 36px; image-rendering: pixelated; }
.cz-hinw { margin: 0; color: #cfd3ee; font-size: 13px; }
.cz-stat { margin: 0; color: #a7acc8; font-size: 13px; min-height: 0; }
.cz-err { margin: 0; color: #ff8787; font-size: 13px; font-weight: 700; }
.cz-stat:empty, .cz-err:empty { display: none; }

/* Touch-Steuerung über dem Spiel */
.cz-pad { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: space-between; align-items: flex-end; padding: 8px max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); pointer-events: none; user-select: none; -webkit-user-select: none; touch-action: none; }
.cz-seite { display: flex; gap: 8px; align-items: flex-end; pointer-events: auto; flex-wrap: wrap; max-width: 50%; }
.cz-seite.r { justify-content: flex-end; }
.cz-t { width: clamp(54px, 15vw, 74px); height: clamp(54px, 15vw, 74px); border-radius: 50%; border: 2px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .15); color: #fff; font: 800 clamp(18px, 5.4vw, 26px)/1 system-ui, sans-serif; backdrop-filter: blur(2px); touch-action: none; -webkit-tap-highlight-color: transparent; }
.cz-t.an { background: rgba(255, 212, 59, .9); color: #1b1b2b; }
.cz-t.breit { width: clamp(80px, 22vw, 110px); border-radius: 22px; }
.cz-t.klein { width: clamp(44px, 12vw, 56px); height: clamp(44px, 12vw, 56px); font-size: 16px; }

/* Nur-Controller: ganzer Bildschirm ist Steuerung */
.cz-ctrl { position: fixed; inset: 0; z-index: 25; background: radial-gradient(circle at 50% 30%, #262b4d, #0d0f20); color: #fff; display: flex; flex-direction: column; touch-action: none; user-select: none; -webkit-user-select: none; }
.cz-ckopf { display: flex; align-items: center; gap: 10px; padding: max(8px, env(safe-area-inset-top)) 14px 8px; }
.cz-ckopf canvas { width: 24px; height: 36px; image-rendering: pixelated; }
.cz-ckopf b { font-size: 16px; }
.cz-cstat { flex: 1; text-align: right; color: #ffd43b; font-weight: 700; font-size: 14px; }
.cz-cweg { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #2a2f4a; color: #fff; }
.cz-ctrl .cz-pad.gross { position: relative; flex: 1; align-items: center; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.cz-ctrl .cz-pad.gross .cz-seite { gap: 14px; max-width: 55%; }
.cz-ctrl .cz-pad.gross .cz-t { width: clamp(70px, 19vmin, 120px); height: clamp(70px, 19vmin, 120px); font-size: clamp(24px, 7vmin, 40px); }
.cz-ctrl .cz-pad.gross .cz-t.breit { width: clamp(110px, 30vmin, 190px); }
.cz-ctrl .cz-pad.gross .cz-t.klein { width: clamp(54px, 13vmin, 80px); height: clamp(54px, 13vmin, 80px); font-size: 20px; }
.cz-ctrl.warten .cz-pad { opacity: .45; }
.cz-cextra { display: flex; justify-content: center; gap: 10px; padding: 0 12px 6px; flex-wrap: wrap; }
.cz-cextra button { border: 0; border-radius: 999px; padding: 8px 14px; background: #2a2f4a; color: #fff; font: 700 13px/1 system-ui, sans-serif; }
.cz-lenk { height: 8px; margin: 0 20%; border-radius: 4px; background: #2a2f4a; position: relative; }
.cz-lenk i { position: absolute; top: -4px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #ffd43b; left: 50%; }
