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

html {
  scroll-behavior: smooth;
}

body {
  background: #F5EFE3;
  font-family: "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #20232E;
}

::selection {
  background: #1E5B3A;
  color: #F5EFE3;
}

a {
  color: inherit;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: 84px;
}

a[href],
button {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

a[href]:active,
button:active {
  transform: translateY(1px);
}

.facility-card,
.diff-card,
.animal-card,
.qr-card {
  transition: box-shadow 0.35s ease, transform 0.3s ease;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ===== PAGE ===== */
.page-bg {
  background: #F5EFE3;
  overflow: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,239,227,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(32,35,46,.08);
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.logo-text {
  line-height: 1.05;
}
.logo-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 18px;
  color: #2A2E96;
  letter-spacing: .5px;
}
.logo-name-ms {
  color: #1E5B3A;
}
.logo-since {
  font-size: 10px;
  letter-spacing: 3px;
  color: #5B5E6B;
  text-transform: uppercase;
}
.top-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-link {
  color: #5B5E6B;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switcher {
  display: flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(32,35,46,.06);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: inherit;
}
.lang-btn-active {
  background: #2A2E96;
  color: #fff;
  font-weight: 700;
}
.lang-btn-inactive {
  background: transparent;
  color: #5B5E6B;
  font-weight: 500;
}
.donate-btn {
  background: #C8902F;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(200,144,47,.32);
}

/* ===== HERO ===== */
.hero-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 36px 28px 28px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 36px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1E5B3A;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-kicker-line {
  width: 34px;
  height: 2px;
  background: #1E5B3A;
  display: inline-block;
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  line-height: 1.12;
  color: #20232E;
  letter-spacing: -.5px;
}
.hero-title-zh { font-size: clamp(32px,4.2vw,54px); }
.hero-title-en { font-size: clamp(26px,3.2vw,42px); }
.hero-title-ms { font-size: clamp(24px,3vw,36px); line-height: 1.25; }
.hero-t1 { display: block; }
.hero-t2 { display: block; color: #2A2E96; }
.hero-t3 { display: block; color: #1E5B3A; }
.hero-lead {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.85;
  color: #5B5E6B;
  max-width: 480px;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-cta-adopt {
  background: #2A2E96;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(42,46,150,.28);
}
.hero-cta-donate {
  background: transparent;
  color: #1E5B3A;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid #1E5B3A;
}
.hero-visual {
  position: relative;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 30px rgba(32,35,46,.22));
}
.hero-badge-count {
  position: absolute;
  top: -18px;
  left: -18px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 16px 30px -12px rgba(32,35,46,.35);
  animation: floaty 5s ease-in-out infinite;
}
.hero-badge-count-num {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 30px;
  color: #2A2E96;
  line-height: 1;
}
.hero-count-sup {
  font-size: 18px;
}
.hero-badge-count-label {
  font-size: 12px;
  color: #5B5E6B;
}
.hero-badge-paw {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: #1E5B3A;
  color: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 16px 30px -12px rgba(16,58,36,.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge-paw-icon {
  font-size: 22px;
}
.hero-badge-paw-text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

/* ===== STATS BAND ===== */
.stats-band {
  background: #1E5B3A;
  color: #F5EFE3;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  padding: 8px 6px;
  border-left: 1px solid rgba(245,239,227,.16);
}
.stat-num {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: clamp(28px,3.6vw,40px);
  line-height: 1;
  color: #fff;
}
.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245,239,227,.82);
}

/* ===== MISSION ===== */
.mission-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 84px 28px 60px;
  text-align: center;
}
.mission-label {
  color: #C8902F;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mission-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: clamp(26px,3.4vw,38px);
  line-height: 1.4;
  color: #20232E;
  max-width: 760px;
  margin: 0 auto;
  text-wrap: balance;
}
.mission-body {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.95;
  color: #5B5E6B;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FACILITIES ===== */
.facilities-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 28px 70px;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.facility-card {
  background: #FCF8EF;
  border: 1px solid rgba(32,35,46,.07);
  border-radius: 22px;
  padding: 32px 30px;
}
.facility-num {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 42px;
  color: #2A2E96;
  line-height: 1;
}
.facility-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 20px;
  color: #20232E;
  margin-top: 14px;
}
.facility-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #5B5E6B;
}

/* ===== DIFFERENT ===== */
.different-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.different-header {
  text-align: center;
  margin-bottom: 46px;
}
.different-label {
  color: #1E5B3A;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.different-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: clamp(26px,3.4vw,38px);
  color: #20232E;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
}
.diff-card {
  background: #FCF8EF;
  border: 1px solid rgba(32,35,46,.07);
  border-radius: 22px;
  padding: 30px 30px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.diff-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(42,46,150,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.diff-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 20px;
  color: #2A2E96;
  margin-bottom: 10px;
}
.diff-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: #5B5E6B;
}

/* ===== SHELTER CAMPAIGN ===== */
.shelter-section {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 28px;
}
.shelter-card {
  background: #2A2E96;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
}
.shelter-left {
  padding: 56px 50px;
}
.shelter-label {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  color: #C8902F;
  margin-bottom: 16px;
}
.shelter-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: clamp(26px,3.2vw,36px);
  line-height: 1.3;
}
.shelter-body {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  max-width: 440px;
}
.shelter-progress-box {
  margin-top: 30px;
  background: rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px;
}
.shelter-goal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.shelter-goal-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.shelter-goal-amount {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 30px;
}
.shelter-bar-track {
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.shelter-bar-fill {
  height: 100%;
  width: 3%;
  border-radius: 999px;
  background: linear-gradient(90deg,#C8902F,#e0a93b);
}
.shelter-progress-text {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.shelter-cta-btn {
  display: inline-block;
  margin-top: 26px;
  background: #C8902F;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
}
.shelter-image-wrap {
  min-height: 420px;
  overflow: hidden;
}
.shelter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== ADOPT ===== */
.adopt-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 28px 40px;
}
.adopt-header {
  text-align: center;
  margin-bottom: 36px;
}
.adopt-label {
  color: #1E5B3A;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.adopt-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: clamp(26px,3.4vw,38px);
  color: #20232E;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.25;
  text-wrap: balance;
}
.adopt-assure {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30,91,58,.1);
  color: #1E5B3A;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
}
.animals-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.animal-card {
  background: #FCF8EF;
  border: 1px solid rgba(32,35,46,.07);
  border-radius: 22px;
  overflow: hidden;
}
.animal-photo-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}
.animal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.animal-info {
  padding: 18px 20px 22px;
}
.animal-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.animal-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 19px;
  color: #20232E;
}
.animal-kind {
  font-size: 18px;
}
.animal-trait {
  margin-top: 6px;
  font-size: 13.5px;
  color: #5B5E6B;
}

/* ===== DONATE ===== */
.donate-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 28px 80px;
}
.donate-header {
  text-align: center;
  margin-bottom: 40px;
}
.donate-label {
  color: #C8902F;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.donate-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: clamp(26px,3.4vw,38px);
  color: #20232E;
}
.donate-body {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #5B5E6B;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.donate-panel {
  background: #FCF8EF;
  border: 1px solid rgba(32,35,46,.08);
  border-radius: 32px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.bank-card {
  background: #2A2E96;
  border-radius: 24px;
  padding: 34px;
  color: #fff;
}
.bank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.bank-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.bank-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 21px;
}
.bank-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding-bottom: 12px;
}
.bank-row-last {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.bank-key {
  color: rgba(255,255,255,.65);
}
.bank-val {
  font-weight: 700;
}
.bank-val-mono {
  font-weight: 700;
  font-family: monospace;
  letter-spacing: .5px;
}
.bank-swift {
  font-weight: 700;
  font-family: monospace;
}
.bank-tax {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9fe3bd;
  font-weight: 700;
  font-size: 13.5px;
}
.bank-tax-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(159,227,189,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.qr-card {
  background: #F5EFE3;
  border: 1px solid rgba(32,35,46,.08);
  border-radius: 24px;
  padding: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.qr-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(200,144,47,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.qr-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 20px;
  color: #20232E;
}
.qr-frame {
  width: 170px;
  height: 170px;
  background: #fff;
  border: 2px solid rgba(32,35,46,.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}
.qr-name {
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: #2A2E96;
}
.qr-desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5B5E6B;
  max-width: 230px;
}

/* ===== FOOTER ===== */
.footer {
  background: #20232E;
  color: #F5EFE3;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 28px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}
.footer-brand-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 18px;
}
.footer-mission {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245,239,227,.6);
  max-width: 330px;
}
.footer-col-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  color: #C8902F;
}
.footer-address {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245,239,227,.72);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(245,239,227,.72);
}
.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,227,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-values {
  display: flex;
  gap: 26px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 15px;
  color: rgba(245,239,227,.85);
}
.footer-copy {
  font-size: 12.5px;
  color: rgba(245,239,227,.45);
}

/* ===== Responsive: tablet / iPad ===== */
@media (max-width: 1024px) {
  section[id] {
    scroll-margin-top: 72px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shelter-card,
  .donate-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shelter-left {
    padding: 44px 34px;
  }

  .donate-panel {
    padding: 32px;
  }
}

/* ===== Responsive: small tablet / large phone ===== */
@media (max-width: 768px) {
  .hero-cta-adopt,
  .hero-cta-donate {
    flex: 1 1 calc(50% - 7px);
    text-align: center;
    font-size: 13px;
    padding: 11px 14px;
  }

  .top-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .logo-img {
    width: 48px;
    height: 48px;
  }

  .donate-btn {
    font-size: 12px;
    padding: 9px 12px;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .animals-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .stats-inner {
    grid-template-columns: repeat(3,1fr);
  }

  .stat-item {
    border-left: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shelter-left {
    padding: 40px 26px;
  }

  .donate-panel {
    padding: 24px;
  }

  .shelter-image-wrap {
    min-height: 300px;
  }
}

/* ===== Responsive: phone ===== */
@media (max-width: 480px) {
  .donate-btn {
    font-size: 0;
    padding: 10px 13px;
    line-height: 0;
  }
  .donate-btn::after {
    content: "♥";
    font-size: 17px;
    line-height: 1;
  }
}

@media (max-width: 520px) {
  .stats-inner {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== VIDEO MODAL ===== */
.vm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(32,35,46,.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s ease;
}
.vm-overlay[hidden] {
  display: none;
}
.vm-overlay.vm-open {
  opacity: 1;
}

/* Height and width both derive from one clamped value, so the 9:16 frame stays
   exact at every viewport — max-height alone would leave the box too wide and
   crop the sides of the portrait video. */
.vm-dialog {
  position: relative;
  --vm-h: min(100vh - 48px, (100vw - 48px) * 16 / 9, 760px);
  --vm-h: min(100dvh - 48px, (100vw - 48px) * 16 / 9, 760px);
  height: var(--vm-h);
  width: calc(var(--vm-h) * 9 / 16);
  border-radius: 22px;
  overflow: hidden;
  background: #20232E;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  transform: translateY(18px) scale(.96);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.3,1), opacity .35s ease;
}
.vm-overlay.vm-open .vm-dialog {
  transform: none;
  opacity: 1;
}

.vm-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #20232E;
}

.vm-btn {
  width: 34px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  background: rgba(32,35,46,.5);
  backdrop-filter: blur(6px);
}
.vm-btn:hover {
  background: rgba(32,35,46,.82);
}
.vm-btn:focus-visible {
  outline: 2px solid #C8902F;
  outline-offset: 2px;
}
/* Tucked into the corner, overlapping the video. */
.vm-btn-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 19px;
}

.vm-sound-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: #C8902F;
  box-shadow: 0 6px 18px rgba(200,144,47,.42);
}
.vm-sound-hint:hover {
  background: #b27e25;
}
.vm-sound-hint[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .vm-overlay {
    padding: 16px;
  }
  .vm-dialog {
    --vm-h: min(100vh - 32px, (100vw - 32px) * 16 / 9);
    --vm-h: min(100dvh - 32px, (100vw - 32px) * 16 / 9);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-overlay,
  .vm-dialog {
    transition: none;
  }
  .vm-dialog {
    transform: none;
  }
}
