/* Presentation only: shared mobile shell and bounded disclosure surfaces. */
.ai-generator-ambient { max-width:100%; left:0; right:0; margin-inline:auto; }
.analysis-market-toggle, .mobile-filter-toggle { display:none; }
.analysis-market-global strong { line-height:1.2; margin-bottom:8px; }
.access-hero h1, .access-final-stage h2 { line-height:1.4; letter-spacing:normal; }
.hs-local-demo-bar { position:static; margin:12px; }
.has-hs-local-demo-bar { padding-top:0; }
.hs-local-demo-chip { height:auto; min-height:44px; }
.access-market-core { display:flex; flex-direction:column; justify-content:center; gap:10px; padding:18px; }
.access-market-core p, .access-market-core > strong { margin:0; }
:focus-visible { outline:2px solid var(--green,#55d12c); outline-offset:3px; }
.admin-page, .admin-page-head > div, .admin-page-body, .admin-card { min-width:0; }
.admin-card .table-wrap { max-width:100%; overflow-x:auto; }
.admin-page-head { flex-wrap:wrap; }
.admin-page button, .admin-tabs a { min-height:44px; }
.admin-modal-backdrop { padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px)); }
.admin-modal { min-width:0; max-height:calc(100dvh - 32px); overflow:auto; }
.admin-modal > header { position:sticky; top:-18px; background:#101820; z-index:1; }
.admin-modal > header button { min-width:44px; min-height:44px; flex-shrink:0; }
.admin-modal header h2, .admin-modal p { overflow-wrap:anywhere; }
.admin-modal input, .admin-modal textarea { min-width:0; max-width:100%; font-size:16px; }
.admin-filter-actions { flex-wrap:wrap; }
@media (min-width:901px) and (max-width:1180px) {
  .analysis-control.team-control { flex-direction:column; align-items:stretch; }
  .analysis-control.team-control .analysis-section-nav { flex-wrap:wrap; width:100%; }
}
@media (min-width:961px) and (max-width:1180px) {
  .access-cinematic-stage { display:flex; flex-direction:column; gap:12px; }
  .access-float-card { position:relative; inset:auto; animation:none; align-self:flex-end; }
  .access-scene-selector { position:relative; inset:auto; width:100%; transform:none; flex-wrap:wrap; }
}
@media (max-width:900px) {
  :root { --mobile-header-height:calc(60px + env(safe-area-inset-top,0px)); }
  html { scroll-padding-top:calc(var(--mobile-header-height) + 16px); }
  .global-header { height:var(--mobile-header-height); padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px)); gap:5px; }
  .global-header .global-brand { min-width:0; gap:5px; font-size:18px; }
  .global-brand .v68-badge, .global-actions .onboarding-launcher, .global-actions .header-help-link { display:none; }
  .global-header .back-button, .global-actions .mobile-search, .global-actions .menu-toggle, .global-actions .account-profile-link { flex:0 0 44px; min-width:44px; width:44px; height:44px; margin:0; padding:8px; }
  .global-actions { flex:0 0 auto; gap:5px; }
  .global-actions .account-profile-link { font-size:0; }
  .global-actions .account-profile-link::before { content:''; width:22px; height:22px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 22v-4a8 8 0 0 1 16 0v4z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .mobile-menu { top:var(--mobile-header-height); max-height:calc(100dvh - var(--mobile-header-height) - 12px - env(safe-area-inset-bottom,0px)); overflow:auto; overscroll-behavior:contain; }
  .mobile-menu nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
  .mobile-menu a { min-width:0; white-space:normal; overflow-wrap:anywhere; padding:8px; }
  .mobile-menu [data-mobile-betslip] { min-height:48px; padding:8px; border:1px solid #556a2d; border-radius:9px; background:#16271d; color:#bde9b3; font:inherit; font-size:12px; font-weight:800; text-align:left; }
  .mobile-menu .locale-switcher { grid-column:1/-1; }
  .global-search-panel { top:calc(var(--mobile-header-height) + 8px); max-height:calc(100dvh - var(--mobile-header-height) - 24px); overflow:auto; overscroll-behavior:contain; }
  .global-search-box { position:sticky; top:0; z-index:1; background:#09131b; }
  .global-search-box input { min-width:0; font-size:16px; }
  .global-search-box kbd { display:none; }
  .global-search-box button, .mobile-menu .locale-switcher__button { min-width:44px; min-height:44px; }
  .global-app .content { padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)); }
  .analysis-control { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
  .analysis-control.team-control .analysis-scope-toggle { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; }
  .analysis-control.team-control .analysis-scope-toggle button { min-width:0; height:auto; min-height:44px; white-space:normal; padding:8px; }
  .analysis-market-toggle, .mobile-filter-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; width:100%; padding:12px; border:1px solid #2b414d; border-radius:10px; background:#101f29; color:#eaf4ed; font:inherit; font-weight:750; text-align:left; cursor:pointer; }
  .analysis-control.team-control:not(.markets-open) .team-anchor-nav.analysis-section-nav { display:none; }
  .analysis-control.team-control .team-anchor-nav.analysis-section-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; max-height:50dvh; overflow:auto; align-items:start; gap:6px; padding:4px; }
  .analysis-control.team-control .analysis-section-nav button { width:100%; height:auto; min-height:44px; padding:8px; white-space:normal; }
  .analysis-control.team-control .analysis-nav-dropdown { display:flex; flex-direction:column; align-items:stretch; min-width:0; width:100%; }
  .analysis-section-nav .analysis-nav-menu { position:static; width:100%; min-width:0; max-width:100%!important; box-shadow:none; }
  .analysis-nav-dropdown:not(.menu-open) .analysis-nav-menu { display:none; }
  .analysis-team, .analysis-team.analysis-team-b { display:flex; align-items:center; gap:12px; text-align:left; min-width:0; }
  .analysis-team > .analysis-team-mark { display:grid; place-items:center; flex:0 0 58px; width:58px; height:58px; margin:0; }
  .analysis-team > div:not(.analysis-team-mark) { flex:1; min-width:0; }
  .analysis-team h2, .analysis-team h2 a { overflow-wrap:anywhere; white-space:normal; }
  .mobile-filter-toggle { margin-bottom:8px; }
  .filter-proposal-builder:not(.mobile-filters-open) > .v724-workbench-head,
  .filter-proposal-builder:not(.mobile-filters-open) > .v724-workbench-content { display:none; }
  .v724-mobile-bottom { position:static!important; flex-wrap:wrap; }
  .hs-betslip-drawer { top:var(--mobile-header-height); height:calc(100dvh - var(--mobile-header-height)); padding-bottom:env(safe-area-inset-bottom,0px); }
  .hs-betslip-head > button { min-width:44px; min-height:44px; }
  .hs-betslip-launcher { display:flex; }
  .hs-upgrade-bar { position:static; margin:16px; }
  .has-hs-upgrade-bar { padding-bottom:0; }
  .analysis-general-market-head > .analysis-inline-toggle { grid-column:1/-1; justify-self:start; width:auto; }
  .analysis-inline-toggle button { min-width:66px!important; min-height:44px; }
  #app input:not([type=checkbox]):not([type=radio]):not([type=range]), #app select, #app textarea { font-size:16px; max-width:100%; }
  #app h1, #app h2, #app h3 { overflow-wrap:anywhere; }
  #app:has(.account-profile) > .page-head { display:block; }
  #app:has(.account-profile) > .page-head h1 { margin:8px 0; }
}
@media (max-width:960px) {
  .access-mobile-dock { position:static; margin:12px; }
  .access-landing-header { padding-top:env(safe-area-inset-top,0px); }
  .access-signup-rail { padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px)); }
  .access-signup-sticky { max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
  .access-panel-close { position:sticky; top:0; margin-left:auto; min-width:44px; min-height:44px; }
  .access-cinematic-stage { display:flex; flex-direction:column; gap:12px; }
  .access-float-card { position:relative; inset:auto; animation:none; align-self:flex-end; }
  .access-scene-selector { position:relative; inset:auto; width:100%; transform:none; flex-wrap:wrap; }
  .access-market-universe { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; min-height:0; }
  .access-market-node, .access-market-core, .access-market-detail { position:relative; inset:auto; transform:none; width:100%; }
  .access-market-core, .access-market-detail { grid-column:1/-1; }
  .access-market-core { height:auto; min-height:180px; border-radius:18px; }
  .access-market-node:hover, .access-market-node.is-active { transform:none; }
  .access-tool-card { display:flex; flex-direction:column; gap:18px; }
  .access-tool-card-copy { width:100%; max-width:none; }
  .access-tool-visual { position:relative; inset:auto; align-self:flex-end; min-height:130px; transform:none; }
}
@media (max-width:380px) {
  .global-brand > span:not(.logo-mark) { display:none; }
  .global-brand .logo-mark { width:36px; height:40px; }
}
