
    /* ══ HERO 배너 — 3분할 영상 자동재생 ══════════════════ */
    .hero {
      position: relative;
      width: 100%;
      height: 560px;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    /* 3분할 영상 패널 */
    .hv-left, .hv-center, .hv-right {
      position: absolute; top: 0;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }
    .hv-left   { left: 0;       width: 33.34%; }
    .hv-center { left: 33.33%;  width: 33.34%; }
    .hv-right  { left: 66.66%;  width: 33.34%; }
    /* 분할선 */
    .hero-divider {
      position: absolute; top: 0; height: 100%; width: 3px;
      background: rgba(255,255,255,.18);
      z-index: 1;
      backdrop-filter: blur(1px);
    }
    .hero-divider.d1 { left: 33.33%; }
    .hero-divider.d2 { left: 66.66%; }
    /* 전체 오버레이 */
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,.45) 0%,
        rgba(0,15,0,.35) 50%,
        rgba(0,0,0,.55) 100%
      );
      z-index: 2;
    }
    /* 텍스트 컨텐츠 */
    .hero-inner {
      position: relative; z-index: 4;
      text-align: center;
      padding: 0 24px;
    }
    .hero-badge {
      display: inline-block;
      border: 1px solid rgba(201,168,76,.7);
      color: rgba(201,168,76,.95);
      font-size: 11px; font-weight: 800; letter-spacing: 4px;
      padding: 5px 18px; border-radius: 20px;
      margin-bottom: 20px;
      background: rgba(201,168,76,.1);
    }
    .hero-icon { font-size: 52px; display: block; margin-bottom: 14px; filter: drop-shadow(0 4px 12px rgba(74,222,128,.4)); }
    .hero-title {
      font-size: clamp(34px, 5vw, 58px);
      font-weight: 900; color: #fff; line-height: 1.1;
      letter-spacing: -1px; margin-bottom: 16px;
      text-shadow: 0 2px 24px rgba(0,0,0,.7);
    }
    .hero-desc { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.9; margin-bottom: 28px; }

    .hero-cta {
      display: inline-flex; align-items: center; gap: 8px;
      background: linear-gradient(135deg, #16a34a, #4ade80);
      color: #fff; font-size: 15px; font-weight: 800;
      padding: 14px 32px; border-radius: 50px; border: none;
      cursor: pointer; transition: all .25s;
      box-shadow: 0 4px 20px rgba(74,222,128,.35);
      font-family: inherit;
    }
    .hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(74,222,128,.5); }
    /* 좌우 레이블 */
    .hv-label {
      position: absolute; bottom: 22px; z-index: 4;
      background: rgba(0,0,0,.5);
      color: rgba(255,255,255,.85);
      font-size: 12px; font-weight: 700; letter-spacing: 1px;
      padding: 4px 14px; border-radius: 20px;
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,.15);
    }
    .hv-label.left   { left:  3%; }
    .hv-label.center { left: 50%; transform: translateX(-50%); }
    .hv-label.right  { right: 3%; }
    /* CTA 버튼 묶음 */
    .hero-cta-wrap {
      display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
    }
    /* 소리버튼 */
    #unmute-btn {
      display: inline-block;
      position: absolute; bottom: 20px; left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      background: rgba(201,168,76,.85); color: #1a2a0a;
      border: none; border-radius: 30px;
      font-size: 13px; font-weight: 700; padding: 7px 20px;
      cursor: pointer; backdrop-filter: blur(6px);
      transition: background .2s;
    }
    #unmute-btn:hover { background: rgba(201,168,76,1); }

    /* ═══ 모바일 ═══ */
    @media (max-width: 768px) {
  /* 모바일 텍스트 줄바꿈 보정 */
  body {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

      .hero { height: 520px; }
      .hero-inner { padding: 0 16px 36px; }
      .hero-badge { font-size: 10px; letter-spacing: 2px; padding: 4px 10px; margin-bottom: 8px; }
      .hero-icon  { font-size: 26px; margin-bottom: 6px; }
      .hero-title { font-size: 28px; margin-bottom: 6px; line-height: 1.25; }
      .hero-desc  { font-size: 12px; margin-bottom: 12px; }
      .hero-cta   { font-size: 12px; padding: 10px 18px; }
      .hero-cta-wrap { gap: 8px; margin-bottom: 6px; }
      #unmute-btn { font-size: 11px; padding: 5px 14px; }
    }
    /* ─── 모바일 영상 2+1 레이아웃 ─── */
    @media (max-width: 640px) {
      .hero { height: 500px; }
      /* 위쪽 2개: 왼쪽(left), 가운데(center) — 각 50% 너비, 위 절반 */
      .hv-left   { width: 50%; height: 50%; top: 0; left: 0; }
      .hv-center { width: 50%; height: 50%; top: 0; left: 50%; }
      /* 아래 1개: 오른쪽(right) — 전체 너비, 아래 절반 */
      .hv-right  { width: 100%; height: 50%; top: 50%; left: 0; }
      /* 분할선 재배치 */
      .hero-divider.d1 { width: 3px; height: 50%; top: 0; left: 50%; } /* 위쪽 세로선 */
      .hero-divider.d2 { width: 100%; height: 3px; top: 50%; left: 0; } /* 가로 구분선 */
      /* 레이블 재배치 */
      .hv-label.left   { left: 4%; bottom: 54%; transform: none; }
      .hv-label.center { left: auto; right: 4%; transform: none; bottom: 54%; }
      .hv-label.right  { right: auto; left: 50%; transform: translateX(-50%); bottom: 10px; }
    }
    @media (max-width: 480px) {
      .hero { height: 420px; }
      .hero-badge { display: none; }
      .hero-icon  { font-size: 22px; margin-bottom: 4px; }
      .hero-title { font-size: 24px; }
      .hero-desc  { display: none; }
      .hero-cta   { font-size: 11px; padding: 9px 14px; }
    }
    /* ══════════════════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy:       #1a2a4a;
      --navy-dark:  #0f1e38;
      --navy-light: #243a5e;
      --gold:       #c9a84c;
      --green-dark: #2d5a27;
      --green-mid:  #3d7a35;
      --green-light:#5a9e50;
      --green-pale: #e8f5e3;
      --white:      #ffffff;
      --gray-light: #f5f6f8;
      --gray:       #e0e3e8;
      --text-dark:  #1a1a2e;
      --text-mid:   #4a5568;
      --text-light: #718096;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Nanum Gothic", sans-serif;
      color: var(--text-dark);
      background: var(--gray-light);
    }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    /* ══════════════════════════════════════════════════
       PREMIUM EXTENSIONS — Purpose · Rhythm · Points
    ══════════════════════════════════════════════════ */

    /* ── Shared Section Heading ── */
    .pm-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 72px 24px 16px;
      position: relative;
    }
    .pm-head { text-align: center; margin-bottom: 44px; }
    .pm-kicker {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: 11px; font-weight: 800; letter-spacing: 3px;
      color: var(--green-dark);
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .pm-kicker::before,
    .pm-kicker::after {
      content: ''; display: inline-block;
      width: 24px; height: 1.5px;
      background: var(--gold);
    }
    .pm-head h2 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 900; color: var(--navy);
      letter-spacing: -0.5px; line-height: 1.2;
      margin-bottom: 10px;
    }
    .pm-head h2 em {
      color: var(--green-dark); font-style: normal;
      position: relative; z-index: 0;
    }
    .pm-head h2 em::after {
      content: ''; position: absolute;
      left: 0; right: 0; bottom: 2px;
      height: 9px;
      background: rgba(201,168,76,.28);
      z-index: -1;
    }
    .pm-head p {
      font-size: 14.5px; color: var(--text-mid);
      line-height: 1.8; max-width: 580px;
      margin: 0 auto;
    }

    /* ══ PURPOSE — 4 Values ══ */
    .purpose-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .purpose-card {
      background: #fff;
      border: 1px solid rgba(45, 90, 39, 0.1);
      border-radius: 16px; padding: 30px 24px;
      text-align: center; position: relative; overflow: hidden;
      transition: all .3s cubic-bezier(.2,.8,.2,1);
      box-shadow: 0 2px 10px rgba(15, 30, 56, 0.04);
    }
    .purpose-card::before {
      content: ''; position: absolute;
      top: 0; left: 50%; transform: translateX(-50%);
      width: 0; height: 3px;
      background: linear-gradient(90deg, var(--green-mid), var(--gold));
      transition: width .35s ease;
    }
    .purpose-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 44px rgba(45, 90, 39, 0.14);
      border-color: rgba(45, 90, 39, 0.25);
    }
    .purpose-card:hover::before { width: 70%; }
    .pc-icon {
      display: inline-flex; align-items: center; justify-content: center;
      width: 64px; height: 64px; border-radius: 50%;
      background: linear-gradient(135deg, var(--green-pale), #fff);
      border: 1px solid rgba(45, 90, 39, 0.15);
      font-size: 30px; margin-bottom: 18px;
    }
    .pc-num {
      font-size: 11px; font-weight: 800;
      color: var(--gold); letter-spacing: 2px;
      margin-bottom: 6px;
    }
    .pc-title {
      font-size: 18px; font-weight: 900;
      color: var(--navy); letter-spacing: -0.3px;
      margin-bottom: 10px;
    }
    .pc-desc { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

    /* ══ MONTHLY RHYTHM — 4 weeks + special 5th ══ */
    .rhythm-timeline {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 16px; margin-bottom: 28px;
      position: relative;
    }
    .rhythm-timeline::before {
      content: ''; position: absolute;
      top: 44px; left: 8%; right: 8%; height: 2px;
      background: repeating-linear-gradient(90deg, var(--green-mid) 0, var(--green-mid) 8px, transparent 8px, transparent 16px);
      z-index: 0;
    }
    .week-card {
      background: #fff;
      border: 1.5px solid rgba(45, 90, 39, 0.12);
      border-radius: 14px; padding: 22px 18px;
      text-align: center; position: relative; z-index: 1;
      transition: all .28s;
    }
    .week-card:hover {
      transform: translateY(-4px);
      border-color: var(--green-mid);
      box-shadow: 0 10px 28px rgba(45, 90, 39, 0.12);
    }
    .wc-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 52px; height: 52px; border-radius: 50%;
      background: #fff; border: 2px solid var(--green-mid);
      color: var(--green-dark);
      font-size: 17px; font-weight: 900;
      margin: 0 auto 14px;
      box-shadow: 0 4px 14px rgba(45, 90, 39, 0.15);
      position: relative;
    }
    .wc-badge::after {
      content: '⛳'; position: absolute;
      top: -8px; right: -8px;
      font-size: 12px;
      background: var(--gold);
      width: 22px; height: 22px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
    }
    .wc-tag {
      display: inline-block;
      font-size: 10px; font-weight: 800;
      color: var(--green-dark);
      background: var(--green-pale);
      padding: 3px 10px; border-radius: 20px;
      letter-spacing: 0.5px; margin-bottom: 10px;
    }
    .wc-title {
      font-size: 15px; font-weight: 900;
      color: var(--navy); margin-bottom: 6px;
    }
    .wc-desc { font-size: 12px; color: var(--text-mid); line-height: 1.6; }

    /* 5주차 특별 카드 (골드 프리미엄) */
    .week-special {
      background: linear-gradient(135deg, #0f1e38 0%, #1a2a4a 50%, #243a5e 100%);
      border: 2px solid var(--gold);
      border-radius: 20px;
      padding: 32px 32px 28px;
      color: #fff;
      position: relative; overflow: hidden;
      box-shadow: 0 14px 44px rgba(15, 30, 56, 0.28);
    }
    .week-special::before {
      content: ''; position: absolute;
      top: -60px; right: -60px;
      width: 240px; height: 240px;
      background: radial-gradient(circle, rgba(201,168,76,0.22), transparent 70%);
      pointer-events: none;
    }
    .week-special::after {
      content: ''; position: absolute;
      bottom: -40px; left: -40px;
      width: 160px; height: 160px;
      background: radial-gradient(circle, rgba(74,222,128,0.12), transparent 70%);
      pointer-events: none;
    }
    .ws-inner {
      position: relative;
      display: grid; grid-template-columns: auto 1fr;
      gap: 24px; align-items: center;
    }
    .ws-badge {
      display: flex; align-items: center; justify-content: center;
      width: 88px; height: 88px; border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), #e2c475);
      color: var(--navy-dark);
      font-weight: 900;
      box-shadow: 0 8px 24px rgba(201,168,76,0.45);
      flex-shrink: 0; flex-direction: column; gap: 2px;
    }
    .ws-badge .ws-big { font-size: 26px; line-height: 1; }
    .ws-badge .ws-sm  { font-size: 10px; letter-spacing: 1px; }
    .ws-label {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 10px; font-weight: 800;
      color: var(--gold); letter-spacing: 3px;
      margin-bottom: 8px;
    }
    .ws-label::before { content: '★'; color: var(--gold); font-size: 12px; }
    .ws-title {
      font-size: clamp(20px, 3vw, 26px);
      font-weight: 900; color: #fff;
      line-height: 1.25; letter-spacing: -0.3px;
      margin-bottom: 12px;
    }
    .ws-list {
      display: flex; gap: 12px; flex-wrap: wrap;
      margin-top: 14px;
    }
    .ws-item {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(201,168,76,0.35);
      border-radius: 10px; padding: 12px 18px;
      flex: 1 1 240px;
      backdrop-filter: blur(6px);
    }
    .ws-item-title {
      font-size: 13px; font-weight: 800;
      color: var(--gold);
      margin-bottom: 4px;
      display: flex; align-items: center; gap: 6px;
    }
    .ws-item-desc {
      font-size: 12.5px;
      color: rgba(255,255,255,0.78);
      line-height: 1.6;
    }

    /* ══ MISSION POINTS — Calculator Style ══ */
    .points-wrap {
      background: #fff; border-radius: 20px;
      padding: 40px 36px;
      box-shadow: 0 14px 40px rgba(15, 30, 56, 0.08);
      border: 1px solid rgba(45, 90, 39, 0.1);
      overflow: hidden; position: relative;
    }
    .points-wrap::before {
      content: ''; position: absolute;
      top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--green-dark), var(--green-light), var(--gold));
    }
    .points-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 40px; align-items: center;
    }
    .mp-lead {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 800;
      color: var(--gold); letter-spacing: 2px;
      margin-bottom: 14px;
    }
    .mp-lead::before { content: '💰'; font-size: 14px; }
    .points-info h3 {
      font-size: 26px; font-weight: 900;
      color: var(--navy);
      letter-spacing: -0.4px; line-height: 1.3;
      margin-bottom: 14px;
    }
    .points-info h3 .highlight {
      color: var(--green-dark);
      position: relative; display: inline-block; z-index: 0;
    }
    .points-info h3 .highlight::after {
      content: ''; position: absolute;
      left: 0; right: 0; bottom: 2px;
      height: 8px;
      background: rgba(201,168,76,0.3);
      z-index: -1;
    }
    .points-info p {
      font-size: 14px; color: var(--text-mid);
      line-height: 1.85; margin-bottom: 18px;
    }
    .points-pillars { display: flex; gap: 10px; flex-wrap: wrap; }
    .mp-pill {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--green-pale);
      color: var(--green-dark);
      font-size: 12px; font-weight: 700;
      padding: 7px 14px; border-radius: 20px;
      border: 1px solid rgba(45, 90, 39, 0.2);
    }

    /* 계산기 시각화 */
    .points-calc {
      background: linear-gradient(160deg, var(--navy-dark), var(--navy));
      border-radius: 16px; padding: 32px 28px;
      color: #fff; position: relative; overflow: hidden;
    }
    .points-calc::before {
      content: '⛳';
      position: absolute; top: 16px; right: 20px;
      font-size: 22px; opacity: 0.25;
    }
    .mp-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px dashed rgba(201,168,76,0.25);
    }
    .mp-row:last-of-type { border-bottom: none; }
    .mp-label {
      font-size: 13px; color: rgba(255,255,255,0.75);
      display: flex; align-items: center; gap: 8px;
    }
    .mp-val {
      font-size: 15px; font-weight: 800;
      color: var(--gold);
      font-variant-numeric: tabular-nums;
    }
    .mp-equals {
      margin: 18px 0 14px; height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .mp-total {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 18px;
      background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(74,222,128,0.1));
      border: 1px solid rgba(201,168,76,0.45);
      border-radius: 12px;
    }
    .mp-total-label {
      font-size: 12px; font-weight: 800;
      color: var(--gold); letter-spacing: 1px;
    }
    .mp-total-val {
      font-size: 22px; font-weight: 900;
      color: #fff; letter-spacing: -0.5px;
    }
    .mp-note {
      margin-top: 14px;
      font-size: 11.5px;
      color: rgba(255,255,255,0.55);
      line-height: 1.6; text-align: center;
      font-style: italic;
    }

    @media (max-width: 900px) {
      .pm-section { padding: 56px 20px 8px; }
      .purpose-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
      .rhythm-timeline { grid-template-columns: repeat(2, 1fr); }
      .rhythm-timeline::before { display: none; }
      .points-grid { grid-template-columns: 1fr; gap: 28px; }
      .points-wrap { padding: 32px 24px; }
      .ws-inner { grid-template-columns: 1fr; text-align: center; }
      .ws-badge { margin: 0 auto; }
      .ws-label { justify-content: center; }
      .ws-list { justify-content: center; }
    }
    @media (max-width: 500px) {
      .purpose-grid { grid-template-columns: 1fr; }
      .rhythm-timeline { grid-template-columns: 1fr; }
      .week-special { padding: 26px 20px; }
      .points-info h3 { font-size: 22px; }
    }

    /* ══ HEADER ══════════════════════════════════════ */
    .hd {
      position: sticky; top: 0; z-index: 500;
      background: var(--navy);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 64px;
      box-shadow: 0 2px 16px rgba(0,0,0,.25);
    }
    .hd-logo { display: flex; align-items: center; gap: 12px; }
    .hd-logo .cross {
      width: 34px; height: 34px;
      background: var(--gold); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; color: var(--navy); font-weight: 900;
    }
    .hd-name { font-size: 15px; font-weight: 700; color: #fff; }
    .hd-name span { color: #5aba4a; }
    .hd-back {
      font-size: 13px; color: rgba(255,255,255,.7);
      border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
      padding: 6px 16px; transition: all .2s; cursor: pointer;
    }
    .hd-back:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }


    /* ══ GALLERY SECTION /* ══ GALLERY SECTION ════════════════════════════ */
    .section-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 48px 24px 80px;
    }
    .section-hd {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: 32px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--green-mid);
    }
    .section-hd .dot {
      width: 6px; height: 28px;
      background: var(--green-mid);
      border-radius: 3px;
    }
    .section-hd h2 {
      font-size: 22px; font-weight: 900;
      color: var(--text-dark);
    }
    .section-hd .cnt {
      font-size: 13px; color: var(--text-light);
      margin-left: auto;
    }

    /* ── 갤러리 카드 그리드 ── */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      justify-content: start;
    }
    .g-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      cursor: pointer;
      transition: transform .2s, box-shadow .2s;
    }
    .g-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
    .g-cover {
      position: relative;
      aspect-ratio: 4/3;
      background: var(--green-pale);
      overflow: hidden;
    }
    .g-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
    .g-card:hover .g-cover img { transform: scale(1.06); }
    .g-tag {
      position: absolute; top: 10px; left: 10px;
      background: var(--green-dark); color: #fff;
      font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
    }
    .g-count {
      position: absolute; bottom: 10px; right: 10px;
      background: rgba(0,0,0,.55); color: #fff;
      font-size: 11px; padding: 3px 8px; border-radius: 20px;
    }
    .g-info { padding: 14px 16px; }
    .g-date { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
    .g-title { font-size: 14px; font-weight: 700; color: var(--text-dark); }

    /* ── 빈 상태 ── */
    .empty-msg {
      text-align: center; padding: 80px 20px;
      color: var(--text-light);
      display: none;
    }
    .empty-msg .emoji { font-size: 56px; margin-bottom: 16px; }
    .empty-msg p { font-size: 15px; }

    /* ══ DETAIL OVERLAY ═════════════════════════════ */
    #detail-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(10,15,30,.85);
      z-index: 900; overflow-y: auto; padding: 40px 20px;
    }
    #detail-overlay.show { display: block; }
    .detail-box {
      max-width: 880px; margin: 0 auto;
      background: #fff; border-radius: 16px; overflow: hidden;
    }
    .detail-hd {
      background: var(--green-dark);
      padding: 20px 28px;
      display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    }
    .detail-hd-info { flex: 1; }
    .d-tag {
      display: inline-block;
      background: rgba(255,255,255,.2); color: #fff;
      font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
      margin-bottom: 8px;
    }
    .d-date { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
    .d-title { font-size: 20px; font-weight: 900; color: #fff; }
    #detail-close-btn {
      background: rgba(255,255,255,.15); border: none; color: #fff;
      width: 36px; height: 36px; border-radius: 50%; font-size: 18px;
      cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    }
    #d-body { padding: 24px; }

    /* ── 사진 그리드 레이아웃 ── */
    .photo-grid { gap: 6px; display: grid; }
    .photo-grid.layout-1 .ph-item { border-radius: 10px; overflow: hidden; cursor: pointer; max-height: 480px; }
    .photo-grid.layout-2 { grid-template-columns: 1fr 1fr; }
    .photo-grid.layout-2 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
    .photo-grid.layout-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
    .photo-grid.layout-3 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; }
    .photo-grid.layout-3 .ph-item:first-child { grid-row: 1 / 3; }
    .photo-grid.layout-4 { grid-template-columns: 1fr 1fr; }
    .photo-grid.layout-4 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
    .photo-grid.layout-5 { grid-template-columns: 1fr 1fr; }
    .photo-grid.layout-5 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
    .ph-bottom { display: grid; grid-column: 1/-1; grid-template-columns: repeat(3,1fr); gap: 6px; }
    .ph-bottom .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
    .photo-grid.layout-many { grid-template-columns: repeat(3,1fr); }
    .photo-grid.layout-many .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
    .photo-grid.layout-many .ph-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: unset; }
    .ph-item { position: relative; }
    .ph-item::after {
      content: '🔍'; position: absolute; inset: 0;
      background: rgba(45,90,39,.4); display: flex;
      align-items: center; justify-content: center;
      font-size: 28px; opacity: 0; transition: opacity .2s;
    }
    .ph-item:hover::after { opacity: 1; }
    .ph-item img { width: 100%; height: 100%; object-fit: cover; }
    .ph-more { position: relative; }
    .ph-more-overlay {
      position: absolute; inset: 0; background: rgba(0,0,0,.6);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      pointer-events: none;
    }
    .ph-more-num { font-size: 28px; font-weight: 900; color: #fff; }
    .ph-more-lbl { font-size: 12px; color: rgba(255,255,255,.7); }
    .show-all-btn {
      width: 100%; margin-top: 14px; padding: 12px;
      background: var(--green-dark); color: #fff;
      border: none; border-radius: 8px; font-size: 14px; font-weight: 700;
      cursor: pointer; transition: background .2s; font-family: inherit;
    }
    .show-all-btn:hover { background: var(--green-mid); }

    /* ══ LIGHTBOX ════════════════════════════════════ */
    #lightbox {
      display: none; position: fixed; inset: 0; z-index: 1100;
      background: rgba(0,0,0,.95);
      align-items: center; justify-content: center;
      flex-direction: column;
    }
    #lightbox.show { display: flex; }
    #lb-img {
      max-width: 92vw; max-height: 82vh;
      object-fit: contain; border-radius: 6px;
      display: block;
    }
    .lb-btn {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
      color: #fff; width: 52px; height: 52px; border-radius: 50%;
      font-size: 26px; cursor: pointer; transition: background .2s;
      display: flex; align-items: center; justify-content: center;
    }
    .lb-btn:hover { background: rgba(255,255,255,.3); }
    #lb-prev { left: 20px; }
    #lb-next { right: 20px; }
    #lb-close {
      position: absolute; top: 18px; right: 22px;
      background: rgba(255,255,255,.12); border: none; color: #fff;
      width: 40px; height: 40px; border-radius: 50%; font-size: 20px;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
    }
    #lb-close:hover { background: rgba(255,255,255,.25); }
    #lb-counter {
      position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,.65); font-size: 13px;
    }
    #lb-caption {
      position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600;
      white-space: nowrap;
    }

    /* ══ 관리자 ════════════════════════════════════════ */
    .admin-bar {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
      background: var(--navy-dark); border-top: 2px solid var(--gold);
      padding: 10px 24px;
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .admin-bar-user { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 13px; }
    .admin-bar-badge { background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; }
    .admin-bar-btns { display: flex; gap: 8px; }
    .admin-bar-btn { padding: 7px 16px; border: none; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .btn-admin-panel { background: var(--gold); color: var(--navy); }
    .btn-logout { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
    .del-btn { position: absolute; top: 8px; right: 8px; z-index: 10; padding: 4px 10px; border: none; border-radius: 12px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .del-btn-hide { background: rgba(229,62,62,.85); color: #fff; }
    .del-btn-move { background: rgba(66,153,225,.85); color: #fff; right: 75px; }
    .del-btn-perm { background: rgba(150,20,20,.9); color: #fff; right: 130px; }
    body.admin-mode .g-card { position: relative; }
    .hidden-post { opacity: .4; }
    /* 편집 모드: 삭제/숨기기 버튼은 편집 모드일 때만 표시 */
    .admin-btns { display: none !important; }
    body.edit-mode .admin-btns { display: flex !important; }
    .btn-edit-mode { background: rgba(255,255,255,.15); color: #fff; }
    .btn-edit-mode.active { background: #e53e3e; color: #fff; }

    /* ══ RESPONSIVE ══════════════════════════════════ */
    @media (max-width: 768px) {
      .hd { padding: 0 16px; }
      .section-wrap { padding: 28px 16px 60px; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; justify-content: start; }
      #lb-prev { left: 8px; }
      #lb-next { right: 8px; }
      /* 관리자 버튼 모바일 최적화 */
      .del-btn { font-size: 10px; padding: 3px 7px; }
      .del-btn-hide { right: 4px; top: 4px; }
      .del-btn-move { right: 4px; top: 30px; }
      .del-btn-perm { right: 4px; top: 56px; }
    }
    @media (max-width: 480px) {
      .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; justify-content: start; }
    }
  


  .floating-home {
    position: fixed;
    top: 52px; left: 14px;
    z-index: 600;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 14px 9px 11px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    color: #fff;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform .2s ease, background .2s ease;
    letter-spacing: -0.01em;
  }
  .floating-home:hover {
    background: rgba(15, 23, 42, 0.85);
    transform: translateY(-1px);
  }
  .floating-home svg { flex-shrink: 0; }
  @media (min-width: 768px) {
    .floating-home {
      top: 56px; left: 18px;
      padding: 10px 16px 10px 12px;
      font-size: 14px;
    }
  }
