body.hhx-enabled { --hhx-duel-css: 1; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-active > [hidden],
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel[hidden] { display: none !important; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel {
  color: #f8f3e8; background: #0e2030; border: 1px solid #38505f;
  border-top: 3px solid #f03760; margin: .75rem 0 0; overflow: hidden;
  container-type: inline-size; text-align: start; isolation: isolate;
}
.hhx-duel-board { position: relative; isolation: isolate; overflow: hidden; padding: clamp(15px,3.8cqi,28px); }
.hhx-duel-board::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  inline-size: 95%; block-size: 155%; right: -47%; top: -33%; border: 1px solid #314554;
  border-radius: 45%; transform: rotate(-18deg); box-shadow: 0 0 0 18px #102330, 0 0 0 19px #304352, 0 0 0 61px #102330, 0 0 0 62px #263c4b; }
.hhx-duel-dateline, .hhx-duel-match, .hhx-duel-footer { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.hhx-duel-dateline { justify-content: space-between; color: #c4d3dc; font-size: .78rem; line-height: 1.4; }
.hhx-duel-dateline span { font-weight: 750; color: #ff8ca6; text-transform: uppercase; letter-spacing: .09em; }
.hhx-duel-match { font-weight: 800; font-size: clamp(15px,3.2cqi,20px); line-height: 1.1; margin-block: 1.05rem .5rem; }
.hhx-duel-match span { color: #b3c3cd; font-size: .85em; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-title { max-width: 22ch; text-wrap: balance; margin: 0; color: #fff9ed;
  font-size: clamp(27px,6.4cqi,46px); line-height: 1.02; letter-spacing: -.02em; overflow-wrap: anywhere; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-chart { margin: 1.25rem 0 0; }
.hhx-duel-chart figcaption { color: #d5dce1; font-size: .84rem; font-weight: 650; margin-bottom: .4rem; }
.hhx-duel-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #4c606e; }
.hhx-duel-team { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: baseline; column-gap: .65rem; padding: .55rem .5rem 0 0; }
.hhx-duel-team + .hhx-duel-team { border-left: 1px solid #4c606e; padding-inline-start: 1rem; }
.hhx-duel-code { font-size: clamp(12px,2.6cqi,16px); font-weight: 700; color: #d4dce1; }
.hhx-duel-number { color: #f5efdf; font-size: clamp(26px,7.8cqi,54px); font-variant-numeric: tabular-nums; letter-spacing: -.05em; line-height: 1.05; }
.hhx-duel-team[data-montreal="true"] .hhx-duel-number { color: #ff819e; }
.hhx-duel-team small { color: #c8d6dd; grid-column: 1/-1; line-height: 1.4; }
.hhx-duel-read { background: #142a38; padding: .85rem clamp(15px,3.8cqi,28px); border-block-start: 1px solid #384d5a; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-read h4 { margin: 0 0 .3rem; font-size: .8rem; color: #ff9bb1; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-read p { margin: 0; max-width: 62ch; color: #f2f0e9; font-size: clamp(.92rem,2.5cqi,1.06rem); line-height: 1.5; }
.hhx-duel-footer { padding: .55rem clamp(15px,3.8cqi,28px); gap: .1rem 1rem; border-top: 1px solid #384d5a; }
.hhx-duel-footer a { display: inline-flex; align-items: center; min-height: 40px; color: #faf3e8; font-size: .85rem; font-weight: 700; }
.hhx-duel-footer small { margin-inline-start: auto; color: #c7d3dc; font-size: .72rem; }
@container (max-width: 300px) {
  .hhx-duel-team { grid-template-columns: 1fr; }
  .hhx-duel-footer small { margin-inline-start: 0; }
}
.hhx-duel-side { display: inline-flex; align-items: center; gap: .3rem; }
.hhx-duel-match .hhx-duel-side { color: #fff8eb; font-size: 1em; }
.hhx-duel-side img { width: 36px; height: 32px; object-fit: contain; }
.hhx-duel-side img[hidden] { display:none; }
.hhx-duel-meter { grid-column: 1/-1; height: 3px; margin-top: .4rem; background: #354956; }
.hhx-duel-meter::after { display: block; content:""; height: 100%; width: var(--duel-fill); background: #d6e0df; }
.hhx-duel-team[data-montreal="true"] .hhx-duel-meter::after { background: #ff819e; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-place { color:#cbd9e1; font-size:.94rem; margin:.55rem 0 0; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-result { margin:.55rem 0 0; color:#fff6e8; font:850 clamp(1.35rem,4cqi,1.7rem)/1.1 var(--hhb-display,Arial,sans-serif); font-variant-numeric:tabular-nums; }

#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-angles {
  display:flex; flex-wrap:wrap; gap:0 12px; align-items:stretch;
  padding-inline:clamp(15px,3.8cqi,28px); background:#102330;
  border-block-end:1px solid #384d5a;
}
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-angles > button,
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-source-toggle {
  box-sizing:border-box; max-width:100%; min-height:44px;
  margin:0; padding:5px 2px; border:0; border-radius:0;
  background:transparent; color:#c7d5df; font:700 .875rem/1.25 var(--hhb-sans,Arial,sans-serif);
  text-align:start; text-transform:none; white-space:normal; cursor:pointer;
}
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-angles > button[aria-pressed="true"] { color:#fff5e8; box-shadow:inset 0 -3px #f55779; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) :is(.hhx-duel-angles > button,.hhx-duel-source-toggle):is(:hover,:active) { color:#ffacbc; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) :is(.hhx-duel-angles > button,.hhx-duel-source-toggle):focus-visible { outline:2px solid #ff9bb1; outline-offset:-2px; }
#hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-source-toggle { color:#f5eee4; text-decoration:underline; text-underline-offset:.2em; }
@media (forced-colors:active) {
  #hhx-home-pulse :is(#hhdesk-pulse,#hhx-game-watch-fallback) .hhx-duel-angles > button[aria-pressed="true"] { border-block-end:3px solid Highlight; }
}
