/* Touch layouts shared by hubs, tournaments, teams and match pages. */
.table-scroll-hint{display:none}
@media(max-width:800px){
  .editorial{font-size:16px;-webkit-text-size-adjust:100%}
  .editorial .header-inner{height:auto;min-height:0;flex-wrap:wrap;gap:0;padding-top:4px}
  .editorial .wordmark{font-size:20px;min-height:44px}
  .editorial .wordmark-suffix{font-size:8px;letter-spacing:.1em}
  .editorial .site-header nav{flex-basis:100%;margin:0;gap:8px;justify-content:space-between;font-size:15px}
  .editorial .site-header nav a{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 4px}
  .editorial .season-top{display:none}
  .editorial .breadcrumb{font-size:13px;gap:8px;flex-wrap:wrap;line-height:1.6}
  .editorial .breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
  .editorial .section-nav{gap:20px;overflow-x:auto;white-space:nowrap;scroll-padding:8px}
  .editorial .section-nav a{font-size:15px;min-height:48px;padding:15px 0;flex-shrink:0}
  .editorial .section-nav span{font-size:12px}
  .editorial .filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .editorial .filters .search-field{grid-column:1/-1}
  .editorial .filters label{min-width:0}
  .editorial .filters input,.editorial .filters select{width:100%;min-width:0;height:48px;font-size:16px;padding:10px 12px}
  .editorial .load-more,.editorial .reset-filters{min-height:48px;font-size:16px}
  .editorial .filter-feedback,.editorial .empty-state{font-size:15px;line-height:1.6}
  .editorial .match-row{grid-template-columns:58px minmax(0,1fr);gap:8px 12px;padding:20px 0}
  .editorial .match-date{grid-row:1/3}
  .editorial .match-date time{font-size:14px}
  .editorial .match-date time span,.editorial .match-stage{font-size:12px;line-height:1.6}
  .editorial .match-teams{gap:4px}
  .editorial .match-teams>div{gap:8px;min-height:44px}
  .editorial .match-teams .team-link{font-size:15px;line-height:1.4;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
  .editorial .match-teams .crest{width:24px;height:26px;flex-shrink:0}
  .editorial .match-teams b{font-size:18px}
  .editorial .match-extra{grid-column:2;flex-direction:column;align-items:flex-start;gap:6px}
  .editorial .status,.editorial .set-scores{font-size:13px;line-height:1.6;max-width:none}
  .editorial .match-expand{grid-column:2;display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;padding:8px 12px;background:var(--soft);border-radius:5px;margin-top:4px}
  .editorial .entity-content-grid>*,.editorial .content-grid>*{min-width:0}
  .editorial .page-shell,.editorial .header-inner{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
  .editorial .table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:4px}
  .editorial .table-scroll:focus-visible{outline-offset:0}
  .editorial .standings{min-width:440px;font-size:14px}
  .editorial .standings .team-link{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
  .editorial .standings thead th,.editorial .standings .rank{font-size:12px}
  .editorial .standings th,.editorial .standings td{padding:6px 8px}
  .editorial .table-scroll-hint{display:block;font-size:13px;color:var(--muted);margin:10px 0;line-height:1.6}
  .editorial .table-note,.editorial .source-note,.editorial .data-note{font-size:14px;line-height:1.7}
  .editorial .detail-section>p,.editorial .hub-heading>p,.editorial .data-empty{font-size:16px;line-height:1.7}
  .editorial .section-title p,.editorial .section-count{font-size:13px}
  .editorial .team-directory-entry{min-height:76px;padding:16px 10px}
  .editorial .team-directory-entry strong{font-size:16px}
  .editorial .team-directory-entry small,.editorial .team-directory-entry .team-summary-stat{font-size:13px;line-height:1.5}
  .editorial .tournament-entry>p{font-size:15px}
  .editorial .league-type,.editorial .league-country-visible{font-size:13px}
  .editorial .tournament-entry-links{gap:8px 16px;font-size:15px;margin-top:20px;padding-top:12px}
  .editorial .tournament-entry-links a{display:inline-flex;align-items:center;min-height:44px}
  .editorial .entity-meta,.editorial .league-subtitle{font-size:14px;line-height:1.7}
  .editorial .archive-badge{font-size:12px}
  .editorial .season-stats{grid-template-columns:1fr 1fr;gap:26px 18px}
  .editorial .season-stats dt{font-size:14px}
  .editorial .season-stats dd{font-size:28px}
  .editorial .season-stats>div:last-child dd{font-size:24px}
  .editorial .team-panel-title{font-size:15px}
  .editorial .team-panel-form{flex-direction:column;align-items:flex-start;gap:12px}
  .editorial .team-panel-form>span{font-size:14px}
  .editorial .team-form-links{gap:8px;flex-wrap:wrap}
  .editorial .team-form-links .form-mark{width:44px;height:44px;font-size:16px}
  .editorial .team-season-panel>p,.editorial .team-season-summary p{font-size:13px;line-height:1.7}
  .editorial .home-away-stats h3,.editorial .home-away-stats p{font-size:14px;line-height:1.6}
  .editorial .text-link{font-size:15px;min-height:44px;display:inline-flex;align-items:center}
  .editorial .sets-table{min-width:440px;font-size:16px}
  .editorial .sets-table th:first-child{width:36%}
  .editorial .sets-table tbody th .team-link{font-size:14px;display:flex;align-items:center;min-height:44px;line-height:1.4}
  .editorial .sets-table th,.editorial .sets-table td{padding:10px 6px}
  .editorial .sets-table thead th{font-size:13px}
  .editorial .sets-table .points{font-size:16px}
  .editorial .match-actions{align-items:stretch;flex-direction:column;gap:10px}
  .editorial .match-actions>a{font-size:15px;display:flex;align-items:center;min-height:44px}
  .editorial .match-actions .share-button{min-height:48px;font-size:16px;white-space:normal}
  .editorial .share-dialog{padding:20px;max-height:calc(100dvh - 24px)}
  .editorial .share-close{width:44px;height:44px;flex-shrink:0}
  .editorial .share-context{font-size:16px}
  .editorial .share-local-note,.editorial .share-link-label{font-size:14px}
  .editorial .share-options a,.editorial .share-options button,.editorial .share-copy-row button{min-height:48px;font-size:16px}
  .editorial .share-copy-row input{font-size:16px;min-height:48px}
  .editorial .footer-content p{font-size:14px;line-height:1.7}
  .editorial .back-top{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
}
/* Keep the entity heading and season record within the first phone screen. */
@media(max-width:800px){
  .editorial.site-pages .editorial-hero{padding-top:12px;padding-bottom:18px}
  .editorial.site-pages .editorial-hero .league-heading{gap:12px;justify-content:flex-start}
  .editorial.site-pages .editorial-hero .breadcrumb{margin-bottom:8px;line-height:1.4;font-size:12px}
  .editorial.site-pages .entity-heading{margin-top:0}
  .editorial.site-pages .league-country-visible{margin-bottom:8px;font-size:12px}
  .editorial.site-pages .entity-meta{display:flex;flex-wrap:wrap;gap:2px 12px;margin-top:8px;font-size:14px}
  .editorial.site-pages .team-page-hero .entity-meta>span{display:none}
  .editorial.site-pages .archive-badge{margin-top:10px;padding:5px 8px}
  .editorial.site-pages .team-season-panel{margin-top:16px;padding:16px}
  .editorial.site-pages .team-panel-title{font-size:14px;min-height:32px}
  .editorial.site-pages .team-panel-title .crest{width:32px;height:34px;font-size:14px}
  .editorial.site-pages .season-stats{margin:18px 0;gap:14px 12px}
  .editorial.site-pages .season-stats dt{font-size:12px;line-height:1.4}
  .editorial.site-pages .season-stats dd{font-size:24px;margin-top:6px}
  .editorial.site-pages .season-stats>div:last-child dd{font-size:21px}
  .editorial.site-pages .team-panel-form{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-top:12px}
  .editorial.site-pages .team-panel-form>span{font-size:13px}
  .editorial.site-pages .team-form-links{gap:6px}
  .editorial.site-pages .team-season-panel>p{margin-top:8px;font-size:12px;line-height:1.5}
}
@media(min-width:360px) and (max-width:800px){
  .editorial.site-pages .season-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
}
@media(max-width:800px){
  .editorial .editorial-hero{display:block;margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .editorial .signature-match .feature-top{font-size:12px;line-height:1.6;gap:12px;flex-wrap:wrap}
  .editorial .signature-team .team-link{font-size:13px;min-height:44px;display:flex;align-items:center;justify-content:center;line-height:1.4}
  .editorial .signature-team small,.editorial .signature-score small{font-size:11px;line-height:1.5}
  .editorial .signature-score{font-size:44px}
  .editorial .set-path-heading{font-size:12px;line-height:1.5}
  .editorial .set-number{font-size:10px}
  .editorial .set-tile strong{font-size:17px}
  .editorial .signature-bottom{font-size:12px;line-height:1.6;flex-direction:column;align-items:flex-start;gap:10px}
  .editorial .comeback-note{max-width:none;text-align:left}
  .editorial .season-identity-title>strong{font-size:16px}
  .editorial .season-identity-title>span{font-size:12px}
  .editorial .distribution-labels{font-size:12px;gap:8px;flex-wrap:wrap}
  .editorial .tournament-entry h2{font-size:21px}
}
@media(max-width:365px){
  .editorial .signature-score{font-size:36px}
  .editorial .signature-scoreline{gap:5px}
  .editorial .set-path{gap:3px}
  .editorial .set-tile strong{font-size:15px}
  .editorial .match-row{grid-template-columns:49px minmax(0,1fr);column-gap:10px}
  .editorial .match-teams .team-link{font-size:14px}
}

/* The whole result is one native link. Club navigation lives in team sections. */
.match-row,[data-linked-match]{position:relative}
.editorial .match-row{display:block}
.match-card-link{display:grid;grid-template-columns:inherit;gap:inherit;color:inherit;text-decoration:none}
.featured-match-link{display:block;color:inherit;text-decoration:none}
.match-card-link::after,.featured-match-link::after{content:"";position:absolute;inset:0;cursor:pointer;border-radius:inherit}
.match-row:focus-within,[data-linked-match]:focus-within{outline:3px solid var(--plum);outline-offset:3px}
.match-card-link:focus-visible,.featured-match-link:focus-visible{outline:none}
.editorial .match-card-link .match-expand{display:flex;align-items:center;gap:10px;min-height:24px;padding:0;background:none;margin-top:0;color:var(--plum);font-size:12px;font-weight:600}
.editorial .match-row:hover .match-expand{text-decoration:underline;text-underline-offset:4px}
.featured-match-hint{display:block;margin-top:15px;font-size:14px;font-weight:600;color:var(--primary)}
[data-linked-match]:focus-within{outline-color:var(--primary)}
@media(max-width:800px){.editorial .match-card-link .match-expand{font-size:14px;justify-content:flex-start;padding:4px 0;min-height:28px}}

.editorial .section-nav a{position:relative}
.editorial .section-nav a:first-child::after{display:none}
.editorial .section-nav a[aria-current="location"]::after{display:block;content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--plum)}

/* Keep the result, set scores and direction cue on the same desktop row. */
.editorial .match-row{padding:14px 0}
.editorial .match-card-link{grid-template-columns:76px minmax(0,1fr) 190px 20px;align-items:center;column-gap:20px;row-gap:8px;min-width:0}
.editorial .match-card-link:hover{text-decoration:none}
.editorial .match-card-link .match-date{grid-column:1;grid-row:1}
.editorial .match-card-link .match-teams{grid-column:2;grid-row:1;max-width:580px;width:100%}
.editorial .match-card-link .match-extra{grid-column:3;grid-row:1;flex-direction:column;align-items:flex-end;gap:6px}
.editorial .match-card-link .match-expand{grid-column:4;grid-row:1;justify-self:end;min-height:44px;min-width:20px;font-size:0;padding:0}
.editorial .match-card-link .match-expand>span{font-size:20px}
@media(max-width:1100px){
  .editorial .match-card-link{grid-template-columns:65px minmax(0,1fr) 160px 20px;column-gap:14px}
}
@media(max-width:800px){
  .editorial .match-card-link{grid-template-columns:58px minmax(0,1fr) 18px;column-gap:12px;row-gap:4px}
  .editorial .match-card-link .match-date{align-self:start}
  .editorial .match-card-link .match-extra{grid-column:2/4;grid-row:2;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px 14px}
  .editorial .match-card-link .match-expand{grid-column:3;grid-row:1;align-self:center;justify-self:end;min-width:18px}
  .editorial .match-card-link .set-scores{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:359px){
  .editorial .match-card-link{grid-template-columns:49px minmax(0,1fr) 16px;column-gap:9px}
}

/* Match sidebar cards use the same readable phone scale as adjacent content. */
@media(max-width:800px){
  .editorial .team-season-summary h3 .team-link{font-size:18px;line-height:1.4}
  .editorial .team-season-summary p{font-size:16px;line-height:1.65}
  .editorial .team-season-summary .form-mark{width:32px;height:32px;font-size:14px}
  .editorial .source-note h3{font-size:18px;line-height:1.4}
  .editorial .source-note p{font-size:16px;line-height:1.65}
  .editorial .source-note a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.5}
}

/* One intro rhythm across sports pages, the blog and article pages. */
.editorial.site-pages{--intro-top:24px;--intro-gap:24px}
.editorial.site-pages .editorial-hero,.editorial.site-pages .hub-heading{padding-top:var(--intro-top)}
.editorial.site-pages .editorial-hero .league-heading{justify-content:flex-start;gap:0}
.editorial.site-pages .editorial-hero .breadcrumb,.editorial.site-pages .hub-heading .breadcrumb{margin-bottom:var(--intro-gap);font-size:13px;line-height:1.6}
.editorial.site-pages .entity-heading{margin-top:0}
.editorial.blog-page .page-shell>.breadcrumb,.editorial.editorial-article .page-shell>.breadcrumb{padding-top:var(--intro-top);margin-bottom:var(--intro-gap);font-size:13px;line-height:1.6}
.editorial.blog-page .blog-heading{padding-top:0}
@media(max-width:800px){.editorial.site-pages{--intro-top:16px;--intro-gap:16px}}

/* Keep active championships together; completed editions follow the match lists. */
.competition-grid.three-tournaments{grid-template-columns:repeat(3,minmax(0,1fr))}
.competition-grid .tournament-entry{display:flex;flex-direction:column;min-width:0}
.competition-grid .tournament-entry :is(h2,h3){font-family:Unbounded,sans-serif;font-weight:700;font-size:21px;line-height:1.4;letter-spacing:-.03em;text-wrap:balance;margin-top:20px}
.competition-grid .tournament-entry>p{font-size:14px;line-height:1.65;margin-bottom:16px}
.competition-grid .tournament-entry .league-type{font-size:13px;line-height:1.5}
.competition-grid .tournament-entry-links{margin-top:auto;gap:8px 16px;padding-top:12px;font-size:14px}
.tournament-entry-links>a{display:inline-flex;align-items:center;min-height:44px}
.completed-competitions>.competition-grid{margin-top:20px;margin-bottom:0}
@media(min-width:801px) and (max-width:1199px){.three-tournaments .tournament-entry :is(h2,h3){min-height:2.8em}}
@media(max-width:800px){
 .competition-grid.three-tournaments{grid-template-columns:1fr}
 .competition-grid{gap:16px}
 .competition-grid .tournament-entry{padding:20px}
 .competition-grid .tournament-entry :is(h2,h3){margin-top:12px;font-size:20px;line-height:1.4}
 .competition-grid .tournament-entry>p{margin-top:10px;margin-bottom:12px}
 .competition-grid .tournament-entry-links{font-size:14px;padding-top:8px}
}

.competition-grid.four-tournaments{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){.competition-grid.four-tournaments{grid-template-columns:1fr}}
