/* 赞助榜独立页。只作用于 .sponsor-page，不改 base 与其它路由。 */

.sponsor-page { max-width:1280px; margin:0 auto; min-width:0; padding:0 0 28px; }

.sponsor-page .sponsor-hero {
  position:relative;
  overflow:hidden;
  border-radius:16px;
  padding:32px 36px 28px;
  margin-bottom:22px;
  background:
    radial-gradient(ellipse 420px 260px at 92% 18%, rgba(248,207,3,.22), transparent 58%),
    var(--surface);
  border:1px solid #ffffff0a;
}
.sponsor-page .sponsor-hero:after {
  content:"";
  position:absolute;
  right:-36px;
  top:-90px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(248,207,3,.3), rgba(248,207,3,.05) 52%, transparent 70%);
  pointer-events:none;
}
.sponsor-page .sponsor-hero .page-kicker,
.sponsor-page .sponsor-hero h1,
.sponsor-page .sponsor-hero .meta,
.sponsor-page .sponsor-hero .sponsor-count {
  position:relative;
  z-index:1;
}
.sponsor-page .sponsor-hero h1 {
  margin:8px 0 8px;
  font-size:28px;
  letter-spacing:.04em;
  font-weight:700;
}
.sponsor-page .sponsor-hero .meta {
  margin:0;
  font-size:13px;
  max-width:42em;
  line-height:1.6;
  color:var(--muted);
}
.sponsor-page .sponsor-count {
  margin:12px 0 0;
  font-size:13px;
  color:var(--text);
}

.sponsor-page .sponsor-list {
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
.sponsor-page .sponsor-row {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  background:var(--surface);
  border:1px solid #ffffff0c;
  border-radius:14px;
  padding:14px 16px;
  color:var(--text);
  text-decoration:none;
}
.sponsor-page a.sponsor-row:hover {
  background:var(--surface2);
  border-color:#ffffff16;
  color:#fff;
}
.sponsor-page a.sponsor-row:focus-visible {
  outline:2px solid var(--acc);
  outline-offset:2px;
}
.sponsor-page .sponsor-row.top-1 { border-color:rgba(248,207,3,.4); }
.sponsor-page .sponsor-row.top-2 { border-color:rgba(248,207,3,.22); }
.sponsor-page .sponsor-row.top-3 { border-color:rgba(248,207,3,.14); }

.sponsor-page .sponsor-no {
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  background:#ffffff14;
  color:var(--muted);
}
.sponsor-page .sponsor-row.top-1 .sponsor-no,
.sponsor-page .sponsor-row.top-2 .sponsor-no,
.sponsor-page .sponsor-row.top-3 .sponsor-no {
  background:var(--acc);
  color:var(--acc-text);
}

.sponsor-page .sponsor-avatar {
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:22px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#ffffffcc;
  background:linear-gradient(160deg,#3a3340,#24222a);
  position:relative;
}
.sponsor-page .sponsor-avatar img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.sponsor-page .sponsor-meta {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.sponsor-page .sponsor-name {
  font-size:15px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sponsor-page .sponsor-note {
  font-size:13px;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sponsor-page .sponsor-side {
  flex:0 0 auto;
  text-align:right;
  min-width:0;
  max-width:40%;
}
.sponsor-page .sponsor-amount {
  font-size:14px;
  font-weight:700;
  color:var(--acc);
  overflow-wrap:anywhere;
}
.sponsor-page .sponsor-time {
  margin-top:2px;
  font-size:12px;
  color:var(--muted);
}

.sponsor-page .sponsor-empty {
  margin:0;
  padding:28px 18px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  background:var(--surface);
  border:1px dashed #ffffff22;
  border-radius:14px;
}
.sponsor-page .sponsor-empty strong {
  color:var(--text);
  font-weight:650;
}

.sponsor-page .sponsor-skel-row .skel-block {
  width:44px;
  height:44px;
  border-radius:22px;
  flex:0 0 auto;
}
.sponsor-page .sponsor-skel-body { flex:1; min-width:0; }

.sponsor-page .sponsor-row {
  transition:transform .35s cubic-bezier(.22,.7,.3,1), box-shadow .35s cubic-bezier(.22,.7,.3,1), background .22s ease, border-color .22s ease, color .2s ease;
}
.sponsor-page a.sponsor-row:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 22px rgba(0,0,0,.28);
}

@media (max-width:1024px){
  .sponsor-page .sponsor-hero { padding:24px 22px 20px; }
  .sponsor-page .sponsor-hero h1 { font-size:24px; overflow-wrap:anywhere; }
  .sponsor-page .sponsor-side { max-width:46%; }
}
@media (max-width:640px){
  .sponsor-page .sponsor-hero { padding:20px 16px 16px; }
  .sponsor-page .sponsor-row {
    flex-wrap:wrap;
    align-items:flex-start;
    padding:12px 12px;
    gap:10px;
  }
  .sponsor-page .sponsor-meta { flex:1 1 calc(100% - 96px); }
  .sponsor-page .sponsor-name,
  .sponsor-page .sponsor-note { white-space:normal; overflow-wrap:anywhere; }
  .sponsor-page .sponsor-side {
    flex:1 1 100%;
    max-width:none;
    text-align:left;
    padding-left:86px;
  }
}

@media (prefers-reduced-motion: reduce){
  .sponsor-page,
  .sponsor-page *,
  .sponsor-page *::before,
  .sponsor-page *::after {
    animation:none !important;
    transition:none !important;
  }
  .sponsor-page a.sponsor-row:hover {
    transform:none;
    box-shadow:none;
  }
}
