/* R-0884 나만의사주 v3 스킨(모양). 배치·구조는 그대로, 글꼴·글자 단계·자간·버튼·칩·카드·입력칸 모양만. 본진·브랜드 공통.
   색은 각 사이트 변수(--red·--ink·--ink2·--ink3)를 따른다. 본진 전용 색은 v3c.css. 끄기: lib/ui.php OS_V3=false.
   원리 출처 정리: ~/ops/agents/work/R-0882/benchmark.md (R-0882 예시를 운영용으로 옮김) */
@font-face{font-family:"Suprium UI";src:url("SupriumUI-Variable.woff2") format("woff2-variations"),url("SupriumUI-Variable.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
:root{
  --v3-font:"Suprium UI","Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  --v3-t1:var(--ink); --v3-t2:var(--ink2); --v3-t3:var(--ink3); --v3-t4:var(--ink3);
  --v3-o1:rgba(28,25,21,.04); --v3-o2:rgba(28,25,21,.07); --v3-o3:rgba(28,25,21,.12);
  --v3-red:var(--red); --v3-red-weak:color-mix(in srgb,var(--red) 10%,transparent); --v3-red-weak-fg:var(--red);
  --v3-dim:rgba(0,0,0,.1);
  --v3-r-btn:16px; --v3-r-card:20px; --v3-r-chip:12px; --v3-r-sheet:24px;
  --v3-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23615b52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* 글꼴은 v3c.css(본진만): 브랜드 사이트는 자기 글꼴 유지 */
:root body{letter-spacing:0;word-break:keep-all}
:root body :is(h1,h2,h3,.os-logo,.pc .pct>b,.why h2,.hm1 h1,.hm1 h2,.eh h1,.ehb h2){letter-spacing:-.02em}
:root body :is(.ehf li,.eh-k,.tl i){letter-spacing:0}
/* 굵기 3가지: 700 제목 · 600 카드 제목·버튼 · 500/400 */
:root body :is(h1,h2,h3,.os-logo,.eh-k,.engh,.eng li>i,.why h2,.hm1 h1,.pr,.off,.punch){font-weight:700}
:root body :is(.pc .pct>b,.g3 b,.eng li b,.faq summary,.faq2 summary){font-weight:600}
/* 글자 단계(줄 높이 ≈ 1.5배) */
:root body.os .eh h1{font-size:calc(26*var(--px,.0625rem));line-height:calc(36*var(--px,.0625rem))}
:root body.os :is(.ehb h2,.hm1 h2,.why h2){font-size:calc(22*var(--px,.0625rem));line-height:calc(31*var(--px,.0625rem))}
:root body .sec h2,:root body .hubh h2{font-size:calc(20*var(--px,.0625rem));line-height:calc(29*var(--px,.0625rem))}
:root body .pc .pct>b{font-size:calc(16*var(--px,.0625rem));line-height:calc(24*var(--px,.0625rem))}
:root body :is(.eh-d,.hm1 p){font-size:calc(16*var(--px,.0625rem));line-height:calc(24*var(--px,.0625rem))}
:root body .why p{font-size:calc(16*var(--px,.0625rem));line-height:calc(26*var(--px,.0625rem))}
:root body :is(.pc .pcq,.al p){font-size:calc(15*var(--px,.0625rem));line-height:calc(22.5*var(--px,.0625rem));color:var(--v3-t2)}
:root body .eng.lt li span{font-size:calc(15*var(--px,.0625rem));line-height:calc(22.5*var(--px,.0625rem))}
:root body .al h2{font-size:calc(17*var(--px,.0625rem));line-height:calc(25.5*var(--px,.0625rem))}
:root body :is(.sec .sd,.eh-s,.al .mt,.al time,.why small){font-size:calc(14*var(--px,.0625rem));line-height:calc(21*var(--px,.0625rem))}
:root body .ehf li{font-size:calc(14*var(--px,.0625rem));line-height:calc(21*var(--px,.0625rem))}
:root body .ehf li b{font-size:calc(13*var(--px,.0625rem))}
:root body .faq summary{font-size:calc(16*var(--px,.0625rem));line-height:calc(24*var(--px,.0625rem))}
:root body .faq p{font-size:calc(15*var(--px,.0625rem));line-height:calc(22.5*var(--px,.0625rem));color:var(--v3-t2)}
/* 구역 머리 '더 보기' */
:root body :is(.sec .hd a,.hubh a){font-size:calc(14*var(--px,.0625rem));line-height:calc(21*var(--px,.0625rem));font-weight:500;color:var(--v3-t3);display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
/* 홈 좌우 여백 20 리듬 */
:root body :is(.sec,.hm1){padding-left:20px;padding-right:20px}
:root body .sec{padding-top:32px}
:root body .chips{padding-left:20px;padding-right:20px}
:root body .hubh{padding:0 20px}
:root body .al{padding:16px 20px}
:root body .why{padding-left:20px;padding-right:20px}
/* 버튼: 둥근 네모 16, 큰 버튼 56, 굵기 600, 누르면 옅은 막 + 0.98배 */
:root body :is(.eh-cta,.h2cta,.cta,.pdgo,.sb){position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:4px 24px;border-radius:var(--v3-r-btn);font-size:calc(17*var(--px,.0625rem));font-weight:600;line-height:1.3;box-shadow:none;overflow:hidden;transition:scale .1s ease-out;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:root body :is(.eh-cta,.h2cta,.cta,.pdgo,.sb)::after{content:"";position:absolute;inset:0;background:var(--v3-dim);opacity:0;transition:opacity .1s ease-out;pointer-events:none}
:root body :is(.eh-cta,.h2cta,.cta,.pdgo,.sb):active::after{opacity:1}
:root body :is(.eh-cta,.h2cta,.cta,.pdgo,.sb,.os-top nav a,.chips a,.cchips a):active{scale:.98}
:root body .cta.hide{display:none}
:root body .bar:has(>.cta) .cta{min-height:52px}
/* 머리글 작은 버튼: 보이는 높이 36, 누르는 곳 44 */
:root body .os-top nav a{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:0;border-radius:10px;background:var(--v3-o2);color:var(--v3-t1);font-size:calc(14*var(--px,.0625rem));font-weight:600}
:root body .os-top nav a::after{content:"";position:absolute;inset:-4px 0}
/* 칩: 둥근 네모 12, 높이 40(누르는 곳 44), 고른 칩은 진한 면 */
:root body :is(.chips a,.cchips a){position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:0;border-radius:var(--v3-r-chip);background:var(--v3-o2);color:var(--v3-t2);font-size:calc(15*var(--px,.0625rem));font-weight:500;transition:scale .1s ease-out}
:root body :is(.chips a,.cchips a)::after{content:"";position:absolute;inset:-2px 0}
:root body :is(.chips,.cchips){gap:8px}
:root body .chips{padding-top:16px;padding-bottom:4px}
:root body :is(.chips a.on,.cchips a.on){background:var(--v3-t1);color:#fff}
/* 상품 카드: 선 없이 흰 면, 모서리 20 */
:root body .pc2{gap:10px}
:root body .pc{border:0;border-radius:var(--v3-r-card);box-shadow:none;background:#fff;padding:18px 16px 16px;gap:8px;position:relative;transition:scale .1s ease-out}
:root body .pc::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--v3-dim);opacity:0;transition:opacity .1s ease-out;pointer-events:none}
:root body .pc:active{scale:.98}
:root body .pc:active::after{opacity:.5}
:root body .pc .pct{gap:10px}
:root body .pc em{font-size:calc(14*var(--px,.0625rem));font-weight:600;color:var(--v3-red)}
:root body .pc .tl-m.ic{width:40px;height:40px;border-radius:12px}
/* 무료 운세 4칸 */
:root body .g3 .tl.ic{border-radius:20px}
:root body .g3 b{font-size:calc(15*var(--px,.0625rem));line-height:calc(22.5*var(--px,.0625rem));margin-top:10px}
:root body .g3 span:not(.tl){display:inline-block;margin-top:10px;padding:1px 8px;border-radius:8px;background:var(--v3-red-weak);color:var(--v3-red-weak-fg);font-size:calc(12*var(--px,.0625rem));line-height:calc(18*var(--px,.0625rem));font-weight:600}
:root body :is(.ehf li,.eng li){border-radius:16px}
/* 줄 목록: 들인 구분선, 누르면 옅은 면 */
:root body .al{border-top:0;position:relative}
:root body .al+.al::before{content:"";position:absolute;top:0;left:20px;right:20px;height:1px;background:var(--v3-o2)}
:root body .al:last-child{border-bottom:0}
:root body .al:active{background:var(--v3-o1)}
:root body .faq details{padding:14px 0}
/* 상자류: 모서리 20 */
:root body :is(.box,.engm,.qcard,.qtb,.trust,.agr){border-radius:var(--v3-r-card)}
/* 입력칸·고르기: 높이 52, 모서리 12, 글자 왼쪽 14 · 화살표 오른쪽 14(세로 가운데) */
:root body :is(.fake input,.fake select,.fm input,.pf2 input,.pf2 select){min-height:52px;border-radius:12px;padding-left:14px}
:root body select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;background-image:var(--v3-arrow);background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;padding-right:36px}
:root body select:not([multiple]):not([size])::-ms-expand{display:none}
/* 아래 탭 */
:root body .os-tab a{font-weight:500;font-size:min(calc(12*var(--px,.0625rem)),14px)}
:root body .os-tab a.on{font-weight:600}
:root body .os-fab span{font-weight:600;letter-spacing:0}
/* 알림·아래 시트 */
:root body .os-toast{border-radius:16px;padding:13px 18px;font-size:calc(15*var(--px,.0625rem))}
:root body .nyb{border-radius:var(--v3-r-sheet) var(--v3-r-sheet) 0 0;padding-top:28px}
:root body .nyb::before{content:"";position:absolute;top:10px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:var(--v3-o3)}
:root body .nyp label{border-width:1px;border-radius:14px}
:root body :is(a,button,summary,input,select,textarea):focus-visible{outline:2px solid var(--v3-red);outline-offset:2px}
@media (prefers-reduced-motion:reduce){:root body *{transition:none!important;scale:none!important}}
/* 무료 운세 화면: 제목 아래 별점 간격, 띠별 카드 안쪽 여백 16 (R-0884 점검) */
:root body h2+.st{margin-top:10px}
:root body .tti>div{padding:16px}
