/* Scoped lobby presentation. Existing Okey event handlers and game state are retained. */
.fs-lobby-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 0}
.fs-lobby-games>a,.fs-lobby-games>button{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:clamp(84px,16dvh,136px);padding:0;overflow:hidden;border:1px solid #e2ba62;border-radius:13px;color:#ffedbb;text-decoration:none;cursor:pointer;box-shadow:inset 0 0 0 1px #ffe39444,0 3px 8px #0005}
.fs-slot-tile{background:radial-gradient(ellipse,#1445bc,#080f49 80%);flex-direction:column}
.fs-slot-tile img{width:96%;height:73%;object-fit:contain;filter:drop-shadow(0 3px 4px #0008)}
.fs-slot-tile strong{font:700 12px/1.2 system-ui;max-width:95%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 4px 5px}
.fs-dice-tile{background:#2b0704}
.fs-dice-tile>img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.fs-coming-soon{position:absolute;bottom:6px;right:6px;padding:4px 8px;border-radius:9px;background:linear-gradient(#fff19d,#ffc242);color:#2b1600;font:700 10px/1.2 system-ui;box-shadow:0 2px 5px #0008}
.fs-lobby-games>a:focus-visible,.fs-lobby-games>button:focus-visible{outline:2px solid #fff4b2;outline-offset:-4px}
.fs-lobby-games>a:hover,.fs-lobby-games>button:hover{filter:brightness(1.12)}
body.pool-lobby-mode .fixed-lobby.pool-premium{max-width:460px;width:100%;margin:0 auto}
body.pool-lobby-mode .main-wrap{box-sizing:border-box;min-height:100dvh;padding-top:calc(env(safe-area-inset-top,0px) + 6px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 6px)}
body.pool-lobby-mode .pool-lobby-top{padding:7px 10px;gap:5px}
body.pool-lobby-mode .pool-brand strong{font-size:28px}
body.pool-lobby-mode .pool-brand>img{width:28px;height:28px}
body.pool-lobby-mode .pool-lobby-art{height:clamp(55px,10dvh,90px);margin-top:0}
body.pool-lobby-mode .pool-lobby-content{padding:0 12px 8px;margin-top:0}
body.pool-lobby-mode .pool-heading{margin:2px 0 10px}
body.pool-lobby-mode .pool-heading h1{font-size:clamp(25px,7vw,31px);margin:0 0 4px}
body.pool-lobby-mode .pool-heading p{font-size:11px}
body.pool-lobby-mode .pool-tiers{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.pool-lobby-mode .pool-tier{min-height:clamp(55px,9dvh,79px);padding:6px 2px;gap:4px;border-radius:11px}
body.pool-lobby-mode .pool-tier strong{font-size:25px}
body.pool-lobby-mode .pool-tier>.icon{width:19px;height:19px}
body.pool-lobby-mode .pool-ornament{margin:9px 0 8px}
body.pool-lobby-mode .pool-specials{grid-template-columns:1fr}
body.pool-lobby-mode .pool-special{min-height:46px;padding:7px 11px;gap:9px}
body.pool-lobby-mode .pool-special strong{font-size:13px}
body.pool-lobby-mode .pool-special small{font-size:10px}
body.pool-lobby-mode .pool-special>span{gap:2px}
body.pool-lobby-mode .pool-special>.icon{width:23px;height:23px}
body.pool-lobby-mode .presence-box{margin-top:8px;padding:7px 10px;min-height:33px;gap:8px}
body.pool-lobby-mode .presence-box p{font-size:11px;line-height:1.25}
.fs-lobby-fit{position:relative;width:100%;max-width:460px;margin:0 auto;overflow:hidden}
.fs-lobby-stage{position:absolute;top:0;left:0;width:100%;transform-origin:top center}
.fs-lobby-fit.fs-lobby-zoom{overflow:visible}
.fs-leaving{opacity:.85;transition:opacity .15s}
#fs-dice-preview{width:min(90vw,360px);max-height:86dvh;overflow:auto;padding:18px;background:#06271e;color:#f8e8c0;border:1px solid #d8b666;border-radius:18px;text-align:center}
#fs-dice-preview::backdrop{background:#00130dd9}
#fs-dice-preview img{display:block;width:100%;max-height:30dvh;object-fit:cover;border-radius:10px}
#fs-dice-preview h2{font:28px Georgia,serif;margin:14px 0 8px}
#fs-dice-preview p{font:14px/1.5 system-ui}
#fs-dice-preview button{min-height:44px;width:100%;padding:10px;border:1px solid #e6ca85;border-radius:10px;background:linear-gradient(#ffe6a0,#c39b51);color:#15291d;font:700 14px system-ui}
@media(max-height:660px){body.pool-lobby-mode .pool-lobby-art{height:42px}body.pool-lobby-mode .pool-tier{min-height:50px}body.pool-lobby-mode .pool-tier strong{font-size:23px}body.pool-lobby-mode .pool-heading{margin-bottom:7px}.fs-lobby-games>a,.fs-lobby-games>button{height:80px}}
@media(prefers-reduced-motion:reduce){.fs-leaving{transition:none}}
