/* =====================================================================
   오늘의 연인 — 2026-10 리뉴얼 : 홈(롤링배너 보정·에디션 카드·영상·이벤트·심리테스트 카드) + 에디션 상세
   · main_body.inc.php / membership.php 에서 로드 (filemtime 캐시버스터)
   · 2026-10-07 추가 변경사항 반영 (이전 4박스·3단 멤버십 스타일 원본 : 20261008_oy-renew.css)
   · main.css 토큰 사용. main.css 는 G5_CSS_VER 캐시라 여기서만 덧씌운다.
   ===================================================================== */

/* =====================================================================
   0) 롤링 배너 문구 — 4종 문구 길이가 달라 줄바꿈·높이 보정
   ===================================================================== */
/* 슬라이드 배경 : 인라인 --hbg(원본) / --hbg-m(폰 세로용 크롭). 화면 비율에 맞는 1장만 다운로드된다.
   (main_body.inc.php 의 preload media 조건과 반드시 같은 기준 3/4 를 쓸 것 — 다르면 사진을 두 번 받는다) */
.hero-slide{background-image:var(--hbg,none)}
@media (max-aspect-ratio:3/4){ .hero-slide{background-image:var(--hbg-m,var(--hbg,none))} }
.hero h1,.hero .hero-sub,.hero .hero-note{word-break:keep-all}
.hero .hero-note{margin-top:14px;font-size:clamp(12px,1.2vw,13.5px);color:rgba(255,255,255,.72);letter-spacing:.01em}
.hero .hero-note[hidden]{display:none}
@media (min-width:861px){
  .hero .hero-sub{min-height:3.8em}            /* 2줄 고정 → 슬라이드 바뀔 때 버튼이 덜컹이지 않게 */
}
/* 모바일 배너 높이 (2026-10-08) : 가로 사진을 세로 화면 높이(100svh)에 꽉 채우면 얼굴 한 명만 크게 잘려 보여
   높이를 화면 폭의 약 1.5배(최대 640px)로 줄이고, 사진마다 두 사람이 함께 보이는 위치(--hpos-m, main_body.inc.php pos_m)에 맞춘다.
   문구·버튼이 길어지면 높이는 내용만큼 자동으로 늘어난다. 도트는 맨 아래로, SCROLL 표시는 숨김. */
@media (max-width:767px){
  .hero{height:auto;min-height:clamp(540px,148vw,640px)}
  .hero-slide{background-position:var(--hpos-m,center 28%)}
  .hero .hero-inner{padding:56px 18px 70px}
  .hero .scroll-cue{display:none}
  .hero-dots{bottom:26px}
}
@media (max-width:560px){
  .hero h1{font-size:clamp(24px,7vw,30px);line-height:1.32;min-height:2.64em}
  .hero .hero-sub{font-size:14.5px;line-height:1.75;min-height:5.25em}
  .hero .hero-sub br{display:none}
  .hero .eyebrow{letter-spacing:.28em;font-size:11px;margin-bottom:18px}
}

/* =====================================================================
   1) 롤링 배너 하단 (에디션 2종 + 두 칸 너비 유튜브 배너)
      기본 : 심볼 · 에디션명 · 설명 · 프로그램 보기
      열림 : 설명 자리에 프로그램 3종 목록 (PC hover / 키보드 focus / 터치 1회 탭 = .is-open)
      설명과 목록은 같은 격자 칸에 겹쳐 두어, 열고 닫을 때 카드 높이가 변하지 않는다.
   ===================================================================== */
.oy-quad{padding:clamp(28px,3.4vw,48px) 0 clamp(48px,6vw,88px);background:#fff}
.oyq-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.5vw,20px);align-items:stretch}
/* 승인된 배너 이미지를 통째로 표시. 에디션 높이가 더 큰 폭에서도 중앙 정렬해 자르지 않는다. */
.oy-youtube-banner{grid-column:span 2;display:flex;align-items:center;min-width:0;border-radius:18px;overflow:hidden;
  background:#f8f1e7;text-decoration:none;box-shadow:0 14px 34px rgba(20,16,8,.14)}
.oy-youtube-banner picture{display:block;width:100%}
.oy-youtube-banner img{display:block;width:100%;height:auto;aspect-ratio:303/220;object-fit:contain}
.oy-youtube-banner:focus-visible{outline:3px solid var(--gold,#c9a96a);outline-offset:4px}
.oye-card{
  position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;text-align:center;
  min-height:520px;padding:clamp(32px,3vw,44px) clamp(18px,2vw,26px) clamp(26px,2.5vw,36px);
  border-radius:18px;overflow:hidden;color:#fff;box-shadow:0 18px 44px rgba(20,14,6,.20);
  -webkit-tap-highlight-color:transparent;
}
/* 얇은 골드 안쪽 테두리 */
.oye-card::before{content:"";position:absolute;inset:10px;z-index:1;pointer-events:none;
  border:1px solid rgba(226,190,122,.72);border-radius:11px;transition:border-color .4s,inset .4s}
/* 금속 광택 : 위쪽에서 떨어지는 은은한 빛 */
.oye-card::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(70% 45% at 50% -5%,rgba(255,228,170,.16),rgba(255,228,170,0) 70%)}
.oye--premium{background:
  radial-gradient(80% 60% at 100% 100%,rgba(201,169,106,.12),rgba(201,169,106,0) 60%),
  linear-gradient(155deg,#26241f 0%,#131210 52%,#070706 100%)}
.oye--prestige{background:
  radial-gradient(75% 60% at 85% 0%,rgba(236,172,82,.38),rgba(236,172,82,0) 62%),
  radial-gradient(70% 60% at 0% 100%,rgba(110,52,14,.55),rgba(110,52,14,0) 70%),
  linear-gradient(155deg,#5c3718 0%,#3b220e 50%,#201106 100%)}

.oye-head{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:clamp(12px,1.2vw,18px);
  color:inherit;text-decoration:none;border-radius:12px}
.oye-sym{width:clamp(48px,4vw,62px);height:clamp(48px,4vw,62px);filter:drop-shadow(0 2px 10px rgba(255,214,140,.25))}
.oye-title{display:block;font-family:'Cormorant Garamond','Times New Roman',serif;font-weight:600;
  font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:.01em;
  background:linear-gradient(180deg,#fff2cc 0%,#efcd88 38%,#c4924a 72%,#ecca85 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.oye-title > span{display:block}

.oye-stage{position:relative;z-index:2;flex:1;display:grid;align-items:center;width:100%;margin:18px 0}
.oye-desc,.oye-list{grid-area:1/1;transition:opacity .35s ease,transform .35s ease,visibility .35s}
.oye-desc{font-size:clamp(14px,1.15vw,16px);line-height:1.65;color:rgba(255,255,255,.92);word-break:keep-all;text-wrap:balance}
.oye-list{display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(10px);
  border-top:1px solid rgba(226,190,122,.38)}
.oye-list li{list-style:none}
.oye-list a{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid rgba(226,190,122,.38);
  color:#fff;text-decoration:none;text-align:left;transition:background .25s}
.oy-gem{display:block;object-fit:contain}
.oye-gem{flex-shrink:0;width:42px;height:42px;filter:drop-shadow(0 5px 9px rgba(0,0,0,.55))}
.oye-nm{flex:1;font-family:'Cormorant Garamond','Times New Roman',serif;font-size:clamp(19px,1.7vw,23px);font-weight:600;
  letter-spacing:.03em;line-height:1.1;color:#f7e9c9}
.oye-ar{font-size:19px;color:#e2bf7c;transition:transform .25s}
.oye-list a:hover,.oye-list a:focus-visible{background:rgba(255,255,255,.08)}
.oye-list a:hover .oye-ar,.oye-list a:focus-visible .oye-ar{transform:translateX(4px)}
.oye-list a:focus-visible{outline:2px solid #f0d394;outline-offset:-2px}

.oye-btn{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;height:50px;border-radius:999px;
  background:linear-gradient(180deg,#f4e1b6 0%,#ddb978 55%,#c59953 100%);color:#2a1b09;
  font-size:14px;font-weight:700;letter-spacing:-.01em;text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 10px 26px rgba(0,0,0,.32);transition:filter .25s}
.oye-btn i{font-style:normal;transition:transform .25s}
.oye-btn:hover{filter:brightness(1.07)}
.oye-btn:hover i{transform:translateX(3px)}
.oye-head:focus-visible,.oye-btn:focus-visible{outline:2px solid #f0d394;outline-offset:4px}

/* 열림 상태 */
.oye-card.is-open .oye-desc{opacity:0;visibility:hidden;transform:translateY(-8px)}
.oye-card.is-open .oye-list{opacity:1;visibility:visible;transform:none}
.oye-card.is-open::before{border-color:rgba(240,211,148,.95)}
@media (hover:hover) and (pointer:fine){
  .oye-card:hover .oye-desc,.oye-card:focus-within .oye-desc{opacity:0;visibility:hidden;transform:translateY(-8px)}
  .oye-card:hover .oye-list,.oye-card:focus-within .oye-list{opacity:1;visibility:visible;transform:none}
  .oye-card:hover::before,.oye-card:focus-within::before{border-color:rgba(240,211,148,.95)}
}
@media (max-width:1100px){
  .oyq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 높이 축소 (2026-10-08 업체 의견 '박스가 너무 길고 크다') — 위 기본값을 덮어쓴다.
   PC 한 줄 높이 약 670px → 약 450px. 영상 썸네일 4:5 → 4:3, 에디션 카드 여백·글자·목록 간격 축소.
   (이전 값 원본 : css/20261008_1_oy-renew.css) */
.oye-card{min-height:440px;padding:clamp(26px,2.4vw,34px) clamp(16px,1.8vw,22px) clamp(20px,2vw,26px)}
.oye-head{gap:10px}
.oye-sym{width:clamp(40px,3.2vw,50px);height:clamp(40px,3.2vw,50px)}
.oye-title{font-size:clamp(30px,3.3vw,44px)}
.oye-stage{margin:12px 0 14px}
.oye-list a{padding:7px 4px}
.oye-gem{width:34px;height:34px}
.oye-nm{font-size:clamp(17px,1.5vw,21px)}
.oye-btn{height:46px}

/* 모바일 : 에디션 2열 + 유튜브 배너 전체 폭. 카드 폭이 절반이라 글자·버튼을 그 폭에 맞춘다.
   에디션 카드는 기존대로 1회 탭 = 프로그램 목록 열림, 목록의 프로그램명 탭 = 상세 이동. */
@media (max-width:640px){
  .oyq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .oy-youtube-banner{border-radius:14px}
  .oye-card{min-height:0;padding:22px 12px 14px;border-radius:14px}
  .oye-card::before{inset:6px;border-radius:9px}
  .oye-head{gap:8px}
  .oye-sym{width:32px;height:32px}
  .oye-title{font-size:clamp(20px,6vw,28px);letter-spacing:0}
  .oye-stage{margin:10px 0 12px;min-height:124px}
  .oye-desc{font-size:12.5px;line-height:1.6}
  .oye-list a{padding:6px 2px;gap:6px}
  .oye-gem{width:24px;height:24px}
  .oye-nm{font-size:15px;letter-spacing:.01em}
  .oye-ar{font-size:14px}
  .oye-btn{height:40px;gap:6px;font-size:12.5px}
}

/* 영상 2종 : 에디션과 같은 행에 놓이는 세로형 카드 */
.oyv-card{display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:18px;overflow:hidden;
  background:#15140f;color:#fff;text-align:left;font:inherit;cursor:pointer;box-shadow:0 14px 34px rgba(20,16,8,.14)}
.oyv-thumb{position:relative;display:block;flex:0 0 auto;width:100%;aspect-ratio:4/5;overflow:hidden;background:#000}
.oyv-thumb img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.86);transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .5s}
.oyv-body{flex:1;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:22px 20px}
.oyv-title{font-family:'Cormorant Garamond','Times New Roman',serif;font-weight:600;font-size:clamp(25px,2.5vw,36px);line-height:1.1;
  letter-spacing:.02em;color:#f3e3bf}
.oyv-desc{font-size:clamp(14px,1.2vw,16px);line-height:1.6;color:rgba(255,255,255,.84);word-break:keep-all}
.oyv-go{align-self:flex-start;display:inline-flex;gap:8px;margin-top:10px;padding:9px 18px;border:1px solid rgba(255,255,255,.55);
  border-radius:999px;font-size:13.5px;font-weight:600;transition:background .3s,border-color .3s,color .3s}
.oyv-go i{font-style:normal;transition:transform .3s}
.oyq-eyebrow{font-size:11px;letter-spacing:.3em;color:var(--gold,#c9a96a);font-weight:600}
.oyq-play{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%);
  width:clamp(52px,4.6vw,66px);height:clamp(52px,4.6vw,66px);border-radius:50%;display:grid;place-items:center;
  border:1.5px solid rgba(255,255,255,.9);background:rgba(10,9,6,.3);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  transition:transform .35s,background .35s,border-color .35s}
.oyq-play svg{width:42%;height:42%;fill:#fff;margin-left:6%}
@media (hover:hover){
  .oyv-card:hover .oyv-thumb img{transform:scale(1.06);filter:brightness(.7)}
  .oyv-card:hover .oyv-go{background:var(--gold,#c9a96a);border-color:var(--gold,#c9a96a);color:#1a1408}
  .oyv-card:hover .oyv-go i{transform:translateX(3px)}
  .oyv-card:hover .oyq-play{transform:translate(-50%,-50%) scale(1.1);background:var(--gold,#c9a96a);border-color:var(--gold,#c9a96a)}
  .oyv-card:hover .oyq-play svg{fill:#1a1408}
}
.oyv-card:focus-visible{outline:2px solid var(--gold,#c9a96a);outline-offset:3px}
/* 높이 축소 (2026-10-08) : 썸네일 4:5 → 4:3, 본문 여백·제목 축소 */
.oyv-thumb{aspect-ratio:4/3}
.oyv-thumb img{object-position:center 22%}
.oyv-body{gap:5px;padding:18px 20px 20px}
.oyv-title{font-size:clamp(22px,2vw,30px)}
.oyv-desc{font-size:clamp(13.5px,1.1vw,15px)}
.oyv-go{margin-top:8px;padding:8px 16px}
@media (max-width:640px){
  .oyv-card{border-radius:14px}
  .oyv-thumb{aspect-ratio:1/1}
  .oyv-body{justify-content:flex-start;padding:12px 12px 14px;gap:4px}
  .oyq-eyebrow{font-size:9.5px;letter-spacing:.2em}
  .oyv-title{font-size:19px;line-height:1.12}
  .oyv-desc{font-size:12px;line-height:1.5}
  .oyv-desc br{display:none}
  .oyv-go{margin-top:auto;padding:6px 12px;font-size:12px;gap:5px}
  .oyq-play{width:40px;height:40px}
}

/* =====================================================================
   2) 영상 레이어
   ===================================================================== */
.oy-vlayer{position:fixed;inset:0;z-index:420;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(8,7,5,.84)}
.oy-vlayer[hidden]{display:none}
.oy-vlayer-box{position:relative;width:min(960px,100%)}
.oy-vlayer-x{position:absolute;right:0;top:-46px;width:40px;height:40px;border:0;background:none;
  color:#fff;font-size:34px;line-height:1;cursor:pointer}
.oy-vlayer-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}
.oy-vlayer-frame iframe,.oy-vlayer-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}
.oy-vlayer-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;padding:24px;text-align:center;color:#efe9dd;background:linear-gradient(160deg,#2a251c,#15140f)}
.oy-vlayer-empty b{font-family:'Cormorant Garamond',serif;font-size:clamp(22px,3vw,32px);font-weight:600;color:var(--gold-soft,#e3d3b3);letter-spacing:.04em}
.oy-vlayer-empty span{font-size:14px;color:rgba(239,233,221,.75)}
body.oy-vlayer-open{overflow:hidden}
/* 세로 영상(9:16, 업체 인터뷰 쇼츠) : 화면 높이에 맞춘 세로 프레임 */
.oy-vlayer-box.is-portrait{width:min(420px,100%,calc((100vh - 110px) * 9 / 16))}
.oy-vlayer-box.is-portrait .oy-vlayer-frame{aspect-ratio:9/16}
.oy-vlayer-frame video{object-fit:contain;background:#000}


/* =====================================================================
   2-b) 진행 중인 이벤트 — 업체 포스터 (매칭 체험권 = 마지막 4번째 자리)
   포스터 자체에 문구가 있어 카드에는 이미지만 표시한다.
   열 수는 실제 출력되는 포스터 수(oyp-grid--n2~n4)에 맞춘다.
   ===================================================================== */
.oy-promo{padding:clamp(44px,5.5vw,80px) 0;background:var(--ivory,#f7f4ef)}
.oyp-head{text-align:center;margin-bottom:clamp(22px,3vw,36px)}
.oyp-head .eyebrow{display:block;margin-bottom:10px}
.oyp-head h2{font-family:var(--serif);font-size:clamp(24px,2.8vw,32px);font-weight:700;color:var(--ink,#1b1813)}
.oyp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,28px);max-width:820px;margin:0 auto}
.oyp-grid--n1{grid-template-columns:minmax(0,1fr);max-width:400px}
.oyp-grid--n3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px}
.oyp-grid--n4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:clamp(14px,1.8vw,22px)}
@media (max-width:1024px){ .oyp-grid--n3,.oyp-grid--n4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px} }
.oyp-card{display:flex;flex-direction:column;width:100%;margin:0;padding:0;border:1px solid var(--line,#e8e3d8);border-radius:14px;
  overflow:hidden;background:#fff;color:var(--ink,#1b1813);text-align:left;font:inherit;cursor:pointer;text-decoration:none;
  box-shadow:0 14px 36px rgba(30,24,12,.08);transition:transform .35s,box-shadow .35s;scroll-margin-top:100px}
.oyp-img{position:relative;display:block;overflow:hidden;aspect-ratio:2/3;background:#efe9df}
.oyp-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.oyp-img::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .4s}
@media (hover:hover){
  .oyp-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(30,24,12,.14)}
  .oyp-card:hover .oyp-img img{transform:scale(1.04)}
  .oyp-card:hover .oyp-img::after{background:rgba(0,0,0,.06)}
}
.oyp-card:focus-visible{outline:2px solid var(--gold,#c9a96a);outline-offset:3px}
/* 모바일 : 2열 격자 (2026-10-08)
   이전엔 78% 폭 가로 슬라이드였는데, 두 번째 포스터가 잘린 채 보이고 넘길 수 있다는 표시가 없어
   '잘려 보인다'는 의견 → 포스터 전체가 보이도록 2열(4장이면 2×2)로 바꿨다. 1장이면 가운데 한 장. */
@media (max-width:640px){
  .oyp-grid,.oyp-grid--n3,.oyp-grid--n4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:none}
  .oyp-grid--n1{grid-template-columns:minmax(0,1fr);max-width:300px}
  .oyp-card{border-radius:10px;box-shadow:0 8px 22px rgba(30,24,12,.08)}
}

/* 매칭 체험권 안내 레이어 */
.oy-tlayer{position:fixed;inset:0;z-index:420;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(12,10,7,.72)}
.oy-tlayer[hidden]{display:none}
.oy-tlayer-box{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);width:min(860px,100%);max-height:calc(100vh - 40px);
  overflow:auto;border-radius:18px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.oy-tlayer-x{position:absolute;right:10px;top:8px;z-index:2;width:42px;height:42px;border:0;background:none;font-size:32px;line-height:1;
  color:var(--ink,#1b1813);cursor:pointer}
.oy-tlayer-img{background:#efe9df}
.oy-tlayer-img img{display:block;width:100%;height:100%;object-fit:cover}
.oy-tlayer-body{display:flex;flex-direction:column;gap:8px;padding:clamp(28px,3.6vw,44px)}
.oy-tlayer-k{font-size:11px;letter-spacing:.26em;color:var(--gold-deep,#a8884c);font-weight:700}
.oy-tlayer-body h2{font-size:clamp(24px,2.6vw,30px);font-weight:800;color:var(--ink,#1b1813);line-height:1.3}
.oy-tlayer-pr{margin-top:6px;font-size:clamp(30px,3.2vw,38px);font-weight:800;color:#a8392b;line-height:1.1}
.oy-tlayer-pr small{margin-left:8px;font-size:13px;font-weight:600;color:var(--sub,#756f64)}
.oy-tlayer-pay{font-size:14.5px;color:var(--sub,#756f64)}
.oy-tlayer-pay b{color:var(--ink,#1b1813);font-size:16px}
.oy-tlayer-f{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:8px}
.oy-tlayer-f li{list-style:none;padding:6px 12px;border-radius:999px;background:var(--ivory,#f7f4ef);border:1px solid var(--line-2,#ddd6c8);font-size:13.5px;color:var(--ink,#1b1813)}
.oy-tlayer-n{font-size:12.5px;line-height:1.6;color:var(--sub,#756f64);word-break:keep-all}
.oy-tlayer-acts{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;gap:9px}
body.oy-tlayer-open{overflow:hidden}
@media (max-width:680px){
  .oy-tlayer{padding:12px;align-items:flex-end}
  .oy-tlayer-box{grid-template-columns:1fr;max-height:calc(100vh - 24px)}
  .oy-tlayer-img{height:200px}
  .oy-tlayer-img img{object-position:center 20%}
  .oy-tlayer-x{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.6)}
  .oy-tlayer-body{padding:22px 20px}
}

/* =====================================================================
   2-c) 심리테스트 4종 카드 — 밝은 사진 + 하단 문구 뒤 명암 + 골드 포인트
   ===================================================================== */
.oy-tests{padding:clamp(48px,6vw,90px) 0;background:linear-gradient(180deg,#fff 0%,#f7f2e9 100%)}
.oyt-head{text-align:center;margin-bottom:clamp(24px,3.2vw,40px)}
.oyt-head .eyebrow{display:block;margin-bottom:10px}
.oyt-head h2{font-family:var(--serif);font-size:clamp(24px,2.8vw,34px);font-weight:800;color:var(--ink,#1b1813);line-height:1.35;word-break:keep-all;text-wrap:balance}
.oyt-head p{margin-top:10px;font-size:clamp(14.5px,1.3vw,16px);line-height:1.7;color:var(--sub,#756f64);word-break:keep-all}
.oyt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,20px);margin:0;padding:0}
.oyt-grid > li{list-style:none}
.oyt-card{--oyt-gold:#d8b66f;position:relative;isolation:isolate;display:flex;flex-direction:column;height:100%;
  min-height:clamp(390px,32vw,440px);padding:clamp(22px,2.2vw,30px);border-radius:18px;overflow:hidden;
  color:#fff;background:#12110f;border:1px solid rgba(216,182,111,.7);text-decoration:none;
  box-shadow:0 18px 42px rgba(24,18,8,.16);transition:transform .35s,box-shadow .35s,border-color .35s}
.oyt-card::before{content:"";position:absolute;inset:10px;z-index:2;border:1px solid rgba(232,202,137,.5);border-radius:11px;pointer-events:none}
.oyt-card::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,7,5,0) 0%,rgba(8,7,5,.04) 35%,rgba(8,7,5,.26) 52%,rgba(8,7,5,.72) 78%,rgba(8,7,5,.86) 100%)}
.oyt-photo{position:absolute;inset:0;z-index:0;display:block;overflow:hidden;background:#15130f}
.oyt-photo img{width:100%;height:100%;object-fit:cover;filter:brightness(1.06) saturate(.95);transition:transform .9s cubic-bezier(.2,.7,.2,1),filter .45s}
.oyt-card > :not(.oyt-photo){position:relative;z-index:3}
.oyt-art{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;margin-bottom:auto;
  color:var(--oyt-gold);background:rgba(11,9,6,.62);border:1px solid rgba(232,202,137,.72);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.oyt-art svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.oyt-no{margin-top:22px;font-size:10.5px;font-weight:700;letter-spacing:.17em;color:#f4dfb0;text-shadow:0 2px 8px #000}
.oyt-title{margin-top:8px;font-family:var(--serif);font-size:clamp(19px,1.65vw,23px);font-weight:700;line-height:1.38;
  letter-spacing:-.02em;color:#fff;word-break:keep-all;text-wrap:balance;text-shadow:0 2px 12px rgba(0,0,0,.72)}
.oyt-meta{margin-top:8px;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.92);text-shadow:0 2px 8px rgba(0,0,0,.72)}
.oyt-go{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:16px;padding:10px 18px;border-radius:999px;
  font-size:13.5px;font-weight:700;color:#21180a;background:linear-gradient(180deg,#f0ddb1 0%,var(--oyt-gold) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 20px rgba(0,0,0,.28)}
.oyt-go i{font-style:normal;transition:transform .25s}
@media (hover:hover){
  .oyt-card:hover{transform:translateY(-5px);border-color:#e9cc8c;box-shadow:0 26px 54px rgba(24,18,8,.25)}
  .oyt-card:hover .oyt-photo img{transform:scale(1.055);filter:brightness(1.1) saturate(1)}
  .oyt-card:hover .oyt-go i{transform:translateX(3px)}
}
.oyt-card:focus-visible{outline:3px solid var(--gold,#c9a96a);outline-offset:3px}
/* 사진은 4종 모두 같은 밝기·그라데이션을 사용하고 골드 포인트로 구분한다.
   카드용 정사각형 사진은 가운데 기준으로 표시한다. */
.oyt--rose{--oyt-gold:#dfbd79}
.oyt--letter{--oyt-gold:#e0ad5e}
.oyt--wedding{--oyt-gold:#d6b77d}
/* 4번 가입비 테스트 (2026-10-08 허니문 여행지 → 교체) : 성 정원 웨딩 사진, 따뜻한 골드 */
.oyt--fee{--oyt-gold:#e3c77f}
@media (max-width:960px){ .oyt-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:480px){
  .oyt-grid{gap:10px}
  .oyt-card{min-height:310px;padding:18px 16px;border-radius:14px}
  .oyt-card::before{inset:7px;border-radius:9px}
  .oyt-art{width:46px;height:46px}
  .oyt-art svg{width:26px;height:26px}
  .oyt-no{margin-top:16px;font-size:9.5px;letter-spacing:.1em}
  .oyt-title{font-size:16.5px}
  .oyt-meta{font-size:12px}
  .oyt-go{margin-top:12px;padding:8px 12px;font-size:12.5px}
}

/* =====================================================================
   3) 에디션 프로그램 상세 (membership.php) — 에디션 1개 = 프로그램 3종 세로 나열
   ===================================================================== */
.msx{--ed-bg:linear-gradient(155deg,#26241f 0%,#131210 55%,#070706 100%);--ed-ink:#15140f}
.msx--prestige{--ed-bg:radial-gradient(80% 70% at 85% 0%,rgba(236,172,82,.36),rgba(236,172,82,0) 62%),linear-gradient(155deg,#5c3718 0%,#3b220e 50%,#201106 100%);--ed-ink:#3b220e}
.msx-tabs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:clamp(28px,3.6vw,44px)}
.msx-tab{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 24px 0 16px;border-radius:999px;
  border:1.5px solid var(--line-2,#ddd6c8);background:#fff;color:var(--ink,#1b1813);text-decoration:none;
  font-family:'Cormorant Garamond','Times New Roman',serif;font-size:21px;font-weight:600;letter-spacing:.03em;transition:.25s}
.msx-tab .oy-edsym{width:28px;height:28px}
.msx-tab:hover{border-color:var(--gold,#c9a96a)}
.msx-tab.is-on{background:var(--ed-bg);border-color:transparent;color:#f6e3b8}
.msx-tab--premium.is-on{background:#15140f}
.msx-tab--prestige.is-on{background:#4a2b12}

.msx-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px clamp(24px,4vw,56px);align-items:center;
  padding-bottom:clamp(28px,3.4vw,40px);margin-bottom:clamp(28px,3.4vw,40px);border-bottom:2px solid var(--ink,#1b1813)}
.msx-k{display:block;font-size:12px;letter-spacing:.24em;color:var(--gold-deep,#a8884c);font-weight:700}
.msx-intro h2{margin-top:10px;font-size:clamp(26px,3vw,38px);font-weight:800;line-height:1.3;color:var(--ink,#1b1813);word-break:keep-all}
.msx-intro p{margin-top:12px;font-size:clamp(15px,1.3vw,17px);line-height:1.7;color:#3d382f;word-break:keep-all}
.msx-intro-s{color:var(--sub,#756f64);font-size:.92em}
.msx-jump{display:grid;gap:8px;margin:0;padding:0}
.msx-jump li{list-style:none}
.msx-jump a{display:grid;grid-template-columns:44px auto 1fr auto;align-items:center;gap:14px;padding:12px 18px 12px 12px;border-radius:12px;
  background:var(--ivory,#f7f4ef);border:1px solid var(--line,#e8e3d8);color:var(--ink,#1b1813);text-decoration:none;transition:.25s}
.msx-jump a:hover{border-color:var(--gold,#c9a96a);background:#fff}
.msx-jump .oy-gem{width:44px;height:44px}
.msx-jump .no{font-size:12px;font-weight:700;color:var(--gold-deep,#a8884c);letter-spacing:.1em}
.msx-jump .nm{font-family:'Cormorant Garamond','Times New Roman',serif;font-size:23px;font-weight:600;letter-spacing:.02em}
.msx-jump .pr{font-size:15px;font-weight:700}

.msx-list{display:grid;gap:clamp(20px,2.6vw,32px)}
.msx-pass{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);border-radius:18px;overflow:hidden;background:#fff;
  border:1px solid var(--line,#e8e3d8);box-shadow:0 18px 50px rgba(30,24,12,.08);scroll-margin-top:110px;outline:none}
.msx-visual{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 24px;
  background:var(--ed-bg);color:#f6e3b8;text-align:center;isolation:isolate}
.msx-visual::before{content:"";position:absolute;inset:12px;border:1px solid rgba(226,190,122,.6);border-radius:12px;pointer-events:none}
.msx-gem{width:clamp(120px,13vw,170px);height:clamp(120px,13vw,170px);filter:drop-shadow(0 16px 26px rgba(0,0,0,.55))}
.msx-visual-no{margin-top:8px;font-size:12px;letter-spacing:.3em;font-weight:700;color:#e8c98a}
.msx-visual-ed{font-family:'Cormorant Garamond','Times New Roman',serif;font-size:18px;letter-spacing:.12em;color:rgba(246,227,184,.75)}
.msx-body{display:flex;flex-direction:column;gap:20px;padding:clamp(26px,3.4vw,44px)}
.msx-head h3{font-family:'Cormorant Garamond','Times New Roman',serif;font-size:clamp(36px,3.8vw,50px);font-weight:600;line-height:1.05;
  letter-spacing:.02em;color:var(--ed-ink)}
.msx-tag{margin-top:8px;font-size:clamp(15.5px,1.4vw,18px);font-weight:600;line-height:1.6;color:#3d382f;word-break:keep-all}
.msx-price{display:grid;gap:6px;padding:18px 22px;border-radius:12px;background:var(--ivory,#f7f4ef);border:1px solid var(--line,#e8e3d8)}
.msx-price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.msx-price-row .lb{min-width:96px;font-size:14px;font-weight:600;color:var(--sub,#756f64)}
.msx-price-row .val{font-size:clamp(28px,2.8vw,36px);font-weight:800;letter-spacing:-.01em;color:var(--ink,#1b1813);line-height:1.15}
.msx-price-row .vat{padding:3px 9px;border-radius:999px;background:#fff;border:1px solid var(--line-2,#ddd6c8);font-size:12px;font-weight:700;color:#4a443a}
.msx-price-row .vat:empty{display:none}
.msx-price-row--pay .val{font-size:clamp(20px,2vw,24px);color:#7a5a22}
.msx-price-n{font-size:13.5px;line-height:1.6;color:var(--sub,#756f64);word-break:keep-all}
.msx-target{display:grid;grid-template-columns:96px 1fr;gap:12px;margin:0;font-size:15px;line-height:1.6}
.msx-target dt{font-weight:700;color:var(--gold-deep,#a8884c)}
.msx-target dd{margin:0;color:var(--ink,#1b1813);word-break:keep-all}
.msx-feat h4{font-size:14px;font-weight:700;color:var(--gold-deep,#a8884c);margin-bottom:6px}
.msx-feat ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0}
.msx-feat li{list-style:none;position:relative;padding:10px 0 10px 28px;border-bottom:1px solid var(--line,#e8e3d8);
  font-size:15px;line-height:1.55;color:var(--ink,#1b1813);word-break:keep-all}
.msx-feat li::before{content:"";position:absolute;left:0;top:13px;width:18px;height:18px;border-radius:50%;
  background:#f5ecda url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23a8884c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.msx-acts{display:flex;flex-wrap:wrap;gap:10px}
.msx-acts .ms-btn{flex:1 1 220px}
.msx .ms-btn--line{border-color:var(--ink,#1b1813);color:var(--ink,#1b1813)}
.msx .ms-btn--line:hover{background:var(--ink,#1b1813);color:#fff}
.msx-pass.is-target{box-shadow:0 0 0 3px var(--gold,#c9a96a),0 18px 50px rgba(30,24,12,.12)}
@media (prefers-reduced-motion:no-preference){ .msx-pass.is-target{animation:msxPulse 1.6s ease 2} }
@keyframes msxPulse{50%{box-shadow:0 0 0 7px rgba(201,169,106,.45),0 18px 50px rgba(30,24,12,.12)}}

.msx-other{display:flex;align-items:center;gap:18px;margin-top:clamp(32px,4vw,52px);padding:24px clamp(22px,3vw,36px);border-radius:16px;
  color:#f6e3b8;text-decoration:none;background:linear-gradient(155deg,#26241f,#070706)}
.msx-other--prestige{background:radial-gradient(80% 90% at 90% 0%,rgba(236,172,82,.38),rgba(236,172,82,0) 62%),linear-gradient(155deg,#5c3718,#201106)}
.msx-other .oy-edsym{flex-shrink:0;width:48px;height:48px}
.msx-other .t{flex:1;display:flex;flex-direction:column;gap:2px}
.msx-other small{font-size:13.5px;color:rgba(255,255,255,.75)}
.msx-other b{font-family:'Cormorant Garamond','Times New Roman',serif;font-size:clamp(22px,2.2vw,28px);font-weight:600;letter-spacing:.02em}
.msx-other .go{font-size:22px;transition:transform .25s}
.msx-other:hover .go{transform:translateX(4px)}

@media (max-width:860px){
  .msx-intro{grid-template-columns:1fr}
  .msx-pass{grid-template-columns:1fr}
  .msx-visual{flex-direction:row;justify-content:flex-start;gap:16px;padding:22px 26px;text-align:left}
  .msx-visual::before{inset:8px}
  .msx-gem{width:84px;height:84px}
  .msx-visual-no{margin-top:0}
  .msx-feat ul{grid-template-columns:1fr}
}
@media (max-width:480px){
  .msx-tab{height:46px;padding:0 16px 0 12px;font-size:18px}
  .msx-jump a{grid-template-columns:38px auto 1fr;padding:10px 12px 10px 10px}
  .msx-jump .oy-gem{width:38px;height:38px}
  .msx-jump .pr{grid-column:3;font-size:13.5px;color:var(--sub,#756f64)}
  .msx-jump .nm{font-size:21px}
  .msx-price{padding:16px}
  .msx-price-row .lb{min-width:0;width:100%}
  .msx-target{grid-template-columns:1fr;gap:2px}
  .msx-visual-ed{display:none}
}

/* 공용 버튼 (멤버십 상세 · 체험권 레이어) */
.ms-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 18px;border-radius:999px;
  font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none;transition:.25s;border:1px solid transparent}
.ms-btn i{font-style:normal}
.ms-btn--gold{background:linear-gradient(180deg,#ead6aa 0%,#c9a96a 100%);color:#1a1408}
.ms-btn--gold:hover{filter:brightness(1.06)}
.ms-btn--line{background:transparent;border-color:rgba(255,255,255,.45);color:#fff}
.ms-btn--line:hover{border-color:#fff}
.ms-btn--ink{background:#15140f;color:#fff}
.ms-btn--ink:hover{background:#2b2822}
.ms-btn--plain{background:#fff;border-color:var(--line-2,#ddd6c8);color:var(--ink,#1b1813)}
.ms-btn--plain:hover{border-color:var(--ink,#1b1813)}
.ms-btn:focus-visible{outline:2px solid var(--gold-deep,#a8884c);outline-offset:3px}
.ms-note{margin-top:clamp(28px,3.4vw,40px);font-size:13px;line-height:1.75;color:var(--sub,#756f64);word-break:keep-all}

@media (prefers-reduced-motion:reduce){
  .oye-desc,.oye-list,.oyv-thumb img,.oyp-img img,.oyp-card,.oyt-card{transition:none}
}
