/* 프리미엄 체험 종료 · 플랜 선택 레이어 */
.wr-l3-trial-banner {
  margin: 0.75rem auto 0.5rem;
  max-width: 36rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}
.wr-l3-trial-banner--active {
  background: #eef6ff;
  color: #1a4a7a;
  border: 1px solid #c5ddf5;
}
.wr-l3-trial-banner--ended {
  background: #fff6e8;
  color: #7a4a12;
  border: 1px solid #f0d4a8;
}

.wr-plan-layer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.wr-plan-layer[hidden] {
  display: none !important;
}
.wr-plan-layer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.55);
}
.wr-plan-layer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 640px);
  overflow: auto;
  margin: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 16px 16px 0 0;
  background: #faf8f4;
  color: #1c1a17;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}
@media (min-width: 640px) {
  .wr-plan-layer {
    align-items: center;
    padding: 1rem;
  }
  .wr-plan-layer__panel {
    border-radius: 16px;
  }
}
.wr-plan-layer__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.wr-plan-layer__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6a3a;
}
.wr-plan-layer__title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
}
.wr-plan-layer__lead {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #444;
}
.wr-plan-layer__benefits {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.85rem 0.65rem 1.4rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ebe4d8;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #333;
}
.wr-plan-layer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wr-plan-layer__btn {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.wr-plan-layer__btn--primary {
  background: #1f4d7a;
  color: #fff;
}
.wr-plan-layer__btn--secondary {
  background: #e8f0f8;
  color: #1f4d7a;
}
.wr-plan-layer__btn--ghost {
  background: transparent;
  color: #555;
  border: 1px solid #d0cbc2;
}
.wr-plan-layer__link {
  text-align: center;
  font-size: 0.85rem;
  color: #1f4d7a;
  margin-top: 0.15rem;
}
.wr-plan-layer__later {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
html.wr-plan-layer-open {
  overflow: hidden;
}
