/* Comparison theme: traditional international tennis club. Enabled with ?style=heritage. */
body.heritage-style {
  --ink:#18233a; --muted:#6e685d; --line:#b8aa8c; --paper:#f7f1df; --canvas:#d8d0bc;
  --green:#6c1728; --green-dark:#49101c; --lime:#c8a65b; --clay:#8a2639;
  --soft-green:#ece1ca; --soft-yellow:#efe4c5; --shadow:none; --radius:2px;
  background:#d8d0bc; color:var(--ink); font-family:"Baskerville", Georgia, serif;
}
.heritage-style .app-shell { max-width:1180px; border:1px solid #8e8065; border-radius:0; background:var(--paper); box-shadow:none; }
.heritage-style .topbar { height:76px; border-bottom:1px solid var(--ink); background:var(--paper); backdrop-filter:none; }
.heritage-style .brand-mark { color:var(--green); }
.heritage-style .brand-wordmark { font-family:"Baskerville", Georgia, serif; font-size:24px; font-weight:700; }
.heritage-style .desktop-nav button { font-family:Arial,sans-serif; font-size:11px; letter-spacing:.13em; text-transform:uppercase; }
.heritage-style .desktop-nav button.active { border-bottom-color:var(--green); }
.heritage-style .avatar { border-radius:50%; border:1px solid var(--ink); background:transparent; color:var(--ink); font-family:Arial,sans-serif; }
.heritage-style .page { padding:44px 48px 64px; }
.heritage-style h1,.heritage-style .page-header h1,.heritage-style .event-header h1 { font-family:"Baskerville",Georgia,serif; font-size:clamp(42px,5vw,68px); font-weight:400; letter-spacing:-.035em; }
.heritage-style h2,.heritage-style h3 { font-family:"Baskerville",Georgia,serif; font-weight:600; }
.heritage-style .button,.heritage-style .mini-button { border:1px solid var(--green); border-radius:0; background:var(--green); color:#fffaf0; box-shadow:none; font-family:Arial,sans-serif; font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
.heritage-style .button.secondary,.heritage-style .button.ghost { background:transparent; color:var(--green); }
.heritage-style .location-art,.heritage-style .production-art,.heritage-style .player-portrait,.heritage-style .selected-player-portraits { display:none!important; }
.heritage-style .card,.heritage-style .match-card,.heritage-style .status-panel,.heritage-style .action-panel,.heritage-style .winner-block,.heritage-style .completed-result-hero,.heritage-style .selection-history-group { border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none; }
.heritage-style .tournament-card { grid-template-columns:64px minmax(0,1fr) auto; min-height:118px; padding:20px 0; counter-increment:event; }
.heritage-style .cards { counter-reset:event; }
.heritage-style .tournament-card::before { content:"0" counter(event); align-self:start; color:var(--green); font-size:28px; font-style:italic; }
.heritage-style .card-title-row { display:block; }
.heritage-style .card-title-row h3 { margin-bottom:9px; font-size:24px; font-weight:400; }
.heritage-style .status-chip { display:inline-flex; border:1px solid var(--green); border-radius:999px; background:transparent!important; color:var(--green); font-family:Arial,sans-serif; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.heritage-style .lifecycle-tabs,.heritage-style .tour-filter,.heritage-style .tournament-tabs,.heritage-style .tournament-tour-selector,.heritage-style .ranking-tabs,.heritage-style .half-tabs,.heritage-style .draw-half-filter { gap:24px; padding:0 0 9px; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
.heritage-style .lifecycle-tabs button,.heritage-style .tour-filter button,.heritage-style .tournament-tabs button,.heritage-style .tournament-tour-selector button,.heritage-style .ranking-tabs button,.heritage-style .half-tabs button,.heritage-style .draw-half-filter button { min-width:auto; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--muted); font-family:Arial,sans-serif; font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
.heritage-style .lifecycle-tabs button.active,.heritage-style .tour-filter button.active,.heritage-style .tournament-tabs button.active,.heritage-style .tournament-tour-selector button.active,.heritage-style .ranking-tabs button.active,.heritage-style .half-tabs button.active,.heritage-style .draw-half-filter button.active { background:transparent; color:var(--green); box-shadow:none; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:8px; }
.heritage-style .outstanding-action { border:1px solid var(--green); border-radius:0; background:#efe5cc; box-shadow:none; }
.heritage-style .outstanding-action-icon { border:1px solid var(--green); background:transparent; color:var(--green); }
.heritage-style .outstanding-action .outstanding-action-label { color:var(--green); font-family:Arial,sans-serif; letter-spacing:.1em; }
.heritage-style .event-header,.heritage-style .production-event-header { min-height:0; padding:30px 0 18px; border:0; border-top:4px double var(--green); border-bottom:1px solid var(--ink); border-radius:0; background:transparent; }
.heritage-style .event-header-copy>p { font-family:Arial,sans-serif; font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.heritage-style .event-header .status-chip.is-live { background:var(--green)!important; color:white; }
.heritage-style .player-row { grid-template-columns:42px 1fr auto!important; border-radius:0; }
.heritage-style .player-row.has-portrait .player-info { grid-column:2; }
.heritage-style .player-row.has-portrait .pick-toggle { grid-column:3; }
.heritage-style .match-meta { font-family:Arial,sans-serif; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.heritage-style .pick-toggle { border:1px solid var(--green); border-radius:50%; background:transparent; color:var(--green); }
.heritage-style .draw-sticky-head,.heritage-style .draw-viewport,.heritage-style .bracket-card { border-color:var(--line); border-radius:0; background:var(--paper); box-shadow:none; }
.heritage-style .bracket-headings { background:var(--green); }
.heritage-style .bracket-heading { color:white; font-family:Arial,sans-serif; font-size:10px; letter-spacing:.08em; }
.heritage-style .public-landing { background:#d8d0bc; }
.heritage-style .public-landing .auth-grid { border:1px solid var(--ink); border-radius:0; background:var(--paper); box-shadow:none; }
.heritage-style .public-landing .auth-visual { position:relative; min-height:650px; padding:62px; background:var(--green); }
.heritage-style .public-landing .auth-visual::after { content:"EST. 2026"; position:absolute; right:44px; bottom:44px; padding:16px; border:1px solid #d8b966; border-radius:50%; color:#d8b966; font:italic 22px Georgia,serif; }
.heritage-style .public-copy h1 { font-family:"Baskerville",Georgia,serif; font-size:clamp(62px,6vw,90px); font-weight:400; }
.heritage-style .public-copy .entry-kicker { color:#d8b966; font-family:Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.heritage-style .public-landing .auth-card { border-left:1px solid var(--ink); }
.heritage-style .auth-card h2 { font-family:"Baskerville",Georgia,serif; font-weight:400; }
@media(max-width:779px){.heritage-style .page{padding:28px 20px 44px}.heritage-style .tournament-card{grid-template-columns:44px 1fr}.heritage-style .tournament-card .mini-button{grid-column:2}.heritage-style .public-landing{padding:0}.heritage-style .public-landing .auth-visual{min-height:480px;padding:34px 22px}.heritage-style .public-copy h1{font-size:54px}.heritage-style .public-landing .auth-card{border-top:1px solid var(--ink);border-left:0}.heritage-style .lifecycle-tabs,.heritage-style .tour-filter{gap:0}.heritage-style .lifecycle-tabs button,.heritage-style .tour-filter button{flex:1;padding:0 8px}.heritage-style .bottom-nav{background:var(--paper);border-top:1px solid var(--ink)}}
