/* custom-E.css — 담당 E (v3: 컷 4·5·6·10·11·12·13·15·22·26). 규칙은 [data-theme="n"] section.xe-cut 아래에만.
   강조색은 형광초록 하나(밝은 바탕 --n-deep / 어두운 바탕 --n-neon). T·W에서는 레이아웃·장치·바탕 명도만 빌림. */

/* ===== 공통 ===== */
[data-theme="n"] section.xe-cut .xe-serif{font-family:'Gowun Batang','Nanum Myeongjo',serif!important;font-weight:700;letter-spacing:-.02em}
[data-theme="n"] section.xe-cut .xe-hand{font-family:'Nanum Pen Script',cursive!important;font-weight:400;letter-spacing:0}

/* ===== M형 (컷 4·12·22) — v1 M 컷(2·9)과 같은 필름 그레인·명조·빛나는 점 세로선 ===== */
[data-theme="n"] section.xe-cut.xe-grain{isolation:isolate}
[data-theme="n"] section.xe-cut.xe-grain::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E") 0 0/160px 160px,
    radial-gradient(120% 80% at 50% 50%,transparent 55%,rgba(0,0,0,.55) 100%);
  opacity:.9}
/* 컷 22: 아래가 흰 바탕으로 풀리므로 비네팅 없이 위쪽 어두운 구간에만 그레인 */
[data-theme="n"] section.xe-cut.xe-grain.lite::after{
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E") 0 0/160px 160px;
  -webkit-mask:linear-gradient(#1A1329 0%,#1A1329 40%,transparent 62%);mask:linear-gradient(#1A1329 0%,#1A1329 40%,transparent 62%)}
[data-theme="n"] section.xe-cut.xe-grain>*:not(.confirm-tag){position:relative;z-index:1}
[data-theme="n"] section.xe-cut .vline.xe-vline{width:1.5px;height:84px;opacity:1;position:relative;background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.75))}
[data-theme="n"] section.xe-cut .vline.xe-vline::after{content:"";position:absolute;left:50%;bottom:-6px;width:11px;height:11px;margin-left:-5.5px;border-radius:50%;
  background:#C8FFD6;box-shadow:0 0 12px 4px rgba(52,209,122,.55)}
[data-theme="n"] section.xe-cut.ds-m .n-quote{font-size:clamp(16px,4.6vw,19px);line-height:1.9;color:#D9DEDC}
[data-theme="n"] section.xe-cut.ds-m .n-quote cite{font-family:'Pretendard Variable',Pretendard,sans-serif;font-weight:500}

/* ===== T형 (컷 10·13·15·26) — 크림/다크 #2A2042 바탕, 점선+링 세로선, 말풍선 꼬리 경계, STEP ===== */
[data-theme="n"] section.xe-cut.xe-cream{background:#F8F6EE}
[data-theme="n"] section.xe-cut.xe-t222{background:#2A2042}
[data-theme="n"] section.xe-cut .vline.dashed.xe-dash{height:64px;margin:26px auto;opacity:.45;border-left-color:currentColor}
[data-theme="n"] section.xe-cut.xe-cream .vline.dashed.xe-dash::after{background:var(--n-deep);box-shadow:0 0 0 7px rgba(13,168,59,.16)}
[data-theme="n"] section.xe-cut.xe-t222 .vline.dashed.xe-dash::after{background:var(--n-neon);box-shadow:0 0 0 7px rgba(52,209,122,.18)}
/* 말풍선 꼬리: 섹션 바닥 가운데에서 다음 섹션으로 */
[data-theme="n"] section.xe-cut.xe-tail{z-index:2}
[data-theme="n"] section.xe-cut.xe-tail::after{content:"";position:absolute;left:50%;bottom:-25px;width:52px;height:26px;margin-left:-26px;background:inherit;clip-path:polygon(0 0,100% 0,50% 100%)}

/* 컷 10: 문제 이름 카드 */
[data-theme="n"] section.xe-cut.ds-t .n-cause .key{display:inline-block;margin-top:14px;padding:18px 22px;border-radius:18px;background:#2A2042;color:var(--n-neon);font-size:clamp(26px,8vw,40px);line-height:1.25;box-shadow:0 14px 30px rgba(0,0,0,.14)}
[data-theme="n"] section.xe-cut.ds-t .n-break .node{background:#2A2042}

/* 컷 13: 다크 #2A2042 위 비교 */
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .head .hx,
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .head .hv{justify-self:center;padding:5px 14px;border-radius:999px;font-size:12.5px}
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .head .hx{background:rgba(255,255,255,.1);color:#BDB5CC;border:1px solid rgba(255,255,255,.18)}
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .head .hv{background:var(--n-neon);color:#1D1530}
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .t{background:transparent;border:1.5px dashed rgba(255,255,255,.35)}
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .x{background:#3A2F55;border-color:#383838;color:#9A9A9A}
[data-theme="n"] section.xe-cut.xe-t222 .n-tcmp .v{background:#3A3055}

/* 컷 15: BEFORE 다크 카드 + AFTER 흰 카드 */
[data-theme="n"] section.xe-cut.ds-t .n-ba .back{background:#2A2042;color:#8E8E8E}
[data-theme="n"] section.xe-cut.ds-t .n-ba .back h4{color:#BDB5CC}
[data-theme="n"] section.xe-cut.ds-t .n-ba .front{box-shadow:0 18px 40px rgba(0,0,0,.12);border-color:var(--n-deep)}

/* 컷 26: STEP 번호 링 + 상담 말풍선 */
[data-theme="n"] section.xe-cut.ds-t .n-numhead .no{background:#2A2042;color:var(--n-neon);box-shadow:0 0 0 4px #F8F6EE,0 0 0 5.5px rgba(34,34,34,.35)}
[data-theme="n"] section.xe-cut.ds-t .n-blank{background:#fff}
[data-theme="n"] section.xe-cut .xe-bubble{position:relative;max-width:560px;margin-left:auto;margin-right:auto;padding:26px 20px 22px;border-radius:22px;background:#2A2042;color:#fff;
  --n-fg:#fff;--n-subc:#BDB5CC;--n-acc-t:var(--n-neon);--hl:var(--n-neon)}
[data-theme="n"] section.xe-cut .xe-bubble::after{content:"";position:absolute;left:50%;bottom:-17px;width:34px;height:18px;margin-left:-17px;background:#2A2042;clip-path:polygon(0 0,100% 0,50% 100%)}
[data-theme="n"] section.xe-cut .xe-bubble .n-h{margin:0;color:#fff}
[data-theme="n"] section.xe-cut .xe-bubble .n-h+.n-h{margin-top:16px}
[data-theme="n"] section.xe-cut .xe-bubble .n-h .main{color:#fff}
[data-theme="n"] section.xe-cut .xe-bubble+.n-h{margin-top:40px}

/* ===== W형 (컷 5·6·11) — 흰 바탕 손글씨, NO! 스탬프, 요약 카드, 원본 후기 카드, 검은 속마음 자막 바, V컷 ===== */
/* 컷 5 */
[data-theme="n"] section.xe-cut.ds-w .n-h .main .xe-hand{display:inline-block;font-size:1.22em;line-height:1;color:var(--n-sub);transform:rotate(-3deg)}
[data-theme="n"] section.xe-cut .xe-no{display:inline-block;padding:0 .2em;border:3px solid var(--n-deep);border-radius:10px;color:var(--n-deep);transform:rotate(-4deg);line-height:1.15;margin-left:.1em}
[data-theme="n"] section.xe-cut .xe-sum2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:560px;margin:28px auto 0}
[data-theme="n"] section.xe-cut .xe-sum2 .n-bignum{margin:0;padding:20px 10px 18px;border-radius:18px;background:#fff;border:1.5px solid #E6DED0;box-shadow:0 12px 28px rgba(0,0,0,.07)}
[data-theme="n"] section.xe-cut .xe-sum2 .n-bignum .k{font-size:12.5px;word-break:keep-all}
[data-theme="n"] section.xe-cut .xe-sum2 .n-bignum .v{font-size:clamp(44px,12vw,64px)}
[data-theme="n"] section.xe-cut .xe-sum2 .n-bignum .src{font-size:11.5px;line-height:1.4}
[data-theme="n"] section.xe-cut.xe-vcut{z-index:2}
[data-theme="n"] section.xe-cut.xe-vcut::after{content:"";position:absolute;left:0;right:0;bottom:-31px;height:32px;background:#fff;clip-path:polygon(0 0,100% 0,50% 100%)}

/* 컷 6·11: 원본 후기 카드(종이 카드 + 큰 따옴표) */
[data-theme="n"] section.xe-cut .n-reviews.xe-raw .n-review{position:relative;background:#fff;color:var(--n-body);border:0;border-radius:14px;padding:34px 18px 16px;box-shadow:0 10px 26px rgba(0,0,0,.28)}
[data-theme="n"] section.xe-cut .n-reviews.xe-raw .n-review::before{content:"\201C";position:absolute;left:16px;top:2px;font-family:'Gowun Batang',serif;font-size:44px;line-height:1;color:var(--n-deep)}
[data-theme="n"] section.xe-cut .n-reviews.xe-raw .n-review .meta{color:var(--n-sub);border-top:1px dashed #DDE2DF;padding-top:8px}
[data-theme="n"] section.xe-cut .n-reviews.xe-raw.light .n-review{background:#F6F7F6;box-shadow:none;border:1.5px solid #E6DED0}
@media (min-width:600px){[data-theme="n"] section.xe-cut .n-reviews.xe-raw{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 컷 11: 손글씨 서브 + 검은 속마음 자막 바 */
[data-theme="n"] section.xe-cut.ds-w .n-h .sub.xe-hand{font-size:clamp(26px,7.4vw,34px);color:var(--n-sub);margin-bottom:6px}
[data-theme="n"] section.xe-cut .xe-voice .main{display:inline-block;max-width:86%;padding:14px 22px;border-radius:18px;background:#1F1733;color:#fff;font-style:italic;font-weight:800;font-size:clamp(17px,5vw,20px);line-height:1.5}
