/* Portrait game layout. Desktop and pre-game pages keep their existing layout. */
.mobile-opportunity-summary{display:none}
.mobile-card-details>summary{display:none}
@media(min-width:601px),(orientation:landscape){.mobile-card-details>.opportunity-lead{display:block!important}.mobile-card-details:not([open])>.opportunity-lead{content-visibility:visible}}
body.mobile-game{padding-bottom:calc(54px + env(safe-area-inset-bottom))!important}
/* Keep transient messages compact and clear of the mobile navigation. */
body.mobile-game #toast{
  bottom:calc(64px + env(safe-area-inset-bottom));
  width:max-content;max-width:min(380px,calc(100% - 24px));box-sizing:border-box;
  padding:9px 12px;border:1px solid #b9a46670;border-radius:10px;
  background:linear-gradient(135deg,#253b2d,#13291e);color:#e5dfc2;
  font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;
  text-align:left;white-space:normal;overflow-wrap:anywhere;
  box-shadow:0 4px 14px #0005;
}
body.mobile-game .topbar:has(#tasksLink){height:44px!important;min-height:44px!important;padding:4px 12px!important;gap:8px;flex-wrap:nowrap!important}
body.mobile-game .topbar:has(#tasksLink) .brand{flex:0 0 auto!important;white-space:nowrap}
body.mobile-game .topbar:has(#tasksLink) nav{flex:0 0 auto!important;width:auto;max-width:none;justify-content:flex-end}
body.mobile-game .topbar .sat-nav-button{display:none!important}
body.mobile-game .brand{font-size:16px;gap:7px}
body.mobile-game .brand-icon{width:29px;height:29px;font-size:23px}
body.mobile-game .brand small,body.mobile-game .edition,body.mobile-game .topbar nav>a,body.mobile-game #mobileFullscreen{display:none!important}
body.mobile-game .topbar nav{margin-left:auto;gap:0;flex:none}
body.mobile-game #settingsBtn{font-size:12px;min-height:36px;padding:6px}
body.mobile-game #siteFooter,body.mobile-game .journey-notes,body.mobile-game .game-stage>.intro,body.mobile-game .mobile-player-strip{display:none!important}
body.mobile-game #app{padding:4px 8px 8px!important;overflow:visible;min-height:0}
body.mobile-game .network-hud{margin:0 0 4px;padding:4px 6px;min-height:28px;border-radius:7px;gap:3px;flex-wrap:nowrap;font-size:11px}
body.mobile-game .network-hud>div{gap:4px;flex-wrap:nowrap;min-width:0}
body.mobile-game .network-hud b{font-size:11px;letter-spacing:0;white-space:nowrap}
body.mobile-game .network-hud #networkStatus{font-size:10px;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mobile-game .network-hud .hud-chat-preview,body.mobile-game .network-hud #inviteRoom,body.mobile-game .network-hud #roomAudience,body.mobile-game .network-hud #roomChat{display:none!important}
body.mobile-game #onlineMenu{font-size:11px;padding:2px 4px;min-height:24px;white-space:nowrap}
body.mobile-game .game-table{gap:7px!important}
#mobileGameSummary{width:100%;min-width:0;flex:none}
.mobile-avatars{display:flex;gap:4px;padding:2px 0 6px;justify-content:space-around}
.mobile-avatars button{flex:1;min-width:0;max-width:76px;padding:0;background:none;border:0;box-shadow:none;color:#c1cfb8;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px}
.mobile-avatars .avatar{width:32px;height:32px;border:1px solid #96a78866;border-radius:50%;overflow:hidden;font-size:17px}
.mobile-avatars .is-turn .avatar{border:2px solid #e8c574;box-shadow:0 0 7px #e9c46160}
.mobile-avatars .is-out{opacity:.45}
.mobile-avatars button>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:15px}
.mobile-assets{border:1px solid #b3a06565;border-radius:10px;background:linear-gradient(135deg,#253b2d,#13291e);padding:6px 9px}
.mobile-assets header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:18px}
.mobile-assets header button{background:none;border:0;box-shadow:none;color:#c3caae;padding:2px;font-size:11px;min-height:24px}
.mobile-asset-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:4px 0}
.mobile-asset-numbers div{min-width:0}
.mobile-asset-numbers span{display:block;font-size:10px;color:#a9bba1}
.mobile-asset-numbers b{display:block;font-size:clamp(12px,3.8vw,18px);font-variant-numeric:tabular-nums;letter-spacing:-.03em;overflow-wrap:anywhere;color:#f5dfaa}
.mobile-asset-numbers .up{color:#a7d4a7}.mobile-asset-numbers .down{color:#ffb2a0}
.mobile-holdings{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#bfcbb0;line-height:17px}
.mobile-assets progress{display:block;width:100%;height:4px;margin:3px 0 1px;appearance:none;border:0;border-radius:5px;background:#102219}
.mobile-assets progress::-webkit-progress-bar{background:#102219;border-radius:5px}.mobile-assets progress::-webkit-progress-value{background:#9dc29c;border-radius:5px}
body.mobile-game .table-board{height:clamp(380px,calc(100svh - 310px),560px)!important;min-height:380px!important;padding:4px!important;border-radius:14px}
body.mobile-game .table-board .board{gap:3px}
body.mobile-game .table-board .tile{padding:0;min-height:0;border-radius:5px}
body.mobile-game .tile-icon{width:85%!important;height:75%!important;max-height:42px!important;align-self:center;justify-self:center}
body.mobile-game .tile-icon svg{width:100%!important;height:100%!important}
body.mobile-game .tile-num{font-size:8px!important;top:3px!important;left:3px!important}
body.mobile-game .board-pawn{height:28px!important;max-height:85%}
body.mobile-game .board-pawn.crowded{height:23px!important}
body.mobile-game .market-center{margin:0!important;padding:7px!important;gap:6px;justify-content:center!important;overflow:auto;border-radius:10px}
body.mobile-game .market-center .center-orbit,body.mobile-game .market-center .race-goal,body.mobile-game .market-center .center-chart,body.mobile-game .market-center .price-stages{display:none!important}
body.mobile-game .market-center .center-price-label{font-size:11px;line-height:16px}
body.mobile-game .market-center .center-price{font-size:clamp(23px,6.8vw,32px);line-height:1.2;margin:1px 0;letter-spacing:-.04em}
body.mobile-game .market-center .center-price small{font-size:10px;margin-left:4px}
body.mobile-game .market-center .center-change{font-size:14px;line-height:18px;margin:0}
body.mobile-game .market-center .center-change span{display:none}
body.mobile-game .market-center .turn-bar{width:100%;margin:3px 0;padding:4px 5px;gap:6px;min-height:40px;flex:none;order:0}
body.mobile-game .market-center .turn-bar .avatar,body.mobile-game .market-center .turn-bar small{display:none}
body.mobile-game .market-center .turn-bar strong{font-size:11px;line-height:15px}
body.mobile-game .market-center .turn-bar .dice{width:34px;height:34px;min-width:34px;margin:0;flex:none}
body.mobile-game .market-center #mainAction{order:1;width:100%;min-width:0;min-height:44px;margin:0;padding:7px 3px;font-size:17px;line-height:22px;flex:none}
body.mobile-game .market-center .center-trades{order:2;width:100%;margin:0;gap:5px;flex:none}
body.mobile-game .market-center .center-trades button{min-height:38px;padding:4px 2px;font-size:12px;line-height:18px}
body.mobile-game .market-center #protectionReminder{order:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 4px;width:100%;margin:0;padding:0;border:0;background:none;box-shadow:none;animation:none}
body.mobile-game #protectionReminder>strong{font-size:10px;line-height:16px;font-weight:500}
body.mobile-game #protectionReminder>p{display:none}
body.mobile-game #protectionReminder>div{display:flex;gap:6px}
body.mobile-game #protectionReminder button{min-height:27px;margin:0;padding:2px 5px;font-size:11px;background:none;border:0;box-shadow:none;color:#ebd599}
body.mobile-game #reserveBtn,body.mobile-game #repayBtn,body.mobile-game .motion-controls{order:4;font-size:11px;padding:3px;margin:0;min-height:28px}
#mobileGameNav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);padding:3px 8px calc(3px + env(safe-area-inset-bottom));background:#10271ef5;border-top:1px solid #b9a46670;backdrop-filter:blur(12px)}
#mobileGameNav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;min-height:43px;background:none;border:0;border-radius:5px;color:#b7c6b2;box-shadow:none;font-size:11px;padding:2px}
#mobileGameNav button span{font-size:19px;line-height:22px}#mobileGameNav button:first-child{color:#f5d38a;background:#bda55714}
body.mobile-game #roomSocialDock:not(.chat-expanded){display:none!important}
body.mobile-game #playerLedger{z-index:45}
/* The real board center is the card boundary. Only its content scrolls. */
body.mobile-game #overlay.board-card-host{padding:0!important;border-radius:9px;background:#152c20;overflow:hidden}
body.mobile-game #overlay.board-card-host .board-event-card{width:100%!important;height:100%!important;max-height:100%!important;padding:8px!important;border-radius:9px;gap:6px;box-shadow:none}
body.mobile-game #overlay .board-card-topline{display:flex!important;gap:4px;padding-bottom:4px;min-height:24px}
body.mobile-game #overlay .board-card-topline .event-card-owner{display:none}
body.mobile-game #overlay .board-card-category{font-size:14px!important;padding:0!important;border:0;background:none;letter-spacing:0}
body.mobile-game #overlay .board-card-meta{margin-left:auto;gap:3px}
body.mobile-game #overlay .decision-countdown{font-size:12px!important;padding:3px 5px!important}
body.mobile-game #overlay .board-card-layout{display:flex!important;flex-direction:column;gap:6px!important;min-height:0;overflow:auto!important;flex:1;margin:0}
body.mobile-game #overlay .board-card-story,body.mobile-game #overlay .board-card-actions,body.mobile-game #overlay .board-card-action-content{padding:0!important;border:0;background:none;min-height:0;overflow:visible!important;flex:none;container-type:normal}
body.mobile-game #overlay .board-event-card h2{font-size:19px!important;line-height:1.3;margin:0 0 7px!important;font-family:system-ui,sans-serif;letter-spacing:0}
body.mobile-game #overlay .board-event-card .eyebrow{display:none}
body.mobile-game #overlay .board-event-card p,body.mobile-game #overlay .board-event-card .hint{font-size:12px!important;line-height:1.5!important;margin:5px 0!important}
body.mobile-game #overlay .board-event-card .lesson{font-size:12px!important;padding:7px;margin:5px 0}
body.mobile-game #overlay .options{display:grid;gap:5px;margin:0}
body.mobile-game #overlay .opportunity-card .board-card-actions{margin-top:0!important}
body.mobile-game #overlay .choice{padding:7px 8px!important;min-height:40px;border-radius:7px}
body.mobile-game #overlay .choice strong{font-size:13px!important;line-height:18px}
body.mobile-game #overlay .choice small{font-size:10px!important;line-height:14px;margin-top:2px}
body.mobile-game #overlay .opportunity-card .choice small{display:none}
body.mobile-game #overlay .opportunity-card .choice:first-child:not(:disabled){color:#32260f;background:linear-gradient(#ffdf91,#d99b46);border-color:#f5d890}
body.mobile-game #overlay .opportunity-card .choice:disabled small{display:block}
body.mobile-game #overlay .opportunity-card .choice-investment{display:none}
body.mobile-game #overlay .mobile-opportunity-summary{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#0d251b;border:1px solid #8da57244;border-radius:8px;padding:8px;margin-bottom:5px}
body.mobile-game .mobile-opportunity-summary span{display:block;font-size:11px;color:#bdc9b0}
body.mobile-game .mobile-opportunity-summary b{display:block;font-size:17px;color:#f4d995;overflow-wrap:anywhere}
body.mobile-game .mobile-opportunity-summary small{grid-column:1/-1;font-size:10px;color:#a8bba0}
body.mobile-game #overlay .mobile-card-details>summary{display:block;font-size:11px;color:#dac68f;cursor:pointer;min-height:24px;line-height:24px}
body.mobile-game #overlay .mobile-card-details>summary:after{content:' ＋'}body.mobile-game #overlay .mobile-card-details[open]>summary:after{content:' −'}
body.mobile-game #overlay .board-event-card :is(.modal-actions,.receipt-footer,.board-trade-footer){position:static;display:flex;flex-wrap:wrap;gap:5px;flex:none;margin:0;padding:5px 0 0;min-height:0}
body.mobile-game #overlay .board-event-card :is(.modal-actions,.receipt-footer,.board-trade-footer)>button{min-height:40px;padding:5px;font-size:12px;flex:1 1 40%;line-height:18px}
body.mobile-game #overlay .market-card-price{padding:8px;border-radius:8px}
body.mobile-game #overlay .market-card-price>strong{font-size:26px;margin:4px 0;letter-spacing:-.035em}
body.mobile-game #overlay .market-card-price>span,body.mobile-game #overlay .market-card-badge{font-size:11px}
body.mobile-game #overlay .market-card-facts{gap:6px;padding:6px 0}
body.mobile-game #overlay .market-card-facts>div{flex:1 1 90px}
body.mobile-game #overlay .market-card-facts span{font-size:11px}body.mobile-game #overlay .market-card-facts strong{font-size:14px}
body.mobile-game #overlay .market-card-foot{font-size:10px;flex-basis:100%}
body.mobile-game #overlay .cash-trade input{min-height:40px;padding:7px;font-size:16px}
body.mobile-game #overlay .cash-shortcuts{gap:4px;margin:5px 0}
body.mobile-game #overlay .cash-shortcuts button{min-height:32px;font-size:11px;padding:4px}
body.mobile-game #overlay .cash-preview{padding:7px;margin:6px 0}
body.mobile-game #overlay .cash-preview-main strong{font-size:18px}
body.mobile-game #overlay .market-trade-quote{padding:5px;font-size:11px}
body.mobile-game #overlay .market-trade-quote strong{font-size:19px}
body.mobile-game #overlay .board-trade-switch button{min-height:32px;padding:4px;font-size:12px}
body.mobile-game #overlay .compact-protection .protection-prices strong{font-size:21px}
body.mobile-game #overlay .compact-protection .protection-current strong{font-size:16px}
body.mobile-game #overlay .protection-tabs button{font-size:11px;min-height:35px;padding:5px}
body.mobile-game #overlay .protection-summary,body.mobile-game #overlay .protection-current{gap:5px;padding:5px}
/* Auction stays on the board, with a scrollable middle and persistent submit controls. */
body.mobile-game .turn-auction-center{padding:0!important;margin:0!important;overflow:hidden!important}
body.mobile-game .board-center .compact-auction{height:100%;max-height:100%;width:100%;padding:7px;gap:5px;border-radius:9px;container-type:normal}
body.mobile-game .board-auction-top{display:flex!important;gap:3px;padding:0 0 4px}
body.mobile-game .board-auction-top .event-card-owner{display:none}
body.mobile-game .board-auction-top .board-card-category{font-size:14px!important;padding:0;border:0}
body.mobile-game .board-auction-top .auction-card-top{margin-left:auto;font-size:10px;line-height:1.3}
body.mobile-game .board-auction-top .auction-card-top b{font-size:12px}
body.mobile-game .compact-auction .board-auction-content{display:flex!important;flex-direction:column;min-height:0;overflow:hidden!important;gap:5px;flex:1}
body.mobile-game .compact-auction .auction-project{flex:1 1 auto!important;overflow:auto!important;min-height:64px}
body.mobile-game .compact-auction .auction-bidding{flex:none}
body.mobile-game .compact-auction .auction-project h2{font-size:17px;margin:0 0 4px}
body.mobile-game .compact-auction .auction-project .auction-seller-identity{font-size:11px;margin:0 0 4px;line-height:1.35}
body.mobile-game .compact-auction .auction-project-facts{padding:5px;font-size:11px}
body.mobile-game .compact-auction .auction-project-facts p{font-size:10px;line-height:1.4;margin:3px 0}
body.mobile-game .compact-auction .auction-project-facts strong{font-size:17px}
body.mobile-game .compact-auction .auction-payroll{padding:1px 0;gap:2px 6px}
body.mobile-game .compact-auction .auction-payroll>span{font-size:10px}
body.mobile-game .compact-auction .auction-entry-cost{padding:2px!important;margin:0!important}
body.mobile-game .compact-auction .auction-project-facts :is(strong,b){font-size:16px!important}
body.mobile-game .compact-auction .turn-auction-high{padding:5px;margin:0;min-height:0}
body.mobile-game .compact-auction .turn-auction-high strong{font-size:30px}
body.mobile-game .compact-auction .turn-auction-high span{font-size:11px}
body.mobile-game .compact-auction .auction-turn-name{font-size:12px;margin:0}
body.mobile-game .compact-auction .turn-bid-buttons{display:flex;flex:none;gap:5px;margin:0}
body.mobile-game .compact-auction .turn-bid-buttons button{min-height:40px;padding:5px;font-size:12px;flex:1}
body.mobile-game .compact-auction .auction-turn-help{font-size:9px;line-height:1.3;margin:0}
body.mobile-game .compact-auction input{min-height:40px;font-size:16px;padding:5px}
body.mobile-game .compact-auction .auction-round-actions label{font-size:11px;line-height:1.3;margin-bottom:4px}
body.mobile-game .compact-auction .auction-round-actions label small{font-size:10px}
body.mobile-game .compact-auction .turn-bid-quick button{min-height:30px;padding:4px;font-size:11px}
@media(max-height:720px){body.mobile-game .mobile-assets header{display:none}body.mobile-game .mobile-avatars .avatar{width:28px;height:28px}body.mobile-game .table-board{height:380px!important}}
@media(max-height:720px){
 body.mobile-game .compact-auction .auction-project{min-height:42px}
 body.mobile-game .compact-auction .turn-auction-high{max-height:40px;padding:3px 5px}
 body.mobile-game .compact-auction .turn-auction-high strong{font-size:24px}
 body.mobile-game .compact-auction .auction-quote-heading{font-size:10px;gap:0}
 body.mobile-game .compact-auction .turn-bid-quick{display:none}
 body.mobile-game .compact-auction input{min-height:36px;height:36px;padding:4px}
 body.mobile-game .compact-auction .auction-round-actions label{margin:2px 0;font-size:10px}
}

/* Square photos with external shop frames keep their full area on small screens. */
body.mobile-game .mobile-avatars:has(.avatar-frame){padding-top:14px;gap:5px}
body.mobile-game:has(.mobile-avatars .avatar-frame) .table-board{height:clamp(380px,calc(100svh - 325px),560px)!important}
body.mobile-game .mobile-avatars .avatar:has(.player-photo){border-radius:12%}
body.mobile-game .mobile-avatars .avatar:has(.avatar-frame){border-radius:12%;overflow:visible!important;margin-bottom:3px}

/* A single reading surface prevents receipt text from shrinking over its title. */
body.mobile-game #overlay .board-event-card .board-card-layout{flex:1 1 auto;align-items:stretch;overflow-x:hidden!important}
body.mobile-game #overlay .board-event-card :is(.board-card-story,.board-card-actions,.board-card-action-content){flex:0 0 auto!important;height:auto!important;max-height:none!important;min-width:0;container-type:normal!important;overflow:visible!important}
body.mobile-game #overlay .board-event-card .board-card-actions{margin-top:0!important}
body.mobile-game #overlay .board-event-card .life-receipt{padding:8px;margin:0;border-radius:7px;font-size:12px;min-width:0}
body.mobile-game #overlay .board-event-card .life-receipt>strong{font-size:12px;line-height:1.5}
body.mobile-game #overlay .board-event-card .receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}
body.mobile-game #overlay .board-event-card .receipt-grid span{font-size:10px;line-height:1.5}
body.mobile-game #overlay .board-event-card .receipt-grid b{font-size:18px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
body.mobile-game #overlay .board-event-card .life-receipt small{font-size:10px;line-height:1.5}
body.mobile-game #overlay .board-event-card .receipt-footer span{font-size:10px;white-space:normal}
body.mobile-game #overlay .board-event-card :is(.storm-odds,.event-notice-body){margin:4px 0;padding:0}
body.mobile-game #overlay .board-event-card .storm-odds span{font-size:10px;padding:4px}
body.mobile-game #overlay .board-event-card .bbq-collapse-quote{padding:8px;margin:4px 0}
body.mobile-game #overlay .board-event-card .bbq-collapse-quote strong{font-size:25px}
body.mobile-game #overlay .board-event-card .bbq-loss-row{padding:7px 0;gap:7px}
body.mobile-game #overlay .board-event-card .bbq-loss-row :is(strong,b){font-size:12px;overflow-wrap:anywhere;white-space:normal}
body.mobile-game #overlay .board-event-card .bbq-loss-row span{font-size:10px}
body.mobile-game #overlay .board-event-card .protection-current{margin:5px 0;gap:3px}
body.mobile-game #overlay .board-event-card .protection-current span{font-size:12px;line-height:1.5}
body.mobile-game #overlay .board-event-card .protection-prices{gap:6px;margin:7px 0}
body.mobile-game #overlay .board-event-card .protection-prices>div{padding:7px;gap:3px}
body.mobile-game #overlay .board-event-card .protection-prices span{font-size:10px}
body.mobile-game #overlay .board-event-card .protection-prices strong{font-size:19px;white-space:normal;overflow-wrap:anywhere}
body.mobile-game #overlay .board-event-card .protection-renew{padding:6px 0;gap:8px}
body.mobile-game #overlay .board-event-card .protection-renew b{font-size:13px}
body.mobile-game #overlay .board-event-card .protection-renew small{font-size:11px;line-height:1.5}
body.mobile-game #overlay .board-event-card .protection-renew input{width:44px;min-height:26px;height:26px;padding:0;flex:none}
body.mobile-game #overlay .board-event-card .protection-actions button{margin:0;min-height:40px}
body.mobile-game #overlay .board-event-card>.mobile-card-footer{flex:0 0 auto;border-top:1px solid #a7aa7344;background:none}
body.mobile-game #overlay .board-event-card>.protection-actions #protectionRules{flex:1 1 100%;min-height:24px;padding:2px}
body.mobile-game #overlay .board-event-card .protection-settings .protection-readonly{padding:6px}
body.mobile-game #overlay .board-event-card .protection-fee-ladder{grid-template-columns:repeat(2,minmax(0,1fr));margin:7px 0;gap:5px}
body.mobile-game #overlay .board-event-card .protection-fee-ladder>div{padding:6px 3px}
body.mobile-game #overlay .board-event-card .protection-fee-ladder span{font-size:10px}
body.mobile-game #overlay .board-event-card .protection-fee-ladder b{font-size:14px}
body.mobile-game #overlay .board-event-card .premium-price-change{padding:8px;margin:7px 0;gap:6px}
body.mobile-game #overlay .board-event-card .premium-price-change span{font-size:10px}
body.mobile-game #overlay .board-event-card .premium-price-change :is(strong,del){font-size:19px;white-space:normal;overflow-wrap:anywhere}
body.mobile-game #overlay .board-event-card .protection-claim-result{padding:7px}
body.mobile-game #overlay .board-event-card .protection-claim-result>strong{font-size:23px}
/* The mounted auction host follows the board until an input is focused. */
body.mobile-game #mobileAuctionHost.portrait-auction-host{padding:0;border-radius:9px}
body.mobile-game #mobileAuctionHost .compact-auction{width:100%;height:100%;padding:7px;gap:5px;border-radius:9px}
body.mobile-game #mobileAuctionHost.auction-keyboard{z-index:46}
body.mobile-game #mobileAuctionHost.auction-keyboard .board-auction-content{overflow:auto!important;flex:1 1 auto;overscroll-behavior:contain}
body.mobile-game #mobileAuctionHost.auction-keyboard .auction-project{flex:none!important;min-height:0;max-height:110px}
body.mobile-game #mobileAuctionHost.auction-keyboard .turn-bid-quick{display:none}
body.mobile-game #mobileAuctionHost.auction-keyboard .auction-turn-help{display:none}

/* Small protection status links preserve space for the game board. */
@media(max-width:900px){#personalTradeDock{display:none!important}}
body.mobile-game .market-center #protectionReminder{display:none!important}
body.mobile-game .mobile-protection{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:0;padding:0;border:0;min-height:30px}
body.mobile-game .mobile-protection .seat-status-row{display:flex;align-items:center;gap:6px;margin:0}
body.mobile-game .mobile-protection .seat-protection{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:30px;margin:0;padding:3px 5px;font-size:11px;line-height:16px;border:0;border-radius:4px;background:none;box-shadow:none;color:#e7ce92;white-space:nowrap}
body.mobile-game .mobile-protection .is-protected{color:#9cc9ad}
body.mobile-game .mobile-protection .seat-protection:focus-visible{outline:1px solid #e7c875;outline-offset:1px}
body.mobile-game .mobile-protection small{display:block;margin-right:auto;font-size:10px;line-height:14px;color:#adbaa4}
body.mobile-game .market-center{justify-content:flex-start!important;overflow-y:auto;min-height:0}
body.mobile-game .market-center .center-price-label,body.mobile-game .market-center .center-price,body.mobile-game .market-center .center-change{flex:none}
body.mobile-game .market-center #mainAction{display:block!important;visibility:visible!important;min-height:40px;font-size:15px;line-height:20px}
body.mobile-game .market-center .center-trades button{min-height:34px}

body.mobile-game .mobile-holdings{align-items:center;gap:4px}
body.mobile-game .mobile-holdings>span{white-space:nowrap;font-size:10px}
body.mobile-game .mobile-holdings .mobile-protection{flex:none;min-height:26px;gap:0}
body.mobile-game .mobile-holdings .seat-status-row{gap:2px}
body.mobile-game .mobile-holdings .seat-protection{min-height:26px;padding:3px 2px;font-size:10px;font-weight:500}

body.mobile-game .mobile-assets{padding-bottom:3px}

/* Put all personal shortcuts on a full-width row below holdings. */
body.mobile-game .mobile-holdings{flex-wrap:wrap}
body.mobile-game .mobile-holdings .mobile-protection{flex:1 0 100%;width:100%}
body.mobile-game .mobile-protection .seat-status-row{width:100%;gap:6px}
body.mobile-game .mobile-protection .seat-protection{flex:1 1 0;min-height:30px;font-size:11px;padding:4px 3px}
body.mobile-game .mobile-protection .seat-protection b{display:none}
body.mobile-game .mobile-protection .seat-trade{color:#ffe0a0;background:#bca35c12;border:1px solid #bca35c44}

body.mobile-game .mobile-protection .seat-status-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}body.mobile-game .mobile-protection .seat-protection{min-width:0;min-height:36px;font-size:10px;padding:4px 1px}body.mobile-game .mobile-protection .mobile-bank{color:#ffe0a0;background:#bca35c12;border:1px solid #bca35c44}

/* Board cards are in-page panels: keep the surrounding mobile board scrollable. */
body.mobile-game:has(#overlay.board-card-host:not(.hidden)):not(:has(.overlay:not(.hidden):not(.board-card-host))){overflow-y:auto}
body.mobile-game #mobileAuctionHost .compact-auction .board-auction-content{overflow-y:auto!important;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
body.mobile-game #mobileAuctionHost .compact-auction .auction-project{flex:0 0 auto!important;overflow:visible!important}
