
/* 레이아웃: 1200px 컨테이너, 섹션 여백으로 구분, 흰 바탕·검정 글·KELI 블루 하나 */
:root {
  --bg: #ffffff; --bg2: #f5f5f7; --fg: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --accent: #0B5CFF; --accent-fg: #ffffff; --pink: #ef8aa5; --ok: #1a6b30; --ok-bg: #e3f3e7; --soon: #7a5200; --soon-bg: #fff1cc;
  --s1: #0B5CFF; --s1-bg: #e6eeff; --s2: #0e6b55; --s2-bg: #e1f4ee; --s3: #a14a00; --s3-bg: #fff0dc; --s4: #4b2fbf; --s4-bg: #ece8ff; --s5: #b02457; --s5-bg: #fde6ee; --s6: #3b6b10; --s6-bg: #ebf5df;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
/* 기기 다크 모드와 무관하게 항상 흰 바탕(사무국 결정 2026-11-03). 다크는 html[data-theme="dark"]를 직접 넣을 때만 */
:root { color-scheme: light; }
:root[data-theme="dark"] { --bg: #000000; --bg2: #1d1d1f; --fg: #f5f5f7; --muted: #a1a1a6; --line: #424245; --accent: #2997ff; --accent-fg: #ffffff; --ok: #7ad48f; --ok-bg: #0f2a16; --soon: #f5c35a; --soon-bg: #2e2306; --s1: #8fc0ff; --s1-bg: #10264a; --s2: #7fd9bf; --s2-bg: #0d2f27; --s3: #ffb36b; --s3-bg: #3a2208; --s4: #c2b3ff; --s4-bg: #221a4d; --s5: #ff9bbd; --s5-bg: #3d1424; --s6: #b8e08a; --s6-bg: #1e3010; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; word-break: keep-all; }
h2 { line-height: 1.3; }
p, li, dd, td, th, label, .lead, .card p, .li .t, .li .m, .svc .body p, .step p, .note, .hint { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.lead { text-wrap: balance; }
a, .chip, .badge, .btn { word-break: keep-all; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.65; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 600; font-size: 16px; border: 0; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(.92); }
a.btn, .util a.btn, .mnav a.btn, .ftr a.btn { color: var(--accent-fg); }
a.btn.ghost, .util a.btn.ghost { color: var(--fg); }
[hidden] { display: none !important; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: var(--bg2); color: var(--fg); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.more { font-weight: 500; }
.more::after { content: " ›"; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg2); color: var(--muted); }
.badge.live { background: var(--ok-bg); color: var(--ok); }
.badge.soon { background: var(--soon-bg); color: var(--soon); }
.badge.pink { background: var(--pink); color: #1d1d1f; }
/* header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.hdr .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--fg); }
.brand:hover { text-decoration: none; } .brand img { display: block; height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--fg); font-size: 16px; font-weight: 600; letter-spacing: -.01em; padding: 6px 0; transition: color .15s; }
.nav a.on { color: var(--accent); font-weight: 700; }
.util { display: flex; align-items: center; gap: 14px; }
.util a { color: var(--fg); font-size: 14px; font-weight: 600; }
.util .ico { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; }
.util .ico:hover { background: var(--bg2); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; }
.hdr .mnav { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 17px; }
.hdr .mnav[data-open="1"] { display: block; }
@media (max-width: 860px) { .nav, .util .txt { display: none; } .burger { display: inline-flex; align-items: center; justify-content: center; } }
/* sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec.alt { background: var(--bg2); }
.sec.dark { background: #1d1d1f; color: #f5f5f7; }
.sec.dark .muted, .sec.dark .lead { color: #a1a1a6; }
.sec.dark .btn.ghost { background: #2c2c2e; color: #f5f5f7; }
.sec.dark .card { background: #2c2c2e; }
.sec.dark .badge { background: #3a3a3c; color: #d2d2d7; }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.head.center { align-items: center; text-align: center; }
.head .lead { max-width: 760px; }
.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }
.card { background: var(--bg2); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; color: inherit; }
.card:hover { text-decoration: none; }
a.card:hover { background: color-mix(in srgb, var(--bg2) 85%, var(--fg) 6%); }
.sec.alt .card { background: var(--bg); }
.card .k { font-size: 13px; font-weight: 600; color: var(--muted); }
.card h3 { font-size: 19px; line-height: 1.55; }
.card > .more { margin-top: auto; }
.card.center { text-align: center; align-items: center; justify-content: center; padding: 36px 28px; }
.card.center h3 { max-width: 16em; }
.tbl td, .tbl th, .step p, .field .hint, .field .msg, .note, .hint, .chk span, details.li .body { line-height: 1.7; }
.stage { line-height: 1.5; }   /* 카드 끝 링크(›)는 카드 하단에 정렬 → 한 줄의 카드끼리 같은 위치 */
.card p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0; }
.card .num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.hero { padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero h1 { max-width: 900px; }
.hero h1.en { max-width: 1000px; font-size: clamp(32px, 4.6vw, 52px); }
.hero .lead { max-width: 760px; }
.hero .acts { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 8px; }
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; padding-top: 16px; flex-wrap: wrap; }
.crumb a { color: var(--muted); }
/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--bg2); color: var(--fg); font-size: 14px; font-weight: 500; }
.sec.alt .tab { background: var(--bg); }
.tab[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
@media (max-width: 640px) { .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .tab { flex: 0 0 auto; } }
/* service cards */
.svc { display: flex; flex-direction: column; border-radius: 8px; background: var(--bg); color: inherit; border: 1px solid var(--line); padding: 10px 10px 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(11, 92, 255, .08); } .svc:hover .body strong { color: var(--accent); } .svc:hover .thumb { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.sec.alt .svc { background: var(--bg); }
.svc .thumb { aspect-ratio: 4 / 3; max-width: 100%; background: #f4f6fa; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; transition: border-color .2s ease; }
.svc .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.svc .thumb.logo img { object-fit: contain; padding: 28px; }
.svc .thumb .word { font-size: 26px; font-weight: 800; color: #b8c0cc; letter-spacing: .02em; }
.svc .body { padding: 16px 8px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.svc .body .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.svc .body .k { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.svc .body .top { display: none; }
@media (max-width: 640px) { .svc { flex-direction: row; gap: 12px; padding: 10px; } .svc .thumb { width: 116px; aspect-ratio: 1 / 1; flex: 0 0 auto; align-self: flex-start; } .svc .thumb.logo img { padding: 10px; } .svc .body { padding: 2px 0 0; gap: 4px; min-width: 0; } .svc .body strong { font-size: 16px; } .svc .body p { font-size: 13px; } .svc .meta { padding-top: 8px; } .stbar { margin-top: 8px; } }
.svc .body strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; transition: color .15s ease; }
.svc .body p { font-size: 14px; color: var(--muted); }
/* lists */
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); color: inherit; }
.li:hover { text-decoration: none; background: var(--bg2); }
.li .t { font-size: 17px; font-weight: 600; line-height: 1.55; }
.li .m { font-size: 14px; color: var(--muted); }
.li .d { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .li { grid-template-columns: 1fr; } .li .d { white-space: normal; } }
details.li { display: block; }
details.li summary { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; cursor: pointer; list-style: none; }
details.li summary::-webkit-details-marker { display: none; }
details.li .body { padding: 14px 0 6px; color: var(--muted); font-size: 15px; max-width: 760px; }
details.li .body p { margin: 0 0 10px; } details.li .body ul, details.li .body ol { margin: 0 0 10px; padding-left: 22px; } details.li .body li { margin: 2px 0; }
details.li .body img, details.li .body iframe { max-width: 100%; border-radius: 12px; } details.li .body table { border-collapse: collapse; } details.li .body td, details.li .body th { border-bottom: 1px solid var(--line); padding: 6px 10px; text-align: left; }
/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--bg2); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.sec.alt .step { background: var(--bg); }
.step .n { font-size: 14px; font-weight: 700; color: var(--accent); }
.step strong { font-size: 19px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
/* tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
table.tbl th, table.tbl td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { color: var(--muted); font-weight: 600; font-size: 13px; }
/* forms */
.form { display: flex; flex-direction: column; gap: 18px; background: var(--bg2); border-radius: 24px; padding: clamp(20px, 4vw, 40px); }
.sec.alt .form { background: var(--bg); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: var(--bg); color: var(--fg); font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field.err input, .field.err select, .field.err textarea { border-color: #c0392b; }
.field .msg { font-size: 13px; color: #c0392b; display: none; }
.field.err .msg { display: block; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.chk input { width: 18px; height: 18px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nowrap { white-space: nowrap; letter-spacing: -.02em; font-size: .93em; }
.chipgrps { display: flex; flex-direction: column; gap: 14px; }
.vid { display: flex; flex-direction: column; gap: 12px; }
.vid-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; }
.vid-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: transform .3s; }
.vid-play:hover img { transform: scale(1.03); }
.vid-play .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.vid-play .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--accent); }
.vid-play .len { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 600; }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; display: block; background: #000; }
.vid-body { display: flex; flex-direction: column; gap: 6px; } .vid-body .m { font-size: 13px; color: var(--muted); } .vid-body .t { font-size: 17px; font-weight: 600; line-height: 1.5; } .vid-body .more { font-size: 14px; }
.vids { gap: 28px 24px; }
.vid-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #0B5CFF, #4A8BFF 60%, #7FB0FF); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.g3.vids .vid-play .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; } .g3.vids .vid-play .play::after { left: 20px; top: 15px; border-width: 11px 0 11px 18px; }
.arch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 1199px) { .arch-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 899px) { .arch-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }
@media (max-width: 480px) { .arch-grid { grid-template-columns: 1fr; gap: 14px; } .acard { flex-direction: row; align-items: flex-start; gap: 14px; } .acard .acover { width: 96px; flex: 0 0 auto; } .acard .abody { padding-top: 4px; } }
.acard { display: flex; flex-direction: column; gap: 12px; color: inherit; } .acard:hover { text-decoration: none; } .acard:hover .acover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.acover { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--bg2); box-shadow: 0 6px 20px rgba(0,0,0,.10); transition: transform .25s, box-shadow .25s; border: 1px solid var(--line); }
.acover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.acover-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px; text-align: center; background: linear-gradient(160deg, #0B5CFF, #4A8BFF 70%, #7FB0FF); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.45; }
.abody { display: flex; flex-direction: column; gap: 4px; } .abody .t { font-size: 15px; font-weight: 600; line-height: 1.5; } .abody .m { font-size: 13px; color: var(--muted); line-height: 1.6; }
.arch-hero { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; text-align: left; max-width: 900px; margin: 0 auto; }
.arch-hero .acts { justify-content: flex-start; margin-top: 16px; } .arch-hero .eyebrow { display: inline-block; }
.arch-cover { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.18); border: 1px solid var(--line); background: var(--bg2); } .arch-cover img { display: block; width: 100%; }
@media (max-width: 760px) { .arch-hero { grid-template-columns: 1fr; gap: 24px; } .arch-cover { max-width: 260px; } }
.pdf-frame { width: 100%; height: min(78vh, 980px); min-height: 480px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); }
.art-ol { padding-left: 22px; } .art-ol li { margin: 6px 0; }
.art-files { margin: 24px 0; padding: 18px 22px; border-radius: 16px; background: var(--bg2); }
.art-files a { word-break: break-all; overflow-wrap: anywhere; }
.art-files strong { display: block; font-size: 14px; margin-bottom: 6px; } .art-files ul { margin: 0; padding-left: 18px; } .art-files li { margin: 4px 0; }
/* 관리자 */
.adm { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.adm-nav { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 4px; }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; color: var(--fg); font-weight: 500; }
.adm-nav a:hover { background: var(--bg2); text-decoration: none; } .adm-nav a.on { background: var(--fg); color: var(--bg); }
.adm-nav .cnt { font-size: 12px; color: var(--muted); } .adm-nav a.on .cnt { color: inherit; opacity: .7; }
.adm-main { min-width: 0; }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.adm-head h2 { margin: 0; font-size: 26px; }
.adm .li { grid-template-columns: 1fr auto; }
.adm .li .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn.xs { height: 30px; padding: 0 12px; font-size: 13px; } .btn.danger { background: #c0392b; color: #fff; } .btn.ghost.danger { background: transparent; color: #c0392b; border: 1px solid #c0392b; }
.adm .li.off { opacity: .55; }
.ed-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--bg2); }
.ed-bar button { height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 600; } .ed-bar button:hover { background: var(--bg); } .ed-bar button.on { background: var(--fg); color: var(--bg); }
.ed-bar .sep { width: 1px; background: var(--line); margin: 4px 4px; }
.ed { min-height: 360px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; padding: 18px 20px; background: var(--bg); font-size: 16px; line-height: 1.75; outline: none; overflow: auto; }
.ed:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.ed img { max-width: 100%; height: auto; } .ed table { border-collapse: collapse; width: 100%; } .ed td, .ed th { border: 1px solid var(--line); padding: 6px 10px; }
.ed-src { min-height: 360px; width: 100%; border: 1px solid var(--line); border-radius: 0 0 12px 12px; padding: 16px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg); color: var(--fg); resize: vertical; }
.files-box { display: flex; flex-direction: column; gap: 8px; } .files-box .f { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg2); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s; }
.toast[data-show="1"] { opacity: 1; }
.deploy { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--bg2); font-size: 14px; }
.deploy .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; } .deploy[data-state="running"] .dot { background: #f5c35a; animation: blink 1s infinite; } .deploy[data-state="ok"] .dot { background: #2fbf71; } .deploy[data-state="fail"] .dot { background: #c0392b; }
@keyframes blink { 50% { opacity: .3; } }
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.45); }
.modal[data-open="1"] { display: flex; }
.modal .box { width: min(100%, 560px); max-height: 90vh; overflow: auto; border-radius: 20px; background: var(--bg); padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal .box.wide { width: min(100%, 960px); }
.login { max-width: 560px; margin: 0 auto; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 860px) { .adm { grid-template-columns: 1fr; gap: 20px; } .adm-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .adm-nav a { white-space: nowrap; } .adm .li { grid-template-columns: 1fr; } .adm .li .acts { justify-content: flex-start; } }
.nav a:hover { text-decoration: none; color: var(--accent); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0,0,0,.10); z-index: 40; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
.mega-col { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; } .mega.open .mega-col { opacity: 1; transform: none; }
.mega.open .mega-col:nth-child(2) { transition-delay: .03s; } .mega.open .mega-col:nth-child(3) { transition-delay: .06s; } .mega.open .mega-col:nth-child(4) { transition-delay: .09s; } .mega.open .mega-col:nth-child(5) { transition-delay: .12s; }
.dim { position: fixed; inset: 0; background: rgba(15, 23, 42, .32); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 30; }
.dim.on { opacity: 1; pointer-events: auto; }
.mega-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 28px 16px 34px; }
.mega-intro { display: flex; flex-direction: column; gap: 8px; align-self: stretch; padding: 4px 32px 4px 0; border-right: 1px solid var(--line); }
.mega-intro .eyebrow { display: block; text-align: left; font-size: 12px; letter-spacing: .04em; color: var(--accent); margin: 0; } .mega-intro strong { font-size: 20px; line-height: 1.35; letter-spacing: -.01em; } .mega-intro p { margin: 0 0 6px; font-size: 14px; line-height: 1.65; color: var(--muted); } .mega-intro .more { font-size: 14px; }
.mega-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.mega-col-title { display: block; font-size: 16px; font-weight: 700; color: var(--fg); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--fg); }
.mega-col-title:hover { text-decoration: none; color: var(--accent); border-color: var(--accent); }
.mega-col ul { list-style: none; margin: 0; padding: 0; } .mega-col li a { display: block; padding: 6px 0; font-size: 15px; color: var(--muted); line-height: 1.5; } .mega-col li a:hover, .mega-col li a:focus-visible { color: var(--accent); text-decoration: none; font-weight: 600; }
.mega-col.hot .mega-col-title { color: var(--accent); border-color: var(--accent); }
.hdr { position: sticky; }
.mnav .mgrp { padding: 6px 0; border-bottom: 1px solid var(--line); } .mnav .mtop { font-weight: 700; } .mnav .msub { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0 0 6px 12px; } .mnav .msub a { font-size: 15px; color: var(--muted); padding: 4px 0; }
@media (max-width: 1024px) { .mega-inner { grid-template-columns: 1fr; gap: 20px; } .mega-intro { display: none; } .mega-cols { gap: 20px; } }
@media (max-width: 860px) { .mega, .dim { display: none !important; } }
.srch { position: fixed; inset: 0; z-index: 60; display: none; } .srch.on { display: block; }
.srch-back { position: absolute; inset: 0; background: rgba(15, 23, 42, .42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadein .2s ease; }
.srch-box { position: absolute; left: 50%; top: 11vh; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); background: var(--bg); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.30); overflow: hidden; animation: popin .22s ease; }
.srch-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.srch-head input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--fg); min-width: 0; } .srch-head input::-webkit-search-cancel-button, .srch-head input::-webkit-search-decoration { -webkit-appearance: none; display: none; } .srch-head input::placeholder { color: var(--muted); }
.srch-x { border: 0; background: var(--bg2); width: 32px; height: 32px; border-radius: 50%; font-size: 14px; color: var(--muted); }
.srch-cnt { padding: 10px 18px 0; font-size: 13px; color: var(--muted); }
.srch-list { max-height: 56vh; overflow: auto; padding: 6px 18px 8px; } .srch-list .li { padding: 12px 4px; } .srch-list .li .t { font-size: 16px; }
.srch-foot { padding: 10px 18px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
body.noscroll { overflow: hidden; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } } @keyframes popin { from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.98); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
/* 상호작용: 과하지 않은 움직임 */
.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 92, 255, .22); } .btn.ghost:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); } .btn:active { transform: translateY(0); box-shadow: none; }
.tab { transition: background .15s ease, color .15s ease, transform .15s ease; } .tab:hover { transform: translateY(-1px); }
.li { transition: background .15s ease; } a.card { transition: transform .2s ease, box-shadow .2s ease; } a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.08); }
.more::after { display: inline-block; white-space: pre; transition: transform .15s ease; } .more:hover::after { transform: translateX(3px); }
.util .ico { transition: background .15s ease, transform .15s ease; } .util .ico:hover { transform: scale(1.06); }
.vid-play .play { transition: transform .2s ease; } .vid-play:hover .play { transform: scale(1.08); }
.cover { margin: 0 0 28px; } .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; display: block; background: var(--bg2); }
.li-thumb { display: block; width: 128px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg2); flex: 0 0 auto; } .li-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.li.li-ev { grid-template-columns: auto 1fr auto; }
.li-thumb-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0B5CFF, #4A8BFF); color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 6px; }
@media (max-width: 640px) { .li.li-ev { grid-template-columns: 1fr; } .li-thumb { width: 100%; } }
.card-thumb { display: block; margin: -32px -28px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0; background: var(--bg2); } .card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art { margin-top: 32px; font-size: 17px; line-height: 1.85; }
.art > p { margin: 0 0 16px; }
.art-lead { font-size: 19px; line-height: 1.7; color: var(--fg); margin: 0 0 28px !important; }
.art-h { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.3; }
.art-h:first-child { margin-top: 0; }
.art-kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; margin: 0 0 24px; padding: 22px 26px; background: var(--bg2); border-radius: 18px; }
.art-kv dt { color: var(--muted); font-size: 15px; font-weight: 600; } .art-kv dd { margin: 0; }
.art-ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.art-ul li { position: relative; padding-left: 20px; }
.art-ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
ol.art-ul { counter-reset: n; } ol.art-ul li::before { content: counter(n); counter-increment: n; width: auto; height: auto; top: 0; background: none; color: var(--accent); font-weight: 700; font-size: 15px; }
.art-sum { background: var(--bg2); border-radius: 18px; padding: 22px 26px; margin: 0 0 28px; }
.art-sum .k { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.art-sum .art-ul { margin: 0; gap: 8px; }
.art-fig { margin: 28px 0; } .art-fig img { max-width: 100%; width: auto; height: auto; border-radius: 18px; display: block; margin: 0 auto; }
.art-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.art-tbl { margin: 0 0 24px; }
@media (max-width: 640px) { .art-kv { grid-template-columns: 1fr; gap: 4px 0; } .art-kv dt { margin-top: 8px; } .art-kv dt:first-child { margin-top: 0; } .art { font-size: 16px; } .art-lead { font-size: 17px; } }
.post { margin-top: 28px; font-size: 17px; line-height: 1.85; } .post p { margin: 0 0 14px; } .post ul, .post ol { margin: 0 0 14px; padding-left: 22px; } .post li { margin: 4px 0; } .post h3 { margin: 24px 0 8px; } .post img { max-width: 100%; border-radius: 16px; margin: 8px 0; } .post table { border-collapse: collapse; width: 100%; } .post td, .post th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; margin: 0; } .kv dt { color: var(--muted); font-size: 15px; } .kv dd { margin: 0; }
[data-ev-empty][hidden] { display: none; }
.chipgrp { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.chipgrp:first-child { border-top: 0; padding-top: 0; }
.chipgrp .gk { font-size: 13px; font-weight: 600; color: var(--muted); }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg2); font-size: 14px; color: var(--fg); }
.sec.alt .chip { background: var(--bg); }
.chip.sel { display: inline-flex; gap: 8px; cursor: pointer; }
.chip.sel input { width: 16px; height: 16px; }
.done { background: var(--ok-bg); color: var(--ok); border-radius: 16px; padding: 20px; font-size: 15px; display: none; }
.done[data-show="1"] { display: block; }
.done code { font-weight: 700; }
/* footer */
.ftr { background: #1d1d1f; color: #d2d2d7; padding-block: 48px 40px; font-size: 14px; }
:root[data-theme="dark"] .ftr, .ftr { color: #d2d2d7; }
.ftr .wrap { display: flex; flex-direction: column; gap: 28px; }
.ftr .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .ftr .cols { grid-template-columns: 1fr; } }
.ftr .col { display: flex; flex-direction: column; gap: 8px; }
.ftr strong { color: #ffffff; font-size: 15px; }
.ftr a { color: #d2d2d7; }
.ftr .copy { display: inline-flex; align-items: center; gap: 8px; }
.ftr .copy button { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid #424245; background: transparent; color: #d2d2d7; font-size: 12px; }
.ftr .bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #424245; padding-top: 20px; color: #a1a1a6; font-size: 13px; }
.empty { background: var(--bg2); border-radius: 20px; padding: 40px 24px; text-align: center; color: var(--muted); }
.sec.alt .empty { background: var(--bg); }
.gallery { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.gallery img { height: 260px; width: auto; max-width: none; border-radius: 16px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } }
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stage { border-radius: 14px; background: var(--bg2); padding: 12px 10px 14px; font-size: 14px; font-weight: 600; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 4px; align-items: center; opacity: .55; }
.stage .no { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.stage.on { opacity: 1; }
.stage.s1.on { background: var(--s1-bg); color: var(--s1); } .stage.s2.on { background: var(--s2-bg); color: var(--s2); } .stage.s3.on { background: var(--s3-bg); color: var(--s3); }
.stage.s4.on { background: var(--s4-bg); color: var(--s4); } .stage.s5.on { background: var(--s5-bg); color: var(--s5); } .stage.s6.on { background: var(--s6-bg); color: var(--s6); }
.stbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin-top: 10px; }
.stbar span { height: 5px; border-radius: 3px; background: var(--line); opacity: .5; }
.stbar span.on { opacity: 1; } .stbar .s1.on { background: var(--s1); } .stbar .s2.on { background: var(--s2); } .stbar .s3.on { background: var(--s3); } .stbar .s4.on { background: var(--s4); } .stbar .s5.on { background: var(--s5); } .stbar .s6.on { background: var(--s6); }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.flow-step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fs-head { position: relative; height: 72px; padding: 12px 22px 12px 18px; display: flex; flex-direction: column; justify-content: center; gap: 2px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 12px 50%); }
.flow-step:first-child .fs-head { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: 14px 0 0 14px; }
.fs-head .no { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .8; } .fs-head .lb { font-size: 16px; font-weight: 700; line-height: 1.25; }
.flow-step.s1 .fs-head { background: var(--s1-bg); color: var(--s1); } .flow-step.s2 .fs-head { background: var(--s2-bg); color: var(--s2); } .flow-step.s3 .fs-head { background: var(--s3-bg); color: var(--s3); }
.flow-step.s4 .fs-head { background: var(--s4-bg); color: var(--s4); } .flow-step.s5 .fs-head { background: var(--s5-bg); color: var(--s5); } .flow-step.s6 .fs-head { background: var(--s6-bg); color: var(--s6); }
.fs-list { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.fs-list .chip { height: auto; min-height: 34px; padding: 6px 12px; font-size: 14px; justify-content: flex-start; background: var(--bg); }
.fs-list .chip.src-manual { font-weight: 700; color: var(--fg); }
.flow-step.s1 .chip.src-manual { color: var(--s1); } .flow-step.s2 .chip.src-manual { color: var(--s2); } .flow-step.s3 .chip.src-manual { color: var(--s3); } .flow-step.s4 .chip.src-manual { color: var(--s4); } .flow-step.s5 .chip.src-manual { color: var(--s5); } .flow-step.s6 .chip.src-manual { color: var(--s6); }
.fs-list .chip.muted { color: var(--muted); font-weight: 400; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fs-head { height: 64px; padding-left: 14px; } .fs-head .lb { font-size: 15px; } }
@media (max-width: 760px) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stage { padding: 12px 6px; font-size: 13px; } }
@media (max-width: 400px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cta .acts { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: center; align-items: center; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .vs { grid-template-columns: 1fr; } }
.note { font-size: 13px; color: var(--muted); }
br.d { display: none; }
@media (min-width: 761px) { br.d { display: inline; } }
