/* THE TIMER V1.0.43 — MOBILE & SESSION STABILITY */

/* Round briefing is gameplay-critical and must sit above ordinary UI. */
#briefingOverlay.briefingOverlay.on{display:flex!important;visibility:visible!important;opacity:1!important;z-index:180000!important}
body.v143BriefingActive #briefingOverlay{pointer-events:auto!important}

/* Landscape/fullscreen preparation retired: cinematics are portrait and start
   without an intermediate "waiting for other phones" page. */
#v133CinemaPrep,#v136CinemaPrep,#v132RotateOverlay,#v133ReturnPortrait{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.v133ManagedCinema{overflow:auto}

/* Correct the × inside the rules/protocol guide circle. */
.v114GuideClose{
  display:grid!important;place-items:center!important;padding:0!important;
  line-height:1!important;text-align:center!important;text-indent:0!important;
  font-family:Arial,sans-serif!important;font-size:25px!important;font-weight:300!important;
}
.v114GuideClose::first-line{line-height:1!important}

/* Mobile navigation created by V1.0.43. Hidden on desktop. */
.v143MobileDock,.v143MoreSheet,.v143MoreBackdrop{display:none}

@media(max-width:900px) and (pointer:coarse){
  html.v143MobileHost,html.v143MobileHost body{height:100%;min-height:100%;overflow:hidden!important;overscroll-behavior:none}
  body.v143MobileHost #hostView{position:fixed!important;inset:0!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;padding:0!important}
  body.v143MobileHost #hostView>.v28Bg,body.v143MobileHost #hostView>.v28Grain{position:fixed!important}
  body.v143MobileHost #hostView>.v28Grain{display:none!important}
  body.v143MobileHost #hostView .v28HostShell{display:block!important;height:100dvh!important;min-height:0!important;width:100%!important}

  /* Kill the accumulated desktop/tablet sidebar rules. */
  body.v143MobileHost #hostView .v28HostNav{display:none!important;width:0!important;min-width:0!important;height:0!important;position:absolute!important;overflow:hidden!important;padding:0!important;border:0!important}

  body.v143MobileHost #hostView .v28HostMain{
    box-sizing:border-box!important;width:100%!important;max-width:none!important;height:100dvh!important;min-height:0!important;
    padding:8px 10px calc(68px + env(safe-area-inset-bottom))!important;overflow:hidden!important;
  }
  body.v143MobileHost #hostView .v28HostHeader{
    height:54px!important;min-height:54px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:8px!important;padding:3px 2px 7px!important;margin:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important;
  }
  body.v143MobileHost #hostView .v28HostHeader>div:first-child{min-width:0!important}
  body.v143MobileHost #hostView .v28PageEyebrow{display:none!important}
  body.v143MobileHost #hostView #hostSectionTitle{font-size:17px!important;line-height:1!important;letter-spacing:.08em!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.v143MobileHost #hostView .v28HostCode{width:auto!important;gap:5px!important;justify-content:flex-end!important}
  body.v143MobileHost #hostView .v28HostCode span{display:none!important}
  body.v143MobileHost #hostView .v28HostCode strong{font-size:15px!important;letter-spacing:3px!important}
  body.v143MobileHost #hostView .v28HostCode button{width:30px!important;height:30px!important}
  body.v143MobileHost #hostView #v115HeaderRight{display:none!important}

  /* One small live strip instead of the large desktop command bar. */
  body.v143MobileHost #v4413CommandBar{
    position:relative!important;top:auto!important;z-index:10!important;height:40px!important;min-height:40px!important;margin:5px 0!important;padding:4px!important;
    display:block!important;border-radius:9px!important;background:rgba(7,10,12,.88)!important;backdrop-filter:none!important;box-shadow:none!important;overflow:hidden!important;
  }
  body.v143MobileHost #v4413CommandBar .v4413Vitals{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;overflow:hidden!important}
  body.v143MobileHost #v4413CommandBar .v4413Vital{display:flex!important;min-width:0!important;height:30px!important;padding:3px 5px!important;gap:3px!important;justify-content:center!important;border-radius:6px!important}
  body.v143MobileHost #v4413CommandBar .v4413Vital span{font-size:6px!important;letter-spacing:.07em!important}
  body.v143MobileHost #v4413CommandBar .v4413Vital strong{font-size:8px!important;max-width:64px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.v143MobileHost #v4413QueueVital,body.v143MobileHost #v4413SensorVital,body.v143MobileHost #v4413AttentionVital,
  body.v143MobileHost #v4413CommandBar .v4413Vitals>.v4413Vital:last-child{display:none!important}
  body.v143MobileHost #v4413CommandBar .v4413Quick,body.v143MobileHost #v4413CommandBar .v4413Warnings{display:none!important}
  body.v143MobileHost #v4415NetVital{display:flex!important}

  body.v143MobileHost #hostView .v28HostPanel{
    box-sizing:border-box!important;position:relative!important;height:calc(100dvh - 112px - 68px - env(safe-area-inset-bottom))!important;min-height:0!important;
    padding:5px 0 0!important;margin:0!important;overflow:hidden!important;animation:none!important;transition:none!important;transform:none!important;
    scrollbar-width:thin;
  }
  body.v143MobileHost #hostView .v28HostPanel.active{display:block!important;animation:none!important}
  body.v143MobileHost #hostView .v115SectionLead{display:none!important}
  body.v143MobileHost #hostView *{scroll-behavior:auto!important}

  /* No GPU-heavy animated menu/background effects on the Master phone. */
  body.v143MobileHost #hostView .v28Fog,body.v143MobileHost #hostView [class*="Grain"],body.v143MobileHost #hostView [class*="grain"]{animation:none!important}
  body.v143MobileHost #hostView .v28HostPanel,body.v143MobileHost #hostView .v115NavBtn,body.v143MobileHost #hostView button{transition:none!important}

  /* Overview: everything important on a single viewport. */
  body.v143MobileHost #hostPanelOverview>.v35OverviewTop,
  body.v143MobileHost #hostPanelOverview>.v35ControlDeck,
  body.v143MobileHost #hostPanelOverview>.v35OverviewRoster{display:none!important}
  body.v143MobileHost #hostPanelOverview .v115OverviewHero{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important}
  body.v143MobileHost #hostPanelOverview .v115HeroMain{padding:12px!important;border-radius:11px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroKicker{font-size:7px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroTitle{font-size:23px!important;margin:4px 0!important}
  body.v143MobileHost #hostPanelOverview .v115HeroStatus{font-size:9px!important;line-height:1.3!important;margin:0 0 9px!important;max-height:25px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelOverview .v115HeroMetrics{grid-template-columns:repeat(4,1fr)!important;gap:5px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroMetric{padding:8px 5px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroMetric span{font-size:6px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroMetric strong{font-size:18px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroActions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;margin-top:8px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroActions button{min-height:37px!important;font-size:8px!important;padding:0 7px!important}
  body.v143MobileHost #hostPanelOverview .v115HeroActions .primary{grid-column:1/-1!important}
  body.v143MobileHost #hostPanelOverview .v115HeroSide{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  body.v143MobileHost #hostPanelOverview .v115NextCard{padding:10px!important;min-height:0!important}
  body.v143MobileHost #hostPanelOverview .v115NextTitle{font-size:14px!important}
  body.v143MobileHost #hostPanelOverview .v115NextDetail{font-size:8px!important;line-height:1.25!important;margin-top:3px!important;max-height:22px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelOverview .v115NextSteps,body.v143MobileHost #hostPanelOverview .v115AlertCard{display:none!important}
  body.v143MobileHost #hostPanelOverview .v115QuickDeck{grid-template-columns:1fr 1fr!important;gap:5px!important;margin-top:6px!important}
  body.v143MobileHost #hostPanelOverview .v115Quick{min-height:52px!important;padding:8px!important}
  body.v143MobileHost #hostPanelOverview .v115Quick strong{font-size:9px!important}
  body.v143MobileHost #hostPanelOverview .v115Quick span{display:none!important}

  /* Preparer: compact editor, no giant explanatory blocks. */
  body.v143MobileHost #hostPanelGameplay{overflow:auto!important;padding-bottom:8px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard{padding:9px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepTop p,body.v143MobileHost #hostPanelGameplay .v117FootNote,
  body.v143MobileHost #hostPanelGameplay .v117ChoiceHelp,body.v143MobileHost #hostPanelGameplay .v117Hero small{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v117Hero{padding:8px 10px!important;margin-bottom:5px!important;flex-direction:row!important}
  body.v143MobileHost #hostPanelGameplay .v117Hero strong{font-size:16px!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence{margin:5px 0!important;gap:3px!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence span{font-size:7px!important;padding:4px 5px!important}
  body.v143MobileHost #hostPanelGameplay .v117EditGrid{grid-template-columns:1fr 1fr!important;gap:5px!important}
  body.v143MobileHost #hostPanelGameplay .v117EditMain{grid-column:1/-1!important}
  body.v143MobileHost #hostPanelGameplay .v117EditGrid>section{padding:8px!important}
  body.v143MobileHost #hostPanelGameplay .v117SectionTitle{margin-bottom:5px!important}body.v143MobileHost #hostPanelGameplay .v117SectionTitle small{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v117Fields{grid-template-columns:repeat(3,1fr)!important;gap:4px!important;margin-top:4px!important}
  body.v143MobileHost #hostPanelGameplay .v117Field{padding:5px!important}body.v143MobileHost #hostPanelGameplay .v117Field>span{font-size:7px!important;margin-bottom:3px!important}
  body.v143MobileHost #hostPanelGameplay .v117EditGrid select{min-height:34px!important;font-size:9px!important;margin-top:3px!important}
  body.v143MobileHost #hostPanelGameplay .v117LaunchRow{grid-template-columns:1fr auto!important;gap:5px!important;margin-top:7px!important}
  body.v143MobileHost #hostPanelGameplay .v117Launch{min-height:42px!important;font-size:10px!important}
  body.v143MobileHost #hostPanelGameplay .v117AdvancedBtn{min-height:42px!important;font-size:7px!important;padding:0 8px!important}
  body.v143MobileHost #hostPanelGameplay .v113Status{grid-column:1/-1!important;font-size:7px!important;text-align:center!important}

  /* Timer: keep parameters + live chrono + results inside one screen. */
  body.v143MobileHost #hostPanelTimer .v28TimerLayout{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;height:auto!important}
  body.v143MobileHost #hostPanelTimer .v28TimerConfig,body.v143MobileHost #hostPanelTimer .v28TimerCore{padding:9px!important;border-radius:10px!important;min-width:0!important}
  body.v143MobileHost #hostPanelTimer #modeSelect{min-height:36px!important;font-size:9px!important}
  body.v143MobileHost #hostPanelTimer .v28ModeInfo{font-size:8px!important;line-height:1.25!important;max-height:33px!important;overflow:hidden!important;margin:5px 0!important}
  body.v143MobileHost #hostPanelTimer #modeConfig{grid-template-columns:1fr 1fr!important;gap:4px!important}
  body.v143MobileHost #hostPanelTimer #modeConfig label{font-size:7px!important}
  body.v143MobileHost #hostPanelTimer #modeConfig input{min-height:31px!important;font-size:10px!important}
  body.v143MobileHost #hostPanelTimer .v28TimerDigits{font-size:48px!important;line-height:1!important;margin:6px 0!important}
  body.v143MobileHost #hostPanelTimer .v28TimerButtons{gap:5px!important}body.v143MobileHost #hostPanelTimer .v28TimerButtons button{min-height:38px!important;font-size:8px!important}
  body.v143MobileHost #hostPanelTimer .v28Results{margin-top:7px!important;padding:7px!important;max-height:170px!important;overflow:auto!important}
  body.v143MobileHost #hostPanelTimer .v28Results table{font-size:8px!important}

  /* Events fit in a 2-column launch pad. */
  body.v143MobileHost #hostPanelEvents{overflow:auto!important}
  body.v143MobileHost #hostPanelEvents .v28PanelHeader p{display:none!important}
  body.v143MobileHost #hostPanelEvents .v28PanelHeader{margin-bottom:5px!important;align-items:center!important}
  body.v143MobileHost #hostPanelEvents .v28PanelHeader h2{font-size:18px!important;margin:0!important}
  body.v143MobileHost #hostPanelEvents .v28ActionList{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
  body.v143MobileHost #hostPanelEvents .v28ActionList button{min-height:49px!important;padding:7px!important;grid-template-columns:24px 1fr!important;gap:5px!important}
  body.v143MobileHost #hostPanelEvents .v28ActionList button span{font-size:16px!important}
  body.v143MobileHost #hostPanelEvents .v28ActionList button strong{font-size:8px!important}
  body.v143MobileHost #hostPanelEvents .v28ActionList button small{display:none!important}

  /* Story / ambience / system: contained screens instead of page-length documents. */
  body.v143MobileHost #hostPanelStory,body.v143MobileHost #hostPanelAmbience,body.v143MobileHost #hostPanelImmersion,
  body.v143MobileHost #hostPanelProtocols,body.v143MobileHost #hostPanelControls{overflow:auto!important;padding-bottom:8px!important}
  body.v143MobileHost #hostPanelStory .v28PanelHeader p,body.v143MobileHost #hostPanelStory .storyDirectorNow p{display:none!important}
  body.v143MobileHost #hostPanelStory .storyDirectorStatus{grid-template-columns:repeat(4,1fr)!important;gap:4px!important}
  body.v143MobileHost #hostPanelStory .storyDirectorStatus>div{padding:6px!important}body.v143MobileHost #hostPanelStory .storyDirectorStatus span{font-size:6px!important}body.v143MobileHost #hostPanelStory .storyDirectorStatus strong{font-size:8px!important}
  body.v143MobileHost #hostPanelStory .storyDirectorNow{padding:8px!important;margin-top:5px!important}
  body.v143MobileHost #hostPanelStory .storyDirectorNow h3{font-size:16px!important}
  body.v143MobileHost #hostPanelStory .storyDirectorControls,body.v143MobileHost #hostPanelStory .storyDirectorQuick{gap:4px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important}
  body.v143MobileHost #hostPanelStory .storyDirectorControls button,body.v143MobileHost #hostPanelStory .storyDirectorQuick button{min-height:35px!important;font-size:7px!important;padding:4px!important}
  body.v143MobileHost #hostPanelStory .storyTimeline{max-height:185px!important;overflow:auto!important}

  body.v143MobileHost #hostPanelAmbience .v28ActionList.compact{grid-template-columns:repeat(3,1fr)!important;gap:5px!important}
  body.v143MobileHost #hostPanelAmbience .v28ActionList button{min-height:54px!important;padding:6px!important}body.v143MobileHost #hostPanelAmbience .v28ActionList button small{font-size:7px!important}
  body.v143MobileHost #hostPanelAmbience .v28MessageComposer{margin-top:6px!important}body.v143MobileHost #hostPanelAmbience .v28MessageComposer textarea{min-height:58px!important}
  body.v143MobileHost #hostPanelControls .v28ControlRows{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  body.v143MobileHost #hostPanelControls .v28ControlRows>div{padding:9px!important}body.v143MobileHost #hostPanelControls .v28ControlRows small{display:none!important}

  /* Players: list stays on the page; a tapped player's detail opens as a sheet. */
  body.v143MobileHost #hostPanelPlayers{overflow:hidden!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayersHead{display:none!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:3px!important;margin:0 0 5px!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics>div{padding:5px 3px!important;border-radius:6px!important;text-align:center!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics span{font-size:5px!important;letter-spacing:0!important}body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics strong{font-size:13px!important;margin-top:2px!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayersWorkspace{display:block!important;height:calc(100% - 47px)!important;min-height:0!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayerBrowser{height:100%!important;display:flex!important;flex-direction:column!important}
  body.v143MobileHost #hostPanelPlayers .v130BrowserHead{padding:7px 9px 3px!important}body.v143MobileHost #hostPanelPlayers .v130BrowserHead strong{font-size:12px!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayerToolbar{padding:4px 7px 6px!important;gap:4px!important}
  body.v143MobileHost #hostPanelPlayers .v35SearchWrap{display:none!important}
  body.v143MobileHost #hostPanelPlayers .v35FilterRow{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:3px!important}
  body.v143MobileHost #hostPanelPlayers .v35Filter{padding:5px 6px!important;font-size:6px!important;white-space:nowrap!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayersList{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:5px!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayerCard{min-height:55px!important;padding:6px!important;margin-bottom:4px!important;grid-template-columns:31px minmax(0,1fr) auto!important;gap:6px!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayerNum{width:30px!important;height:30px!important;font-size:8px!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayerMeta strong{font-size:11px!important}body.v143MobileHost #hostPanelPlayers .v130PlayerMeta small{display:none!important}
  body.v143MobileHost #hostPanelPlayers .v130MiniStates{margin-top:3px!important;gap:3px!important}body.v143MobileHost #hostPanelPlayers .v130MiniState{min-height:17px!important;padding:0 4px!important;font-size:6px!important}
  body.v143MobileHost #hostPanelPlayers .v130CardStatus{min-width:42px!important;padding:4px!important;font-size:6px!important}
  body.v143MobileHost #hostPanelPlayers .v35SecondaryDetails{display:none!important}
  body.v143MobileHost #hostPanelPlayers .v130PlayerDetail{
    display:none!important;position:fixed!important;z-index:2147481500!important;left:8px!important;right:8px!important;top:64px!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;
    min-height:0!important;overflow:auto!important;border-color:rgba(188,67,53,.32)!important;box-shadow:0 25px 80px rgba(0,0,0,.8)!important;background:#090c0e!important;
  }
  body.v143MobileHost #hostPanelPlayers .v130PlayerDetail.v143Open{display:block!important}
  .v143PlayerDetailClose{display:grid;place-items:center;position:sticky;float:right;top:8px;right:8px;z-index:4;width:34px;height:34px;margin:8px;border:1px solid rgba(255,255,255,.10);border-radius:50%;background:#111518;color:#ddd;font-size:22px;line-height:1;padding:0}
  body.v143MobileHost #hostPanelPlayers .v130DetailTop{padding:12px!important}body.v143MobileHost #hostPanelPlayers .v130DetailBody{padding:10px!important}body.v143MobileHost #hostPanelPlayers .v130DetailSection{margin-top:8px!important}

  /* Bottom dock. */
  body.v143MobileHost .v143MobileDock{
    display:grid!important;grid-template-columns:repeat(5,1fr);position:fixed;z-index:2147481000;left:0;right:0;bottom:0;height:calc(62px + env(safe-area-inset-bottom));
    padding:5px 5px env(safe-area-inset-bottom);background:rgba(5,7,9,.97);border-top:1px solid rgba(255,255,255,.08);box-shadow:0 -12px 36px rgba(0,0,0,.42);backdrop-filter:blur(12px)
  }
  .v143MobileDock button{appearance:none;border:0;background:none;color:#737d82;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:0;font:800 7px/1 inherit;letter-spacing:.03em}
  .v143MobileDock button i{display:grid;place-items:center;width:28px;height:27px;border-radius:8px;font-style:normal;font-size:15px;color:#8e989d}
  .v143MobileDock button.active{color:#eee}.v143MobileDock button.active i{color:#f0d8d3;background:rgba(132,36,28,.30);box-shadow:inset 0 0 0 1px rgba(201,66,50,.20)}

  .v143MoreBackdrop{position:fixed;inset:0;z-index:2147481050;background:rgba(0,0,0,.62);opacity:0;pointer-events:none;transition:none!important}.v143MoreBackdrop.on{display:block!important;opacity:1;pointer-events:auto}
  .v143MoreSheet{display:block;position:fixed;z-index:2147481100;left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom));padding:7px 11px 12px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,#121618,#080a0c);box-shadow:0 24px 80px rgba(0,0,0,.75);transform:translateY(calc(100% + 90px));pointer-events:none;transition:none!important}
  .v143MoreSheet.on{transform:none;pointer-events:auto}
  .v143SheetHandle{width:36px;height:3px;border-radius:99px;background:#343c40;margin:0 auto 8px}.v143SheetHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.v143SheetHead small{display:block;color:#6f797e;font-size:7px;letter-spacing:.16em}.v143SheetHead strong{display:block;font-size:15px;margin-top:3px}.v143SheetHead>button{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid rgba(255,255,255,.08);background:#0b0e10;color:#bbb;font-size:20px;padding:0;line-height:1}
  .v143SheetGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.v143SheetGrid button{min-width:0;min-height:58px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(255,255,255,.018);color:#afb7ba;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:5px;font:800 7px/1 inherit}.v143SheetGrid i{font-style:normal;font-size:17px;color:#bc8e87}.v143SheetGrid span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

  /* Rules guide uses most of the screen without requiring awkward page scroll. */
  .v114GuideOverlay{padding:8px!important}.v114GuidePanel{width:100%!important;max-height:calc(100dvh - 16px)!important;padding:12px!important;border-radius:13px!important}.v114GuideTop{margin-bottom:8px!important}.v114GuideTop h2{font-size:19px!important}.v114GuideClose{width:36px!important;height:36px!important;font-size:23px!important}.v114GuideProgress{margin-bottom:8px!important}.v114GuideLead{font-size:9px!important;margin-bottom:7px!important}.v114GuideCards{grid-template-columns:1fr 1fr!important;gap:5px!important}.v114GuideCard{padding:7px!important}.v114GuideCard strong{font-size:9px!important;margin-bottom:2px!important}.v114GuideCard span{font-size:7px!important;line-height:1.3!important}.v114GuideRule{margin-top:7px!important;padding:7px!important;font-size:8px!important}.v114GuideActions{margin-top:8px!important}.v114GuideActions button{min-height:35px!important;font-size:8px!important}

  /* V43 mobile cockpit hardening after real-size rendering. The bottom dock
     replaces every desktop navigation strip; legal links remain available
     from the public landing/settings but do not consume game-master space. */
  body.v143MobileHost #v141PublicFooter{display:none!important}
  body.v143MobileHost #v4413CommandBar{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
  body.v143MobileHost #v412NotifButton{display:none!important}
  body.v143MobileHost #hostView .v28HostHeader{height:52px!important;min-height:52px!important;grid-template-columns:minmax(0,1fr) auto!important;padding:5px 2px!important}
  body.v143MobileHost #hostView .v28HostCode{position:static!important;inset:auto!important;transform:none!important;margin:0!important;height:38px!important;min-height:38px!important;padding:4px 6px!important;align-self:center!important;background:rgba(255,255,255,.018)!important;border:1px solid rgba(255,255,255,.055)!important;border-radius:8px!important}
  body.v143MobileHost #hostView .v28HostCode strong{font-size:13px!important;letter-spacing:2px!important}
  body.v143MobileHost #hostView .v28HostPanel{height:calc(100dvh - 52px - 78px - env(safe-area-inset-bottom))!important;padding-top:7px!important}

  /* PREPARER / AUTO: one-phone-screen summary. Descriptions remain available
     in assisted/timer views; the auto cockpit prioritises the next action. */
  body.v143MobileHost #hostPanelGameplay{overflow:hidden!important}
  body.v143MobileHost #hostPanelGameplay .v113GameplaySimple,
  body.v143MobileHost #hostPanelGameplay #v113GameplayPrep,
  body.v143MobileHost #hostPanelGameplay .v113PrepCard{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;box-sizing:border-box!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard{padding:8px!important;display:flex!important;flex-direction:column!important;gap:6px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepTop{flex:0 0 auto!important;min-height:0!important;height:auto!important;padding:0 0 7px!important;margin:0!important;align-items:center!important;gap:7px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepTop .v28BlockLabel{font-size:6px!important;letter-spacing:.12em!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepTop h3{font-size:17px!important;line-height:1.05!important;margin:3px 0 0!important}
  body.v143MobileHost #hostPanelGameplay .v113ModeToggle{flex:0 0 142px!important;min-width:142px!important;height:36px!important;gap:3px!important;padding:3px!important}
  body.v143MobileHost #hostPanelGameplay .v113ModeToggle button{min-height:28px!important;height:28px!important;font-size:7px!important;padding:0 5px!important}
  body.v143MobileHost #hostPanelGameplay .v113AutoBody{flex:1!important;min-height:0!important;height:auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:6px!important}
  body.v143MobileHost #hostPanelGameplay .v119AutoTop{flex:0 0 auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important}
  body.v143MobileHost #hostPanelGameplay .v119AutoTop .k{font-size:6px!important}
  body.v143MobileHost #hostPanelGameplay .v119AutoTop strong{font-size:18px!important;line-height:1.05!important;margin:2px 0 0!important}
  body.v143MobileHost #hostPanelGameplay .v119AutoTop small{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v119AutoBtns button{min-height:32px!important;height:32px!important;font-size:6px!important;padding:0 7px!important;white-space:nowrap!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence{flex:0 0 auto!important;height:26px!important;min-height:26px!important;margin:0!important;gap:2px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence span{height:24px!important;min-height:24px!important;padding:2px 5px!important;font-size:6px!important;white-space:nowrap!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence span i{width:18px!important;height:18px!important;font-size:7px!important}
  body.v143MobileHost #hostPanelGameplay .v117Sequence b{font-size:7px!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryGrid{flex:1 1 auto!important;min-height:0!important;height:auto!important;margin:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:5px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard{min-height:0!important;height:auto!important;padding:7px 8px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard:nth-child(5){grid-column:1/-1!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard span{font-size:6px!important;margin:0!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard strong{font-size:11px!important;line-height:1.08!important;margin:2px 0 0!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard small{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepReason{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v117LaunchRow{flex:0 0 auto!important;min-height:42px!important;height:42px!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;align-items:stretch!important}
  body.v143MobileHost #hostPanelGameplay .v117LaunchRow .v117Launch{height:42px!important;min-height:42px!important;font-size:8px!important}
  body.v143MobileHost #hostPanelGameplay .v117LaunchRow .v117AdvancedBtn{height:42px!important;min-height:42px!important;max-width:116px!important;font-size:6px!important;padding:0 7px!important}
  body.v143MobileHost #hostPanelGameplay .v117LaunchRow .v113Status{display:none!important}

  /* Assisted editor: compact all editable controls into the same contained
     cockpit. If a very unusual mode exposes many numeric fields, only this
     inner editor may scroll — never the page itself. */
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v113AutoBody{overflow:auto!important;padding-right:2px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117Hero{padding:7px!important;margin:0!important;min-height:46px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117Hero strong{font-size:15px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117EditGrid{grid-template-columns:1fr 1fr!important;gap:5px!important;margin:0!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117EditGrid>section{padding:6px!important;min-height:0!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117EditMain{grid-column:1/-1!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v117SelectLabel{font-size:6px!important;margin-top:4px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist select{min-height:31px!important;height:31px!important;font-size:8px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v131TimingHint{padding:5px!important;margin-top:4px!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v131TimingHint small{display:none!important}
  body.v143MobileHost #hostPanelGameplay .v113PrepCard.assist .v114CopilotMount{display:none!important}

  /* Player roster metrics must be a single compact line; the list gets the
     remaining height and scrolls inside itself when there are many players. */
  body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics{height:46px!important;min-height:46px!important;max-height:46px!important;overflow:hidden!important}
  body.v143MobileHost #hostPanelPlayers .v35PlayerMetrics>div{height:44px!important;min-height:44px!important;max-height:44px!important;padding:4px 2px!important;box-sizing:border-box!important;overflow:hidden!important}

}

/* V43.1 final mobile preparer geometry — loaded last on purpose. */
@media(max-width:900px) and (pointer:coarse){
  body.v143MobileHost #hostPanelGameplay .v113PrepTop{
    display:flex!important;flex-direction:row!important;justify-content:space-between!important;
    height:52px!important;min-height:52px!important;max-height:52px!important;overflow:hidden!important;
  }
  body.v143MobileHost #hostPanelGameplay .v113PrepTop>div:first-child{min-width:0!important;flex:1 1 auto!important}
  body.v143MobileHost #hostPanelGameplay .v113ModeToggle{
    flex:0 0 auto!important;width:142px!important;min-width:142px!important;max-width:142px!important;
    height:36px!important;min-height:36px!important;max-height:36px!important;align-self:center!important;
  }
  body.v143MobileHost #hostPanelGameplay .v119SummaryGrid{
    flex:0 0 178px!important;height:178px!important;min-height:178px!important;max-height:178px!important;
  }
  body.v143MobileHost #hostPanelGameplay .v119SummaryCard{
    height:100%!important;min-height:0!important;max-height:none!important;
  }
}

/* V43.2 — absolute last-word mobile Master navigation cleanup.
   The phone dock replaces the old desktop command bar entirely. */
@media(max-width:900px) and (pointer:coarse){
  html.v143MobileHost body.v143MobileHost #hostView #v4413CommandBar,
  html.v143MobileHost body.v143MobileHost #hostView #v4413CommandBar.v4413CommandBar.v102CommandBar.v112CommandBar,
  html.v143MobileHost body.v143MobileHost #hostView #v4413CommandBar .v4413Quick,
  html.v143MobileHost body.v143MobileHost #hostView #v4413CommandBar .v102OperatorNav,
  html.v143MobileHost body.v143MobileHost #hostView #v4413CommandBar .v102NavMain{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    width:0!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
}
