/* prestige: the lobby door with the stand, and the window */
.hm-vip{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
.hm-vip>.bk-door{margin:0;height:100%}
.pr-door{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0;min-height:52px;padding:4px 12px;border-radius:16px;color:#ffe9a8;box-shadow:none;border:1px solid #e8b422aa;background:linear-gradient(135deg,#3a1258,#12041f)}
.pr-title{display:flex;flex-direction:column;align-items:center;min-width:0}.pr-title b{font-family:var(--display);font-weight:400;font-size:19px;white-space:nowrap}.pr-title small{font-size:11px;opacity:.8}
.pr-stand{display:flex;align-items:flex-end;gap:6px;direction:ltr}
.pr-step{display:flex;flex-direction:column;align-items:center;width:62px;min-width:0;padding-top:2px;border-bottom:5px solid var(--c);line-height:1.1}
.pr-step.s1{padding-bottom:6px}.pr-step.s3{width:56px}.pr-step svg{overflow:visible}
.pr-step em{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:10px;color:#fff}.pr-step i{font-style:normal;font-size:10px;font-weight:800;color:var(--c)}
body.phone .hm-vip{gap:6px}body.phone .pr-door{gap:6px;padding:2px 6px;min-height:44px}body.phone .pr-title b{font-size:15px}body.phone .pr-title small{display:none}
body.phone .pr-step,body.phone .pr-step.s3{width:34px}body.phone .pr-step em{display:none}body.phone .pr-step svg{width:22px;height:22px}body.phone .pr-step.s1{padding-bottom:3px}
body.phone .hm-vip .bk-door small{display:none}
@media(max-height:760px){.pr-title small{display:none}.pr-step em{display:none}.pr-step svg{width:24px;height:24px}}

.sc-box.pr-box{width:min(720px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;padding:16px}
.pr-note{margin:0 0 10px;text-align:center;font-size:14px;opacity:.9}
.pr-star{display:inline-block;padding:0 7px;border-radius:9px;border:1px solid var(--c);color:var(--c);background:#0008;font-weight:800}
.pr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}
.pr-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;border-radius:14px;background:#0007;border:1px solid #f0c35a44;text-align:center}
.pr-card h4,.pr-h{margin:0;font-family:var(--display);font-weight:400;font-size:17px;color:var(--gold)}.pr-h{margin:14px 0 8px;text-align:center}
.pr-card p{margin:0;font-size:13px}.pr-card small{font-size:12px;opacity:.75;line-height:1.35}
.pr-card button{width:100%;min-height:42px;margin-top:auto}
.pr-wheel.on{border-color:var(--gold);box-shadow:0 0 18px #f0c35a55}
.pr-prize{font-family:var(--display);font-size:28px;color:#ffe9a8}
.pr-two{display:flex;gap:8px;width:100%}
.pr-bar{width:100%;height:10px;border-radius:6px;background:#0009;border:1px solid #ffffff22;overflow:hidden}.pr-bar i{display:block;height:100%;background:var(--goldtxt);background-color:var(--gold)}
.pr-confirm{display:flex;flex-direction:column;gap:7px;width:100%}.pr-confirm input{width:100%;min-height:40px;text-align:center;font-size:16px}
.pr-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:7px}
.pr-row{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:12px;background:#0006;border:1px solid #ffffff1c;border-inline-start:4px solid var(--c)}
.pr-row.here{border-color:var(--c);box-shadow:0 0 12px color-mix(in srgb,var(--c) 50%,transparent)}.pr-row:not(.got){opacity:.88}
.pr-rhead{display:flex;align-items:center;gap:8px}.pr-rhead span{margin-inline-start:auto;color:var(--gold);font-weight:800}
.pr-row small{font-size:11.5px;opacity:.85;line-height:1.35}
/* phone: one low row, so the game tiles under it keep their drawings */
body.phone .hm-vip{flex:none;height:46px;grid-template-rows:100%}
body.phone .hm-vip>*{height:100%;min-height:0;overflow:hidden}
body.phone .hm-vip .bk-door{padding:2px 8px;gap:6px}
body.phone .hm-vip .bk-door b{font-size:14px;white-space:nowrap}
body.phone .hm-vip .bk-door i,body.phone .hm-vip .bk-door em{font-size:15px}
body.phone .pr-title{flex:none}body.phone .pr-title b{font-size:14px}
body.phone .pr-stand{gap:3px;min-width:0}body.phone .pr-step,body.phone .pr-step.s3{width:26px}body.phone .pr-step,body.phone .pr-step.s1{padding:0;border-bottom-width:3px}body.phone .pr-step svg{width:18px;height:18px}body.phone .pr-step i{font-size:9px}
