/* 麻豆 MADOU FILMS - 全站样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: #000000;
  color: #DDDDDD;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: #F7F7F7;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #FFFFFF;
}

a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #F7F7F7;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: #DDDDDD;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ========== 顶部信息栏 ========== */
.top-bar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #A5A5A5;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

.top-bar-left {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-center {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex: 1;
}

.top-bar-center a {
  color: #A5A5A5;
  font-size: 0.8125rem;
}

.top-bar-center a:hover {
  color: #FFFFFF;
}

.top-bar-right {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
  flex: 1;
  align-items: center;
}

.top-bar-right a,
.top-bar-right button {
  color: #A5A5A5;
  font-size: 0.8125rem;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.top-bar-right a:hover,
.top-bar-right button:hover {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .top-bar-center {
    display: none;
  }
  .top-bar-left {
    font-size: 0.75rem;
  }
  .top-bar-right a:not(.top-search-btn):not(.top-premiere-link) {
    display: none;
  }
}

/* ========== 品牌导航 ========== */
.brand-nav {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 90;
  height: 64px;
}

.brand-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  position: relative;
}

.brand-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #F7F7F7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: #1A1A1A;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.current-channel {
  font-size: 0.875rem;
  color: #A5A5A5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.brand-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
}

.brand-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #A5A5A5;
  margin-top: 2px;
}

.brand-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.btn-primary:hover {
  background: #EDEDED;
  color: #000000;
}

.btn-secondary {
  background: transparent;
  color: #F7F7F7;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  min-height: 36px;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

@media (max-width: 768px) {
  .brand-nav {
    height: 56px;
  }
  .current-channel {
    display: none;
  }
  .brand-logo-text {
    font-size: 1.1rem;
  }
  .brand-logo-sub {
    display: none;
  }
  .brand-nav-right .btn-secondary {
    display: none;
  }
}

/* ========== 影视频道导航 ========== */
.channel-nav {
  background: #0B0B0B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 80;
}

.channel-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 48px;
  overflow: hidden;
}

.channel-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
}

.channel-list::-webkit-scrollbar {
  display: none;
}

.channel-list a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 0.9rem;
  font-size: 0.875rem;
  color: #A5A5A5;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.channel-list a:hover {
  color: #FFFFFF;
}

.channel-list a.active {
  color: #FFFFFF;
  font-weight: 500;
}

.channel-list a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: #FFFFFF;
}

.channel-more-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.channel-more-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 0.9rem;
  font-size: 0.875rem;
  color: #A5A5A5;
  white-space: nowrap;
}

.channel-more-btn:hover,
.channel-more-btn[aria-expanded="true"] {
  color: #FFFFFF;
}

.channel-more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  min-width: 180px;
  padding: 0.5rem 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.channel-more-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.channel-more-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: #DDDDDD;
}

.channel-more-menu a:hover {
  background: #1A1A1A;
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .channel-nav-inner {
    padding: 0 14px;
  }
  .channel-list a {
    padding: 0 0.7rem;
    font-size: 0.8125rem;
  }
}

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 100px;
  }
}

.section {
  padding: 3.5rem 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.875rem;
  color: #A5A5A5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link:hover {
  color: #FFFFFF;
}

.section-desc {
  color: #A5A5A5;
  font-size: 0.9375rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

/* ========== 卡片网格 ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: #121212;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #121212;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.card-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1A1A1A 0%, #0B0B0B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2A2A2A;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #A5A5A5;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #F7F7F7;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: #FFFFFF;
}

.card-text {
  font-size: 0.875rem;
  color: #A5A5A5;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #727272;
}

/* 双栏 / 三栏 */
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ========== 首页主视觉 ========== */
.hero {
  padding: 3rem 0 2.5rem;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #121212;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.08);
}

.hero-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1A1A1A 0%, #0B0B0B 60%, #050505 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.2em;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: #DDDDDD;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-news {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.hero-news-item {
  display: block;
}

.hero-news-item .label {
  font-size: 0.75rem;
  color: #A5A5A5;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.hero-news-item p {
  font-size: 0.875rem;
  color: #DDDDDD;
  margin: 0;
  line-height: 1.55;
}

.hero-news-item:hover p {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-content {
    order: 1;
  }
  .hero-media {
    order: 2;
  }
  .hero-news {
    order: 3;
  }
}

/* ========== 内容页通用 ========== */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .lead {
  font-size: 1.05rem;
  color: #A5A5A5;
  max-width: 720px;
  line-height: 1.7;
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-block h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.content-block p,
.content-block li {
  color: #DDDDDD;
  font-size: 0.975rem;
  line-height: 1.75;
}

.content-block ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
  list-style: disc;
}

.content-block ul li {
  margin-bottom: 0.4rem;
}

.note-box {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #A5A5A5;
}

.note-box strong {
  color: #F7F7F7;
  font-weight: 500;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-item {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.info-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #A5A5A5;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: #C7C7C7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #121212;
}

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-size: 1rem;
  font-weight: 500;
  color: #F7F7F7;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: #A5A5A5;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: #DDDDDD;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #A5A5A5;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #A5A5A5;
  line-height: 1.65;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.875rem;
  color: #F7F7F7;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #A5A5A5;
  margin-bottom: 0.55rem;
  min-height: 28px;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: #727272;
  line-height: 1.65;
  max-width: 900px;
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: #727272;
}

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ========== 全站栏目面板 ========== */
.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.side-panel-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(520px, 90vw);
  background: #0B0B0B;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 210;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.side-panel-header .panel-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.side-panel-header .panel-logo span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.side-panel-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5A5A5;
  border-radius: 4px;
}

.side-panel-close:hover {
  color: #FFFFFF;
  background: #1A1A1A;
}

.side-panel-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.side-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  -webkit-overflow-scrolling: touch;
}

.panel-group {
  margin-bottom: 1.75rem;
}

.panel-group-title {
  font-size: 0.75rem;
  color: #727272;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-link {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-link:last-child {
  border-bottom: none;
}

.panel-link-title {
  font-size: 1rem;
  font-weight: 500;
  color: #F7F7F7;
  margin-bottom: 0.25rem;
}

.panel-link:hover .panel-link-title {
  color: #FFFFFF;
}

.panel-link-desc {
  font-size: 0.8125rem;
  color: #A5A5A5;
  line-height: 1.5;
  margin: 0;
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 220;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.search-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
}

.search-panel-close {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5A5A5;
  border-radius: 4px;
}

.search-panel-close:hover {
  color: #FFFFFF;
  background: #1A1A1A;
}

.search-panel-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.search-panel-body {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  overflow-y: auto;
}

.search-input-wrap {
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  height: 56px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0 1.25rem;
  font-size: 1.1rem;
  color: #FFFFFF;
  outline: none;
}

.search-input::placeholder {
  color: #727272;
}

.search-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.search-section {
  margin-bottom: 2rem;
}

.search-section h3 {
  font-size: 0.875rem;
  color: #A5A5A5;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.search-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: #DDDDDD;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.search-tags a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  background: #1A1A1A;
}

.search-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-links a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: #DDDDDD;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-links a:hover {
  color: #FFFFFF;
}

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 70;
  padding-bottom: env(safe-area-inset-bottom, 0);
  height: calc(56px + env(safe-area-inset-bottom, 0));
}

.mobile-bottom-nav-inner {
  display: flex;
  height: 56px;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: #A5A5A5;
  min-height: 48px;
}

.mobile-bottom-nav a.active {
  color: #FFFFFF;
}

.mobile-bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
}

/* ========== 工具类 ========== */
.text-muted {
  color: #A5A5A5;
}

.text-light {
  color: #727272;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 防止横向滚动 */
body.panel-open {
  overflow: hidden;
}

/* 列表页作品条目 */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.work-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 1.25rem;
}

.work-item-media {
  aspect-ratio: 4 / 3;
  background: #121212;
  border-radius: 6px;
  overflow: hidden;
}

.work-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.work-item-body h3 {
  margin-bottom: 0.5rem;
}

.work-item-body p {
  font-size: 0.9rem;
  color: #A5A5A5;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .work-item {
    grid-template-columns: 1fr;
  }
}

/* 日历 / 计划条目 */
.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.calendar-status {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.8125rem;
  color: #A5A5A5;
  padding-top: 0.15rem;
}

.calendar-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.calendar-content p {
  font-size: 0.9rem;
  color: #A5A5A5;
  margin: 0;
}

@media (max-width: 560px) {
  .calendar-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  .calendar-status {
    width: auto;
  }
}

/* APP 展示 */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.app-visual {
  aspect-ratio: 3 / 4;
  max-width: 320px;
  margin: 0 auto;
  background: #121212;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-visual-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .app-showcase {
    grid-template-columns: 1fr;
  }
}

/* 人物卡片 */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}

.people-card {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
}

.people-card h3 {
  margin-bottom: 0.35rem;
}

.people-role {
  font-size: 0.8125rem;
  color: #A5A5A5;
  margin-bottom: 0.85rem;
}

.people-card p {
  font-size: 0.9rem;
  color: #A5A5A5;
  margin: 0;
}

/* 片单 */
.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .watchlist-grid {
    grid-template-columns: 1fr;
  }
}

.watchlist-card {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}

.watchlist-card h3 {
  margin-bottom: 0.5rem;
}

.watchlist-card p {
  font-size: 0.9rem;
  color: #A5A5A5;
  margin-bottom: 0.75rem;
}

.watchlist-scene {
  font-size: 0.8125rem;
  color: #727272;
}

/* 影评 */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.review-item {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}

.review-item h3 {
  margin-bottom: 0.5rem;
}

.review-meta {
  font-size: 0.8125rem;
  color: #727272;
  margin-bottom: 0.85rem;
}

.review-item p {
  font-size: 0.95rem;
  color: #DDDDDD;
  margin-bottom: 0.75rem;
}

.review-note {
  font-size: 0.8125rem;
  color: #A5A5A5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* 联系表单样式（仅展示，无提交） */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: #A5A5A5;
  margin: 0;
}
