#casino-entry{position:fixed;inset:0;z-index:220;display:grid;place-items:center;overflow:hidden;isolation:isolate;color:#ffe9f6;background:#050507}
#casino-entry[hidden]{display:none}
#casino-entry .entry-media{position:absolute;inset:0;pointer-events:none}
#casino-entry video{display:block;width:100%;height:100%;object-fit:contain;background:#050507}
#casino-entry .entry-welcome{position:relative;display:grid;gap:12px;text-align:center;padding:24px;pointer-events:none}
#casino-entry .entry-welcome small{font:700 10px 'PT Read';letter-spacing:4px;color:#c9b9cc}
#casino-entry .entry-welcome strong{font:800 clamp(38px,8vw,82px) 'PT Read';letter-spacing:8px;color:#f3d493;line-height:1.1}
#casino-entry .entry-welcome span{font:13px 'PT Read';color:#d4cedc}
#casino-entry[data-phase=playing] .entry-welcome{visibility:hidden}
#casino-entry button{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right));min-height:44px;font:12px 'PT Read';background:#11121de8;color:#fff1dd;border:1px solid #b69b70;border-radius:8px;padding:10px 14px;cursor:pointer}
#casino-entry button:focus-visible{outline:2px solid #f8df9f;outline-offset:3px}
.result-life{display:flex;align-items:center;justify-content:center;gap:12px;color:#ffc5c0;font:700 16px 'PT Read';margin:8px auto}.result-life[hidden]{display:none}.result-life strong{font-size:26px;color:#ff928d}.result-life b{font-variant-numeric:tabular-nums;color:#fff1ed;min-width:3ch}.result-life small{font-size:12px;color:#cbd8e0}
.result-recovery{display:block;color:#a6e4bf;font-size:12px;margin-top:8px}
@media(max-height:500px){.result-life{font-size:12px;margin:4px auto}.result-life strong{font-size:20px}}
@media(max-height:500px) and (min-width:600px){
 #combat-result.has-coach:has(#result-life:not([hidden])) #result-life{grid-column:1;grid-row:3;margin:0}
 #combat-result.has-coach:has(#result-life:not([hidden])) #result-description{grid-row:4;max-height:80px}
 #combat-result.has-coach:has(#result-life:not([hidden])) #result-rewards{grid-row:5}
 #combat-result.has-coach:has(#result-life:not([hidden])) #battle-analysis-btn{grid-row:6}
 #combat-result.has-coach:has(#result-life:not([hidden])) #coach-result{grid-row:1 / span 6}
 #combat-result.has-coach:has(#result-life:not([hidden])) #result-continue{grid-row:7}
}
