.atd-editorial{max-width:920px;margin:1rem auto 2.5rem}.atd-editorial-card,.atd-report-section{border:1px solid rgba(128,128,128,.28);border-radius:16px;padding:clamp(16px,3vw,28px);margin:1.15rem 0;background:var(--surface,transparent)}
.atd-editorial-profile{display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);gap:26px;align-items:center}.atd-editorial-profile img{display:block;width:100%;height:auto;border-radius:14px}.atd-editorial h1,.atd-report-section h2{line-height:1.2}.atd-editorial h2,.atd-report-section h2{margin:0 0 .8rem;font-size:clamp(1.1rem,2.5vw,1.45rem)}.atd-editorial p,.atd-report-section p{line-height:1.72;margin:.7rem 0}.atd-author-line{display:flex;align-items:center;gap:12px;margin:16px 0;flex-wrap:wrap}.atd-author-line img{width:62px;height:auto;aspect-ratio:517/505;border-radius:10px}.atd-author-line strong{display:block;font-size:1rem}.atd-author-line small{display:block;opacity:.85}.atd-editorial a,.atd-author-line a,.atd-report-section a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.atd-editor-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:1rem}.atd-report-graphic{display:block;width:100%;height:auto;aspect-ratio:1200/630;border-radius:12px;margin:16px 0}.atd-report-meta{font-size:.85rem;opacity:.85}.atd-report-intro{font-size:clamp(1.05rem,2.6vw,1.26rem);font-weight:650;line-height:1.55}.atd-report-stats{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.atd-report-stats th,.atd-report-stats td{padding:10px 6px;border-bottom:1px solid rgba(128,128,128,.3);text-align:center;overflow-wrap:anywhere}.atd-report-stats th:first-child{text-align:left}.atd-report-stats thead th{font-weight:700}.atd-report-details summary{cursor:pointer;font-weight:750;padding:8px 0}.atd-report-details .match-post-commentary-feed{margin-top:1rem}.atd-report-details .match-post-leg-card{margin-bottom:12px}.atd-report-chart{width:100%;height:auto;max-height:320px;display:block;color:inherit}.atd-report-chart text{fill:currentColor;font-size:14px}.atd-report-chart-key{display:flex;gap:18px;flex-wrap:wrap;font-size:.9rem}.atd-report-chart-key span:before{content:'';display:inline-block;width:18px;height:4px;margin-right:6px;vertical-align:middle;background:#b68016}.atd-report-chart-key span+span:before{background:#377ac0}.atd-report-related ul,.atd-editorial ul{padding-left:1.2rem;line-height:1.7}.atd-report-note{font-size:.92rem;opacity:.9}.atd-report-section .match-post-listen{margin:1rem 0}.atd-report-details .match-visits{margin-top:12px}@media(max-width:580px){.atd-editorial-profile{grid-template-columns:1fr}.atd-editorial-profile img{max-width:230px}.atd-report-stats th,.atd-report-stats td{font-size:.84rem}.atd-report-chart text{font-size:17px}}

.atd-legacy-author-line{max-width:100%;box-sizing:border-box;padding:12px 16px;border:1px solid rgba(128,128,128,.28);border-radius:12px}.atd-legacy-author-line img{display:block;object-fit:contain}.atd-legacy-author-line>div{min-width:0;flex:1}

/* Match analysis revision 3: readable without JavaScript; fixed player colours. */
.atd-report-section,.atd-chart{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}.atd-report-section h3{font-size:clamp(1rem,2.6vw,1.18rem);line-height:1.35;margin:1.35rem 0 .65rem}.atd-report-section h4{font-size:.9rem;line-height:1.3;margin:0 0 .4rem}.atd-match-glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:1rem 0 1.5rem}.atd-match-glance>div{border:1px solid rgba(128,128,128,.28);border-radius:12px;padding:12px;min-width:0}.atd-match-glance small{display:block;opacity:.85;line-height:1.35}.atd-match-glance strong{display:block;font-size:clamp(1.15rem,4vw,1.7rem);font-variant-numeric:tabular-nums;margin-top:4px}.atd-chart{margin:1.1rem 0;padding:clamp(12px,2.5vw,20px);border:1px solid rgba(128,128,128,.25);border-radius:12px}.atd-chart>h3{margin:0 0 12px}.atd-chart figcaption{font-size:.88rem;line-height:1.5;opacity:.9;margin:12px 0 0}.atd-chart-bar-group{margin:12px 0}.atd-bar-row{display:grid;grid-template-columns:minmax(70px,1fr) minmax(50px,2fr) minmax(43px,auto);gap:8px;align-items:center;margin:8px 0;font-size:.9rem}.atd-bar-name{line-height:1.2}.atd-bar-row strong{text-align:right;font-variant-numeric:tabular-nums}.atd-bar-track{height:11px;background:rgba(128,128,128,.16);border-radius:6px;overflow:hidden;position:relative}.atd-bar-fill{display:block;height:100%;border-radius:6px}.atd-chart-home{background:#b68016}.atd-chart-away{background:#377ac0}.atd-chart-data{margin-top:10px;font-size:.88rem}.atd-chart-data summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;line-height:1.4}.atd-table-wrap{overflow-x:auto;max-width:100%}.atd-finishes{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:12px 0}.atd-finishes li{display:flex;gap:10px;align-items:center;border:1px solid rgba(128,128,128,.25);border-radius:10px;padding:10px;line-height:1.3}.atd-finishes strong{font-size:1.45rem;font-variant-numeric:tabular-nums}.atd-finishes small,.atd-meeting-date{display:block;font-size:.78rem;opacity:.85;margin-top:3px}.atd-leg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:5px;margin:12px 0}.atd-leg-token{display:flex;justify-content:center;align-items:center;min-height:36px;color:white;font-size:.86rem;font-weight:700;border-radius:6px;font-variant-numeric:tabular-nums}.atd-leg-token.atd-chart-home{color:#171717;background:#d2a44d}.atd-report-chart{max-height:none;overflow:visible}.atd-report-chart text{font-size:13px}.atd-editor-footer .atd-author-line{margin-top:0}.atd-report-lead .match-post-article>h2{margin-top:1.5rem}.atd-report-lead .match-post-article figure{margin-left:0;margin-right:0}.atd-report-section .atd-report-stats td{word-break:normal}.atd-report-chart-key{margin-bottom:8px}.atd-report-chart-key span{line-height:1.35}
@media(max-width:580px){.atd-match-glance{grid-template-columns:repeat(2,minmax(0,1fr))}.atd-bar-row{grid-template-columns:minmax(65px,1fr) minmax(38px,1.2fr) minmax(42px,auto);gap:5px;font-size:.79rem}.atd-report-chart text{font-size:21px}.atd-report-stats th,.atd-report-stats td{padding:8px 4px}.atd-finishes{grid-template-columns:1fr}.atd-leg-grid{grid-template-columns:repeat(auto-fill,minmax(33px,1fr))}.atd-chart{padding:11px}.atd-chart-bar-group{margin:13px 0}}

/* Keep the expandable leg record near the match narrative. */
.atd-early-commentary{border:1px solid rgba(128,128,128,.28);border-radius:12px;padding:12px 16px;margin:.65rem 0 1.2rem}.atd-early-commentary h3{margin:0 0 .35rem}.atd-early-commentary summary{padding:.4rem 0;cursor:pointer}.atd-early-commentary details[open]>summary{margin-bottom:.6rem}
