/* ============================================================
   Heritage Voice — style.css
   CSS dùng chung cho tất cả trang
   Màu thương hiệu từ logo TADS / Connect Vietnam
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand Green (từ logo) */
  --green-1:      #8B3E18;
  --green-2:      #C0622A;
  --green-3:      #D4A047;
  --green-4:      #E8A85A;
  --green-5:      #F5C87A;
  --green-pale:   #F5E6C8;
  --green-pale2:  #FAF6EE;
  --green-border: #E8DDD0;

  /* Neutral */
  --text-dark:    #1A1A2E;
  --text-mid:     #444;
  --text-muted:   #888;
  --text-light:   #AAA;
  --bg:           #F7F5F0;
  --bg-card:      #FFFFFF;
  --border:       #E0DDD8;
  --border-light: #F0EDE8;

  /* Status */
  --success:      #D4A047;
  --warning:      #FFA726;
  --danger:       #EF4444;
  --amber:        #F5A623;

  /* Shadows */
  --shadow-sm:    0 2px 10px rgba(0,0,0,.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.15);

  /* Radius */
  --r-sm:   8px;
  --r-md:   13px;
  --r-lg:   16px;
  --r-xl:   20px;

  /* Header gradient */
  --header-gradient: linear-gradient(160deg, #8B3E18 0%, #C0622A 60%, #D4A047 100%);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::-webkit-scrollbar { display: none; }

/* ── Typography ─────────────────────────────────────────────── */
.text-dark  { color: var(--text-dark); }
.text-mid   { color: var(--text-mid); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green-3); }
.fw-700     { font-weight: 700; }
.fw-800     { font-weight: 800; }
.fs-10      { font-size: 10px; }
.fs-11      { font-size: 11px; }
.fs-12      { font-size: 12px; }
.fs-13      { font-size: 13px; }
.fs-14      { font-size: 14px; }
.fs-15      { font-size: 15px; }

/* ── Layout ─────────────────────────────────────────────────── */
.page-wrap { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: var(--bg); }

/* ── Header ─────────────────────────────────────────────────── */
.hv-header {
  background: var(--header-gradient);
  padding: max(26px, env(safe-area-inset-top)) 18px 24px;  /* máy không tai thỏ (7 Plus) đỡ phí ~26px; có tai thỏ → safe-area */
  position: relative;
  overflow: hidden;
}
.hv-header::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hv-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* ── Logo ────────────────────────────────────────────────────── */
.hv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-logo-img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.hv-logo-text {}
.hv-logo-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.3px;
}
.hv-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.3px;
}

/* ── Header icon buttons ────────────────────────────────────── */
.hv-header-btns { display: flex; gap: 8px; }
.hv-icon-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.hv-icon-btn:hover { background: rgba(255,255,255,.2); }

/* ── Search ─────────────────────────────────────────────────── */
.hv-search {
  position: relative;
  margin-top: 16px;
}
.hv-search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}
.hv-search-input {
  width: 100%;
  padding: 11px 12px 11px 36px;
  background: rgba(255,255,255,.95);
  border: none;
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

/* ── Stats bar ──────────────────────────────────────────────── */
.hv-stats {
  background: var(--bg-card);
  padding: 12px 20px;
  display: flex;
  border-bottom: 1px solid var(--border-light);
}
.hv-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.hv-stat:last-child { border-right: none; }
.hv-stat-val { font-size: 17px; font-weight: 800; color: var(--green-2); }
.hv-stat-lbl { font-size: 11px; color: var(--text-muted); }

/* ── Tabs ────────────────────────────────────────────────────── */
.hv-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.hv-tab {
  padding: 6px 13px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
  transition: all .2s;
  background: var(--bg-card);
  color: var(--text-mid);
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.hv-tab.active {
  background: var(--green-2);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(139,62,24,.3);
}

/* ── Page tabs (underline style) ────────────────────────────── */
.hv-page-tabs {
  background: var(--bg-card);
  display: flex;
  border-bottom: 1px solid var(--border-light);
}
.hv-page-tab {
  flex: 1;
  padding: 12px 4px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.hv-page-tab.active {
  border-bottom-color: var(--green-2);
  color: var(--green-2);
  font-weight: 700;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  text-decoration: none;
}
.hv-btn-primary {
  background: var(--green-2);
  color: #fff;
}
.hv-btn-primary:hover { background: var(--green-3); }
.hv-btn-secondary {
  background: var(--bg-card);
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.hv-btn-success {
  background: var(--green-pale);
  color: var(--green-2);
  border: 1px solid var(--green-border);
}
.hv-btn-full { width: 100%; }
.hv-btn-sm   { padding: 7px 12px; font-size: 12px; }

/* ── Cards ───────────────────────────────────────────────────── */
.hv-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.hv-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 9px;
}

/* ── Site card ───────────────────────────────────────────────── */
.hv-site-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.hv-site-card:active { transform: scale(.98); }
.hv-site-card-img {
  position: relative;
  height: 130px;
}
.hv-site-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hv-site-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5));
}
.hv-site-card-body { padding: 11px 12px 13px; }
.hv-site-card-name {
  font-size: 14px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 3px;
}
.hv-site-card-loc {
  font-size: 11px; color: var(--text-muted); margin-bottom: 6px;
}
.hv-site-card-desc {
  font-size: 11px; color: var(--text-mid);
  line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hv-site-card-footer {
  display: flex; gap: 8px; font-size: 11px;
}
.hv-site-card-audio { color: var(--green-3); font-weight: 600; }
.hv-site-card-dur   { color: var(--text-muted); }

/* ── Type badges ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.badge-relic           { background:#FFF3E0; color:#E65100; }
.badge-museum          { background:#FDF0E6; color:#8B3E18; }
.badge-craft_village   { background:#FFF8E7; color:#A05C1A; }
.badge-historical_site { background:#FEF0E0; color:#C0622A; }
.badge-landscape       { background:#FDF6EE; color:#8B3E18; }
.badge-nearby          { background: #C0622A; color:#fff; }
.badge-required        { background:#FFF3E0; color:#E65100; font-size:8px; }

/* ── Bottom Nav ──────────────────────────────────────────────── */
.hv-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  display: flex;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 4px);
}
.hv-nav-item {
  flex: 1;
  padding: 10px 4px 6px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: opacity .2s;
}
.hv-nav-icon  { font-size: 20px; display:flex; align-items:center; justify-content:center; }
.hv-nav-item.avatar-mode { justify-content:center; padding:6px 4px; overflow:hidden; }
.hv-nav-item.avatar-mode img { width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid var(--green-2);display:block;flex-shrink:0;max-width:30px;max-height:30px; }
.hv-nav-label { font-size: 10px; color: var(--text-light); font-weight: 500; }
.hv-nav-item.active .hv-nav-label { color: var(--green-2); font-weight: 700; }
.hv-nav-dot   { width: 4px; height: 4px; border-radius: 50%; background: var(--green-2); }

/* ── Footer ──────────────────────────────────────────────────── */
.hv-footer {
  background: #C0622A;
  padding: 20px 16px;
  text-align: center;
  margin-top: 16px;
}
.hv-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hv-footer-logo img { width: 44px !important; height: 44px !important; flex-shrink: 0; }
.hv-footer-logo-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.hv-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}
.hv-footer-copy a { color: rgba(255,255,255,.6); }

/* ── Loading / Spinner ───────────────────────────────────────── */
.hv-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.hv-spinner {
  display: inline-block;
  width: 28px; height: 28px;
  border: 3px solid #F5E6C8;
  border-top-color: #C0622A;
  border-radius: 50%;
  animation: hvSpin 1s linear infinite;
  margin-bottom: 10px;
}

/* ── Splash Screen ───────────────────────────────────────────── */
.hv-splash {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 9999;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  transition: opacity .5s ease, visibility .5s;
}
.hv-splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.hv-splash-logo {
  width: 72px; height: 72px;
  animation: splashPop .5s cubic-bezier(.175,.885,.32,1.275) forwards;
  opacity: 0;
}
.hv-splash-name {
  font-size: 20px; font-weight: 800; color: var(--green-2);
  margin-top: 14px; letter-spacing: .5px;
  animation: splashFade .5s ease .4s forwards; opacity: 0;
}
.hv-splash-sub {
  font-size: 12px; color: var(--text-muted);
  margin-top: 3px;
  animation: splashFade .5s ease .6s forwards; opacity: 0;
}
.hv-splash-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--green-pale);
}
.hv-splash-bar-fill {
  height: 100%; background: var(--green-2);
  animation: splashBar 1.2s ease forwards;
}
@keyframes splashPop {
  0%   { opacity:0; transform:scale(.7); }
  100% { opacity:1; transform:scale(1); }
}
@keyframes splashFade {
  0%   { opacity:0; transform:translateY(8px); }
  100% { opacity:1; transform:translateY(0); }
}
@keyframes splashBar {
  0%   { width:0%; }
  100% { width:100%; }
}
.hv-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.hv-empty-icon { font-size: 36px; margin-bottom: 10px; }

/* ── Notice boxes ────────────────────────────────────────────── */
.hv-notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 11px;
  margin-bottom: 12px;
  font-size: 11px;
  line-height: 1.6;
}
.hv-notice-warn { background:#FFF8E1; border:1px solid #FFE082; color:#795548; }
.hv-notice-info { background: var(--green-pale); border:1px solid var(--green-border); color: var(--green-2); }

/* ── Nearby card ─────────────────────────────────────────────── */
.hv-nearby-card {
  background: linear-gradient(135deg, var(--green-pale), var(--green-pale2));
  border-radius: var(--r-lg);
  padding: 14px;
  cursor: pointer;
  border: 1px solid var(--green-border);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  transition: opacity .2s;
}
.hv-nearby-card:active { opacity: .85; }
.hv-nearby-img {
  width: 64px; height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--green-border);
}
.hv-nearby-img img { width:100%; height:100%; object-fit:cover; }
.hv-nearby-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-3);
  animation: hvPulse 2s infinite;
  display: inline-block;
  margin-right: 4px;
}

/* ── Nearby banner ───────────────────────────────────────────── */
.hv-banner {
  position: fixed;
  bottom: 76px; left: 14px; right: 14px;
  z-index: 150;
  transition: all .5s cubic-bezier(.34,1.56,.64,1);
}
.hv-banner.hidden  { transform: translateY(140px); opacity: 0; pointer-events: none; }
.hv-banner.visible { transform: translateY(0);      opacity: 1; }
.hv-banner-inner {
  background: linear-gradient(135deg, var(--green-2), var(--green-3));
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 8px 28px rgba(139,62,24,.4);
  border: 1px solid rgba(255,255,255,.12);
}
.hv-banner-top { display:flex; gap:11px; align-items:center; margin-bottom:11px; }
.hv-banner-img { width:46px; height:46px; border-radius:11px; overflow:hidden; flex-shrink:0; }
.hv-banner-img img { width:100%; height:100%; object-fit:cover; }
.hv-banner-tag { font-size:11px; color:#F5E6C8; font-weight:600; margin-bottom:2px; }
.hv-banner-name { font-size:14px; font-weight:700; color:#fff; }
.hv-banner-close {
  background: rgba(255,255,255,.1); border:none;
  color: rgba(255,255,255,.6);
  width:26px; height:26px;
  border-radius:7px; cursor:pointer; font-size:16px;
  flex-shrink:0;
}
.hv-banner-btns { display:flex; gap:8px; }
.hv-banner-btn-main {
  flex:1; background: var(--success); color:#2C1A0E;
  border:none; border-radius:11px;
  padding:9px 0; font-weight:700; font-size:13px;
  cursor:pointer; font-family:inherit;
}
.hv-banner-btn-sub {
  background:rgba(255,255,255,.1); color:rgba(255,255,255,.8);
  border:1px solid rgba(255,255,255,.15);
  border-radius:11px; padding:9px 14px;
  font-weight:600; font-size:12px;
  cursor:pointer; font-family:inherit;
}

/* ── Audio point card ────────────────────────────────────────── */
.hv-ap-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  margin-bottom: 9px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border .2s;
}
.hv-ap-card.listened { border-color: var(--green-border); }
.hv-ap-inner { display:flex; align-items:center; padding:11px 12px; gap:10px; }
.hv-ap-num {
  width:30px; height:30px; border-radius:9px;
  flex-shrink:0; display:flex; align-items:center;
  justify-content:center; font-size:12px; font-weight:700;
  transition:all .2s;
}
.hv-ap-num.done    { background: var(--green-3); color:#fff; }
.hv-ap-num.pending { background: var(--border-light); color: var(--text-muted); }
.hv-ap-info { flex:1; }
.hv-ap-title { font-size:13px; font-weight:700; color: var(--text-dark); }
.hv-ap-desc  { font-size:11px; color: var(--text-muted); margin-top:2px; }
.hv-ap-dur   { font-size:10px; color: var(--green-3); font-weight:600; margin-top:3px; }
.hv-ap-play  {
  width:34px; height:34px; border-radius:9px;
  border:none; background: var(--green-2);
  color:#fff; cursor:pointer; font-size:12px;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; transition:background .2s;
}
.hv-ap-play:hover { background: var(--green-3); }

/* ── Progress bar ────────────────────────────────────────────── */
.hv-progress { background: var(--bg-card); padding:9px 14px; border-bottom:1px solid var(--border-light); }
.hv-progress-row { display:flex; justify-content:space-between; margin-bottom:5px; }
.hv-progress-lbl { font-size:12px; color: var(--text-mid); }
.hv-progress-val { font-size:12px; font-weight:700; color: var(--green-3); }
.hv-progress-track { background: var(--green-pale); border-radius:4px; height:4px; }
.hv-progress-fill  { background: var(--green-3); border-radius:4px; height:4px; transition:width .4s; }

/* ── Tags ────────────────────────────────────────────────────── */
.hv-tags { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:12px; }
.hv-tag  { background: var(--border-light); color: var(--text-muted); font-size:11px; padding:3px 10px; border-radius:20px; }

/* ── Attribution ─────────────────────────────────────────────── */
.hv-attribution {
  padding: 10px 12px;
  background: var(--border-light);
  border-radius: 11px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}
.hv-attribution a { color: var(--green-3); }

/* ── Section header ──────────────────────────────────────────── */
.hv-section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.hv-section-title  { font-size:15px; font-weight:700; color: var(--text-dark); }
.hv-section-count  { font-size:12px; color: var(--text-light); font-weight:500; margin-left:4px; }

/* ── Map preview ─────────────────────────────────────────────── */
.hv-map-preview {
  background: linear-gradient(135deg, var(--green-pale), var(--green-pale2));
  border-radius: var(--r-lg);
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--green-border);
  margin-bottom: 14px;
}
.hv-map-marker {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--green-2);
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.hv-map-marker span { transform:rotate(45deg); font-size:9px; font-weight:800; color:#fff; }
.hv-map-user {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #2196F3;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(33,150,243,.2);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes hvSpin    { to { transform: rotate(360deg); } }
@keyframes hvPulse   { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.8);} }
@keyframes hvFadeUp  { from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);} }
@keyframes hvBounce  { 0%{transform:scale(.5);opacity:0;}60%{transform:scale(1.1);}100%{transform:scale(1);opacity:1;} }
@keyframes hvWave    { from{transform:scaleY(.3);}to{transform:scaleY(1);} }
@keyframes hvBlink   { 0%,100%{opacity:1;}50%{opacity:.3;} }

.anim-fadeup  { animation: hvFadeUp .4s ease; }
.anim-bounce  { animation: hvBounce .5s ease; }

/* ===== FOOTER 4 cột (Heritage Voice — terracotta, khung PWA 430px → 2 cột) ===== */
.footer4{background:#5a2810;color:rgba(255,255,255,.74);margin-top:16px}
.footer4__inner{max-width:430px;margin:0 auto;padding:30px 18px 20px;display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}
.footer4__brand{grid-column:1/-1}
.footer4__logo{font-size:18px;font-weight:800;color:#fff;display:flex;align-items:center;gap:8px}
.footer4__tag{font-size:13.5px;margin:8px 0 14px;line-height:1.6}
.footer4__social{display:flex;flex-wrap:wrap;gap:8px}
.footer4__social a{font-size:12.5px;font-weight:600;color:#fff;background:rgba(255,255,255,.12);padding:6px 12px;border-radius:999px}
.footer4__social a:hover{background:#C0622A}
.footer4__col h4{color:#fff;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px}
.footer4__col a{display:block;color:rgba(255,255,255,.74);font-size:13.5px;padding:5px 0}
.footer4__col a:hover{color:#fff}
.footer4__col a.is-active{color:#fff;font-weight:700}
.footer4__cv{font-size:12.5px;font-weight:800;color:#E8A85A;margin-bottom:7px}
.footer4__bottom{border-top:1px solid rgba(255,255,255,.14);max-width:430px;margin:0 auto;padding:16px 18px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;font-size:12.5px}
.footer4__bottom a{color:rgba(255,255,255,.74)}
.footer4__bottom a:hover{color:#fff;text-decoration:underline}
.footer4__bottom .sep{opacity:.5}
@media(max-width:360px){.footer4__inner{grid-template-columns:1fr}}
/* Cờ ngôn ngữ = ẢNH SVG (Windows không vẽ được emoji cờ → fallback "VN/GB") */
.hv-fl-img{width:22px;height:16px;object-fit:cover;border-radius:3px;display:inline-block;vertical-align:middle;box-shadow:0 0 0 .5px rgba(0,0,0,.18)}
.hv-fl-lg{width:42px;height:30px;border-radius:5px}
.hv-fl-xl{width:52px;height:37px;border-radius:6px}
