:root {
  --page-bg: linear-gradient(
  to bottom,
  #fffeea 0%,
  #ffdeea 60%,
  #ffc2d7 100%
);
  --ink: #171717;
  --muted: #888;
  --line: rgba(30, 30, 30, .12);
  --card-width: min(50vw, 500px);
  --card-height: min(68vh, 680px);
  --card-gap: clamp(0px, 0vw, 0px);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; 
  background: var(--page-bg);}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;

  background: var(--page-bg);
  color: var(--ink);

  overflow: hidden;

  font-family: Inter, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }

.page {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;

  box-sizing: border-box;
  overflow: hidden;

  padding-bottom: env(safe-area-inset-bottom);
}

.intro {
  flex: 0 0 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 620;
}
.intro-copy { margin: 14px 0 0; color: #777; font-size: 16px; }
.carousel-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: max-content;
  min-width: 220px;
  margin: 2% auto 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(22px) saturate(1.5);
  isolation: isolate;
}
.carousel-tabs-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
  transition: transform .38s cubic-bezier(.2,.8,.2,1);
}
.carousel-tabs[data-active="free-time"]
.carousel-tabs-indicator {
  transform: translateX(100%);
}
.carousel-tab {
  position: relative;
  z-index: 1;
  min-width: 104px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(25,25,25,.58);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color .25s ease, transform .2s ease;
}

.carousel-tab.is-active {
  color: #171717;
}









.carousel { 
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.carousel-viewport {
  flex: 1;
  min-height: 0;
  position: relative;
  
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  gap: var(--card-gap);
}
.carousel-viewport.is-dragging { cursor: grabbing; }

.board {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-width);
  height: var(--card-height);
  max-height: 680px;

  padding: 0;

  transform: translate3d(-50%, -50%, 0);


  border: 0;


  border-radius: 24px;


  background: transparent;
  text-align: left;
  cursor: pointer;
}
.board:focus-visible { outline: 2px solid #777; outline-offset: 6px; }


.board-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 3vw, 34px);
  box-sizing: border-box;
  border-radius: 24px;
  
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  
}
.board-image {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.board img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/*.board-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.03) 36%, rgba(0,0,0,.52) 100%);
}*/

.board-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  margin: auto 0;
  padding: 24px 0;
  color: white;
}

.board-kicker { margin-bottom: 12px; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 650; }

.board-bottom {
  position: absolute;
  z-index: 5;
  left: 24px;
  right: 24px;
  bottom: 24px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.explore-chip {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  padding: 7px 16px;

  border: 1px solid rgba(255,255,255,.4);
  border-radius: 100px;

  background: rgba(255,255,255,.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  color: white;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .02em;
}

.round-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: white;
  font-size: 17px;
  letter-spacing: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.board:hover .round-arrow { background: #fff; color: #171717; transform: translate(2px, -2px); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 10px auto 0;
}
.arrow-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  color: #222;
  font-size: 19px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.arrow-button:hover { border-color: #171717; background: #171717; color: #fff; transform: scale(1.06); }
.arrow-button:active { transform: scale(.96); }
.pagination {
  display: flex;
  min-width: 76px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #999;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
#current-index { color: #171717; font-weight: 700; }
.pagination-line { width: 18px; height: 1px; background: #ccc; }

footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 24px 16px
    calc(24px + env(safe-area-inset-bottom));

  color: rgba(255, 255, 255, 0.95);
  text-align: center;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;

  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  margin: 0;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

@media (max-width: 700px) {

  .hint {
    padding: 8px 0 8px;
  }
  .board {
    width: 68vw;
    max-width: 68vw;
  }
  .carousel-viewport {
    width: 100%;
  }
  .carousel-track {
    gap: 8px !important;
    column-gap: 8px !important;
  }
}














