/* The Golf TV hub (site/hub.js): YouTube golf channels, most watched, series, collabs, and major events. */
.ph-head { margin: 8px 0 14px; }
.ph-head h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin: 0 0 .12em; }
.ph-head .lede { margin: 0; }
.ph-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 4px 16px 10px; position: sticky; top: var(--top-h, 0px); z-index: 5; background: var(--paper); }
.ph-tabs::-webkit-scrollbar, .ph-chips::-webkit-scrollbar, .ph-rail::-webkit-scrollbar, .ph-week::-webkit-scrollbar { display: none; }
.ph-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow); white-space: nowrap; transition: border-color .14s, background .14s; }
.ph-tabs a.on { background: var(--court); color: #fff; border-color: var(--court); }
.ph-tabs a:hover { border-color: var(--court); }
.ph-tabs a.on:hover { background: var(--court-dark); }
.ph { display: grid; gap: 44px; padding: 14px 0 30px; min-width: 0; }
.ph-sec { min-width: 0; }
.ph-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 18px; margin-bottom: 14px; }
.ph-h > div:first-child { min-width: 0; }
.ph-h h2 { font-size: clamp(2rem, 5vw, 3rem); margin: 0; line-height: 1.04; }
.ph-note { margin: 8px 0 0; color: var(--ink-2); font-size: .94rem; line-height: 1.45; max-width: 62ch; }
.ph-sub { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 10px; color: var(--muted); }
.ph-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; margin: -2px; }
.ph-chips .chip { flex: none; text-decoration: none; display: inline-flex; align-items: center; }
.ph-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 280px); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-left: 16px; }
.ph-rail > * { scroll-snap-align: start; }
.ph-v { min-width: 0; }
.ph-v .vthumb, .ph-rank .vthumb { overflow: hidden; }
.ph-badge { position: absolute; right: 8px; bottom: 8px; background: rgba(16, 28, 22, .9); color: #fff; border-radius: 5px; padding: 2px 7px; font-family: var(--mono); font-size: .74rem; font-weight: 600; }
.ph-ch, .ph-board-nm, .ph-chan-n { font-weight: 700; color: var(--ink); text-decoration: none; }
.ph-ch:hover, .ph-board-nm:hover, .ph-chan-n:hover { text-decoration: underline; text-underline-offset: 3px; }
.ph-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 700; text-underline-offset: 4px; }
.ph-empty { color: var(--muted); padding: 18px 0; margin: 0; }
.ph-stamp { margin: 0; }
.ph-dayhead { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 700 1.1rem var(--body); }
.ph-dayhead span { color: var(--muted); font-size: .88rem; font-weight: 500; }

/* most watched */
.ph-top { display: grid; gap: 18px; }
.ph-lead { position: relative; overflow: visible; align-self: start; }
.ph-lead .vthumb { border-radius: var(--radius) var(--radius) 0 0; }
.ph-lead .vtitle { font-size: 1.15rem; }
.ph-lead-n { position: absolute; z-index: 2; top: 10px; left: 10px; min-width: 38px; height: 34px; padding: 0 8px; display: grid; place-items: center; background: var(--ink); color: var(--ball);
  border: 1px solid rgba(201, 162, 75, .5); border-radius: 6px; font: 600 .95rem var(--mono); transform: none; }
.ph-ranks { list-style: none; margin: 0; padding: 0; display: grid; }
.ph-rank { display: grid; grid-template-columns: 28px 104px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ph-rank:first-child { border-top: 0; }
.ph-rank-n { font: 600 1rem var(--mono); text-align: center; color: var(--court); }
.ph-rank .vthumb { border: 1px solid var(--line); border-radius: 6px; }
.ph-rank .vplay { display: none; }
.ph-rank-m { display: grid; gap: 2px; min-width: 0; }
.ph-rank-m b { font-size: .93rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ph-rank-m small { font-size: .8rem; color: var(--muted); }
.ph-rank-x { font-family: var(--mono); font-size: .84rem; white-space: nowrap; }
.ph-ranks-2 { max-width: 780px; }

/* the week */
.ph-week { display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 230px); gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px;
  scroll-snap-type: x proximity; scroll-padding-left: 16px; }
.ph-day { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; min-width: 0; }
.ph-day.now { background: #0d2218; color: #fff; border-color: rgba(201, 162, 75, .36); }
.ph-day h3 { display: flex; justify-content: space-between; align-items: baseline; font: 700 1rem var(--body); margin: 0 0 8px; }
.ph-day h3 span { font-family: var(--mono); font-size: .74rem; opacity: .8; font-weight: 500; }
.ph-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ph-day li { display: grid; gap: 0; font-size: .9rem; line-height: 1.25; min-width: 0; }
.ph-day li .num { font-size: .74rem; opacity: .8; white-space: nowrap; }
.ph-day .ph-ch { color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-got { justify-self: start; border: 0; background: var(--ball); color: var(--ink); border-radius: 5px; font: 600 .72rem var(--mono); padding: 3px 8px; margin-top: 3px; cursor: pointer; }
.ph-day-more { margin: 8px 0 0; font-size: .8rem; opacity: .8; }

/* boards */
.ph-board, .ph-pairs, .ph-events { list-style: none; margin: 0; padding: 0; }
.ph-board li { display: grid; grid-template-columns: 28px minmax(0, auto) auto minmax(30px, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.ph-board li:first-child { border-top: 0; }
.ph-board-n { font-family: var(--mono); color: var(--muted); font-size: .82rem; text-align: right; }
.ph-board-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-tag { font-family: var(--mono); font-size: .7rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.ph-bar { height: 8px; border-radius: 99px; background: var(--stage); overflow: hidden; }
.ph-bar i { display: block; height: 100%; background: var(--court); border-radius: 99px; }
.ph-board b { font-family: var(--mono); font-size: .9rem; min-width: 52px; text-align: right; }
.ph-board li:first-child .ph-board-nm { font-size: 1.08rem; }

/* videos together */
.ph-pair { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.ph-pair:first-child { border-top: 0; }
.ph-pair-n { grid-row: span 2; font: 600 1.05rem var(--mono); color: var(--court); text-align: right; }
.ph-pair-w { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .98rem; }
.ph-pair-w i { font-style: normal; color: var(--muted); }
.ph-pair-v { display: block; max-width: 100%; border: 0; background: none; padding: 4px 0; text-align: left; font: inherit; font-size: .85rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; cursor: pointer; }
.ph-pair-v:hover { color: var(--court); }

/* calendar */
.ph-events li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ph-events li:first-child { border-top: 0; }
.ph-date { display: grid; justify-items: center; background: #0d2218; color: #fff; border: 1px solid rgba(201, 162, 75, .36); border-radius: 8px; padding: 6px 0 5px; }
.ph-date b { font: 600 1.15rem var(--mono); color: var(--ball); line-height: 1.05; }
.ph-date small { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.ph-ev { display: grid; min-width: 0; }
.ph-ev small { color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.ph-when { font-family: var(--mono); font-size: .78rem; color: var(--court); font-weight: 600; white-space: nowrap; }
.ph-events .btn { grid-column: 2 / -1; justify-self: start; }

/* the shop row */
.ph-shop { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.ph-shop .ph-h h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
.ph-shop-tag { display: inline-block; background: var(--ink); color: var(--ball); border-radius: 5px; padding: 3px 10px; font: 600 .72rem var(--mono); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }

/* channels */
.ph-chans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ph-chan { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.ph-chan:not(:has(.pav)) { grid-template-columns: minmax(0, 1fr) auto; }
.ph-chan-b { display: grid; gap: 2px; min-width: 0; }
.ph-chan-n { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-chan-b small { color: var(--muted); font-size: .82rem; }
.ph-follow { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; padding: 6px 12px; font: 600 .84rem var(--body); cursor: pointer; white-space: nowrap; min-height: 36px; transition: border-color .14s, background .14s; }
.ph-follow.on { background: var(--grass-soft); border-color: var(--grass); color: var(--grass); }
.ph-follow:hover { border-color: var(--court); background: var(--court-soft); }
.ph-mine { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ph-mine-i { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px 4px 12px; }

/* stats table */
.ph-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.ph-table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.ph-table th, .ph-table td { padding: 9px 10px; text-align: right; white-space: nowrap; border-top: 1px solid var(--line); }
.ph-table thead th { border-top: 0; background: #0d1f17; color: #f5f3ee; font-family: var(--mono); font-size: .74rem; }
.ph-table th button { background: none; border: 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; min-height: 36px; }
.ph-table th[aria-sort] button { color: var(--ball); }
.ph-table .ph-t-nm { text-align: left; position: sticky; left: 0; background: var(--card); max-width: 44vw; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.ph-table thead .ph-t-nm { background: #0d1f17; z-index: 2; }
.ph-table .ph-t-n { text-align: right; color: var(--muted); width: 34px; font-family: var(--mono); }
.ph-table thead .ph-t-n { color: #f5f3ee; }
.ph-table td.on { font-weight: 700; background: var(--amber-soft); }

/* channel telemetry on person page */
.ph-person { margin: 36px 0; }
.ph-person .section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.ph-person-acts { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ph-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ph-tiles div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 3px; }
.ph-tiles b { font: 600 1.35rem var(--mono); color: var(--court); }
.ph-tiles small { font-size: .8rem; color: var(--ink-2); line-height: 1.25; }
.ph-posts { margin: 6px 0; }
.ph-tease { margin: 36px 0; }
.ph-tease .vcard { height: 100%; }

@media (max-width: 480px) {
  .ph-shop { padding: 14px 12px; }
  .ph-shop .minis { gap: 10px; }
  .ph-shop .mini-label { position: static; display: block; border-radius: 0; text-align: center; }
  .ph-tag { display: none; }
  .ph-board li { grid-template-columns: 24px minmax(0, 1fr) minmax(40px, 28%) auto; }
  .ph-rank { grid-template-columns: 22px 84px minmax(0, 1fr); }
  .ph-rank-x { grid-column: 3; font-size: .8rem; color: var(--ink-2); }
  .ph-chan { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 9px; }
  .ph-chan .pav { width: 44px; height: 44px; font-size: .95rem; }
}
@media (max-width: 900px), (pointer: coarse) {
  .ph-follow, .ph-table th button { min-height: 44px; }
  .ph-pair-v, .ph-got { min-height: 44px; display: flex; align-items: center; }
  .ph-pair-v { display: block; line-height: 36px; }
  .ph-day li > a, .ph-board-nm, .ph-pair-w a, .ph-mine-i a { display: inline-block; padding-block: 6px; }
}
@media (min-width: 760px) {
  .ph { gap: 52px; }
  .ph-tabs { margin: 0 0 8px; padding: 4px 0 10px; }
  .ph-rail { grid-auto-columns: 272px; margin: 0; padding: 4px 2px 10px; scroll-padding-left: 0; }
  .ph-week { margin: 0; padding: 4px 2px 10px; grid-auto-columns: minmax(150px, 1fr); scroll-padding-left: 0; }
  .ph-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .ph-events li { grid-template-columns: 54px minmax(0, 1fr) auto auto; }
  .ph-events .btn { grid-column: auto; }
  .ph-shop { padding: 22px; }
}
