        /* ===== App shell (neumorphic, "Organic Shape" 레퍼런스 기반) ===== */
        :root {
            --bg: #e9edf2;
            --hi: #ffffff;
            --lo: #c8d0db;
            --ink: #2b3a5c;
            --sub: #7a869a;
            --c1: #f0588a;
            --c2: #f7a531;
            --c3: #2bb99a;
            --c4: #3aa0e8;
            --up: 6px 6px 14px var(--lo), -6px -6px 14px var(--hi);
            --up-sm: 3px 3px 8px var(--lo), -3px -3px 8px var(--hi);
            --in: inset 3px 3px 7px var(--lo), inset -3px -3px 7px var(--hi);
        }
        * { box-sizing: border-box; }
        html, body { margin: 0; }
        body {
            font-family: 'Noto Sans KR', sans-serif;
            background: var(--bg);
            color: var(--ink);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-size: 14px;
            line-height: 1.5;
        }
        button, input, select, textarea { font-family: inherit; color: inherit; }
        button { cursor: pointer; border: 0; background: none; }
        a { color: inherit; }

        .dots3 { display: inline-flex; gap: 5px; }
        .dots3 i { width: 8px; height: 8px; border-radius: 2px; display: block; }
        .dots3 i:nth-child(1) { background: var(--c1); }
        .dots3 i:nth-child(2) { background: var(--c2); }
        .dots3 i:nth-child(3) { background: var(--c3); }

        header.top {
            position: sticky; top: 0; z-index: 40;
            background: var(--bg);
            box-shadow: 0 6px 14px -8px var(--lo);
        }
        .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }
        .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
        .brand { display: flex; align-items: center; gap: 14px; }
        .brand-mark {
            width: 46px; height: 46px; flex: none;
            border-radius: 58% 42% 45% 55% / 48% 56% 44% 52%;
            background: linear-gradient(135deg, var(--c3), var(--c4));
            color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px;
            box-shadow: 5px 5px 12px var(--lo), -5px -5px 12px var(--hi);
        }
        .brand h1 { margin: 2px 0 0; font-size: 20px; font-weight: 300; letter-spacing: -.01em; line-height: 1.2; }
        .brand h1 b { font-weight: 800; }
        .brand h1 .ver { font-size: 12px; font-weight: 700; color: #e11d48; margin-left: 6px; letter-spacing: 0; }
        .brand p { margin: 2px 0 0; font-size: 11.5px; color: var(--sub); }
        .top-actions { display: flex; align-items: center; gap: 12px; }

        .seg { display: inline-flex; padding: 4px; border-radius: 14px; box-shadow: var(--in); gap: 4px; }
        .seg button { padding: 8px 16px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--sub); display: flex; align-items: center; gap: 7px; transition: all .15s; }
        .seg button.on { background: var(--bg); color: var(--ink); box-shadow: var(--up-sm); }
        .seg button.on i { color: var(--c1); }

        .btn {
            padding: 9px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 700;
            background: var(--bg); box-shadow: var(--up-sm); color: var(--ink);
            display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: box-shadow .15s, transform .1s; white-space: nowrap;
        }
        .btn:hover { box-shadow: 4px 4px 10px var(--lo), -4px -4px 10px var(--hi); }
        .btn:active { box-shadow: var(--in); }
        .btn:disabled { opacity: .5; cursor: not-allowed; }
        .btn i { color: var(--c1); }
        .btn.icon { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
        .btn.primary {
            width: 100%; padding: 15px; font-size: 14.5px; border-radius: 16px; color: #fff;
            background: linear-gradient(120deg, var(--c1), var(--c2));
            box-shadow: 6px 6px 14px var(--lo), -6px -6px 14px var(--hi), 0 10px 20px -8px rgba(240, 88, 138, .6);
        }
        .btn.primary i { color: #fff; }

        main { flex: 1; display: grid; grid-template-columns: var(--panel-w, 380px) minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 26px; padding-bottom: 34px; }
        @media (max-width: 980px) { main { grid-template-columns: 1fr; } #panel-resizer { display: none; } }
        /* 좌측 패널과 미리보기 사이의 리사이저: 끌어서 패널 폭을 바꾼다 */
        .panel { position: relative; }
        #panel-resizer { position: absolute; top: 0; bottom: 0; right: -21px; width: 14px; cursor: col-resize; touch-action: none; display: flex; justify-content: center; z-index: 5; outline: none; }
        #panel-resizer::before { content: ''; width: 4px; height: 100%; border-radius: 2px; background: var(--lo); opacity: .55; transition: opacity .15s, background .15s; }
        #panel-resizer::after { content: ''; position: sticky; top: 45vh; align-self: flex-start; flex: none; margin-left: -9px; width: 14px; height: 46px; border-radius: 7px; background-color: var(--bg); box-shadow: var(--up-sm); background-image: radial-gradient(var(--sub) 1.3px, transparent 1.6px); background-size: 5px 7px; background-position: center; }
        #panel-resizer:hover::before, #panel-resizer:focus-visible::before, #panel-resizer.drag::before { opacity: 1; background: var(--c4); }
        body.resizing { cursor: col-resize; user-select: none; }
        body.resizing .mplayer { pointer-events: none; }

        .panel { border-radius: 26px; background: var(--bg); box-shadow: var(--up); padding: 22px; display: flex; flex-direction: column; gap: 20px; }
        .sec-title { font-size: 15px; font-weight: 300; margin: 0 0 4px; }
        /* 왼쪽 메뉴 번호: 보이는 항목만 차례로 센다 */
        .panel { counter-reset: mnum; }
        .mnum::before { counter-increment: mnum; content: counter(mnum) ". "; color: var(--c1); font-weight: 800; }
        .sec-title b { font-weight: 800; }
        .hint { font-size: 11.5px; color: var(--sub); margin: 0; }
        .field { display: flex; flex-direction: column; gap: 7px; }
        .field > label, .lbl { font-size: 12px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
        .lbl small { font-weight: 500; color: var(--sub); }
        .inp {
            width: 100%; padding: 11px 14px; border-radius: 14px; border: 0; outline: 0;
            background: var(--bg); box-shadow: var(--in); font-size: 13px;
        }
        .inp::placeholder { color: #a4adbc; }
        .inp:focus { box-shadow: var(--in), 0 0 0 2px rgba(58, 160, 232, .45); }
        textarea.inp { resize: none; }
        select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
        .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .key-row { display: flex; gap: 8px; }
        .key-row .inp { flex: 1; min-width: 0; }
        .chk { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: 11.5px; line-height: 1.5; font-weight: 600; }
        .chk.ok { color: #12a37a; }
        .chk.bad { color: #e5484d; }
        .chk i { margin-top: 3px; }

        details.api { border-radius: 20px; box-shadow: var(--in); padding: 14px 16px; }
        details.api summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; }
        details.api summary::-webkit-details-marker { display: none; }
        details.api[open] summary { margin-bottom: 14px; }
        .api-body { display: flex; flex-direction: column; gap: 14px; }
        .stat { display: inline-flex; gap: 6px; }
        .pill { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg); box-shadow: var(--up-sm); color: var(--sub); }
        .pill.ok { color: var(--c3); }
        .check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); cursor: pointer; }
        .check input { accent-color: var(--c3); width: 15px; height: 15px; }

        .chips { display: flex; flex-wrap: wrap; gap: 8px; }
        .chip-btn { font-size: 11.5px; padding: 6px 12px; border-radius: 999px; box-shadow: var(--up-sm); color: var(--sub); font-weight: 500; }
        .chip-btn:active { box-shadow: var(--in); }

        input[type=range] { width: 100%; accent-color: var(--c1); }
        .ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--sub); padding: 0 3px; }

        .seg.full { display: flex; }
        .seg.full button { flex: 1; justify-content: center; padding: 8px 6px; font-size: 12.5px; }
        .optgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .opt { padding: 10px 8px; border-radius: 14px; box-shadow: var(--up-sm); text-align: center; line-height: 1.25; }
        .opt b { display: block; font-size: 17px; font-weight: inherit; }
        .opt small { display: block; font-family: 'Noto Sans KR', sans-serif; font-size: 10.5px; font-weight: 500; color: var(--sub); margin-top: 3px; }
        .opt.on { box-shadow: var(--in), 0 0 0 2px var(--c4); }
        .palettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
        .pal { padding: 8px; border-radius: 14px; box-shadow: var(--up-sm); display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
        .pal .strip { display: flex; height: 18px; border-radius: 9px; overflow: hidden; }
        .pal .strip i { flex: 1; display: block; }
        .pal small { font-size: 10.5px; font-weight: 700; color: var(--sub); }
        .pal.on { box-shadow: var(--in), 0 0 0 2px var(--c4); }
        .swatches { display: flex; gap: 12px; }
        .swatch { width: 38px; height: 38px; border-radius: 50%; box-shadow: var(--up-sm); display: flex; align-items: center; justify-content: center; padding: 0; }
        .swatch span { width: 24px; height: 24px; border-radius: 50%; display: block; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .12); }
        .swatch.on { box-shadow: var(--in), 0 0 0 2px var(--c4); }

        .tip { border-radius: 18px; box-shadow: var(--in); padding: 13px 15px; font-size: 11.5px; color: var(--sub); }
        .tip p { margin: 0 0 4px; }
        .tip p:first-child { font-weight: 700; color: var(--ink); }
        .tip p:last-child { margin: 0; }

        /* compact left panel */
        [hidden] { display: none !important; }
        .panel { padding: 18px; gap: 13px; }
        .optgrid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
        .opt { padding: 8px 2px; border-radius: 12px; }
        .opt b { font-size: 13.5px; white-space: nowrap; }
        .palettes { grid-template-columns: repeat(6, 1fr); gap: 8px; }
        .pal { padding: 7px; border-radius: 12px; }
        .pal .strip { height: 16px; }
        .swatches { gap: 9px; }
        .swatch { width: 32px; height: 32px; }
        .swatch span { width: 20px; height: 20px; }
        .profile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
        .profile-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 6px; }
        .profile-row label { font-size: 12px; font-weight: 700; }
        .profile.event { grid-template-columns: 1fr; margin-top: 8px; }
        .markrow { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
        .logo-thumb { display: block; height: 30px; min-width: 30px; max-width: 150px; border-radius: 6px; background: #fff center / contain no-repeat; box-shadow: 0 0 0 1px rgba(20, 30, 60, .12); }
        .profile-row .inp { padding: 8px 10px; font-size: 12px; }
        .source-row { display: flex; align-items: center; gap: 8px; }
        .source-row .btn { padding: 7px 11px; font-size: 12px; }
        .source-name { flex: 1; min-width: 0; font-size: 11.5px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .source-name.on { color: var(--c3); font-weight: 700; }
        .btn.icon.sm { width: 28px; height: 28px; font-size: 11px; flex: none; }
        .toolbar { border-radius: 18px; box-shadow: var(--up-sm); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 12px; }
        .tgroup { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .tgroup > span { color: var(--sub); font-weight: 700; white-space: nowrap; }
        .tgroup .btn { padding: 7px 11px; font-size: 12px; }
        .history .hbtns { display: flex; gap: 8px; flex-wrap: wrap; }
        .history .hbtns .btn { padding: 7px 11px; font-size: 12px; }

        /* ===== Preview ===== */
        .preview { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
        .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
        .bar .left { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sub); text-transform: uppercase; }
        .bar .right { display: flex; gap: 10px; flex-wrap: wrap; }
        .stage-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
        #stage { flex: 1; display: flex; justify-content: center; min-width: 0; }
        .frame { position: relative; overflow: hidden; width: 100%; border-radius: 22px; box-shadow: var(--up); background: var(--bg); }
        .frame.card { aspect-ratio: 4 / 5; max-width: 440px; }
        .frame.slide { aspect-ratio: 16 / 9; max-width: 860px; }
        /* 모션 그래픽: Remotion Player가 들어가는 틀 */
        .mplayer { position: relative; overflow: hidden; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: var(--up); background: var(--bg); }
        /* 모션 그래픽 전용 그림 (.art.mo): 움직이는 배경 + 장면별 배치 + 도식 11종 */
        .art.mo { display: block; width: 432px; height: 540px; padding: 0; background: var(--bg); color: var(--ink); }
        .mo-bg { position: absolute; inset: 0; overflow: hidden; }
        .mo-orb { position: absolute; display: block; border-radius: 50%; background: radial-gradient(circle at 38% 38%, var(--oc) 0, transparent 68%); }
        .mo-grid { position: absolute; inset: -44px; background-image: radial-gradient(var(--sub) 1px, transparent 1.5px); background-size: 22px 22px; opacity: .2; }
        .mo-pt { position: absolute; display: block; }
        .mo-pt.k0 { border-radius: 50%; background: var(--pc); }
        .mo-pt.k1 { border-radius: 50%; border: 2.5px solid var(--pc); }
        .mo-pt.k2 { border-radius: 3px; background: var(--pc); }
        .mo-pt.k3 { background: linear-gradient(var(--pc), var(--pc)) center / 100% 3px no-repeat, linear-gradient(var(--pc), var(--pc)) center / 3px 100% no-repeat; }
        .mo-prog { position: absolute; left: 22px; right: 22px; top: 14px; display: flex; gap: 4px; z-index: 3; }
        .mo-prog > i { flex: 1; height: 3px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 15%, transparent); }
        .mo-prog b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--c1), var(--c2)); }
        .mo-top { position: absolute; left: 24px; right: 24px; top: 28px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
        .mo-chip { font-size: 10.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; color: #fff; background: linear-gradient(110deg, var(--c1), var(--c2)); box-shadow: 0 6px 14px color-mix(in srgb, var(--c1) 36%, transparent); }
        .mo-no { font-size: 11px; font-weight: 700; color: var(--sub); }
        .mo-no b { font-family: var(--tf); font-size: 22px; color: var(--ink); margin-right: 2px; }
        .mo-body { position: absolute; left: 26px; right: 26px; top: 66px; bottom: 42px; display: flex; flex-direction: column; z-index: 2; }
        .mo-foot { position: absolute; left: 26px; right: 26px; bottom: 15px; display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 600; color: var(--sub); z-index: 3; }
        .mo-kicker { font-size: 15px; font-weight: 500; color: var(--sub); }
        .mo-title { margin: 2px 0 0; font-family: var(--tf); font-weight: var(--tw); font-size: 25px; line-height: 1.24; letter-spacing: -.02em; }
        .mo-title.big { font-size: 35px; }
        .mo-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0 .1em; margin-right: .24em; }
        .mo-title .w > span { display: inline-block; }
        .mo-line { display: block; width: 88px; height: 5px; border-radius: 3px; margin: 11px 0; background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3)); transform-origin: 0 50%; }
        .mo-text { margin: 0; font-size: 13px; line-height: 1.62; color: color-mix(in srgb, var(--ink) 86%, transparent); white-space: pre-line; }
        .mo-li { display: flex; gap: 8px; padding: 8px 12px; margin-top: 7px; border-radius: 12px; font-size: 12.5px; font-weight: 600; line-height: 1.45; background: color-mix(in srgb, var(--hi) 78%, transparent); border-left: 3.5px solid var(--kc); box-shadow: 0 6px 14px rgba(20, 30, 60, .08); }
        .mo-glass { background: color-mix(in srgb, var(--hi) 80%, transparent); box-shadow: 0 8px 18px rgba(20, 30, 60, .09); }
        /* 표지 */
        .mo-hero { position: relative; flex: none; width: 236px; height: 188px; margin: 2px auto 14px; }
        .mo-hero .spin { position: absolute; inset: -16px -4px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--c3) 65%, transparent); }
        .mo-hero .img { position: absolute; inset: 0; overflow: hidden; border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; box-shadow: 0 18px 34px color-mix(in srgb, var(--c1) 32%, transparent); }
        .mo-pic { position: absolute; inset: -7%; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; color: #fff; font-size: 62px; }
        .mo-badge { position: absolute; right: 2px; bottom: 0; width: 50px; height: 50px; border-radius: 17px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--c2), var(--c1)); box-shadow: 0 10px 20px color-mix(in srgb, var(--c1) 42%, transparent); }
        /* 본문 장: 위 띠 · 아래 기울인 띠 · 전면 사진 */
        .mo-band { position: relative; flex: none; height: 178px; overflow: hidden; border-radius: 26px; box-shadow: 0 16px 30px rgba(20, 30, 60, .16); }
        .mo-band.top { margin-bottom: 14px; }
        .mo-band.tilt { margin-top: auto; height: 160px; border-radius: 26px 26px 26px 90px; }
        .mo-band .mo-badge { right: 12px; bottom: 12px; width: 44px; height: 44px; font-size: 18px; }
        .mo-full { position: absolute; left: -26px; right: -26px; top: -66px; bottom: -42px; overflow: hidden; }
        .mo-full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent) 0, color-mix(in srgb, var(--bg) 10%, transparent) 38%, color-mix(in srgb, var(--bg) 92%, transparent) 78%); }
        .mo-card { position: relative; margin-top: auto; padding: 16px 18px 18px; border-radius: 22px; background: color-mix(in srgb, var(--hi) 88%, transparent); box-shadow: 0 18px 36px rgba(20, 30, 60, .2); border-top: 4px solid var(--c1); }
        /* 도식 장 */
        .mo-hd { display: flex; gap: 12px; align-items: center; flex: none; margin-bottom: 10px; }
        .mo-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 18px color-mix(in srgb, var(--c1) 40%, transparent); }
        .mo-hd .mo-kicker { font-size: 12px; }
        .mo-hd .mo-title { font-size: 21px; margin: 0; }
        .mi { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
        .mi b { display: block; font-size: 13px; font-weight: 800; line-height: 1.3; }
        .mi .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 11px; line-height: 1.42; color: var(--sub); }
        .mi-list { position: relative; display: flex; flex-direction: column; gap: 8px; }
        .mi-row { position: relative; display: flex; gap: 11px; align-items: center; }
        .mi-row > .tx { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 13px; }
        .mi .nd { position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12.5px; font-weight: 800; background: linear-gradient(135deg, var(--kc), var(--kc2)); box-shadow: 0 0 0 4px var(--bg), 0 8px 14px color-mix(in srgb, var(--kc) 40%, transparent); }
        .mi .rail { position: absolute; left: 14.5px; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: linear-gradient(var(--c1), var(--c2), var(--c3)); transform-origin: 50% 0; }
        .mi .when { display: inline-block; margin-bottom: 2px; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; color: #fff; background: var(--kc); }
        .mi .nd.sq { border-radius: 10px; }
        .mi-bar .top { display: flex; align-items: center; gap: 7px; }
        .mi-bar .rk { flex: none; width: 19px; height: 19px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--kc); }
        .mi-bar .trk { height: 13px; margin: 4px 0 2px; border-radius: 7px; overflow: hidden; background: color-mix(in srgb, var(--ink) 10%, transparent); }
        .mi-bar .trk i { display: block; width: 0; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--kc), var(--kc2)); }
        .mi-stats { display: grid; gap: 10px; align-content: center; flex-direction: unset; }
        .mi-stat { padding: 10px 6px 9px; border-radius: 17px; text-align: center; }
        .mi-stat .g { position: relative; width: 78px; height: 78px; margin: 0 auto 5px; }
        .mi-stat svg { position: absolute; inset: 0; width: 100%; height: 100%; }
        .mi-stat .v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--tf); font-weight: var(--tw); font-size: 17px; color: var(--kc); letter-spacing: -.02em; }
        .mi-stat b { font-size: 12px; }
        .mi-stat .t { font-size: 10px; }
        .mi-side { padding: 12px 14px 13px; border-radius: 18px; border-top: 4px solid var(--kc); }
        .mi-side .sh { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
        .mi-side .si { flex: none; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--kc), var(--kc2)); }
        .mi-side b { font-size: 15px; color: var(--kc); }
        .mi-side .t { -webkit-line-clamp: 3; font-size: 11.5px; color: var(--ink); }
        .mi-vs { align-self: center; z-index: 2; flex: none; width: 44px; height: 44px; margin: -14px 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c3)); box-shadow: 0 0 0 4px var(--bg), 0 10px 18px color-mix(in srgb, var(--c1) 40%, transparent); }
        .mi-cyc { position: relative; flex: none; width: 320px; height: 318px; margin: 0 auto; }
        .mi-cyc svg { position: absolute; left: 50px; top: 49px; width: 220px; height: 220px; }
        .mi-cyc .core { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 24px color-mix(in srgb, var(--c1) 40%, transparent); }
        .mi-cyc .cn { position: absolute; width: 112px; margin: -30px 0 0 -56px; padding: 7px 8px; border-radius: 13px; text-align: center; border-top: 3px solid var(--kc); }
        .mi-cyc .cn b { font-size: 12px; }
        .mi-cyc .cn .t { font-size: 9.5px; }
        .mi-pyr { align-items: center; gap: 6px; }
        .mi-tier { padding: 8px 12px 9px; border-radius: 12px; text-align: center; color: #fff; background: linear-gradient(110deg, var(--kc), var(--kc2)); box-shadow: 0 8px 16px color-mix(in srgb, var(--kc) 34%, transparent); }
        .mi-tier .t { color: rgba(255, 255, 255, .9); -webkit-line-clamp: 1; }
        .mi-tr { display: grid; grid-template-columns: 92px 74px 1fr; gap: 8px; align-items: center; padding: 8px 11px; border-radius: 12px; }
        .mi-tr.h { padding: 6px 11px; font-size: 10.5px; font-weight: 800; color: #fff; background: linear-gradient(110deg, var(--c1), var(--c2)); }
        .mi-tr b { font-size: 12px; }
        .mi-tr .tv { justify-self: start; max-width: 100%; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--kc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .mi-q { align-self: flex-start; max-width: 88%; padding: 8px 13px; border-radius: 15px 15px 15px 4px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: #fff; background: linear-gradient(110deg, var(--kc), var(--kc2)); box-shadow: 0 8px 16px color-mix(in srgb, var(--kc) 32%, transparent); }
        .mi-a { align-self: flex-end; max-width: 90%; margin-bottom: 4px; padding: 8px 13px; border-radius: 15px 15px 4px 15px; font-size: 11.5px; line-height: 1.5; }
        .mi-grp { padding: 9px 12px 10px; border-radius: 16px; background: var(--tint); border: 1.5px solid color-mix(in srgb, var(--kc) 45%, transparent); }
        .mi-grp .gh { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 5px; padding: 2px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--kc); }
        .mi-dd { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; }
        .mi-dd .mk { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9.5px; color: #fff; background: var(--kc); }
        .mi-dd b { font-size: 12px; color: #1d2740; }
        .mi-dd .t { -webkit-line-clamp: 1; font-size: 10.5px; color: #5b6680; }
        /* 마무리 */
        .mo-close { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
        .mo-ringbig { position: relative; width: 300px; height: 300px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--hi) 86%, transparent); box-shadow: 0 20px 40px rgba(20, 30, 60, .16); }
        .mo-ringbig .sp { position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(var(--c1), var(--c2), var(--c3), var(--c4), var(--c1)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
        .mo-ringbig .in { position: relative; width: 232px; }
        .mo-ringbig .mo-line { margin: 10px auto; transform-origin: 50% 50%; }
        .mo-ringbig .mo-text { font-size: 12px; }
        .mo-cta { margin-top: 18px; padding: 9px 22px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(110deg, var(--c1), var(--c2)); box-shadow: 0 12px 22px color-mix(in srgb, var(--c1) 40%, transparent); }
        .mo-burst { position: absolute; left: 50%; top: 44%; width: 0; height: 0; }
        .mo-burst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
        /* 모션 그래픽: 시각 장식 (큰 번호, 빛줄기, 물결, 반짝임, 퍼지는 고리, 훑는 빛) */
        .mo-ghost { position: absolute; right: -10px; bottom: 24px; font-family: var(--tf); font-weight: 900; font-size: 250px; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--c1) 26%, transparent); }
        .mo-beam { position: absolute; top: -30%; left: 0; width: 34%; height: 160%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hi) 60%, transparent), transparent); rotate: 18deg; }
        .mo-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 86px; }
        .mo-star { position: absolute; display: block; width: 14px; height: 14px; background: var(--pc); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
        .mo-rip { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--c1); pointer-events: none; }
        .mo-ic, .mo-badge { position: relative; }
        .mo-badge { position: absolute; }
        .mo-chip { position: relative; overflow: hidden; }
        .mo-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); }
        .mo-mark { display: inline; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c2) 45%, transparent) 62%); }
        /* 모션 그래픽: 슬라이드(16:9) 배치 */
        .art.mo.wide { width: 960px; height: 540px; }
        .mo.wide .mo-prog { left: 40px; right: 40px; top: 18px; }
        .mo.wide .mo-top { left: 42px; right: 42px; top: 32px; }
        /* 주제: 쪽번호 바로 왼쪽. 줄이지 않고, 길면 줄을 바꿔 모두 보여 준다 */
        .mo-top { gap: 10px; }
        .mo-top > .mo-chip, .mo-top > .mo-no { flex: none; }
        .mo-topic { flex: 1; min-width: 0; text-align: right; font-size: 9px; font-weight: 600; line-height: 1.3; color: var(--sub); word-break: keep-all; overflow-wrap: anywhere; }
        .mo.wide .mo-topic { font-size: 11px; }
        .mo.wide .mo-chip { font-size: 12.5px; padding: 6px 15px; }
        .mo.wide .mo-no b { font-size: 26px; }
        .mo.wide .mo-body { left: 46px; right: 46px; top: 76px; bottom: 46px; }
        .mo.wide .mo-foot { left: 46px; right: 46px; font-size: 11px; }
        .mo.wide .mo-kicker { font-size: 19px; }
        .mo.wide .mo-title { font-size: 31px; }
        .mo.wide .mo-title.big { font-size: 50px; }
        .mo.wide .mo-line { width: 120px; height: 6px; margin: 14px 0; }
        .mo.wide .mo-text { font-size: 16px; }
        .mo.wide .mo-li { font-size: 15px; padding: 10px 15px; margin-top: 9px; }
        .mo.wide .mo-ghost { font-size: 330px; right: 10px; bottom: 10px; }
        .mo-split { flex: 1; min-height: 0; display: flex; align-items: center; gap: 40px; }
        .mo-col { flex: 1; min-width: 0; }
        .mo.wide .mo-hero { width: 370px; height: 296px; margin: 0 16px 0 0; }
        .mo.wide .mo-pic { font-size: 96px; }
        .mo.wide .mo-badge { width: 60px; height: 60px; font-size: 24px; border-radius: 20px; }
        .mo-band.side { flex: none; width: 41%; height: 92%; margin: 0; }
        .mo-band.side.tilt { border-radius: 30px 30px 30px 120px; }
        .mo.wide .mo-card { max-width: 58%; padding: 22px 26px 24px; }
        .mo.wide .mo-full { left: -46px; right: -46px; top: -76px; bottom: -46px; }
        .mo.wide .mo-full::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0, color-mix(in srgb, var(--bg) 40%, transparent) 52%, color-mix(in srgb, var(--bg) 6%, transparent) 100%); }
        .mo.wide .mo-hd { margin-bottom: 14px; gap: 15px; }
        .mo.wide .mo-ic { width: 56px; height: 56px; font-size: 23px; border-radius: 18px; }
        .mo.wide .mo-hd .mo-kicker { font-size: 14px; }
        .mo.wide .mo-hd .mo-title { font-size: 28px; }
        .mo.wide .mi { gap: 11px; }
        .mo.wide .mi b { font-size: 16px; }
        .mo.wide .mi .t { font-size: 13px; -webkit-line-clamp: 5; }
        .mo.wide .mi-list { flex-direction: row; gap: 14px; align-items: stretch; }
        .mo.wide .mi-row { flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
        .mo.wide .mi-row > .tx { flex: 1; width: 100%; padding: 14px 15px; border-radius: 16px; border-top: 3px solid var(--kc); }
        .mo.wide .mi .nd { width: 42px; height: 42px; font-size: 16px; margin-left: 4px; }
        .mo.wide .mi .rail { left: 24px; right: 24px; top: 19.5px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3)); transform-origin: 0 50%; }
        .mo.wide .mi .when { font-size: 11.5px; margin-bottom: 4px; }
        .mo.wide .mi-bar .trk { height: 17px; border-radius: 9px; }
        .mo.wide .mi-bar .trk i { border-radius: 9px; }
        .mo.wide .mi-bar .rk { width: 23px; height: 23px; font-size: 12px; }
        .mo.wide .mi-stats { gap: 16px; }
        .mo.wide .mi-stat { padding: 18px 10px 16px; }
        .mo.wide .mi-stat .g { width: 112px; height: 112px; margin-bottom: 9px; }
        .mo.wide .mi-stat .v { font-size: 24px; }
        .mo.wide .mi-stat b { font-size: 15px; }
        .mo.wide .mi-stat .t { font-size: 12px; }
        .mo.wide .mi.cmp { flex-direction: row; align-items: stretch; justify-content: center; gap: 0; }
        .mo.wide .mi-side { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
        .mo.wide .mi-side b { font-size: 21px; }
        .mo.wide .mi-side .si { width: 38px; height: 38px; font-size: 16px; border-radius: 12px; }
        .mo.wide .mi-side .t { font-size: 14.5px; -webkit-line-clamp: 5; }
        .mo.wide .mi-vs { margin: 0 -16px; width: 54px; height: 54px; font-size: 16px; }
        .mo.wide .mi-cyc { scale: 1.14; }
        .mo.wide .mi-pyr { gap: 8px; }
        .mo.wide .mi-tier { padding: 11px 16px 12px; }
        .mo.wide .mi-tr { grid-template-columns: 170px 130px 1fr; padding: 11px 16px; }
        .mo.wide .mi-tr.h { font-size: 12.5px; padding: 8px 16px; }
        .mo.wide .mi-tr b { font-size: 15px; }
        .mo.wide .mi-tr .tv { font-size: 12.5px; padding: 3px 11px; }
        .mo.wide .mi-q { font-size: 15.5px; padding: 11px 17px; max-width: 70%; }
        .mo.wide .mi-a { font-size: 14px; padding: 11px 17px; max-width: 72%; }
        .mo.wide .mi.dd { flex-direction: row; align-items: stretch; gap: 16px; }
        .mo.wide .mi-grp { flex: 1; padding: 16px 18px; }
        .mo.wide .mi-grp .gh { font-size: 12.5px; }
        .mo.wide .mi-dd b { font-size: 15px; }
        .mo.wide .mi-dd .t { font-size: 12.5px; -webkit-line-clamp: 2; }
        .mo.wide .mi-dd { margin-top: 9px; }
        .mo.wide .mo-ringbig { width: 330px; height: 330px; }
        .mo.wide .mo-ringbig .in { width: 256px; }
        .mo.wide .mo-cta { margin-top: 14px; }
        .mplayer.wide { max-width: 860px; aspect-ratio: 16 / 9; }
        /* 모션 그래픽: 글 정보 (도식 소개 문장, 핵심 한 줄, 표지 슬로건) */
        .mo-lead { flex: none; margin: 0 0 9px; padding: 1px 0 1px 10px; border-left: 3px solid var(--c1); font-size: 11.5px; line-height: 1.5; font-weight: 500; color: color-mix(in srgb, var(--ink) 82%, transparent); }
        .mo-note { flex: none; display: flex; gap: 8px; align-items: flex-start; margin-top: 9px; padding: 8px 12px; border-radius: 12px; font-size: 11.5px; font-weight: 700; line-height: 1.45; background: linear-gradient(110deg, color-mix(in srgb, var(--c1) 15%, var(--hi)), var(--hi)); border: 1.5px dashed color-mix(in srgb, var(--c1) 55%, transparent); }
        .mo-note > i { flex: none; margin-top: 2px; color: var(--c1); }
        .mo-slogan { align-self: flex-start; display: inline-block; margin-top: 11px; padding: 7px 15px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(110deg, var(--c1), var(--c3)); box-shadow: 0 10px 20px color-mix(in srgb, var(--c1) 34%, transparent); }
        .mo-ringbig .mo-note { margin-top: 8px; padding: 0; border: 0; background: none; justify-content: center; font-size: 11px; color: var(--c1); }
        .mo:not(.wide) .mo-band.top { flex: 1 1 100px; min-height: 84px; max-height: 150px; height: auto; }
        .mo:not(.wide) .mo-band.tilt { flex: 1 1 90px; min-height: 80px; max-height: 160px; height: auto; margin-top: 12px; }
        .mo:not(.wide) .mi-cyc { scale: .86; margin: -22px auto; }
        .mo:not(.wide) .mi-stat { padding: 8px 6px 7px; }
        .mo:not(.wide) .mi-stat .g { width: 66px; height: 66px; margin-bottom: 3px; }
        .mo:not(.wide) .mi-stat .v { font-size: 15px; }
        .mo.wide .mo-lead { font-size: 14.5px; margin-bottom: 12px; padding-left: 13px; }
        .mo.wide .mo-note { font-size: 14px; padding: 10px 16px; margin-top: 12px; }
        .mo.wide .mo-slogan { font-size: 15px; padding: 9px 20px; margin-top: 16px; }
        .mo.wide .mo-ringbig .mo-note { font-size: 12.5px; }
        .mload { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; font-size: 13px; font-weight: 600; color: var(--sub); }
        #thumbs { display: flex; gap: 14px; overflow-x: auto; padding: 10px 6px 16px; }
        #thumbs .frame { flex: none; border-radius: 12px; box-shadow: var(--up-sm); cursor: pointer; }
        #thumbs .frame.card { width: 92px; }
        #thumbs .frame.slide { width: 160px; }
        #thumbs .frame.on { box-shadow: var(--up-sm), 0 0 0 2.5px var(--c4); }
        .kwbar { border-radius: 18px; box-shadow: var(--up-sm); padding: 10px 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
        .kwbar .inp { flex: 1; min-width: 180px; padding: 9px 12px; font-size: 12px; }
        .kwbar > span { color: var(--sub); font-weight: 700; white-space: nowrap; }

        .history { border-radius: 22px; box-shadow: var(--up); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
        .history .hhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
        .history .hhead .sec-title { margin: 0; display: flex; align-items: center; gap: 10px; }
        .history .hwrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--in); padding: 4px 12px; max-height: 340px; overflow-y: auto; }
        .history table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 850px; }
        .history th { text-align: left; font-size: 11px; font-weight: 700; color: var(--sub); padding: 10px 8px; white-space: nowrap; position: sticky; top: 0; background: var(--bg); }
        .history td { padding: 9px 8px; border-top: 1px solid var(--lo); vertical-align: middle; white-space: nowrap; }
        .history td.topic { white-space: nowrap; min-width: 180px; font-weight: 700; }
        .history tr.current td.topic { color: var(--c4); }
        .history td.acts { text-align: right; }
        .history td.acts .btn { padding: 6px 10px; font-size: 11.5px; border-radius: 10px; margin-left: 6px; }
        .history .kind { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; box-shadow: var(--up-sm); }
        .history .kind.card { color: var(--c1); }
        .history .kind.slide { color: var(--c4); }
        .history .kind.motion { color: var(--c2); }
        .history .empty { padding: 18px 8px; text-align: center; color: var(--sub); font-size: 12.5px; }
        .history td.topic .inp { padding: 7px 10px; font-size: 12.5px; }
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-thumb { background: var(--lo); border-radius: 4px; }

        /* ===== Modal / toast ===== */
        #grid-modal { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: none; flex-direction: column; }
        #grid-modal.open { display: flex; }
        #grid-modal .mhead { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; box-shadow: 0 6px 14px -8px var(--lo); }
        #grid-modal .mbody { flex: 1; overflow-y: auto; padding: 26px 22px; }
        #grid-cards { max-width: 1280px; margin: 0 auto; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
        #grid-cards.slide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
        #grid-cards .frame { cursor: pointer; max-width: none; border-radius: 16px; }
        #toasts { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
        /* 확인 창 (브라우저 기본 confirm은 미리보기 창 등에서 뜨지 않을 수 있어 직접 그린다) */
        /* 히스토리에서 영상을 만드는 동안 화면을 덮는 진행 창 (그동안 다른 조작으로 작업이 섞이지 않게) */
        #busy-layer { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: rgba(30, 42, 68, .45); padding: 20px; }
        #busy-layer.open { display: flex; }
        #busy-box { width: min(400px, 100%); border-radius: 22px; background: var(--bg); box-shadow: var(--up), 0 24px 50px rgba(30, 42, 68, .25); padding: 24px 22px 20px; text-align: center; }
        #busy-title { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
        #busy-box .hint { margin: 0 0 16px; }
        #busy-btn { min-width: 190px; justify-content: center; }
        #confirm-layer { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(30, 42, 68, .35); padding: 20px; }
        #confirm-layer.open { display: flex; }
        #confirm-box { width: min(380px, 100%); border-radius: 22px; background: var(--bg); box-shadow: var(--up), 0 24px 50px rgba(30, 42, 68, .25); padding: 22px 22px 18px; }
        #confirm-msg { margin: 0 0 18px; font-size: 14px; line-height: 1.65; font-weight: 500; }
        #confirm-box .acts { display: flex; justify-content: flex-end; gap: 10px; }
        #confirm-ok { color: #fff; background: linear-gradient(120deg, var(--c1), var(--c2)); }
        .toast { padding: 12px 16px; border-radius: 14px; background: var(--bg); box-shadow: var(--up); font-size: 12.5px; border-left: 4px solid var(--c4); }
        .toast.error { border-color: var(--c1); }
        .toast.warn { border-color: var(--c2); }
        .toast.ok { border-color: var(--c3); }
        .spinner { border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; width: 16px; height: 16px; animation: spin .8s linear infinite; display: inline-block; }
        .btn:not(.primary) .spinner { border-color: var(--lo); border-top-color: var(--c1); }
        @keyframes spin { to { transform: rotate(360deg); } }
        #export-host { position: fixed; left: -20000px; top: 0; width: 960px; height: 540px; pointer-events: none; }

        footer.site { padding: 22px 20px 28px; text-align: center; font-size: 12px; color: var(--sub); box-shadow: 0 -6px 14px -8px var(--lo); line-height: 1.9; }
        footer.site a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--lo); }
        footer.site a:hover { color: var(--c4); }

        /* ===== Artwork (카드 432x540 / 슬라이드 960x540 고정 좌표, 화면에서는 scale) ===== */
        .art { position: absolute; top: 0; left: 0; transform-origin: 0 0; overflow: hidden; display: flex; flex-direction: column; background: var(--a-bg); color: var(--a-ink); line-height: 1.5; word-break: keep-all; }
        .art.card { width: 432px; height: 540px; padding: 28px 32px 24px; }
        .art.slide { width: 960px; height: 540px; padding: 42px 60px 30px; }
        .art [contenteditable] { outline: 0; border-radius: 6px; transition: box-shadow .15s; cursor: text; }
        .art [contenteditable]:hover { box-shadow: 0 0 0 1.5px var(--a-lo); }
        .art [contenteditable]:focus { box-shadow: 0 0 0 2px #3aa0e8; }
        /* PPT용 배경: 도형은 남기고 글자만 숨김 */
        .art.notext :is(.a-chip, .a-num, .a-pt, .a-vs) { color: transparent !important; }
        .art.notext :is(.a-note > span, .a-kicker, .a-title, .a-body, .a-topic-text, .a-brand > span, .a-foot > span:last-child, b, .t, .v, .a-tv) { visibility: hidden !important; }
        .a-head { display: flex; align-items: center; justify-content: space-between; flex: none; position: relative; z-index: 2; }
        .a-chip { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; background: var(--a-bg); color: var(--a-sub); box-shadow: 3px 3px 7px var(--a-lo), -3px -3px 7px var(--a-hi); }
        .a-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--a-bg); box-shadow: 4px 4px 9px var(--a-lo), -4px -4px 9px var(--a-hi); }
        .a-dots { display: flex; gap: 5px; margin: 12px 0; }
        .a-dots i { width: 7px; height: 7px; border-radius: 2px; display: block; }
        .a-kicker { font-weight: 300; line-height: 1.22; letter-spacing: -.01em; }
        .a-title { font-family: var(--a-tfont); font-weight: var(--a-tw); line-height: 1.22; letter-spacing: -.02em; }
        .a-body { color: var(--a-sub); white-space: pre-line; margin: 0; }
        .a-note { display: flex; gap: 8px; align-items: flex-start; flex: none; border-radius: 14px; font-weight: 700; color: var(--a-ink); background: var(--a-bg); box-shadow: inset 3px 3px 7px var(--a-lo), inset -3px -3px 7px var(--a-hi); }
        .a-note > i { flex: none; margin-top: .2em; }
        .a-note > span { min-width: 0; }
        .card .a-note { margin-top: 12px; padding: 9px 13px; font-size: 11.5px; line-height: 1.5; }
        .slide .a-note { margin-top: 16px; padding: 11px 16px; font-size: 13px; line-height: 1.55; max-width: 400px; }
        .card .a-main > .a-note, .slide .a-main > .a-note { margin-top: 0; max-width: none; }
        .slide .a-main.pts > .a-note { align-self: center; max-width: 780px; }
        .a-ring .a-note { margin-top: 10px; padding: 0; background: none; box-shadow: none; justify-content: center; }
        .card .a-main:has(> .a-list, > .a-bars, > .a-stats, > .a-cmp) { gap: 14px; }
        .slide .a-main.pts { gap: 18px; }
        .slide .pts .a-body { max-width: 760px; margin-top: 10px; font-size: 14px; }
        /* 넘침을 잴 때만: 가운데 정렬을 풀어 넘친 높이가 그대로 드러나게 한다 */
        .art.measuring.card .a-main, .art.measuring .a-main.pts, .art.measuring .a-ring > div, .art.measuring .mi, .art.measuring .mo-close { justify-content: flex-start !important; }
        .art.measuring.slide .a-main:not(.pts), .art.measuring .mo-split { align-items: flex-start !important; }
        .art.measuring .mi, .art.measuring .mo-split, .art.measuring .mo-close { flex: none !important; }
        .art.measuring .mo-full { display: none !important; }
        .a-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex: none; font-size: 9px; letter-spacing: .2em; color: var(--a-sub); text-transform: uppercase; position: relative; z-index: 2; }
        .a-foot .a-brand { display: flex; flex-direction: column; align-items: stretch; text-align: left; letter-spacing: .04em; font-size: 9.5px; font-weight: 500; line-height: 1.5; text-transform: none; min-width: 0; }
        .a-foot .a-brand-line { display: block; width: 100%; height: 1.5px; border-radius: 1px; margin-top: 5px; }
        .a-foot .a-brand .a-event { font-size: .94em; opacity: .9; }
        /* 로고(소속 표기 왼쪽) · QR(마지막 장 하단 오른쪽) */
        .a-foot .a-brandbox { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
        .a-foot .a-logo { display: block; flex: none; height: 2.9em; background: left bottom / contain no-repeat; }
        .a-foot .a-qr { display: block; flex: none; width: 5.4em; height: 5.4em; margin-left: auto; border-radius: 4px; background: #fff center / contain no-repeat; }
        .mo-foot { align-items: flex-end; }
        .mo-logo { display: inline-block; height: 2.3em; margin-right: 7px; vertical-align: bottom; background: left bottom / contain no-repeat; }
        .mo-qr { position: absolute; right: 26px; bottom: 36px; width: 52px; height: 52px; z-index: 5; border-radius: 6px; background: #fff center / contain no-repeat; box-shadow: 0 4px 10px rgba(16, 20, 28, .18); }
        .mo.wide .mo-qr { right: 46px; bottom: 38px; width: 60px; height: 60px; }
        .art.mo.hasqr .mo-sub { right: 88px; }
        .art.mo.wide.hasqr .mo-sub { right: 122px; }
        .mo-foot > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 12px; }
        .mo-foot > span:last-child { flex: none; }
        .a-foot > span:last-child { flex: none; white-space: nowrap; }
        .a-main { flex: 1; display: flex; min-height: 0; position: relative; z-index: 2; }
        .a-text { display: flex; flex-direction: column; min-width: 0; }

        .a-blob { position: relative; flex: none; background: var(--a-bg); padding: 8px; box-shadow: 8px 8px 18px var(--a-lo), -8px -8px 18px var(--a-hi); }
        .a-blob .img { width: 100%; height: 100%; border-radius: inherit; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; }
        .s1 { border-radius: 62% 38% 46% 54% / 48% 56% 44% 52%; }
        .s2 { border-radius: 42% 58% 60% 40% / 55% 42% 58% 45%; }
        .s3 { border-radius: 55% 45% 38% 62% / 42% 60% 40% 58%; }
        .s4 { border-radius: 38% 62% 52% 48% / 60% 44% 56% 40%; }
        .a-badge { position: absolute; border-radius: 32%; display: flex; align-items: center; justify-content: center; color: #fff; }
        .a-bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
        .a-ring { padding: 11px; flex: none; }
        .a-ring > div { width: 100%; height: 100%; border-radius: inherit; background: var(--a-bg); display: flex; flex-direction: column; justify-content: center; }

        /* card */
        .card .a-main { flex-direction: column; justify-content: center; gap: 24px; padding: 14px 0; }
        .card .a-main.rev { flex-direction: column-reverse; }
        .card .a-blob { width: 100%; height: 214px; }
        .card .a-blob.mini { width: 150px; height: 132px; }
        .card .a-blob .img { font-size: 46px; }
        .card .a-badge { width: 52px; height: 52px; font-size: 20px; right: 26px; bottom: -12px; }
        .card .a-kicker { font-size: 22px; }
        .card .a-title { font-size: 27px; }
        .card .a-body { font-size: 13.5px; line-height: 1.65; }
        .card .a-list { display: flex; flex-direction: column; gap: 12px; }
        .card .a-row { display: flex; align-items: center; gap: 13px; padding: 10px 14px; border-radius: 18px; background: var(--a-bg); box-shadow: 4px 4px 10px var(--a-lo), -4px -4px 10px var(--a-hi); }
        .card .a-pt { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
        .card .a-row b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
        .card .a-row span.t { display: block; font-size: 11.5px; color: var(--a-sub); line-height: 1.4; }
        .card.d-high .a-blob:not(.mini) { height: 150px; }
        .card.d-high .a-main { gap: 20px; }
        .card.d-high .a-body { font-size: 12.5px; line-height: 1.6; }
        .card.d-high .a-kicker { font-size: 20px; }
        .card.d-high .a-title { font-size: 24px; }
        .slide.d-high .a-body { font-size: 14px; max-width: 470px; }
        .card.d-low .a-body { font-size: 14.5px; }
        .slide.d-low .a-body { font-size: 17px; }
        .card .a-main.close { align-items: center; }
        .card .a-ring { width: 336px; height: 322px; }
        .card .a-ring > div { padding: 0 44px; text-align: center; align-items: center; }
        .card .a-ring .a-kicker { font-size: 19px; }
        .card .a-ring .a-title { font-size: 23px; }
        .card .a-ring .a-body { font-size: 12px; }

        /* slide */
        .slide .a-topic { position: absolute; top: 24px; right: 60px; z-index: 3; max-width: 420px; display: flex; flex-direction: column; align-items: stretch; }
        .slide .a-topic-text { max-width: 100%; font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0; }
        .slide .a-topic-line { width: 100%; min-width: 64px; height: 3px; border-radius: 2px; margin-top: 7px; }
        .slide .a-topic-line.short { width: 38%; min-width: 28px; height: 3px; margin-top: 4px; margin-left: auto; opacity: .45; }
        .slide .a-main { align-items: center; gap: 48px; padding: 8px 0; }
        .slide .a-main.rev { flex-direction: row-reverse; }
        .slide .a-text { flex: 1; }
        .slide .a-chip { margin-bottom: 18px; }
        .slide .a-blob { width: 400px; height: 336px; }
        .slide .a-blob.mini { width: 250px; height: 220px; }
        .slide .a-blob .img { font-size: 76px; }
        .slide .a-badge { width: 66px; height: 66px; font-size: 26px; left: -14px; top: 44px; }
        .slide .rev .a-badge { left: auto; right: -14px; }
        .slide .a-kicker { font-size: 32px; }
        .slide .a-title { font-size: 36px; }
        .slide.cover .a-kicker { font-size: 40px; }
        .slide.cover .a-title { font-size: 46px; }
        .slide .a-body { font-size: 15px; line-height: 1.7; max-width: 400px; }
        .slide .a-dots { margin: 16px 0; }
        .slide .a-dots i { width: 8px; height: 8px; }
        .slide .a-main.pts { flex-direction: column; gap: 26px; justify-content: center; }
        .slide .pts .a-text { flex: none; align-items: center; text-align: center; }
        .slide .pts .a-kicker { font-size: 24px; }
        .slide .pts .a-title { font-size: 30px; }
        .slide .pts .a-dots { margin: 12px 0 0; }
        .slide .a-steps { display: flex; justify-content: center; align-items: flex-start; width: 100%; }
        .slide .a-step { flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
        .slide .a-step:nth-child(4n+3) { margin-top: 26px; }
        .slide .a-pt { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 26px; margin-bottom: 16px; }
        .slide .a-step b { font-size: 15px; font-weight: 800; line-height: 1.3; }
        .slide .a-step span.t { font-size: 12px; color: var(--a-sub); line-height: 1.5; margin-top: 4px; }
        .slide .a-arrow { flex: none; width: 26px; margin-top: 36px; text-align: center; font-size: 14px; color: var(--a-sub); opacity: .7; }
        .slide .a-main.close { justify-content: flex-start; }

        /* infographic: bars */
        .a-bars { display: flex; flex-direction: column; width: 100%; }
        .a-track { height: 16px; border-radius: 8px; background: var(--a-bg); box-shadow: inset 3px 3px 6px var(--a-lo), inset -3px -3px 6px var(--a-hi); overflow: hidden; }
        .a-fill { height: 100%; border-radius: 8px; }
        .a-bar .t, .a-stat .t, .a-side .t, .a-tl-item .t { color: var(--a-sub); }
        .a-bar b, .a-stat b, .a-side b, .a-tl-item b { font-weight: 800; line-height: 1.3; }
        .slide .a-bars { gap: 20px; max-width: 780px; }
        .slide .a-bar { display: grid; grid-template-columns: 140px 1fr 250px; align-items: center; gap: 20px; }
        .slide .a-bar b { font-size: 15px; text-align: right; }
        .slide .a-bar .t { font-size: 12.5px; line-height: 1.45; }
        .card .a-bars { gap: 14px; }
        .card .a-bar { display: flex; flex-direction: column; gap: 5px; }
        .card .a-bar b { font-size: 13.5px; }
        .card .a-bar .t { font-size: 11.5px; line-height: 1.4; }
        .card .a-track { height: 12px; }
        /* infographic: stats */
        .a-stats { display: flex; justify-content: center; width: 100%; }
        .a-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
        .a-gauge { border-radius: 50%; flex: none; box-shadow: 6px 6px 14px var(--a-lo), -6px -6px 14px var(--a-hi); }
        .a-gauge > div { width: 100%; height: 100%; border-radius: 50%; background: var(--a-bg); display: flex; align-items: center; justify-content: center; }
        .a-gauge .v { font-weight: 800; white-space: nowrap; }
        .slide .a-stats { gap: 56px; }
        .slide .a-stat { width: 200px; }
        .slide .a-gauge { width: 116px; height: 116px; padding: 9px; margin-bottom: 16px; }
        .slide .a-gauge .v { font-size: 19px; }
        .slide .a-stat b { font-size: 15px; }
        .slide .a-stat .t { font-size: 12px; line-height: 1.5; margin-top: 4px; }
        .card .a-stats { gap: 12px; }
        .card .a-stat { flex: 1; min-width: 0; }
        .card .a-gauge { width: 86px; height: 86px; padding: 7px; margin-bottom: 12px; }
        .card .a-gauge .v { font-size: 13.5px; }
        .card .a-stat b { font-size: 13px; }
        .card .a-stat .t { font-size: 11px; line-height: 1.4; margin-top: 3px; }
        /* infographic: compare */
        .a-cmp { display: flex; width: 100%; align-items: stretch; }
        .a-side { flex: 1; border-radius: 24px; background: var(--a-bg); box-shadow: 6px 6px 14px var(--a-lo), -6px -6px 14px var(--a-hi); display: flex; flex-direction: column; }
        .a-vs { flex: none; align-self: center; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
        .slide .a-cmp { gap: 22px; max-width: 780px; }
        .slide .a-side { padding: 24px 28px; gap: 8px; }
        .slide .a-side b { font-size: 20px; }
        .slide .a-side .t { font-size: 13.5px; line-height: 1.6; }
        .slide .a-vs { width: 52px; height: 52px; font-size: 15px; }
        .card .a-cmp { flex-direction: column; gap: 12px; }
        .card .a-side { padding: 16px 20px; gap: 5px; }
        .card .a-side b { font-size: 16px; }
        .card .a-side .t { font-size: 12px; line-height: 1.5; }
        .card .a-vs { width: 40px; height: 40px; font-size: 12px; margin: -4px 0; }
        /* infographic: timeline */
        .slide .a-tl { position: relative; display: flex; width: 100%; justify-content: center; }
        .slide .a-tl-line { position: absolute; left: 8%; right: 8%; top: 40px; height: 6px; border-radius: 3px; box-shadow: inset 2px 2px 4px var(--a-lo), inset -2px -2px 4px var(--a-hi); }
        .slide .a-tl-item { flex: 1; max-width: 210px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; position: relative; }
        .slide .a-tv { font-size: 15px; font-weight: 800; height: 24px; line-height: 24px; white-space: nowrap; }
        .slide .a-tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 5px solid var(--a-bg); margin: 7px 0 16px; box-shadow: 3px 3px 7px var(--a-lo), -3px -3px 7px var(--a-hi); }
        .slide .a-tl-item b { font-size: 15px; }
        .slide .a-tl-item .t { font-size: 12px; line-height: 1.5; margin-top: 4px; }
        .card .a-tv { flex: none; width: 54px; font-size: 12.5px; font-weight: 800; text-align: center; line-height: 1.25; }
        .slide .a-ring { width: 430px; height: 340px; }
        .slide .a-ring > div { padding: 0 60px; }
        .slide .a-ring .a-kicker { font-size: 28px; }
        .slide .a-ring .a-title { font-size: 32px; }
        .slide .a-ring .a-body { font-size: 13.5px; max-width: none; }

        /* ===== 인포그래픽 포스터: 세로로 긴 한 장 (폭 720px, 높이는 내용에 따라) ===== */
        /* 고정 비율(세로 9:16, 가로 16:9) 종이. 안쪽 .i-fit을 내용 길이에 맞춰 확대·축소해 종이에 꽉 채운다 (fitPoster) */
        .art.info { --padx: 48px; --padt: 78px; padding: 0; display: block; }
        .art.info .i-fit { position: relative; transform-origin: 0 0; box-sizing: border-box; padding: var(--padt) var(--padx) 34px; display: flex; flex-direction: column; }
        .art.info .a-topic { top: 28px; right: 48px; }
        .art.info .i-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; flex: 1; align-content: space-between; }
        .art.info .i-sec { position: relative; border-radius: 30px; min-width: 0; }
        .art.info .i-sec.on { outline: 2px solid #3aa0e8; outline-offset: 8px; }
        .art.info .i-box { --bp: 30px; --bpt: 28px; padding: var(--bpt) var(--bp) 30px; background: var(--a-bg); box-shadow: 8px 8px 18px var(--a-lo), -8px -8px 18px var(--a-hi); }
        .art.info .i-head .a-kicker { font-size: 30px; }
        .art.info .i-head .a-title { font-size: 44px; }
        .art.info .a-body { font-size: 14.5px; line-height: 1.7; max-width: none; }
        .art.info .i-head .a-body { font-size: 15.5px; }
        .art.info .i-head .a-blob { width: 100%; height: 300px; margin-top: 28px; }
        .art.info .a-badge { left: auto; right: 34px; top: auto; bottom: -18px; width: 58px; height: 58px; font-size: 23px; }
        .art.info .i-sechead { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
        .art.info .i-no { width: 46px; height: 46px; flex: none; border-radius: 34%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; }
        .art.info .i-box .a-kicker { font-size: 14.5px; }
        .art.info .i-box .a-title { font-size: 23px; }
        .art.info .i-row { display: flex; align-items: center; gap: 26px; }
        .art.info .rev .i-row { flex-direction: row-reverse; }
        .art.info .i-row .a-body { flex: 1; min-width: 0; }
        .art.info .i-row .a-blob { width: 210px; height: 180px; }
        .art.info .i-row .a-blob .img { font-size: 44px; }
        .art.info .a-step { padding: 0 4px; }
        .art.info .a-step .a-pt { width: 66px; height: 66px; font-size: 21px; margin-bottom: 12px; }
        .art.info .a-step:nth-child(4n+3) { margin-top: 18px; }
        .art.info .a-arrow { width: 16px; margin-top: 26px; font-size: 12px; }
        .art.info .a-stats { gap: 14px; }
        .art.info .a-stat { width: auto; flex: 1; min-width: 0; }
        .art.info .a-bars { max-width: none; gap: 16px; }
        .art.info .a-bar { grid-template-columns: 96px 1fr 190px; gap: 14px; }
        .art.info .a-cmp { max-width: none; gap: 14px; }
        .art.info .a-side { padding: 20px 22px; box-shadow: inset 3px 3px 7px var(--a-lo), inset -3px -3px 7px var(--a-hi); }
        .art.info .a-tl-item { padding: 0 6px; }
        .art.info .i-close .a-ring { width: 100%; height: auto; border-radius: 34px; padding: 8px; }
        .art.info .i-close .a-ring > div { border-radius: 27px; padding: 34px 44px; align-items: center; text-align: center; }
        .art.info .i-close .a-kicker { font-size: 22px; }
        .art.info .i-close .a-title { font-size: 30px; }
        .art.info .a-foot { margin-top: 36px; }
        /* 가로형 포스터: 폭 1280px, 제목부는 좌우 배치, 섹션은 2열 */
        .art.info.wide { --padx: 56px; }
        .art.info.wide .a-topic { right: 56px; }
        .art.info .i-head, .art.info .i-close, .art.info .i-strip { grid-column: 1 / -1; }
        .art.info.wide .i-head { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 52px; align-items: center; }
        .art.info.wide .i-head .a-blob { margin-top: 0; height: 330px; }
        .art.info.wide .i-head .a-title { font-size: 50px; }
        .art.info.wide .i-head .a-kicker { font-size: 34px; }
        .art.info.wide .i-close .a-ring > div { padding: 34px 120px; }

        /* ===== 인포그래픽 템플릿 (오가닉 외): 그림자 대신 평면 카드와 띠를 쓰는 공통 바탕 ===== */
        .art.info.flat { --t-card: #ffffff; --t-card2: #f5f7fa; --t-line: #dfe5ee; --t-title: var(--a-ink); --t-sec: var(--a-ink); --t-chip-bg: var(--t-line); --t-chip-ink: var(--a-ink); --t-band: var(--a-ink); --t-band-ink: #ffffff; --t-radius: 18px; }
        .art.info.flat .a-dots { display: none; }
        .art.info.flat .i-head .a-title { color: var(--t-title); margin-bottom: 14px; }
        .art.info.flat .i-box { background: var(--t-card); border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: 0 2px 10px rgba(20, 40, 80, .05); }
        .art.info.flat .i-box .a-title { color: var(--t-sec); }
        .art.info.flat .i-no { border-radius: 50%; box-shadow: none !important; }
        .art.info.flat .a-chip { box-shadow: none; background: var(--t-chip-bg); color: var(--t-chip-ink); border-radius: 6px; }
        .art.info.flat .a-blob { border-radius: var(--t-radius); padding: 0; box-shadow: none; }
        .art.info.flat .a-blob .img { border-radius: var(--t-radius); }
        .art.info.flat .a-badge { border-radius: 14px; box-shadow: none !important; }
        .art.info.flat .a-pt { border-radius: 50%; box-shadow: none !important; }
        .art.info.flat .a-side { box-shadow: none; background: var(--t-card2); border: 1px solid var(--t-line); border-radius: 12px; }
        .art.info.flat .a-vs { box-shadow: none !important; }
        .art.info.flat .a-gauge { box-shadow: none; }
        .art.info.flat .a-gauge > div { background: var(--t-card); }
        .art.info.flat .a-track { box-shadow: none; background: var(--t-line); }
        .art.info.flat .a-tl-line { box-shadow: none; background: var(--t-line); height: 4px; top: 41px; }
        .art.info.flat .a-tl-dot { box-shadow: none; border-color: var(--t-card); }
        .art.info.flat .i-close .a-ring { background: var(--t-band) !important; box-shadow: none !important; border-radius: var(--t-radius); padding: 0; }
        .art.info.flat .i-close .a-ring > div { background: transparent; border-radius: 0; }
        .art.info.flat .i-close .a-kicker, .art.info.flat .i-close .a-title { color: var(--t-band-ink); }
        .art.info.flat .i-close .a-body { color: var(--t-band-ink); opacity: .86; }
        .art.info.flat .a-brand-line, .art.info.flat .a-topic-line.short { display: none; }
        /* 제목부를 색 띠로 채우는 템플릿: 종이 끝까지 닿게 바깥 여백을 지운다 */
        .art.info.band .i-head { margin: calc(-1 * var(--padt)) calc(-1 * var(--padx)) 0; padding: var(--padt) var(--padx) 40px; border-radius: 0; background: var(--t-headband); }
        .art.info.band .i-head .a-kicker, .art.info.band .i-head .a-title, .art.info.band .i-head .a-body { color: var(--t-headink); }
        .art.info.band .a-topic-text { color: var(--t-headink); }
        .art.info.band .a-topic-line { background: var(--t-headink) !important; opacity: .7; }

        /* 1. 테크 블루: 연한 하늘색 바탕, 가운데 정렬 제목, 흰 카드와 파란 원 번호 */
        .art.info.tp-tech { background: linear-gradient(180deg, #e6f0ff 0%, #f7faff 28%, #eef4ff 100%); --t-title: #0a4fc4; --t-sec: #0b3f9c; --t-line: #dbe6f7; --t-chip-bg: #dce9ff; --t-chip-ink: #0a4fc4; --t-band: transparent; --t-band-ink: #0a4fc4; --t-radius: 20px; }
        .art.info.tp-tech .i-headtext { text-align: center; display: flex; flex-direction: column; align-items: center; }
        .art.info.tp-tech .i-head .a-kicker { font-weight: 500; color: #0a4fc4; font-size: 24px; }
        .art.info.tp-tech .i-head .a-title { font-size: 50px; }
        .art.info.tp-tech .i-box .a-kicker { color: #5b6b88; }
        .art.info.tp-tech .i-close .a-body { color: #5b6b88; opacity: 1; }

        /* 2. 히스토리: 누런 종이 바탕, 초록 큰 제목, 짙은 회색 섹션 머리띠 */
        .art.info.tp-history { --t-card: #efe3cc; --t-card2: #f6eedd; --t-line: #d8c9aa; --t-title: #3fa24a; --t-sec: #ffffff; --t-chip-bg: #4a4a4a; --t-chip-ink: #ffffff; --t-band: #4a4a4a; --t-radius: 0px; }
        .art.info.tp-history .i-head .a-kicker { font-weight: 300; font-size: 38px; color: #2b2b2b; }
        .art.info.tp-history .i-head .a-title { font-size: 64px; font-weight: 900; letter-spacing: -.03em; }
        .art.info.tp-history .i-head .a-body { border-left: 2px solid #2b2b2b; padding-left: 16px; color: #2b2b2b; }
        .art.info.tp-history .i-box { border: 0; box-shadow: none; --bpt: 0px; }
        .art.info.tp-history .i-sechead { background: #4a4a4a; margin: 0 calc(-1 * var(--bp)) 18px; padding: 9px 30px 9px 14px; width: 78%; min-width: 220px; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
        .art.info.tp-history .i-box .a-kicker { color: #e6dcc6; }
        .art.info.tp-history .i-no { border-radius: 0; width: 38px; height: 38px; }
        .art.info.tp-history .a-pt { border-radius: 50%; }

        /* 3. 뉴스 그래픽: 흰 바탕, 명조 제목, 빨강과 회색, 가는 선 구분 */
        .art.info.tp-news { --t-card: #ffffff; --t-card2: #f4f4f4; --t-line: #d9d9d9; --t-title: #111111; --t-sec: #111111; --t-chip-bg: #d7261e; --t-chip-ink: #ffffff; --t-band: #efefef; --t-band-ink: #111111; --t-radius: 0px; }
        .art.info.tp-news .i-headtext { text-align: center; display: flex; flex-direction: column; align-items: center; }
        .art.info.tp-news .i-head .a-kicker { font-size: 20px; font-weight: 400; color: #666; }
        .art.info.tp-news .i-head .a-title { font-size: 52px; letter-spacing: -.02em; }
        .art.info.tp-news .i-box { border: 0; border-top: 2px solid #111; box-shadow: none; padding: 20px 0 6px; }
        .art.info.tp-news .i-no { background: #8c8c8c !important; width: 40px; height: 40px; font-size: 14px; }
        .art.info.tp-news .i-box .a-kicker { color: #d7261e; font-weight: 700; }

        /* 4. 인더스트리 네이비: 옅은 회청색 바탕, 굵은 남색 제목, 테두리 카드 */
        .art.info.tp-industry { --t-card: #f8fafd; --t-card2: #eef2f8; --t-line: #cdd7e6; --t-title: #0f2a52; --t-sec: #0f2a52; --t-chip-bg: #12336b; --t-chip-ink: #ffffff; --t-band: transparent; --t-band-ink: #0f2a52; --t-radius: 14px; }
        .art.info.tp-industry .i-head .a-kicker { font-weight: 800; font-size: 40px; color: #0f2a52; }
        .art.info.tp-industry .i-head .a-title { font-size: 46px; font-weight: 900; }
        .art.info.tp-industry .i-box { box-shadow: none; }
        .art.info.tp-industry .i-sechead { background: linear-gradient(90deg, #2a62b8, #12336b); margin: calc(-1 * var(--bpt)) calc(-1 * var(--bp)) 18px; padding: 10px 18px; border-radius: 13px 13px 0 0; }
        .art.info.tp-industry .i-box .a-title { color: #ffffff; font-size: 20px; }
        .art.info.tp-industry .i-box .a-kicker { color: #cfe0ff; }
        .art.info.tp-industry .i-no { background: #ffffff !important; color: #12336b; width: 36px; height: 36px; font-size: 14px; }
        .art.info.tp-industry .i-close .a-body { color: #4a5d7e; opacity: 1; }

        /* 5. 시티 그린: 초록 제목 띠와 흰 바탕, 청록 · 산호색 포인트 */
        .art.info.tp-green { --t-headband: #12a37a; --t-headink: #ffffff; --t-card: #f3f6f8; --t-card2: #ffffff; --t-line: #dde5ea; --t-sec: #1f2d3d; --t-chip-bg: rgba(255, 255, 255, .22); --t-chip-ink: #ffffff; --t-band: #12a37a; --t-radius: 26px; }
        .art.info.tp-green .i-head .a-kicker { font-weight: 700; font-size: 22px; }
        .art.info.tp-green .i-head .a-title { font-size: 46px; font-weight: 900; }
        .art.info.tp-green .i-head .a-blob { border: 6px solid rgba(255, 255, 255, .85); }
        .art.info.tp-green .i-box { border: 0; box-shadow: none; }
        .art.info.tp-green .i-box .a-kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #12a37a; font-size: 12.5px; }

        /* 6. 아카이브 브라운: 벽돌색 제목 띠 안의 명판, 크림 바탕, 갈색 꼬리표 */
        .art.info.tp-archive { --t-headband: linear-gradient(180deg, #7a3f2c, #9a5a3f); --t-headink: #3a2d22; --t-card: #efe4cf; --t-card2: #f7f0e1; --t-line: #d9c8a8; --t-title: #1b8a8a; --t-sec: #3a2d22; --t-chip-bg: #a0522d; --t-chip-ink: #ffffff; --t-band: #7a3f2c; --t-radius: 6px; }
        .art.info.tp-archive .i-headtext { background: #e8dcc6; border: 3px solid #cbb994; padding: 22px 28px; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
        .art.info.tp-archive .i-head .a-kicker { font-size: 20px; font-weight: 700; color: #b4573a; }
        .art.info.tp-archive .i-head .a-title { font-size: 44px; font-weight: 900; color: #1b8a8a; }
        .art.info.tp-archive .a-topic-text { color: #f3e6cf; }
        .art.info.tp-archive .a-topic-line { background: #f3e6cf !important; }
        .art.info.tp-archive .i-box { box-shadow: none; }
        .art.info.tp-archive .i-box .a-kicker { display: inline-block; background: #a0522d; color: #fff; padding: 2px 10px; border-radius: 4px; font-weight: 700; margin-bottom: 4px; }
        .art.info.tp-archive .i-no { border-radius: 4px; }

        /* 7. 미니멀 블루그레이: 회색 바탕, 얇은 파란 큰 제목, 밑줄 달린 섹션 제목 */
        .art.info.tp-minimal { --t-card: transparent; --t-card2: #e3e3e3; --t-line: #cfcfcf; --t-title: #4a6fd6; --t-sec: #2a2a2a; --t-chip-bg: transparent; --t-chip-ink: #555555; --t-band: transparent; --t-band-ink: #2a2a2a; --t-radius: 4px; }
        .art.info.tp-minimal .a-chip { padding-left: 0; border-bottom: 1px solid #555; border-radius: 0; }
        .art.info.tp-minimal .i-head .a-kicker { font-weight: 300; font-size: 44px; color: #4a6fd6; }
        .art.info.tp-minimal .i-head .a-title { font-size: 56px; font-weight: 800; }
        .art.info.tp-minimal .i-box { border: 0; box-shadow: none; padding: 0; }
        .art.info.tp-minimal .i-sechead { border-bottom: 1.5px solid #555; padding-bottom: 8px; }
        .art.info.tp-minimal .i-no { display: none; }
        .art.info.tp-minimal .i-box .a-title { font-size: 19px; }
        .art.info.tp-minimal .a-gauge > div { background: #ededed; }
        .art.info.tp-minimal .a-tl-dot { border-color: #ededed; }
        .art.info.tp-minimal .i-close .a-ring { border-top: 1.5px solid #555; border-radius: 0; }

        /* 8. 클래식 골드: 크림 바탕, 명조 제목, 남색과 금색 */
        .art.info.tp-luxury { --t-card: #fffdf8; --t-card2: #f4eee0; --t-line: #e0d6c0; --t-title: #14213d; --t-sec: #14213d; --t-chip-bg: transparent; --t-chip-ink: #b08d57; --t-band: #14213d; --t-band-ink: #f6f1e7; --t-radius: 4px; }
        .art.info.tp-luxury .i-headtext { text-align: center; display: flex; flex-direction: column; align-items: center; }
        .art.info.tp-luxury .a-chip { letter-spacing: .3em; text-transform: uppercase; }
        .art.info.tp-luxury .i-head .a-kicker { font-size: 34px; font-weight: 700; color: #b08d57; font-family: var(--a-tfont); }
        .art.info.tp-luxury .i-head .a-title { font-size: 52px; }
        .art.info.tp-luxury .i-box .a-kicker { color: #b08d57; letter-spacing: .06em; }
        .art.info.tp-luxury .i-close .a-title { color: #d8b877; }

        /* 9. 볼드 레드블루: 흰 바탕, 굵은 남색 · 빨강 제목, 색 사각 번호, 빨간 맺음 띠 */
        .art.info.tp-bold { --t-card: #ffffff; --t-card2: #f3f6fb; --t-line: #cfd6e2; --t-title: #d4202a; --t-sec: #0f1f3d; --t-chip-bg: #0f1f3d; --t-chip-ink: #ffffff; --t-band: #c8101e; --t-radius: 10px; }
        .art.info.tp-bold .i-head .a-kicker { font-size: 36px; font-weight: 900; color: #0f1f3d; font-family: var(--a-tfont); }
        .art.info.tp-bold .i-head .a-title { font-size: 54px; line-height: 1.12; }
        .art.info.tp-bold .i-box { border-width: 1.5px; box-shadow: none; }
        .art.info.tp-bold .i-no { border-radius: 8px; width: 48px; height: 48px; font-size: 20px; }
        .art.info.tp-bold .i-box .a-title { font-size: 22px; }
        .art.info.tp-bold .i-close { margin: 0 calc(-1 * var(--padx)); }
        .art.info.tp-bold .i-close .a-ring { border-radius: 0; }

        /* ----- 좁은 칸(여러 열 배치)용 압축 섹션: 내용 블록은 카드뉴스용 세로 배치를 쓴다 ----- */
        .art.info .i-box.compact { --bp: 20px; --bpt: 20px; padding-bottom: 22px; }
        .art.info .compact .i-sechead { gap: 10px; margin-bottom: 14px; }
        .art.info .compact .i-no { width: 34px; height: 34px; font-size: 13px; }
        .art.info .i-box.compact .a-title { font-size: 18px; }
        .art.info .i-box.compact .a-kicker { font-size: 12px; }
        .art.info .compact .a-body { font-size: 13px; line-height: 1.6; }
        .art.info .compact .i-row { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
        .art.info .compact .i-row .a-blob { width: 100%; height: 150px; }
        .art.info .compact .a-list { gap: 9px; }
        .art.info .compact .a-row { padding: 8px 10px; gap: 10px; }
        .art.info .compact .a-pt { width: 36px; height: 36px; font-size: 13px; margin-bottom: 0; }
        .art.info .compact .a-bar { gap: 5px; align-items: stretch; }
        .art.info .compact .a-bar b { text-align: left; }
        .art.info .compact .a-side { padding: 13px 15px; }
        .art.info .compact .a-gauge { width: 74px; height: 74px; padding: 6px; margin-bottom: 9px; }
        .art.info .compact .a-gauge .v { font-size: 11.5px; }
        .art.info.flat .compact .a-row { box-shadow: none; background: var(--t-card2); border: 1px solid var(--t-line); border-radius: 10px; }
        /* 제목부 좌우 배치 (세로형에서도 제목 옆에 큰 그림을 두는 템플릿) */
        .art.info.hsplit .i-head { display: grid; grid-template-columns: minmax(0, 1fr) 46%; gap: 40px; align-items: center; }
        .art.info.hsplit .i-head .a-blob { margin-top: 0; height: 320px; }
        /* 한눈에 보기 띠: 섹션 제목을 아이콘과 함께 한 줄로 요약 */
        .art.info .i-strip { display: grid; background: var(--t-card); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 22px 8px; }
        .art.info .i-strip > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 0 12px; border-left: 1px solid var(--t-line); min-width: 0; }
        .art.info .i-strip > div:first-child { border-left: 0; }
        .art.info .i-ico { font-size: 30px; line-height: 1; margin-bottom: 6px; }
        .art.info .i-strip > div > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
        .art.info .i-strip b { font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--t-sec); }
        .art.info .i-strip .t { font-size: 11.5px; line-height: 1.4; color: var(--a-sub); }

        /* 템플릿별 추가 구조 */
        .art.info.tp-tech .i-strip { background: rgba(255, 255, 255, .78); box-shadow: 0 4px 18px rgba(30, 80, 180, .08); border-color: #e3ecfb; }
        .art.info.tp-tech .i-head .a-blob { height: 340px; }
        .art.info.tp-industry .i-strip { background: transparent; border: 0; padding: 4px 0; }
        .art.info.tp-bold .i-strip { border-width: 1.5px; padding: 18px 8px; }
        .art.info.tp-bold .i-strip > div { flex-direction: row; text-align: left; align-items: center; gap: 12px; }
        .art.info.tp-bold .i-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 19px; margin: 0; }
        .art.info.tp-bold .i-strip b { font-size: 17px; color: #d4202a; }
        .art.info.tp-bold .i-strip .t { display: block; }
        .art.info.tp-bold .i-box .a-title { text-transform: uppercase; }
        .art.info.tp-luxury .i-strip { background: transparent; border-width: 1px 0; border-radius: 0; padding: 18px 0; }
        .art.info.tp-luxury .i-ico { color: #14213d !important; font-size: 26px; }
        .art.info.tp-luxury .i-strip b { font-size: 12.5px; letter-spacing: .08em; }
        .art.info.tp-luxury .compact .i-row .a-blob { height: 170px; }
        /* 뉴스 그래픽: 세로형에서는 회색 연표 줄이 섹션 번호를 꿰고 내려간다 */
        .art.info.tp-news.spine .i-grid { position: relative; padding-left: 64px; }
        .art.info.tp-news.spine .i-grid::before { content: ''; position: absolute; left: 19px; top: 60px; bottom: 30px; width: 8px; border-radius: 4px; background: #bdbdbd; }
        .art.info.tp-news.spine .i-head, .art.info.tp-news.spine .i-close { margin-left: -64px; position: relative; z-index: 1; background: #ffffff; }
        .art.info.tp-news.spine .i-head { padding-bottom: 18px; }
        .art.info.tp-news.spine .i-box { position: relative; }
        .art.info.tp-news.spine .i-no { position: absolute; left: -66px; top: 14px; width: 50px; height: 50px; border: 4px solid #ffffff; font-size: 15px; }
        .art.info.tp-history .i-head .a-title { font-size: 72px; }
        .art.info.tp-history .compact .i-sechead { width: 100%; }
        .art.info.tp-minimal .i-head .a-blob { background: transparent; }

        /* AI가 그린 인포그래픽 한 장: 종이 비율과 다르면 흐린 배경 위에 전체가 보이게 놓는다 */
        .art.info .i-ai { position: absolute; inset: 0; overflow: hidden; background: #fff; }
        .art.info .i-ai .bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(34px); opacity: .9; }
        .art.info .i-ai img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
        .ai-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .ai-row .seg { flex: 1; min-width: 150px; }
        .ai-row .btn { padding: 8px 11px; font-size: 12px; }

        /* ===== 편집용 도식의 "스카이" 겉모양: 색 머리띠 카드, 유형별 도식, 떠 있는 유리 카드 ===== */
        .art.info.tp-sky { background: #f4f8ff; --t-card: #ffffff; --t-card2: #f3f7ff; --t-line: #dbe6f7; --t-radius: 20px; --t-chip-bg: #dce9ff; --t-chip-ink: #0a4fc4; }
        .art.info.tp-sky .i-fit {
            background:
                radial-gradient(900px 560px at 100% 0%, rgba(110, 165, 255, .38), transparent 62%),
                radial-gradient(720px 520px at 0% 32%, rgba(140, 110, 255, .15), transparent 62%),
                radial-gradient(860px 640px at 100% 100%, rgba(40, 200, 190, .16), transparent 62%),
                radial-gradient(circle at 1px 1px, rgba(20, 60, 150, .08) 1.2px, transparent 1.7px) 0 0 / 22px 22px;
        }
        /* 제목부 */
        .art.info.tp-sky .i-head { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 34px; align-items: center; }
        .art.info.tp-sky .i-head .a-kicker { font-size: 30px; font-weight: 800; color: #16233f; }
        .art.info.tp-sky .i-head .a-title { font-size: 58px; font-weight: 900; line-height: 1.14; padding-bottom: 6px; background: linear-gradient(100deg, #0a5fd8, #5b4cf0 65%, #b04cf0); -webkit-background-clip: text; background-clip: text; color: transparent !important; caret-color: #0a5fd8; }
        .art.info.tp-sky .i-head .a-body { font-size: 16px; line-height: 1.7; color: #2a4a8a; font-weight: 500; }
        .art.info.tp-sky .a-topic-text { color: #12336b; }
        .p-hero { position: relative; height: 340px; }
        .art.info.wide .p-hero { height: 270px; width: 100%; max-width: 560px; margin-left: auto; }
        .p-hero .ring { position: absolute; inset: 2% 8%; border: 2px dashed rgba(47, 109, 246, .32); border-radius: 50%; }
        .p-hero .ring.r2 { inset: 14% 20%; border-style: solid; border-color: rgba(255, 255, 255, .9); border-width: 10px; box-shadow: 0 0 0 1px rgba(47, 109, 246, .18); }
        .p-hero .orb { position: absolute; inset: 9% 15%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: linear-gradient(140deg, #8fbcff, #2f6df6 52%, #6a4cf0); background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(47, 109, 246, .36), inset 0 -18px 40px rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 104px; overflow: hidden; }
        .p-hero .orb::after { content: ''; position: absolute; left: -20%; top: -30%; width: 80%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .45), transparent); }
        .p-hero .spark { position: absolute; width: 14px; height: 14px; border-radius: 50%; }
        .p-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 16px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 12px 26px rgba(20, 60, 150, .17); font-size: 13px; font-weight: 800; color: #12336b; max-width: 52%; line-height: 1.25; }
        .p-chip i { width: 30px; height: 30px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; background: var(--kc); }
        /* 섹션 카드: 색 머리띠 + 흰 원 번호 */
        .art.info.tp-sky .i-box { --bp: 22px; --bpt: 0px; padding: 0 0 22px; border-radius: 20px; border: 1px solid #e1eafa; background: #fff; box-shadow: 0 14px 32px rgba(20, 60, 150, .10); overflow: hidden; container-type: inline-size; }
        .art.info.tp-sky .i-box.bare { background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; }
        .art.info.tp-sky .i-box.bare .p-body { padding: 0; }
        .art.info.tp-sky .i-sechead { position: relative; overflow: hidden; margin: 0 0 18px; padding: 13px 18px; gap: 12px; background: linear-gradient(110deg, var(--sc), var(--sc2)); }
        .art.info.tp-sky .i-sechead::before { content: ''; position: absolute; right: -24px; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
        .art.info.tp-sky .i-sechead::after { content: ''; position: absolute; right: 70px; bottom: -40px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
        .art.info.tp-sky .i-no { position: relative; z-index: 1; background: #fff !important; color: var(--sc); width: 36px; height: 36px; font-size: 15px; border-radius: 50%; }
        .art.info.tp-sky .i-sechead > div { position: relative; z-index: 1; min-width: 0; }
        .art.info.tp-sky .i-box .a-kicker { color: rgba(255, 255, 255, .88); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
        .art.info.tp-sky .i-box .a-title { color: #fff; font-size: 19px; }
        .art.info.tp-sky .i-secicon { position: relative; z-index: 1; margin-left: auto; font-size: 22px; color: rgba(255, 255, 255, .92); }
        .p-body { padding: 0 22px; }
        .p-body b { display: block; font-size: 13.5px; font-weight: 800; color: #16233f; line-height: 1.35; }
        .p-body .t { display: block; font-size: 11.5px; color: #5b6b88; line-height: 1.5; }
        .art.info.tp-sky .i-row { gap: 20px; }
        .art.info.tp-sky .i-row .a-blob { border-radius: 16px; border: 3px solid #fff; box-shadow: 0 10px 22px rgba(20, 60, 150, .16); }
        /* 핵심 숫자 */
        .p-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
        .p-kpi { position: relative; overflow: hidden; padding: 18px 16px 15px; border-radius: 18px; background: #fff; border: 1px solid #e3ecfb; box-shadow: 0 10px 24px rgba(20, 60, 150, .10); }
        .p-kpi::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--kc), var(--kc2)); }
        .p-kpi::after { content: ''; position: absolute; right: -26px; bottom: -26px; width: 84px; height: 84px; border-radius: 50%; background: var(--kc); opacity: .08; }
        .p-kpi .ic { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; background: linear-gradient(140deg, var(--kc), var(--kc2)); margin-bottom: 10px; }
        .p-kpi .v { display: block; font-size: 27px; font-weight: 900; line-height: 1.15; color: var(--kc); letter-spacing: -.02em; }
        .p-kpi b { margin-top: 3px; }
        .i-box:not(.bare) .p-kpi { box-shadow: none; background: #f6f9ff; }
        /* 절차: 좁으면 세로 줄, 넓으면 화살표 띠 */
        .p-steps { display: flex; flex-direction: column; gap: 12px; }
        .p-step { position: relative; }
        .p-step .hd { display: flex; align-items: center; gap: 10px; }
        .p-step .n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, var(--kc), var(--kc2)); color: #fff; font-weight: 800; font-size: 13.5px; display: flex; align-items: center; justify-content: center; }
        .p-step .t { margin: 3px 0 0 42px; }
        .p-step:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 36px; bottom: -10px; width: 2px; background: repeating-linear-gradient(#b9cdf3 0 4px, transparent 4px 8px); }
        @container (min-width: 560px) {
            .p-steps { flex-direction: row; gap: 0; }
            .p-step { flex: 1; min-width: 0; }
            .p-step::after { display: none; }
            .p-step .hd { background: linear-gradient(110deg, var(--kc), var(--kc2)); padding: 10px 26px 10px 28px; margin-right: -10px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 14px 50%); }
            .p-step:first-child .hd { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 12px 0 0 12px; padding-left: 16px; }
            .p-step .hd b { color: #fff; }
            .p-step .n { background: #fff; color: var(--kc); width: 28px; height: 28px; }
            .p-step .t { margin: 10px 14px 0 16px; }
        }
        /* 타임라인 */
        .p-tl { display: flex; flex-direction: column; gap: 14px; border-left: 3px solid #cfe0fb; margin-left: 8px; }
        .p-tli { position: relative; padding-left: 20px; }
        .p-tli .dot { position: absolute; left: -10.5px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--kc); }
        .p-tli .when { display: inline-block; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(110deg, var(--kc), var(--kc2)); padding: 2px 11px; border-radius: 999px; margin-bottom: 5px; }
        @container (min-width: 560px) {
            .p-tl { flex-direction: row; gap: 0; border-left: 0; border-top: 3px solid #cfe0fb; margin: 12px 0 0; }
            .p-tli { flex: 1; min-width: 0; padding: 18px 12px 0 0; }
            .p-tli .dot { left: 0; top: -10.5px; }
        }
        /* 막대 순위 */
        .p-bars { display: flex; flex-direction: column; gap: 12px; }
        .p-bar .top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
        .p-bar .rk { flex: none; font-size: 12px; font-weight: 900; color: var(--kc); width: 18px; }
        .p-bar .top b { flex: none; }
        .p-bar .top .t { flex: 1; min-width: 0; text-align: right; }
        .p-bar .trk { position: relative; height: 13px; border-radius: 7px; background: #e8effc; overflow: hidden; }
        .p-bar .trk i { position: relative; display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--kc), var(--kc2)); overflow: hidden; }
        .p-bar .trk i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }
        /* 두 대상 비교 */
        .p-cmp { display: grid; grid-template-columns: 1fr; gap: 0; }
        .p-side { border-radius: 16px; padding: 15px 16px; border: 1.5px solid var(--kc); background: linear-gradient(160deg, var(--tint), #fff 70%); }
        .p-side b { color: var(--kc); font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
        .p-side .t { font-size: 12px; }
        .p-vs { justify-self: center; z-index: 1; margin: -10px 0; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, #16233f, #3a4d7a); color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; }
        @container (min-width: 560px) {
            .p-cmp { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
            .p-vs { align-self: center; margin: 0 -12px; }
        }
        /* 체크리스트 */
        .p-chks { display: grid; grid-template-columns: 1fr; gap: 9px; }
        .p-chk { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border-radius: 13px; background: #f5f8ff; border: 1px solid #e6eefb; }
        .p-chk .ck { flex: none; width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; background: linear-gradient(140deg, var(--kc), var(--kc2)); margin-top: 1px; }
        @container (min-width: 560px) { .p-chks { grid-template-columns: 1fr 1fr; } }
        /* 순환 구조 */
        .p-cyc { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; }
        .p-cyc::before { content: ''; position: absolute; inset: 15%; border: 3px dashed #b9cdf3; border-radius: 50%; }
        .p-cyc .core { position: absolute; inset: 35%; border-radius: 50%; background: linear-gradient(140deg, var(--sc), var(--sc2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 12px 24px rgba(20, 60, 150, .22); }
        .p-cyc .nd { position: absolute; width: 36%; transform: translate(-50%, -50%); text-align: center; background: #fff; border-radius: 14px; padding: 8px 6px 9px; box-shadow: 0 8px 18px rgba(20, 60, 150, .15); border-top: 4px solid var(--kc); }
        .p-cyc .nd .n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; background: var(--kc); color: #fff; font-size: 10.5px; font-weight: 800; margin-bottom: 3px; }
        .p-cyc .nd b { font-size: 12.5px; }
        .p-cyc .nd .t { font-size: 10.5px; line-height: 1.35; }
        /* 피라미드 */
        .p-pyr { display: flex; flex-direction: column; align-items: center; gap: 5px; }
        .p-tier { padding: 9px 26px 10px; text-align: center; background: linear-gradient(90deg, var(--kc), var(--kc2)); clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
        .p-tier b { color: #fff; }
        .p-tier .t { color: rgba(255, 255, 255, .92); font-size: 11px; }
        /* 정리표 */
        .p-tbl { display: grid; grid-template-columns: auto auto minmax(0, 1fr); border-radius: 13px; overflow: hidden; border: 1px solid #dbe6f7; }
        .p-tbl > * { padding: 8px 11px; display: flex; align-items: center; }
        .p-tbl .h { background: linear-gradient(110deg, var(--sc), var(--sc2)); color: #fff; font-size: 11.5px; font-weight: 800; }
        .p-tbl > :nth-child(6n+1):not(.h), .p-tbl > :nth-child(6n+2):not(.h), .p-tbl > :nth-child(6n+3):not(.h) { background: #f3f7ff; }
        .p-tbl .tv { font-size: 12px; font-weight: 800; color: var(--kc); white-space: nowrap; }
        /* 질문과 답 */
        .p-qas { display: flex; flex-direction: column; gap: 12px; }
        .p-qa .q { display: flex; gap: 10px; align-items: flex-start; }
        .p-qa .qm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(140deg, var(--kc), var(--kc2)); color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
        .p-qa .q b { padding-top: 3px; }
        .p-qa .a { margin: 6px 0 0 36px; padding: 9px 12px; background: #f3f7ff; border-radius: 4px 14px 14px 14px; border-left: 3px solid var(--kc); }
        .p-qa .a .t { font-size: 12px; color: #33415e; }
        /* 권장 · 주의 */
        .p-dd { display: grid; grid-template-columns: 1fr; gap: 12px; }
        .p-ddg { border-radius: 16px; padding: 12px 14px 14px; border: 1.5px solid var(--kc); background: var(--tint); }
        .p-ddg .gh { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 900; color: #fff; background: var(--kc); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
        .p-ddi { display: flex; gap: 9px; align-items: flex-start; }
        .p-ddi + .p-ddi { margin-top: 8px; }
        .p-ddi .mk { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--kc); color: #fff; font-size: 10.5px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
        @container (min-width: 560px) { .p-dd { grid-template-columns: 1fr 1fr; } }
        /* 배경 장식 고리, 카드 번호 워터마크, 소개 문장, 핵심 한 줄, 흐름 띠 */
        .art.info.tp-sky .i-fit::before { content: ''; position: absolute; left: -130px; top: 430px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(47, 109, 246, .06); pointer-events: none; }
        .art.info.tp-sky .i-fit::after { content: ''; position: absolute; right: -100px; bottom: 170px; width: 280px; height: 280px; border-radius: 50%; border: 32px solid rgba(124, 77, 240, .07); pointer-events: none; }
        .art.info.tp-sky .i-grid, .art.info.tp-sky .a-foot, .art.info.tp-sky .a-topic { position: relative; z-index: 1; }
        .art.info.tp-sky .a-topic { position: absolute; }
        .art.info.tp-sky .i-box:not(.bare) { background: linear-gradient(180deg, var(--st) 0, #fff 170px); }
        .art.info.tp-sky .i-box:not(.bare)::after { content: attr(data-no); position: absolute; right: 12px; bottom: 0; font-size: 84px; font-weight: 900; line-height: 1; color: var(--sc); opacity: .07; pointer-events: none; }
        .art.info.tp-sky .i-box .p-body { position: relative; z-index: 1; }
        .i-tag { position: relative; z-index: 1; margin-left: auto; font-size: 10.5px; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .5); white-space: nowrap; }
        .art.info.tp-sky .i-tag + .i-secicon { margin-left: 0; }
        .p-lead { margin: 0 0 14px; padding: 2px 0 2px 12px; border-left: 3px solid var(--sc); font-size: 12.5px; line-height: 1.65; color: #33415e; font-weight: 500; }
        .p-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; padding: 10px 13px; border-radius: 13px; background: linear-gradient(110deg, color-mix(in srgb, var(--sc) 13%, #fff), #fff); border: 1.5px dashed color-mix(in srgb, var(--sc) 48%, #fff); font-size: 12px; font-weight: 700; color: #16233f; line-height: 1.55; }
        .p-note > i { color: var(--sc); margin-top: 3px; }
        .p-slogan { display: inline-block; margin-top: 16px; padding: 9px 18px; border-radius: 999px; background: linear-gradient(110deg, #0a5fd8, #6a4cf0); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 10px 22px rgba(47, 109, 246, .30); }
        .p-toc { grid-column: 1 / -1; display: grid; row-gap: 8px; filter: drop-shadow(0 8px 14px rgba(20, 60, 150, .13)); }
        .p-toc > div { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 11px 22px 11px 26px; margin-right: -10px; color: #fff; font-size: 12.5px; font-weight: 800; line-height: 1.25; background: linear-gradient(110deg, var(--kc), var(--kc2)); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 12px 50%); }
        .p-toc .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--kc); font-size: 11px; display: flex; align-items: center; justify-content: center; }
        .i-box.bare .p-kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
        .i-box.bare .p-kpi { padding: 20px 18px 18px; }
        .i-box.bare .p-kpi .v { font-size: 32px; }
        .i-box.bare .p-kpi .t { font-size: 12px; }
        .p-step .hi { margin-left: auto; font-size: 13px; color: var(--kc); }
        @container (min-width: 560px) { .p-step .hi { color: rgba(255, 255, 255, .9); } }
        .p-side .sh { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
        .p-side .sh b { margin: 0; }
        .p-side .si { flex: none; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--kc), var(--kc2)); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
        .p-tbl .ti { margin-right: 7px; font-size: 12px; }
        .p-tli .li { margin-left: 6px; font-size: 12px; color: var(--kc); }
        /* 맺음 띠 */
        .art.info.tp-sky .i-close .a-ring { position: relative; overflow: hidden; background: linear-gradient(120deg, #0a5fd8, #5b4cf0) !important; border-radius: 22px; }
        .art.info.tp-sky .i-close .a-ring::before { content: ''; position: absolute; left: -40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
        .art.info.tp-sky .i-close .a-ring::after { content: ''; position: absolute; right: -30px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
        .art.info.tp-sky .i-close .a-ring > div { position: relative; z-index: 1; }
        /* ===== 편집용 도식을 모션 그래픽과 같은 스타일로 (.ms) =====
           배경 테마 · 컬러 템플릿 · 폰트를 그대로 따르고, 색 번짐 배경 + 반투명 유리 카드 + 그라데이션 아이콘 칸 + 외곽선 번호를 쓴다 */
        .art.info.tp-sky.ms { background: var(--a-bg); --t-card: color-mix(in srgb, var(--a-hi) 82%, transparent); --t-card2: color-mix(in srgb, var(--a-hi) 70%, transparent); --t-line: color-mix(in srgb, var(--a-ink) 12%, transparent); --t-chip-bg: var(--c1); --t-chip-ink: #fff; }
        .p-deco { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
        .art.info.tp-sky.ms .i-fit { z-index: 1; background: radial-gradient(color-mix(in srgb, var(--a-sub) 26%, transparent) 1.3px, transparent 1.8px) 0 0 / 24px 24px; }
        .art.info.tp-sky.ms .i-fit::before, .art.info.tp-sky.ms .i-fit::after { display: none; }
        .art.info.tp-sky.ms .a-topic-text { color: var(--a-ink); }
        /* 제목부 */
        .art.info.tp-sky.ms .i-head .a-chip { color: #fff; background: linear-gradient(110deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px color-mix(in srgb, var(--c1) 36%, transparent); }
        .art.info.tp-sky.ms .i-head .a-kicker { color: var(--a-sub); font-weight: 500; }
        .art.info.tp-sky.ms .i-head .a-title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--a-ink) !important; caret-color: var(--c1); }
        .art.info.tp-sky.ms .i-head .a-dots { display: block; width: 130px; height: 7px; border-radius: 4px; margin: 16px 0; background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3)); }
        .art.info.tp-sky.ms .i-head .a-dots i { display: none; }
        .art.info.tp-sky.ms .i-head .a-body { color: color-mix(in srgb, var(--a-ink) 84%, transparent); }
        .art.info.tp-sky.ms .p-slogan { background: linear-gradient(110deg, var(--c1), var(--c3)); box-shadow: 0 10px 20px color-mix(in srgb, var(--c1) 34%, transparent); }
        .art.info.tp-sky.ms .p-hero .ring { border-color: color-mix(in srgb, var(--c3) 65%, transparent); }
        .art.info.tp-sky.ms .p-hero .ring.r2 { border-color: color-mix(in srgb, var(--a-hi) 90%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 22%, transparent); }
        .art.info.tp-sky.ms .p-hero .orb { background-image: linear-gradient(135deg, var(--c1), var(--c2)); border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; box-shadow: 0 22px 40px color-mix(in srgb, var(--c1) 32%, transparent); }
        .art.info.tp-sky.ms .p-chip { background: color-mix(in srgb, var(--a-hi) 88%, transparent); border: 0; color: var(--a-ink); box-shadow: 0 8px 18px rgba(20, 30, 60, .12); }
        .art.info.tp-sky.ms .p-chip i { background: linear-gradient(135deg, var(--kc), var(--kc2)); }
        /* 구획 카드: 유리 카드 + 그라데이션 번호 칸 + 제목 아래 색 줄 + 외곽선 번호 */
        .art.info.tp-sky.ms .i-box { border: 0; border-radius: 24px; box-shadow: 0 10px 22px rgba(20, 30, 60, .09); }
        .art.info.tp-sky.ms .i-box:not(.bare) { background: linear-gradient(180deg, color-mix(in srgb, var(--sc) 11%, var(--a-hi)) 0, color-mix(in srgb, var(--a-hi) 82%, transparent) 160px); }
        .art.info.tp-sky.ms .i-box.bare { background: transparent; box-shadow: none; }
        .art.info.tp-sky.ms .i-sechead { background: none; overflow: visible; padding: 18px 20px 0; margin-bottom: 26px; }
        .art.info.tp-sky.ms .i-sechead::before { display: none; }
        .art.info.tp-sky.ms .i-sechead::after { left: 20px; right: auto; top: auto; bottom: -13px; width: 76px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--sc), var(--sc2)); }
        .art.info.tp-sky.ms .i-no { width: 44px; height: 44px; border-radius: 15px; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--sc), var(--sc2)) !important; box-shadow: 0 10px 18px color-mix(in srgb, var(--sc) 40%, transparent) !important; }
        .art.info.tp-sky.ms .i-box .a-kicker { color: var(--a-sub); font-size: 12.5px; }
        .art.info.tp-sky.ms .i-box .a-title { color: var(--a-ink); font-size: 21px; }
        .art.info.tp-sky.ms .i-secicon { color: var(--sc); }
        .art.info.tp-sky.ms .i-tag { color: #fff; border: 0; background: linear-gradient(110deg, var(--sc), var(--sc2)); }
        .art.info.tp-sky.ms .i-box:not(.bare)::after { right: 10px; bottom: -4px; font-size: 104px; opacity: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--sc) 28%, transparent); }
        .art.info.tp-sky.ms .p-body b { color: var(--a-ink); }
        .art.info.tp-sky.ms .p-body .t { color: var(--a-sub); }
        .art.info.tp-sky.ms .p-lead { color: color-mix(in srgb, var(--a-ink) 82%, transparent); }
        .art.info.tp-sky.ms .p-note { color: var(--a-ink); background: linear-gradient(110deg, color-mix(in srgb, var(--sc) 15%, var(--a-hi)), var(--a-hi)); border-color: color-mix(in srgb, var(--sc) 55%, transparent); }
        /* 도식 */
        .art.info.tp-sky.ms .p-kpi { border: 0; background: color-mix(in srgb, var(--a-hi) 84%, transparent); box-shadow: 0 8px 18px rgba(20, 30, 60, .09); }
        .art.info.tp-sky.ms .i-box:not(.bare) .p-kpi { background: color-mix(in srgb, var(--a-hi) 72%, transparent); box-shadow: 0 6px 14px rgba(20, 30, 60, .07); }
        .art.info.tp-sky.ms .p-chk { border: 0; border-left: 4px solid var(--kc); background: color-mix(in srgb, var(--a-hi) 78%, transparent); box-shadow: 0 6px 14px rgba(20, 30, 60, .08); }
        .art.info.tp-sky.ms .p-step:not(:last-child)::after { background: repeating-linear-gradient(color-mix(in srgb, var(--kc) 50%, transparent) 0 4px, transparent 4px 8px); }
        .art.info.tp-sky.ms .p-tl { border-color: color-mix(in srgb, var(--a-ink) 16%, transparent); }
        .art.info.tp-sky.ms .p-tli .dot { background: var(--a-hi); }
        .art.info.tp-sky.ms .p-bar .trk { background: color-mix(in srgb, var(--a-ink) 10%, transparent); }
        .art.info.tp-sky.ms .p-side { border: 0; border-top: 4px solid var(--kc); background: color-mix(in srgb, var(--a-hi) 80%, transparent); box-shadow: 0 8px 18px rgba(20, 30, 60, .09); }
        .art.info.tp-sky.ms .p-vs { background: linear-gradient(135deg, var(--c1), var(--c3)); border-color: var(--a-bg); }
        .art.info.tp-sky.ms .p-cyc::before { border-color: color-mix(in srgb, var(--sc) 55%, transparent); }
        .art.info.tp-sky.ms .p-cyc .core { box-shadow: 0 12px 24px color-mix(in srgb, var(--sc) 40%, transparent); }
        .art.info.tp-sky.ms .p-cyc .nd { background: color-mix(in srgb, var(--a-hi) 90%, transparent); box-shadow: 0 8px 18px rgba(20, 30, 60, .12); }
        .art.info.tp-sky.ms .p-tier { clip-path: none; border-radius: 13px; box-shadow: 0 8px 16px color-mix(in srgb, var(--kc) 34%, transparent); }
        .art.info.tp-sky.ms .p-tbl { border-color: color-mix(in srgb, var(--a-ink) 12%, transparent); }
        .art.info.tp-sky.ms .p-tbl > :nth-child(6n+1):not(.h), .art.info.tp-sky.ms .p-tbl > :nth-child(6n+2):not(.h), .art.info.tp-sky.ms .p-tbl > :nth-child(6n+3):not(.h) { background: color-mix(in srgb, var(--a-ink) 5%, transparent); }
        .art.info.tp-sky.ms .p-qa .a { background: color-mix(in srgb, var(--a-hi) 82%, transparent); box-shadow: 0 6px 14px rgba(20, 30, 60, .07); }
        .art.info.tp-sky.ms .p-qa .a .t { color: color-mix(in srgb, var(--a-ink) 86%, transparent); }
        .art.info.tp-sky.ms .p-ddg b { color: #1d2740; }
        .art.info.tp-sky.ms .p-ddg .t { color: #5b6680; }
        .art.info.tp-sky.ms .i-row .a-blob { border-color: var(--a-hi); }
        .art.info.tp-sky.ms .i-close .a-ring { background: linear-gradient(120deg, var(--c1), var(--c3)) !important; }
        .art.info.tp-sky.ms .a-foot { color: var(--a-sub); }
        /* --- 리본 헤더: 흰 카드 위에 색 그라데이션 머리띠 --- */
        .art.info.tp-sky.ms.tv-ribbon .i-box:not(.bare) { background: var(--a-hi); }
        .art.info.tp-sky.ms.tv-ribbon .i-sechead { overflow: hidden; padding: 14px 18px; margin-bottom: 18px; background: linear-gradient(110deg, var(--sc), var(--sc2)); }
        .art.info.tp-sky.ms.tv-ribbon .i-sechead::after { display: none; }
        .art.info.tp-sky.ms.tv-ribbon .i-no { width: 38px; height: 38px; border-radius: 50%; color: var(--sc); background: #fff !important; box-shadow: none !important; }
        .art.info.tp-sky.ms.tv-ribbon .i-box .a-kicker { color: rgba(255, 255, 255, .88); }
        .art.info.tp-sky.ms.tv-ribbon .i-box .a-title { color: #fff; }
        .art.info.tp-sky.ms.tv-ribbon .i-secicon { color: rgba(255, 255, 255, .94); }
        .art.info.tp-sky.ms.tv-ribbon .i-tag { background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .5); }
        /* --- 라인: 채우지 않고 가는 색 테두리만 --- */
        .art.info.tp-sky.ms.tv-outline .p-deco .mo-orb { display: none; }
        .art.info.tp-sky.ms.tv-outline .i-box:not(.bare) { background: transparent; box-shadow: none; border: 2px solid color-mix(in srgb, var(--sc) 55%, transparent); }
        .art.info.tp-sky.ms.tv-outline .i-no { color: var(--sc); background: transparent !important; border: 2px solid var(--sc); box-shadow: none !important; }
        .art.info.tp-sky.ms.tv-outline :is(.p-kpi, .p-side, .p-cyc .nd, .p-qa .a) { background: transparent; box-shadow: none; border: 1.5px solid color-mix(in srgb, var(--kc) 45%, transparent); }
        .art.info.tp-sky.ms.tv-outline .i-box:not(.bare) .p-kpi { background: transparent; box-shadow: none; }
        .art.info.tp-sky.ms.tv-outline .p-side { border-top-width: 4px; border-top-color: var(--kc); }
        .art.info.tp-sky.ms.tv-outline .p-chk { background: transparent; box-shadow: none; border: 1.5px solid color-mix(in srgb, var(--kc) 40%, transparent); border-left: 4px solid var(--kc); }
        .art.info.tp-sky.ms.tv-outline .p-note { background: transparent; }
        /* --- 컬러 블록: 카드 전체를 색으로 채우고 내용은 밝은 안쪽 판에 --- */
        .art.info.tp-sky.ms.tv-solid .i-box:not(.bare) { background: linear-gradient(160deg, var(--sc), var(--sc2)); padding-bottom: 12px; }
        .art.info.tp-sky.ms.tv-solid .i-sechead { margin-bottom: 22px; }
        .art.info.tp-sky.ms.tv-solid .i-sechead::after { background: rgba(255, 255, 255, .75); }
        .art.info.tp-sky.ms.tv-solid .i-no { color: var(--sc); background: #fff !important; box-shadow: 0 8px 16px rgba(0, 0, 0, .14) !important; }
        .art.info.tp-sky.ms.tv-solid .i-box .a-kicker { color: rgba(255, 255, 255, .88); }
        .art.info.tp-sky.ms.tv-solid .i-box .a-title { color: #fff; }
        .art.info.tp-sky.ms.tv-solid .i-secicon { color: #fff; }
        .art.info.tp-sky.ms.tv-solid .i-tag { background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .55); }
        .art.info.tp-sky.ms.tv-solid .i-box:not(.bare) .p-body { margin: 0 12px; padding: 16px 14px; border-radius: 17px; background: color-mix(in srgb, var(--a-hi) 95%, transparent); }
        .art.info.tp-sky.ms.tv-solid .i-box:not(.bare)::after { display: none; }
        /* --- 네온 나이트: 어두운 바탕에 빛나는 테두리 --- */
        .art.info.tp-sky.ms.tv-neon .i-head .a-title { text-shadow: 0 0 26px color-mix(in srgb, var(--c1) 70%, transparent); }
        .art.info.tp-sky.ms.tv-neon .i-box:not(.bare) { background: color-mix(in srgb, var(--a-hi) 78%, transparent); border: 1.5px solid color-mix(in srgb, var(--sc) 70%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--sc) 34%, transparent), inset 0 0 22px color-mix(in srgb, var(--sc) 10%, transparent); }
        .art.info.tp-sky.ms.tv-neon .i-no { box-shadow: 0 0 18px var(--sc) !important; }
        .art.info.tp-sky.ms.tv-neon :is(.p-kpi, .p-chk, .p-side, .p-qa .a) { box-shadow: 0 0 14px color-mix(in srgb, var(--kc) 22%, transparent); }
        .art.info.tp-sky.ms.tv-neon .p-cyc .nd { background: var(--a-hi); }
        .art.info.tp-sky.ms.tv-neon .p-kpi .v { text-shadow: 0 0 14px color-mix(in srgb, var(--kc) 60%, transparent); }
        /* --- 페이퍼 노트: 줄 공책 바탕에 점선 테두리 쪽지 --- */
        .art.info.tp-sky.ms.tv-paper .p-deco .mo-orb { display: none; }
        .art.info.tp-sky.ms.tv-paper .i-fit { background: repeating-linear-gradient(transparent 0 33px, color-mix(in srgb, var(--a-sub) 20%, transparent) 33px 34px); }
        .art.info.tp-sky.ms.tv-paper .i-box:not(.bare) { background: var(--a-hi); border: 2px dashed color-mix(in srgb, var(--sc) 55%, transparent); border-radius: 10px; box-shadow: 7px 7px 0 color-mix(in srgb, var(--sc) 24%, transparent); }
        .art.info.tp-sky.ms.tv-paper .i-no { border-radius: 9px; box-shadow: 3px 3px 0 color-mix(in srgb, var(--sc) 35%, transparent) !important; }
        .art.info.tp-sky.ms.tv-paper :is(.p-kpi, .p-chk, .p-side, .p-cyc .nd, .p-qa .a) { border-radius: 8px; box-shadow: 3px 3px 0 color-mix(in srgb, var(--kc) 22%, transparent); }
        .art.info.tp-sky.ms.tv-paper .i-head .a-title { background-image: linear-gradient(transparent 62%, color-mix(in srgb, var(--c2) 45%, transparent) 62%); display: inline; }
        .art.info.tp-sky.ms.tv-paper .p-tier { border-radius: 6px; }

        /* 템플릿 선택 버튼 */
        .tplgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
        .tthumb { width: 100%; aspect-ratio: 3 / 4; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .08); display: flex; flex-direction: column; gap: 3px; padding: 5px 4px; }
        .tthumb .h { display: block; width: 62%; height: 4px; border-radius: 2px; }
        .tthumb .l { display: block; width: 38%; height: 2.5px; border-radius: 2px; }
        .tthumb .g { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 1px; }
        .tthumb .g i { display: block; border-radius: 3px; }
        .tpl { padding: 6px 4px 5px; border-radius: 12px; box-shadow: var(--up-sm); display: flex; flex-direction: column; align-items: center; gap: 4px; }
        .tpl img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .08); display: block; background: #fff; }
        .art.info .i-ai .i-badge { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); background: rgba(15, 31, 61, .86); color: #fff; font-size: 22px; font-weight: 700; padding: 12px 26px; border-radius: 999px; white-space: nowrap; }
        .tpl .mini { width: 100%; height: 34px; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .08); display: flex; flex-direction: column; justify-content: space-between; padding: 5px; }
        .tpl .mini b { display: block; height: 6px; width: 62%; border-radius: 2px; }
        .tpl .mini span { display: flex; gap: 3px; }
        .tpl .mini i { display: block; width: 9px; height: 9px; border-radius: 2px; }
        .tpl small { font-size: 9.5px; font-weight: 700; color: var(--sub); white-space: nowrap; }
        .tpl.on { box-shadow: var(--in), 0 0 0 2px var(--c4); }
        .art.notext .i-no { color: transparent !important; }
        .frame.info { aspect-ratio: 9 / 16; max-width: 500px; }
        .frame.info.wide { aspect-ratio: 16 / 9; max-width: 940px; }
        #stage.poster { padding: 4px 0; }
        #grid-cards.info { grid-template-columns: minmax(0, 520px); justify-content: center; }
        #grid-cards.info.wide { grid-template-columns: minmax(0, 1100px); }
        .history .kind.info { color: var(--c3); }
    
        /* ===== 본문 글자 크기 통일 =====
           본문에 해당하는 글(문단, 개조식 줄, 도식 소개 문장, 핵심 한 줄, 도식 항목 설명, 문답)은
           모두 개조식 줄과 같은 크기로 맞춘다. 16:9는 15px, 4:5는 12.5px (기준 크기에서의 값).
           글이 넘칠 때는 fitArtText가 이 크기에서 똑같은 비율로 줄인다. */
        .art.mo.wide :is(.mo-text, .mo-li, .mo-lead, .mo-note, .mi .t, .mi-q, .mi-a) { font-size: 15px; }
        .art.mo:not(.wide) :is(.mo-text, .mo-li, .mo-lead, .mo-note, .mi .t, .mi-q, .mi-a) { font-size: 12.5px; }
        /* 막대 비교: 막대 아래 설명을 크게 (한 줄 설명이라 칸에 여유가 있다) */
        .art.mo.wide .mi-bar .top b { font-size: 19px; line-height: 1.2; }
        .art.mo:not(.wide) .mi-bar .top b { font-size: 15px; }
        .art.mo.wide .mi:has(> .mi-bar) { gap: 6px; }
        .art.mo.wide .mi-bar .trk { height: 14px; margin: 3px 0 1px; }
        .art.mo.wide .mi-bar .t { font-size: 19px; line-height: 1.38; margin-top: 3px; color: color-mix(in srgb, var(--ink) 78%, var(--sub)); }
        .art.mo:not(.wide) .mi-bar .t { font-size: 15px; line-height: 1.38; margin-top: 2px; color: color-mix(in srgb, var(--ink) 78%, var(--sub)); }
        .art.slide:not(.info):not(.mo) :is(.a-main .a-body, .a-main .a-note, .a-main .t) { font-size: 15px; }
        .art.card:not(.info):not(.mo) :is(.a-main .a-body, .a-main .a-note, .a-main .t) { font-size: 12.5px; }
        /* 글이 넘칠 때 글자를 줄이기 전에 먼저 여백을 조인다 (fitArtText가 .tight를 붙인다) */
        .art.tight :is(.mo-text, .mo-li, .mo-lead, .mo-note, .mi .t, .mi-q, .mi-a, .a-body, .a-note, .t) { line-height: 1.38; }
        .art.tight .mi { gap: 5px; }
        .art.tight .mi-list { gap: 5px; }
        .art.tight .mi-row > .tx { padding: 5px 11px; }
        .art.tight .mo-li { padding: 5px 12px; margin-top: 5px; }
        .art.tight .mo-hd { margin-bottom: 6px; }
        .art.tight .mo-lead { margin-bottom: 6px; }
        .art.tight .mo-note { margin-top: 6px; padding: 6px 12px; }
        .art.tight .mo-line { margin: 8px 0; }
        .art.tight .mi-stat { padding: 8px 6px 7px; }
        .art.tight .mi-side { padding: 10px 14px; }
        .art.tight .mi-tr { padding: 6px 12px; }
        .art.tight .mi-grp { padding: 8px 12px; }
        .art.tight.wide .mo-body { top: 68px; bottom: 38px; }
        .art.tight .a-main { gap: 12px; padding: 4px 0; }
        .art.tight .a-dots { margin: 8px 0; }
        .art.tight .a-note { margin-top: 8px; padding: 7px 12px; }
        /* 순환 구조의 마디: 칸을 넓히고 글자를 키운다 (도식 전체가 넘치면 fitArtText가 도식 크기를 줄인다) */
        .art.mo .mi .mi-cyc .cn { width: 138px; margin: -34px 0 0 -69px; padding: 8px 9px; }
        .art.mo.wide .mi .mi-cyc .cn b { font-size: 15px; }
        .art.mo.wide .mi .mi-cyc .cn .t { font-size: 13px; -webkit-line-clamp: 2; }
        .art.mo:not(.wide) .mi .mi-cyc .cn { width: 124px; margin: -32px 0 0 -62px; }
        .art.mo:not(.wide) .mi .mi-cyc .cn b { font-size: 13.5px; }
        .art.mo:not(.wide) .mi .mi-cyc .cn .t { font-size: 11.5px; -webkit-line-clamp: 2; }
        .art.mo.wide .mi .mi-cyc.wd { width: 660px; height: 252px; scale: 1; margin: 0 auto; }
        .art.mo.wide.subs .mi .mi-cyc.wd { scale: .92; margin: -10px auto; }
        .art.mo.wide .mi .mi-cyc.wd svg { left: 0; top: 0; width: 100%; height: 100%; }
        .art.mo.wide .mi .mi-cyc.wd .cn { width: 190px; margin: -36px 0 0 -95px; padding: 9px 12px; }
        .art.mo.wide .mi .mi-cyc.wd .cn b { font-size: 17px; }
        .art.mo.wide .mi .mi-cyc.wd .cn .t { font-size: 14.5px; }
        /* 도식 소개 문장과 제목 위 도입구는 본문보다 한 단계 크게 */
        .art.mo.wide .mo-body .mo-lead.mo-lead { font-size: 17.5px; line-height: 1.5; }
        .art.mo:not(.wide) .mo-body .mo-lead.mo-lead { font-size: 13.5px; }
        .art.mo.wide .mo-hd .mo-kicker { font-size: 17.5px; }
        .art.mo:not(.wide) .mo-hd .mo-kicker { font-size: 14px; }
        /* ===== 모션 그래픽 자막 =====
           자막은 화면 아래쪽에 따로 비워 둔 띠 안에만 놓는다. 자막이 있는 덱은 본문 영역(.mo-body)의
           아래 경계를 그만큼 올려서, 도식 · 글과 자막이 겹치지 않는다. */
        .mo-sub { position: absolute; left: 22px; right: 22px; bottom: 34px; height: 56px; z-index: 4; display: flex; align-items: center; justify-content: center; pointer-events: none; }
        .mo-sub span { position: absolute; max-width: 100%; unicode-bidi: plaintext; padding: 7px 14px; border-radius: 12px; background: rgba(16, 20, 28, .84); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.42; text-align: center; opacity: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; box-shadow: 0 8px 18px rgba(16, 20, 28, .22); }
        .art.mo.subs .mo-body { bottom: 98px; }
        .art.mo.subs .mo-ghost { bottom: 92px; }
        .art.mo.wide .mo-sub { left: 70px; right: 70px; bottom: 36px; height: 62px; }
        .art.mo.wide .mo-sub span { font-size: 17px; padding: 9px 22px; border-radius: 14px; }
        .art.mo.wide.subs .mo-body { bottom: 106px; }
        .art.mo.subs:not(.wide) .mi .mi-cyc { scale: .72; margin: -44px auto; }
        .art.mo.wide.subs .mi .mi-cyc { scale: .94; margin: -10px auto; }
        .art.mo.subs:not(.wide) .mo-hero { width: 200px; height: 158px; }
        .art.mo.subs:not(.wide) .mo-ringbig { width: 270px; height: 270px; }
        .art.mo.wide.subs .mo-ringbig { width: 300px; height: 300px; }
        .voice-row { display: flex; gap: 8px; margin-top: 8px; }
        .voice-row select { flex: 1; min-width: 0; padding: 8px 30px 8px 12px; }
        #narration-btn { width: 100%; justify-content: center; margin-top: 8px; }

        /* ---------- 로그인 · 회원 관리 ---------- */
        #auth-bar { display: flex; align-items: center; gap: 8px; }
        #auth-bar[hidden], #g-signin[hidden], #auth-user[hidden], #auth-banner[hidden] { display: none; }
        #g-signin { min-height: 32px; display: flex; align-items: center; }
        #auth-user { gap: 7px; max-width: 230px; }
        #auth-user img { width: 22px; height: 22px; border-radius: 50%; }
        #auth-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        #auth-user em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; flex: none; }
        #auth-user em.ok { color: #1f8f6b; background: rgba(43, 185, 154, .16); }
        #auth-user em.wait { color: #b5661a; background: rgba(247, 165, 49, .2); }
        #admin-btn.on { color: var(--c3); }
        #auth-banner { display: flex; align-items: center; gap: 12px; margin-top: 14px; margin-bottom: -4px; padding: 13px 18px; border-radius: 16px; background: var(--bg); box-shadow: var(--up); font-size: 13.5px; color: var(--ink); }
        #auth-banner > i { color: var(--c2); font-size: 16px; }
        #auth-banner > span { flex: 1; min-width: 0; }
        /* 승인 전: 화면 전체를 흐리게 하고 누를 수 없게 한다 (inert와 함께 쓴다) */
        body.auth-locked main.wrap, body.auth-locked #mode-seg { opacity: .42; filter: grayscale(.55); pointer-events: none; user-select: none; }
        #auth-layer { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; background: rgba(30, 42, 68, .4); padding: 20px; }
        #auth-layer.open { display: flex; }
        #auth-box { width: min(420px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 22px; background: var(--bg); box-shadow: var(--up), 0 24px 50px rgba(30, 42, 68, .25); padding: 22px; }
        #auth-box.wide { width: min(1400px, 100%); }
        #auth-box h3 { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--ink); }
        #auth-box h3 i { color: var(--c4); margin-right: 6px; }
        #auth-box h3 small { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--sub); }
        #auth-box form { display: grid; gap: 11px; margin-top: 12px; }
        #auth-box form label:not(.check) { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink); }
        #auth-box input[readonly] { color: var(--sub); }
        #auth-box .acts { display: flex; justify-content: flex-end; gap: 9px; margin-top: 6px; }
        #auth-box .btn.primary { width: auto; padding: 9px 20px; }
        #auth-box .ahead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
        #auth-box .ahead h3, #auth-box .ahead .acts { margin: 0; }
        #auth-box .warnline { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: #9a5a12; background: rgba(247, 165, 49, .16); }
        #auth-box .atable { overflow: auto; border-radius: 14px; box-shadow: var(--in); }
        #auth-box table { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
        #auth-box th { position: sticky; top: 0; padding: 10px 12px; text-align: left; font-size: 11.5px; color: var(--sub); background: var(--bg); }
        #auth-box td { padding: 9px 12px; border-top: 1px solid rgba(120, 134, 160, .16); color: var(--ink); vertical-align: middle; }
        #auth-box td small { display: block; margin-top: 2px; font-size: 11px; color: var(--sub); }
        #auth-box td.num { text-align: center; font-weight: 700; }
        #auth-box td.empty { text-align: center; padding: 30px; color: var(--sub); }
        #auth-box td .btn { padding: 6px 11px; font-size: 12px; }
        #auth-box td .btn.approved { color: var(--c3); }

        /* 저장 폴더: 로컬 / 구글 드라이브 가운데 고른 쪽만 보인다 */
        #storage-local[hidden], #storage-drive[hidden] { display: none; }

        /* 히스토리를 저장 폴더에 쓰는 동안의 진행 창 (영상용 안내문은 감춘다) */
        #busy-layer.plain .hint { display: none; }
        #busy-layer.plain #busy-title { white-space: pre-line; margin-bottom: 16px; }

        /* API 키 설정: 닫기 · 열기 단추 */
        details.api summary { gap: 8px; }
        details.api summary > .mnum { white-space: nowrap; flex: none; }
        details.api summary .stat { display: flex; align-items: center; gap: 4px; justify-content: flex-end; min-width: 0; }
        details.api summary .stat .pill { padding-left: 7px; padding-right: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
        #api-toggle { width: 26px; height: 26px; padding: 0; justify-content: center; font-size: 11px; flex: none; }
        #api-close { align-self: flex-end; padding: 6px 14px; font-size: 12px; }

        /* ---------- 메뉴 · 입력란 글자 크기 (한 단계 작게) ---------- */
        .seg button { font-size: 12px; }
        .seg.full button { font-size: 11.5px; }
        .btn { font-size: 11.5px; }
        .btn.primary { font-size: 13.5px; }
        .tgroup .btn, .history .hbtns .btn, .source-row .btn { font-size: 11px; }
        .inp { font-size: 12px; }
        .profile-row .inp { font-size: 11.5px; }
        .field > label, .lbl, .check, .profile-row label { font-size: 11.5px; }
        details.api summary { font-size: 12px; }
        .sec-title { font-size: 14px; }
        .toolbar { font-size: 11.5px; }
        .hint, .chk, .source-name { font-size: 11px; }
        #api-toggle { font-size: 10.5px; }
        #api-close { font-size: 11.5px; }
        #auth-box td .btn { font-size: 11.5px; }

        /* ---------- 팝업 창: 그림자 없이 가는 테두리만 ---------- */
        #confirm-box, #busy-box, #auth-box { box-shadow: none; border: 1px solid rgba(120, 134, 160, .28); }
        #grid-modal .mhead { box-shadow: none; border-bottom: 1px solid rgba(120, 134, 160, .22); }

        /* 회원 정보: 실명 안내 */
        #auth-box form label small.warn { font-size: 11px; font-weight: 600; color: #d6455d; }

        /* 전체 모아보기 → 한 장씩 보기 */
        #grid-single { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px 22px; }
        #grid-single[hidden], #grid-modal .mbody[hidden], #single-count[hidden], #single-edit[hidden], #single-back[hidden] { display: none; }
        #single-stage { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
        #single-stage .frame { flex: none; max-width: none; cursor: pointer; }
        #grid-single .btn.icon { flex: none; }
        #single-count { font-size: 12px; padding: 5px 12px; }

        /* 배경음악 · 볼륨 */
        .vol-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 40px; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
        .vol-row label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
        .vol-row label i { color: var(--c4); }
        .vol-row span { text-align: right; color: var(--sub); font-variant-numeric: tabular-nums; }
        .vol-row input[type=range] { width: 100%; }

        /* 글자 바로 고치기: 고칠 수 있는 곳을 분명하게 */
        #stage .art [contenteditable]:hover { box-shadow: 0 0 0 1.5px rgba(58, 160, 232, .75); background: rgba(58, 160, 232, .06); }
        #stage .art [contenteditable]:focus { box-shadow: 0 0 0 2px #3aa0e8; background: rgba(58, 160, 232, .08); }
        #edit-hint { margin: -4px 0 8px; text-align: center; }
        #edit-hint[hidden], #text-edit-btn[hidden] { display: none; }
        #edit-hint i { color: var(--c4); margin-right: 4px; }
        #text-edit-btn.on { color: var(--c3); }

        /* 미리보기 도구줄: 나레이션 · 자막 켜고 끄기 */
        .bar-check { padding: 7px 12px; border-radius: 12px; box-shadow: var(--up-sm); background: var(--bg); color: var(--ink); font-weight: 700; font-size: 11.5px; }
        .bar-check[hidden] { display: none; }

        /* ---------- 슬라이드 글자 디자인 (편집 화면 · PNG · PDF · PPT 배경에 함께 쓰인다) ---------- */
        .art.slide:not(.info):not(.mo) { --a-ink2: color-mix(in srgb, var(--a-ink) 74%, var(--a-sub)); }
        /* 태그: 그 장의 포인트 색으로 옅게 칠한 라벨 */
        .art.slide:not(.info):not(.mo) .a-chip { background: color-mix(in srgb, var(--a-c1) 13%, var(--a-bg)); color: color-mix(in srgb, var(--a-c1) 78%, var(--a-ink)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-c1) 28%, transparent); font-weight: 800; letter-spacing: .06em; }
        /* 도입구: 포인트 색 기운을 섞어 제목과 구분 */
        .art.slide:not(.info):not(.mo) .a-kicker { color: color-mix(in srgb, var(--a-c1) 55%, var(--a-ink)); font-weight: 400; letter-spacing: -.015em; }
        /* 제목: 줄 길이를 고르게, 아래쪽에 형광펜 같은 밑줄 */
        .art.slide:not(.info):not(.mo) .a-title {
            letter-spacing: -.03em; text-wrap: balance; text-shadow: 0 1px 0 var(--a-hi);
            text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--a-c1) 26%, transparent);
            text-decoration-thickness: .3em; text-underline-offset: -.14em; text-decoration-skip-ink: none;
        }
        /* 본문: 조금 더 진하고 넉넉한 줄 간격, 왼쪽에 포인트 색 세로줄 */
        .art.slide:not(.info):not(.mo) .a-body { color: var(--a-ink2); line-height: 1.78; letter-spacing: -.005em; text-wrap: pretty; }
        .art.slide:not(.info):not(.mo) .a-main:not(.pts) .a-text .a-body { padding-left: 16px; border-left: 3px solid color-mix(in srgb, var(--a-c1) 55%, transparent); }
        /* 핵심 한 줄: 왼쪽에 포인트 색 띠 */
        .art.slide:not(.info):not(.mo) .a-note { border-left: 4px solid var(--a-c1); color: var(--a-ink); }
        /* 도식 항목: 라벨은 진하게, 설명은 읽기 쉬운 회색 */
        .art.slide:not(.info):not(.mo) :is(.a-step, .a-stat, .a-side, .a-bar, .a-tl-item, .a-row) b { letter-spacing: -.02em; text-wrap: balance; }
        .art.slide:not(.info):not(.mo) :is(.a-step, .a-stat, .a-side, .a-bar, .a-tl-item, .a-row) .t { color: var(--a-ink2); text-wrap: pretty; }
        .art.slide:not(.info):not(.mo) .a-step b { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--a-c1) 30%, transparent); text-decoration-thickness: .32em; text-underline-offset: -.16em; text-decoration-skip-ink: none; }
        /* 표지 · 마무리: 제목을 한층 크게 */
        .art.slide.cover:not(.mo) .a-title { font-size: 48px; line-height: 1.16; }
        .art.slide.cover:not(.mo) .a-body { font-size: 15.5px; }

        /* 슬라이드 도식의 작은 설명 글: 왼쪽에 항목 색 띠가 있는 밝은 상자 (모션 그래픽의 항목과 같은 모양) */
        .art.slide:not(.info):not(.mo) :is(.a-step, .a-stat, .a-bar, .a-tl-item, .a-row, .a-side) .t {
            display: block; margin-top: 8px; padding: 7px 11px; border-radius: 10px; text-align: left;
            font-size: 12.5px; font-weight: 700; line-height: 1.45; color: var(--a-ink);
            background: color-mix(in srgb, var(--a-hi) 85%, transparent); border-left: 3.5px solid var(--kc, var(--a-c1));
            box-shadow: 0 6px 14px rgba(20, 30, 60, .08);
        }
        .art.slide:not(.info):not(.mo) .a-side .t { font-size: 13.5px; }
        .art.slide:not(.info):not(.mo) .a-bar .t { margin-top: 0; }

        /* 원형 안 글자: 길면 작게, 더 길면 두 줄로 (ringFit이 --vk와 wrap2를 정한다) */
        .mi-stat .g .v { font-size: calc(17px * var(--vk, 1)); padding: 0 14%; text-align: center; line-height: 1.08; }
        .mo.wide .mi-stat .g .v { font-size: calc(24px * var(--vk, 1)); }
        .mo:not(.wide) .mi-stat .g .v { font-size: calc(15px * var(--vk, 1)); }
        .mi-stat .g.wrap2 .v { word-break: break-all; }
        .slide .a-gauge > div .v { font-size: calc(19px * var(--vk, 1)); }
        .card .a-gauge > div .v { font-size: calc(13.5px * var(--vk, 1)); }
        .art.info .compact .a-gauge > div .v { font-size: calc(11.5px * var(--vk, 1)); }
        .a-gauge > div.wrap2 { padding: 0 13%; }
        .a-gauge > div.wrap2 .v { white-space: normal; word-break: break-all; text-align: center; line-height: 1.06; }

        /* 뒷표지: 원 아래의 발표자 · 행사명 두 줄 */
        .mo-endinfo { position: relative; z-index: 2; margin-top: 16px; padding: 8px 20px; border-radius: 14px; display: flex; flex-direction: column; gap: 3px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.45; color: var(--ink); background: color-mix(in srgb, var(--hi) 84%, transparent); box-shadow: 0 8px 18px rgba(20, 30, 60, .1); }
        .mo-endinfo span + span { font-weight: 600; color: color-mix(in srgb, var(--ink) 75%, var(--sub)); }
        .mo.wide .mo-endinfo { margin-top: 14px; font-size: 13.5px; padding: 9px 26px; }

        /* 모션 도식 장의 소개 문장(도식이 무엇을 보여 주는지): 더 크고 또렷하게 */
        .mo-lead { font-size: 13px; font-weight: 600; color: var(--ink); }
        .mo.wide .mo-lead { font-size: 17px; line-height: 1.5; margin-bottom: 14px; padding-left: 14px; border-left-width: 4px; }

        /* 재생 화면에서 바로 고치기 */
        .mplayer [data-ep] { cursor: text; }
        .mplayer [data-ep]:hover { outline: 1.5px dashed rgba(58, 160, 232, .7); outline-offset: 2px; border-radius: 4px; }
        .mplayer .mo-editing { outline: 2px solid #3aa0e8 !important; outline-offset: 2px; background: rgba(255, 255, 255, .85); border-radius: 4px; opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }

        /* 미리보기 도구줄: 한 줄로 (좁으면 옆으로 밀어서 봄) */
        .bar .right { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px 6px; }
        .bar .right > .btn, .bar .right > .bar-check { flex: none; padding: 7px 10px; font-size: 11px; white-space: nowrap; }
        .bar .right > .btn i { margin-right: 0; }
        .bar { flex-wrap: nowrap; }
        .bar .left { flex: none; }

        /* 미리보기 도구줄: "Preview" 줄 아래에 단추 한 줄, 모든 단추가 폭 안에 들어가게 */
        .bar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 8px; }
        .bar .right { width: 100%; flex-wrap: nowrap; gap: 5px; overflow: visible; padding: 2px 0 4px; }
        .bar .right > .btn, .bar .right > .bar-check { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 7px 6px; font-size: 11px; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .bar .right > .bar-check input { width: 13px; height: 13px; }

        /* 좌측 메뉴: 화면 높이에 맞추고(머리줄 아래에 붙어 있음) 안쪽만 스크롤 */
        @media (min-width: 981px) {
            .panel { position: sticky; top: calc(var(--head-h, 78px) + 14px); max-height: calc(100vh - var(--head-h, 78px) - 28px); padding: 16px 10px 16px 18px; gap: 0; }
            .panel-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 13px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--lo) transparent; }
        }
        @media (max-width: 980px) { .panel-body { display: flex; flex-direction: column; gap: 13px; } }

        /* 메뉴 제목 줄 오른쪽 단추 (예: 3. 주제 입력 & AI 생성 · 새 작업) */
        .sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
        .sec-row .btn { flex: none; padding: 6px 11px; font-size: 11px; }

        /* 나레이션 다시 만들기: 평소에는 AI 자동 생성이 함께 만들므로 작은 보조 단추 */
        #narration-btn.sm-narr { padding: 7px 12px; font-size: 11px; align-self: flex-start; margin-top: 6px; }

        /* 사용법: 머리줄 오른쪽 위, 새 탭으로 연다 */
        #guide-btn { text-decoration: none; padding: 8px 13px; font-size: 12px; gap: 6px; }
        #guide-btn i { color: var(--c4); }

        /* 구독: 머리줄 단추 + 신청 · 입금 안내 창 */
        #sub-btn { padding: 8px 13px; font-size: 12px; gap: 6px; }
        #sub-btn i { color: var(--c2); }
        #sub-layer { position: fixed; inset: 0; z-index: 94; display: none; align-items: flex-start; justify-content: center; overflow: auto; padding: 30px 16px; background: rgba(30, 42, 68, .4); }
        #sub-layer.open { display: flex; }
        #sub-box { position: relative; width: min(1000px, 100%); margin: auto 0; border-radius: 26px; background: var(--bg); padding: 34px 38px 36px; }
        #sub-box .sub-x { position: absolute; right: 18px; top: 18px; }
        #sub-box h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
        #sub-box .sub-h2 { margin-top: 34px; }
        #sub-box .sub-lead { margin: 6px 0 18px; font-size: 13.5px; color: var(--sub); }
        .sub-card { border-radius: 24px; background: var(--bg); box-shadow: var(--up); padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 30px; align-items: center; }
        .sub-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--c4); box-shadow: var(--up-sm); }
        .sub-amt { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 6px; }
        .sub-amt b { font-size: 50px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; background: linear-gradient(135deg, #22b39b, #3aa0e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .sub-amt small { font-size: 15px; font-weight: 800; color: var(--sub); }
        .sub-term { font-size: 15px; font-weight: 800; color: var(--ink); }
        .sub-month { font-size: 12.5px; color: var(--sub); margin-bottom: 16px; }
        .sub-go { width: 100%; border: 0; cursor: pointer; padding: 14px 18px; border-radius: 999px; font: 800 14px 'Noto Sans KR', sans-serif; color: #fff; background: linear-gradient(90deg, #22b39b, #3aa0e8); box-shadow: 0 10px 20px rgba(58, 160, 232, .28); }
        .sub-go:hover { filter: brightness(1.05); }
        .sub-go:disabled { opacity: .7; cursor: default; }
        .sub-feat { list-style: none; margin: 0; padding: 20px 24px; border-radius: 20px; box-shadow: var(--in); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 13.5px; color: var(--ink); }
        .sub-feat li { display: flex; gap: 10px; align-items: baseline; }
        .sub-feat li::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2aa9b8; transform: translateY(-1px); }
        .sub-note { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: var(--ink); box-shadow: var(--in); border-left: 4px solid var(--c2); }
        .sub-note i { color: var(--c2); margin-right: 8px; }
        .sub-bank { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 22px; }
        .sub-acc { position: relative; border-radius: 18px; box-shadow: var(--in); padding: 14px 18px; display: grid; gap: 2px; }
        .sub-acc span { font-size: 12px; color: var(--sub); }
        .sub-acc b { font-size: 18px; font-weight: 800; color: var(--ink); }
        .sub-acc .btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
        .sub-foot { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--sub); }
        .sub-foot b { color: var(--ink); }
        @media (max-width: 760px) {
            #sub-box { padding: 26px 18px; }
            .sub-card, .sub-bank, .sub-feat { grid-template-columns: minmax(0, 1fr); }
        }
        #auth-box .subreq { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #9a5a12; background: rgba(247, 165, 49, .18); }

        /* 사용법 팝업 */
        #guide-layer { position: fixed; inset: 0; z-index: 93; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(30, 42, 68, .4); }
        #guide-layer.open { display: flex; }
        #guide-box { width: min(1380px, 100%); height: min(940px, 100%); display: flex; flex-direction: column; border-radius: 24px; background: var(--bg); overflow: hidden; }
        #guide-box .guide-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 22px; }
        #guide-box .guide-head b { flex: 1; font-size: 15px; font-weight: 800; color: var(--ink); }
        #guide-box .guide-head b i { color: var(--c4); margin-right: 8px; }
        #guide-box .guide-head a.btn { text-decoration: none; padding: 7px 12px; font-size: 12px; }
        #guide-frame { flex: 1; width: 100%; border: 0; background: var(--bg); }
        @media (max-width: 760px) { #guide-layer { padding: 8px; } }

        /* 계정 히스토리 상태 */
        .pill.cloud { margin-left: 6px; display: inline-flex; align-items: center; gap: 5px; color: var(--sub); }
        .pill.cloud.ok i { color: var(--c3); }
        .pill.cloud.busy i { color: var(--c4); }
        .pill.cloud.bad { color: #b45309; }

        /* ===== 태블릿 · 좁은 창: 머리줄 단추를 다음 줄로 ===== */
        @media (max-width: 1180px) {
            .top-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
            #mode-seg { flex: 1 1 auto; }
            #mode-seg button { flex: 1; justify-content: center; white-space: nowrap; padding: 8px 10px; }
        }
        /* ===== 모바일 ===== */
        @media (max-width: 980px) { #panel-resizer { display: none; } }
        @media (max-width: 760px) {
            .wrap { padding: 0 12px; }
            header.top { position: static; }
            .top .wrap { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
            .brand { gap: 10px; }
            .brand-mark { width: 38px; height: 38px; font-size: 16px; }
            .brand h1 { font-size: 17px; }
            .brand p { display: none; }
            .top-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
            #mode-seg { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
            #mode-seg button { flex-direction: column; justify-content: center; gap: 3px; padding: 7px 2px; font-size: 11px; white-space: nowrap; }
            #sub-btn, #guide-btn { flex: 1; justify-content: center; }
            #auth-bar { flex-wrap: wrap; }
            #auth-banner { flex-wrap: wrap; }
            main { gap: 18px; }
            .panel { border-radius: 20px; }
            .bar .right { width: 100%; }
            .bar .right .btn { flex: 1 1 auto; padding: 8px 9px; font-size: 11.5px; }
            .stage-row { gap: 6px; }
            .stage-row > .btn, .stage-row > button { width: 34px; height: 34px; padding: 0; flex: none; }
            .history .hbtns .btn { flex: 1 1 auto; justify-content: center; }
            .history table { font-size: 12px; }
            #single-stage, #grid-cards { gap: 10px; }
        }
        /* 모바일: 히스토리 표를 카드처럼 쌓는다 */
        @media (max-width: 760px) {
            .history .hwrap { overflow: visible; box-shadow: none; padding: 0; }
            .history table { min-width: 0; }
            .history thead { display: none; }
            .history table, .history tbody { display: block; }
            .history tbody tr { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 6px 10px; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; box-shadow: var(--up-sm); }
            .history tbody tr.current { box-shadow: var(--up-sm), 0 0 0 2px var(--c4); }
            .history tbody td { display: block; padding: 0; border: 0; white-space: normal; }
            .history tbody td:first-child { font-size: 11px; color: var(--sub); }
            .history tbody td:nth-child(4) { justify-self: end; font-size: 11.5px; color: var(--sub); }
            .history td.topic { grid-column: 1 / -1; grid-row: 2; min-width: 0; font-size: 13.5px; white-space: normal; }
            .history td.acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; text-align: left; }
            .history td.acts .btn { margin: 0; flex: 1 1 auto; justify-content: center; }
            .history td.empty { white-space: normal; }
            .history tbody tr:has(td.empty) { display: block; box-shadow: none; }
        }
        /* 모바일: 설정 ↔ 미리보기 바로가기 */
        #jump-btn { display: none; }
        @media (max-width: 980px) {
            #jump-btn { position: fixed; right: 14px; bottom: 16px; z-index: 30; display: inline-flex; padding: 11px 16px; border-radius: 999px; font-size: 12.5px; box-shadow: 0 8px 18px rgba(30, 42, 68, .22); }
            #jump-btn i { color: var(--c4); }
        }
        #auth-box .subend { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #0f7a64; background: rgba(43, 185, 154, .16); }
        #auth-box .subend.soon { color: #9a5a12; background: rgba(247, 165, 49, .18); }
        #auth-box .subend.over { color: #b42318; background: rgba(229, 72, 77, .14); }

        /* ===== 슬라이드 레이아웃 템플릿 고르기 ===== */
        .lt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
        .lt-grid button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 4px 6px; border-radius: 12px; font-size: 11px; font-weight: 700; color: var(--sub); box-shadow: var(--up-sm); background: var(--bg); white-space: nowrap; }
        .lt-grid button.on { color: var(--ink); box-shadow: var(--in); }
        .lt-grid button.on .lt-pv { outline: 2px solid var(--c4); }
        .lt-pv { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 5px; background: #f3f5f9; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(120, 134, 160, .25); }
        .lt-pv i { position: absolute; left: 14%; top: 34%; width: 34%; height: 9%; border-radius: 2px; background: var(--ink); opacity: .55; }
        .lt-pv b { position: absolute; right: 12%; top: 26%; width: 30%; height: 48%; border-radius: 40%; background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: .8; }
        .lt-pv.sidebar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 11%; background: linear-gradient(180deg, var(--c1), var(--c4)); }
        .lt-pv.sidebar i { left: 20%; }
        .lt-pv.banner::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(90deg, var(--c4), var(--c3)); }
        .lt-pv.banner i { top: 42%; } .lt-pv.banner b { top: 34%; height: 44%; }
        .lt-pv.minimal b { border-radius: 2px; background: #c9d1dc; }
        .lt-pv.minimal::before { content: ''; position: absolute; left: 14%; top: 50%; width: 20%; height: 3%; background: var(--c1); }
        .lt-pv.frame::before { content: ''; position: absolute; inset: 9%; border: 1.5px solid var(--c1); border-radius: 4px; }

        /* ===== 슬라이드 레이아웃 템플릿 (이미지 슬라이드 .art.slide · 모션 슬라이드 .art.mo.wide) ===== */
        /* 사이드 바: 왼쪽 색 띠 */
        .art.slide.lt-sidebar { padding-left: 92px; }
        .art.slide.lt-sidebar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 32px; z-index: 1; background: linear-gradient(180deg, var(--a-c1), var(--a-c2)); }
        .art.slide.lt-sidebar::after { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 5px; z-index: 1; background: var(--a-c2); opacity: .35; }
        .art.mo.wide.lt-sidebar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 32px; z-index: 1; background: linear-gradient(180deg, var(--c1), var(--c2)); }
        .art.mo.wide.lt-sidebar::after { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 5px; z-index: 1; background: var(--c2); opacity: .35; }
        .art.mo.wide.lt-sidebar :is(.mo-body, .mo-foot) { left: 82px; }
        .art.mo.wide.lt-sidebar :is(.mo-prog, .mo-top) { left: 80px; }
        .art.mo.wide.lt-sidebar .mo-sub { left: 82px; }

        /* 상단 배너: 위쪽 색 띠에 주제 */
        .art.slide.lt-banner { padding-top: 92px; }
        .art.slide.lt-banner::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; background: linear-gradient(90deg, var(--a-c1), var(--a-c2)); }
        .art.slide.lt-banner .a-topic { top: 0; height: 64px; justify-content: center; left: 60px; right: 60px; max-width: none; }
        .art.slide.lt-banner .a-topic-text { color: #fff; font-size: 15px; text-align: left; }
        .art.slide.lt-banner .a-topic-line { display: none; }
        .art.mo.wide.lt-banner::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; background: linear-gradient(90deg, var(--c1), var(--c2)); }
        .art.mo.wide.lt-banner .mo-prog { top: 6px; }
        .art.mo.wide.lt-banner .mo-prog > i { background: rgba(255, 255, 255, .3); }
        .art.mo.wide.lt-banner .mo-prog b { background: #fff; }
        .art.mo.wide.lt-banner .mo-top { top: 18px; }
        .art.mo.wide.lt-banner .mo-top :is(.mo-topic, .mo-no, .mo-no *) { color: #fff; }
        .art.mo.wide.lt-banner .mo-body { top: 90px; }

        /* 미니멀: 그림자 · 장식 없이 선과 글자 */
        .art.slide.lt-minimal :is(.a-chip, .a-num, .a-note, .a-blob, .a-badge, .a-pt, .a-side, .a-gauge, .a-stat, .a-step, .a-tl-dot, .a-vs, .a-ring) { box-shadow: none !important; }
        .art.slide.lt-minimal .a-note { border-radius: 4px; border-left: 3px solid var(--a-c1); background: color-mix(in srgb, var(--a-c1) 7%, transparent); }
        .art.slide.lt-minimal :is(.a-blob, .a-blob .img) { border-radius: 10px !important; }
        .art.slide.lt-minimal .a-badge { border-radius: 8px; }
        .art.slide.lt-minimal::before { content: ''; position: absolute; left: 60px; right: 60px; bottom: 58px; height: 1px; background: color-mix(in srgb, var(--a-ink) 18%, transparent); }
        .art.mo.wide.lt-minimal :is(.mo-orb, .mo-pt, .mo-ghost, .mo-grid) { display: none; }
        .art.mo.wide.lt-minimal .mo-glass { box-shadow: none !important; backdrop-filter: none; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
        .art.mo.wide.lt-minimal :is(.mo-band, .mo-band .img, .mo-hero .img, .mo-hero .spin) { border-radius: 10px !important; }
        .art.mo.wide.lt-minimal .mo-note { box-shadow: none; border-left: 3px solid var(--c1); border-radius: 4px; }

        /* 액자: 화면 안쪽 테두리 */
        .art.slide.lt-frame { padding: 52px 74px 40px; }
        .art.slide.lt-frame::after { content: ''; position: absolute; inset: 16px; z-index: 1; pointer-events: none; border: 2px solid color-mix(in srgb, var(--a-c1) 70%, transparent); border-radius: 22px; }
        .art.slide.lt-frame::before { content: ''; position: absolute; left: 50%; top: 11px; width: 90px; height: 10px; margin-left: -45px; z-index: 2; border-radius: 5px; background: linear-gradient(90deg, var(--a-c1), var(--a-c2)); }
        .art.slide.lt-frame .a-topic { top: 34px; right: 74px; }
        .art.mo.wide.lt-frame::after { content: ''; position: absolute; inset: 14px; z-index: 4; pointer-events: none; border: 2.5px solid color-mix(in srgb, var(--c1) 70%, transparent); border-radius: 22px; }
        .art.mo.wide.lt-frame :is(.mo-body, .mo-foot) { left: 58px; right: 58px; }
        .art.mo.wide.lt-frame :is(.mo-prog, .mo-top) { left: 56px; right: 56px; }
        .art.mo.wide.lt-frame .mo-prog { top: 24px; }
        .art.mo.wide.lt-frame .mo-top { top: 38px; }
        .art.mo.wide.lt-frame .mo-body { top: 84px; bottom: 52px; }
        .art.mo.wide.lt-frame .mo-foot { bottom: 24px; }

        /* ===== 레이아웃 템플릿: 구성요소 배치 =====
           이미지 슬라이드: .art.slide.lt-*  (장 종류: cover · img = 글+그림, points = 도식, closing = 마지막 장)
           모션 슬라이드:   .art.mo.wide.lt-* (장 종류: ly-cover · ly-img · ly-points · ly-closing) */

        /* --- 사이드 바: 그림은 언제나 왼쪽 끝에 세로로 꽉 차게, 글은 오른쪽. 도식 장은 제목 · 설명(왼쪽) | 도식(오른쪽) --- */
        .art.slide.lt-sidebar:is(.cover, .img) .a-main, .art.slide.lt-sidebar:is(.cover, .img) .a-main.rev { position: static; flex-direction: row; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-blob { position: absolute; left: 37px; top: 0; bottom: 0; width: 360px !important; height: auto !important; padding: 0; border-radius: 0 !important; box-shadow: none; z-index: 2; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-blob .img { border-radius: 0; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-badge { left: auto; right: -33px; top: 50%; margin-top: -33px; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-text { margin-left: 330px; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-foot { padding-left: 330px; position: relative; z-index: 3; }
        .art.slide.lt-sidebar:is(.cover, .img) .a-topic { max-width: 360px; }
        .art.slide.lt-sidebar.points .a-main.pts { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 34px; row-gap: 14px; align-items: center; }
        .art.slide.lt-sidebar.points .pts > .a-text { grid-column: 1; grid-row: 1 / span 2; align-items: flex-start; text-align: left; }
        .art.slide.lt-sidebar.points .pts > :not(.a-text):not(.a-note) { grid-column: 2; grid-row: 1; min-width: 0; }
        .art.slide.lt-sidebar.points .pts > .a-note { grid-column: 2; grid-row: 2; align-self: start; }
        .art.mo.wide.lt-sidebar .mo-split { flex-direction: row; }
        .art.mo.wide.lt-sidebar .mo-band.side { order: -1; align-self: stretch; height: auto; margin: -76px 0 -46px -45px; width: 40%; border-radius: 0 !important; box-shadow: none; }
        .art.mo.wide.lt-sidebar .mo-hero { order: -1; }
        .art.mo.wide.lt-sidebar.ly-points .mo-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 34px; align-content: center; }
        .art.mo.wide.lt-sidebar.ly-points .mo-body > .mo-hd { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; }
        .art.mo.wide.lt-sidebar.ly-points .mo-body > .mo-lead { grid-column: 1; grid-row: 2; }
        .art.mo.wide.lt-sidebar.ly-points .mo-body > .mo-note { grid-column: 1; grid-row: 3; align-self: start; margin-top: 12px; }
        .art.mo.wide.lt-sidebar.ly-points .mo-body > .mi { grid-column: 2; grid-row: 1 / span 3; align-self: center; min-width: 0; }

        /* --- 상단 배너: 글은 위에 가로로(제목 | 설명), 그림은 그 아래 넓은 띠. 도식 장은 제목 | 설명 아래에 도식 --- */
        .art.slide.lt-banner:is(.cover, .img) .a-main, .art.slide.lt-banner:is(.cover, .img) .a-main.rev { flex-direction: column; align-items: stretch; gap: 16px; padding: 0; }
        .art.slide.lt-banner:is(.cover, .img, .points) .a-text { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; text-align: left; }
        .art.slide.lt-banner:is(.cover, .img, .points) .a-text > * { grid-column: 1; }
        .art.slide.lt-banner:is(.cover, .img, .points) .a-text > :is(.a-body, .a-note) { grid-column: 2; max-width: none; margin-top: 0; }
        .art.slide.lt-banner:is(.cover, .img, .points) .a-text > .a-body { grid-row: 1 / span 4; align-self: center; }
        .art.slide.lt-banner:is(.cover, .img) .a-text > .a-note { grid-row: 5; }
        .art.slide.lt-banner:is(.cover, .img) .a-blob { width: 100%; height: auto; flex: 1 1 150px; min-height: 120px; border-radius: 20px !important; }
        .art.slide.lt-banner:is(.cover, .img) .a-blob .img { border-radius: 14px; }
        .art.slide.lt-banner:is(.cover, .img) .a-badge { left: auto; right: 24px; top: -22px; }
        .art.slide.lt-banner.points .pts { justify-content: flex-start; gap: 20px; }
        .art.slide.lt-banner.points .pts > .a-text { width: 100%; }
        .art.mo.wide.lt-banner .mo-split { flex-direction: column; align-items: stretch; gap: 16px; }
        .art.mo.wide.lt-banner .mo-col { flex: none; }
        .art.mo.wide.lt-banner .mo-band.side { order: 2; width: 100%; height: auto; flex: 1 1 120px; min-height: 100px; border-radius: 20px !important; }
        .art.mo.wide.lt-banner .mo-hero { order: 2; align-self: center; height: 160px; width: 300px; }
        .art.mo.wide.lt-banner.ly-points .mo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 34px; align-content: start; }
        .art.mo.wide.lt-banner.ly-points .mo-body > .mo-hd { grid-column: 1; grid-row: 1; }
        .art.mo.wide.lt-banner.ly-points .mo-body > .mo-lead { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
        .art.mo.wide.lt-banner.ly-points .mo-body > .mi { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
        .art.mo.wide.lt-banner.ly-points .mo-body > .mo-note { grid-column: 1 / -1; grid-row: 3; }

        /* --- 미니멀: 글이 주인공. 언제나 글 왼쪽 · 그림은 오른쪽 아래에 작게, 제목은 크게, 도식 장은 왼쪽 정렬 --- */
        .art.slide.lt-minimal:is(.cover, .img) .a-main, .art.slide.lt-minimal:is(.cover, .img) .a-main.rev { flex-direction: row; align-items: flex-end; gap: 40px; }
        .art.slide.lt-minimal:is(.cover, .img) .a-text { align-self: center; }
        .art.slide.lt-minimal:is(.cover, .img) .a-title { font-size: 44px; }
        .art.slide.lt-minimal:is(.cover, .img) .a-blob { width: 250px; height: 190px; padding: 0; margin-bottom: 18px; }
        .art.slide.lt-minimal:is(.cover, .img) .a-badge { display: none; }
        .art.slide.lt-minimal.points .pts { align-items: flex-start; }
        .art.slide.lt-minimal.points .pts > .a-text { align-items: flex-start; text-align: left; }
        .art.slide.lt-minimal.points .pts > .a-note { align-self: flex-start; }
        .art.mo.wide.lt-minimal .mo-split { flex-direction: row; align-items: flex-end; }
        .art.mo.wide.lt-minimal .mo-band.side { order: 2; width: 30%; height: 56%; margin-bottom: 8px; box-shadow: none; }
        .art.mo.wide.lt-minimal .mo-hero { order: 2; width: 250px; height: 200px; }

        /* --- 액자: 그림이 액자 안을 가득 채우고 글은 그 위의 반투명 카드. 도식 장은 도식을 판 위에 --- */
        .art.slide.lt-frame:is(.cover, .img) .a-main, .art.slide.lt-frame:is(.cover, .img) .a-main.rev { position: static; flex-direction: row; justify-content: flex-start; }
        .art.slide.lt-frame:is(.cover, .img) .a-blob { position: absolute; inset: 18px; width: auto !important; height: auto !important; padding: 0; border-radius: 20px !important; box-shadow: none; z-index: 1; }
        .art.slide.lt-frame:is(.cover, .img) .a-blob .img { border-radius: 20px; }
        .art.slide.lt-frame:is(.cover, .img) .a-badge { display: none; }
        .art.slide.lt-frame:is(.cover, .img) .a-text { position: relative; z-index: 3; flex: none; width: 46%; padding: 24px 28px; border-radius: 20px; background: color-mix(in srgb, var(--a-bg) 90%, transparent); box-shadow: 0 16px 34px rgba(20, 30, 60, .2); }
        .art.slide.lt-frame:is(.cover, .img) .a-topic { z-index: 3; padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--a-bg) 88%, transparent); }
        .art.slide.lt-frame:is(.cover, .img) .a-foot { position: relative; z-index: 3; align-self: flex-start; padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--a-bg) 88%, transparent); }
        .art.slide.lt-frame.points .pts > :not(.a-text):not(.a-note) { padding: 20px 24px; border-radius: 20px; background: color-mix(in srgb, var(--a-hi) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-c1) 22%, transparent); }
        .art.mo.wide.lt-frame .mo-split { position: static; }
        .art.mo.wide.lt-frame .mo-band.side { position: absolute; top: -70px; left: -44px; right: -44px; bottom: -38px; width: auto; height: auto; margin: 0; border-radius: 20px !important; box-shadow: none; z-index: 0; }
        .art.mo.wide.lt-frame .mo-band.side .mo-badge { display: none; }
        .art.mo.wide.lt-frame .mo-split .mo-col { position: relative; z-index: 1; flex: none; width: 48%; padding: 22px 26px; border-radius: 20px; background: color-mix(in srgb, var(--bg) 90%, transparent); box-shadow: 0 16px 34px rgba(20, 30, 60, .2); }
        .art.mo.wide.lt-frame.ly-points .mo-body > .mi { padding: 16px 20px; border-radius: 18px; background: color-mix(in srgb, var(--hi) 50%, transparent); }
        /* 배치 보정 */
        .art.measuring.lt-frame .mo-band.side { display: none !important; }   /* 액자: 배경 그림은 글자 넘침 계산에서 뺀다 */
        .art.mo.wide.lt-minimal .mo-split > .mo-col { align-self: center; }
        .art.slide.lt-banner .a-text > .a-chip { justify-self: start; }
        .art.slide.lt-sidebar.points .a-bar { grid-template-columns: 96px minmax(0, 1fr) 190px; gap: 12px; }
        .art.slide.lt-sidebar.points .a-bar b { font-size: 14px; }
        .art.slide.lt-frame:is(.cover, .img) .a-foot { width: fit-content; gap: 28px; }
        .art.mo.wide.lt-frame:is(.ly-img, .ly-cover) .mo-topic { flex: 0 1 auto; margin-left: auto; padding: 3px 10px; border-radius: 8px; background: color-mix(in srgb, var(--bg) 88%, transparent); }
        .art.mo.wide.lt-frame:is(.ly-img, .ly-cover) .mo-foot > span:first-child:not(:empty) { padding: 3px 10px; border-radius: 8px; background: color-mix(in srgb, var(--bg) 88%, transparent); }

        /* 내용 칸: 아래로 늘려 쓸 수 있다 (오른쪽 아래 모서리를 끈다) */
        textarea.inp.grow { resize: vertical; min-height: 84px; max-height: 70vh; line-height: 1.6; }
        textarea.inp.grow::-webkit-resizer { background: linear-gradient(135deg, transparent 0 55%, var(--sub) 55% 62%, transparent 62% 72%, var(--sub) 72% 79%, transparent 79%); }

        /* 자료 파일 여러 개: 파일마다 이름표 (× 로 하나씩 빼기) */
        .source-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
        .src-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 6px 4px 10px; border-radius: 999px; font-size: 11.5px; color: var(--ink); box-shadow: var(--up-sm); background: var(--bg); }
        .src-chip > i { color: var(--c4); }
        .src-chip > span { min-width: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
        .src-chip small { color: var(--sub); font-size: 10.5px; }
        .src-chip button { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: var(--sub); }
        .src-chip button:hover { color: var(--c1); box-shadow: var(--in); }
        .src-chip > i.thumb { width: 20px; height: 20px; border-radius: 5px; background-size: cover; background-position: center; flex: none; }

        /* API 키 줄: BAZE 표시까지 네 개가 나와도 글자가 잘리지 않게 작게 */
        #api-box summary .stat:has(#stat-baze:not([style*="none"])) { gap: 4px; }
        #api-box summary .stat:has(#stat-baze:not([style*="none"])) .pill { flex: none; max-width: none; overflow: visible; white-space: nowrap; padding: 3px 6px; font-size: 10px; }
        #api-box summary:has(#stat-baze:not([style*="none"])) { display: flex; flex-wrap: wrap; row-gap: 6px; }
        #api-box summary:has(#stat-baze:not([style*="none"])) .mnum { flex: none; }
        #api-box summary:has(#stat-baze:not([style*="none"])) .stat { margin-left: auto; flex: none; }
