.lottery-room{position:relative;z-index:3;background:#120e08}.lottery-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px 3%;color:#efd297}.lottery-toolbar button{font-weight:700;font-size:11px;padding:9px}.lottery-toolbar>span{font-size:11px}.lottery-viewport{width:100%;height:calc(100dvh - 165px);min-height:540px;overflow:auto;scrollbar-color:#b58a3f #17100a}.lottery-stage{position:relative;width:max(100%,1800px);aspect-ratio:3/2;container-type:inline-size}.lottery-stage>img{display:block;width:100%;height:100%}.lottery-panel{position:absolute;color:#ffe3a1;background:linear-gradient(115deg,#13120f,#080909 65%,#211b11);font:500 .68cqw/1.3 Arial,sans-serif;scrollbar-width:thin;scrollbar-color:#92682b #0c0c0c}.lottery-panel h2{font:bold .92cqw/1.15 Georgia;margin:0 0 .6cqw}.lottery-panel h3{font-size:.67cqw}.lottery-left{left:31.35%;top:31.25%;width:6.1%;height:26.5%;padding:.65cqw .35cqw;overflow:auto;text-align:center}.lottery-left h2 b{font-size:1.12cqw;color:#ffe890}.lottery-left p{margin:.65cqw 0}.lottery-center{left:41.1%;top:43.55%;width:17.9%;height:18.6%;padding:.35cqw .7cqw;overflow:auto}.lottery-schedule{position:sticky;top:-.35cqw;z-index:1;background:#10100e;text-align:center;font-size:.6cqw;padding:.25cqw 0;color:#ffe59f}.lottery-entry{display:grid;grid-template-columns:1fr .9fr 1fr;gap:.4cqw;align-items:end}.lottery-panel label{margin:.15cqw 0;font-size:.6cqw;color:#e7cf9a}.lottery-panel input{padding:.22cqw;width:100%;border:1px solid #b28a48;font-size:.95cqw;font-weight:700;color:#fff4d1}.lottery-panel #lottery-number{font-size:1.5cqw;letter-spacing:.18em;text-align:center}.lottery-panel button{background:linear-gradient(150deg,#ffe7aa,#b98b3a 60%,#654111);color:#21190d;border:1px solid #ffe6a4;box-shadow:inset 0 1px #fff9db,0 2px 1px #53350d;font-weight:800;font-size:.7cqw;line-height:1.1;padding:.45cqw .3cqw}.lottery-panel button:active{transform:translateY(2px)}.lottery-values{display:flex;justify-content:space-between;font-size:.6cqw;margin:.3cqw 0}.lottery-values strong{font-size:.82cqw}.lottery-assignment{text-align:center;font-size:.62cqw;margin:.25cqw 0}.lottery-assignment>b{font-size:.56cqw}#lottery-buy{width:100%;padding:.35cqw;font-size:.8cqw}#lottery-message{font-size:.63cqw;margin:.2cqw 0}#lottery-closed{background:#4a2b0d;border:1px solid #b8893e;color:#fff0c6;font-size:.58cqw;padding:.2cqw;text-align:center}.lottery-right{left:62.65%;top:31.25%;width:5.35%;height:26.5%;padding:.7cqw .25cqw;overflow:auto;text-align:center}.lottery-right h2{font-size:.8cqw}.lottery-right p{margin:.7cqw 0}.lottery-right hr{border:0;border-top:1px solid #9c7136;margin:.8cqw 0}.lottery-right #lottery-last{width:100%;font-size:.62cqw;padding:.3cqw;background:#14120c;color:#ffe4a2}.lottery-right #lottery-last strong{display:block;font-size:1.9cqw;letter-spacing:.1em}.lottery-right #lottery-last span,.lottery-right #lottery-last small{display:block;font-size:.58cqw;margin-top:.3cqw}.lottery-footnote{padding:8px 3%;font-size:11px;color:#d5bd8c;margin:0}.lottery-proof{width:100%;height:auto}.lottery-proof-price{font-size:32px;overflow-wrap:anywhere}.lottery-confirm-number{font-size:42px}#lottery-dialog{overflow-wrap:anywhere}#lottery-dialog mark{background:#e7bc5e;color:#191007}#lottery-source-state{font-size:.57cqw;color:#f4bc78}@media(max-width:700px){.lottery-toolbar{flex-wrap:wrap;gap:7px}.lottery-toolbar>div{width:100%;display:flex;justify-content:space-between}.lottery-viewport{height:calc(100dvh - 230px);min-height:490px}.lottery-toolbar strong{font-size:13px}}
.lottery-center{display:flex;flex-direction:column;overflow:hidden}.lottery-center .lottery-schedule{position:static;flex:none}.lottery-center #lottery-closed{flex:none}.lottery-center form{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#92682b #0c0c0c}.lottery-right #lottery-last span{font-weight:500;font-size:.62cqw}.lottery-right h2{position:relative}

/* Fit the complete supplied artwork inside the available screen. */
body.lottery-fit{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body.lottery-fit>.brass,body.lottery-fit>footer{flex-shrink:0}
body.lottery-fit #environment{flex:1;min-height:0}
body.lottery-fit #game{position:absolute;inset:0;min-height:0}
.lottery-room{height:100%;display:flex;flex-direction:column;min-height:0}
.lottery-toolbar,.lottery-footnote{flex:none}
.lottery-viewport{flex:1;min-height:0;height:auto;overflow:hidden;display:grid;place-items:center;container-type:size}
.lottery-stage{width:min(100cqw,150cqh);height:auto;aspect-ratio:3/2;flex:none}
.lottery-panel-dialog{width:min(600px,calc(100% - 24px));padding:44px 22px 22px}
.lottery-panel-dialog .close{font-size:14px;top:12px}
.lottery-panel-dialog .lottery-panel{position:static;width:100%;height:auto;padding:12px;font:14px/1.5 Arial,sans-serif;overflow:visible}
.lottery-panel-dialog .lottery-panel h2,.lottery-panel-dialog .lottery-panel h2 b{font-size:22px;margin:8px 0}
.lottery-panel-dialog .lottery-panel h3{font-size:15px}
.lottery-panel-dialog .lottery-panel p{margin:12px 0}
.lottery-panel-dialog .lottery-panel label,.lottery-panel-dialog .lottery-schedule,.lottery-panel-dialog #lottery-closed,.lottery-panel-dialog .lottery-values,.lottery-panel-dialog .lottery-assignment,.lottery-panel-dialog .lottery-assignment>b,.lottery-panel-dialog #lottery-message,.lottery-panel-dialog #lottery-source-state{font-size:13px;padding:6px 0}
.lottery-panel-dialog .lottery-panel input,.lottery-panel-dialog .lottery-values strong{font-size:18px;padding:8px}
.lottery-panel-dialog .lottery-panel #lottery-number{font-size:24px}
.lottery-panel-dialog .lottery-entry{gap:8px}
.lottery-panel-dialog .lottery-panel button,.lottery-panel-dialog #lottery-buy,.lottery-panel-dialog .lottery-right #lottery-last{font-size:14px;padding:12px}
.lottery-panel-dialog .lottery-right #lottery-last strong{font-size:36px}
.lottery-panel-dialog .lottery-right #lottery-last span,.lottery-panel-dialog .lottery-right #lottery-last small{font-size:13px}
.lottery-panel-dialog .lottery-center form{overflow:visible}
@media(max-width:700px){.lottery-viewport{height:auto;min-height:0}.lottery-toolbar{padding:7px 12px}.lottery-footnote{font-size:10px;padding:5px 12px}}
