/* ==========================================================
   NextFrame 7.5.6 — TABLET WORKSPACE PASS
   Tablet only: 768px–1365px. Phone (<768px) and desktop
   (>=1366px) are intentionally left alone by this stylesheet.
   ========================================================== */
@media (min-width:768px) and (max-width:1365px){
  html,body{max-width:100%;overflow-x:hidden!important}

  /* ---------- ADMIN / DIRECTOR SHELL ---------- */
  body.gts-app-body{min-width:0!important;background:#050b10!important}
  .nf-mobile-appbar,.nf-mobile-nav-backdrop{display:none!important}
  .gts-app-shell{padding-top:0!important;min-width:0!important;overflow-x:hidden!important}
  .gts-main-sidebar{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:210px!important;height:100vh!important;padding:12px 10px 16px!important;
    transform:none!important;z-index:3000!important;overflow-y:auto!important;
    box-shadow:8px 0 28px rgba(0,0,0,.26)!important
  }
  .gts-main-sidebar .v627-side-logo{min-height:126px!important;padding:10px 5px!important}
  .gts-main-sidebar .v627-side-logo img{width:170px!important;max-width:96%!important;height:auto!important;max-height:112px!important;padding:0!important}
  .gts-main-sidebar nav{gap:2px!important}
  .gts-main-sidebar nav a,.gts-main-sidebar nav button{min-height:44px!important;padding:0 9px!important;font-size:11px!important}
  .gts-main-sidebar nav a span,.gts-main-sidebar nav button span{width:25px!important;font-size:17px!important}
  .gts-sidebar-section-title{font-size:8px!important;margin:9px 6px 5px!important}
  .gts-sidebar-footer{font-size:9px!important;padding:10px 7px!important}

  .gts-app-header{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;
    margin:0 0 0 210px!important;width:calc(100% - 210px)!important;
    min-height:142px!important;height:142px!important;padding:20px 24px!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) 230px!important;
    align-items:center!important;gap:18px!important;border-radius:0!important;overflow:visible!important
  }
  .v629-global-hero-copy{max-width:680px!important;min-width:0!important}
  .v629-global-hero-copy>span{font-size:11px!important;letter-spacing:.12em!important}
  .v629-global-hero-copy>strong{font-size:clamp(30px,4.4vw,48px)!important;line-height:1!important;margin:5px 0 7px!important;white-space:normal!important}
  .v629-global-hero-copy>small{font-size:12px!important;line-height:1.4!important;max-width:650px!important}
  .v627-global-user,.v71-user-menu{width:230px!important;min-width:230px!important;max-width:230px!important;margin:0!important;justify-self:end!important}
  .v627-global-user>summary,.v71-user-menu>summary{grid-template-columns:40px minmax(0,1fr) 16px!important;padding:9px 11px!important;min-height:58px!important}
  .v71-user-dropdown{right:0!important;left:auto!important;width:250px!important}

  .gts-app-main{margin-left:210px!important;padding-top:0!important;width:calc(100% - 210px)!important;min-width:0!important;overflow:visible!important}
  .gts-content-area{width:100%!important;max-width:none!important;padding:14px 16px 30px!important;min-width:0!important;overflow:visible!important}
  .gts-app-footer{padding:16px!important;font-size:9px!important}

  /* Workspace navigation: compact desktop-like row on tablets. */
  .gts-top-menu,.gts-night-workflow-nav,.tournament-workspace-top{
    display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(100px,1fr)!important;
    gap:0!important;width:100%!important;max-width:100%!important;margin:10px 0 12px!important;
    padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:9px!important;
    scrollbar-width:thin!important
  }
  .gts-top-menu a,.gts-night-workflow-nav a,.tournament-workspace-top a{
    width:auto!important;min-width:105px!important;max-width:none!important;height:58px!important;min-height:58px!important;
    padding:8px 9px!important;font-size:8px!important;white-space:normal!important;text-align:center!important
  }
  .gts-night-workflow-nav a b{font-size:9px!important}
  .gts-section-top-menu{grid-auto-columns:minmax(115px,1fr)!important}

  /* League/night hero cards use the width, not phone stacking. */
  .gts-league-night-header{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr)!important;gap:14px!important;align-items:center!important;margin:10px 0 12px!important;padding:16px 18px!important;width:100%!important}
  .gts-league-header-copy{min-width:0!important}.gts-league-header-copy h1{font-size:31px!important;line-height:1.03!important;margin:5px 0!important}.gts-league-header-copy p{font-size:11px!important;line-height:1.35!important}.gts-league-header-meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
  .gts-league-header-center,.gts-league-header-tools{width:auto!important;justify-content:flex-end!important}
  .gts-event-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:7px!important;width:100%!important}.gts-event-actions form{flex:0 1 auto!important}.gts-event-actions .gts-neutral-button,.gts-event-actions form button{min-height:40px!important;width:auto!important}

  /* Common cards/forms: tablet gets useful multi-column density. */
  .card,.summary-card,.readiness-card,.leaderboard-card,.refund-person,.payout-person{max-width:100%!important;min-width:0!important}
  .form-grid,.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pro-summary-grid,.readiness-grid,.sidepot-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .table-wrap,.payout-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}

  /* League dashboard: keep Money Leaders on tablet and use dense season grid. */
  .v633-money-card{display:block!important;min-height:0!important;padding:17px!important}.v633-money-card .empty-state.compact{min-height:82px!important;padding:18px!important}
  .season-activity-card{padding:18px!important}.season-activity-grid.season-at-glance{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
  .season-activity-grid.season-at-glance>div{min-height:94px!important;padding:12px 7px!important}.season-activity-grid.season-at-glance strong{font-size:24px!important}.season-mini-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.season-mini-stats>span{margin:0!important;text-align:center!important}
  .sidepot-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 20px!important}.sidepot-category-grid>div{align-content:start!important}

  /* League Night overview: compact desktop workspace. */
  .night-header-workflow{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important}.workflow-step{min-height:56px!important;padding:9px 5px!important}
  .night-header-actions{display:flex!important;gap:9px!important;justify-content:center!important}.night-header-actions>*{min-width:145px!important;min-height:44px!important}
  .header-status-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .night-start-banner{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important;min-height:0!important;padding:14px 18px!important}.night-start-banner .night-start-button{min-height:44px!important}
  .nf-night-alerts{padding:16px!important}.nf-alert-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.nf-night-alert{min-height:74px!important;padding:11px!important;grid-template-columns:34px minmax(0,1fr) auto!important}
  .nf-public-share-card{display:grid!important;grid-template-columns:minmax(0,1fr) 125px!important;align-items:center!important;gap:16px!important;padding:16px!important}.nf-public-share-card img{width:118px!important;height:118px!important;justify-self:end!important}
  .gts-night-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.gts-kpi-card{min-height:105px!important;padding:13px!important}

  /* Entries stay table-oriented on tablet, but never overflow the page. */
  .pro-entries-card{padding:14px!important;overflow:hidden!important}.pro-entries-card>.section-title{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(430px,.9fr)!important;align-items:end!important;gap:14px!important}
  .night-filters{display:grid!important;gap:7px!important;width:100%!important}.filter-row,.entry-action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.entry-action-row>*{width:100%!important;margin:0!important}.entry-action-row .button,.entry-action-row button{width:100%!important;min-height:40px!important;font-size:9px!important}
  .pro-entries-card .table-wrap{overflow-x:auto!important}.pro-entries-card table{display:table!important;min-width:1040px!important;width:100%!important}.pro-entries-card thead{display:table-header-group!important}.pro-entries-card tbody{display:table-row-group!important}.pro-entries-card tbody tr{display:table-row!important;padding:0!important;border:0!important;background:transparent!important}.pro-entries-card tbody td{display:table-cell!important;padding:8px 7px!important;border-radius:0!important;background:transparent!important;white-space:normal!important}.pro-entries-card tbody td:before{display:none!important}.pro-row-actions{display:flex!important;flex-wrap:wrap!important;gap:5px!important}.pro-row-actions>*{width:auto!important}.inline-lane-form{display:flex!important;gap:5px!important}.inline-lane-input{width:54px!important}.coordinator-cell{min-width:92px!important}

  /* Score Entry: all three game summaries in a row; table scrolls, not page. */
  .score-status-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}.score-status-card{min-height:82px!important;padding:10px!important}.score-status-card strong{font-size:24px!important}
  .current-game-bar{min-height:54px!important;padding:10px 13px!important}.score-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}.score-live-controls{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
  .live-score-table,.score-table{min-width:900px!important}.score-table th,.score-table td{padding:8px!important}

  /* Super Admin / settings / help grids use tablet columns. */
  .v71-super-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v740-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v742-walkthrough-hero{display:flex!important}.v742-step-card{grid-template-columns:50px 1fr!important}
}

/* ---------- DASHBOARD TABLET ---------- */
@media (min-width:768px) and (max-width:1365px){
  .v749-body{overflow-x:hidden!important}
  .nf-home-mobile-appbar,.nf-home-backdrop{display:none!important}
  .v749-shell{grid-template-columns:205px minmax(0,1fr)!important;min-width:0!important}
  .v749-sidebar{position:fixed!important;display:flex!important;left:0!important;top:0!important;bottom:0!important;width:205px!important;padding:12px 10px!important;overflow-y:auto!important;transform:none!important;z-index:3000!important}
  .v749-brand{min-height:118px!important}.v749-brand img{width:165px!important;max-height:105px!important}.v749-nav a{min-height:44px!important;font-size:10px!important}.v749-software{padding:11px!important}.v749-support{padding:9px!important}
  .v749-main{grid-column:2!important;margin-left:0!important;width:100%!important;min-width:0!important;padding:12px 14px 28px!important}
  .v749-hero{min-height:165px!important;padding:22px 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:18px!important}.v749-hero-copy h1{font-size:clamp(34px,4.4vw,48px)!important}.v749-hero-copy p{font-size:12px!important}.v749-account{width:220px!important;justify-self:end!important}
  .v749-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}.v749-metrics>a{min-height:86px!important;padding:12px 10px!important;gap:8px!important}.v749-metrics i{width:38px!important;height:38px!important}.v749-metrics strong{font-size:22px!important}.v749-metrics small{font-size:7px!important}
  .v749-content-grid{display:grid!important;grid-template-columns:minmax(0,2.05fr) minmax(245px,.95fr)!important;gap:12px!important}.v749-feature-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.v7418-feature{min-height:330px!important}.v7418-feature .v749-feature-copy{min-height:330px!important;padding:24px 18px 20px!important}.v7418-feature h2{font-size:25px!important}.v7418-feature p{font-size:11px!important;line-height:1.4!important}.v7418-feature .v749-button{min-width:0!important;width:85%!important}.v7418-feature .v7418-card-bg{display:block!important;object-position:center!important}.v749-rail{display:grid!important;gap:12px!important}.v749-rail-card{min-height:0!important;padding:14px!important}.v749-live-banner{min-height:92px!important;padding:14px 18px!important;grid-template-columns:minmax(0,1fr) 160px auto!important}.v7412-live-logo{width:145px!important;max-height:72px!important}.v7412-live-copy strong{font-size:12px!important}.v7412-live-copy p{font-size:9px!important}
}

/* ---------- NEXTFRAME LIVE TABLET ---------- */
@media (min-width:768px) and (max-width:1365px){
  .gts-public-body{overflow-x:hidden!important;background:#040b10!important}
  .gts-public-body .public-page-root{width:min(1180px,100%)!important;max-width:100%!important;margin:0 auto!important;padding:0 16px 34px!important;overflow:visible!important}
  .gts-public-body .public-global-nav{position:sticky!important;top:0!important;z-index:5000!important;display:grid!important;grid-template-columns:190px minmax(0,1fr) 100px!important;align-items:center!important;min-height:72px!important;height:72px!important;padding:6px 16px!important;background:#030b11f7!important;border-bottom:1px solid #24485f!important}
  .gts-public-body .public-nav-brand{display:flex!important;width:180px!important;height:62px!important;align-items:center!important;justify-content:flex-start!important;position:static!important;margin:0!important}.gts-public-body .public-nav-brand img{display:block!important;width:auto!important;height:58px!important;max-height:58px!important;position:static!important;transform:none!important}.gts-public-body .public-nav-brand-spacer{display:block!important;width:180px!important}.gts-public-body .public-global-nav nav{display:flex!important;justify-content:center!important;gap:28px!important}.gts-public-body .public-global-nav nav a{font-size:10px!important}.gts-public-body .public-nav-powered{display:block!important;text-align:right!important;font-size:8px!important}

  /* Public landing: use wide search and two-column event sections where possible. */
  .gts-public-body .nf660-live-hero{margin-top:14px!important;border-radius:16px!important;min-height:0!important}.gts-public-body .nf660-hero-copy{padding:28px 30px!important;max-width:760px!important}.gts-public-body .nf660-hero-copy h1{font-size:45px!important;line-height:.98!important}.gts-public-body .nf660-search-wrap{grid-template-columns:44px minmax(0,1fr) 118px!important;max-width:760px!important}.gts-public-body .nf660-search-wrap input{font-size:15px!important}.gts-public-body .nf660-search-wrap button{width:118px!important;min-width:118px!important}.gts-public-body .nf660-empty{min-height:105px!important;padding:18px!important}

  /* Event hero uses tablet width instead of phone stacking. */
  .gts-public-body .redesigned-event-hero{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;grid-template-areas:"logo info" "actions actions"!important;align-items:center!important;gap:14px 20px!important;min-height:0!important;padding:18px 20px!important;margin:14px 0!important;background-position:center!important}.gts-public-body .event-hero-logo{grid-area:logo!important;width:210px!important;max-width:210px!important;margin:0!important;justify-self:center!important;position:static!important}.gts-public-body .event-hero-logo img{width:100%!important;height:auto!important;position:static!important;transform:none!important}.gts-public-body .event-hero-info-card{grid-area:info!important;width:100%!important;max-width:none!important;padding:16px 18px!important}.gts-public-body .event-hero-info-card h1{font-size:32px!important}.gts-public-body .event-history-button{position:static!important}.gts-public-body .live-hero-actions{grid-area:actions!important;display:flex!important;gap:9px!important;justify-content:flex-start!important;flex-wrap:wrap!important}

  /* Live navigation: tablet-friendly dense grid, never phone 2-column tower. */
  .gts-public-body .public-tabs{position:sticky!important;top:72px!important;z-index:100!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;width:100%!important;max-width:100%!important;overflow:visible!important;padding:7px!important}.gts-public-body .public-tab{width:100%!important;min-width:0!important;min-height:40px!important;padding:7px 5px!important;font-size:9px!important;white-space:normal!important}
  .gts-public-body .public-current-game{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:12px 16px!important}.gts-public-body .public-current-game strong{font-size:26px!important}
  .gts-public-body #panel-scores .card,.gts-public-body .public-search-card{padding:16px!important}.gts-public-body .public-search-card .section-title{margin-bottom:10px!important}.gts-public-body #public-search{min-height:46px!important;font-size:15px!important}

  /* Score results: 2 cards across on larger tablets, 1 on portrait narrow tablets. */
  .gts-public-body .public-score-mobile-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.gts-public-body .public-mobile-score-card{width:100%!important;max-width:100%!important;padding:13px!important;margin:0!important}.gts-public-body .public-mobile-score-card .mobile-game-grid,.gts-public-body .public-mobile-score-card [class*="game-grid"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.gts-public-body .public-mobile-score-card [class*="game-card"],.gts-public-body .public-mobile-score-card [class*="score-box"]{padding:8px 4px!important;min-width:0!important}.gts-public-body .floating-live-logo{display:none!important}

  /* Other public panels: use tablet columns rather than long phone stacks. */
  .gts-public-body .public-bracket-two-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gts-public-body .public-high-game-grid,.gts-public-body .public-series-grid,.gts-public-body .public-blind-grid,.gts-public-body .public-payout-grid,.gts-public-body .public-refund-board{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:768px) and (max-width:900px){
  .gts-public-body .public-score-mobile-list{grid-template-columns:1fr!important}
  .gts-public-body .public-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .gts-public-body .redesigned-event-hero{grid-template-columns:180px minmax(0,1fr)!important}.gts-public-body .event-hero-logo{width:170px!important;max-width:170px!important}
  .gts-app-header{grid-template-columns:minmax(0,1fr) 200px!important}.v627-global-user,.v71-user-menu{width:200px!important;min-width:200px!important;max-width:200px!important}
  .season-activity-grid.season-at-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}.season-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .night-header-workflow{grid-template-columns:repeat(3,minmax(0,1fr))!important}.nf-alert-grid{grid-template-columns:1fr!important}
}

/* ==========================================================
   NextFrame 7.5.7 — TRUE TABLET EXPERIENCE
   Tablet only: 768px–1365px. Phone and desktop are untouched.
   Tablet is intentionally a third layout: full-width workspace,
   off-canvas navigation, touch-sized controls, and multi-column
   content that uses the available screen rather than compressing
   the desktop sidebar layout.
   ========================================================== */
@media (min-width:768px) and (max-width:1365px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}

  /* Shared tablet app bar */
  body.gts-app-body{padding-top:82px!important}
  .gts-app-shell{display:block!important;width:100%!important;max-width:100vw!important;min-width:0!important;padding:0!important;margin:0!important;overflow-x:hidden!important}
  .nf-mobile-appbar{
    display:flex!important;position:fixed!important;z-index:8100!important;top:0!important;left:0!important;right:0!important;
    height:82px!important;padding:9px 22px!important;align-items:center!important;justify-content:space-between!important;
    background:rgba(4,13,21,.985)!important;border-bottom:1px solid #2a4f67!important;box-shadow:0 10px 28px rgba(0,0,0,.34)!important
  }
  .nf-mobile-menu-toggle{display:flex!important;width:58px!important;height:58px!important;border-radius:13px!important;border:1px solid #315d78!important;background:#0a1d2a!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important}
  .nf-mobile-menu-toggle span{display:block!important;width:28px!important;height:3px!important;background:#eef8ff!important;border-radius:3px!important}
  .nf-mobile-brand{display:flex!important;height:66px!important;max-width:235px!important;align-items:center!important;justify-content:center!important}
  .nf-mobile-brand img{height:64px!important;width:auto!important;max-width:230px!important;object-fit:contain!important}
  .nf-mobile-live-link{display:grid!important;place-items:center!important;height:54px!important;min-width:78px!important;padding:0 16px!important;border:1px solid #2b6485!important;border-radius:13px!important;background:#0a2538!important;color:#58c1ff!important;font-size:14px!important;font-weight:950!important;text-decoration:none!important;letter-spacing:.06em!important}

  /* Off-canvas tablet navigation instead of permanent desktop rail */
  .gts-main-sidebar{
    position:fixed!important;z-index:8300!important;top:0!important;left:0!important;bottom:0!important;width:min(390px,48vw)!important;height:100dvh!important;
    padding:16px 14px 28px!important;overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;
    box-shadow:20px 0 58px rgba(0,0,0,.56)!important
  }
  body.nf-mobile-nav-open .gts-main-sidebar{transform:translateX(0)!important}
  .nf-mobile-nav-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:8200!important;background:rgba(0,0,0,.66)!important;opacity:0!important;visibility:hidden!important;transition:.2s!important}
  body.nf-mobile-nav-open .nf-mobile-nav-backdrop{opacity:1!important;visibility:visible!important}
  .gts-main-sidebar .v627-side-logo{min-height:135px!important;padding:10px!important}
  .gts-main-sidebar .v627-side-logo img{width:210px!important;max-width:80%!important;max-height:120px!important}
  .gts-main-sidebar nav a,.gts-main-sidebar nav button{min-height:54px!important;padding:0 14px!important;font-size:14px!important}
  .gts-main-sidebar nav a span,.gts-main-sidebar nav button span{width:30px!important;font-size:19px!important}
  .gts-sidebar-section-title{font-size:9px!important;margin:12px 8px 7px!important}

  /* Full width admin workspace */
  .gts-app-main{margin-left:0!important;width:100%!important;max-width:100%!important;padding:0!important;overflow:visible!important}
  .gts-content-area{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:18px 22px 40px!important;overflow:visible!important}
  .gts-app-header{
    position:relative!important;left:auto!important;top:auto!important;width:calc(100% - 32px)!important;max-width:1180px!important;
    margin:16px auto 0!important;min-height:155px!important;height:auto!important;padding:22px 26px!important;border-radius:14px!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:24px!important;align-items:center!important;overflow:hidden!important
  }
  .v629-global-hero-copy{max-width:760px!important;min-width:0!important;position:relative!important;z-index:2!important}
  .v629-global-hero-copy>span{font-size:12px!important;letter-spacing:.14em!important}
  .v629-global-hero-copy>strong{font-size:clamp(36px,5vw,58px)!important;line-height:1!important;margin:6px 0 9px!important;white-space:normal!important}
  .v629-global-hero-copy>small{font-size:14px!important;line-height:1.4!important;max-width:720px!important}
  .v627-global-user,.v71-user-menu{width:260px!important;min-width:0!important;max-width:260px!important;justify-self:end!important;margin:0!important}
  .v627-global-user>summary,.v71-user-menu>summary{min-height:66px!important;padding:10px 13px!important;grid-template-columns:44px minmax(0,1fr) 18px!important}
  .v627-global-avatar{width:42px!important;height:42px!important}

  /* Tablet navigation uses screen width and real touch targets */
  .gts-top-menu,.gts-night-workflow-nav,.tournament-workspace-top{
    width:100%!important;max-width:1180px!important;margin:14px auto!important;display:flex!important;gap:6px!important;padding:6px!important;
    overflow-x:auto!important;overflow-y:hidden!important;border-radius:12px!important;-webkit-overflow-scrolling:touch!important
  }
  .gts-top-menu a,.gts-night-workflow-nav a,.tournament-workspace-top a{flex:1 0 125px!important;min-width:125px!important;height:62px!important;min-height:62px!important;padding:8px 10px!important;font-size:10px!important;white-space:normal!important;text-align:center!important}
  .gts-top-menu a span,.gts-night-workflow-nav a span{font-size:20px!important}

  /* Common tablet density */
  .card,.summary-card,.readiness-card,.leaderboard-card,.refund-person,.payout-person{border-radius:14px!important}
  .form-grid,.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .table-wrap,.payout-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;max-width:100%!important}

  /* League dashboard */
  .gts-league-night-header{width:100%!important;margin:12px 0!important;display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr)!important;gap:18px!important;padding:18px 20px!important;align-items:center!important}
  .gts-league-header-copy h1{font-size:38px!important;line-height:1.02!important}.gts-league-header-copy p{font-size:13px!important}
  .league-dashboard-actions-only{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.league-dashboard-actions-only>*{width:100%!important;min-height:52px!important}
  .v633-money-card{min-height:0!important;padding:20px!important}.v633-money-card .empty-state.compact{min-height:90px!important;padding:18px!important}
  .season-activity-card{padding:20px!important}.season-activity-grid.season-at-glance{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.season-activity-grid.season-at-glance>div{min-height:115px!important;padding:14px 8px!important}.season-activity-grid.season-at-glance strong{font-size:30px!important}.season-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
  .sidepot-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 24px!important}

  /* League Night operations */
  .night-header-workflow{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}.workflow-step{min-height:64px!important;padding:10px 6px!important}
  .night-header-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.night-header-actions>*{width:100%!important;min-height:52px!important}
  .header-status-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .night-start-banner{grid-template-columns:auto minmax(0,1fr) auto!important;padding:16px 20px!important;gap:18px!important}
  .nf-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.nf-night-alert{min-height:80px!important}
  .nf-public-share-card{grid-template-columns:minmax(0,1fr) 140px!important;padding:18px 20px!important}.nf-public-share-card img{width:130px!important;height:130px!important}
  .gts-night-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.gts-kpi-card{min-height:120px!important}

  /* Entries / bowler management */
  .pro-entries-card{padding:18px!important}.pro-entries-card>.section-title{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(480px,.95fr)!important;gap:18px!important;align-items:end!important}
  .night-filters .filter-row,.entry-action-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .pro-entries-card .table-wrap{overflow-x:auto!important}.pro-entries-card table{min-width:1060px!important;width:100%!important}

  /* Score entry */
  .game-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.game-status-card{min-height:100px!important;padding:14px!important}
  .score-toolbar{grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important}.score-live-controls{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important}
  .live-score-table,.score-table{min-width:930px!important}

  /* Admin/support */
  .v71-super-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v740-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Standalone dashboard: full-width tablet workspace with drawer */
@media (min-width:768px) and (max-width:1365px){
  body.v749-body{padding-top:82px!important;overflow-x:hidden!important}
  .nf-home-mobile-appbar{
    display:flex!important;position:fixed!important;z-index:8100!important;top:0!important;left:0!important;right:0!important;height:82px!important;
    padding:9px 22px!important;align-items:center!important;justify-content:space-between!important;background:rgba(4,13,21,.985)!important;border-bottom:1px solid #2a4f67!important;box-shadow:0 10px 28px rgba(0,0,0,.34)!important
  }
  .nf-home-menu-toggle{display:flex!important;width:58px!important;height:58px!important;border-radius:13px!important;border:1px solid #315d78!important;background:#0a1d2a!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important}
  .nf-home-menu-toggle span{display:block!important;width:28px!important;height:3px!important;background:#eef8ff!important;border-radius:3px!important}
  .nf-home-mobile-appbar img{height:64px!important;width:auto!important;max-width:230px!important;object-fit:contain!important}.nf-home-mobile-appbar>a{display:grid!important;place-items:center!important;height:54px!important;min-width:78px!important;border:1px solid #2b6485!important;border-radius:13px!important;background:#0a2538!important;color:#58c1ff!important;font-size:14px!important;font-weight:950!important;text-decoration:none!important}
  .nf-home-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:8200!important;background:rgba(0,0,0,.66)!important;opacity:0!important;visibility:hidden!important;transition:.2s!important}body.nf-home-nav-open .nf-home-backdrop{opacity:1!important;visibility:visible!important}
  .v749-shell{display:block!important;width:100%!important;min-width:0!important}
  .v749-sidebar{position:fixed!important;z-index:8300!important;top:0!important;left:0!important;bottom:0!important;width:min(390px,48vw)!important;height:100dvh!important;padding:16px 14px 28px!important;overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:20px 0 58px rgba(0,0,0,.56)!important}body.nf-home-nav-open .v749-sidebar{transform:translateX(0)!important}
  .v749-brand{min-height:140px!important}.v749-brand img{width:215px!important;max-height:125px!important}.v749-nav a{min-height:54px!important;font-size:14px!important}
  .v749-main{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:18px 22px 38px!important}
  .v749-hero{min-height:190px!important;padding:28px 30px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important;border-radius:15px!important}.v749-hero-copy h1{font-size:clamp(42px,6vw,64px)!important}.v749-hero-copy p{font-size:14px!important;line-height:1.45!important}.v749-account{width:280px!important;max-width:280px!important;justify-self:end!important}
  .v749-metrics{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}.v749-metrics>a{min-height:112px!important;padding:15px 12px!important}.v749-metrics i{width:46px!important;height:46px!important}.v749-metrics strong{font-size:30px!important}.v749-metrics small{font-size:8px!important}.v749-metrics span{font-size:9px!important}
  .v749-content-grid{grid-template-columns:minmax(0,2fr) minmax(300px,.8fr)!important;gap:14px!important}.v749-feature-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.v7418-feature{min-height:390px!important}.v7418-feature .v749-feature-copy{min-height:390px!important;padding:28px 22px!important}.v7418-feature h2{font-size:31px!important}.v7418-feature p{font-size:13px!important}.v7418-feature .v749-button{width:90%!important;min-height:52px!important}.v749-rail{gap:14px!important}.v749-rail-card{padding:18px!important}.v749-live-banner{min-height:110px!important;padding:16px 22px!important;grid-template-columns:minmax(0,1fr) 190px auto!important}.v7412-live-logo{width:180px!important;max-height:88px!important}
}

/* NextFrame Live: tablet is a wide public experience, not phone UI */
@media (min-width:768px) and (max-width:1365px){
  .gts-public-body{overflow-x:hidden!important}
  .gts-public-body .public-page-root{width:min(1180px,100%)!important;max-width:100%!important;margin:0 auto!important;padding:0 20px 40px!important}
  .gts-public-body .public-global-nav{position:sticky!important;top:0!important;z-index:6000!important;display:grid!important;grid-template-columns:220px minmax(0,1fr) 100px!important;min-height:78px!important;height:78px!important;padding:7px 20px!important;align-items:center!important;background:#030b11f7!important}
  .gts-public-body .public-nav-brand,.gts-public-body .public-nav-brand-spacer{width:210px!important;height:68px!important;display:flex!important;align-items:center!important}.gts-public-body .public-nav-brand img{height:66px!important;width:auto!important;max-width:205px!important;position:static!important;transform:none!important}
  .gts-public-body .public-global-nav nav{display:flex!important;justify-content:center!important;gap:32px!important;overflow:visible!important}.gts-public-body .public-global-nav nav a{font-size:11px!important;padding:10px 3px!important}.gts-public-body .public-nav-powered{display:block!important;font-size:9px!important;text-align:right!important}
  .gts-public-body .nf660-live-hero{margin-top:18px!important;border-radius:18px!important}.gts-public-body .nf660-hero-copy{padding:34px!important;max-width:840px!important}.gts-public-body .nf660-hero-copy h1{font-size:52px!important}.gts-public-body .nf660-search-wrap{max-width:850px!important;grid-template-columns:48px minmax(0,1fr) 135px!important}.gts-public-body .nf660-search-wrap button{width:135px!important;min-width:135px!important}
  .gts-public-body .redesigned-event-hero{grid-template-columns:260px minmax(0,1fr)!important;grid-template-areas:"logo info" "actions actions"!important;gap:18px 24px!important;padding:22px 24px!important}.gts-public-body .event-hero-logo{width:245px!important;max-width:245px!important}.gts-public-body .event-hero-info-card{padding:20px 22px!important}.gts-public-body .event-hero-info-card h1{font-size:38px!important}
  .gts-public-body .public-tabs{position:sticky!important;top:78px!important;z-index:200!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;padding:8px!important;overflow:visible!important}.gts-public-body .public-tab{min-height:48px!important;padding:9px 7px!important;font-size:10px!important;white-space:normal!important}
  .gts-public-body .public-current-game{padding:13px 18px!important}.gts-public-body #panel-scores .card,.gts-public-body .public-search-card{padding:18px!important}.gts-public-body #public-search{min-height:50px!important;font-size:16px!important}
  .gts-public-body .public-score-mobile-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.gts-public-body .public-mobile-score-card{padding:15px!important}.gts-public-body .public-mobile-score-card [class*="game-grid"]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .gts-public-body .public-bracket-two-grid,.gts-public-body .public-high-game-grid,.gts-public-body .public-series-grid,.gts-public-body .public-blind-grid,.gts-public-body .public-payout-grid,.gts-public-body .public-refund-board{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .gts-public-body .floating-live-logo{display:none!important}
}

/* Narrow portrait tablet: still tablet, just slightly denser. */
@media (min-width:768px) and (max-width:900px){
  .v749-main,.gts-content-area{padding-left:16px!important;padding-right:16px!important}.v749-hero,.gts-app-header{grid-template-columns:minmax(0,1fr) 230px!important}.v749-account,.v627-global-user,.v71-user-menu{width:230px!important;max-width:230px!important}
  .v749-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v749-metrics>a:nth-child(4),.v749-metrics>a:nth-child(5){grid-column:auto!important}
  .v749-content-grid{grid-template-columns:1fr!important}.v749-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v749-live-banner{grid-column:1/-1!important}
  .gts-public-body .public-score-mobile-list{grid-template-columns:1fr!important}.gts-public-body .public-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .pro-entries-card>.section-title{grid-template-columns:1fr!important}.night-filters{max-width:none!important}
}


/* NextFrame 7.6.7 tablet fixes — tablet only; phone layout remains unchanged. */
@media (min-width:701px) and (max-width:1365px){
  /* Scores: never render the phone card copy on tablets. The duplicate card was
     previously being displayed without its phone styling. */
  .gts-public-body #panel-scores .public-score-mobile-list{display:none!important}
  .gts-public-body #panel-scores .table-wrap{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .gts-public-body #panel-scores .public-score-table{display:table!important;width:100%!important;min-width:760px!important;table-layout:auto!important}
  .gts-public-body #panel-scores .public-score-table th,.gts-public-body #panel-scores .public-score-table td{padding:10px 8px!important;font-size:12px!important}
  .gts-public-body #panel-scores .public-score-table td a{display:flex!important;flex-direction:column!important;gap:2px!important;text-decoration:none!important}
  .gts-public-body #panel-scores .public-score-table td a small{display:block!important;font-size:9px!important;color:#86a8ba!important}
}
@media (min-width:768px) and (max-width:1365px){
  /* Night Overview: compact working header so more of the actual night is visible. */
  .gts-league-night-header{min-height:0!important;padding:12px 16px!important;margin:8px 0 10px!important;gap:10px!important}
  .gts-league-night-header h1{font-size:clamp(30px,4vw,46px)!important;line-height:1!important;margin:2px 0!important}
  .gts-league-night-header p{margin:3px 0!important;line-height:1.25!important}
  .night-header-start-control{gap:10px!important}.night-header-start-control span{font-size:11px!important}
  .night-start-button.compact{min-height:46px!important;padding:10px 20px!important;font-size:16px!important}
  .night-header-actions>*{min-height:44px!important}
  .gts-night-overview{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  .gts-kpi-card{min-height:82px!important;padding:10px 11px!important}.gts-kpi-card strong{font-size:23px!important}.gts-kpi-card small{font-size:9px!important;line-height:1.25!important}
}
@media (min-width:768px) and (max-width:900px){
  .gts-night-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
