/* Upcoming — clubs view (toggle, cards, detail panel) */

.up-view-toggle {
  display: inline-flex;
  gap: 8px;
  margin: 0 auto clamp(18px, 3vw, 28px);
  padding: 5px;
  border: 3px solid #111;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 0 #111, 0 10px 18px rgba(6, 17, 59, 0.22);
}

.up-view-toggle button {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #06113b;
  line-height: 1;
}

.up-view-toggle button.is-active {
  border-color: #111;
  background: linear-gradient(180deg, #ff82c8, #ff1493);
  color: #fff;
  text-shadow: -1px -1px 0 #111, 1px 1px 0 #111;
  box-shadow: 0 3px 0 #111;
}

.up-clubs-view,
.up-calendar-view {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  margin: 0 auto;
}

.up-club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(12px, 2.5vw, 18px);
  width: 100%;
}

.up-club-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 188px;
  margin: 0;
  padding: 16px 12px 14px;
  border: 3px solid #111;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: #06113b;
  box-shadow: 0 5px 0 #111, 0 12px 20px rgba(6, 17, 59, 0.24);
  transition: transform 140ms ease;
}

.up-club-card:hover,
.up-club-card:focus-visible {
  transform: translateY(-3px);
  outline: 2px solid #fff8d8;
  outline-offset: 2px;
}

.up-club-card--green { background: linear-gradient(180deg, #9ff5c4, #128843); }
.up-club-card--pink { background: linear-gradient(180deg, #ffb8dc, #c91178); color: #fff; }
.up-club-card--blue { background: linear-gradient(180deg, #9fdcff, #17639e); color: #fff; }
.up-club-card--gold { background: linear-gradient(180deg, #ffe88a, #d69811); }

.up-club-card-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}

.up-club-card-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
}

.up-club-card-placeholder {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #111;
  background: rgba(255, 255, 255, 0.92);
  font-family: "Luckiest Guy", Impact, sans-serif;
  font-size: 1.5rem;
}

.up-club-card-name {
  font-family: "Luckiest Guy", Impact, sans-serif;
  font-size: clamp(0.92rem, 2.6vw, 1.15rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.up-club-card-stage {
  display: grid;
  gap: 3px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  border-top: 2px dashed rgba(17, 17, 17, 0.28);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.up-club-card-stage strong { font-size: 0.76rem; }
.up-club-card-stage em { font-style: normal; }

.up-club-detail {
  position: relative;
  width: min(100%, 560px);
  margin: 22px auto 0;
  padding: 18px 16px;
  border: 3px solid #111;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8fd, #ffd4ec);
  box-shadow: 0 5px 0 #111;
  text-align: left;
  overflow: hidden;
}

.up-club-detail-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.up-club-detail-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-right: 36px;
  min-width: 0;
}

.up-club-detail-logo {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 80px;
  height: 80px;
}

.up-club-detail-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
}

.up-club-detail-logo .up-club-card-placeholder {
  width: 80px;
  height: 80px;
}

.up-club-detail-head > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.up-stage-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.up-stage-timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
}

.up-stage-timeline-pos { font-weight: 900; color: #ff1493; }

.up-stage-timeline-body strong {
  font-family: "Luckiest Guy", Impact, sans-serif;
  text-transform: uppercase;
}

.up-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.up-calendar-nav button {
  appearance: none;
  width: 40px;
  height: 40px;
  border: 2px solid #111;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eef7ff);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 3px 0 #111;
}

.up-calendar-nav strong {
  font-family: "Luckiest Guy", Impact, sans-serif;
  font-size: clamp(1rem, 3vw, 1.35rem);
  text-transform: uppercase;
  color: #fff;
  text-shadow: -1px -1px 0 #111, 1px 1px 0 #111;
}

.up-cal-filler { visibility: hidden; pointer-events: none; }

.up-day-events {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.up-day-event {
  padding: 10px 12px;
  border: 2px solid #111;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff82c8, #ff1493);
  color: #fff;
}

.up-day-event-club {
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.up-day-event strong {
  display: block;
  font-family: "Luckiest Guy", Impact, sans-serif;
  text-transform: uppercase;
}

.up-empty,
.up-day-events-empty,
.up-stage-timeline-empty {
  padding: 14px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
