/* 51吃瓜 - 51 GUAGUA Official Stylesheet */
/* Dark theme with pink-purple accents */

:root {
  --bg-main: #0B0B1A;
  --bg-deep: #080812;
  --bg-content: #12121F;
  --bg-secondary: #1A1A2A;
  --bg-hover: #222233;
  --text-primary: #FFFFFF;
  --text-body: #E8E8F0;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --brand-pink: #FF2D6A;
  --brand-light-pink: #FF4D8A;
  --brand-rose: #E6005C;
  --brand-purple: #7B2CBF;
  --brand-light-purple: #9B4DFF;
  --brand-soft-pink: #FFB3C9;
  --border-subtle: rgba(255, 45, 106, 0.18);
  --border-focus: rgba(255, 77, 138, 0.45);
  --shadow-main: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-pink: 0 12px 36px rgba(255, 45, 106, 0.22);
  --gradient-btn: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  --footer-bg: #05050A;
  --footer-text: #C8C8D8;
  --nav-height: 72px;
  --max-width: 1280px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-light-pink);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-soft-pink);
}

a:focus-visible {
  outline: 2px solid var(--brand-light-pink);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.9rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

/* ========== Header / Navigation ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.brand-logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 45, 106, 0.1);
}

.desktop-nav a.active {
  color: var(--text-primary);
  background: rgba(255, 45, 106, 0.18);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--brand-pink);
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-btn-search {
  background: var(--bg-secondary);
  border-color: var(--border-subtle);
}

.nav-btn-search:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

.nav-btn-list {
  background: var(--bg-secondary);
  border-color: var(--border-subtle);
}

.nav-btn-list:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

.nav-btn-app {
  background: var(--gradient-btn);
  box-shadow: var(--shadow-pink);
  color: #fff;
}

.nav-btn-app:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-brand {
  display: none;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .nav-btn-list {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-brand {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-left .brand-logo {
    display: none;
  }
  .nav-right .nav-btn-search {
    display: none;
  }
}

/* ========== Channel Panel ========== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 88vw;
  height: 100%;
  background: var(--bg-deep);
  z-index: 1200;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

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

.channel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.channel-panel-header .brand-logo img {
  height: 36px;
}

.panel-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.panel-close:hover {
  background: var(--bg-hover);
}

.channel-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 40px;
  -webkit-overflow-scrolling: touch;
}

.channel-group {
  margin-bottom: 28px;
}

.channel-group-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.channel-item {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-content);
  border: 1px solid transparent;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.channel-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-subtle);
}

.channel-item-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.channel-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== Search Panel ========== */
.search-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-deep);
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  border-bottom: 1px solid var(--border-subtle);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

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

.search-panel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.search-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  outline: none;
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 45, 106, 0.15);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-section-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.search-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.search-tag:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.search-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.search-link {
  padding: 12px 16px;
  background: var(--bg-content);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.search-link:hover {
  border-color: var(--border-subtle);
  color: var(--brand-light-pink);
}

@media (max-width: 768px) {
  .search-panel {
    top: 0;
    height: 100%;
    max-height: 100%;
  }
  .search-panel-inner {
    padding-top: 60px;
  }
}

/* ========== Mobile Bottom Nav ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(8, 8, 18, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  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: 500px;
  margin: 0 auto;
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  min-height: 48px;
}

.mobile-bottom-nav a span.icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-bottom-nav a.active {
  color: var(--brand-pink);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0) + 8px);
  }
}

/* ========== Main Content ========== */
main {
  min-height: 60vh;
}

.page-hero {
  padding: 40px 0 20px;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.page-hero .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-focus);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 45, 106, 0.12);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.2rem 0;
}

/* ========== Cards & Sections ========== */
.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.card {
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-focus);
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 45, 106, 0.15);
  color: var(--brand-light-pink);
  margin-bottom: 10px;
}

.tag-purple {
  background: rgba(123, 44, 191, 0.2);
  color: var(--brand-light-purple);
}

/* ========== Home Hero ========== */
.home-hero {
  padding: 32px 0 48px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 68% 32%;
  gap: 28px;
  align-items: stretch;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-visual-fallback {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, #1A1A2A 0%, #2A1A3A 50%, #1A0A2A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.hero-visual-fallback .fallback-brand {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-visual-fallback p {
  color: var(--text-secondary);
  max-width: 320px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.hero-side .brand-name {
  font-size: 1.1rem;
  color: var(--brand-light-pink);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-side h1 {
  font-size: 1.7rem;
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-side .intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero-recs {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-rec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-body);
  font-size: 0.9rem;
}

.hero-rec:hover {
  border-color: var(--border-subtle);
  color: var(--brand-light-pink);
}

.hero-rec-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 45, 106, 0.2);
  color: var(--brand-light-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    order: -1;
  }
  .hero-visual {
    min-height: 240px;
  }
  .hero-visual-fallback {
    min-height: 240px;
  }
  .hero-side h1 {
    font-size: 1.5rem;
  }
}

/* ========== Channel Quick Bar ========== */
.channel-quick {
  padding: 12px 0 28px;
  overflow: hidden;
}

.channel-quick-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.channel-quick-track::-webkit-scrollbar {
  display: none;
}

.channel-quick-item {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.channel-quick-item:hover,
.channel-quick-item.active {
  color: var(--text-primary);
  border-color: var(--border-focus);
  background: rgba(255, 45, 106, 0.12);
}

/* ========== Inspiration Capsules ========== */
.inspiration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inspiration-item {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  max-width: 280px;
  flex: 1 1 200px;
  transition: border-color 0.2s;
}

.inspiration-item:hover {
  border-color: var(--border-focus);
}

.inspiration-item strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.inspiration-item span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ========== Content Blocks ========== */
.block-main {
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.block-main .tag {
  margin-bottom: 12px;
}

.block-main h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.block-main p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.block-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

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

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

/* Horizontal track */
.horizontal-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.horizontal-track::-webkit-scrollbar {
  height: 4px;
}

.horizontal-track::-webkit-scrollbar-thumb {
  background: var(--border-focus);
  border-radius: 4px;
}

.track-card {
  flex: 0 0 260px;
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}

.track-card:hover {
  border-color: var(--border-focus);
}

/* Rank numbers */
.rank-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

/* Short video numbered list */
.short-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.short-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.short-item:hover {
  border-color: var(--border-focus);
}

.short-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-pink);
  min-width: 36px;
}

/* Magazine style asymmetric */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.magazine-grid .card:nth-child(odd) {
  min-height: 180px;
}

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

/* Calendar track */
.calendar-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.calendar-item {
  flex: 0 0 200px;
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 18px;
}

.calendar-status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 600;
}

.status-published {
  background: rgba(255, 45, 106, 0.2);
  color: var(--brand-light-pink);
}

.status-pending {
  background: rgba(123, 44, 191, 0.2);
  color: var(--brand-light-purple);
}

.status-plan {
  background: rgba(160, 160, 184, 0.15);
  color: var(--text-secondary);
}

/* FAQ */
details {
  background: var(--bg-content);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0;
}

summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-pink);
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 32px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 45, 106, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 36px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand-en {
  font-size: 0.85rem;
  color: var(--brand-soft-pink);
  letter-spacing: 1px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: var(--footer-text);
  font-size: 0.92rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--brand-light-pink);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

/* Utility */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Page specific content spacing */
.page-content {
  padding: 32px 0 60px;
}

.page-content h1 {
  margin-bottom: 0.8rem;
}

.page-content .page-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 780px;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.content-block h3 {
  margin-top: 1.4rem;
}

.content-block p {
  color: var(--text-body);
}

/* Body lock when menu open */
body.menu-open {
  overflow: hidden;
}

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

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-light-pink);
  outline-offset: 3px;
}

/* Ensure no horizontal scroll */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
