/* ==========================================================================
   끄지마 랜딩 — index.php 전용. 모든 클래스는 so- 접두어 (밝은 크림 바탕, 고양이 주황)
   고양이 · 메뉴 · 작업 표시줄은 앱 소스 값(아래 고유 부분)
   ========================================================================== */

:root {
	--bg: #fbf6ef;
	--bg-2: #f3eadf;
	--surface: #fff;
	--line: rgba(46, 30, 15, .08);
	--line-2: rgba(46, 30, 15, .15);
	--text: #231a12;
	--muted: #5f5348;
	--faint: #9a8d80;
	--acc: #e0661f;
	--acc-2: #f6a15e;
	--acc-deep: #b84e10;
	--acc-dim: rgba(224, 102, 31, .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.so {
	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: #9a4210; }
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; }

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

/* ---------- 버튼 · 배지 ---------- */
.so-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, #f08a3e, #d4561a); 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(212, 86, 26, .8), inset 0 1px 0 rgba(255,255,255,.25);
	transition: transform .2s, box-shadow .2s;
}
.so-btn svg { width: 20px; height: 20px; }
.so-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(212, 86, 26, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.so-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(46,30,15,.05); }
.so-btn--ghost:hover { background: var(--bg-2); box-shadow: 0 1px 2px rgba(46,30,15,.05); }
.so-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.so-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; }
.so-badge--off { background: var(--bg-2); color: var(--muted); }

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

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

.so-hero__visual { position: relative; padding: 24px 0 40px; }
.so-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(46,30,15,.35); font-size: 14px; color: var(--muted); white-space: nowrap;
}
.so-chip img { width: 20px; height: 20px; flex: none; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





/* ==========================================================================
   끄지마 고유 — 고양이 그림, 바탕화면 · Windows 11 작업 표시줄, 오른쪽 클릭 메뉴, 부팅후 시간, 섹션 배치
   ========================================================================== */

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

/* ---------- 고양이 그림: 앱 스프라이트 시트(한 프레임 80x64, 가로 한 줄), 정수 배율 --s, 픽셀 그대로 ----------
   자는 고양이 8프레임 220ms 반복, 깨어 있는 고양이 8프레임 120ms 반복, 깨기 2프레임 250ms 는 JS 가 data-f 로 넘긴다 (animation.c) */
.so-spr {
	display: block; width: calc(80px * var(--s)); height: calc(64px * var(--s));
	background: no-repeat 0 0 / auto 100%; image-rendering: pixelated;
}
.so-spr[data-a="sleep"] { background-image: url(cat/sleep.png); animation: so-sheet 1.76s steps(8) infinite; }
.so-spr[data-a="idle"] { background-image: url(cat/idle.png); animation: so-sheet .96s steps(8) infinite; }
.so-spr[data-a="wake"] { background-image: url(cat/waking.png); }
.so-spr[data-a="wake"][data-f="1"] { background-position: calc(-80px * var(--s)) 0; }
@keyframes so-sheet { to { background-position: calc(-640px * var(--s)) 0; } }

/* ---------- 바탕화면 (Windows 11 밝은 테마 느낌) ---------- */
.so-desk {
	position: relative; overflow: hidden; border-radius: 14px; user-select: none; -webkit-user-select: none; touch-action: none;
	font: 12px/1.3 "Segoe UI Variable Text", "Segoe UI", "Malgun Gothic", "Yu Gothic UI", "Microsoft YaHei UI", var(--font); letter-spacing: 0; color: #1b1b1b; word-break: normal;
	background:
		radial-gradient(60% 70% at 72% 78%, rgba(255, 255, 255, .75), transparent 65%),
		radial-gradient(70% 90% at 20% 10%, #9cc1ef, transparent 70%),
		linear-gradient(160deg, #c9dcf3, #e9eef7 55%, #f7e9da);
	box-shadow: 0 40px 70px -40px rgba(46, 30, 15, .55), 0 0 0 1px rgba(46, 30, 15, .1);
}
.so-desk.is-dark { background: radial-gradient(70% 90% at 20% 10%, #31507e, transparent 70%), linear-gradient(160deg, #1d2a3f, #202634 60%, #2c2621); }
.so-doc { position: absolute; margin: 0; border-radius: 8px; background: #fff; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06); overflow: hidden; }
.so-doc p { margin: 0; }
.so-doc__t { height: 30px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 0 14px; background: #f3f3f3; }
.so-doc__t i { width: 9px; height: 9px; border: 1px solid #8a8a8a; border-radius: 1px; }
.so-doc__t i:first-child { height: 0; border-width: 1px 0 0; }
.so-doc__b { padding: 18px 20px; display: grid; gap: 10px; }
.so-doc__b i { display: block; height: 8px; border-radius: 4px; background: #e6e6e6; }
.so-doc__b i:first-child { width: 55%; height: 12px; background: #d4d4d4; margin-bottom: 6px; }
.so-doc__b i:nth-child(3n) { width: 82%; }
.so-doc__b i:nth-child(4n) { width: 64%; }
.so-desk.is-dark .so-doc { background: #2b2b2b; }
.so-desk.is-dark .so-doc__t { background: #202020; }
.so-desk.is-dark .so-doc__b i { background: #3a3a3a; }

.so-cat { position: absolute; z-index: 2; outline: none; cursor: pointer; }
.so-cat:focus-visible .so-spr { outline: 2px dashed rgba(224, 102, 31, .8); outline-offset: -18px; }
.so-hint {
	position: absolute; left: 50%; bottom: calc(100% - 26px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
	font: 600 13px/1 var(--font); color: #fff; background: var(--acc); padding: 7px 11px; border-radius: 99px;
	box-shadow: 0 8px 18px -8px rgba(184, 78, 16, .8); animation: so-bob 1.6s ease-in-out infinite;
}
.so-hint::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--acc); }
.so-desk.is-tried .so-hint { display: none; }
@keyframes so-bob { 50% { transform: translate(-50%, -4px); } }

/* 작업 표시줄 (높이 48 — Windows 11) */
.so-task {
	position: absolute; left: 0; right: 0; bottom: 0; height: 48px; display: flex; align-items: center; z-index: 3;
	background: rgba(243, 243, 243, .92); border-top: 1px solid rgba(0, 0, 0, .08); backdrop-filter: blur(20px);
}
.so-task p { margin: 0; display: flex; align-items: center; }
.so-task__mid { position: absolute; left: 50%; transform: translateX(-50%); gap: 10px; }
.so-task__mid i { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #9aa7b8, #6f7b8c); opacity: .55; }
.so-task__mid i.so-start { background: conic-gradient(from 0deg, #0f6cbd 0 25%, #2b88d8 0 50%, #0f6cbd 0 75%, #2b88d8 0); opacity: 1; border-radius: 3px; width: 20px; height: 20px;
	-webkit-mask: linear-gradient(#000 0 0) 0 0 / 9px 9px no-repeat, linear-gradient(#000 0 0) 11px 0 / 9px 9px no-repeat, linear-gradient(#000 0 0) 0 11px / 9px 9px no-repeat, linear-gradient(#000 0 0) 11px 11px / 9px 9px no-repeat;
	mask: linear-gradient(#000 0 0) 0 0 / 9px 9px no-repeat, linear-gradient(#000 0 0) 11px 0 / 9px 9px no-repeat, linear-gradient(#000 0 0) 0 11px / 9px 9px no-repeat, linear-gradient(#000 0 0) 11px 11px / 9px 9px no-repeat; }
.so-task .so-task__right { margin-left: auto; height: 100%; padding-right: 10px; }
.so-uptime { display: block; height: 48px; cursor: default; }
.so-uptime[hidden] { display: none; }
.so-up { display: block; }
.so-up .on { fill: var(--ink); }
.so-up .off { fill: var(--ink); opacity: .15; }
.so-chev { width: 26px; height: 40px; position: relative; }
.so-chev::before { content: ""; position: absolute; left: 10px; top: 19px; width: 6px; height: 6px; border: solid #444; border-width: 1.2px 0 0 1.2px; transform: rotate(45deg); }
.so-tray { display: grid; place-items: center; width: 32px; height: 40px; border-radius: 4px; }
.so-tray img { width: 16px; height: 16px; }
.so-desk .so-tray[role="button"] { cursor: default; }
.so-desk .so-tray:hover, .so-desk .so-uptime[title]:hover { background: rgba(0, 0, 0, .05); }
.so-clock { text-align: right; padding: 0 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; }
.so-desk.is-dark .so-task, .so-strip.is-dark { background: rgba(32, 32, 32, .94); border-top-color: rgba(255, 255, 255, .08); color: #fff; }
.so-desk.is-dark .so-chev::before, .so-strip.is-dark .so-chev::before { border-color: #ddd; }

/* 화면 꺼짐 (첫 화면 시연) */
.so-off {
	position: absolute; inset: 0; z-index: 9; margin: 0; display: grid; place-items: center; padding: 24px; text-align: center;
	background: #000; color: #8a8a8a; font: 14px/1.5 var(--font); cursor: pointer; animation: so-fade .6s ease both;
}
.so-off[hidden] { display: none; }
@keyframes so-fade { from { opacity: 0; } }
.so-desk.is-gone .so-cat, .so-desk.is-gone .so-tray, .so-desk.is-gone .so-uptime { visibility: hidden; }

/* ---------- 오른쪽 클릭 메뉴 (Windows 11 밝은 메뉴, Segoe UI 12px) ---------- */
.so-menu {
	position: absolute; z-index: 8; min-width: 176px; 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);
}
.so-menu[hidden] { display: none; }
.so-menu hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin: 4px 0; }
.so-mi {
	position: relative; display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 28px 0 32px; border: 0; border-radius: 4px;
	background: none; color: #1b1b1b; font: inherit; text-align: left; white-space: nowrap; text-decoration: none; cursor: default;
}
.so-mi:hover, .so-mi:focus-visible, .so-mi--sub.is-open { background: rgba(0, 0, 0, .06); outline: none; }
.so-mi[aria-checked="true"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #1b1b1b; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.so-mi[role="menuitemradio"][aria-checked="true"]::before { left: 13px; width: 6px; height: 6px; margin-top: -3px; border: 0; border-radius: 50%; background: #1b1b1b; transform: none; }
.so-mi--sub::after { content: ""; position: absolute; right: 12px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border: solid #444; border-width: 1.2px 1.2px 0 0; transform: rotate(45deg); }
.so-menu--sub { display: none; left: calc(100% + 2px); top: -5px; min-width: 120px; }
.so-mi--sub.is-open > .so-menu--sub { display: grid; }
.so-menu.is-flip .so-menu--sub { left: auto; right: calc(100% + 2px); }
.so-bar-ic { width: 16px; height: 10px; flex: none; box-shadow: inset 0 0 0 1px #808080; margin-left: -24px; margin-right: 0; }   /* 체크 칸 자리의 색 막대 (menu_win.c color_bar) */
.so-mi:has(> .so-bar-ic) { padding-left: 32px; }
.so-mi:has(> .so-bar-ic)[aria-checked="true"]::before { display: none; }
.so-mi:has(> .so-bar-ic)[aria-checked="true"] .so-bar-ic { box-shadow: inset 0 0 0 1px #808080, 0 0 0 2px #fff, 0 0 0 3px #1b1b1b; }

/* ---------- 첫 화면 ---------- */
.so-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.so-hero__visual { margin: 0; padding: 0; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.so-hero__visual figcaption { text-align: center; max-width: 520px; }
.so-status { margin: 0 0 4px; font-weight: 700; font-size: 15px; color: var(--text); }
.so-status b { color: var(--acc-deep); font-variant-numeric: tabular-nums; }
.so-note { margin: 0; font-size: 13px; color: var(--faint); }

/* ---------- 막는 것 ---------- */
.so-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--acc-dim); color: var(--acc-deep); }
.so-card__ic svg { width: 22px; height: 22px; }
.so-how { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 40px; margin-top: 16px; padding: 28px 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.so-how h3 { font-size: 18px; margin-bottom: 8px; }
.so-how p { color: var(--muted); font-size: 15px; }
.so-how .so-small { margin: 0; }
.so-not { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.so-not li { position: relative; padding-inline-start: 26px; }
.so-not li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .38em; width: 6px; height: 11px; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- 고양이 다루기 ---------- */
.so-catsec { background: linear-gradient(180deg, #fff, var(--bg)); }
.so-card h3 + p + h3 { margin-top: 20px; }
.so-flow { display: flex; align-items: center; gap: 4px; margin: -8px 0 0; color: var(--faint); }
.so-trays { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 13px; color: var(--faint); }
.so-trays img { width: 16px; height: 16px; }
.so-sizes { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px 40px; align-items: center; margin-top: 16px; padding: 28px 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.so-sizes h3 { font-size: 18px; margin-bottom: 8px; }
.so-sizes p { color: var(--muted); font-size: 15px; margin: 0; }
.so-sizes__fig { margin: 0; min-width: 0; }
.so-sizes__row { display: flex; align-items: flex-end; gap: 0; margin: 0; }
.so-sizes__row > span { display: grid; justify-items: center; }
.so-sizes__row b { font-size: 13px; color: var(--muted); margin-top: -6px; }
.so-sizes .so-caption { margin-top: 12px; }

/* ---------- 부팅후 시간 ---------- */
.so-upv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.so-upv__bars { display: grid; gap: 18px; padding: 32px; border-radius: 20px; background: linear-gradient(160deg, #c9dcf3, #e9eef7 60%, #f7e9da); border: 1px solid var(--line); }
.so-upv__bars figure { margin: 0; display: grid; gap: 6px; justify-items: end; }
.so-upv__bars figcaption { font-size: 13px; color: var(--muted); }
.so-strip { display: flex; align-items: center; height: 48px; padding: 0 10px 0 16px; border-radius: 10px; background: rgba(243, 243, 243, .95); font: 12px/1.3 "Segoe UI Variable Text", "Segoe UI", "Malgun Gothic", "Yu Gothic UI", "Microsoft YaHei UI", var(--font); letter-spacing: 0; color: #1b1b1b; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.so-inks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 4px; }
.so-inks button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.8); color: var(--muted); font: 13px/1.2 var(--font); cursor: pointer; }
.so-inks button i { width: 14px; height: 10px; box-shadow: inset 0 0 0 1px #808080; }
.so-inks button[aria-checked="true"] { border-color: var(--acc); color: var(--text); font-weight: 700; box-shadow: 0 0 0 3px var(--acc-dim); }
.so-upv__text { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--muted); font-size: 15.5px; }
.so-upv__text li { padding-inline-start: 18px; position: relative; }
.so-upv__text li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.so-upv__text .so-small { color: var(--faint); }
.so-upv__text .so-small::before { background: var(--faint); }

/* ---------- 프로그램 화면 ---------- */
.so-appv__view { min-height: 480px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.so-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.so-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.so-upv { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.so-grid--2, .so-how, .so-sizes { grid-template-columns: 1fr; }
	.so-how, .so-sizes, .so-upv__bars { padding: 22px 18px; }
}
@media (max-width: 520px) {
	.so-grid--4 { grid-template-columns: 1fr; }
	.so-appv__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.so-spr { animation: none !important; }
	.so-hint { animation: none; }
}
.so-upv__bars figure .so-fit { justify-content: flex-end; }
.so-desk:has(.so-menu:not([hidden])) .so-hint { display: none; }
.so-hero__visual, .so-appv__pane, .so-upv__bars, .so-upv__bars figure { grid-template-columns: minmax(0, 1fr); }   /* 자동 칸이 안쪽 고정 폭(520)만큼 늘지 않게 — 그래야 .so-fit 이 줄인다 */

/* ar: 메뉴만 오른쪽에서 왼쪽으로 (바탕화면 · 작업 표시줄 그림은 LTR 그대로) — 체크 칸 · 화살표 · 하위 메뉴가 펼쳐지는 쪽도 뒤집는다 */
:root[dir="rtl"] .so-menu { direction: rtl; }
:root[dir="rtl"] .so-mi { padding: 0 32px 0 28px; text-align: right; }
:root[dir="rtl"] .so-mi[aria-checked="true"]::before { left: auto; right: 13px; }
:root[dir="rtl"] .so-mi--sub::after { right: auto; left: 12px; transform: rotate(-135deg); }
:root[dir="rtl"] .so-mi:has(> .so-bar-ic) { padding-left: 28px; padding-right: 32px; }
:root[dir="rtl"] .so-bar-ic { margin-left: 0; margin-right: -24px; }
:root[dir="rtl"] .so-menu--sub { left: auto; right: calc(100% + 2px); }
:root[dir="rtl"] .so-menu.is-flip .so-menu--sub { right: auto; left: calc(100% + 2px); }
