
    @font-face {
      font-family: "GmarketSans";
      src: url("https://cdn.jsdelivr.net/gh/fontbee/font@main/Gmarket/GmarketSansLight.woff") format("woff");
      font-style: normal;
      font-weight: 300;
      font-display: swap;
    }
    @font-face {
      font-family: "GmarketSans";
      src: url("https://cdn.jsdelivr.net/gh/fontbee/font@main/Gmarket/GmarketSansMedium.woff") format("woff");
      font-style: normal;
      font-weight: 500;
      font-display: swap;
    }
    @font-face {
      font-family: "GmarketSans";
      src: url("https://cdn.jsdelivr.net/gh/fontbee/font@main/Gmarket/GmarketSansBold.woff") format("woff");
      font-style: normal;
      font-weight: 700;
      font-display: swap;
    }

    :root {
      --bg: #f5f5f2;
      --surface: #ffffff;
      --text: #111111;
      --muted: #767676;
      --line: #d9d9d5;
      --accent: #ff3b30;
      --header-h: 76px;
      --max: 1440px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "GmarketSans", sans-serif;
      font-weight: 300;
      line-height: 1.5;
    }
    body.modal-open { overflow: hidden; }
    img { display: block; width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea {
      font-family: "GmarketSans", sans-serif;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
    }
    button { color: inherit; }

    .container {
      width: min(calc(100% - 48px), var(--max));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      height: var(--header-h);
      background: rgba(245, 245, 242, 0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.04em;
      white-space: nowrap;
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 32px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .nav a { position: relative; }
    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -7px;
      width: 100%;
      height: 2px;
      background: var(--text);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 180ms ease;
    }
    .nav a:hover::after { transform: scaleX(1); }
    .menu-button {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: transparent;
      cursor: pointer;
      font-size: 20px;
    }

    .hero {
      min-height: calc(100vh - var(--header-h));
      display: grid;
      align-items: end;
      padding: 96px 0 52px;
      border-bottom: 1px solid var(--line);
    }
    .eyebrow {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .hero h1 {
      margin: 0;
      max-width: 1180px;
      font-size: clamp(52px, 9vw, 138px);
      line-height: 0.96;
      letter-spacing: -0.055em;
      font-weight: 700;
    }
    .hero-bottom {
      margin-top: 48px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 32px;
    }
    .hero-copy {
      max-width: 520px;
      margin: 0;
      color: var(--muted);
      font-size: 17px;
    }
    .scroll-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .section {
      padding: 112px 0;
      border-bottom: 1px solid var(--line);
    }
    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 24px;
      margin-bottom: 42px;
    }
    .section-number {
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }
    .section-title {
      margin: 6px 0 0;
      font-size: clamp(38px, 6vw, 88px);
      line-height: 0.95;
      letter-spacing: -0.06em;
      font-weight: 700;
    }
    .section-note {
      max-width: 430px;
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 28px;
    }
    .filter-button {
      min-height: 44px;
      padding: 0 18px;
      border: 1px solid var(--text);
      background: transparent;
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.05em;
      transition: 160ms ease;
    }
    .filter-button:hover,
    .filter-button.active {
      background: var(--text);
      color: white;
    }

    .wallpaper-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .wallpaper-card {
      background: var(--surface);
      border: 1px solid var(--line);
      transition: transform 180ms ease, box-shadow 180ms ease;
    }
    .wallpaper-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    }
    .wallpaper-card[hidden] { display: none; }
    .card-image-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 9 / 12;
      background: #e5e5e1;
    }
    .card-image {
      height: 100%;
      object-fit: cover;
      transition: transform 350ms ease;
    }
    .wallpaper-card:hover .card-image { transform: scale(1.025); }
    .card-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      padding: 7px 9px;
      background: rgba(17,17,17,0.92);
      color: white;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }
    .card-body { padding: 20px; }
    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 16px;
    }
    .card-title {
      margin: 0;
      font-size: 22px;
      line-height: 1.1;
      letter-spacing: -0.04em;
    }
    .card-date {
      color: var(--muted);
      font-size: 11px;
      white-space: nowrap;
    }
    .card-meta {
      margin: 10px 0 20px;
      color: var(--muted);
      font-size: 13px;
    }
    .card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .button {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;
      border: 1px solid var(--text);
      background: var(--text);
      color: white;
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      transition: 160ms ease;
    }
    .button:hover { opacity: 0.75; }
    .button.secondary {
      background: transparent;
      color: var(--text);
    }

    .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid var(--text);
    }
    .guide-item {
      min-height: 230px;
      padding: 28px 22px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .guide-item:last-child { border-right: 0; }
    .guide-item strong {
      display: block;
      margin-bottom: 70px;
      font-size: 12px;
      color: var(--accent);
    }
    .guide-item h3 {
      margin: 0 0 10px;
      font-size: 25px;
      letter-spacing: -0.04em;
    }
    .guide-item p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 72px;
      align-items: start;
    }
    .contact-copy {
      position: sticky;
      top: calc(var(--header-h) + 32px);
    }
    .contact-copy p {
      max-width: 430px;
      color: var(--muted);
    }
    .contact-form {
      display: grid;
      gap: 22px;
      padding-top: 8px;
    }
    .field { display: grid; gap: 9px; }
    .field label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 0;
      border-bottom: 1px solid var(--text);
      border-radius: 0;
      background: transparent;
      padding: 15px 0;
      outline: none;
      color: var(--text);
    }
    .field textarea { min-height: 170px; resize: vertical; }
    .field input:focus,
    .field select:focus,
    .field textarea:focus { border-bottom-width: 3px; }
    .field-help {
      margin: 0;
      color: var(--muted);
      font-size: 11px;
    }
    .sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }
    .post-picker { position: relative; }
    .post-picker-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      width: 100%;
      min-height: 53px;
      padding: 15px 0;
      border: 0;
      border-bottom: 1px solid var(--text);
      border-radius: 0;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font: inherit;
      text-align: left;
    }
    .post-picker-trigger:hover,
    .post-picker-trigger:focus-visible,
    .post-picker.open .post-picker-trigger {
      border-bottom-width: 3px;
      outline: none;
    }
    .post-picker-trigger.has-selection { color: var(--text); }
    .post-picker-arrow {
      flex: 0 0 auto;
      font-size: 17px;
      line-height: 1;
      transition: transform .18s ease;
    }
    .post-picker.open .post-picker-arrow { transform: rotate(180deg); }
    .post-picker-panel {
      position: absolute;
      z-index: 45;
      top: calc(100% + 8px);
      left: 0;
      width: 100%;
      overflow: hidden;
      border: 1px solid var(--text);
      background: var(--surface);
      box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
    }
    .post-picker-panel[hidden] { display: none !important; }
    .post-picker-search-wrap {
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      background: var(--surface);
    }
    .post-picker-search-wrap input {
      width: 100%;
      min-height: 42px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 0;
      background: var(--bg);
      color: var(--text);
      font: inherit;
      outline: none;
    }
    .post-picker-search-wrap input:focus { border-color: var(--text); }
    .post-picker-options {
      max-height: 270px;
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .post-picker-option {
      display: grid;
      gap: 4px;
      width: 100%;
      padding: 14px;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      color: var(--text);
      cursor: pointer;
      font: inherit;
      text-align: left;
    }
    .post-picker-option:last-child { border-bottom: 0; }
    .post-picker-option:hover,
    .post-picker-option:focus-visible,
    .post-picker-option[aria-selected="true"] {
      background: var(--text);
      color: white;
      outline: none;
    }
    .post-picker-option-title {
      overflow-wrap: anywhere;
      font-size: 14px;
      font-weight: 700;
    }
    .post-picker-option-meta {
      color: var(--muted);
      font-size: 10px;
    }
    .post-picker-option:hover .post-picker-option-meta,
    .post-picker-option:focus-visible .post-picker-option-meta,
    .post-picker-option[aria-selected="true"] .post-picker-option-meta { color: rgba(255,255,255,.7); }
    .post-picker-empty {
      margin: 0;
      padding: 22px 14px;
      color: var(--muted);
      text-align: center;
      font-size: 12px;
    }
    .submit-button {
      margin-top: 10px;
      min-height: 60px;
      border: 0;
      background: var(--text);
      color: white;
      cursor: pointer;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
    .submit-button:hover { background: var(--accent); }
    .hidden-field { display: none; }

    .site-footer {
      padding: 42px 0 56px;
    }
    .footer-inner {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
    }
    .footer-title {
      margin: 0;
      font-size: clamp(34px, 5vw, 74px);
      line-height: 0.92;
      letter-spacing: -0.06em;
      font-weight: 700;
    }
    .footer-meta {
      text-align: right;
      color: var(--muted);
      font-size: 12px;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      place-items: center;
      padding: 20px;
      background: rgba(0,0,0,0.64);
    }
    .modal.open { display: grid; }
    .modal-panel {
      width: min(100%, 620px);
      max-height: min(80vh, 720px);
      overflow: auto;
      background: var(--surface);
      padding: 30px;
      border: 1px solid var(--text);
      box-shadow: 0 30px 100px rgba(0,0,0,0.28);
    }
    .modal-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      margin-bottom: 36px;
    }
    .modal-kicker {
      margin: 0;
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }
    .modal-close {
      width: 42px;
      height: 42px;
      border: 1px solid var(--text);
      background: transparent;
      cursor: pointer;
      font-size: 20px;
    }
    .source-row {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 20px;
      padding: 18px 0;
      border-top: 1px solid var(--line);
    }
    .source-label {
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
    .source-value { font-size: 15px; word-break: break-word; }
    .modal-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 28px;
    }

    @media (max-width: 980px) {
      .wallpaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .guide-grid { grid-template-columns: 1fr; }
      .guide-item { border-right: 0; }
      .contact-layout { grid-template-columns: 1fr; gap: 42px; }
      .contact-copy { position: static; }
    }

    @media (max-width: 700px) {
      :root { --header-h: 66px; }
      .container { width: min(calc(100% - 28px), var(--max)); }
      .menu-button { display: inline-grid; place-items: center; }
      .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
      }
      .nav.open { display: flex; }
      .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
      .nav a::after { display: none; }
      .hero { min-height: 78vh; padding-top: 72px; }
      .hero h1 { font-size: clamp(44px, 15vw, 78px); line-height: 0.98; }
      .hero-bottom { align-items: start; flex-direction: column; }
      .section { padding: 78px 0; }
      .section-head { align-items: start; flex-direction: column; }
      .wallpaper-grid { grid-template-columns: 1fr; }
      .card-actions { grid-template-columns: 1fr; }
      .footer-inner { align-items: start; flex-direction: column; }
      .footer-meta { text-align: left; }
      .modal-panel { padding: 22px; }
      .source-row { grid-template-columns: 1fr; gap: 6px; }
      .modal-actions { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }
  


/* 동적 게시물 및 상태 */
.data-status {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + 14px);
  z-index: 60;
  width: min(calc(100% - 28px), 760px);
  transform: translateX(-50%);
  padding: 13px 16px;
  border: 1px solid #b3261e;
  background: #fff2f0;
  color: #7d1b14;
  font-size: 12px;
  font-weight: 500;
}
.empty-state {
  margin: 28px 0 0;
  padding: 42px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 280px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.post-card.no-image { grid-template-columns: 1fr; }
.post-image-wrap { min-height: 280px; overflow: hidden; background: #e5e5e1; }
.post-image { height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; padding: 26px; }
.post-board { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; }
.post-title { margin: 18px 0 12px; font-size: 28px; line-height: 1.15; letter-spacing: -0.04em; }
.post-copy { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.post-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 28px; color: var(--muted); font-size: 11px; }
.post-source { font-weight: 700; color: var(--text); }

/* 관계자 관리자 */
.admin-body { min-height: 100vh; background: var(--bg); }
.admin-main { width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding: 64px 0 100px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 52px; }
.admin-title { margin: 0; font-size: clamp(38px, 7vw, 82px); line-height: .95; letter-spacing: -.06em; }
.admin-subtitle { margin: 12px 0 0; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.admin-panel { border: 1px solid var(--line); background: var(--surface); padding: 28px; }
.admin-panel h2 { margin: 0 0 22px; font-size: 26px; letter-spacing: -.04em; }
.admin-panel h3 { margin: 32px 0 16px; font-size: 18px; }
.admin-form { display: grid; gap: 18px; }
.admin-form .field input,
.admin-form .field select,
.admin-form .field textarea { padding: 13px 0; }
.admin-form .field textarea { min-height: 130px; }
.password-field-wrap { position: relative; }
.password-field-wrap input { padding-right: 68px !important; }
.password-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-width: 52px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}
.password-toggle:hover { color: var(--accent); }
.password-toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-message { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 12px; white-space: pre-line; }
.admin-message.error { color: #b3261e; }
.admin-message.success { color: #176b3a; }
.security-note { margin: 0 0 24px; padding: 16px; border-left: 4px solid var(--accent); background: #f7f7f4; color: var(--muted); font-size: 13px; }
.qr-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
.qr-image { width: 190px; height: 190px; padding: 8px; border: 1px solid var(--line); background: white; }
.secret-code { display: block; margin-top: 8px; padding: 10px; border: 1px solid var(--line); word-break: break-all; font-size: 12px; }
.admin-dashboard[hidden], .auth-panel[hidden], .mfa-panel[hidden], .owner-panel[hidden] { display: none !important; }
.content-list, .staff-list { display: grid; gap: 10px; }
.manage-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.manage-item:first-child { border-top: 1px solid var(--text); }
.manage-title { margin: 0; font-size: 16px; }
.manage-meta { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.small-button { min-height: 36px; padding: 0 12px; border: 1px solid var(--text); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.small-button.danger { border-color: #b3261e; color: #b3261e; }
.small-button.primary { background: var(--text); color: white; }
.role-select { min-height: 36px; border: 1px solid var(--text); background: white; padding: 0 9px; font-size: 11px; }
.file-help { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.admin-session { color: var(--muted); font-size: 12px; text-align: right; }
.thank-you-main { width: min(100%, 900px); }
.thank-you-title { margin: 18px 0 24px; font-size: clamp(44px, 11vw, 140px); line-height: .95; white-space: nowrap; letter-spacing: -.07em; }
.thank-you-copy { max-width: 520px; color: #707070; font-size: 17px; }
.thank-you-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .post-card { grid-template-columns: 1fr; }
  .post-image-wrap { min-height: 230px; }
  .admin-main { width: min(calc(100% - 28px), 1180px); padding-top: 38px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .qr-wrap { grid-template-columns: 1fr; }
  .manage-item { grid-template-columns: 1fr; }
  .manage-actions { justify-content: flex-start; }
  .thank-you-title { white-space: normal; }
}

.owner-panel { margin-top: 28px; }
.wallpaper-only[hidden] { display: none !important; }
.thank-you-main .button { margin-top: 28px; }
@media (max-width: 700px) {
  .admin-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .admin-nav a { padding: 8px 0; border: 0; }
}

/* 다중 미리보기 이미지와 첨부파일 */
.field-count {
  margin-left: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.file-selection {
  min-height: 16px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.file-selection.error { color: #b3261e; }
.media-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.media-carousel > img {
  width: 100%;
  height: 100%;
}
.media-carousel-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  background: rgba(17, 17, 17, .88);
  color: white;
}
.media-carousel-button {
  min-width: 42px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.media-carousel-button:hover,
.media-carousel-button:focus-visible {
  background: white;
  color: var(--text);
  outline: none;
}
.media-carousel-count {
  min-width: 42px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
}
.media-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.attachment-details {
  width: 100%;
  border: 1px solid var(--text);
  background: transparent;
}
.attachment-summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.attachment-summary::-webkit-details-marker { display: none; }
.attachment-details[open] .attachment-summary {
  border-bottom: 1px solid var(--line);
  background: var(--text);
  color: white;
}
.attachment-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 7px;
  background: var(--surface);
}
.attachment-link {
  display: block;
  padding: 10px 9px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 500;
}
.attachment-link:last-child { border-bottom: 0; }
.attachment-link:hover,
.attachment-link:focus-visible {
  background: var(--text);
  color: white;
  outline: none;
}
.post-body > .attachment-details {
  margin-top: 22px;
}
.post-image-wrap .media-carousel {
  min-height: inherit;
}

/* 2026 사이트 구조·QNA·팝업·관리자 수정 기능 */
.active-nav::after { transform: scaleX(1) !important; }
.home-hero { min-height: calc(100vh - var(--header-h)); }
.page-section { min-height: calc(100vh - var(--header-h)); padding-top: 86px; }
.compact-footer { border-top: 0; }
.guide-grid.two-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-card-link { cursor: pointer; outline: none; }
.list-card-link:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.detail-arrow { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 700; }
.post-excerpt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.back-link { display: inline-block; margin-bottom: 38px; font-size: 12px; font-weight: 700; }
.content-detail { display: grid; gap: 48px; }
.content-detail-head { max-width: 1050px; }
.content-detail-title { margin: 0; font-size: clamp(44px, 8vw, 112px); line-height: .95; letter-spacing: -.06em; }
.content-detail-meta { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.content-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.content-gallery-image { width: 100%; height: auto; border: 1px solid var(--line); background: var(--surface); }
.content-copy-block { padding-top: 30px; border-top: 1px solid var(--text); }
.content-subtitle { margin: 0 0 18px; font-size: 22px; letter-spacing: -.04em; }
.content-body-copy { margin: 0; color: #555; font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.detail-download-list { display: grid; gap: 8px; }
.detail-download { justify-content: flex-start; overflow-wrap: anywhere; }
.source-detail-block .button { margin-top: 22px; }

.qna-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 70px; align-items: start; }
.qna-list-section { padding-top: 86px; }
.small-title { font-size: clamp(34px, 5vw, 68px); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.qna-list { display: grid; border-top: 1px solid var(--text); }
.qna-list-item { width: 100%; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.qna-list-item:hover .qna-list-title, .qna-list-item:focus-visible .qna-list-title { color: var(--accent); }
.qna-list-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.qna-list-heading { min-width: 0; }
.qna-list-number { display: block; margin-bottom: 6px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.qna-list-title { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.qna-list-meta { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.qna-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.qna-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; border: 1px solid var(--line); font-size: 9px; font-weight: 700; white-space: nowrap; }
.qna-badge.private { background: var(--text); color: white; border-color: var(--text); }
.qna-badge.answered { border-color: #176b3a; color: #176b3a; }
.qna-badge.waiting { border-color: var(--accent); color: var(--accent); }
.qna-modal-panel { max-height: min(88vh, 820px); overflow-y: auto; }
.qna-detail-number { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.qna-detail-title { margin: 0; font-size: clamp(30px, 5vw, 56px); line-height: 1; letter-spacing: -.05em; }
.qna-detail-meta { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.qna-detail-related { margin: 22px 0 0; padding: 12px; background: #f7f7f4; font-size: 12px; }
.qna-answer-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.qna-answer-block.has-answer { border-top-color: var(--text); }

.popup-ad-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.68); }
.popup-ad-panel { width: min(100%, 620px); max-height: 90vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.popup-ad-image { width: 100%; max-height: 460px; object-fit: cover; background: #eee; }
.popup-ad-body { padding: 28px; }
.popup-ad-body h2 { margin: 0; font-size: clamp(30px, 5vw, 52px); line-height: 1; letter-spacing: -.05em; }
.popup-ad-body p { margin: 18px 0 0; color: var(--muted); white-space: pre-line; }
.popup-ad-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 30px; }
.popup-ad-actions .button { justify-content: center; }

.admin-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-tab { min-height: 42px; padding: 0 16px; border: 1px solid var(--text); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-tab.active { background: var(--text); color: white; }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }
.edit-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 12px; background: #fff3f1; border-left: 4px solid var(--accent); font-size: 12px; }
.edit-banner[hidden] { display: none !important; }
.admin-qna-list-head { display: grid; grid-template-columns: 72px minmax(0, 2fr) minmax(130px, 1fr) 100px 150px; gap: 18px; padding: 11px 16px; border: 1px solid var(--text); background: var(--text); color: white; font-size: 10px; font-weight: 700; }
.admin-qna-list { display: grid; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.admin-qna-item { border-bottom: 1px solid var(--line); background: #fafaf8; }
.admin-qna-summary { display: grid; grid-template-columns: 72px minmax(0, 2fr) minmax(130px, 1fr) 100px 150px; gap: 18px; align-items: center; padding: 18px 16px; cursor: pointer; list-style: none; }
.admin-qna-summary::-webkit-details-marker { display: none; }
.admin-qna-summary:hover, .admin-qna-summary:focus-visible { background: white; }
.admin-qna-summary-number { color: var(--accent); font-size: 12px; font-weight: 700; }
.admin-qna-summary-title { min-width: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.admin-qna-summary-writer, .admin-qna-summary-date { color: var(--muted); font-size: 10px; }
.admin-qna-body { padding: 4px 16px 22px; border-top: 1px solid var(--line); background: white; }
.admin-qna-question { margin: 18px 0; padding: 16px; background: #fafaf8; white-space: pre-line; font-size: 13px; }
.admin-answer-label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.admin-answer-textarea { width: 100%; min-height: 130px; resize: vertical; border: 1px solid var(--line); padding: 12px; background: white; }
.admin-qna-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.qna-list-tools { display: flex; align-items: center; gap: 8px; }
.qna-number-search { width: min(100%, 220px); min-height: 42px; padding: 0 12px; border: 1px solid var(--text); background: white; font: inherit; font-size: 12px; }
.qna-count { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.admin-qna-toolbar { align-items: center; justify-content: flex-end; gap: 8px; }
.qna-delete-area { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--accent); }
.qna-delete-note { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.qna-delete-button { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .qna-layout { grid-template-columns: 1fr; gap: 42px; }
  .content-gallery { grid-template-columns: 1fr; }
  .guide-grid.two-items { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .popup-ad-actions { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .qna-list-top { flex-direction: column; }
  .qna-badges { justify-content: flex-start; }
  .qna-list-tools { width: 100%; align-items: stretch; flex-direction: column; }
  .qna-number-search { width: 100%; max-width: none; }
  .admin-qna-toolbar { align-items: stretch; flex-direction: column; }
  .admin-qna-list-head { display: none; }
  .admin-qna-summary { grid-template-columns: auto 1fr auto; gap: 8px 14px; }
  .admin-qna-summary-title, .admin-qna-summary-writer { grid-column: 1 / -1; }
  .admin-qna-summary-number { grid-column: 1; }
  .admin-qna-summary-date { text-align: right; }
}

/* v5: 콘텐츠 상세·배경화면 썸네일 크기 조정 */
body[data-page="wallpapers"] .page-section > .container {
  width: min(calc(100% - 48px), 1160px);
}

body[data-page="wallpapers"] .card-image-wrap {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #ffffff;
}

body[data-page="wallpapers"] .card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

body[data-page="wallpapers"] .wallpaper-card:hover .card-image {
  transform: none;
}

body[data-page="content"] .page-section > .container {
  width: min(calc(100% - 48px), 1180px);
}

body[data-page="content"] .content-detail {
  gap: 38px;
}

body[data-page="content"] .content-detail-head {
  max-width: 880px;
}

body[data-page="content"] .content-detail-title {
  max-width: 880px;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

body[data-page="content"] .content-detail-meta {
  margin-top: 16px;
}

body[data-page="content"] .content-gallery {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 440px));
  justify-content: center;
  gap: 20px;
}

body[data-page="content"] .content-gallery-image {
  width: 100%;
  height: min(68vh, 680px);
  padding: 16px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

body[data-page="content"] .content-copy-block {
  width: min(100%, 980px);
  margin: 0 auto;
}

@media (max-width: 900px) {
  body[data-page="content"] .content-gallery {
    max-width: 620px;
    grid-template-columns: 1fr;
  }

  body[data-page="content"] .content-gallery-image {
    height: auto;
    max-height: 72vh;
  }
}

@media (max-width: 700px) {
  body[data-page="wallpapers"] .page-section > .container,
  body[data-page="content"] .page-section > .container {
    width: min(calc(100% - 28px), 1160px);
  }

  body[data-page="wallpapers"] .card-image-wrap {
    padding: 12px;
  }

  body[data-page="content"] .content-detail-title {
    font-size: clamp(34px, 11vw, 52px);
  }

  body[data-page="content"] .content-gallery-image {
    padding: 10px;
  }
}

/* V7 로고·작성자·개인정보처리방침 */
.brand {
  display: inline-flex;
  width: clamp(118px, 10vw, 146px);
  flex: 0 0 auto;
  align-items: center;
}
.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-brand {
  display: inline-flex;
  width: min(310px, 48vw);
  align-items: center;
}
.footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-meta p { margin: 0 0 10px; }
.privacy-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-weight: 700;
}
.privacy-link:hover,
.privacy-link:focus-visible { color: var(--accent); }

.privacy-consent-field {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.privacy-consent-label input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--text);
}
.privacy-consent-label a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-container { max-width: 1080px; }
.privacy-head { margin-bottom: 28px; }
.privacy-effective {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.privacy-intro {
  margin: 0 0 48px;
  max-width: 860px;
  color: #444;
  font-size: 16px;
}
.privacy-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.privacy-section:first-of-type { border-top-color: var(--text); }
.privacy-section h2 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.privacy-section p,
.privacy-section li {
  color: #505050;
  font-size: 14px;
  line-height: 1.8;
}
.privacy-section ul { margin: 0; padding-left: 20px; }
.privacy-table-wrap { overflow-x: auto; }
.privacy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 12px;
}
.privacy-table th,
.privacy-table td {
  padding: 15px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.privacy-table th {
  background: var(--text);
  color: white;
  font-weight: 700;
}
.privacy-contact { margin: 0; }
.privacy-contact > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.privacy-contact > div:last-child { border-bottom: 1px solid var(--line); }
.privacy-contact dt { font-size: 12px; font-weight: 700; }
.privacy-contact dd { margin: 0; color: #505050; font-size: 13px; overflow-wrap: anywhere; }
.privacy-contact a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .brand { width: 118px; }
  .footer-brand { width: min(260px, 76vw); }
  .privacy-intro { font-size: 14px; }
  .privacy-section h2 { font-size: 20px; }
  .privacy-contact > div { grid-template-columns: 80px minmax(0, 1fr); }
}
.card-date {
  max-width: 46%;
  white-space: normal;
  text-align: right;
  line-height: 1.45;
}


/* V10 메인 화면 로고 크기 추가 축소 */
.hero .hero-logo-heading {
  width: min(76%, 740px);
  max-width: none;
  margin: 0;
  line-height: 1;
}
.hero-main-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .hero .hero-logo-heading {
    width: 84%;
  }
}

/* 예약 공개를 선택했을 때만 예약 일시 입력란 표시 */
#schedule-field[hidden],
#schedule-field[aria-hidden="true"] {
  display: none !important;
}
