.housing-lottery-countdown{font-size:.78rem;padding:.5rem .75rem;white-space:normal;align-self:center;border-radius:12px}.housing-lottery-dialog{width:min(700px,calc(100vw - 28px));max-height:85dvh;padding:0;overflow:hidden}.housing-lottery-dialog[open]{display:flex;flex-direction:column}.housing-lottery-dialog .housing-lottery-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #ffffff20;flex-shrink:0}.housing-lottery-dialog .housing-lottery-header h2{margin:.2rem 0;font-size:1.55rem}.housing-lottery-dialog .housing-lottery-header button{width:40px;height:40px;font-size:1.4rem;flex-shrink:0}.housing-lottery-body{overflow:auto;padding:1rem 1.2rem}.housing-lottery-body .subtle,.housing-lottery-body small{font-size:.8rem;opacity:.8}.housing-lottery-group{margin:1rem 0;padding:1rem;border:1px solid #ffffff25;border-radius:12px}.housing-lottery-group h3{margin:0;font-size:1rem}.housing-lottery-group p{margin:.4rem 0}.housing-lottery-group ul{list-style:none;padding:0;margin:.6rem 0 0}.housing-lottery-group li{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 0;border-top:1px solid #ffffff18}.housing-lottery-group li button{flex-shrink:0}.housing-lottery-empty{padding:1.5rem 0}.housing-lottery-body details{margin-top:1rem}

.housing-lottery-dialog .housing-lottery-header{min-height:0;height:auto;position:static;margin:0;padding:12px 18px;background:var(--panel);flex:0 0 auto}.housing-lottery-header>div{min-width:0}.housing-lottery-header small{font-size:10px;letter-spacing:1.3px}.housing-lottery-dialog .housing-lottery-header h2{font-size:21px;line-height:1.2;margin:3px 0 0}.housing-lottery-dialog .housing-lottery-header button{position:static;display:grid;place-items:center;width:34px;height:34px;padding:0}.housing-lottery-body{min-height:0}
