.leaderboard-page { margin: 0; background: #f6f8fb; }
.leader-main { width: min(1220px, 100% - 36px); margin: 22px auto 65px; }
.leader-intro {
  position: relative;
  isolation: isolate;
  min-height: clamp(205px, 24vw, 272px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 35%);
  align-items: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid #e5e5ed;
  border-radius: 21px;
  background: linear-gradient(112deg, #f2e6c8, #faf6ed 42%, #fff 72%);
}
.leader-intro-copy { position: relative; z-index: 1; }
.leader-intro h1 { margin: 0; color: #15213b; letter-spacing: -.045em; font-size: clamp(33px, 5vw, 65px); line-height: 1.18; }
.leader-intro h1 em { color: #846017; font-style: normal; }
.leader-intro p { max-width: 49ch; margin: 12px 0 18px; color: #536079; line-height: 1.85; font-size: clamp(13px, 1.4vw, 16px); }
.leader-period { display: inline-flex; gap: 3px; padding: 4px; background: #ebeaf0; border: 1px solid #e2e1e9; border-radius: 11px; }
.leader-period button { min-height: 37px; min-width: 70px; padding: 5px 14px; border: 0; border-radius: 8px; background: transparent; color: #525d76; font: inherit; font-size: 13px; font-weight: 720; cursor: pointer; }
.leader-period [aria-pressed="true"] { background: #182945; color: #fff; }
.leader-emblem { position: relative; display: grid; place-items: center; min-width: 0; align-self: stretch; }
.leader-emblem::before,.leader-emblem::after { content: ""; position: absolute; z-index: -1; width: min(100%, 245px); aspect-ratio: 1; border: 1px solid #b094574d; border-radius: 50%; }
.leader-emblem::after { width: min(115%, 305px); border-color: #b094572f; }
.leader-emblem img { display: block; width: clamp(126px, 18vw, 217px); height: auto; transform: rotate(-12deg); filter: drop-shadow(0 19px 24px #79581739); }
.leader-feedback { margin: 10px 0 0; color: #64491b; font-size: 13px; }
.leader-feedback:empty { display: none; }
.leader-highlight { display: grid; grid-template-columns: 1fr 1.06fr; gap: 16px; margin: 17px 0; }
.leader-tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leader-panel { min-width: 0; padding: 17px; background: #fff; border: 1px solid #e0e7f1; border-radius: 16px; box-shadow: 0 4px 12px #22396508; }
.leader-panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.leader-panel-title h2 { margin: 0; color: #172440; font-size: clamp(15px, 1.65vw, 20px); }
.leader-panel-title > span { color: #61718c; font-size: 11px; white-space: nowrap; }
.leader-analysts { display: flex; flex-direction: column; }
.leader-podium { display: flex; align-items: end; justify-content: center; gap: 9px; flex: 1 1 auto; min-height: 206px; }
.leader-podium:has(.leader-empty) { align-items: center; }
.leader-empty { width: 100%; margin: 0; padding: 22px 12px; color: #596980; font-size: 13px; line-height: 1.8; text-align: center; }
.leader-empty a { display: table; margin: 10px auto 0; padding: 6px 12px; border: 1px solid #dbe4f4; border-radius: 8px; color: #275298; font-weight: 750; text-decoration: none; }
.leader-podium-place { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: end; gap: 6px; max-width: 168px; min-width: 0; min-height: 126px; padding: 12px 5px; border: 1px solid #e2e8f1; border-radius: 12px; background: linear-gradient(#fff, #eff4fb); text-align: center; }
.leader-podium-place[data-rank="1"] { order: 1; min-height: 161px; background: linear-gradient(#fff8e7, #faf0d3); border-color: #eccf8c; }
.leader-podium-place[data-rank="3"] { order: 2; background: linear-gradient(#fff, #f9ede6); border-color: #efded3; }
.leader-podium-place > img { width: 39px; height: 39px; object-fit: contain; }
.leader-podium-place > a { max-width: 100%; color: #1b2d4e; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.leader-podium-place > span { color: #536783; font-size: 11px; }
.leader-market { border-color: #253b5a; background: radial-gradient(ellipse at 0 0, #243b60, #17263f 65%); color: #edf3ff; }
.leader-market h2 { color: #fff; }
.leader-market .leader-panel-title > span,.leader-market .leader-empty { color: #bdcce1; }
.leader-market-list { display: grid; gap: 6px; }
.leader-market-row { display: grid; grid-template-columns: minmax(68px, .64fr) minmax(25px, 1fr) minmax(63px, .51fr); align-items: center; gap: 8px; min-height: 29px; }
.leader-market-row a { min-width: 0; color: #f2f5fd; font: 650 12px sans-serif; text-decoration: none; }
.leader-market-row a:hover { text-decoration: underline; }
.leader-market-row bdi { justify-self: end; color: #f5f7fc; font-size: 12px; font-variant-numeric: tabular-nums; }
.leader-market-row .negative { color: #ffc0c4; }
.leader-market-row .positive { color: #8cf2c9; }
.leader-market-track { display: block; height: 7px; border-radius: 5px; background: #fbfdff17; overflow: hidden; }
.leader-market-track i { display: block; height: 100%; border-radius: inherit; background: #8da9cc; transform-origin: right; animation: .55s ease-out both leader-bars; }
.leader-market-track .negative { background: linear-gradient(90deg, #e96982, #ffaeb4); }
.leader-market-track .positive { background: linear-gradient(90deg, #4cc3a5, #91ebcc); }
.leader-market-source { margin: 9px 0 0; color: #acbfd9; font-size: 10px; }
.leader-list ol { display: grid; gap: 5px; padding: 0; margin: 0; list-style: none; }
.leader-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 45px; padding: 6px 7px; border-top: 1px solid #e9edf5; }
.leader-list li .leader-rank { display: grid; place-items: center; aspect-ratio: 1; background: #edf2f8; border-radius: 5px; color: #415677; font-size: 10px; }
.leader-list li a { display: block; color: #172943; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.leader-list li small,.leader-list li > bdi { color: #596a83; font-size: 11px; }
@keyframes leader-bars { from { transform: scaleX(0); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
@media (max-width: 810px) {
  .leader-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .leader-main { width: calc(100% - 24px); margin-top: 13px; }
  .leader-intro { grid-template-columns: minmax(0, 1fr) clamp(68px, 23vw, 116px); gap: 3px; padding: 16px; border-radius: 16px; }
  .leader-intro h1 { font-size: clamp(29px, 8vw, 43px); }
  .leader-emblem img { width: clamp(68px, 22vw, 119px); }
  .leader-highlight,.leader-tables { grid-template-columns: 1fr; gap: 11px; margin-block: 11px; }
  .leader-market { grid-row: 1; }
  .leader-podium { min-height: 117px; }
  .leader-panel { padding: 13px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .leader-market-track i { animation: none; } }
