/* ==========================================================================
   월드뷰 랜딩 — index.php 전용. 모든 클래스는 wv- 접두어 (어두운 바탕 — 앱이 다크 고정, 강조는 앱 탐색바 파랑)
   본 창(.wv-win)은 GPU 로 그리는 창이라 앱 상수(app.rs · ui.wgsl, 앱 세션 확인값)로 그린다
   셰이더 리터럴은 선형 값이라 화면에선 더 밝고 알파는 옅게 보인다 — 여기 값은 화면 근사
   환경설정 창 안(.wv-settings)은 앱 css 를 옮긴 app.css
   ========================================================================== */

:root {
	--bg: #0e1014;
	--bg-2: #161a21;
	--surface: #151920;
	--surface-2: #1c212a;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .16);
	--text: #eef1f6;
	--muted: #a5aebb;
	--faint: #727c8a;
	--acc: #5a9cf8;
	--acc-2: #7cb8f6;
	--acc-deep: #337aeb;
	--acc-dim: rgba(90, 156, 248, .14);
	--wrap: 1160px;
	--top: 64px;
	--font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
	--mono: ui-monospace, "Cascadia Mono", Consolas, "D2Coding", "Pretendard Variable", monospace;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body.wv {
	margin: 0; background: var(--bg); color: var(--text);
	font: 16px/1.7 var(--font); letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acc-2); text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--text); }
code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; color: #bcd6ff; }
kbd { font-family: var(--mono); font-size: .82em; padding: .1em .45em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wv-narrow { max-width: 820px; }
.wv-small { font-size: 14px; color: var(--muted); }
.wv-skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--acc-deep); color: #fff; padding: 8px 14px; border-radius: 8px; }
.wv-skip:focus { top: 8px; }

/* ---------- 버튼 · 배지 ---------- */
.wv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
	background: linear-gradient(180deg, #4a8ff5, #2a66d9); color: #fff;
	font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
	box-shadow: 0 10px 28px -12px rgba(51, 122, 235, .9), inset 0 1px 0 rgba(255,255,255,.22);
	transition: transform .2s, box-shadow .2s;
}
.wv-btn svg { width: 20px; height: 20px; }
.wv-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(51, 122, 235, 1), inset 0 1px 0 rgba(255,255,255,.22); }
.wv-btn--ghost { background: var(--surface-2); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.wv-btn--ghost:hover { background: #242a35; box-shadow: none; }
.wv-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.wv-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--acc-dim); color: var(--acc-2); white-space: nowrap; }

/* ---------- 상단 ---------- */
.wv-top {
	position: sticky; top: 0; z-index: 50; height: var(--top);
	background: rgba(14, 16, 20, .78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.wv-top.is-stuck { border-bottom-color: var(--line); }
.wv-top__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.wv-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; text-decoration: none; margin: 0; }
.wv-brand__icon { width: 20px; height: 20px; }
.wv-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.wv-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.wv-nav a:hover { color: var(--text); background: var(--surface-2); }

/* ---------- 언어 선택 ---------- */
.wv-lang { position: relative; margin-inline-start: 4px; }
.wv-lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
	border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; white-space: nowrap; background: rgba(255,255,255,.03);
}
.wv-lang summary::-webkit-details-marker { display: none; }
.wv-lang summary:hover, .wv-lang[open] summary { color: var(--text); background: var(--surface-2); }
.wv-lang summary svg { width: 17px; height: 17px; }
.wv-lang ul {
	position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px;
	display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 2px;
	background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.wv-lang a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.wv-lang a:hover { background: #262c37; color: var(--text); }
.wv-lang a[aria-current="page"] { color: var(--acc-2); font-weight: 700; }

/* ---------- HERO ---------- */
.wv-hero { position: relative; overflow: hidden; padding: 72px 0 88px; isolation: isolate; }
.wv-hero::before {
	content: ""; position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1;
	background:
		radial-gradient(44% 46% at 74% 42%, rgba(110, 192, 236, .16), transparent 70%),
		radial-gradient(26% 28% at 88% 18%, rgba(255, 200, 74, .08), transparent 70%),
		radial-gradient(30% 30% at 10% 82%, rgba(244, 154, 184, .07), transparent 70%);
}
.wv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.wv-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wv-tags li { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.03); }
.wv-hero__title { font-size: clamp(34px, 4.3vw, 52px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 24px; }
.wv-hero__title--long { font-size: clamp(30px, 3.8vw, 46px); }
.wv-hero__title em { font-style: normal; background: linear-gradient(90deg, #6ec0ec, #7fd8bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wv-line { display: block; }
.wv-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.wv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.wv-hero__meta { font-size: 14px; color: var(--faint); margin: 0; }
.wv-hero__visual { position: relative; padding: 28px 0 36px; min-width: 0; }
.wv-hfig { margin: 0; display: grid; justify-items: center; min-width: 0; }
.wv-chip {
	position: absolute; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
	background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.wv-chip__ic { width: 17px; height: 17px; color: var(--acc-2); flex: none; }
.wv-chip--a { inset-inline-start: -20px; top: 34%; }
.wv-chip--b { inset-inline-end: -12px; bottom: 0; }
[dir="rtl"] .wv-chip--b .wv-chip__ic { transform: scaleX(-1); }   /* '다음 장' — 오른쪽→왼쪽 언어는 왼쪽이 다음 */

/* 첫 화면 등장 (JS 가 있을 때만) */
.wv-js .wv-line, .wv-js .wv-tags, .wv-js .wv-hero__lead, .wv-js .wv-cta, .wv-js .wv-hero__meta, .wv-js .wv-hero__visual {
	animation: wv-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.wv-js .wv-tags { animation-delay: .05s; }
.wv-js .wv-line:nth-child(1) { animation-delay: .12s; }
.wv-js .wv-line:nth-child(2) { animation-delay: .22s; }
.wv-js .wv-hero__lead { animation-delay: .34s; }
.wv-js .wv-cta { animation-delay: .44s; }
.wv-js .wv-hero__meta { animation-delay: .52s; }
.wv-js .wv-hero__visual { animation-duration: 1.2s; animation-delay: .2s; }
.wv-js .wv-chip--a { animation: wv-pop .7s .9s cubic-bezier(.2,.9,.3,1.3) both; }
.wv-js .wv-chip--b { animation: wv-pop .7s 1.1s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes wv-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes wv-pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }

/* ---------- 섹션 공통 ---------- */
.wv-sec { padding: 112px 0; border-top: 1px solid var(--line); }
.wv-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.wv-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.wv-head > p { color: var(--muted); margin: 14px auto 0; max-width: 680px; }
.wv-caption { text-align: center; font-size: 13px; color: var(--faint); margin: 28px auto 0; max-width: 780px; text-wrap: balance; }
.wv-js .wv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.wv-js .wv-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 풀지 않고: 그림 + 네 가지 ---------- */
.wv-nounzip { background: linear-gradient(180deg, #11141a, var(--bg)); }
.wv-pw { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wv-pw__list { display: grid; gap: 14px; }
.wv-pw__item { padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.wv-pw__item h3 { font-size: 17px; margin-bottom: 4px; }
.wv-pw__item p { margin: 0; color: var(--muted); font-size: 15px; }
.wv-sfig { margin: 0; display: grid; justify-items: center; min-width: 0; }

/* ---------- 써 보기 ---------- */
.wv-ex { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 0 auto 28px; }
.wv-ex__card {
	display: block; width: 100%; text-align: start; cursor: pointer; font: inherit; color: var(--muted);
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.wv-ex__card > b { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 4px; }
.wv-ex__card > b span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acc-dim); color: var(--acc-2); font-size: 12.5px; flex: none; }
.wv-ex__card > span { display: block; font-size: 14px; line-height: 1.55; }
.wv-ex__card:hover { border-color: rgba(90, 156, 248, .45); }
.wv-ex__card.is-on { border-color: rgba(90, 156, 248, .6); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.wv-ex__card.is-on > b span { background: var(--acc-deep); color: #fff; }
.wv-ex__card:disabled { cursor: default; }
.wv-stagebox { display: grid; justify-items: center; min-width: 0; }
.wv-stage { position: relative; flex: none; border-radius: 10px; outline: none; }
.wv-stage:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; }
.wv-try__tip { text-align: center; margin: 18px auto 0; }

/* ---------- 기능 카드 ---------- */
.wv-grid { display: grid; gap: 16px; }
.wv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .3s; }
.wv-card:hover { border-color: var(--line-2); }
.wv-card h3 { font-size: 18px; margin: 14px 0 6px; }
.wv-card p { color: var(--muted); font-size: 15px; margin: 0; }
.wv-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--acc-dim); color: var(--acc-2); }
.wv-card__ic .wv-ic { width: 20px; height: 20px; }

/* ---------- 프로그램 미리보기: 탭 + 창 ---------- */
.wv-appsec { background: linear-gradient(180deg, #11141a, var(--bg)); }
.wv-appv { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; align-items: start; }
.wv-appv__side { position: sticky; top: calc(var(--top) + 24px); }
.wv-appv__tabs { display: grid; gap: 10px; }
.wv-appv__tabs [role="tab"] { text-align: start; cursor: pointer; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; transition: border-color .2s, box-shadow .2s; }
.wv-appv__tabs [role="tab"] > b { display: block; font-size: 16px; margin-bottom: 2px; }
.wv-appv__tabs [role="tab"] span { font-size: 14px; line-height: 1.55; display: block; }
.wv-appv__tabs [role="tab"][aria-selected="true"] { border-color: rgba(90, 156, 248, .55); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.wv-appv__view {
	min-height: 600px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 36px 24px; border-radius: 24px; overflow: hidden;
	background: radial-gradient(80% 70% at 50% 30%, rgba(110, 192, 236, .1), transparent 70%), linear-gradient(160deg, #1a1f28, #12151b);
	border: 1px solid var(--line);
}
.wv-appv__pane { width: 100%; min-width: 0; display: grid; justify-items: center; }
.wv-appv__pane[hidden] { display: none; }

/* ---------- 아코디언 ---------- */
.wv-acc { display: grid; gap: 10px; }
.wv-acc details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .3s; }
.wv-acc details[open] { border-color: var(--line-2); }
.wv-acc summary { list-style: none; cursor: pointer; padding-block: 18px; padding-inline: 22px 52px; position: relative; font-weight: 700; font-size: 16px; }
.wv-acc summary::-webkit-details-marker { display: none; }
.wv-acc summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.wv-acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wv-acc details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- DOWNLOAD ---------- */
.wv-down { background: radial-gradient(60% 60% at 50% 0%, rgba(90, 156, 248, .1), transparent 70%), var(--bg); }
.wv-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.wv-dl__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.wv-dl__card h3 { font-size: 22px; }
.wv-dl__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.wv-dl__card ul li { padding-inline-start: 20px; position: relative; }
.wv-dl__card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.wv-dl__card--main { border-color: rgba(90, 156, 248, .4); background: linear-gradient(180deg, #17233a, var(--surface) 60%); box-shadow: 0 24px 50px -36px rgba(51, 122, 235, .7); }
.wv-dl__card--main h3 { display: flex; align-items: center; gap: 10px; }
.wv-dl__card .wv-btn { align-self: stretch; white-space: normal; text-align: center; padding-block: 10px; }
.wv-req { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--muted); font-size: 14px; }
.wv-req b { margin-inline-end: 4px; }
.wv-hist { max-width: 820px; margin: 36px auto 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: var(--surface); }
.wv-hist summary { cursor: pointer; padding: 16px 0; font-weight: 700; }
.wv-hist__item { padding: 12px 0; border-top: 1px solid var(--line); }
.wv-hist__item p { margin: 0 0 6px; }
.wv-hist__item time { color: var(--faint); font-size: 14px; margin-inline-start: 6px; }
.wv-hist__item ul { margin: 0; padding-inline-start: 20px; color: var(--muted); font-size: 14.5px; }
.wv-hist > .wv-small { border-top: 1px solid var(--line); padding: 14px 0 18px; margin: 0; }
.wv-more { margin: 32px 0 0; text-align: center; }
.wv-more img { width: 16px; height: 16px; flex: none; }
.wv-more a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s; }
.wv-more a:hover { transform: translateY(-2px); }
.wv-more a::after { content: "→"; color: var(--muted); }
[dir="rtl"] .wv-more a::after { content: "←"; }

/* ---------- 바닥 ---------- */
.wv-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; background: #0b0d10; }
.wv-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.wv-foot__in p { margin: 0 0 4px; }
.wv-foot .wv-brand a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.wv-foot .wv-brand a:hover { color: var(--acc-2); }
.wv-foot .wv-small a { color: inherit; text-decoration: none; }
.wv-foot .wv-small a:hover { color: var(--text); text-decoration: underline; }
.wv-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.wv-foot__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.wv-foot__links a:hover { color: var(--text); }
.wv-foot__links .wv-x { display: inline-flex; align-items: center; height: 100%; }
.wv-foot__links .wv-x svg { width: 15px; height: 15px; }

/* ---------- 언어별 서체 · 방향 ---------- */
:root:lang(ja) { --font: "Pretendard JP Variable", "Pretendard Variable", "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif; }
:root:lang(zh-Hans) { --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Pretendard Variable", system-ui, sans-serif; }
:root:lang(ar) { --font: "Pretendard Variable", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
:root:lang(th) { --font: "Pretendard Variable", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif; }
:root:lang(ja) body.wv, :root:lang(zh-Hans) body.wv, :root:lang(th) body.wv { word-break: normal; line-break: strict; }
:root:lang(ar) .wv-hero__title, :root:lang(ar) .wv-head h2, :root:lang(th) .wv-hero__title { letter-spacing: 0; line-height: 1.4; }
:root:lang(ar) body.wv { letter-spacing: 0; }

/* ==========================================================================
   본 창 — 앱 상수: 안쪽 960x720(프레임리스, 캡션도 안에), 바탕 #141414
   ========================================================================== */
.wv-win {
	--font-family: "Segoe UI", "Malgun Gothic", var(--font);
	position: relative; flex: none; width: 962px; height: 722px; overflow: hidden; border: 1px solid #3a3a3a; background: #141414; text-align: start;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
	font: 12px/1.4 var(--font-family); letter-spacing: 0; word-break: normal; overflow-wrap: normal; color: #fff; -webkit-user-select: none; user-select: none;
}
.wv-win img, .wv-win svg { display: block; max-width: none; }
.wv-view { position: absolute; inset: 0; overflow: hidden; }
.wv-canvas { position: absolute; inset: 0; }
.wv-canvas img { position: absolute; image-rendering: auto; }
.wv-win[data-mode="webtoon"] .wv-canvas img { image-rendering: auto; }

/* 상단바: 높이 32, 아래로 24px 꼬리 — #0A0A0A 알파 0.92 → 0.72 → 0 */
.wv-cap {
	position: absolute; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: flex-start; z-index: 3;
	background: linear-gradient(180deg, rgba(10,10,10,.84) 0, rgba(10,10,10,.62) 32px, rgba(10,10,10,0) 56px);
	opacity: 0; transition: opacity .16s linear; pointer-events: none;
}
.wv-cap > * { height: 32px; }
.wv-cap img { width: 16px; height: 16px; margin: 8px 8px 0 10px; }
.wv-cap__t { flex: 1; min-width: 0; padding-top: 7px; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-cap__b { position: relative; width: 46px; flex: none; display: grid; place-items: center; color: #ccc; }
.wv-cap__b .wv-bi { width: 16px; height: 16px; }
.wv-cap__min::before { content: ""; width: 10px; border-top: 1px solid #ccc; }
.wv-cap__max::before { content: ""; width: 9px; height: 9px; border: 1px solid #ccc; }
.wv-cap__x::before, .wv-cap__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; border-top: 1px solid #ccc; transform: translate(-50%, -50%) rotate(45deg); }
.wv-cap__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.wv-cap__b:hover { color: #fff; }
.wv-cap__x:hover { background: #e81123; }
.wv-cap__x:hover::before, .wv-cap__x:hover::after { border-color: #fff; }

/* 하단 막대: 높이 40 · 안쪽 7 · 단추 26, 폭 = 창 폭 62%(380~760), 반경 14, 바닥에서 22, 검정 0.88 */
.wv-bar {
	position: absolute; left: 50%; bottom: 22px; z-index: 3; width: clamp(380px, 62%, 760px); height: 40px; padding: 7px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 2px; border-radius: 14px; background: rgba(0, 0, 0, .78);
	opacity: 0; transition: opacity .16s linear; pointer-events: none;
}
.wv-win.is-bars .wv-cap, .wv-win.is-bars .wv-bar { opacity: 1; pointer-events: auto; }
.wv-bb { width: 26px; height: 26px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: none; color: #ccc; cursor: pointer; }
.wv-bb .wv-bi { width: 16px; height: 16px; }
.wv-bb:hover:not(:disabled) { color: #fff; background: rgba(255, 255, 255, .14); }
.wv-bb:disabled { opacity: .35; cursor: default; }
.wv-bb.is-on { color: #7cb8f6; }
/* 탐색바: 트랙 4(흰색 0.25), 채움 · 손잡이(지름 12) = ACCENT 화면 근사 #7CB8F6, 글자 없음, 최소 폭 72 */
.wv-seek { position: relative; flex: 1; min-width: 72px; height: 26px; margin: 0 10px; cursor: pointer; }
.wv-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .42); }
.wv-seek__fill { position: absolute; left: 0; top: 11px; height: 4px; border-radius: 2px; background: #7cb8f6; }
.wv-seek__knob { position: absolute; top: 7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #7cb8f6; }
.wv-seek:hover .wv-seek__knob { background: #98c9f9; }

/* 좌우 넘김 단추: 지름 44, 검정 0.35(hover 흰색 0.25 덮음), 가장자리 16, 세로 가운데 — 커서가 좌우 128px 띠에 있을 때만 */
.wv-side { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .28); color: #fff; opacity: 0; transition: opacity .16s linear, transform .1s; cursor: pointer; }
.wv-side .wv-bi { width: 22px; height: 22px; }
.wv-side--l { left: 16px; } .wv-side--r { right: 16px; }
.wv-side.is-show { opacity: 1; }
.wv-side:hover { background: rgba(110, 110, 110, .5); }
.wv-side.is-press { transform: scale(.92); }

/* 정보 상자(Tab): x 12 · y 44, 여백 9, 반경 6, 검정 0.88, 12px · 줄 19, "라벨 : 값" 한 줄 */
.wv-info { position: absolute; left: 12px; top: 44px; z-index: 2; padding: 9px; border-radius: 6px; background: rgba(0, 0, 0, .78); font-size: 12px; line-height: 19px; white-space: nowrap; }
.wv-info p { margin: 0; }
.wv-info--r { left: calc(50% + 12px); }

/* 알림: 화면 정가운데, 검정 0.88, 반경 6, 여백 9, 16px 흰색 */
.wv-toast { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); padding: 9px; border-radius: 6px; background: rgba(0, 0, 0, .78); font-size: 16px; white-space: nowrap; }
.wv-toast.is-out { opacity: 0; transition: opacity .3s linear; }

/* 전체보기(미니맵): 오른쪽 아래 16 (하단 막대와 겹치면 막대 위 8), 긴 변 min(160, 폭×0.25, 높이×0.3), 테두리 2 */
.wv-mini { position: absolute; right: 16px; bottom: 16px; z-index: 2; box-shadow: 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.4); background: #141414; overflow: hidden; }
.wv-win.is-bars .wv-mini { bottom: 70px; }
.wv-mini img { width: 100%; height: 100%; }
.wv-mini__r { position: absolute; box-shadow: 0 0 0 1px rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.95), inset 0 0 0 2.5px rgba(0,0,0,.35); min-width: 8px; min-height: 8px; }
/* 스크롤바: 두께 8, 여백 4, 반경 4, 손잡이 검정 0.55 */
.wv-sb { position: absolute; z-index: 2; border-radius: 4px; background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.wv-sb--y { right: 4px; width: 8px; }
.wv-sb--x { bottom: 4px; height: 8px; }

/* 네이티브 팝업 메뉴 (Windows 메뉴) */
.wv-pop { position: absolute; z-index: 6; min-width: 220px; padding: 4px; background: #f9f9f9; border: 1px solid #dcdcdc; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35); color: #1a1a1a; font: 12px/1.4 var(--font-family); white-space: nowrap; }
.wv-pop[hidden] { display: none; }
.wv-pop hr { border: 0; border-top: 1px solid #e0e0e0; margin: 4px 0; }
.wv-pop__i { position: relative; display: flex; align-items: center; min-height: 28px; padding: 4px 28px 4px 4px; border-radius: 4px; cursor: pointer; }
.wv-pop__i:hover, .wv-pop__i.is-hot { background: #e9e9e9; }
.wv-pop__ck { width: 24px; flex: none; text-align: center; }
.wv-pop__i.is-on .wv-pop__ck::before { content: "✓"; }
.wv-pop__i.is-dim { color: #a0a0a0; cursor: default; }
.wv-pop__i.is-dim:hover { background: none; }
.wv-pop__i.has-sub::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-top: 1px solid #555; border-right: 1px solid #555; transform: translateY(-50%) rotate(45deg); }

/* 써 보기 창: 누르는 것은 손 모양 */
.wv-stage .wv-view { cursor: default; }
.wv-stage .wv-win.is-drag .wv-view { cursor: grabbing; }
.wv-win--static .wv-bb, .wv-win--static .wv-seek { pointer-events: none; }

/* ---------- 환경설정 창 (KilhoUI, 내용 700x560 · 크기 고정 · 닫기 단추만) ---------- */
.wv-dlg {
	--font-family: "Segoe UI", "Malgun Gothic", var(--font);
	position: relative; display: flex; flex-direction: column; flex: none; width: 702px; border: 1px solid #3a3a3a; text-align: start;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); letter-spacing: 0; word-break: normal; overflow-wrap: normal; line-height: 1.4; -webkit-user-select: none; user-select: none;
}
.wv-dlg img, .wv-dlg svg { display: block; max-width: none; }
.wv-dcap { display: flex; align-items: center; height: 32px; flex: none; background: #202020; color: #fff; font: 12px var(--font-family); }
.wv-dcap .wv-cap__t { padding: 0 0 0 12px; font-size: 12px; }
.wv-dcap .wv-cap__b { height: 32px; }
[dir="rtl"] .wv-dcap .wv-cap__t { padding: 0 12px 0 0; }
.wv-settings .wv-app { height: 560px; flex: none; }
.wv-settings b, .wv-settings strong { color: inherit; }
/* 앱 엔진이 그리는 컨트롤을 브라우저에서 같은 모양으로 (체크 · 펼침 목록) */
.wv-settings input[type=checkbox] { -webkit-appearance: none; appearance: none; display: inline-grid; place-items: center; }
.wv-settings input[type=checkbox]:checked::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.wv-settings select { -webkit-appearance: none; appearance: none; padding-right: 28px; background: var(--btn-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; }
[dir="rtl"] .wv-settings select { padding-right: 10px; padding-left: 28px; background-position: left 8px center; }
.wv-settings input[readonly] { cursor: default; }
.wv-settings .link { text-decoration: none; }
/* 정보 '라이선스' — 원문 대신 회색 막대 (모든 랜딩 공통 결정) */
.wv-settings .pane.about { gap: 12px; }
.wv-oss { flex: 1; min-height: 120px; padding: 10px; border: 1px solid var(--border); border-radius: 4px; display: grid; align-content: start; gap: 8px; overflow: hidden; }
.wv-oss i { height: 6px; border-radius: 3px; background: var(--border); }
.wv-oss i:nth-child(3n) { width: 60%; } .wv-oss i:nth-child(4n) { width: 82%; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.wv-ex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wv-pw { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.wv-hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.wv-appv { grid-template-columns: 1fr; gap: 20px; }
	.wv-appv__side { position: static; }
	.wv-appv__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	:root { --top: 56px; }
	.wv-wrap { padding: 0 16px; }
	.wv-nav { display: none; }
	.wv-top__in { position: relative; justify-content: space-between; gap: 10px; }
	.wv-lang { position: static; margin-inline-start: auto; }
	.wv-lang summary span { display: none; }
	.wv-lang summary { padding: 0 10px; }
	.wv-lang ul { inset-inline-end: 16px; width: min(300px, calc(100vw - 32px)); }
	.wv-hero { padding: 40px 0 56px; }
	.wv-hero__visual { padding-inline: 8px; }
	.wv-chip { padding: 8px 11px; font-size: 13px; }
	.wv-chip--a { inset-inline-start: 0; }
	.wv-chip--b { inset-inline-end: 0; }
	.wv-sec { padding: 72px 0; }
	.wv-head { margin-bottom: 36px; }
	.wv-ex { grid-template-columns: 1fr; }
	.wv-grid--3 { grid-template-columns: 1fr; }
	.wv-appv__tabs { gap: 6px; }
	.wv-appv__tabs [role="tab"] { padding: 10px; text-align: center; border-radius: 10px; }
	.wv-appv__tabs [role="tab"] b { font-size: 14px; margin: 0; }
	.wv-appv__tabs [role="tab"] span { display: none; }
	.wv-appv__view { padding: 28px 12px; min-height: 0; }
	.wv-dl { grid-template-columns: 1fr; }
	.wv-foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
	.wv-hero__title { font-size: 34px; }
	.wv-appv__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.wv-js .wv-reveal { opacity: 1; transform: none; }
}
