@font-face {
  font-family: 'Balsamiq Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/balsamiq-sans-bold-vietnamese.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 1000;
  font-display: swap;
  src: url('/assets/fonts/nunito-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.language-switcher {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(204, 216, 255, .24);
  border-radius: 999px;
  background: rgba(22, 30, 115, .5);
  box-shadow: inset 0 0 16px rgba(145, 161, 255, .08);
  backdrop-filter: blur(10px);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  padding: 6px 8px;
  color: #dfe5ff;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
}

.language-switcher a:hover,
.language-switcher a[aria-current='true'] {
  color: #fff;
  background: linear-gradient(180deg, rgba(114, 112, 236, .95), rgba(67, 67, 178, .95));
  box-shadow: 0 4px 12px rgba(5, 10, 65, .24);
}

.language-switcher b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html[lang='vi'] body:not(.admin-page) h1,
html[lang='vi'] body:not(.admin-page) h2,
html[lang='vi'] body:not(.admin-page) h3 {
  letter-spacing: -.025em;
}

.locale-vi-vn .event-hero h1 {
  font-size: clamp(3.4rem, 5.3vw, 6.45rem);
  line-height: .98;
}

.locale-vi-vn .home-hero-copy h1 {
  font-size: clamp(3.25rem, 5.1vw, 5.25rem);
  line-height: .98;
}

.locale-vi-vn .catalog-intro h1 {
  max-width: 900px;
  font-size: clamp(3.8rem, 6vw, 6.4rem);
}

.locale-vi-vn .waiting-count,
.locale-vi-vn .share-lead,
.locale-vi-vn .event-description {
  text-wrap: pretty;
}

.admin-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-subtitle,
.bulk-progress,
.translation-message,
.settings-note {
  color: #71675c;
  font-size: .84rem;
}

.bulk-progress {
  min-height: 1.4em;
  margin: -18px 0 20px;
}

.status.draft {
  color: #73511f;
  background: #f3e5bd;
}

.locale-tabs {
  display: flex;
  gap: 8px;
  margin: -8px -8px 30px;
  padding: 8px;
  background: #f0ece5;
  border-radius: 12px;
}

.locale-tabs button {
  flex: 1;
  padding: 11px 14px;
  color: #61584f;
  font-weight: 800;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
}

.locale-tabs button[aria-selected='true'] {
  color: #172335;
  background: #fff;
  border-color: #d7cec1;
  box-shadow: 0 5px 16px rgba(50, 40, 29, .08);
}

.translation-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.translation-message {
  flex: 1;
  min-width: 220px;
  margin: 0;
}

.language-settings-form {
  display: grid;
  gap: 26px;
}

.language-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2dbd0;
}

.language-setting-row h2,
.language-setting-row p {
  margin: 0;
}

.language-setting-row h2 {
  font-size: 1.65rem;
}

.language-setting-row p {
  color: #81766b;
}

.settings-saved {
  padding: 12px 16px;
  color: #245b3b;
  background: #dcecdf;
  border-left: 4px solid #4e8a62;
}

@media (max-width: 760px) {
  body:not(.admin-page) .header-inner {
    gap: 8px;
  }

  body:not(.admin-page) .header-actions {
    gap: 5px;
  }

  .language-switcher {
    padding: 3px;
  }

  .language-switcher a {
    min-width: 31px;
    padding: 6px 5px;
    font-size: .61rem;
  }

  .locale-vi-vn .event-hero h1 {
    font-size: clamp(2.7rem, 11.7vw, 4.25rem);
  }

  .locale-vi-vn .home-hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .locale-vi-vn .catalog-intro h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .admin-title-actions,
  .translation-toolbar,
  .language-setting-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-title-actions .button,
  .admin-title-actions button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body:not(.admin-page) .brand-name {
    max-width: 92px;
  }

  body:not(.admin-page) .site-header nav a {
    padding-inline: 5px;
  }
}
