/* 每日大赛 DAILY PAGEANT - Official Stylesheet */
:root {
  --bg-main: #050505;
  --bg-deep: #090909;
  --bg-content: #10100F;
  --bg-secondary: #171611;
  --bg-hover: #201E18;
  --title: #FFF9E9;
  --text: #E5DDCA;
  --text-secondary: #AAA18D;
  --text-muted: #7C7467;
  --gold: #D6AE55;
  --gold-light: #F4D77F;
  --gold-champagne: #FFE7A4;
  --gold-deep: #9C722A;
  --gold-dark: #5D4116;
  --border: rgba(214,174,85,0.18);
  --border-focus: rgba(244,215,127,0.48);
  --shadow: 0 18px 50px rgba(0,0,0,0.48);
  --shadow-gold: 0 18px 48px rgba(214,174,85,0.18);
  --btn-gradient: linear-gradient(135deg,#FFE7A4 0%,#D6AE55 50%,#90651C 100%);
  --footer-bg: #030303;
  --max-width: 1320px;
  --nav-height: 74px;
  --radius: 6px;
  --radius-sm: 2px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--gold-champagne);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: 0.8rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.6rem; }

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

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

li {
  margin-bottom: 0.4rem;
  color: var(--text);
}

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--title);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.nav-center {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-center a {
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 0.92rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-center a:hover {
  color: var(--title);
}

.nav-center a.active {
  color: var(--gold-champagne);
}

.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.search-btn:hover {
  color: var(--gold);
}

.btn-participate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--btn-gradient);
  color: #181107 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
  min-height: 42px;
}

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

/* Mobile header adjustments */
.mobile-only {
  display: flex;
}

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: flex !important;
  }
  .nav-center {
    display: flex;
  }
  .nav-left .logo-link {
    margin-left: 4px;
  }
}

/* ========== Side Menu ========== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

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

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(460px, 88vw);
  background: var(--bg-deep);
  z-index: 1200;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  visibility: hidden;
  pointer-events: none;
}

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

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

.side-menu-header .logo-link {
  font-size: 1.05rem;
}

.menu-close {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gold);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close:hover {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.side-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 0 40px;
  -webkit-overflow-scrolling: touch;
}

.menu-group {
  padding: 12px 22px 8px;
}

.menu-group-title {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

.menu-group a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 4px;
  transition: background 0.2s;
}

.menu-group a:hover {
  background: var(--bg-hover);
}

.menu-group a .menu-item-name {
  display: block;
  color: var(--title);
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 3px;
}

.menu-group a .menu-item-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ========== Main Content ========== */
.site-main {
  min-height: 60vh;
  padding-bottom: 40px;
}

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

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

.section {
  padding: 48px 0;
}

.section-title {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}

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

/* Hero */
.hero {
  position: relative;
  background: var(--bg-deep);
}

.hero-banner {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center top;
}

.hero-info-bar {
  background: linear-gradient(180deg, #0a0a09 0%, #12110e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.hero-info-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .hero-info-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 28px;
  }
}

.hero-brand {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.hero-short-title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--title);
  margin-bottom: 10px;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 640px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-keywords span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  min-height: 44px;
  text-align: center;
}

.btn-primary {
  background: var(--btn-gradient);
  color: #181107 !important;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-focus);
  color: var(--gold-champagne) !important;
}

.btn-outline:hover {
  background: var(--bg-hover);
}

.btn-text {
  background: transparent;
  color: var(--gold-light) !important;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  border-bottom-color: var(--gold);
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  display: grid;
  gap: 22px;
}

.grid-4 {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: var(--border-focus);
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.card-link {
  font-size: 0.88rem;
  color: var(--gold-light);
}

/* Featured track uneven sizes */
.track-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .track-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .track-item:nth-child(1) {
    grid-row: span 2;
  }
}

.track-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}

.track-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  opacity: 0.7;
}

.track-item h3 {
  margin-bottom: 12px;
}

.track-item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

/* Index bar secondary */
.index-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.index-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.index-bar a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 6px 14px;
  position: relative;
}

.index-bar a:hover {
  color: var(--title);
}

.index-bar a.active::before {
  content: "•";
  color: var(--gold);
  margin-right: 6px;
}

/* Stage numbers */
.stage-steps {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .stage-steps {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.stage-step {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.stage-num {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.stage-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.stage-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Criteria */
.criteria-list {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .criteria-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.criteria-item {
  display: flex;
  gap: 18px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.criteria-num {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 48px;
  line-height: 1;
}

/* Calendar / Program */
.program-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.program-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-content);
  align-items: center;
}

.program-item:last-child {
  border-bottom: none;
}

.program-item:nth-child(even) {
  background: var(--bg-secondary);
}

.program-status {
  font-size: 0.78rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--gold);
  white-space: nowrap;
}

.program-title {
  flex: 1;
  min-width: 160px;
  color: var(--title);
  font-weight: 500;
}

.program-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Status blocks */
.status-block {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 20px 22px;
  margin-bottom: 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.status-block h4 {
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.status-block p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Placeholder archive */
.archive-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.archive-card {
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
}

.archive-num {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.archive-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Fashion tags */
.fashion-list {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .fashion-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .fashion-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fashion-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius);
}

.fashion-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--gold-champagne);
}

/* FAQ */
.faq-list details {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0;
}

.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  color: var(--title);
  font-weight: 500;
  list-style: none;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 0;
}

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

.content-block.gold-frame {
  border-color: var(--border-focus);
  background: linear-gradient(180deg, #12110e 0%, #0c0b09 100%);
}

.two-col {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.offset-block {
  margin-top: 40px;
}

@media (min-width: 800px) {
  .offset-block:nth-child(even) {
    margin-left: 8%;
  }
  .offset-block:nth-child(odd) {
    margin-right: 8%;
  }
}

/* Page header for inner pages */
.page-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 36px;
}

.page-header .container {
  max-width: var(--max-width);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header .lead {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 1.02rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Article body */
.article-body {
  max-width: 820px;
}

.article-body p {
  margin-bottom: 1.15rem;
}

.article-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.6rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.2rem;
}

/* Image figure */
.figure {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
}

.figure img {
  width: 100%;
}

.figure-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* App section */
.app-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}

.app-section p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  margin-top: 60px;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px 36px;
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 2fr;
    padding: 0 28px 40px;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 700px) {
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

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

.footer-col a:hover {
  color: var(--title);
}

.footer-notice {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .footer-notice {
    padding: 22px 28px;
  }
}

.footer-copy {
  text-align: center;
  padding: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(5,5,5,0.97);
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1023px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .site-main {
    padding-bottom: 80px;
  }
  .site-footer {
    margin-bottom: 60px;
  }
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 52px;
  color: var(--text-muted);
  font-size: 0.7rem;
  gap: 2px;
  padding: 4px;
}

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

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

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

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

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

/* Focus visible global */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

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

/* Decorative thin gold line */
.gold-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 20px;
}

/* Handbook chapters */
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chapter-nav a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.chapter-nav a:hover {
  border-color: var(--border-focus);
  color: var(--title);
}

/* Checklist */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1rem;
}

/* Showcase horizontal feel */
.showcase-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.showcase-card {
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* Grand night ceremony style */
.ceremony-block {
  border: 1px solid var(--border-focus);
  background: linear-gradient(135deg, #0e0d0b 0%, #16140f 100%);
  padding: 32px 28px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  text-align: center;
}

.ceremony-block h2 {
  color: var(--gold-champagne);
}

/* Portrait gallery feel */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-item {
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

/* Contact form free text blocks */
.contact-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius);
}

.contact-item h3 {
  font-size: 1rem;
  color: var(--gold-champagne);
  margin-bottom: 8px;
}

/* Ensure buttons not covered */
.side-menu, .menu-overlay {
  pointer-events: none;
}
.side-menu.open, .menu-overlay.open {
  pointer-events: auto;
}

/* Search panel simple */
.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 20px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius);
  z-index: 1001;
  width: min(300px, 90vw);
}

.search-panel input {
  width: 100%;
  background: var(--bg-content);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--border-focus);
}
