/* Android V27.4.31 · Build 232 · unified phone UI */
:root{
 --phone-bg:#09121c;
 --phone-panel:#111f2c;
 --phone-panel-raised:#172838;
 --phone-line:#304759;
 --phone-line-soft:rgba(154,182,203,.17);
 --phone-text:#f1f7fa;
 --phone-muted:#a6b9c7;
 --phone-radius:12px;
 --phone-gap:8px;
}

html{max-width:100%;overflow-x:hidden;background:#02070c}
body{max-width:100%;overflow-x:hidden;background:var(--phone-bg);text-rendering:optimizeLegibility}
main{width:100%;max-width:1540px;min-width:0;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
#gameScreen,.tab-page,.phone-screen-v232,.phone-screen-v232>*{min-width:0}
.phone-screen-v232>.phone-panel-v232{overflow:visible;border-color:var(--phone-line-soft);background:var(--phone-panel);box-shadow:0 3px 12px rgba(0,0,0,.12)}
.ui219-panel-hidden{display:none!important}
.btn,button,input,select,textarea{font-family:inherit}.btn,button{touch-action:manipulation}.btn:disabled,button:disabled{cursor:not-allowed;filter:saturate(.68);opacity:.5}
.phone-card-v232{min-width:0;border-color:var(--phone-line)!important;background:var(--phone-panel-raised)!important;box-shadow:none!important}

/* App section menus: complete, compact, and never disguised as a dropdown. */
.ui-section-nav-v219.phone-section-menu-v232{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;gap:6px!important;overflow:visible!important;margin:0 0 12px!important;padding:5px!important;border:1px solid var(--phone-line)!important;border-radius:12px!important;background:#0d1925!important;box-shadow:none!important}
.phone-section-menu-v232 .ui-section-chip{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:40px!important;padding:7px 8px!important;border:1px solid #203d4d!important;border-radius:9px!important;background:#0d2230!important;color:#91aab7!important;text-align:left!important;font-size:.75rem!important;line-height:1.15!important;white-space:normal!important}
.phone-section-menu-v232 .ui-section-chip::before{content:attr(data-phone-icon)!important;display:grid!important;place-items:center!important;width:21px!important;height:21px!important;margin:0!important;border-radius:6px!important;background:#163144!important;color:#9bd3e9!important;font-size:.7rem!important;line-height:1!important}
.phone-section-menu-v232 .ui-section-chip.active{border-color:var(--team-secondary,#22d3ee)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--team-primary,#2563eb) 70%,#102536),color-mix(in srgb,var(--team-secondary,#22d3ee) 18%,#0b1d29))!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--team-secondary,#22d3ee),0 5px 14px rgba(0,0,0,.2)!important}
.phone-section-menu-v232 .ui-section-chip.active::before{background:rgba(255,255,255,.14)!important;color:#fff!important}
#rosterTab>.ui-section-nav-v219[hidden]{display:none!important}

/* Common screen structure and controls. */
.phone-section-head-v232{align-items:flex-start;gap:10px;margin-bottom:11px;padding-bottom:9px;border-bottom:1px solid rgba(130,170,193,.12)}
.phone-title-v232{min-width:0}.phone-title-v232 h2,.phone-title-v232 h3{margin:2px 0 0}.phone-title-v232 p{max-width:760px;margin:4px 0 0;line-height:1.42}
.phone-title-v232 h2{font-size:1.25rem;letter-spacing:-.025em}.phone-title-v232 h3{font-size:1.05rem;letter-spacing:-.015em}
.phone-screen-v232 .toolbar input,.phone-screen-v232 .toolbar select,.phone-depth-v232 select,.phone-depth-v232 input{min-height:44px;font-size:.875rem!important;border-radius:9px}
.phone-control-row-v232{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}.phone-control-row-v232 .btn{min-height:42px}
.phone-section-menu-v232 button:focus-visible,.phone-screen-v232 .btn:focus-visible,.phone-screen-v232 select:focus-visible,.phone-screen-v232 input:focus-visible,#modal button:focus-visible,#modal input:focus-visible,#modal select:focus-visible{outline:2px solid #b9e6ff!important;outline-offset:3px}
.phone-screen-v232 .metric-grid{gap:7px}.phone-screen-v232 .metric{min-width:0;border-color:#213f51;background:#091b28}.phone-screen-v232 .metric b,.phone-screen-v232 .metric strong{overflow-wrap:anywhere}
.phone-screen-v232 .toolbar{padding:7px;border:1px solid #1e3b4c;border-radius:11px;background:#081925}.phone-screen-v232 .toolbar>*{min-width:0}
.phone-screen-v232 .schedule-row{margin-bottom:5px;border-color:#1f3b4c;border-radius:9px;background:#091b28}

/* Startup, onboarding, settings, and blocking build states. */
#schoolScreen.phone-screen-v232{overflow:visible}.phone-screen-v232 .dynasty-start-panel,.phone-screen-v232 .launch-brand{border-color:var(--phone-line)!important}.phone-screen-v232 .save-slot-card,.phone-screen-v232 .school-card{min-width:0}.phone-screen-v232 .dynasty-start-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.phone-screen-v232 .dynasty-start-actions .btn{width:100%;min-height:40px}
.tutorial-card,.dynasty-build-card,.app-settings-card,.game-result-card{min-width:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.phone-overlay-v232{overscroll-behavior:contain}.app-settings-card .settings-grid{min-width:0}

/* Home and Coach's Checklist. */
.phone-program-details-v232{min-width:0}.phone-program-details-v232>summary{padding:10px 0;color:var(--phone-muted);font-size:.75rem;font-weight:700;cursor:pointer}.phone-program-detail-content-v232{min-width:0}.phone-program-detail-content-v232 .stat-line{gap:12px}.phone-program-detail-content-v232 .stat-line b{text-align:right;overflow-wrap:anywhere}
.phone-home-sidebar-v232 .phone-home-controls-v232 #resetBtn{border:1px solid #5e414c!important;background:transparent!important;color:#ddb0b8!important;box-shadow:none!important}
.phone-home-controls-v232{display:block!important;margin-top:9px!important;padding-top:9px!important}.phone-home-controls-v232>summary{display:none!important}
.phone-home-controls-head-v232{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.phone-home-controls-head-v232 b{color:#a9bdc8;font-size:.6875rem;font-weight:700}
.phone-home-controls-v232 .ui-home-utility-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;margin:0!important}.phone-home-controls-v232 .btn{min-height:42px!important;padding:6px!important;font-size:.75rem!important}
.phone-checklist-v232{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}.phone-checklist-v232 .coach-checklist-head-v227{align-items:center!important}.phone-checklist-v232 .coach-checklist-list-v227{gap:6px!important}
.phone-checklist-v232 .checklist-card-v227{position:relative;min-height:68px!important;padding:7px 8px!important;border-radius:10px!important}.phone-checklist-v232 .checklist-card-v227::after{content:attr(data-priority);position:absolute;top:5px;right:6px;color:rgba(143,172,187,.28);font-size:.6875rem;font-weight:900}
.phone-checklist-v232 .checklist-icon-v227{width:31px;height:31px}.phone-checklist-v232 .checklist-copy-v227 h4{font-size:.875rem!important;line-height:1.3}.phone-checklist-v232 .checklist-copy-v227 p{font-size:.6875rem!important;-webkit-line-clamp:1!important}.phone-checklist-v232 .checklist-action-v227{min-width:82px!important;min-height:42px!important;padding:5px 7px!important;font-size:.75rem!important}

/* Recruiting board: the original card workflow, made denser and stable. */
.recruiting-command-v223{border-radius:13px!important;padding:12px!important}.recruit-command-copy-v223 h2{font-size:1.08rem!important}.recruit-command-stats-v223{display:grid!important;gap:5px!important}.recruit-command-stats-v223>div{padding:7px 4px!important}
#recruitCardList{gap:9px!important}.phone-recruit-card-v232{padding:9px!important;border-color:#284b5c!important;border-radius:12px!important;background:linear-gradient(155deg,#0b2230,#061721)!important}
.phone-recruit-card-v232 .mobile-data-head{gap:8px;margin-bottom:7px}.phone-recruit-card-v232 .mobile-data-head h3{font-size:.86rem!important}.phone-recruit-card-v232 .mobile-data-head .sub{font-size:.6875rem!important;line-height:1.25}
.phone-recruit-card-v232 .motivation-row{gap:5px;margin:6px 0}.phone-recruit-card-v232 .motivation-row>span{padding:6px 8px!important;font-size:.6875rem!important}
.phone-recruit-card-v232 .mobile-data-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:7px 0!important}.phone-recruit-card-v232 .mobile-data-grid>div{min-height:48px;padding:6px 4px!important;border-radius:8px!important}.phone-recruit-card-v232 .mobile-data-grid>div:nth-child(7){grid-column:span 2}.phone-recruit-card-v232 .mobile-data-grid small{font-size:.6875rem!important}.phone-recruit-card-v232 .mobile-data-grid b{margin-top:2px;font-size:.73rem!important}
.phone-recruit-card-v232 .mobile-race-list{margin:7px 0;border-radius:9px;overflow:hidden}.phone-recruit-card-v232 .mobile-race-list>*:nth-child(n+4){display:none!important}.phone-recruit-card-v232 .top-school-row{min-height:36px!important;padding:5px 7px!important}
.phone-recruit-card-v232 .recruit-status-message{margin:7px 0!important;padding:7px 8px!important;border-radius:8px!important}.phone-recruit-card-v232 .recruit-status-message b{font-size:.6875rem}.phone-recruit-card-v232 .recruit-status-message span{font-size:.6875rem;line-height:1.3}
.phone-recruit-card-v232 .recruit-card-action-grid-v226{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.phone-recruit-card-v232 .recruit-card-action-grid-v226>.btn{display:inline-flex!important;justify-content:center!important;min-width:0!important;min-height:42px!important;padding:5px 3px!important;border-color:#31566a!important;background:#112d3e!important;color:#f2f8fb!important;font-size:.75rem!important;line-height:1.1!important}
.phone-recruit-card-v232 .recruit-card-action-grid-v226>.btn.warning{background:#72500b!important;border-color:#9c731e!important}.phone-recruit-card-v232 .recruit-card-action-grid-v226>.btn.primary{background:#27358a!important;border-color:#4358bb!important}.phone-recruit-card-v232 .recruit-card-action-grid-v226>.btn.success{background:#10613a!important;border-color:#1a8653!important}.phone-recruit-card-v232 .recruit-card-action-grid-v226>.btn:disabled{background:#102534!important;color:#7f96a3!important;border-color:#203e4e!important}
.phone-recruit-card-v232 .recruit-card-plan-v226{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:6px 7px!important;border-color:#2b5265!important;background:#071a26!important}.phone-recruit-card-v232 .recruit-card-plan-v226>span{font-size:.6875rem!important;white-space:nowrap}.phone-recruit-card-v232 .recruit-card-plan-v226 .plan-select{min-height:42px!important;border-color:#477187!important;background:#102b3b!important;color:#f4f9fc!important;font-size:.75rem!important}.phone-recruit-card-v232 .recruit-card-profile-v226{grid-column:1/-1!important;min-height:44px!important;background:linear-gradient(135deg,#145f3b,#0f4a31)!important;border-color:#247f51!important}

/* Recruit profile: four functional views with recruiting-only decisions together. */
.recruit-profile-summary-v226{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:8px 0}.recruit-profile-summary-v226>div{min-width:0;padding:8px 6px;border:1px solid #284858;border-radius:9px;background:#081b27}.recruit-profile-summary-v226 small,.recruit-profile-summary-v226 b{display:block}.recruit-profile-summary-v226 small{color:#7794a3;font-size:.6875rem;font-weight:900;text-transform:uppercase}.recruit-profile-summary-v226 b{margin-top:3px;overflow:hidden;text-overflow:ellipsis;color:#f5fbfe;font-size:.7rem;white-space:nowrap}
.recruit-profile-facts-v226{margin:8px 0;border:1px solid #28495b;border-radius:10px;background:#071924;overflow:hidden}.recruit-profile-facts-v226>summary{cursor:pointer;padding:9px 10px;color:#b9cfda;font-size:.6875rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.recruit-profile-facts-v226>.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:0!important;padding:0 8px 8px}
.phone-recruit-profile-v232 .recruit-profile-tabs-v226{position:sticky;top:-1px;z-index:8;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:6px 0!important;border-width:0 0 1px!important;border-radius:0!important;background:linear-gradient(180deg,#102536 82%,rgba(16,37,54,.95))!important}.phone-recruit-profile-v232 .recruit-profile-tabs-v226 button{min-height:42px!important;padding:6px 4px!important;font-size:.75rem!important}
.phone-recruit-profile-v232 .recruit-profile-section{margin:8px 0!important;padding:10px!important;border-radius:10px!important}.phone-recruit-profile-v232 .recruit-profile-section h3{margin:0 0 6px;font-size:.78rem}.phone-recruit-profile-v232 .recruit-profile-section>.muted{margin:0 0 7px;font-size:.6875rem!important;line-height:1.4}
.phone-recruit-profile-v232 .recruit-contact-actions-v226 .recruit-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.phone-recruit-profile-v232 .recruit-contact-actions-v226 .recruit-action-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:3px 6px;min-height:0!important;padding:8px!important;border-radius:9px!important}.phone-recruit-profile-v232 .recruit-action-card h4{margin:0!important;font-size:.6875rem!important}.phone-recruit-profile-v232 .recruit-action-card p{display:none!important}.phone-recruit-profile-v232 .recruit-action-card small{grid-column:1/-1;font-size:.6875rem!important;line-height:1.3}.phone-recruit-profile-v232 .recruit-action-card .btn{grid-column:1/-1;min-height:42px!important;margin-top:3px!important;padding:5px!important;font-size:.75rem!important}
.phone-recruit-profile-v232 .recruit-special-actions-v226>.actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.phone-recruit-profile-v232 .recruit-special-actions-v226>.actions .btn{width:100%!important;min-height:42px!important;padding:5px!important;font-size:.75rem!important}.phone-recruit-profile-v232 .recruit-special-actions-v226 .nil-detail{padding:8px!important;font-size:.6875rem}.phone-recruit-profile-v232 .top-schools-list{max-height:none!important}

/* Roster command center, cards, and position-first depth chart. */
.phone-roster-command-v232{padding:11px!important;border-radius:13px!important}.phone-roster-command-v232 .roster-command-brand-v224 h2{font-size:1rem!important}.phone-roster-command-v232 .roster-command-brand-v224 p{font-size:.6875rem!important;line-height:1.35}.phone-roster-command-v232 .roster-command-ratings-v224{display:grid!important;gap:5px!important}.phone-roster-command-v232 .roster-command-ratings-v224>div{min-height:50px!important;padding:6px!important}.phone-roster-command-v232 .roster-command-nav-v224{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.phone-roster-command-v232 .roster-command-nav-v224 button{min-height:42px!important;padding:6px 4px!important;font-size:.75rem!important}
.phone-roster-card-v232{padding:9px!important}.phone-roster-card-v232 .roster-player-metrics-v224{gap:5px!important;margin:7px 0 6px!important}.phone-roster-card-v232 .roster-card-actions-v225{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.phone-roster-card-v232 .roster-card-actions-v225 .btn{min-height:42px!important;padding:5px 3px!important;font-size:.75rem!important}
.phone-depth-picker-v232{position:sticky;top:0;z-index:5;margin:0 0 6px!important;padding:7px 9px!important;border-color:#31566a!important;background:rgba(7,25,37,.97)!important;backdrop-filter:blur(10px)}.phone-depth-picker-v232 select{min-height:40px!important}
.depth-balance-note-v232{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;margin:0 0 8px;padding:7px 9px;border:1px solid #24495a;border-radius:9px;background:#0b2130}.depth-balance-note-v232 b{color:#bcd3dd;font-size:.6875rem;white-space:nowrap}.depth-balance-note-v232 span{color:#809aa8;font-size:.6875rem;line-height:1.35}
.phone-depth-role-v232{padding:10px!important;border-radius:11px!important}.phone-depth-role-v232 .depth-position-head{margin-bottom:7px!important}.phone-depth-role-v232 .role-slot{grid-template-columns:minmax(0,1.25fr) minmax(170px,.75fr)!important;gap:7px!important;padding:7px!important}.phone-depth-role-v232 .role-slot select{min-height:44px!important}.phone-depth-role-v232 .snap-stepper{grid-template-columns:40px minmax(58px,1fr) 40px!important;gap:4px!important}.phone-depth-role-v232 .snap-stepper input{min-height:44px!important;text-align:center;font-weight:900}.phone-depth-role-v232>.actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.phone-depth-role-v232>.actions .btn{min-height:42px!important;padding:5px!important;font-size:.75rem!important}

/* Player profile: one implementation, persistent tabs, and a scrollable body. */
.phone-player-profile-v232{display:grid;gap:9px;min-width:0}.phone-player-profile-v232 .player-profile-hero-v225{position:relative;gap:10px;padding:9px!important;border-radius:11px!important}.phone-player-profile-v232 .player-profile-hero-v225 h2{font-size:1.18rem!important}.phone-player-profile-v232 .player-profile-tabs-v225{position:sticky;top:-1px;z-index:8;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:6px 0!important;border-width:0 0 1px!important;border-radius:0!important;background:#0e2231!important}.phone-player-profile-v232 .player-profile-tabs-v225 button{min-height:42px!important;padding:6px 3px!important;font-size:.75rem!important}.phone-player-profile-v232 .profile-snapshot-v225,.phone-player-profile-v232 .profile-development-head-v225,.phone-player-profile-v232 .profile-career-summary-v225{gap:5px!important}.phone-player-profile-v232 .profile-actions-v225>div:last-of-type{gap:6px}.phone-player-profile-v232 .profile-actions-v225 .btn{min-height:42px!important}

/* Shared type scale keeps the dense roster and recruiting views readable. */
.phone-roster-card-v232 small,.phone-roster-command-v232 small,.phone-roster-command-v232 em,.phone-player-profile-v232 small,.phone-recruit-profile-v232 small{font-size:.6875rem!important;line-height:1.4;color:var(--phone-muted)}
.phone-roster-card-v232 .roster-position-v224,.phone-roster-card-v232 .roster-player-flags-v224 span,.phone-roster-card-v232 .roster-risk-text-v224{font-size:.6875rem!important;line-height:1.3}
.phone-roster-card-v232 .roster-player-head-v224 p,.phone-roster-card-v232 .roster-player-metrics-v224 b{font-size:.8125rem!important}
.phone-roster-card-v232 .roster-player-head-v224 h3,.phone-recruit-card-v232 .mobile-data-head h3{font-size:1rem!important;line-height:1.3}
.phone-depth-role-v232 .role-slot label,.phone-depth-role-v232 .depth-position-head>b,.phone-depth-role-v232 [data-depth-profile-v224]>small,.phone-depth-role-v232 [data-depth-profile-v224]>span{font-size:.6875rem!important}
.phone-depth-role-v232 [data-depth-profile-v224]{min-height:44px}.phone-depth-role-v232 [data-depth-profile-v224]>b{font-size:.8125rem!important}
.phone-depth-v232 .depth-side-switcher-v224 button,.roster-quick-filters-v224 button,.recruit-quick-filters-v223 button{min-height:42px!important;font-size:.75rem!important}

/* Modal scrolling is owned by the content area, so no page can be cut off. */
.modal{overflow:hidden;overscroll-behavior:contain}.modal-card{min-width:0}.modal-close{z-index:20;display:grid;place-items:center;width:44px;height:44px;border:1px solid #315368;border-radius:12px;background:#0d2230!important;font-size:1.35rem;line-height:1}
.phone-profile-modal-v232{display:flex!important;flex-direction:column!important;width:min(960px,100%)!important;overflow:hidden!important;padding-bottom:0!important}.phone-profile-modal-v232>#modalBody{flex:1 1 auto;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:max(28px,env(safe-area-inset-bottom))!important;scroll-padding-bottom:44px}
.phone-profile-modal-v232 .recruit-profile-hero-v223{padding:2px 42px 9px 2px!important}.phone-profile-modal-v232 .recruit-profile-hero-v223 h2{font-size:1.3rem!important}

/* Coach creation has one scrolling body and one true bottom action bar. */
.phone-coach-create-v232 .modal-card{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important;padding-bottom:0!important}.phone-coach-create-v232 #modalBody{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:16px!important}.phone-coach-create-v232 .phone-coach-footer-v232{position:relative!important;inset:auto!important;align-self:end!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:8px!important;width:100%!important;margin:0!important;padding:10px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;border-top:1px solid #294a5b!important;border-radius:0 0 12px 12px!important;background:#0b1c28!important;box-shadow:0 -12px 24px rgba(0,0,0,.34)!important}.phone-coach-create-v232 .phone-coach-footer-v232 .btn{min-height:45px!important}

/* Data tables become functional mobile cards; cloned controls proxy the real row. */
.mobile-table-cards-v232{display:none}.mobile-table-card-v232{min-width:0;overflow:hidden;border:1px solid #284a5c;border-radius:10px;background:linear-gradient(145deg,#102737,#081924);box-shadow:0 7px 18px rgba(0,0,0,.17)}
.mobile-table-head-v232{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;padding:8px 9px;border-bottom:1px solid rgba(255,255,255,.075);background:#0d2230}.mobile-table-head-v232.no-rank{grid-template-columns:minmax(0,1fr)}
.mobile-table-rank-v232{display:grid;place-items:center;min-width:30px;height:30px;padding:0 5px;border:1px solid #3a6073;border-radius:8px;background:#142f40;color:#fff;font-size:.6875rem;font-weight:900}.mobile-table-title-v232{min-width:0;color:#f4f9fb;font-size:.7rem;font-weight:900}.mobile-table-title-v232 small{display:block;margin-top:2px;color:#7692a0;font-size:.6875rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.mobile-table-grid-v232{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px}.mobile-table-detail-v232{min-width:0;padding:6px;border:1px solid rgba(122,168,190,.1);border-radius:7px;background:#071823}.mobile-table-detail-v232.wide,.mobile-table-detail-v232.has-control{grid-column:1/-1}.mobile-table-detail-v232>small,.mobile-table-detail-v232>.phone-cell-copy-v232{display:block}.mobile-table-detail-v232>small{color:#7894a2;font-size:.6875rem;font-weight:900;text-transform:uppercase}.mobile-table-detail-v232>.phone-cell-copy-v232{margin-top:2px;overflow-wrap:anywhere;color:#eaf4f8;font-size:.6875rem;line-height:1.3}.mobile-table-card-v232 .btn,.mobile-table-card-v232 select,.mobile-table-card-v232 input{width:100%;min-height:42px!important;padding:5px!important;font-size:.75rem!important}
.mobile-table-title-v232{font-size:.875rem;line-height:1.35}.mobile-table-detail-v232>.phone-cell-copy-v232{font-size:.8125rem;line-height:1.4}.mobile-table-detail-v232>small,.mobile-table-title-v232 small{color:#a4bac8}
.mobile-table-card-v232 input[type="checkbox"],.mobile-table-card-v232 input[type="radio"]{width:24px;min-height:24px!important;height:24px;vertical-align:middle;accent-color:var(--team-secondary,#65c7f0)}

/* Screen-specific card density. */
#gameplanTab .choice-card,#gameplanTab .gameplan-card{display:flex;flex-direction:column;min-height:150px;padding:11px}#gameplanTab .choice-card .btn{margin-top:auto}
#standings .standing-card,#rankingGrid .ranking-card{min-width:0;padding:9px 10px;border-radius:11px}#standings .standing-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px}#rankingGrid .ranking-card{grid-template-columns:28px minmax(0,1fr) auto;gap:7px}
#facilityGrid .facility-card-v103,#facilityGrid .facility-card{display:flex;flex-direction:column}#facilityGrid .facility-card-v103 .btn,#facilityGrid .facility-card .btn,.coach-card .btn{margin-top:auto}
#promiseList{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}#historyList{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px}
.coach-branch-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important}.coach-branch-tab{min-width:0!important;padding:7px 5px!important}.coach-branch-tab small{display:none}.coach-branch-tab b{overflow:hidden;font-size:.6875rem;text-overflow:ellipsis;white-space:nowrap}.coach-skill-card{min-height:0!important;padding:9px!important}.coach-skill-card p{font-size:.6875rem!important;line-height:1.35!important}.coach-skill-card button{min-height:42px!important;margin-top:6px!important}

/* Game Center reads as a field and broadcast surface on every rerender. */
.phone-live-center-v232{background:linear-gradient(180deg,#07131c,#030b11)}.phone-live-center-v232 .live-scoreboard{border-bottom:1px solid #294858;background:radial-gradient(circle at 50% 0,rgba(70,118,143,.18),transparent 48%),linear-gradient(180deg,#0c1d28,#050f16)!important}
.live-field-wrap{position:relative;margin:10px 12px 12px!important;overflow:hidden;border:3px solid #142a35!important;border-radius:14px!important;background:#02070b!important;box-shadow:0 15px 32px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.07)!important}.live-field-status{position:relative;z-index:7;background:linear-gradient(90deg,#121f28,#07121a 48%,#121f28)!important}
.phone-live-field-v232{isolation:isolate;height:210px!important;margin:0!important;border:0!important;border-radius:0!important;background:repeating-linear-gradient(90deg,#1d6b3b 0,#1d6b3b 5%,#195f35 5%,#195f35 10%)!important;box-shadow:inset 0 18px 28px rgba(255,255,255,.035),inset 0 -28px 38px rgba(0,0,0,.18)!important}
.phone-live-field-v232::before{content:""!important;position:absolute!important;inset:7px 7.7%!important;border:2px solid rgba(255,255,255,.76)!important;background:repeating-linear-gradient(0deg,transparent 0 21px,rgba(255,255,255,.06) 22px 23px)!important;pointer-events:none}
.phone-live-field-v232::after{content:attr(data-home-mark)!important;display:grid!important;place-items:center;position:absolute;left:42%;top:31%;width:16%;height:38%;z-index:2;border:2px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(3,35,23,.26);color:rgba(255,255,255,.28);font-size:1.05rem;font-weight:1000;letter-spacing:.05em;transform:rotate(-8deg)}
.phone-live-field-v232 .field-lines{inset:0 8%!important;background:repeating-linear-gradient(90deg,transparent 0,transparent 4.82%,rgba(255,255,255,.7) 4.9%,rgba(255,255,255,.7) 5.02%,transparent 5.1%)!important}.phone-live-field-v232 .yard-number{z-index:2;font-family:Impact,"Arial Narrow",sans-serif}.phone-live-field-v232 .endzone{z-index:4;box-shadow:inset 0 0 18px rgba(0,0,0,.3)}.phone-live-field-v232 .scrimmage-line,.phone-live-field-v232 .first-down-line{width:4px!important;z-index:5!important}.phone-live-field-v232 .ball-marker{z-index:8!important}
.phone-live-center-v232 .live-last-play{border-left:4px solid var(--team-secondary,#22d3ee)!important;background:linear-gradient(90deg,#0e2a38,#091b26)!important}.phone-live-center-v232 .live-feed-row{border-radius:8px!important}.phone-live-center-v232 .speed-controls{position:sticky;top:0;z-index:8;background:rgba(5,16,24,.93);backdrop-filter:blur(8px)}

@media(max-width:760px){
 main{padding:7px 7px calc(90px + env(safe-area-inset-bottom))!important}.surface{margin-bottom:8px!important;padding:10px!important;border-radius:11px!important}
 #dashboardTab .dashboard-layout{gap:10px}
 #dashboardTab .phone-home-sidebar-v232{display:flex!important;flex-direction:column;margin:0!important;padding:8px 10px!important;background:#101e2b;box-shadow:none}
 .phone-home-sidebar-v232 .phone-home-controls-v232{order:0;width:100%;margin:0!important;padding:0!important;border:0!important}
 .phone-home-sidebar-v232 .ui-home-utility-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
 .phone-home-sidebar-v232 .phone-home-controls-v232 .btn{min-height:42px!important;font-size:.75rem!important;padding:6px 3px!important;border-radius:8px!important}
 .phone-home-sidebar-v232 .phone-home-controls-head-v232{margin:0 0 6px}.phone-home-sidebar-v232 .phone-home-controls-head-v232 .eyebrow{font-size:.625rem;letter-spacing:.1em;color:#9cb2c2}
 .phone-program-details-v232{order:1;width:100%;margin-top:3px}.phone-program-details-v232>summary{min-height:40px;padding:10px 0 5px}
 .phone-program-detail-content-v232{display:grid;grid-template-columns:48px minmax(0,1fr);gap:3px 10px;padding:10px 0 2px;border-top:1px solid var(--phone-line-soft)}
 .phone-program-detail-content-v232 .program-logo{grid-column:1;grid-row:1/3;width:44px!important;height:44px!important;margin:0!important}
 .phone-program-detail-content-v232 #schoolName,.phone-program-detail-content-v232 #schoolMeta{grid-column:2;text-align:left;margin:0!important}.phone-program-detail-content-v232 #schoolName{font-size:.9375rem}.phone-program-detail-content-v232 #schoolMeta{font-size:.6875rem;line-height:1.4}
 .phone-program-detail-content-v232 #schoolSummary{grid-column:1/-1;width:100%}.phone-program-detail-content-v232 .stat-line{font-size:.75rem!important}
 #modal{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 #modal>.modal-card{max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)))!important;overscroll-behavior:contain}
 #modal>.modal-card:not(.phone-profile-modal-v232) #modalBody>h2:first-of-type{padding-right:44px}
 .phone-coach-create-v232 .modal-card{height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)))!important}
 .ui-section-nav-v219.phone-section-menu-v232{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;padding:4px!important}.phone-section-menu-v232 .ui-section-chip{grid-template-columns:1fr!important;gap:2px!important;min-width:0!important;min-height:48px!important;padding:4px 3px!important;text-align:center!important;font-size:.75rem!important}.phone-section-menu-v232 .ui-section-chip::before{margin:auto!important}.phone-section-menu-v232 .ui-section-chip.active{box-shadow:inset 0 3px 0 var(--team-secondary,#22d3ee),0 4px 12px rgba(0,0,0,.18)!important}
 .ui-section-nav-v219.phone-section-menu-v232[data-item-count="1"]{grid-template-columns:minmax(0,1fr)!important}.ui-section-nav-v219.phone-section-menu-v232[data-item-count="2"],.ui-section-nav-v219.phone-section-menu-v232[data-item-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .phone-section-head-v232{display:flex!important;flex-direction:row!important;align-items:flex-start!important;flex-wrap:wrap}.phone-section-head-v232>.btn,.phone-section-head-v232>.phone-control-row-v232,.phone-section-head-v232>.game-day-actions{flex:0 0 auto;width:auto!important}.phone-title-v232{flex:1 1 180px}.phone-title-v232 .muted{font-size:.6875rem;line-height:1.35}
 .dashboard-game-actions.phone-control-row-v232{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important}.dashboard-game-actions.phone-control-row-v232 .btn{width:100%!important;min-width:0}.dashboard-game-actions.phone-control-row-v232 .btn:last-child{grid-column:1/-1}
 .recruiting-mode-nav.phone-control-row-v232{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important}.recruiting-mode-nav.phone-control-row-v232 .btn{width:100%!important;min-width:0}
 .recruit-quick-filters-v223,.roster-quick-filters-v224{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;overflow:visible!important;margin-right:0!important}.recruit-quick-filters-v223 button,.roster-quick-filters-v224 button{width:100%;min-width:0;white-space:normal}.roster-quick-filters-v224 button:last-child:nth-child(odd){grid-column:1/-1}
 .phone-screen-v232 .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.phone-screen-v232 .toolbar>*{width:100%}.phone-screen-v232 .toolbar input[type="search"]{grid-column:1/-1}
 .phone-screen-v232 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #schoolScreen.phone-screen-v232{padding:7px!important}.phone-screen-v232 .school-grid{grid-template-columns:1fr!important;gap:8px!important}.phone-screen-v232 .team-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.phone-screen-v232 .team-filters input{grid-column:1/-1}.phone-screen-v232 .dynasty-start-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.tutorial{align-items:end;padding:0}.tutorial-card,.dynasty-build-card,.game-result-card{max-height:calc(100dvh - max(7px,env(safe-area-inset-top)))!important;border-radius:15px 15px 0 0!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}.app-settings-card{height:calc(100dvh - max(7px,env(safe-area-inset-top)))!important;max-height:none!important}
 .phone-home-controls-head-v232 b{display:none}.phone-checklist-v232 .coach-checklist-list-v227{grid-template-columns:1fr!important}.phone-checklist-v232 .checklist-card-v227{grid-template-columns:31px minmax(0,1fr) auto!important}.phone-checklist-v232 .checklist-action-v227{min-width:76px!important}
 .recruiting-command-v223,.roster-command-v224{grid-template-columns:1fr!important}.recruit-command-stats-v223,.roster-command-ratings-v224{display:grid!important}.recruit-command-actions-v223,.roster-command-nav-v224{grid-column:auto!important}
 .phone-recruit-card-v232 .recruit-card-action-grid-v226{grid-template-columns:repeat(3,minmax(0,1fr))!important}.phone-recruit-card-v232 .recruit-card-plan-v226{grid-template-columns:1fr!important;gap:3px!important}.phone-recruit-card-v232 .recruit-card-plan-v226>span{white-space:normal}
 .phone-profile-modal-v232{height:calc(100dvh - max(7px,env(safe-area-inset-top)))!important;max-height:none!important;border-radius:15px 15px 0 0!important;padding:10px 9px 0!important}.phone-profile-modal-v232>#modalBody{padding-bottom:max(34px,env(safe-area-inset-bottom))!important}
 .recruit-profile-summary-v226{grid-template-columns:repeat(3,minmax(0,1fr))!important}.recruit-profile-facts-v226>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-recruit-profile-v232 .recruit-contact-actions-v226 .recruit-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-recruit-profile-v232 .recruit-special-actions-v226>.actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-recruit-profile-v232 .recruit-special-actions-v226>.actions .btn:last-child:nth-child(odd){grid-column:1/-1}
 .phone-roster-command-v232 .roster-command-nav-v224{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-roster-card-v232 .roster-player-metrics-v224{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .phone-depth-picker-v232{grid-template-columns:1fr!important;gap:3px!important}.depth-balance-note-v232{grid-template-columns:1fr;gap:2px}.depth-balance-note-v232 b{white-space:normal}.phone-depth-role-v232 .role-slot{grid-template-columns:1fr!important}.phone-depth-role-v232>.actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-depth-role-v232>.actions .btn:last-child:nth-child(odd){grid-column:1/-1}
 .phone-player-profile-v232 .player-profile-hero-v225{grid-template-columns:52px minmax(0,1fr) auto!important;margin-right:32px!important}.phone-player-profile-v232 .player-profile-hero-v225 .ui-player-portrait{width:48px;height:56px}.phone-player-profile-v232 .profile-snapshot-v225,.phone-player-profile-v232 .profile-development-head-v225,.phone-player-profile-v232 .profile-career-summary-v225{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-player-profile-v232 .profile-identity-v225{grid-template-columns:repeat(3,minmax(0,1fr))!important}.phone-player-profile-v232 .profile-actions-v225>div:last-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .has-mobile-cards-v232{display:none!important}.mobile-table-cards-v232{display:grid!important;gap:7px}
 #gameplanTab .choice-grid,#gameplanTab .gameplan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #standings.standings-grid,#rankingGrid.ranking-grid,#classRankingGrid.class-ranking-grid,#leaderGrid.leader-grid,#achievementGrid.achievement-grid,#draftHistory.draft-grid,#trophyGrid.trophy-grid,#recordBook.record-grid,#facilityGrid.facility-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .game-log-grid,.stat-archive-grid,.award-watch-grid,.national-leader-grid,.conference-directory,.national-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 #teamTab .scheme-grid{grid-template-columns:1fr!important}.coach-branch-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.coach-tier-row,.coach-tier-row:first-child,.coach-tier-row:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #gamedayTab .game-day-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;max-width:none}#gamedayTab .game-day-actions .btn{width:100%!important;min-width:0}
 .live-scoreboard{grid-template-columns:1fr auto 1fr!important;padding:9px 6px!important}.live-team{grid-template-columns:38px minmax(0,1fr)!important;gap:5px!important}.live-team:last-child{grid-template-columns:minmax(0,1fr) 38px!important}.live-team img{width:36px!important;height:36px!important}.live-team b{font-size:.58rem}.live-team span{display:none}.live-score>b{font-size:2rem!important}.phone-live-field-v232{height:174px!important}.live-field-wrap{margin:8px 5px 10px!important}.phone-live-center-v232 .live-grid{padding:0 5px 10px!important}.phone-live-center-v232 .live-last-play{margin:0 5px 7px!important}
}

@media(max-width:390px){
 .phone-recruit-card-v232 .mobile-data-grid small{font-size:.6875rem!important}.phone-recruit-card-v232 .mobile-data-grid b{font-size:.6875rem!important}
 .phone-recruit-profile-v232 .recruit-profile-tabs-v226 button,.phone-player-profile-v232 .player-profile-tabs-v225 button{font-size:.75rem!important}
 .phone-player-profile-v232 .player-profile-hero-v225{grid-template-columns:48px minmax(0,1fr)!important}.phone-player-profile-v232 .player-profile-rating-v225{grid-column:1/-1;display:grid!important;grid-template-columns:auto auto auto;justify-content:start;gap:5px}
 .phone-depth-role-v232>.actions{grid-template-columns:1fr!important}.phone-depth-role-v232>.actions .btn:last-child:nth-child(odd){grid-column:auto}
 .coach-tier-row,.coach-tier-row:first-child,.coach-tier-row:last-child{grid-template-columns:1fr!important}
}

@media(max-width:350px){
 .ui-section-nav-v219.phone-section-menu-v232{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .phone-recruit-card-v232 .mobile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-recruit-card-v232 .mobile-data-grid>div:nth-child(7){grid-column:span 2}.phone-recruit-profile-v232 .recruit-contact-actions-v226 .recruit-action-grid{grid-template-columns:1fr!important}
 .phone-checklist-v232 .checklist-card-v227{grid-template-columns:30px minmax(0,1fr)!important}.phone-checklist-v232 .checklist-action-v227{grid-column:2;width:100%}
 #gameplanTab .choice-grid,#gameplanTab .gameplan-grid,#achievementGrid.achievement-grid,.game-log-grid,.stat-archive-grid,.award-watch-grid,.national-leader-grid,.conference-directory,.national-team-grid{grid-template-columns:1fr!important}
 #standings.standings-grid,#rankingGrid.ranking-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
 #gameplanTab .choice-grid,#gameplanTab .gameplan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Unified home details and recruiting navigation. */
.home-details-card{border:1px solid #294858;border-radius:16px;background:#0c1e2a;overflow:hidden;margin-bottom:12px}
.home-details-card>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:14px 16px;min-height:54px;gap:12px}
.home-details-card>summary::-webkit-details-marker{display:none}
.home-details-card>summary b{display:block;font-size:1rem;color:#f1f7fc}
.home-details-card>summary small{display:block;margin-top:4px;color:#9db5c4;font-size:.8rem}
.home-details-card>summary::after{content:'+';font-size:1.5rem;color:var(--team-secondary,#b6dfea)}
.home-details-card[open]>summary::after{content:'−'}
.home-details-card>summary:focus-visible{outline:2px solid var(--team-secondary,#b6dfea);outline-offset:-4px}
.home-details-content{padding:0 10px 10px}
#homeDetailsCard #dashboardSectionNavV219{position:static!important;margin:0 0 10px!important}
#recruitingTab>.recruiting-mode-nav[hidden],#recruitingTab>section[hidden]{display:none!important}
#recruitingQuickNavV219.phone-section-menu-v232{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#recruitingQuickNavV219 .ui-section-chip{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
