/* ==========================================================================
   LucaLiu Photography — Custom Styles
   设计语言：安静、克制、大量留白、柔和、艺术书籍感
   仅放置 Tailwind 难以表达的细节：字体、设计令牌、过渡、灯箱等
   ========================================================================== */

/* ---------- 字体（Google Fonts，川内风格的衬线标题 + 安静无衬线正文） ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400&display=swap');

/* ---------- 设计令牌 ---------- */
:root {
  --paper:    #F4F3EF;   /* 川内风格的极浅暖灰背景 */
  --paper-2:  #ECEAE4;   /* 次级背景 / 图占位灰 */
  --ink:      #2B2B28;   /* 主文字（近黑深灰） */
  --muted:    #9A9A92;   /* 次级文字（年份等） */
  --line:     #E0DED8;   /* 细分割线 */
  --accent:   #2B2B28;
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --maxw:     1280px;
  --maxw-text: 920px;   /* 文字阅读最佳宽度 */
}

/* ---------- 基础 ---------- */
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Cormorant Garamond', 'Times New Roman', serif; }

/* 川内风格：衬线标题，细字重，左对齐为主 */
h1, h2, h3, .title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

/* 字距克制的英文标识 */
.tracking-wide-2 { letter-spacing: .18em; }
.tracking-wide-3 { letter-spacing: .28em; }

/* 文字选中色 */
::selection { background: #2B2B28; color: #FAFAF7; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #DCDAD3; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C7C5BD; }

/* ---------- 链接克制下划线 ---------- */
.link-quiet {
  position: relative;
  color: var(--ink);
  transition: color .4s var(--ease);
}
.link-quiet::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-quiet:hover::after { transform: scaleX(1); }

/* ---------- 顶部导航（川内风格：左品牌 + 右 Menu 按钮） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 243, 239, .82);   /* 与 paper 色一致 */
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header a { transition: opacity .4s var(--ease); }
.site-header a:hover { opacity: .55; }

/* Menu 按钮（右上角文字按钮，衬线小字） */
.menu-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem .5rem;
}
.menu-btn:hover { opacity: .55; }

/* ==========================================================================
   川内风格全屏侧边栏（从右侧滑入，覆盖主内容，半透明遮罩）
   ========================================================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, .45);   /* 半透明深色遮罩 */
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
  z-index: 50;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  transform: translateX(100%);            /* 初始在屏幕右侧外 */
  transition: transform .7s var(--ease);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 5rem 3.5rem 3rem;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

/* 侧边栏顶部：Close 按钮（右上角） */
.nav-drawer .nav-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-drawer .nav-close:hover { opacity: .55; }

/* 侧边栏导航项：纵向单列，衬线大字，宽松行高 */
.nav-drawer nav {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.nav-drawer nav a {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity .4s var(--ease), padding-left .4s var(--ease);
}
.nav-drawer nav a:hover {
  opacity: .55;
  padding-left: .5rem;
}
.nav-drawer nav a[aria-current="page"] { opacity: .5; }

/* 侧边栏底部：品牌签名 + 语言占位（川内有 EN/JP，本站保留英文） */
.nav-drawer .nav-footer {
  margin-top: auto;
  padding-top: 3rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 打开侧边栏时锁定主页面滚动 */
body.nav-open { overflow: hidden; }

/* 移动端：侧边栏占满全宽 */
@media (max-width: 640px) {
  .nav-drawer { max-width: 100%; padding: 5rem 2rem 3rem; }
}

/* 兼容旧 mobile-menu 标记（不再使用，保留避免报错） */
.mobile-menu { display: none; }

/* ==========================================================================
   固定侧边栏布局（川内伦子风格）
   - 左侧固定侧边栏，右侧主内容区
   - 侧边栏内双列：左列主导航，右列作品系列列表
   - 小圆点指示器标记当前页
   ========================================================================== */

/* 整体布局 */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* 侧边栏容器 */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background: var(--paper-2);
  z-index: 50;
  overflow-y: auto;
  padding: 3rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

/* 侧边栏 Logo */
.sidebar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 3rem;
}
.sidebar-logo:hover { opacity: .6; }

/* 导航容器（双列） */
.sidebar-nav {
  display: flex;
  gap: 2.5rem;
  flex: 1;
}

/* 单列导航 */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

/* 菜单项 */
.sidebar-col a {
  position: relative;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .02em;
  padding-left: 1.2rem;
  transition: color .3s var(--ease);
}
.sidebar-col a:hover { color: var(--ink); }

/* 当前选中项：小圆点 + 深色文字 */
.sidebar-col a[aria-current="page"],
.sidebar-col a.active {
  color: var(--ink);
  font-weight: 500;
}
.sidebar-col a[aria-current="page"]::before,
.sidebar-col a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

/* 作品系列列表（右侧列） */
.sidebar-col.sub-nav a {
  font-size: .92rem;
}

/* 侧边栏底部信息 */
.sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 主内容区（右侧） */
.app-main {
  margin-left: 300px;
  flex: 1;
  min-width: 0;
}

/* 汉堡菜单按钮（移动端用，默认隐藏） */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: .5rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ==========================================================================
   响应式：移动端（≤ 1024px）
   - 侧边栏变为顶部 Header
   - 隐藏双列导航，显示汉堡菜单
   - 主内容全宽
   ========================================================================== */
@media (max-width: 1024px) {
  .app-layout { flex-direction: column; }

  .app-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 1.2rem 1.5rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .sidebar-logo {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .sidebar-nav {
    display: none; /* 移动端隐藏常驻导航 */
  }

  .sidebar-footer {
    display: none;
  }

  .sidebar-toggle {
    display: block;
  }

  .app-main {
    margin-left: 0;
    width: 100%;
  }

  /* 移动端打开导航时 */
  .app-sidebar.mobile-open .sidebar-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper-2);
    padding: 1.5rem;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
  }
}

/* ---------- 图片懒加载淡入 ---------- */
.lazy-img {
  opacity: 0;
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}
.lazy-img.loaded { opacity: 1; }

/* ---------- 进入视口的缓慢上浮 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 作品图卡 ---------- */
.work-card { cursor: pointer; }
.work-card .frame {
  overflow: hidden;
  background: var(--paper-2);
}
.work-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.2s var(--ease), filter 1.6s var(--ease);
}
.work-card:hover .frame img { transform: scale(1.03); filter: brightness(1.02); }

/* ---------- 页面切换过渡 ---------- */
main { animation: pageIn 1s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 灯箱 Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 20, 19, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox .lb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox .lb-stage.pannable { overflow: auto; cursor: grab; }
.lightbox .lb-stage.pannable:active { cursor: grabbing; }

.lightbox .lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s var(--ease), transform .6s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox .lb-img.loaded { opacity: 1; }
.lightbox .lb-img.zoomed {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform: scale(1);
}

.lightbox .lb-close,
.lightbox .lb-nav {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.lightbox .lb-close { top: 1.5rem; right: 2rem; font-size: 2.4rem; line-height: 1; }
.lightbox .lb-close:hover { color: #fff; transform: rotate(90deg); }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
.lightbox .lb-prev { left: 1.5rem; }
.lightbox .lb-next { right: 1.5rem; }
.lightbox .lb-nav:hover { color: #fff; }
.lightbox .lb-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox .lb-next:hover { transform: translateY(-50%) translateX(4px); }

.lightbox .lb-counter {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  letter-spacing: .2em;
}
.lightbox .lb-hint {
  position: absolute;
  bottom: 1.6rem;
  right: 2rem;
  color: rgba(255, 255, 255, .35);
  font-size: .72rem;
  letter-spacing: .08em;
}
@media (max-width: 640px) {
  .lightbox .lb-hint { display: none; }
  .lightbox .lb-nav { font-size: 2rem; }
  .lightbox .lb-prev { left: .6rem; }
  .lightbox .lb-next { right: .6rem; }
}

/* ---------- 详情页元数据细线 ---------- */
.meta-row {
  display: flex;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.meta-label {
  flex: 0 0 7.5rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: .15rem;
}

/* ---------- 章节呼吸留白 ---------- */
.section-breathe { padding-block: clamp(4rem, 10vw, 9rem); }

/* ==========================================================================
   川内伦子风格：Works 系列列表
   - 单列纵向，每行一张满宽大图
   - 图下左对齐：标题（衬线大字）+ 年份（灰色小字）
   - 图与图之间垂直留白极大（图高的 ~50%）
   ========================================================================== */
.works-list { display: flex; flex-direction: column; }

.series-card {
  display: block;
  margin-bottom: clamp(4rem, 9vw, 8rem);  /* 极大留白，川内特征 */
}
.series-card:last-child { margin-bottom: 0; }

.series-card .frame {
  overflow: hidden;
  background: var(--paper-2);
  width: 100%;
}
.series-card .frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 2.4s var(--ease), filter 1.6s var(--ease);
}
.series-card:hover .frame img { transform: scale(1.02); filter: brightness(1.02); }

/* 图下文字：左对齐，标题大，年份小灰 */
.series-meta { margin-top: 1.5rem; }
.series-meta .title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
}
.series-meta .year {
  margin-top: .35rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .04em;
  font-weight: 300;
}

/* 分类次级标题（在系列列表上方分组） */
.category-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  margin: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.category-heading:first-child { margin-top: 0; }
.category-heading .count {
  margin-left: .8rem;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .12em;
  vertical-align: middle;
}

/* ==========================================================================
   系列详情 / Stream 单张：单列大图纵向滚动，图间距紧凑
   ========================================================================== */
.single-column { display: flex; flex-direction: column; }
.single-column .photo {
  width: 100%;
  margin-bottom: clamp(.5rem, 1.5vw, 1.2rem);  /* 川内详情页图间距紧凑 */
}
.single-column .photo:last-child { margin-bottom: 0; }
.single-column .photo img {
  width: 100%;
  height: auto;
  display: block;
}
.single-column .photo .caption {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: var(--maxw-text);
}

/* 返回链接（系列详情顶部） */
.back-link {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color .4s var(--ease);
}
.back-link:hover { color: var(--ink); }

/* 首页精选：与系列列表同款满宽大图 */
.featured-list { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 8rem); }

/* 模式切换入口（首页底部） */
.mode-entry { transition: opacity .5s var(--ease); }
.mode-entry:hover { opacity: .55; }

/* ==========================================================================
   川内风格首页：左侧侧边栏（导航+系列列表）+ 右侧全屏大图
   ========================================================================== */

/* 首页全屏布局 */
.home-layout {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

/* 左侧固定侧边栏 */
.home-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--paper-2);
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
}

.home-sidebar-spacer {
  flex: 1;
}

.home-sidebar-footer {
  flex-shrink: 0;
}

.home-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
}
.home-brand:hover { opacity: .6; }

.home-nav {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.home-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .3s var(--ease);
}
.home-nav a:hover { color: var(--ink); }
.home-nav a.active,
.home-nav a[aria-current="page"] { color: var(--ink); }

/* 分隔线 */
.home-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 1.5rem 0;
}

/* 侧边栏系列列表 */
.home-series-list {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}

.home-series-item {
  background: none;
  border: none;
  cursor: pointer;
  padding: .55rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  transition: color .3s var(--ease), opacity .3s var(--ease);
  color: var(--muted);
}
.home-series-item:hover { color: var(--ink); opacity: .7; }
.home-series-item.active { color: var(--ink); }

.home-series-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.home-series-year {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .1em;
}
.home-series-item.active .home-series-year { color: var(--ink); opacity: .5; }

.home-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding-top: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 右侧全屏展示 */
.home-stage {
  flex: 1;
  margin-left: 260px;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 大图容器 */
.home-stage-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-stage-img {
  max-width: 88%;
  max-height: 85%;
  object-fit: contain;
  opacity: 1;
  transition: opacity .6s var(--ease);
  user-select: none;
  pointer-events: none;  /* 让点击事件穿透到容器 */
}

.home-stage-img.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

/* 图片信息（左下角，半透明背景） */
.home-stage-info {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 10;
  padding: .8rem 1.2rem;
  background: rgba(244, 243, 239, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  pointer-events: none;
}
.home-series-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .02em;
}
.home-series-year {
  margin-top: .2rem;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .08em;
}

/* 左右切换箭头 */
.home-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: .8rem;
  opacity: .6;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.home-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.home-prev { left: 1rem; }
.home-next { right: 1rem; }

/* 响应式：移动端 */
@media (max-width: 1024px) {
  .home-layout { flex-direction: column; }

  .home-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 40vh;
    padding: 1rem 1.2rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    overflow-y: visible;
  }
  .home-brand { font-size: .9rem; }
  .home-nav {
    display: none;
    flex-direction: row;
    gap: 1.2rem;
    margin-top: 0;
  }
  .home-divider { display: none; }
  .home-series-list {
    display: none;
    flex-direction: row;
    gap: .8rem;
    flex: 1;
    overflow-x: auto;
  }
  .home-series-item {
    padding: .3rem .7rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    white-space: nowrap;
  }
  .home-series-item .home-series-year { display: none; }
  .home-sidebar-spacer { display: none; }
  .home-sidebar-footer {
    display: flex;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    flex-direction: row;
    gap: 1rem;
    font-size: .6rem;
    white-space: nowrap;
  }
  .home-sidebar-footer .home-copy { display: none; }
  .home-sidebar-footer { margin-left: auto; }
  /* 隐藏首页无用的Menu按钮 */
  .home-layout .sidebar-toggle { display: none !important; }

  .home-sidebar.mobile-open .home-nav { display: flex; }
  .home-sidebar.mobile-open .home-series-list { display: flex; }

  .home-stage {
    margin-left: 0;
    width: 100%;
    height: calc(100vh - 50px);
  }

  /* 增加底部信息区与图片的间距，避免重叠 */
  .home-stage-info {
    left: 1rem;
    bottom: 1.5rem;
    padding: .5rem .8rem;
    background: rgba(244, 243, 239, 0.85);
  }
  .home-series-title { font-size: 1rem; }
  .home-series-year { font-size: .65rem; }

  /* 减小图片尺寸，为文字区域留出更多空间 */
  .home-stage-img {
    max-width: 82%;
    max-height: 75%;
  }

  .home-arrow { padding: .5rem; }
  .home-prev { left: .5rem; }
  .home-next { right: .5rem; }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .lazy-img { opacity: 1 !important; transform: none !important; }
}
