/* SOREVUA V89 — 앱 전체 디자인 (08 실시간 메이크업 · 09 제품 · 10 스와이프 · 11 결과 · 각종 시트·팝업)
   기존 화면 구조·기능은 그대로 두고 모양만 새로 입힘. 이 파일은 마지막에 불러와 이전 디자인(v54·v86·v87·v88)을 덮어씀 */
:root{
  --v9-bg:#fdf8f4; --v9-card:#fffdfb; --v9-ink:#3a2c3d; --v9-ink2:#5f5464; --v9-gray:#8d8592; --v9-line:#eee3ea; --v9-line2:#e2d4df;
  --v9-rose:#e7a1bb; --v9-rose-d:#c46f93; --v9-rose-s:#fbe9f0; --v9-lav:#d9ccf3; --v9-lav-s:#f2edfc; --v9-mauve:#8b6587;
  --v9-grad:linear-gradient(120deg,#d87fa3,#b493dc); --v9-grad-s:linear-gradient(140deg,#fbe4ee,#ece4fb);
  --v9-glass:rgba(255,250,252,.74); --v9-glass-b:rgba(255,255,255,.75);
  --v9-sh:0 18px 44px -20px rgba(110,72,104,.45); --v9-sh-s:0 6px 18px -10px rgba(110,72,104,.5);
  --v9-r:24px; --v9-sans:Pretendard,"Pretendard Variable","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  --v9-serif:"Cormorant Garamond",Didot,"Bodoni 72",Georgia,serif;
  /* 기존 엔진 변수도 같은 색으로 */
  --sv-bg:var(--v9-bg); --sv-card:var(--v9-card); --sv-ink:var(--v9-ink); --sv-ink-2:var(--v9-ink2); --sv-line:var(--v9-line); --sv-line-2:var(--v9-line2);
  --sv-accent:var(--v9-rose-d); --sv-accent-deep:var(--v9-rose-d); --sv-accent-text:var(--v9-rose-d); --sv-sub:var(--v9-rose-s); --sv-radius:var(--v9-r);
}
html body{font-family:var(--v9-sans);background:var(--v9-bg);color:var(--v9-ink);letter-spacing:-.01em}
html body button,html body input,html body select,html body textarea{font-family:inherit}

/* ───────── 08 실시간 메이크업: 얼굴이 화면 대부분 ───────── */
body:not(.layout-pc){--top-h:calc(var(--safe-top,0px) + 58px);--bar-h:calc(var(--safe-bottom,0px) + 76px)}
body:not(.layout-pc) .stage{top:0!important;bottom:0!important;left:0!important;right:0!important;border-radius:0!important;box-shadow:none!important;background:#2b2230}
body:not(.layout-pc).palette-open .stage,body:not(.layout-pc).lip-sheet-open .stage{bottom:0!important}
html body .topbar{background:linear-gradient(180deg,rgba(253,248,244,.92) 0%,rgba(253,248,244,.7) 60%,rgba(253,248,244,0) 100%)!important;box-shadow:none!important;border:0!important;height:auto!important;padding-bottom:10px!important}
html body .topbar-row{gap:8px!important;align-items:center}
html body .mode-switch,html body #modeSwitch.mode-switch{display:none!important}
html body .brand-logo img,html body #brandLogoImg{max-height:30px!important;opacity:.92}
body.layout-pc .brand-logo img{max-height:34px!important}
html body .menu-btn,html body .info-btn,html body .sv87-home-launch,html body .lang-switch>button,html body .lang-switch .lang-btn{min-width:38px!important;height:38px!important;border-radius:50%!important;border:1px solid var(--v9-glass-b)!important;background:var(--v9-glass)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--v9-ink)!important;box-shadow:var(--v9-sh-s)!important;display:grid;place-items:center;padding:0 10px!important;font-size:13px!important;font-weight:700!important}
html body .lang-switch>button,html body .lang-switch .lang-btn{border-radius:999px!important;font-size:12px!important;width:auto!important;white-space:nowrap!important;padding:0 12px!important}
html body .sv87-home-launch{font-size:17px!important}
html body .cam-badge,html body .top-chip{border-radius:999px!important;background:var(--v9-glass)!important;border:1px solid var(--v9-glass-b)!important;color:var(--v9-ink2)!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}

/* 카메라 위 안내: 모두 같은 유리 알약 모양, 한 줄로 */
html body .stage-tags{top:calc(var(--top-h) + 6px)!important;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 64px!important}
html body .stage-tags .tag,html body .sv86-toast,html body .sv86-quality{font-family:var(--v9-sans);background:rgba(58,44,61,.6)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:8px 14px!important;font-size:12.5px!important;font-weight:600!important;line-height:1.35!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 20px -10px rgba(0,0,0,.4)!important;max-width:min(86vw,420px);text-align:center}
html body .stage-tags .tag.warn{background:rgba(196,111,147,.82)!important}
html body .sv86-quality{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:calc(var(--bar-h) + 70px)!important;transform:translateX(-50%)!important;z-index:40}
html body .sv86-toast{position:fixed!important;left:50%!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;background:rgba(58,44,61,.72)!important;font-size:14px!important;padding:10px 18px!important;z-index:9600}
html body .skin-chip{top:calc(var(--top-h) + 6px)!important;left:12px!important;right:auto!important;border-radius:999px!important;background:var(--v9-glass)!important;border:1px solid var(--v9-glass-b)!important;box-shadow:var(--v9-sh-s)!important;backdrop-filter:blur(12px)}
html body .skin-chip button{color:var(--v9-ink2)!important;font-size:11.5px!important;font-weight:600!important}
body:not(.layout-pc) .stage-tags{top:calc(var(--top-h) + 44px)!important}

/* 오른쪽 세로 버튼: 결과·비교·추천·조절·도움말 — 모두 같은 원형 유리 버튼 */
html body #svCameraActionTop{position:fixed!important;top:calc(var(--top-h) + 4px)!important;right:calc(var(--safe-right,0px) + 12px)!important;left:auto!important;display:flex!important;flex-direction:column!important;gap:10px!important;z-index:30;background:none!important;box-shadow:none!important;padding:0!important}
html body #svCameraActionTop button,html body .sv89-rail-btn,body:not(.layout-pc) #productBtn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important;border:1px solid var(--v9-glass-b)!important;background:var(--v9-glass)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--v9-ink)!important;box-shadow:var(--v9-sh-s)!important;display:grid!important;place-items:center;font-size:11px!important;font-weight:700!important;cursor:pointer}
html body #svCameraActionTop svg,html body .sv89-rail-btn svg{width:20px;height:20px}
.sv89-rail-btn svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sv89-rail{position:fixed;right:calc(var(--safe-right,0px) + 12px);top:calc(var(--top-h) + 4px + 2*54px + 54px);display:flex;flex-direction:column;gap:10px;z-index:30}
.sv89-rail-btn[aria-pressed="true"]{background:var(--v9-grad)!important;color:#fff!important;border-color:transparent!important}
.sv89-helpbtn{font-size:17px!important;font-family:var(--v9-serif)}
body:not(.layout-pc) #productBtn{position:fixed!important;top:calc(var(--top-h) + 4px + 2*54px)!important;right:calc(var(--safe-right,0px) + 12px)!important;flex-direction:column!important}
body:not(.layout-pc) #productBtn .side-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body:not(.layout-pc) #productBtn .side-icon{font-size:18px!important;margin:0!important}
body:not(.layout-pc) #productBtn::after{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.4 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.4 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E") center/contain no-repeat}
body:not(.layout-pc) #productBtn>*{display:none!important}

/* 겹치던 예전 버튼 정리: 'V86 메이크업 부위'(아래 부위 바와 중복)·'조작법 ?'(오른쪽 ? 버튼으로) */
html body .sv86-areas,html body .sv86-help{display:none!important}

/* 아래: 메이크업 부위 바 (유리) + 제품 찾기 */
html body .area-bar{background:linear-gradient(0deg,rgba(253,248,244,.94) 0%,rgba(253,248,244,.82) 70%,rgba(253,248,244,0) 100%)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding-top:10px!important;gap:6px!important;border:0!important;box-shadow:none!important}
html body .area-bar .ab-btn{flex:0 0 64px!important;border-radius:18px!important;color:var(--v9-ink2)!important;font-size:11px!important;font-weight:600!important;gap:4px!important}
html body .area-bar .ab-btn svg{width:22px!important;height:22px!important;stroke-width:1.4!important}
html body .area-bar .ab-btn[aria-current="true"],html body .area-bar .ab-btn.on{background:#fff!important;color:var(--v9-rose-d)!important;box-shadow:0 8px 18px -10px rgba(196,111,147,.75)!important}
html body .area-bar .ab-dot{background:var(--v9-rose-d)!important}
html body .area-bar .ab-auto{color:var(--v9-mauve)!important}
html body .sv86-products-entry{position:fixed!important;left:50%!important;right:auto!important;transform:translateX(-50%);bottom:calc(var(--bar-h) + 14px)!important;min-height:46px!important;padding:0 22px!important;border:0!important;border-radius:999px!important;background:var(--v9-grad)!important;color:#fff!important;font:700 14.5px var(--v9-sans)!important;box-shadow:0 14px 28px -14px rgba(196,111,147,.95)!important;z-index:28}
html body .sv86-continue{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(var(--bar-h) + 70px)!important;top:auto!important;transform:none!important;width:auto!important;max-width:460px;margin:0 auto;min-height:52px!important;border:1px solid var(--v9-glass-b)!important;border-radius:18px!important;background:rgba(255,253,251,.94)!important;color:var(--v9-ink)!important;font:700 15px var(--v9-sans)!important;box-shadow:var(--v9-sh)!important;backdrop-filter:blur(12px);z-index:35}
html body .sv86-continue::after{content:"  →";color:var(--v9-rose-d)}

/* 상세 조절(슬라이더 줄): 평소 숨김, 열면 유리 카드 */
html body .dock{left:12px!important;right:12px!important;bottom:calc(var(--bar-h) + 70px)!important;border-radius:22px!important;background:rgba(255,252,250,.93)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--v9-sh)!important;padding:12px 14px!important;color:var(--v9-ink)!important;border:1px solid var(--v9-glass-b)}
body.sv87-compact:not(.sv87-expanded-controls) .dock{background:transparent!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important;pointer-events:none}
body.sv87-compact:not(.sv87-expanded-controls) .dock *{pointer-events:auto}
html body .dock input[type=range]{accent-color:var(--v9-rose-d)}

/* ───────── 공통 시트·패널·팝업 (09·07·메뉴·분석·스타일 등) ───────── */
html body .side-panel,html body .info-sheet,html body #svAnalysisModal,html body #svMainDrawer,html body .lip-sheet,html body .rec-panel,html body .check-box,html body .sv86-catalog-inner,html body .sv86-dialog-card{background:var(--v9-card)!important;color:var(--v9-ink)!important;border:1px solid var(--v9-line)!important;box-shadow:0 30px 70px -30px rgba(80,50,80,.55)!important;font-family:var(--v9-sans)}
html body .info-sheet,html body #svAnalysisModal,html body .sv86-dialog-card,html body .sv86-catalog-inner{border-radius:28px!important}
body:not(.layout-pc) .info-sheet,body:not(.layout-pc) #svAnalysisModal{left:0!important;right:0!important;bottom:0!important;top:auto!important;max-height:86vh!important;border-radius:28px 28px 0 0!important;padding-top:22px!important;border-bottom:0!important}
body:not(.layout-pc) .info-sheet::before,body:not(.layout-pc) #svAnalysisModal::before,body:not(.layout-pc) .sv86-catalog-inner::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;border-radius:4px;background:var(--v9-line2);transform:translateX(-50%)}
html body .side-panel{border-radius:0 28px 28px 0!important}
html body .side-panel.right{border-radius:28px 0 0 28px!important}
html body #svOverlayScrim,html body .panel-backdrop,html body .sv86-dialog{background:rgba(58,44,61,.38)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html body h2,html body .side-head h2,html body .sv-modal-heading h2{font-family:var(--v9-sans);font-weight:800!important;letter-spacing:-.03em;color:var(--v9-ink)!important}
html body .info-sheet h2,html body #svAnalysisModal h2,html body .side-head h2,html body .sv86-dialog h2,html body .sv86-catalog h2{font-size:20px!important}
html body .info-sheet h3,html body .info-sheet h4,html body #svAnalysisModal h3{color:var(--v9-ink)!important;font-weight:700!important}
html body .info-sheet p,html body .info-sheet li,html body #svAnalysisModal p,html body .side-note,html body .small{color:var(--v9-ink2)!important}
/* 닫기 버튼: 모두 같은 원형 */
html body #svMenuClose,html body #svAnalysisClose,html body [data-v86-catalog-close],html body .sv89-x,html body .side-head .chip.dark,html body .info-sheet [data-act="close"],html body .ls-close{width:auto!important;height:36px!important;min-width:36px!important;padding:0 12px!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;border-radius:50%!important;border:1px solid var(--v9-line)!important;background:#fff!important;color:var(--v9-ink2)!important;font-size:18px!important;line-height:1!important;display:inline-grid!important;place-items:center;box-shadow:none!important}
/* 버튼·칩 통일 */
html body .chip,html body .pill,html body .info-sheet button:not([data-act="close"]):not(.sv89-x),html body #svAnalysisModal button:not(#svAnalysisClose),html body .side-panel button.chip,html body .rec-panel button,html body .check-box button,html body .lip-sheet button:not(.ls-close),html body .pp-tabs button,html body .sv86-categories button,html body .sv86-product-list button{border-radius:999px!important;border:1px solid var(--v9-line2)!important;background:#fff!important;color:var(--v9-ink)!important;font-weight:600!important;box-shadow:none!important}
html body .chip[aria-pressed="true"],html body .pill[aria-pressed="true"],html body .info-sheet button[aria-pressed="true"],html body #svAnalysisModal button[aria-pressed="true"],html body .pp-tabs button[aria-selected="true"],html body .pp-tabs button.on,html body .sv86-categories button.on,html body .sv86-categories button[aria-pressed="true"],html body .info-sheet button.on,html body #svAnalysisModal button.on{background:var(--v9-grad-s)!important;border-color:transparent!important;color:var(--v9-rose-d)!important}
html body .info-sheet button.primary,html body #svAnalysisModal button.primary,html body .side-panel .primary,html body button.primary,html body #svAnalysisActions button:first-child{background:var(--v9-grad)!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px -12px rgba(196,111,147,.9)!important}
html body .side-close-bottom,html body .info-sheet .close-bottom{border-radius:16px!important;min-height:48px;background:var(--v9-lav-s)!important;color:var(--v9-mauve)!important;border:0!important;font-weight:700!important}
html body select,html body input[type=search],html body input[type=text],html body input[type=email],html body input[type=tel],html body textarea{border-radius:14px!important;border:1px solid var(--v9-line2)!important;background:#fff!important;color:var(--v9-ink)!important;min-height:44px;padding:0 12px;font-size:15px!important}
html body textarea{padding:10px 12px}
html body input[type=checkbox],html body input[type=radio],html body input[type=range]{accent-color:var(--v9-rose-d)}
html body details,html body .det-item,html body .sv-card,html body .scan-card,html body .cal-card{border-radius:18px!important;border:1px solid var(--v9-line)!important;background:#fff!important;box-shadow:none!important}
html body .tester-warning,html body .warn-box,html body .sv86-warning{background:var(--v9-rose-s)!important;color:#8a4f69!important;border:0!important;border-radius:14px!important}

/* 전체 메뉴 (≡) */
html body #svMainDrawer{border-radius:0 28px 28px 0!important;padding:18px 18px 24px!important;background:linear-gradient(170deg,#fffafc,#f7f2fd)!important}
html body #svMainDrawer .sv-menu-top img{max-height:34px}
html body #svMainDrawer>button{border:0!important;border-bottom:1px solid var(--v9-line)!important;background:none!important;border-radius:0!important;min-height:56px;font-size:16px!important;font-weight:700!important;color:var(--v9-ink)!important;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 4px!important}
html body #svMainDrawer>button span{color:var(--v9-rose);font-size:20px}
html body #svMainDrawer>button:hover{color:var(--v9-rose-d)!important}

/* 메이크업 설정 패널 (부위 카드) */
html body .area-menu .area-btn{border-radius:18px!important;border:1px solid var(--v9-line)!important;background:#fff!important;color:var(--v9-ink2)!important;box-shadow:none!important}
html body .area-menu .area-btn[aria-current="true"]{border-color:transparent!important;background:var(--v9-grad-s)!important;color:var(--v9-rose-d)!important}
html body .auto-btn,html body #lookBtn{border-radius:20px!important;background:var(--v9-grad)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px -14px rgba(196,111,147,.95)!important}
html body .auto-btn *{color:#fff!important}

/* 09 제품 찾기 (확장형 시트) */
html body .sv86-catalog{background:rgba(58,44,61,.38)!important;backdrop-filter:blur(6px)}
html body .sv86-catalog-inner{padding:22px 18px!important}
body:not(.layout-pc) .sv86-catalog-inner{position:absolute;left:0;right:0;bottom:0;max-height:88vh;border-radius:28px 28px 0 0!important}
html body .sv86-search{min-height:50px!important;border-radius:16px!important;background:var(--v9-bg)!important;font-size:15px!important;padding-left:16px!important}
html body .sv86-product-list>*{border-radius:20px!important;border:1px solid var(--v9-line)!important;background:#fff!important;box-shadow:none!important}

/* 팝업(조작 방법·촬영 안내) */
html body .sv86-dialog-card{padding:26px 22px!important;width:min(100% - 32px,440px)!important}
html body .sv86-dialog-card p{color:var(--v9-ink2)!important;font-size:14px!important;line-height:1.65!important}
html body .sv86-dialog-card strong{color:var(--v9-ink)}
html body .sv86-dialog-card button{border-radius:16px!important;min-height:50px;font-weight:700!important;border:0!important;background:var(--v9-grad)!important;color:#fff!important}
html body .sv86-dialog-actions button:first-child{background:var(--v9-lav-s)!important;color:var(--v9-mauve)!important}

/* 피부 분석 시트 (05·06·07) */
html body .scan-sheet .scan-lead{font-size:15px!important;color:var(--v9-ink2)!important}
html body .scan-guide-text{background:var(--v9-rose-s)!important;color:#8a4f69!important;border-radius:14px!important}
html body .scan-guide-text.ready{background:#e8f5ee!important;color:#2f7a55!important}

/* 11 결과 확인 */
.sv89-result{z-index:9550!important}
.sv89-result-card{max-height:min(92vh,860px);overflow:auto;width:min(100% - 24px,560px)!important}
.sv89-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.sv89-sheet-head h2{margin:0!important}
.sv89-ba{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}
.sv89-ba figure{margin:0}
.sv89-ba-img{aspect-ratio:3/4;border-radius:18px;overflow:hidden;background:var(--v9-lav-s);display:grid;place-items:center;color:var(--v9-gray)}
.sv89-ba-canvas{width:100%;height:100%;object-fit:cover;display:block}
.sv89-ba figcaption{text-align:center;font-size:12.5px;font-weight:700;color:var(--v9-mauve);margin-top:6px;letter-spacing:.02em}
.sv89-result-card h3{font-size:15px;margin:0 0 8px;color:var(--v9-ink)}
.sv89-used{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:8px}
.sv89-used li{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--v9-line);border-radius:16px;background:#fff}
.sv89-used li.empty{color:var(--v9-gray);font-size:13.5px;justify-content:center}
.sv89-used i{width:22px;height:22px;border-radius:50%;flex-shrink:0;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px var(--v9-line2)}
.sv89-used i.nohex{background:repeating-linear-gradient(45deg,#f1e8ef 0 4px,#fff 4px 8px)}
.sv89-used span{flex:1;min-width:0;display:flex;flex-direction:column}
.sv89-used b{font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-used small{font-size:12px;color:var(--v9-gray)}
.sv89-used em{font-style:normal;font-size:12px;font-weight:700;color:var(--v9-rose-d)}
.sv89-store-slot{margin-bottom:18px}
.sv89-result-actions{display:grid;gap:10px}
.sv89-result-actions .sv89-btn{min-height:52px;border-radius:16px;font:700 15.5px var(--v9-sans);border:1px solid var(--v9-line2);background:#fff;color:var(--v9-ink);cursor:pointer}
.sv89-result-actions .sv89-btn.primary{border:0;background:var(--v9-grad);color:#fff;box-shadow:0 12px 26px -14px rgba(196,111,147,.95)}
.sv89-result-actions .sv89-btn:disabled{opacity:.45}
.sv89-result-card .sv86-dialog-card button{min-height:auto}
.sv89-result-card .sv89-x{background:#fff!important;color:var(--v9-ink2)!important;border:1px solid var(--v9-line)!important;min-height:36px!important}
.sv89-result-card .sv89-btn:not(.primary){background:#fff!important;color:var(--v9-ink)!important;border:1px solid var(--v9-line2)!important}
.sv89-result-card .sv89-btn.primary{background:var(--v9-grad)!important}

/* 메이크업 후 점검 메뉴 항목 */
html body #svMainDrawer .sv89-nav-check{color:var(--v9-mauve)!important}

/* 카메라 켜기 */
html body #svCameraStart{border:0!important;border-radius:999px!important;background:var(--v9-grad)!important;color:#fff!important;font:700 16px var(--v9-sans)!important;min-height:54px;padding:0 30px!important;box-shadow:0 14px 30px -14px rgba(196,111,147,.95)!important}
html body .overlay{background:linear-gradient(160deg,#fbeef4,#f2edfc 55%,var(--v9-bg))!important;color:var(--v9-ink)!important}
html body .overlay .message{color:var(--v9-ink2)!important;font-size:15px!important}

/* PC·태블릿 버튼 (모바일에서는 숨김) */
.sv89-pc-toggle{display:none}

/* ───────── PC·태블릿 가로(1100px 이상): 왼쪽+가운데 큰 얼굴, 오른쪽 좁은 제품 패널(접기 가능) ───────── */
body.layout-pc{--top-h:72px!important;--right-w:340px!important;--pc-pad:16px!important;background:linear-gradient(160deg,#fbeef4,#f4effc 50%,var(--v9-bg))!important}
body.layout-pc .topbar{background:transparent!important;padding:14px 22px 8px!important}
body.layout-pc .menu-btn{visibility:visible!important}
body.layout-pc .sv89-pc-toggle{display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--v9-line2);background:rgba(255,255,255,.8);color:var(--v9-ink);font:700 13px var(--v9-sans);cursor:pointer;white-space:nowrap}
body.layout-pc .side-panel.left{display:none!important}
body.layout-pc.sv89-left-open .side-panel.left{display:block!important;z-index:40!important;box-shadow:0 30px 70px -20px rgba(80,50,80,.5)!important;border-radius:28px!important}
body.layout-pc .stage{left:var(--pc-pad)!important;right:calc(var(--right-w) + var(--pc-pad)*2)!important;top:var(--top-h)!important;bottom:var(--pc-pad)!important;border-radius:30px!important;box-shadow:0 30px 60px -30px rgba(80,50,80,.45)!important}
body.layout-pc .stage-tags,body.layout-pc .dock,body.layout-pc .check-box{left:var(--pc-pad)!important;right:calc(var(--right-w) + var(--pc-pad)*2)!important}
body.layout-pc .pc-right{width:var(--right-w)!important;gap:12px!important}
body.layout-pc .pc-right .side-panel.right,body.layout-pc .pc-right .details{border-radius:26px!important;border:1px solid var(--v9-line)!important;box-shadow:0 18px 40px -26px rgba(80,50,80,.45)!important}
body.layout-pc.sv89-right-closed .pc-right{display:none!important}
body.layout-pc.sv89-right-closed .stage,body.layout-pc.sv89-right-closed .stage-tags,body.layout-pc.sv89-right-closed .dock,body.layout-pc.sv89-right-closed .check-box{right:var(--pc-pad)!important}
body.layout-pc #svCameraActionTop,body.layout-pc .sv89-rail{right:calc(var(--right-w) + var(--pc-pad)*2 + 14px)!important}
body.layout-pc.sv89-right-closed #svCameraActionTop,body.layout-pc.sv89-right-closed .sv89-rail{right:calc(var(--pc-pad) + 14px)!important}
body.layout-pc #svCameraActionTop{top:calc(var(--top-h) + 14px)!important}
body.layout-pc .sv89-rail{top:calc(var(--top-h) + 14px + 2*54px)!important}
body.layout-pc .sv86-products-entry{left:calc((100% - var(--right-w) - var(--pc-pad)) / 2)!important;bottom:calc(var(--pc-pad) + 22px)!important}
body.layout-pc.sv89-right-closed .sv86-products-entry{left:50%!important}
body.layout-pc .sv86-quality{left:calc((100% - var(--right-w) - var(--pc-pad)) / 2)!important;bottom:calc(var(--pc-pad) + 84px)!important}
body.layout-pc .sv86-continue{bottom:calc(var(--pc-pad) + 84px)!important;left:var(--pc-pad)!important;right:calc(var(--right-w) + var(--pc-pad)*2)!important}
body.layout-pc .info-sheet,body.layout-pc #svAnalysisModal{max-height:calc(100vh - var(--top-h) - 32px)!important}
body.layout-pc .scan-sheet,body.layout-pc .calib-sheet,body.layout-pc .look-sheet,body.layout-pc .tester-sheet{left:auto!important;right:calc(var(--right-w) + var(--pc-pad)*2 + 70px)!important;width:min(520px,44vw)!important;max-width:none!important}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* 시트·패널·메뉴가 열려 있으면 카메라 위 떠 있는 버튼·안내는 숨김 (내용을 가리지 않게) */
body:is(.panel-open,.sv-menu-open) :is(.sv86-products-entry,.sv86-quality,.sv86-continue,.sv89-rail,#svCameraActionTop,.skin-chip,.stage-tags),
body:has(.info-sheet:not([hidden]),#svAnalysisModal:not([hidden]),.sv86-catalog:not([hidden]),.sv86-dialog:not([hidden]),.lip-sheet:not([hidden])) :is(.sv86-products-entry,.sv86-quality,.sv86-continue,.sv89-rail,#svCameraActionTop,.skin-chip,.stage-tags){visibility:hidden!important}
body:not(.layout-pc):is(.panel-open) #productBtn,body:not(.layout-pc):has(.info-sheet:not([hidden]),#svAnalysisModal:not([hidden]),.sv86-catalog:not([hidden]),.sv86-dialog:not([hidden])) #productBtn{visibility:hidden!important}

/* 10 조작 방법: 글 대신 아이콘 3줄 */
.sv89-howto h2{margin:0 0 16px!important;text-align:center}
.sv89-gest{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:10px}
.sv89-gest li{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:18px;background:var(--v9-bg);border:1px solid var(--v9-line)}
.sv89-gest i{flex-shrink:0;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-style:normal;font-size:22px;color:#fff;background:var(--v9-grad)}
.sv89-gest i.l{background:linear-gradient(90deg,#c46f93 0 45%,#ecd9e4 45%)}
.sv89-gest i.r{background:linear-gradient(270deg,#b493dc 0 45%,#e6def6 45%)}
.sv89-gest span{display:flex;flex-direction:column;gap:2px}
.sv89-gest b{font-size:15px;color:var(--v9-ink)}
.sv89-gest small{font-size:13px;color:var(--v9-gray)}
.sv89-howto button{width:100%}
/* 긴 보조 설명은 숨김 (필요한 안내는 각 화면 제목·버튼에 짧게) */
html body .side-panel .side-note,html body .det-foot{display:none!important}
/* 언어 버튼: 한 줄 (글자 + ▾) · 목록도 같은 디자인 */
html body .lang-switch .lang-toggle{display:inline-flex!important;align-items:center;gap:4px;flex-direction:row!important}
html body .lang-switch .lang-caret{font-size:10px;opacity:.6}
html body .lang-list{border-radius:18px!important;border:1px solid var(--v9-line)!important;background:#fff!important;box-shadow:var(--v9-sh)!important;padding:6px!important}
html body .lang-opt{border-radius:12px!important;min-height:46px!important;font-weight:600!important;color:var(--v9-ink)!important;background:transparent!important;border:0!important}
html body .lang-opt[aria-checked="true"]{background:var(--v9-rose-s)!important;color:var(--v9-rose-d)!important}
/* 메이크업 후 점검 모드에서는 '결과 확인하고 계속하기'를 숨김 (점검 상자와 겹침) */
body:has(#modeSwitch .mode-btn:last-child.on) .sv86-continue{display:none!important}
html body .check-box{border-radius:24px!important;left:12px!important;right:12px!important}
/* PC: 메뉴에서 여는 분석·가이드 창은 화면 가운데 카드로 (가로로 꽉 차지 않게) */
body.layout-pc #svAnalysisModal{left:50%!important;right:auto!important;top:calc(var(--top-h) + 6px)!important;bottom:var(--pc-pad)!important;transform:translateX(-50%)!important;width:min(680px,calc(100vw - 64px))!important;max-height:none!important;overflow:auto!important;padding:24px 26px!important;border-radius:28px!important}
body.layout-pc .info-sheet:not(.scan-sheet):not(.calib-sheet):not(.look-sheet):not(.tester-sheet){left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(560px,calc(100vw - 64px))!important}
body.layout-pc .sv86-catalog-inner{width:min(640px,calc(100vw - 64px))!important;margin:6vh auto!important;max-height:84vh;overflow:auto}

/* ───────── 기능 창(점검·관리 가이드·스타일·피부 결과) 핵심만: 보조 설명 숨김, 체크박스는 칩으로 ───────── */
:is(#svAnalysisModal,.info-sheet,.pc-right) :is(.kn-stats,.sk-sec-lead,.sty-photo-privacy,.sty-photo-note,.sty-tone-note,.cg-source,.cg-limits,.cg-why){display:none!important}
:is(#svAnalysisModal,.info-sheet,.pc-right) .det-sub{font-size:13px!important;color:var(--v9-gray)!important;margin:4px 0 8px!important}
:is(#svAnalysisModal,.info-sheet,.pc-right) details{padding:4px 12px!important;margin:8px 0!important}
:is(#svAnalysisModal,.info-sheet,.pc-right) summary{font-weight:700;color:var(--v9-ink);min-height:40px;display:flex;align-items:center;cursor:pointer}
:is(#svAnalysisModal,.info-sheet,.pc-right) h3,:is(#svAnalysisModal,.info-sheet,.pc-right) h4{font-size:15px!important;margin:14px 0 6px!important}
/* 체크박스 목록 → 누르는 칩 */
html body .sty-checks{border:0!important;padding:0!important;margin:12px 0!important;display:flex;flex-wrap:wrap;gap:6px}
html body .sty-checks legend{width:100%;font-weight:700;font-size:14px;color:var(--v9-ink);margin-bottom:8px;padding:0}
html body .sty-chk{display:inline-flex!important;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--v9-line2);background:#fff;font-size:13px;font-weight:600;color:var(--v9-ink2);cursor:pointer;margin:0!important}
html body .sty-chk input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
html body .sty-chk:has(input:checked){background:var(--v9-grad-s);border-color:transparent;color:var(--v9-rose-d)}
html body .sty-chk:has(input:focus-visible){outline:3px solid #b9a3e6;outline-offset:2px}
html body .sty-photo{border:0!important;padding:0!important;margin:12px 0!important}
html body .sty-photo legend{font-weight:700;font-size:14px;padding:0;margin-bottom:8px}
/* 피부 결과 목록: 번호 대신 깔끔한 카드 줄 */
html body .sk-sec-n{background:var(--v9-rose-s)!important;color:var(--v9-rose-d)!important;border:0!important}
html body .sk-sec-s{color:var(--v9-gray)!important;font-size:12px!important}

/* 의료·안전 안내는 남기되 작게 한 줄 */
:is(#svAnalysisModal,.info-sheet,.pc-right) .det-note{font-size:12px!important;color:var(--v9-gray)!important;margin:6px 0!important;line-height:1.5!important}
/* 메이크업 점검: 부위마다 한 줄 카드 (제목·상태 + 작은 버튼) */
html body .chk-sec{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center;border:1px solid var(--v9-line);border-radius:16px;padding:10px 12px;margin:8px 0;background:#fff}
html body .chk-sec h4{margin:0!important;font-size:14px!important}
html body .chk-sec>p,html body .chk-sec>ul{grid-column:1;margin:0!important;font-size:12.5px!important;color:var(--v9-gray)!important}
html body .chk-sec .cg-row{grid-column:2;grid-row:1/span 3;display:flex;flex-direction:column;gap:4px}
html body .chk-sec .cg-row button{min-height:30px!important;padding:0 10px!important;font-size:11.5px!important;margin:0!important}
html body .cg-sel{display:flex!important;align-items:center;gap:10px;white-space:nowrap;font-weight:700;font-size:14px;color:var(--v9-ink);margin:8px 0!important}
html body .cg-sel select{flex:1;min-width:0}
html body :is(#svAnalysisModal,.info-sheet,.pc-right,.side-panel) :is(button.on,button.sel,button.active,button[aria-current="true"],button[aria-pressed="true"],button[aria-selected="true"]){background:var(--v9-grad-s)!important;border-color:transparent!important;color:var(--v9-rose-d)!important;box-shadow:none!important;outline:0!important}

/* ───────── 09 제품 선택 (제품 이미지 → 브랜드·제품명 → 큰 색상칩) ───────── */
html body .sv89-finder{display:flex!important;flex-direction:column;padding:18px 0 0!important;overflow:hidden!important;background:var(--v9-card)!important}
body:not(.layout-pc) .sv89-finder{position:absolute;left:0;right:0;bottom:0;top:auto;height:88vh;max-height:88vh!important;border-radius:28px 28px 0 0!important;padding-bottom:env(safe-area-inset-bottom)!important}
.sv89-finder-head{display:flex;align-items:center;justify-content:space-between;padding:6px 18px 12px}
.sv89-finder-head h2{margin:0!important;font-size:21px!important}
html body input.sv89-search.sv86-search{margin:0 18px!important;width:calc(100% - 36px)!important;min-height:50px!important;border-radius:16px!important;border:1px solid var(--v9-line)!important;padding:0 16px 0 42px!important;font-size:15px!important;background:var(--v9-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d8592' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") no-repeat 14px 50%/18px!important}
html body .sv89-cats{display:flex!important;gap:8px;overflow-x:auto;padding:14px 18px 12px!important;scrollbar-width:none;flex-wrap:nowrap!important;flex-shrink:0}
.sv89-cats::-webkit-scrollbar{display:none}
html body .sv89-cats button{flex:0 0 auto;min-height:40px;padding:0 18px!important;border-radius:999px!important;font-size:14px!important;font-weight:700!important;white-space:nowrap}
html body .sv89-cats button.on{background:var(--v9-grad)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 18px -10px rgba(196,111,147,.9)!important}
html body .sv89-plist{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px 14px 24px!important;display:flex;flex-direction:column;gap:12px}
html body .sv89-plist>.sv89-pcard{border:1px solid var(--v9-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 28px -22px rgba(110,72,104,.55)!important;padding:14px 0 12px!important}
.sv89-ptop{display:flex;align-items:center;gap:12px;padding:0 14px 10px;position:relative}
.sv89-pimg{flex-shrink:0;width:68px;height:68px;border-radius:20px;background:linear-gradient(150deg,#fbeef3,#f1ecfb);display:grid;place-items:center;overflow:hidden;--tint:#c46f93}
.sv89-pimg img{width:100%;height:100%;object-fit:cover}
.sv89-pimg svg{width:32px;height:32px;fill:color-mix(in srgb,var(--tint) 35%,transparent);stroke:var(--tint);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.sv89-ptext{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.sv89-pbrand{font-size:12px;font-weight:700;color:var(--v9-mauve);letter-spacing:.02em}
.sv89-pname{font-size:16px;font-weight:800;color:var(--v9-ink);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-psub{font-size:12px;color:var(--v9-gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-pbadge{position:absolute;top:0;right:14px;font-size:10.5px;font-weight:700;color:var(--v9-mauve);background:var(--v9-lav-s);border-radius:999px;padding:3px 8px}
.sv89-plist .sv89-chips{display:flex!important;flex-wrap:nowrap!important;gap:10px;overflow-x:auto;padding:4px 14px 4px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sv89-chips::-webkit-scrollbar{display:none}
html body .sv89-plist .sv89-chip,html body .sv89-plist .sv89-chip:disabled{flex:0 0 72px;display:flex!important;flex-direction:column;align-items:center;gap:3px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;cursor:pointer;scroll-snap-align:start;color:var(--v9-ink)!important;min-height:auto!important}
.sv89-sw{position:relative;width:60px;height:60px;border-radius:16px;background:var(--sw,#eee);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 6px 14px -8px rgba(60,30,50,.5);transition:transform .15s}
.sv89-chip:active .sv89-sw{transform:scale(.94)}
.sv89-chip.on .sv89-sw{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--v9-rose-d),0 8px 16px -8px rgba(60,30,50,.6)}
.sv89-chip.on .sv89-sw::after{content:"";position:absolute;right:-6px;top:-6px;width:22px;height:22px;border-radius:50%;background:var(--v9-rose-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;box-shadow:0 0 0 2px #fff}
.sv89-cno{font-size:12px;font-weight:800;margin-top:4px;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-cname{font-size:11px;color:var(--v9-gray);max-width:72px;line-height:1.25;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
html body .sv89-chip.nohex{cursor:default;opacity:1!important}
.sv89-chip.nohex .sv89-sw{background:repeating-linear-gradient(45deg,#f6eff4 0 6px,#fff 6px 12px);box-shadow:inset 0 0 0 1.5px #e7dbe4}
.sv89-chip.nohex .sv89-cno,.sv89-chip.nohex .sv89-cname{color:var(--v9-gray)}
.sv89-empty{text-align:center;color:var(--v9-gray);padding:40px 0;font-size:14px}
/* 태블릿·PC: 얼굴을 보면서 고르는 오른쪽 좁은 패널 (창이 얼굴을 가리지 않음) */
body.layout-pc .sv86-catalog{background:transparent!important;backdrop-filter:none!important;pointer-events:none}
body.layout-pc .sv89-finder{pointer-events:auto;position:fixed!important;top:var(--top-h)!important;bottom:var(--pc-pad)!important;right:var(--pc-pad)!important;left:auto!important;width:var(--right-w)!important;margin:0!important;max-height:none!important;height:auto!important;border-radius:26px!important;transform:none!important}
body.layout-pc:has(.sv86-catalog:not([hidden])) :is(.sv89-rail,#svCameraActionTop,.skin-chip,.stage-tags){visibility:visible!important}
body.layout-pc:has(.sv86-catalog:not([hidden])) .sv86-products-entry{visibility:hidden!important}

.sv89-pimg>svg{width:60px!important;height:60px!important;fill:initial!important;stroke:none!important}

/* 제품 카드 왼쪽: 브랜드명 글자 타일 */
.sv89-ptile{background:linear-gradient(150deg,#fbeef3,#efe9fb)!important;border:1px solid #f0e4ec;padding:6px}
.sv89-tile-brand{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:center;font-family:var(--v9-serif);font-weight:600;font-size:13px;line-height:1.15;letter-spacing:.04em;color:var(--v9-mauve);word-break:keep-all;overflow-wrap:normal}
.sv89-tile-brand[data-w="4"]{font-size:12.5px}.sv89-tile-brand[data-w="5"]{font-size:11px;letter-spacing:0}.sv89-tile-brand[data-w="6"]{font-size:10px;letter-spacing:0}.sv89-tile-brand[data-w="7"]{font-size:8.8px;letter-spacing:-.02em}.sv89-tile-brand[data-w="8"],.sv89-tile-brand[data-w="9"]{font-size:9px;letter-spacing:0}
.sv89-ptile.badge{padding:0!important;border:0!important;background:none!important}
.sv89-ptile.badge img{border-radius:20px}

/* V1 수정: 휴대폰 실제 화면 높이(주소창·도구막대 제외) 안에 창이 다 들어오게 (위쪽 잘림 방지) */
body:not(.layout-pc) .info-sheet,body:not(.layout-pc) #svAnalysisModal{max-height:86vh!important;max-height:calc(100dvh - var(--top-h,56px) - 8px)!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body:not(.layout-pc) .sv89-finder{height:88dvh!important;max-height:calc(100dvh - 12px)!important}
/* '전체 메이크업 추천': 아래 고정 버튼 줄 (적용 · 닫기) */
html body #lookClose.sv89-moved-close{display:none!important}
html body .look-sheet{padding-bottom:0!important}
html body .sv89-sheet-foot{position:sticky;bottom:0;z-index:2;display:flex;gap:10px;margin:14px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--v9-card) 80%,rgba(255,253,251,0));border-top:1px solid var(--v9-line)}
html body .sv89-sheet-foot #lookApply{flex:1;min-height:52px!important;margin:0!important;border-radius:16px!important;font-size:15.5px!important;font-weight:700!important}
html body .sv89-sheet-foot #lookApply:disabled{opacity:.45}
html body .sv89-sheet-foot #lookApply[hidden]{display:none!important}
html body .sv89-sheet-foot .sv89-foot-close{flex:0 0 96px;min-height:52px!important;border-radius:16px!important;background:var(--v9-lav-s)!important;color:var(--v9-mauve)!important;border:0!important;font-size:15px!important;font-weight:700!important}
html body .sv89-sheet-foot:has(#lookApply[hidden]) .sv89-foot-close{flex:1}

/* ── V1 정밀 조정 창: 고른 제품 하나만 조절 ── */
body:not(.layout-pc) #stage{touch-action:none}
.sv89-tune{position:fixed;left:10px;right:10px;bottom:calc(var(--bar-h,72px) + 8px);z-index:40;max-width:520px;margin:0 auto;max-height:min(46dvh,420px);display:flex;flex-direction:column;background:rgba(255,253,251,.96);border:1px solid var(--v9-glass-b);border-radius:24px;box-shadow:var(--v9-sh);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-family:var(--v9-sans);color:var(--v9-ink);overflow:hidden}
.sv89-tune[hidden]{display:none!important}
body.sv89-tune-open .sv86-products-entry,body.sv89-tune-open .sv86-quality{visibility:hidden}
.sv89-tune-head{display:flex;align-items:center;gap:12px;padding:14px 14px 10px 16px;border-bottom:1px solid var(--v9-line)}
.sv89-tune-sw{flex:0 0 36px;height:36px;border-radius:50%;background:var(--sw,#ddd);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75),0 0 0 1px var(--v9-line2)}
.sv89-tune-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.sv89-tune-brand{font-size:11.5px;font-weight:600;color:var(--v9-gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-tune-name{font-size:14.5px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-tune-shade{font-size:12px;font-weight:600;color:var(--v9-rose-d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sv89-tune .sv89-tune-x{flex:0 0 36px;width:36px!important;padding:0!important}
.sv89-tune-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:6px 16px 4px}
.sv89-tune-row{display:grid;grid-template-columns:76px 1fr 46px;align-items:center;gap:10px;min-height:44px}
.sv89-tune-lab{font-size:12.5px;font-weight:700;color:var(--v9-ink2)}
.sv89-tune-val{font-size:12.5px;font-weight:700;color:var(--v9-rose-d);text-align:right;font-variant-numeric:tabular-nums}
.sv89-range{-webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;margin:0;--p:50%}
.sv89-range::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(90deg,#d87fa3,#b493dc var(--p),var(--v9-line) var(--p))}
.sv89-range::-moz-range-track{height:6px;border-radius:6px;background:linear-gradient(90deg,#d87fa3,#b493dc var(--p),var(--v9-line) var(--p))}
.sv89-range::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border-radius:50%;background:#fff;border:0;box-shadow:0 2px 8px rgba(110,72,104,.35),0 0 0 1px var(--v9-line2)}
.sv89-range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:0;box-shadow:0 2px 8px rgba(110,72,104,.35)}
.sv89-tune-group{display:flex;flex-direction:column;gap:7px;padding:8px 0}
.sv89-tune-shades{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;scroll-snap-type:x proximity}
.sv89-tune-shades::-webkit-scrollbar{display:none}
html body .sv89-tune .sv89-tune-chip{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:46px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;scroll-snap-align:center;font-size:10.5px!important;font-weight:600!important;color:var(--v9-ink2)!important}
.sv89-tune-chip i{display:block;width:34px;height:34px;border-radius:50%;background:var(--sw,#ddd);box-shadow:inset 0 0 0 2px rgba(255,255,255,.7),0 0 0 1px var(--v9-line2)}
.sv89-tune-chip span{max-width:56px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv89-tune-chip.on i{box-shadow:inset 0 0 0 2px #fff,0 0 0 2.5px var(--v9-rose-d)}
html body .sv89-tune .sv89-tune-chip.on{color:var(--v9-rose-d)!important}
.sv89-tune-seg{display:flex;flex-wrap:wrap;gap:6px}
html body .sv89-tune .sv89-tune-seg button{min-height:34px;padding:0 13px!important;border-radius:999px!important;border:1px solid var(--v9-line2)!important;background:#fff!important;color:var(--v9-ink2)!important;font-size:12.5px!important;font-weight:600!important;box-shadow:none!important}
html body .sv89-tune .sv89-tune-seg button[aria-pressed="true"]{background:var(--v9-grad-s)!important;border-color:transparent!important;color:var(--v9-rose-d)!important}
.sv89-tune-note{margin:6px 0 4px;font-size:11px;color:var(--v9-gray);line-height:1.45}
.sv89-tune-foot{display:flex;gap:8px;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--v9-line)}
html body .sv89-tune .sv89-tune-btn{flex:1;min-height:44px;border-radius:14px!important;border:0!important;background:var(--v9-lav-s)!important;color:var(--v9-mauve)!important;font-size:13.5px!important;font-weight:700!important;box-shadow:none!important}
html body .sv89-tune .sv89-tune-btn[aria-pressed="true"]{background:var(--v9-grad)!important;color:#fff!important}
.sv89-tune-empty{margin:16px 16px 10px;font-size:13.5px;color:var(--v9-ink2)}
html body .sv89-tune .sv89-tune-find{margin:0 16px 16px;min-height:46px;border-radius:999px!important;border:0!important;background:var(--v9-grad)!important;color:#fff!important;font-size:14px!important;font-weight:700!important}
/* 제품이 골라진 부위면 조절 버튼에 작은 점 */
.sv89-rail-btn.sv89-detail{position:relative}
/* PC·태블릿: 오른쪽 아래 카드 */
body.layout-pc .sv89-tune{left:32px;right:auto;bottom:32px;width:380px;max-height:min(70vh,560px)}
/* V1 정밀 조정 — 얼굴을 가리지 않게 낮은 높이: 머리줄 + 항목 탭 + 조절 한 줄 */
.sv89-tune{max-height:none}
.sv89-tune-head{padding:10px 10px 8px 14px;gap:10px}
.sv89-tune-sw{flex-basis:30px;height:30px}
.sv89-tune-name{font-size:14px}
.sv89-tune-tx .sv89-tune-note{margin:0;font-size:10.5px;color:var(--v9-gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sv89-tune .sv89-tune-x{flex-basis:32px;width:32px!important;height:32px!important;min-width:32px!important;font-size:16px!important}
.sv89-tune-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:8px 12px 2px}
.sv89-tune-tabs::-webkit-scrollbar{display:none}
html body .sv89-tune .sv89-tune-tabs button{flex:0 0 auto;min-height:32px;padding:0 12px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:var(--v9-gray)!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;white-space:nowrap}
html body .sv89-tune .sv89-tune-tabs button[aria-selected="true"]{background:var(--v9-grad-s)!important;color:var(--v9-rose-d)!important}
.sv89-tune-body{overflow:visible;padding:6px 14px calc(12px + env(safe-area-inset-bottom,0px));min-height:62px;display:flex;flex-direction:column;justify-content:center}
.sv89-tune-row{grid-template-columns:1fr 48px;min-height:46px;position:relative}
.sv89-tune-row .sv89-tune-lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sv89-tune-val{font-size:14px}
.sv89-tune-seg{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:4px 0}
.sv89-tune-seg::-webkit-scrollbar{display:none}
html body .sv89-tune .sv89-tune-seg button{flex:0 0 auto;white-space:nowrap}
.sv89-tune-foot{border:0;padding:4px 0 0}
.sv89-tune-empty{margin:12px 16px 10px}
/* 정밀 조정이 열려 있을 땐 안내 문구를 위쪽에 */
html body.sv89-tune-open .sv86-toast{top:calc(var(--top-h,56px) + 104px)!important;transform:translateX(-50%)!important}
/* V1: 스타일·코디 제안 숨김 (메뉴·아래 상세·점검 상자·점검 결과) */
html body [data-detail="style"],html body #detail_style,html body.mode-check #checkBox .chk-list li[data-chk="style"],html body #checkBox li[data-chk="style"],html body details.chk-sub[data-sub="style"],html body .sty-block{display:none!important}

/* ── V1 휴대폰 카메라 화면 정리: 얼굴 위 글자·버튼 줄이기 ── */
/* 안내는 한 번에 하나, 화면 위쪽 한 줄 */
body:not(.layout-pc) .sv86-quality,body:not(.layout-pc) .sv86-toast,body:not(.layout-pc) #camNotice,body:not(.layout-pc) #faceHint{position:fixed!important;top:calc(var(--top-h,56px) + 6px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:calc(100vw - 120px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important;padding:7px 14px!important;border-radius:999px!important;z-index:35!important;margin:0!important}
html body.sv89-tune-open .sv86-toast{top:calc(var(--top-h,56px) + 6px)!important}
body:has(.sv86-toast:not([hidden])) .sv86-quality,body:has(.sv86-toast:not([hidden])) #camNotice,body:has(.sv86-toast:not([hidden])) #faceHint{display:none!important}
body:has(.sv86-quality:not([hidden])) #camNotice,body:has(.sv86-quality:not([hidden])) #faceHint{display:none!important}
body:has(#camNotice:not([hidden])) #faceHint{display:none!important}
/* 피부 유형을 아직 모르면 카메라 위에 띄우지 않음 */
#skinTypeChip[data-known="false"]{display:none!important}
/* 오른쪽 버튼: 4개(끄기·비교·결과·조정) + 짧은 이름, 조금 작게. 추천 제품 ★·도움말 ? 는 숨김(제품 찾기·메뉴로 대체) */
body:not(.layout-pc) #productBtn{display:none!important}
html body:not(.layout-pc) #svCameraActionTop button,html body:not(.layout-pc) .sv89-rail-btn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
html body #svCameraActionTop button[data-label],html body .sv89-rail-btn[data-label]{position:relative;overflow:visible!important}
html body #svCameraActionTop button[data-label]::after,html body .sv89-rail-btn[data-label]::after{content:attr(data-label);position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%);font-size:11px;font-weight:700;line-height:1;color:var(--v9-ink,#3a2c3d);text-shadow:0 0 3px #fff,0 0 2px #fff,0 0 1px #fff;white-space:nowrap;pointer-events:none;font-family:var(--v9-sans)}
html body #svCameraActionTop{gap:22px!important}
body:not(.layout-pc) .sv89-rail{top:calc(var(--top-h) + 4px + 2*62px)!important;gap:22px}
html body #svCompareTop svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sv89-rail-btn.sv89-detail.has-product::before{content:"";position:absolute;top:3px;right:3px;width:8px;height:8px;border-radius:50%;background:var(--v9-rose-d);box-shadow:0 0 0 2px #fff}
.sv89-rail-btn.sv89-detail[aria-pressed="true"]::before{display:none}
.sv89-helpbtn,.sv86-help{display:none!important}
.sv89-howto .sv89-gest i svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ── V1 메뉴: '점검 효과'는 '메이크업 후 점검'의 자세히로 합침 ── */
#svMainDrawer [data-sv-nav="check"]{display:none!important}
/* ── V1 메이크업 후 점검: 얼굴 위에는 짧은 상태 4개 + 자세히만 ── */
body.mode-check:not(.layout-pc) #checkBox{position:fixed!important;top:calc(var(--top-h,56px) + 6px)!important;left:12px!important;right:64px!important;bottom:auto!important;width:auto!important;max-width:none!important;max-height:none!important;padding:12px 14px!important;border-radius:18px!important;background:rgba(255,253,251,.92)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--v9-sh)!important;overflow:visible!important}
body.mode-check #checkBox>p,body.mode-check #checkBox .chk-live,body.mode-check #checkBox .side-note{display:none!important}
body.mode-check #checkBox h2{margin:0 0 8px!important;font-size:14px!important;font-weight:800!important}
body.mode-check #checkBox .chk-list{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important}
body.mode-check #checkBox .chk-list li{display:flex!important;align-items:center;justify-content:space-between;gap:6px;min-height:30px;padding:4px 10px!important;border-radius:10px;background:#fff;border:1px solid var(--v9-line);font-size:12px!important;font-weight:700;color:var(--v9-ink2);margin:0!important}
body.mode-check #checkBox .chk-live-r{font-weight:700;color:var(--v9-gray);white-space:nowrap;font-size:11.5px}
body.mode-check #checkBox li[data-state="ok"] .chk-live-r{color:#2f8f5b}
body.mode-check #checkBox li[data-state="diff"] .chk-live-r{color:var(--v9-rose-d)}
html body #checkBox .chk-actions{display:none}
html body.mode-check #checkBox .chk-actions{display:flex!important;justify-content:space-between;gap:8px;margin-top:8px}
html body.mode-check #checkBox .chk-back-btn{min-height:32px;padding:0 12px!important;border-radius:999px!important;border:1px solid var(--v9-line2)!important;background:#fff!important;color:var(--v9-ink2)!important;font-size:12.5px!important;font-weight:700!important}
html body.mode-check #checkBox .chk-more-btn{display:block!important;margin:0!important;min-height:32px;padding:0 14px!important;border-radius:999px!important;border:0!important;background:var(--v9-lav-s)!important;color:var(--v9-mauve)!important;font-size:12.5px!important;font-weight:700!important}
/* 점검 모드에선 가상 메이크업이 꺼지므로 제품 찾기·조정·결과·부위 줄 숨김 */
body.mode-check .sv86-products-entry,body.mode-check .sv89-detail,body.mode-check .sv89-resultbtn,body.mode-check .sv89-tune{display:none!important}

/* ── V1 i 화면: 기술 정보(받은 영상 해상도·노출 수치) 숨김 ── */
#infoSheet #camInfo,#infoSheet #camQuality{display:none!important}
/* ── V1 메이크업 설정: 시험판 글자 → 작은 점, 아래 닫기 버튼 하나 숨김(위 닫기만) ── */
html body .area-btn{position:relative}
html body .area-btn .area-soon.trial{font-size:0!important;line-height:0!important;padding:0!important;border:0!important;position:absolute!important;top:8px;left:8px;width:6px!important;height:6px!important;min-width:0!important;border-radius:50%!important;background:var(--v9-gray,#9a8f9c)!important;margin:0!important}
body:not(.layout-pc) .side-close-bottom{display:none!important}
/* ── V1 피부 분석: 처음엔 3개만, 나머지는 '더 보기' ── */
#detail_skin .sk-sec-lead{display:none!important}
#detail_skin:not(.sv1-more) .sk-sec:nth-of-type(n+4){display:none!important}
html body #detail_skin .sv1-more-btn{display:block;width:100%;margin:6px 0 10px;min-height:40px;border-radius:12px!important;border:1px dashed var(--v9-line2)!important;background:transparent!important;color:var(--v9-mauve)!important;font-size:13px!important;font-weight:700!important}
/* ── V1 피부 관리: 아침·저녁 탭과 단계만 ── */
#careBlock>.det-note,#careBlock>button.cal-btn,#careBlock .cg-src,#careBlock .cg-source,#careBlock .cg-view{display:none!important}
#careBlock .cg-limits{font-size:11px!important;opacity:.8}

/* ── V1 글꼴: 고운바탕(Gowun Batang, SIL OFL — fonts/GowunBatang-OFL.txt). 한글 2,500여 자만 담아 가볍게 ── */
@font-face{font-family:"SV Gowun";src:url("../fonts/GowunBatang-Regular.woff2") format("woff2"),url("../fonts/GowunBatang-Regular.woff") format("woff");font-weight:100 550;font-display:swap}
@font-face{font-family:"SV Gowun";src:url("../fonts/GowunBatang-Bold.woff2") format("woff2"),url("../fonts/GowunBatang-Bold.woff") format("woff");font-weight:551 900;font-display:swap}
:root{--v9-sans:"SV Gowun","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;--v89-sans:var(--v9-sans)}
html body,html body *{font-family:"SV Gowun","Apple SD Gothic Neo","Noto Sans KR","Hiragino Sans","PingFang SC",system-ui,sans-serif!important}
html body{letter-spacing:-.005em}
