:root {
      /* 포스터 컬러칩 */
      --navy: #090738;
      --blue: #4c81f8;
      --deep-green: #0e464b;
      --mint: #37c387;
      --lime: #79ed00;
      --orange: #ffa000;
      --yellow: #ffe600;
      --sky: #b8e4f5;
      --ink: #17202a;
      --muted: #5f6b72;
      --paper: #f5f8f5;
      --white: #ffffff;
      --line: #dce5df;
      --shadow: 0 14px 38px rgba(9, 7, 56, 0.08);
      --radius-lg: 26px;
      --radius-md: 18px;
      --radius-sm: 12px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      font-size: 17px;
      line-height: 1.7;
      word-break: keep-all;
      overflow-wrap: break-word;
    }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }

    .page { min-height: 100vh; }
    .wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

    /* HERO */
    .hero {
      background: var(--navy);
      padding-bottom: 0;
    }
    .hero-image-wrap {
      width: 100%;
      overflow: hidden;
      background: var(--navy);
    }
    .hero-image {
      width: 100%;
      height: auto;
      display: block;
    }
    .hero-meta {
      background: var(--white);
      border-bottom: 1px solid rgba(9,7,56,.08);
    }
    .hero-copy {
      width: min(1080px, calc(100% - 40px));
      margin: 0 auto;
      padding: 36px 0 34px;
      text-align: center;
    }
    .event-logo {
      display: block;
      width: min(300px, 48vw);
      height: auto;
      margin: 0 auto 34px;
    }
    .hero h1 {
      margin: 0;
      color: var(--navy);
      font-size: clamp(24px, 2.6vw, 30px);
      line-height: 1.28;
      letter-spacing: -.035em;
      text-align: center;
    }
    .hero-desc {
      margin: 16px auto 0;
      max-width: 760px;
      color: #3d4a50;
      font-size: 18px;
      line-height: 1.65;
      text-align: center;
    }
    .hero-basic {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 7px 18px;
      margin-top: 16px;
      color: var(--deep-green);
      font-size: 16px;
      font-weight: 800;
      text-align: center;
    }
    .hero-basic span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* QUICK NAV */
    .quick-nav-wrap { background: var(--white); border-bottom: 1px solid var(--line); }
    .quick-nav {
      display: flex;
      gap: 10px;
      padding: 18px 0;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .quick-nav::-webkit-scrollbar { display: none; }
    .quick-nav a {
      flex: 0 0 auto;
      text-decoration: none;
      border: 1px solid #cad8d1;
      background: #fff;
      color: var(--deep-green);
      font-size: 16px;
      font-weight: 750;
      line-height: 1;
      border-radius: 999px;
      padding: 12px 16px;
      transition: .18s ease;
    }
    .quick-nav a:hover { transform: translateY(-1px); border-color: var(--deep-green); }

    main { padding: 44px 0 70px; }
    .intro { margin-bottom: 28px; }
    .intro p { margin: 0; color: var(--muted); font-size: 17px; }

    /* SECTIONS */
    .section {
      scroll-margin-top: 18px;
      background: var(--white);
      border: 1px solid rgba(14,70,75,.12);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      overflow: hidden;
      margin: 0 0 24px;
    }
    .section-head {
      padding: 28px 30px 24px;
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
    }
    .section-kicker {
      margin: 0 0 4px;
      color: var(--deep-green);
      font-weight: 800;
      font-size: 15px;
    }
    .section h2 {
      margin: 0;
      color: var(--navy);
      font-size: clamp(26px, 3.4vw, 34px);
      line-height: 1.22;
      letter-spacing: -.035em;
    }
    .section-lead {
      margin: 9px 0 0;
      color: #526066;
      font-size: 17px;
      max-width: 760px;
    }
    .section-body { padding: 26px 30px 30px; }


    /* SECTION COLOR SYSTEM: 포스터 컬러로 5개 대분류를 분명하게 구분 */
    .section {
      --section-accent: var(--blue);
      --section-soft: #eef4ff;
      --section-ink: #315fc4;
      position: relative;
    }
    .section::before {
      content: "";
      display: block;
      height: 8px;
      background: var(--section-accent);
    }
    .section .section-head {
      background: var(--section-soft);
    }
    .section .section-kicker { color: var(--section-ink); }

    #docent { --section-accent: #4c81f8; --section-soft: #eef4ff; --section-ink: #315fc4; border-color: rgba(76,129,248,.30); }
    #therapy { --section-accent: #37c387; --section-soft: #eefaf5; --section-ink: #127a59; border-color: rgba(55,195,135,.32); }
    #music { --section-accent: #ffa000; --section-soft: #fff5e3; --section-ink: #a85c00; border-color: rgba(255,160,0,.34); }
    #cinema { --section-accent: #6356c7; --section-soft: #f2f0ff; --section-ink: #4c409f; border-color: rgba(99,86,199,.30); }
    #forest { --section-accent: #78d700; --section-soft: #f1f9e5; --section-ink: #4e7f00; border-color: rgba(120,215,0,.34); }

    /* 상단 바로가기에도 같은 색을 반복해 현재 분류를 빠르게 인지할 수 있게 함 */
    .quick-nav a:nth-child(1) { border-color: rgba(76,129,248,.48); background: #f3f7ff; color: #315fc4; }
    .quick-nav a:nth-child(2) { border-color: rgba(55,195,135,.52); background: #f1faf6; color: #127a59; }
    .quick-nav a:nth-child(3) { border-color: rgba(255,160,0,.56); background: #fff8ec; color: #995500; }
    .quick-nav a:nth-child(4) { border-color: rgba(99,86,199,.46); background: #f5f3ff; color: #4c409f; }
    .quick-nav a:nth-child(5) { border-color: rgba(120,215,0,.58); background: #f5faed; color: #4e7f00; }

    /* BADGES */
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 31px;
      padding: 6px 11px;
      border-radius: 999px;
      color: var(--navy);
      font-size: 14px;
      font-weight: 850;
      line-height: 1;
      white-space: nowrap;
    }
    .badge.reserve { background: var(--mint); }
    .badge.onsite { background: var(--orange); }
    .badge.watch { background: var(--blue); color: #fff; }

    /* MAIN INFO */
    .primary-info {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: start;
      gap: 24px;
    }
    .schedule {
      color: var(--navy);
      font-size: 20px;
      font-weight: 850;
      line-height: 1.45;
      letter-spacing: -.02em;
    }
    .desc { margin: 9px 0 0; color: #46545a; }
    .meta-list {
      display: grid;
      gap: 7px;
      margin-top: 17px;
      font-size: 16px;
    }
    .meta-row { display: flex; gap: 10px; align-items: flex-start; }
    .meta-label { flex: 0 0 66px; color: var(--deep-green); font-weight: 800; }
    .meta-value { color: #38464c; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      min-height: 48px;
      padding: 0 20px;
      border-radius: 13px;
      text-decoration: none;
      font-size: 16px;
      font-weight: 850;
      transition: transform .18s ease, box-shadow .18s ease;
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn.reserve { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(9,7,56,.18); }

    /* SUB CARDS */
    .subgrid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }
    .subgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .subcard {
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #fbfcfb;
      padding: 20px;
      display: flex;
      flex-direction: column;
      min-width: 0;
      height: 100%;
    }
    .subcard-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 10px;
    }
    .subcard h3 {
      margin: 0;
      color: var(--navy);
      font-size: 20px;
      line-height: 1.35;
      letter-spacing: -.025em;
    }
    .subcard .when {
      margin: 4px 0 0;
      color: var(--deep-green);
      font-size: 16px;
      font-weight: 800;
      line-height: 1.5;
    }
    .subcard p { margin: 10px 0 0; color: #4d5a60; font-size: 16px; }
    .subcard .meta-list { margin-top: 14px; font-size: 15px; }
    .subcard .btn { margin-top: 0; padding-top: 0; transform: none; }
    .subcard .btn-wrap { margin-top: auto; padding-top: 18px; }

    /* MOVIES */
    .movie-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 20px;
      margin-top: 22px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
    }
    .movie {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 10px;
      align-items: baseline;
      padding: 8px 0;
      border-bottom: 1px dashed #d5dfda;
    }
    .movie time { color: var(--deep-green); font-weight: 850; }
    .movie span { color: var(--navy); font-weight: 720; }

    .note {
      margin-top: 18px;
      padding: 15px 17px;
      border-radius: 14px;
      background: #f0f5f2;
      color: #536159;
      font-size: 15px;
    }

    .footer {
      padding: 0 0 58px;
      text-align: center;
      color: #647168;
      font-size: 15px;
    }
    .footer p { margin: 0 0 14px; }
    .official-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 0 20px;
      border: 1.5px solid var(--deep-green);
      border-radius: 13px;
      color: var(--deep-green);
      background: var(--white);
      font-size: 16px;
      font-weight: 850;
      text-decoration: none;
      transition: transform .18s ease, background .18s ease;
    }
    .official-link:hover { transform: translateY(-2px); background: #eef8f3; }

    /* EDITOR: 평소에는 보이지 않음. Ctrl/Cmd + E 또는 URL 뒤 ?edit=1 */
    .editor-bar {
      position: fixed;
      z-index: 9999;
      right: 18px;
      bottom: 18px;
      display: none;
      gap: 8px;
      align-items: center;
      padding: 10px;
      border-radius: 14px;
      background: rgba(9,7,56,.96);
      box-shadow: 0 12px 32px rgba(0,0,0,.25);
    }
    .editor-bar.on { display: flex; }
    .editor-bar button {
      border: 0;
      border-radius: 9px;
      padding: 9px 12px;
      cursor: pointer;
      font: 700 14px "Pretendard", sans-serif;
    }
    .editor-bar .save { background: var(--mint); color: var(--navy); }
    .editor-bar .close { background: #fff; color: var(--navy); }
    [contenteditable="true"] { outline: 2px dashed rgba(76,129,248,.55); outline-offset: 3px; border-radius: 4px; }

    @media (max-width: 820px) {
      .wrap { width: min(100% - 28px, 720px); }
      .hero-copy { width: min(100% - 28px, 720px); padding: 30px 0 28px; }
      .event-logo { width: min(265px, 54vw); margin: 0 auto 30px; }
      .hero-desc { font-size: 17px; }
      .section-head { padding: 24px 22px 20px; flex-direction: column; }
      .section-body { padding: 22px; }
      .primary-info { grid-template-columns: 1fr; }
      .primary-info .btn { width: 100%; }
      .subgrid, .subgrid.two { grid-template-columns: 1fr; }
      .subcard .btn-wrap, .subcard .btn { width: 100%; }
      .movie-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 520px) {
      body { font-size: 16px; line-height: 1.68; }
      .wrap { width: min(100% - 22px, 520px); }
      .hero h1 { font-size: 22px; }
      .hero-copy { width: min(100% - 22px, 520px); padding: 25px 0 24px; }
      .event-logo { width: min(220px, 62vw); margin: 0 auto 26px; }
      .hero-basic { font-size: 15px; gap: 5px 14px; }
      .quick-nav { padding: 14px 0; }
      .quick-nav a { font-size: 15px; padding: 11px 14px; }
      main { padding-top: 30px; }
      .section { border-radius: 20px; margin-bottom: 18px; }
      .section-head { padding: 22px 18px 18px; }
      .section-body { padding: 18px; }
      .schedule { font-size: 18px; }
      .subcard { padding: 18px; }
      .subcard-top { flex-direction: column-reverse; align-items: flex-start; }
      .movie { grid-template-columns: 76px 1fr; }
      .editor-bar { left: 10px; right: 10px; justify-content: center; }
    }
