/* ---------- Millionen-Tresor: dunkle Bühne in Smaragd und Gold ---------- */
body.vault-mode { background: radial-gradient(90% 70% at 50% 0%, #17574a, #0a2b26 55%, #051512) fixed; color: #f6ecd2; --ink: #f6ecd2; --ink2: #a9c4ba; }
body.vault-mode .pill, body.vault-mode .btn, body.vault-mode .game-pill, body.vault-mode .ps-item, body.vault-mode .res, body.vault-mode .panel, body.vault-mode .pq-head { --ink: #4b5057; color: #4b5057; }
body.vault-mode .btn.warn { color: #fff; }
.host.vault-mode #app { position: relative; z-index: 1; }
#vaultStage { position: fixed; left: 0; right: 0; top: 0; height: 74vh; z-index: 0; -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); } #vaultStage canvas { width: 100%; height: 100%; display: block; }
.vault { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.vault-ladder { position: absolute; right: 0; top: 0; width: 190px; padding: 8px; border-radius: 16px; background: rgba(5, 25, 21, .78); border: 1px solid #3c6b60; }
.vl { display: flex; justify-content: space-between; padding: 1px 12px; border-radius: 8px; font-size: clamp(12px, 1.75vh, 17px); line-height: 1.45; color: #8fb3a8; font-variant-numeric: tabular-nums; } .vl.safe { color: #fff; } .vl.done { color: #d6a13d; } .vl.cur { background: linear-gradient(180deg, #ffe29a, #d9a440); color: #3b2706; }
.vault-say { position: absolute; left: 0; top: 6px; max-width: 330px; padding: 14px 22px 16px; border-radius: 22px 22px 22px 4px; background: #fffaf0; color: #3b2d1c; font-size: 22px; line-height: 1.25; box-shadow: 0 14px 30px -14px #000; } .vault-say b { display: block; font-size: 14px; color: #9a6a14; }
.vault-sum { align-self: center; margin-bottom: 4vh; padding: 14px 54px 18px; border-radius: 26px; text-align: center; display: flex; flex-direction: column; background: rgba(5, 25, 21, .82); border: 2px solid #d6a13d; } .vault-sum b { font-size: clamp(46px, 6vw, 88px); font-weight: 900; line-height: 1.05; color: #ffd98a; } .vault-sum small { font-size: 22px; color: #b9d3ca; } .vault-sum em { font-style: normal; font-size: 20px; }
.vault-panel { width: min(1240px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.vault-q { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; min-height: 104px; padding: 10px 16px; border-radius: 18px; background: linear-gradient(180deg, #0f3d34, #08251f); border: 2px solid #d6a13d; box-shadow: 0 14px 30px -14px #000; } .vault-q h1 { margin: 0; text-align: center; text-wrap: balance; font-size: clamp(26px, 2.7vw, 44px); line-height: 1.15; font-weight: 900; }
.vq-side { display: flex; flex-direction: column; align-items: center; line-height: 1.1; color: #ffd98a; } .vq-side b { font-size: 34px; } .vq-side small { color: #b9d3ca; font-size: 15px; } .vault-q .timer { width: 76px; height: 76px; } .vault-q .timer .tb { fill: none; stroke: #24453e; } .vault-q .timer .tf { stroke: #ffd98a; } .vault-q .timer .tnum { color: #ffe9ae; } .vault-q .timer.urgent .tf { stroke: #ff6b6b; }
.vault.lock .vq-ic { animation: pulse .6s ease-in-out infinite; }
.vault-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vo { display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 8px 20px 8px 8px; border-radius: 12px; text-align: left; font-size: clamp(20px, 2vw, 30px); font-weight: 800; color: #f6ecd2; background: linear-gradient(180deg, #24574c, #143a33); border: 2px solid #4d7f73; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 18px -10px #000; transition: opacity .4s, background .3s; }
.vo b { width: 60px; align-self: stretch; min-height: 52px; display: grid; place-items: center; border-radius: 7px; color: #3b2706; background: linear-gradient(160deg, #ffe9ae, #d6a13d); flex: none; }
.vo em { margin-left: auto; font-style: normal; color: #ffd98a; }
.vault.lock .vo { animation: voWait 1s ease-in-out infinite; } @keyframes voWait { 50% { border-color: #ffd98a; } }
.vault.reveal .vault-opts > * { animation: none; }
.vo.dim { opacity: .32; } .vo.right { background: linear-gradient(180deg, #ffe29a, #d9a440); color: #3b2706; border-color: #fff1c9; box-shadow: 0 0 50px rgba(255, 206, 99, .45); } .vo.right em { color: #3b2706; }
/* Handy */
.popts.vault-opts { grid-template-columns: 1fr; gap: 10px; align-content: center; } .player .vo { font-size: 18px; min-height: 70px; width: 100%; } .player .vo b { width: 48px; min-height: 46px; } .player .vo:active, .player .vo.chosen { border-color: #ffd98a; transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .vo { animation: none !important; } }

.host.vault-mode .crowd { padding: 10px 26px 12px; } .host.vault-mode .stage-body { overflow: visible; }
@media (max-height: 800px) { .vault-q { min-height: 80px; } .vo { min-height: 58px; } .vo b { min-height: 42px; } .vault-say { font-size: 18px; max-width: 270px; } .vault-ladder { width: 160px; } .vl { line-height: 1.25; } }
