.agenda-page {
  gap: 24px;
}

.agenda-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agenda-player-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.agenda-player-card--how-to-play{
  padding: 16px 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  float: none !important;
  clear: both;
  width: 100%;
  max-width: 100%;
}

.agenda-player-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agenda-player-avatar-wrap {
  flex: 0 0 auto;
}

.agenda-player-avatar {
  width: 64px;
  height: 64px;
}

.agenda-player-head-copy {
  min-width: 0;
}

.agenda-player-head-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.agenda-player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agenda-player-card--sidebar .agenda-player-grid {
  grid-template-columns: minmax(0, 1fr);
}

.agenda-player-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-player-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}

.agenda-player-stat-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}

.agenda-player-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.agenda-player-inline-metric {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.agenda-player-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-left: 4px;
  border-radius: 999px;
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.agenda-player-action-link svg {
  width: 14px;
  height: 14px;
}

.agenda-player-action-link .icon-valise {
  flex: 0 0 auto;
  position: relative;
  top: -6px;
  width: 25px;
  height: 25px;
  display: inline-block;
  font-size: 25px;
  line-height: 1;
}

.agenda-player-action-link:hover,
.agenda-player-action-link:focus {
  transform: rotate(-12deg);
}

.agenda-player-stat strong {
  font-size: 16px;
  line-height: 1.1;
  color: #0f172a;
  font-weight: 400;
}

.agenda-player-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agenda-player-section-label {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.agenda-player-section-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-player-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.agenda-player-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 400;
}

.agenda-player-pill--success {
  background: #ecfdf5;
  color: #047857;
}

.agenda-player-empty {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.agenda-player-inline-text {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 500;
}

.agenda-player-rank-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-player-rank-link {
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.agenda-player-rank-link:hover,
.agenda-player-rank-link:focus {
  text-decoration: underline;
}

.agenda-player-points-inline {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.agenda-player-section-inline .agenda-player-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.agenda-player-section-inline .agenda-player-pill,
.agenda-player-section-inline .agenda-player-inline-link {
  vertical-align: middle;
}

.agenda-player-inline-link {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.agenda-player-inline-link:hover,
.agenda-player-inline-link:focus {
  text-decoration: underline;
}

.agenda-player-drprono-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.agenda-player-drprono-link.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.agenda-player-drprono-link .icon-drprono {
  flex: 0 0 auto;
  position: relative;
  top: -6px;
  width: 25px;
  height: 25px;
  display: inline-block;
  font-size: 25px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.agenda-player-drprono-link:hover,
.agenda-player-drprono-link:focus {
  text-decoration: underline;
}

.agenda-player-drprono-link:hover .icon-drprono,
.agenda-player-drprono-link:focus .icon-drprono {
  transform: rotate(-12deg);
}

.agenda .icon-valise,
.agenda .icon-drprono {
  font-size: 25px !important;
  line-height: 1 !important;
  width: 25px !important;
  height: 25px !important;
  display: inline-block !important;
}

@media (max-width: 1199.98px) {
  .agenda-page .row > aside,
  .agenda-page .agenda-sidebar-stack,
  .agenda-page .agenda-player-card--how-to-play {
    float: none !important;
    clear: both;
    width: 100%;
    max-width: 100%;
  }
}

.agenda .icon-valise:before,
.agenda .icon-drprono:before {
  font-size: 25px !important;
  line-height: 1 !important;
  width: 25px !important;
  height: 25px !important;
  display: inline-block !important;
}

.agenda .agenda-nav-week {
  background: #f8fafc;
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.agenda .agenda-nav-week a,
.agenda .agenda-nav-week h3 {
  border-radius: 999px;
}

.agenda .agenda-nav-week a:hover,
.agenda .agenda-nav-week a:focus {
  font-weight: 700;
}

.agenda .agenda-filters .form-check-label {
  font-size: 15px;
}

@media (max-width: 991.98px) {
  .agenda-player-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
