:root {
  --billboard-ink: #0b1233;
  --billboard-muted: #596481;
  --billboard-line: #e1e4ee;
  --billboard-accent: #f12f5a;
}

.billboard-shell { min-height: calc(100vh - 72px); }
.billboard-shell .new-home-main { min-width: 0; }
.billboard-page { min-width: 0; padding: 24px clamp(18px, 3vw, 46px) 44px; color: var(--billboard-ink); }
.billboard-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.billboard-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #626c88; font-size: 13px; }
.billboard-breadcrumb a { color: inherit; }
.billboard-breadcrumb span { color: #9ba3b8; font-size: 18px; line-height: .7; }
.billboard-breadcrumb strong { color: var(--billboard-accent); font-weight: 700; }

.billboard-header { margin-bottom: 24px; }
.billboard-heading { display: flex; align-items: flex-start; gap: 15px; }
.billboard-heading__icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 13px; background: #fff0f4; color: var(--billboard-accent); }
.billboard-heading__icon svg { width: 30px; height: 30px; stroke-width: 2.3; }
.billboard-heading p { margin: 0 0 4px; color: var(--billboard-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.billboard-heading h1 { margin: 0; font-family: "Inter Tight", Inter, sans-serif; font-size: clamp(32px, 3vw, 46px); line-height: 1; letter-spacing: -.08rem; }
.billboard-heading div > span { display: block; margin-top: 10px; color: var(--billboard-muted); font-size: 16px; }

.billboard-ranking { overflow: hidden; border: 1px solid var(--billboard-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgb(36 41 76 / 4%); }
.billboard-row { display: grid; min-height: 137px; grid-template-columns: 72px 86px minmax(240px, 1fr) 160px 54px; align-items: center; gap: 20px; padding: 18px 22px; }
.billboard-row + .billboard-row { border-top: 1px solid var(--billboard-line); }
.billboard-row--leader { border-left: 5px solid var(--billboard-accent); padding-left: 17px; background: linear-gradient(100deg, #fff1f4 0%, #fff9fa 72%, #fff 100%); }
.billboard-rank { color: #0c1335; font-size: 36px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.billboard-logo { display: grid; width: 78px; height: 78px; place-items: center; overflow: hidden; border: 1px solid #e9eaf1; border-radius: 18px; padding: 5px; background: #fff; box-shadow: 0 7px 18px rgb(29 34 72 / 8%); }
.billboard-logo img { width: 100%; height: 100%; border-radius: 14px; object-fit: contain; }
.billboard-logo span { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #f54368, #d61e47); color: #fff; font-size: 27px; font-weight: 800; }
.billboard-copy { min-width: 0; }
.billboard-copy__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-bottom: 4px; }
.billboard-copy h2 { margin: 0; font: inherit; }
.billboard-copy h2 a { color: #111735; font-size: 20px; font-weight: 800; }
.billboard-sponsored, .billboard-leader { border: 1px solid #f2b7c4; border-radius: 100px; padding: 3px 8px; background: #fff; color: #ae2447; font-size: 11px; font-weight: 750; line-height: 1.2; }
.billboard-leader { border-color: #e7e9f0; color: #4f5873; }
.billboard-category { display: inline-block; margin-bottom: 5px; color: var(--billboard-accent); font-size: 13px; font-weight: 750; }
.billboard-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: #58627f; font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.billboard-discover { display: grid; min-height: 48px; place-items: center; border: 1px solid #ef4667; border-radius: 9px; padding: 8px 18px; color: var(--billboard-accent); font-size: 14px; font-weight: 800; }
.billboard-discover:hover { background: #fff2f5; }
.billboard-favorite { display: grid; place-items: center; }
.billboard-favorite form { margin: 0; }
.billboard-favorite a, .billboard-favorite button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #dfe2ec; border-radius: 10px; padding: 0; background: #fff; color: var(--billboard-accent); cursor: pointer; }
.billboard-favorite a:hover, .billboard-favorite button:hover { border-color: #f3a1b1; background: #fff4f6; }
.billboard-favorite svg { width: 22px; height: 22px; }
.billboard-favorite [aria-pressed="true"] svg { fill: currentColor; }
.billboard-method { margin: 13px 4px 0; color: #778099; font-size: 12px; line-height: 1.5; }
.billboard-empty { display: grid; min-height: 360px; place-items: center; align-content: center; border: 1px solid var(--billboard-line); border-radius: 14px; padding: 40px; background: #fff; text-align: center; }
.billboard-empty > span { color: var(--billboard-accent); font-size: 42px; }
.billboard-empty h2 { margin: 12px 0 5px; font-size: 24px; }
.billboard-empty p { max-width: 520px; margin: 0; color: var(--billboard-muted); }
.billboard-empty a { color: var(--billboard-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.billboard-legacy { margin-top: 32px; border-top: 1px solid var(--billboard-line); padding-top: 23px; }
.billboard-legacy h2 { margin: 0 0 4px; color: #172552; font-size: 21px; }
.billboard-legacy > p { margin: 0 0 14px; color: var(--billboard-muted); font-size: 13px; line-height: 1.45; }
.billboard-legacy__list { display: grid; gap: 8px; }
.billboard-legacy__item { display: flex; min-height: 62px; align-items: center; gap: 14px; border: 1px solid var(--billboard-line); border-radius: 10px; padding: 9px 14px; background: #fff; }
.billboard-legacy__app { display: inline-flex; min-width: 0; align-items: center; gap: 11px; margin-right: auto; color: #172552; }
.billboard-legacy__app img { width: 38px; height: 38px; border-radius: 7px; object-fit: contain; }
.billboard-legacy__app strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.billboard-legacy__item > a:last-child { color: var(--billboard-accent); font-size: 13px; font-weight: 750; }

@media (max-width: 1180px) {
  .billboard-row { grid-template-columns: 54px 72px minmax(210px, 1fr) 132px 48px; gap: 14px; padding-inline: 16px; }
  .billboard-row--leader { padding-left: 11px; }
  .billboard-logo { width: 68px; height: 68px; border-radius: 15px; }
}

@media (max-width: 760px) {
  .billboard-page { padding-top: 18px; }
  .billboard-row { min-height: 112px; grid-template-columns: 34px 62px minmax(0, 1fr) 46px; gap: 10px; padding: 14px 10px; }
  .billboard-row--leader { padding-left: 5px; }
  .billboard-rank { font-size: 25px; }
  .billboard-logo { width: 58px; height: 58px; border-radius: 13px; }
  .billboard-copy h2 a { font-size: 16px; }
  .billboard-category { font-size: 11px; }
  .billboard-copy p { font-size: 12px; -webkit-line-clamp: 1; }
  .billboard-discover { display: none; }
  .billboard-favorite a, .billboard-favorite button { width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .billboard-heading { gap: 10px; }
  .billboard-heading__icon { width: 42px; height: 42px; flex-basis: 42px; }
  .billboard-heading h1 { font-size: 31px; }
  .billboard-heading div > span { font-size: 14px; }
  .billboard-ranking { border-radius: 11px; }
  .billboard-row { grid-template-columns: 26px 52px minmax(0, 1fr) 38px; gap: 8px; padding-inline: 7px; }
  .billboard-logo { width: 50px; height: 50px; }
  .billboard-favorite a, .billboard-favorite button { width: 36px; height: 36px; }
  .billboard-sponsored, .billboard-leader { font-size: 10px; }
  .billboard-legacy__item { flex-wrap: wrap; gap: 8px; }
}
