/* ============================================================
   Akonstudio — Prototype Design System
   Mobile-first · warm neutral palette · editorial minimal
   ============================================================ */
:root {
  --paper: #faf8f4;
  --paper-soft: #f3efe8;
  --ink: #262320;
  --muted: #6f6a62;
  --line: #e6e0d6;
  --accent: #8a6d3f;
  --accent-dark: #6e5630;
  --maxw: 1120px;
  --serif: "Cormorant Garamond", "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", "Songti SC", serif;
  --sans: -apple-system, "Helvetica Neue", "PingFang TC", "PingFang SC", "Noto Sans TC", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Prototype banner ---------- */
.proto-banner {
  background: #2e2a26; color: #f5efe4;
  font-size: 12px; letter-spacing: .05em;
  text-align: center; padding: 8px 16px;
}
.proto-banner strong { color: #d9b877; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.wordmark {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
}
.wordmark span { color: var(--accent); }
.main-nav { display: none; }
.main-nav.open { display: block; position: absolute; top: 60px; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  /* 手機：選單內容多時可內部滾動，避免超出螢幕無法點到 */
  max-height: calc(100dvh - 60px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.main-nav a, .main-nav button.lang-link {
  display: block; padding: 10px 0; font-size: 14px; letter-spacing: .08em;
  color: var(--ink); border: 0; background: none; width: 100%; text-align: left;
  font-family: var(--sans); cursor: pointer;
}
.main-nav .nav-cta {
  display: inline-block; margin-top: 10px; padding: 10px 22px;
  border: 1px solid var(--ink); border-radius: 2px; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; width: auto;
}
.nav-toggle {
  background: none; border: 0; width: 40px; height: 40px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: .2s; }
.lang-link { color: var(--accent) !important; font-weight: 500; }
@media (min-width: 900px) {
  .header-inner { height: 72px; }
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; gap: 18px; align-items: center; position: static; background: none; border: 0; padding: 0; }
  .main-nav a, .main-nav button.lang-link { display: inline; padding: 0; width: auto; font-size: 12px; white-space: nowrap; }
  .main-nav a:hover, .main-nav button.lang-link:hover { color: var(--accent); }
  .main-nav .nav-cta { margin-top: 0; padding: 9px 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; min-height: 86dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img.hero-bg, .page-hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,20,16,.62) 0%, rgba(24,20,16,.12) 55%, rgba(24,20,16,.18) 100%); }
.hero-content { position: relative; z-index: 2; color: #f7f3ec; padding: 0 20px 64px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; margin-bottom: 14px; }
.hero p { font-size: 15px; opacity: .92; max-width: 520px; margin-bottom: 28px; }
@media (min-width: 768px) {
  .hero { min-height: 92dvh; }
  .hero h1 { font-size: 58px; }
  .hero p { font-size: 17px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--ink); color: #f7f3ec; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: rgba(247,243,236,.95); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #f7f3ec; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }
.section-kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h2.section-title { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 16px; }
@media (min-width: 768px) { h2.section-title { font-size: 38px; } }
.section-intro { color: var(--muted); max-width: 620px; margin-bottom: 36px; }

/* ---------- Destination cards ---------- */
.dest-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
.dest-card { position: relative; display: block; overflow: hidden; }
.dest-card img { aspect-ratio: 2/3; object-fit: cover; width: 100%; transition: transform .5s ease; }
.dest-card:hover img { transform: scale(1.03); }
.dest-card .dest-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 20px;
  background: linear-gradient(to top, rgba(24,20,16,.68), transparent); color: #f7f3ec;
}
.dest-label h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.dest-label p { font-size: 13px; opacity: .85; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery figure { position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall img { aspect-ratio: 2/3; }
.gallery .wide img { aspect-ratio: 2/3; }   /* 全站統一 2:3 豎幅，貼合 3:2 直式作品 */
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(247,243,236,.9); text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* ---------- AI preview badge ---------- */
.ai-badge {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  font-size: 10px; letter-spacing: .1em; padding: 3px 8px; border-radius: 2px;
  background: rgba(24,20,16,.55); color: #f0e8da; border: 1px solid rgba(240,232,218,.35);
  pointer-events: none;
}

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step .step-no { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: .15em; display: block; margin-bottom: 8px; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Text page (destination detail) ---------- */
.page-hero { position: relative; min-height: 62vh; min-height: 62dvh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,20,16,.6), rgba(24,20,16,.1) 60%); }
.page-hero .hero-content { padding-bottom: 44px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; }
@media (min-width: 768px) { .page-hero h1 { font-size: 50px; } }

.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 48px 0 14px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 28px 0 8px; }
.prose p { color: #46423b; margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 20px; color: #46423b; }
.prose li { margin: 6px 0; }

.split { display: grid; gap: 28px; align-items: center; margin: 40px 0; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split.rev figure { order: 2; } }
.split figure { position: relative; }
.split img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.split .tall img { aspect-ratio: 2/3; }

.scene-list { display: grid; gap: 24px; margin: 32px 0; }
@media (min-width: 768px) { .scene-list { grid-template-columns: repeat(2, 1fr); } }
.scene { position: relative; }
.scene img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.scene h3 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.scene p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 300; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band { background: #2e2a26; color: #f5efe4; text-align: center; }
.cta-band .section-kicker { color: #d9b877; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 12px; }
.cta-band p { opacity: .85; max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #f5efe4; color: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-note { font-size: 12px; opacity: .6; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 13px; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; }

/* ---------- Forms (contact stub) ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; font-size: 15px; font-family: var(--sans); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
.trust-item h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.trust-item p { font-size: 13.5px; color: var(--muted); }

.tbd-tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 2px;
  background: var(--paper-soft); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }

/* ---------- Two-level navigation (destinations) ---------- */
.nav-links { display: contents; }
.nav-item { position: relative; }
.main-nav .nav-item > a { display: block; }
.main-nav .sub-menu a {
  font-size: 13px; color: var(--muted);
  padding: 9px 0 9px 14px; border-left: 1px solid var(--line);
}
.main-nav .sub-menu a:hover { color: var(--accent); border-left-color: var(--accent); }
.has-sub > .has-sub-link::after { content: " ▾"; font-size: 10px; color: var(--accent); }
.has-sub > .sub-menu { display: none; }
.has-sub.open > .sub-menu { display: block; }
@media (max-width: 899px) {
  .has-sub.open > .sub-menu { margin: 2px 0 8px; }
}
@media (min-width: 900px) {
  .main-nav .nav-item { display: inline-block; }
  .main-nav .nav-item > a { display: inline; padding: 0; }
  .has-sub > .sub-menu {
    position: absolute; top: calc(100% + 10px); left: -18px; z-index: 60;
    min-width: 190px; padding: 8px 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
    box-shadow: 0 10px 30px rgba(38,35,32,.10);
  }
  .has-sub > .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
  .main-nav .sub-menu a { display: block; padding: 8px 18px; border-left: 0; }
  .main-nav .sub-menu a:hover { background: var(--paper-soft); }
  .nav-item:hover > .sub-menu,
  .nav-item:focus-within > .sub-menu { display: block; }
}

/* ---------- Language selector ---------- */
.lang-switch { position: relative; display: inline-block; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  padding: 7px 10px; font-family: var(--sans); font-size: 12.5px;
  letter-spacing: .06em; color: var(--ink); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-globe { font-size: 13px; line-height: 1; color: var(--accent); }
.lang-caret { font-size: 9px; opacity: .6; }
.lang-list {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  min-width: 205px; padding: 6px 0; background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 12px 32px rgba(38,35,32,.12);
}
.lang-switch.open .lang-list { display: block; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px; font-size: 13px; color: var(--ink);
}
a.lang-item:hover { background: var(--paper-soft); color: var(--accent); }
.lang-item.is-current { color: var(--accent); font-weight: 500; }
.lang-item.is-soon { color: #b3aca1; cursor: default; }
.lang-mark { color: var(--accent); font-style: normal; }
.lang-soon {
  font-style: normal; font-size: 10px; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 99px; padding: 1px 7px; color: #b3aca1;
}
@media (max-width: 899px) {
  /* 手機：語言選單在展開的導航內，寬度自適應 */
  .main-nav a { padding: 13px 0; }          /* 加大點擊區域，符合 44px 觸控標準 */
  .main-nav .has-sub > .sub-menu a { padding: 12px 0 12px 14px; }
  .main-nav .lang-switch { display: block; margin-top: 6px; }
  .lang-list { position: static; box-shadow: none; border: 0; padding: 4px 0 0; min-width: 0; }
  .lang-item { padding: 10px 0; }
  .lang-toggle { padding: 10px 12px; }
}

/* ============================================================
   2:3 豎幅預覽（配合 3:2 直式作品，零裁切）
   ============================================================ */
/* 所有作品類圖片統一 2:3；當原圖就是 2:3 時，cover 等同完整顯示、不裁切 */

/* ---------- 手機：首圖完整顯示、文字下置（不裁切） ---------- */
@media (max-width: 767px) {
  .hero, .page-hero {
    display: block; min-height: 0; align-items: stretch;
  }
  .hero img.hero-bg, .page-hero img.hero-bg {
    position: static; width: 100%; height: auto;
    aspect-ratio: 2 / 3; object-fit: cover;
  }
  .hero::after, .page-hero::after { display: none; }
  .hero-content, .page-hero .hero-content {
    position: static; color: var(--ink);
    padding: 24px 20px 42px; max-width: none; width: auto; margin: 0;
  }
  .hero-kicker, .page-hero .hero-kicker { color: var(--accent); opacity: 1; }
  .hero h1, .page-hero h1 { font-size: 32px; }
  .hero p, .page-hero p { color: var(--muted); opacity: 1; }
  .hero .btn-light, .page-hero .btn-light { background: var(--ink); color: #f7f3ec; }
}

/* ---------- 篩選標籤（攻略／影片共用） ---------- */
.chip-row {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px;
  background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap;
  font-family: var(--sans);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #f7f3ec; }

/* ---------- 攻略文章卡片 ---------- */
.article-grid { display: grid; gap: 30px 20px; margin-top: 32px; }
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .article-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 22px; } }
.article-card { display: block; }
.article-card figure { position: relative; overflow: hidden; background: var(--paper-soft); }
.article-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.article-card.is-planned figure {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 2/3;
  border: 1px dashed var(--line); background: repeating-linear-gradient(45deg, var(--paper-soft), var(--paper-soft) 10px, #efe9e0 10px, #efe9e0 20px);
}
.article-card.is-planned figure span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a89f92; }
.article-meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 14px 0 6px; }
.article-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; }
.article-card p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.article-card.is-planned { cursor: default; }

/* ---------- 短影片卡片（9:16） ---------- */
.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.video-card { position: relative; display: block; overflow: hidden; background: #23201d; }
.video-card img, .video-card .video-poster {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block;
}
.video-card .video-poster {
  background: linear-gradient(160deg, #2e2a26, #1b1917);
  display: flex; align-items: center; justify-content: center;
}
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(247,243,236,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.video-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 14px;
  background: linear-gradient(to top, rgba(24,20,16,.8), transparent); color: #f7f3ec;
}
.video-label h3 { font-size: 14px; font-weight: 500; line-height: 1.4; }
.video-label span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---------- 關鍵詞／標籤列（頁尾內部連結，SEO 用） ---------- */
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.link-cloud a {
  font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px;
}
.link-cloud a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- picture 圖框 ---------- */
picture { display: block; }

/* ---------- 桌面：目的地首圖改為 2:3 完整呈現、文字在側（零裁切） ---------- */
@media (min-width: 768px) {
  .page-hero {
    display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    align-items: stretch; min-height: 0; background: var(--paper-soft); overflow: visible;
  }
  .page-hero img.hero-bg {
    position: static; width: 100%; height: 100%;
    aspect-ratio: 2/3; object-fit: cover;
  }
  .page-hero::after { display: none; }
  .page-hero .hero-content {
    position: static; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    color: var(--ink); padding: 64px 56px; width: 100%;
  }
  .page-hero .hero-content > p { max-width: 520px; }
  .page-hero .hero-content .wrap { padding: 0; max-width: 560px; margin: 0; }
  .page-hero .hero-kicker { color: var(--accent); opacity: 1; }
  .page-hero h1 { font-size: 44px; }
  .page-hero p { color: var(--muted); opacity: 1; }
  .page-hero .ai-badge { top: auto; bottom: 12px; left: 12px; right: auto; }
}

/* ============================================================
   相簿（瀑布流縮圖 + 燈箱）
   ============================================================ */
.album-section { padding: 8px 0 72px; }
.album-head { margin-bottom: 24px; }
.album-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }

.album-grid { columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .album-grid { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .album-grid { columns: 4; column-gap: 18px; } }

.shot {
  display: block; margin: 0 0 12px; break-inside: avoid;
  overflow: hidden; background: var(--paper-soft); cursor: zoom-in;
}
@media (min-width: 700px) { .shot { margin-bottom: 16px; } }
.shot img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.025); }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 燈箱 */
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(18,15,12,.96);
}
.lb.open { display: flex; }
.lb-stage {
  margin: 0; display: flex; align-items: center; justify-content: center;
  padding: 54px 68px 64px; max-width: 100vw; max-height: 100dvh;
}
.lb-stage img {
  width: auto; height: auto; object-fit: contain;
  max-width: calc(100vw - 136px); max-height: calc(100dvh - 118px);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.lb-close {
  position: absolute; top: 12px; right: 14px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #f3ece1; font-size: 30px; line-height: 1;
  cursor: pointer; opacity: .8;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28);
  color: #f7f3ec; font-size: 24px; line-height: 1; cursor: pointer;
  transition: background .2s, opacity .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav:disabled { opacity: .22; cursor: default; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; gap: 14px; justify-content: center; align-items: center;
  color: rgba(247,243,236,.78); font-size: 12.5px; letter-spacing: .1em;
}
.lb-hint { opacity: .45; }
@media (max-width: 640px) {
  .lb-stage { padding: 52px 6px 70px; }
  .lb-stage img { max-width: calc(100vw - 12px); max-height: calc(100dvh - 136px); }
  .lb-nav { width: 40px; height: 40px; font-size: 20px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .lb-hint { display: none; }
}
