/* Топ — вариант A «Подиум».
   Подключать ПОСЛЕ main.css и theme.css: <link rel="stylesheet" href="/css/top-a-podium.css">
   Три колонки-ступени разной высоты на общем полу, у первого места корона,
   большие цифры мест, остальные — сеткой в две колонки. */

.topview .section-title {
  margin: 8px 0 8px; font-family: 'MV Saturn', Georgia, serif; font-weight: 700;
  font-size: clamp(42px, 6.5vw, 72px); line-height: 1; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, #c9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topview > .muted { color: #b3adc2; font-size: 17px; }
.topview .top-tabs { margin: 28px 0 0; gap: 10px; }
.top-tab { height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14px; }

.podium {
  position: relative; align-items: flex-end; gap: clamp(8px, 2vw, 20px); margin: 76px 0 0;
  padding-bottom: 0; border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(168, 85, 247, .9) 30%, rgba(168, 85, 247, .9) 70%, transparent) 1;
}
.podium .pod-card {
  width: clamp(96px, 27vw, 230px); border-radius: 20px 20px 0 0; border-bottom: 0; transform: none;
  padding: 30px 10px 78px; gap: 8px; justify-content: flex-start;
}
.podium .pod-card.first { min-height: 330px; background: linear-gradient(180deg, rgba(251, 191, 36, .3), rgba(251, 191, 36, .04) 80%); border-color: rgba(251, 191, 36, .65); box-shadow: 0 -10px 50px rgba(251, 191, 36, .2); }
.podium .pod-card.second { min-height: 268px; background: linear-gradient(180deg, rgba(229, 231, 235, .22), rgba(229, 231, 235, .03) 80%); }
.podium .pod-card.third { min-height: 224px; background: linear-gradient(180deg, rgba(245, 158, 11, .24), rgba(245, 158, 11, .03) 80%); }
.podium .pod-ava { width: clamp(60px, 15vw, 100px); height: clamp(60px, 15vw, 100px); font-size: 34px; }
.podium .pod-card.first .pod-ava { width: clamp(72px, 18vw, 124px); height: clamp(72px, 18vw, 124px); box-shadow: 0 0 0 5px rgba(251, 191, 36, .25), 0 0 40px rgba(251, 191, 36, .4); }
.podium .pod-name { font-size: clamp(14px, 1.6vw, 20px); margin-top: 6px; }
.podium .pod-hours { font-size: 14px; color: #c9c3d6; }
/* Большая цифра в основании колонки */
.podium .pod-rank {
  top: auto; bottom: 14px; min-width: 0; height: auto; padding: 0; background: none !important;
  font-family: 'MV Saturn', Georgia, serif; font-size: clamp(44px, 7vw, 72px); font-weight: 700; line-height: 1;
}
.podium .pod-card.first .pod-rank { color: rgba(251, 191, 36, .85); }
.podium .pod-card.second .pod-rank { color: rgba(229, 231, 235, .7); }
.podium .pod-card.third .pod-rank { color: rgba(245, 158, 11, .75); }
/* Корона */
.podium .pod-card.first::before {
  content: ''; position: absolute; top: -40px; left: 50%; width: 46px; height: 36px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M3 28 0 6l12 10L22 0l10 16L44 6l-3 22z' fill='%23fbbf24'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, .7));
}

.top-list-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 40px; }
.top-row { padding: 14px 18px; border-radius: 14px; background: rgba(20, 14, 34, .72); transition: border-color .2s, transform .2s; }
.top-row:hover { border-color: rgba(168, 85, 247, .6); transform: translateY(-2px); }
.top-rank { width: 36px; font-family: 'MV Saturn', Georgia, serif; font-size: 22px; color: #6f6a80; }
.top-hours { color: #c9c3d6; font-weight: 700; }

@media (max-width: 720px) {
  .podium { margin-top: 68px; }
  .podium .pod-card { padding: 26px 4px 64px; }
  .podium .pod-card.first { min-height: 280px; }
  .podium .pod-card.second { min-height: 232px; }
  .podium .pod-card.third { min-height: 196px; }
  .top-list-col { grid-template-columns: minmax(0, 1fr); }
}

/* Свободное место: цифра без пунктирной рамки (её рисует main.css для пустого слота) */
.podium .pod-card.pod-empty .pod-rank { border: 0; color: rgba(245, 158, 11, .35); }
