:root{color-scheme:dark;--ink:#090909;--panel:#171717;--line:rgba(255,255,255,.14);--muted:rgba(245,244,239,.64);--paper:#f5f4ef;--lime:#d8f233;font-family:"Pretendard","SUIT","Noto Sans KR",Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0;background:radial-gradient(circle at 80% 12%,rgba(216,242,51,.1),transparent 22%),var(--ink);color:var(--paper);line-height:1.5}button,input{font:inherit}button{cursor:pointer}.skip-link{position:fixed;top:12px;left:12px;z-index:9;transform:translateY(-160%);padding:10px 14px;background:var(--lime);color:#111;font-weight:900;text-decoration:none}.skip-link:focus{transform:translateY(0)}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:18px clamp(20px,6vw,92px);background:rgba(9,9,9,.84);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.brand{color:var(--paper);font-weight:900;letter-spacing:-.06em;text-decoration:none}.brand span{margin-left:7px;color:var(--lime);font-size:10px;letter-spacing:.14em}.back{color:var(--muted);font-size:12px;font-weight:800;text-decoration:none}.back:hover{color:var(--lime)}main{max-width:1180px;margin:auto;padding:clamp(60px,9vw,120px) clamp(20px,5vw,64px)}.intro{max-width:770px}.eyebrow{margin:0 0 13px;color:var(--lime);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:900;letter-spacing:.15em}.intro h1,h2{margin:0;letter-spacing:-.07em;line-height:1.04}.intro h1{font-size:clamp(44px,7.5vw,94px)}.intro>p:not(.eyebrow){max-width:650px;margin:25px 0 0;color:var(--muted);font-size:17px;line-height:1.8}.boundary{display:grid;gap:3px;max-width:640px;margin-top:30px;padding:16px 18px;border-left:2px solid var(--lime);background:rgba(216,242,51,.07);font-size:13px}.boundary strong{color:var(--lime)}.boundary span{color:var(--muted)}section:not(.intro){margin-top:clamp(74px,11vw,126px)}.workspace__head h2,.style-section h2,.consent-section h2,.result h2{font-size:clamp(30px,4.5vw,54px)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:28px}.upload-card,.source-preview,.style-card,.consent-list,.result{background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));border:1px solid var(--line);border-radius:20px}.upload-card{padding:15px}.dropzone{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:280px;padding:29px;border:1px dashed rgba(216,242,51,.55);border-radius:14px;background:radial-gradient(circle at 20% 25%,rgba(216,242,51,.11),transparent 40%);cursor:pointer}.dropzone:hover{border-color:var(--lime)}.dropzone__plus{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:var(--lime);color:#111;font-size:34px;font-weight:500}.dropzone strong{margin-top:22px;font-size:27px;letter-spacing:-.06em}.dropzone small{margin-top:4px;color:var(--muted);font-size:12px}.file-name{min-height:20px;margin:12px 4px 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.source-preview{position:relative;display:grid;min-height:343px;place-items:center;overflow:hidden;background:#111;color:var(--muted);font-size:12px}.source-preview img{width:100%;height:100%;position:absolute;object-fit:cover}.source-preview:has(img:not([hidden]))>span{position:absolute;z-index:1;bottom:12px;left:12px;padding:5px 8px;background:rgba(9,9,9,.7);border-radius:999px;color:var(--paper);backdrop-filter:blur(8px)}.style-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.style-card{min-height:210px;padding:24px;background:#151515;color:var(--paper);text-align:left;transition:transform .2s,border-color .2s,background .2s}.style-card:hover{transform:translateY(-3px);border-color:rgba(216,242,51,.7)}.style-card.is-selected{border-color:var(--lime);background:radial-gradient(circle at 15% 15%,rgba(216,242,51,.18),transparent 42%),#171717}.style-card span{color:var(--lime);font-family:ui-monospace,monospace;font-size:12px;font-weight:900}.style-card strong{display:block;margin-top:45px;font-size:21px;letter-spacing:-.05em}.style-card p{margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.65}.consent-list{display:grid;gap:0;margin-top:26px;overflow:hidden}.consent-list label{display:flex;gap:12px;padding:17px 18px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.65}.consent-list label:last-child{border-bottom:0}.consent-list input{width:18px;height:18px;flex:0 0 auto;margin:2px 0 0;accent-color:var(--lime)}.data-note,.local-note{margin:15px 1px 0;color:var(--muted);font-size:12px;line-height:1.65}.local-note{padding:12px;border:1px solid rgba(255,202,73,.52);border-radius:12px;color:#ffe6a8;background:rgba(255,202,73,.06)}.generate-section{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.generate{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:62px;padding:0 25px;border:1px solid var(--lime);border-radius:999px;background:var(--lime);color:#111;font-size:15px;font-weight:900}.generate:not(:disabled):hover{background:#efff82;transform:translateY(-2px)}.generate:disabled{cursor:not-allowed;opacity:.42}.generate span{font-size:22px}.generate-section p{margin:0;color:var(--muted);font-size:13px}.result{padding:clamp(18px,4vw,34px)}.result__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.clear{padding:9px 12px;background:transparent;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;font-weight:800}.clear:hover{border-color:var(--lime);color:var(--lime)}.result figure{position:relative;max-width:640px;margin:28px auto 0;overflow:hidden;border-radius:14px;background:#090909}.result figure img{display:block;width:100%;height:auto}.result figcaption{position:absolute;bottom:12px;left:12px;padding:8px 10px;border:1px solid rgba(216,242,51,.52);border-radius:999px;background:rgba(9,9,9,.78);color:var(--lime);font-size:10px;font-weight:900;letter-spacing:.08em;backdrop-filter:blur(12px)}.result>p{max-width:720px;margin:22px auto 0;color:var(--muted);font-size:13px;line-height:1.75}footer{display:flex;justify-content:space-between;gap:20px;padding:28px clamp(20px,6vw,92px);border-top:1px solid var(--line);color:var(--muted);font-size:11px}footer span{color:var(--paper);font-weight:900;letter-spacing:.12em}footer p{max-width:540px;margin:0;text-align:right}@media(max-width:700px){.topbar{padding:15px 20px}.brand span{display:none}.intro h1{font-size:clamp(42px,13vw,62px)}.grid,.style-grid{grid-template-columns:1fr}.dropzone{min-height:210px}.source-preview{min-height:330px}.style-card{min-height:160px}.style-card strong{margin-top:25px}.generate-section{align-items:flex-start;flex-direction:column}.generate{width:100%}footer{display:block}footer p{margin-top:8px;text-align:left}}

/* --- 2026-08-11 expansion: 5 fold styles, depth slider, lash/liner/brow options --- */
.style-grid{grid-template-columns:repeat(5,1fr)}
.style-card{min-height:190px;padding:20px}
.style-card strong{margin-top:32px;font-size:18px}
.style-card p{font-size:12px}
.depth-control{margin-top:22px;padding:22px 24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012))}
.depth-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.depth-head label{font-size:14px;font-weight:900;letter-spacing:-.02em}
.depth-head output{color:var(--lime);font-family:ui-monospace,monospace;font-size:13px;font-weight:900}
.depth-control input[type=range]{width:100%;margin:16px 0 8px;accent-color:var(--lime)}
.depth-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:.04em}
.depth-note{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.option-section h2{font-size:clamp(30px,4.5vw,54px)}
.option-group{margin-top:24px}
.option-label{margin:0 0 10px;font-size:13px;font-weight:900;letter-spacing:.02em}
.option-label small{margin-left:6px;color:var(--lime);font-family:ui-monospace,monospace;font-size:9px;letter-spacing:.14em}
.option-chips{display:flex;flex-wrap:wrap;gap:9px}
.option-pick{padding:11px 16px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:13px;font-weight:800;transition:border-color .2s,background .2s,color .2s}
.option-pick:hover{border-color:rgba(216,242,51,.7);color:var(--paper)}
.option-pick.is-selected{border-color:var(--lime);background:var(--lime);color:#111}
@media(max-width:900px){.style-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.style-grid{grid-template-columns:1fr 1fr}.style-card{min-height:140px}.style-card strong{margin-top:18px}}
.skin-toggle{display:flex;gap:11px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));color:var(--muted);font-size:13px;line-height:1.6;cursor:pointer}
.skin-toggle input{width:17px;height:17px;flex:0 0 auto;margin-top:2px;accent-color:var(--lime)}
.skin-toggle:has(input:checked){border-color:rgba(216,242,51,.5)}

/* v2 — 결과 화면 결제/저장 CTA */
.result-cta { margin-top: 18px; display: grid; gap: 12px; }
.result-download {
  padding: 16px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lime, #d8f233); color: #0a0a0a;
  font-size: 16px; font-weight: 900; letter-spacing: -0.01em;
  box-shadow: 0 6px 24px rgba(216, 242, 51, 0.25);
}
.result-download:active { transform: scale(0.98); }
.result-buy {
  padding: 16px 18px; border: 1px solid rgba(216, 242, 51, 0.45); border-radius: 16px;
  background: rgba(216, 242, 51, 0.06);
}
.result-buy p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: #f5f4ef; }
.result-buy p strong { color: var(--lime, #d8f233); }
.result-buy__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.result-buy__buttons button {
  flex: 1 1 180px; padding: 14px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 900;
}
.result-buy__buttons button[data-bw-buy="BW Eye Design"] { background: var(--lime, #d8f233); color: #0a0a0a; }
.result-buy__buttons button[data-bw-buy="BW Full Face"] { background: transparent; color: var(--lime, #d8f233); border: 1.5px solid var(--lime, #d8f233); }
.result-buy__buttons button:disabled { opacity: 0.6; cursor: wait; }

/* v3 — 부위 탭 (눈매/얼굴윤곽) */
.area-switch { display: flex; gap: 10px; margin: 14px 0 18px; }
.area-btn {
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(245, 244, 239, 0.25); background: transparent;
  color: #f5f4ef; font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 7px;
}
.area-btn em {
  font-style: normal; font-size: 10px; font-weight: 900; padding: 3px 7px;
  border-radius: 999px; background: var(--lime, #d8f233); color: #0a0a0a;
}
.area-btn.is-active {
  border-color: var(--lime, #d8f233); background: rgba(216, 242, 51, 0.1);
  color: var(--lime, #d8f233);
}
.area-btn.is-active em { background: var(--lime, #d8f233); }

/* v4 — PayPal 해외 결제 버튼 */
.bw-paypal-btn {
  flex: 1 1 100%; padding: 12px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px dashed rgba(245, 244, 239, 0.4);
  color: rgba(245, 244, 239, 0.85); font-size: 13px; font-weight: 800;
}
.bw-paypal-btn:hover { border-color: var(--lime, #d8f233); color: var(--lime, #d8f233); }

/* v5 — BEAUWHEEL 브랜드 로고 (메인 통일) */
.bw-brandlogo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.bw-blogo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(210,240,248,.5)); box-shadow: inset 0 1px 2px rgba(255,255,255,1), 0 6px 14px rgba(90,150,170,.22); font-weight: 900; font-size: 14px; color: #1f8fa8; }
.bw-btext { display: flex; flex-direction: column; line-height: 1.15; }
.bw-btext strong { font-size: 14px; letter-spacing: .12em; font-weight: 900; }
.bw-btext small { font-size: 8.5px; letter-spacing: .26em; color: #5f6e7c; font-weight: 700; }
@media (max-width: 700px) { .bw-btext small { display: none; } }

/* v6 — 부위 종열 아코디언 + 모바일 타이포 정돈 */
h1, h2, h3 { word-break: keep-all; }
.area-guide { margin: 12px 0 6px; color: var(--muted); font-size: 13px; }
.area-sec { margin-top: 14px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); overflow: hidden; }
.area-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 18px; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.area-head b { font-size: 17px; letter-spacing: -.02em; font-weight: 900; }
.area-sum { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.area-chev { font-style: normal; color: var(--muted); transition: transform .25s; }
.area-sec.is-open .area-chev { transform: rotate(180deg); }
.area-body { display: none; padding: 0 16px 18px; }
.area-sec.is-open .area-body { display: block; }
.area-sec.is-open { border-color: rgba(216,242,51,.55); }
.area-body .style-grid { margin-top: 6px; }
.area-body .depth-control, .area-body .option-group { margin-top: 16px; }
@media (max-width: 700px) {
  .intro h1 { font-size: clamp(30px, 9vw, 46px); }
  .brand.bw-brandlogo span { display: flex; }
  .area-body { padding: 0 12px 14px; }
}
.area-sec { scroll-margin-top: 76px; }

/* v8 — 생성 씨어터 (avvm식 진행률) */
.gen-theater { margin-top: 26px; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.gt-imgwrap { position: relative; height: 260px; border-radius: 14px; overflow: hidden; }
.gt-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gt-scan { position: absolute; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, #4fd2ea 30%, #c9f0f8 50%, #4fd2ea 70%, transparent); box-shadow: 0 0 16px rgba(79,210,234,.9); animation: gtScan 2.8s ease-in-out infinite; }
@keyframes gtScan { 0% { top: 6%; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { top: 92%; opacity: 0 } }
.gt-pct { font-family: ui-monospace, monospace; font-size: 44px; font-weight: 900; letter-spacing: -.03em; color: var(--lime); }
.gt-stage { margin-top: 6px; font-size: 14px; color: var(--muted); }
.gt-dots { display: flex; gap: 7px; margin-top: 14px; }
.gt-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, box-shadow .3s; }
.gt-dots span.on { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
@media (max-width: 700px) { .gen-theater { grid-template-columns: 1fr; } .gt-imgwrap { height: 220px; } .gt-info { text-align: center; } .gt-dots { justify-content: center; } }

/* v15 — 변신 영상 (BW Motion) */
.video-upsell { margin-top: 14px; }
.video-block { margin-top: 14px; }
.video-block video { width: 100%; border-radius: 14px; display: block; margin: 0 0 12px; background: #000; }
.vb-progress { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); margin: 0 0 12px; }
.vb-progress .gt-pct { font-size: 30px; }
.vb-progress .gt-stage { margin-top: 0; }

/* v16 — 출고 전 최종 점검 (이퀄라이저 섬세조절기) */
.final-check { margin-top: 22px; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fc-head strong { font-size: 15.5px; letter-spacing: -.01em; }
#fcCount { font-size: 12.5px; font-weight: 800; color: var(--lime, #d8f233); white-space: nowrap; }
.fc-tip { font-size: 13px; color: var(--muted); margin: 8px 0 6px; line-height: 1.5; word-break: keep-all; }
.fc-eq { display: flex; gap: 4px; overflow-x: auto; padding: 10px 2px 6px; -webkit-overflow-scrolling: touch; }
.fc-col { flex: 1 0 54px; min-width: 54px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fc-val { font: 800 12px ui-monospace, monospace; color: var(--muted); }
.fc-col.on .fc-val { color: var(--lime, #d8f233); }
.fc-track { position: relative; width: 44px; height: 140px; }
.fc-track input { position: absolute; left: 50%; top: 50%; width: 140px; margin: 0; transform: translate(-50%, -50%) rotate(-90deg); accent-color: var(--lime, #d8f233); }
.fc-label { font-size: 11.5px; font-weight: 800; text-align: center; color: inherit; word-break: keep-all; line-height: 1.25; }
.fc-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.fc-refine, .fc-ship { flex: 1 1 180px; padding: 14px 18px; border-radius: 999px; font-weight: 900; font-size: 14px; cursor: pointer; }
.fc-refine { border: 1px solid var(--line); background: transparent; color: inherit; }
.fc-refine:disabled { opacity: .45; cursor: default; }
.fc-ship { border: 0; background: var(--lime, #d8f233); color: #0a0a0a; }

/* v17 — 원본 대조 수동 중앙선 */
.ba-wrap { position: relative; overflow: hidden; border-radius: 16px; touch-action: pan-y; }
.ba-wrap img { display: block; width: 100%; }
#baBefore { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; top: 10px; z-index: 3; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .02em; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }
.ba-tag--l { left: 10px; }
.ba-tag--r { right: 10px; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 2; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.6); cursor: ew-resize; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; color: #111; font-size: 11px; font-weight: 900; padding: 6px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.35); }

/* v18 — 이퀄라이저 모바일 재세팅: 노브 확대·터치 밴드 확대·한 화면 10열 */
.fc-track input { -webkit-appearance: none; appearance: none; background: transparent; height: 44px; }
.fc-track input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--line); }
.fc-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime, #d8f233); margin-top: -10px; box-shadow: 0 2px 8px rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.9); }
.fc-track input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.fc-track input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--lime, #d8f233); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
@media (max-width: 700px) {
  .fc-eq { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; overflow: visible; padding: 8px 0 4px; }
  .fc-col { flex: none; min-width: 0; gap: 4px; }
  .fc-track { width: 100%; max-width: 34px; height: 148px; margin: 0 auto; }
  .fc-track input { width: 148px; height: 40px; }
  .fc-label { font-size: 10px; letter-spacing: -.02em; }
  .fc-val { font-size: 11px; }
}
