/* Career matchups and the historical record book. */
.career-duel { margin:24px 0; border:1px solid var(--line); border-radius:18px; overflow:hidden; background:var(--panel); color:var(--ink); }
.duel-heading { display:flex; justify-content:space-between; gap:12px; padding:16px 24px; background:var(--soft); font-size:12px; }
.duel-heading .eyebrow { color:var(--accent); }
.duel-scoreboard { display:grid; grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr); align-items:center; gap:16px; padding:28px; color:#fff; background:linear-gradient(110deg,#063758ed,#082b40eb),url('../images/matchday-header.svg') center/cover; }
.duel-contender { display:flex; align-items:center; flex-direction:column; text-align:center; padding:16px; border:1px solid #ffffff25; border-radius:16px; min-width:0; transition:box-shadow .3s,border-color .3s; }
.duel-contender .player-portrait,.duel-contender .initials { width:80px; height:80px; flex:0 0 80px; margin-bottom:12px; }
.duel-contender a { color:#fff; font-size:clamp(18px,2vw,26px); font-weight:800; text-decoration:none; overflow-wrap:anywhere; }
.duel-contender>span,.duel-contender>small { color:#c1d7e4; font-size:12px; }
.theme-press .duel-contender .initials { background:#e4eef5; color:#063758; font-size:28px; font-weight:800; }
.duel-score { font-size:64px; line-height:1.15; margin-top:12px; font-variant-numeric:tabular-nums; }
.duel-first .duel-score { color:#91d6ff; }.duel-second .duel-score { color:#ffb4bf; }
.duel-versus { border:1px solid #ffffff50; border-radius:50%; width:60px; height:60px; display:grid; place-items:center; font-size:18px; font-weight:900; color:#fff; }
.duel-contender.duel-champion { border-color:#f6d480; box-shadow:0 0 0 3px #f6d48044,0 0 35px #f6d48022; }
.duel-controls { padding:20px; text-align:center; border-bottom:1px solid var(--line); }
.duel-controls button { padding:12px 24px; border-radius:8px; border:1px solid transparent; background:#063758; color:#fff; font:inherit; font-weight:750; cursor:pointer; }
.duel-controls .duel-skip { background:var(--soft); color:var(--ink); border-color:var(--line); margin-left:8px; }
.duel-controls p { color:var(--muted); font-size:14px; margin:12px 0 0; }
.duel-rounds { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:20px; }
.duel-round { border:1px solid var(--line); border-radius:12px; background:var(--soft); padding:18px; animation:duel-reveal .3s ease-out; }
.duel-round-heading { text-align:center; }.duel-round-heading>span { color:var(--muted); font-size:10px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.duel-round-heading h2 { margin:6px 0 18px; font-size:18px; }
.duel-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.duel-value { text-align:center; }.duel-value strong { font-size:30px; font-variant-numeric:tabular-nums; }.duel-value small { display:block; min-height:20px; margin-top:6px; font-size:12px; color:var(--muted); }
.duel-value.round-winner strong,.duel-value.round-winner small { color:var(--accent); }
.duel-track { height:6px; border-radius:5px; background:var(--line); overflow:hidden; margin-top:8px; }
.duel-track i { display:block; width:var(--bar); height:100%; background:#3482b6; }.duel-value:nth-child(2) .duel-track i { background:#b94f62; }
.duel-round-result { margin:12px 0 0; font-size:12px; text-align:center; color:var(--muted); }
.duel-verdict { text-align:center; padding:24px; background:var(--soft); border-top:1px solid var(--line); }
.duel-verdict .profile-icon { width:38px; height:38px; color:var(--accent); }.duel-verdict h2 { font-size:24px; margin:10px 0; }.duel-verdict p { margin:0; color:var(--muted); }
.duel-rules { margin-bottom:20px; font-size:14px; }.duel-rules summary { cursor:pointer; font-weight:750; }.duel-rules p { color:var(--muted); }
.career-duel [hidden] { display:none!important; }
.career-duel button:focus-visible,.career-duel a:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.theme-press .career-hero,.career-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:28px; border-radius:14px; border:1px solid #ffffff25; color:#fff; background:linear-gradient(115deg,#063758f5,#082c43df),url('../images/matchday-header.svg') center/cover!important; gap:24px; }
.career-hero .profile-identity { min-width:0; }.career-hero .profile-identity h2 { color:#fff; }.career-hero .profile-identity p { color:#d4e5ef; }
.career-hero-record { text-align:right; }.career-hero-record .eyebrow { color:#f2d188; font-size:11px; }.career-hero-record p { margin:6px 0; color:#d4e5ef; font-size:13px; }
.theme-press .career-hero .career-stat-grid,.career-hero .career-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; grid-column:1/-1; margin:0; }
.career-stat { border:1px solid #ffffff30; background:#021a2c65; border-radius:12px; padding:18px; }
.career-stat-heading { display:flex; align-items:center; gap:8px; margin-bottom:8px; }.career-stat-heading .profile-icon { width:20px; height:20px; color:#8ed0f5; }.career-stat-heading span { color:#e3eff7; }
.theme-press .career-stat strong { font-size:42px; color:#fff; line-height:1.2; }
.career-rank { display:block; margin:8px 0 12px; color:#f2d188; font-size:12px; font-weight:700; }
.career-record-track { background:#ffffff25; border-radius:4px; height:5px; overflow:hidden; }.career-record-track i { display:block; height:100%; background:linear-gradient(90deg,#80c6ec,#f2d188); border-radius:4px; }
.career-hero .career-rank-note { grid-column:1/-1; margin:0; color:#bed3e1; font-size:11px; line-height:1.6; }
@keyframes duel-reveal { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .duel-round { animation:none; }.duel-contender { transition:none; } }
@media(max-width:700px) {
    .duel-heading { flex-direction:column; gap:4px; padding:14px 16px; }.duel-scoreboard { padding:16px 10px; gap:8px; grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr); }.duel-versus { width:32px; height:32px; font-size:11px; }.duel-contender { padding:12px 6px; }.duel-contender .player-portrait,.duel-contender .initials { width:60px; height:60px; flex-basis:60px; }.duel-contender a { font-size:17px; }.duel-score { font-size:48px; }.duel-rounds { grid-template-columns:1fr; padding:12px; }.duel-controls button { padding:12px; }.duel-controls { padding:16px 10px; }.duel-verdict h2 { font-size:21px; }
    .theme-press .career-hero,.career-hero { grid-template-columns:1fr; padding:18px; gap:18px; }.career-hero-record { display:none; }.theme-press .career-hero .career-stat-grid,.career-hero .career-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.career-stat { padding:14px; }.theme-press .career-stat strong { font-size:34px; }
}
