/* computer lobby: three games at a time, the middle one in front */
.cr{flex:1;min-height:230px;display:flex;flex-direction:column;gap:6px}
.cr-row{flex:1;min-height:0;display:flex;align-items:center;gap:8px;direction:rtl}
/* the cards' own stacking order stays inside the carousel, so windows open above them */
.cr-view{isolation:isolate;z-index:0;flex:1;min-width:0;align-self:stretch;position:relative;overflow:hidden;cursor:grab;touch-action:pan-y}
.cr-view:active{cursor:grabbing}
.cr-arrow{flex:none;width:46px;height:46px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2a1700;background:var(--goldtxt);background-color:var(--gold);border:1px solid #fff3b0;box-shadow:0 0 16px #f0c35a66,0 6px 14px #000a}
.cr-arrow:hover{transform:scale(1.1)}
.cr-card{position:absolute;top:8px;bottom:8px;left:31%;width:38%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 16px 12px;border-radius:22px;overflow:hidden;cursor:pointer;text-align:center;border:2px solid #f0c35a55;will-change:transform,opacity;background:linear-gradient(160deg,var(--c1,#1a5a3a),var(--c2,#0c3a24));box-shadow:0 8px 20px #000a;transition:border-color .45s,box-shadow .45s}
/* the card nearest the middle is lit; the others are shaded by how far they are (--dim) */
.cr-card::after{content:"";position:absolute;inset:0;background:#000;opacity:var(--dim,0);pointer-events:none;z-index:2}
.cr-card.front{border-color:var(--gold);box-shadow:0 0 26px #f0c35a66,0 10px 26px #000c}
.cr-card.front:hover,.cr-card.front:focus-visible{outline:none;box-shadow:0 0 40px #f0c35aaa,0 10px 26px #000c}
body.cr-grab,body.cr-grab .cr-view,body.cr-grab .cr-card{cursor:grabbing!important}
.cr-card.shut{filter:grayscale(.9) brightness(.6)}
.cr-art{flex:1;min-height:0;width:100%;container-type:size;display:flex;align-items:center;justify-content:center;pointer-events:none}
.cr-art>svg{width:auto;height:min(88cqh,210px);max-width:94%}
.cr-art>.wheelwrap{margin:0;height:min(92cqh,230px)!important;width:auto!important;aspect-ratio:1}.cr-art .wheelwrap svg{width:100%;height:100%}
.cr-art .hm-cards{height:auto;direction:ltr}
.cr-art .hm-cards .pc{--cw:min(84px,52cqh,17cqw)!important}
.cr-name{flex:none;font-family:var(--display);font-size:28px;line-height:1.1;color:#fff3b0;text-shadow:0 3px 8px #000a}
.cr-name small{display:block;font-family:var(--body);font-size:12px;opacity:.7;letter-spacing:.5px;text-shadow:none}
.cr-card p{flex:none;margin:0;font-size:13px;line-height:1.4;opacity:.9}
.cr-foot{flex:none;width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;white-space:nowrap}
.cr-foot .hm-live{min-width:0;overflow:hidden}
.cr-foot .hm-go{font-size:16px;padding:5px 18px}
.cr-dots{flex:none;display:flex;justify-content:center;gap:8px;height:14px;align-items:center}
.cr-dots button{width:10px;height:10px;min-width:0;padding:0;border-radius:6px;border:0;background:#fff4;box-shadow:none;transition:width .3s,background .3s}
.cr-dots button.on{width:26px;background:var(--gold)}
/* the friends, wins and numbers panels come back also on lower screens, in a compact form */
@media(min-width:701px) and (min-height:660px) and (max-height:840px){
  body.home-on .hm .hm-cols{display:grid}
  body.home-on .hm .hm-panel{max-height:96px;padding:5px 12px}
  body.home-on .hm .hm-panel h4{margin-bottom:3px;font-size:14px}
  body.home-on .hm .hm-empty{margin:2px 0;font-size:12px}.hm-panel .hm-empty br{display:none}
  body.home-on .hm .hm-stats{grid-template-columns:repeat(4,1fr);margin:0}
  body.home-on .hm .hm-panel>button{display:none}
}
@media(max-height:760px){.cr-card p{display:none}.cr-name{font-size:23px}.cr-name small{display:none}}
@media(max-width:1000px){.cr-card{left:29%;width:42%;padding:8px 10px}.cr-foot{flex-direction:column;gap:3px}.cr-arrow{width:38px;height:38px}}
