.app-private-document .app.app-private,.app-private-document .app.app-private.with-pane:is(.place-games,.place-spoils,.place-bank,.place-account,.place-admin){grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - var(--app-bar-height) - var(--app-nav-height));width:100%;max-width:100%}
.app-private-document .app.app-private{--bar-height:calc(var(--app-bar-height) + 48px)}
.app-private-document .app.app-private:not(.place-room){--bar-height:var(--app-bar-height)}
.app-private-document .app-private>.main{min-width:0;padding-bottom:0}
.app-private-document .app-private :is(.room,.content,.destination){min-width:0;max-width:100%}
.app-private-document .private-bar{position:sticky;top:var(--app-bar-height);z-index:var(--layer-drawer);display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-width:0;min-height:48px;padding:0 var(--pad);border-bottom:1px solid var(--rule);background:var(--ground)}
.app-private-document .private-bar>.tabs{flex:0 1 auto;flex-wrap:nowrap;min-width:0;max-width:100%;margin:0;overscroll-behavior-x:contain}
.app-private-document .private-bar>.tabs>li{flex:none;align-items:stretch}
.app-private-document .private-bar .tab:focus-visible{outline-offset:-2px}
.app-private-document .private-bar:has(>.section-row){align-items:stretch;border-bottom-color:var(--ink)}
.app-private-document .private-bar>.tabs.section-row{box-shadow:none}
.app-private-document .private-bar>.tabs.section-row .tab{min-height:48px}
.app-private-document .app-private>.main :is(section,article,h2,h3,h4,[tabindex]):not(.counter *):not(:where(#view-spoils *)){scroll-margin-top:calc(var(--bar-height) + var(--space-4));scroll-margin-bottom:calc(var(--hand-height,0px) + var(--app-nav-height) + var(--space-4))}
.app-private-document .counter-head .bal{display:block}
.app-private-document .counter{bottom:var(--app-nav-height)}
.app-live{display:inline-flex;align-items:center;gap:var(--space-2);font:400 var(--type-caption)/var(--leading-read) var(--mono);color:var(--mute)}
.app-rail .app-session-controls .app-live{padding-inline:0}
.app-live::before{content:"";flex:none;box-sizing:border-box;width:8px;height:8px;border:1px solid var(--mute)}
.app-live.on::before{background:var(--gel);border-color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb,var(--gel) var(--glow-strength),transparent),0 0 10px color-mix(in srgb,var(--gel) 85%,transparent)}
.app-live.busy::before{background:var(--sodium);border-color:var(--ink)}
.app-live:hover:not(:disabled){color:var(--ink)}
@media (min-width:1180px){
  .app-private-document .app.app-private.with-pane:not(.place-games):not(.place-spoils):not(.place-bank):not(.place-account):not(.place-admin){grid-template-columns:minmax(0,1fr) var(--pane)}
  .app-private-document .app.app-private:not(.place-games):not(.place-spoils):not(.place-bank):not(.place-account):not(.place-admin)>.pane{top:var(--app-bar-height);height:calc(100dvh - var(--app-bar-height));max-height:min(calc(100dvh - var(--app-bar-height)),var(--pane-visible,100dvh));min-width:0}
  .app-private-document .app-private.with-pane .private-bar>.tabs{flex-wrap:wrap;overflow-x:visible}
  .app-private-document .app-private.with-pane .board{min-height:0;padding-right:0}
  .app-private-document .app-private.with-pane .board-wheel{display:none}
  .app-private-document .app-private.with-pane .board h2{font-size:var(--type-head)}
}
@media (max-width:899px){
  .app-private-document .app-private>.pane{bottom:var(--app-nav-height);max-height:calc(100dvh - var(--app-bar-height) - var(--app-nav-height) - var(--space-4))}
  .app-private-document .app-private>.pane-veil{bottom:var(--app-nav-height)}
  .spoils-screen .app-private-document .app-private>.pane{bottom:0;max-height:calc(100dvh - 24px)}
  .spoils-screen .app-private-document .app-private>.pane-veil{bottom:0}
  .app-bar-live .app-live{min-height:44px;max-width:10rem;white-space:normal;text-align:left}
}
@media (max-width:599px){
  .app-private-document .private-bar{gap:var(--space-3)}
}
@media print{.app-live.on::before{box-shadow:none}}
.app-private-document .app-private:is(.place-room,.place-games,.place-bank,.place-account,.place-dayjob,.place-goatmarket,.place-rugpull,.place-station,.place-admin) :where(.bank-readouts,.bank-transfers,.bank-service-actions,.stat-row,.admin-panel .svc-view,.admin-service .play,.rugpull-trade,.dayjob-shift,.station-console,.furb-admin form,.furb-admin-result,.furb-admin-review,.furb-admin-recovery,.games.at-table .play,.games.at-table .svc-records,.games.at-table .svc-plate,.goatmarket-receipt,.goatmarket-stake,.goatmarket-resolve,.goatmarket-close,.goatmarket-ops,.goatmarket-replace,.goatmarket-editor,.sr-review,.sr-room,.sr-funds>section){
  background-image:var(--deck-tick);
  background-size:48px 2px;
  background-position:var(--radius-card) 0;
  background-repeat:no-repeat}
@media (max-width:599px){
  .app-private-document .app-private :is(.bank-content .bank-readouts,.account-content .stat-row){border:0;border-radius:0;background:none;box-shadow:none}
}
