/* Original app/home-dashboard.css; scoped, not redesigned. */
@scope (.platform-ui) {
:scope:has(> :scope > .hd-sidebar) { scrollbar-gutter: stable; }
:scope:has(> .hd-sidebar) {
  margin-left: var(--hd-sidebar-width-current);
  --hd-sidebar-width-expanded: 184px;
  --hd-sidebar-width-collapsed: 64px;
  --hd-sidebar-width-current: var(--hd-sidebar-width-expanded);
  --hd-shell-inset: 24px;
  --hd-shell-top: 12px;
  --hd-shell-max: 1660px;
  --hd-subpage-gap-desktop: 170px;
  --hd-bg: #f7f9fc;
  --hd-surface: #fff;
  --hd-soft: #f8fafc;
  --hd-text: var(--text-secondary);
  --hd-secondary: var(--text-secondary);
  --hd-muted: var(--text-secondary);
  --hd-line: var(--border-soft);
  --hd-border: var(--border-soft);
  --hd-blue: var(--accent-primary);
}
.hd-sidebar,
:scope:has(> .hd-sidebar),
:scope:has(> .hd-sidebar) > .topbar,
:scope:has(> .hd-sidebar) :is(.pageWrap,.authPage) {
  transition: margin-left .2s ease, width .2s ease, padding .2s ease;
}
.hd {
  min-height: 100vh;
  background: var(--hd-bg);
  color: var(--hd-text);
  font-family: Inter, Pretendard, "Noto Sans KR", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) {
  --hd-bg: var(--surface-elevated);
  --hd-surface: var(--surface-elevated);
  --hd-soft: var(--surface-elevated);
  --hd-text: var(--text-secondary);
  --hd-secondary: var(--text-secondary);
  --hd-muted: var(--text-secondary);
  --hd-line: var(--border-soft);
  --hd-border: var(--border-soft);
}
:scope:has(> .hd-sidebar) > .topbar {
  width: 100%;
  height: 66px;
  margin-left: 0;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hd-header-sidebar-search { display: flex; align-items: center; min-width: 0; }
.hd-header-sidebar-toggle { display: none; }
:scope:has(> .hd-sidebar) > .topbar .brand,
:scope:has(> .hd-sidebar) > .topbar .nav { display: none; }
:scope:has(> .hd-sidebar) > .topbar .headerTools { width: 100%; justify-content: space-between; gap: 12px; }
:scope:has(> .hd-sidebar) > .topbar .hd-header-sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 408px;
  min-width: 0;
}
:scope:has(> .hd-sidebar) > .topbar .hd-header-sidebar-toggle { display: inline-flex; }
:scope:has(> .hd-sidebar) > .topbar .headerSearch { flex: 0 1 360px; width: min(360px, 38%); max-width: 360px; height: 38px; }
:scope:has(> .hd-sidebar) > .topbar .headerSearch .search { height: 38px; border: 1px solid var(--hd-border); border-radius: 8px; background: var(--hd-surface); padding: 0 12px 0 39px; font-size: 12px; line-height: 38px; }
:scope:has(> .hd-sidebar) > .topbar .headerSearch .search::placeholder { color: var(--hd-muted); }
:scope:has(> .hd-sidebar) > .topbar .headerSearchIcon { left: 12px; width: 19px; height: 19px; color: var(--hd-muted); }
:scope:has(> .hd-sidebar) > .topbar .headerSearchIcon svg { width: 19px; height: 19px; }
:scope:has(> .hd-sidebar) > .topbar .headerToolIcons { margin-left: auto; gap: 12px; }
:scope:has(> .hd-sidebar) > .topbar .hd-header-clock {
  order: -1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 106px;
  gap: 6px;
  color: var(--accent-primary);
  font-size: 11px;
  white-space: nowrap;
}
:scope:has(> .hd-sidebar) > .topbar .headerTools .iconButton,
:scope:has(> .hd-sidebar) > .topbar .headerTools .headerInbox,
:scope:has(> .hd-sidebar) > .topbar .headerTools .iconButton.themeToggle {
  border: 1px solid var(--hd-border);
  border-radius: 8px;
  background: var(--hd-surface);
  color: var(--hd-blue);
  box-shadow: none;
  transform: none;
}
:scope:has(> .hd-sidebar) > .topbar .headerTools .themeToggle svg { width: 18px; height: 18px; flex-basis: 18px; }
:scope:has(> .hd-sidebar) > .topbar .headerTools .headerInboxIcon,
:scope:has(> .hd-sidebar) > .topbar .headerTools .headerInboxIcon svg { width: 19px; height: 19px; flex-basis: 19px; }
:scope:has(> .hd-sidebar) > .topbar .mobileProfileLink svg { width: 18px; height: 18px; flex-basis: 18px; }
:scope:has(> .hd-sidebar) > .topbar .navToggle {
  display: none;
}
:scope:has(> .hd-sidebar) > .topbar .headerTools :is(.iconButton,.headerInbox):hover {
  border-color: var(--hd-border);
  background: var(--hd-soft);
  color: var(--hd-blue);
}
:scope:has(> .hd-sidebar) > .topbar .headerTools :is(.iconButton,.headerInbox):active { background: #dde6ff; }
:scope:has(> .hd-sidebar) > .topbar .headerTools :is(.iconButton,.headerInbox):focus-visible {
  outline: 2px solid var(--hd-blue);
  outline-offset: 2px;
}
:scope:has(> .hd-sidebar) > .topbar .profileMini { min-width: 0; max-width: 190px; padding: 0; gap: 8px; }
:scope:has(> .hd-sidebar) > .topbar .profileMini:has(.memberNickname) { min-height: 34px; height: 34px; }
:scope:has(> .hd-sidebar) > .topbar .profileMiniIdentity:has(.memberNickname) {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  grid-template-rows: 18px 14px;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  min-width: 0;
  text-align: left;
}
:scope:has(> .hd-sidebar) > .topbar .profileMiniNick { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; display: block; text-align: left; }
:scope:has(> .hd-sidebar) > .topbar .profileMiniTier { display: contents; }
:scope:has(> .hd-sidebar) > .topbar .profileMini .identityMeta { font-size: 9px; font-weight: 400; }
:scope:has(> .hd-sidebar) > .topbar .profileMini .identityMeta:not(.tierText) { color: var(--hd-muted); }
:scope:has(> .hd-sidebar) > .topbar .profileMiniTier .identityMeta {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
:scope:has(> .hd-sidebar) > .topbar .profileMiniTier :is(.adminEmblem,.memberTierIcon,.tierIcon) {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  align-self: center;
}
:scope:has(> .hd-sidebar) > .topbar .headerAuthLogin,
:scope:has(> .hd-sidebar) > .topbar .hd-header-logout button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hd-blue);
  border-radius: 8px;
  background: var(--hd-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
:scope:has(> .hd-sidebar) > .topbar .hd-header-logout { margin: 0; }
:scope:has(> .hd-sidebar):has(.hd) > .footer .footerInner { width: calc(100% - 48px); max-width: none; }
:scope:has(> .hd-sidebar) :is(.pageWrap,.authPage) {
  width: min(var(--hd-shell-max), calc(100% - var(--hd-shell-inset) - var(--hd-shell-inset)));
  margin-top: var(--hd-shell-top);
}
.hd a { text-decoration: none; }
.hd-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 22;
  display: flex;
  flex-direction: column;
  width: var(--hd-sidebar-width-current);
  height: 100dvh;
  padding: 25px 14px 16px;
  overflow-y: auto;
  overflow-x: visible;
  border-right: 1px solid var(--hd-border);
  background: var(--hd-surface);
}
.hd-sidebar-top { margin-bottom: 18px; }
.hd-brand { display: block; min-width: 0; padding: 0 8px; margin-bottom: 0; color: var(--hd-text); line-height: 1; }
.hd-wordmark { display: inline-block; color: inherit; font-family: Arial, sans-serif; font-size: 27px; font-weight: 900; letter-spacing: -1.4px; line-height: 1; white-space: nowrap; }
.hd-wordmark > span { color: inherit; }
.hd-brand small { display: block; margin-top: 7px; color: var(--hd-muted); font-family: Arial, sans-serif; font-size: 7px; font-weight: 500; letter-spacing: 1.8px; line-height: 11px; }
:scope[data-theme="dark"] .hd-brand { color: #fff; }
.hd-caption { padding: 0 10px; margin-bottom: 10px; color: var(--hd-muted); font-size: 10px; letter-spacing: .08em; }
@media (min-width: 1024px) {
  :scope:has(> .hd-sidebar[data-collapsed="true"]) {
    --hd-sidebar-width-current: var(--hd-sidebar-width-collapsed);
  }
  .hd-brand { display: grid; grid-template-columns: max-content; justify-content: center; padding-inline: 10px; }
  .hd-brand small { margin-top: 11px; text-align: center; }
  .hd-sidebar-top + .hd-caption { text-align: center; }
  .hd-sidebar[data-collapsed="true"] { padding: 12px 8px 12px; }
  .hd-sidebar[data-collapsed="true"] .hd-sidebar-top { display: none; }
  .hd-sidebar[data-collapsed="true"] .hd-wordmark,
  .hd-sidebar[data-collapsed="true"] .hd-brand small,
  .hd-sidebar[data-collapsed="true"] .hd-caption,
  .hd-sidebar[data-collapsed="true"] .hd-nav-link > span,
  .hd-sidebar[data-collapsed="true"] .hd-nav-caret,
  .hd-sidebar[data-collapsed="true"] .hd-sidebar-notice > span,
  .hd-sidebar[data-collapsed="true"] .hd-support-copy,
  .hd-sidebar[data-collapsed="true"] .hd-support :is(a,button) > svg:last-child {
    display: none;
  }
  .hd-sidebar[data-collapsed="true"] .hd-sidebar-rule { margin: 6px 0 10px; }
  .hd-sidebar[data-collapsed="true"] .hd-nav { gap: 6px; margin-bottom: 12px; }
  .hd-sidebar[data-collapsed="true"] .hd-nav-group { position: relative; }
  .hd-sidebar[data-collapsed="true"] :is(.hd-nav-link,.hd-sidebar-notice) {
    justify-content: center;
    gap: 0;
    min-height: 44px;
    padding: 12px 10px;
  }
  .hd-sidebar[data-collapsed="true"] .hd-nav-submenu {
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    min-width: 188px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    border-left: 1px solid var(--hd-border);
    background: var(--hd-surface);
    box-shadow: 0 14px 28px rgb(18 26 40 / 12%);
  }
  .hd-sidebar[data-collapsed="true"] .hd-support {
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
  }
  .hd-sidebar[data-collapsed="true"] .hd-support :is(a,button) {
    grid-template-columns: 20px;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
  }
  .hd-sidebar[data-collapsed="true"] .hd-support-icon { margin-inline: auto; }
}
.hd-sidebar .hd-nav { display: grid; gap: 5px; margin-bottom: 18px; }
.hd-nav-link, .hd-sidebar-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--hd-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.hd-nav-link > svg:first-child { flex: 0 0 18px; color: var(--hd-blue); }
@media (hover: hover) and (pointer: fine) {
  .hd-nav-link:hover, .hd-sidebar-notice:hover { background: var(--hd-soft); }
}
.hd-nav-link.hd-active { border-color: var(--hd-blue); background: var(--hd-blue); color: #fff; }
.hd-nav-link.hd-active > svg { color: #fff; }
.hd-nav-disclosure.hd-active { border-color: transparent; background: #dde6ff; color: var(--hd-blue); }
.hd-nav-disclosure.hd-active > svg { color: var(--hd-blue); }
.hd-nav-caret { margin-left: auto; }
.hd-nav-disclosure[aria-expanded="true"] .hd-nav-caret { transform: scaleY(-1); }
.hd-nav-submenu { margin: 2px 0 6px 18px; padding: 0 0 0 10px; border-left: 1px solid var(--hd-line); list-style: none; }
.hd-nav-submenu[hidden] { display: none; }
.hd-nav-submenu a { display: flex; align-items: center; min-height: 36px; padding: 6px 8px; border-radius: 8px; color: var(--hd-secondary); font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
  .hd-nav-submenu a:hover { background: var(--hd-soft); }
}
.hd-nav-submenu a.hd-active { background: var(--hd-blue); color: #fff; font-weight: 600; }
.hd-nav-submenu-label { display: inline-flex; align-items: center; gap: 4px; }
.hd-nav-monogram { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb,var(--hd-blue) 12%,var(--hd-surface)); color: var(--hd-blue); font-size: 9px; font-weight: 750; line-height: 1; }
.hd-nav-submenu a.hd-active .hd-nav-monogram { background: rgb(255 255 255 / 20%); color: #fff; }
:scope[data-theme="dark"] .hd-nav-submenu a:not(.hd-active) .hd-nav-monogram { background: color-mix(in srgb,var(--hd-blue) 32%,var(--hd-surface)); color: var(--hd-text); }
.hd-sidebar-rule { height: 1px; margin: 0 10px 18px; border-top: 1px solid var(--hd-line); }
.hd-sidebar-notice { margin-top: 0; }
.hd-support { display: grid; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hd-line); }
.hd-support :is(a,button) { display: grid; grid-template-columns: 20px minmax(0,1fr) 12px; align-items: center; gap: 5px; width: 100%; min-height: 68px; padding: 9px 8px; border: 1px solid currentColor; border-radius: 10px; font: inherit; font-size: 11px; text-align: left; }
.hd-support :is(a,button) > span:nth-child(2) { min-width: 0; }
.hd-support-copy { min-width: 0; }
.hd-support-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgb(255 255 255 / 12%); }
.hd-support-lifetime .hd-support-icon { background: rgb(38 52 72 / 10%); }
.hd-support :is(a,button) strong, .hd-support :is(a,button) small { display: block; }
.hd-support :is(a,button) strong { font-size: 11px; font-weight: 600; letter-spacing: -.4px; line-height: 16px; overflow-wrap: anywhere; }
.hd-support :is(a,button) small { margin-top: 2px; font-size: 10px; line-height: 14px; }
.hd-support .hd-support-telegram { background: var(--hd-blue); border-color: var(--hd-blue); color: #fff; }
.hd-support .hd-support-lifetime { background: #f7d33c; border-color: #f7d33c; color: #263448; }
.hd-support .hd-support-current { background: #246b50; border-color: #246b50; color: #fff; cursor: pointer; }
.hd-content { min-width: 0; margin-left: 0; padding: var(--hd-shell-top) var(--hd-shell-inset) 28px; }
.hd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 24%, 420px);
  grid-template-areas: "hero profile" "live ranking" "highlights deliveries" "analysis activity";
  align-items: stretch;
  gap: 16px;
}
.hd-grid > * { min-width: 0; }
.hd-card, .hd-activity {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--hd-border);
  border-radius: 12px;
  background: var(--hd-surface);
  box-shadow: none;
}
.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; margin-bottom: 16px; }
.hd-heading { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; color: var(--hd-text); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.3px; }
.hd-heading-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid color-mix(in srgb,var(--hd-blue) 18%,var(--hd-line)); border-radius: 12px; background: color-mix(in srgb,var(--hd-blue) 10%,var(--hd-soft)); color: var(--hd-blue); }
.hd-more, .hd-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--hd-border);
  border-radius: 8px;
  color: var(--hd-secondary);
  font-size: 11px;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .hd-more:hover, .hd-watch:hover { background: var(--hd-soft); }
}
.hd-empty { display: grid; place-items: center; flex: 1; min-height: 90px; margin: 0; color: var(--hd-secondary); text-align: center; }
.hd-hero { grid-area: hero; display: flex; flex-direction: column; gap: 10px; }
.hd-hero-intro { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--hd-border); border-left: 3px solid var(--hd-blue); border-radius: 12px; background: var(--hd-soft); }
.hd-hero-intro > div { min-width: 0; }
.hd-hero-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--hd-surface); color: var(--hd-blue); }
.hd-hero-intro small, .hd-seo small { color: var(--hd-blue); font-size: 11px; letter-spacing: .1em; }
.hd-hero-intro h1 { margin: 4px 0 0; font-size: 20px; line-height: 25.2px; font-weight: 600; letter-spacing: -.4px; }
.hd-hero-intro p { margin: 4px 0 0; color: var(--hd-secondary); font-size: 13px; line-height: 18px; }
.bc-channel-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.bc-channel-nav .hd-service { display: grid; grid-template-columns: 32px minmax(0,1fr) 18px; align-items: center; gap: 10px; min-width: 0; height: 60px; padding: 0 14px; border: 1px solid var(--hd-border); border-radius: 10px; background: var(--hd-surface); color: var(--hd-text); text-decoration: none; transition: background-color .2s ease,border-color .2s ease; }
.bc-channel-nav .hd-service-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--hd-soft); color: var(--hd-secondary); }
.bc-channel-nav .hd-service small, .bc-channel-nav .hd-service strong { display: block; white-space: nowrap; }
.bc-channel-copy { display: grid; gap: 2px; min-width: 0; }
.bc-channel-monogram { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: color-mix(in srgb,var(--hd-blue) 12%,var(--hd-surface)); color: var(--hd-blue); font-size: 10px; font-weight: 750; line-height: 1; letter-spacing: 0; }
.bc-channel-nav .hd-service small { color: var(--hd-muted); font-size: 10px; font-weight: 600; line-height: 14px; letter-spacing: .06em; }
.bc-channel-nav .hd-service strong { font-size: 13px; font-weight: 650; line-height: 18px; }
.bc-channel-nav .hd-service .bc-channel-title { display: inline-flex; align-items: center; gap: 5px; }
.bc-channel-current { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgb(255 255 255 / 20%); color: #fff; opacity: 0; transform: scale(.85); transition: opacity .2s ease,transform .2s ease; }
.bc-channel-nav .hd-service-main { border-color: var(--hd-blue); background: var(--hd-blue); color: #fff; }
.bc-channel-nav .hd-service-main .hd-service-icon { background: rgb(255 255 255 / 16%); color: #fff; }
.bc-channel-nav .hd-service-main small { color: #fff; }
.bc-channel-nav .hd-service-main .bc-channel-monogram { background: rgb(255 255 255 / 20%); color: #fff; }
:scope[data-theme="dark"] .bc-channel-nav .hd-service:not(.hd-service-main) .bc-channel-monogram { background: color-mix(in srgb,var(--hd-blue) 32%,var(--hd-surface)); color: var(--hd-text); }
.bc-channel-nav .hd-service-main .bc-channel-current { opacity: 1; transform: scale(1); animation: hd-slot-check .2s ease-out; }
@keyframes hd-slot-check {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}
@media (hover: hover) and (pointer: fine) {
  .bc-channel-nav .hd-service:not(.hd-service-main):hover { border-color: color-mix(in srgb,var(--hd-blue) 40%,var(--hd-border)); background: var(--hd-soft); }
}
.bc-channel-nav .hd-service:focus-visible { outline: 2px solid var(--hd-blue); outline-offset: 2px; }
.hd-prediction { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; margin-top: auto; padding: 10px 14px; border-radius: 12px; background: var(--hd-blue); color: #fff; }
.hd-prediction > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hd-prediction-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 13px; background: rgb(255 255 255 / 14%); }
.hd-prediction strong, .hd-prediction small { display: block; }
.hd-prediction strong { font-size: 15px; }
.hd-prediction small { margin-top: 3px; font-size: 12px; }
.hd-prediction > a { flex-shrink: 0; padding: 10px 14px; border-radius: 9px; background: #fff; color: var(--hd-blue); font-weight: 650; white-space: nowrap; }
.hd-profile { grid-area: profile; display: flex; flex-direction: column; }
.hd-person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hd-person > div { min-width: 0; }
.hd-person strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.hd-person small { display: block; color: var(--hd-secondary); }
.hd-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-soft); color: var(--hd-blue); }
.hd-member-emblem .memberTierIcon,.hd-member-emblem .tierGlyphImage { width: 34px; height: 34px; object-fit: contain; }
.hd-member-emblem .tierIcon { display: grid; place-items: center; width: 34px; height: 34px; }
.hd-join { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hd-line); }
.hd-join p { margin: 5px 0 12px; color: var(--hd-secondary); font-size: 11px; }
.hd-primary { display: inline-flex; padding: 9px 13px; border-radius: 8px; background: var(--hd-blue); color: #fff; }
.hd-balances { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.hd-balances > div { min-width: 0; padding: 9px 12px; border: 1px solid var(--hd-border); border-radius: 10px; }
.hd-balances span, .hd-balances strong { display: block; }
.hd-balances span { color: var(--hd-muted); font-size: 11px; }
.hd-balances strong { margin-top: 7px; color: var(--hd-blue); font-size: 18px; overflow-wrap: anywhere; }
.hd-balances small { margin-left: 3px; font-size: 11px; }
.hd-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-top: auto; }
.hd-shortcuts a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 50px; padding: 5px 2px; border: 1px solid var(--hd-border); border-radius: 8px; color: var(--hd-secondary); font-size: 11px; text-align: center; }
.hd-shortcuts svg { color: var(--hd-blue); }
.hd-message-icon { position: relative; display: inline-flex; }
.hd-message-dot { position: absolute; top: -3px; right: -5px; width: 7px; height: 7px; border: 1px solid var(--hd-surface); border-radius: 50%; background: var(--hd-blue); }
.hd-live-block { grid-area: live; display: grid; grid-template-rows: minmax(min-content,1fr) auto; gap: 16px; }
.hd-live { display: flex; flex-direction: column; }
.hd-sports { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hd-sports button { display: grid; place-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--hd-border); border-radius: 8px; background: var(--hd-surface); color: var(--hd-secondary); font: inherit; font-size: 11px; cursor: pointer; }
.hd-sports button[aria-pressed="true"] { background: var(--hd-blue); color: #fff; }
.hd-match-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; flex: 1; }
.hd-match { display: flex; flex-direction: column; min-width: 0; padding: 12px; border: 1px solid var(--hd-border); border-radius: 10px; background: var(--hd-surface); }
.hd-match-top { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 6px; }
.hd-live-label, .hd-upcoming-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  border-radius: 4px;
  background: var(--hd-soft);
  color: var(--hd-blue);
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
}
.hd-live-pulse-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d57;
  box-shadow: 0 0 0 1px rgb(255 77 87 / 14%), 0 0 8px rgb(255 77 87 / 38%);
  animation: hd-live-pulse 1.7s ease-in-out infinite;
}
@keyframes hd-live-pulse {
  0%, 100% {
    opacity: .42;
    filter: brightness(.9);
    transform: scale(.9);
    box-shadow: 0 0 0 1px rgb(255 77 87 / 12%), 0 0 6px rgb(255 77 87 / 24%);
  }
  50% {
    opacity: 1;
    filter: brightness(1.12);
    transform: scale(1);
    box-shadow: 0 0 0 1px rgb(255 77 87 / 18%), 0 0 10px rgb(255 77 87 / 42%);
  }
}
.hd-match-top time { color: var(--hd-secondary); font-size: 11px; text-align: right; white-space: nowrap; }
.hd-match-league { grid-column: 1/-1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hd-secondary); font-size: 12px; line-height: 16.5px; }
.hd-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 4px; flex: 1; margin: 12px 0; text-align: center; }
.hd-teams strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 500; line-height: 18px; }
.hd-teams b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.hd-match .hd-watch { width: 100%; min-height: 34px; color: var(--hd-blue); font-size: 12px; font-weight: 500; }
.hd-watch-play {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: var(--hd-blue);
  clip-path: polygon(18% 10%, 18% 90%, 92% 50%);
}
@media (prefers-reduced-motion: reduce) {
  .hd-live-pulse-dot { animation: none; opacity: .92; filter: none; transform: none; }
}
.hd-features { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.hd-features .hd-feature { display: flex; flex-direction: column; min-width: 0; min-height: 153px; padding: 14px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-surface); color: var(--hd-text); }
.hd-feature h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 600; line-height: 21px; }
.hd-feature-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid color-mix(in srgb,var(--hd-blue) 18%,var(--hd-line)); border-radius: 12px; background: color-mix(in srgb,var(--hd-blue) 10%,var(--hd-soft)); color: var(--hd-blue); }
.hd-feature p { margin: 10px 0; color: var(--hd-secondary); font-size: 12px; line-height: 1.6; }
.hd-feature p span { color: var(--hd-secondary); }
.hd-feature .hd-feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--hd-blue); font-size: 12px; font-weight: 500; }
.hd-features .hd-feature-event { border-left: 3px solid var(--hd-blue); background: var(--hd-soft); }
.hd-feature-event h2 { min-height: 36px; }
.hd-event-tag { order: 1; color: var(--hd-blue); font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.hd-feature-event p { order: 2; margin: 6px 0; }
.hd-feature-event .hd-feature-link { order: 3; }
.hd-rank { grid-area: ranking; min-width: 0; }
.hd-rank > .hd-card { height: 100%; }
.hd-rank .ranking { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 14px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-surface); }
.hd-rank .rankList--dashboard { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 0; }
.hd-rank .rankRow { grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 62px; padding: 8px 2px; border-bottom: 1px solid #e8edf4; border-radius: 0; background: transparent; }
.hd-rank .rankRow:last-child { border-bottom: 0; }
.hd-rank .rankNo { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; }
.hd-rank .rankIdentity { min-width: 0; overflow: hidden; }
.hd-rank .rankIdentity--dashboard {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  gap: 8px;
  --identity-gap: 8px;
}
.hd-rank .rankIdentity--dashboard.identityMark--stacked .identityTexts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
}
.hd-rank .rankIdentity--dashboard .identityIcon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.hd-rank .rankIdentity--dashboard .identityNick {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hd-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}
.hd-rank .rankIdentity--dashboard .identityMeta,
.hd-rank .rankIdentity--dashboard .tierText {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.hd-rank .rankIdentity--dashboard .identityMeta:not(.tierText) { color: var(--hd-muted); }
.hd-rank .rankNpBadge,
.hd-deliveries .hd-done { display: inline-flex; align-items: center; justify-content: space-between; justify-self: end; box-sizing: border-box; gap: 6px; min-width: 72px; min-height: 26px; padding: 5px 8px; border: 1px solid var(--hd-border); border-radius: 6px; background: var(--hd-soft); color: var(--hd-blue); font-size: 10px; font-weight: 700; }
.hd-rank .rankNpBadge b { display: inline-block; min-width: 4ch; text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; }
.hd-rank .sectionHead { margin-bottom: 8px; }
.hd :is(.hd-profile, .hd-rank > .ranking, .hd-rank > .hd-card, .hd-deliveries) {
  background: #fff;
  --hd-sidebar-heading-size: 16px;
  --hd-sidebar-heading-accent: #3d5bb1;
}
:scope[data-theme="dark"] .hd :is(.hd-profile, .hd-rank > .ranking, .hd-rank > .hd-card, .hd-deliveries) {
  background: var(--hd-surface);
}
.hd :is(.hd-profile > .hd-head, .hd-rank .ranking > .sectionHead, .hd-rank > .hd-card > .hd-heading, .hd-deliveries > .hd-head) {
  position: relative;
}
.hd :is(.hd-rank .ranking > .sectionHead, .hd-rank > .hd-card > .hd-heading, .hd-deliveries > .hd-head) {
  padding-left: 14px;
}
.hd :is(.hd-rank .ranking > .sectionHead, .hd-rank > .hd-card > .hd-heading, .hd-deliveries > .hd-head)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.4px;
  height: 36px;
  border-radius: 2px;
  background: var(--hd-sidebar-heading-accent);
  transform: translateY(-50%);
  pointer-events: none;
}
.hd :is(.hd-profile > .hd-head, .hd-rank .ranking > .sectionHead, .hd-rank > .hd-card > .hd-heading, .hd-deliveries > .hd-head)::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  border-bottom: 1px solid var(--hd-line);
  pointer-events: none;
}
.hd :is(.hd-profile > .hd-head, .hd-rank .ranking > .sectionHead, .hd-deliveries > .hd-head) .hd-heading,
.hd .hd-rank > .hd-card > .hd-heading {
  color: var(--hd-text);
  font-size: var(--hd-sidebar-heading-size);
  font-weight: 600;
}
.hd :is(.hd-profile > .hd-head, .hd-rank .ranking > .sectionHead, .hd-rank > .hd-card > .hd-heading, .hd-deliveries > .hd-head) .hd-heading-icon {
  color: var(--hd-sidebar-heading-accent);
  border-color: color-mix(in srgb,var(--hd-sidebar-heading-accent) 18%,var(--hd-line));
  background: color-mix(in srgb,var(--hd-sidebar-heading-accent) 10%,var(--hd-soft));
}
.hd-highlights { grid-area: highlights; }
.hd-highlight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hd-highlight { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--hd-line); }
.hd-thumb { display: grid; place-items: center; flex: 0 0 30%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: var(--hd-soft); color: var(--hd-muted); font-size: 10px; text-align: center; }
.hd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hd-highlight > div { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.hd-highlight small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hd-secondary); }
.hd-highlight-title { overflow-wrap: anywhere; color: var(--hd-text); font-size: 15px; font-weight: 650; }
.hd-highlight .hd-watch { align-self: flex-start; }

/* Motion stays on controls and decorative media, never on the live player. */
.hd-match { transition: transform .2s ease,border-color .2s ease; }
.hd-rank .rankRow { transition: background-color .18s ease; }
.hd-rank .identityIcon { transition: transform .18s ease; }
.hd-thumb img { transition: transform .28s ease; }
.hd-highlight .hd-watch svg { opacity: .8; transition: opacity .23s ease,transform .23s ease; }
.hd :is(.hd-primary,.hd-prediction > a,.hd-watch,.hd-more,.hd-feature,.hd-shortcuts a,a.hd-feature-link) {
  transition: background-color .13s ease,transform .13s ease;
}
.hd :is(.hd-primary,.hd-prediction > a,.hd-watch,.hd-more,.hd-feature,.hd-shortcuts a,a.hd-feature-link):active:not(:disabled):not([aria-disabled="true"]) {
  transform: scale(.98);
}
.hd-sidebar :is(.hd-nav-link,.hd-sidebar-notice,.hd-nav-submenu a) {
  transition: background-color .15s ease,border-color .15s ease,color .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hd-match:hover { border-color: color-mix(in srgb,var(--hd-blue) 40%,var(--hd-border)); }
  .hd-rank .rankRow:hover { background-color: var(--hd-soft); }
  .hd-rank .rankRow:hover .identityIcon { transform: scale(1.05); }
  .hd-thumb:hover img { transform: scale(1.08); }
  .hd-highlight .hd-watch:hover svg { opacity: 1; transform: scale(1.03); }
  .hd-primary:hover:not([aria-disabled="true"]) { background-color: var(--accent-primary-hover); }
  .hd-prediction > a:hover:not([aria-disabled="true"]) { background-color: var(--hd-soft); }
  .hd :is(.hd-feature:not(.hd-feature-event),.hd-shortcuts a,a.hd-feature-link):hover:not([aria-disabled="true"]) { background-color: color-mix(in srgb,var(--hd-blue) 3%,var(--hd-soft)); }
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .hd-match:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .bc-channel-nav .hd-service,.bc-channel-current,
  .hd :is(.hd-match,.rankRow,.identityIcon,.hd-thumb img,.hd-highlight .hd-watch svg,.hd-primary,.hd-prediction > a,.hd-watch,.hd-more,.hd-feature,.hd-shortcuts a,a.hd-feature-link),
  .hd-sidebar :is(.hd-nav-link,.hd-sidebar-notice,.hd-nav-submenu a) {
    transition: none;
    animation: none;
  }
  .hd .hd-match:hover,.hd .rankRow:hover .identityIcon,.hd .hd-thumb:hover img,.hd .hd-highlight .hd-watch:hover svg,
  .hd :is(.hd-primary,.hd-prediction > a,.hd-watch,.hd-more,.hd-feature,.hd-shortcuts a,a.hd-feature-link):active:not(:disabled):not([aria-disabled="true"]) { transform: none; }
}
.hd-deliveries { grid-area: deliveries; display: flex; flex-direction: column; min-height: 0; }
.hd-deliveries .hd-head { margin-bottom: 12px; }
.hd-delivery-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--hd-line); color: var(--hd-secondary); font-size: 11px; }
.hd-delivery-stats > span { color: var(--hd-muted); }
.hd-delivery-stats p { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.hd-delivery-stats strong { color: var(--hd-blue); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-deliveries ul { display: flex; flex: 1; flex-direction: column; justify-content: center; margin: 0; padding: 2px 0 0; list-style: none; min-height: 0; }
.hd-deliveries li { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 0 8px; min-height: 64px; padding: 7px 0; border-bottom: 1px solid var(--hd-line); font-size: 11px; }
.hd-deliveries li:last-child { border-bottom: 0; }
.hd-delivery-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.hd-delivery-icon > * { width: 36px; height: 36px; flex: 0 0 36px; }
.hd-delivery-icon .giftCatMark { border-radius: 11px; }
.hd-delivery-icon .giftCssFrame--compact { border-radius: 10px; }
.hd-delivery-preset-symbol { color: var(--fg); }
.hd-delivery-copy { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; text-align: left; }
.hd-delivery-copy > .hd-recipient { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hd-text); font-size: 14px; font-weight: 500; }
.hd-delivery-copy > .hd-product { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hd-secondary); font-size: 12px; font-weight: 500; }
.hd-deliveries time { display: block; color: var(--hd-secondary); white-space: nowrap; text-align: left; }
.hd-done { align-self: center; justify-content: center; text-align: center; white-space: nowrap; }
.hd-deliveries .hd-done { justify-content: center; }
.hd-delivery-empty { display: grid; align-content: center; justify-items: center; gap: 14px; flex: 1; min-height: 90px; margin: 0; padding: 24px 10px; color: var(--hd-secondary); text-align: center; }
.hd-delivery-empty svg { color: var(--hd-blue); }
.hd-delivery-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--hd-secondary); font-size: 11px; }
.hd-analysis { grid-area: analysis; padding-block: 12px; }
.hd-analysis .hd-head { margin-bottom: 8px; }
.hd-analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.hd-analysis-story { display: flex; flex-direction: column; min-width: 0; gap: 5px; padding: 8px 9px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-soft); transition: border-color .15s ease, background-color .15s ease; }
.hd-analysis-story:hover, .hd-analysis-story:focus-within { border-color: color-mix(in srgb,var(--hd-blue) 40%,var(--hd-border)); background: color-mix(in srgb,var(--hd-blue) 3%,var(--hd-soft)); }
.hd-analysis-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 5px; min-width: 0; line-height: 1.25; }
.hd-analysis-leading { display: flex; align-items: baseline; gap: 4px; min-width: 0; overflow: hidden; }
.hd-analysis-meta small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hd-blue); font-size: 11px; font-weight: 600; }
.hd-analysis-meta .hd-analysis-sport { flex: 0 0 auto; font-size: 10px; }
.hd-analysis-meta time { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 1px; color: var(--hd-secondary); font-size: 10px; line-height: 1.2; white-space: nowrap; }
.hd-analysis-match { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 4px; min-width: 0; color: var(--hd-text); text-align: center; }
.hd-analysis-match strong { display: -webkit-box; min-width: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; font-size: 14px; font-weight: 650; line-height: 1.3; }
.hd-analysis-match span { color: var(--hd-muted); font-size: 10px; font-weight: 600; }
.hd-analysis-story .hd-feature-link { display: inline-flex; align-items: center; align-self: center; gap: 4px; margin-top: auto; font-size: 11px; }
.hd-feature-link { margin-top: auto; color: var(--hd-blue); font-size: 12px; }
.hd-activity { grid-area: activity; display: flex; flex-direction: column; border-left: 3px solid var(--hd-blue); background: var(--hd-soft); }
.hd-activity h2 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.6; }
.hd-activity-message { display: flex; flex: 1; align-items: center; }
.hd-activity-message p { margin: 0; color: var(--hd-muted); font-size: 11px; }
.hd-activity-list { display: grid; grid-template-rows: repeat(3,1fr); align-content: center; flex: 1; margin: 10px 0 8px; padding: 0; list-style: none; }
.hd-activity-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12px; }
.hd-activity-list li + li { border-top: 1px solid var(--hd-line); }
.hd-activity-list strong { color: var(--hd-blue); font-variant-numeric: tabular-nums; }
.hd-activity > p { margin: 0; color: var(--hd-muted); font-size: 11px; }
.hd-activity > .hd-activity-time { margin-top: auto; }
.hd-seo { display: grid; gap: 16px; margin-top: 24px; }
.hd-seo-overview, .hd-seo-section { min-width: 0; padding: 22px; border: 1px solid var(--hd-border); border-top: 3px solid var(--hd-blue); border-radius: 12px; background: var(--hd-surface); }
.hd-seo-section { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 32px; }
.hd-seo h2 { margin: 6px 0 12px; color: var(--hd-text); font-size: 17px; }
.hd-seo h3 { margin: 12px 0 6px; color: var(--hd-text); font-size: 13px; }
.hd-seo p { margin: 0 0 12px; color: var(--hd-secondary); font-size: 13px; line-height: 1.85; }
.hd-seo p:last-child { margin-bottom: 0; }
.hd-seo a { color: var(--hd-blue); text-decoration: underline; text-underline-offset: 3px; }
.hd-seo-details { padding-left: 24px; border-left: 1px solid var(--hd-line); }
:scope[data-theme="dark"] .hd :is(
  .hd-hero-intro small,
  .hd-seo small,
  .hd-balances strong,
  .hd-delivery-stats strong,
  .hd-activity-list strong,
  .hd-event-tag,
  .hd-match .hd-watch,
  .hd-feature-link,
  .hd-seo a
) { color: var(--hd-text); }
:scope[data-theme="dark"] .hd :is(.hd-match .hd-watch, .hd-feature-link) svg { color: var(--hd-blue); }
:scope[data-theme="dark"] :is(.hd-rank .rankNpBadge, .hd-deliveries .hd-done) { background: var(--hd-soft); border-color: var(--hd-border); color: var(--hd-text); }
:scope[data-theme="dark"] .hd-analysis-meta small { color: color-mix(in srgb,var(--hd-blue) 30%,var(--hd-text)); }
:scope[data-theme="dark"] .hd-nav-link:not(.hd-active),
:scope[data-theme="dark"] .hd-nav-submenu a:not(.hd-active),
:scope[data-theme="dark"] .hd-sidebar-notice { color: var(--hd-text); }
:scope[data-theme="dark"] .hd-sidebar-notice svg { color: var(--hd-secondary); }
:scope[data-theme="dark"] .hd-nav-disclosure.hd-active { background: var(--surface-elevated); color: var(--hd-text); }
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) > .topbar .hd-header-clock { color: #fff; }
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) > .topbar .headerTools .iconButton,
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) > .topbar .headerTools .headerInbox { color: var(--hd-text); }
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) > .topbar .headerTools :is(.iconButton,.headerInbox):active { background: var(--surface-elevated); }
:scope[data-theme="dark"] :scope:has(> .hd-sidebar) > .topbar .headerSearch .search { background: var(--hd-surface); border-color: var(--hd-border); }
:scope[data-theme="dark"] .hd-done {
  background: var(--dark-accent-blue-muted);
  border-color: color-mix(in srgb, var(--dark-accent-blue-muted) 65%, var(--border-soft));
  color: #fff;
}
@media (min-width: 1440px) {
  .hd-highlight-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1280px) {
  .hd-analysis-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 1600px) {
  .hd-analysis-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hd-analysis-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1680px) {
  :scope:has(> .hd-sidebar) { --hd-sidebar-width-expanded: 200px; }
  .hd-sidebar { padding-inline: 20px; }
}
@media (min-width: 1900px) {
  :scope:has(> .hd-sidebar) { --hd-shell-max: 1740px; --hd-shell-inset: 40px; }
  :scope:has(> .hd-sidebar) > .topbar { height: 60px; padding-inline: 40px; }
  :scope:has(> .hd-sidebar) .pageWrap { width: min(var(--hd-shell-max), calc(100% - (var(--hd-subpage-gap-desktop) * 2))); }
  .hd-sidebar { padding-block: 20px 12px; }
  .hd-sidebar-top { margin-bottom: 20px; }
  .hd-caption { margin-bottom: 8px; }
  .hd-sidebar .hd-nav { gap: 3px; margin-bottom: 12px; }
  .hd-sidebar-rule { margin-bottom: 12px; }
  .hd-support { gap: 6px; margin-top: 12px; padding-top: 10px; }
  .hd-support :is(a,button) { min-height: 60px; padding-block: 7px; }
}
@media (min-width: 1280px) and (max-width: 2047px) and (max-height: 1200px) and (hover: hover) and (pointer: fine) {
  :scope:has(> .hd-sidebar) { --hd-sidebar-width-expanded: 180px; }
  .hd-sidebar { padding: 16px 14px 10px; }
  .hd-sidebar-top { margin-bottom: 16px; }
  .hd-caption { margin-bottom: 6px; }
  .hd-sidebar .hd-nav { gap: 2px; margin-bottom: 10px; }
  .hd-sidebar :is(.hd-nav-link,.hd-sidebar-notice) { min-height: 36px; padding-block: 7px; }
  .hd-nav-submenu a { min-height: 30px; padding-block: 4px; }
  .hd-sidebar-rule { margin-bottom: 10px; }
  .hd-support { gap: 5px; margin-top: 10px; padding-top: 8px; }
  .hd-support :is(a,button) { min-height: 50px; padding-block: 6px; }
}
@media (max-width: 1279px) {
  .hd-grid { grid-template-columns: minmax(0,1fr) 280px; }
  .hd-prediction { flex-wrap: wrap; }
  .hd-features a { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-sidebar,
  :scope:has(> .hd-sidebar),
  :scope:has(> .hd-sidebar) > .topbar,
  :scope:has(> .hd-sidebar) :is(.pageWrap,.authPage) {
    transition: none;
  }
}
@media (max-width: 1023px) {
  :scope:has(> .hd-sidebar) { margin-left: 72px; --hd-shell-inset: 18px; }
  .hd-sidebar { width: 72px; padding: 24px 8px; }
  .hd-sidebar:focus-within, .hd-sidebar:hover { width: 230px; }
  .hd-brand { padding: 0; text-align: center; }
  .hd-wordmark { font-size: 13px; letter-spacing: -.7px; }
  .hd-brand small { display: none; }
  .hd-sidebar .hd-caption, .hd-sidebar .hd-support, .hd-sidebar-notice { display: none; }
  .hd-nav-link { justify-content: center; padding: 12px; }
  .hd-nav-link > span, .hd-nav-caret { display: none; }
  .hd-sidebar:focus-within .hd-nav-link, .hd-sidebar:hover .hd-nav-link { justify-content: flex-start; }
  .hd-sidebar:focus-within .hd-nav-link > span, .hd-sidebar:hover .hd-nav-link > span,
  .hd-sidebar:focus-within .hd-nav-caret, .hd-sidebar:hover .hd-nav-caret { display: inline; }
  .hd-sidebar:not(:focus-within):not(:hover) .hd-nav-submenu { display: none; }
  :scope:has(> .hd-sidebar) > .topbar { padding-inline: 18px; }
  .hd-grid { grid-template-columns: minmax(0,1fr) 260px; gap: 14px; }
  .hd-match-grid, .hd-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hd-seo-section { grid-template-columns: 1fr; gap: 16px; }
  .hd-seo-details { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--hd-line); }
}
@media (max-width: 767px) {
  :scope:has(> .hd-sidebar) { margin-left: 0; --hd-shell-inset: 14px; }
  .hd-sidebar { display: none; }
  :scope:has(> .hd-sidebar):has(.hd) > .footer .footerInner { width: calc(100% - 28px); }
  :scope:has(> .hd-sidebar) > .topbar { width: 100%; height: 60px; padding-inline: 14px; }
  :scope:has(> .hd-sidebar) > .topbar .brand { display: block; }
  :scope:has(> .hd-sidebar) > .topbar .hd-header-sidebar-toggle { display: none; }
  :scope:has(> .hd-sidebar) > .topbar .hd-header-sidebar-search { display: contents; }
  :scope:has(> .hd-sidebar) > .topbar .headerTools {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    gap: 4px;
  }
  :scope:has(> .hd-sidebar) > .topbar .hd-header-clock { display: none; }
  :scope:has(> .hd-sidebar) > .topbar .headerToolIcons { gap: 4px; }
  :scope:has(> .hd-sidebar) > .topbar .navToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 9px 8px;
    border: 1px solid var(--hd-border);
    border-radius: 8px;
    background: var(--hd-surface);
    color: var(--hd-blue);
    line-height: 0;
    box-sizing: border-box;
  }
  :scope:has(> .hd-sidebar) > .topbar .navToggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 2px;
  }
  :scope:has(> .hd-sidebar) > .topbar .themeToggle svg,
  :scope:has(> .hd-sidebar) > .topbar .mobileProfileLink svg { width: 18px; height: 18px; flex-basis: 18px; }
  :scope:has(> .hd-sidebar) > .topbar .headerInboxIcon,
  :scope:has(> .hd-sidebar) > .topbar .headerInboxIcon svg { width: 18px; height: 18px; flex-basis: 18px; }
  .hd-content { padding-bottom: 82px; }
  .hd-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "hero" "profile" "live" "ranking" "highlights" "deliveries" "analysis" "activity"; }
  .hd-hero-intro { padding: 10px 12px; }
  .hd-hero-icon { display: none; }
  .hd-hero-intro h1 { font-size: 16px; }
  .bc-channel-nav { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .hd-prediction > a { flex: 1; text-align: center; }
  .hd-sports { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; }
  .hd-sports button { padding: 0; font-size: 10px; }
  .hd-teams {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: 36px 14px 36px;
    gap: 4px;
    justify-items: center;
  }
  .hd-teams strong {
    width: 100%;
    max-height: 36px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .hd-teams b { color: var(--hd-secondary); font-size: 10px; line-height: 14px; font-weight: 500; }
  .hd-features { grid-template-columns: 1fr; }
  .hd-features a { min-height: 92px; }
  .hd-highlight-grid, .hd-analysis-grid { grid-template-columns: 1fr; }
  .hd-seo-overview, .hd-seo-section { padding: 16px; }
}
@media (max-width: 480px) {
  .hd-rank .rankRow { grid-template-columns: 18px minmax(0,1fr) auto; min-height: 56px; padding: 7px 0; gap: 8px; }
  .hd-rank .rankIdentity--dashboard { gap: 6px; --identity-gap: 6px; }
  .hd-rank .rankIdentity--dashboard .identityIcon { width: 22px; height: 22px; flex-basis: 22px; }
  .hd-rank .rankIdentity--dashboard .identityNick { font-size: 11px; }
  .hd-rank .rankIdentity--dashboard .tierText,
  .hd-rank .rankIdentity--dashboard .identityMeta { gap: 4px; font-size: 10px; }
  .hd-rank .rankNpBadge,
  .hd-deliveries .hd-done { min-width: 64px; padding: 4px 6px; font-size: 9px; }
  .hd-rank .rankNpBadge b { font-size: 9px; }
  .hd-deliveries li { grid-template-columns: 32px minmax(0,1fr) auto; gap: 0 7px; min-height: 60px; padding: 6px 0; }
  .hd-delivery-icon { width: 32px; height: 32px; }
  .hd-delivery-icon > * { width: 32px; height: 32px; flex-basis: 32px; }
  .hd-delivery-copy { gap: 2px; }
  .hd-delivery-copy > .hd-recipient { font-size: 13px; }
  .hd-delivery-copy > .hd-product,
  .hd-deliveries time { font-size: 11px; }
}
@media (max-width: 359px) {
  :scope:has(> .hd-sidebar) { --hd-shell-inset: 10px; }
  .hd-heading { font-size: 14px; }
  .hd :is(.hd-profile, .hd-rank > .ranking, .hd-rank > .hd-card, .hd-deliveries) { --hd-sidebar-heading-size: 14px; }
}

/* iPhone Chrome home test: keep the header in the document scroll flow. */
@media (max-width: 760px) {
  :scope > .topbar[data-iphone-chrome-home="true"] {
    position: relative;
    top: auto;
  }
}

}
