@font-face { font-family: Pretendard; font-style: normal; font-weight: 400; src: url("fonts/Pretendard-Regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 700; src: url("fonts/Pretendard-Bold.otf") format("opentype"); font-display: swap; }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 900; src: url("fonts/Pretendard-Black.otf") format("opentype"); font-display: swap; }

  :root {
    --deck-width: 1456px;
    --deck-height: 816px;
  }
  html[data-orientation="portrait"] {
    --deck-width: 540px;
    --deck-height: 960px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Pretendard', -apple-system, sans-serif;
    background: #000;
    overflow: hidden;
  }

  .deck {
    width: 100vw;
    height: 100vh;
    position: relative;
  }

  .slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--deck-width);
    height: var(--deck-height);
    transform: translate(-50%, -50%) scale(var(--scale, 1));
    background: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 100px;
    border-bottom: 6px solid #111;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
  }

  .slide.active { display: flex; }

  /* ===== A. 타이틀 ===== */
  .slide--title {
    justify-content: space-between;
    padding: 40px 60px;
  }
  .slide--title .top-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    color: #111;
  }
  .slide--title .center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .slide--title .main-title {
    font-size: 120px;
    font-weight: 900;
    color: #111;
    letter-spacing: -4px;
    line-height: 1.1;
  }
  .slide--title .subtitle-bar {
    background: #111;
    color: #fff;
    padding: 16px 56px;
    font-size: 32px;
    font-weight: 600;
    margin-top: 10px;
  }
  .slide--title .bottom-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 22px;
    font-weight: 500;
    color: #111;
  }

  /* ===== B. 임팩트 ===== */
  .slide--impact .text-main {
    font-size: 96px;
    font-weight: 900;
    color: #111;
    letter-spacing: -3px;
    line-height: 1.2;
  }

  /* ===== C. 서브 ===== */
  .slide--sub .text-main {
    font-size: 80px;
    font-weight: 900;
    color: #111;
    letter-spacing: -3px;
    line-height: 1.2;
  }
  .slide--sub .text-sub {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-top: 28px;
    line-height: 1.6;
  }

  /* ===== D. 리스트 ===== */
  .slide--list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 60px 80px;
  }
  .slide--list .list-title { text-align: left; }
  .slide--list .list-title .small {
    font-size: 36px;
    font-weight: 600;
    color: #111;
  }
  .slide--list .list-title .big {
    font-size: 110px;
    font-weight: 900;
    color: #111;
    letter-spacing: -3px;
  }
  .slide--list .list-items {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .slide--list .list-item {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .slide--list .num {
    width: 52px;
    height: 52px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .slide--list .item-text {
    font-size: 32px;
    font-weight: 500;
    color: #111;
    text-align: left;
  }

  /* ===== E. 전환 ===== */
  .slide--transition .text-old {
    font-size: 64px;
    font-weight: 700;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 24px;
  }
  .slide--transition .text-new {
    font-size: 88px;
    font-weight: 900;
    color: #111;
  }

  /* ===== F. 대화 ===== */
  .slide--dialogue {
    gap: 40px;
  }
  .slide--dialogue .dialogue-title {
    font-size: 60px;
    font-weight: 900;
    color: #111;
    margin-bottom: 10px;
  }
  .slide--dialogue .dialogue-pair {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 1000px;
  }
  .slide--dialogue .q-box,
  .slide--dialogue .a-box {
    padding: 28px 40px;
    border-radius: 16px;
    font-size: 30px;
    line-height: 1.5;
    text-align: left;
  }
  .slide--dialogue .q-box {
    background: #f3f4f6;
    color: #555;
    font-weight: 500;
    align-self: flex-start;
    max-width: 80%;
  }
  .slide--dialogue .a-box {
    background: #111;
    color: #fff;
    font-weight: 600;
    align-self: flex-end;
    max-width: 85%;
  }

  /* ===== I. 플로우 ===== */
  .slide--flow { gap: 28px; }
  .slide--flow .flow-title {
    font-size: 56px;
    font-weight: 900;
    color: #111;
  }
  .slide--flow .flow-chain {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .slide--flow .flow-step {
    background: #1a1a1a;
    color: #fff;
    padding: 22px 32px;
    border-radius: 14px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .slide--flow .flow-step.accent {
    background: #ef4444;
    box-shadow: 0 4px 20px rgba(239,68,68,0.3);
  }
  .slide--flow .flow-arrow {
    font-size: 32px;
    color: #bbb;
    font-weight: 300;
  }
  .slide--flow .flow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .slide--flow .flow-vertical .flow-step {
    width: 560px;
    padding: 20px 32px;
    font-size: 24px;
  }
  .slide--flow .flow-vertical .flow-arrow {
    font-size: 28px;
    color: #ccc;
  }
  .slide--flow .flow-loop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 40px;
    border: 3px solid #eee;
    border-radius: 24px;
    background: #fafafa;
  }
  .slide--flow .flow-loop .flow-step {
    font-size: 26px;
    padding: 18px 36px;
    min-width: 340px;
  }
  .slide--flow .loop-back {
    font-size: 22px;
    color: #ef4444;
    font-weight: 800;
    margin-top: 12px;
    letter-spacing: 1px;
  }

  /* ===== J. 레이어 ===== */
  .slide--layers { gap: 20px; }
  .slide--layers .layers-title {
    font-size: 56px;
    font-weight: 900;
    color: #111;
    margin-bottom: 12px;
  }
  .slide--layers .layer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .slide--layers .layer {
    padding: 20px 44px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  .slide--layers .layer:nth-child(1) { background: linear-gradient(135deg, #888, #777); width: 92%; }
  .slide--layers .layer:nth-child(2) { background: linear-gradient(135deg, #666, #555); width: 78%; }
  .slide--layers .layer:nth-child(3) { background: linear-gradient(135deg, #555, #444); width: 64%; }
  .slide--layers .layer:nth-child(4) { background: linear-gradient(135deg, #444, #333); width: 50%; }
  .slide--layers .layer:nth-child(5) { background: linear-gradient(135deg, #222, #111); width: 38%; font-weight: 800; }

  /* ===== K. 비교 (카드형) ===== */
  .slide--compare { gap: 28px; padding: 60px 80px; }
  .slide--compare .compare-title {
    font-size: 48px;
    font-weight: 900;
    color: #111;
  }
  .slide--compare .compare-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
  }
  .slide--compare .vs-left,
  .slide--compare .vs-right {
    flex: 1;
    padding: 36px 32px;
    border-radius: 16px;
    font-size: 28px;
    line-height: 1.6;
    text-align: left;
  }
  .slide--compare .vs-left {
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    color: #888;
    font-weight: 500;
  }
  .slide--compare .vs-right {
    background: #111;
    color: #fff;
    font-weight: 700;
  }
  .slide--compare .vs-word {
    display: flex;
    align-items: center;
    color: #ccc;
    font-weight: 300;
    font-size: 18px;
    flex-shrink: 0;
  }

  /* ===== L. 참여 유도 ===== */
  .slide--chat .text-main {
    font-size: 60px;
    font-weight: 900;
    color: #111;
    line-height: 1.4;
  }
  .slide--chat .text-sub {
    font-size: 32px;
    font-weight: 400;
    color: #555;
    margin-top: 24px;
    line-height: 1.5;
  }
  .slide--chat .text-hint {
    font-size: 28px;
    font-weight: 500;
    color: #999;
    margin-top: 16px;
  }

  /* ===== M. 질문 목록 ===== */
  .slide--questions {
    justify-content: center;
    align-items: center;
    gap: 34px;
    padding: 72px 120px;
  }
  .slide--questions .q-title {
    font-size: 56px;
    font-weight: 900;
    color: #111;
    margin-bottom: 18px;
    text-align: center;
    width: min(1120px, 100%);
  }
  .slide--questions .q-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
    width: max-content;
    max-width: 100%;
  }
  .slide--questions .q-item {
    display: grid;
    grid-template-columns: 68px minmax(0, auto);
    column-gap: 24px;
    align-items: baseline;
    width: 100%;
    font-size: 36px;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
  }
  .slide--questions .q-num {
    font-weight: 900;
    color: #ef4444;
  }

  /* ===== M. 매트릭스 (2x2) ===== */
  .slide--matrix { gap: 30px; }
  .slide--matrix .matrix-title {
    font-size: 60px;
    font-weight: 900;
    color: #111;
  }
  .slide--matrix .matrix-wrap {
    position: relative;
    width: 780px;
    height: 460px;
  }
  .slide--matrix .matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    width: 100%;
    height: 100%;
  }
  .slide--matrix .matrix-cell {
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    padding: 24px;
    border-radius: 8px;
  }
  .slide--matrix .matrix-cell.highlight {
    background: #ef4444;
    box-shadow: 0 0 40px rgba(239,68,68,0.3);
  }
  .slide--matrix .matrix-cell.dim {
    background: #666;
    color: #bbb;
  }
  .slide--matrix .axis-label {
    position: absolute;
    font-size: 20px;
    font-weight: 800;
    color: #888;
    letter-spacing: 2px;
  }
  .slide--matrix .axis-y {
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
  }
  .slide--matrix .axis-x {
    bottom: -36px;
    right: 0;
  }

  /* ===== N. 테이블 ===== */
  .slide--table { gap: 20px; padding: 60px 120px; }
  .slide--table .table-title {
    font-size: 48px;
    font-weight: 900;
    color: #111;
    margin-bottom: 16px;
  }
  .slide--table table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1000px;
    font-size: 26px;
  }
  .slide--table th {
    background: #111;
    color: #fff;
    font-weight: 700;
    padding: 16px 24px;
    text-align: center;
  }
  .slide--table td {
    padding: 14px 24px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-weight: 500;
    color: #333;
  }
  .slide--table tr:nth-child(even) td {
    background: #fafafa;
  }

  /* ===== CTA 버튼 ===== */
  .slide--cta { gap: 32px; }
  .slide--cta .text-main {
    font-size: 72px;
    font-weight: 900;
    color: #111;
    letter-spacing: -2px;
    line-height: 1.2;
  }
  .slide--cta .text-sub {
    font-size: 28px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
  }
  .slide--cta .cta-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 24px 64px;
    border-radius: 16px;
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    border: none;
    font-family: inherit;
  }
  .slide--cta .cta-btn:hover {
    background: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239,68,68,0.3);
  }
  .slide--cta .cta-hint {
    font-size: 20px;
    color: #999;
    margin-top: 8px;
  }

  /* ===== 유틸리티 ===== */
  .red { color: #ef4444 !important; }
  .strike { text-decoration: line-through; color: #999 !important; }
  .bold { font-weight: 900 !important; }
  .small-note {
    font-size: 28px;
    font-weight: 400;
    color: #777;
    margin-top: 20px;
  }
  strong { color: #ef4444; }

  /* ===== 네비게이션: 명시적으로 열 때만 표시 ===== */
  .nav-toggle {
    position: fixed; right: 10px; bottom: 10px; z-index: 101;
    width: 32px; height: 28px; padding: 0; border: 1px solid #ddd;
    border-radius: 6px; background: #ffffffd9; color: #777;
    font: 20px/1 'Pretendard', sans-serif; cursor: pointer;
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { color: #111; border-color: #888; }
  .nav-toggle[hidden] { display: none; }
  .nav-bar {
    position: fixed; right: 50px; bottom: 10px; z-index: 100;
    display: flex; align-items: center; gap: 3px; padding: 3px 6px;
    background: #222e; border-radius: 6px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .12s;
  }
  .nav-bar.show { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-bar button {
    border: none; background: none; color: #fff; cursor: pointer;
    font-size: 14px; padding: 3px 6px; min-width: 26px;
  }
  .nav-bar .page-num {
    color: #ddd; font: 12px 'Pretendard', sans-serif;
    min-width: 48px; text-align: center;
  }

  /* ===== 세로형 사이드 슬라이드 ===== */
  html[data-orientation="portrait"] .slide {
    padding: 42px 28px;
    border-bottom-width: 5px;
  }
  html[data-orientation="portrait"] .slide--title {
    padding: 34px 30px;
  }
  html[data-orientation="portrait"] .slide--title .top-bar,
  html[data-orientation="portrait"] .slide--title .bottom-bar {
    font-size: 14px;
  }
  html[data-orientation="portrait"] .slide--title .main-title {
    font-size: 74px;
    line-height: 1.03;
    letter-spacing: -1px;
  }
  html[data-orientation="portrait"] .slide--title .subtitle-bar {
    font-size: 20px;
    padding: 12px 26px;
    margin-top: 14px;
  }
  html[data-orientation="portrait"] .slide--impact .text-main {
    font-size: 76px;
    line-height: 1.12;
    letter-spacing: -1px;
  }
  html[data-orientation="portrait"] .slide--sub .text-main {
    font-size: 70px;
    line-height: 1.1;
    letter-spacing: -1px;
  }
  html[data-orientation="portrait"] .slide--sub .text-sub {
    font-size: 24px;
    line-height: 1.45;
    margin-top: 22px;
  }
  html[data-orientation="portrait"] .slide--chat .text-main {
    font-size: 50px;
    line-height: 1.2;
  }
  html[data-orientation="portrait"] .slide--chat .text-sub {
    font-size: 24px;
  }
  html[data-orientation="portrait"] .slide--chat .text-hint {
    font-size: 20px;
  }
  html[data-orientation="portrait"] .slide--list {
    flex-direction: column;
    gap: 26px;
    padding: 48px 34px;
  }
  html[data-orientation="portrait"] .slide--list .list-title {
    text-align: center;
  }
  html[data-orientation="portrait"] .slide--list .list-title .small {
    font-size: 26px;
  }
  html[data-orientation="portrait"] .slide--list .list-title .big {
    font-size: 76px;
    letter-spacing: -1px;
  }
  html[data-orientation="portrait"] .slide--list .list-items {
    gap: 22px;
    width: 100%;
  }
  html[data-orientation="portrait"] .slide--list .list-item {
    gap: 22px;
    align-items: flex-start;
  }
  html[data-orientation="portrait"] .slide--list .num {
    width: 34px;
    height: 34px;
    font-size: 17px;
    margin-top: 2px;
  }
  html[data-orientation="portrait"] .slide--list .item-text {
    font-size: 30px;
    line-height: 1.28;
  }
  html[data-orientation="portrait"] .slide--questions {
    gap: 30px;
    padding: 52px 30px;
  }
  html[data-orientation="portrait"] .slide--questions .q-title {
    font-size: 50px;
    line-height: 1.15;
    margin-bottom: 4px;
  }
  html[data-orientation="portrait"] .slide--questions .q-items {
    gap: 28px;
    width: max-content;
    max-width: 100%;
  }
  html[data-orientation="portrait"] .slide--questions .q-item {
    grid-template-columns: 46px minmax(0, auto);
    column-gap: 14px;
    font-size: 31px;
    line-height: 1.3;
  }
  html[data-orientation="portrait"] .slide--dialogue {
    gap: 24px;
    padding: 54px 30px;
  }
  html[data-orientation="portrait"] .slide--dialogue .dialogue-title {
    font-size: 40px;
    line-height: 1.18;
  }
  html[data-orientation="portrait"] .slide--dialogue .dialogue-pair {
    max-width: 100%;
    gap: 30px;
  }
  html[data-orientation="portrait"] .slide--dialogue .q-box,
  html[data-orientation="portrait"] .slide--dialogue .a-box {
    max-width: 94%;
    padding: 20px 22px;
    font-size: 25px;
    line-height: 1.42;
  }
  html[data-orientation="portrait"] .slide--flow {
    gap: 28px;
    padding: 54px 32px;
  }
  html[data-orientation="portrait"] .slide--flow .flow-title {
    font-size: 42px;
    line-height: 1.15;
  }
  html[data-orientation="portrait"] .slide--flow .flow-chain {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
  }
  html[data-orientation="portrait"] .slide--flow .flow-step {
    width: min(430px, 100%);
    padding: 17px 22px;
    font-size: 28px;
    line-height: 1.22;
  }
  html[data-orientation="portrait"] .slide--flow .flow-arrow {
    font-size: 22px;
    transform: rotate(90deg);
  }
  html[data-orientation="portrait"] .slide--flow .flow-vertical .flow-step {
    width: min(430px, 100%);
    font-size: 28px;
  }
  html[data-orientation="portrait"] .slide--table {
    gap: 20px;
    padding: 50px 22px;
  }
  html[data-orientation="portrait"] .slide--table .table-title {
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  html[data-orientation="portrait"] .slide--table table {
    max-width: 100%;
    table-layout: fixed;
    font-size: 20px;
  }
  html[data-orientation="portrait"] .slide--table th {
    padding: 12px 8px;
  }
  html[data-orientation="portrait"] .slide--table td {
    padding: 12px 8px;
    line-height: 1.28;
    word-break: keep-all;
  }
  html[data-orientation="portrait"] .slide--compare {
    gap: 26px;
    padding: 54px 30px;
  }
  html[data-orientation="portrait"] .slide--compare .compare-title {
    font-size: 44px;
  }
  html[data-orientation="portrait"] .slide--compare .compare-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  html[data-orientation="portrait"] .slide--compare .vs-left,
  html[data-orientation="portrait"] .slide--compare .vs-right {
    font-size: 25px;
    line-height: 1.42;
    padding: 24px 22px;
  }
  html[data-orientation="portrait"] .slide--compare .vs-word {
    justify-content: center;
    font-size: 18px;
  }

  /* ===== 라이브 커스텀 (Phase 커스텀 CSS) ===== */
  .slide--cta { gap: 26px; padding: 55px 90px; }
  .cta-title { font-size: 58px; line-height: 1.25; font-weight: 900; color: #111; }
  .cta-lead { font-size: 29px; line-height: 1.5; color: #555; }
  .cta-actions { display: flex; flex-direction: column; gap: 20px; width: 1080px; max-width: 100%; margin: 8px 0; }
  .cta-action { display: flex; flex-direction: column; align-items: center; gap: 12px; background: #111; color: #fff; border-radius: 14px; padding: 26px 36px; font-size: 34px; font-weight: 800; line-height: 1.35; text-decoration: none; }
  .cta-action:hover { background: #ef4444; }
  .cta-address { font-size: 28px; font-weight: 500; letter-spacing: .3px; }
  .cta-foot { font-size: 23px; color: #777; line-height: 1.5; }
  .slide--table table.wide { max-width: 1240px; font-size: 30px; }
  .slide--table table.wide.tight { font-size: 26px; }
  .slide--table table.tight th { padding: 12px 20px; }
  .slide--table table.tight td { padding: 9px 20px; }
  .slide--table th.l, .slide--table td.l { text-align: left; }
  .slide--table td strong { color: #ef4444; font-weight: 900; }
  .slide--table .tfoot { font-size: 22px; color: #777; margin-top: 14px; font-weight: 500; }

  .slide--video { padding: 26px 40px; gap: 14px; }
  .slide--video .video-title { font-size: 40px; font-weight: 900; color: #111; }
  .slide--video video { width: 1000px; height: 562px; background: #000; border-radius: 6px; }
  .slide--video .video-cap { font-size: 22px; color: #555; line-height: 1.45; max-width: 1240px; }

  .slide--youtube { gap: 10px; }
  .slide--youtube iframe { width: 1000px; height: 562px; border: 0; border-radius: 6px; background: #000; }
  .youtube-source { font-size: 18px; color: #666; text-underline-offset: 4px; }

  .slide--grid10 { gap: 30px; padding: 50px 80px; }
  .grid-title { font-size: 52px; font-weight: 900; color: #111; }
  .g-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 20px 56px; text-align: left; }
  .g-item { display: flex; align-items: center; gap: 18px; }
  .g-item .num { width: 44px; height: 44px; background: #111; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; flex-shrink: 0; }
  .g-item .g-text { font-size: 27px; font-weight: 500; color: #111; line-height: 1.3; }

  .slide--datahub { gap: 24px; padding: 40px 70px; }
  .dh-list { display: flex; flex-direction: column; width: 100%; max-width: 1300px; }
  .dh-row { display: grid; grid-template-columns: 56px 400px 1fr 110px; align-items: center; column-gap: 18px; padding: 11px 0; border-bottom: 1px solid #e5e5e5; text-align: left; }
  .dh-n { font-size: 24px; font-weight: 900; color: #ef4444; }
  .dh-t { font-size: 27px; font-weight: 700; color: #111; }
  .dh-d { font-size: 21px; color: #666; line-height: 1.35; }
  .dh-a { justify-self: end; font-size: 21px; font-weight: 700; color: #fff; background: #111; padding: 8px 22px; border-radius: 10px; text-decoration: none; }
  .dh-a:hover { background: #ef4444; }

  .slide--page { padding: 18px 32px 22px; gap: 10px; justify-content: flex-start; }
  .page-head { width: 100%; display: flex; align-items: baseline; justify-content: space-between; }
  .page-title { font-size: 32px; font-weight: 900; color: #111; }
  .page-open { font-size: 18px; font-weight: 700; color: #555; text-decoration: none; border: 1px solid #bbb; padding: 4px 14px; border-radius: 8px; }
  .slide--page iframe { width: 100%; flex: 1; min-height: 0; border: 1px solid #ddd; border-radius: 6px; background: #fff; }

/* Reading controls occupy their own strip and never cover a slide. */
:root{--control-height:42px}
.deck{height:calc(100vh - var(--control-height));height:calc(100dvh - var(--control-height))}
.public-controls{position:fixed;inset:auto 0 0;height:var(--control-height);display:flex;align-items:center;gap:12px;padding:0 16px;background:#151515;color:#eee;font:14px Pretendard,sans-serif;z-index:30}
.public-controls button,.public-controls select,.public-controls input{font:inherit;color:inherit;background:#272727;border:1px solid #555;border-radius:5px;height:29px;padding:3px 10px}
.public-controls button{cursor:pointer}.public-controls button:disabled{opacity:.4;cursor:default}
.public-controls input{width:66px;text-align:right}.public-controls #slide-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;font-size:13px;color:#bbb}
.public-controls label{white-space:nowrap}.public-controls a{color:#eee}
.slide--page iframe{background:white}.slide--youtube iframe{width:1240px;height:600px;border:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #f66;outline-offset:2px}
@media(max-width:650px){.public-controls{gap:6px;padding:0 6px}.public-controls #slide-title{display:none}.public-controls select{max-width:130px}.public-controls input{width:54px}}
@media print{.public-controls{display:none}body{overflow:visible;background:white}.deck{height:auto}.slide,.slide.active{position:relative;inset:auto;transform:none!important;display:flex;break-after:page;page-break-after:always}.slide[aria-hidden]{display:flex}.slide:last-child{break-after:auto}@page{size:1456px 816px;margin:0}}
