/* Compact public results. Colours follow the existing club theme. */
.tl-mobile #tl-main{padding-top:0;padding-inline:24px}.tl-mobile .te-nav{padding:8px 0}.tl-mobile .te-nav button{border-radius:4px}.tl-mobile table thead,.tl-mobile table thead th{background:var(--tl-panel);color:var(--tl-muted)}.tl-mobile table tbody tr,.tl-mobile table tbody tr:nth-child(even){background:transparent;color:var(--tl-text)}.tl-mobile .tl-board>h3{background:var(--tl-panel)}
.tl-mobile .tl-header{padding-top:18px;padding-bottom:18px}.tl-mobile .tl-title h1{font-size:clamp(1.4rem,2.6vw,2rem)}
.tl-mobile .tl-search{padding:14px 20px;border-radius:4px;margin-bottom:12px}.tl-mobile .tl-search h2{font-size:1.1rem}.tl-mobile .tl-search .tl-eyebrow{margin-bottom:4px}.tl-mobile .tl-search input,.tl-mobile .tl-search button{min-height:44px}
.tl-mobile .te-hub{padding:6px 24px}.tl-mobile .tl-site-links{margin:0 0 12px}.tl-mobile .tl-panel{margin-top:18px}.tl-mobile .tl-section-heading{margin-bottom:12px}.tl-mobile .tl-section-heading h2{font-size:1.5rem}.tl-mobile .tl-section-heading .tl-eyebrow{display:none}
.tl-mobile .tl-match{border-radius:4px}.tl-results-list{border:1px solid var(--tl-line);background:var(--tl-surface);border-radius:4px;overflow:hidden}.tl-result{padding:14px 20px}.tl-result+.tl-result{border-top:1px solid var(--tl-line)}.tl-result .tl-match-top{margin-bottom:8px;font-size:.78rem}
.tl-result table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.9rem;font-variant-numeric:tabular-nums}.tl-result table th,.tl-result table td{min-width:0;padding:8px 6px;border-bottom:1px solid var(--tl-line);text-align:right;overflow-wrap:anywhere}.tl-result table th:first-child{width:42%;text-align:left}.tl-result table thead th{color:var(--tl-muted);font-size:.75rem;font-weight:500}.tl-result table tbody th{font-weight:600}.tl-result .is-winner{color:var(--tl-green)}.tl-result-table td:nth-child(2){font-weight:600}.tl-result-table abbr{text-decoration:none}
.tl-result-details summary{min-height:44px;display:list-item;padding:12px 0 8px;cursor:pointer;color:var(--tl-muted);font-size:.8rem}.tl-result-details summary:focus-visible{outline:2px solid var(--tl-green);outline-offset:3px}.tl-result-details table th:first-child{width:40%}.tl-result-details table th{white-space:normal;line-height:1.4}.tl-result-details .tl-caption{font-size:.75rem;line-height:1.5;margin:10px 0 2px}
@media(min-width:900px){.tl-results-list{max-width:960px}.tl-result-table th:first-child{width:50%}}
@media(max-width:700px){.tl-mobile .tl-search{padding:12px}.tl-result{padding:12px}.tl-result table{font-size:.8rem}.tl-result table th,.tl-result table td{padding:8px 3px}.tl-result-table th:first-child{width:40%}.tl-result-table th:nth-child(2){width:12%}.tl-result-table th:nth-child(3){width:20%}.tl-result-table th:nth-child(4){width:12%}.tl-result-table th:nth-child(5){width:16%}.tl-result-details table{font-size:.75rem}}
/* Quiet tournament layout: lists instead of oversized match cards. */
.tl-mobile .te-filters label{color:var(--tl-muted)}
@media(max-width:600px){.tl-mobile .te-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tl-mobile .te-filters label{width:auto;min-width:0}.tl-mobile .te-filters select{width:100%;max-width:100%;padding:8px 4px;font-size:.75rem}.tl-mobile .te-filters p{grid-column:1 / -1;font-size:.75rem}}
.tl-mobile .tl-header{max-width:1240px;gap:24px;padding:16px 24px}.tl-mobile .tl-title .tl-eyebrow{display:none}.tl-mobile .tl-title h1{font-size:clamp(1.2rem,2.2vw,1.65rem);font-weight:600;letter-spacing:-.02em}.tl-mobile .tl-brand>span{display:none}.tl-mobile .tl-brand img{width:220px;height:auto;object-fit:contain}.tl-mobile .tl-update{font-size:.75rem}.tl-mobile .tl-update button{min-width:44px;font-size:.75rem;border:0;background:transparent;padding:4px 8px}.tl-mobile .tl-update small{font-size:.68rem}
.tl-mobile .tl-search{display:block;border:0;background:transparent;padding:6px 24px;margin-top:0;margin-bottom:0}.tl-mobile .tl-search>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tl-mobile .tl-search form{display:flex;gap:12px;align-items:center}.tl-mobile .tl-search label{font-size:.8rem;margin:0;white-space:nowrap}.tl-mobile .tl-search-field{max-width:520px;flex:1}.tl-mobile .tl-search input{min-height:40px;padding:8px 12px;font-size:.9rem;border-radius:3px}.tl-mobile .tl-search button{min-height:44px;padding:8px 14px;font-size:.85rem;border-radius:3px}
.tl-mobile .tl-site-links .te-back{display:inline-flex;align-items:center;min-height:44px}.tl-mobile .tl-site-links{font-size:.8rem;margin-bottom:6px}.tl-mobile .te-nav{border-bottom:1px solid var(--tl-line);gap:20px;padding:0;scrollbar-width:thin}.tl-mobile .te-nav button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--tl-muted);padding:10px 0;font-size:.9rem;font-weight:400}.tl-mobile .te-nav button[aria-pressed=true]{background:transparent;color:var(--tl-text);border-bottom-color:var(--tl-green);font-weight:600}.tl-mobile .te-nav button:hover{color:var(--tl-text)}
.tl-mobile .tl-section-heading h2{font-size:1.15rem;font-weight:600;letter-spacing:0}.tl-mobile .tl-panel{margin-top:18px;margin-bottom:24px}.tl-mobile .tl-match{padding:12px;border-radius:0}.tl-mobile .tl-match-names{margin:8px 0}.tl-mobile .tl-match-names strong{font-size:.9rem;font-weight:500}.tl-mobile .tl-score{font-size:.9rem}.tl-mobile .tl-tag{border:0;padding:0;font-size:.72rem}.tl-mobile .tl-match-meta span:first-child{color:var(--tl-muted);font-weight:400}.tl-mobile .tl-match-note{margin-top:4px;font-size:.75rem}
.tl-mobile [data-event-games]{display:block;border-top:1px solid var(--tl-line)}.tl-mobile [data-event-games] .tl-match{display:grid;grid-template-columns:190px minmax(0,1fr) 220px;gap:2px 24px;padding:12px 0;border:0;border-bottom:1px solid var(--tl-line);background:transparent}.tl-mobile [data-event-games] .tl-match-top{grid-column:1;grid-row:1 / span 3;display:block}.tl-mobile [data-event-games] .tl-match-top .tl-tag{display:block;margin-top:4px}.tl-mobile [data-event-games] .tl-match-names{grid-column:2;grid-row:1 / span 3;margin:0;align-self:center}.tl-mobile [data-event-games] .tl-match-meta,.tl-mobile [data-event-games] .tl-match-note{grid-column:3;margin:0;font-size:.73rem}.tl-mobile [data-event-games] .tl-match-meta{gap:4px 12px}.tl-mobile [data-event-games] .tl-match.is-playing{box-shadow:none;border-left:2px solid var(--tl-green);padding-left:10px}
.tl-mobile .te-filters{gap:12px;margin:12px 0}.tl-mobile .te-filters label{font-size:.75rem}.tl-mobile .te-filters select{min-height:44px;font-size:.85rem;border-radius:3px}.tl-mobile .tl-table-wrap{border-radius:0}.tl-mobile .tl-table-wrap th,.tl-mobile .tl-table-wrap td{padding:8px 12px;font-size:.85rem}.tl-mobile .tl-table-wrap tbody th{font-weight:500}.tl-mobile .tl-results-list{border:0;border-radius:0;border-top:1px solid var(--tl-line);background:transparent;max-width:none}.tl-mobile .tl-result{padding:12px 0}.tl-mobile .tl-result table tbody th{font-weight:500}.tl-mobile .tl-result-details summary{font-size:.75rem}.tl-mobile .tl-board{border-radius:0}.tl-mobile .tl-board>h3{font-size:.85rem;letter-spacing:0}.tl-mobile .tl-board-empty{min-height:85px}.tl-mobile .tl-board-empty span{font-size:1rem}.tl-mobile .tl-board-empty p{color:var(--tl-muted);font-size:.8rem}
@media(max-width:800px){.tl-mobile [data-event-games] .tl-match{grid-template-columns:minmax(0,1fr) 180px;gap:6px 16px}.tl-mobile [data-event-games] .tl-match-top{grid-column:1 / -1;grid-row:auto;display:flex}.tl-mobile [data-event-games] .tl-match-top .tl-tag{margin:0}.tl-mobile [data-event-games] .tl-match-names{grid-column:1;grid-row:2 / span 3}.tl-mobile [data-event-games] .tl-match-meta,.tl-mobile [data-event-games] .tl-match-note{grid-column:2}}
@media(max-width:600px){.tl-mobile .tl-header{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-inline:16px}.tl-mobile .tl-brand{grid-column:1;grid-row:1}.tl-mobile .tl-title{grid-column:1/-1;grid-row:2}.tl-mobile .tl-title h1{margin:0 0 4px}.tl-mobile .tl-update{grid-column:2;grid-row:1;justify-self:end;display:grid;grid-template-columns:auto auto;max-width:8.2rem;font-size:.68rem}.tl-mobile .tl-update button{grid-column:1/-1;justify-self:end}.tl-mobile .tl-search{padding:8px 0}.tl-mobile .tl-search form{display:block}.tl-mobile .tl-search label{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tl-mobile .tl-search input{font-size:16px}.tl-mobile .te-hub,.tl-mobile #tl-main{padding-left:0;padding-right:0}.tl-mobile .te-nav{gap:18px}.tl-mobile .te-nav button{font-size:.85rem}.tl-mobile .tl-update small{display:none}.tl-mobile .tl-update{gap:6px}.tl-mobile .tl-update button{margin:0}.tl-mobile [data-event-games] .tl-match{grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 0}.tl-mobile [data-event-games] .tl-match-top{grid-column:1;grid-row:1;font-size:.7rem}.tl-mobile [data-event-games] .tl-match-names{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:8px}.tl-mobile [data-event-games] .tl-match-meta,.tl-mobile [data-event-games] .tl-match-note{grid-column:1;font-size:.7rem}.tl-mobile .tl-match-names strong{font-size:.82rem;line-height:1.4}.tl-mobile .tl-table-wrap th,.tl-mobile .tl-table-wrap td{padding:7px 8px;font-size:.82rem}.tl-mobile .tl-section-heading h2{font-size:1.1rem}}

@media(max-width:600px){.tl-mobile .te-nav{display:flex;flex-wrap:wrap;gap:0 16px;overflow:visible;white-space:normal}.tl-mobile .te-nav button{flex:0 1 auto;min-height:44px}.tl-mobile .tl-brand img{width:168px;height:auto;object-fit:contain}}

.tl-mobile .tl-tree .tl-tree-result-button{
  min-height:44px;
  padding:5px 9px;
  line-height:1.1;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.tl-mobile .tl-tree .tl-tree-result-button:focus-visible{outline-offset:2px}
:root:has(.tl-tree-result-dialog[open]){overflow:hidden}
.tl-tree-result-dialog{
  width:min(39rem,calc(100% - 1.5rem));
  max-height:calc(100vh - 2rem);
  max-height:calc(100dvh - 2rem);
  padding:0;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid var(--tl-line);border-radius:8px;
  color:var(--tl-text);
  background:var(--tl-surface);box-shadow:0 12px 40px #0003;
}
.tl-tree-result-dialog::backdrop{background:#0b1714a6}
.tl-tree-result-header{
  position:sticky;
  z-index:1;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.65rem;
  padding:.75rem clamp(.75rem,3vw,1.25rem);
  border-bottom:1px solid var(--tl-line);
  background:var(--tl-surface);
}
.tl-tree-result-header h2{font-size:clamp(.94rem,2.6vw,1.08rem);font-weight:500;
  line-height:1.35;}
.tl-tree-result-header button{padding:.45rem .65rem;font-size:.85rem;font-weight:400;
  background:transparent;}
.tl-mobile .tl-tree-result-dialog .tl-result{padding:.65rem clamp(.75rem,3vw,1.25rem) 1rem}
.tl-tree-result-dialog .tl-result-details + .tl-result-details{border-top:1px solid var(--tl-line)}
.tl-tree-result-dialog .tl-player-games th:first-child{width:56%}
.tl-tree-result-dialog .tl-player-games th:last-child{width:20%}
.tl-player-games small{display:block;margin-top:2px;color:var(--tl-muted);font-size:.74rem}
.tl-player-history{display:grid;gap:12px;}
.tl-player-games-list{min-width:0}
.tl-player-games-list>.tl-caption{margin:0 0 8px;font-size:.8rem}
.tl-popup-player-card{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:10px;padding:8px 0;border:0;border-radius:0;background:transparent;
}
.tl-popup-player-portrait{
  display:grid;
  place-items:center;
  width:52px;
  aspect-ratio:1;
  overflow:hidden;
  border:1px solid var(--tl-line);
  border-radius:50%;
  background:var(--tl-surface);
  color:var(--tl-accent);
  font-size:1.05rem;
  font-weight:600;
}
.tl-popup-player-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.tl-popup-player-summary strong{display:block;font-size:.92rem;overflow-wrap:anywhere;
  font-weight:500;}
.tl-popup-player-summary dl{display:flex;flex-wrap:wrap;gap:5px 12px;margin:5px 0 0}
.tl-popup-player-summary dt{color:var(--tl-muted);font-size:.68rem}
.tl-popup-player-summary dd{margin:0;color:var(--tl-accent);font-size:.9rem;font-weight:600;font-variant-numeric:tabular-nums}
.tl-popup-player-summary a{display:inline-block;margin-top:7px;color:var(--tl-accent);font-size:.75rem;font-weight:400;
  min-height:44px;
  align-content:center;}
@media(min-width:640px){
  .tl-tree-result-dialog:has(.tl-player-history){width:min(47rem,calc(100% - 1.5rem))}
  .tl-player-history{grid-template-columns:154px minmax(0,1fr);align-items:start;
  gap:12px;}
  .tl-popup-player-card{grid-template-columns:1fr;
  padding:8px 0;
  border:0;
  border-radius:0;
  background:transparent;}
  .tl-popup-player-portrait{width:62px}
}

.tl-tree-start{scroll-margin-top:12px}
.tl-tournament-totals{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  max-width:860px;margin:0 0 14px;

  border-block:1px solid var(--tl-line);}
.tl-tournament-totals>div{padding:10px 12px;border:0;border-radius:0;background:transparent;
}
.tl-tournament-totals dt{font-size:.8rem;color:var(--tl-muted)}
.tl-tournament-totals dd{
  margin:.2rem 0 0;
  color:var(--tl-accent);font-size:1.15rem;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.tl-tournament-search:not([hidden]){
  display:grid;
  gap:5px;
  max-width:26rem;
  margin-bottom:16px;
}
.tl-tournament-search label{font-size:.85rem;font-weight:500;}
.tl-tournament-search input{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--tl-line);border-radius:4px;
  background:var(--tl-surface);
  color:var(--tl-text);
  font:inherit;
  font-size:1rem;
}
.tl-tournament-search input:focus-visible{outline:2px solid var(--tl-accent);outline-offset:1px}
[data-panel="tournament-stats"] .tl-table-wrap{max-width:860px}
.tl-tournament-stats-table{width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.tl-mobile .tl-tournament-stats-table :is(th,td){text-align:right}
.tl-mobile .tl-tournament-stats-table tr>:first-child{width:38%;text-align:left;white-space:normal;overflow-wrap:anywhere}
.tl-mobile .tl-tournament-stats-table tbody th{padding-block:0}
.tl-stat-player{
  display:block;
  width:100%;
  min-height:44px;
  padding:4px 0;
  border:0;
  border-radius:4px;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  text-decoration:underline;
  text-underline-offset:.18em;
  text-decoration-color:var(--tl-line);
  cursor:pointer;
}
.tl-stat-player:focus-visible{outline:2px solid var(--tl-accent);outline-offset:1px}
.tl-stat-player:hover{color:var(--tl-accent)}
.tl-tournament-stats-table [data-stat-sort]{
  min-width:44px;
  position:relative;
  display:block;
  width:100%;
  min-height:44px;padding:0 0 5px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:inherit;
  text-decoration:underline;
  text-underline-offset:.18em;
  text-decoration-color:var(--tl-line);
  cursor:pointer;
}
.tl-tournament-stats-table th[aria-sort="descending"] [data-stat-sort]{color:var(--tl-accent);font-weight:600}
.tl-tournament-stats-table th[aria-sort="descending"] [data-stat-sort]::after{
  content:"";
  position:absolute;
  right:2px;
  bottom:1px;
  border-top:5px solid currentColor;
  border-inline:3px solid transparent;
}
.tl-tournament-stats-table [data-stat-sort]:focus-visible{outline:2px solid var(--tl-accent);outline-offset:1px}
@media(max-width:700px){
  .tl-brand,.tl-footer-links a,.tl-tree-start>p>a,.tl-caption a,.tl-round-review-advance a{display:inline-flex;align-items:center;min-height:44px}
  [data-panel="tournament-stats"] .tl-table-wrap{overflow:visible}
  .tl-tournament-stats-table{border-collapse:separate;border-spacing:0}
  .tl-tournament-stats-table thead th{position:sticky;top:0;z-index:1}
}
@media(max-width:600px){
  .tl-tournament-totals{grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  margin:0 0 14px;
  border-block:1px solid var(--tl-line);}
  .tl-mobile .tl-tournament-stats-table :is(th,td){padding:8px 2px}
  .tl-mobile .tl-tournament-stats-table thead th{font-size:.72rem;white-space:normal}
}
