/* ==========================================================================
   부스트핑 랜딩 — index.php 전용. 모든 클래스는 bp- 접두어 (어두운 바탕 #0d0d0f, 앱 강조색 라임 #c8ff2e)
   공통 부분은 ktimer 랜딩 CSS 를 옮긴 것, 아래 고유 부분은 앱 2.0.0 app/ui/style.css 값 (시안 B "번개")
   ========================================================================== */

:root {
	--bg: #0d0d0f;
	--bg-2: #17171a;
	--surface: #151518;
	--line: rgba(244, 244, 242, .08);
	--line-2: rgba(244, 244, 242, .16);
	--text: #f4f4f2;
	--muted: #b9b9b4;
	--faint: #8a8a85;
	--acc: #c8ff2e;
	--acc-2: #d8ff6a;
	--acc-deep: #c8ff2e;
	--acc-dim: rgba(200, 255, 46, .1);
	--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.bp {
	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: #7cb2ff; }
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; }

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

/* ---------- 버튼 · 배지 ---------- */
.bp-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: var(--acc); color: #0d0d0f; font-family: inherit; cursor: pointer;
	font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
	box-shadow: 0 10px 26px -14px rgba(200, 255, 46, .45);
	transition: transform .2s, box-shadow .2s;
}
.bp-btn svg { width: 20px; height: 20px; }
.bp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(200, 255, 46, .6); }
.bp-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.bp-btn--ghost:hover { background: var(--bg-2); box-shadow: none; }
.bp-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.bp-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; }
.bp-badge--off { background: var(--bg-2); color: var(--muted); }

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

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

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

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

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

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

/* ---------- 격자 ---------- */
.bp-grid { display: grid; gap: 16px; }
.bp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }

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

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

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

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

/* ---------- 언어 선택 ---------- */
.bp-lang { position: relative; margin-inline-start: 4px; }
.bp-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);
}
.bp-lang summary::-webkit-details-marker { display: none; }
.bp-lang summary:hover, .bp-lang[open] summary { color: var(--text); background: var(--bg-2); }
.bp-lang summary svg { width: 17px; height: 17px; }
.bp-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(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
}
.bp-lang a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.bp-lang a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.bp-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.bp, :root:lang(zh-Hans) body.bp, :root:lang(th) body.bp { word-break: normal; line-break: strict; }
:root:lang(ar) .bp-hero__title, :root:lang(ar) .bp-head h2, :root:lang(th) .bp-hero__title { letter-spacing: 0; line-height: 1.4; }
:root:lang(ar) body.bp { letter-spacing: 0; }

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

/* ---------- 첫 화면 칩 ---------- */
.bp-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: var(--bg-2); color: var(--text); white-space: nowrap; }
.bp-head > p { color: var(--muted); margin: 14px auto 0; max-width: 680px; }

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

/* ---------- 프로그램 미리보기: 탭 + 창 ---------- */
.bp-appsec { background: linear-gradient(180deg, #0a0a0c, var(--bg)); }
.bp-appv { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.bp-appv__side { position: sticky; top: calc(var(--top) + 24px); }
.bp-appv__tabs { display: grid; gap: 10px; }
.bp-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; }
.bp-appv__tabs [role="tab"] > b { display: block; font-size: 16px; margin-bottom: 2px; }
.bp-appv__tabs [role="tab"] span { font-size: 14px; line-height: 1.55; display: block; }
.bp-appv__tabs [role="tab"][aria-selected="true"] { border-color: rgba(200, 255, 46, .55); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.bp-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(200, 255, 46, .1), transparent 70%), linear-gradient(160deg, #18181b, #0f0f11);
	border: 1px solid var(--line);
}
.bp-appv__pane { width: 100%; min-width: 0; display: grid; justify-items: center; }
.bp-appv__pane[hidden] { display: none; }

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

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

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




/* ==========================================================================
   부스트핑 고유 — 앱 창(app/ui/style.css), 바꾸는 값 표, 켤 때와 끌 때
   ========================================================================== */
:root { --disp: Bahnschrift, "DIN Alternate", "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", var(--font); }   /* 앱 영문 표시 글꼴 = Windows Bahnschrift 굵게 · 기울임 (글꼴을 싣지 않는다) */
.bp-hero__title em { color: var(--acc); }
.bp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bp-fit { width: 100%; max-width: 100%; display: flex; justify-content: center; }   /* 안쪽 고정 크기 그림은 JS zoom 으로 맞춘다 */
.bp-fit > * { flex: none; }
.bp-card__ic svg { width: 22px; height: 22px; }
.bp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
code { background: var(--bg-2); color: var(--acc); }
.bp-badge { background: rgba(200, 255, 46, .12); color: var(--acc); }
.bp-badge.bp-badge--off { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line-2); }

/* ---------- 앱 창: 테두리 1 + 제목 줄 31 + 선 1 + 내용 400x607 = 402x641 (README 스크린숏과 같다) (app.rs WIDTH · HEIGHT), 캡션은 늘 다크 ---------- */
.bp-win {
	--w-bg: #0D0D0F; --w-text: #F4F4F2; --w-text-2: #B9B9B4; --w-text-3: #8A8A85; --w-surface: #151518; --w-surface-2: #17171A; --w-border: #2A2A2E;
	--w-acc: #C8FF2E; --w-acc-half: #C8FF2E88; --w-acc-line: #C8FF2E66; --w-off: #1C1C20; --w-idle-bar: #3A3A3F; --w-idle-dot: #4A4A4F; --w-item-border: #232327; --w-busy: #2A2A2E; --w-run: #1E1E22;
	position: relative; width: 402px; border: 1px solid #8f8f8f; border-radius: 8px; overflow: hidden; background: var(--w-bg); color: var(--w-text);
	font: 12px/1.35 "Segoe UI", "Malgun Gothic", var(--font); letter-spacing: 0; text-align: start;   /* 앱 body 와 같은 글꼴 순서 */ user-select: none; word-break: normal;
	box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 80px -30px rgba(200, 255, 46, .18);
}
.bp-cap { position: relative; height: 31px; display: flex; align-items: center; gap: 8px; padding-inline-start: 10px; background: #202020; color: #fff; font-size: 12px; border-bottom: 1px solid #3a3a3a; box-sizing: content-box; }
.bp-cap img { width: 16px; height: 16px; }
.bp-cap i { position: absolute; top: 0; width: 46px; height: 31px; }
.bp-cap__min { inset-inline-end: 46px; } .bp-cap__x { inset-inline-end: 0; }   /* 크기 고정 — 최대화 단추 없음 (README 스크린숏) */
.bp-cap__min::before { content: ""; position: absolute; left: 18px; top: 15px; width: 10px; border-top: 1px solid #fff; }
.bp-cap__x::before, .bp-cap__x::after { content: ""; position: absolute; left: 17px; top: 15px; width: 13px; border-top: 1px solid #fff; transform: rotate(45deg); }
.bp-cap__x::after { transform: rotate(-45deg); }

.bp-app { height: 607px; }
.bp-scr { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 22px 24px 20px; }
.bp-scr[hidden] { display: none; }
.bp-win :is(button, .bp-ib, .bp-run, .bp-item) { font: inherit; color: inherit; margin: 0; text-align: inherit; }
.bp-ib {
	width: 44px; height: 44px; box-sizing: border-box; flex: none; padding: 0;
	border-radius: 8px; border: 1px solid var(--w-border); background: var(--w-surface-2);
	display: flex; align-items: center; justify-content: center; color: var(--w-text-2) !important;
}
.bp-ib svg { width: 20px; height: 20px; }
.bp-win button.bp-ib { cursor: pointer; }
.bp-win button.bp-ib:hover { border-color: #3A3A3F; color: var(--w-text) !important; }
.bp-win button:focus-visible { outline: 2px solid var(--w-acc); outline-offset: 2px; }

/* 처음 화면 */
.bp-w-top { display: flex; align-items: center; justify-content: space-between; }
.bp-logo { font: italic 700 20px/1.2 var(--disp); letter-spacing: 1px; }
.bp-logo span { color: var(--w-acc); }
.bp-center { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bp-label { color: var(--w-text-3); letter-spacing: 2px; }
.bp-bigw { position: relative; height: 92px; }
.bp-big { position: absolute; inset-inline-start: 0; top: 0; font: italic 700 76px/92px var(--disp); letter-spacing: -1px; color: var(--w-text); }
.st-busy .bp-big, .st-on .bp-big { color: var(--w-acc); }
/* 적용 중 — 속도선 3줄이 흐른다 */
.bp-streaks { position: absolute; inset-inline-start: 0; top: 18px; display: none; flex-direction: column; gap: 10px; }
.st-busy .bp-streaks { display: flex; }
.bp-streaks i { display: block; height: 3px; background: var(--w-acc); animation: bp-streak 900ms steps(18) infinite; }
.bp-streaks i:nth-child(1) { width: 120px; }
.bp-streaks i:nth-child(2) { width: 70px; margin-inline-start: 30px; animation-delay: 150ms; }
.bp-streaks i:nth-child(3) { width: 150px; margin-inline-start: 10px; animation-delay: 300ms; }
@keyframes bp-streak { 0% { transform: translateX(40px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(-60px); opacity: 0; } }
.bp-status { font-size: 14px; color: var(--w-text-2); min-height: 19px; }
.bp-status b { color: var(--w-text); font-weight: 600; }
.bp-bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.bp-bars i { display: block; height: 6px; border-radius: 1px; background: var(--w-off); transition: background 300ms; }
.bp-bars i.on { background: var(--w-idle-bar); }
.st-busy .bp-bars i.on { background: var(--w-acc-half); }
.st-on .bp-bars i.on { background: var(--w-acc); }
.bp-barrow { display: flex; justify-content: space-between; font-size: 11px; color: var(--w-text-3); }
/* 실행 단추 — 비스듬한 긴 막대, 글자는 바로 세운다 */
.bp-run {
	height: 76px; flex: none; border-radius: 10px; border: 0; padding: 0; width: 100%;
	display: flex; align-items: center; justify-content: center; gap: 14px;
	transform: skewX(-8deg); transition: background 250ms;
	background: var(--w-acc); color: var(--w-bg) !important;
}
.bp-win button.bp-run { cursor: pointer; }
.bp-win button.bp-run:hover { filter: brightness(1.06); }
.bp-run__l { transform: skewX(8deg); font: italic 700 22px/1.1 var(--disp); }
.bp-chev { display: block; width: 34px; height: 20px; transform: skewX(8deg); }
.bp-chev svg { width: 34px; height: 20px; }
.st-busy .bp-run { background: var(--w-busy); color: var(--w-text-2) !important; cursor: default !important; filter: none !important; }
.st-busy .bp-chev { animation: bp-rush 700ms steps(14) infinite; }
.st-on .bp-run { background: var(--w-run); color: var(--w-acc) !important; }
@keyframes bp-rush { 0% { transform: skewX(8deg) translateX(-24px); opacity: 0; } 50% { opacity: 1; } 100% { transform: skewX(8deg) translateX(24px); opacity: 0; } }
[dir=rtl] .bp-chev svg { transform: scaleX(-1); }
.bp-wfoot { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--w-text-3); }
.bp-dot { width: 8px; height: 8px; border-radius: 4px; flex: none; background: var(--w-idle-dot); }
.st-on .bp-dot { background: var(--w-acc); }
.bp-wfoot > span:last-child { flex: none; white-space: nowrap; }
.bp-adapter { flex-grow: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 환경설정 (TUNING) */
.bp-set { gap: 14px; }
.bp-w-tops { display: flex; align-items: center; gap: 12px; }
.bp-tuning { font: italic 700 22px/1.2 var(--disp); }
.bp-lock { display: none; color: var(--w-bg); background: var(--w-acc); padding: 9px 12px; border-radius: 6px; font-weight: 600; }
.st-busy .bp-lock, .st-on .bp-lock { display: block; }
.bp-item {
	display: flex; align-items: center; gap: 14px; flex: none; width: 100%; box-sizing: border-box;
	padding: 12px 14px; border-radius: 8px; border: 1px solid var(--w-item-border); background: var(--w-surface);
}
.bp-win button.bp-item { cursor: pointer; }
.bp-item.on { border-color: var(--w-acc-line); }
.st-busy .bp-item, .st-on .bp-item { opacity: .45; cursor: default !important; }
.bp-box { width: 22px; height: 22px; flex: none; border-radius: 4px; background: var(--w-border); display: flex; align-items: center; justify-content: center; color: var(--w-bg); }
.bp-box svg { width: 14px; height: 14px; visibility: hidden; }
.bp-item.on .bp-box { background: var(--w-acc); }
.bp-item.on .bp-box svg { visibility: visible; }
.bp-text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-name { font-size: 14px; font-weight: 600; }
.bp-desc { color: var(--w-text-3); }

/* ---------- 첫 화면 시연 ---------- */
.bp-hero__visual { margin: 0; padding: 12px 0 20px; }
.bp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.bp-hero::before {
	background:
		radial-gradient(44% 46% at 74% 42%, rgba(200, 255, 46, .08), transparent 70%),
		radial-gradient(36% 36% at 10% 80%, rgba(200, 255, 46, .04), transparent 70%);
}
.bp-hero__visual figcaption { margin-top: 22px; text-align: center; }
.bp-how { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.bp-note { margin: 0; font-size: 13px; color: var(--faint); }

/* ---------- 바꾸는 것 ---------- */
.bp-tweaksec { background: linear-gradient(180deg, #0a0a0c, var(--bg)); }
.bp-tw { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 12px; }
.bp-tw__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.bp-tw__n { font: italic 700 28px/1 var(--disp); color: var(--acc); }
.bp-tw__what h3 { font-size: 18px; margin: 0 0 4px; }
.bp-tw__what p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 켤 때와 끌 때 ---------- */
.bp-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.bp-flow__col { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.bp-flow__col h3 { font-size: 20px; margin: 0 0 18px; }
.bp-flow__st { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.bp-flow__st i { flex: 1; max-width: 48px; height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 6px, transparent 6px 10px); opacity: .6; }
.bp-st { font: italic 700 22px/1 var(--disp); color: var(--text); }
.bp-st--boost, .bp-st--on { color: var(--acc); }
.bp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.bp-steps li { position: relative; padding-inline-start: 44px; color: var(--muted); font-size: 15px; min-height: 30px; }
.bp-steps li b { display: block; color: var(--text); }
.bp-steps li::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); font-weight: 800; font-size: 14px; }

/* ---------- 프로그램 화면 ---------- */
.bp-appv__view { min-height: 720px; }
.bp-appv__pane { grid-template-columns: minmax(0, 1fr); }
.bp-appv__tabs [role="tab"][aria-selected="true"] { border-color: rgba(200, 255, 46, .5); }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.bp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bp-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.bp-flow { grid-template-columns: 1fr; }
	.bp-tw__row { padding: 18px; gap: 8px 14px; }
	.bp-flow__col { padding: 22px; }
	.bp-appv__view { min-height: 0; }
}
@media (max-width: 520px) {
	.bp-grid--4 { grid-template-columns: 1fr; }
	.bp-tw__row { grid-template-columns: 40px minmax(0, 1fr); }
	.bp-tw__row > .bp-badge { grid-column: 2; justify-self: start; }
}
.bp-hero__title .bp-line { text-wrap: balance; }   /* 긴 언어에서 마지막 낱말 하나만 떨어지지 않게 */
:root:lang(ja) .bp-hero__title { word-break: auto-phrase; }
