/* OSU Club Hub — phone layout. Loaded after app.css. Aim: one thumb, dense but calm, nothing wider than the screen. */
@media (max-width: 860px) {
  /* a blurred header becomes the containing block for fixed children, so the bottom nav would stick to the header */
  .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 96%, transparent); }
  .searchbtn span:not(.i), .searchbtn kbd { display: none; }
  .searchbtn .i { display: inline-flex !important; }
  /* status on one line; the full disclaimer stays in the footer, a short one stays up top */
  .disclaimer { font-size: 11.5px; padding-top: 8px; }
  .disclaimer .sep, .disclaimer > span:last-child { display: none; }
  .disclaimer::after { content: 'Unofficial \2014  coliseum.ca is the official source; OttoSport for team details.'; display: block; width: 100%; color: var(--faint); margin-top: 2px; }
  /* filters scroll sideways with the page instead of eating a third of the screen */
  .toolbar { position: static; background: none; margin: 14px 0 12px; padding: 0; gap: 10px; }
  .filters, .divpick, .kinds { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar, .divpick::-webkit-scrollbar, .kinds::-webkit-scrollbar { display: none; }
  .chips { flex-wrap: nowrap; }
  .chip, .seg { flex: none; }
  .modes { width: 100%; }
  .mode { flex: 1; justify-content: center; padding: 8px 6px; white-space: nowrap; }
  .mode .i { display: none; }
  .hero { padding-top: 18px; }
  .hero.slim { padding-top: 18px; }
  .hero-title { font-size: 34px; line-height: .98; }
  .lede { font-size: 14px; }
  .kpis { gap: 6px; margin-top: 16px; } .kpi { min-width: 0; flex: 1 1 22%; padding: 9px 10px; border-radius: 12px; } .kpi b { font-size: 24px; } .kpi span { font-size: 11px; }
  .ticker { margin-top: 14px; } .tk-label { padding: 0 10px; font-size: 10px; }
  .day { margin-bottom: 22px; }
  .day-h { padding-bottom: 8px; margin-bottom: 8px; } .day-h h2 { font-size: 26px; }
  .hr-mark { padding: 4px 0 0 2px; font-size: 10px; }
  .day-list, .glist { gap: 8px; }

  /* teams: one compact row per team */
  .band { margin: 18px 0 24px; } .band-h { gap: 10px; margin-bottom: 10px; } .band-h h2 { font-size: 40px; } .band-h .muted { font-size: 12px; }
  .band-cols { grid-template-columns: 1fr; gap: 14px; }
  .tgrid { grid-template-columns: 1fr; gap: 6px; }
  .tcard { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 10px; padding: 9px 10px 9px 12px; border-radius: 13px; }
  .tcard::after { width: 60px; height: 60px; right: -22px; top: -22px; }
  .tc-top { display: contents; }
  .tcard .kitwrap { grid-column: 1; grid-row: 1; } .tcard .kit { width: 26px; height: 26px; }
  .tc-name { grid-column: 2; grid-row: 1; } .tc-name b { font-size: 20px; } .tc-name span { font-size: 11.5px; }
  .tc-pos { grid-column: 3; grid-row: 1; gap: 4px; flex-wrap: nowrap; align-items: baseline; }
  .tc-pos b { font-size: 22px; } .tc-pos span { font-size: 11px; } .tc-pos .form { display: none; }
  .tc-pos.quiet { display: none; }
  .tcard .star { grid-column: 4; grid-row: 1; width: 32px; height: 32px; }
  .tc-next { grid-column: 1 / -1; font-size: 11.5px; padding-top: 6px; }

  /* team page */
  .thero { padding: 18px; border-radius: 20px; margin-top: 14px; } .thero h1 { max-width: 100%; font-size: 44px; margin-bottom: 14px; }
  .thero-bg { right: -70px; bottom: -90px; } .thero-bg .kit { width: 240px; height: 240px; }
  .thero-actions .btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .nextm { padding: 14px; gap: 12px; } .nm-when b, .nm-when > span:last-child { font-size: 20px; }
  .nm-where { padding: 10px; gap: 8px; } .nm-where > span { font-size: 13.5px; min-width: 0; } .nm-where small { font-size: 12px; }
  .nm-face > div { font-size: 17px; } .nm-face .crest { width: 48px !important; height: 48px !important; }
  .statstrip { gap: 6px; } .stat { padding: 9px 6px; } .stat b { font-size: 24px; } .stat span { font-size: 10.5px; }
  .card { padding: 14px; border-radius: 18px; }

  /* tables & ladder */
  .ladder li { grid-template-columns: 22px 1fr auto 42px; gap: 8px; padding: 6px 4px; }
  .ladder li > .kitwrap, .ladder .lt, .ladder .lbar { display: none; }
  .ladder li > a { min-width: 0; } .ladder li b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ladder .form i { width: 15px; height: 15px; line-height: 15px; font-size: 9px; }
  .lr { font-size: 18px; } .lp { font-size: 16px; }
  .divpick { margin: 14px 0; } .chip.big { flex: none; }
  .tbl { font-size: 13px; } .tbl td, .tbl th { padding: 7px 4px; } .tteam .crest { display: none; }

  /* venues */
  .vgrid { grid-template-columns: 1fr; } .vcard { padding: 14px; } .vc-head h3 { font-size: 24px; } .vlist .vt { width: 88px; font-size: 11.5px; }

  /* my OSU */
  .mychips { gap: 6px; margin-top: 14px; } .mychip b { font-size: 16px; }
  .clash { padding: 12px; gap: 10px; } .cl-ic { width: 32px; height: 32px; }
  .picks { grid-template-columns: 1fr; } .pick { padding: 10px; }
  .donebar { bottom: 84px; }

  /* studio: kinds become a swipeable strip */
  .kinds { display: flex; gap: 8px; margin: 14px 0 12px; }
  .kind { flex: none; width: 150px; padding: 11px; } .kind span { display: none; } .kind b { font-size: 17px; }
  .studio-grid { gap: 12px; } textarea.msg { min-height: 230px; font-size: 13.5px; }
  .sendrow .btn { flex: 1 1 auto; }

  /* sheet */
  .sheet { padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); }
  .face { margin: 14px 0; } .face-side { font-size: 17px; } .face-side .crest { width: 46px !important; height: 46px !important; }
  .face-score { font-size: 44px; }
  .facts { grid-template-columns: 70px 1fr; font-size: 13.5px; }
  .sheet-actions .btn { flex: 1 1 45%; }
}
.more { display: block; margin: 10px auto 0; }
