.rank-page-frame {
  padding-bottom: 80px;
}

.rank-shell {
  width: 100%;
  overflow: hidden;
}

.rank-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  padding: 44px 0 52px;
  background: #07111f;
  color: white;
}

.rank-hero__surface {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(7, 17, 31, 0.98) 0%, rgba(13, 24, 42, 0.94) 47%, rgba(5, 9, 16, 0.98) 100%),
    radial-gradient(circle at 72% 28%, rgba(14, 165, 233, 0.28), transparent 34%),
    radial-gradient(circle at 82% 74%, rgba(234, 179, 8, 0.18), transparent 30%);
}

.rank-hero__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  opacity: 0.2;
}

.rank-hero__surface::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1320px) / 2));
  bottom: -116px;
  width: min(520px, 44vw);
  height: 250px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  transform: rotate(-7deg);
  box-shadow: 0 30px 90px rgba(2, 132, 199, 0.22);
}

.rank-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.9;
}

.rank-hero__orb--blue {
  right: 16%;
  top: 54px;
  width: 154px;
  height: 154px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), transparent 66%);
}

.rank-hero__orb--gold {
  right: 5%;
  bottom: 34px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.34), transparent 68%);
}

.rank-hero__grid {
  position: absolute;
  right: 10%;
  top: 48%;
  width: 280px;
  height: 148px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 44px);
  opacity: 0.18;
  transform: skewX(-12deg) rotate(-5deg);
}

.rank-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 48px;
}

.rank-hero__copy {
  max-width: 780px;
  animation: rankRise 0.58s ease both;
}

.rank-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  background: rgba(8, 15, 27, 0.72);
  color: #bae6fd;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rank-kicker i {
  color: var(--yellow-500);
  font-size: var(--text-lg);
}

.rank-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: var(--font-bold);
}

.rank-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: var(--text-base);
  line-height: 1.75;
}

.rank-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(241, 245, 249, 0.8);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.rank-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.rank-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(8, 15, 27, 0.58);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  animation: rankRise 0.58s 0.08s ease both;
}

.rank-hero-stat {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.rank-hero-stat--wide {
  grid-column: 1 / -1;
}

.rank-hero-stat span {
  display: block;
  color: rgba(203, 213, 225, 0.74);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: 0.08em;
}

.rank-hero-stat strong {
  display: block;
  margin-top: 10px;
  color: white;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1;
  font-weight: var(--font-bold);
  letter-spacing: -0.025em;
}

.rank-hero-stat--wide strong {
  font-size: var(--text-xl);
  letter-spacing: -0.025em;
}

.rank-workspace {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  margin-top: -24px;
  max-width: 1300px;
}

.tabs-wrap {
  display: flex;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--gray-600);
  font-size: var(--text-base);
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  transform: translateY(-1px);
  background: var(--gray-50);
  color: var(--gray-900);
}

.tab-btn.is-active {
  border-color: rgba(17, 24, 39, 0.9);
  background: var(--gray-900);
  color: white;
  box-shadow: 0 16px 30px -22px rgba(15, 23, 42, 0.9);
}

/* 风险红榜的独特 Tab 样式 */
.tab-btn[data-tab="risk"] {
  color: #dc2626;
}

.tab-btn[data-tab="risk"] i {
  color: #ef4444;
}

.tab-btn[data-tab="risk"]:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.tab-btn[data-tab="risk"].is-active {
  border-color: #991b1b;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: white;
  box-shadow: 0 16px 30px -16px rgba(220, 38, 38, 0.6);
}

.tab-btn[data-tab="risk"].is-active i {
  color: #fee2e2;
}

.tab-btn i {
  font-size: var(--text-lg);
}

/* 黑名单顶部紧凑版预警卡片 */
.rank-alert-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fef2f2;
  border: 1px dashed #fca5a5;
}

.rank-alert-banner i {
  font-size: 24px;
  color: #ef4444;
  margin-top: 2px;
}

.rank-alert-banner__content {
  min-width: 0;
}

.rank-alert-banner__content h2 {
  margin: 0 0 6px;
  color: #b91c1c;
  font-size: 16px;
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
}

.rank-alert-banner__content p {
  margin: 0;
  color: #dc2626;
  font-size: 13px;
  line-height: 1.5;
  max-width: 860px;
}

.risk-notice-banner {
  margin-bottom: 0;
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(254, 242, 242, 0.98), rgba(255, 247, 237, 0.98)),
    white;
}

.risk-notice-flow {
  display: grid;
  gap: 18px;
}

.risk-notice-flow__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.risk-notice-flow__head span {
  display: block;
  color: #dc2626;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-notice-flow__head h2 {
  margin: 8px 0 0;
  color: #7f1d1d;
  font-size: var(--text-xl);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: var(--font-bold);
}

.risk-notice-flow__head p {
  max-width: 540px;
  margin: 0;
  color: #64748b;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.7;
}

.risk-notice-list {
  display: grid;
  gap: 10px;
}

.risk-notice-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(210px, 0.88fr) minmax(300px, 1.32fr) minmax(168px, 0.5fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 18px 16px 20px;
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 42px -38px rgba(127, 29, 29, 0.68);
  animation: rankRise 0.46s ease both;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.risk-notice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(90deg, #dc2626, #f97316);
}

.risk-notice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: 0 22px 58px -44px rgba(127, 29, 29, 0.78);
}

.risk-notice-card--medium {
  border-color: rgba(217, 119, 6, 0.18);
}

.risk-notice-card--medium::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.risk-notice-card__head {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.risk-notice-card__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fef2f2;
  color: #dc2626;
  font-size: var(--text-xl);
}

.risk-notice-card--medium .risk-notice-card__mark {
  background: #fffbeb;
  color: #d97706;
}

.risk-notice-card__identity {
  min-width: 0;
}

.risk-notice-card__identity h3 {
  margin: 0;
  overflow: hidden;
  color: #0f172a;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-notice-card__identity p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: var(--font-medium);
  line-height: 1.45;
}

.risk-notice-card__tags {
  position: relative;
  min-width: 0;
  padding-right: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 8px;
}

.risk-notice-card__tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--font-semibold);
}

.risk-notice-card__tags span {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.risk-notice-card--medium .risk-notice-card__tags span {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.risk-notice-card__tags .risk-notice-card__tags-count {
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fee2e2, #fff7ed);
  color: #991b1b;
}

.risk-notice-card__tags .risk-notice-card__tags-count i {
  color: #dc2626;
  font-size: 13px;
}

.risk-notice-card--medium .risk-notice-card__tags .risk-notice-card__tags-count {
  border-color: #fdba74;
  background: linear-gradient(135deg, #ffedd5, #fffbeb);
  color: #9a3412;
}

.risk-notice-card--medium .risk-notice-card__tags .risk-notice-card__tags-count i {
  color: #d97706;
}

.risk-notice-card__meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  align-self: center;
  color: #64748b;
  font-size: 12px;
  font-weight: var(--font-medium);
  line-height: 1.35;
  white-space: nowrap;
}

.risk-notice-card__meta strong {
  color: #b91c1c;
  font-size: 13px;
  font-weight: var(--font-semibold);
}

.risk-notice-card--medium .risk-notice-card__meta strong {
  color: #c2410c;
}

.risk-notice-card__meta em {
  flex: 0 0 auto;
  width: 1px;
  height: 12px;
  background: #e2e8f0;
}

.risk-notice-card__action {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff;
  color: #b91c1c;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.risk-notice-card__action:hover {
  transform: translateX(2px);
  background: #b91c1c;
  color: white;
}

.risk-notice-card--medium .risk-notice-card__action {
  border-color: #fed7aa;
  color: #c2410c;
}

.risk-notice-card--medium .risk-notice-card__action:hover {
  background: #c2410c;
}

.risk-notice-method {
  border-color: rgba(220, 38, 38, 0.12);
}

.risk-notice-method span {
  color: #dc2626;
}

.rank-dimension-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: stretch;
}

.rank-dimension-brief__copy,
.rank-dimension-brief__leader {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: white;
  box-shadow: 0 20px 60px -50px rgba(15, 23, 42, 0.65);
}

.rank-dimension-brief__copy {
  padding: 22px 26px;
}

.rank-dimension-brief__copy span,
.rank-dimension-brief__leader span,
.ranking-flow__head span,
.rank-method span {
  display: block;
  color: var(--brand-600);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rank-dimension-brief__copy h2,
.ranking-flow__head h2 {
  margin: 8px 0 0;
  color: var(--gray-900);
  font-size: var(--text-xl);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: var(--font-bold);
}

.rank-dimension-brief__copy p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--gray-500);
  font-size: var(--text-base);
  line-height: 1.8;
}

.rank-dimension-brief__leader {
  display: grid;
  align-content: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.98)),
    white;
}

.rank-dimension-brief__leader strong {
  display: block;
  margin-top: 10px;
  color: var(--gray-900);
  font-size: var(--text-xl);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: var(--font-bold);
}

.rank-dimension-brief__leader em {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: var(--font-medium);
}

.rank-panel {
  display: grid;
  gap: 34px;
  min-height: 1px;
}

.podium-section,
.ranking-flow {
  display: grid;
  gap: 18px;
}

.ranking-flow__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.ranking-flow__head p {
  max-width: 620px;
  margin: 0;
  color: var(--gray-500);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.7;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 300px));
  justify-content: center;
  align-items: end;
  gap: 18px;
  min-width: 0;
}

.podium-grid--count-1 {
  grid-template-columns: minmax(240px, 300px);
}

.podium-grid--count-2 {
  grid-template-columns: repeat(2, minmax(240px, 300px));
}

.podium-card {
  --rank-accent: var(--brand-500);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-width: 0;
  min-height: 256px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.98)),
    white;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 70px -55px rgba(15, 23, 42, 0.86);
  animation: rankRise 0.5s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--rank-accent) 22%, transparent), transparent 32%),
    linear-gradient(90deg, color-mix(in srgb, var(--rank-accent) 8%, transparent), transparent 40%);
  pointer-events: none;
}

.podium-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--rank-accent) 30%, transparent);
  box-shadow: 0 32px 80px -52px rgba(15, 23, 42, 0.9);
}

.podium-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--rank-accent) 60%, white);
  outline-offset: 3px;
}

.podium-card--champion {
  --rank-accent: var(--yellow-500);
  order: 2;
  min-height: 292px;
  color: white;
  border-color: rgba(234, 179, 8, 0.36);
  background:
    linear-gradient(140deg, rgba(31, 41, 55, 0.98), rgba(8, 13, 24, 0.98) 58%, rgba(47, 35, 10, 0.98)),
    var(--gray-900);
}

.podium-card--silver {
  --rank-accent: #94a3b8;
  order: 1;
}

.podium-card--bronze {
  --rank-accent: #b45309;
  order: 3;
}

.podium-card--champion::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -86px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(234, 179, 8, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.18), transparent 68%);
}

.podium-card__rank,
.podium-card__identity,
.podium-card__stats {
  position: relative;
  z-index: 1;
}

.podium-card__rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.podium-card__rank span {
  color: color-mix(in srgb, var(--rank-accent) 88%, var(--gray-900));
  font-size: var(--text-2xl);
  line-height: 1;
  font-weight: var(--font-bold);
  letter-spacing: -0.055em;
}

.podium-card--champion .podium-card__rank span {
  color: #fde68a;
  font-size: var(--text-3xl);
}

.podium-card__rank i {
  color: var(--yellow-500);
  font-size: var(--text-2xl);
}

.podium-card__identity {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: 8px 0 4px;
  text-align: center;
}

.podium-card--champion .podium-card__identity {
  gap: 16px;
}

.podium-card__avatar,
.rank-item__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0.92)),
    var(--gray-100);
  color: var(--gray-900);
  font-weight: var(--font-bold);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.podium-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: var(--text-2xl);
}

.podium-card--champion .podium-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fef3c7, #fff 58%, #dbeafe);
  color: var(--gray-900);
  font-size: 30px;
}

.podium-card__avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-card__avatar-text {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.podium-card__identity h3 {
  margin: 0;
  color: inherit;
  font-size: var(--text-xl);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: var(--font-bold);
  overflow-wrap: anywhere;
}

.podium-card--champion .podium-card__identity h3 {
  font-size: 20px;
}

.podium-card__stats {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.podium-card__score {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.podium-card__score strong {
  color: inherit;
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: var(--font-bold);
  overflow-wrap: anywhere;
}

.podium-card__score span {
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1;
  font-weight: var(--font-semibold);
  transform: translateY(-6px);
}

.podium-card__evidence {
  margin: 0;
  color: var(--gray-500);
  font-size: var(--text-base);
  line-height: 1.4;
  font-weight: var(--font-semibold);
  text-align: center;
}

.podium-card--champion .podium-card__score strong {
  font-size: 48px;
}

.podium-card--champion .podium-card__score span,
.podium-card--champion .podium-card__evidence {
  color: rgba(226, 232, 240, 0.66);
}

.ranking-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: white;
}

.ranking-list__head,
.rank-item {
  display: grid;
  grid-template-columns: 64px minmax(230px, 1.25fr) minmax(156px, 0.78fr) minmax(148px, 0.72fr) minmax(106px, 0.46fr) 130px;
  gap: 18px;
  align-items: center;
}

.ranking-list__head {
  min-height: 46px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: #64748b;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.03em;
}

.rank-item {
  --rank-accent: #ef4444;
  min-height: 86px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: white;
  animation: rankRise 0.46s ease both;
  transition: background 0.2s ease;
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-item:hover {
  background: #fbfdff;
}

.rank-item__place {
  color: #cbd5e1;
}

.rank-item__place span {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-style: italic;
  font-weight: var(--font-semibold);
  letter-spacing: -0.045em;
}

.rank-item__club {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rank-item__avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  font-size: var(--text-xl);
}

.rank-item__avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-item__avatar-text {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.rank-item__identity {
  min-width: 0;
}

.rank-item__identity h3 {
  margin: 0;
  overflow: hidden;
  color: var(--gray-900);
  font-size: var(--text-base);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: var(--font-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.rank-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: #eef2f7;
  color: #64748b;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.rank-item__tag--status {
  background: #e0e7ff;
  color: #4f46e5;
}

.rank-item__evidence strong,
.rank-item__risk strong {
  display: block;
  color: var(--gray-900);
  font-size: var(--text-base);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: var(--font-semibold);
}

.rank-item__evidence span,
.rank-item__risk span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.rank-item__risk--safe strong {
  color: #10b981;
}

.rank-item__risk--medium strong {
  color: #f59e0b;
}

.rank-item__risk--high strong {
  color: #ef4444;
}

.rank-item__score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
}

.rank-item__score strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: var(--font-semibold);
}

.rank-item__score i {
  color: #10b981;
  font-size: var(--text-sm);
}

.rank-item__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: white;
  color: var(--gray-900);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rank-item__action:hover {
  transform: translateX(1px);
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: white;
}

.rank-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: var(--gray-200);
}

.rank-method div {
  min-height: 112px;
  padding: 20px;
  background: white;
}

.rank-method p {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.rank-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 280px;
  padding: 54px 24px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 28px;
  background: white;
  text-align: center;
}

.panel-empty__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: var(--text-2xl);
}

.rank-empty h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.rank-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--gray-500);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@keyframes rankRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rankBar {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 1180px) {
  .rank-hero__inner,
  .rank-dimension-brief {
    grid-template-columns: 1fr;
  }

  .rank-hero__stats {
    max-width: 640px;
  }

  .podium-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .risk-notice-list {
    grid-template-columns: 1fr;
  }

  .risk-notice-card {
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.2fr) auto;
  }

  .risk-notice-card__meta {
    grid-column: 2 / 3;
    align-self: start;
  }

  .risk-notice-card__action {
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
  }

  .podium-card,
  .podium-card--champion,
  .podium-card--silver,
  .podium-card--bronze {
    order: initial;
    min-height: 0;
  }

  .ranking-list__head,
  .rank-item {
    grid-template-columns: 52px minmax(200px, 1.15fr) minmax(136px, 0.78fr) minmax(124px, 0.72fr) minmax(86px, 0.46fr) 112px;
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 820px) {
  .rank-hero {
    min-height: 0;
    padding: 42px 0 56px;
  }

  .rank-hero__inner {
    gap: 30px;
  }

  .rank-hero__meta {
    align-items: stretch;
    flex-direction: column;
  }

  .rank-hero__stats,
  .rank-method {
    grid-template-columns: 1fr;
  }

  .rank-hero-stat--wide {
    grid-column: auto;
  }

  .rank-workspace {
    margin-top: -28px;
  }

  .tabs-wrap {
    width: 100%;
  }

  .tab-btn {
    flex: 0 0 auto;
  }

  .ranking-flow__head,
  .risk-notice-flow__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-list__head {
    display: none;
  }

  .rank-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    min-height: 0;
    padding: 14px;
  }

  .rank-item__place {
    grid-row: 1 / span 5;
    padding-top: 12px;
  }

  .rank-item__club,
  .rank-item__evidence,
  .rank-item__risk,
  .rank-item__score,
  .rank-item__action {
    grid-column: 2 / -1;
  }

  .rank-item__action {
    width: fit-content;
  }

  .risk-notice-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .risk-notice-card__meta,
  .risk-notice-card__action {
    grid-column: auto;
    grid-row: auto;
  }

  .risk-notice-card__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 10px;
    white-space: normal;
  }

  .risk-notice-card__action {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .rank-page-frame {
    padding-top: 258px;
    padding-bottom: 56px;
  }

  .rank-hero {
    padding-top: 34px;
  }

  .rank-hero h1 {
    font-size: clamp(34px, 13vw, 52px);
  }

  .rank-hero p {
    font-size: var(--text-base);
  }

  .rank-dimension-brief__copy,
  .rank-dimension-brief__leader,
  .podium-card,
  .rank-method div {
    padding: 20px;
  }

  .podium-card__stats {
    max-width: 100%;
  }

  .podium-card__score strong {
    font-size: 50px;
  }

  .podium-card--champion .podium-card__score strong {
    font-size: 58px;
  }

  .podium-card__score span {
    font-size: 24px;
    transform: translateY(-5px);
  }

  .podium-card__evidence {
    font-size: var(--text-sm);
  }

  .rank-item {
    padding: 13px;
    border-radius: 0;
  }

  .rank-item__place {
    width: auto;
    height: auto;
    border-radius: 0;
  }

  .rank-item__place span {
    font-size: 19px;
  }

  .rank-item__avatar {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: var(--text-lg);
  }

  .rank-item__club {
    gap: 10px;
  }

  .rank-item__identity h3 {
    font-size: var(--text-base);
  }

  .rank-item__evidence strong,
  .rank-item__risk strong {
    font-size: var(--text-sm);
  }

  .rank-item__score strong {
    font-size: 22px;
  }

  .rank-item__action {
    min-height: 38px;
    padding: 0 14px;
  }

  .risk-notice-card {
    padding: 15px;
    border-radius: 20px;
  }

  .risk-notice-card__head {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .risk-notice-card__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
