/* 올리브영 마케팅 히어로: 뒤에 PC 브라우저, 앞에 휴대폰. 두 화면의 판매 랭킹에서 우리 상품 칸이 동시에 바뀌는 장면.
   무대는 680x620, --s 배율로 줄인다. PC 는 1120x960 으로 그리고 0.5배, 휴대폰은 360x732 로 그리고 0.62배.
   화면 짜임새는 실제 올리브영 랭킹 화면을 참고했고, 로고·사진·고유 서비스명은 쓰지 않는다. 딱지·카테고리 칸은 알약 모양 대신 각진 모서리. */
.vh-hero--oy { background:#f3f6f1; }
.vh-hero--oy::before { display:none; }
.vh-hero--oy .vh-inner { position:relative; z-index:2; }
.vh-hero--oy .vh-glow { position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(42% 60% at 76% 48%,rgba(122,166,58,.16),transparent 70%),radial-gradient(30% 44% at 98% 92%,rgba(33,48,111,.10),transparent 70%),radial-gradient(28% 40% at 56% 4%,rgba(190,220,150,.18),transparent 70%); }
.oys { --s:.92; position:absolute; top:78px; bottom:0; left:50%; right:0; z-index:1; pointer-events:none; display:flex; align-items:center; justify-content:center; }
.oys-stage { position:relative; flex:none; width:680px; height:620px; transform:scale(var(--s)); }
.oys-stage * { box-sizing:border-box; margin:0; }
.oys-stage { font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; color:#1E2026; text-align:left; word-break:keep-all; letter-spacing:normal; line-height:1.35; }
.oys-track { position:relative; will-change:transform; }
.oys-logo { font-style:italic; font-weight:900; letter-spacing:-.01em; }

/* 확대될 휴대폰·PC·상세페이지에는 will-change 를 두지 않는다(작은 크기로 그려 둔 걸 늘려 글자가 흐려짐) */
/* 카메라: '랭킹 1위' 줌인 때 PC·휴대폰을 함께 키운다(줌 중에는 장면 크기로 잘라 냄) */
.oys-cam { position:absolute; inset:0; transform-origin:0 0; }

/* ── PC 브라우저 ── */
.oys-pc { position:absolute; left:0; top:6px; width:1120px; height:960px; transform:scale(.5); transform-origin:0 0; border-radius:16px; overflow:hidden; background:#fff;
  box-shadow:0 0 0 2px #dfe3dc,0 50px 100px rgba(40,60,30,.20),0 16px 34px rgba(17,19,24,.10); }
.oys-chrome { display:flex; align-items:center; gap:10px; height:40px; padding:0 18px; background:#eef0ec; border-bottom:1px solid #dfe3dc; }
.oys-chrome i { width:13px; height:13px; border-radius:50%; background:#cfd4cb; }
.oys-chrome span { flex:1; margin-left:16px; max-width:520px; height:26px; padding:0 14px; border-radius:6px; background:#fff; font-size:13px; line-height:26px; color:#5b6170; }
.oys-pcv { position:absolute; left:0; right:0; top:40px; bottom:0; overflow:hidden; }
.oys-util { display:flex; justify-content:flex-end; gap:20px; height:26px; padding:7px 50px 0; font-size:12px; color:#5b6170; }
.oys-head { display:flex; align-items:center; gap:90px; height:64px; padding:0 50px; }
.oys-head .oys-logo { font-size:32px; }
.oys-sbox { display:flex; align-items:center; justify-content:space-between; width:380px; height:44px; padding:0 18px; border:1.5px solid #1E2026; border-radius:8px; font-size:14px; color:#8a8f99; }
.oys-sbox svg { color:#1E2026; width:20px; height:20px; }
.oys-hr { margin-left:auto; font-size:14px; }
.oys-nav { display:flex; align-items:center; gap:44px; height:46px; padding:0 50px; border-top:1px solid #eceef0; border-bottom:2px solid #1E2026; font-size:16px; font-weight:700; }
.oys-nav b { display:flex; align-items:center; gap:10px; width:170px; height:100%; border-right:1px solid #eceef0; }
.oys-band { display:flex; align-items:baseline; gap:16px; height:64px; padding:14px 50px 0; background:#fde6ec; }
.oys-band b { font-size:30px; font-weight:800; }
.oys-band span { font-size:16px; }
.oys-cat { display:grid; grid-template-columns:repeat(6,1fr); margin:20px 50px 0; border-top:1px solid #e3e5e8; border-left:1px solid #e3e5e8; }
.oys-cat span { height:34px; padding:0 12px; border-right:1px solid #e3e5e8; border-bottom:1px solid #e3e5e8; font-size:14px; line-height:34px; }
.oys-cat .is-on { background:#f36b6b; color:#fff; font-weight:700; }
.oys-pc .oys-grid { position:relative; height:1300px; margin-top:26px; }

/* PC 상품 칸 */
.oys-card { position:absolute; left:0; top:0; display:flex; flex-direction:column; background:#fff; will-change:transform,opacity; transform-origin:50% 40%; }
.oys-pc .oys-card { width:200px; align-items:center; text-align:center; }
.oys-thw { position:relative; overflow:hidden; }
.oys-pc .oys-thw { width:200px; height:200px; font-size:16px; }
.oys-th { display:flex; align-items:flex-end; width:100%; height:100%; padding:.5em; font-style:normal;
  background:linear-gradient(160deg,color-mix(in srgb,var(--a) 40%,#fff),var(--a)); background-size:cover; background-position:center; }
.oys-th span { font-size:.75em; line-height:1.2; color:#fff; font-weight:700; text-shadow:0 1px 2px rgba(0,0,0,.3); }
.oys-pc .oys-rk { position:absolute; left:-20px; top:14px; width:48px; height:48px; border-radius:50%; border:2px solid #f36b6b; background:#fff; color:#f36b6b; font-size:19px; font-weight:800; line-height:44px; text-align:center; font-variant-numeric:tabular-nums; }
.oys-pc .oys-br { margin-top:16px; font-size:15px; font-weight:600; }
.oys-pc .oys-nm { position:relative; width:100%; height:40px; margin-top:6px !important; font-size:14px; line-height:20px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.oys-pc .oys-pr { display:flex; align-items:baseline; justify-content:center; gap:8px; margin-top:8px !important; }
.oys-pc .oys-pr s { font-size:13px; color:#8a8f99; }
.oys-pc .oys-pr b { font-size:20px; font-weight:800; color:#e5484d; }
.oys-flags { display:flex; gap:3px; height:20px; }
.oys-pc .oys-flags { justify-content:center; margin-top:8px !important; }
.oys-flags em { font-style:normal; padding:0 7px; border-radius:2px; font-size:12px; line-height:20px; font-weight:700; color:#fff; background:#9aa0aa; }
.oys-pc .oys-flags em[data-f="세일"] { background:#f36b6b; }
.oys-pc .oys-flags em[data-f="쿠폰"] { background:#7cbd3e; }
.oys-pc .oys-flags em[data-f="증정"] { background:#3fb2e0; }
.oys-flags em[data-f="기획"] { background:#4f7a1d; color:#fff; }

/* ── 휴대폰 ── */
.oys-phone { position:absolute; left:448px; top:140px; z-index:2; width:360px; height:732px; transform:scale(.62); transform-origin:0 0; padding:9px; border-radius:46px; background:#1E2026;
  box-shadow:0 0 0 1.5px #3a3d45 inset,0 40px 80px rgba(30,45,20,.32),0 10px 22px rgba(17,19,24,.18); }
.oys-scr { position:relative; width:100%; height:100%; border-radius:38px; overflow:hidden; background:#fff; font-size:13px; }
.oys-status { position:relative; z-index:3; display:flex; justify-content:space-between; height:36px; padding:14px 26px 0; font-size:13px; background:#fff; }
.oys-mv { position:absolute; left:0; right:0; top:36px; bottom:58px; overflow:hidden; }
.oys-mhead { display:flex; justify-content:space-between; align-items:center; height:48px; padding:0 16px; }
.oys-mhead .oys-logo { font-size:20px; }
.oys-mhead span { display:flex; gap:14px; }
.oys-mhead svg { width:20px; height:20px; }
.oys-mtabs { display:flex; gap:15px; height:40px; align-items:flex-end; padding:0 16px; border-bottom:1px solid #eef0f3; font-size:14.5px; color:#5b6170; white-space:nowrap; }
.oys-mtabs > * { padding-bottom:8px; }
.oys-mtabs b { color:#1E2026; border-bottom:2.5px solid #1E2026; }
.oys-msub { display:flex; align-items:center; gap:14px; height:40px; padding:0 16px; font-size:13.5px; border-bottom:1px solid #eef0f3; }
.oys-msub span { color:#5b6170; }
.oys-msub i { margin-left:auto; font-style:normal; font-size:11px; color:#8a8f99; }
.oys-mchips { display:flex; gap:6px; height:44px; align-items:center; padding:0 16px; font-size:12px; white-space:nowrap; }
.oys-mchips > * { padding:5px 10px; border:1px solid #dcdfe3; border-radius:4px; }
.oys-mchips b { background:#1E2026; border-color:#1E2026; color:#fff; }
.oys-mupd { display:flex; justify-content:space-between; align-items:center; height:30px; padding:0 16px; font-size:11px; color:#8a8f99; }
.oys-mupd i { font-style:normal; color:#1E2026; }
.oys-phone .oys-grid { position:relative; height:1400px; margin-top:6px; }
.oys-phone .oys-card { width:154px; }
.oys-phone .oys-thw { width:154px; height:154px; border-radius:4px; font-size:12px; }
.oys-phone .oys-rk { position:absolute; left:0; top:0; width:26px; height:26px; border-radius:4px 0 4px 0; background:#1E2026; color:#fff; font-size:14px; font-weight:800; line-height:26px; text-align:center; font-variant-numeric:tabular-nums; }
.oys-phone .oys-nm { position:relative; height:32px; margin-top:8px !important; font-size:12px; line-height:16px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.oys-was { height:15px; margin-top:4px !important; font-size:10.5px; color:#8a8f99; }
.oys-phone .oys-pr { display:flex; align-items:baseline; gap:4px; font-size:14px; font-weight:800; }
.oys-phone .oys-pr u { text-decoration:none; color:#e5484d; }
.oys-phone .oys-flags { margin-top:6px !important; height:17px; }
.oys-phone .oys-flags em { padding:0 5px; font-size:10px; line-height:17px; background:#f1f2f4; color:#5b6170; font-weight:600; }
.oys-phone .oys-flags em[data-f="기획"] { background:#4f7a1d; color:#fff; }
.oys-ic { display:flex; gap:14px; margin-top:7px !important; color:#8a8f99; }
.oys-mbar { position:absolute; left:0; right:0; bottom:0; z-index:3; display:flex; justify-content:space-around; height:58px; padding-top:8px; border-top:1px solid #eef0f3; background:#fff; font-size:10px; color:#5b6170; }
.oys-mbar span { display:flex; flex-direction:column; align-items:center; gap:2px; }
.oys-mbar .is-on { color:#1E2026; font-weight:700; }

/* ── 우리 칸: 흐릿함 → 썸네일이 갈림(스티커·띠) → 이름·딱지·할인가 → 떠오름 ── */
.oys-card--me { z-index:2; --lift:0; border-radius:6px;
  box-shadow:0 0 0 calc(8px * var(--lift)) rgba(255,255,255,var(--lift)),0 0 0 calc(10px * var(--lift)) rgba(111,154,53,calc(.9 * var(--lift))),0 calc(20px * var(--lift)) calc(40px * var(--lift)) rgba(40,60,30,calc(.26 * var(--lift))); }
.oys-th--before { filter:saturate(.7); }
.oys-thnew { position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--w,0%)) 0 0); }
.oys-stk { position:absolute; right:.6em; top:.6em; width:3.6em; height:3.6em; border-radius:50%; background:#3f6a12; color:#fff; font-size:1em; font-weight:800; line-height:3.6em; text-align:center; transform:rotate(-8deg); }
.oys-tband { position:absolute; left:0; right:0; bottom:0; padding:.45em .7em; background:rgba(22,40,10,.86); color:#fff; font-size:.95em; font-weight:800; text-align:left; }
.oys-wipe { position:absolute; top:0; bottom:0; left:var(--w,0%); width:3px; margin-left:-1.5px; background:#fff; box-shadow:0 0 14px 4px rgba(255,255,255,.95); opacity:0; font-style:normal; }
.oys-card--me .oys-flags em { opacity:0; transform:translateY(4px); }
.oys-nm--me span { position:absolute; left:0; right:0; top:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.oys-nm--me span + span { opacity:0; font-weight:600; }
.oys-card--me [data-oy-was], .oys-card--me [data-oy-off] { visibility:hidden; }

/* ── 주석(PC 아래 왼쪽): 바뀌는 것 세 가지(글자·가는 선·형광펜) + 조회·담기 수 ── */
.oys-side { position:absolute; left:6px; top:500px; width:420px; }
.oys-steps { display:flex; gap:22px; }
.oys-step { position:relative; flex:1; padding-top:10px; opacity:.28; will-change:opacity,transform; }
.oys-step::before { content:''; position:absolute; left:0; top:0; width:100%; height:1px; background:#25469E; transform-origin:0 50%; transform:scaleX(var(--ln,0)); }
.oys-step::after { content:''; position:absolute; left:-3px; top:-3px; width:7px; height:7px; border-radius:50%; background:#25469E; opacity:var(--ln,0); }
.oys-step p { font-size:17px; font-weight:800; line-height:1.4; }
.oys-step span { display:block; margin-top:2px; font-size:12.5px; font-weight:500; line-height:1.4; }
.oys-step mark { background:linear-gradient(transparent 58%,#FBF0CF 58%); background-size:var(--hl,0%) 100%; background-repeat:no-repeat; color:inherit; }
.oys-nums { display:flex; gap:34px; margin-top:12px !important; opacity:0; will-change:opacity; }
.oys-nums div { display:flex; align-items:baseline; gap:10px; }
.oys-nums span { font-size:13px; font-weight:600; }
.oys-nums b { font-size:30px; line-height:1.05; font-weight:800; letter-spacing:-.03em; color:#25469E; font-variant-numeric:tabular-nums; }

/* ── 상세페이지: 아래로 내리면 '올리브영 랭킹 1위 제품' 타이틀 구역 ── */
.oys-dt { position:absolute; inset:0; z-index:4; background:#fff; transform:translateX(100%); opacity:0; }
.oys-dt-view { position:absolute; left:0; right:0; bottom:0; overflow:hidden; }
.oys-dt-track { position:relative; }
.oys-dt-kv { background-size:cover; background-position:center; }
.oys-dt-info { display:flex; flex-direction:column; }
.oys-dt-pr { display:flex; align-items:baseline; }
.oys-dt-pr s { color:#8a8f99; }
.oys-dt-pr u { text-decoration:none; color:#e5484d; font-weight:800; }
.oys-dt-pr b { font-weight:800; }
.oys-dt-btns { display:flex; }
.oys-dt-btns > * { flex:1; text-align:center; border-radius:4px; font-weight:700; }
.oys-dt-btns span { border:1px solid #c9ced6; }
.oys-dt-btns b { background:#2f5410; color:#fff; }
.oys-dt-tabs { display:flex; border-bottom:1px solid #eef0f3; }
.oys-dt-tabs > * { flex:1; text-align:center; }
.oys-dt-tabs b { border-bottom:2.5px solid #1E2026; }
.oys-dt-tabs span { color:#5b6170; }
/* 상품 설명 속 타이틀 구역(브랜드가 만든 상세 이미지처럼) */
.oys-dt-ttl { background:#2f5410; color:#fff; text-align:center; }
.oys-dt-ttl-h small { display:block; font-weight:700; color:#cfe3b8; letter-spacing:.02em; }
.oys-dt-ttl-h h4 { display:inline-block; font-weight:900; letter-spacing:-.03em; line-height:1.15; }
.oys-dt-ttl-h em { font-style:normal; color:#2f5410; background:#FBF0CF; padding:0 .12em; }
.oys-dt-ttl-img { background-size:cover; background-position:center 60%; }
.oys-dt-more { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.oys-dt-more span { color:#5b6170; }
/* PC 상세 */
.oys-dt--pc .oys-dt-crumb { height:46px; padding:20px 50px 0; font-size:13px; color:#5b6170; }
.oys-dt--pc .oys-dt-view { top:46px; }
.oys-dt--pc .oys-dt-body { display:flex; gap:56px; padding:12px 50px 0; }
.oys-dt--pc .oys-dt-kv { flex:none; width:460px; height:460px; border:1px solid #eceef0; }
.oys-dt--pc .oys-dt-info { flex:1; gap:10px; padding-top:30px; }
.oys-dt--pc .oys-br { font-size:16px; font-weight:700; }
.oys-dt--pc .oys-dt-nm { font-size:24px; font-weight:600; line-height:1.4; }
.oys-dt--pc .oys-dt-pr { gap:12px; margin-top:8px !important; font-size:16px; }
.oys-dt--pc .oys-dt-pr u, .oys-dt--pc .oys-dt-pr b { font-size:30px; }
.oys-dt--pc .oys-dt-flags { height:24px; }
.oys-dt--pc .oys-dt-flags em { font-size:13px; line-height:24px; padding:0 9px; }
.oys-dt--pc .oys-dt-flags em[data-f="세일"] { background:#f36b6b; }
.oys-dt--pc .oys-dt-flags em[data-f="증정"] { background:#3fb2e0; }
.oys-dt--pc .oys-dt-btns { gap:12px; margin-top:34px !important; }
.oys-dt--pc .oys-dt-btns > * { padding:18px 0; font-size:17px; }
.oys-dt--pc .oys-dt-tabs { margin:40px 50px 0; font-size:17px; }
.oys-dt--pc .oys-dt-tabs > * { padding:16px 0 12px; }
.oys-dt--pc .oys-dt-ttl { width:720px; margin:40px auto 0; padding:56px 0 0; }
.oys-dt--pc .oys-dt-ttl-h small { font-size:20px; }
.oys-dt--pc .oys-dt-ttl-h h4 { margin-top:10px !important; font-size:64px; }
.oys-dt--pc .oys-dt-ttl-img { height:380px; margin-top:40px; }
.oys-dt--pc .oys-dt-more { padding:40px 0; }
.oys-dt--pc .oys-dt-more b { font-size:26px; }
.oys-dt--pc .oys-dt-more span { font-size:17px; }
/* 모바일 상세 */
.oys-dt--m .oys-dt-bar { display:flex; justify-content:space-between; align-items:center; height:44px; padding:0 16px; font-size:15px; border-bottom:1px solid #eef0f3; }
.oys-dt--m .oys-dt-bar svg { width:20px; height:20px; }
.oys-dt--m .oys-dt-view { top:44px; }
.oys-dt--m .oys-dt-kv { width:342px; height:330px; }
.oys-dt--m .oys-dt-info { gap:4px; padding:12px 16px; }
.oys-dt--m .oys-br { font-size:12px; font-weight:700; }
.oys-dt--m .oys-dt-nm { font-size:14.5px; font-weight:600; line-height:1.4; }
.oys-dt--m .oys-dt-pr { gap:6px; font-size:12px; }
.oys-dt--m .oys-dt-pr u, .oys-dt--m .oys-dt-pr b { font-size:19px; }
.oys-dt--m .oys-dt-flags em { background:#f1f2f4; color:#5b6170; font-size:10.5px; }
.oys-dt--m .oys-dt-flags em[data-f="기획"] { background:#4f7a1d; color:#fff; }
.oys-dt--m .oys-dt-btns { gap:8px; margin-top:10px !important; }
.oys-dt--m .oys-dt-btns > * { padding:11px 0; font-size:13px; }
.oys-dt--m .oys-dt-tabs { margin-top:6px; font-size:13.5px; }
.oys-dt--m .oys-dt-tabs > * { padding:11px 0 9px; }
.oys-dt--m .oys-dt-ttl { margin-top:14px; padding:30px 0 0; }
.oys-dt--m .oys-dt-ttl-h small { font-size:12px; }
.oys-dt--m .oys-dt-ttl-h h4 { margin-top:6px !important; font-size:33px; }
.oys-dt--m .oys-dt-ttl-img { height:200px; margin-top:22px; }
.oys-dt--m .oys-dt-more { padding:20px 0; }
.oys-dt--m .oys-dt-more b { font-size:14.5px; }
.oys-dt--m .oys-dt-more span { font-size:12px; }
.oys-touch { position:absolute; z-index:6; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; background:rgba(17,19,24,.18); box-shadow:0 0 0 2px rgba(255,255,255,.7) inset; opacity:0; font-style:normal; }

/* ── 글로벌: 점 세계 지도 + 한국에서 이어지는 선 ── */
.oys-glb { position:absolute; left:0; top:120px; width:680px; height:281px; z-index:3; opacity:0; pointer-events:none; }
.oys-map { position:absolute; inset:0; width:680px; height:281px; display:block; }
.oys-arcs { position:absolute; inset:0; width:680px; height:281px; overflow:visible; }
.oys-arcs path { fill:none; stroke:#25469E; stroke-width:2; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:1; }
.oys-kr-dot { fill:#2f5410; stroke:#fff; stroke-width:2.5; }
.oys-dst-dot { fill:#25469E; stroke:#fff; stroke-width:2; opacity:0; }
.oys-kr { position:absolute; display:flex; align-items:center; gap:10px; width:200px; padding:8px 10px 8px 8px; border-radius:8px; background:#fff; box-shadow:0 0 0 2px #2f5410,0 12px 26px rgba(30,50,10,.18); opacity:0; }
.oys-kr i { flex:none; width:44px; height:44px; border-radius:6px; background-size:cover; background-position:center; }
.oys-kr p { display:flex; flex-direction:column; gap:2px; min-width:0; }
.oys-kr b { font-size:12.5px; font-weight:800; color:#2f5410; white-space:nowrap; }
.oys-kr span { font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.oys-dst { position:absolute; display:flex; flex-direction:column; gap:1px; padding:5px 9px; border-radius:6px; background:#fff; box-shadow:0 6px 16px rgba(17,19,24,.14); opacity:0; white-space:nowrap; }
.oys-dst b { font-size:13px; font-weight:800; }
.oys-dst span { font-size:11px; }

/* 주석 묶음: 장면마다 하나만 보인다 */
.oys-grp { position:absolute; left:0; top:0; width:100%; }
.oys-grp + .oys-grp { opacity:0; }
.oys-grp--one .oys-step { opacity:1; }
.oys-grp--one .oys-step p { font-size:22px; }
.oys-grp--one .oys-step span { font-size:14.5px; }

@media(max-width:1280px) { .oys { --s:.78; } }
@media(max-width:1024px) { .oys { --s:.6; } }
@media(max-width:767px) {
  .vh-hero--oy { flex-direction:column; align-items:stretch; }
  .oys { position:relative; left:auto; right:auto; top:auto; bottom:auto; flex:none; height:340px; margin-top:-20px; --s:.52; overflow:hidden; }
}
