/* CHILL-guide-link-Control v1.0.0 */
.chill-guide,
.chill-guide * {
  box-sizing: border-box;
}

.chill-guide-debug {
  width: min(100% - 28px, 1240px);
  margin: 14px auto !important;
  padding: 10px !important;
  background: #eef1f5 !important;
  border: 1px solid #d7dde6 !important;
  white-space: pre-wrap !important;
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.chill-guide {
  width: min(100% - 28px, 1240px);
  margin: 28px auto 34px;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(160, 255, 60, 0.06), transparent 30%),
    linear-gradient(180deg, #10120c 0%, #080906 100%);
  border: 1px solid rgba(164, 220, 62, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  color: #f2f6e8;
  overflow: hidden;
}

.chill-guide a {
  text-decoration: none !important;
}

.chill-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chill-guide__card {
  position: relative;
  min-height: 178px;
  display: block;
  padding: 22px 20px 18px 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 75%, rgba(168, 220, 50, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 38%);
  border-right: 1px solid rgba(255,255,255,0.055);
  isolation: isolate;
}

.chill-guide__card:last-child {
  border-right: 0;
}

.chill-guide__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(168, 220, 50, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(20, 24, 14, 0.45) 0%, rgba(8, 9, 6, 0.08) 100%);
  opacity: 0.92;
}

.chill-guide__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025), inset 0 -38px 82px rgba(0,0,0,0.30);
}

.chill-guide__card:hover .chill-guide__button {
  background: #b7ef38 !important;
  transform: translateY(-1px);
}

.chill-guide__icon {
  position: absolute;
  left: 20px;
  top: 24px;
  z-index: 3;
  width: 38px;
  height: 38px;
  color: #a8dc32;
  filter: drop-shadow(0 0 12px rgba(168,220,50,.42));
}

.chill-guide__icon svg {
  width: 38px;
  height: 38px;
  display: block;
  stroke: currentColor;
}

.chill-guide__ghost {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 1;
  width: 78px;
  height: 78px;
  color: rgba(168, 220, 50, 0.18);
  filter: drop-shadow(0 0 14px rgba(168,220,50,.12));
  transform: rotate(-6deg);
}

.chill-guide__ghost svg {
  width: 78px;
  height: 78px;
  display: block;
  stroke: currentColor;
}

.chill-guide__content {
  position: relative;
  z-index: 4;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chill-guide__text {
  min-width: 0;
}

.chill-guide__title {
  margin: 0 0 8px !important;
  color: #a8dc32 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 0 14px rgba(168, 220, 50, 0.28);
}

.chill-guide__desc {
  margin: 0 !important;
  color: rgba(247, 251, 232, 0.82) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
}

.chill-guide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 34px;
  padding: 0 17px;
  margin-top: 18px;
  border-radius: 999px;
  background: #a8dc32 !important;
  color: #121707 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,0.32);
  transition: background 0.22s ease, transform 0.22s ease;
}

.chill-guide__button span {
  line-height: 1;
}

@media (max-width: 1024px) {
  .chill-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chill-guide__card:nth-child(2n) {
    border-right: 0;
  }

  .chill-guide__card:nth-child(n + 3) {
    border-top: 1px solid rgba(255,255,255,0.055);
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  @supports (overflow-x: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  .chill-guide {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 10px 0 18px;
    padding: 16px 0 18px;
    transform: translateX(-50%);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    border-color: transparent;
    background:
      radial-gradient(circle at 18% 0%, rgba(168, 220, 50, 0.10), transparent 42%),
      linear-gradient(180deg, #080906 0%, #050604 100%);
    box-shadow: none;
    overflow: hidden;
  }

  @supports (width: 100dvw) {
    .chill-guide {
      width: 100dvw;
      max-width: 100dvw;
    }
  }

  .chill-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .chill-guide__card,
  .chill-guide__card:nth-child(2n),
  .chill-guide__card:nth-child(n + 3) {
    min-height: 146px;
    padding: 14px 11px 12px;
    border: 1px solid rgba(172, 225, 55, 0.16);
    border-radius: 16px;
    background:
      radial-gradient(circle at 86% 76%, rgba(168, 220, 50, 0.07), transparent 28%),
      linear-gradient(180deg, #11140f 0%, #080a06 100%);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.42);
  }

  .chill-guide__card::before {
    background:
      radial-gradient(circle at 22% 26%, rgba(168, 220, 50, 0.10), transparent 28%),
      linear-gradient(180deg, rgba(20, 24, 14, 0.40) 0%, rgba(8, 9, 6, 0.08) 100%);
  }

  .chill-guide__card::after {
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.035), inset 0 -34px 70px rgba(0,0,0,0.30);
  }

  .chill-guide__icon {
    position: relative;
    left: auto;
    top: auto;
    z-index: 3;
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 9px;
  }

  .chill-guide__icon svg {
    width: 30px;
    height: 30px;
  }

  .chill-guide__ghost {
    right: 8px;
    bottom: 8px;
    width: 58px;
    height: 58px;
    opacity: 0.75;
  }

  .chill-guide__ghost svg {
    width: 58px;
    height: 58px;
  }

  .chill-guide__content {
    position: relative;
    z-index: 4;
    min-height: 86px;
    display: block;
  }

  .chill-guide__title {
    display: block;
    margin: 0 0 6px !important;
    color: #a8dc32 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.01em !important;
  }

  .chill-guide__desc {
    display: -webkit-box;
    margin: 0 !important;
    color: rgba(247, 251, 232, 0.76) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .chill-guide__button {
    position: absolute;
    left: 0;
    bottom: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent !important;
    color: #a8dc32 !important;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: none;
  }

  .chill-guide__button span {
    display: inline-block;
    transform: translateY(-1px);
  }
}

@media (max-width: 380px) {
  .chill-guide {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .chill-guide__grid {
    gap: 9px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .chill-guide__card,
  .chill-guide__card:nth-child(2n),
  .chill-guide__card:nth-child(n + 3) {
    min-height: 138px;
    padding: 13px 10px 11px;
    border-radius: 15px;
  }

  .chill-guide__card::after {
    border-radius: 15px;
  }

  .chill-guide__icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .chill-guide__icon svg {
    width: 28px;
    height: 28px;
  }

  .chill-guide__title {
    font-size: 13px !important;
  }

  .chill-guide__desc {
    font-size: 10px !important;
    line-height: 1.38 !important;
  }

  .chill-guide__button {
    font-size: 10px;
  }
}
