.top25-main { width: min(1220px, 100%); margin: 0 auto; padding: clamp(1.1rem, 4vw, 2.75rem) var(--space) 3rem; }
.top25-main [hidden] { display: none !important; }
.top25-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.85rem, 2vw, 1.4rem); align-items: start; }
.top25-panel { min-width: 0; border-radius: 18px; padding: clamp(.8rem, 2.2vw, 1.5rem); background: #fff; color: #152b50; border: 1px solid #d9e4f2; box-shadow: 0 6px 18px #082c6610; color-scheme: light; }
.top25-panel h2 { margin: 0; font: 800 clamp(1.4rem, 3vw, 1.9rem)/1.2 'Roboto Condensed', Arial, sans-serif; }
.top25-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.top25-count { flex: none; border-radius: 999px; padding: .12rem .7rem; font-size: .9rem; color: #0a326b; background: #e8f1ff; }
.top25-panel p { margin: .45rem 0 .75rem; font-size: .95rem; }
.top25-related { margin-top: clamp(1rem, 3vw, 1.7rem); }
.top25-related p:last-child { margin-bottom: 0; }
.top25-related a { color: #123f81; text-underline-offset: .16em; }
.top25-search { display: grid; grid-template-columns: 1.5fr 1fr; gap: .65rem; margin-top: .85rem; }
.top25-main label { display: block; font-size: .9rem; font-weight: 700; min-width: 0; }
.top25-panel :is(button,select,input), .top25-action, .top25-jump { min-height: 44px; border: 1px solid #adc3dc; border-radius: 9px; padding: .5rem .67rem; color: #102c58; background: #fff; font: 700 .9rem/1.2 Arial,sans-serif; }
.top25-search :is(input,select), .top25-manual input { width: 100%; margin-top: .2rem; }
.top25-main :is(button,select), .top25-action { cursor: pointer; }
.top25-main button:disabled { cursor: default; color: #4c6380; background: #edf2f8; border-color: #e1e8f0; }
.top25-main :focus-visible { outline: 3px solid #286aca; outline-offset: 2px; }
.top25-tracks { margin: 0; padding: 0; list-style: none; }
.top25-tracks li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; align-items: center; padding: .35rem 0; border-top: 1px solid #e4ebf3; }
.top25-ranking li { grid-template-columns: max-content minmax(0,1fr) 44px; }
.top25-tracks :is(strong,small) { display: block; overflow-wrap: anywhere; }
.top25-tracks small { font-size: .82rem; color: #435976; }
.top25-ranking li button { font-size: 1.3rem; padding: .25rem; }
.top25-main button[data-action=add]:not(:disabled), .top25-panel .top25-primary { background: #123f81; border-color: #123f81; color: #fff; }
.top25-main button[data-action=add]:hover:not(:disabled), .top25-panel .top25-primary:hover:not(:disabled) { background: #1d5299; }
.top25-panel .top25-primary:disabled { background: #edf2f8; color: #4c6380; border-color: #e1e8f0; }
.top25-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.top25-action { display: inline-flex; align-items: center; text-decoration: none; }
.top25-more { margin-top: .65rem; }
.top25-manual { margin-top: .75rem; }
.top25-sr { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.top25-jump { display: none; }
.top25-promo, .home main .top25-promo { width: min(100%, 1200px); margin: 1.3rem auto 0; padding: clamp(.85rem, 2.4vw, 1.4rem); border: 1px solid #adcaed; border-radius: 17px; background: #edf5ff; color: #152b50; text-align: start; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; }
.top25-promo p { margin: 0; }
@media (max-width: 760px) {
  .top25-grid { grid-template-columns: 1fr; }
  .top25-jump { display: block; margin: 0 0 .65rem auto; }
}
.top25-promo > div { flex: 1 1 20rem; }
.top25-promo h2, .home main .top25-promo h2 { margin: 0 0 .28rem; color: #152b50; font: 800 clamp(1.4rem, 3vw, 2rem)/1.15 'Roboto Condensed', Arial, sans-serif; }
.top25-promo a { font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem .95rem; border-radius: 10px; background: #123f81; color: #fff; text-decoration: none; }
.top25-promo a:hover { background: #1d5299; }
.top25-promo a:focus-visible { outline: 3px solid #286aca; outline-offset: 2px; }
@media (max-width: 520px) {
  .top25-promo a { width: 100%; }
}

.top25-track-link {
  display: inline-block;
  margin-top: .2rem;
  color: #123f81;
  font-size: .82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-underline-offset: .16em;
}
.top25-track-link:hover { color: #245ba2; }

.top25-fan-entry {
  margin-top: 1.15rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  background: #f0f5ff;
}

.top25-fan-entry p { margin: 0; }
.top25-fan-entry .top25-actions { align-items: center; column-gap: .9rem; }
.top25-fan-entry a { color: #123f81; text-underline-offset: .16em; }
.top25-fan-entry #top25-fan-status:empty { display: none; }
.top25-fan-entry #top25-fan-status { margin-top: .55rem; }

.top25-fan-board {
  margin-top: clamp(1rem, 3vw, 1.7rem);
  scroll-margin-top: 1rem;
}

.top25-fan-board .top25-fan-summary {
  margin: .65rem 0;
  font-weight: 700;
  color: #17457f;
}

.top25-fan-board .top25-fan-results li {
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  padding: .55rem .2rem;
}

.top25-fan-place {
  display: grid;
  min-height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: #e8f1ff;
  color: #123f81;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.top25-fan-results li:first-child .top25-fan-place {
  background: #123f81;
  color: #fff;
}

.top25-fan-points {
  color: #17457f;
  font-size: .84rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.top25-fan-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .2rem .55rem;
}

.top25-fan-movement {
  border-radius: 999px;
  padding: .05rem .42rem;
  white-space: nowrap;
  font-size: .84rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.top25-fan-up {
  color: #14532d;
  background: #dcfce7;
}

.top25-fan-down {
  color: #991b1b;
  background: #fee2e2;
}

@media (max-width: 450px) {
  .top25-fan-stats { flex-direction: column; align-items: flex-end; }
}
