/* Top-page destination pack selector: scoped to the NEXT DESTINATION section only. */
.tkg-sky-areas--pack {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 36px;
}
.tkg-sky-areas--pack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 57%, rgba(255, 255, 255, .7) 0 8%, rgba(255, 255, 255, 0) 37%),
    repeating-linear-gradient(90deg, rgba(53, 81, 141, .045) 0 1px, transparent 1px 90px);
}
.tkg-sky-areas--pack > .tkg-sky-container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.tkg-sky-areas--pack .tkg-sky-section-head {
  padding-inline: 36px;
}
.tkg-sky-trip-tools {
  padding-top: 76px;
}
.tkg-sky-pack-selector {
  --tkg-pack-radius: 2540px;
  --tkg-pack-front-depth: 190px;
  --tkg-pack-card-width: 310px;
  --tkg-pack-card-height: 194px;
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 161, 230, .34), transparent 28%),
    linear-gradient(180deg, #e8efff 0%, #cad9fb 55%, #b6caf3 100%);
  box-shadow: none;
  isolation: isolate;
}
.tkg-sky-pack-selector::before,
.tkg-sky-pack-selector::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}
.tkg-sky-pack-selector::before {
  left: 50%;
  top: 43%;
  width: min(84vw, 980px);
  height: 190px;
  background: rgba(255, 255, 255, .34);
  filter: blur(44px);
  transform: translate(-50%, -50%);
}
.tkg-sky-pack-selector::after {
  left: 50%;
  bottom: 104px;
  width: min(74vw, 820px);
  height: 84px;
  background: rgba(35, 55, 100, .18);
  filter: blur(30px);
  transform: translateX(-50%);
}
.tkg-sky-pack-selector__status {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 0;
  color: #284477;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}
.tkg-sky-pack-selector__status b {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(25, 25, 25, .36);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  color: var(--tkg-ink);
  font-size: 9px;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}
.tkg-sky-pack-stage {
  position: relative;
  z-index: 2;
  height: 410px;
  overflow: hidden;
  outline: none;
  perspective: 1800px;
  perspective-origin: 50% 47%;
  cursor: grab;
  touch-action: pan-y;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
}
.tkg-sky-pack-stage:focus-visible {
  box-shadow: inset 0 0 0 4px rgba(255, 93, 89, .62);
}
.tkg-sky-pack-selector.is-dragging .tkg-sky-pack-stage { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .tkg-sky-pack-stage:hover {
    box-shadow: inset 0 0 0 1px rgba(53, 81, 141, .1);
  }
  .tkg-sky-pack-card:not(.is-active):hover .tkg-sky-pack-card__inner {
    filter: brightness(1.08) saturate(1.04);
    transform: translateY(-5px);
  }
}
.tkg-sky-pack-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(95%, 980px);
  height: 230px;
  border: 1px solid rgba(53, 81, 141, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(76deg);
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, .09),
    0 0 0 58px rgba(53, 81, 141, .035);
  pointer-events: none;
}
.tkg-sky-pack-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 43px;
  z-index: 5;
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: var(--tkg-coral);
  box-shadow: 0 0 18px rgba(255, 93, 89, .58);
  transform: translateX(-50%);
  pointer-events: none;
}
.tkg-sky-pack-stage__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 410px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .94), rgba(255, 255, 255, .16) 43%, transparent 72%);
  filter: blur(8px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.tkg-sky-pack-ring {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.tkg-sky-pack-card {
  position: absolute;
  left: calc(var(--tkg-pack-card-width) / -2);
  top: calc(var(--tkg-pack-card-height) / -2);
  width: var(--tkg-pack-card-width);
  height: var(--tkg-pack-card-height);
  color: var(--tkg-white);
  text-decoration: none;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}
.tkg-sky-pack-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .36s cubic-bezier(.2, .8, .2, 1), filter .28s ease;
}
.tkg-sky-pack-card__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .74);
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 24px 50px rgba(26, 41, 78, .28),
    inset 0 0 0 1px rgba(25, 25, 25, .22),
    inset 0 0 28px rgba(255, 255, 255, .12);
}
.tkg-sky-pack-card__face--front {
  transform: translateZ(1px);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--tkg-pack-accent) 82%, white), color-mix(in srgb, var(--tkg-pack-bg) 78%, #142344) 64%, #111b32);
}
/* Tokyo photo is applied on every viewport, including PC and smartphone. */
.tkg-sky-pack-card.has-destination-photo .tkg-sky-pack-card__face--front {
  background:
    linear-gradient(180deg, rgba(7, 17, 36, .02) 0%, rgba(7, 17, 36, .10) 46%, rgba(5, 12, 27, .86) 100%),
    var(--tkg-pack-photo) 27% center / cover no-repeat;
}
.tkg-sky-pack-card.has-destination-photo .tkg-sky-pack-card__symbol {
  display: none;
}
.tkg-sky-pack-card__face--front::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 12px;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, .18) 46%, transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.tkg-sky-pack-card__face--front::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 48%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 13, 29, .78));
  pointer-events: none;
}
.tkg-sky-pack-card__shine {
  position: absolute;
  left: -85%;
  top: -25%;
  z-index: 4;
  width: 58%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  opacity: 0;
  transform: rotate(18deg);
  pointer-events: none;
}
.tkg-sky-pack-card__head {
  position: absolute;
  inset: 15px 15px auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tkg-sky-pack-card__head b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 27px;
  border-radius: 8px;
  background: var(--tkg-butter);
  color: var(--tkg-ink);
  font-size: 9px;
  font-weight: 900;
}
.tkg-sky-pack-card__head small {
  color: rgba(255, 255, 255, .82);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}
.tkg-sky-pack-card__symbol {
  position: absolute;
  left: 73%;
  top: 48%;
  z-index: 1;
  width: 42%;
  max-width: 132px;
  aspect-ratio: 1;
  background-image: var(--tkg-pack-symbol);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
  opacity: .19;
  transform: translate(-50%, -50%);
}
.tkg-sky-pack-card__copy {
  position: absolute;
  left: 18px;
  right: 44%;
  bottom: 17px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tkg-sky-pack-card__copy small {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .65);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .12em;
}
.tkg-sky-pack-card__copy strong {
  color: var(--tkg-white);
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .36);
}
.tkg-sky-pack-card__copy em {
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}
.tkg-sky-pack-card__face--back {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18), transparent 34%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 10px, rgba(255, 255, 255, .055) 11px 12px),
    linear-gradient(145deg, #324f8d, #162746 72%);
  color: var(--tkg-white);
  transform: rotateY(180deg) translateZ(1px);
}
.tkg-sky-pack-card__face--back::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 11px;
}
.tkg-sky-pack-card__face--back span { font-size: 28px; font-weight: 900; letter-spacing: -.08em; }
.tkg-sky-pack-card__face--back b { color: var(--tkg-butter); font-size: 52px; line-height: 1; }
.tkg-sky-pack-card__face--back small { font-size: 7px; font-weight: 900; letter-spacing: .18em; }
.tkg-sky-pack-card.is-active { z-index: 5; }
.tkg-sky-pack-card.is-active .tkg-sky-pack-card__inner {
  filter: saturate(1.12) drop-shadow(0 18px 20px rgba(30, 49, 92, .2));
  transform: translateY(-10px) scale(1.055);
}
.tkg-sky-pack-card.is-active .tkg-sky-pack-card__face {
  border-color: rgba(255, 255, 255, .96);
  box-shadow:
    0 28px 62px rgba(26, 41, 78, .34),
    0 0 0 4px rgba(255, 255, 255, .2),
    0 0 38px color-mix(in srgb, var(--tkg-pack-accent) 54%, transparent),
    inset 0 0 0 1px rgba(25, 25, 25, .28);
}
.tkg-sky-pack-card.is-active .tkg-sky-pack-card__shine {
  opacity: .72;
  animation: tkg-pack-shine 2.7s ease-in-out infinite;
}
.tkg-sky-pack-card:focus-visible .tkg-sky-pack-card__face {
  outline: 4px solid var(--tkg-coral);
  outline-offset: 4px;
}

@keyframes tkg-pack-roulette-spin {
  to { transform: rotate(360deg); }
}

@keyframes tkg-pack-shine {
  0%, 20% { left: -85%; opacity: 0; }
  38% { opacity: .7; }
  62%, 100% { left: 130%; opacity: 0; }
}
@keyframes tkg-pack-win {
  0%, 100% { transform: translateY(-10px) scale(1.055); }
  45% { transform: translateY(-20px) scale(1.10); }
}
.tkg-sky-pack-selector.is-winning .tkg-sky-pack-card.is-active .tkg-sky-pack-card__inner {
  animation: tkg-pack-win .76s cubic-bezier(.2, .8, .2, 1) both;
}
.tkg-sky-pack-nav {
  position: absolute;
  top: 48%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid var(--tkg-ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: var(--tkg-ink);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(25, 25, 25, .88);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tkg-sky-pack-nav:hover {
  background: var(--tkg-white);
  box-shadow: 2px 2px 0 rgba(25, 25, 25, .88);
  transform: translate(2px, calc(-50% + 2px));
}
.tkg-sky-pack-nav--prev { left: 28px; }
.tkg-sky-pack-nav--next { right: 28px; }
.tkg-sky-pack-stage__hint {
  position: absolute;
  left: 50%;
  bottom: 11px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: #35518d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: none;
}
.tkg-sky-pack-stage__hint {
  font-size: 0;
}
.tkg-sky-pack-stage__hint::after {
  content: "ドラッグ・左右のカードをクリック";
  font-size: 8px;
}
.tkg-sky-pack-stage__hint span { color: var(--tkg-coral-dark); font-size: 13px; }
.tkg-sky-pack-selector__footer {
  position: relative;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  padding: 19px 22px 21px;
  border-top: 1px solid rgba(25, 25, 25, .22);
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(16px);
}
.tkg-sky-pack-selector__selection {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 13px;
  min-width: 0;
}
.tkg-sky-pack-selector__selection small {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: #35518d;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}
.tkg-sky-pack-selector__selection strong {
  color: var(--tkg-ink);
  font-size: clamp(29px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.tkg-sky-pack-selector__selection span {
  padding-bottom: 4px;
  color: var(--tkg-text);
  font-size: 10px;
  font-weight: 800;
}
.tkg-sky-pack-selector__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.tkg-sky-pack-selector__actions button,
.tkg-sky-pack-selector__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 9px 10px 9px 18px;
  border: 2px solid var(--tkg-ink);
  border-radius: 13px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tkg-sky-pack-selector__actions button {
  background: var(--tkg-butter);
  color: var(--tkg-ink);
  box-shadow: 4px 4px 0 var(--tkg-ink);
}
.tkg-sky-pack-selector__actions a {
  background: var(--tkg-ink);
  color: var(--tkg-white);
  box-shadow: 4px 4px 0 var(--tkg-coral);
}
.tkg-sky-pack-selector__actions button b,
.tkg-sky-pack-selector__actions a b {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--tkg-white);
  color: var(--tkg-ink);
  font-size: 13px;
}
.tkg-sky-pack-selector__actions a b { background: var(--tkg-coral); color: var(--tkg-white); }
.tkg-sky-pack-selector__actions button:hover,
.tkg-sky-pack-selector__actions a:hover {
  box-shadow: 1px 1px 0 var(--tkg-ink);
  transform: translate(3px, 3px);
}
.tkg-sky-pack-selector__actions button:disabled { cursor: wait; opacity: .72; }
.tkg-sky-pack-selector.is-spinning .tkg-sky-pack-selector__actions button b { animation: tkg-pack-roulette-spin .55s linear infinite; }

/* Functional no-JavaScript fallback: all 47 destinations remain reachable. */
.tkg-sky-pack-selector:not(.is-ready) .tkg-sky-pack-stage {
  height: 350px;
  overflow-x: auto;
  perspective: none;
  scroll-snap-type: x mandatory;
}
.tkg-sky-pack-selector:not(.is-ready) .tkg-sky-pack-ring {
  position: relative;
  left: auto;
  top: auto;
  display: flex;
  gap: 14px;
  width: max-content;
  height: 100%;
  padding: 22px 38px;
  transform: none !important;
}
.tkg-sky-pack-selector:not(.is-ready) .tkg-sky-pack-card {
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 var(--tkg-pack-card-width);
  transform: none !important;
  scroll-snap-align: center;
}
.tkg-sky-pack-selector:not(.is-ready) .tkg-sky-pack-nav,
.tkg-sky-pack-selector:not(.is-ready) .tkg-sky-pack-stage__hint { display: none; }

@media (max-width: 768px) {
  .tkg-sky-areas--pack .tkg-sky-section-head {
    padding-inline: 18px;
  }
}

@media (max-width: 768px) {
  .tkg-sky-areas--pack {
    padding-bottom: 22px;
  }
  .tkg-sky-trip-tools {
    padding-top: 52px;
  }
}

@media (max-width: 900px) {
  .tkg-sky-pack-selector {
    --tkg-pack-radius: 2260px;
    --tkg-pack-front-depth: 160px;
    --tkg-pack-card-width: 278px;
    --tkg-pack-card-height: 174px;
  }
  .tkg-sky-pack-stage { height: 360px; perspective: 1500px; }
  .tkg-sky-pack-card__copy strong { font-size: 25px; }
  .tkg-sky-pack-selector__footer { align-items: stretch; flex-direction: column; gap: 16px; }
  .tkg-sky-pack-selector__selection { align-self: flex-start; }
  .tkg-sky-pack-selector__actions { justify-content: stretch; }
  .tkg-sky-pack-selector__actions button,
  .tkg-sky-pack-selector__actions a { flex: 1 1 0; }
}
@media (max-width: 600px) {
  .tkg-sky-pack-selector {
    --tkg-pack-radius: 1940px;
    --tkg-pack-front-depth: 132px;
    --tkg-pack-card-width: 248px;
    --tkg-pack-card-height: 155px;
    border-radius: 0;
    box-shadow: none;
  }
  .tkg-sky-pack-selector__status { padding: 14px 14px 0; }
  .tkg-sky-pack-stage { height: 310px; perspective: 1260px; perspective-origin: 50% 47%; }
  .tkg-sky-pack-stage__glow { width: 300px; height: 205px; }
  .tkg-sky-pack-card__face { border-radius: 15px; }
  .tkg-sky-pack-card__head { inset: 12px 12px auto; }
  .tkg-sky-pack-card__head b { width: 30px; height: 24px; }
  .tkg-sky-pack-card__copy { left: 14px; right: 43%; bottom: 13px; }
  .tkg-sky-pack-card__copy strong { font-size: 24px; }
  .tkg-sky-pack-card__copy small,
  .tkg-sky-pack-card__copy em { font-size: 5px; }
  .tkg-sky-pack-nav { top: 49%; width: 42px; height: 42px; font-size: 16px; box-shadow: 3px 3px 0 rgba(25, 25, 25, .88); }
  .tkg-sky-pack-nav--prev { left: 11px; }
  .tkg-sky-pack-nav--next { right: 11px; }
  .tkg-sky-pack-selector__footer { min-height: 0; padding: 17px 14px 18px; }
  .tkg-sky-pack-selector__selection { grid-template-columns: 1fr; }
  .tkg-sky-pack-selector__selection strong { font-size: 34px; }
  .tkg-sky-pack-selector__selection span { padding: 3px 0 0; }
  .tkg-sky-pack-selector__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .tkg-sky-pack-selector__actions button,
  .tkg-sky-pack-selector__actions a { width: 100%; min-height: 52px; }
  .tkg-sky-pack-stage__hint::after { content: "スワイプして選ぶ"; }
  .tkg-sky-trip-tools .tkg-sky-section-head { margin-bottom: 28px; }
  .tkg-sky-trip-tools .tkg-sky-section-head h2 {
    white-space: nowrap;
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.12;
    letter-spacing: -.05em;
  }
}
@media (max-width: 390px) {
  .tkg-sky-pack-selector {
    --tkg-pack-radius: 1840px;
    --tkg-pack-card-width: 230px;
    --tkg-pack-card-height: 144px;
  }
  .tkg-sky-pack-stage { height: 288px; }
  .tkg-sky-pack-stage__hint { font-size: 0; }
  .tkg-sky-pack-stage__hint::after { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .tkg-sky-pack-card__inner,
  .tkg-sky-pack-nav,
  .tkg-sky-pack-selector__actions button,
  .tkg-sky-pack-selector__actions a { transition: none !important; }
  .tkg-sky-pack-card__shine,
  .tkg-sky-pack-selector.is-winning .tkg-sky-pack-card.is-active .tkg-sky-pack-card__inner,
  .tkg-sky-pack-selector.is-spinning .tkg-sky-pack-selector__actions button b { animation: none !important; }
}

/* Mobile/lightweight rendering: keep all 47 destinations selectable, but composite only nearby cards. */
.tkg-sky-pack-card[hidden] {
  display: none !important;
}
.tkg-sky-pack-card {
  will-change: auto;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card__face--back {
  display: none;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card,
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card__inner {
  transform-style: flat;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card__shine {
  display: none;
}
.tkg-sky-pack-selector.is-lightweight::before,
.tkg-sky-pack-selector.is-lightweight::after,
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-stage__glow {
  filter: none;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-selector__status b,
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-nav,
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-stage__hint,
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-selector__footer {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card__face {
  box-shadow:
    0 13px 24px rgba(26, 41, 78, .2),
    inset 0 0 0 1px rgba(25, 25, 25, .18);
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card.is-active .tkg-sky-pack-card__inner {
  filter: none;
}
.tkg-sky-pack-selector.is-lightweight .tkg-sky-pack-card.is-active .tkg-sky-pack-card__face {
  box-shadow:
    0 19px 34px rgba(26, 41, 78, .28),
    0 0 0 3px rgba(255, 255, 255, .18),
    inset 0 0 0 1px rgba(25, 25, 25, .24);
}
@media (max-width: 700px) {
  .tkg-sky-pack-selector::before {
    background: rgba(255, 255, 255, .24);
  }
  .tkg-sky-pack-selector::after {
    background: rgba(35, 55, 100, .1);
  }
  .tkg-sky-pack-stage__glow {
    display: none;
  }
  .tkg-sky-pack-stage::before {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, .06);
  }
  .tkg-sky-pack-card__face--front::before {
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 10px);
  }
  .tkg-sky-pack-card__symbol {
    filter: none;
    opacity: .16;
  }
}


/* Immediate top-page overrides: loaded with filemtime so these changes cannot be hidden by the fixed journey CSS cache. */
.tkg-sky-diagnosis__aside h3 {
  white-space: nowrap;
}

.tkg-sky-roulette {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, .78) 0, rgba(255, 255, 255, 0) 25%),
    radial-gradient(circle at 88% 18%, rgba(255, 231, 142, .72) 0, rgba(255, 231, 142, 0) 22%),
    linear-gradient(135deg, #fff0a8 0%, #ffcce5 48%, #ccecff 100%);
  color: var(--tkg-ink);
}
.tkg-sky-roulette::before { color: rgba(255, 93, 89, .09); }
.tkg-sky-section-head--roulette > p { color: var(--tkg-coral-dark); }
.tkg-sky-section-head--roulette h2,
.tkg-sky-roulette__panel h3 { color: var(--tkg-ink); }
.tkg-sky-roulette__lead,
.tkg-sky-roulette__description { color: rgba(37, 44, 68, .78); }
.tkg-sky-roulette__note { color: rgba(37, 44, 68, .58); }
.tkg-sky-map {
  border-color: rgba(53, 81, 141, .18);
  background: rgba(255, 255, 255, .92);
  box-shadow: 10px 10px 0 rgba(255, 93, 89, .72);
}
.tkg-sky-map__meta { color: #35518d; }
.tkg-sky-map__meta small { color: rgba(53, 81, 141, .58); }
.tkg-sky-map__status {
  border-color: rgba(53, 81, 141, .16);
  background: rgba(255, 255, 255, .94);
}
.tkg-sky-map__status small { color: var(--tkg-coral-dark); }
.tkg-sky-map__status strong { color: var(--tkg-ink); }
.tkg-sky-map__hint { color: rgba(53, 81, 141, .72); }
.tkg-sky-roulette__button,
.tkg-sky-roulette__link { border-color: var(--tkg-ink); }

@media (max-width: 768px) {
  .tkg-sky-diagnosis__aside h3 {
    max-width: none;
    font-size: clamp(24px, 6.8vw, 27px);
    line-height: 1.24;
    letter-spacing: -.055em;
    white-space: nowrap;
  }
}


/* Final diagnosis heading fit: preserve the explicit two-line break without clipping. */
.tkg-sky-diagnosis__aside h3 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(23px, 2vw, 26px);
  line-height: 1.32;
  letter-spacing: -.07em;
  white-space: nowrap;
  word-break: keep-all;
}

@media (max-width: 1080px) {
  .tkg-sky-diagnosis__aside h3 {
    font-size: clamp(23px, 3vw, 26px);
  }
}

@media (max-width: 600px) {
  .tkg-sky-diagnosis__aside h3 {
    font-size: clamp(21px, 6.1vw, 25px);
  }
}

/* All-article diagnosis: scoped to the top-page diagnosis only. */
[data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood button {
  min-height: 94px;
  padding: 14px;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood button > span {
  font-size: clamp(13px, 1.12vw, 16px);
}
[data-trip-article-diagnosis] [data-diagnosis-step="party"] .tkg-sky-diagnosis__options button:last-child {
  grid-column: 1 / -1;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__result {
  width: 100%;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 18px;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article::before {
  content: attr(data-result-number);
  position: absolute;
  top: 12px;
  right: 13px;
  color: rgba(25, 25, 25, .08);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article > small {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 42px);
  line-height: 1.5;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article h4 {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  letter-spacing: -.035em;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article > p {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin-top: 11px;
  font-size: 9px;
  line-height: 1.8;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article > div:last-child {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 16px;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article a {
  min-height: 42px;
  font-size: 9px;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 50px;
  margin: 20px auto 0;
  padding: 10px 18px;
  border: 2px solid var(--tkg-ink);
  border-radius: 13px;
  background: var(--tkg-butter);
  color: var(--tkg-ink);
  box-shadow: 4px 4px 0 var(--tkg-ink);
  font-family: var(--tkg-font);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__more:hover {
  box-shadow: 1px 1px 0 var(--tkg-ink);
  transform: translate(3px, 3px);
}
[data-trip-article-diagnosis] .tkg-sky-diagnosis__more[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  [data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood {
    gap: 9px;
  }
  [data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood button {
    min-height: 84px;
    padding: 12px;
  }
  [data-trip-article-diagnosis] .tkg-sky-diagnosis__options--mood button > span {
    font-size: 13px;
  }
  [data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article {
    min-height: 0;
  }
  [data-trip-article-diagnosis] .tkg-sky-diagnosis-card--article h4 {
    font-size: 18px;
  }
  [data-trip-article-diagnosis] .tkg-sky-diagnosis__more {
    width: 100%;
  }
}
