/* Handball Dynasty 20.2 - Matchcenter, Kalender, News, Wettbewerbe, Badges */
:root{--hd-league:#2f72d6;--hd-cup:#18a66a;--hd-champions:#7157d9;--hd-europa:#e38a21;--hd-friendly:#7c8796;--hd-danger:#dc4055;--hd-warning:#e4a626;--hd-info:#2e86c9}
.hd-v202 .hd-badge{display:inline-flex;align-items:center;gap:.38rem;min-height:27px;padding:.28rem .62rem;border:1px solid transparent;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:.01em}
.hd-v202 .hd-badge-icon{width:15px;height:15px;display:inline-flex}.hd-v202 .hd-badge-icon svg{width:100%;height:100%}
.hd-v202 .hd-tone-league{color:#1b5fb8;background:rgba(47,114,214,.11);border-color:rgba(47,114,214,.22)}
.hd-v202 .hd-tone-cup{color:#087f4c;background:rgba(24,166,106,.11);border-color:rgba(24,166,106,.22)}
.hd-v202 .hd-tone-champions{color:#5c43bd;background:rgba(113,87,217,.12);border-color:rgba(113,87,217,.24)}
.hd-v202 .hd-tone-europa{color:#b86608;background:rgba(227,138,33,.12);border-color:rgba(227,138,33,.25)}
.hd-v202 .hd-tone-friendly,.hd-v202 .hd-tone-neutral{color:#5f6976;background:#f1f4f6;border-color:#dfe5ea}
.hd-v202 .hd-tone-success{color:#087f4c;background:rgba(24,166,106,.11);border-color:rgba(24,166,106,.22)}
.hd-v202 .hd-tone-danger{color:#b92339;background:rgba(220,64,85,.1);border-color:rgba(220,64,85,.22)}
.hd-v202 .hd-tone-warning{color:#94660a;background:rgba(228,166,38,.12);border-color:rgba(228,166,38,.25)}
.hd-v202 .hd-tone-info{color:#17689e;background:rgba(46,134,201,.1);border-color:rgba(46,134,201,.22)}
.hd-v202 .hd-badge-rack{display:flex;flex-wrap:wrap;gap:.42rem;align-items:center}
.hd-v202 .hd-competition-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eef2f5;color:#233346;box-shadow:inset 0 0 0 1px rgba(19,37,50,.08)}
.hd-v202 .hd-competition-mark svg{width:18px;height:18px}.hd-v202 .hd-competition-mark[data-tone=league]{background:rgba(47,114,214,.12);color:var(--hd-league)}.hd-v202 .hd-competition-mark[data-tone=cup]{background:rgba(24,166,106,.12);color:var(--hd-cup)}.hd-v202 .hd-competition-mark[data-tone=champions]{background:rgba(113,87,217,.12);color:var(--hd-champions)}.hd-v202 .hd-competition-mark[data-tone=europa]{background:rgba(227,138,33,.12);color:var(--hd-europa)}
/* Matchcenter */
.hd-v202.matchday .matchday33-hero,.hd-v202.match .v10-pagehero,.hd-v202.live .v10-pagehero{position:relative;overflow:hidden}
.hd-v202 .hd-match-command{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;margin:0 0 1rem;padding:1rem 1.1rem;border-radius:18px;background:linear-gradient(135deg,#10261f,#183b30);color:#fff;box-shadow:0 16px 38px rgba(13,34,28,.18)}
.hd-v202 .hd-match-command h2{margin:.15rem 0;font-size:1.18rem}.hd-v202 .hd-match-command p{margin:0;color:rgba(255,255,255,.7);font-size:.84rem}.hd-v202 .hd-match-command small{color:var(--club-accent);font-weight:900;letter-spacing:.12em}.hd-v202 .hd-match-command-side{display:flex;align-items:center;gap:.55rem}
.hd-v202 .hd-match-event-legend{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0 1.15rem}.hd-v202 .hd-event-key{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .62rem;border-radius:10px;background:#fff;border:1px solid rgba(27,45,55,.09);font-size:.74rem;font-weight:800}.hd-v202 .hd-event-key i{font-style:normal;font-size:1rem}
.hd-v202 .matchday33-preview,.hd-v202 .live-shell,.hd-v202 .match-report{border-top:4px solid var(--club-accent)}
.hd-v202 .matchday33-arena>span{display:grid!important;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(215,245,28,.16);font-size:0!important}.hd-v202 .matchday33-arena>span:after{content:'⌂';font-size:1.25rem;color:#234137}
.hd-v202 [class*=timeline] article,.hd-v202 [class*=event-row]{transition:transform .18s ease,box-shadow .18s ease}.hd-v202 [class*=timeline] article:hover,.hd-v202 [class*=event-row]:hover{transform:translateX(3px)}
/* Calendar */
.hd-v202.calendar main:before{content:'Wettbewerbe auf einen Blick';display:block;font-size:.74rem;font-weight:900;letter-spacing:.11em;color:#6b7783;margin-bottom:.45rem}
.hd-v202 .hd-calendar-legend{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1rem;padding:.75rem;border:1px solid rgba(19,37,50,.08);border-radius:15px;background:rgba(255,255,255,.78)}
.hd-v202 .hd-calendar-legend .hd-badge{background:#fff}
.hd-v202.calendar tr.hd-event-league{box-shadow:inset 4px 0 var(--hd-league)}.hd-v202.calendar tr.hd-event-cup{box-shadow:inset 4px 0 var(--hd-cup)}.hd-v202.calendar tr.hd-event-champions{box-shadow:inset 4px 0 var(--hd-champions)}.hd-v202.calendar tr.hd-event-europa{box-shadow:inset 4px 0 var(--hd-europa)}.hd-v202.calendar tr.hd-event-friendly{box-shadow:inset 4px 0 var(--hd-friendly)}
.hd-v202.calendar table tbody tr{transition:background .15s ease,transform .15s ease}.hd-v202.calendar table tbody tr:hover{background:#f7faf8;transform:translateX(2px)}
/* Newsroom */
.hd-v202.world .v124-news-row,.hd-v202.world .v124-decision-card{position:relative;overflow:hidden;border:1px solid rgba(26,47,56,.08);box-shadow:0 8px 24px rgba(22,41,47,.06)}
.hd-v202.world .v124-news-row:before,.hd-v202.world .v124-decision-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--hd-info)}
.hd-v202.world .v124-news-row[data-news-tone=transfer]:before{background:var(--hd-europa)}.hd-v202.world .v124-news-row[data-news-tone=finance]:before{background:var(--hd-warning)}.hd-v202.world .v124-news-row[data-news-tone=injury]:before{background:var(--hd-danger)}.hd-v202.world .v124-news-row[data-news-tone=title]:before{background:var(--hd-champions)}.hd-v202.world .v124-news-row[data-news-tone=player]:before{background:var(--hd-league)}
.hd-v202.world .v124-news-icon{display:grid!important;place-items:center;width:42px;height:42px;min-width:42px;border-radius:13px;background:#eff4f3;font-size:1.08rem}.hd-v202.world .hd-news-category{margin-top:.55rem}
/* Competition center */
.hd-v202.competitions .hd-competition-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:1rem;border-radius:17px;background:linear-gradient(135deg,#f8faf9,#eef4f1);border:1px solid rgba(20,43,37,.08)}
.hd-v202.competitions .hd-competition-header>div{display:flex;align-items:center;gap:.8rem}.hd-v202.competitions .hd-competition-header h2{margin:0;font-size:1.1rem}.hd-v202.competitions .hd-competition-header p{margin:.2rem 0 0;color:#6c7880;font-size:.82rem}
.hd-v202.competitions table tbody tr td:first-child,.hd-v202.league table tbody tr td:first-child{position:relative}
/* Player badges */
.hd-v202 .hd-player-badges{display:flex;flex-wrap:wrap;gap:.28rem;margin-top:.32rem}.hd-v202 .hd-player-badges .hd-badge{min-height:22px;padding:.2rem .45rem;font-size:.64rem}
@media(max-width:780px){.hd-v202 .hd-match-command{grid-template-columns:1fr}.hd-v202 .hd-match-command-side{justify-content:flex-start}.hd-v202 .hd-calendar-legend{overflow:auto;flex-wrap:nowrap}.hd-v202 .hd-badge{font-size:.68rem}}
