/* Approved desktop-derived mobile landscape composition. Existing styles own
   table surfaces, artwork, depth, turn glow, card fans and button appearance. */
.native-no-seat-caption,.native-no-landscape-status{display:none;}
body.native-game-active.no-mobile-active{overflow:hidden;}
body.native-game-active.no-mobile-active > .topbar,
body.native-game-active.no-mobile-active .layout > .sidebar,
body.native-game-active.no-mobile-active #homePage :is(#globalChatPanel,#homeGlobalChatEntry),
body.native-game-active.no-mobile-active .game-shell.home-game > .game-header{display:none;}
body.native-game-active.no-mobile-active .layout,
body.native-game-active.no-mobile-active .layout > .main,
body.native-game-active.no-mobile-active #homePage{display:contents;}
:root body.native-game-active.no-mobile-active .game-shell.home-game{position:fixed;inset:0;display:block;width:100%;height:100dvh;min-height:0;max-height:none;margin:0;padding:0;border:0;border-radius:0;transform:none;contain:none;overflow:visible;}
:root body.native-game-active.no-mobile-active #nativeWorkerGameRoot{position:absolute;inset:0;display:block;width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:var(--rx-safe-top) var(--rx-safe-right) var(--rx-safe-bottom) var(--rx-safe-left);overflow:auto;z-index:var(--rx-layer-sticky);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no{height:100%;padding:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-layout{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:minmax(0,1fr);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-game{grid-template-rows:minmax(156px,1fr) 120px;padding:8px;gap:8px;min-height:0;height:100%;max-height:none;overflow:visible;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-table{height:100%;min-height:0;max-height:none;padding:0;grid-template-columns:1fr auto 18px auto 1fr;border-radius:48% / 42%;align-items:center;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-table::after{inset:12px;border-radius:inherit;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents{inset:0;width:100%;height:100%;transform:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat.native-no-player{position:absolute;min-width:0;width:auto;opacity:1;transform:translate(-50%,-50%)!important;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-top{left:50%!important;top:50px!important;right:auto;bottom:auto;flex-direction:column;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-left{top:62%!important;right:auto;bottom:auto;flex-direction:row;gap:12px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-right{top:62%!important;right:auto;bottom:auto;flex-direction:row-reverse;gap:12px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-identity{display:flex;position:relative;inset:auto;transform:none;flex-direction:column;gap:2px;overflow:visible;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-figure,body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-figure img{width:44px;height:44px;min-width:44px;min-height:44px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-caption{font-size:10px;white-space:nowrap;color:var(--rx-color-text);line-height:13px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan{display:flex!important;position:relative;min-width:0;min-height:35px;height:35px;gap:0;margin:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan img{width:25px;height:35px;min-width:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan img+img{margin-left:var(--no-landscape-back-step,-19px);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .seat-top .native-no-back-fan{transform:rotate(180deg);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .seat-left .native-no-back-fan{transform:rotate(90deg);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .seat-right .native-no-back-fan{transform:rotate(-90deg);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot :is(.native-no-deck,.native-no-discard){position:relative;inset:auto;grid-row:1;align-self:center;transform:translateY(26px);width:54px;height:76px;min-height:0;margin:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-discard-card .native-no-card{width:100%;height:100%;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-deck{grid-column:2;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-deck>strong{top:auto;bottom:-8px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-discard{grid-column:4;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-direction{position:absolute;inset:8px 12px auto auto;transform:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-center-color{position:absolute;inset:8px auto auto 12px;transform:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-center-color strong{color:var(--rx-color-text);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-area{height:120px;min-height:0;margin:0;padding:0 0 0 62px;position:relative;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-heading{height:18px;min-height:0;margin:0 0 4px;padding:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-local-station{position:absolute;left:24px;top:71px;bottom:auto;width:48px;transform:translate(-50%,-50%)!important;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand{height:98px;min-height:0;max-height:none;display:flex;justify-content:center;align-items:center;gap:0;padding:8px 12px;overflow-x:auto;overflow-y:hidden;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card{width:58px;height:82px;flex:0 0 58px;min-width:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card+.native-no-card{margin-left:var(--no-hand-overlap,-10px);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand.is-landscape-scrollable{justify-content:flex-start;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-mobile-hint{display:inline;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side{flex-direction:column;position:relative;inset:auto;width:100%;height:100%;min-height:0;max-height:none;padding:10px 6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side .native-game-panel-body{display:block;height:auto;max-height:none;min-height:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-summary{display:grid;padding:6px;gap:4px;height:auto;min-height:0;max-height:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-summary>strong{display:block;font-size:14px;line-height:1.3;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-kicker{display:block;font-size:9px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-summary [data-native-practice-difficulty],body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-status{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-panel-actions{position:static;inset:auto;margin-top:auto;width:100%;padding:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-actions{display:grid;grid-template-columns:1fr;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-actions .btn{min-height:44px;min-width:44px;padding:4px;font-size:11px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-landscape-status{font-size:11px;color:var(--rx-color-success);text-align:center;margin-bottom:8px;}
@media(max-height:350px){body.native-game-active.no-mobile-active #nativeWorkerGameRoot :is(.native-no-deck,.native-no-discard){width:50px;height:70px;transform:translateY(48px);}}
@media(min-height:550px){
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-layout{grid-template-columns:minmax(0,1fr) 160px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-game{grid-template-rows:minmax(200px,1fr) 160px;padding:16px;gap:12px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-area{height:160px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand{height:136px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card{width:78px;height:110px;flex-basis:78px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot :is(.native-no-deck,.native-no-discard){width:88px;height:124px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-top{top:16%!important;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan img{width:35px;height:49px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan{height:49px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan img+img{margin-left:var(--no-landscape-back-step,-26px);}
}

/* Preserve placement through the shared portrait/dock rules and turn frames. */
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no{display:grid;min-height:292px;}
/* Readiness uses the same available screen as the table. Its content sets the
   minimum track size, so enlarged text can scroll without losing either end. */
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no.native-no-starting-shell{
 min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(min-content,1fr);
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-no-starting{
 height:auto;min-height:0;align-content:center;gap:8px;padding:12px 24px;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-no-starting .native-no-queue-cards{height:40px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-game{width:100%;max-width:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-left{left:var(--native-no-seat-inset)!important;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-right{left:calc(100% - var(--native-no-seat-inset))!important;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-layout{gap:0;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-table{display:grid;grid-template-rows:minmax(0,1fr);width:100%;margin:0;overflow:visible;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents{position:absolute;perspective:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat.native-no-player{animation:none!important;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-identity{align-items:center;justify-content:center;max-width:76px;pointer-events:auto;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-caption{display:flex;max-width:76px;justify-content:center;gap:2px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-caption span{overflow:hidden;text-overflow:ellipsis;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-seat-caption b{flex:none;font-weight:inherit;white-space:pre;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan{inset:auto;width:auto;padding:0;pointer-events:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-back-fan img{display:block;transform:translateY(var(--no-back-offset,0px)) rotate(var(--no-back-rotate,0deg));}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-area{display:block;width:100%;max-height:none;border-top:0;overflow:visible;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-heading{display:flex;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-actions{min-width:0;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand{width:100%;touch-action:none;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:12px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card{max-width:none;max-height:none;touch-action:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card:not(.is-touch-inspected):not(.is-hover-retained):not(:focus-visible){transform:rotate(clamp(-5deg,var(--no-fan-rotate,0deg),5deg));}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-mobile-hint{font-size:9px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand.is-touch-inspecting{overflow:visible;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand.is-landscape-scrollable.is-touch-inspecting{overflow:auto;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand.is-landscape-scrollable .native-no-card.is-touch-inspected{transform:translateY(-1px) scale(1.04);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card.is-touch-inspected{touch-action:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side{display:flex;grid-column:2;grid-row:1;margin:0;align-self:stretch;overflow-y:auto;overflow-x:hidden;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-landscape-status{display:block;margin:0;line-height:1.3;overflow-wrap:anywhere;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side .native-game-panel-body{overflow:auto;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-panel-actions{display:block;height:auto;min-height:0;flex:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-actions{display:grid;grid-template-columns:1fr;gap:6px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-actions .btn{min-height:44px;min-width:44px;width:100%;padding:4px;font-size:11px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements p{display:block;max-width:100%;font-size:11px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements p[hidden]{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements p strong{font-size:11px;overflow-wrap:anywhere;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements p span{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements p:not([data-no-turn-warning]):not(:nth-child(2)){display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-announcements:has([data-no-turn-warning]:not([hidden])) p:not([data-no-turn-warning]){display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-queue{display:grid;gap:4px;min-width:0;margin:0;font-size:11px;overflow-wrap:anywhere;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-game-picker{min-width:0;width:100%;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot select{min-width:0;max-width:100%;height:44px;}
/* Chat uses the existing Play/Chat actions; its sheet clears the keyboard. */
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side[data-native-panel="chat"] .native-game-panel-body{position:fixed;inset:max(8px,var(--rx-visual-top,0px)) calc(104px + var(--rx-safe-right)) calc(var(--rx-keyboard-bottom,0px) + 8px) max(8px,var(--rx-safe-left));display:flex;flex-direction:column;z-index:20;padding:12px;border:1px solid var(--rx-color-border);border-radius:var(--rx-radius-panel);background:var(--rx-color-overlay-solid);background-image:var(--rx-background-page);box-shadow:var(--rx-shadow-overlay);overflow:hidden;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side[data-native-panel="chat"] .native-game-panel-body .native-no-announcements{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat{display:flex;flex:1;flex-direction:column;width:100%;min-height:0;height:100%;background:transparent;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat-list{min-height:0;flex:1;overflow:auto;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat-header{display:flex;flex:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat-close{min-height:44px;min-width:44px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat :is(.native-game-chat-msg,.native-game-chat-body,.native-game-empty,.native-game-system-prefix){color:var(--rx-color-text);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat-close{color:var(--rx-color-accent);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat input{color:var(--rx-color-text);background:var(--rx-color-surface-subtle);border-color:var(--rx-color-border);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-mobile-hint{color:var(--rx-color-text-muted);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-chat-form{flex:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-color-chooser{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;z-index:40;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-color-chooser[hidden]{display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-color-chooser{color:var(--rx-color-text);background:var(--rx-color-overlay-solid);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-color-chooser [data-no-color-cancel]:not([hidden]){display:inline-flex;min-height:44px;color:var(--rx-color-text);border-color:var(--rx-color-border);}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-color-chooser .native-no-color{width:44px;height:44px;min-width:44px;min-height:44px;}
/* Results share the viewport layer, above the hand, and scroll when text grows. */
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-postgame {
  position:fixed;
  inset:max(8px,var(--rx-safe-top)) max(8px,var(--rx-safe-right)) max(8px,var(--rx-safe-bottom)) max(8px,var(--rx-safe-left));
  align-items:center;
  padding:0;
  z-index:var(--rx-layer-modal);
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-postgame-window {
  min-height:0;
  max-height:100%;
  overflow:auto;
  overscroll-behavior:contain;
  touch-action:pan-y;
}
@media(max-height:350px){
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-game{grid-template-rows:minmax(156px,1fr) 108px;gap:6px;padding:6px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-area{height:108px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand{height:88px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card{width:54px;height:76px;flex-basis:54px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-local-station{top:66px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-mobile-hint{display:none;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-top{top:49px!important;}
}
@media(min-height:550px){body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side[data-native-panel="chat"] .native-game-panel-body{right:calc(168px + var(--rx-safe-right));}}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-layout:has([data-native-queue-practice="true"]){grid-template-columns:minmax(0,1fr) 128px;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no [data-native-queue-practice="true"] .native-game-actions{grid-template-columns:repeat(2,minmax(0,1fr));}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no [data-native-queue-practice="true"] .native-practice-summary>:is(.native-practice-kicker,strong){display:none;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no [data-native-queue-practice="true"] .native-practice-queue{order:-1;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-summary{grid-template-columns:minmax(0,1fr);align-items:start;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-practice-summary>*{grid-column:1;grid-row:auto;}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-game-side .native-game-panel-body{flex:1 1 60px;}
/* Browser bars can leave less than 300px of landscape height. The same top
   avatar and angled fan share a row so the four players and hand still fit. */
@media(max-height:300px){
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no{min-height:244px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-game{grid-template-rows:minmax(132px,1fr) 94px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-opponents .seat-top{top:32px!important;flex-direction:row;gap:8px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no :is(.native-no-deck,.native-no-discard){width:44px;height:62px;transform:translateY(24px);}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-area{height:94px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand-heading{height:14px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand{height:76px;padding-block:4px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-hand .native-no-card{width:48px;height:68px;flex-basis:48px;}
 body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-local-station{top:56px;}
}

/* Position each side avatar by its own centre, independently of hand size.
   The original fan artwork, angles and table styling remain inherited. */
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-table {
  --native-no-seat-inset:clamp(40px,9%,76px);
  --native-no-seat-fan-distance:58px;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no :is(.seat-left,.seat-right,.native-no-local-station).native-no-seat {
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  padding:0;
  gap:0;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no :is(.seat-left,.seat-right,.native-no-local-station) .native-no-seat-identity {
  position:absolute;
  inset:0;
  width:44px;
  height:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:0;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no :is(.seat-left,.seat-right,.native-no-local-station) .native-no-seat-caption {
  position:absolute;
  top:48px;
  left:50%;
  transform:translateX(-50%);
  width:86px;
  max-width:none;
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:13px;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no :is(.seat-left,.seat-right) .native-no-back-fan {
  position:absolute;
  top:50%;
  right:auto;
  bottom:auto;
  width:max-content;
  flex:none;
  margin:0;
  transform-origin:center;
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .seat-left .native-no-back-fan {
  left:calc(50% + var(--native-no-seat-fan-distance));
  transform:translate(-50%,-50%) rotate(90deg);
}
body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .seat-right .native-no-back-fan {
  left:calc(50% - var(--native-no-seat-fan-distance));
  transform:translate(-50%,-50%) rotate(-90deg);
}
@media(min-height:550px) {
  body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-table { --native-no-seat-fan-distance:70px; }
  body.native-game-active.no-mobile-active #nativeWorkerGameRoot .native-game-shell.mode-no .native-no-local-station { top:90px; }
}
