/* ==========================================================================
   오토클릭 랜딩 — index.php 전용. 모든 클래스는 ac- 접두어 (밝은 바탕, 앱 강조색 파랑 #3d84dd)
   앱 창 재현은 앱 2.0.1 base.css · style.css 값(아래 고유 부분)
   ========================================================================== */

:root {
	--bg: #f5f8fc;
	--bg-2: #e9eff7;
	--surface: #fff;
	--line: rgba(15, 30, 50, .08);
	--line-2: rgba(15, 30, 50, .15);
	--text: #141c26;
	--muted: #4c5a6b;
	--faint: #8592a3;
	--acc: #2f78d6;
	--acc-2: #6fa8ee;
	--acc-deep: #1b5fb8;
	--acc-dim: rgba(47, 120, 214, .11);
	--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: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body.ac {
	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-deep); text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--text); }
code { font-family: var(--mono); font-size: .86em; background: var(--bg-2); padding: .1em .4em; border-radius: 6px; color: #1b5fb8; }
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; }

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

/* ---------- 버튼 · 배지 ---------- */
.ac-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, #4a92e8, #2468c4); color: #fff; font-family: inherit; cursor: pointer;
	font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
	box-shadow: 0 10px 26px -12px rgba(36, 104, 196, .8), inset 0 1px 0 rgba(255,255,255,.25);
	transition: transform .2s, box-shadow .2s;
}
.ac-btn svg { width: 20px; height: 20px; }
.ac-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(36, 104, 196, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.ac-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15,30,50,.05); }
.ac-btn--ghost:hover { background: var(--bg-2); box-shadow: 0 1px 2px rgba(15,30,50,.05); }
.ac-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.ac-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--acc-dim); color: var(--acc-deep); white-space: nowrap; }
.ac-badge--off { background: var(--bg-2); color: var(--muted); }

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

/* ---------- HERO ---------- */
.ac-hero { position: relative; overflow: hidden; padding: 72px 0 88px; isolation: isolate; }
.ac-hero::before {
	content: ""; position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1;
	background:
		radial-gradient(44% 46% at 74% 42%, rgba(111, 168, 238, .16), transparent 70%),
		radial-gradient(30% 30% at 12% 80%, rgba(90, 200, 180, .07), transparent 70%);
}
.ac-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ac-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ac-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,.7); }
.ac-hero__title { font-size: clamp(34px, 4.3vw, 52px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 24px; }
.ac-hero__title--long { font-size: clamp(30px, 3.8vw, 46px); }
.ac-hero__title em { font-style: normal; color: var(--acc); }
.ac-line { display: block; }
.ac-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.ac-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ac-hero__meta { font-size: 14px; color: var(--faint); margin: 0; }

.ac-hero__visual { position: relative; padding: 24px 0 40px; }
.ac-chip {
	position: absolute; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(15,30,50,.35); font-size: 14px; color: var(--muted); white-space: nowrap;
}
.ac-chip img { width: 20px; height: 20px; flex: none; }

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

/* ---------- 섹션 공통 ---------- */
.ac-sec { padding: 112px 0; border-top: 1px solid var(--line); }
.ac-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.ac-ad { margin-top: 24px; line-height: 0; }
.ac-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.ac-caption { text-align: center; font-size: 13px; color: var(--faint); margin: 28px auto 0; max-width: 780px; text-wrap: balance; }

.ac-js .ac-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ac-js .ac-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 격자 ---------- */
.ac-grid { display: grid; gap: 16px; }
.ac-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 카드 ---------- */
.ac-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .3s, box-shadow .3s; }
.ac-card:hover { border-color: var(--line-2); box-shadow: 0 20px 40px -30px rgba(20, 60, 120, .35); }
.ac-card h3 { font-size: 18px; margin: 12px 0 6px; }
.ac-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 아코디언 ---------- */
.ac-acc { display: grid; gap: 10px; }
.ac-acc details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .3s; }
.ac-acc details[open] { border-color: var(--line-2); }
.ac-acc summary { list-style: none; cursor: pointer; padding-block: 18px; padding-inline: 22px 52px; position: relative; font-weight: 700; font-size: 16px; }
.ac-acc summary::-webkit-details-marker { display: none; }
.ac-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; }
.ac-acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ac-acc details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- DOWNLOAD ---------- */
.ac-down { background: radial-gradient(60% 60% at 50% 0%, rgba(111, 168, 238, .1), transparent 70%), var(--bg); }
.ac-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.ac-dl__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ac-dl__card h3 { font-size: 22px; }
.ac-dl__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.ac-dl__card ul li { padding-inline-start: 20px; position: relative; }
.ac-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); }
.ac-dl__card--main { border-color: rgba(36, 104, 196, .4); background: linear-gradient(180deg, #eaf2fd, var(--surface) 60%); box-shadow: 0 24px 50px -36px rgba(36, 104, 196, .6); }
.ac-dl__card--main h3 { display: flex; align-items: center; gap: 10px; }
.ac-dl__card .ac-btn { align-self: stretch; white-space: normal; text-align: center; padding-block: 10px; }
.ac-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; }
.ac-req b { margin-inline-end: 4px; }
.ac-hist { max-width: 820px; margin: 36px auto 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: var(--surface); }
.ac-hist summary { cursor: pointer; padding: 16px 0; font-weight: 700; }
.ac-hist__item { padding: 12px 0; border-top: 1px solid var(--line); }
.ac-hist__item p { margin: 0 0 6px; }
.ac-hist__item time { color: var(--faint); font-size: 14px; margin-inline-start: 6px; }
.ac-hist__item ul { margin: 0; padding-inline-start: 20px; color: var(--muted); font-size: 14.5px; }
.ac-hist > .ac-small { border-top: 1px solid var(--line); padding: 14px 0 18px; margin: 0; }

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

/* ---------- 언어 선택 ---------- */
.ac-lang { position: relative; margin-inline-start: 4px; }
.ac-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,.6);
}
.ac-lang summary::-webkit-details-marker { display: none; }
.ac-lang summary:hover, .ac-lang[open] summary { color: var(--text); background: #fff; }
.ac-lang summary svg { width: 17px; height: 17px; }
.ac-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: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(15,30,50,.35);
}
.ac-lang a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.ac-lang a:hover { background: var(--bg-2); color: var(--text); }
.ac-lang a[aria-current="page"] { color: var(--acc-deep); font-weight: 700; }

/* ---------- 언어별 서체 · 방향 ---------- */
: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.ac, :root:lang(zh-Hans) body.ac, :root:lang(th) body.ac { word-break: normal; line-break: strict; }
:root:lang(ar) .ac-hero__title, :root:lang(ar) .ac-head h2, :root:lang(th) .ac-hero__title { letter-spacing: 0; line-height: 1.4; }
:root:lang(ar) body.ac { letter-spacing: 0; }

/* ---------- kilho.net 첫 화면 링크: 다운로드 아래 (LANDING-PAGE.md 10-1) ---------- */
.ac-more img { width: 16px; height: 16px; flex: none; }
.ac-more { margin: 32px 0 0; text-align: center; }
.ac-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: border-color .2s, transform .2s; }
.ac-more a:hover { transform: translateY(-2px); }
.ac-more a::after { content: "→"; color: var(--muted); }
[dir="rtl"] .ac-more a::after { content: "←"; }

/* ---------- 첫 화면 칩 ---------- */
.ac-chip { color: var(--text); font-weight: 600; }
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: #fff; color: var(--text); white-space: nowrap; }
.ac-head > p { color: var(--muted); margin: 14px auto 0; max-width: 680px; }

/* ---------- 기능 카드 ---------- */
.ac-card h3 { margin-top: 14px; }
.ac-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--acc-dim); color: var(--acc-deep); }
.ac-card__ic .ac-ic { width: 20px; height: 20px; }

/* ---------- 프로그램 미리보기: 탭 + 창 ---------- */
.ac-appsec { background: linear-gradient(180deg, #fff, var(--bg)); }
.ac-appv { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.ac-appv__side { position: sticky; top: calc(var(--top) + 24px); }
.ac-appv__tabs { display: grid; gap: 10px; }
.ac-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; }
.ac-appv__tabs [role="tab"] > b { display: block; font-size: 16px; margin-bottom: 2px; }
.ac-appv__tabs [role="tab"] span { font-size: 14px; line-height: 1.55; display: block; }
.ac-appv__tabs [role="tab"][aria-selected="true"] { border-color: rgba(36, 104, 196, .45); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.ac-appv__view {
	min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 40px 24px; border-radius: 24px; overflow: hidden;
	background: radial-gradient(80% 70% at 50% 30%, rgba(111, 168, 238, .14), transparent 70%), linear-gradient(160deg, #e6eef9, #f8fbff);
	border: 1px solid var(--line);
}
.ac-appv__pane { width: 100%; min-width: 0; display: grid; justify-items: center; }
.ac-appv__pane[hidden] { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.ac-appv { grid-template-columns: 1fr; gap: 20px; }
	.ac-appv__side { position: static; }
	.ac-appv__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	:root { --top: 56px; }
	.ac-wrap { padding: 0 16px; }
	.ac-nav { display: none; }
	.ac-top__in { justify-content: space-between; gap: 10px; }
	.ac-lang, .ac-nav + .ac-lang { margin-inline-start: auto; }
	.ac-lang summary span { display: none; }
	.ac-lang summary { padding: 0 10px; }
	.ac-top__in { position: relative; }
	.ac-lang { position: static; }
	.ac-lang ul { inset-inline-end: 16px; width: min(300px, calc(100vw - 32px)); }   /* 메뉴 목록은 머리줄 오른쪽 끝에 맞춘다 (단추에 맞추면 긴 언어 이름일 때 왼쪽이 잘림) */
	.ac-hero { padding: 40px 0 56px; }
	.ac-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.ac-chip { padding: 8px 11px; font-size: 13px; }
	.ac-sec { padding: 72px 0; }
	.ac-head { margin-bottom: 36px; }
	.ac-grid--3 { grid-template-columns: 1fr; }
		.ac-appv__tabs { gap: 6px; }
	.ac-appv__tabs [role="tab"] { padding: 10px; text-align: center; border-radius: 10px; }
	.ac-appv__tabs [role="tab"] b { font-size: 14px; margin: 0; }
	.ac-appv__tabs [role="tab"] span { display: none; }
	.ac-appv__view { padding: 28px 12px; min-height: 0; }
	.ac-dl { grid-template-columns: 1fr; }
	.ac-foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
	.ac-hero__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.ac-js .ac-reveal { opacity: 1; transform: none; }
}

/* 바닥 왼쪽 © KILHO.NET — kilho.net 첫 화면 링크, 글자색은 둘레와 같게 */
.ac-foot .ac-small a { color: inherit; text-decoration: none; }
.ac-foot .ac-small a:hover { color: var(--text); text-decoration: underline; }

/* 바닥 X(트위터) — 글자 대신 로고 */
.ac-foot__links .ac-x { display: inline-flex; align-items: center; height: 100%; }
.ac-foot__links .ac-x svg { width: 15px; height: 15px; }



/* ==========================================================================
   오토클릭 고유 — 앱 창 재현(base.css · style.css 값), 첫 화면 메인 창 그림, 간격 그림, 레코드 그림
   ========================================================================== */

.ac-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac-fit { width: 100%; max-width: 100%; display: flex; justify-content: center; }   /* 안쪽 고정 크기 그림은 JS zoom 으로 맞춘다 */
.ac-fit > * { flex: none; }
.ac-card__ic svg { width: 22px; height: 22px; }

/* ---------- 앱 창 (창 611x463 + 어두운 제목 줄 32 — apply_dark_caption 은 라이트에서도 어둡게) ---------- */
.ac-win {
	--w-bg: #fff; --w-surface: #f5f5f7; --w-border: #e0e0e0; --w-text: #000; --w-muted: #888; --w-btn-bg: #fff;
	--w-accent: #3d84dd; --w-select: #cce8ff; --w-select-border: #99d1ff; --w-list-border: #d4d4d4; --w-head-sep: #e5e5e5;
	--w-off-border: #d7d7d7; --w-off-text: #b2b2b2; --w-check: #333; --w-line: #3d84dd;
	position: relative; width: 611px; border-radius: 8px; overflow: hidden; user-select: none; -webkit-user-select: none;
	font: 12px/1.35 "Segoe UI", "Malgun Gothic", "Yu Gothic UI", "Microsoft YaHei UI", Tahoma, var(--font); letter-spacing: 0; word-break: normal; overflow-wrap: normal;
	color: var(--w-text); background: var(--w-bg); text-align: left;
	box-shadow: 0 30px 60px -30px rgba(15, 30, 50, .45), 0 0 0 1px rgba(15, 30, 50, .14);
}
.ac-win.is-dark {
	--w-bg: #1e1e1e; --w-surface: #252526; --w-border: #3a3a3a; --w-text: #e0e0e0; --w-muted: #999; --w-btn-bg: #333;
	--w-select: #26395a; --w-select-border: #26395a; --w-list-border: #4a4a4a; --w-head-sep: #3a3a3a;
	--w-off-border: #3a3a3a; --w-off-text: #666; --w-check: #999; --w-line: #4a4a4a;
}
.ac-win p, .ac-win h4 { margin: 0; }
.ac-cap { position: relative; height: 32px; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #202020; color: #fff; }
.ac-cap img { width: 16px; height: 16px; }
.ac-cap i { position: absolute; top: 0; width: 46px; height: 32px; }
.ac-cap__min { right: 92px; } .ac-cap__max { right: 46px; opacity: .35; } .ac-cap__x { right: 0; }
.ac-cap__min::before { content: ""; position: absolute; left: 18px; top: 16px; width: 10px; border-top: 1px solid #fff; }
.ac-cap__max::before { content: ""; position: absolute; left: 18px; top: 11px; width: 10px; height: 10px; box-sizing: border-box; border: 1px solid #fff; border-radius: 1px; }
.ac-cap__x::before, .ac-cap__x::after { content: ""; position: absolute; left: 17px; top: 16px; width: 13px; border-top: 1px solid #fff; transform: rotate(45deg); }
.ac-cap__x::after { transform: rotate(-45deg); }
.ac-app { height: 463px; display: flex; flex-direction: column; border-top: 1px solid var(--w-line); }
.ac-w-top { height: 50px; flex: none; display: flex; align-items: center; padding: 0 5px 0 10px; }
.ac-w-tabs { flex: 1; min-width: 0; display: flex; gap: 1px; }
.ac-w-tabs span { min-width: 70px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; white-space: nowrap; }
.ac-w-tabs .is-on { background: var(--w-accent); color: #fff; }
.ac-w-logo { width: 112px; height: 50px; object-fit: contain; display: block; }
.ac-w-body { flex: 1; min-height: 0; display: flex; gap: 8px; padding: 0 8px 8px; }
.ac-w-left { width: 225px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.ac-w-grp { padding: 8px 10px 10px; background: var(--w-bg); border: 1px solid var(--w-border); border-radius: 3px; }
.ac-w-grp h4 { margin: 0 0 8px; font-size: inherit; font-weight: 600; line-height: 12px; letter-spacing: 0; }   /* 앱 창 463 안에 세 묶음이 들어가게 (엔진의 줄 높이에 맞춤) */
.ac-w-fld { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.ac-w-fld:last-child { margin-bottom: 0; }
.ac-w-lab { width: var(--lab, 68px); flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 앱은 68 고정 — 앱에 없는 언어(페이지가 옮긴 글자)는 창 전체를 80 으로 (index.php ac_win) */
.ac-w-sel, .ac-w-inp {
	flex: 1; min-width: 0; height: 23px; display: flex; align-items: center; padding: 0 4px; white-space: nowrap; overflow: hidden;
	color: var(--w-text); background: var(--w-btn-bg); border: 1px solid var(--w-border); border-radius: 3px;
}
.ac-w-sel::after { content: ""; flex: none; margin-left: auto; margin-right: 3px; width: 5px; height: 5px; border: solid var(--w-muted); border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.ac-w-delay { justify-content: center; padding: 0 1px; }
.ac-win[style*="--lab"] .ac-w-delay { font-size: 11px; letter-spacing: -.2px; }   /* 이름표를 넓힌 창은 딜레이 두 칸이 좁아진다 */
.ac-win[style*="--lab"] .ac-w-fld { gap: 4px; }
.ac-w-tilde { flex: none; color: var(--w-muted); }
.ac-w-ph { color: var(--w-muted); }
.ac-w-inp.is-cap { border-color: var(--w-accent); color: var(--w-muted); }
.ac-w-sel.is-off, .ac-w-inp.is-off { color: var(--w-off-text); border-color: var(--w-off-border); }
.ac-w-inp.is-off .ac-w-ph { color: var(--w-off-text); }
.ac-w-rec { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ac-w-list { flex: 1; min-height: 0; overflow: hidden; border: 1px solid var(--w-list-border); background: var(--w-bg); }
.ac-w-list table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.ac-w-list th, .ac-w-list td { height: 24px; padding: 0 8px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: normal; }
.ac-w-list th { height: 20px; background: var(--w-surface); border-bottom: 1px solid var(--w-head-sep); }
.ac-w-list th:not(.c-fill) { border-right: 1px solid var(--w-head-sep); }
.ac-w-list .c-area { width: 80px; } .ac-w-list .c-mouse { width: 58px; } .ac-w-list .c-click { width: 50px; } .ac-w-list .c-delay { width: 140px; } .ac-w-list .c-fill { padding: 0; }
.ac-w-list td { border: 1px solid transparent; border-left-width: 0; border-right-width: 0; }
.ac-w-list td:first-child { border-left-width: 1px; } .ac-w-list td:last-child { border-right-width: 1px; }
.ac-w-list tr.is-on td { background: var(--w-select); border-top-color: var(--w-select-border); border-bottom-color: var(--w-select-border); }
.ac-w-list tr.is-on td:first-child { border-left-color: var(--w-select-border); } .ac-w-list tr.is-on td:last-child { border-right-color: var(--w-select-border); }
.ac-w-foot { display: flex; align-items: center; gap: 6px; padding-top: 8px; }
.ac-w-chk { flex: 1; display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.ac-w-chk i { position: relative; flex: none; width: 13px; height: 13px; border: 1px solid var(--w-check); background: var(--w-bg); }
.ac-w-chk.is-on i::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--w-text); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ac-w-chk.is-off { color: var(--w-off-text); } .ac-w-chk.is-off i { border-color: var(--w-off-border); }
.ac-w-chk.is-off.is-on i::after { border-color: var(--w-off-text); }
.ac-w-btn { flex: none; height: 23px; min-width: 65px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: 1px solid var(--w-accent); border-radius: 3px; background: var(--w-btn-bg); color: var(--w-text); }
.ac-w-btn.is-off { border-color: var(--w-off-border); color: var(--w-off-text); }
/* 상태 줄 — 라이트 · 다크 같은 어두운 판, 실행 중엔 글자가 흰색 (style.css #status) */
.ac-w-status {
	height: 50px; flex: none; margin: 0 8px 8px; display: flex; align-items: center; justify-content: center;
	font: 19px/1.2 "Segoe UI", "Malgun Gothic", "Yu Gothic UI", "Microsoft YaHei UI", Tahoma, var(--font); letter-spacing: .5px; color: #bdbdc4;
	background: linear-gradient(#141418, #26262e); border: 1px solid #0b0b0e; border-radius: 3px;
	box-shadow: inset 0 3px 6px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(0, 0, 0, .9), inset 0 -1px 0 rgba(255, 255, 255, .07);
	transition: color 120ms linear;
}
.ac-w-status.is-run { color: #fff; }
/* 줄 오른쪽 클릭 메뉴 (Windows 11 팝업 메뉴) */
.ac-menu { position: absolute; z-index: 3; min-width: 150px; padding: 4px; display: grid; background: #f9f9f9; border: 1px solid rgba(0, 0, 0, .12); border-radius: 8px; box-shadow: 0 8px 16px rgba(0, 0, 0, .14); color: #1b1b1b; }
.ac-menu span { display: flex; align-items: center; min-height: 28px; padding: 0 28px 0 32px; border-radius: 4px; white-space: nowrap; }
.ac-menu span:first-child { background: rgba(0, 0, 0, .06); }
.ac-menu hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin: 4px 0; }
/* 레코드 목록만 (레코드 그림) */
.ac-win--list { width: 400px; padding: 8px; border-radius: 6px; box-shadow: 0 16px 34px -20px rgba(15, 30, 50, .4), 0 0 0 1px rgba(15, 30, 50, .1); }

/* ---------- 첫 화면 그림: 메인 창 ---------- */
.ac-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 611px); }
.ac-hero__visual { margin: 0; padding: 0; min-width: 0; }

/* ---------- 간격 그림 ---------- */
.ac-delaysec { background: linear-gradient(180deg, #fff, var(--bg)); }
.ac-delay { max-width: 900px; margin: 0 auto; padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ac-delay__pick { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 28px; }
.ac-delay__pick [role="radio"] { display: grid; gap: 2px; text-align: start; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font: inherit; cursor: pointer; }
.ac-delay__pick [role="radio"] b { font-size: 15px; }
.ac-delay__pick [role="radio"] span { font: 13px/1.3 var(--mono); }
.ac-delay__pick [role="radio"][aria-checked="true"] { border-color: var(--acc); color: var(--text); box-shadow: 0 0 0 4px var(--acc-dim); }
.ac-delay__roll { margin-inline-start: auto; align-self: center; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 600 14px/1.2 var(--font); cursor: pointer; }
.ac-delay__roll:disabled { opacity: .4; cursor: default; }
.ac-delay__fig { margin: 0 0 24px; }
.ac-delay__fig figcaption { font-size: 13px; color: var(--faint); margin-top: 10px; text-align: center; }
.ac-gaps { position: relative; height: 52px; margin: 0 8px; }
.ac-gaps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 2px solid var(--line-2); }
.ac-gaps__tick { position: absolute; top: 0; width: 4px; height: 24px; margin-left: -2px; border-radius: 2px; background: var(--acc); transition: left .4s cubic-bezier(.2,.7,.2,1); }
.ac-gaps__gap { position: absolute; top: 30px; text-align: center; font: 12px/1.2 var(--mono); color: var(--muted); transition: left .4s cubic-bezier(.2,.7,.2,1), width .4s cubic-bezier(.2,.7,.2,1); }
.ac-delay__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.ac-delay__notes li { position: relative; padding-inline-start: 18px; }
.ac-delay__notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* ---------- 레코드 ---------- */
.ac-rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 48px; align-items: center; }
.ac-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.ac-steps li { position: relative; padding-inline-start: 44px; color: var(--muted); font-size: 15.5px; min-height: 30px; }
.ac-steps li:not(.ac-steps__note)::before { counter-increment: st; content: counter(st); position: absolute; inset-inline-start: 0; top: -1px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--acc-dim); color: var(--acc-deep); font-weight: 800; font-size: 14px; }
.ac-steps__note { font-size: 14px !important; color: var(--faint) !important; }
.ac-rec__fig { margin: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.ac-rec__box { width: 400px; }
.ac-rec__scr { position: relative; height: 170px; margin-bottom: 12px; border-radius: 10px; background: radial-gradient(circle at 1px 1px, rgba(15, 30, 50, .14) 1px, transparent 1.5px) 0 0 / 20px 20px, linear-gradient(160deg, #e6eef9, #f8fbff); border: 1px solid var(--line); }
.ac-rec__path { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(47, 120, 214, .45); }
.ac-rec__spot { position: absolute; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--acc); color: var(--acc-deep); font: 800 13px/1 var(--font); transition: background .2s, color .2s, box-shadow .2s; }
.ac-rec__spot.is-on { background: var(--acc); color: #fff; box-shadow: 0 0 0 6px var(--acc-dim); }

/* ---------- 프로그램 화면 ---------- */
.ac-appv__view { min-height: 560px; }
.ac-appv__pane { grid-template-columns: minmax(0, 1fr); }

/* ---------- 다운로드: 맥 칸 ---------- */
.ac-dl__card--wide { grid-column: 1 / -1; }
.ac-dl__card--wide p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.ac-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac-hero__grid, .ac-rec { grid-template-columns: minmax(0, 1fr); }
	.ac-appv__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.ac-delay { padding: 22px 16px; }
	.ac-appv__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.ac-grid--4 { grid-template-columns: 1fr; }
	.ac-appv__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac-delay__roll { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
}
.ac-hero__title .ac-line { text-wrap: balance; }   /* 긴 언어에서 마지막 낱말 하나만 떨어지지 않게 */
:root:lang(ja) .ac-hero__title { word-break: auto-phrase; }
