/* Toon Maker 페이지 (2026-10-19, 텀블벅 상세페이지 7판 기준). 틀(kit.css)의 색을 7판 카드(E:/Correctoon/tumblbug/v7/cards.css)에 맞춘다:
   먹색 바탕 + 위에서 내려오는 붉은 노을 + 조명의 호박빛(#ffc98a) 강조 하나. 버튼 빨강은 흰 글자 대비 4.5:1 이상. */
.kit--tm {
  --k-bg: #0b090a;
  --k-bg-2: #24100f;
  --k-glow-1: #a8281e;
  --k-glow-2: #c4602e;
  --k-brand: #d12a22;          /* 앱 빨강(#e5483c)을 흰 글자 대비가 되게 낮춤 */
  --k-brand-hover: #b9211a;
  --k-frame: rgba(255, 200, 170, 0.08);
  --k-frame-line: rgba(255, 220, 200, 0.13);
  --k-panel-a: #1a1011;
  --k-panel-b: #963422;
  --k-band: #3a1512;
  --k-foot-a: #120a0a;
  --k-foot-b: #8a2a22;
  --k-word: #ffe2cc;
  --tm-lamp: #ffc98a;
}
.kit--tm .k-h1__ko, .kit--tm .k-h2__ko { color: var(--tm-lamp); }
.kit--tm .k-logo img { border-radius: 9px; object-fit: contain; }
.kit--tm a:where(.k-final__info a, .tm-note a) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.tm-lamp, .k-cmp__a b.tm-lamp { color: var(--tm-lamp); }

/* 첫 화면 오른쪽: 원본 | Toon Maker 비교 슬라이더 + 패널 위에 걸친 실제 화면 조각 (7판 첫 장) */
.tm-hero { overflow-x: clip; }   /* 걸친 조각이 좁은 화면에서 가로 스크롤을 만들지 않게 */
.tm-hero-cmp { position: relative; max-width: 440px; margin: 0 auto; }
.tm-hero-cmp .k-cmp { aspect-ratio: 736 / 977; max-width: none; border-radius: clamp(16px, 2vw, 24px); }
.tm-pop { position: absolute; z-index: 2; height: auto; border-radius: 12px; box-shadow: 0 26px 44px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1); pointer-events: none; }
.tm-pop--lights { width: 34%; right: -16%; top: 12%; transform: rotate(4deg); }
.tm-pop--theme { width: 38%; left: -18%; top: 26%; transform: rotate(-5deg); }
.tm-pop--strip { width: 82%; left: 50%; bottom: -6%; transform: translateX(-50%) rotate(-1.5deg); }
@media (max-width: 700px) {
  .tm-hero-cmp { max-width: 300px; }
  .tm-pop--lights { right: -6%; }
  .tm-pop--theme { left: -6%; }
}

/* 그림 · 영상 공통 */
.tm-img, .tm-clip { display: block; width: 100%; height: auto; }
.tm-fig { position: relative; margin: 0; }
.tm-fig > img, .tm-fig > video { border-radius: clamp(12px, 1.6vw, 20px); border: 1px solid var(--k-frame-line); background: #120a0b; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.tm-fig figcaption { margin: 12px 4px 0; font-size: 14px; line-height: 1.6; color: var(--k-ink-2); text-align: center; }
.tm-fig figcaption b { color: #fff; font-weight: 700; margin-right: 4px; }
.tm-chip { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(11, 9, 10, 0.78); border: 1px solid rgba(255, 220, 200, 0.22); }
.tm-chip.is-hot { background: var(--k-brand); border-color: transparent; }

/* 문제 · 답 */
.tm-why { padding-block: clamp(48px, 7vw, 104px) clamp(24px, 4vw, 56px); }
.tm-why .k-cmp__q { max-width: 22em; }
.tm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); max-width: 720px; margin: 0 auto; align-items: end; }
.tm-answer { padding-block: clamp(40px, 6vw, 88px); }
.tm-answer .k-cmp__q b { color: var(--tm-lamp); }
.tm-answer__a { margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); color: #fff; font-weight: 700; }
.tm-wide { max-width: 1040px; margin: 0 auto; }

/* 화면 구성: 실제 렌더 화면 위 이름표 */
.tm-structure { padding-block: clamp(48px, 7vw, 104px); }
.tm-map { position: relative; max-width: 1120px; margin: 0 auto; }
.tm-map > img { border-radius: clamp(12px, 1.6vw, 20px); border: 1px solid var(--k-frame-line); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85); }
.tm-map__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--tm-lamp); box-shadow: 0 0 0 4px rgba(255, 201, 138, 0.28); }
.tm-map__tag { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; color: #fff; background: rgba(26, 16, 17, 0.94); border: 1px solid rgba(255, 201, 138, 0.5); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55); }
@media (max-width: 640px) { .tm-map__tag { padding: 3px 7px; font-size: 10px; } .tm-map__dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; } }

/* 기능 카드: 01~09 번호 (7판 카드의 번호) */
.tm-features { counter-reset: none; }
main { counter-reset: tm-feat; }
.tm-features .k-card { counter-increment: tm-feat; }
.tm-features .k-card__copy::before { content: counter(tm-feat, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--k-display); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #ff7a66; }
.kit--tm .k-card__panel.is-clip.is-contain .k-clip { max-height: 560px; width: auto; max-width: 100%; }
.kit--tm .k-card__panel.is-clip.is-contain .k-clip.is-tall { max-height: 620px; }
.kit--tm .k-card__panel.is-shot { padding: clamp(14px, 2vw, 28px); }

/* 시간대 여섯 장 */
.tm-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.tm-times figure { position: relative; margin: 0; }
.tm-times img { border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7); }
.tm-times figcaption { margin-top: 6px; font-size: 13px; text-align: center; color: var(--k-ink-2); }
.tm-times .tm-chip { left: 6px; top: 6px; font-size: 11.5px; padding: 3px 8px; }

/* 카드 아래 그림 · 영상 줄 */
.tm-strip { display: grid; gap: clamp(14px, 2vw, 24px); padding-block: 0 clamp(56px, 8vw, 112px); margin-top: calc(-1 * clamp(8px, 2vw, 32px)); }
.tm-strip--narrow { max-width: 980px; }
.tm-strip--portrait { max-width: 620px; }
.tm-strip--pair { grid-template-columns: 1fr 1fr; max-width: 820px; align-items: end; }
.tm-strip--phones { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
.tm-strip--phones .tm-fig > img { border: 0; background: none; box-shadow: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)); }
@media (max-width: 640px) { .tm-strip--phones { grid-template-columns: repeat(2, 1fr); } }

/* 사양 표 (7판 Specs) */
.tm-specs { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 6vw, 88px); }
.tm-specs__table { max-width: 860px; margin: 0 auto; border-radius: 24px; overflow: hidden; border: 1px solid var(--k-frame-line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.tm-specs__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tm-specs__table th, .tm-specs__table td { padding: 16px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--k-frame-line); line-height: 1.6; }
.tm-specs__table tr:first-child th, .tm-specs__table tr:first-child td { border-top: 0; }
.tm-specs__table th { width: 30%; font-weight: 700; color: #fff; white-space: nowrap; }
.tm-specs__table td { color: var(--k-ink-2); }
.tm-specs__table td b { color: #fff; }
.tm-specs__note { max-width: 860px; margin: 16px auto 0; padding-left: 18px; position: relative; font-size: 14px; line-height: 1.7; color: var(--k-ink-2); }
.tm-specs__note::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--k-brand); }
@media (max-width: 560px) { .tm-specs__table th, .tm-specs__table td { display: block; width: auto; padding: 10px 16px; } .tm-specs__table td { border-top: 0; padding-top: 0; } }

/* 맺음 */
.tm-final__logo { display: block; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 16px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8); }
.tm-note { max-width: 40em; margin: 20px auto 0; padding: 12px 18px; border-radius: 14px; background: rgba(255, 201, 138, 0.1); color: var(--tm-lamp); font-size: 14px; line-height: 1.6; }
.kit--tm .k-final__title span { color: var(--tm-lamp); }
