/* CIFSTONE Cookie consent v2026-12-02 */
#cookieBanner { display: none !important; }

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: none;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.88) 100%);
  pointer-events: none;
}
.cc-banner.cc-show { display: block; }
body.cc-banner-open { padding-bottom: var(--cc-banner-space, 168px); }
.cc-panel {
  max-width: 560px;
  margin: 0 0 0 auto;
  padding: 14px 16px 12px;
  border: 1px solid rgba(201,169,98,.4);
  border-radius: 7px;
  background: #151515;
  box-shadow: 0 12px 42px rgba(0,0,0,.5);
  color: #f2f0eb;
  pointer-events: auto;
}
.cc-eyebrow { display: none; }
.cc-title {
  margin: 0 0 4px;
  font: 600 16px/1.25 Inter, system-ui, sans-serif;
  color: #fff;
}
.cc-body {
  margin: 0 0 10px;
  max-width: 760px;
  color: #cfcac0;
  font: 400 12px/1.5 Inter, system-ui, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0 0 7px;
}
.cc-btn {
  flex: 1 1 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(201,169,98,.9);
  border-radius: 4px;
  background: rgba(201,169,98,.08);
  color: #f8f5ee;
  font: 600 12px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cc-btn:hover,
.cc-btn:focus-visible {
  background: #c9a962;
  border-color: #c9a962;
  color: #151515;
  outline: none;
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn[data-active="true"] {
  background: #c9a962;
  border-color: #c9a962;
  color: #151515;
}
.cc-small {
  margin: 0;
  color: #8f8a7f;
  font: 400 10.5px/1.45 Inter, system-ui, sans-serif;
}
.cc-small a { color: #c9a962; text-decoration: underline; text-underline-offset: 3px; }
.cc-settings-link {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-settings-link:hover { color: #c9a962; }
.footer-cookie-settings {
  border: 0;
  padding: 0;
  background: none;
  color: var(--text-secondary, #aaa);
  font: inherit;
  cursor: pointer;
}
.footer-cookie-settings:hover { color: var(--accent-gold, #c9a962); }

@media (max-width: 640px) {
  .cc-banner { padding: 0 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .cc-panel { max-width: none; padding: 11px 12px 9px; border-radius: 6px; }
  .cc-title { font-size: 14px; }
  .cc-body { font-size: 11.5px; line-height: 1.45; -webkit-line-clamp: 3; }
  .cc-actions { gap: 7px; margin: 0 0 5px; }
  .cc-btn { min-height: 35px; padding: 7px 8px; font-size: 11px; }
  .cc-small { font-size: 9.5px; line-height: 1.35; }
  body.cc-banner-open { padding-bottom: var(--cc-banner-space, 152px); }
}

/* 移动端导航展开时，避免 Cookie 横幅遮挡导航与子菜单 */
body.mobile-nav-open .cc-banner { display: none !important; }

/* 移动端导航滚动条（含法律页） */
.mobile-menu,
.mobile-submenu {
  scrollbar-width: thin;
  scrollbar-color: rgba(201,169,98,.45) transparent;
}
.mobile-menu::-webkit-scrollbar,
.mobile-submenu::-webkit-scrollbar { width: 4px; height: 4px; }
.mobile-menu::-webkit-scrollbar-track,
.mobile-submenu::-webkit-scrollbar-track { background: transparent; }
.mobile-menu::-webkit-scrollbar-thumb,
.mobile-submenu::-webkit-scrollbar-thumb { background: rgba(201,169,98,.45); border-radius: 4px; }
