
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy:       #1a2a4a;
      --navy-dark:  #0f1e38;
      --navy-light: #243a5e;
      --gold:       #c9a84c;
      --gold-light: #e2c475;
      --teal:       #4fc3b0;
      --pink:       #f9a8d4;
      --soft:       #fef9f0;
      --white:      #ffffff;
      --gray-light: #f5f6f8;
      --gray:       #e0e3e8;
      --text-dark:  #1a1a2e;
      --text-mid:   #4a5568;
      --text-light: #718096;
      --radius:     12px;
    }
    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; width: 100%; height: 100%; object-fit: cover; }

    /* ══ 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-img {
      height: 34px; width: auto; object-fit: contain;
      filter: brightness(0) invert(1);
    }
    .hd-name { font-size: 15px; font-weight: 700; color: #fff; }
    .hd-name span { color: var(--gold); }
    .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;
    }
    .hd-back:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

    /* ══ HERO ════════════════════════════════════════ */

  /* ── 히어로 배너 (풀스크린) ─────────────────────────── */
  .hero {
    position: relative;
    text-align: center;
    padding: 0 24px;
    background: #0d2b2a;
    overflow: hidden;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  /* 배경 영상 */
  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .55;
  }
  /* 영상 위 어두운 오버레이 */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,43,42,.4) 0%, rgba(13,43,42,.15) 40%, rgba(13,43,42,.5) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .hero::after { display: none; }
  .hero-deco {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(79,195,176,.08);
    pointer-events: none;
    z-index: 2;
  }
  .hero-badge {
    display: inline-block;
    background: #4fc3b022;
    color: #4fc3b0;
    border: 1px solid #4fc3b055;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 5px 16px;
    border-radius: 99px;
    margin-bottom: 24px;
    position: relative;
    z-index: 3;
  }
  .hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 6px;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 24px rgba(0,0,0,.5);
  }
  .hero-en {
    font-size: 15px;
    font-weight: 600;
    color: rgba(79,195,176,.7);
    letter-spacing: 2px;
    margin-bottom: 28px;
    position: relative;
    z-index: 3;
  }
  .hero-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
    position: relative;
    z-index: 3;
  }
  .hero p {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin: 0 0 16px;
    position: relative;
    z-index: 3;
  }
  /* 소개 텍스트 */
  .hero-desc {
    max-width: 560px;
    font-size: 14.5px;
    color: rgba(255,255,255,.7);
    line-height: 1.9;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    word-break: keep-all;
  }
  .hero-divider {
    width: 40px;
    height: 2px;
    background: rgba(79,195,176,.5);
    border: none;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
  }
  .hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(79,195,176,.08);
    border: 1px solid rgba(79,195,176,.2);
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 36px;
    position: relative;
    z-index: 3;
  }
  .hero-highlight-item {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .hero-highlight-item strong {
    color: #4fc3b0;
    font-weight: 700;
  }
  .hero-highlight-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.15);
  }
  /* 활동사진 보기 버튼 */
  .hero-cta {
    position: relative; z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4fc3b0;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 99px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 24px #4fc3b055;
    letter-spacing: .5px;
  }
  /* 스크롤 안내 화살표 */
  .hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: heroFloat 2s ease-in-out infinite;
    color: rgba(255,255,255,.4);
    font-size: 20px;
  }
  @keyframes heroFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  @media (max-width: 480px) {
    .hero { min-height: calc(100vh - 56px); padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .hero-en { font-size: 12px; margin-bottom: 20px; }
    .hero-desc { font-size: 13px; line-height: 1.8; }
    .hero-highlight { flex-direction: column; gap: 8px; padding: 12px 16px; }
    .hero-highlight-divider { display: none; }
    .hero-icon { font-size: 32px; }
  }
  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px #4fc3b077;
  }
  /* 모바일 */
  @media (max-width: 600px) {
    .hero { padding: 52px 20px 48px; min-height: 260px; }
    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 24px; }
    .hs-num { font-size: 22px; }
  }

      .tb-tabs { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
    .tb-tabs::-webkit-scrollbar { display: none; }
    .tb-tab {
      font-size: 13px; font-weight: 600; padding: 6px 14px;
      border-radius: 20px; cursor: pointer; transition: all .2s;
      color: var(--text-mid); border: 1px solid transparent;
      flex-shrink: 0;
    }
    .tb-tab.on, .tb-tab:hover {
      background: var(--navy); color: #fff;
    }
    .tb-count { font-size: 12px; color: var(--text-light); }

    /* ══ GALLERY GRID ════════════════════════════════ */
    .gallery-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px 60px; }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    /* ── 카드 ── */
    .g-card {
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      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;
      width: 100%; padding-top: 72%;
      overflow: hidden; background: var(--gray-light);
    }
    .g-cover img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      transition: transform .35s;
    }
    .g-card:hover .g-cover img { transform: scale(1.07); }
    .g-count {
      position: absolute; bottom: 10px; right: 10px;
      background: rgba(0,0,0,.55); color: #fff;
      font-size: 11px; font-weight: 700;
      padding: 3px 9px; border-radius: 10px;
      backdrop-filter: blur(4px);
    }
    .g-tag {
      position: absolute; top: 10px; left: 10px;
      background: var(--gold); color: var(--navy);
      font-size: 10px; font-weight: 800;
      padding: 2px 8px; border-radius: 8px;
    }
    .g-info { padding: 14px 16px 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);
      line-height: 1.4;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* ══ DETAIL MODAL ════════════════════════════════ */
    #detail-overlay {
      display: none;
      position: fixed; inset: 0; z-index: 800;
      background: rgba(10,15,30,.92);
      overflow-y: auto;
      padding: 40px 20px 60px;
    }
    #detail-overlay.show { display: block; }
    .detail-inner {
      max-width: 860px; margin: 0 auto;
      background: #fff; border-radius: 16px;
      overflow: hidden;
    }
    .detail-head {
      background: var(--navy); padding: 20px 24px;
      display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    }
    .detail-head-info {}
    .detail-tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
    .detail-tag {
      background: var(--gold); color: var(--navy);
      font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 6px;
    }
    .detail-date { font-size: 11px; color: rgba(255,255,255,.5); }
    .detail-title { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.35; }
    .detail-close {
      background: rgba(255,255,255,.12); 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;
      transition: background .2s;
    }
    .detail-close:hover { background: rgba(255,255,255,.25); }
    .detail-body { padding: 24px; }

    /* ── 사진 레이아웃 자동 선택 ── */
    /* 1장 */
    .photo-grid.layout-1 {
      display: block; max-width: 600px; margin: 0 auto;
    }
    .photo-grid.layout-1 .ph-item { border-radius: 10px; overflow: hidden; cursor: pointer; max-height: 480px; }

    /* 2장 */
    .photo-grid.layout-2 {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    }
    .photo-grid.layout-2 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }

    /* 3장 */
    .photo-grid.layout-3 {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 8px; height: 380px;
    }
    .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; }

    /* 4장 */
    .photo-grid.layout-4 {
      display: grid; grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr; gap: 8px; height: 420px;
    }
    .photo-grid.layout-4 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; }

    /* 5장 */
    .photo-grid.layout-5 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 260px 200px;
      gap: 8px;
    }
    .photo-grid.layout-5 .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; }
    .photo-grid.layout-5 .ph-item:nth-child(1) { grid-column: 1; grid-row: 1; }
    .photo-grid.layout-5 .ph-item:nth-child(2) { grid-column: 2; grid-row: 1; }
    .photo-grid.layout-5 .ph-bottom {
      grid-column: 1 / 3;
      display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    }
    .photo-grid.layout-5 .ph-bottom .ph-item { border-radius: 8px; overflow: hidden; cursor: pointer; }

    /* 6장 이상 */
    .photo-grid.layout-many {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }
    .photo-grid.layout-many .ph-item {
      border-radius: 8px; overflow: hidden; cursor: pointer;
      aspect-ratio: 1;
    }
    /* 6장 이상: 첫 번째 사진을 2칸 차지하게 */
    .photo-grid.layout-many .ph-item:first-child {
      grid-column: 1 / 3; grid-row: 1 / 3;
      aspect-ratio: auto;
    }
    /* "더보기" 마지막 셀 */
    .ph-more {
      position: relative; border-radius: 8px; overflow: hidden; cursor: pointer;
    }
    .ph-more-overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,.6);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 4px;
    }
    .ph-more-num { font-size: 28px; font-weight: 900; color: #fff; }
    .ph-more-lbl { font-size: 12px; color: rgba(255,255,255,.8); }

    /* 공통 사진 호버 */
    .ph-item { position: relative; }
    .ph-item::after {
      content: "🔍";
      position: absolute; inset: 0;
      background: rgba(0,0,0,.22);
      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; }

    /* 전체 보기 버튼 */
    .show-all-btn {
      display: block; text-align: center; margin: 16px auto 0;
      background: var(--gray-light); border: 1px solid var(--gray);
      color: var(--text-mid); font-size: 13px; font-weight: 600;
      padding: 10px 28px; border-radius: 8px; cursor: pointer;
      transition: all .2s; width: fit-content;
    }
    .show-all-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

    /* ══ LIGHTBOX ══════════════════════════════════ */
    #lightbox {
      display: none;
      position: fixed; inset: 0; z-index: 1000;
      background: rgba(0,0,0,.96);
      align-items: center; justify-content: center;
    }
    #lightbox.show { display: flex; }
    .lb-wrap {
      position: relative; max-width: 94vw; max-height: 90vh;
      display: flex; align-items: center; justify-content: center;
    }
    .lb-wrap img {
      max-width: 90vw; max-height: 85vh;
      object-fit: contain; border-radius: 6px;
      width: auto; height: auto;
    }
    .lb-btn {
      position: fixed; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,.12); border: none; color: #fff;
      width: 50px; height: 50px; border-radius: 50%;
      font-size: 22px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s; z-index: 1001;
    }
    .lb-btn:hover { background: rgba(255,255,255,.28); }
    #lb-prev { left: 20px; }
    #lb-next { right: 20px; }
    #lb-close {
      position: fixed; top: 20px; right: 24px;
      background: rgba(255,255,255,.12); border: none; color: #fff;
      width: 44px; height: 44px; border-radius: 50%;
      font-size: 20px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s; z-index: 1001;
    }
    #lb-close:hover { background: rgba(255,255,255,.28); }
    .lb-counter {
      position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
      background: rgba(255,255,255,.12); color: #fff;
      font-size: 13px; padding: 6px 18px; border-radius: 20px;
      backdrop-filter: blur(6px);
    }
    .lb-caption {
      position: fixed; bottom: 68px; left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,.7); font-size: 13px;
      max-width: 500px; text-align: center;
    }

    /* ══ EMPTY ═════════════════════════════════════ */
    .empty {
      text-align: center; padding: 80px 20px;
      color: var(--text-light);
    }
    .empty-icon { font-size: 52px; margin-bottom: 14px; }
    .empty p { font-size: 14px; }

    /* ══ FOOTER ════════════════════════════════════ */
    .page-footer {
      background: var(--navy-dark); color: rgba(255,255,255,.45);
      text-align: center; font-size: 12px; padding: 24px;
      line-height: 1.8;
    }

    /* ══ RESPONSIVE ════════════════════════════════ */
    @media (max-width: 900px) {
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .hd { padding: 0 16px; }
      .hero { padding: 40px 20px 36px; }
      .hero h1 { font-size: 26px; }
      .hero-stats { gap: 20px; }
      .toolbar { padding: 0 16px; }
      .gallery-wrap { padding: 20px 12px 48px; }
      .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
      .photo-grid.layout-3 { height: 280px; }
      .photo-grid.layout-4 { height: 300px; }
      .lb-btn { width: 40px; height: 40px; }
      #lb-prev { left: 8px; }
      #lb-next { right: 8px; }
      /* 툴바 개선 */
      .toolbar { padding: 0 12px; flex-wrap: wrap; gap: 6px; }
      .tb-count { font-size: 11px; }
      /* 카드 텍스트 */
      .g-title { font-size: 12px; }
      .g-date  { font-size: 10px; }
      .g-info  { padding: 10px 12px; }
      /* 히어로 통계 */
      .hs-num  { font-size: 20px; }
      .hero-stats { gap: 16px; }
      /* 히어로 CTA */
      .hero-cta { font-size: 13px; padding: 11px 22px; }
    }
    @media (max-width: 400px) {
      .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
      .hero-stats { gap: 12px; }
      .hs-num { font-size: 18px; }
      .tb-tab { font-size: 12px; padding: 5px 10px; }
    }

    /* ══ 삭제 버튼 (관리자/편집자 전용) ══════════════ */
    .admin-bar {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
      background: var(--navy-dark); color: #fff;
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 24px; font-size: 13px;
      box-shadow: 0 -2px 12px rgba(0,0,0,.3);
    }
    .admin-bar-user { display: flex; align-items: center; gap: 8px; }
    .admin-bar-badge {
      background: var(--gold); color: var(--navy);
      font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 8px;
    }
    .admin-bar-btns { display: flex; gap: 8px; }
    .admin-bar-btn {
      font-size: 12px; font-weight: 700; padding: 6px 14px;
      border: none; border-radius: 16px; cursor: pointer; transition: all .2s;
    }
    .btn-admin-panel { background: rgba(255,255,255,.15); color: #fff; }
    .btn-admin-panel:hover { background: rgba(255,255,255,.25); }
    .btn-logout { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
    .btn-logout:hover { background: var(--red, #e53e3e); color: #fff; }

    .g-card { position: relative; }

    /* ── 관리자 버튼 래퍼 (카드 우상단 세로 배열) ── */
    .admin-btns {
      position: absolute; top: 8px; right: 8px; z-index: 10;
      display: none; flex-direction: column; gap: 4px; align-items: flex-end;
    }
    body.admin-mode .admin-btns { display: flex; }

    .del-btn {
      border: none; border-radius: 6px;
      font-size: 11px; font-weight: 700; padding: 5px 10px;
      cursor: pointer; color: #fff; white-space: nowrap;
      transition: opacity .2s; backdrop-filter: blur(4px);
    }
    .del-btn:hover { opacity: .8; }
    .del-btn-hide { background: rgba(30,30,30,.80); }
    .del-btn-perm { background: rgba(160,0,0,.88); }

    body.admin-mode { padding-bottom: 52px; }
    /* ══ 이동 다이얼로그 ═══════════════════════════════ */
    #move-dialog-overlay {
      display: none; position: fixed; inset: 0; z-index: 1200;
      background: rgba(0,0,0,.65); align-items: center; justify-content: center;
    }
    #move-dialog-overlay.show { display: flex; }
    .move-dialog {
      background: #fff; border-radius: 14px; padding: 28px 28px 24px;
      min-width: 300px; max-width: 380px; width: 90%;
      box-shadow: 0 12px 40px rgba(0,0,0,.25);
    }
    .move-dialog h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
    .move-dialog p  { font-size: 12px; color: var(--text-light); margin-bottom: 18px; line-height: 1.5; }
    .move-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
    .move-option {
      padding: 10px 16px; border-radius: 8px; border: 2px solid var(--gray);
      font-size: 13px; font-weight: 600; cursor: pointer; text-align: left;
      transition: all .15s; background: var(--gray-light);
    }
    .move-option:hover { border-color: var(--navy); background: #e8edf5; }
    .move-option.active { border-color: var(--gold); background: #fef9f0; color: var(--navy); }
    .move-dialog-btns { display: flex; gap: 8px; justify-content: flex-end; }
    .move-btn-cancel {
      padding: 8px 18px; border-radius: 8px; border: 1px solid var(--gray);
      background: #fff; font-size: 13px; cursor: pointer; color: var(--text-mid);
    }
    .move-btn-ok {
      padding: 8px 18px; border-radius: 8px; border: none;
      background: var(--navy); color: #fff; font-size: 13px;
      font-weight: 700; cursor: pointer; transition: opacity .15s;
    }
    .move-btn-ok:hover { opacity: .85; }
    .del-btn-move { background: rgba(40,80,160,.85); }

    /* 숨긴 게시물 */
    .g-card.hidden-post { opacity: .35; pointer-events: none; }
    body.admin-mode .g-card.hidden-post { opacity: 1; pointer-events: auto; }
    body.admin-mode .g-card.hidden-post .del-btn-hide { background: rgba(113,128,150,.9); }

    .hd-login {
      font-size: 12px; color: rgba(255,255,255,.7);
      border: 1px solid rgba(255,255,255,.2); border-radius: 16px;
      padding: 5px 14px; cursor: pointer; transition: all .2s;
      white-space: nowrap;
    }
    .hd-login:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  


  .floating-home {
    position: fixed;
    top: 52px; left: 14px;
    z-index: 9999;
    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;
    }
  }

    /* ── 모바일 추가 최적화 ── */
    @media (max-width: 480px) {
      .hd { padding: 0 16px; }
    }
