/* Пики, баны и таймеры драфта. Адаптивные правила расположены рядом с компонентами. */
.pill.draft { color: var(--amber); border-color: rgb(105, 85, 44); background: rgb(40, 35, 25); }
.section { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 16px; }
.section h2 { font-size: 14px; margin: 0px 0px 13px; }
.draft-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.draft-team h3 { font-size: 12px; color: var(--muted); }
.hero-list { display: flex; flex-wrap: wrap; gap: 7px; }
.hero { width: 68px; min-height: 48px; border-radius: 7px; background: rgb(36, 44, 54); border: 1px solid rgb(48, 58, 71); padding: 6px; font-size: 10px; color: rgb(217, 224, 232); text-align: center; overflow-wrap: anywhere; }
.hero b { display: block; font-size: 12px; color: rgb(255, 255, 255); margin-bottom: 3px; }
.hero.ban { color: rgb(230, 107, 107); background: rgb(41, 30, 34); }
@media (max-width: 900px) {
  .draft-teams { grid-template-columns: 1fr; }
}
.hero-list { align-items: flex-start; gap: 8px; }
.draft-hero { position: relative; width: 88px; overflow: hidden; border-radius: 7px; border: 1px solid rgb(53, 66, 82); background: rgb(20, 27, 35); text-align: center; color: rgb(220, 229, 239); font-size: 10px; }
.draft-hero-img { display: block; width: 100%; height: 48px; object-fit: cover; background: rgb(34, 43, 54); }
.draft-hero-img-fallback { height: 48px; display: grid; place-items: center; color: rgb(185, 199, 214); font-weight: 800; }
.draft-hero span { display: block; padding: 4px 3px; line-height: 1.2; min-height: 27px; }
.draft-portrait { position: relative; }
.draft-hero .draft-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  min-height: 0;
  height: 14px;
  padding: 0 2px;
  background: linear-gradient(180deg, #7a1c24 0%, #3e1016 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  pointer-events: none;
}
.draft-hero.ban { border-color: rgb(53, 66, 82); }
.draft-hero.ban .draft-hero-img,
.draft-hero.ban .draft-hero-img-fallback { filter: grayscale(0.85) brightness(0.85); }
.empty-heroes { font-size: 11px; color: var(--muted); padding: 7px 0px; }
@media (max-width: 500px) {
  .draft-hero { width: 76px; }
}
.draft-section .draft-placeholder { height: 41px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed rgb(59, 70, 85); color: rgb(154, 167, 183); }
.draft-section .draft-placeholder span { min-height: 0px; padding: 0px; font-size: 10px; }
.draft-section .draft-active { border: 1px solid rgb(217, 179, 93); background: rgb(48, 41, 28); color: rgb(245, 207, 128); }
.draft-section .draft-active b { font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.draft-clock-note { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.draft-section { max-width: 861px; margin: 0px auto; padding: 13px 14px; }
.draft-section h2 { margin-bottom: 8px; }
.draft-section .draft-teams { gap: 14px; }
.draft-section .draft-team h3 { margin: 8px 0px 6px; }
.draft-section .hero-list { gap: 5px; }
.draft-section .draft-hero { width: 72px; }
.draft-section .draft-hero-img, .draft-section .draft-hero-img-fallback { height: 39px; }
.draft-section .draft-hero span { min-height: 23px; padding: 3px 2px; font-size: 9px; }
.draft-section .draft-hero .draft-mark { height: 13px; min-height: 0; padding: 0 1px; font-size: 8px; line-height: 13px; }
@media (max-width: 650px) {
  .draft-section .draft-teams { grid-template-columns: 1fr; }
}
.match-monitor .draft-section { max-width: none; }
.match-layout:not(.live-layout) .draft-section { margin-top: 16px; }
.match-layout .draft-section { background: transparent; border: 0px; border-radius: 0px; padding: 0px; }
