/* The portal layer over the platform stylesheets: one header on every page, the masthead and podium,
   team and player heroes in the team's own colour (--tc, taken from its logo), roster cards, form.
   Tone, light and spacing only: no outlines. */
:root { --dl-max: 1320px; --dl-win: 152 62% 48%; --dl-loss: 356 70% 58%; }
.dl-shell .shell-page-scroll { scroll-padding-top: 76px; }
.dl-shell main#shell-content { padding-top: 0; }
.dl-shell .shell-toolbar { display: none; }

/* ---------- header */
.dl-header { position: sticky; top: 0; z-index: 40; background: hsl(var(--background) / .82); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 hsl(var(--foreground) / .06); }
.dl-header-in { max-width: var(--dl-max); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 1.5rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.dl-brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; flex: none; }
.dl-brand img { width: 104px; height: auto; display: block; }
.dl-brand b { position: relative; padding-left: .8rem; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--primary)); line-height: 1; }
.dl-brand b::before { content: ""; position: absolute; left: 0; top: -3px; bottom: -3px; width: 1px; background: hsl(var(--foreground) / .18); }
.dl-menu { display: flex; align-items: center; gap: .15rem; min-width: 0; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.dl-menu::-webkit-scrollbar { display: none; }
.dl-menu a { position: relative; padding: .55rem .8rem; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap;
  color: hsl(var(--muted-foreground)); text-decoration: none; transition: color .15s, background .15s; }
.dl-menu a:hover { color: hsl(var(--foreground)); background: hsl(var(--muted) / .55); }
.dl-menu a[aria-current="page"] { color: hsl(var(--foreground)); }
.dl-menu a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -12px; height: 2px; border-radius: 2px; background: hsl(var(--primary)); }
.dl-tools { display: flex; align-items: center; gap: .6rem; flex: none; }
.dl-find { position: relative; display: flex; align-items: center; gap: .5rem; width: 250px; height: 38px; padding: 0 .75rem; border-radius: 10px;
  background: hsl(var(--muted) / .7); color: hsl(var(--muted-foreground)); transition: background .15s, box-shadow .15s; }
.dl-find:focus-within { background: hsl(var(--muted)); box-shadow: 0 0 0 2px hsl(var(--primary) / .55); }
.dl-find svg { width: 16px; height: 16px; flex: none; }
.dl-find input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; outline: none !important; appearance: none; -webkit-appearance: none; border-radius: 0; color: hsl(var(--foreground)); font: inherit; font-size: 14px; }
.dl-find input::-webkit-search-cancel-button { display: none; }
.dl-find-list { position: absolute; top: calc(100% + 8px); right: 0; width: min(380px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; padding: .4rem;
  border-radius: 14px; background: hsl(var(--popover, var(--card))); box-shadow: 0 24px 60px -12px hsl(0 0% 0% / .65), 0 0 0 1px hsl(var(--foreground) / .06); }
.dl-find-list a { display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; border-radius: 9px; color: hsl(var(--foreground)); text-decoration: none; font-size: 14px; }
.dl-find-list a:hover, .dl-find-list a.is-active { background: hsl(var(--muted)); }
.dl-find-list a > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-find-list small { color: hsl(var(--muted-foreground)); font-size: 12px; white-space: nowrap; }
.dl-find-list .dl-logo, .dl-find-list .dl-hero { width: 28px !important; height: 28px !important; }
.dl-find-empty { padding: .8rem; font-size: 14px; color: hsl(var(--muted-foreground)); }
.dl-langs { display: flex; padding: 3px; border-radius: 10px; background: hsl(var(--muted) / .7); }
.dl-langs button { height: 32px; min-width: 2.6rem; border: 0; border-radius: 7px; background: none; color: hsl(var(--muted-foreground)); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.dl-langs button[aria-pressed="true"] { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.dl-crumb { display: inline-flex; align-items: center; gap: .4rem; margin: 1.25rem 2rem 0; font-size: 13px; color: hsl(var(--muted-foreground)); text-decoration: none; }
.dl-crumb:hover { color: hsl(var(--foreground)); }
.dl-crumb svg { width: 15px; height: 15px; }
.dl-shell .upstream-admin-preview { max-width: var(--dl-max); margin-inline: auto; }
.dl-topbar { display: none; }
.dl-crumb + main { padding-top: .75rem !important; }
.dl-crumb + main > .dl-hero-card, .dl-crumb + main > .dl-match-hero { margin-top: 0; }
/* the platform cards draw a hairline frame: tone instead */
.dl-shell .rating-card-verdict, .dl-shell .rating-card-published > section, .dl-shell .rating-card-overview > section > div, .dl-shell .rating-card-table,
.dl-shell .crs-table-wrap, .dl-shell .rating-table-wrap, .dl-shell .rating-card-changes, .dl-shell .rating-card-data, .dl-shell .crs-filter-panel input,
.dl-shell .market-search, .dl-shell .market-select, .dl-shell .rating-card-stats > div, .dl-shell .dl-kpis > div { border-color: transparent !important; }
.dl-shell .rating-card-verdict, .dl-shell .rating-card-published > section, .dl-shell .rating-card-table, .dl-shell .crs-table-wrap { background: hsl(var(--muted) / .32); }
.dl-shell .market-search, .dl-shell .market-select { background: hsl(var(--muted) / .6) !important; }
.dl-shell main h2 { font-weight: 800; letter-spacing: -.01em; }
.dl-shell .rating-card-groups h2, .dl-shell .dl-wide > h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.dl-shell .dl-mast-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem) !important; line-height: 1.02 !important; }

/* ---------- shared pieces */
.dl-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--tc, var(--primary))); }
.dl-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px hsl(0 0% 100% / .08); }
.dl-form { display: inline-flex; align-items: center; gap: 3px; }
.dl-form i { display: block; width: 6px; height: 18px; border-radius: 2px; background: hsl(var(--dl-loss) / .85); }
.dl-form i.is-w { background: hsl(var(--dl-win)); }
.dl-form-lg i { width: 10px; height: 26px; border-radius: 3px; }
.dl-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.dl-badge { display: inline-flex; align-items: center; gap: .35rem; height: 30px; padding: 0 .7rem; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: hsl(var(--foreground) / .07); color: hsl(var(--foreground) / .9); white-space: nowrap; }
.dl-badge.is-accent { background: hsl(var(--tc, var(--primary)) / .22); color: hsl(var(--tc, var(--primary)) / 1); }
.dl-badge svg { width: 14px; height: 14px; }

/* ---------- masthead and podium */
.dl-masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem; align-items: stretch; margin: 1.75rem 0 2.25rem; }
.dl-mast-text { display: flex; flex-direction: column; justify-content: center; gap: .9rem; min-width: 0; }
.dl-mast-text h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.dl-mast-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: .4rem 0 .3rem; }
.dl-mast-stats div { display: grid; gap: .2rem; }
.dl-mast-stats dt { font-size: 12px; color: hsl(var(--muted-foreground)); }
.dl-mast-stats dd { margin: 0; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dl-mast-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dl-btn { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1.1rem; border-radius: 10px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background .15s, transform .15s; }
.dl-btn svg { width: 16px; height: 16px; }
.dl-btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.dl-btn-primary:hover { background: hsl(var(--primary) / .88); }
.dl-btn-ghost { background: hsl(var(--muted) / .75); color: hsl(var(--foreground)); }
.dl-btn-ghost:hover { background: hsl(var(--muted)); }
.dl-podium { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: .85rem; min-width: 0; }
.dl-pod { position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 1rem; padding: 1.2rem 1.25rem; border-radius: 20px; color: inherit;
  text-decoration: none; isolation: isolate; min-width: 0;
  background: radial-gradient(130% 120% at 100% 0%, hsl(var(--tc, var(--primary)) / .34), transparent 62%), linear-gradient(160deg, hsl(var(--muted) / .9), hsl(var(--muted) / .35));
  transition: transform .2s ease, box-shadow .2s ease; }
.dl-pod:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -24px hsl(var(--tc, var(--primary)) / .6); }
.dl-pod-1 { grid-row: 1 / span 2; padding: 1.6rem 1.6rem 1.5rem; }
.dl-pod-mark { position: absolute; right: -8%; bottom: -12%; width: 62%; aspect-ratio: 1; z-index: -1; opacity: .13; filter: saturate(1.2); pointer-events: none; }
.dl-pod-mark img { width: 100%; height: 100%; object-fit: contain; }
.dl-pod-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.dl-pod-place { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: hsl(var(--tc, var(--primary))); display: inline-flex; align-items: center; gap: .35rem; }
.dl-pod-place svg { width: 16px; height: 16px; }
.dl-pod-id { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.dl-pod-id .dl-logo { width: 56px !important; height: 56px !important; }
.dl-pod-1 .dl-pod-id { flex-direction: column; align-items: flex-start; gap: 1rem; }
.dl-pod-1 .dl-pod-id .dl-logo { width: 104px !important; height: 104px !important; }
.dl-pod-name { display: grid; gap: .2rem; min-width: 0; }
.dl-pod-name strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-pod-1 .dl-pod-name strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.dl-pod-name span { font-size: 13px; color: hsl(var(--muted-foreground)); }
.dl-pod-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dl-pod-pts { display: flex; align-items: baseline; gap: .4rem; }
.dl-pod-pts strong { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dl-pod-1 .dl-pod-pts strong { font-size: clamp(2.8rem, 5vw, 4rem); }
.dl-pod-pts span { font-size: 13px; color: hsl(var(--muted-foreground)); }

/* ---------- home blocks */
.dl-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; margin-bottom: 2.5rem; }
.dl-section-title, .dl-home-head h2, .crs-directory-head h2 { font-size: 1.2rem !important; font-weight: 800 !important; letter-spacing: -.01em; }
.dl-sc { padding: .8rem 1rem; border-radius: 14px; background: hsl(var(--muted) / .45); }
.dl-sc-logo { width: 26px !important; height: 26px !important; }
.dl-sc-team { gap: .55rem; font-size: 15px; }
.dl-sc-score { font-size: 17px; font-weight: 800; }
.dl-sc-meta > .dl-sc-tag { flex: none; overflow: visible; }
.dl-sc-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--primary)); }
.dl-sc-tag.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--dl-loss)); box-shadow: 0 0 0 4px hsl(var(--dl-loss) / .25); }
.dl-home .rating-card-changes { border-radius: 16px; background: hsl(var(--muted) / .3); }

/* ---------- ranking table */
.crs-table td .dl-logo.crs-row-initials { width: 36px !important; height: 36px !important; }
.dl-pts-cell { display: grid; justify-items: end; gap: 5px; }
.dl-pts-bar { display: block; width: 96px; height: 4px; border-radius: 4px; background: hsl(var(--muted)); overflow: hidden; }
.dl-pts-bar span { display: block; height: 100%; border-radius: 4px; background: hsl(var(--primary)); }
.crs-form-col { white-space: nowrap; }
@media (max-width: 900px) { .crs-form-col { display: none; } }

/* ---------- team and player heroes */
.dl-hero-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  padding: 2rem 2.2rem; border-radius: 24px; margin: .5rem 0 1.25rem;
  background: radial-gradient(90% 140% at 0% 0%, hsl(var(--tc, var(--primary)) / .32), transparent 60%), radial-gradient(70% 120% at 100% 100%, hsl(var(--tc, var(--primary)) / .14), transparent 60%),
    linear-gradient(180deg, hsl(var(--muted) / .85), hsl(var(--muted) / .35)); }
.dl-hero-mark { position: absolute; right: 18%; top: 50%; width: 440px; aspect-ratio: 1; transform: translateY(-50%); z-index: -1; opacity: .07; pointer-events: none; filter: blur(1px); }
.dl-hero-mark img { width: 100%; height: 100%; object-fit: contain; }
.dl-hero-id { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }
.dl-hero-id .dl-logo, .dl-hero-id .dl-avatar { width: 128px !important; height: 128px !important; flex: none; }
.dl-avatar { border-radius: 28px; overflow: hidden; background: hsl(var(--muted)); }
.dl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dl-hero-text { display: grid; gap: .7rem; min-width: 0; }
.dl-hero-text h1 { margin: 0; display: flex; align-items: center; gap: .7rem; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dl-hero-text h1 .dl-flag { width: 34px; height: 25px; border-radius: 5px; }
.dl-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: hsl(var(--muted-foreground)); font-size: 14px; }
.dl-hero-sub a { color: hsl(var(--foreground)); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.dl-hero-sub a:hover { color: hsl(var(--tc, var(--primary))); }
.dl-hero-sub .dl-logo { width: 22px !important; height: 22px !important; }
.dl-hero-score { display: grid; justify-items: end; gap: .35rem; text-align: right; min-width: 220px; }
.dl-hero-score > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.dl-hero-score strong { font-size: clamp(3rem, 6vw, 4.75rem); line-height: .95; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: hsl(var(--tc, var(--primary))); }
.dl-hero-score .rating-card-spark { width: 220px; height: 44px; color: hsl(var(--tc, var(--primary))); }
.dl-hero-score small { font-size: 13px; color: hsl(var(--muted-foreground)); }
.dl-share { display: inline-flex; align-items: center; gap: .35rem; padding: 0; border: 0; background: none; color: hsl(var(--muted-foreground)); font: inherit; font-size: 13px; cursor: pointer; }
.dl-share:hover { color: hsl(var(--foreground)); }
.dl-share svg { width: 14px; height: 14px; }
.dl-share-url {
  width: 32ch;
  max-width: 100%;
  padding: .25rem .45rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
}
.dl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.5rem; }
.dl-kpis div { padding: 1rem 1.1rem; border-radius: 16px; background: hsl(var(--muted) / .4); display: grid; gap: .35rem; }
.dl-kpis dt { font-size: 12px; color: hsl(var(--muted-foreground)); }
.dl-kpis dd { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-kpis dd small { font-size: 13px; font-weight: 600; color: hsl(var(--muted-foreground)); margin-left: .35rem; letter-spacing: 0; }

/* ---------- roster cards */
.dl-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .75rem; }
.dl-pcard { position: relative; display: grid; gap: .8rem; padding: 1rem 1.05rem 1.05rem; border-radius: 16px; color: inherit; text-decoration: none; overflow: hidden;
  background: linear-gradient(170deg, hsl(var(--tc, var(--primary)) / .12), transparent 55%), hsl(var(--muted) / .45); transition: background .15s, transform .15s; }
a.dl-pcard:hover { transform: translateY(-2px); background: linear-gradient(170deg, hsl(var(--tc, var(--primary)) / .2), transparent 55%), hsl(var(--muted) / .7); }
.dl-pcard-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 12px; color: hsl(var(--muted-foreground)); }
.dl-pcard-top b { color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.dl-pcard-face { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.dl-pcard-face img.dl-hero { width: 48px; height: 48px; border-radius: 12px; }
.dl-pcard-face strong { font-size: 1.05rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.dl-pcard-heroes { display: flex; gap: 4px; }
.dl-pcard-heroes .dl-hero { width: 26px; height: 26px; border-radius: 7px; }
.dl-pcard-rating { font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-pcard.is-out { opacity: .6; }
.dl-gantt-track { height: 12px; border-radius: 6px; }
.dl-gantt-bar { border-radius: 6px; }
.is-now .dl-gantt-bar { background: linear-gradient(90deg, hsl(var(--tc, var(--primary)) / .75), hsl(var(--tc, var(--primary)))); }
.dl-gantt-axis { position: relative; height: 1.2rem; font-size: 11px; color: hsl(var(--muted-foreground)); }
.dl-gantt-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.dl-gantt-wrap { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr; gap: .75rem; }

/* ---------- match header in team colours */
.dl-match-team { position: relative; isolation: isolate; }
.dl-match-team::before { content: ""; position: absolute; top: -10%; left: 50%; width: 220px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, hsl(var(--tc, var(--primary)) / .32), transparent); }
.dl-match-hero { padding: 2rem 1.25rem 2.25rem; border-radius: 24px; }
.dl-match-team .dl-logo-xl { width: 112px !important; height: 112px !important; }

@media (max-width: 1100px) { .dl-find { width: 190px; } }
@media (max-width: 768px) { .dl-crumb { margin-inline: 1rem; } }
@media (max-width: 980px) {
  .dl-masthead { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .dl-home { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .dl-header-in { flex-wrap: wrap; height: auto; padding-block: .6rem; gap: .5rem .75rem; }
  .dl-menu { order: 3; flex: 1 0 100%; margin-inline: -.4rem; }
  .dl-menu a[aria-current="page"]::after { bottom: 2px; }
  .dl-tools { margin-left: auto; }
  .dl-find { width: 170px; }
  .dl-hero-card { grid-template-columns: minmax(0, 1fr); padding: 1.4rem 1.25rem; gap: 1.25rem; }
  .dl-hero-score { justify-items: start; text-align: left; min-width: 0; }
  .dl-hero-id { gap: 1rem; }
  .dl-hero-id .dl-logo, .dl-hero-id .dl-avatar { width: 84px !important; height: 84px !important; }
  .dl-hero-mark { right: -20%; width: 300px; }
}
@media (max-width: 700px) {
  .dl-shell .rating-card-tabs[role="tablist"] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .dl-shell .rating-card-tabs[role="tablist"] > button { flex: none; padding-inline: .75rem; }
  .dl-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .dl-pcard { padding: .85rem; gap: .6rem; }
  .dl-pcard-face img.dl-hero { width: 40px; height: 40px; }
  .dl-pcard-face strong { font-size: .95rem; }
}
@media (max-width: 560px) {
  .dl-brand img { width: 84px; }
  .dl-find { width: 132px; }
  .dl-podium { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .dl-pod-1 { grid-row: auto; }
  .dl-pod-1 .dl-pod-id .dl-logo { width: 72px !important; height: 72px !important; }
  .dl-hero-id { flex-direction: column; align-items: flex-start; }
  .dl-pts-bar { width: 56px; }
}
@media (prefers-reduced-motion: reduce) { .dl-pod, .dl-pcard { transition: none; } .dl-pod:hover, a.dl-pcard:hover { transform: none; } }
/* Review polish: readable labels and a predictable mobile header. */
.dl-ranking-help { color:hsl(var(--muted-foreground)); font-size:.875rem; line-height:1.55; margin:0 0 .9rem; }
.dl-retry { color:hsl(var(--primary)); background:none; border:0; padding:.4rem; font:inherit; font-weight:700; cursor:pointer; }
.dl-menu { scrollbar-width:none; overflow-y:hidden; }
.dl-menu a[aria-current="page"]::after { bottom: 2px; }
.dl-form i { position:relative; }
.dl-form i:not(.is-w)::after { content:'−'; position:absolute; color:#fff; line-height:18px; font-size:8px; left:1px; }
@media (max-width:560px) {
 .dl-header-in { gap:.45rem .75rem; }
 .dl-tools { display:contents; }
 .dl-brand { order:0; }
 .dl-langs { order:1; margin-left:auto; }
 .dl-find { order:2; width:100%; flex:1 0 100%; height:40px; }
 .dl-menu { order:3; flex:1 0 100%; margin-inline:0; }
 .dl-menu a { padding:.65rem .75rem; }
 .dl-menu a[aria-current="page"]::after { bottom:0; }
 .dl-masthead { margin:1.25rem 0 1.75rem; }
 .dl-podium { gap:.5rem; }
 .dl-pod, .dl-pod-1 { padding:1rem; gap:.65rem; }
 .dl-pod-1 .dl-pod-id { flex-direction:row; align-items:center; gap:.8rem; }
 .dl-pod-1 .dl-pod-id .dl-logo { width:56px !important; height:56px !important; }
 .dl-pod-1 .dl-pod-name strong { font-size:1.2rem; }
 .dl-pod-1 .dl-pod-pts strong { font-size:2rem; }
 .dl-match-hero { padding:1.4rem .75rem; }
 .dl-match-team .dl-logo-xl { width:72px !important; height:72px !important; }
}
.dl-time-note { color:hsl(var(--muted-foreground)); font-size:.85rem; margin:.5rem 0 0; line-height:1.5; }
@media (max-width:560px) {
 .dl-podium { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(75%, 1fr); grid-template-columns:none; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:.5rem; scrollbar-width:thin; }
 .dl-pod { scroll-snap-align:start; }
 .dl-table:before { content: none; display: none; }
 html[lang="en"] .dl-table:before { content:'← Scroll table →'; }
}
.dl-stale { max-width:var(--dl-max); margin:.5rem auto 0; padding:.65rem 1rem; border-radius:.6rem; color:#f5d98b; background:rgba(134,98,24,.19); font-size:.85rem; }
.dl-decay-date { display: block; margin-top: .3rem; color: var(--muted-foreground, #a0a7b4); font-size: .72rem; line-height: 1.4; white-space: nowrap; }
.dl-article article{max-width:780px;margin:24px auto 56px}.dl-article h1{font-size:clamp(2rem,5vw,3.7rem);line-height:1.08;letter-spacing:-.04em;overflow-wrap:anywhere}.dl-article-lead{color:hsl(var(--muted-foreground));font-size:1.2rem;line-height:1.6;margin-top:22px}.dl-article-body{font-size:1.05rem;line-height:1.85;overflow-wrap:anywhere;margin-top:34px}.dl-article-body p{margin:0 0 1.4em}
.dl-news-cover{width:50px;height:50px;flex:none;object-fit:cover;border-radius:8px}.dl-article-cover{display:block;width:100%;max-height:480px;object-fit:cover;border-radius:12px;margin-top:30px}

/* Tournament details: keep the important facts visible together on phones. */
@media (max-width: 560px) {
 .dl-event-page .rating-card-hero { padding: 1rem; gap: 1rem; }
 .dl-event-page .rating-card-identity { gap: .75rem; align-items: flex-start; }
 .dl-event-page .rating-card-name h1 { font-size: 1.35rem; line-height: 1.15; overflow-wrap: anywhere; }
 .dl-event-page .rating-card-rating { padding-top: .85rem; }
 .dl-event-page .rating-card-number strong { font-size: 1.7rem; overflow-wrap: anywhere; }
 .dl-event-page .rating-card-stats { gap: .75rem; margin: 1.2rem 0; }
 .dl-event-page .rating-card-stats > div { min-height: 0; padding: .35rem .25rem; }
 .dl-event-page .rating-card-stats dd { font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
}

/* Portal system: the ranking reads like a scoreboard, with the data in front. */
:root { --dl-surface: #12191d; --dl-surface-raised: #192328; --dl-line: rgba(210, 235, 240, .1); --dl-text-soft: #aebec2; }
.dl-header { background: rgba(7, 12, 14, .94); border-bottom: 1px solid var(--dl-line); }
.dl-brand b { letter-spacing: .1em; }
.dl-menu a { border-radius: 6px; }
.dl-menu a[aria-current="page"]::after { height: 2px; }
.dl-find, .dl-langs { background: #192125; }
.dl-find { box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.dl-shell a:focus-visible, .dl-shell button:focus-visible, .dl-shell input:focus-visible, .dl-shell select:focus-visible {
  outline: 2px solid #59dce8; outline-offset: 3px;
}
.dl-masthead { grid-template-columns: minmax(250px, .68fr) minmax(0, 1.6fr); align-items: center; gap: 2rem; margin: 1.5rem 0 2rem; }
.dl-mast-text { gap: .75rem; }
.dl-shell .dl-mast-text h1 { font-size: clamp(2rem, 3.3vw, 2.9rem) !important; line-height: 1.07 !important; letter-spacing: -.035em; }
.dl-mast-text .dl-eyebrow { color: #82c5c9; font-size: .7rem; letter-spacing: .08em; }
.dl-mast-stats { gap: .8rem 1.35rem; margin: .3rem 0; }
.dl-mast-stats dt { color: var(--dl-text-soft); line-height: 1.3; }
.dl-mast-stats dd { font-size: 1.3rem; }
.dl-mast-actions .dl-btn { border-radius: 7px; height: 38px; }
.dl-podium { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr; gap: .5rem; }
.dl-pod, .dl-pod-1 { grid-row: auto; min-height: 210px; padding: 1rem; gap: .8rem; border-radius: 12px; border: 1px solid var(--dl-line);
  background: linear-gradient(155deg, hsl(var(--tc, var(--primary)) / .15), transparent 60%), var(--dl-surface); }
.dl-pod-1 { background: linear-gradient(155deg, hsl(var(--tc, var(--primary)) / .25), transparent 70%), var(--dl-surface-raised); }
.dl-pod:hover { transform: translateY(-2px); border-color: hsl(var(--tc, var(--primary)) / .5); }
.dl-pod-mark { width: 70%; right: -15%; bottom: -14%; opacity: .075; }
.dl-pod-id, .dl-pod-1 .dl-pod-id { flex-direction: row; align-items: center; gap: .65rem; }
.dl-pod-id .dl-logo, .dl-pod-1 .dl-pod-id .dl-logo { width: 42px !important; height: 42px !important; }
.dl-pod-name strong, .dl-pod-1 .dl-pod-name strong { font-size: 1rem; }
.dl-pod-name span { font-size: .75rem; }
.dl-pod-pts strong, .dl-pod-1 .dl-pod-pts strong { font-size: 1.8rem; }
.dl-pod-place { color: #a6dfe1; letter-spacing: .03em; }
.dl-home { gap: 1.25rem; }
.dl-home-head { border-bottom: 1px solid var(--dl-line); padding-bottom: .7rem; margin-bottom: .65rem; }
.dl-section-title, .dl-home-head h2, .crs-directory-head h2 { font-size: 1.1rem !important; }
.dl-sc { border-radius: 9px; border: 1px solid var(--dl-line); background: var(--dl-surface); transition: background .15s; }
.dl-sc:hover { background: var(--dl-surface-raised); }
.dl-sc-meta { color: var(--dl-text-soft); }
.dl-sc-score { font-variant-numeric: tabular-nums; }
.dl-shell .dl-sc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.dl-home .rating-card-changes { border-radius: 10px; background: var(--dl-surface); border: 1px solid var(--dl-line) !important; }
.dl-shell .crs-table-wrap, .dl-shell .rating-card-table { border: 1px solid var(--dl-line) !important; border-radius: 10px; }
.dl-shell .crs-table tbody tr:hover, .dl-shell .dl-table tbody tr:hover { background: rgba(118, 197, 204, .07); }
@media (max-width: 980px) {
 .dl-masthead { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 560px) {
 .dl-masthead { margin: 1rem 0 1.5rem; }
 .dl-shell .dl-mast-text h1 { font-size: 1.85rem !important; }
 .dl-mast-text { gap: .55rem; }
 .dl-mast-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
 .dl-mast-stats dt { min-height: 2.5em; font-size: .68rem; }
 .dl-mast-stats dd { font-size: 1.15rem; }
 .dl-podium { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; overflow: visible; gap: .4rem; padding: 0; }
 .dl-pod, .dl-pod-1 { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; min-height: 68px; padding: .65rem .75rem; gap: .5rem; border-radius: 9px; }
 .dl-pod-top { display: block; }
 .dl-pod-mark { display: none; }
 .dl-pod-top .dl-form, .dl-pod-pts span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
 .dl-pod-place { font-size: .8rem; }
 .dl-pod-place svg { display: none; }
 .dl-pod-id .dl-logo, .dl-pod-1 .dl-pod-id .dl-logo { width: 34px !important; height: 34px !important; }
 .dl-pod-name strong, .dl-pod-1 .dl-pod-name strong { font-size: .9rem; }
 .dl-pod-name span { font-size: .7rem; }
 .dl-pod-foot { display: grid; justify-items: end; gap: .15rem; }
 .dl-pod-pts strong, .dl-pod-1 .dl-pod-pts strong { font-size: 1.15rem; }
 .dl-pod-foot .crs-score-change { font-size: .7rem; }
 .dl-home { gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .dl-pod, .dl-sc { transition: none; } .dl-pod:hover { transform: none; } }
@media (max-width: 360px) {
 .dl-brand img { width: 70px; }
 .dl-brand b { font-size: .68rem; letter-spacing: .06em; }
 .dl-langs button { min-width: 2rem; }
 .dl-mast-actions .dl-btn { padding-inline: .7rem; font-size: .8rem; }
}

/* A compact league table keeps the leaders comparable at a glance. */
.dl-masthead { grid-template-columns: minmax(245px, .8fr) minmax(0, 1.6fr); gap: 2rem; }
.dl-podium { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--dl-line); }
.dl-pod, .dl-pod-1 { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; min-height: 72px; gap: .9rem; padding: .7rem .85rem; border: 0; border-radius: 0; background: transparent; }
.dl-pod + .dl-pod { border-top: 1px solid var(--dl-line); }
.dl-pod:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .035); }
.dl-pod-mark { display: none; }
.dl-pod-top { display: block; }
.dl-pod-top .dl-form { display: none; }
.dl-pod-id .dl-logo, .dl-pod-1 .dl-pod-id .dl-logo { width: 38px !important; height: 38px !important; }
.dl-pod-foot { display: flex; align-items: baseline; justify-content: flex-end; gap: .75rem; flex-wrap: nowrap; }
.dl-pod-pts strong, .dl-pod-1 .dl-pod-pts strong { font-size: 1.35rem; }
.dl-pod-pts span { font-size: .75rem; }
.dl-pod-place { font-size: .85rem; }
.dl-pod-place svg { display: none; }
.dl-home { gap: 1.5rem; }
.dl-home-head { margin-bottom: .85rem; }
.dl-home .dl-sc-list { gap: .5rem; }
.dl-home .dl-sc { padding: .9rem 1rem; }
@media (max-width: 980px) { .dl-masthead { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } }
@media (max-width: 560px) {
 .dl-pod, .dl-pod-1 { grid-template-columns: 2rem minmax(0, 1fr) auto; padding-inline: .35rem; gap: .5rem; }
 .dl-pod-pts span { display: none; }
 .dl-pod-foot { display: grid; justify-items: end; gap: .15rem; }
 .dl-pod-pts strong, .dl-pod-1 .dl-pod-pts strong { font-size: 1.15rem; }
 .dl-mast-actions .dl-btn { min-height: 44px; }
}

/* Shared page surfaces for tournaments, profiles, news and statistics. */
.dl-menu a:focus-visible { outline-offset: -3px; }
.dl-shell .crs-header { gap: 1rem; margin-bottom: 1.5rem; }
.dl-shell .crs-header h1 { letter-spacing: -.035em; line-height: 1.1; }
.dl-shell .crs-directory-head { border-bottom: 1px solid var(--dl-line); padding-bottom: .7rem; margin-bottom: .9rem; }
.dl-shell .market-count { border-radius: 6px; background: var(--dl-surface-raised); color: var(--dl-text-soft); }
.dl-shell .rating-card-changes { border: 1px solid var(--dl-line) !important; border-radius: 10px; background: var(--dl-surface); }
.dl-shell .rating-card-change { border-color: var(--dl-line); }
.dl-shell .rating-card-change a { text-decoration-color: transparent; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.dl-shell .rating-card-change a:hover { color: #8ce6eb; text-decoration-color: currentColor; }
.dl-shell .dl-hero-card, .dl-shell .rating-card-hero, .dl-shell .dl-match-hero {
  border: 1px solid var(--dl-line); border-radius: 14px;
  background: linear-gradient(145deg, hsl(var(--tc, var(--primary)) / .18), transparent 65%), var(--dl-surface);
}
.dl-shell .dl-hero-card { padding: 1.6rem 1.8rem; }
.dl-shell .dl-hero-id { gap: 1.15rem; }
.dl-shell .dl-hero-id .dl-logo, .dl-shell .dl-hero-id .dl-avatar { width: 96px !important; height: 96px !important; }
.dl-shell .dl-hero-text h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; }
.dl-shell .dl-hero-score strong { font-size: clamp(2.5rem, 5vw, 3.6rem); }
.dl-shell .dl-kpis > div, .dl-shell .rating-card-stats > div { border: 1px solid var(--dl-line) !important; border-radius: 10px; background: var(--dl-surface); }
.dl-shell .dl-kpis > div { padding: .9rem 1rem; }
.dl-shell .dl-pcard { border: 1px solid var(--dl-line); border-radius: 10px; background: linear-gradient(160deg, hsl(var(--tc, var(--primary)) / .1), transparent 65%), var(--dl-surface); }
.dl-shell .rating-card-tabs[role="tablist"] { border-bottom-color: var(--dl-line); }
.dl-shell .dl-news-page > .rating-card-changes { max-width: 960px; }
.dl-shell .dl-news-page .crs-filter-panel { max-width: 480px; }
.dl-shell .dl-news-page .dl-news { padding-block: 1rem; }
.dl-shell .dl-article h1 { line-height: 1.08; }
.dl-shell .dl-events-page .rating-card-changes { margin-bottom: 1.6rem; }
.dl-shell .dl-match-hero { padding: 1.5rem 1.25rem 1.75rem; }
@media (max-width: 700px) {
 .dl-meta-page .crs-table { min-width: 600px; }
 .dl-meta-page .crs-table-wrap::before { content: none; display: none; display: block; position: sticky; left: 0; width: max-content; padding: .5rem .75rem; color: var(--dl-text-soft); font-size: .75rem; }
 html[lang="en"] .dl-meta-page .crs-table-wrap::before { content: '← Scroll table →'; }
}
@media (max-width: 860px) {
 .dl-shell .dl-hero-card { padding: 1.25rem; }
 .dl-shell .dl-hero-id .dl-logo, .dl-shell .dl-hero-id .dl-avatar { width: 72px !important; height: 72px !important; }
 .dl-shell .dl-hero-score strong { font-size: 2.4rem; }
}
@media (max-width: 560px) {
 .dl-shell .crs-header { margin-bottom: 1rem; }
 .dl-shell .crs-directory-head { margin-bottom: .7rem; }
 .dl-shell .dl-hero-card { gap: 1rem; padding: 1rem; }
 .dl-shell .dl-hero-id { flex-direction: row; align-items: flex-start; }
 .dl-shell .dl-hero-id .dl-logo, .dl-shell .dl-hero-id .dl-avatar { width: 58px !important; height: 58px !important; }
 .dl-shell .dl-hero-text h1 { font-size: 1.55rem; }
 .dl-shell .dl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
 .dl-shell .dl-kpis > div { padding: .75rem; }
 .dl-shell .dl-kpis dd { font-size: 1.2rem; }
 .dl-shell .dl-match-hero { padding: 1.1rem .75rem 1.25rem; }
}

/* Match page: each part has a clear heading and a bounded reading surface. */
.dl-match-page { --match-gap: 1.25rem; }
.dl-match-page .dl-match-hero { margin-bottom: 1.5rem; }
.dl-match-contents {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .5rem;
  margin-block: 0 var(--match-gap);
  padding-block: .3rem;
  border-block: 1px solid var(--section-rule, var(--dl-line));
}
.dl-match-contents[hidden] { display: none; }
.dl-match-contents button {
  min-height: 40px;
  padding: .35rem .65rem;
  border: 0;
  background: transparent;
  color: var(--section-muted, var(--dl-text-soft));
  font-size: .8rem;
  cursor: pointer;
}
.dl-match-contents button:is(:hover, :focus-visible) {
  background: var(--section-panel, var(--dl-surface));
  color: var(--section-ink, hsl(var(--foreground)));
}
.dl-match-page [data-match-section] {
  scroll-margin-block-start: calc(var(--dl-header-height, 64px) + env(safe-area-inset-top, 0px) + 1rem);
}
.dl-match-board { container: dl-team-board / inline-size; }
.dl-board-scroll-hint { display: none; }
@media (width > 760px) {
  @container dl-team-board (max-width: 962px) {
    .dl-board-scroll-hint {
      display: flex;
      align-items: center;
      gap: .45rem;
      margin-block: 0 .5rem;
      color: var(--dl-text-soft);
      font-size: .75rem;
    }
    .dl-board-scroll-hint svg { width: 16px; height: 16px; }
  }
}
.dl-match-page .dl-match-maps, .dl-match-page .dl-match-draft,
.dl-match-page .dl-match-detail-grid > section, .dl-match-page .dl-match-analysis section,
.dl-match-page .dl-match-notice { background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: 12px; padding: 1.25rem 1.5rem; }
.dl-match-page h2 { font-size: 1.125rem !important; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 1rem; }
.dl-match-page .dl-match-maps { padding-bottom: .25rem; margin-bottom: var(--match-gap); }
.dl-match-page .dl-match-maps h2 { margin-bottom: .5rem; }
.dl-match-page .dl-match-maps .rating-card-tabs { width: 100%; }
.dl-match-page .dl-match-draft { margin-bottom: var(--match-gap); }
.dl-match-page .dl-match-draft .rating-card-data { gap: 1rem 2rem; }
.dl-match-page .dl-match-draft dt { color: var(--dl-text-soft); font-size: .8rem; margin-bottom: .45rem; }
.dl-match-page .dl-match-draft dd { line-height: 1.5; }
.dl-match-page .dl-match-draft .dl-chips { gap: .45rem; }
.dl-match-page .dl-match-draft .dl-chip { min-height: 32px; padding: .25rem .7rem .25rem .3rem; font-size: .875rem; }
.dl-match-page .dl-match-draft .dl-chip .dl-hero { width: 25px; height: 25px; }
.dl-match-page .dl-match-notice { border-color: rgba(228, 183, 87, .35); background: #242116; color: #f3dfa9; margin: 0 0 var(--match-gap); }
.dl-match-page .dl-match-notice strong { display: block; font-size: 1rem; }
.dl-match-page .dl-match-notice p { margin: .45rem 0 0; max-width: 64ch; line-height: 1.55; color: #d7caab; }
.dl-match-page .dl-match-data-note { padding: .7rem 1rem; margin: 0 0 var(--match-gap); border-left: 3px solid #69bfc5; background: var(--dl-surface); color: var(--dl-text-soft); font-size: .9rem; line-height: 1.5; }
.dl-match-page .dl-map-stats { gap: .5rem; margin: 0 0 var(--match-gap); }
.dl-match-page .dl-match-detail-grid { display: grid; gap: var(--match-gap); }
.dl-match-page .dl-match-detail-grid > section { min-width: 0; }
.dl-match-page .dl-match-detail-grid .rating-card-table { background: transparent; }
.dl-match-page .dl-board { overflow-x: auto; }
.dl-match-page .dl-board table { min-width: 930px; }
.dl-match-page .dl-board th, .dl-match-page .dl-board td { font-size: .85rem; }
.dl-match-page .dl-board thead th { color: var(--dl-text-soft); font-size: .75rem; }
.dl-match-page .dl-match-analysis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--match-gap); align-items: start; }
.dl-match-page .dl-match-analysis-side { display: grid; gap: var(--match-gap); min-width: 0; }
.dl-match-page .dl-match-analysis section { min-width: 0; }
.dl-match-page .dl-timeline { gap: 0; }
.dl-match-page .dl-timeline li { padding: .55rem 0; border-bottom: 1px solid var(--dl-line); font-size: .9rem; line-height: 1.4; }
.dl-match-page .dl-timeline li:last-child { border-bottom: 0; }
.dl-match-page .dl-timeline time { font-variant-numeric: tabular-nums; }
.dl-match-page .dl-minimap { max-width: 420px; }
.dl-match-page .dl-chart-legend { line-height: 1.5; }
@media (max-width: 700px) {
 .dl-match-page { --match-gap: .75rem; }
 .dl-match-page .dl-match-maps, .dl-match-page .dl-match-draft, .dl-match-page .dl-match-detail-grid > section,
 .dl-match-page .dl-match-analysis section, .dl-match-page .dl-match-notice { padding: 1rem; }
 .dl-match-page .dl-match-maps { padding-bottom: .2rem; }
 .dl-match-page .dl-match-analysis { grid-template-columns: minmax(0, 1fr); }
 .dl-match-page .dl-match-draft .rating-card-data { grid-template-columns: minmax(0, 1fr); }
 .dl-match-page .dl-map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .dl-match-page .dl-chart svg { height: 180px; }
}


/* Match analysis: one shared reading pattern for every map. */
.dl-match-page .dl-souls { padding: 1.5rem; }
.dl-souls-head { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; }
.dl-match-page .dl-souls-head h2 { margin: 0 0 .3rem; font-size: 1.2rem !important; }
.dl-souls-head p, .dl-souls-peak span, .dl-souls-peak small { color: var(--dl-text-soft); font-size: .84rem; line-height: 1.45; }
.dl-souls-head p { margin: 0; }
.dl-souls-plot { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .7rem; }
.dl-souls-axis { height: 220px; display: flex; flex-direction: column; justify-content: space-between; align-items: end; padding: 0 0 .1rem; color: #aebbc0; font-size: .75rem; font-variant-numeric: tabular-nums; }
.dl-souls-visual { min-width: 0; }
.dl-souls-visual svg { display: block; width: 100%; height: 220px; overflow: visible; }
.dl-soul-grid { stroke: #536066; stroke-opacity: .28; stroke-dasharray: 3 5; }
.dl-soul-zero { stroke: #87959a; stroke-opacity: .7; }
.dl-souls .dl-line { stroke: #f0f7f8; stroke-width: 2; }
.dl-soul-cursor { stroke: #e7f2f4; stroke-opacity: .65; stroke-dasharray: 3 4; }
.dl-soul-dot { fill: #fff; stroke: #121c20; stroke-width: 2; }
.dl-souls-ticks { display: flex; justify-content: space-between; padding-top: .65rem; color: #aebbc0; font-size: .75rem; font-variant-numeric: tabular-nums; }
.dl-souls-note { margin: .85rem 0 0; color: #aebbc0; font-size: .78rem; line-height: 1.45; }
.dl-match-page .dl-board thead th { padding-top: .9rem; padding-bottom: .9rem; }
.dl-match-page .dl-board tbody th, .dl-match-page .dl-board tbody td { padding-top: .8rem; padding-bottom: .8rem; border-top: 1px solid rgba(170,190,196,.1); }
.dl-match-page .dl-board tbody tr:hover { background: rgba(188,220,227,.04); }
.dl-match-page .dl-match-draft .rating-card-data > div { padding: .25rem 0; }
@media (max-width: 700px) {
 .dl-match-page .dl-souls { padding: 1rem; }
 .dl-souls-head { display: grid; gap: .9rem; }
 .dl-souls-plot { grid-template-columns: 3.2rem minmax(0, 1fr); gap: .45rem; }
 .dl-souls-axis, .dl-souls-visual svg { height: 170px; }
 .dl-souls-axis, .dl-souls-ticks { font-size: .69rem; }
 .dl-soul-tick-1, .dl-soul-tick-3 { display: none; }
}

.dl-match-page .dl-map-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.dl-match-page .dl-map-stats > div { display: flex; flex-direction: column; justify-content: space-between; min-height: 76px; padding: .85rem 1rem; }
.dl-match-page .dl-map-stats dt { font-size: .76rem; line-height: 1.3; color: #aebbc0; }
.dl-match-page .dl-map-stats dd { margin: .45rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .dl-match-page .dl-map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Interaction belongs on the plot; retain keyboard and touch access. */
.dl-souls-interactive { position: relative; cursor: crosshair; touch-action: pan-y; outline: none; }
.dl-souls-interactive:focus-visible { outline: 2px solid #72cfdf; outline-offset: 6px; border-radius: 3px; }
.dl-souls-interactive .dl-soul-cursor, .dl-souls-interactive .dl-soul-dot { opacity: 0; }
.dl-souls-interactive.is-active .dl-soul-cursor, .dl-souls-interactive.is-active .dl-soul-dot { opacity: 1; }
.dl-soul-tooltip {
  --soul-tip-half: min(95px, 50%);
  position: absolute;
  z-index: 2;
  top: .45rem;
  left: clamp(var(--soul-tip-half), var(--soul-position, 50%), calc(100% - var(--soul-tip-half)));
  transform: translateX(-50%);
  width: calc(2 * var(--soul-tip-half));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .15rem;
  padding: .55rem .7rem;
  border: 1px solid #46565d;
  border-radius: 6px;
  background: #19282e;
  box-shadow: 0 8px 24px #0008;
  color: #f2f7f8;
  font-size: .82rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
}
.dl-souls-interactive.is-active .dl-soul-tooltip { opacity: 1; }
.dl-soul-tooltip time, .dl-soul-tooltip span { color: #b6c7cc; font-size: .72rem; }
.dl-soul-tooltip strong { font-size: .9rem; }
.dl-souls-ticks { position: relative; display: block; height: 1.5rem; padding-top: 0; }
.dl-souls-ticks .dl-soul-tick { position: absolute; top: .6rem; transform: translateX(-50%); white-space: nowrap; }
.dl-souls-ticks .is-first { transform: none; }
.dl-souls-ticks .is-last { transform: translateX(-100%); }
@media (max-width: 700px) { .dl-souls-ticks .is-middle:nth-child(even) { display: none; } }


.dl-souls-plot { margin-top: 1.4rem; }
.dl-soul-side { position: absolute; left: .55rem; z-index: 1; color: #dbe7ea; font-size: .76rem; font-weight: 700; line-height: 1; pointer-events: none; }
.dl-soul-side.dl-key-a { top: .65rem; }
.dl-soul-side.dl-key-b { bottom: .65rem; }
@media (max-width: 700px) { .dl-souls-ticks .is-middle:nth-last-child(2) { display: none; } }



/* Death events: map and chronological list are two views of the same data. */
.dl-match-page .dl-deaths h2 { margin-bottom: .35rem; }
.dl-deaths-head p, .dl-deaths-empty { margin: 0; color: #aebbc0; font-size: .86rem; line-height: 1.5; }
.dl-deaths-controls { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.15rem 0; }
.dl-deaths-controls label { display: grid; gap: .35rem; color: #b8c5c9; font-size: .76rem; font-weight: 600; flex: 1 1 130px; max-width: 230px; }
.dl-deaths-controls select { width: 100%; min-height: 40px; padding: .45rem .65rem; border: 1px solid #334249; border-radius: 6px; color: #edf3f5; background: #101b1f; font: inherit; font-size: .85rem; }
.dl-deaths-layout { display: grid; grid-template-columns: minmax(230px, 420px) minmax(250px, 1fr); gap: 1.25rem; align-items: start; }
.dl-deaths .dl-minimap { max-width: none; border-radius: 7px; background: #222; }
.dl-death-dot { position: absolute; z-index: 1; width: 22px; height: 22px; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.dl-death-dot::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #aebbc0; box-shadow: 0 0 0 2px #081114; }
.dl-death-dot-a::before { background: hsl(var(--dl-a)); }
.dl-death-dot-b::before { background: hsl(var(--dl-b)); }
.dl-death-dot:hover, .dl-death-dot.is-selected { z-index: 3; }
.dl-death-dot:hover::before, .dl-death-dot.is-selected::before { inset: 4px; box-shadow: 0 0 0 2px white, 0 0 0 4px #081114; }
.dl-deaths [hidden] { display: none !important; }
.dl-deaths-legend { margin: .6rem 0 0; }
.dl-deaths-panel { display: flex; flex-direction: column; min-width: 0; }
.dl-deaths-selected { display: grid; gap: .22rem; min-height: 86px; padding: .8rem 1rem; border-left: 2px solid #66c4d0; background: #101b1f; color: #eaf1f3; font-size: .85rem; overflow-wrap: anywhere; }
.dl-deaths-selected time, .dl-deaths-selected span, .dl-deaths-selected small { color: #b1c0c5; font-size: .78rem; }
.dl-deaths-list-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 .5rem; font-size: .85rem; }
.dl-deaths-list-head span, .dl-deaths-missing, .dl-deaths-no-results { color: #b1c0c5; font-size: .78rem; }
.dl-deaths-list { list-style: none; margin: 0; padding: 0; max-height: 270px; overflow-y: auto; border-top: 1px solid #304047; }
.dl-deaths-list li { border-bottom: 1px solid #293940; }
.dl-deaths-list button { display: grid; grid-template-columns: 3rem minmax(0,1fr) auto; align-items: center; gap: .7rem; width: 100%; padding: .58rem .45rem; border: 0; border-radius: 0; background: transparent; color: #e6eff1; text-align: left; font: inherit; cursor: pointer; }
.dl-deaths-list button:hover, .dl-deaths-list li.is-selected button { background: #1c3036; }
.dl-deaths-list button:focus-visible, .dl-deaths-controls select:focus-visible { outline: 2px solid #77d2df; outline-offset: -2px; }
.dl-deaths-list time { color: #abbcc1; font-size: .78rem; font-variant-numeric: tabular-nums; }
.dl-deaths-list button > span { display: flex; flex-wrap: wrap; gap: .2rem .5rem; align-items: baseline; min-width: 0; font-size: .85rem; overflow-wrap: anywhere; }
.dl-deaths-list small { color: #aebbc0; font-size: .75rem; }
.dl-death-tag { font-size: .72rem; font-style: normal; font-weight: 600; color: #aebbc0; }
.dl-death-tag-a { color: #48d5eb; }.dl-death-tag-b { color: #ffab51; }
.dl-deaths-missing, .dl-deaths-no-results { margin: .7rem 0 0; line-height: 1.4; }
@media (max-width: 700px) { .dl-deaths-layout { grid-template-columns: minmax(0, 1fr); gap: .8rem; } .dl-deaths-controls label { max-width: none; } .dl-deaths-list { max-height: 230px; } }

.dl-match-page .dl-match-analysis.is-single { grid-template-columns: minmax(0, 1fr); }


/* Tournament overview: generous card padding and readable match results. */
.dl-shell .dl-event-page .rating-card-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0 1.8rem; }
.dl-shell .dl-event-page .rating-card-stats > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 88px; padding: .95rem 1rem; }
.dl-shell .dl-event-page .rating-card-stats dt { color: var(--dl-text-soft); font-size: .78rem; line-height: 1.35; }
.dl-shell .dl-event-page .rating-card-stats dd { margin: .45rem 0 0; color: #f1f5f6; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.25; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dl-event-page .rating-card-panel { padding-top: 1.5rem; }
.dl-event-page .dl-event-stage h2 { margin: 0 0 .85rem; font-size: 1.05rem; }
.dl-shell .dl-event-page .dl-event-match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.dl-event-page .dl-event-match-grid .dl-sc { padding: 1rem 1.15rem; gap: .8rem; }
.dl-event-page .dl-event-match-grid .dl-sc-team { font-size: .95rem; }
.dl-event-match-footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: .65rem; border-top: 1px solid var(--dl-line); color: var(--dl-text-soft); font-size: .75rem; line-height: 1.4; }
.dl-event-match-footer span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 1050px) { .dl-shell .dl-event-page .rating-card-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dl-shell .dl-event-page .dl-event-match-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
 .dl-shell .dl-event-page .rating-card-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1.1rem 0 1.4rem; }
 .dl-shell .dl-event-page .rating-card-stats > div { min-height: 78px; padding: .8rem .85rem; }
 .dl-shell .dl-event-page .rating-card-stats dd { font-size: 1.05rem; }
 .dl-event-page .dl-event-match-grid .dl-sc { padding: .85rem; }
}

.dl-event-page .rating-card-groups { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }


/* Ranking overview: aligned facts and an upcoming list that gives titles room. */
.dl-mast-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: .35rem 0 .45rem; }
.dl-mast-stats div { min-width: 0; align-content: start; gap: .3rem; }
.dl-mast-stats div + div { border-left: 1px solid var(--dl-line); padding-left: .7rem; }
.dl-mast-stats dt { min-height: 2.6em; font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
.dl-mast-stats dd { font-size: 1.35rem; line-height: 1.1; }
.dl-home-upcoming { margin-top: 1.5rem; }
.dl-upcoming-list { list-style: none; padding: 0; margin: 0; overflow: hidden; border: 1px solid var(--dl-line); border-radius: 10px; background: var(--dl-surface); }
.dl-upcoming-list li + li { border-top: 1px solid var(--dl-line); }
.dl-upcoming-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; padding: .85rem 1rem; color: #edf4f5; text-decoration: none; }
.dl-upcoming-item:hover { background: var(--dl-surface-raised); }
.dl-upcoming-info { display: grid; min-width: 0; gap: .25rem; }
.dl-upcoming-info strong { font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.dl-upcoming-info small { color: var(--dl-text-soft); font-size: .76rem; line-height: 1.4; }
.dl-upcoming-item time { flex: 0 0 auto; color: var(--dl-text-soft); font-size: .78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
 .dl-mast-stats { gap: .5rem; }
 .dl-mast-stats div + div { padding-left: .5rem; }
 .dl-mast-stats dt { font-size: .68rem; }
 .dl-mast-stats dd { font-size: 1.2rem; }
 .dl-home-upcoming { margin-top: 1.25rem; }
 .dl-upcoming-item { padding: .8rem; gap: .65rem; }
}

/* Keep match names readable at narrow widths across lists and event pages. */
.dl-sc-body { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.dl-sc-team span:last-child { min-width: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
.dl-sc-meta { align-items: flex-start; }
.dl-sc-meta > span:not(.dl-tier):not(.dl-sc-tag) { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.35; }
.dl-sc-meta time { white-space: nowrap; }

/* On phones, transfers need room for both teams and the player's rating. */
@media (max-width: 600px) {
  .dl-transfers-page .crs-table-wrap { overflow: visible; }
  .dl-transfers-page .crs-table, .dl-transfers-page .crs-table tbody { display: block; width: 100%; }
  .dl-transfers-page .crs-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .dl-transfers-page .crs-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; padding: 1rem; border-bottom: 1px solid var(--dl-line); }
  .dl-transfers-page .crs-table tr:last-child { border-bottom: 0; }
  .dl-transfers-page .crs-table td, .dl-transfers-page .crs-table td.crs-team-col { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .dl-transfers-page .crs-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .dl-transfers-page .crs-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 1rem; }
  .dl-transfers-page .crs-table td:nth-child(3), .dl-transfers-page .crs-table td:nth-child(4) { grid-column: 1 / -1; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .5rem; line-height: 1.4; }
  .dl-transfers-page .crs-table td:nth-child(3)::before { content: 'Откуда'; color: var(--dl-text-soft); }
  .dl-transfers-page .crs-table td:nth-child(4)::before { content: 'Куда'; color: var(--dl-text-soft); }
  .dl-transfers-page .crs-table td:nth-child(5) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .dl-transfers-page .crs-table td:nth-child(5)::before { content: 'Сила'; display: block; color: var(--dl-text-soft); font-size: .75rem; font-weight: 400; }
  html[lang="en"] .dl-transfers-page .crs-table td:nth-child(3)::before { content: 'From'; }
  html[lang="en"] .dl-transfers-page .crs-table td:nth-child(4)::before { content: 'To'; }
  html[lang="en"] .dl-transfers-page .crs-table td:nth-child(5)::before { content: 'Strength'; }
}
@media (max-width: 600px) {
  .dl-transfers-page .crs-table td, .dl-transfers-page .crs-table td.crs-team-col { height: auto; }
}

/* Background: official Deadlock Steam store screenshot (app 1422450). */
/* the art sits on the shell body: the scroll box itself has no height, the document scrolls */
.dl-shell .shell-body { background: linear-gradient(180deg, rgba(5, 10, 11, .6) 0, rgba(5, 9, 10, .8) 220px, rgba(8, 11, 12, .94) 460px, #080b0c 760px), url("deadlock-background.jpg?v=2") center top / max(1920px, 100%) auto no-repeat, #080b0c; }
.dl-player-portrait { display: block; object-fit: cover; flex: none; }
.crs-leader-player .dl-player-portrait { width: 48px; height: 48px; border-radius: 12px; }
.crs-player .dl-player-portrait { width: 36px; height: 36px; border-radius: 9px; }
.crs-leader-name .dl-flag { display: inline-block; width: 18px; height: 13px; margin-right: .45rem; vertical-align: baseline; }
.crs-player-link .dl-flag { width: 18px; height: 13px; margin-right: .4rem; }
@media (max-width: 600px) {
 .dl-shell .shell-page-scroll { background-size: auto, auto 750px, auto; }
 .crs-leader-player .dl-player-portrait { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
 .crs-page .crs-leaders { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
 .crs-page .crs-leader { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; align-items: center; gap: .6rem; min-height: 0; padding: .85rem; }
 .crs-page .crs-leader-top { position: static; }
 .crs-page .crs-leader-player { display: flex; align-items: center; gap: .65rem; min-width: 0; }
 .crs-page .crs-leader-player > div { min-width: 0; }
 .crs-page .crs-leader-name { overflow-wrap: anywhere; }
 .crs-page .crs-leader-score { text-align: right; }
 .crs-page .crs-card-arrow { display: none; }
}
@media (max-width: 600px) {
 .crs-page .crs-leaders { grid-template-columns: minmax(0, 1fr) !important; }
 .crs-page .crs-leader { min-height: 0 !important; height: auto !important; }
 .crs-page .crs-leader-score { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; }
}
@media (max-width: 600px) {
 .crs-page .crs-leader { grid-template-rows: auto; }
 .crs-page .crs-leader-player { flex-direction: row !important; align-items: center !important; }
}

/* Player profile: hierarchy and spacing for the player, results and heroes. */
.dl-player-profile .dl-hero-card { padding: 2rem 2.25rem; margin-bottom: 1rem; background: radial-gradient(ellipse at 10% 0%, hsl(var(--tc, var(--primary)) / .25), transparent 55%), linear-gradient(135deg, #152329, #10181b 70%); }
.dl-player-profile .dl-avatar { border-radius: 18px; box-shadow: 0 10px 32px #0007; }
.dl-player-profile .dl-hero-score { border-left: 1px solid var(--dl-line); padding-left: 2rem; }
.dl-player-profile .dl-kpis { margin-bottom: 1.75rem; }
.dl-player-profile .dl-kpis > div { min-width: 0; min-height: 86px; align-content: center; gap: .55rem; }
.dl-player-profile .dl-kpis dt { line-height: 1.35; }
.dl-player-profile .rating-card-panel { padding-top: 1.5rem; }
.dl-profile-heroes { margin-bottom: 2rem; }
.dl-profile-section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.dl-profile-section-head h2 { margin: .2rem 0 .35rem; font-size: 1.25rem; }
.dl-profile-section-head p { margin: 0; color: var(--dl-text-soft); font-size: .82rem; line-height: 1.45; }
.dl-profile-section-head .dl-profile-kicker { color: #85d8df; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.dl-profile-all { display: inline-flex; align-items: center; gap: .35rem; flex: none; font-size: .85rem; font-weight: 700; color: #9cdee3; text-decoration: none; }
.dl-profile-all svg { width: 15px; height: 15px; }
.dl-profile-hero-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.dl-profile-hero { display: flex; align-items: center; gap: .8rem; min-width: 0; padding: .85rem 1rem; color: inherit; text-decoration: none; background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: 10px; }
.dl-profile-hero:hover { background: var(--dl-surface-raised); border-color: rgba(112, 202, 211, .35); }
.dl-profile-hero > .dl-hero { width: 48px; height: 48px; border-radius: 9px; }
.dl-profile-hero-copy, .dl-profile-hero-rating { display: grid; gap: .25rem; min-width: 0; }
.dl-profile-hero-copy { flex: 1; }
.dl-profile-hero-copy strong { overflow-wrap: anywhere; line-height: 1.25; }
.dl-profile-hero small { color: var(--dl-text-soft); font-size: .75rem; line-height: 1.3; }
.dl-profile-hero-rating { text-align: right; font-variant-numeric: tabular-nums; }
.dl-profile-hero-rating b { font-size: 1.05rem; }
.dl-player-profile .rating-card-overview { gap: 1rem; }
.dl-player-profile .rating-card-overview > section > div, .dl-player-profile .rating-card-published > section { padding: 1.25rem; border: 1px solid var(--dl-line) !important; border-radius: 10px; background: var(--dl-surface); }
.dl-player-profile .rating-card-published { gap: 1rem; }
@media (max-width: 900px) { .dl-profile-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
 .dl-player-profile .dl-hero-card { padding: 1.2rem; }
 .dl-player-profile .dl-hero-score { border-left: 0; border-top: 1px solid var(--dl-line); padding: 1rem 0 0; justify-items: start; text-align: left; min-width: 0; }
 .dl-player-profile .dl-kpis > div { min-height: 76px; }
 .dl-profile-hero-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
 .dl-profile-section-head { align-items: start; }
 .dl-profile-hero { padding: .75rem .85rem; }
 .dl-player-profile .rating-card-overview > section > div, .dl-player-profile .rating-card-published > section { padding: 1rem; }
}
.dl-player-profile .dl-hero-id .dl-hero-sub .dl-logo { width: 24px !important; height: 24px !important; }
.dl-player-profile .rating-card-overview { align-items: start; }

/* Player match histories: keep results and stats together on all screen sizes. */
.dl-recent-list { list-style: none; display: grid; gap: .55rem; margin: 0; padding: 0; }
.dl-recent-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--dl-line); border-radius: 10px; background: var(--dl-surface); }
.dl-recent-player { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.dl-recent-player > .dl-hero { width: 48px; height: 48px; border-radius: 9px; }
.dl-recent-player > span, .dl-recent-result { display: grid; gap: .25rem; min-width: 0; }
.dl-recent-player strong { overflow-wrap: anywhere; }
.dl-recent-player small, .dl-recent-player time, .dl-recent-result small { color: var(--dl-text-soft); font-size: .78rem; line-height: 1.3; }
.dl-recent-result { justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.dl-recent-note { margin: 0 0 .75rem; }
.dl-recent-card.dl-linked-row:is(:hover, :focus-within) { border-color: hsl(var(--primary) / .6); }
.dl-recent-player > span > a { width: fit-content; font-size: .8rem; }
.dl-recent-player > span > a svg { display: inline-block; width: 1em; vertical-align: middle; }
.dl-recent-stats { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem 1rem; margin: .2rem 0 0; }
.dl-recent-stats dt { color: var(--dl-text-soft); font-size: .75rem; }
.dl-recent-stats dd { margin: 0; font-weight: 700; }
.dl-map-label { display: none; }
@media (max-width: 700px) {
 .dl-profile-map-table { overflow: visible !important; border: 0 !important; background: transparent !important; }
 .dl-profile-map-table::before { display: none !important; }
 .dl-profile-map-table table, .dl-profile-map-table tbody { display: block; width: 100%; min-width: 0 !important; }
 .dl-profile-map-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
 .dl-profile-map-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem .5rem; margin-bottom: .55rem; padding: 1rem; border: 1px solid var(--dl-line); border-radius: 10px; background: var(--dl-surface); }
 .dl-profile-map-table td { display: block; height: auto !important; min-width: 0; padding: 0 !important; border: 0 !important; white-space: normal; overflow-wrap: anywhere; text-align: left !important; }
 .dl-profile-map-table td:nth-child(1) { grid-column: 1 / 3; grid-row: 1; color: var(--dl-text-soft); font-size: .75rem; }
 .dl-profile-map-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; line-height: 1.4; }
 .dl-profile-map-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; font-weight: 700; }
 .dl-profile-map-table td:nth-child(7) { grid-column: 3; grid-row: 1; text-align: right !important; }
 .dl-profile-map-table td:nth-child(4), .dl-profile-map-table td:nth-child(5), .dl-profile-map-table td:nth-child(6) { grid-row: 4; font-weight: 700; font-variant-numeric: tabular-nums; }
 .dl-map-label { display: block; margin-bottom: .25rem; color: var(--dl-text-soft); font-size: .7rem; font-weight: 400; }
}
@media (max-width: 400px) { .dl-recent-card { padding: .85rem; } .dl-recent-player > .dl-hero { width: 40px; height: 40px; } }
@media (max-width: 550px) {
 .dl-recent-card { flex-wrap: wrap; gap: .65rem; }
 .dl-recent-result { width: 100%; justify-items: start; text-align: left; }
 .dl-recent-stats { justify-content: start; }
}

/* Player tournament maps: filters and a manageable list on small screens. */
.dl-map-controls { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.dl-map-controls label { display: grid; gap: .4rem; width: min(220px, 100%); color: var(--dl-text-soft); font-size: .8rem; }
.dl-map-controls select { width: 100%; min-height: 42px; padding: .55rem .75rem; border: 1px solid var(--dl-line); border-radius: 8px; background: var(--dl-surface); color: #edf4f5; font: inherit; font-size: .9rem; }
.dl-map-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; color: var(--dl-text-soft); font-size: .85rem; }
.dl-map-footer button[hidden] { display: none; }
.dl-map-empty { padding: 1.25rem; border: 1px solid var(--dl-line); border-radius: 10px; color: var(--dl-text-soft); background: var(--dl-surface); }
@media (max-width: 500px) { .dl-map-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; } .dl-map-controls label { width: auto; min-width: 0; } }

/* Hero meta: readable measures without hiding columns on narrow screens. */
.dl-meta-filters { max-width: none !important; }
.dl-meta-explain { margin: 0 0 1rem; color: var(--dl-text-soft); font-size: .82rem; line-height: 1.5; }
.dl-meta-table .is-num small { display: block; margin-top: .25rem; color: var(--dl-text-soft); font-size: .72rem; font-weight: 400; }
.dl-meta-label { display: none; }
@media (max-width: 700px) {
 .dl-meta-page .dl-meta-table { overflow: visible !important; border: 0 !important; background: transparent !important; }
 .dl-meta-page .dl-meta-table::before { display: none !important; }
 .dl-meta-page .dl-meta-table table, .dl-meta-page .dl-meta-table tbody { display: block; width: 100%; min-width: 0; }
 .dl-meta-page .dl-meta-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
 .dl-meta-page .dl-meta-table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem .6rem; margin-bottom: .55rem; padding: 1rem; border: 1px solid var(--dl-line); border-radius: 10px; background: var(--dl-surface); }
 .dl-meta-page .dl-meta-table td { display: block; height: auto; min-width: 0; padding: 0; border: 0; text-align: left; white-space: normal; }
 .dl-meta-page .dl-meta-table td:first-child { grid-column: 1 / -1; }
 .dl-meta-page .dl-meta-table .dl-who { font-size: 1rem; font-weight: 700; }
 .dl-meta-page .dl-meta-table .dl-hero { width: 40px; height: 40px; }
 .dl-meta-label { display: block; margin-bottom: .35rem; color: var(--dl-text-soft); font-size: .72rem; line-height: 1.25; }
 .dl-meta-page .dl-meta-table .is-num small { font-size: .68rem; }
}
@media (max-width: 360px) { .dl-meta-page .dl-meta-table tr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dl-meta-filters > :nth-child(3) { grid-column: auto; } }
@media (max-width: 500px) { .dl-meta-filters > .market-field { grid-column: 1 / -1 !important; } }

.dl-event-page .dl-event-note { margin: 0 0 1rem; line-height: 1.5; }

.dl-event-cell-label { display: none; }
@media (max-width: 640px) {
  .dl-shell .dl-event-teams { overflow: visible; border: 0 !important; background: transparent; }
  .dl-shell .dl-event-teams::before { display: none; }
  .dl-shell .dl-event-teams table, .dl-shell .dl-event-teams tbody { display: block; width: 100%; min-width: 0; }
  .dl-shell .dl-event-teams thead { display: none; }
  .dl-shell .dl-event-teams tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: .65rem; padding: 1rem; border: 1px solid var(--dl-line); border-radius: 10px; background: hsl(var(--muted) / .32); }
  .dl-shell .dl-event-teams tbody th, .dl-shell .dl-event-teams tbody td { display: block; min-width: 0; width: auto; max-width: none; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .dl-shell .dl-event-teams tbody th, .dl-shell .dl-event-teams tbody td:last-child { grid-column: 1 / -1; }
  .dl-event-teams .dl-event-cell-label { display: block; margin-bottom: .25rem; color: var(--dl-text-soft); font-size: .75rem; font-weight: 400; }
}

.dl-shell .dl-events-filters { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(125px, 1fr)) !important; gap: .75rem; }
.dl-shell .dl-events-filters .market-field:first-child { grid-column: auto; }
.dl-shell .dl-events-filters .market-field { min-width: 0; }
.dl-shell .dl-events-filters input[type="date"] { display: block; width: 100%; min-width: 0; height: 40px; padding: 0 .75rem; border: 1px solid #34434a !important; border-radius: 6px; background: #192225 !important; color: #eef0f2 !important; font: inherit; font-size: .875rem; color-scheme: dark; }
.dl-event-filter-error { color: #f0aa87; margin: .5rem 0 1rem; }
.dl-events-page .dl-event-date-col { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .dl-shell .dl-events-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) { .dl-shell .dl-events-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .dl-shell .dl-events-filters .market-field:first-child { grid-column: 1 / -1; } .dl-events-page .dl-event-date-col { display: none; } }

.dl-shell .dl-events-page .rating-card-change { grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); gap: 1rem; }
.dl-shell .dl-events-page .rating-card-change > strong { width: auto; line-height: 1.5; }
@media (max-width: 700px) {
  .dl-shell .dl-events-page .rating-card-change { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
}

/* Tournament bracket: verified rounds and an honest fallback for incomplete sources. */
.dl-bracket-page { display: grid; gap: 1.5rem; min-width: 0; }
.dl-bracket-intro { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid #293a3e; border-radius: 10px; background: #111b1e; }
.dl-bracket-intro h2, .dl-bracket-group h3 { margin: 0; color: #f1f5f5; font-size: 1rem; font-weight: 700; }
.dl-bracket-intro p, .dl-bracket-note { margin: .4rem 0 0; color: #afbec1; font-size: .875rem; line-height: 1.5; }
.dl-bracket-intro > span { color: #a8bdc0; font-size: .8rem; white-space: nowrap; }
.dl-bracket-group { min-width: 0; display: grid; gap: .9rem; }
.dl-bracket-group h3 { padding-bottom: .7rem; border-bottom: 1px solid #293135; }
.dl-bracket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 1rem; align-items: start; }
.dl-bracket-column { display: grid; gap: .6rem; min-width: 0; align-content: start; }
.dl-bracket-column h4 { margin: 0; color: #aebcbf; font-size: .8rem; font-weight: 600; }
.dl-bracket-match-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: .65rem; }
.dl-bracket-page .dl-sc { min-width: 0; padding: .9rem; }
@media (max-width: 600px) { .dl-bracket-intro { padding: 1rem; } .dl-bracket-grid, .dl-bracket-match-list { grid-template-columns: 1fr; } }

.dl-shell .dl-event-page .rating-card-rating, .dl-shell .dl-event-page .rating-card-number, .dl-shell .dl-event-page .rating-card-number strong { min-width: 0; }
.dl-shell .dl-event-page .rating-card-number strong { white-space: normal; overflow-wrap: anywhere; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }

.dl-bracket-page .dl-sc-team span:last-child { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.25; }

/* Match directory and team histories: consistent spacing and full-width data. */
.dl-shell .dl-matches-page .crs-filter-dock { margin-bottom: 2rem; }
.dl-shell .dl-matches-page .crs-directory + .crs-directory { margin-top: 2.5rem; }
.dl-shell .dl-matches-page .crs-directory-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin: 0; }
.dl-shell .dl-matches-page .crs-directory-head h2 svg { flex: none; }
.dl-shell .dl-matches-page .dl-sc-grid { gap: .75rem; }
.dl-shell .dl-matches-page .dl-sc { padding: 1rem 1.1rem; gap: .9rem; min-width: 0; }
.dl-shell .dl-matches-page .dl-sc-meta { flex-wrap: wrap; align-items: center; row-gap: .4rem; }
.dl-shell .dl-matches-page .dl-sc-meta > span:not(.dl-tier):not(.dl-sc-tag) { flex: 1 1 9rem; }
.dl-shell .dl-matches-page .dl-sc-meta time { font-variant-numeric: tabular-nums; }
.dl-shell .dl-matches-page .dl-sc-body { gap: .75rem; }
.dl-shell .dl-matches-page .dl-sc-score { text-align: center; }
.dl-shell .dl-team-page .rating-card-panel { padding-top: 1.5rem; }
.dl-shell .dl-team-page .rating-card-groups > .dl-wide { min-width: 0; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) { width: 100%; padding: 0; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) table { width: 100%; border-collapse: collapse; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) thead th { padding: 1rem 1.15rem; font-size: .72rem; white-space: nowrap; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) tbody :is(th, td) { padding: 1rem 1.15rem; line-height: 1.4; vertical-align: middle; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) :is(th, td).is-num { text-align: right; font-variant-numeric: tabular-nums; }
.dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) time { white-space: nowrap; }
.dl-shell .dl-team-page .dl-team-series tbody td:nth-child(2) { min-width: 14rem; }
.dl-shell .dl-team-page .dl-team-series tbody td:nth-child(3) { min-width: 10rem; }
.dl-shell .dl-team-page .dl-team-series .rating-card-outcome { display: inline-block; padding: .25rem .5rem; font-size: .8rem; line-height: 1.2; }
.dl-shell .dl-team-page .dl-team-h2h tbody th { width: 55%; }
@media (max-width: 700px) {
 .dl-shell .dl-matches-page .crs-filter-dock { margin-bottom: 1.5rem; }
 .dl-shell .dl-matches-page .crs-directory + .crs-directory { margin-top: 2rem; }
 .dl-shell .dl-matches-page .dl-sc { padding: .9rem; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) { overflow: visible; border: 0 !important; background: transparent; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h)::before { display: none; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) :is(table, tbody) { display: block; width: 100%; min-width: 0; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem .75rem; margin-bottom: .65rem; padding: 1rem; border: 1px solid var(--dl-line); border-radius: 10px; background: var(--dl-surface); }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) tbody :is(th, td) { display: block; width: auto; min-width: 0; max-width: none; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) tbody :is(th, td)::before { content: attr(data-label); display: block; margin-bottom: .3rem; color: var(--dl-text-soft); font-size: .7rem; font-weight: 500; }
 .dl-shell .dl-team-page .dl-team-h2h tbody th { grid-column: 1 / -1; }
 .dl-shell .dl-team-page .dl-team-series tbody td:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
 .dl-shell .dl-team-page .dl-team-series tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
 .dl-shell .dl-team-page .dl-team-series tbody td:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
 .dl-shell .dl-team-page .dl-team-series tbody td:nth-child(4) { grid-column: 3; grid-row: 3; }
 .dl-shell .dl-team-page .dl-team-series tbody td:nth-child(5) { grid-column: 3; grid-row: 1; }
 .dl-shell .dl-team-page :is(.dl-team-series, .dl-team-h2h) :is(th, td).is-num { text-align: left; }
}

.dl-shell .dl-team-page .dl-team-figs { width: 100%; padding: 0; }
.dl-shell .dl-team-page .dl-team-figs table { width: 100%; border-collapse: collapse; }
.dl-shell .dl-team-page .dl-team-figs thead th { padding: .9rem 1rem; font-size: .72rem; white-space: nowrap; }
.dl-shell .dl-team-page .dl-team-figs tbody :is(th, td) { padding: .8rem 1rem; line-height: 1.35; vertical-align: middle; }
.dl-shell .dl-team-page .dl-team-figs :is(th, td).is-num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
 .dl-shell .dl-team-page .dl-team-figs { overflow: visible; border: 0 !important; background: transparent; }
 .dl-shell .dl-team-page .dl-team-figs::before { display: none; }
 .dl-shell .dl-team-page .dl-team-figs :is(table, tbody) { display: block; width: 100%; min-width: 0; }
 .dl-shell .dl-team-page .dl-team-figs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
 .dl-shell .dl-team-page .dl-team-figs tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: .6rem; padding: .9rem 1rem; border-radius: 10px; background: var(--dl-surface); }
 .dl-shell .dl-team-page .dl-team-figs tbody :is(th, td) { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
 .dl-shell .dl-team-page .dl-team-figs tbody td::before { content: attr(data-label); display: block; margin-bottom: .25rem; color: var(--dl-text-soft); font-size: .68rem; font-weight: 500; }
 .dl-shell .dl-team-page .dl-team-figs tbody th { grid-column: 1 / -1; font-size: 1rem; }
 .dl-shell .dl-team-page .dl-team-figs :is(th, td).is-num { text-align: left; }
}

/* News archive: dated sections with breathing room and readable editorial covers. */
.dl-shell .dl-news-page { max-width: 1280px; margin: 0 auto; }
.dl-news-header { padding: 1.3rem 0 1.2rem; }
.dl-news-eyebrow { color: #6fc9d0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 .7rem; }
.dl-news-days { display: grid; gap: 1.8rem; margin-top: 1.6rem; }
.dl-news-day h2 { margin: 0 0 .75rem; color: #aab9bd; font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.dl-shell .dl-news-day .rating-card-changes { overflow: hidden; }
.dl-shell .dl-news-day .dl-news { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.35rem; min-width: 0; }
.dl-news-day .rating-card-change-body { min-width: 0; display: grid; gap: .35rem; }
.dl-news-day .rating-card-change-body b { font-size: 1rem; line-height: 1.4; }
.dl-news-day .rating-card-change-body small { color: #a4b1b4; font-size: .82rem; line-height: 1.5; }
.dl-news-day .dl-news-cover { width: 100px; height: 70px; }
.dl-news-day .dl-news-icon, .dl-news-day .dl-news-logo { flex: none; }
@media (max-width: 600px) { .dl-shell .dl-news-day .dl-news { padding: 1rem; gap: .8rem; } .dl-news-day .dl-news-cover { width: 68px; height: 60px; } }

.dl-news-feature { margin-top: 1.6rem; }
.dl-news-feature-link { display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0,1fr); overflow:hidden; border:1px solid #314148; border-radius:12px; background:#10191c; color:inherit; text-decoration:none; }
.dl-news-feature-image { min-height:260px; background:#172126; }
.dl-news-feature-image img { display:block; width:100%; height:100%; min-height:260px; object-fit:cover; }
.dl-news-feature-copy { padding:clamp(1.4rem,3vw,2.6rem); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:.8rem; }
.dl-news-feature-copy h2 { font-size:clamp(1.45rem,2.4vw,2.3rem); line-height:1.15; letter-spacing:-.03em; margin:0; overflow-wrap:anywhere; }
.dl-news-feature-copy p { color:#b8c6c9; line-height:1.55; margin:0; }
.dl-news-feature-kicker { font-size:.72rem; font-weight:700; text-transform:uppercase; color:#4cd3e0; letter-spacing:.07em; }
.dl-news-read { margin-top:.4rem; color:#5ed8e2; font-size:.85rem; font-weight:700; }
.dl-news-feature-link:hover { border-color:#5ca7af; }
.dl-news-feature-link:not(:has(.dl-news-feature-image)) { grid-template-columns:1fr; }
.dl-article-back { display:inline-flex; align-items:center; gap:.55rem; color:#adbdc0; text-decoration:none; margin:1rem 0 0; }
.dl-article-back:hover { color:#fff; }
.dl-article article { max-width: 920px; margin: 2rem auto 3.5rem; }
.dl-article article header { max-width:780px; margin:0 auto; }
.dl-article .dl-article-body { max-width:780px; margin:2.5rem auto 0; color:#d7e0e2; }
.dl-article .dl-article-cover { max-height:520px; margin-top:2rem; aspect-ratio: 16 / 9; }
@media(max-width:700px) { .dl-news-feature-link { grid-template-columns:1fr; } .dl-news-feature-image, .dl-news-feature-image img { min-height:0; aspect-ratio:16/9; } .dl-article article { margin-top:1.4rem; } }

.dl-news-unavailable { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid #765e36; border-radius: 8px; color: #f0d6a8; background: #2a241b; line-height: 1.5; font-size: .875rem; }

.dl-bracket-format { margin: 0 0 .15rem; color: #aab9bd; font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }

.dl-bracket-grid.is-final { max-width: 440px; }

/* Bracket: positions reflect source slots; connector lines require a confirmed winner. */
.dl-tree-scroll { overflow-x: auto; padding: 0 0 .65rem; max-width: 100%; scrollbar-color: #53636a #152024; scrollbar-width: thin; }
.dl-tree-scroll:focus-visible { outline: 2px solid #4dc9d3; outline-offset: 3px; }
.dl-tree-head { display: grid; margin-bottom: 8px; color: #9faeb1; font-size: .75rem; font-weight: 650; }
.dl-tree-canvas { position: relative; }
.dl-tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dl-tree-lines path { fill: none; stroke: #60777b; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dl-tree-node { position: absolute; width: 248px; height: 84px; }
.dl-tree-card { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 84px; padding: 7px 10px; border: 1px solid #303d40; border-radius: 8px; background: #151d20; color: #abb8bb; text-decoration: none; transition: border-color .15s, background .15s; }
.dl-tree-card:hover, .dl-tree-card:focus-visible { border-color: #52c8d2; background: #1b292d; outline: none; }
.dl-tree-meta { display: flex; justify-content: space-between; gap: .5rem; color: #91a2a5; font-size: .65rem; line-height: 1.2; margin-bottom: 4px; }
.dl-tree-side { display: flex; align-items: center; gap: 7px; min-width: 0; height: 26px; font-size: .8rem; }
.dl-tree-side.is-winner { color: #f1f6f6; font-weight: 700; }
.dl-tree-name { flex: 1; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.05; }
.dl-tree-side b { margin-left: auto; min-width: 1.2em; text-align: right; color: #e8efef; font-variant-numeric: tabular-nums; }
.dl-tree-logo { width: 19px; height: 19px; flex: 0 0 19px; object-fit: contain; font-size: 9px; }
.dl-bracket-import { display: grid; gap: 1.5rem; }
.dl-bracket-page .dl-bracket-group { gap: .75rem; }
.dl-tree-scroll::-webkit-scrollbar { height: 7px; }
.dl-tree-scroll::-webkit-scrollbar-thumb { background: #53636a; border-radius: 8px; }

/* Live match entry and unavailable state. */
.dl-live-entry { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 42px; padding: 0 1rem; border: 1px solid #32535a; border-radius: 8px; color: #a2ecf0; text-decoration: none; font-size: .88rem; font-weight: 700; }
.dl-live-entry:hover { color: #fff; background: #153039; }
.dl-live-entry svg { width: 16px; height: 16px; }
.dl-live-page { max-width: 1200px; margin-inline: auto; padding-bottom: 4rem; }
.dl-live-heading { padding: 1rem 0 1.75rem; }
.dl-live-kicker { margin: 0 0 .7rem; color: #66c9d0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.dl-live-heading h1 { margin: 0; color: #edf4f4; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; }
.dl-live-heading > div > p:last-child { margin: .7rem 0 0; color: #a5b4b8; font-size: .95rem; }
.dl-live-entry:focus-visible { outline: 2px solid #8deaf1; outline-offset: 3px; }
.dl-live-empty, .dl-live-board { border: 1px solid #29393e; border-radius: 12px; background: #10191c; }
.dl-live-empty { display: grid; justify-items: center; gap: .65rem; padding: clamp(3rem, 8vw, 6rem) 1.5rem; text-align: center; }
.dl-live-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #315159; border-radius: 50%; color: #6ed6df; font-size: 1.35rem; }
.dl-live-empty h2, .dl-live-message strong { margin: .4rem 0 0; color: #eef5f5; font-size: 1.1rem; }
.dl-live-empty p, .dl-live-message p, .dl-live-sections p { margin: 0; color: #9dafb3; font-size: .9rem; line-height: 1.5; }
.dl-live-matchline { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; color: #aabbbd; font-size: .85rem; }
.dl-live-matchline b { color: #eef5f5; font-variant-numeric: tabular-nums; }
.dl-live-board { overflow: hidden; }
.dl-live-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; padding: 2rem; background: linear-gradient(105deg,#14292d,#111a1d 55%,#211d1a); }
.dl-live-score > div { display: grid; gap: .5rem; min-width: 0; }
.dl-live-score > div:last-child { text-align: right; }
.dl-live-score span { color: #aab9bc; font-size: .8rem; }
.dl-live-score strong { color: #dce5e5; font-size: 1.6rem; }
.dl-live-score .dl-live-clock { text-align: center; }
.dl-live-score .dl-live-clock strong { font-size: 2rem; font-variant-numeric: tabular-nums; }
.dl-live-message { padding: 1.4rem 2rem; border-top: 1px solid #29393e; }
.dl-live-message strong { display: block; margin: 0 0 .35rem; font-size: .95rem; }
.dl-live-sections { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #29393e; }
.dl-live-sections section { min-height: 125px; padding: 1.4rem 2rem; }
.dl-live-sections section + section { border-left: 1px solid #29393e; }
.dl-live-sections h2 { margin: 0 0 .6rem; color: #e6eeee; font-size: 1rem; }
.dl-live-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: .75rem; }
.dl-live-list-card { display: grid; gap: 1rem; padding: 1.2rem; border: 1px solid #30474a; border-radius: 10px; background: #10191c; color: #edf4f4; text-decoration: none; }
.dl-live-list-card:hover { border-color: #6ecbd2; background: #142126; }
.dl-live-list-card:focus-visible { outline: 2px solid #8deaf1; outline-offset: 3px; }
.dl-live-list-meta { display: flex; gap: .75rem; align-items: center; color: #aab9bc; font-size: .78rem; }
.dl-live-list-meta b { color: #67dcba; font-size: .7rem; letter-spacing: .08em; }
.dl-live-list-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: .75rem; align-items: center; }
.dl-live-list-teams strong { min-width: 0; overflow-wrap: anywhere; }
.dl-live-list-teams strong:last-child { text-align: right; }
.dl-live-list-teams > span { color: #8da0a4; font-size: .8rem; }
.dl-live-upcoming { margin-top: 2.5rem; }
.dl-live-upcoming-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid #29393e; }
.dl-live-upcoming-head h2 { margin: 0; color: #eaf2f2; font-size: 1.1rem; }
.dl-live-upcoming-head a, .dl-live-matchline a { color: #99dfe4; text-decoration: none; font-size: .85rem; }
.dl-live-upcoming-head a:hover, .dl-live-matchline a:hover { color: white; }
@media (max-width: 600px) {
 .dl-live-score { padding: 1.25rem 1rem; }
 .dl-live-score strong { font-size: 1.2rem; }
 .dl-live-score .dl-live-clock strong { font-size: 1.5rem; }
 .dl-live-message, .dl-live-sections section { padding: 1.2rem; }
 .dl-live-sections { grid-template-columns: 1fr; }
 .dl-live-sections section + section { border-left: 0; border-top: 1px solid #29393e; }
}

/* ---------- 12.11: hero portraits, tournament figures, highlights, team form (after the edl.gg review) */
.dl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.dl-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; overflow: hidden; border-radius: 12px; color: inherit; text-decoration: none;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--hc, #2fb6c8) 58%, transparent), transparent 74%), var(--dl-surface-raised, #192328); transition: transform .15s, background .15s; }
a.dl-tile:hover { transform: translateY(-2px); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--hc, #2fb6c8) 75%, transparent), transparent 74%), var(--dl-surface-raised, #192328); }
.dl-tile-art { position: absolute; inset: 0 0 auto 0; z-index: -1; width: 100%; height: 80%; object-fit: cover; object-position: 50% 10%;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
.dl-tile-copy { display: grid; gap: .15rem; padding: 0 .85rem .9rem; text-align: center; }
.dl-tile-copy strong { font-size: 1.85rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.dl-tile-copy > span { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--dl-text-soft, #aebec2); }
.dl-tile-copy small { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 0; font-size: 12.5px; color: hsl(var(--foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-tile-copy small .dl-flag { flex: none; }
.dl-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.dl-section-head h2 { margin: 0; }
.dl-section-head > span, .dl-home-note { font-size: 12.5px; color: hsl(var(--muted-foreground)); }
.dl-home-leaders { margin: -1rem 0 2.5rem; }
.dl-meta-tiles { margin: 0 0 1.25rem; }

/* the player's portrait: the card art of his main hero */
.dl-avatar.is-art { position: relative; background: radial-gradient(100% 80% at 50% 0%, color-mix(in srgb, var(--hc, #2fb6c8) 55%, transparent), transparent 75%), hsl(var(--muted)); }
.dl-avatar.is-art img { object-position: 50% 12%; }
.dl-hero-id .dl-avatar.is-art, .dl-shell .dl-hero-id .dl-avatar.is-art { width: 116px !important; height: 148px !important; border-radius: 14px; }

/* roster cards: the main hero's art behind each player */
.dl-pcard.has-art { min-height: 132px; }
.dl-pcard.has-art > span { position: relative; z-index: 1; }
.dl-pcard-art { position: absolute; top: 0; right: -6%; z-index: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 14%; opacity: .62; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.dl-pcard.has-art .dl-pcard-face img.dl-hero { display: none; }
.dl-pcard.has-art .dl-pcard-face strong { font-size: 1.15rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.dl-shell .dl-pcard.has-art { background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--hc, #2fb6c8) 30%, transparent), transparent 70%), var(--dl-surface); }

/* tournament figures of a player */
.dl-figs { margin-bottom: 2rem; }
.dl-fig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.dl-fig { display: grid; gap: .4rem; padding: .85rem 1rem .95rem; border-radius: 10px; background: var(--dl-surface, hsl(var(--muted) / .45)); }
.dl-fig-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 12px; color: hsl(var(--muted-foreground)); }
.dl-fig-head b { font-size: 11.5px; font-weight: 800; color: hsl(var(--tc, var(--primary))); white-space: nowrap; }
.dl-fig strong { font-size: 1.55rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dl-fig-bar { height: 4px; border-radius: 2px; background: hsl(var(--muted)); overflow: hidden; }
.dl-fig-bar span { display: block; height: 100%; border-radius: 2px; background: hsl(var(--tc, var(--primary)) / .85); }
.dl-fig.is-top strong { color: hsl(var(--tc, var(--primary))); }
.dl-team-figs td small { display: block; font-size: 11px; color: hsl(var(--muted-foreground)); white-space: nowrap; }
.dl-team-figs td.is-best { color: hsl(var(--tc, var(--primary))); font-weight: 800; }
.dl-team-figs .dl-who { display: inline-flex; align-items: center; gap: .45rem; }

/* roster over time: dates and stints under each name */
.dl-gantt-name { display: grid; gap: .1rem; min-width: 0; }
.dl-gantt-who { display: flex; align-items: center; gap: .35rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-gantt-name small { font-size: 10.5px; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-gantt-row { grid-template-columns: minmax(8rem, 11rem) 1fr !important; }
.dl-gantt-row:not(.is-now) { opacity: .72; }

/* match page: form of both teams */
.dl-match-form { margin-top: 1.25rem; }
.dl-form-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dl-form-col { min-width: 0; padding: 1rem 1.1rem; border-radius: 12px; background: radial-gradient(110% 70% at 0% 0%, hsl(var(--tc, var(--primary)) / .14), transparent 65%), var(--dl-surface, hsl(var(--muted) / .4)); }
.dl-form-col-head { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; }
.dl-form-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .85rem 0 .6rem; }
.dl-form-sum dt { font-size: 11px; color: hsl(var(--muted-foreground)); }
.dl-form-sum dd { margin: 0; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-form-list { list-style: none; margin: 0; padding: 0; display: grid; }
.dl-form-list a { display: grid; grid-template-columns: 2.6rem 22px minmax(0, 1fr) minmax(0, auto) 3.6rem; align-items: center; gap: .55rem; padding: .45rem .25rem; border-radius: 6px; color: inherit; text-decoration: none; font-size: 13px; }
.dl-form-list a:hover { background: hsl(var(--muted) / .45); }
.dl-form-list b { font-variant-numeric: tabular-nums; font-weight: 800; }
.dl-form-list b.is-win { color: hsl(var(--dl-win)); }
.dl-form-list b.is-loss { color: hsl(var(--dl-loss)); }
.dl-form-logo { width: 22px !important; height: 22px !important; }
.dl-form-opp { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-form-list small { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: hsl(var(--muted-foreground)); }
.dl-form-list time { text-align: right; font-size: 11.5px; color: hsl(var(--muted-foreground)); }
.dl-h2h { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: 1rem; padding: .8rem 1.1rem; border-radius: 12px; background: var(--dl-surface, hsl(var(--muted) / .4)); font-size: 13px; }
.dl-h2h > span:first-child { color: hsl(var(--muted-foreground)); }
.dl-h2h strong { font-size: 1rem; }
.dl-h2h-list { display: flex; flex-wrap: wrap; gap: .25rem .8rem; }
.dl-sc-until { color: hsl(var(--primary)); font-weight: 700; }

@media (max-width: 900px) {
  .dl-fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-form-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .dl-tile { min-height: 176px; }
  .dl-tile-copy strong { font-size: 1.5rem; }
  .dl-hero-id .dl-avatar.is-art, .dl-shell .dl-hero-id .dl-avatar.is-art { width: 76px !important; height: 98px !important; border-radius: 12px; }
  .dl-fig { padding: .7rem .8rem; }
  .dl-fig strong { font-size: 1.3rem; }
  .dl-gantt-row { grid-template-columns: 7rem 1fr !important; }
  .dl-form-list a { grid-template-columns: 2.4rem 20px minmax(0, 1fr) 3.2rem; }
  .dl-form-list small { display: none; }
  .dl-team-figs th, .dl-team-figs td { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dl-tile { transition: none; } a.dl-tile:hover { transform: none; } }
.dl-player-profile .rating-card-table th .dl-who span { white-space: nowrap; }
.dl-player-hero-tables > section { min-width: 0; }
.dl-player-profile .rating-card-overview > section > .dl-profile-comparison { padding: 0; }
.dl-player-profile :is(.dl-player-hero-table, .dl-profile-comparison) table { width: 100%; min-width: 0; table-layout: fixed; }
.dl-player-profile :is(.dl-player-hero-table, .dl-profile-comparison) th:first-child { width: 46%; text-align: left; overflow-wrap: anywhere; }
.dl-player-profile :is(.dl-player-hero-table, .dl-profile-comparison) .is-num { text-align: center; font-variant-numeric: tabular-nums; }
.dl-player-profile .dl-player-hero-table th .dl-who span { white-space: normal; overflow-wrap: anywhere; }
.dl-player-hero-table [data-player-hero-sort] {
  min-height: 2.35rem;
  max-width: 100%;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.dl-player-hero-table [data-player-hero-sort] span { margin-inline-start: .25rem; opacity: .65; }
.dl-player-hero-table th[aria-sort] [data-player-hero-sort] span { opacity: 1; color: hsl(var(--primary)); }
.dl-player-hero-table [data-player-hero-sort]:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
@media (max-width: 480px) {
  .dl-player-profile :is(.dl-player-hero-table, .dl-profile-comparison) :is(th, td) {
    padding-inline: .3rem;
    font-size: .76rem;
    letter-spacing: normal;
    white-space: normal;
  }
  .dl-shell .dl-player-profile .dl-profile-comparison th {
    white-space: normal;
    overflow-wrap: anywhere;
    text-transform: none;
  }
  .dl-player-hero-table .dl-who { gap: .3rem; }
}

/* ---------- 13.11: live from Valve's watch list (cards, board, timeline); separated by tone, no outlines */
.dl-live-empty, .dl-live-board { border: 0; }
.dl-live-message, .dl-live-sections { border-top: 0; }
.dl-live-sections section + section { border-left: 0; }
.dl-live-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.dl-live-group { margin-bottom: 2rem; }
.dl-live-group > h2 { margin: 0 0 .8rem; color: #e6eeee; font-size: 1.05rem; }
.dl-live-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; }
.dl-live-card { display: grid; gap: .65rem; padding: 1rem 1.1rem; border-radius: 12px; background: #10191c; color: inherit; text-decoration: none; transition: background .15s; }
.dl-live-card:hover { background: #15242a; }
.dl-live-card.is-tournament { background: linear-gradient(105deg, #12262b, #10191c 60%); }
.dl-live-card-meta { display: flex; align-items: center; gap: .6rem; min-width: 0; color: #9fb1b5; font-size: .78rem; }
.dl-live-card-meta b, .dl-live-bar b { padding: .12rem .45rem; border-radius: 4px; background: #c93a3a; color: #fff; font-size: .68rem; letter-spacing: .08em; }
.dl-live-card-meta span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-live-card-meta time { font-variant-numeric: tabular-nums; }
.dl-live-card-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .6rem; }
.dl-live-card-teams > span { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.dl-live-card-teams > span:last-child { justify-content: flex-end; text-align: right; }
.dl-live-card-teams strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eef5f5; font-size: .98rem; }
.dl-live-card-score { color: #8fa3a7; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-live-logo { width: 22px !important; height: 22px !important; flex: none; }
.dl-live-souls { display: block; height: 6px; border-radius: 3px; background: #6a4a3a; overflow: hidden; }
.dl-live-souls span { display: block; height: 100%; background: #3fb6c4; }
.dl-live-card-foot { display: flex; justify-content: space-between; color: #b8c7ca; font-size: .78rem; font-variant-numeric: tabular-nums; }
.dl-live-card-pros { color: #8fa3a7; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-live-bar { display: flex; align-items: center; gap: .7rem; margin: 0 auto; padding: .55rem 1rem; max-width: 1200px; color: #e6eeee; text-decoration: none; font-size: .86rem; background: #1a1416; border-radius: 0 0 10px 10px; }
.dl-live-bar span { font-weight: 700; }
.dl-live-bar small { color: #a9b6b9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-live-bar:hover { background: #241a1d; }
.dl-live-ended { margin: 0 0 .8rem; padding: .7rem 1rem; border-radius: 10px; background: #1b1d16; color: #d8dcc6; font-size: .88rem; }
.dl-live-logo-lg { width: 40px !important; height: 40px !important; }
.dl-live-score > div { justify-items: start; }
.dl-live-score > div:last-child { justify-items: end; }
.dl-live-score .dl-live-clock { justify-items: center; }
.dl-live-sections section { background: #0e1618; }
.dl-live-sections { gap: 2px; background: #0b1214; }
.dl-live-graph { display: block; width: 100%; height: 160px; }
.dl-live-graph line { stroke: #34474c; stroke-width: 1; }
.dl-live-graph path { fill: none; stroke: #5fd0dc; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dl-live-graph-axis { display: flex; justify-content: space-between; color: #8fa3a7; font-size: .74rem; }
.dl-live-obj { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dl-live-obj td, .dl-live-obj th { padding: .35rem .2rem; }
.dl-live-obj thead td { color: #9fb1b5; font-size: .76rem; }
.dl-live-obj td { width: 30%; color: #eef5f5; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-live-obj td:first-child { text-align: left; }
.dl-live-obj td:last-child { text-align: right; }
.dl-live-obj th { color: #b8c7ca; font-weight: 500; text-align: center; }
.dl-live-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #0b1214; }
.dl-live-sides section { padding: 1.2rem 1.4rem; background: #0e1618; }
.dl-live-sides h2 { margin: 0 0 .6rem; color: #e6eeee; font-size: 1rem; }
.dl-live-sides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.dl-live-sides li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.dl-live-sides li > span:not(.dl-live-hero) { display: grid; min-width: 0; }
.dl-live-sides strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.dl-live-sides small { color: #9fb1b5; font-size: .76rem; }
.dl-live-hero { flex: none; width: 38px; height: 48px; border-radius: 6px; object-fit: cover; object-position: 50% 12%; background: radial-gradient(100% 80% at 50% 0%, color-mix(in srgb, var(--hc, #2fb6c8) 50%, transparent), transparent 75%), #18262a; }
@media (max-width: 720px) {
  .dl-live-list { grid-template-columns: minmax(0, 1fr); }
  .dl-live-sections, .dl-live-sides { grid-template-columns: minmax(0, 1fr); }
  .dl-live-score { padding: 1.2rem; }
  .dl-live-score strong { font-size: 1.2rem; }
  .dl-live-heading { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .dl-live-card { transition: none; } }

/* live: team areas on the lead chart, map with heroes, kill feed */
.dl-live-graph .dl-area-a { fill: hsl(var(--dl-a) / .28); stroke: none; }
.dl-live-graph .dl-area-b { fill: hsl(var(--dl-b) / .28); stroke: none; }
.dl-live-graph .dl-live-lead { fill: none; stroke: #e6eeee; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dl-live-icon { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; background: #1a2427; flex: none; }
.dl-live-feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.dl-live-feed li { display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem; border-radius: 8px; background: #121d20; font-size: .88rem; animation: dl-feed-in .4s ease-out; }
.dl-live-feed li time { color: #7f9296; font-variant-numeric: tabular-nums; min-width: 2.6rem; }
.dl-live-feed li span { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; }
.dl-live-feed li b { font-weight: 600; color: #dce5e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-live-feed li i { color: #7f9296; font-style: normal; }
.dl-live-feed .dl-live-a b { color: hsl(var(--dl-a)); }
.dl-live-feed .dl-live-b b { color: hsl(var(--dl-b)); }
.dl-live-kda { margin-left: auto; font-style: normal; font-weight: 600; color: #dce5e5; font-variant-numeric: tabular-nums; }
@keyframes dl-feed-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dl-live-sections-feed { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: reduce) { .dl-live-feed li { animation: none; } }
/* filters sit straight on the page art: no solid dock behind them, solid fields */
.dl-shell .crs-filter-dock { background: transparent; }
.dl-shell .market-search, .dl-shell .market-select { background: #121b1e; }

/* Tournament match center: keep the teams and the score legible over the game art. */
.dl-shell .dl-live-page { max-width: 1200px; margin: 0 auto; }
.dl-live-heading { padding: 1.1rem 0 1.5rem; }
.dl-live-kicker { margin-bottom: .45rem; color: #7ed3cf; letter-spacing: .16em; font-size: .68rem; font-weight: 800; }
.dl-live-heading h1 { line-height: 1.1; letter-spacing: -.035em; }
.dl-shell .dl-live-empty { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; min-height: 0; padding: 1.3rem 1.5rem; border: 1px solid #2c4644; border-radius: 12px; background: linear-gradient(110deg, #122725, #101a1d 65%); text-align: left; }
.dl-live-empty h2 { margin: 0 0 .3rem; font-size: 1.05rem; }
.dl-live-empty p { max-width: 54ch; margin: 0; color: #aec0bf; font-size: .88rem; line-height: 1.5; }
.dl-live-empty-mark { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #203a36; color: #79d7bc; font-size: 1.3rem; }
.dl-live-upcoming { margin-top: 2rem; }
.dl-live-card { border: 1px solid #29403f; box-shadow: 0 10px 30px #0003; }
.dl-live-card:focus-visible { outline: 2px solid #8de6d5; outline-offset: 3px; }
.dl-live-card-missing { display: block; margin-top: .85rem; color: #a9bfba; font-size: .8rem; }
.dl-live-board { overflow: hidden; border: 1px solid #28403d; border-radius: 14px; background: #10191b; box-shadow: 0 20px 60px #0006; }
.dl-live-score { position: relative; gap: 1rem; background: radial-gradient(ellipse at 15% 10%, #264c43aa, transparent 45%), radial-gradient(ellipse at 90% 0%, #59463188, transparent 42%), linear-gradient(120deg, #101d1b, #101516); }
.dl-live-score > div { gap: .35rem; min-width: 0; }
.dl-live-score > div > span { overflow-wrap: anywhere; font-weight: 750; }
.dl-live-score > div > small { color: #9eb2ae; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.dl-live-score strong { font-variant-numeric: tabular-nums; }
.dl-live-score .dl-live-clock strong { font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.dl-live-clock > span { color: #b2c7c1; text-align: center; }
.dl-live-logo-lg { width: 54px !important; height: 54px !important; }
.dl-live-sections { gap: 1px; background: #273835; }
.dl-live-sections section, .dl-live-sides section { background: #101a1b; }
.dl-live-sections h2, .dl-live-sides h2 { color: #c4d7d1; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.dl-live-graph { height: 190px; margin-top: .6rem; background: repeating-linear-gradient(to bottom, transparent 0, transparent 46px, #36504b55 47px, transparent 48px); }
.dl-live-sides { gap: 1px; background: #273835; }
.dl-live-sides li { padding: .45rem .55rem; border-radius: 8px; background: #172522; }
.dl-live-sides section:last-child li { background: #24241c; }
.dl-live-sides li { min-height: 4.2rem; }
.dl-live-sides li > span:not(.dl-live-hero) { flex: 1 1 auto; }
.dl-live-sides small { line-height: 1.4; }
.dl-live-kda { white-space: nowrap; }
.dl-live-player-souls { margin-left: auto; color: #a9c7bb; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-live-player-souls + .dl-live-kda { margin-left: .6rem; }
.dl-live-feed li { background: #182724; }
@media (max-width: 720px) {
  .dl-live-heading { padding: .8rem 0 1rem; }
  .dl-shell .dl-live-empty { align-items: flex-start; padding: 1rem; }
  .dl-live-score { gap: .35rem; padding: 1rem .7rem; }
  .dl-live-logo-lg { width: 36px !important; height: 36px !important; }
  .dl-live-score > div > span { font-size: .8rem; }
  .dl-live-score .dl-live-clock strong { font-size: 1.35rem; }
  .dl-live-graph { height: 150px; }
}
.dl-match-live { margin: 1.4rem 0; }
.dl-live-badge { display: inline-block; margin-right: .35rem; padding: .1rem .45rem; border-radius: 6px; background: #e0434b; color: #fff; font-size: .75rem; letter-spacing: .04em; vertical-align: .12em; }

/* live board, second pass: bigger score, game-time chart with kill marks, richer line-ups */
.dl-live-score { padding: 2.2rem 2.4rem; }
.dl-live-score > div > span { font-size: 1.35rem; font-weight: 800; color: #eef4f4; }
.dl-live-score > div > strong { font-size: 2.4rem; line-height: 1; letter-spacing: -.01em; }
.dl-live-score .dl-live-clock strong { font-size: 2.6rem; }
.dl-live-kills { display: inline-flex; align-items: baseline; gap: .6rem; font-variant-numeric: tabular-nums; }
.dl-live-kills i { font-style: normal; font-size: 1.5rem; font-weight: 800; }
.dl-live-kills small { color: #9fb1b5; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dl-live-kills .dl-live-a { color: hsl(var(--dl-a)); }
.dl-live-kills .dl-live-b { color: hsl(var(--dl-b)); }
.dl-live-chart-head { margin: -.2rem 0 .5rem; color: #dce5e5; font-weight: 700; font-size: .95rem; }
.dl-live-chart { position: relative; padding: 0 0 1.4rem; }
.dl-live-chart .dl-live-graph { display: block; width: 100%; height: 220px; }
.dl-live-chart .dl-chart-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dl-live-chart .dl-chart-zero { stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dl-live-chart .dl-chart-kill-a { fill: hsl(var(--dl-a)); }
.dl-live-chart .dl-chart-kill-b { fill: hsl(var(--dl-b)); }
.dl-live-chart-side { position: absolute; left: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.dl-live-chart-side-a { top: .9rem; color: hsl(var(--dl-a)); }
.dl-live-chart-side-b { bottom: 2.2rem; color: hsl(var(--dl-b)); }
.dl-live-chart-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 1.2rem; }
.dl-live-chart-axis span { position: absolute; transform: translateX(-50%); color: #7f9296; font-size: .72rem; font-variant-numeric: tabular-nums; }
.dl-live-items { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.dl-live-items img { width: 22px; height: 22px; border-radius: 4px; background: #1a2427; }
@media (max-width: 760px) { .dl-live-score > div > strong { font-size: 1.6rem; } .dl-live-score .dl-live-clock strong { font-size: 1.9rem; } .dl-live-feed ol { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .dl-live-sides section { padding: 1rem .75rem; }
  .dl-live-sides li { gap: .4rem; padding: .45rem; }
  .dl-live-player-souls, .dl-live-kda { font-size: .72rem; }
  .dl-live-player-souls + .dl-live-kda { margin-left: .25rem; }
  .dl-live-feed ol { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- structure pass (13.11): five sections, a home page, one rating with two tabs */
.dl-menu a { display: inline-flex; align-items: center; gap: .4rem; }
.dl-menu-live { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px;
  background: hsl(var(--dl-loss)); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; }
.dl-menu-live:empty { min-width: .55rem; width: .55rem; height: .55rem; padding: 0; margin-right: .5rem; box-shadow: 0 0 0 4px hsl(var(--dl-loss) / .25); }
.dl-more { position: relative; flex: none; }
.dl-more summary { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer;
  list-style: none; color: hsl(var(--muted-foreground)); transition: color .15s, background .15s; }
.dl-more summary::-webkit-details-marker { display: none; }
.dl-more summary svg { width: 14px; height: 14px; transition: transform .15s; }
.dl-more[open] summary svg { transform: rotate(180deg); }
.dl-more summary:hover, .dl-more[data-current] summary, .dl-more[open] summary { color: hsl(var(--foreground)); background: hsl(var(--muted) / .55); }
.dl-more-list { position: absolute; top: calc(100% + .4rem); left: 0; z-index: 50; display: grid; min-width: 12rem; padding: .35rem; border-radius: 10px;
  background: var(--dl-surface-raised); box-shadow: 0 16px 40px #0008; }
.dl-more-list a { padding: .6rem .75rem; border-radius: 6px; }
.dl-more-list a::after { display: none; }
/* five items fit: no horizontal scroll, so the dropdown is not clipped */
.dl-menu { overflow: visible; }
.dl-tabbar { display: none; }

/* home */
.dl-home-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 1.5rem !important; }
.dl-home-page > * { min-width: 0; }
.dl-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: .6rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; scrollbar-width: thin; }
.dl-strip > * { scroll-snap-align: start; min-width: 0; }
.dl-home-matches .dl-sc { padding: .85rem 1rem; }
.dl-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.dl-home-col { display: grid; gap: .35rem; min-width: 0; align-content: start; }
.dl-home-col .dl-home-head:not(:first-child) { margin-top: 1.25rem; }
.dl-hlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dl-hrow { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: 8px;
  color: inherit; text-decoration: none; transition: background .12s; }
a.dl-hrow:hover { background: var(--dl-surface); }
.dl-hrow-place { width: 1.4rem; text-align: center; color: var(--dl-text-soft); font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.dl-hrow-logo { width: 30px !important; height: 30px !important; border-radius: 7px; flex: none; }
.dl-hrow-name { display: grid; min-width: 0; }
.dl-hrow-name strong { display: flex; align-items: center; gap: .35rem; font-size: .92rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-hrow-name small { color: var(--dl-text-soft); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-hrow-name small a { color: inherit; }
.dl-hrow-score { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.dl-hrow-score b { font-size: .95rem; }
.dl-hrow-score .crs-score-change { font-size: .7rem; }
.dl-hrow time { color: var(--dl-text-soft); font-size: .78rem; white-space: nowrap; }
.dl-hevent { grid-template-columns: auto minmax(0, 1fr) auto; }
.dl-htransfers .dl-hrow { grid-template-columns: minmax(0, 1fr) auto; }
.dl-shell .dl-home-news { border: 0 !important; background: transparent; padding: 0; }
.dl-home-news .dl-news { padding: .7rem .4rem; }
.dl-home-news .dl-news.is-lead { padding: 1rem; border-radius: 12px; background: linear-gradient(150deg, hsl(var(--primary) / .12), transparent 65%), var(--dl-surface); margin-bottom: .35rem; }
.dl-home-news .dl-news.is-lead b { font-size: 1.15rem; }
.dl-home-news .dl-news.is-lead .dl-news-cover { width: 100%; max-height: 180px; object-fit: cover; border-radius: 8px; }
.dl-home-news .dl-news.is-lead:has(.dl-news-cover) { flex-direction: column; }
.dl-home-meta .dl-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dl-home-meta .dl-tile { min-height: 190px; }
.dl-strip .dl-sc-meta > span:not(.dl-tier):not(.dl-sc-tag) { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Rating header and region filters. */
.dl-rating-page { display: grid; gap: 1rem; }
.dl-rating-head { margin-bottom: 0 !important; }
.dl-chip-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.dl-chip-row button { padding: .38rem .8rem; border-radius: 999px; border: 0; background: var(--dl-surface); color: var(--dl-text-soft); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.dl-chip-row button:hover { color: hsl(var(--foreground)); }
.dl-chip-row button[aria-pressed="true"] { background: hsl(var(--primary) / .18); color: hsl(var(--foreground)); }
.dl-rating-filters { grid-template-columns: minmax(0, 360px) minmax(0, 240px) !important; }
.dl-podium.dl-podium-row { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: .6rem; border-block: 0; }
.dl-podium-row .dl-pod { border-radius: 12px; background: linear-gradient(150deg, hsl(var(--tc, var(--primary)) / .14), transparent 65%), var(--dl-surface); min-height: 84px; }
.dl-podium-row .dl-pod + .dl-pod { border-top: 0; }
.dl-podium-row .dl-pod-1 { background: linear-gradient(150deg, hsl(var(--tc, var(--primary)) / .26), transparent 70%), var(--dl-surface-raised); }
.dl-matches-filters { grid-template-columns: minmax(0, 360px) !important; }
.dl-matches-page .crs-filter-dock { display: grid; gap: .6rem; }
.dl-live-now .crs-directory-head h2 { display: flex; align-items: center; }

@media (max-width: 1100px) { .dl-home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dl-home-grid > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 860px) {
  .dl-menu { display: none; }
  .dl-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: .3rem max(.3rem, env(safe-area-inset-left, 0px)) calc(.3rem + env(safe-area-inset-bottom, 0px)); background: rgba(7, 12, 14, .96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--dl-line); }
  .dl-tabbar a { position: relative; display: flex; align-items: center; justify-content: center; gap: .25rem; min-height: 44px; border-radius: 8px;
    color: var(--dl-text-soft); text-decoration: none; font-size: .78rem; font-weight: 650; }
  .dl-tabbar a[aria-current="page"] { color: hsl(var(--foreground)); background: var(--dl-surface); }
  .dl-tabbar .dl-menu-live { position: absolute; top: 4px; right: 6px; min-width: 1rem; height: 1rem; font-size: .6rem; }
  .dl-shell .shell-page-scroll { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .dl-home-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-home-grid > :nth-child(2) { grid-row: auto; }
  .dl-home-meta .dl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-podium.dl-podium-row { grid-template-columns: minmax(0, 1fr); }
  .dl-rating-filters { grid-template-columns: minmax(0, 1fr) !important; }
}
/* on phones the "More" menu sits in the header next to search */
.dl-tools .dl-more { display: none; }
@media (max-width: 860px) {
  .dl-header-in { flex-wrap: wrap; height: auto; padding-block: .55rem; gap: .5rem .6rem; }
  .dl-tools { display: contents; }
  .dl-tools .dl-more { display: block; margin-left: auto; order: 2; }
  .dl-tools .dl-more-list { left: auto; right: 0; }
  .dl-langs { order: 3; margin-left: 0 !important; }
  .dl-langs button { min-width: 2.2rem; padding-inline: .4rem; }
  .dl-find { order: 4; flex: 1 0 100%; width: auto; }
  .dl-brand { gap: .55rem; } .dl-brand img { width: 84px; } .dl-brand b { padding-left: .55rem; font-size: 11px; letter-spacing: .08em; }
  .dl-more summary { padding-inline: .55rem; }
}
@media (max-width: 560px) { .dl-strip { grid-auto-columns: 84%; } }

.dl-team-page .dl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- audit pass (14.11): tournaments list, news art, steadier layouts, readable sizes, phones */
.dl-tier.dl-tier-none { visibility: hidden; }
/* readable small text: nothing on the portal below 12px */
.dl-sc-tag, .dl-tier, .crs-score-change, .dl-hrow-name small, .dl-hrow time, .dl-badge, .rating-card-verdict-tag,
.dl-shell .rating-card-table th, .dl-shell .dl-table th, .dl-news-kind, .dl-sc-meta, .dl-sc-meta time, .crs-mobile-team,
.dl-hero-card .dl-eyebrow, .rating-card-stints span { font-size: max(12px, 1em) !important; }

/* tournaments: running and upcoming as cards, finished as rows */
.dl-ecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.dl-ecard { display: grid; gap: .45rem; align-content: start; padding: 1rem 1.1rem; border-radius: 12px; background: var(--dl-surface); color: inherit; text-decoration: none; transition: background .12s; }
.dl-ecard:hover { background: var(--dl-surface-raised); }
.dl-ecard.is-running { background: linear-gradient(150deg, hsl(var(--primary) / .14), transparent 60%), var(--dl-surface); }
.dl-ecard-top { display: flex; align-items: center; gap: .5rem; color: var(--dl-text-soft); font-size: .85rem; }
.dl-ecard-top time { margin-left: auto; white-space: nowrap; }
.dl-ecard-name { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.dl-ecard-meta { color: var(--dl-text-soft); font-size: .85rem; }
.dl-ecard-teams { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.dl-ecard-more { align-self: center; color: var(--dl-text-soft); font-size: .8rem; font-weight: 700; }
.dl-logo-xs { width: 26px !important; height: 26px !important; border-radius: 6px; }
.dl-logo-xs.dl-mono span { font-size: 10px; }
.dl-elist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dl-elist-head, .dl-erow { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 220px) 100px 70px; gap: .9rem; align-items: center; }
.dl-elist-head { padding: 0 .9rem .4rem; color: var(--dl-text-soft); font-size: 12px; font-weight: 600; }
.dl-elist-head span:nth-child(4), .dl-elist-head span:nth-child(5) { text-align: right; }
.dl-erow { padding: .7rem .9rem; border-radius: 10px; color: inherit; text-decoration: none; transition: background .12s; }
.dl-erow:hover { background: var(--dl-surface); }
.dl-erow-name { display: grid; min-width: 0; }
.dl-erow-name b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-erow-name small { color: var(--dl-text-soft); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-erow-win { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.dl-erow-win > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-erow-prize, .dl-erow-size { text-align: right; font-variant-numeric: tabular-nums; color: var(--dl-text-soft); }

/* news: a hero art picture for every item */
.dl-news-art { position: relative; flex: none; width: 112px; height: 64px; border-radius: 9px; overflow: hidden;
  background: radial-gradient(120% 120% at 70% 20%, var(--hc, hsl(var(--primary))) 0%, transparent 70%), var(--dl-surface-raised); }
.dl-news-art .dl-news-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; opacity: .95; }
.dl-news-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 11, .55), transparent 70%); }
.dl-news-art-badge { position: absolute; left: 6px; bottom: 6px; z-index: 1; display: flex; }
.dl-news-art-badge .dl-logo { width: 26px !important; height: 26px !important; border-radius: 6px; box-shadow: 0 2px 8px #0008; }
.dl-news-art.is-big { width: 100%; height: 100%; min-height: 220px; border-radius: 0; }
.dl-news-art.is-big .dl-news-art-badge { left: 1rem; bottom: 1rem; }
.dl-news-art.is-big .dl-news-art-badge .dl-logo { width: 56px !important; height: 56px !important; border-radius: 12px; }
.dl-news-art.is-big .dl-news-art-badge .dl-tier { font-size: 1.1rem !important; padding: .35rem .6rem; }
.dl-news { gap: .9rem; align-items: center; }
.dl-home-news .dl-news.is-lead { flex-direction: column; align-items: stretch; }
.dl-home-news .dl-news.is-lead .dl-news-art { width: 100%; height: 150px; }
.dl-news-feature-image .dl-news-art { display: block; }

/* home: wider match cards, tournament names wrap instead of running into the date */
.dl-strip { grid-auto-columns: minmax(320px, 1fr); }
.dl-hevent .dl-hrow-name strong { display: block; white-space: normal; line-height: 1.3; }

/* tournament page: five figures in one row, the next match in the header */
.dl-event-page .rating-card-stats { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.dl-event-next { font-size: 1.15rem !important; line-height: 1.25; }
.dl-event-next-when { margin: .25rem 0 0; color: var(--dl-text-soft); font-size: .85rem; text-align: right; }

/* team: hero tiles across the whole row */
.dl-team-page .dl-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* player: the path under the two columns */
.dl-player-path { margin-top: 1.5rem; }

/* Size the decorative portrait by its height so the full face fits on wide screens. */
.dl-hero-page-card:has(.dl-hero-page-art) {
  grid-template-columns: minmax(0, 1fr) 32%;
  min-height: clamp(11rem, 17vw, 14rem);
}
.dl-hero-page-card:has(.dl-hero-page-art)::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 60%, color-mix(in srgb, var(--hc, #b19a78) 24%, transparent), transparent 54%);
  pointer-events: none;
  content: '';
}
.dl-hero-page-card .dl-hero-page-art {
  --dl-scene-zoom-start: .94;
  --dl-scene-zoom-end: 1;
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: clamp(.75rem, 5%, 4rem);
  width: 32%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  transform-origin: right center;
  opacity: .8;
  mask-image: linear-gradient(#000 83%, transparent);
  pointer-events: none;
}
.dl-hero-page-card .dl-hero-id { position: relative; z-index: 1; }
@media (max-width: 560px) {
  .dl-hero-page-card:has(.dl-hero-page-art) { min-height: 8.5rem; }
  .dl-hero-page-card .dl-hero-page-art { inset-inline-end: .25rem; opacity: .66; }
}

/* live page as wide as the other sections */
.dl-shell .dl-live-page { max-width: var(--dl-max, 1280px); width: 100%; }

/* results grouped by day */
.dl-day-head { margin: 1.1rem 0 .5rem; color: var(--dl-text-soft); font-size: .9rem; font-weight: 650; }

/* transfers: one line each */
.dl-tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dl-tlist li { display: grid; grid-template-columns: 80px minmax(0, 200px) minmax(0, 1fr); gap: 1rem; align-items: center; padding: .6rem .9rem; border-radius: 10px; }
.dl-tlist li:hover { background: var(--dl-surface); }
.dl-tlist time { color: var(--dl-text-soft); font-size: 13px; }
.dl-tlist-player { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-tlist-move { display: flex; align-items: center; gap: .6rem; min-width: 0; flex-wrap: wrap; }
.dl-tlist-arrow { color: var(--dl-text-soft); }

.dl-more-langs { display: none; }

@media (max-width: 900px) {
  .dl-event-page .rating-card-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .dl-elist-head, .dl-erow { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 160px); }
  .dl-elist-head span:nth-child(n+4), .dl-erow-prize, .dl-erow-size { display: none; }
}
@media (max-width: 860px) {
  /* the header in one line: brand, search, More (the language sits inside More) */
  .dl-header-in { flex-wrap: nowrap; }
  .dl-tools { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .4rem; }
  .dl-tools .dl-find { flex: 1 1 auto; width: auto !important; min-width: 0; }
  .dl-tools .dl-langs { display: none; }
  .dl-more-langs { display: flex; gap: .25rem; padding: .4rem .5rem .2rem; }
  .dl-more-langs button { flex: 1; height: 34px; border: 0; border-radius: 7px; background: hsl(var(--muted) / .7); color: hsl(var(--muted-foreground)); font: inherit; font-size: 13px; font-weight: 700; }
  .dl-more-langs button[aria-pressed="true"] { background: hsl(var(--background)); color: hsl(var(--foreground)); }
  /* rating tables: place, name with team, rating, matches */
  .dl-rating-page .crs-team-col, .dl-rating-page .crs-role-col, .dl-rating-page .crs-kd-col, .dl-rating-page .crs-form-col { display: none; }
  .dl-team-page .dl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .dl-event-page .rating-card-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .dl-event-next-when { text-align: left; }
  .dl-elist-head { display: none; }
  .dl-erow { grid-template-columns: 26px minmax(0, 1fr); row-gap: .25rem; }
  .dl-erow-win { grid-column: 2; color: var(--dl-text-soft); font-size: 13px; }
  .dl-tlist li { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; padding: .55rem .6rem; }
  .dl-tlist time { grid-column: 2; grid-row: 1; text-align: right; }
  .dl-tlist-move { grid-column: 1 / -1; font-size: 13px; }
  .dl-news-art { width: 88px; height: 56px; }
  .dl-rating-page .crs-maps-col { display: none; }
  .dl-brand img { width: 72px !important; }
}

/* news rows: the picture column takes the picture's width */
.dl-shell .rating-card-change.dl-news { grid-template-columns: auto minmax(0, 1fr) !important; }
.dl-shell .dl-home-news .rating-card-change.dl-news.is-lead { grid-template-columns: minmax(0, 1fr) !important; }
/* home match strip: teams on two lines next to the time, so names are not cut; the tier stays, the event name goes */
.dl-strip .dl-sc-body { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: .35rem; column-gap: .75rem; align-items: center; }
.dl-strip .dl-sc-body > .dl-sc-team:first-child { grid-row: 1; grid-column: 1; }
.dl-strip .dl-sc-body > .dl-sc-team:last-child { grid-row: 2; grid-column: 1; flex-direction: row !important; justify-content: flex-start !important; text-align: left; }
.dl-strip .dl-sc-body > .dl-sc-score { grid-row: 1 / 3; grid-column: 2; }
.dl-strip .dl-sc-team > span:not(.dl-logo) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-strip .dl-sc-meta > span:not(.dl-sc-tag):not(.dl-tier) { display: block; grid-row: 2; grid-column: 1 / -1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-strip { grid-auto-columns: minmax(240px, 1fr); }
.dl-strip { grid-auto-columns: minmax(270px, 1fr); }
.dl-strip .dl-sc-meta { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); gap: .35rem .5rem; overflow: hidden; }
.dl-strip .dl-sc-meta time { grid-row: 1; grid-column: 3; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.dl-news-art.is-big .dl-news-art-img, .dl-home-news .is-lead .dl-news-art-img { object-fit: contain; object-position: center bottom; }

/* Section-specific atmosphere uses existing artwork; the dark overlay keeps text legible. */
.dl-shell .shell-body:has(.dl-news-page) { background: linear-gradient(180deg, #080d0ed9 0, #080b0cef 600px, #080b0c 850px), url('assets/dl/heroes/card/1.webp') right 8% top / auto 500px no-repeat, #101b1c; }
.dl-shell .shell-body:has(.dl-events-page) { background: linear-gradient(180deg, #0b0d12d9 0, #080b0cef 600px, #080b0c 850px), url('assets/dl/heroes/card/11.webp') right 8% top / auto 500px no-repeat, #151928; }
.dl-shell .shell-body:has(.dl-matches-page), .dl-shell .shell-body:has(.dl-live-page) { background: linear-gradient(180deg, #100e0bd9 0, #080b0cef 600px, #080b0c 850px), url('assets/dl/heroes/card/10.webp') right 8% top / auto 500px no-repeat, #241e17; }
.dl-shell .shell-body:has(.dl-rating-page), .dl-shell .shell-body:has(.dl-meta-page) { background: linear-gradient(180deg, #0b1112d9 0, #080b0cef 600px, #080b0c 850px), url('assets/dl/heroes/card/14.webp') right 8% top / auto 500px no-repeat, #132525; }
.dl-event-next { display: grid; gap: .3rem; color: hsl(var(--foreground)) !important; }
.dl-event-next .dl-event-next-when { display: block; font-size: .85rem; font-weight: 500; color: var(--dl-text-soft); }
.dl-shell .dl-event-page .rating-card-number strong.dl-event-next { font-size: 1.15rem; line-height: 1.35; letter-spacing: normal; }
.dl-shell .dl-event-page .rating-card-number strong.dl-event-next .dl-event-next-when { line-height: 1.4; letter-spacing: normal; }
.dl-shell .dl-match-score span { max-width: 12rem; text-align: center; white-space: normal; line-height: 1.35; }
/* the remaining small labels up to 12px */
.dl-tile-copy span, .crs-updated, .crs-updated time, .dl-pod-name span, .crs-leader-kd, .rating-card-rating-label span,
.rating-card-tabs [role="tab"] > span, td.is-num small, .dl-gantt-name small, .dl-gantt-axis span, .dl-gantt-axis { font-size: max(12px, 1em) !important; }

/* ---------- screens pass (15.11): the souls chart with scale, peaks and events */
.dl-match-page .dl-souls-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dl-match-page .dl-souls-head h2 { margin: 0 !important; }
.dl-souls-head .dl-chart-legend { display: flex; gap: 1rem; color: var(--dl-text-soft); font-size: 12px; }
.dl-souls-head .dl-chart-legend span::before { content: ""; display: inline-block; margin-right: .4rem; vertical-align: 1px; background: #c9d6d9; }
.dl-soul-key-kill::before { width: 7px; height: 7px; border-radius: 50%; }
.dl-soul-key-obj::before { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; }
.dl-soul-key-boss::before { width: 9px; height: 9px; border-radius: 50%; background: transparent !important; box-shadow: inset 0 0 0 2px #c9d6d9; }
.dl-soul-facts { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 1rem 0 0; }
.dl-soul-fact { display: grid; gap: .15rem; }
.dl-soul-fact span { color: var(--dl-text-soft); font-size: 12px; }
.dl-soul-fact strong { display: flex; align-items: baseline; gap: .4rem; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.dl-soul-fact strong i { width: .6rem; height: .6rem; border-radius: 2px; align-self: center; }
.dl-soul-fact strong i::before { display: none; }
.dl-soul-fact .dl-key-a { background: hsl(var(--dl-a)); }
.dl-soul-fact .dl-key-b { background: hsl(var(--dl-b)); }
.dl-soul-fact small { color: var(--dl-text-soft); font-size: 12px; font-weight: 500; }
.dl-souls-plot { margin-top: 1rem; }
.dl-souls-axis { position: relative; display: block !important; height: 240px; }
.dl-souls-axis span { position: absolute; right: 0; transform: translateY(-50%); line-height: 1; }
.dl-souls-visual svg { height: 240px; }
.dl-soul-vgrid { stroke: #536066; stroke-opacity: .18; }
.dl-soul-grid { stroke-dasharray: none; stroke-opacity: .16; }
.dl-soul-zero { stroke: #9aa8ad; stroke-opacity: .55; }
.dl-soul-stop-a { stop-color: hsl(var(--dl-a)); stop-opacity: .5; }
.dl-soul-stop-b { stop-color: hsl(var(--dl-b)); stop-opacity: .5; }
.dl-soul-stop-a.is-faint, .dl-soul-stop-b.is-faint { stop-opacity: .04; }
.dl-soul-area-a { fill: url(#dl-soul-fill-a); }
.dl-soul-area-b { fill: url(#dl-soul-fill-b); }
.dl-soul-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.dl-soul-line-a { stroke: hsl(var(--dl-a)); }
.dl-soul-line-b { stroke: hsl(var(--dl-b)); }
.dl-soul-dot { position: absolute; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #121c20; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; }
.dl-souls-interactive.is-active .dl-soul-dot { opacity: 1; }
.dl-soul-peak { position: absolute; z-index: 1; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; pointer-events: none; }
.dl-soul-peak-a { background: hsl(var(--dl-a)); box-shadow: 0 0 0 3px hsl(var(--dl-a) / .25); }
.dl-soul-peak-b { background: hsl(var(--dl-b)); box-shadow: 0 0 0 3px hsl(var(--dl-b) / .25); }
.dl-soul-peak b { position: absolute; left: 50%; transform: translateX(-50%); padding: .1rem .35rem; border-radius: 5px; background: #0d1517e6; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-soul-peak-a b { bottom: 14px; color: hsl(var(--dl-a)); }
.dl-soul-peak-b b { top: 14px; color: hsl(var(--dl-b)); }
.dl-soul-peak.is-right b { left: auto; right: -4px; transform: none; }
.dl-souls-interactive.is-active .dl-soul-peak b { opacity: .25; }
.dl-soul-tooltip ul { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .15rem; }
.dl-soul-tooltip ul:empty { display: none; }
.dl-soul-tooltip li { font-size: 12px; color: #dfe9eb; }
.dl-soul-tooltip li time { margin-right: .4rem; }
.dl-soul-tip-a::before, .dl-soul-tip-b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .35rem; border-radius: 50%; vertical-align: 1px; }
.dl-soul-tip-a::before { background: hsl(var(--dl-a)); }
.dl-soul-tip-b::before { background: hsl(var(--dl-b)); }
.dl-soul-lanes { display: grid; gap: 2px; margin-top: .55rem; }
.dl-soul-lane { position: relative; display: grid; }
.dl-soul-lane > div { position: relative; height: 18px; border-radius: 4px; background: hsl(var(--muted) / .25); }
.dl-soul-lane-name { position: absolute; right: calc(100% + .7rem); top: 50%; transform: translateY(-50%); max-width: 4.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dl-text-soft); font-size: 11.5px; font-weight: 650; }
.dl-soul-lane-name::before { display: none !important; }
.dl-soul-ev { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.dl-soul-ev-kill { width: 6px; height: 6px; border-radius: 50%; opacity: .85; }
.dl-soul-ev-obj { width: 8px; height: 8px; border-radius: 1px; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 2px #121c20; }
.dl-soul-ev-core { width: 11px; height: 11px; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 2px #121c20; }
.dl-soul-ev-boss { width: 11px; height: 11px; border-radius: 50%; background: transparent !important; box-shadow: inset 0 0 0 2.5px currentColor, 0 0 0 2px #121c20; }
.dl-soul-ev-a { background: hsl(var(--dl-a)); color: hsl(var(--dl-a)); }
.dl-soul-ev-b { background: hsl(var(--dl-b)); color: hsl(var(--dl-b)); }
.dl-souls-note { font-size: 12.5px; }
@media (max-width: 640px) {
  .dl-souls-axis, .dl-souls-visual svg { height: 180px; }
  .dl-soul-facts { gap: .5rem 1.2rem; }
  .dl-soul-fact strong { font-size: .95rem; }
  .dl-soul-lane-name { max-width: 2.8rem; font-size: 11px; }
  .dl-souls-head .dl-chart-legend { gap: .7rem; }
}

/* death map: the map itself readable under the dots, the list as tall as the map */
.dl-deaths .dl-minimap { background: radial-gradient(circle at 50% 50%, #1b2a2e, #0e1618 75%); }
.dl-deaths .dl-minimap img { filter: invert(1); opacity: .2; }
.dl-death-dot::before { inset: 7px; box-shadow: 0 0 0 2px #081114, 0 0 10px 1px currentColor; }
.dl-death-dot-a { color: hsl(var(--dl-a) / .6); }
.dl-death-dot-b { color: hsl(var(--dl-b) / .6); }
.dl-deaths-list { max-height: 330px; }
.dl-deaths-selected { padding: .7rem .9rem !important; }

/* finished series as one line each */
.dl-mrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dl-mrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) 60px minmax(0, 1fr) minmax(0, 300px) 92px; gap: .75rem; align-items: center; min-height: 46px; padding: .35rem .9rem; border-radius: 9px; background: var(--dl-surface); color: inherit; text-decoration: none; transition: background .12s; }
.dl-mrow:hover { background: var(--dl-surface-raised); }
.dl-mrow-time { color: var(--dl-text-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.dl-mrow-team { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; min-width: 0; color: var(--dl-text-soft); font-weight: 550; }
.dl-mrow-team.is-b { justify-content: flex-start; }
.dl-mrow-team > span:not(.dl-logo) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-mrow-team.is-win { color: hsl(var(--foreground)); font-weight: 750; }
.dl-mrow-team .dl-sc-logo { flex: none; }
.dl-mrow-score { text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; }
.dl-mrow.is-draw .dl-mrow-score { color: var(--dl-text-soft); }
.dl-mrow-event { display: flex; align-items: center; gap: .5rem; min-width: 0; color: var(--dl-text-soft); font-size: 13px; }
.dl-mrow-event > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-mrow-extra { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; color: var(--dl-text-soft); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-mrow-tag { padding: .1rem .4rem; border-radius: 5px; background: hsl(var(--muted) / .6); font-size: 12px; }
.dl-event-page .dl-mrow { grid-template-columns: 112px minmax(0, 1fr) 60px minmax(0, 1fr) minmax(0, 200px) 92px; }
@media (max-width: 900px) {
  .dl-mrow, .dl-event-page .dl-mrow { grid-template-columns: 46px minmax(0, 1fr) 48px minmax(0, 1fr) 70px; }
  .dl-mrow-event { display: none; }
  .dl-event-page .dl-mrow { grid-template-columns: 70px minmax(0, 1fr) 48px minmax(0, 1fr) 64px; }
}
@media (max-width: 560px) {
  .dl-mrow, .dl-event-page .dl-mrow { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-template-areas: "time time extra" "a score b"; row-gap: .3rem; gap: .3rem .5rem; padding: .5rem .65rem; }
  .dl-mrow-time { grid-area: time; font-size: 12px; }
  .dl-mrow-extra { grid-area: extra; }
  .dl-mrow > .dl-mrow-team:not(.is-b) { grid-area: a; }
  .dl-mrow > .dl-mrow-team.is-b { grid-area: b; }
  .dl-mrow-score { grid-area: score; }
  .dl-mrow-team { font-size: 14px; }
}

/* rating and points history with a scale */
.dl-hist { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .6rem; margin-top: .8rem; }
.dl-hist-axis { position: relative; height: 200px; color: var(--dl-text-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.dl-hist-axis span { position: absolute; right: 0; transform: translateY(-50%); line-height: 1; }
.dl-hist-plot { position: relative; height: 200px; cursor: crosshair; }
.dl-hist-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dl-hist-grid { stroke: #536066; stroke-opacity: .2; }
.dl-hist-vgrid { stroke: #536066; stroke-opacity: .12; }
.dl-hist-line { fill: none; stroke: hsl(var(--primary)); stroke-width: 2.25; stroke-linejoin: round; }
.dl-hist-cursor { stroke: #e7f2f4; stroke-opacity: .5; stroke-dasharray: 3 4; opacity: 0; }
.dl-hist-mark { position: absolute; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .25); pointer-events: none; }
.dl-hist-mark b { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); padding: .1rem .35rem; border-radius: 5px; background: #0d1517e6; color: hsl(var(--foreground)); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-hist-mark.is-peak { background: #f2f7f8; box-shadow: 0 0 0 3px #f2f7f833; }
.dl-hist-mark.is-peak b { color: var(--dl-text-soft); font-weight: 600; }
.dl-hist-mark.is-right b { left: auto; right: 2px; transform: none; }
.dl-hist-mark.is-left b { left: -4px; transform: none; }
.dl-hist-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #121c20; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; }
.dl-hist-tip { position: absolute; top: -.4rem; transform: translate(-50%, -100%); display: grid; gap: .1rem; padding: .4rem .6rem; border-radius: 6px; background: #19282e; box-shadow: 0 8px 24px #0008; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 2; }
.dl-hist-tip time { color: #b6c7cc; }
.dl-hist-tip strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.dl-hist.is-active .dl-hist-dot, .dl-hist.is-active .dl-hist-tip, .dl-hist.is-active .dl-hist-cursor { opacity: 1; }
.dl-hist.is-active .dl-hist-mark b { opacity: .2; }
.dl-hist-ticks { grid-column: 2; position: relative; height: 1.4rem; margin-top: .45rem; color: var(--dl-text-soft); font-size: 12px; }
.dl-hist-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.dl-hist-ticks .is-first { left: 0; transform: none; }
.dl-hist-ticks .is-last { right: 0; transform: none; }
.rating-card-form .dl-hist + .rating-card-dates { display: none; }
@media (max-width: 640px) { .dl-hist-axis, .dl-hist-plot { height: 160px; } .dl-hist { grid-template-columns: 2.8rem minmax(0, 1fr); } .dl-hist-ticks span:not(.is-first):not(.is-last):nth-child(even) { display: none; } }

/* meta: share bars and one-line wins */
.dl-meta-table td.is-num strong { display: inline-block; min-width: 2.6rem; }
.dl-meta-bar { display: inline-block; width: 64px; height: 5px; margin-left: .55rem; border-radius: 3px; background: hsl(var(--muted) / .5); vertical-align: middle; overflow: hidden; }
.dl-meta-bar i { display: block; height: 100%; border-radius: 3px; }
.dl-meta-bar.is-pick i { background: hsl(var(--primary)); }
.dl-meta-bar.is-ban i { background: hsl(var(--dl-b)); }
.dl-meta-win { display: inline-flex; align-items: baseline; gap: .5rem; }
.dl-meta-win small { color: var(--dl-text-soft); font-size: 12px; min-width: 4.5rem; text-align: left; }
.dl-meta-table .is-positive { color: #4ade80; }
.dl-meta-table .is-negative { color: #f87171; }
.dl-shell .dl-meta-table td, .dl-shell .dl-meta-table th { padding-top: .45rem !important; padding-bottom: .45rem !important; }
/* meta tiles across the whole row */
.dl-meta-page .dl-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.dl-tiles .dl-tile { min-height: 0 !important; height: 170px; }
@media (max-width: 760px) { .dl-meta-page .dl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .dl-meta-bar { display: none; } .dl-tiles .dl-tile { height: 140px; } }

/* hero: items as bars in two columns */
.dl-item-rates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 1.5rem; }
.dl-item-rates li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 110px 42px 42px; gap: .6rem; align-items: center; padding: .4rem .5rem; border-radius: 8px; }
.dl-item-rates li:hover { background: var(--dl-surface); }
.dl-item-rate-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.dl-item-rate-bar { height: 6px; border-radius: 3px; background: hsl(var(--muted) / .5); overflow: hidden; }
.dl-item-rate-bar i { display: block; height: 100%; border-radius: 3px; background: hsl(var(--primary)); }
.dl-item-rates b, .dl-item-rate-win { text-align: right; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.dl-item-rate-win { color: var(--dl-text-soft); }
.dl-item-rate-win.is-positive { color: #4ade80; }
.dl-item-rate-win.is-negative { color: #f87171; }
.dl-item-rates-legend { display: flex; justify-content: flex-end; gap: 1.2rem; margin: .5rem .5rem 0; color: var(--dl-text-soft); font-size: 12px; }
@media (max-width: 900px) { .dl-item-rates { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .dl-item-rates li { grid-template-columns: 26px minmax(0, 1fr) 60px 38px 38px; gap: .45rem; } }

/* spacing and density */
.dl-events-page .crs-directory + .crs-directory { margin-top: 2rem; }
.dl-sc-tag.is-quiet { color: var(--dl-text-soft) !important; background: transparent !important; text-transform: none; letter-spacing: 0; font-weight: 600; }
.dl-hevent .dl-sc-tag { white-space: nowrap; }
.dl-shell .dl-event-page .rating-card-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
.dl-shell .dl-kpis > div, .dl-shell .dl-event-page .rating-card-stats > div { padding-top: .7rem !important; padding-bottom: .75rem !important; }
.dl-shell .dl-kpis dd, .dl-shell .dl-event-page .rating-card-stats dd { margin-top: .2rem; }
.dl-rating-page .crs-table td { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.dl-team-page .dl-tiles .dl-tile, .dl-home .dl-tiles .dl-tile { height: 160px; }
.dl-shell .dl-meta-table .crs-table td { height: 46px; padding-block: .3rem !important; }
.dl-shell .dl-rating-page .crs-table td { height: 52px; }
.dl-hero-subhead { margin-top: 1.6rem !important; }
.dl-shell .dl-event-page .rating-card-hero { min-height: 0 !important; padding-block: 1.6rem !important; }
.dl-hist-mark b:empty { display: none; }

/* scroll pass (15.11): nothing shows above the header under a translucent browser bar */
.dl-header { padding-top: env(safe-area-inset-top, 0px); }
.dl-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: rgb(7, 12, 14); pointer-events: none; }
/* hero tiles: the label on its own dark band, readable over any art */
.dl-tile-art { height: 70%; }
.dl-tile-copy { position: relative; padding-top: 1.4rem; background: linear-gradient(180deg, transparent, rgba(9, 13, 15, .82) 38%, rgba(9, 13, 15, .92)); }
.dl-tile-copy > span { text-transform: none; letter-spacing: 0; font-size: 12.5px !important; font-weight: 650; color: #c3d0d3; }
.dl-tile-copy strong { font-size: 1.7rem; }
/* Keep metric labels readable even when the cards narrow between breakpoints. */
.dl-shell .dl-kpis dt, .dl-shell .rating-card-stats dt {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
/* a wide table shows it scrolls by a fade at its edge, not by a hint */
@media (max-width: 760px) {
  .dl-table, .dl-meta-page .crs-table-wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .dl-table.is-scrolled-end, .dl-meta-page .crs-table-wrap.is-scrolled-end { -webkit-mask-image: none; mask-image: none; }
  .dl-tiles .dl-tile { height: 130px; }
  .dl-tile-copy { padding: 1rem .5rem .7rem; }
  .dl-tile-copy strong { font-size: 1.45rem; }
  .dl-tile-copy > span { font-size: 12px !important; line-height: 1.25; }
}
@media (max-width: 760px) {
  .dl-meta-win { flex-direction: column; align-items: flex-start; gap: 0; }
  .dl-meta-win small { min-width: 0; }
}
@media (max-width: 760px) { .dl-shell .dl-meta-table .crs-table td { height: auto; } }
@media (max-width: 640px) { .dl-hist-ticks span:nth-last-child(2):not(.is-first) { display: none; } }

/* Premium presentation: solid reading surfaces, editorial artwork and task-first mobile layouts. */
.dl-shell { --dl-surface: #10191d; --dl-surface-raised: #172329; --dl-text-soft: #b6c7cd; --dl-line: #ffffff17; }
.dl-shell .shell-body { --dl-atmosphere: #14364040; background: radial-gradient(ellipse 80% 340px at 80% 0, var(--dl-atmosphere), transparent), linear-gradient(180deg, #080e10d9, #080b0cf5 320px, #080b0c 600px), url('deadlock-background.jpg?v=2') center top / max(1500px, 100%) auto no-repeat, #080b0c; }
.dl-shell .shell-body:has(.dl-news-page), .dl-shell .shell-body:has(.dl-events-page),
.dl-shell .shell-body:has(.dl-matches-page), .dl-shell .shell-body:has(.dl-live-page),
.dl-shell .shell-body:has(.dl-rating-page), .dl-shell .shell-body:has(.dl-meta-page) {
  background: radial-gradient(ellipse 80% 340px at 80% 0, var(--dl-atmosphere), transparent), linear-gradient(180deg, #080e10db, #080b0cf5 300px, #080b0c 560px), url('deadlock-background.jpg?v=2') center top / max(1500px, 100%) auto no-repeat, #080b0c;
}
.dl-shell .shell-body:has(.dl-news-page) { --dl-atmosphere: #69472b40; }
.dl-shell .shell-body:has(.dl-events-page, .dl-event-page) { --dl-atmosphere: #5b552b38; }
.dl-shell .shell-body:has(.dl-live-page, .dl-match-page) { --dl-atmosphere: #104c5a50; }
.dl-shell .dl-sc { background: #111b20; border: 1px solid var(--dl-line); }
.dl-shell .dl-sc:hover { background: #19282e; }
.dl-shell .dl-sc.is-live { background: #123039; }
.dl-shell :is(.dl-pod, .crs-leader, .dl-pcard, .dl-hero-card, .rating-card-hero, .dl-match-hero) { clip-path: none; border-radius: 14px; }
.dl-shell :is(.market-input, .market-select, .crs-search input) { clip-path: none; border-radius: 9px; }
.dl-shell :is(a, button, summary, select, input):focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 4px; }
.dl-shell ::selection { background: #1d5666; color: #fff; }
.dl-shell :is(input, textarea) { caret-color: hsl(var(--primary)); }
.dl-shell :is(.dl-table, .dl-strip, .rating-card-tabs) { scrollbar-color: #526970 #10191d; scrollbar-width: thin; }
.dl-home-grid { grid-template-areas: 'rank news agenda'; }
.dl-home-grid > .dl-home-rankings { grid-area: rank; }
.dl-home-grid > .dl-home-news-col { grid-area: news; }
.dl-home-grid > .dl-home-agenda { grid-area: agenda; }
.dl-home-grid > .dl-home-col { min-width: 0; }
.dl-editorial-art { display: flex; align-items: center; justify-content: center; gap: 1.5rem; overflow: hidden; background: linear-gradient(145deg, #193c48, #111e25 75%); color: #e9f6f8; }
.dl-editorial-art.is-team { background: linear-gradient(145deg, #163c43, #101c22 75%); }
.dl-editorial-art::after { display: none; }
.dl-editorial-logo { display: inline-flex; align-items: center; justify-content: center; width: 60%; height: 60%; flex: none; }
.dl-editorial-logo img { width: 100%; height: 100%; object-fit: contain; }
.dl-editorial-monogram { font-size: 1rem; font-weight: 800; letter-spacing: -.025em; }
.dl-editorial-copy { display: none; min-width: 0; }
.dl-editorial-art.is-big, .dl-home-news .is-lead .dl-editorial-art { padding: 1.4rem 1.7rem; justify-content: flex-start; min-height: 180px; }
.dl-editorial-art.is-big .dl-editorial-logo, .dl-home-news .is-lead .dl-editorial-logo { width: 88px; height: 100px; }
.dl-editorial-art.is-big .dl-editorial-monogram, .dl-home-news .is-lead .dl-editorial-monogram { font-size: 2.6rem; color: #8ab7c4; }
.dl-editorial-art.is-big .dl-editorial-copy, .dl-home-news .is-lead .dl-editorial-copy { display: grid; gap: .5rem; }
.dl-editorial-copy strong { font-size: clamp(1.1rem, 2vw, 1.8rem); line-height: 1.18; letter-spacing: -.025em; overflow-wrap: break-word; text-wrap: balance; }
.dl-editorial-copy small { color: #b6d0d8; font-size: .8rem; }
.dl-news-feature-image .dl-editorial-art { display: flex; width: 100%; height: 100%; min-height: 240px; }
.dl-home-news .is-lead .dl-news-art { aspect-ratio: 16 / 7; }
.dl-shell .dl-event-emblem { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 12px; background: #18343e; color: #ccebf1; font-size: 1.4rem; font-weight: 800; }
.dl-shell .dl-event-page .rating-card-identity-text p { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.dl-shell .dl-event-page .rating-card-rating { max-width: 320px; }
.dl-shell .dl-event-page .rating-card-number strong { font-size: 1.5rem; }
.dl-event-history { border-top: 1px solid var(--dl-line); padding-top: .25rem; }
.dl-event-history summary { padding: 1rem .2rem; cursor: pointer; font-weight: 700; font-size: 1rem; }
.dl-event-history summary span { color: var(--dl-text-soft); font-size: .8rem; margin-left: .5rem; }
.dl-shell .dl-match-hero { padding: 1.1rem 1.25rem; }
.dl-shell .dl-match-team .dl-logo-xl { width: 76px !important; height: 76px !important; }
.dl-shell .dl-match-team h1 { margin: .4rem 0 0; font-size: 1.35rem; line-height: 1.25; overflow-wrap: break-word; word-break: normal; }
.dl-match-team::before { display: none; }
.dl-match-award { margin: .5rem 0 0; color: var(--dl-text-soft); font-size: .8rem; text-align: center; }
.dl-shell .dl-match-draft { padding: .9rem 1.1rem; }
.dl-draft-picks { margin: 0; }
.dl-shell .dl-draft-picks > div { gap: .5rem; padding-block: .3rem; }
.dl-shell .dl-draft-picks .dl-chip { padding: .2rem .4rem; }
.dl-draft-more { border-top: 1px solid var(--dl-line); margin-top: .6rem; }
.dl-draft-more summary { color: var(--dl-text-soft); cursor: pointer; padding: .65rem 0 .15rem; font-size: .8rem; }
.dl-shell .dl-match-maps { padding: .65rem 1rem 0; }
.dl-shell .dl-match-maps h2 { font-size: .95rem; margin-bottom: .35rem; }
.dl-board-cards, .dl-score-history { display: none; }
.dl-score-trend-desktop { width: 100%; }
.dl-score-trend-desktop .rating-card-spark { width: 100%; }
.dl-shell .dl-pcard { background: linear-gradient(140deg, #14252b, #10191d); }
.dl-pcard.has-art::after { background: linear-gradient(90deg, #0e191df5 10%, #0e191dba 55%, #0e191d55); }
.dl-pcard-face .dl-hero-empty { background: #213b43; color: #d8e9ed; }
@media (max-width: 1100px) {
  .dl-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'news news' 'rank agenda'; }
  .dl-home-grid > .dl-home-rankings { grid-area: rank; }
  .dl-home-grid > .dl-home-news-col { grid-area: news; }
  .dl-home-grid > .dl-home-agenda { grid-area: agenda; }
}
@media (max-width: 760px) {
  .dl-home-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'news' 'agenda' 'rank'; gap: 1.5rem; }
  .dl-home-news > li:not(:first-child), .dl-home-rankings .dl-hlist > li:nth-child(n+4) { display: none; }
  .dl-shell .dl-home-news .is-lead .dl-editorial-art { min-height: 140px; }
  .dl-shell .dl-player-profile .dl-hero-card { padding: 1rem; gap: .8rem; }
  .dl-shell .dl-player-profile .dl-hero-id { align-items: flex-start; gap: .75rem; }
  .dl-shell .dl-player-profile .dl-avatar { width: 64px; height: 76px; border-radius: 10px; }
  .dl-shell .dl-player-profile .dl-hero-text h1 { font-size: 1.7rem; }
  .dl-shell .dl-player-profile .dl-eyebrow { font-size: .7rem; margin-bottom: .25rem; }
  .dl-shell .dl-player-profile .dl-hero-sub { gap: .5rem; }
  .dl-shell .dl-player-profile .dl-hero-sub .dl-share { font-size: .75rem; }
  .dl-shell .dl-player-profile .dl-hero-score { width: 100%; border: 0; border-top: 1px solid var(--dl-line); padding: .7rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; }
  .dl-player-profile .dl-hero-score > span { grid-column: 1; align-self: center; }
  .dl-shell .dl-player-profile .dl-hero-score > strong { grid-column: 2; grid-row: 1 / 3; font-size: 2rem; }
  .dl-player-profile .dl-hero-score > small { grid-column: 1; }
  .dl-score-trend-desktop { display: none; }
  .dl-score-history { display: block; grid-column: 1 / -1; width: 100%; color: var(--dl-text-soft); }
  .dl-score-history summary { cursor: pointer; padding-top: .4rem; font-size: .75rem; }
  .dl-score-history .rating-card-spark { width: 100%; max-width: none; height: 64px; margin-top: .75rem; }
  .dl-shell .dl-kpis { gap: .5rem; }
  .dl-shell .dl-kpis > div { padding: .65rem .75rem !important; }
  .dl-shell .dl-kpis dt { min-height: 2.7em; }
  .dl-shell .dl-kpis dd { font-size: 1.35rem; }
  .dl-shell .crs-leaders .crs-leader { min-height: 0; padding: .75rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
  .dl-shell .crs-leader-score { margin: 0; }
  .dl-shell .crs-leader-kd { font-size: .75rem; }
  .dl-shell .dl-match-teams { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: .5rem; align-items: center; }
  .dl-shell .dl-match-team .dl-logo-xl { width: 48px !important; height: 48px !important; }
  .dl-shell .dl-match-team h1 { font-size: .95rem; line-height: 1.3; hyphens: none; overflow-wrap: break-word; }
  .dl-shell .dl-match-score strong { font-size: 2rem; }
  .dl-shell .dl-match-event { font-size: .7rem; margin-bottom: .7rem; gap: .35rem .6rem; }
  .dl-shell .dl-match-hero { padding: .85rem .7rem; }
  .dl-shell .dl-match-award { font-size: .75rem; }
  .dl-shell .dl-match-draft { padding: .75rem; }
  .dl-shell .dl-match-section-head h2 { font-size: 1rem; }
  .dl-shell .dl-draft-picks { grid-template-columns: 1fr; gap: .4rem; }
  .dl-shell .dl-draft-picks > div { grid-template-columns: 1fr; gap: .25rem; }
  .dl-shell .dl-draft-picks dt { font-size: .75rem; }
  .dl-match-board .dl-board { display: none; }
  .dl-board-cards { display: grid; gap: .5rem; }
  .dl-board-player { background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: 12px; padding: .7rem; min-width: 0; }
  .dl-board-player-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .65rem; align-items: center; }
  .dl-board-player-main > span:not(.dl-who) { display: grid; text-align: right; gap: .15rem; font-size: .8rem; font-variant-numeric: tabular-nums; }
  .dl-board-player-main .dl-who { min-width: 0; gap: .45rem; font-size: .85rem; }
  .dl-board-player-main .dl-who > span { min-width: 0; overflow-wrap: anywhere; }
  .dl-board-player-main small { color: var(--dl-text-soft); font-size: .68rem; }
  .dl-board-player summary { cursor: pointer; color: var(--dl-text-soft); font-size: .75rem; padding-top: .6rem; }
  .dl-board-player dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .8rem 0; font-size: .8rem; }
  .dl-board-player dt { color: var(--dl-text-soft); }
  .dl-board-player dd { margin: .15rem 0 0; font-weight: 600; }
  .dl-board-total { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; color: var(--dl-text-soft); font-size: .8rem; }
  .dl-live-heading h1 { font-size: 1.6rem; overflow-wrap: break-word; }
  .dl-live-score { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'clock clock' 'a b'; gap: 1rem; padding: 1rem; }
  .dl-live-score > div:first-child { grid-area: a; }
  .dl-live-score > div:last-child { grid-area: b; }
  .dl-live-score .dl-live-clock { grid-area: clock; border-bottom: 1px solid var(--dl-line); padding-bottom: .9rem; }
  .dl-live-score > div > span { font-size: 1rem; line-height: 1.3; overflow-wrap: break-word; }
  .dl-live-score .dl-live-clock > span { font-size: .8rem; }
  .dl-live-score .dl-live-clock > span:empty { display: none; }
  .dl-live-score > div > strong { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .dl-shell * { scroll-behavior: auto !important; transition: none !important; } }

.dl-shell .dl-directory .crs-header { margin-bottom: 1rem; }
.dl-directory-controls {
  display: grid;
  gap: .8rem;
  padding: .75rem;
  margin-bottom: 1.8rem;
  background: var(--dl-surface);
}
.dl-directory-scopes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--dl-line);
}
.dl-directory-scopes button {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .4rem .85rem;
  border-radius: 5px;
  color: var(--dl-text-soft);
  font-size: .85rem;
  font-weight: 650;
}
.dl-directory-scopes button:hover, .dl-directory-scopes button[aria-pressed="true"] {
  background: var(--dl-surface-raised);
  color: var(--dl-paper);
}
.dl-directory-scopes button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--dl-paper); }
.dl-directory-scopes button span { opacity: .75; font-variant-numeric: tabular-nums; font-size: .75rem; }
.dl-directory-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; min-width: 0; }
.dl-directory-search {
  flex: 1 1 245px;
  min-width: 0;
  max-width: 350px;
}
.dl-directory-tools .dl-chip-row button { background: var(--dl-surface-raised); }
.dl-directory-reset { color: var(--dl-paper); font-size: .82rem; padding: .38rem .25rem; text-decoration: underline; text-underline-offset: .22em; }
.dl-directory :is(button, a):focus-visible { outline: 2px solid var(--dl-paper); outline-offset: 3px; }
.dl-directory-empty {
  padding: 1.3rem 1rem;
  color: var(--dl-text-soft);
  background: var(--dl-surface);
  font-size: .9rem;
}
.dl-shell .dl-directory .crs-directory + .crs-directory { margin-top: 1.8rem; }
.dl-directory .crs-directory-head h2 { display: flex; align-items: center; gap: .6rem; }
.dl-directory .dl-result-day + .dl-result-day { margin-top: .9rem; }
.dl-directory .dl-result-day .dl-day-head {
  margin: 0 0 .4rem;
  color: var(--dl-paper);
  font-size: .8rem;
}
.dl-directory .dl-mrows, .dl-directory .dl-elist {
  gap: 0;
  background: var(--dl-surface);
}
.dl-directory :is(.dl-mrows, .dl-elist) > li + li { border-top: 1px solid var(--dl-line); }
.dl-directory :is(.dl-mrow, .dl-erow) { min-height: 52px; padding: .55rem .9rem; background: transparent; }
.dl-directory :is(.dl-mrow, .dl-erow):hover { background: var(--dl-surface-raised); }
.dl-directory .dl-mrow-score { font-size: 1.1rem; }
.dl-directory .dl-ecards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 295px), 1fr)); }
.dl-directory .dl-ecard { gap: .45rem; }
.dl-directory .dl-ecard-name { margin-top: .35rem; font-size: 1.1rem; overflow-wrap: anywhere; }
.dl-directory .dl-ecard-org { color: var(--dl-text-soft); font-size: .8rem; }
.dl-directory .dl-ecard-meta { margin-top: .35rem; }
.dl-directory .dl-ecard-top time { white-space: normal; text-align: right; }
.dl-directory .dl-erow-label { display: none; }
.dl-directory .dl-erow-name b, .dl-directory .dl-erow-name small { white-space: normal; overflow-wrap: anywhere; }
.dl-shell .dl-directory .dl-sc-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; }
.dl-shell .dl-directory .dl-sc-meta > .dl-sc-tag { grid-column: 1 / -1; font-size: .72rem; }
.dl-shell .dl-directory .dl-sc-meta > span:not(.dl-tier):not(.dl-sc-tag) { font-size: .83rem; }
.dl-directory .dl-sc-meta time { font-size: .76rem; white-space: nowrap; }

@media (max-width: 760px) {
  .dl-directory .dl-directory-search { max-width: none; }
  .dl-directory-controls { margin-bottom: 1.15rem; }
}
@media (max-width: 640px) {
  .dl-directory-scopes button { padding-inline: .55rem; font-size: .8rem; }
  .dl-events-page .dl-directory-scopes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dl-events-page .dl-directory-scopes button { padding-inline: .2rem; gap: .2rem; font-size: .75rem; }
  .dl-directory .dl-erow { grid-template-columns: 26px minmax(0, 1fr) minmax(0, .65fr); row-gap: .55rem; }
  .dl-directory .dl-erow-name { grid-column: 2 / -1; }
  .dl-directory .dl-erow-win { flex-wrap: wrap; grid-column: 2 / -1; }
  .dl-directory .dl-erow-prize { grid-column: 2; }
  .dl-directory :is(.dl-erow-prize, .dl-erow-size) { display: flex; flex-direction: column; text-align: left; font-size: .78rem; }
  .dl-directory .dl-erow-label { display: block; color: var(--dl-text-soft); font-size: .7rem; }
  .dl-directory .dl-mrow {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    grid-template-areas: "event event time" "a score b" "extra extra extra";
    padding: .65rem;
    row-gap: .45rem;
  }
  .dl-directory .dl-mrow-time { justify-self: end; }
  .dl-directory .dl-mrow-event { display: flex; grid-area: event; font-size: .74rem; }
  .dl-directory .dl-mrow-event .dl-tier { min-width: 1.35rem; height: 1.35rem; font-size: .72rem; }
  .dl-directory .dl-mrow-extra:empty { display: none; }
  .dl-directory .dl-mrow-team { gap: .3rem; font-size: .8rem; }
  .dl-directory .dl-mrow-team > span:not(.dl-logo) { white-space: normal; overflow-wrap: anywhere; }
  .dl-directory .dl-sc-meta { column-gap: .35rem; }
}
@media (max-width: 350px) {
  .dl-events-page .dl-directory-scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
