body {
  background: #0b0b0d;
  font-family: Arial, sans-serif;
  color: black;
}
button {
  background: #1e90ff;
  color: white;
  padding: 0.4rem 0.8rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}
.dr {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  color: #111114;
  background: #0f0f12;
}
.drContainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.drMuted {
  color: #a7a7b0;
}
.drSmall {
  font-size: 12px;
}
/* TOP */
.drTop {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drTop__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.drBrand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.drBrand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.drBrand__text {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.92;
}
.drNav {
  display: flex;
  gap: 14px;
}
.drNav__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}
.drNav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.drNav__link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
/* HERO */
.drHero {
  background: radial-gradient(900px 280px at 85% 50%, rgba(180, 0, 50, 0.35), transparent 60%), radial-gradient(700px 240px at 15% 30%, rgba(255, 255, 255, 0.1), transparent 55%), linear-gradient(180deg, #0b0b0d, #15151a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drHero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  align-items: center;
  padding: 46px 0 36px;
}
@media only screen and (max-width: 1200px) {
  .drHero__inner {
    max-width: 95%;
    margin: auto;
  }
}
.drHero__logoBox {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
}
.drHero__logoBox img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
@media only screen and (max-width: 849px) {
  .drHero__logoBox {
    margin: auto;
  }
}
.drHero__title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}
.drHero__title span {
  color: #e11d2e;
}
@media only screen and (max-width: 849px) {
  .drHero__title {
    text-align: center;
  }
}
.drHero__lead {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  font-size: 14px;
  line-height: 1.55;
}
@media only screen and (max-width: 849px) {
  .drHero__lead {
    text-align: center;
    margin: auto;
    margin-top: 20px;
  }
}
/* MAIN */
.drMain {
  background: #fff;
  padding: 26px 0 60px;
}
/* controls panel */
.drPanel {
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  padding: 16px;
  margin-top: -26px;
}
.drPanel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}
.drField {
  display: grid;
  gap: 6px;
}
.drField--search {
  min-width: 220px;
}
.drLabel {
  font-size: 12px;
  color: #666;
  font-weight: 700;
}
.drInput {
  height: 38px;
  padding: 0 12px;
  border: 1px solid #ececf2;
  border-radius: 12px;
  outline: none;
}
.drInput:focus {
  border-color: rgba(225, 29, 46, 0.45);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.12);
}
.drButtons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.drBtn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.drBtn:hover {
  transform: translateY(-1px);
}
.drBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.drBtn--ghost {
  background: #fff;
  color: #111;
}
.drPill {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ececf2;
  border-radius: 999px;
  padding: 0 12px;
  background: #fafafa;
  font-size: 13px;
  user-select: none;
}
.drPill input {
  accent-color: #e11d2e;
}
.drSync {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.drSync__msg {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}
.drSync__prog {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drSync__prog progress {
  width: 360px;
  max-width: 100%;
  height: 16px;
}
.drLog {
  margin: 0;
  max-height: 220px;
  overflow: auto;
  background: #0b0b0d;
  color: #b7f7c7;
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* month switcher */
.drMonth {
  margin: 18px auto 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.drMonth__btn {
  width: 36px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #ececf2;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: black;
}
.drMonth__label {
  min-width: 160px;
  text-align: center;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #ececf2;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: #fff;
}
/* blocks */
.drBlock {
  margin-top: 20px;
}
.drBlock__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.drBlock__title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.drBlock__title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}
.drBlock__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.drIco {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(225, 29, 46, 0.1);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.drSub {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}
.drCard {
  background: #ffffff;
  border: 1px solid #ececf2;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.drCard__top {
  background: #101014;
  color: #fff;
  padding: 12px 14px;
}
.drCard__topTitle {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.drTableWrap {
  overflow: auto;
}
.drTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  /* klikací řádky event/competition */
}
.drTable thead th {
  position: sticky;
  top: 0;
  background: #0f0f12;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  font-size: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.drTable tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #ececf2;
  white-space: nowrap;
}
.drTable tbody tr {
  background: #fff;
}
.drTable tbody tr:nth-child(even) {
  background: #fbfbfd;
}
.drTable tbody tr:hover {
  background: #fff4f6;
}
.drTable tbody tr.click {
  cursor: pointer;
}
.drTable tbody tr.click.is-active {
  background: #fff4f6;
}
/* responsive */
@media (max-width: 860px) {
  .drHero__inner {
    grid-template-columns: 1fr;
  }
  .drHero__logoBox {
    width: 120px;
    height: 120px;
  }
  .drPanel {
    margin-top: 12px;
  }
}
