@charset "utf-8";

.eventDateNav {
  position: fixed;
  top: 150px;
  left: max(12px, calc(50% - 628px));
  z-index: 80;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 5px;
  width: 164px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(71, 152, 128, 0.35);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.eventDateNav.is-in-event-area {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.eventDateNav a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 3px 5px 4px;
  color: #194534;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  background: #fff;
  border: 2px solid #479880;
  border-radius: 7px;
  box-shadow: 0 3px 0 #2c755f;
  box-sizing: border-box;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.eventDateNav a span {
  margin-bottom: 1px;
  color: #ff6100;
  font-size: 1.25rem;
  line-height: 1;
}

.eventDateNav a.is-current {
  color: #fff;
  background: #479880;
  transform: translateX(3px);
  box-shadow: 0 1px 0 #2c755f;
}

.eventDateNav a.is-current span {
  color: #ffe900;
}

.eventDateNav a:focus-visible,
.eventSmartCta a:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

.eventSmartCta {
  position: fixed;
  left: calc(50% + 330px);
  bottom: 170px;
  z-index: 98;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
  width: 300px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid #479880;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.eventSmartCta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eventSmartCta p {
  min-width: 0;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.eventSmartCta__label {
  display: block;
  margin-bottom: 2px;
  color: #ff6100;
  font-size: 1.1rem;
}

.eventSmartCta strong {
  display: block;
  color: #174332;
  font-size: 1.35rem;
}

.eventSmartCta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  background: linear-gradient(90deg, #63d939 0%, #1daee9 100%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
}

.eventSmartCta a:visited {
  color: #fff;
}

.eventSmartCta a:hover {
  opacity: 0.82;
}

@media all and (max-width: 1279px) and (min-width: 897px) {
  .eventDateNav,
  .eventSmartCta {
    display: none;
  }
}

@media all and (max-width: 896px) {
  .eventDateNav {
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: row;
    gap: 7px;
    width: auto;
    padding: 8px 9px 10px;
    border-width: 0 0 2px;
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: translateY(-8px);
  }

  .eventDateNav.is-in-event-area {
    transform: translateY(0);
  }

  .eventDateNav::-webkit-scrollbar {
    display: none;
  }

  .eventDateNav a {
    flex: 0 0 108px;
    width: 108px;
    min-height: 42px;
    padding: 4px 6px 5px;
    font-size: 1rem;
    border-radius: 7px;
  }

  .eventDateNav a span {
    font-size: 1.2rem;
  }

  .eventSmartCta {
    top: calc(60px + var(--event-nav-height, 64px) + 8px);
    left: 9px;
    right: 9px;
    bottom: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 8px 8px 8px 10px;
    border-width: 2px;
    border-radius: 7px;
    transform: translateY(-8px);
  }

  .eventSmartCta.is-visible {
    transform: translateY(0);
  }

  .eventSmartCta p {
    flex: 1 1 auto;
    text-align: left;
  }

  .eventSmartCta strong {
    font-size: 1.08rem;
  }

  .eventSmartCta a {
    flex: 0 0 150px;
    width: 150px;
    min-height: 38px;
    padding: 0 6px;
    font-size: 1rem;
    white-space: nowrap;
    box-sizing: border-box;
  }
}
