.mobile-menu-button,.mobile-menu{display:none}
@media(max-width:700px){
  body:has(.room.show){height:100dvh;overflow:hidden}
  .app:has(.room.show){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .topbar{height:50px;min-height:50px;padding:0 16px}
  .room.show{display:flex;flex-direction:column;flex:1;min-height:0;height:auto}
  .room.show~*{display:none}
  .app:has(.room.show) .utilities,.app:has(.room.show) .table-meta,.room-top{display:none}
  .app:has(.room.show) .mobile-menu-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid #c4ff1c4a;border-radius:11px;background:#17231ecf;color:#ebf4eb;font-size:20px}
  .mobile-menu{position:absolute;right:12px;top:46px;z-index:40;width:220px;padding:16px;border:1px solid #baff3445;border-radius:16px;background:#111b18f5;box-shadow:0 18px 45px #000b;backdrop-filter:blur(20px)}
  .mobile-menu.open{display:flex;flex-direction:column;gap:11px}.mobile-menu strong{font-size:12px;color:#edf5e9}.mobile-menu span{font-size:11px;color:#9bb3a4}.mobile-menu button{text-align:left;background:#ffffff0d;color:#e6eee7;border:1px solid #ffffff14;border-radius:8px;padding:10px;font-size:12px}
  .table-stage{flex:1;min-height:0;height:auto;padding:0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
  .table-3d,.table-stage[data-theme="rooftop"] .table-3d{width:min(94vw,calc((100dvh - 145px)*.75),440px);height:auto;aspect-ratio:1080/1440;flex:none;margin:4px auto 0}
  .bottom-dock{flex:none;width:calc(100% - 20px);margin:0 auto max(8px,env(safe-area-inset-bottom));padding:7px;gap:6px}
  .act{min-height:50px;font-size:12px}.act small{font-size:9px}
  .rail-label{top:13%;font-size:9px}.seat{width:80px;font-size:11px;line-height:1.15}.seat small{font-size:10px}.avatar{width:34px;height:34px;margin-bottom:3px}
  .s1{top:0}.s2,.s6{top:22%}.s3,.s5{bottom:19%}.s4{bottom:0}
  .cards{top:46%;width:76%;justify-content:center;gap:4px;z-index:6}
  .cards .card{width:clamp(40px,13vw,61px);height:clamp(58px,18vw,84px);flex:1;max-width:61px;font-size:clamp(19px,5vw,25px);padding:5px}
  .pot{top:31%;font-size:9px}.pot b{font-size:19px}.pot-chips{height:23px;transform:scale(.8);transform-origin:center bottom}
  .toast{position:absolute;bottom:75px;white-space:nowrap}.toast.show{bottom:80px}
}
@media(max-width:700px) and (max-height:650px){.table-3d,.table-stage[data-theme="rooftop"] .table-3d{width:min(83vw,calc((100dvh - 128px)*.75))}.topbar{height:44px;min-height:44px}.avatar{width:29px;height:29px}.seat{font-size:10px}.seat small{font-size:9px}.bottom-dock{margin-bottom:4px}.act{min-height:42px}}
