/* Inner Dive · sport pages on the phone (27 Oct 2026) · goes with tool-phone-sport.js */
.tps-bar { display: none; }
@media (max-width: 819.98px) {
  body.tps .sp-hero .sp-art { max-height: 190px; overflow: hidden; }
  body.tps .sp-hero .sp-art img, body.tps .sp-hero .sp-art canvas, body.tps .sp-hero .sp-art svg { max-height: 190px; object-fit: contain; }
  body.tps .sp-hero .sp-mnav { display: none; }
  body.tps .tps-off { display: none !important; }

  .tps-bar { display: block; position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 4; margin: 6px -16px 18px; padding: 10px 0;
    background: linear-gradient(180deg, rgba(10,15,36,.96), rgba(10,15,36,.86)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(157,180,255,.1); }
  .tps-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .tps-row::-webkit-scrollbar { display: none; }
  .tps-row button { all: unset; flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; cursor: pointer; --mk: #5FE6FF;
    font: 600 .88rem/1 var(--font-body, inherit); color: var(--ink, #E7EBF8); background: rgba(18,25,53,.8); border: 1px solid rgba(157,180,255,.16); -webkit-tap-highlight-color: transparent; transition: all .25s; }
  .tps-row button i { width: 7px; height: 7px; border-radius: 50%; background: var(--mk); box-shadow: 0 0 8px var(--mk); }
  .tps-row button small { font: 600 .66rem/1 var(--font-mono, ui-monospace, monospace); padding: 3px 6px; border-radius: 6px; color: color-mix(in srgb, var(--mk) 70%, #fff); background: rgba(10,15,36,.8); }
  .tps-row button.on { color: #0A0F24; background: linear-gradient(120deg, var(--mk), color-mix(in srgb, var(--mk) 65%, #fff)); border-color: var(--mk); box-shadow: 0 0 18px -6px var(--mk); }
  .tps-row button.on i { background: #0A0F24; box-shadow: none; }
  .tps-row button.on small { background: rgba(10,15,36,.25); color: #0A0F24; }

  /* sessions as swipe cards */
  body.tps .sp-moment { margin-bottom: 18px; padding-top: 4px; }
  body.tps .sp-moment::before { display: none; }
  body.tps .sp-moment .sp-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc(100vw - 48px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  body.tps .sp-moment .sp-grid::-webkit-scrollbar { display: none; }
  body.tps .sp-moment .sp-card { scroll-snap-align: start; }
  .tps-dots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
  .tps-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(157,180,255,.25); transition: all .3s; }
  .tps-dots i.on { width: 22px; border-radius: 4px; background: var(--k, #5FE6FF); box-shadow: 0 0 8px var(--k, #5FE6FF); }
}
