:root {
  --vl-bg: #f7f7f7;
  --vl-card-bg: #ffffff;
  --vl-text: #1a1a1a;
  --vl-muted: #666666;
  --vl-border: #e2e2e2;
  --vl-primary: #0055ff;
  --vl-primary-soft: rgba(0, 85, 255, 0.1);
  --vl-gold: #ffd700;
  --vl-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --vl-radius-lg: 18px;
  --vl-radius-md: 12px;
  --vl-radius-pill: 999px;
}

/* RESET & GLOBALS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", "Manrope", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--vl-text);
  background-color: var(--vl-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

/* UTILITIES */
.vl-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.w-100 {
  width: 100%;
}

/* NAVBAR */
.vl-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(247, 247, 247, 0.7);
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    backdrop-filter 0.2s ease;
}

.vl-navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.vl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.vl-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--vl-text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vl-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vl-primary-soft);
  color: var(--vl-primary);
  font-size: 16px;
}

.vl-logo-text {
  font-size: 18px;
}

.vl-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vl-nav-link {
  text-decoration: none;
  color: var(--vl-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.vl-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--vl-primary);
  transition: width 0.18s ease;
}

.vl-nav-link:hover::after {
  width: 100%;
}

.vl-nav-cta {
  padding: 6px 14px;
  border-radius: var(--vl-radius-pill);
  border: 1px solid rgba(0, 85, 255, 0.25);
  color: var(--vl-primary);
}

/* MOBILE NAV TOGGLE */
.vl-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.vl-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--vl-text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */
.vl-hero {
  padding: 52px 0 28px;
}

.vl-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.4fr);
  gap: 32px;
  align-items: center;
}

.vl-hero-text h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 8px;
}

.vl-hero-text p {
  color: var(--vl-muted);
  margin-bottom: 18px;
  font-size: 14px;
}

/* Premium 360 Button */
.vl-btn-360 {
  background: linear-gradient(135deg, #006CFF, #0050D8);
  color: #fff !important;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.vl-btn-360:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
}

.vl-btn-360:active {
  transform: scale(0.97);
}

.vl-btn-360-icon {
  font-size: 16px;
}

.vl-btn-primary,
.vl-btn-primary-outline,
.vl-btn-ghost,
.vl-btn-ghost-sm {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease,
    color 0.1s ease;
}

.vl-btn-primary {
  background: var(--vl-primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 85, 255, 0.25);
}

.vl-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 85, 255, 0.28);
}

.vl-btn-primary-outline {
  background: #ffffff;
  color: var(--vl-primary);
  border: 1px solid var(--vl-primary-soft);
}

.vl-btn-primary-outline:hover {
  background: var(--vl-primary-soft);
}

.vl-btn-ghost {
  background: #f0f0f0;
  color: var(--vl-text);
}

.vl-btn-ghost:hover {
  background: #e3e3e3;
}

.vl-btn-ghost-sm {
  padding: 6px 12px;
  font-size: 12px;
  background: #f3f3f3;
  color: var(--vl-text);
}

.vl-btn-ghost-sm:hover {
  background: #e3e3e3;
}

.vl-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.vl-hero-blur-card {
  background: radial-gradient(circle at top left, #ffffff 0%, #f3f3f3 50%, #eaeaea 100%);
  border-radius: 24px;
  padding: 18px 18px 22px;
  min-height: 170px;
  box-shadow: var(--vl-shadow-soft);
}

.vl-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--vl-primary-soft);
  color: var(--vl-primary);
  margin-bottom: 10px;
}

.vl-hero-blur-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.vl-hero-blur-card p {
  font-size: 13px;
  color: var(--vl-muted);
}

/* FILTER SHELL (STICKY) */
.vl-filter-shell {
  height: 0;
  position: relative;
}

.vl-filter-sticky {
  position: sticky;
  top: 60px;
  z-index: 900;
  padding: 8px 0 10px;
  background: linear-gradient(
    to bottom,
    #f7f7f7 70%,
    rgba(247, 247, 247, 0.96)
  );
}

/* TABS */
.vl-tabs {
  display: inline-flex;
  background: #ffffff;
  border-radius: var(--vl-radius-pill);
  padding: 3px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.vl-tab {
  border: none;
  background: transparent;
  border-radius: var(--vl-radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--vl-muted);
}

.vl-tab.active {
  background: var(--vl-primary);
  color: #ffffff;
}

/* SEARCH + FILTER BAR */
.vl-search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 2px;
}

.vl-search-wrapper {
  flex: 1 1 240px;
  position: relative;
}

.vl-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--vl-muted);
}

.vl-search-input {
  width: 100%;
  padding: 8px 12px 8px 30px;
  border-radius: var(--vl-radius-pill);
  border: 1px solid var(--vl-border);
  outline: none;
  font-size: 13px;
  background: #ffffff;
}

.vl-search-input:focus {
  border-color: var(--vl-primary);
}

/* FILTER DROPDOWNS */
.vl-filters-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.vl-filter-dropdown {
  position: relative;
}

.vl-filter-trigger {
  padding: 6px 12px;
  border-radius: var(--vl-radius-pill);
  border: 1px solid var(--vl-border);
  background: #ffffff;
  font-size: 12px;
  cursor: pointer;
  color: var(--vl-muted);
}

.vl-filter-dropdown.active .vl-filter-trigger {
  border-color: var(--vl-primary);
  color: var(--vl-primary);
}

.vl-filter-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 150px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--vl-shadow-soft);
  padding: 6px;
  display: none;
  z-index: 20;
}

.vl-filter-dropdown.open .vl-filter-menu {
  display: block;
}

.vl-filter-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  color: var(--vl-muted);
}

.vl-filter-menu button:hover {
  background: #f5f5f5;
}

.vl-clear-filters {
  border: none;
  background: none;
  color: var(--vl-muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

/* MAIN GRID */
.vl-main-grid {
  padding: 14px 0 40px;
}

.vl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* CARD */
.vl-card {
  background: var(--vl-card-bg);
  border-radius: var(--vl-radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.vl-card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 66%;
}

.vl-card-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.vl-card:hover .vl-card-image {
  transform: scale(1.04);
}

.vl-card-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: var(--vl-radius-pill);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
}

.vl-card-premium-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: var(--vl-radius-pill);
  background: var(--vl-gold);
  font-size: 11px;
  font-weight: 600;
}

.vl-card-body {
  padding: 12px 14px 14px;
}

.vl-card-title {
  font-size: 15px;
  margin: 0 0 4px;
}

.vl-card-subtitle {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--vl-muted);
}

.vl-card-tags span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f1f1;
  font-size: 11px;
  margin: 0 4px 4px 0;
}

.vl-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* SECTIONS */
.vl-section {
  padding: 32px 0;
}

/* ABOUT BOX */
.vl-about-box {
  background: #ffffff;
  border-radius: var(--vl-radius-lg);
  padding: 20px 18px;
  box-shadow: var(--vl-shadow-soft);
}

.vl-about-box h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
}

.vl-about-box p {
  font-size: 14px;
  color: var(--vl-muted);
}

/* PARTNER SECTION */
.vl-partner-section {
  padding-bottom: 40px;
}

.vl-partner-box {
  background: #ffffff;
  border-radius: var(--vl-radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--vl-shadow-soft);
  border-left: 4px solid var(--vl-primary);
}

.vl-partner-text h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.vl-partner-text p {
  margin: 0;
  font-size: 14px;
  color: var(--vl-muted);
}

/* MODALS */
.vl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}

.vl-modal-overlay.open {
  display: flex;
}

.vl-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 95%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  position: relative;
  max-height: 90vh;
  overflow: hidden;
}

.vl-modal-body {
  padding: 18px 18px 20px;
}

.vl-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* TOUR MODAL */
.vl-tour-modal-body {
  padding: 0;
}

.vl-tour-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--vl-border);
}

.vl-tour-viewer {
  width: 100%;
  height: 360px;
}

.vl-tour-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FORMS */
.vl-form-group {
  margin-bottom: 10px;
}

.vl-form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.vl-form-group input,
.vl-form-group select,
.vl-form-group textarea {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--vl-border);
  font-size: 13px;
  outline: none;
  background: #ffffff;
}

.vl-form-group input:focus,
.vl-form-group select:focus,
.vl-form-group textarea:focus {
  border-color: var(--vl-primary);
}

.vl-form-message {
  font-size: 12px;
  margin-top: 6px;
  color: var(--vl-muted);
}

/* FOOTER */
.vl-footer {
  border-top: 1px solid #e3e3e3;
  padding: 14px 0;
  background: #ffffff;
}

.vl-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--vl-muted);
  gap: 10px;
}

.vl-footer-left a {
  margin-left: 10px;
  text-decoration: none;
  color: var(--vl-muted);
}

.vl-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vl-footer-social a {
  margin-left: 8px;
  text-decoration: none;
  color: var(--vl-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .vl-hero-inner {
    grid-template-columns: 1fr;
  }

  .vl-hero-visual {
    justify-content: flex-start;
  }

  .vl-main-grid {
    padding-top: 8px;
  }

  .vl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vl-partner-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .vl-grid {
    grid-template-columns: 1fr;
  }

  .vl-navbar {
    backdrop-filter: blur(16px);
  }

  .vl-nav-right {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 16px 12px;
    display: none;
  }

  .vl-nav-right.open {
    display: flex;
  }

  .vl-nav-toggle {
    display: block;
  }

  .vl-featured-scroll {
    gap: 14px;
  }
}

/* ==============================
   FULL FEATURED WRAPPER (NEW)
   ============================== */

.vl-featured-wrapper {
  margin-top: 32px;
  margin-bottom: 26px;
  width: 100%;
}

.vl-featured-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.vl-featured-heading h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: var(--vl-text);
}

.vl-featured-icon {
  font-size: 1.5rem;
  display: inline-block;
}

/* Horizontal scroll for featured cards */
.vl-featured-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--vl-border) transparent;
}

.vl-featured-scroll::-webkit-scrollbar {
  height: 6px;
}

.vl-featured-scroll::-webkit-scrollbar-thumb {
  background: var(--vl-border);
  border-radius: var(--vl-radius-pill);
}

/* Featured cards */
.vl-featured-card {
  flex: 0 0 280px;
  background: var(--vl-card-bg);
  border-radius: var(--vl-radius-lg);
  box-shadow: var(--vl-shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.vl-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.vl-featured-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* Card content */
.vl-featured-content {
  padding: 15px 16px 16px;
}

.vl-featured-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--vl-text);
}

.vl-featured-subtitle {
  font-size: 0.84rem;
  color: var(--vl-muted);
  margin-bottom: 10px;
}

.featured-actions {
  display: flex;
  gap: 8px;
}

/* Featured buttons (reusing palette) */
.featured-btn-primary {
  padding: 8px 14px;
  background: var(--vl-primary);
  color: #ffffff;
  border-radius: var(--vl-radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(0, 85, 255, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.featured-btn-primary:hover {
  background: #0046d6;
}

.featured-btn-ghost {
  padding: 8px 14px;
  background: #f3f3f3;
  color: var(--vl-text);
  border-radius: var(--vl-radius-pill);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Viewlo Toast / Flash Styles
   =========================== */
.vl-toast-stack {
  position: fixed;
  top: 76px;              /* sits just under the sticky navbar */
  right: 20px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;   /* let clicks fall through except on toasts */
}

/* Base toast card */
.vl-toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 360px;
  border-radius: 16px;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 55%),
    linear-gradient(135deg, #020617, #020617);
  color: #f9fafb;
  font-size: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  isolation: isolate;
  animation:
    vl-toast-slide-in 0.26s ease-out,
    vl-toast-fade-out 4.2s 0.26s forwards;
}

/* subtle inner highlight ring */
.vl-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.18);
  pointer-events: none;
}

/* Main content row */
.vl-toast-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px 11px;
}

/* Optional icon slot on the left */
.vl-toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}

/* Text column */
.vl-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.vl-toast-title {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.vl-toast-message {
  line-height: 1.45;
  font-size: 0.88rem;
  color: #cbd5f5;
  word-wrap: break-word;
}

/* Category colors (mapped to flash category names) */
.vl-toast-success {
  border-color: rgba(34, 197, 94, 0.7);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), transparent 55%),
    linear-gradient(135deg, #020617, #020617);
}

.vl-toast-success .vl-toast-icon {
  color: #bbf7d0;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
}

.vl-toast-error {
  border-color: rgba(239, 68, 68, 0.7);
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.25), transparent 55%),
    linear-gradient(135deg, #020617, #020617);
}

.vl-toast-error .vl-toast-icon {
  color: #fecaca;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
}

.vl-toast-info {
  border-color: rgba(59, 130, 246, 0.7);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
    linear-gradient(135deg, #020617, #020617);
}

.vl-toast-info .vl-toast-icon {
  color: #bfdbfe;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

/* Close button */
.vl-toast-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0 2px 0 4px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.vl-toast-close:hover {
  color: #e5e7eb;
  transform: scale(1.06) translateY(-1px);
  opacity: 0.95;
}

/* Optional progress bar at the bottom (if you ever add it) */
.vl-toast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--vl-primary), #38bdf8);
  transform-origin: left center;
  animation: vl-toast-progress 4s linear forwards;
}

/* Animations */
@keyframes vl-toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(-12px) translateX(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }
}

@keyframes vl-toast-fade-out {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

/* Progress shrink (if used) */
@keyframes vl-toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Mobile: adjust to top center */
@media (max-width: 640px) {
  .vl-toast-stack {
    top: calc(env(safe-area-inset-top, 0px) + 70px);
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 24px);
    max-width: 380px;
  }

  .vl-toast {
    width: 100%;
    border-radius: 14px;
  }

  .vl-toast-content {
    padding: 10px 12px 10px;
  }

  /* Bigger tap target for mobile close button */
  .vl-toast-close {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
    padding: 0;
    border-radius: 10px;
  }
}
