/*
Theme Name: Site UI
Description: Custom site interface.
Text Domain: site-ui
License: GNU General Public License v2 or later
*/

/* Bổ sung các tinh chỉnh responsive và giao diện bản quyền */
.live-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(18, 59, 53, 0.06);
  border: 1px solid rgba(18, 59, 53, 0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-strong);
}

.live-counter-badge strong {
  color: var(--lacquer);
  font-weight: 700;
}

.live-counter-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* 2-in-1 Contribution Modal Tabs */
.contribution-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
}

.contribution-tab-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.contribution-tab-btn.is-active {
  background: var(--lacquer);
  color: #fff;
  box-shadow: 0 2px 8px rgba(183, 53, 45, 0.3);
}

.contribution-tab-btn:hover:not(.is-active) {
  background: rgba(18, 59, 53, 0.08);
  color: var(--ink-strong);
}

/* Dropzone Tải Ảnh Đề Xuất Món Ăn (Tùy chọn) */
.contribution-dropzone {
  border: 2px dashed rgba(18, 59, 53, 0.25);
  background: rgba(251, 249, 244, 0.7);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.contribution-dropzone:hover,
.contribution-dropzone:focus-visible {
  border-color: var(--lacquer, #a8483d);
  background: rgba(168, 72, 61, 0.04);
  box-shadow: 0 4px 14px rgba(18, 59, 53, 0.06);
}

.contribution-dropzone.is-dragover {
  border-color: var(--lacquer, #a8483d);
  background: rgba(168, 72, 61, 0.1);
  transform: scale(1.008);
}

.contribution-dropzone__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(18, 59, 53, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lacquer, #a8483d);
  transition: transform 0.2s ease;
}

.contribution-dropzone:hover .contribution-dropzone__icon {
  transform: translateY(-2px);
}

.contribution-dropzone__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-strong, #1f2937);
  margin: 0 0 3px 0;
}

.contribution-dropzone__title strong {
  color: var(--lacquer, #a8483d);
  font-weight: 700;
  text-decoration: underline;
}

/* Public brand mark: the project logo replaces the former placeholder letter. */
.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(183, 53, 45, 0.26);
  border-radius: 50%;
  object-fit: cover;
  background: #f8efd7;
  box-shadow: 0 5px 14px rgba(18, 59, 53, 0.12);
}

/* Tập Tầm Vông project footer */
.project-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  color: #f8f2e7;
  background:
    radial-gradient(circle at 84% 16%, rgba(211, 161, 66, 0.14), transparent 19rem),
    #123b35;
}

.project-footer::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(248, 242, 231, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.project-footer__inner,
.project-footer__bottom {
  position: relative;
  z-index: 1;
  width: min(100% - 72px, 1280px);
  margin-inline: auto;
}

.project-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.7fr) minmax(220px, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(54px, 7vw, 84px) 52px;
}

.project-footer__identity {
  max-width: 36rem;
}

.project-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.project-footer__logo {
  display: block;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 3px solid #e5b857;
  border-radius: 50%;
  object-fit: cover;
  background: #f8efd7;
  box-shadow: 0 9px 24px rgba(4, 25, 22, 0.24);
}

.project-footer__logo-link strong,
.project-footer__logo-link small {
  display: block;
}

.project-footer__logo-link strong {
  color: #fff8ec;
  font: 600 clamp(28px, 3vw, 40px)/1 var(--font-display, Georgia, serif);
}

.project-footer__logo-link small {
  margin-top: 8px;
  color: #e5b857;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.project-footer__lead {
  max-width: 31rem;
  margin: 26px 0 10px;
  color: #fff8ec;
  font: 500 clamp(18px, 2vw, 24px)/1.35 var(--font-display, Georgia, serif);
}

.project-footer__note {
  max-width: 36rem;
  margin: 0;
  color: rgba(248, 242, 231, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.project-footer__nav,
.project-footer__contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.project-footer__nav h2,
.project-footer__contact h2 {
  margin: 7px 0 18px;
  color: #e5b857;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-footer__nav a,
.project-footer__contact a,
.project-footer__contact-person {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(248, 242, 231, 0.86);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.project-footer__nav a {
  border-bottom: 1px solid transparent;
}

.project-footer__nav a:hover,
.project-footer__nav a:focus-visible,
.project-footer__contact a:not(.project-footer__social):hover,
.project-footer__contact a:not(.project-footer__social):focus-visible {
  color: #fff8ec;
  border-color: #e5b857;
}

.project-footer__contact-person {
  display: block;
  margin: 0 0 5px;
  color: rgba(248, 242, 231, 0.68);
}

.project-footer__contact-person strong {
  display: block;
  margin-top: 2px;
  color: #fff8ec;
  font-weight: 600;
}

.project-footer__social {
  justify-content: space-between;
  width: 100%;
  max-width: 220px;
  margin-top: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(229, 184, 87, 0.68);
  color: #fff8ec !important;
  background: rgba(229, 184, 87, 0.12);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.project-footer__social:hover,
.project-footer__social:focus-visible {
  border-color: #fff8ec;
  background: rgba(229, 184, 87, 0.24);
}

.project-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(248, 242, 231, 0.18);
  color: rgba(248, 242, 231, 0.64);
  font-size: 11px;
  line-height: 1.6;
}

.project-footer__bottom p {
  margin: 0;
}

.project-footer__tags {
  color: #e5b857;
}

.project-footer a:focus-visible {
  outline: 3px solid #fff8ec;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .project-footer__inner,
  .project-footer__bottom {
    width: min(100% - 36px, 680px);
  }

  .project-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
  }

  .project-footer__identity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .project-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 42px 36px;
  }

  .project-footer__identity {
    grid-column: auto;
  }

  .project-footer__logo {
    width: 78px;
    height: 78px;
  }

  .project-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px 20px;
  }
}

/* Contribution checkboxes are not full-width text fields; the label remains the tap target. */
#contribution-dialog input[type="checkbox"] {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
#contribution-dialog label:has(input[type="checkbox"]) {
  width: auto;
  min-width: 0;
  min-height: 24px;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}
#contribution-dialog label:has(input[type="checkbox"]) span {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .project-footer__social {
    transition: none;
  }
}

.contribution-dropzone__hint {
  font-size: 11.5px;
  color: var(--ink-muted, #64748b);
  margin: 0;
}

.contribution-dropzone__preview {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #fff;
  border-radius: 9px;
  padding: 10px;
  border: 1px solid rgba(18, 59, 53, 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contribution-dropzone__thumb-wrap {
  width: 68px;
  height: 68px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--line, #e2e8f0);
  flex-shrink: 0;
  background: #f1f5f9;
}

.contribution-dropzone__thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contribution-dropzone__info {
  flex: 1;
  min-width: 0;
}

.contribution-dropzone__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-strong, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.contribution-dropzone__size {
  font-size: 11px;
  color: var(--ink-muted, #64748b);
  margin-bottom: 6px;
}

.contribution-dropzone__remove {
  background: rgba(183, 53, 45, 0.08);
  border: 1px solid rgba(183, 53, 45, 0.25);
  color: #b7352d;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.contribution-dropzone__remove:hover {
  background: #b7352d;
  color: #fff;
  border-color: #b7352d;
}


/* Fix mobile nav 6 column */
.mobile-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.mobile-nav__item {
  font-size: 9px !important;
}

@media (max-width: 480px) {
  .mobile-nav__item {
    font-size: 8px !important;
    padding: 6px 2px !important;
  }
}

/* Ensure explorer columns and D3 map are always revealed immediately */
.atlas-intro__copy,
.atlas-intro .region-filter,
.atlas-intro .intro-meta,
.map-column,
.detail-content {
  opacity: 1 !important;
  clip-path: none !important;
}

.explore-stage {
  min-height: 720px;
}

.map-stage {
  min-height: 640px;
}

.map-shell {
  min-height: 600px;
  position: relative;
}

#vietnam-map {
  width: 100%;
  height: 620px;
  display: block;
  position: relative;
  z-index: 2;
}

.province-shape {
  cursor: pointer;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.province-shape:hover {
  filter: brightness(1.15);
}

.province-shape.is-selected {
  stroke: var(--lacquer, #b7352d) !important;
  stroke-width: 2.2px !important;
}

/* Precise Cartography & Compass Layout - Căn chỉnh La Bàn và Thước đo chuẩn xác */
.map-cartography {
  position: absolute !important;
  left: 24px !important;
  bottom: 20px !important;
  top: auto !important;
  right: auto !important;
  inset: auto auto 20px 24px !important;
  z-index: 5;
  display: flex !important;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  user-select: none;
}

.compass-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(18, 59, 53, 0.18));
}

.compass-svg {
  display: block;
}

.scale-widget {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 140px;
}

.scale-bar-line {
  display: block;
  width: 100%;
  height: 6px;
  border-left: 1.5px solid var(--ink-strong, #123b35);
  border-right: 1.5px solid var(--ink-strong, #123b35);
  border-bottom: 1.5px solid var(--ink-strong, #123b35);
  position: relative;
  vector-effect: non-scaling-stroke;
}

.scale-bar-line::before {
  content: "";
  position: absolute;
  left: 20%;
  bottom: 0;
  width: 1px;
  height: 4px;
  background: var(--ink-strong, #123b35);
}

.scale-bar-line::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: 0;
  width: 1px;
  height: 4px;
  background: var(--ink-strong, #123b35);
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-strong, #123b35);
  font-family: var(--font-display, serif);
  letter-spacing: 0.02em;
}

/* Sắc nét Quần đảo Hoàng Sa & Quần đảo Trường Sa */
.archipelago-layer {
  cursor: pointer;
}

.archipelago-group.is-selected .archipelago-physical-shape[data-geometry-type="Polygon"] { fill: var(--ttv-brick, #A33327); }
.archipelago-group.is-selected .archipelago-physical-shape[data-geometry-type="LineString"] { fill: none; stroke: var(--ttv-brick, #A33327); }
.archipelago-group {
  cursor: pointer;
  outline: none;
}

.archipelago-boundary {
  fill: rgba(183, 53, 45, 0.06);
  stroke: var(--lacquer, #b7352d);
  stroke-width: 1.2px;
  stroke-dasharray: 4 2;
  transition: all 0.25s ease;
  vector-effect: non-scaling-stroke;
}

.archipelago-group:hover .archipelago-boundary,
.archipelago-group.is-selected .archipelago-boundary {
  fill: rgba(183, 53, 45, 0.16);
  stroke-width: 2px;
  stroke-dasharray: none;
}

.archipelago-island-dot {
  fill: var(--lacquer, #b7352d);
  stroke: #ffffff;
  stroke-width: 0.9px;
  transition: transform 0.2s ease;
  vector-effect: non-scaling-stroke;
}

.archipelago-island-ring {
  fill: rgba(227, 171, 63, 0.35);
  stroke: var(--lacquer, #b7352d);
  stroke-width: 0.8px;
  vector-effect: non-scaling-stroke;
}

.archipelago-island-label {
  font-size: 7.5px;
  font-weight: 600;
  fill: var(--ink-strong, #123b35);
  paint-order: stroke;
  stroke: rgba(254, 252, 248, 0.96);
  stroke-width: 2.2px;
  stroke-linejoin: round;
  pointer-events: none;
  font-family: var(--font-body, sans-serif);
}

.archipelago-header-badge rect {
  fill: rgba(254, 252, 248, 0.98);
  stroke: var(--lacquer, #b7352d);
  stroke-width: 1.3px;
  filter: drop-shadow(0 2px 5px rgba(183, 53, 45, 0.2));
  transition: all 0.2s ease;
}

.archipelago-group:hover .archipelago-header-badge rect,
.archipelago-group.is-selected .archipelago-header-badge rect {
  fill: var(--lacquer, #b7352d);
}

.archipelago-header-badge text.badge-title {
  fill: var(--lacquer, #b7352d);
  font-weight: 700;
  font-size: 7.8px;
  font-family: var(--font-display, serif);
  letter-spacing: 0.02em;
  transition: fill 0.2s ease;
}

.archipelago-group:hover .archipelago-header-badge text.badge-title,
.archipelago-group.is-selected .archipelago-header-badge text.badge-title {
  fill: #ffffff;
}

.archipelago-header-badge text.badge-sub {
  fill: var(--ink-strong, #123b35);
  font-size: 6.6px;
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
  transition: fill 0.2s ease;
}

.archipelago-group:hover .archipelago-header-badge text.badge-sub,
.archipelago-group.is-selected .archipelago-header-badge text.badge-sub {
  fill: rgba(255, 255, 255, 0.92);
}

/* Vị trí chuẩn xác cho nhãn 3 miền (Bắc - Trung - Nam) */
.map-region-labels {
  transition: opacity 0.25s ease;
}
.map-region-label--north {
  top: 13% !important;
  left: 20% !important;
}
.map-region-label--central {
  top: 48% !important;
  left: 10% !important;
}
.map-region-label--south {
  top: 70% !important;
  left: 10% !important;
}

/* Tự động ẩn nhãn vùng miền khi người dùng zoom sâu vào chi tiết để tránh đè chữ */
.map-shell.is-zoomed .map-region-labels {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ẩn pill badge map-status giữa biển theo yêu cầu */
.map-status {
  display: none !important;
}

/* Đường biên tỉnh sắc nét khi zoom */
.province-shape {
  vector-effect: non-scaling-stroke;
}

/* Ẩn các class cũ nếu có trong reference/theme */
.map-compass, .map-scale {
  display: none !important;
}

/* ===================================================
 * CON TRƯỢT BÊN NGOÀI:
 * 1. Thanh cuộn (scrollbar) toàn trang luôn hiện & cuộn mượt
 * 2. Bộ con trượt thu phóng (zoom slider) trên bản đồ
 * =================================================== */
html {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

body,
body.sheet-open,
body.contribution-open,
body.dish-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.explorer {
  overflow: visible !important;
}

/* Kiểu dáng thanh cuộn ngoài cao cấp theo nhận diện Tập Tầm Vông */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--paper, #f5f1e8);
  border-left: 1px solid var(--line, rgba(18, 59, 53, 0.12));
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--lacquer, #b7352d);
  border-radius: 6px;
  border: 2px solid var(--paper, #f5f1e8);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #8e2019;
}

/* Con trượt thu phóng (Zoom Slider Widget) trên bản đồ */
.map-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-zoom-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 252, 248, 0.96);
  border: 1px solid var(--line, rgba(18, 59, 53, 0.18));
  border-radius: 999px;
  padding: 3px 8px;
  box-shadow: 0 1px 4px rgba(18, 59, 53, 0.08);
}

.zoom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink-strong, #123b35);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.zoom-btn:hover {
  background: var(--paper-deep, #e8dfd1);
  color: var(--lacquer, #b7352d);
}

.zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 78px;
  height: 4px;
  background: #dfd4c0;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lacquer, #b7352d);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
}

.zoom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lacquer, #b7352d);
  border: none;
  cursor: pointer;
}

.zoom-level-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-strong, #123b35);
  font-family: var(--font-display, serif);
  min-width: 32px;
  text-align: right;
}

/* ==========================================
   BỘ TÌM KIẾM NHẠY BÉN & THẺ KẾT QUẢ DROPDOWN
   ========================================== */
.search-results {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border: 1px solid rgba(18, 59, 53, 0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(18, 59, 53, 0.16) !important;
  z-index: 9999 !important;
  padding: 8px 0 !important;
}

.search-results[hidden] {
  display: none !important;
}

.search-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-top: 4px;
}

.search-group-title:first-child {
  margin-top: 0;
  border-top: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.search-result-item:hover,
.search-result-item.is-focused {
  background: #f1f5f9 !important;
}

.search-result-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-strong, #123b35);
  line-height: 1.3;
  margin-bottom: 2px;
}

.search-result-meta {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.search-mini-tag {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(220, 229, 232, 0.7);
  color: #123b35;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 500;
}

.search-result-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
}

.search-result-badge--blue {
  background: #e0f2fe;
  color: #0369a1;
}

.search-result-badge--red {
  background: #fee2e2;
  color: #b91c1c;
}

.search-result-badge--amber {
  background: #fef3c7;
  color: #b45309;
}

.search-highlight {
  background: #fef08a;
  color: #854d0e;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}

.search-empty-state {
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.search-loading-hint {
  padding: 6px 14px;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
}

/* ===================================================
   KHÁM PHÁ THEO MÓN & BỘ LỌC VÙNG MIỀN
   =================================================== */
.discover-food-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.discover-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--paper, #fdfbf7);
  border: 1px solid var(--line, #e2d9cc);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #334155);
  cursor: pointer;
  transition: all 0.2s ease;
}

.discover-tab:hover {
  background: #ffffff;
  border-color: var(--lacquer, #a8483d);
  color: var(--lacquer, #a8483d);
}

.discover-tab.is-active {
  background: var(--lacquer, #a8483d);
  border-color: var(--lacquer, #a8483d);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(168, 72, 61, 0.25);
}

.discover-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.discover-tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(168, 72, 61, 0.08);
  color: var(--lacquer, #a8483d);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
}

.discover-food-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}

.discover-food-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(18, 59, 53, 0.08);
  border-color: var(--lacquer, #a8483d);
}

/* ===================================================
   NÚT BÁO CÁO HEADER & HÒM THƯ GÓP Ý
   =================================================== */
.report-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line, #e2d9cc);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-strong, #123b35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.report-header-btn:hover {
  background: var(--paper, #fdfbf7);
  border-color: var(--lacquer, #a8483d);
  color: var(--lacquer, #a8483d);
}

.report-header-btn svg {
  flex-shrink: 0;
}

.report-dialog {
  max-width: 580px;
}

.dialog-report-link:hover {
  color: var(--lacquer, #a8483d) !important;
  text-decoration: underline;
}

/* ===================================================
   THANH TAB ĐIỀU HƯỚNG HỒ SƠ TỈNH (.profile-nav)
   =================================================== */
.profile-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  gap: 8px !important;
  padding: 10px 0 12px 0 !important;
  margin: 12px 0 16px 0 !important;
  background: var(--ttv-surface, #FFFAF0) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--line, #e2dcd0) !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.profile-nav::-webkit-scrollbar {
  display: none !important;
}

.profile-nav button {
  min-width: max-content !important;
  min-height: 36px !important;
  padding: 6px 16px !important;
  border: 1px solid rgba(18, 59, 53, 0.15) !important;
  border-radius: 999px !important;
  color: var(--ink, #1e293b) !important;
  background: var(--ttv-surface, #FFFAF0) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

.profile-nav button:hover {
  background: var(--paper-deep, #eee7db) !important;
  border-color: var(--lacquer, #b7352d) !important;
  color: var(--lacquer, #b7352d) !important;
  transform: translateY(-1px) !important;
}

.profile-nav button[aria-pressed="true"],
.profile-nav button.is-active {
  background: #102a49 !important;
  color: #fff !important;
  border-color: #102a49 !important;
  box-shadow: 0 3px 10px rgba(16, 42, 73, 0.28) !important;
  transform: translateY(-1px) !important;
}

/* ===================================================
   PHÂN TRANG MÓN NÊN THỬ TRONG HỒ SƠ TỈNH
   =================================================== */
.specialty-pagination {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line, #e2dcd0);
}

.specialty-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.specialty-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid var(--line, #e2dcd0);
  border-radius: 6px;
  background: #fff;
  color: var(--ink, #1e293b);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.specialty-page-btn:hover:not(:disabled) {
  background: var(--paper-deep, #eee7db);
  border-color: var(--lacquer, #b7352d);
  color: var(--lacquer, #b7352d);
}

.specialty-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.specialty-page-info {
  font-size: 12.5px;
  color: var(--ink-muted, #64748b);
  font-weight: 600;
}

/* ===================================================
   PHÂN TRANG KHÁM PHÁ THEO MÓN (TRANG CHỦ)
   =================================================== */
.discover-food-pagination {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.discover-food-pagination .pagination-info {
  font-size: 14px;
  color: var(--ink-muted, #64748b);
  text-align: center;
}

.discover-food-pagination .pagination-info strong {
  color: var(--lacquer, #b7352d);
}

.discover-food-pagination .pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.discover-food-pagination .pagination-btn {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line, #e2dcd0);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #1e293b);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.discover-food-pagination .pagination-btn:hover:not(:disabled) {
  background: var(--paper-deep, #eee7db);
  border-color: var(--lacquer, #b7352d);
  color: var(--lacquer, #b7352d);
  transform: translateY(-1px);
}

.discover-food-pagination .pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.discover-food-pagination .pagination-num {
  min-width: 40px;
  padding: 8px 14px;
  justify-content: center;
}

.discover-food-pagination .pagination-num.is-active {
  background: var(--lacquer, #b7352d) !important;
  color: #fff !important;
  border-color: var(--lacquer, #b7352d) !important;
  box-shadow: 0 4px 12px rgba(183, 53, 45, 0.28) !important;
  transform: translateY(-1px);
}

/* Shared approved paper palette: Explore and Travel Map use the same roles. */
:root {
  --ttv-paper: #F3E8D2;
  --ttv-sand: #EBDDC0;
  --ttv-surface: #FFFAF0;
  --ttv-map: #819681;
  --ttv-map-hover: #6E836E;
  --ttv-brick: #A33327;
  --ttv-ink: #17334A;
  --ttv-border: #D8C9AC;
  --paper: var(--ttv-paper);
  --paper-light: var(--ttv-surface);
  --paper-deep: var(--ttv-sand);
  --ink: var(--ttv-ink);
  --ink-strong: var(--ttv-ink);
  --lacquer: var(--ttv-brick);
  --line: var(--ttv-border);
  --reference-paper: var(--ttv-paper);
  --reference-paper-light: var(--ttv-surface);
  --reference-navy: var(--ttv-ink);
  --reference-red: var(--ttv-brick);
  --reference-blue: var(--ttv-map);
  --reference-rule: var(--ttv-border);
}

.home .site-header,
.home .daily-message-ticker { background: var(--ttv-surface); border-color: var(--ttv-border); }
.home .explorer { background: var(--ttv-paper); }
.home .explore-stage,
.home .atlas-intro,
.home .map-column,
.home .detail-panel { background: transparent; border-color: var(--ttv-border); }
.home .detail-content { background: var(--ttv-surface); border-color: var(--ttv-border); }
.home .atlas-intro .search input,
.home .map-zoom,
.home .map-reset,
.home .region-filters button:not(.is-active) {
  background: var(--ttv-surface);
  color: var(--ttv-ink);
  border-color: var(--ttv-border);
}
.home .province-shape { fill: var(--ttv-map); stroke: var(--ttv-surface); }
.home .province-shape:hover { fill: var(--ttv-map-hover); }
.home .province-shape.is-selected { fill: var(--ttv-brick); }
.home .ink-landscape { opacity: .34; }

.ttv-menu-toggle { display: none; }
.ttv-mobile-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); border: 0; color: var(--ttv-ink); background: var(--ttv-surface); overflow-y: auto; }
.ttv-mobile-menu:not([open]) { display: none; }
.ttv-mobile-menu__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ttv-mobile-menu h2 { font-size: 22px; }
.ttv-mobile-menu button { min-height: 44px; border: 1px solid var(--ttv-border); border-radius: 8px; background: var(--ttv-paper); color: var(--ttv-ink); padding: 8px 12px; }
.ttv-mobile-menu nav { display: grid; margin-top: 32px; gap: 12px; }
.ttv-mobile-menu nav a { min-height: 48px; padding: 16px; border-bottom: 1px solid var(--ttv-border); color: var(--ttv-ink); text-decoration: none; font-size: 20px; }
.ttv-mobile-menu :focus-visible, .ttv-menu-toggle:focus-visible { outline: 3px solid var(--ttv-brick); outline-offset: 4px; }
@media (max-width: 1023px) {
  /* Lift focused search above the later map sibling, not the sheet/header. */
  .home .atlas-intro:focus-within { z-index: 2; }
  /* Keep navigation reachable above the mobile province sheet (z-index: 55). */
  .ttv-menu-ready .site-header { z-index: 60; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding-inline: 12px; }
  .ttv-menu-ready .site-header .brand { min-width: 0; }
  .ttv-menu-ready .site-header .brand strong { font-size: 20px; }
  .ttv-menu-ready .site-header .header-actions { gap: 4px; }
  .ttv-menu-ready .ttv-menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ttv-border); border-radius: 8px; color: var(--ttv-ink); background: var(--ttv-surface); }
  .ttv-menu-ready .desktop-nav, .ttv-menu-ready .mobile-nav { display: none; }
}
@media (max-width: 560px) {
  .ttv-menu-ready .report-header-btn span,
  .ttv-menu-ready .ttv-menu-toggle span:last-child { display: none; }
  .ttv-menu-ready .report-header-btn,
  .ttv-menu-ready .ttv-menu-toggle { width: 44px; min-width: 44px; justify-content: center; }
  .ttv-menu-ready .ttv-menu-toggle::after { content: none; }
}

/* Footer surface / live fanpage card; exact scenic artwork is a separate gate. */
.project-footer { color: var(--ttv-ink); background: #F8F2E3; }
.project-footer::after { content: none; }
.project-footer__logo-link strong,
.project-footer__nav h2,
.project-footer__contact h2 { color: #911814; }
.project-footer__logo-link small,
.project-footer__lead,
.project-footer__note,
.project-footer__nav a,
.project-footer__contact a,
.project-footer__contact-person,
.project-footer__contact-person strong,
.project-footer__bottom p { color: var(--ttv-ink); }
.project-footer__bottom { border-color: var(--ttv-border); }
.project-footer__contact a:not(.project-footer__social):hover,
.project-footer__contact a:not(.project-footer__social):focus-visible,
.project-footer__nav a:hover,
.project-footer__nav a:focus-visible { color: #911814; text-decoration: underline; }
.project-footer__fanpage { width: 100%; margin-top: 18px; padding: 14px; border: 1px solid var(--ttv-border); border-radius: 12px; background: var(--ttv-surface); }
.project-footer__fanpage-brand { display: flex; align-items: center; gap: 12px; }
.project-footer__fanpage-brand img { flex: 0 0 64px; border-radius: 50%; object-fit: cover; }
.project-footer__fanpage-brand strong,
.project-footer__fanpage-brand small { display: block; }
.project-footer__fanpage-brand small { margin-top: 4px; font-size: 12px; }
.project-footer__fanpage .project-footer__social { min-height: 44px; margin-top: 14px; padding: 10px 14px; color: #FFFAF0; background: #911814; border-radius: 6px; }
.project-footer__fanpage .project-footer__social:hover { background: #741310; }
.project-footer__fanpage .project-footer__facebook-link { display: flex; justify-content: center; margin-top: 6px; text-decoration: underline; }
.project-footer a:focus-visible { outline: 3px solid var(--ttv-ink); outline-offset: 4px; }
.project-footer__inner { width: min(100% - 72px, 1900px); grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(120px, .8fr)) minmax(230px, 1.2fr); gap: 24px; }
.project-footer__identity { min-width: 0; }
.province-comments {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ttv-border);
  overflow-wrap: anywhere;
}
.province-comments .section-heading {
  min-width: 0;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.province-comments .section-heading > div { min-width: 0; }
.province-comments .section-heading h3 { overflow-wrap: anywhere; }
.province-comments__list { display: grid; gap: 12px; margin: 14px 0 22px; }
.province-comment { min-width: 0; max-width: 100%; padding: 14px 16px; background: var(--ttv-surface); border-left: 3px solid var(--ttv-brick); border-radius: 8px; overflow-wrap: anywhere; }
.province-comment__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.province-comment__meta strong { min-width: 0; overflow-wrap: anywhere; }
.province-comment__meta time { flex: 0 0 auto; color: var(--ttv-muted); font-size: 12px; }
.province-comment p { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.province-comment__report { margin-top: 10px; padding: 5px 0; border: 0; background: transparent; color: var(--ttv-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.province-comment__report:focus-visible { outline: 2px solid var(--ttv-brick); outline-offset: 2px; }
.specialty-card:focus-visible, .province-story-card:focus-visible {
  outline: 3px solid var(--ttv-ink);
  outline-offset: 3px;
}
.search-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--ttv-ink); }
.search-pagination button { min-height: 32px; padding: 4px 12px; color: var(--ttv-ink); background: var(--ttv-paper); border: 1px solid var(--ttv-border); border-radius: 6px; cursor: pointer; }
.search-pagination button:focus-visible, .search-result-item:focus-visible { outline: 3px solid var(--ttv-ink); outline-offset: -3px; }
.search-result-info p { margin: 4px 0; overflow-wrap: anywhere; }
.province-comments__form { display: grid; gap: 8px; min-width: 0; max-width: 100%; }
.province-comments__form input, .province-comments__form textarea { display: block; width: 100%; max-width: 100%; min-width: 0; border: 1px solid var(--ttv-border); border-radius: 8px; padding: 11px 12px; background: var(--ttv-paper); color: var(--ttv-ink); font: inherit; }
.province-comments__form textarea { resize: vertical; }
.province-comments__form .form-help { margin: 0 0 8px; color: var(--ttv-muted); font-size: 13px; }
.province-comments__form .button-primary { justify-self: start; width: auto; min-width: 180px; }
.province-comments__form button:disabled { opacity: .6; cursor: wait; }
.content-comments { width: 100%; min-width: 0; max-width: 100%; }
.dish-dialog .content-comments { margin-top: 24px; }
.story-reader__footer .content-comments { grid-column: 1 / -1; }
.dish-dialog__panel,
.story-reader__scroll,
.story-reader__footer { min-width: 0; overflow-x: clip; }

@media (max-width: 700px) {
  .province-comments__form .button-primary { width: 100%; }
  .story-reader__footer .content-comments { grid-column: auto; }
}
.ttv-language-switch { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ttv-language-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 6px; border: 1px solid transparent; border-radius: 6px; color: var(--ttv-ink); text-decoration: none; font-size: 12px; }
.ttv-language-switch a[aria-current="true"] { border-color: var(--ttv-brick); background: var(--ttv-surface); }
.ttv-language-switch a:focus-visible { outline: 3px solid var(--ttv-ink); outline-offset: 3px; }
.ttv-language-switch svg { flex-shrink: 0; }
.ttv-mobile-menu > .ttv-language-switch { margin-top: 24px; }
.project-footer__logo-link strong { font-size: clamp(24px, 2vw, 38px); }
.project-footer__lead { font: 400 15px/1.7 var(--font-body, sans-serif); }
.project-footer__nav--travel h2 { color: #865709; }
.project-footer__nav--community h2 { color: #1C3C1F; }
.project-footer__nav--games h2 { color: #1A3767; }
.project-footer__icon { width: 42px; height: 42px; flex: 0 0 auto; margin-bottom: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: #911814; }
.project-footer__nav--travel .project-footer__icon { color: #865709; }
.project-footer__nav--community .project-footer__icon { color: #1C3C1F; }
.project-footer__nav--games .project-footer__icon { color: #1A3767; }
.project-footer__nav h2, .project-footer__contact h2 { font-family: var(--font-display, Georgia, serif); font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.project-footer__nav h2::after, .project-footer__contact h2::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 12px; background: currentColor; }
.project-footer__nav { border-left: 1px solid var(--ttv-border); padding-left: 20px; }
.project-footer__contact { min-width: 0; }
.project-footer__contact a { overflow-wrap: anywhere; }
.project-footer__fanpage .project-footer__social { max-width: none; }
@media (max-width: 1200px) {
  .project-footer__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .project-footer__identity, .project-footer__contact { grid-column: span 2; }
}
@media (max-width: 820px) {
  .project-footer__inner { width: min(100% - 36px, 680px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-footer__identity, .project-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .project-footer__inner { grid-template-columns: 1fr; }
  .project-footer__nav { border-left: 0; padding-left: 0; }
}

/* Footer visual gate: keep decorative artwork independent from live content. */
.project-footer {
  --ttv-footer-surface: #F8F2E3;
  --ttv-footer-paper: #FFFAF0;
  --ttv-footer-brick: #911814;
  --ttv-footer-gold: #9A6508;
  --ttv-footer-green: #1C3C1F;
  --ttv-footer-navy: #1A3767;
  --ttv-footer-ink: #17334A;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ttv-footer-ink);
  background: var(--ttv-footer-surface);
}

/* This layer is intentionally decorative only. The approved scenic clean plate is
 * not present in the repository, so it must not be reconstructed from the full
 * reference or allowed to carry text, links, or other accessible content. */
.project-footer__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 3% 102%, rgba(76, 111, 76, .34) 0 10%, transparent 25%),
    radial-gradient(ellipse at 96% 104%, rgba(80, 126, 132, .30) 0 11%, transparent 26%),
    radial-gradient(ellipse at 3% 4%, rgba(221, 172, 86, .18), transparent 14%),
    radial-gradient(ellipse at 97% 5%, rgba(221, 172, 86, .18), transparent 14%),
    var(--ttv-footer-surface);
}

.project-footer__art::before,
.project-footer__art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.project-footer__art::before {
  inset: auto 0 0;
  height: 28%;
  opacity: .42;
  background:
    linear-gradient(168deg, transparent 0 36%, rgba(35, 83, 73, .18) 37% 44%, transparent 45%),
    linear-gradient(12deg, transparent 0 46%, rgba(50, 116, 125, .15) 47% 54%, transparent 55%);
}

.project-footer__art::after {
  top: 50%;
  left: 50%;
  width: min(72%, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(154, 101, 8, .18) 20%, rgba(154, 101, 8, .18) 80%, transparent);
}

.project-footer__inner,
.project-footer__bottom { z-index: 1; }
.project-footer__logo-link strong,
.project-footer__nav h2,
.project-footer__contact h2 { color: var(--ttv-footer-brick); }
.project-footer__logo-link small { color: var(--ttv-footer-navy); }
.project-footer__lead,
.project-footer__note,
.project-footer__nav a,
.project-footer__contact a,
.project-footer__contact-person,
.project-footer__contact-person strong,
.project-footer__bottom p { color: var(--ttv-footer-ink); }
.project-footer__nav--travel h2 { color: var(--ttv-footer-gold); }
.project-footer__nav--community h2 { color: var(--ttv-footer-green); }
.project-footer__nav--games h2 { color: var(--ttv-footer-navy); }
.project-footer__nav { border-left-color: rgba(154, 101, 8, .18); }
.project-footer__icon { color: var(--ttv-footer-brick); }
.project-footer__nav--travel .project-footer__icon { color: var(--ttv-footer-gold); }
.project-footer__nav--community .project-footer__icon { color: var(--ttv-footer-green); }
.project-footer__nav--games .project-footer__icon { color: var(--ttv-footer-navy); }
.project-footer__bottom { border-top-color: rgba(154, 101, 8, .34); }
.project-footer__fanpage { background: rgba(255, 250, 240, .72); }
.project-footer__fanpage .project-footer__social {
  color: #FFFAF0 !important;
  background: var(--ttv-footer-brick);
}
.project-footer__fanpage .project-footer__social:hover,
.project-footer__fanpage .project-footer__social:focus-visible { background: #741310; }
.project-footer a:focus-visible {
  outline: 3px solid var(--ttv-footer-green);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .project-footer__art::after { top: 32%; width: 88%; }
  .project-footer__nav { border-left-color: rgba(154, 101, 8, .18); }
}

@media (max-width: 560px) {
  .project-footer__art::before { height: 18%; }
  .project-footer__art::after { top: 25%; width: 78%; }
  .project-footer__nav { border-left: 0; border-top: 1px solid rgba(154, 101, 8, .18); padding: 22px 0 0; }
  .project-footer__identity + .project-footer__nav { border-top: 0; padding-top: 0; }
  .project-footer__fanpage { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-footer__art { transition: none; }
}
