@import url('/stories/editorial.css');
/* No inline styles: the public CSP is style-src 'self'. Tables, rounds and the
   labelled list follow the group-stage and BWF team stories. */
.table-scroll{overflow-x:auto;margin:0 0 4px;-webkit-overflow-scrolling:touch}
.table-scroll:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
.gtable{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.gtable caption{text-align:left;font-size:11px;color:var(--muted);padding:0 0 10px}
.gtable th,.gtable td{padding:9px 10px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.gtable th:first-child,.gtable td:first-child,.gtable .name{text-align:left}
.gtable thead th{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--muted);border-bottom:2px solid var(--ink)}
.gtable tbody th{font-weight:650}
.gtable .out td,.gtable .out th{color:var(--muted)}
.gtable .tied td.key{background:#e9eee0;font-weight:700}
.gtable .name{white-space:normal}

/* Hero card. */
.hero .gtable{color:var(--paper);font-size:13px}
.hero .gtable caption{color:#d2dccb}
.hero .gtable thead th{color:#d2dccb;border-bottom-color:#ffffff60}
.hero .gtable th,.hero .gtable td{border-bottom-color:#ffffff30;padding:9px 6px}
.hero .gtable .key{color:#d6e98d;font-weight:700}
.hero .gtable .out td,.hero .gtable .out th{color:#d2dccb}

/* Results grid. */
.matrix th,.matrix td{text-align:center}
.matrix th:first-child{text-align:left}
.matrix thead th{hyphens:manual}
.matrix .self{background:repeating-linear-gradient(135deg,#ecebe1 0 5px,#f5f3eb 5px 10px)}
.matrix .w{font-weight:700}
.matrix .l{color:var(--muted)}

/* Relay legs. */
.legs .score{font-weight:650}
.legs .hot{color:var(--coral);font-weight:700}

/* Fixture rounds, drawn like the group-stage rounds. */
.fixtures{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.round{padding:14px;border:1px solid var(--line);border-radius:4px;background:#fff;min-width:0}
.round h3{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--coral);margin:0 0 6px}
.round p{font-size:13px!important;line-height:1.5;margin:0!important;padding:7px 0;border-top:1px solid var(--line)}
.round h3+p{border-top:0}

/* Labelled pitfalls, laid out like the group-stage walk. */
.traps{list-style:none;margin:20px 0 28px;padding:0}
.traps li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 16px;padding:14px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.7}
.traps li:last-child{border-bottom:1px solid var(--line)}
.traps b{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--coral);padding-top:5px}
.traps span{min-width:0}

.chapter .figure-cap{font-size:11px!important;line-height:1.8;color:var(--muted);margin:10px 0 24px!important}
.chapter h3.sub{font-family:Georgia,serif;font-weight:400;font-size:24px;letter-spacing:-.02em;line-height:1.3;margin:36px 0 12px}
.diy-steps{padding-left:24px;font-size:15px}
.diy-steps li{padding:6px 0 12px 8px}
.rally-figure{margin:28px 0;padding:24px;background:#fcfbf6;border:1px solid var(--line);border-radius:4px}
.rally-figure>.eyebrow{color:var(--coral);margin:0 0 14px}
.rally-figure figcaption{font-size:11px;line-height:1.8;color:var(--muted);margin-top:16px;border-top:1px solid var(--line);padding-top:14px}

@media(max-width:700px){
  .gtable{font-size:11.5px}
  .gtable th,.gtable td{padding:8px 5px;white-space:normal}
  .gtable td,.gtable th[scope=row]{overflow-wrap:normal}
  .gtable thead th{letter-spacing:.04em}
  .hero .gtable th,.hero .gtable td{padding:8px 4px}
  .hero .gtable{font-size:12px}
  .matrix th,.matrix td{padding:7px 3px}
  .matrix thead th{font-size:9px;letter-spacing:0}
  .traps li{grid-template-columns:1fr}
  .traps b{padding-top:0}
  .diy-steps{font-size:14px}
  .rally-figure{padding:18px}
  .chapter h3.sub{font-size:21px}
}
