/* Loading uses the destination itself as an inert, blurred preview. */
body[data-entry]{--entry-header:101px;overflow:hidden}
body[data-entry] :is(.header-middle,#header-controls,#hard-mode-label){visibility:hidden}
body[data-entry] :is(#menu-screen,#lobby-screen,#game-screen){filter:blur(3px);opacity:.5;pointer-events:none;user-select:none}
body[data-entry] :is(#menu-status,#lobby-status,#lobby-copy,#lobby-leave){visibility:hidden}
body[data-entry] .flow-primary:disabled,body[data-entry] .mode-choice:disabled{opacity:1}
/* Keep the live game's layout intact, including players, power and table controls. */
body[data-entry=table] #cue-layer{visibility:hidden}
.table-loading{position:fixed;z-index:8;inset:calc(var(--tg-content-top,0px) + var(--entry-header,52px)) 0 var(--content-bottom,0px);display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:24px;overflow-y:auto;background:radial-gradient(ellipse at center,#101d1b10,#101d1b38 80%)}
.table-loading-card{display:flex;flex-direction:column;align-items:center;gap:17px;width:max-content;max-width:min(100%,300px);min-width:0;padding:25px 28px;border:1px solid #c4d0b817;border-radius:18px;background:#10231fef;box-shadow:0 12px 40px #07130e30;text-align:center;overflow-wrap:anywhere}
.table-loading-card p{margin:0;color:#eee6cf;font-size:14px;line-height:1.6;font-weight:500;text-wrap:balance}
.table-loading-card .table-loading-spinner{width:25px;height:25px;border:2px solid #d5debe26;border-top-color:#e5ddbd;animation-duration:1s}
.table-loading-card .flow-primary{min-height:44px;padding:11px 18px;font-size:13px;margin-top:3px}
body[data-entry=table]{--entry-header:56px}
@media(max-width:1100px){body[data-entry]{--entry-header:80px}body[data-entry=table]{--entry-header:56px}}
@media(max-width:700px){body[data-entry]{--entry-header:48px}}
@media(orientation:landscape) and (max-height:600px){body[data-entry]{--entry-header:40px}}
