:root {
      --paper: #FBF8F3;
      --paper-soft: #F5EFE6;
      --desk: #EAE2D6;
      --desk-deep: #DDD2C3;
      --ink: #1F1B18;
      --muted: #6B6057;
      --salmon: #C95B42;
      --salmon-hover: #B44D36;
      --salmon-soft: rgba(201, 91, 66, 0.1);
      --sage: #4B6B55;
      --sage-soft: rgba(75, 107, 85, 0.11);
      --hairline: #E2D9CC;
      --shadow-card: 0 16px 40px rgba(31, 27, 24, 0.08);
      --serif-display: "Playfair Display", "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
      --serif-body: "Noto Serif KR", Georgia, serif;
      --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }

    html { overflow-x: clip; }

    body {
      margin: 0;
      padding: 0;
      overflow-x: clip;
      background: radial-gradient(circle at top center, #EFE8DC 0%, var(--desk) 55%, var(--desk-deep) 100%);
      color: var(--ink);
      font-family: var(--sans);
      line-height: 1.68;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* 버전 비교 바 */
    .version-bar {
      background: #EFE7DA;
      border-bottom: 1px solid var(--hairline);
      font-size: 0.78rem;
      color: var(--muted);
    }

    .version-bar-inner {
      max-width: 1220px;
      margin: 0 auto;
      padding: 8px 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .version-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .version-pill {
      padding: 3px 10px;
      border-radius: 999px;
      border: 1px solid var(--hairline);
      background: var(--paper);
      color: var(--muted);
      font-weight: 500;
      transition: all 0.16s ease;
    }

    .version-pill:hover {
      border-color: var(--salmon);
      color: var(--ink);
    }

    .version-pill.active {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--paper);
    }

    /* 상단 에디토리얼 헤더 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(251, 248, 243, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--hairline);
    }

    .header-inner {
      max-width: 1220px;
      margin: 0 auto;
      padding: 14px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .brand-lockup {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-shrink: 0;
    }

    .brand-name {
      font-family: var(--serif-display);
      font-size: 1.28rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }

    .brand-issue {
      font-family: "Cormorant Garamond", serif;
      font-style: italic;
      font-size: 0.92rem;
      color: var(--muted);
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      gap: 16px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted);
      flex-wrap: nowrap;
    }

    .nav-links a { white-space: nowrap; }

    .nav-links a:hover { color: var(--salmon); }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .search-toggle-btn {
      appearance: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid var(--hairline);
      background: var(--paper-soft);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.16s ease;
    }

    .search-toggle-btn:hover,
    .search-toggle-btn.active {
      border-color: var(--salmon);
      color: var(--salmon);
      background: var(--paper);
    }

    .header-btn {
      padding: 7px 15px;
      border-radius: 999px;
      background: var(--ink);
      color: var(--paper);
      font-size: 0.8rem;
      font-weight: 600;
      white-space: nowrap;
    }

    .header-btn:hover { background: var(--salmon); }

    .quick-search-drawer {
      display: none;
      background: var(--paper);
      border-bottom: 1px solid var(--hairline);
      box-shadow: 0 12px 28px rgba(31, 27, 24, 0.08);
    }

    .quick-search-drawer.open { display: block; }

    .qs-inner {
      max-width: 1220px;
      margin: 0 auto;
      padding: 18px 24px 20px;
    }

    .qs-bar {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
    }

    .qs-bar input {
      flex: 1;
      min-width: 0;
      padding: 10px 14px;
      border: 1px solid var(--hairline);
      border-radius: 10px;
      background: var(--paper-soft);
      font-family: var(--sans);
      font-size: 0.9rem;
      color: var(--ink);
      outline: none;
    }

    .qs-bar input:focus {
      border-color: var(--salmon);
      background: #fff;
    }

    .qs-close {
      appearance: none;
      padding: 0 14px;
      border: 1px solid var(--hairline);
      border-radius: 10px;
      background: var(--paper-soft);
      color: var(--muted);
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .qs-cols {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 18px;
    }

    .qs-block-title {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .qs-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .qs-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 8px 12px;
      border: 1px solid var(--hairline);
      border-radius: 10px;
      background: var(--paper-soft);
      font-size: 0.84rem;
    }

    .qs-item a {
      font-weight: 600;
      color: var(--ink);
      flex: 1;
    }

    .qs-item a:hover { color: var(--salmon); }
    .qs-item small { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }

    .qs-del {
      appearance: none;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 0.88rem;
      cursor: pointer;
      padding: 2px 6px;
    }

    .qs-del:hover { color: var(--salmon); }
    .qs-empty { font-size: 0.82rem; color: var(--muted); padding: 8px 0; }

    @media (max-width: 760px) {
      .qs-cols { grid-template-columns: minmax(0, 1fr); }
    }

    /* 메인 컨테이너 */
    .page-wrap {
      max-width: 1220px;
      margin: 28px auto 64px;
      padding: 0 24px;
    }

    /* 커버스토리 + 매거진 카테고리 목차 (컴팩트 2단) */
    .cover-spread {
      display: grid;
      grid-template-columns: minmax(0, 44%) minmax(0, 56%);
      align-items: stretch;
      background: var(--paper);
      border: 1px solid var(--hairline);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
      margin-bottom: 24px;
    }

    .cover-photo {
      display: block;
      height: 390px;
      position: relative;
      overflow: hidden;
      background: #1B1714;
    }

    .cover-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s ease;
    }

    .cover-photo:hover img {
      transform: scale(1.03);
    }

    .cover-badge {
      position: absolute;
      left: 16px;
      top: 16px;
      padding: 4px 11px;
      border-radius: 999px;
      background: rgba(31, 27, 24, 0.82);
      color: var(--paper);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
    }

    .cover-overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 42px 20px 18px;
      background: linear-gradient(to top, rgba(24, 19, 16, 0.88) 0%, rgba(24, 19, 16, 0.42) 60%, rgba(24, 19, 16, 0) 100%);
      color: #FAF6F0;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
    }

    .cover-overlay h1 {
      margin: 0 0 4px;
      font-family: var(--serif-body);
      font-size: 1.32rem;
      line-height: 1.3;
      color: #fff;
    }

    .cover-overlay p {
      margin: 0;
      font-size: 0.8rem;
      color: rgba(250, 246, 240, 0.88);
    }

    .cover-mini-btn {
      padding: 8px 14px;
      border-radius: 999px;
      background: var(--salmon);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 700;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .cover-index {
      padding: 16px 24px;
      height: 390px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-left: 1px solid var(--hairline);
      background: var(--paper);
    }

    .index-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 8px;
      border-bottom: 1.5px solid var(--hairline);
      margin-bottom: 2px;
    }

    .index-title {
      margin: 0;
      font-family: var(--serif-body);
      font-size: 1.15rem;
      font-weight: 700;
    }

    .index-controls {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .idx-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
    }

    .idx-tab {
      appearance: none;
      border: 1px solid transparent;
      background: transparent;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 4px 9px;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .idx-tab:hover { color: var(--ink); }

    .idx-tab.active {
      background: var(--ink);
      color: var(--paper);
    }

    .idx-more {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid var(--hairline);
      background: var(--paper-soft);
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: 600;
      line-height: 1;
    }

    .idx-more:hover {
      border-color: var(--salmon);
      color: var(--salmon);
    }

    .index-list {
      list-style: none;
      margin: 0;
      padding: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .idx-row {
      border-bottom: 1px dashed var(--hairline);
    }

    .idx-row:last-child { border-bottom: none; }
    .idx-row.hidden { display: none; }

    .idx-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 6px 4px;
    }

    .idx-link:hover .idx-name { color: var(--salmon); }

    .idx-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .idx-thumb {
      width: 42px;
      height: 42px;
      border-radius: 7px;
      overflow: hidden;
      flex-shrink: 0;
      border: 1px solid var(--hairline);
      background: var(--paper-soft);
    }

    .idx-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .idx-cat {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--sage);
      margin-bottom: 2px;
    }

    .idx-name {
      display: block;
      font-family: var(--serif-body);
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--ink);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .idx-meta {
      font-size: 0.76rem;
      color: var(--muted);
      white-space: nowrap;
      flex-shrink: 0;
    }

    .idx-empty {
      display: none;
      padding: 28px 14px;
      text-align: center;
      background: var(--paper-soft);
      border-radius: 10px;
      margin: 10px 0;
    }

    .idx-empty.show { display: block; }

    .idx-empty p {
      margin: 0 0 10px;
      font-size: 0.86rem;
      color: var(--muted);
    }

    .idx-empty a {
      display: inline-block;
      padding: 6px 14px;
      border-radius: 999px;
      background: var(--salmon);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 600;
    }

    /* 중단 챕터 섹션 */
    .section-box {
      background: var(--paper);
      border: 1px solid var(--hairline);
      border-radius: 14px;
      padding: 32px;
      margin-bottom: 28px;
    }

    .section-top {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--hairline);
      margin-bottom: 22px;
    }

    .section-top h2 {
      margin: 0;
      font-family: var(--serif-body);
      font-size: 1.32rem;
    }

    .section-top span {
      font-size: 0.82rem;
      color: var(--muted);
    }

    .chapter-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .mag-card {
      border: 1px solid var(--hairline);
      border-radius: 10px;
      overflow: hidden;
      background: #FFFDF9;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mag-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(31, 27, 24, 0.08);
    }

    .mag-thumb {
      width: 100%;
      height: 220px;
      overflow: hidden;
      background: var(--paper-soft);
      border-bottom: 1px solid var(--hairline);
    }

    .mag-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mag-body {
      padding: 18px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 10px;
    }

    .mag-cat {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--sage);
      letter-spacing: 0.05em;
    }

    .mag-body h3 {
      margin: 4px 0 6px;
      font-family: var(--serif-body);
      font-size: 1.04rem;
      line-height: 1.42;
    }

    .mag-body p {
      margin: 0;
      font-size: 0.84rem;
      color: var(--muted);
    }

    .mag-foot {
      padding-top: 10px;
      border-top: 1px dashed var(--hairline);
      display: flex;
      justify-content: space-between;
      font-size: 0.76rem;
      color: var(--muted);
    }

    /* 하단 2단: 아카이브 리스트 + 호스트 플레이팅 소품 */
    .bottom-grid {
      display: grid;
      grid-template-columns: minmax(0, 62%) minmax(0, 38%);
      gap: 24px;
    }

    .archive-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .archive-list li {
      border-bottom: 1px dashed var(--hairline);
    }

    .archive-list li:last-child { border-bottom: none; }

    .archive-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 13px 4px;
    }

    .archive-left {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .archive-badge {
      display: inline-block;
      width: 66px;
      text-align: center;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 2px 0;
      border-radius: 6px;
      background: var(--paper-soft);
      border: 1px solid var(--hairline);
      color: var(--salmon);
      flex-shrink: 0;
    }

    .archive-link:hover strong { color: var(--salmon); }

    .archive-link strong {
      font-size: 0.94rem;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: color 0.16s ease;
    }

    .archive-date {
      font-size: 0.78rem;
      color: var(--muted);
      white-space: nowrap;
      flex-shrink: 0;
    }

    .props-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .prop-item {
      padding: 13px 15px;
      border-radius: 10px;
      background: var(--paper-soft);
      border: 1px solid var(--hairline);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .prop-item > div { min-width: 0; }

    .prop-item strong {
      display: block;
      font-size: 0.88rem;
    }

    .prop-item span {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .prop-btn {
      padding: 6px 11px;
      border-radius: 999px;
      border: 1px solid var(--hairline);
      background: var(--paper);
      font-size: 0.74rem;
      font-weight: 600;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .prop-btn:hover { border-color: var(--salmon); color: var(--salmon); }

    .ftc-note {
      margin: 12px 0 0;
      font-size: 0.74rem;
      color: var(--muted);
    }

    /* 푸터 */
    .site-footer {
      background: var(--paper);
      border-top: 1px solid var(--hairline);
      padding: 32px 24px;
      font-size: 0.82rem;
      color: var(--muted);
    }

    .footer-inner {
      max-width: 1220px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 16px;
    }

    .footer-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    @media (max-width: 940px) {
      .nav-links { display: none; }
      .cover-spread,
      .bottom-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .cover-spread > *,
      .bottom-grid > * { min-width: 0; max-width: 100%; }
      .cover-photo { height: 260px; }
      .cover-index {
        height: auto;
        overflow-y: visible;
        border-left: none;
        border-top: 1px solid var(--hairline);
        padding: 20px 18px;
      }
      .chapter-grid { grid-template-columns: minmax(0, 1fr); }
    }

    @media (max-width: 640px) {
      .header-inner { padding: 10px 14px; gap: 8px; }
      .brand-issue { display: none; }
      .brand-name { font-size: 1.08rem; }
      .search-toggle-btn, .header-btn { padding: 6px 10px; font-size: 0.74rem; }
      .page-wrap { padding: 0 12px; margin: 16px auto 48px; }
      .cover-overlay { flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 16px 14px; }
      .cover-overlay h1 { font-size: 1.15rem; }
      .cover-index { padding: 16px 14px; }
      .index-controls { width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 6px; }
      .idx-tabs { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
      .idx-tabs::-webkit-scrollbar { display: none; }
      .idx-tab { flex-shrink: 0; white-space: nowrap; padding: 5px 10px; }
      .idx-more { flex-shrink: 0; }
      .idx-link, .archive-link { gap: 8px; }
      .idx-name, .archive-link strong {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .idx-meta, .archive-date { font-size: 0.7rem; }
      .section-box { padding: 18px 14px; }
      .site-footer { padding: 24px 14px; }
    }
