/* OnlyMP3 shared production stylesheet. */
/* Typography is intentionally bold but not extra-heavy. */

.icon-blue {
  background: #eaf1ff;
  color: var(--only-blue);
}

.paste-message {
  display: none;
  margin-top: 8px;
  color: var(--only-muted);
  font-size: .86rem;
  font-weight: 600;
}

.paste-message.show {
  display: block;
}

.shortcut-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid #ffe2a4;
  background: linear-gradient(135deg, #fff8e7, #fffdf6);
  border-radius: 14px;
  color: #7c4a03;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.shortcut-tip i {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 2px;
  flex: 0 0 auto;
}

.shortcut-tip code {
  color: var(--only-primary);
  background: #fff0f3;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

@media (max-width: 575.98px) {

  .shortcut-tip {
    font-size: .86rem;
    padding: 11px 12px;
  }
}

/* Wider desktop layout restored */

/* Cleaner hero title sizing */

.shortcut-tip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shortcut-tip i {
  line-height: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shortcut-tip span {
  line-height: 1.45;
  display: inline-block;
}

.shortcut-tip code {
  vertical-align: baseline;
}

/* Keep footer divider lines aligned with the main container width */

/* Modern Premium Language Dropdown */

/* Legal / support content pages */

.page-hero {
  padding: 72px 0 28px;
  background: radial-gradient(circle at top left, rgba(255, 49, 88, .10), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--only-primary);
  background: rgba(255, 49, 88, .08);
  border: 1px solid rgba(255, 49, 88, .12);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: .86rem;
  margin-bottom: 18px;
}

.page-title {
  color: var(--only-dark);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.page-lead {
  color: var(--only-muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 0;
}

.legal-layout {
  padding: 34px 0 70px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, .08);
  padding: 34px;
}

.legal-card h2 {
  color: var(--only-dark);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--only-muted);
  line-height: 1.75;
}

.legal-card strong {
  color: var(--only-text);
}

.legal-card ul {
  padding-left: 1.15rem;
  margin-bottom: 18px;
}

.legal-note {
  background: rgba(255, 49, 88, .06);
  border: 1px solid rgba(255, 49, 88, .12);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--only-muted);
  margin: 22px 0;
}

.legal-side-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(16, 24, 40, .07);
  position: sticky;
  top: 110px;
}

.legal-side-card a {
  color: var(--only-muted);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--only-border);
}

.legal-side-card a:last-child {
  border-bottom: 0;
}

.legal-side-card a:hover {
  color: var(--only-primary);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, .08);
  padding: 30px;
}

.contact-input {
  border: 1px solid var(--only-border);
  border-radius: 16px;
  padding: 13px 15px;
  font-weight: 600;
  color: var(--only-text);
}

.contact-input:focus {
  border-color: rgba(255, 49, 88, .45);
  box-shadow: 0 0 0 .25rem rgba(255, 49, 88, .10);
}

.contact-method {
  border: 1px solid var(--only-border);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  height: 100%;
}

.contact-method i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 49, 88, .08);
  color: var(--only-primary);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {

  .page-hero {
    padding: 48px 0 20px;
  }

  .legal-layout {
    padding-bottom: 110px;
  }

  .legal-card,
  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

  .legal-side-card {
    position: static;
  }
}

/* Softer language dropdown shadow */

/* Sitewide typography normalization */

/* Synced sitewide header/footer/link visibility */

/* Footer language menu uses the same premium dropdown style */

/* Footer language expanded menu height fix */

/* Direct footer dropdown expanded-size fix */

/* Mobile offcanvas language dropdown fix */

/* Mobile language dropdown should overlay links, not push them down */

/* Prevent mobile language dropdown scroll from moving background/offcanvas links */

/* Lock background page while mobile offcanvas/footer menu is open */

/* Final unified footer system: identical across all pages */

.onlymp3-footer-v3.site-footer-light {
  display: none !important;
  background: #fff !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin-top: 72px !important;
  color: var(--only-text) !important;
}

@media (min-width: 768px) {

  .onlymp3-footer-v3.site-footer-light {
    display: block !important;
  }
}

.onlymp3-footer-v3.site-footer-light > .container {
  border-top: 1px solid var(--only-border) !important;
  padding-top: 38px !important;
  padding-bottom: 0 !important;
}

.onlymp3-footer-v3 .row {
  align-items: flex-start !important;
}

.onlymp3-footer-v3 .site-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  color: var(--only-dark) !important;
  margin-bottom: 1rem !important;
}

.onlymp3-footer-v3 .site-logo .brand-only {
  color: var(--only-dark) !important;
  font-weight: 800 !important;
}

.onlymp3-footer-v3 .site-logo .brand-mp3 {
  color: var(--only-primary) !important;
  font-weight: 800 !important;
  margin-left: 1px !important;
}

.onlymp3-footer-v3 p {
  color: #667085 !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  opacity: 1 !important;
  margin-bottom: 0 !important;
}

.onlymp3-footer-v3 .footer-links-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.onlymp3-footer-v3 .footer-title {
  color: var(--only-dark) !important;
  font-size: .92rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
}

.onlymp3-footer-v3 ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 8px !important;
}

.onlymp3-footer-v3 .footer-link-col a {
  color: #475467 !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: color .18s ease !important;
}

.onlymp3-footer-v3 .footer-link-col a:hover,
.onlymp3-footer-v3 .footer-link-col a:focus {
  color: var(--only-primary) !important;
  text-decoration: none !important;
}

.onlymp3-footer-v3 .footer-language-dropdown {
  display: inline-flex !important;
  justify-content: flex-start !important;
  position: relative !important;
  margin-top: 1rem !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-toggle {
  min-height: 50px !important;
  padding: 13px 17px !important;
  border: 1px solid rgba(255, 49, 88, .18) !important;
  background: linear-gradient(135deg, #fff, #fff6f8) !important;
  border-radius: 16px !important;
  color: var(--only-dark) !important;
  font-size: .94rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .05) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-toggle::after {
  display: none !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-menu {
  width: 250px !important;
  min-width: 250px !important;
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  overflow-y: auto !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .09) !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-item {
  min-height: 54px !important;
  padding: 15px 16px !important;
  margin-bottom: 6px !important;
  border-radius: 16px !important;
  color: var(--only-text) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-item:hover,
.onlymp3-footer-v3 .footer-language-dropdown .dropdown-item:focus,
.onlymp3-footer-v3 .footer-language-dropdown .dropdown-item.active-preview {
  color: var(--only-primary) !important;
  background: rgba(255, 49, 88, .09) !important;
}

.onlymp3-footer-bottom-v3.footer-bottom {
  display: none !important;
  border-top: 0 !important;
  padding: 0 0 20px !important;
  margin-top: 28px !important;
  color: #667085 !important;
  background: #fff !important;
  opacity: 1 !important;
}

@media (min-width: 768px) {

  .onlymp3-footer-bottom-v3.footer-bottom {
    display: block !important;
  }
}

.onlymp3-footer-bottom-v3.footer-bottom > .container {
  border-top: 1px solid var(--only-border) !important;
  padding-top: 20px !important;
}

.onlymp3-footer-bottom-v3,
.onlymp3-footer-bottom-v3 .small {
  color: #667085 !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

.onlymp3-footer-bottom-v3 a {
  color: #475467 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

.onlymp3-footer-bottom-v3 a:hover,
.onlymp3-footer-bottom-v3 a:focus {
  color: var(--only-primary) !important;
}

/* Mobile footer/offcanvas consistency */

.onlymp3-mobile-menu-v3.mobile-offcanvas .site-logo {
  font-size: 1.55rem !important;
  letter-spacing: -.055em !important;
  font-weight: 800 !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown {
  position: relative !important;
  z-index: 30 !important;
  width: 100% !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-toggle {
  width: 100% !important;
  min-height: 58px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 49, 88, .18) !important;
  background: linear-gradient(135deg, #fff, #fff6f8) !important;
  color: var(--only-dark) !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07) !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-toggle::after {
  display: none !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .10) !important;
  z-index: 10000 !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-item {
  min-height: 48px !important;
  padding: 13px 15px !important;
  margin-bottom: 5px !important;
  border-radius: 16px !important;
  color: var(--only-text) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
}

.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-item:hover,
.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-item:focus,
.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-item.active-preview {
  color: var(--only-primary) !important;
  background: rgba(255, 49, 88, .09) !important;
}

.onlymp3-mobile-bottom-v3.mobile-bottom-nav {
  background: rgba(255, 255, 255, .96) !important;
  border-top: 1px solid var(--only-border) !important;
  box-shadow: 0 -10px 30px rgba(16, 24, 40, .08) !important;
}

.onlymp3-mobile-bottom-v3.mobile-bottom-nav a {
  color: #667085 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.onlymp3-mobile-bottom-v3.mobile-bottom-nav a:hover,
.onlymp3-mobile-bottom-v3.mobile-bottom-nav a:focus {
  color: var(--only-primary) !important;
}

@media (max-width: 767.98px) {

  body {
    padding-bottom: 74px !important;
  }
}

@media (max-width: 991.98px) {

  .onlymp3-footer-v3 .footer-links-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Ensure footer/mobile language dropdowns are closed by default */

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-menu:not(.show),
.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-menu:not(.show) {
  display: none !important;
}

.onlymp3-footer-v3 .footer-language-dropdown .dropdown-menu.show,
.onlymp3-mobile-menu-v3 .mobile-language-dropdown .dropdown-menu.show {
  display: block !important;
}

/* Final: language dropdowns closed by default */

.footer-language-dropdown .dropdown-menu:not(.show),
.mobile-language-dropdown .dropdown-menu:not(.show),
.language-dropdown .dropdown-menu:not(.show) {
  display: none !important;
}

.footer-language-dropdown .dropdown-menu.show,
.mobile-language-dropdown .dropdown-menu.show,
.language-dropdown .dropdown-menu.show {
  display: block !important;
}

:root {
  --only-dark: #071126;
  --only-text: #101828;
  --only-muted: #667085;
  --only-border: #e7eaf1;
  --only-soft: #f8f9fd;
  --only-primary: #ff3158;
  --only-primary-2: #ff0f75;
  --only-purple: #8b5cf6;
  --only-blue: #2563eb;
  --only-green: #12b76a;
  --only-yellow: #f59e0b;
}

/* Typography is intentionally bold but not extra-heavy. */

.nav-link {
  color: var(--only-text);
  font-weight: 700;
}

.btn-outline-only {
  --bs-btn-color: var(--only-primary);
  --bs-btn-border-color: var(--only-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--only-primary);
  --bs-btn-hover-border-color: var(--only-primary);
  border-radius: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 54px;
  background: radial-gradient(circle at 10% 28%, rgba(255,49,88,.10), transparent 25%),
        radial-gradient(circle at 86% 22%, rgba(139,92,246,.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fff8fb 56%, #f8f9fd 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 42%;
  width: 34%;
  height: 130px;
  opacity: .08;
  background: repeating-linear-gradient(90deg,
          transparent 0 13px,
          rgba(255,49,88,.7) 14px 16px,
          transparent 17px 29px);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::before {
  left: -4%;
}

.hero::after {
  right: -4%;
}

.floating-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff0f3;
  color: var(--only-primary);
  font-size: 1.75rem;
  box-shadow: 0 18px 35px rgba(16,24,40,.08);
}

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 700;
  color: var(--only-text);
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  max-width: 570px;
  color: #4b5565;
  font-size: 1.15rem;
  line-height: 1.7;
}

.converter-card {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 28px auto 0;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 60px rgba(16,24,40,.10);
  backdrop-filter: blur(16px);
}

.converter-input {
  height: 64px;
  border: 1px solid var(--only-border);
  border-radius: 16px;
  padding-left: 54px;
  font-weight: 600;
  color: var(--only-text);
  box-shadow: 0 10px 24px rgba(16,24,40,.05);
}

.converter-icon {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--only-primary);
  font-size: 1.25rem;
  z-index: 5;
}

.trust-row {
  color: var(--only-text);
  font-weight: 700;
  font-size: .93rem;
}

.trust-row i {
  color: var(--only-primary);
}

.section-soft {
  background: linear-gradient(180deg, #f8f9fd 0%, #fff 78%);
}

.only-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16,24,40,.06);
}

.benefit-card {
  min-height: 174px;
  padding: 28px 18px;
  text-align: center;
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.icon-pink {
  background: #fff0f3;
  color: var(--only-primary);
}

.icon-purple {
  background: #f3edff;
  color: var(--only-purple);
}

.icon-green {
  background: #eafaf1;
  color: var(--only-green);
}

.icon-yellow {
  background: #fff7e6;
  color: var(--only-yellow);
}

.benefit-card h3,
.feature-card h3,
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p,
.feature-card p,
.step-card p,
.content-card p,
.content-card li {
  color: var(--only-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.035em;
}

.step-card {
  position: relative;
  padding: 32px 26px;
  min-height: 215px;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--only-primary), #9d28f0);
  box-shadow: 0 12px 26px rgba(255,49,88,.25);
}

.content-card {
  padding: 32px;
  height: 100%;
}

.content-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.check-list i {
  color: var(--only-primary);
  margin-top: 3px;
}

.feature-card {
  padding: 24px;
  height: 100%;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  flex: 0 0 auto;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--only-border);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16,24,40,.04);
}

.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--only-text);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--only-primary);
  background: #fff5f7;
  box-shadow: none;
}

.support-strip {
  border: 1px solid #ffe2a4;
  background: linear-gradient(135deg, #fff8e7, #fffdf6);
  border-radius: 22px;
  padding: 24px;
}

.mobile-bottom-nav a,
.mobile-menu-button {
  position: relative;
  color: #667085;
  font-size: .72rem;
  font-weight: 700;
  padding: 12px 0 10px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  width: 100%;
}

@media (max-width: 767.98px) {

  /* Typography is intentionally bold but not extra-heavy. */

  .hero {
    padding: 38px 0 34px;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .floating-icon {
    display: none;
  }

  .hero::before,
  .hero::after {
    top: 40%;
    opacity: .12;
  }

  .converter-card {
    padding: 16px;
    border-radius: 22px;
  }

  .converter-input {
    height: 58px;
    padding-left: 50px;
  }

  .trust-row {
    gap: 12px !important;
    font-size: .84rem;
  }

  .benefit-card {
    min-height: 158px;
    padding: 22px 14px;
  }

  .icon-circle {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .step-card {
    min-height: auto;
    padding: 24px 20px 22px 86px;
  }

  .step-card .icon-circle {
    position: absolute;
    left: 22px;
    top: 28px;
  }

  .step-number {
    left: 14px;
    top: -10px;
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }

  .content-card {
    padding: 24px;
  }
}

.converter-input.with-paste {
  padding-right: 112px;
}

.paste-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  border: 0;
  border-radius: 12px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--only-primary);
  background: #fff0f3;
  font-weight: 700;
  transition: all .18s ease;
}

.paste-btn:hover,
.paste-btn:focus {
  color: #fff;
  background: var(--only-primary);
}

.paste-btn i {
  font-size: 1rem;
}

@media (max-width: 420px) {

  .converter-input.with-paste {
    padding-right: 58px;
  }

  .paste-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .paste-btn span {
    display: none;
  }
}

.site-logo:hover {
  color: var(--only-dark);
}

.site-logo:hover span {
  color: var(--only-primary);
}

.mobile-bottom-nav a,
.mobile-menu-button {
  isolation: isolate;
}

.mobile-bottom-nav a > *,
.mobile-menu-button > * {
  position: relative;
  z-index: 1;
}

.converter-card form {
  margin: 0;
}

@media (max-width: 767.98px) {

  .hero-title {
    letter-spacing: -.035em;
  }
}

/* Wider desktop layout restored */

@media (min-width: 1200px) {

  .site-header .container,
  .hero .container,
  .site-footer-light .container,
  main > section > .container {
    max-width: 1240px;
  }

  .converter-card {
    max-width: 960px;
  }

  .hero-title {
    max-width: 860px;
  }

  .hero-subtitle {
    max-width: 640px;
  }

  .footer-links-wrap {
    gap: clamp(48px, 6vw, 96px);
  }
}

/* Cleaner hero title sizing */

.hero-title {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.2vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 620px;
}

@media (min-width: 1200px) {

  .hero-title {
    max-width: 820px;
    font-size: 4rem;
  }
}

/* Keep footer divider lines aligned with the main container width */

/* Modern Premium Language Dropdown */

.language-dropdown .dropdown-toggle::after {
  display: none;
}

.lang-card-btn.dropdown-toggle::after {
  display: none;
}

/* Softer language dropdown shadow */

/* Unified OnlyMP3 wordmark style */

.site-logo .brand-only {
  color: var(--only-dark);
}

.site-logo:hover .brand-only {
  color: var(--only-dark);
}

.site-logo:hover .brand-mp3 {
  color: var(--only-primary);
}

/* Sitewide typography normalization */

.small,
small,
.meta-pill,
.trust-item,
.language-dropdown .dropdown-toggle,
.lang-card-btn {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}

.benefits-heading-block {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-heading-block .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--only-primary);
  background: rgba(255, 49, 88, .08);
  border: 1px solid rgba(255, 49, 88, .12);
  border-radius: 999px;
  padding: 8px 13px;
  margin-bottom: 14px;
  font-size: var(--fs-section-kicker, .86rem);
  font-weight: var(--fw-bold, 800);
}

.benefits-heading-block .section-title {
  color: var(--only-dark);
}

.benefits-heading-block .section-subtitle {
  max-width: 620px;
  color: var(--only-muted);
  font-size: 1.05rem;
}

.section-title + .section-subtitle {
  max-width: 680px;
  color: var(--only-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-heading .section-subtitle {
  margin-top: -4px;
}

/* Paste + Clear controls inside converter input */

.input-action-wrap {
  position: relative;
}

.converter-input.with-paste {
  padding-right: 176px;
}

.paste-btn {
  right: 88px;
}

.clear-url-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(16, 24, 40, .06);
  color: var(--only-muted);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  z-index: 3;
  transition: all .18s ease;
}

.clear-url-btn:hover,
.clear-url-btn:focus {
  background: rgba(255, 49, 88, .10);
  color: var(--only-primary);
}

@media (max-width: 575.98px) {

  .converter-input.with-paste {
    padding-right: 138px;
  }

  .paste-btn {
    right: 68px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .clear-url-btn {
    right: 10px;
    padding: 8px 10px;
  }

  .paste-btn span,
  .clear-url-btn span {
    display: none;
  }
}

/* Paste/Clear should use the same position, never appear side by side */

.converter-input.with-paste {
  padding-right: 112px !important;
}

.paste-btn,
.clear-url-btn {
  right: 14px !important;
  top: 50%;
  transform: translateY(-50%);
}

.clear-url-btn {
  min-width: 82px;
  justify-content: center;
}

@media (max-width: 575.98px) {

  .converter-input.with-paste {
    padding-right: 64px !important;
  }

  .paste-btn,
  .clear-url-btn {
    right: 10px !important;
  }

  .clear-url-btn {
    min-width: 42px;
  }
}

/* Improve footer link visibility */

/* Keep homepage section subtitles concise and visually one-line on larger screens */

@media (min-width: 768px) {

  .section-heading .section-subtitle,
  .benefits-heading-block .section-subtitle,
  .section-title + .section-subtitle {
    max-width: none;
  }
}

/* Synced sitewide header/footer/link visibility */

/* Footer language menu uses the same premium dropdown style */

/* Footer language expanded menu height fix */

/* Direct footer dropdown expanded-size fix */

/* Mobile offcanvas language dropdown fix */

/* Mobile language dropdown should overlay links, not push them down */

/* Prevent mobile language dropdown scroll from moving background/offcanvas links */

/* Lock background page while mobile offcanvas/footer menu is open */

/* Match How it works numbers with body text color */

#how-it-works .step-number,
#how-it-works .step-badge,
#how-it-works .process-number,
#how-it-works .how-step-number,
#how-it-works .rounded-circle {
  color: var(--only-text) !important;
}

/* Converter processing loader */

.converter-processing-status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--only-text);
  font-size: .94rem;
  font-weight: 700;
  background: rgba(255, 49, 88, .08);
  border: 1px solid rgba(255, 49, 88, .14);
  border-radius: 999px;
  padding: 9px 15px;
}

.converter-processing-status .spinner-border {
  width: 1rem;
  height: 1rem;
  color: var(--only-primary);
  border-width: .16em;
}

#convert-submit-btn.is-processing {
  pointer-events: none;
  opacity: .92;
}

#convert-submit-btn .btn-spinner {
  width: 1rem;
  height: 1rem;
  border-width: .16em;
}

@media (max-width: 575.98px) {

  .converter-processing-status {
    width: 100%;
    border-radius: 16px;
  }
}

/* Theme-aligned converter button loader */

.converter-processing-status,
#converter-processing-status {
  display: none !important;
}

#convert-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 132px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease !important;
}

#convert-submit-btn.is-processing {
  opacity: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(135deg, #ff3158, #ff5d7a) !important;
  border-color: #ff3158 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(255, 49, 88, .22) !important;
}

#convert-submit-btn .btn-spinner {
  width: 1rem !important;
  height: 1rem !important;
  border-width: .16em !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.42) !important;
  border-right-color: #fff !important;
  flex: 0 0 auto;
}

#convert-submit-btn.is-processing span:last-child {
  color: #fff !important;
  font-weight: 800 !important;
}

/* FAQ code tag styling */

#faq code {
  color: var(--only-primary);
  background: rgba(255, 49, 88, .08);
  border: 1px solid rgba(255, 49, 88, .12);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: .88em;
  font-weight: 800;
}

/* Hero spacing update */

.hero {
  padding: 15px 0 15px 0 !important;
}

/* How it works step numbers should be white */

#how-it-works .step-number,
#how-it-works .step-badge,
#how-it-works .process-number,
#how-it-works .how-step-number,
#how-it-works .rounded-circle {
  color: #fff !important;
}

#how-it-works .step-number *,
#how-it-works .step-badge *,
#how-it-works .process-number *,
#how-it-works .how-step-number *,
#how-it-works .rounded-circle * {
  color: #fff !important;
}

/* Homepage footer row/link height match */

.onlymp3-footer-v3 .footer-link-col ul,
.site-footer-light .footer-link-col ul {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.onlymp3-footer-v3 .footer-link-col li,
.site-footer-light .footer-link-col li {
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.onlymp3-footer-v3 .footer-link-col a,
.site-footer-light .footer-link-col a {
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.45 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Final green trust icons under converter form */

.hero .trust-row i.bi-check-circle,
.hero .trust-row i.bi-shield-check,
.hero .trust-row i.bi-lightning-charge {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
}

/* Green checkmarks in Why choose OnlyMP3 section */

#why-choose .bi-check-circle,
#why-choose .bi-check-circle-fill,
#why-choose .bi-check2,
#why-choose .bi-check-lg,
#why-choose .bi-patch-check,
#why-choose .bi-patch-check-fill,
.why-choose-list .bi-check-circle,
.why-choose-list .bi-check-circle-fill,
.why-choose-list .bi-check2,
.why-choose-list .bi-check-lg,
.why-choose-list .bi-patch-check,
.why-choose-list .bi-patch-check-fill {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
}

/* Blue styling only for Powerful features cards, not the Enjoying OnlyMP3 support section */

.powerful-features-blue-only .feature-icon,
.powerful-features-blue-only .icon-box,
.powerful-features-blue-only .icon-wrap,
.powerful-features-blue-only .feature-card-icon {
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, .14) !important;
  box-shadow: none !important;
}

.powerful-features-blue-only .feature-icon i,
.powerful-features-blue-only .icon-box i,
.powerful-features-blue-only .icon-wrap i,
.powerful-features-blue-only .feature-card-icon i,
.powerful-features-blue-only i.bi,
.powerful-features-blue-only svg {
  color: #2563eb !important;
  fill: #2563eb !important;
  stroke: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}

/* Preview: green styling only for Benefits of Using OnlyMP3 icons */

.benefits-green-preview-section .feature-icon,
.benefits-green-preview-section .benefit-icon,
.benefits-green-preview-section .icon-box,
.benefits-green-preview-section .icon-wrap,
.benefits-green-preview-section .card-icon {
  background: #f0fdf4 !important;
  border-color: rgba(22, 163, 74, .14) !important;
  box-shadow: none !important;
}

.benefits-green-preview-section .feature-icon i,
.benefits-green-preview-section .benefit-icon i,
.benefits-green-preview-section .icon-box i,
.benefits-green-preview-section .icon-wrap i,
.benefits-green-preview-section .card-icon i,
.benefits-green-preview-section i.bi,
.benefits-green-preview-section svg {
  color: #16a34a !important;
  fill: #16a34a !important;
  stroke: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
}

/* Vertically center icon/text rows in Why choose OnlyMP3 section */

.why-choose-align-center li,
.why-choose-align-center .why-item,
.why-choose-align-center .benefit-line,
.why-choose-align-center .check-line,
.why-choose-align-center .d-flex {
  align-items: center !important;
}

.why-choose-align-center i.bi-check-circle,
.why-choose-align-center i.bi-check-circle-fill,
.why-choose-align-center i.bi-check2,
.why-choose-align-center i.bi-check-lg,
.why-choose-align-center i.bi-patch-check,
.why-choose-align-center i.bi-patch-check-fill {
  flex-shrink: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Apply result-page coffee section color scheme to homepage support strip only */

.homepage-coffee-result-colors {
  background: linear-gradient(135deg, #fff8e7, #fffdf6) !important;
  border: 1px solid #ffe2a4 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(245, 158, 11, .10) !important;
}

/* Match result page text colors: no brown override */

.homepage-coffee-result-colors h3,
.homepage-coffee-result-colors .fw-semibold {
  color: inherit !important;
}

.homepage-coffee-result-colors p,
.homepage-coffee-result-colors .text-secondary,
.homepage-coffee-result-colors .text-muted {
  color: var(--bs-secondary-color, #6c757d) !important;
  opacity: 1 !important;
}

/* Coffee icon should be plain, not inside a circle */

.homepage-coffee-result-colors .coffee-icon-plain,
.homepage-coffee-result-colors .icon-circle,
.homepage-coffee-result-colors .icon-yellow {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #b45309 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.homepage-coffee-result-colors .btn-coffee {
  color: #b45309 !important;
  background: #fff !important;
  border: 1px solid #f59e0b !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.homepage-coffee-result-colors .btn-coffee i {
  color: #b45309 !important;
  -webkit-text-fill-color: #b45309 !important;
}

.homepage-coffee-result-colors .btn-coffee:hover {
  color: #fff !important;
  background: #f59e0b !important;
  border-color: #f59e0b !important;
}

.homepage-coffee-result-colors .btn-coffee:hover i {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Keep homepage coffee text aligned after making the coffee icon plain */

.homepage-coffee-result-colors .coffee-icon-plain,
.homepage-coffee-result-colors .icon-circle,
.homepage-coffee-result-colors .icon-yellow {
  width: 46px !important;
  min-width: 46px !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #b45309 !important;
}

.homepage-coffee-result-colors .coffee-icon-plain i,
.homepage-coffee-result-colors .icon-circle i,
.homepage-coffee-result-colors .icon-yellow i {
  color: #b45309 !important;
  -webkit-text-fill-color: #b45309 !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
}

.homepage-coffee-result-colors .row > .col {
  padding-left: .25rem !important;
}

:root {
  --only-dark: #071126;
  --only-text: #101828;
  --only-muted: #667085;
  --only-border: #e7eaf1;
  --only-soft: #f8f9fd;
  --only-primary: #ff3158;
  --only-primary-2: #ff0f75;
  --only-blue: #2563eb;
  --only-green: #12b76a;
  --only-yellow: #f59e0b;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--only-text);
  background: #fff;
  padding-bottom: 0;
}

a {
  text-decoration: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--only-dark);
}

.site-logo span {
  color: var(--only-primary);
}

.site-logo:hover,
.site-logo:hover span {
  color: var(--only-primary);
}

.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231,234,241,.75);
}

.nav-link {
  color: var(--only-text);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--only-primary);
}

.btn-only {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--only-primary);
  --bs-btn-border-color: var(--only-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e9274b;
  --bs-btn-hover-border-color: #e9274b;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(255,49,88,.24);
}

.btn-dropbox {
  color: #101828;
  background: #fff;
  border: 1px solid #cfd6e4;
  border-radius: 14px;
  font-weight: 700;
}

.btn-dropbox:hover {
  background: #f7f8fc;
  border-color: #b8c2d6;
}

.btn-dropbox.uploading {
  color: #175cd3;
  background: #eff4ff;
  border-color: #b2ccff;
  pointer-events: none;
}

.btn-dropbox.saved {
  color: #067647;
  background: #ecfdf3;
  border-color: #abefc6;
}

.text-gradient {
  background: linear-gradient(135deg, var(--only-primary), var(--only-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.result-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  background: radial-gradient(circle at 10% 28%, rgba(255,49,88,.10), transparent 25%),
        radial-gradient(circle at 86% 22%, rgba(139,92,246,.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fff8fb 56%, #f8f9fd 100%);
}

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--only-text);
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-inline: auto;
  color: #4b5565;
  font-size: 1.08rem;
  line-height: 1.7;
}

.result-section {
  background: linear-gradient(180deg, #f8f9fd 0%, #ffffff 70%);
  padding: 20px 0 56px;
}

.result-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(16,24,40,.08);
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-weight: 700;
}

.video-thumb {
  position: relative;
  min-height: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(7,17,38,.08), rgba(255,49,88,.24)),
        url("https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg") center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.video-title {
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -.025em;
  font-weight: 700;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 13px;
  background: #f4f6fa;
  color: #344054;
  font-weight: 600;
  font-size: .92rem;
}

.download-panel {
  border-left: 1px solid var(--only-border);
  padding-left: 26px;
}

.dropbox-upload-box {
  display: none;
  border: 1px solid #b2ccff;
  background: #eff4ff;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  color: #175cd3;
}

.dropbox-upload-box.show {
  display: block;
}

.dropbox-progress-shell {
  height: 12px;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
  border: 1px solid #b2ccff;
}

.dropbox-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  transition: width .35s ease;
}

.dropbox-saved-alert {
  display: none;
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.dropbox-saved-alert.show {
  display: block;
}

.upload-mini-steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.upload-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #475467;
}

.upload-step.done {
  color: #067647;
}

.upload-step.active {
  color: #175cd3;
}

.spinner-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,.25);
  border-top-color: #2563eb;
  animation: spin .8s linear infinite;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.coffee-box {
  background: linear-gradient(135deg, #fff8e7, #fffdf6);
  border: 1px solid #ffe2a4;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.btn-coffee {
  color: #b45309;
  background: #fff;
  border: 1px solid #f59e0b;
  border-radius: 14px;
  font-weight: 700;
}

.btn-coffee:hover {
  color: #fff;
  background: #f59e0b;
  border-color: #f59e0b;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--only-border);
  color: var(--only-text);
}

.share-btn:hover {
  color: var(--only-primary);
  border-color: rgba(255,49,88,.35);
  background: #fff5f7;
}

.safe-alert {
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
  border-radius: 16px;
  padding: 15px 18px;
  font-weight: 500;
}

.site-footer-light {
  background: #fff;
  border-top: 1px solid var(--only-border);
  padding: 38px 0 0;
  margin-bottom: 0;
}

.site-footer-light p,
.site-footer-light a,
.site-footer-light li {
  color: var(--only-muted);
}

.site-footer-light a:hover {
  color: var(--only-primary);
}

.footer-title {
  color: var(--only-text);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
  text-align: left;
}

.footer-link-col {
  min-width: 140px;
}

.footer-bottom {
  background: #fff;
  border-top: 1px solid var(--only-border);
  padding: 20px 0;
  margin-top: 28px;
}

.mobile-bottom-nav {
  position: fixed;
  z-index: 1030;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(231,234,241,.95);
  border-radius: 26px;
  box-shadow: 0 -6px 30px rgba(16,24,40,.16);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.mobile-bottom-nav .container {
  padding-left: 8px;
  padding-right: 8px;
}

.mobile-bottom-nav a,
.mobile-menu-button {
  position: relative;
  color: #667085;
  font-size: .72rem;
  font-weight: 700;
  padding: 12px 0 10px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  width: 100%;
  isolation: isolate;
}

.mobile-bottom-nav i,
.mobile-menu-button i {
  font-size: 1.3rem;
  line-height: 1;
}

.mobile-bottom-nav a.active {
  color: var(--only-primary);
}

.mobile-bottom-nav a.active::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 38px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,49,88,.1);
  z-index: -1;
}

.mobile-offcanvas {
  border-radius: 28px 28px 0 0;
  border: 0;
  min-height: 52vh;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 4px;
  color: var(--only-text);
  font-weight: 700;
  border-bottom: 1px solid #f0f2f6;
}

.mobile-menu-link i {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff0f3;
  color: var(--only-primary);
  font-size: 1.2rem;
}

@media (min-width: 1200px) {

  .site-header .container,
  .result-hero .container,
  .result-section .container,
  .site-footer-light .container {
    max-width: 1240px;
  }
}

@media (max-width: 991.98px) {

  .download-panel {
    border-left: 0;
    border-top: 1px solid var(--only-border);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (min-width: 768px) {

  .mobile-bottom-nav,
  .mobile-offcanvas {
    display: none !important;
  }
}

@media (max-width: 767.98px) {

  body {
    padding-bottom: 88px;
  }

  .site-logo {
    font-size: 1.55rem;
  }

  .site-header .btn {
    font-size: .88rem;
  }

  .result-hero {
    padding: 36px 0 26px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    letter-spacing: -.025em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .result-card {
    padding: 18px;
    border-radius: 24px;
  }

  .video-thumb {
    min-height: 210px;
  }

  .coffee-box {
    text-align: left;
  }

  .footer-links-wrap {
    justify-content: flex-start;
  }
}

.upload-step .spinner-border {
  width: 14px;
  height: 14px;
  border-width: 2px;
  flex: 0 0 auto;
}

.btn-dropbox .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

html {
  scroll-behavior: smooth;
}

#download-result {
  scroll-margin-top: 96px;
}

.video-info-panel {
  padding-top: 4px;
}

@media (max-width: 991.98px) {

  .video-info-panel {
    padding-top: 0;
  }
}

.btn-convert-another {
  color: var(--only-primary);
  background: #fff;
  border: 1px solid rgba(255, 49, 88, .28);
  border-radius: 14px;
  font-weight: 700;
}

.btn-convert-another:hover {
  color: #fff;
  background: var(--only-primary);
  border-color: var(--only-primary);
}

.coffee-box {
  position: relative;
}

.coffee-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 12px 28px rgba(245, 158, 11, .10);
}

.left-result-area .result-share-row {
  border-top: 1px solid var(--only-border);
  margin-top: 22px;
  padding-top: 20px;
}

.result-share-title {
  color: var(--only-text);
  font-weight: 700;
  margin-bottom: 8px;
}

.result-share-text {
  color: var(--only-muted);
  font-size: .92rem;
  margin-bottom: 12px;
}

@media (max-width: 991.98px) {

  .left-result-area .result-share-row {
    margin-top: 18px;
  }
}

.mobile-share-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(16, 24, 40, .08);
  padding: 20px;
  margin-top: 18px;
}

.mobile-share-card .result-share-row {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 991.98px) {

  .result-share-row {
    border-top: 0;
  }
}

.result-card > .mobile-share-card {
  box-shadow: none;
  margin-top: 22px;
  margin-bottom: 0;
  border: 1px solid var(--only-border);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
}

@media (max-width: 991.98px) {

  .result-card > .mobile-share-card {
    border: 1px solid var(--only-border);
    border-radius: 18px;
    background: #fff;
    padding: 16px;
  }
}

.safe-alert {
  align-items: center;
}

.safe-alert i {
  line-height: 1;
  flex: 0 0 auto;
}

.safe-alert div {
  line-height: 1.45;
}

/* Modern Premium Language Dropdown */

.language-dropdown .dropdown-toggle,
.lang-card-btn {
  border: 1px solid rgba(255, 49, 88, .18);
  background: linear-gradient(135deg, #fff, #fff6f8);
  border-radius: 16px;
  padding: 10px 15px;
  font-weight: 700;
  color: var(--only-dark);
  box-shadow: 0 14px 36px rgba(255, 49, 88, .12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.language-dropdown .dropdown-toggle::after,
.lang-card-btn.dropdown-toggle::after {
  display: none;
}

.language-dropdown .dropdown-toggle:hover,
.language-dropdown .dropdown-toggle:focus,
.lang-card-btn:hover,
.lang-card-btn:focus {
  color: var(--only-dark);
  border-color: rgba(255, 49, 88, .28);
  background: linear-gradient(135deg, #fff, #fff2f6);
  box-shadow: 0 16px 42px rgba(255, 49, 88, .16);
}

.language-dropdown .dropdown-menu,
.lang-card-menu {
  border: 1px solid rgba(255, 49, 88, .16);
  border-radius: 22px;
  padding: 10px;
  min-width: 210px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .16);
  background: #fff;
}

.language-dropdown .dropdown-item,
.lang-card-menu .dropdown-item {
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--only-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.language-dropdown .dropdown-item:hover,
.language-dropdown .dropdown-item:focus,
.lang-card-menu .dropdown-item:hover,
.lang-card-menu .dropdown-item:focus {
  color: var(--only-primary);
  background: rgba(255, 49, 88, .08);
}

.language-dropdown .dropdown-item.active,
.language-dropdown .dropdown-item.active-preview,
.lang-card-menu .dropdown-item.active,
.lang-card-menu .dropdown-item.active-preview {
  color: var(--only-primary);
  background: rgba(255, 49, 88, .10);
}

@media (max-width: 575.98px) {

  .language-dropdown .dropdown-toggle,
  .lang-card-btn {
    padding: 9px 12px;
    border-radius: 14px;
    font-size: .92rem;
  }

  .language-dropdown .dropdown-menu,
  .lang-card-menu {
    min-width: 190px;
  }
}

/* Softer language dropdown shadow */

.language-dropdown .dropdown-toggle,
.lang-card-btn {
  box-shadow: 0 6px 18px rgba(16, 24, 40, .05) !important;
}

/* Sitewide typography normalization */

:root {
  --fs-xs: .72rem;
  --fs-sm: .88rem;
  --fs-md: .94rem;
  --fs-base: 1rem;
  --fs-lead: 1.08rem;
  --fs-card-title: 1.2rem;
  --fs-section-kicker: .86rem;
  --fw-regular: 500;
  --fw-medium: 600;
  --fw-semibold: 700;
  --fw-bold: 800;
}

body {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.6;
}

.nav-link,
.footer-link-col a,
.mobile-menu-link,
.mobile-bottom-nav a span {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}

.btn,
.dropdown-item,
.accordion-button {
  font-weight: var(--fw-semibold);
}

.section-kicker,
.hero-badge,
.page-kicker,
.status-badge {
  font-size: var(--fs-section-kicker);
  font-weight: var(--fw-bold);
}

.section-title,
.page-title,
.result-title,
.hero-title {
  font-weight: var(--fw-bold);
  letter-spacing: -.045em;
}

.section-subtitle,
.hero-subtitle,
.page-lead,
.result-subtitle,
.text-secondary,
.text-muted {
  font-weight: var(--fw-regular);
}

.feature-card h3,
.step-card h3,
.legal-card h2,
.contact-method h2,
.video-title,
.footer-title {
  font-weight: var(--fw-bold);
}

.feature-card p,
.step-card p,
.accordion-body,
.legal-card p,
.legal-card li,
.result-share-text,
.coffee-support-text {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
}

.small,
small,
.meta-pill,
.trust-item,
.shortcut-tip,
.paste-message {
  font-size: var(--fs-sm);
}

.language-dropdown .dropdown-toggle,
.lang-card-btn {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}

.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--only-dark) !important;
  font-weight: var(--fw-bold);
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
}

.site-logo .brand-only {
  color: var(--only-dark);
  font-weight: var(--fw-bold);
}

.site-logo .brand-mp3 {
  color: var(--only-primary);
  font-weight: var(--fw-bold);
  margin-left: 1px;
}

@media (max-width: 767.98px) {

  body {
    font-size: .97rem;
  }

  .nav-link,
  .footer-link-col a,
  .mobile-menu-link,
  .mobile-bottom-nav a span {
    font-size: .9rem;
  }
}

/* Synced sitewide header/footer/link visibility */

.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--only-dark) !important;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
}

.site-logo .brand-only {
  color: var(--only-dark);
  font-weight: 800;
}

.site-logo .brand-mp3 {
  color: var(--only-primary);
  font-weight: 800;
  margin-left: 1px;
}

.site-header .site-logo,
.site-footer-light .site-logo {
  font-size: 1.9rem;
}

.mobile-offcanvas .site-logo {
  font-size: 1.55rem;
}

.site-footer-light .footer-link-col a,
.site-footer-light .footer-bottom a {
  color: #475467 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-decoration: none;
}

.site-footer-light .footer-link-col a:hover,
.site-footer-light .footer-bottom a:hover {
  color: var(--only-primary) !important;
}

.site-footer-light .footer-title {
  color: var(--only-dark) !important;
  font-weight: 800 !important;
}

.site-footer-light p,
.site-footer-light .footer-bottom {
  color: #667085 !important;
  opacity: 1 !important;
}

.site-footer-light {
  border-top: 0;
  padding-top: 0;
}

.site-footer-light > .container {
  border-top: 1px solid var(--only-border);
  padding-top: 38px;
}

.footer-bottom {
  border-top: 0;
  padding: 0 0 20px;
  margin-top: 28px;
}

.footer-bottom > .container {
  border-top: 1px solid var(--only-border);
  padding-top: 20px;
}

.language-dropdown .dropdown-toggle,
.lang-card-btn {
  box-shadow: 0 6px 18px rgba(16, 24, 40, .05) !important;
  font-weight: 700;
}

.language-dropdown .dropdown-toggle:hover,
.language-dropdown .dropdown-toggle:focus,
.lang-card-btn:hover,
.lang-card-btn:focus {
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07) !important;
}

.language-dropdown .dropdown-menu,
.lang-card-menu {
  box-shadow: 0 12px 34px rgba(16, 24, 40, .09) !important;
}

@media (max-width: 767.98px) {

  .site-header .site-logo {
    font-size: 1.55rem;
  }
}

/* Footer language menu uses the same premium dropdown style */

.footer-language-dropdown {
  display: inline-flex;
  justify-content: flex-start;
}

.footer-language-dropdown .dropdown-toggle {
  border: 1px solid rgba(255, 49, 88, .18);
  background: linear-gradient(135deg, #fff, #fff6f8);
  border-radius: 16px;
  padding: 10px 15px;
  font-size: .94rem;
  font-weight: 700;
  color: var(--only-dark);
  box-shadow: 0 6px 18px rgba(16, 24, 40, .05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.footer-language-dropdown .dropdown-toggle::after {
  display: none;
}

.footer-language-dropdown .dropdown-toggle:hover,
.footer-language-dropdown .dropdown-toggle:focus {
  color: var(--only-dark);
  border-color: rgba(255, 49, 88, .28);
  background: linear-gradient(135deg, #fff, #fff2f6);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
}

.footer-language-dropdown .dropdown-menu {
  border: 1px solid rgba(255, 49, 88, .16);
  border-radius: 22px;
  padding: 10px;
  min-width: 210px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .09);
  background: #fff;
}

.footer-language-dropdown .dropdown-item {
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--only-text) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-language-dropdown .dropdown-item:hover,
.footer-language-dropdown .dropdown-item:focus {
  color: var(--only-primary) !important;
  background: rgba(255, 49, 88, .08);
}

.footer-language-dropdown .dropdown-item.active-preview {
  color: var(--only-primary) !important;
  background: rgba(255, 49, 88, .10);
}

/* Footer language expanded menu height fix */

.site-footer-light .footer-language-dropdown .dropdown-menu,
.site-footer-light .language-dropdown .dropdown-menu {
  min-height: 292px !important;
  padding: 14px !important;
  border-radius: 24px !important;
}

.site-footer-light .footer-language-dropdown .dropdown-item,
.site-footer-light .language-dropdown .dropdown-item {
  min-height: 48px !important;
  padding: 13px 14px !important;
  border-radius: 15px !important;
  line-height: 1.25 !important;
  font-size: .95rem !important;
}

.site-footer-light .footer-language-dropdown .dropdown-toggle,
.site-footer-light .language-dropdown .dropdown-toggle {
  min-height: 46px !important;
  padding: 12px 16px !important;
}

@media (max-width: 767.98px) {

  .site-footer-light .footer-language-dropdown .dropdown-menu,
  .site-footer-light .language-dropdown .dropdown-menu {
    min-height: 280px !important;
  }
}

/* Direct footer dropdown expanded-size fix */

.site-footer-light .footer-language-dropdown .dropdown-menu {
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  overflow-y: auto !important;
  padding: 18px !important;
  width: 250px !important;
  border-radius: 26px !important;
}

.site-footer-light .footer-language-dropdown .dropdown-menu.show {
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
}

.site-footer-light .footer-language-dropdown .dropdown-item {
  min-height: 54px !important;
  padding: 15px 16px !important;
  margin-bottom: 6px !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.site-footer-light .footer-language-dropdown .dropdown-toggle {
  min-height: 50px !important;
  padding: 13px 17px !important;
}

/* Mobile offcanvas language dropdown fix */

.mobile-offcanvas {
  min-height: 70vh !important;
}

.mobile-offcanvas .mobile-language-dropdown {
  width: 100%;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-toggle {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255, 49, 88, .18);
  background: linear-gradient(135deg, #fff, #fff6f8);
  color: var(--only-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-toggle::after {
  display: none;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-menu {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  min-height: 330px !important;
  max-height: 330px !important;
  overflow-y: auto !important;
  margin-top: 12px !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 49, 88, .16);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .10);
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-menu.show {
  min-height: 330px !important;
  max-height: 330px !important;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-item {
  min-height: 54px !important;
  padding: 15px 16px !important;
  margin-bottom: 7px !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--only-text) !important;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-item:hover,
.mobile-offcanvas .mobile-language-dropdown .dropdown-item:focus,
.mobile-offcanvas .mobile-language-dropdown .dropdown-item.active-preview {
  color: var(--only-primary) !important;
  background: rgba(255, 49, 88, .09);
}

/* Mobile language dropdown should overlay links, not push them down */

.mobile-offcanvas .mobile-language-dropdown {
  position: relative !important;
  z-index: 30 !important;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  min-height: auto !important;
  height: auto !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  margin-top: 0 !important;
  z-index: 9999 !important;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-menu.show {
  position: absolute !important;
  min-height: auto !important;
  height: auto !important;
  max-height: 260px !important;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-item {
  min-height: 48px !important;
  padding: 13px 15px !important;
  margin-bottom: 5px !important;
}

.mobile-offcanvas .offcanvas-body {
  overflow-y: auto;
  overflow-x: visible;
}

/* Prevent mobile language dropdown scroll from moving background/offcanvas links */

.mobile-offcanvas.language-dropdown-open .offcanvas-body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

.mobile-offcanvas.language-dropdown-open .mobile-language-dropdown,
.mobile-offcanvas.language-dropdown-open .mobile-language-dropdown .dropdown-menu {
  touch-action: pan-y;
}

.mobile-offcanvas .mobile-language-dropdown .dropdown-menu {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  z-index: 10000 !important;
}

/* Lock background page while mobile offcanvas/footer menu is open */

html.mobile-menu-page-locked,
body.mobile-menu-page-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

body.mobile-menu-page-locked {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100% !important;
}

#mobileMenu {
  overscroll-behavior: contain !important;
}

#mobileMenu .offcanvas-body {
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Result page mz shortcut tip */

.result-shortcut-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  color: var(--only-text);
  background: rgba(255, 49, 88, .07);
  border: 1px solid rgba(255, 49, 88, .14);
  border-radius: 18px;
  padding: 12px 14px;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
}

.result-shortcut-tip i {
  color: var(--only-primary);
  font-size: 1.05rem;
  line-height: 1.35;
  flex: 0 0 auto;
}

.result-shortcut-tip code {
  color: var(--only-primary);
  background: rgba(255, 49, 88, .10);
  border: 1px solid rgba(255, 49, 88, .12);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: .88em;
  font-weight: 800;
}

@media (max-width: 575.98px) {

  .result-shortcut-tip {
    border-radius: 16px;
    padding: 11px 12px;
    font-size: .9rem;
  }
}

/* Modern result shortcut tip icon */

.result-shortcut-tip {
  align-items: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, rgba(255, 49, 88, .075), rgba(255, 49, 88, .035)) !important;
  border: 1px solid rgba(255, 49, 88, .14) !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04) !important;
}

.result-shortcut-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #ff3158, #ff6f8a);
  box-shadow: 0 8px 18px rgba(255, 49, 88, .20);
}

.result-shortcut-icon i {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

@media (max-width: 575.98px) {

  .result-shortcut-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 11px;
  }
}

/* Bulb icon for result shortcut tip */

.result-shortcut-icon .bi-lightbulb-fill {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

/* YouTube thumbnail: force clean 16:9 frame and crop overflow */

.video-thumb {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.video-thumb img,
.video-thumb picture,
.video-thumb picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.video-thumb picture {
  position: absolute !important;
  inset: 0 !important;
}

.video-thumb > img {
  position: absolute !important;
  inset: 0 !important;
}

/* Preview: duration moved into meta pill row */

.video-info-panel .meta-pill {
  white-space: nowrap;
}

/* Tighten result metadata pills so they fit in one row */

.video-info-panel .meta-pill {
  padding: 6px 9px !important;
  font-size: .82rem !important;
  line-height: 1.15 !important;
  gap: 4px !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}

.video-info-panel .meta-pill i {
  font-size: .88rem !important;
  margin-right: 2px !important;
}

.video-info-panel .d-flex.flex-wrap:has(.meta-pill) {
  gap: 6px !important;
  margin-bottom: 16px !important;
}

@media (max-width: 575.98px) {

  .video-info-panel .meta-pill {
    padding: 5px 7px !important;
    font-size: .76rem !important;
  }

  .video-info-panel .meta-pill i {
    font-size: .8rem !important;
    margin-right: 1px !important;
  }

  .video-info-panel .d-flex.flex-wrap:has(.meta-pill) {
    gap: 5px !important;
  }
}

/* Reduce result page video title size */

.video-info-panel .video-title {
  font-size: 1.22rem !important;
  line-height: 1.35 !important;
  margin-bottom: 14px !important;
}

@media (max-width: 575.98px) {

  .video-info-panel .video-title {
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
  }
}

/* MZ shortcut tip: equal spacing on desktop, hidden on mobile */

.result-shortcut-tip {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* Donation modal after MP3 download */

.support-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .54);
  backdrop-filter: blur(7px);
}

.support-modal-overlay.is-visible {
  display: flex;
}

.support-modal-card {
  width: min(100%, 410px);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 226, 164, .85);
  background: linear-gradient(135deg, #fff8e7, #fffdf6);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  padding: 28px;
  text-align: center;
  animation: supportModalIn .22s ease-out;
}

@keyframes supportModalIn {

  from {
    transform: translateY(12px) scale(.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.support-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(180, 83, 9, .08);
  color: #92400e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, transform .18s ease;
}

.support-modal-close:hover {
  background: rgba(180, 83, 9, .14);
  transform: rotate(90deg);
}

.support-modal-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: transparent;
  color: #b45309;
  border: 1px solid #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(245, 158, 11, .14);
  font-size: 1.75rem;
}

.support-modal-title {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.02em;
}

.support-modal-text {
  margin: 0 auto 20px;
  max-width: 340px;
  color: #6b7280;
  font-size: .96rem;
  line-height: 1.65;
  text-align: justify;
  text-align-last: center;
}

.support-modal-actions {
  display: grid;
  gap: 10px;
}

.support-modal-btn {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.support-modal-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.support-modal-btn-coffee {
  background: transparent;
  color: #b45309;
  border-color: #f59e0b;
  box-shadow: 0 10px 22px rgba(245, 158, 11, .16);
}

.support-modal-btn-coffee:hover {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 13px 26px rgba(245, 158, 11, .24);
}

.support-modal-btn-muted {
  background: transparent;
  color: #92400e;
  border-color: rgba(180, 83, 9, .18);
}

@media (max-width: 575.98px) {

  .support-modal-card {
    border-radius: 20px;
    padding: 24px 18px;
  }

  .support-modal-title {
    font-size: 1.28rem;
  }
}

/* Dropbox status: keep the original button style; only add a small spinner */

.dropbox-status-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: dropboxSpin .72s linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}

@keyframes dropboxSpin {

  to {
    transform: rotate(360deg);
  }
}

/* Keep the bulb perfectly centered after moving CSS into the shared stylesheet. */

.result-shortcut-tip .result-shortcut-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.result-shortcut-tip .result-shortcut-icon i,
.result-shortcut-tip .result-shortcut-icon .bi-lightbulb-fill {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  transform: none !important;
}

@media (max-width: 575.98px) {

  .result-shortcut-tip .result-shortcut-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-basis: 32px !important;
  }
}

.url-error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 9px 14px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff1f2;
  color: #dc2626;
  font-size: .92rem;
  font-weight: var(--fw-regular);
  line-height: 1.35;
  animation: onlymp3ErrorIn .18s ease-out;
}

.url-error.d-none {
  display: none !important;
}

.url-error i {
  line-height: 1;
}

.has-youtube-error,
.input-row.has-youtube-error,
.converter-input.has-youtube-error,
.search-box.has-youtube-error {
  border-color: #fecdd3 !important;
  box-shadow: 0 12px 32px rgba(220, 38, 38, .08) !important;
}

@keyframes onlymp3ErrorIn {

  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {

  .url-error {
    width: 100%;
    border-radius: 16px;
    text-align: left;
    align-items: flex-start;
  }
}

/* The input/error column can grow, but the Convert MP3 button stays aligned to the top input field. */

.youtube-converter-row-fixed,
[data-youtube-form-row] {
  display: flex !important;
  align-items: flex-start !important;
}

.youtube-input-col {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.youtube-submit-col {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

.youtube-submit-col .convert-btn,
.youtube-submit-col button,
.youtube-submit-col .btn {
  margin-top: 0 !important;
  align-self: flex-start !important;
  transform: none !important;
}

.youtube-input-col .url-error {
  position: static !important;
  align-self: flex-start !important;
  margin: 12px 0 0 !important;
  width: fit-content !important;
  max-width: 100% !important;
}

/* Keep the trust row lower only when the error is visible, without moving the button. */

.youtube-input-col:has(.url-error:not(.d-none)) {
  margin-bottom: 8px !important;
}

@media (max-width: 575.98px) {

  .youtube-converter-row-fixed,
  [data-youtube-form-row] {
    flex-direction: column !important;
  }

  .youtube-input-col,
  .youtube-submit-col {
    width: 100% !important;
  }

  .youtube-submit-col .convert-btn,
  .youtube-submit-col button,
  .youtube-submit-col .btn {
    width: 100% !important;
  }

  .youtube-input-col .url-error {
    width: 100% !important;
    margin-top: 10px !important;
  }
}

/* Activates only when the URL input has text. */

[data-convert-button] {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

[data-convert-button] i,
[data-convert-button] span {
  position: relative;
  z-index: 2;
}

[data-convert-button].is-ready:not(.is-processing):not(:disabled):not([aria-busy="true"])::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  transform: skewX(-18deg);
  animation: onlymp3ShimmerSweep 1.65s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes onlymp3ShimmerSweep {

  0% {
    left: -55%;
  }

  52%,
  100% {
    left: 120%;
  }
}

@media (prefers-reduced-motion: reduce) {

  [data-convert-button].is-ready:not(.is-processing):not(:disabled):not([aria-busy="true"])::before {
    animation: none;
    display: none;
  }
}

:root {
  --only-converter-control-height: 64px;
}

.youtube-input-col .input-action-wrap,
.youtube-submit-col,
.youtube-submit-col [data-convert-button],
[data-youtube-form-row] [data-convert-button] {
  height: var(--only-converter-control-height) !important;
  min-height: var(--only-converter-control-height) !important;
}

.youtube-input-col .converter-input,
.youtube-input-col input[data-youtube-url-input] {
  height: var(--only-converter-control-height) !important;
  min-height: var(--only-converter-control-height) !important;
}

.youtube-submit-col {
  display: flex !important;
  align-items: stretch !important;
}

.youtube-submit-col [data-convert-button],
[data-youtube-form-row] [data-convert-button] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 575.98px) {

  :root {
    --only-converter-control-height: 58px;
  }

  .youtube-submit-col,
  .youtube-submit-col [data-convert-button],
  [data-youtube-form-row] [data-convert-button] {
    width: 100% !important;
  }
}

.soft-error-main {
  min-height: 68vh;
  display: flex;
  align-items: stretch;
}

.soft-error-hero {
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(66px, 9vw, 118px) 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, .14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 49, 88, .16), transparent 34%);
}

.soft-error-card {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 34px;
  text-align: center;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.soft-error-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 49, 88, .18), transparent 68%);
  top: -120px;
  right: -110px;
  pointer-events: none;
}

.soft-error-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, .15), transparent 70%);
  left: -105px;
  bottom: -110px;
  pointer-events: none;
}

.soft-error-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #be123c;
  background: rgba(255, 241, 244, .92);
  font-size: .86rem;
  font-weight: 850;
  margin-bottom: 20px;
}

.soft-error-card h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.15rem, 6vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -.065em;
  font-weight: 950;
  margin: 0 0 16px;
  color: #111827;
}

.soft-error-code {
  color: #ff3158;
}

.soft-error-card p {
  position: relative;
  z-index: 1;
  color: #64748b;
  font-size: 1.06rem;
  line-height: 1.72;
  max-width: 600px;
  margin: 0 auto 28px;
}

.soft-error-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.soft-error-actions .btn {
  min-height: 48px;
  border-radius: 999px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 850;
}

.soft-error-secondary {
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(229, 231, 235, .95);
  color: #111827;
}

.soft-error-secondary:hover {
  background: #fff1f4;
  border-color: rgba(255, 49, 88, .22);
  color: #be123c;
}

@media (max-width: 575.98px) {

  .soft-error-hero {
    padding: 48px 0 74px;
  }

  .soft-error-card {
    border-radius: 26px;
    padding: 32px 20px;
  }

  .soft-error-actions {
    flex-direction: column;
  }

  .soft-error-actions .btn {
    width: 100%;
  }
}

.soft-error-kicker {
  font-weight: 700 !important;
}

.soft-error-card h1 {
  font-weight: 780 !important;
}

.soft-error-code {
  font-weight: 820 !important;
}

.soft-error-card p {
  font-weight: 400 !important;
}

.soft-error-actions {
  align-items: center !important;
}

.soft-error-actions .btn {
  height: 48px !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-weight: 700 !important;
  vertical-align: middle !important;
}

.soft-error-actions .btn i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 1rem !important;
  margin: 0 !important;
  position: relative;
  top: 0;
}

.soft-error-primary,
.soft-error-secondary {
  font-weight: 700 !important;
}

@media (max-width: 575.98px) {

  .soft-error-actions .btn {
    height: 48px !important;
    min-height: 48px !important;
  }
}

.onlymp3-footer-v3.site-footer-light,
.onlymp3-footer-v3.site-footer-light {
  display: block !important;
}

.onlymp3-footer-bottom-v3.footer-bottom,
.onlymp3-footer-bottom-v3.footer-bottom {
  display: block !important;
}

@media (max-width: 767.98px) {

  .onlymp3-footer-v3,
  .onlymp3-footer-v3.site-footer-light,
  .onlymp3-footer-bottom-v3,
  .onlymp3-footer-bottom-v3.footer-bottom {
    display: block !important;
  }

  .onlymp3-footer-v3 {
    padding-top: 38px !important;
    padding-bottom: 22px !important;
  }

  .onlymp3-footer-v3 .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .onlymp3-footer-v3 .row {
    row-gap: 24px !important;
  }

  .onlymp3-footer-v3 [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: left !important;
  }

  .onlymp3-footer-v3 .site-logo,
  .onlymp3-footer-v3 .footer-brand,
  .onlymp3-footer-v3 .footer-logo {
    display: inline-flex !important;
    margin-bottom: 10px !important;
  }

  .onlymp3-footer-v3 h5,
  .onlymp3-footer-v3 .footer-title {
    margin-bottom: 10px !important;
  }

  .onlymp3-footer-v3 ul,
  .onlymp3-footer-v3 .footer-links {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
  }

  .onlymp3-footer-v3 li + li {
    margin-top: 8px !important;
  }

  .onlymp3-footer-v3 a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
  }

  .onlymp3-footer-bottom-v3 {
    padding: 16px 20px 20px !important;
    text-align: center !important;
  }

  .onlymp3-footer-bottom-v3 .container,
  .onlymp3-footer-bottom-v3 .row,
  .onlymp3-footer-bottom-v3 [class*="col-"] {
    text-align: center !important;
  }
}

.mobile-glass-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 14px;
  background: #ffffff;
  color: var(--only-text);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
  transition: color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
  position: relative;
  z-index: 1062;
}

.mobile-glass-toggle:hover,
.mobile-glass-toggle:focus-visible {
  border-color: rgba(255, 49, 88, .28);
  box-shadow: 0 10px 26px rgba(255, 49, 88, .12);
  outline: none;
}

.mobile-glass-toggle:active {
  transform: scale(.96);
}

.mobile-glass-toggle-lines {
  width: 20px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-glass-toggle-lines span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .24s ease, opacity .18s ease;
}

.mobile-glass-toggle.is-open {
  color: var(--only-primary);
  background: #fff1f4;
  border-color: rgba(255, 49, 88, .24);
}

.mobile-glass-toggle.is-open .mobile-glass-toggle-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-glass-toggle.is-open .mobile-glass-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-glass-toggle.is-open .mobile-glass-toggle-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.onlymp3-mobile-glass-menu {
  display: none;
}

@media (max-width: 767.98px) {

  .site-header {
    position: relative;
    z-index: 1060;
  }

  .site-header .desktop-header-language {
    display: none !important;
  }

  .onlymp3-mobile-glass-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .onlymp3-mobile-glass-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .onlymp3-mobile-glass-panel {
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: none;
    transform: translateY(-12px) scale(.97);
    transform-origin: top center;
    transition: transform .24s cubic-bezier(.22, .8, .3, 1);
  }

  .onlymp3-mobile-glass-menu.is-open .onlymp3-mobile-glass-panel {
    transform: translateY(0) scale(1);
  }

  .onlymp3-glass-nav-link {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 12px;
    border-radius: 15px;
    color: var(--only-text);
    text-decoration: none;
    font-size: .96rem;
    font-weight: 680;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }

  .onlymp3-glass-nav-link:hover,
  .onlymp3-glass-nav-link:focus-visible,
  .onlymp3-glass-nav-link.active {
    color: var(--only-primary);
    background: rgba(255, 49, 88, .075);
    outline: none;
  }

  .onlymp3-glass-nav-link:active {
    transform: scale(.985);
  }

  .onlymp3-glass-nav-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--only-primary);
    background: #fff1f4;
    font-size: 1rem;
  }

  .onlymp3-glass-nav-label {
    flex: 1 1 auto;
  }

  .onlymp3-glass-nav-arrow {
    color: #aeb7c4;
    font-size: .78rem;
  }

  .onlymp3-glass-language {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(228, 231, 236, .90);
  }

  .onlymp3-glass-language-toggle {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--only-text);
    font: inherit;
    font-size: .96rem;
    font-weight: 680;
    cursor: pointer;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: var(--only-primary);
    background: rgba(255, 49, 88, .075);
  }

  .onlymp3-glass-language-left {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .onlymp3-glass-language-current {
    color: var(--only-muted);
    font-size: .78rem;
    font-weight: 680;
  }

  .onlymp3-glass-language-caret {
    color: #98a2b3;
    font-size: .8rem;
    transition: transform .2s ease;
  }

  .onlymp3-glass-language.is-open .onlymp3-glass-language-caret {
    transform: rotate(180deg);
  }

  .onlymp3-glass-language-menu {
    display: none;
    gap: 4px;
    margin-top: 6px;
    padding: 7px;
    border: 1px solid rgba(228, 231, 236, .95);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 32px rgba(16, 24, 40, .12);
  }

  .onlymp3-glass-language.is-open .onlymp3-glass-language-menu {
    display: grid;
  }

  .onlymp3-glass-language-option {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 11px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--only-text);
    font: inherit;
    font-size: .9rem;
    font-weight: 620;
    cursor: pointer;
  }

  .onlymp3-glass-language-option:hover,
  .onlymp3-glass-language-option.active {
    color: var(--only-primary);
    background: rgba(255, 49, 88, .075);
  }

  body.onlymp3-mobile-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) {

  .mobile-glass-toggle,
  .onlymp3-mobile-glass-menu {
    display: none !important;
  }
}

.onlymp3-nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: .95em;
  line-height: 1;
}

.onlymp3-nav-link-label {
  line-height: 1.2;
}

.onlymp3-desktop-nav-link.onlymp3-support-nav-link,
.onlymp3-glass-nav-link.onlymp3-support-nav-link {
  color: var(--only-primary) !important;
}

.onlymp3-desktop-nav-link.onlymp3-support-nav-link:hover,
.onlymp3-desktop-nav-link.onlymp3-support-nav-link:focus-visible {
  color: var(--only-primary-dark, #d91d49) !important;
}

.onlymp3-glass-nav-link.onlymp3-support-nav-link .onlymp3-glass-nav-icon {
  color: var(--only-primary);
  background: #fff1f4;
}

@media (max-width: 767.98px) {

  .onlymp3-glass-nav-link {
    align-items: center !important;
  }

  .onlymp3-glass-nav-link .onlymp3-glass-nav-label {
    line-height: 1.25;
  }
}

.site-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  text-decoration: none !important;
}

.site-logo .brand-only,
.site-logo .brand-mp3 {
  display: inline;
  line-height: 1;
}

.site-logo .brand-only {
  color: var(--only-text);
}

.site-logo .brand-mp3 {
  color: var(--only-primary);
}

.site-logo > i,
.site-logo > svg,
.site-logo > img,
.site-logo > .onlymp3-nav-link-icon {
  display: none !important;
}

.onlymp3-desktop-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap;
}

.onlymp3-desktop-nav-link .onlymp3-nav-link-icon {
  width: 1em;
  min-width: 1em;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.onlymp3-desktop-nav-link.active {
  color: var(--only-primary) !important;
}

.onlymp3-support-nav-link {
  color: var(--only-primary) !important;
}

.onlymp3-support-nav-link:hover,
.onlymp3-support-nav-link:focus-visible {
  color: var(--only-primary-dark, #d91d49) !important;
}

.language-dropdown .onlymp3-desktop-nav-link,
.language-dropdown .onlymp3-support-nav-link {
  display: none !important;
}

/* Keep Support Us visually consistent with every other link. */

.onlymp3-desktop-nav-link,
.onlymp3-glass-nav-link {
  color: inherit;
}

.onlymp3-desktop-nav-link:hover,
.onlymp3-desktop-nav-link:focus-visible,
.onlymp3-desktop-nav-link.active {
  color: var(--only-primary) !important;
}

@media (max-width: 767.98px) {

  /* Use an opaque panel so the red Convert MP3 button cannot bleed through. */

  .onlymp3-mobile-glass-panel {
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    isolation: isolate;
  }

  .onlymp3-mobile-glass-menu {
    background: rgba(15, 23, 42, .24) !important;
  }

  .onlymp3-glass-language-toggle {
    color: var(--only-text) !important;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: var(--only-primary) !important;
  }
}

:root {

  /* Shared layout spacing */
  --onlymp3-layout-gutter: 24px;
  --onlymp3-section-space: clamp(38px, 4vw, 50px);
  --onlymp3-heading-gap: 24px;

  /* Shared radius template */
  --onlymp3-radius-control: 14px;
  --onlymp3-radius-card: 20px;
  --onlymp3-radius-panel: 24px;
  --onlymp3-radius-pill: 999px;
  --onlymp3-radius-circle: 50%;
}

/* Use the same horizontal gutter in the header, page sections and footer. */

.site-header .container,
.onlymp3-section > .container,
.onlymp3-footer-v3 > .container,
.onlymp3-footer-bottom-v3 > .container {
  padding-left: var(--onlymp3-layout-gutter) !important;
  padding-right: var(--onlymp3-layout-gutter) !important;
}

/* Header spacing */

.site-header {
  margin: 0 !important;
}

.site-header .navbar {
  min-height: 76px;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Unified section rhythm */

main > .onlymp3-section {
  margin: 0 !important;
  padding-top: var(--onlymp3-section-space) !important;
  padding-bottom: var(--onlymp3-section-space) !important;
}

main > .onlymp3-section + .onlymp3-section {
  margin-top: 0 !important;
}

.onlymp3-section-heading {
  margin-top: 0 !important;
  margin-bottom: var(--onlymp3-heading-gap) !important;
}

.onlymp3-section-heading .section-title {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.onlymp3-section-heading .section-subtitle,
.onlymp3-section-heading .section-title + p {
  margin-bottom: 0 !important;
}

/* Consistent radius scale */

.btn,
.form-control,
.contact-input,
.lang-card-btn,
.dropdown-toggle,
.paste-btn,
.clear-url-btn,
.share-btn,
.support-modal-close,
.onlymp3-glass-nav-link,
.onlymp3-glass-language-toggle,
.onlymp3-glass-language-option,
.footer-link-col a {
  border-radius: var(--onlymp3-radius-control) !important;
}

.only-card,
.benefit-card,
.feature-card,
.step-card,
.content-card,
.contact-card,
.legal-card,
.legal-side-card,
.result-card,
.soft-error-card,
.accordion-item,
.mobile-share-card,
.result-shortcut-tip,
.support-modal-card {
  border-radius: var(--onlymp3-radius-card) !important;
}

.converter-card,
.onlymp3-mobile-glass-panel,
.dropdown-menu,
.support-modal-overlay .support-modal-card {
  border-radius: var(--onlymp3-radius-panel) !important;
}

.rounded-pill,
.converter-input {
  border-radius: var(--onlymp3-radius-pill) !important;
}

.icon-circle,
.step-number,
.floating-icon {
  border-radius: var(--onlymp3-radius-circle) !important;
}

/* Optimized footer */

.onlymp3-footer-v3.site-footer-light {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--only-text) !important;
  background: #ffffff !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.onlymp3-footer-main {
  padding-top: 54px !important;
  padding-bottom: 44px !important;
}

.onlymp3-footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(135px, .75fr));
  gap: 40px;
  align-items: start;
}

.onlymp3-footer-brand {
  min-width: 0;
}

.onlymp3-footer-logo.site-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  margin: 0 0 14px !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

.onlymp3-footer-tagline {
  max-width: 320px;
  margin: 0 !important;
  color: #667085 !important;
  font-size: .94rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

.onlymp3-footer-v3 .footer-link-col {
  min-width: 0;
}

.onlymp3-footer-v3 .footer-title {
  margin: 0 0 14px !important;
  color: var(--only-dark) !important;
  font-size: .92rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.onlymp3-footer-v3 .footer-link-list {
  display: grid !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.onlymp3-footer-v3 .footer-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 0 !important;
  color: #475467 !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  transition: color .18s ease;
}

.onlymp3-footer-v3 .footer-link-list a:hover,
.onlymp3-footer-v3 .footer-link-list a:focus-visible {
  color: var(--only-primary) !important;
  outline: none;
}

.onlymp3-footer-bottom-v3.footer-bottom {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #667085 !important;
  background: #ffffff !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.onlymp3-footer-bottom-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.onlymp3-footer-bottom-inner p {
  margin: 0 !important;
  color: #667085 !important;
  font-size: .86rem !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

.onlymp3-footer-bottom-inner p:last-child {
  max-width: 580px;
  text-align: right;
}

/* Removed footer language control: guarantee no old dropdown is shown. */

.onlymp3-footer-v3 .footer-language-dropdown,
.onlymp3-footer-v3 .language-dropdown {
  display: none !important;
}

@media (max-width: 991.98px) {

  .onlymp3-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }

  .onlymp3-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {

  :root {
    --onlymp3-layout-gutter: 18px;
    --onlymp3-section-space: 34px;
    --onlymp3-heading-gap: 20px;
  }

  body {
    padding-bottom: 0 !important;
  }

  .site-header .navbar {
    min-height: 68px;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
  }

  /* Vertically center each step icon in the horizontal mobile card. */

  .step-card {
    min-height: 132px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 24px 20px 24px 90px !important;
  }

  .step-card .icon-circle {
    position: absolute !important;
    left: 22px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  /* The entire footer becomes one clean column on mobile. */

  .onlymp3-footer-main {
    padding-top: 42px !important;
    padding-bottom: 34px !important;
  }

  .onlymp3-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .onlymp3-footer-brand {
    grid-column: auto;
  }

  .onlymp3-footer-tagline {
    max-width: 100%;
  }

  .onlymp3-footer-v3 .footer-title {
    margin-bottom: 10px !important;
  }

  .onlymp3-footer-v3 .footer-link-list {
    gap: 6px !important;
  }

  .onlymp3-footer-v3 .footer-link-list a {
    min-height: 38px;
  }

  .onlymp3-footer-bottom-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px !important;
    padding-bottom: 22px !important;
  }

  .onlymp3-footer-bottom-inner p:last-child {
    max-width: none;
    text-align: left;
  }
}

/* Covers common full-screen iPad CSS sizes:
 744, 768, 810, 820, 834, 1024, 1080, 1133, 1180, 1194 and 1366px.
 The minimum height prevents phone landscape screens from receiving
 the three-column tablet footer. */

@media (min-width: 700px) and (max-width: 1366px) and (min-height: 700px) {

  :root {
    --onlymp3-layout-gutter: clamp(24px, 4vw, 48px);
  }

  .onlymp3-footer-main {
    padding-top: clamp(44px, 5vw, 58px) !important;
    padding-bottom: clamp(38px, 4.5vw, 50px) !important;
  }

  .onlymp3-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas: "brand brand brand"
      "column-one column-two column-three";
    column-gap: clamp(24px, 4vw, 52px) !important;
    row-gap: clamp(30px, 4vw, 42px) !important;
    align-items: start !important;
  }

  .onlymp3-footer-brand {
    grid-area: brand !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(1) {
    grid-area: column-one;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(2) {
    grid-area: column-two;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(3) {
    grid-area: column-three;
  }

  .onlymp3-footer-logo.site-logo {
    margin-bottom: 12px !important;
  }

  .onlymp3-footer-tagline {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
  }

  .onlymp3-footer-v3 .footer-link-col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    text-align: left !important;
  }

  .onlymp3-footer-v3 .footer-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .onlymp3-footer-v3 .footer-link-list {
    display: grid !important;
    gap: 7px !important;
  }

  .onlymp3-footer-v3 .footer-link-list a {
    min-height: 34px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .onlymp3-footer-bottom-inner {
    display: grid !important;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr) !important;
    align-items: start !important;
    justify-content: initial !important;
    gap: 24px 36px !important;
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 22px !important;
  }

  .onlymp3-footer-bottom-inner p:first-child {
    text-align: left !important;
  }

  .onlymp3-footer-bottom-inner p:last-child {
    max-width: none !important;
    text-align: right !important;
  }
}

/* Compact portrait sizes such as iPad mini and standard iPad. */

@media (min-width: 700px) and (max-width: 899.98px) and (min-height: 700px) {

  .onlymp3-footer-grid {
    column-gap: 24px !important;
    row-gap: 32px !important;
  }

  .onlymp3-footer-tagline {
    max-width: 560px !important;
  }

  .onlymp3-footer-v3 .footer-title {
    font-size: .9rem !important;
  }

  .onlymp3-footer-v3 .footer-link-list a {
    font-size: .88rem !important;
  }

  .onlymp3-footer-bottom-inner {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .onlymp3-footer-bottom-inner p:last-child {
    text-align: left !important;
  }
}

/* Wider iPad landscape and iPad Pro screens. */

@media (min-width: 1100px) and (max-width: 1366px) and (min-height: 700px) {

  .onlymp3-footer-grid {
    column-gap: clamp(42px, 5vw, 68px) !important;
  }

  .onlymp3-footer-tagline {
    max-width: 680px !important;
  }
}

:root {
  --onlymp3-phone-gutter: 18px;
  --onlymp3-tablet-gutter: clamp(24px, 4vw, 36px);
  --onlymp3-touch-target: 44px;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: 88px;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

main,
main > section,
.site-header,
.onlymp3-footer-v3 {
  min-width: 0;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.row > *,
.onlymp3-footer-grid > *,
.result-card > *,
.content-card,
.video-info-panel,
.download-panel {
  min-width: 0;
}

p,
li,
a,
h1,
h2,
h3,
.result-title,
.video-title {
  overflow-wrap: break-word;
}

/* Comfortable interactive targets without adding random visual sizes. */

.onlymp3-desktop-nav-link,
.lang-card-btn,
.mobile-glass-toggle,
.accordion-button,
.onlymp3-glass-nav-link,
.onlymp3-glass-language-toggle,
.onlymp3-glass-language-option {
  min-height: var(--onlymp3-touch-target);
}

.site-header {
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--only-border) !important;
}

.site-header .navbar {
  width: 100%;
}

.onlymp3-desktop-nav-link {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Tablets should use their available width instead of Bootstrap's narrow 540/720px containers. */

@media (min-width: 576px) and (max-width: 991.98px) {

  .site-header .container,
  .onlymp3-section > .container,
  .page-hero > .container,
  .result-hero > .container,
  .soft-error-hero > .container,
  .onlymp3-footer-main.container,
  .onlymp3-footer-bottom-inner.container {
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--onlymp3-tablet-gutter) !important;
    padding-right: var(--onlymp3-tablet-gutter) !important;
  }
}

/* Mobile/tablet header and floating menu remain active through 991px. */

@media (max-width: 991.98px) {

  .site-header {
    position: sticky !important;
    top: 0;
    z-index: 1060;
  }

  .site-header .navbar {
    min-height: 72px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .site-header .desktop-header-language,
  .site-header .navbar-collapse {
    display: none !important;
  }

  .mobile-glass-toggle {
    display: inline-flex !important;
  }

  .onlymp3-mobile-glass-menu {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1055 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: hidden;
    pointer-events: none;
    transition: background-color .2s ease,
      visibility 0s linear .2s;
  }

  .onlymp3-mobile-glass-menu.is-open {
    background: transparent !important;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .onlymp3-mobile-glass-panel {
    position: absolute !important;
    top: 84px !important;
    right: var(--onlymp3-tablet-gutter) !important;
    left: auto !important;
    width: min(520px, calc(100% - (var(--onlymp3-tablet-gutter) * 2))) !important;
    max-height: calc(100dvh - 104px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 12px !important;
    border: 1px solid var(--only-border) !important;
    border-radius: var(--onlymp3-radius-panel) !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: transform .22s cubic-bezier(.22, .8, .3, 1);
    isolation: isolate;
  }

  .onlymp3-mobile-glass-menu.is-open .onlymp3-mobile-glass-panel {
    transform: translateY(0) scale(1);
  }

  .onlymp3-glass-nav-link,
  .onlymp3-glass-language-toggle {
    width: 100%;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 7px 12px !important;
    border-radius: var(--onlymp3-radius-control) !important;
    color: var(--only-text) !important;
    font-size: .96rem !important;
    font-weight: 680 !important;
    text-decoration: none !important;
  }

  .onlymp3-glass-nav-link:hover,
  .onlymp3-glass-nav-link:focus-visible,
  .onlymp3-glass-nav-link.active,
  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: var(--only-primary) !important;
    background: rgba(255, 49, 88, .075) !important;
    outline: none;
  }

  .onlymp3-glass-nav-icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    color: var(--only-primary) !important;
    background: #fff1f4 !important;
  }

  .onlymp3-glass-nav-label {
    flex: 1 1 auto;
    min-width: 0;
  }

  .onlymp3-glass-nav-arrow,
  .onlymp3-glass-language-caret {
    flex: 0 0 auto;
    color: #98a2b3 !important;
    font-size: .78rem !important;
  }

  .onlymp3-glass-language {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--only-border) !important;
  }

  .onlymp3-glass-language-left {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left;
  }

  .onlymp3-glass-language-current {
    max-width: 110px;
    overflow: hidden;
    color: var(--only-muted) !important;
    font-size: .78rem !important;
    font-weight: 680 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .onlymp3-glass-language-menu {
    display: none;
    gap: 4px !important;
    margin-top: 6px !important;
    padding: 7px !important;
    border: 1px solid var(--only-border) !important;
    border-radius: var(--onlymp3-radius-control) !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(16, 24, 40, .12) !important;
  }

  .onlymp3-glass-language-option {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: var(--only-text) !important;
    font-size: .9rem !important;
    font-weight: 620 !important;
  }

  .onlymp3-glass-language-option:hover,
  .onlymp3-glass-language-option.active {
    color: var(--only-primary) !important;
    background: rgba(255, 49, 88, .075) !important;
  }

  body.onlymp3-mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Tablet typography and spacing. */

  :root {
    --onlymp3-section-space: clamp(38px, 5vw, 46px);
    --onlymp3-heading-gap: 22px;
  }

  .hero-title,
  .page-title {
    max-width: 880px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(2.45rem, 6vw, 3.45rem) !important;
    line-height: 1.06 !important;
  }

  .hero-subtitle,
  .page-subtitle,
  .section-subtitle {
    max-width: 680px !important;
    font-size: clamp(1rem, 2.1vw, 1.1rem) !important;
    line-height: 1.65 !important;
  }

  .converter-card {
    width: 100% !important;
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(20px, 3.4vw, 28px) !important;
  }

  .input-action-wrap,
  .converter-input,
  #convert-submit-btn,
  .youtube-submit-col {
    min-height: 58px !important;
  }

  .only-card,
  .result-card,
  .video-info-panel,
  .download-panel,
  .legal-card,
  .legal-side-card,
  .contact-card {
    max-width: 100%;
  }

  .benefit-card,
  .feature-card,
  .content-card {
    padding: clamp(22px, 3.5vw, 30px) !important;
  }

  .accordion-button {
    padding: 16px 18px !important;
    line-height: 1.4 !important;
  }

  .support-modal-card {
    width: min(520px, calc(100% - 32px)) !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
  }
}

@media (min-width: 992px) {

  .mobile-glass-toggle,
  .onlymp3-mobile-glass-menu {
    display: none !important;
  }

  .site-header .desktop-header-language {
    display: block !important;
  }

  .site-header .navbar-collapse {
    display: flex !important;
  }
}

/* Phone-specific refinements. */

@media (max-width: 575.98px) {

  :root {
    --onlymp3-layout-gutter: var(--onlymp3-phone-gutter);
    --onlymp3-section-space: 32px;
    --onlymp3-heading-gap: 18px;
  }

  .site-header .container,
  .onlymp3-section > .container,
  .page-hero > .container,
  .result-hero > .container,
  .soft-error-hero > .container,
  .onlymp3-footer-main.container,
  .onlymp3-footer-bottom-inner.container {
    width: 100% !important;
    max-width: none !important;
    padding-left: max(var(--onlymp3-phone-gutter), env(safe-area-inset-left)) !important;
    padding-right: max(var(--onlymp3-phone-gutter), env(safe-area-inset-right)) !important;
  }

  .site-header .navbar {
    min-height: 68px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .onlymp3-mobile-glass-panel {
    top: 80px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100dvh - 94px) !important;
    transform-origin: top center;
  }

  .hero {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  .hero-title,
  .page-title {
    font-size: clamp(2rem, 10vw, 2.65rem) !important;
    line-height: 1.05 !important;
  }

  .hero-subtitle,
  .page-subtitle,
  .section-subtitle {
    font-size: .98rem !important;
    line-height: 1.6 !important;
  }

  .converter-card {
    margin-top: 28px !important;
    padding: 16px !important;
  }

  .converter-card .row {
    --bs-gutter-y: 12px;
  }

  .input-action-wrap,
  .converter-input,
  #convert-submit-btn,
  .youtube-submit-col {
    min-height: 58px !important;
  }

  .converter-input {
    padding-left: 48px !important;
    padding-right: 82px !important;
    font-size: .94rem !important;
  }

  .paste-btn,
  .clear-url-btn {
    min-width: 64px;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .trust-row {
    column-gap: 16px !important;
    row-gap: 8px !important;
    margin-top: 18px !important;
    font-size: .82rem !important;
  }

  .section-title {
    font-size: clamp(1.65rem, 8vw, 2.05rem) !important;
    line-height: 1.15 !important;
  }

  .benefit-card {
    min-height: 168px !important;
    padding: 22px 14px !important;
  }

  .step-card {
    position: relative !important;
    min-height: 132px !important;
    padding: 24px 18px 24px 88px !important;
  }

  .step-card .icon-circle {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  .step-card h3,
  .step-card p {
    text-align: left !important;
  }

  .content-card,
  .contact-card,
  .legal-card,
  .legal-side-card,
  .result-card,
  .video-info-panel,
  .download-panel {
    padding: 22px 18px !important;
  }

  .result-card .row,
  .contact-card .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .support-modal-card {
    width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 24px 18px !important;
  }

  .support-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .onlymp3-footer-main {
    padding-top: 36px !important;
    padding-bottom: 28px !important;
  }

  .onlymp3-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .onlymp3-footer-v3 .footer-link-list {
    gap: 4px !important;
  }

  .onlymp3-footer-v3 .footer-link-list a {
    min-height: 36px !important;
  }
}

/* Small phones: avoid compressed two-column benefit cards. */

@media (max-width: 359.98px) {

  .benefits-green-preview-section .row > [class*="col-"] {
    width: 100% !important;
  }

  .benefit-card {
    min-height: auto !important;
  }

  .trust-row {
    column-gap: 10px !important;
    font-size: .78rem !important;
  }
}

/* Portrait tablets: balanced cards and readable three-step layout. */

@media (min-width: 768px) and (max-width: 991.98px) {

  .step-card {
    min-height: 244px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 30px 22px 26px !important;
    text-align: center !important;
  }

  .step-card .icon-circle {
    position: static !important;
    margin: 0 auto 18px !important;
    transform: none !important;
  }

  .step-card h3,
  .step-card p {
    text-align: center !important;
  }

  .result-card {
    padding: clamp(22px, 3.5vw, 30px) !important;
  }
}

/* Full-screen iPad sizes: brand on top and three footer columns below. */

@media (min-width: 700px) and (max-width: 1366px) and (min-height: 600px) {

  .onlymp3-footer-main.container,
  .onlymp3-footer-bottom-inner.container {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: var(--onlymp3-tablet-gutter) !important;
    padding-right: var(--onlymp3-tablet-gutter) !important;
  }

  .onlymp3-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas: "brand brand brand"
      "column-one column-two column-three" !important;
    column-gap: clamp(26px, 4vw, 56px) !important;
    row-gap: 32px !important;
  }

  .onlymp3-footer-brand {
    grid-area: brand !important;
    grid-column: 1 / -1 !important;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(1) {
    grid-area: column-one;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(2) {
    grid-area: column-two;
  }

  .onlymp3-footer-grid > .footer-link-col:nth-of-type(3) {
    grid-area: column-three;
  }

  .onlymp3-footer-tagline {
    max-width: 680px !important;
  }
}

@media (min-width: 700px) and (max-width: 899.98px) and (min-height: 600px) {

  .onlymp3-footer-bottom-inner {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .onlymp3-footer-bottom-inner p:last-child {
    text-align: left !important;
  }
}

/* Landscape phones should stay compact rather than inheriting tablet spacing. */

@media (max-height: 520px) and (orientation: landscape) and (max-width: 991.98px) {

  .site-header .navbar {
    min-height: 60px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .onlymp3-mobile-glass-panel {
    top: 68px !important;
    max-height: calc(100dvh - 76px) !important;
  }

  main > .onlymp3-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .onlymp3-mobile-glass-menu,
  .onlymp3-mobile-glass-panel,
  .mobile-glass-toggle-lines span {
    transition: none !important;
  }
}

@media (max-width: 991.98px) {

  /* One shared component definition for phones and every iPad-size
   mobile navigation layout. */

  .onlymp3-glass-language {
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--only-border) !important;
  }

  .onlymp3-glass-language-toggle {
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: var(--onlymp3-radius-control) !important;
    background: transparent !important;
    color: var(--only-text) !important;
    font: inherit !important;
    font-size: .96rem !important;
    font-weight: 680 !important;
    line-height: 1.25 !important;
    cursor: pointer;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle:focus-visible,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: var(--only-primary) !important;
    background: rgba(255, 49, 88, .075) !important;
    outline: none !important;
  }

  .onlymp3-glass-language-left {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .onlymp3-glass-language-current {
    max-width: min(32vw, 130px) !important;
    overflow: hidden !important;
    color: var(--only-muted) !important;
    font-size: .78rem !important;
    font-weight: 680 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* Down while closed, up while expanded. */

  .onlymp3-glass-language-caret {
    width: 1em !important;
    flex: 0 0 1em !important;
    color: #98a2b3 !important;
    font-size: .82rem !important;
    line-height: 1 !important;
    transform: rotate(0deg) !important;
    transform-origin: center !important;
    transition: transform .2s ease !important;
  }

  .onlymp3-glass-language.is-open .onlymp3-glass-language-caret,
  .onlymp3-glass-language-toggle[aria-expanded="true"]
    .onlymp3-glass-language-caret {
    transform: rotate(180deg) !important;
  }

  .onlymp3-glass-language-menu {
    display: none !important;
    width: 100% !important;
    gap: 4px !important;
    margin-top: 6px !important;
    padding: 7px !important;
    border: 1px solid var(--only-border) !important;
    border-radius: var(--onlymp3-radius-control) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 32px rgba(16, 24, 40, .12) !important;
  }

  .onlymp3-glass-language.is-open .onlymp3-glass-language-menu {
    display: grid !important;
  }

  .onlymp3-glass-language-option {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: var(--only-text) !important;
    font: inherit !important;
    font-size: .9rem !important;
    font-weight: 620 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    cursor: pointer;
  }

  .onlymp3-glass-language-option:hover,
  .onlymp3-glass-language-option:focus-visible,
  .onlymp3-glass-language-option.active {
    color: var(--only-primary) !important;
    background: rgba(255, 49, 88, .075) !important;
    outline: none !important;
  }
}

/* Desktop language arrow: down when closed, up when open. */

.desktop-language-caret {
  display: inline-block;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform .2s ease;
}

.language-dropdown .dropdown-toggle.show .desktop-language-caret,
.language-dropdown .dropdown-toggle[aria-expanded="true"]
  .desktop-language-caret {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {

  /* Keep the header physically attached to the floating navigation while
   the page is locked. This prevents the menu from appearing stranded
   after a user opens it from a scrolled position. */

  html.onlymp3-mobile-menu-open,
  body.onlymp3-mobile-menu-open {
    overscroll-behavior: none;
  }

  body.onlymp3-mobile-menu-open .onlymp3-mobile-glass-menu {
    z-index: 1060 !important;
  }

  body.onlymp3-mobile-menu-open .onlymp3-mobile-glass-panel {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 991.98px) {

  html.onlymp3-mobile-menu-open,
  body.onlymp3-mobile-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  /* The backdrop stays mounted until its closing transition is finished.
   The page remains locked during that complete period, so content behind
   it cannot move or jump. */

  .onlymp3-mobile-glass-menu {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1060 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
    opacity: 1 !important;
    transition: background-color .2s ease,
      visibility 0s linear .22s !important;
  }

  .onlymp3-mobile-glass-menu.is-mounted {
    visibility: visible !important;
    transition-delay: 0s !important;
  }

  .onlymp3-mobile-glass-menu.is-open {
    pointer-events: auto !important;
    background: transparent !important;
  }

  .onlymp3-mobile-glass-menu.is-closing {
    pointer-events: none !important;
    background: transparent !important;
  }

  .onlymp3-mobile-glass-panel {
    opacity: 0 !important;
    transform: translateY(-10px) scale(.985) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    transition: opacity .2s ease,
      transform .22s cubic-bezier(.22, .8, .3, 1) !important;
  }

  .onlymp3-mobile-glass-menu.is-open
    .onlymp3-mobile-glass-panel {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  .onlymp3-mobile-glass-menu.is-closing
    .onlymp3-mobile-glass-panel {
    opacity: 0 !important;
    transform: translateY(-8px) scale(.99) !important;
  }

  body.onlymp3-mobile-menu-open .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1065 !important;
  }
}

@media (max-width: 991.98px) {

  :root {
    --onlymp3-mobile-header-height: 68px;
  }

  .site-header,
  body.onlymp3-mobile-menu-open .site-header {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: 1065 !important;
  }

  .site-header .navbar {
    min-height: var(--onlymp3-mobile-header-height) !important;
  }

  .onlymp3-mobile-glass-menu {
    display: block !important;
    position: fixed !important;
    top: var(--onlymp3-mobile-header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1060 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: visibility 0s linear .22s !important;
  }

  .onlymp3-mobile-glass-menu.is-mounted,
  .onlymp3-mobile-glass-menu.is-closing,
  .onlymp3-mobile-glass-menu.is-open {
    visibility: visible !important;
    transition-delay: 0s !important;
  }

  .onlymp3-mobile-glass-menu.is-open {
    pointer-events: auto !important;
  }

  .onlymp3-mobile-glass-panel {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: min(760px, calc(100% - 28px)) !important;
    max-width: none !important;
    max-height: calc(100dvh - var(--onlymp3-mobile-header-height) - 16px) !important;
    margin: 10px auto 0 !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid var(--only-border) !important;
    border-radius: var(--onlymp3-radius-panel) !important;
    background: #fff !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    opacity: 0 !important;
    transform: translateY(-10px) scale(.985) !important;
    transform-origin: top center !important;
    transition: opacity .2s ease, transform .22s cubic-bezier(.22,.8,.3,1) !important;
  }

  .onlymp3-mobile-glass-menu.is-open .onlymp3-mobile-glass-panel {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  .onlymp3-mobile-glass-menu.is-closing .onlymp3-mobile-glass-panel {
    opacity: 0 !important;
    transform: translateY(-8px) scale(.99) !important;
  }

  html.onlymp3-mobile-menu-open,
  body.onlymp3-mobile-menu-open {
    overflow: auto !important;
    overscroll-behavior: auto !important;
  }

  body.onlymp3-mobile-menu-open {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {

  :root {
    --onlymp3-mobile-header-height: 76px;
  }

  .onlymp3-mobile-glass-panel {
    width: min(760px, calc(100% - 40px)) !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 359.98px) {

  .onlymp3-mobile-glass-panel {
    width: calc(100% - 20px) !important;
    margin-top: 8px !important;
    padding: 9px !important;
  }
}

@media (max-height: 520px) and (orientation: landscape) {

  .onlymp3-mobile-glass-panel {
    max-height: calc(100dvh - var(--onlymp3-mobile-header-height) - 8px) !important;
    margin-top: 5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .onlymp3-mobile-glass-menu,
  .onlymp3-mobile-glass-panel {
    transition-duration: 0s !important;
  }
}

/* Laravel /download integration */

.onlymp3-glass-language-option {
  text-decoration: none;
}

#downloadMp3Btn.disabled,
#downloadMp3Btn:disabled {
  pointer-events: none;
  opacity: .72;
}

#downloadFileForm {
  width: 100%;
}

#conversionProgressWrap {
  height: 1.15rem;
  border-radius: 999px;
  overflow: hidden;
}

#conversionProgressBar {
  min-width: 2.5rem;
  font-size: .72rem;
}

.video-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* One shared logo size in header, footer, and mobile navigation. */

.site-logo,
.site-header .site-logo,
.onlymp3-footer-v3 .site-logo,
.mobile-offcanvas .site-logo,
.onlymp3-mobile-glass-panel .site-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  font-size: clamp(1.65rem, 2vw, 1.85rem) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

.site-logo .brand-only,
.site-logo .brand-mp3 {
  font-size: 1em !important;
  line-height: 1 !important;
}

/* Download conversion status states. */

.conversion-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.conversion-status-badge.is-processing {
  color: #475467 !important;
  background: #f2f4f7 !important;
  border-color: #d0d5dd !important;
}

.conversion-status-badge.is-processing i {
  color: #667085 !important;
}

.conversion-status-badge.is-success {
  color: #067647 !important;
  background: #ecfdf3 !important;
  border-color: #abefc6 !important;
}

.conversion-status-badge.is-success i {
  color: #12b76a !important;
}

.conversion-status-badge.is-error {
  color: #b42318 !important;
  background: #fef3f2 !important;
  border-color: #fecdca !important;
}

.conversion-status-badge.is-error i {
  color: #d92d20 !important;
}

/* Generic branded thumbnail remains until the real image is fully loaded. */

.onlymp3-thumbnail {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f4 0%, #f8f9fd 52%, #f3edff 100%);
}

.onlymp3-thumbnail-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--only-primary);
  transition: opacity .22s ease, visibility .22s ease;
}

.onlymp3-thumbnail-placeholder span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.onlymp3-real-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
}

.onlymp3-thumbnail.has-real-thumbnail .onlymp3-real-thumbnail {
  opacity: 1;
  visibility: visible;
}

.onlymp3-thumbnail.has-real-thumbnail .onlymp3-thumbnail-placeholder {
  opacity: 0;
  visibility: hidden;
}

/* Keep all metadata pills on one horizontal row. */

.metadata-pills-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.metadata-pills-row::-webkit-scrollbar {
  display: none;
}

.metadata-pills-row .meta-pill {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Gumroad is the destination; support UI stays OnlyMP3-branded. */

.support-box {
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,49,88,.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff3f6, #fffafb);
  box-shadow: 0 12px 28px rgba(255,49,88,.08);
}

.btn-support {
  color: #fff !important;
  background: var(--only-primary) !important;
  border: 1px solid var(--only-primary) !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 22px rgba(255,49,88,.18) !important;
}

.btn-support:hover,
.btn-support:focus {
  color: #fff !important;
  background: #e9274b !important;
  border-color: #e9274b !important;
}

.support-modal-btn-primary {
  color: #fff !important;
  background: var(--only-primary) !important;
  border-color: var(--only-primary) !important;
}

.support-modal-btn-primary:hover,
.support-modal-btn-primary:focus {
  color: #fff !important;
  background: #e9274b !important;
  border-color: #e9274b !important;
}

.support-modal-icon {
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border-color: rgba(255,49,88,.16) !important;
}

/* Balanced footer spacing after removing Home and Support Us. */

.onlymp3-footer-v3.site-footer-light {
  padding-top: 0 !important;
}

.onlymp3-footer-v3 .onlymp3-footer-main {
  padding-top: clamp(34px, 5vw, 52px) !important;
  padding-bottom: clamp(30px, 4vw, 46px) !important;
}

.onlymp3-footer-v3 .onlymp3-footer-grid,
.onlymp3-footer-v3 .footer-link-list,
.onlymp3-footer-v3 .footer-link-col {
  margin-bottom: 0 !important;
}

.onlymp3-footer-bottom-v3.footer-bottom {
  margin-top: 0 !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.onlymp3-footer-bottom-v3 .onlymp3-footer-bottom-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 576px) {

  .metadata-pills-row {
    gap: .25rem;
  }

  .metadata-pills-row .meta-pill {
    padding: .32rem .48rem !important;
    font-size: .72rem !important;
  }

  .onlymp3-footer-v3 .onlymp3-footer-main {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* v10: Use one clean full-width border at the top and bottom of the footer. */

.onlymp3-footer-v3.site-footer-light {
  border-top: 1px solid var(--only-border) !important;
  border-bottom: 1px solid var(--only-border) !important;
}

/* Remove the older container-width and internal footer divider lines. */

.onlymp3-footer-v3.site-footer-light > .onlymp3-footer-main,
.onlymp3-footer-bottom-v3.footer-bottom,
.onlymp3-footer-bottom-v3.footer-bottom > .onlymp3-footer-bottom-inner {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* v8: Keep only useful metadata and give the three remaining pills more visual weight. */

.video-info-panel .metadata-pills-row {
  gap: .55rem !important;
}

.video-info-panel .metadata-pills-row .meta-pill {
  min-height: 38px;
  padding: .55rem .85rem !important;
  gap: .38rem !important;
  border-radius: 999px !important;
  font-size: .88rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.video-info-panel .metadata-pills-row .meta-pill i {
  font-size: .96rem !important;
  margin-right: 0 !important;
}

@media (max-width: 576px) {

  .video-info-panel .metadata-pills-row {
    gap: .38rem !important;
  }

  .video-info-panel .metadata-pills-row .meta-pill {
    min-height: 34px;
    padding: .46rem .67rem !important;
    font-size: .8rem !important;
  }

  .video-info-panel .metadata-pills-row .meta-pill i {
    font-size: .88rem !important;
  }
}

/* Never animate while a validation error is visible or while submitting. */

.youtube-converter-row-fixed:has(.url-error:not(.d-none)) [data-convert-button]::before,
[data-youtube-form]:has(.url-error:not(.d-none)) [data-convert-button]::before,
[data-convert-button].is-processing::before,
[data-convert-button]:disabled::before,
[data-convert-button][aria-busy="true"]::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* v12: Keep full-width outer footer borders and restore the container-width copyright divider. */

.onlymp3-footer-bottom-v3.footer-bottom > .onlymp3-footer-bottom-inner {
  border-top: 1px solid var(--only-border) !important;
  border-bottom: 0 !important;
}

/* Match the download-page tip to the site's clean card system. */

.result-shortcut-tip {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100%;
  margin-top: 18px !important;
  margin-bottom: 18px !important;
  padding: 16px 18px !important;
  color: var(--only-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--only-border) !important;
  border-radius: var(--onlymp3-radius-card, 18px) !important;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .07) !important;
  font-size: .94rem !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  overflow: hidden;
}

.result-shortcut-tip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--only-primary), var(--only-primary-2));
}

.result-shortcut-tip .result-shortcut-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  flex: 0 0 40px !important;
  border-radius: var(--onlymp3-radius-control, 12px) !important;
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  box-shadow: none !important;
}

.result-shortcut-tip .result-shortcut-icon i,
.result-shortcut-tip .result-shortcut-icon .bi-lightbulb-fill {
  color: var(--only-primary) !important;
  font-size: 1.08rem !important;
}

.result-shortcut-tip > span:last-child {
  min-width: 0;
  color: #475467;
}

.result-shortcut-tip code {
  display: inline-block;
  margin-inline: 1px;
  padding: 2px 7px !important;
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: .9em !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

@media (max-width: 575.98px) {

  .result-shortcut-tip {
    gap: 12px !important;
    padding: 14px 15px !important;
    font-size: .9rem !important;
  }

  .result-shortcut-tip .result-shortcut-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-basis: 36px !important;
  }
}

.support-modal-overlay {
  background: rgba(15, 23, 42, .58) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.support-modal-card {
  border: 1px solid rgba(255, 49, 88, .18) !important;
  background: linear-gradient(145deg, #ffffff 0%, #fff5f7 58%, #fff0f3 100%) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .24), 0 12px 34px rgba(255, 49, 88, .12) !important;
}

.support-modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--only-primary), var(--only-primary-2)) !important;
}

.support-modal-close {
  background: #fff0f3 !important;
  color: var(--only-primary) !important;
  border: 1px solid rgba(255, 49, 88, .14) !important;
  box-shadow: none !important;
}

.support-modal-close:hover,
.support-modal-close:focus {
  background: var(--only-primary) !important;
  color: #ffffff !important;
  border-color: var(--only-primary) !important;
}

.support-modal-icon {
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  box-shadow: 0 12px 26px rgba(255, 49, 88, .14) !important;
}

.support-modal-title {
  color: var(--only-text) !important;
}

.support-modal-text {
  color: var(--only-muted) !important;
}

.support-modal-btn-primary,
.support-modal-btn-coffee {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--only-primary), #ff5d7a) !important;
  border-color: var(--only-primary) !important;
  box-shadow: 0 12px 26px rgba(255, 49, 88, .22) !important;
}

.support-modal-btn-primary:hover,
.support-modal-btn-primary:focus,
.support-modal-btn-coffee:hover,
.support-modal-btn-coffee:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #e9274b, var(--only-primary)) !important;
  border-color: #e9274b !important;
  box-shadow: 0 15px 30px rgba(255, 49, 88, .28) !important;
}

.support-modal-btn-muted {
  color: #4b5563 !important;
  background: #ffffff !important;
  border-color: rgba(107, 114, 128, .22) !important;
  box-shadow: none !important;
}

.support-modal-btn-muted:hover,
.support-modal-btn-muted:focus {
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border-color: rgba(255, 49, 88, .22) !important;
}

:root {
  --only-primary-hover: #e9274b;
  --only-primary-soft: #fff0f3;
  --only-primary-surface: #fff6f8;
  --only-success-strong: #16a34a;
  --only-success-soft: #f0fdf4;
  --only-info-strong: #2563eb;
  --only-info-soft: #eff6ff;
  --only-danger-strong: #d92d20;
  --only-danger-soft: #fef3f2;
}

/* Centralized semantic icon colors replace page-level inline styles. */

.onlymp3-trust-icon,
.onlymp3-check-icon {
  color: var(--only-success-strong) !important;
  fill: var(--only-success-strong) !important;
  stroke: var(--only-success-strong) !important;
  -webkit-text-fill-color: var(--only-success-strong) !important;
  flex-shrink: 0;
}

.icon-circle.benefit-icon-success {
  background: var(--only-success-soft) !important;
  color: var(--only-success-strong) !important;
  border-color: rgba(22, 163, 74, .14) !important;
  box-shadow: none !important;
}

.icon-circle.benefit-icon-success i {
  color: var(--only-success-strong) !important;
  fill: var(--only-success-strong) !important;
  stroke: var(--only-success-strong) !important;
  -webkit-text-fill-color: var(--only-success-strong) !important;
}

.feature-icon.feature-icon-info {
  background: var(--only-info-soft) !important;
  color: var(--only-info-strong) !important;
  border-color: rgba(37, 99, 235, .14) !important;
  box-shadow: none !important;
}

.feature-icon.feature-icon-info i {
  color: var(--only-info-strong) !important;
  fill: var(--only-info-strong) !important;
  stroke: var(--only-info-strong) !important;
  -webkit-text-fill-color: var(--only-info-strong) !important;
}

/* Restored music-note treatment: subtle OnlyMP3 surface instead of the old loud gradient. */

.onlymp3-thumbnail-placeholder {
  gap: .65rem;
}

.onlymp3-thumbnail-placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--only-primary);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 49, 88, .18);
  box-shadow: 0 12px 26px rgba(255, 49, 88, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.onlymp3-thumbnail-placeholder-icon i {
  color: var(--only-primary) !important;
  font-size: 1.35rem;
  line-height: 1;
}

/* Legacy support/coffee selectors are normalized to the active OnlyMP3 palette. */

.support-strip,
.homepage-coffee-result-colors,
.coffee-box {
  background: linear-gradient(135deg, var(--only-primary-surface), #fffafb) !important;
  border-color: rgba(255, 49, 88, .18) !important;
  box-shadow: 0 12px 28px rgba(255, 49, 88, .08) !important;
}

.btn-coffee,
.homepage-coffee-result-colors .btn-coffee,
.support-modal-btn-coffee {
  color: #fff !important;
  background: var(--only-primary) !important;
  border-color: var(--only-primary) !important;
  box-shadow: 0 10px 22px rgba(255, 49, 88, .18) !important;
}

.btn-coffee:hover,
.btn-coffee:focus,
.homepage-coffee-result-colors .btn-coffee:hover,
.homepage-coffee-result-colors .btn-coffee:focus,
.support-modal-btn-coffee:hover,
.support-modal-btn-coffee:focus {
  color: #fff !important;
  background: var(--only-primary-hover) !important;
  border-color: var(--only-primary-hover) !important;
}

.homepage-coffee-result-colors .coffee-icon-plain,
.homepage-coffee-result-colors .icon-circle,
.homepage-coffee-result-colors .icon-yellow,
.homepage-coffee-result-colors .coffee-icon-plain i,
.homepage-coffee-result-colors .icon-circle i,
.homepage-coffee-result-colors .icon-yellow i {
  color: var(--only-primary) !important;
  -webkit-text-fill-color: var(--only-primary) !important;
}

/* Shared shortcut cards should never fall back to the historical amber theme. */

.shortcut-tip,
.result-shortcut-tip {
  background: #fff !important;
  border-color: rgba(255, 49, 88, .16) !important;
}

.shortcut-tip i,
.shortcut-tip code {
  color: var(--only-primary) !important;
}

/* The lightbulb and fallback-thumbnail music note share the same OnlyMP3 icon tile. */

.result-shortcut-tip .result-shortcut-icon,
.onlymp3-thumbnail-placeholder-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  flex: 0 0 40px !important;
  border-radius: var(--onlymp3-radius-control, 12px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--only-primary) !important;
  background: #fff0f3 !important;
  border: 1px solid rgba(255, 49, 88, .16) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.result-shortcut-tip .result-shortcut-icon i,
.result-shortcut-tip .result-shortcut-icon .bi-lightbulb-fill,
.onlymp3-thumbnail-placeholder-icon i {
  color: var(--only-primary) !important;
  fill: var(--only-primary) !important;
  stroke: var(--only-primary) !important;
  -webkit-text-fill-color: var(--only-primary) !important;
  font-size: 1.08rem !important;
  line-height: 1 !important;
}

/* Keep the full title in the HTML title attribute while showing one clean line. */

.video-info-panel {
  min-width: 0;
}

.video-info-panel .video-title {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  color: var(--only-text) !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 575.98px) {

  .result-shortcut-tip .result-shortcut-icon,
  .onlymp3-thumbnail-placeholder-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-basis: 36px !important;
    border-radius: 12px !important;
  }

  .video-info-panel .video-title {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
}

/* Keep the result-page shortcut for desktop users who can edit browser URLs. */

@media (max-width: 991.98px) {

  .result-shortcut-tip {
    display: none !important;
  }
}

/* Preserve the one-line ellipsis while increasing title prominence. */

.video-info-panel .video-title {
  font-size: 1.25rem !important;
}

@media (max-width: 575.98px) {

  .video-info-panel .video-title {
    font-size: 1.25rem !important;
  }
}

:root {
  --onlymp3-language-accent: #d81b48;
  --onlymp3-language-accent-active: #c9153f;
  --onlymp3-language-soft: #fff3f6;
}

/* Desktop trigger */

.site-header .lang-card-btn {
  min-height: 48px !important;
  padding: 6px 9px 6px 7px !important;
  gap: 9px !important;
  border: 1px solid rgba(216, 27, 72, .16) !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: var(--only-text) !important;
  box-shadow: 0 7px 20px rgba(16, 24, 40, .06) !important;
  text-align: left !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.site-header .lang-card-btn:hover,
.site-header .lang-card-btn:focus-visible,
.site-header .lang-card-btn[aria-expanded="true"] {
  border-color: rgba(216, 27, 72, .34) !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .09) !important;
  outline: none !important;
  transform: translateY(-1px);
}

.lang-switcher-trigger-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--onlymp3-language-accent);
  background: var(--onlymp3-language-soft);
  border: 1px solid rgba(216, 27, 72, .12);
}

.lang-switcher-trigger-icon i {
  color: inherit !important;
  font-size: 1rem;
  line-height: 1;
}

.lang-switcher-trigger-copy {
  min-width: 86px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}

.lang-switcher-trigger-copy small {
  color: #667085;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.lang-switcher-trigger-copy strong {
  max-width: 126px;
  overflow: hidden;
  color: #1d2939;
  font-size: .87rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-trigger-code,
.onlymp3-mobile-language-code {
  min-width: 31px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--onlymp3-language-accent);
  background: var(--onlymp3-language-soft);
  border: 1px solid rgba(216, 27, 72, .13);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1;
}

.lang-switcher-caret {
  color: #98a2b3;
  font-size: .72rem;
}

/* Desktop menu */

.site-header .lang-card-menu {
  width: 468px !important;
  max-width: calc(100vw - 24px) !important;
  margin-top: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(16, 24, 40, .09) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 22px 60px rgba(16, 24, 40, .15) !important;
  overflow: hidden;
}

.lang-switcher-menu-heading,
.onlymp3-mobile-language-heading {
  min-height: 42px;
  padding: 2px 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #eaecf0;
}

.lang-switcher-menu-heading > span,
.onlymp3-mobile-language-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d2939;
  font-size: .9rem;
  font-weight: 800;
}

.lang-switcher-menu-heading i {
  color: var(--onlymp3-language-accent);
}

.lang-switcher-menu-heading small,
.onlymp3-mobile-language-heading small {
  color: #667085;
  font-size: .72rem;
  font-weight: 700;
}

.lang-switcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding-top: 9px;
}

.site-header .lang-switcher-option,
.onlymp3-glass-language-option {
  min-width: 0;
  min-height: 56px;
  padding: 7px 8px !important;
  display: grid !important;
  grid-template-columns: 35px minmax(0, 1fr) 24px;
  align-items: center !important;
  gap: 9px !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  color: #344054 !important;
  background: transparent !important;
  text-align: left !important;
  text-decoration: none !important;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease !important;
}

.site-header .lang-switcher-option:hover,
.site-header .lang-switcher-option:focus-visible,
.onlymp3-glass-language-option:hover,
.onlymp3-glass-language-option:focus-visible {
  color: #1d2939 !important;
  background: #f9fafb !important;
  border-color: #eaecf0 !important;
  outline: none !important;
  transform: translateY(-1px);
}

.site-header .lang-switcher-option.active-preview,
.onlymp3-glass-language-option.active {
  color: #1d2939 !important;
  background: var(--onlymp3-language-soft) !important;
  border-color: rgba(216, 27, 72, .17) !important;
}

.lang-switcher-option-code {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #475467;
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1;
}

.lang-switcher-option.active-preview .lang-switcher-option-code,
.onlymp3-glass-language-option.active .lang-switcher-option-code {
  color: var(--onlymp3-language-accent);
  background: #fff;
  border-color: rgba(216, 27, 72, .18);
}

.lang-switcher-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.25;
}

.lang-switcher-option-copy strong {
  overflow: hidden;
  padding-bottom: 1px;
  color: #1d2939;
  font-size: .84rem;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-option-copy small {
  overflow: hidden;
  color: #667085;
  font-size: .69rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-option-check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: transparent;
  background: transparent;
  font-size: .8rem;
}

.lang-switcher-option.active-preview .lang-switcher-option-check,
.onlymp3-glass-language-option.active .lang-switcher-option-check {
  color: #fff;
  background: var(--onlymp3-language-accent);
}

/* Mobile/iPad picker uses the same visual language inside the glass panel. */

@media (max-width: 991.98px) {

  .onlymp3-glass-language {
    margin-top: 10px !important;
    padding-top: 10px !important;
  }

  .onlymp3-glass-language-toggle {
    min-height: 62px !important;
    padding: 7px 8px !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto 20px;
    gap: 9px !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(16, 24, 40, .04) !important;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle:focus-visible,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: #1d2939 !important;
    background: #fff !important;
    border-color: rgba(216, 27, 72, .24) !important;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .07) !important;
  }

  .onlymp3-language-main-icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    color: var(--onlymp3-language-accent) !important;
    background: var(--onlymp3-language-soft) !important;
    border: 1px solid rgba(216, 27, 72, .12) !important;
    border-radius: 12px !important;
  }

  .onlymp3-mobile-language-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    line-height: 1.25;
  }

  .onlymp3-mobile-language-copy small {
    color: #667085;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  .onlymp3-mobile-language-copy strong {
    overflow: hidden;
    padding-bottom: 1px;
    color: #1d2939;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .onlymp3-glass-language-current,
  .onlymp3-glass-language-left {
    display: none !important;
  }

  .onlymp3-glass-language-caret {
    color: #98a2b3 !important;
  }

  .onlymp3-glass-language-menu {
    width: 100% !important;
    max-height: min(52vh, 430px) !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .10) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .onlymp3-mobile-language-heading {
    position: sticky;
    top: -10px;
    z-index: 2;
    margin: -1px -1px 7px;
    padding: 8px 4px 10px;
    background: #fff;
  }

  .onlymp3-mobile-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .onlymp3-glass-language-option {
    min-height: 54px !important;
    padding: 7px !important;
    grid-template-columns: 33px minmax(0, 1fr) 20px !important;
    gap: 8px !important;
  }

  .onlymp3-glass-language-option .lang-switcher-option-code {
    width: 33px;
    height: 33px;
  }
}

@media (max-width: 575.98px) {

  .onlymp3-glass-language-menu {
    max-height: min(48vh, 390px) !important;
  }
}

/* Keep mixed-script native names aligned naturally in both LTR and RTL pages. */

.lang-switcher-option[dir="rtl"] .lang-switcher-option-copy,
.onlymp3-glass-language-option[dir="rtl"] .lang-switcher-option-copy {
  text-align: right;
}

html[dir="rtl"] .lang-switcher-trigger-copy,
html[dir="rtl"] .onlymp3-mobile-language-copy {
  text-align: right;
}

:root {
  --onlymp3-language-accent: #ff3158;
  --onlymp3-language-soft: #fff1f4;
}

/* Compact desktop trigger: icon, current language and caret only. */

.site-header .lang-card-btn {
  min-height: 42px !important;
  padding: 5px 10px 5px 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid #e7eaf1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #212529 !important;
  box-shadow: none !important;
  transform: none !important;
}

.site-header .lang-card-btn:hover,
.site-header .lang-card-btn:focus-visible,
.site-header .lang-card-btn[aria-expanded="true"] {
  border-color: #ff9aaf !important;
  background: #fff7f9 !important;
  box-shadow: 0 0 0 3px rgba(255, 49, 88, .10) !important;
  transform: none !important;
}

.lang-switcher-trigger-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 0;
  border-radius: 9px;
  color: #ff3158;
  background: #fff1f4;
}

.lang-switcher-trigger-current {
  max-width: 116px;
  overflow: hidden;
  padding-block: 1px;
  color: #212529;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-caret {
  color: #98a2b3;
  font-size: .68rem;
}

/* Flat, lightweight desktop list. */

.site-header .lang-card-menu {
  width: 380px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(68vh, 460px) !important;
  margin-top: 7px !important;
  padding: 7px !important;
  border: 1px solid #e7eaf1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .10) !important;
  overflow-y: auto !important;
}

.lang-switcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
}

.site-header .lang-switcher-option,
.onlymp3-glass-language-option {
  min-height: 44px;
  padding: 6px 8px !important;
  grid-template-columns: minmax(0, 1fr) 20px !important;
  gap: 6px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  transform: none !important;
}

.site-header .lang-switcher-option:hover,
.site-header .lang-switcher-option:focus-visible,
.onlymp3-glass-language-option:hover,
.onlymp3-glass-language-option:focus-visible {
  color: #212529 !important;
  background: #f8f9fb !important;
  border: 0 !important;
  transform: none !important;
}

.site-header .lang-switcher-option.active-preview,
.onlymp3-glass-language-option.active {
  color: #212529 !important;
  background: #fff1f4 !important;
  border: 0 !important;
}

.lang-switcher-option-copy {
  gap: 1px;
}

.lang-switcher-option-copy strong {
  color: #212529;
  font-size: .82rem;
  font-weight: 700;
}

.lang-switcher-option-copy small {
  color: #7a8494;
  font-size: .66rem;
  font-weight: 500;
}

.lang-switcher-option-check {
  width: 18px;
  height: 18px;
  font-size: .72rem;
}

.lang-switcher-option.active-preview .lang-switcher-option-check,
.onlymp3-glass-language-option.active .lang-switcher-option-check {
  color: #ff3158;
  background: transparent;
}

/* Mobile/iPad picker follows the existing nav-panel style instead of a nested card. */

@media (max-width: 991.98px) {

  .onlymp3-glass-language {
    margin-top: 8px !important;
    padding-top: 8px !important;
  }

  .onlymp3-glass-language-toggle {
    min-height: 52px !important;
    padding: 6px 8px !important;
    grid-template-columns: 36px minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle:focus-visible,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: #212529 !important;
    background: #fff1f4 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .onlymp3-language-main-icon {
    width: 36px !important;
    height: 36px !important;
    color: #ff3158 !important;
    background: #fff1f4 !important;
    border: 0 !important;
    border-radius: 10px !important;
  }

  .onlymp3-mobile-language-copy {
    gap: 2px;
  }

  .onlymp3-mobile-language-copy small {
    color: #7a8494;
    font-size: .64rem;
    font-weight: 600;
  }

  .onlymp3-mobile-language-copy strong {
    color: #212529;
    font-size: .86rem;
    font-weight: 700;
  }

  .onlymp3-glass-language-menu {
    width: 100% !important;
    max-height: min(48vh, 380px) !important;
    margin-top: 4px !important;
    padding: 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .onlymp3-mobile-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  .onlymp3-glass-language-option {
    min-height: 43px !important;
    padding: 6px 8px !important;
    grid-template-columns: minmax(0, 1fr) 18px !important;
    gap: 5px !important;
  }
}

@media (max-width: 575.98px) {

  .onlymp3-mobile-language-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop trigger follows the approved compact bordered-button direction. */

.site-header .lang-card-btn {
  min-height: 43px !important;
  padding: 7px 11px 7px 8px !important;
  gap: 9px !important;
  border: 1px solid #e7eaf1 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #101828 !important;
  box-shadow: none !important;
}

.site-header .lang-card-btn:hover,
.site-header .lang-card-btn:focus-visible,
.site-header .lang-card-btn[aria-expanded="true"] {
  border-color: #d9dde7 !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .05) !important;
}

.site-header .lang-switcher-trigger-icon {
  width: 27px !important;
  height: 27px !important;
  flex: 0 0 27px !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: #ff3158 !important;
  background: #fff1f4 !important;
  font-size: .83rem !important;
}

.site-header .lang-switcher-trigger-current {
  max-width: 132px;
  color: #101828 !important;
  font-size: .86rem !important;
  font-weight: 720 !important;
}

.site-header .lang-switcher-caret {
  color: #667085 !important;
  font-size: .66rem !important;
}

/* Option 2 menu: compact, rounded, one-column and scrollable for 14 locales. */

.site-header .lang-card-menu {
  width: 272px !important;
  min-width: 272px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(68vh, 468px) !important;
  margin-top: 8px !important;
  padding: 6px !important;
  border: 1px solid #e7eaf1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 14px 35px rgba(16, 24, 40, .10) !important;
  overflow-y: auto !important;
}

.site-header .lang-switcher-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2px !important;
  padding: 0 !important;
}

.site-header .lang-switcher-option {
  min-height: 48px !important;
  padding: 8px 10px !important;
  grid-template-columns: minmax(0, 1fr) 20px !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
}

.site-header .lang-switcher-option:hover,
.site-header .lang-switcher-option:focus-visible {
  color: #ff3158 !important;
  background: #fff4f6 !important;
}

.site-header .lang-switcher-option.active-preview {
  color: #ff3158 !important;
  background: #fff1f4 !important;
}

.site-header .lang-switcher-option:hover .lang-switcher-option-copy strong,
.site-header .lang-switcher-option:focus-visible .lang-switcher-option-copy strong,
.site-header .lang-switcher-option.active-preview .lang-switcher-option-copy strong {
  color: #ff3158 !important;
}

.site-header .lang-switcher-option-copy strong {
  color: #101828;
  font-size: .84rem;
  font-weight: 700;
}

.site-header .lang-switcher-option-copy small {
  color: #667085;
  font-size: .67rem;
  font-weight: 500;
}

.site-header .lang-switcher-option-check {
  width: 18px;
  height: 18px;
  color: #ff3158 !important;
  background: transparent !important;
  font-size: .76rem;
}

/* Mobile and iPad receive the same soft-icon treatment without a heavy panel. */

@media (max-width: 991.98px) {

  .onlymp3-glass-language {
    margin-top: 9px !important;
    padding-top: 9px !important;
  }

  .onlymp3-glass-language-toggle {
    min-height: 51px !important;
    padding: 7px 10px 7px 8px !important;
    grid-template-columns: 32px minmax(0, 1fr) 18px !important;
    gap: 9px !important;
    border: 1px solid #e7eaf1 !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .onlymp3-glass-language-toggle:hover,
  .onlymp3-glass-language-toggle:focus-visible,
  .onlymp3-glass-language-toggle[aria-expanded="true"] {
    color: #101828 !important;
    border-color: #d9dde7 !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .05) !important;
  }

  .onlymp3-language-main-icon {
    width: 32px !important;
    height: 32px !important;
    color: #ff3158 !important;
    background: #fff1f4 !important;
    border: 0 !important;
    border-radius: 9px !important;
  }

  .onlymp3-mobile-language-copy small {
    color: #667085 !important;
    font-size: .64rem !important;
  }

  .onlymp3-mobile-language-copy strong {
    color: #101828 !important;
    font-size: .86rem !important;
    font-weight: 700 !important;
  }

  .onlymp3-glass-language-menu {
    width: 100% !important;
    max-height: min(48vh, 390px) !important;
    margin-top: 7px !important;
    padding: 6px !important;
    border: 1px solid #e7eaf1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .08) !important;
  }

  .onlymp3-mobile-language-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  .onlymp3-glass-language-option {
    min-height: 47px !important;
    padding: 8px 10px !important;
    grid-template-columns: minmax(0, 1fr) 20px !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
  }

  .onlymp3-glass-language-option:hover,
  .onlymp3-glass-language-option:focus-visible,
  .onlymp3-glass-language-option.active {
    color: #ff3158 !important;
    background: #fff4f6 !important;
  }

  .onlymp3-glass-language-option:hover .lang-switcher-option-copy strong,
  .onlymp3-glass-language-option:focus-visible .lang-switcher-option-copy strong,
  .onlymp3-glass-language-option.active .lang-switcher-option-copy strong {
    color: #ff3158 !important;
  }
}

/* Keep every language row aligned like the LTR entries, including Arabic. */

.site-header .lang-switcher-option,
.onlymp3-glass-language-option {
  direction: ltr !important;
  text-align: left !important;
}

.site-header .lang-switcher-option .lang-switcher-option-copy,
.onlymp3-glass-language-option .lang-switcher-option-copy,
.site-header .lang-switcher-option[dir="rtl"] .lang-switcher-option-copy,
.onlymp3-glass-language-option[dir="rtl"] .lang-switcher-option-copy {
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start !important;
}

/* The check markup now exists only for the current locale. */

.site-header .lang-switcher-option-check,
.onlymp3-glass-language-option .lang-switcher-option-check {
  color: #ff3158 !important;
  background: transparent !important;
}

/* Reduce excess vertical whitespace without shrinking interactive controls or
   tightening multilingual text line-height. The shared variables keep the
   homepage sections consistent across all 14 locales. */

:root {
  --onlymp3-section-space: clamp(30px, 3.2vw, 42px);
  --onlymp3-heading-gap: 18px;
  --onlymp3-card-padding: 22px;
  --onlymp3-grid-gap: 20px;
}

/* Keep the converter visually prominent, but reduce the empty space around it. */

.hero.onlymp3-section {
  padding-top: clamp(34px, 3.8vw, 46px) !important;
  padding-bottom: clamp(32px, 3.5vw, 42px) !important;
}

.hero .converter-card {
  margin-top: 22px !important;
  padding: 18px !important;
}

.hero .trust-row {
  margin-top: 18px !important;
}

/* Compact shared cards while preserving readable text and icon spacing. */

.benefit-card {
  padding: 22px 18px !important;
}

.step-card {
  padding: 28px 22px !important;
}

.content-card,
.feature-card,
.contact-card,
.legal-card,
.legal-side-card {
  padding: var(--onlymp3-card-padding) !important;
}

.content-card h2 {
  margin-bottom: 12px !important;
}

.check-list li {
  margin-bottom: 10px !important;
}

/* Normalize the main homepage grid rhythm. */

.benefits-green-preview-section .row,
#how-it-works .row,
.why-choose-align-center .row,
#features .row,
#faq .row {
  --bs-gutter-x: var(--onlymp3-grid-gap) !important;
  --bs-gutter-y: var(--onlymp3-grid-gap) !important;
}

/* FAQ: reduce vertical length without reducing tap-target readability. */

.faq-accordion .accordion-button,
.accordion-button {
  padding: 16px 18px !important;
}

.faq-accordion .accordion-body,
.accordion-body {
  padding: 4px 18px 18px !important;
}

/* Result page and supporting content pages. */

.result-hero {
  padding-top: 42px !important;
  padding-bottom: 28px !important;
}

.result-card {
  padding: 24px !important;
}

.result-card .row,
.contact-card .row {
  --bs-gutter-x: 18px !important;
  --bs-gutter-y: 18px !important;
}

.page-hero {
  padding-top: 48px !important;
  padding-bottom: 22px !important;
}

.legal-layout {
  padding-top: 28px !important;
  padding-bottom: 52px !important;
}

.legal-card h2 {
  margin-top: 24px !important;
}

.legal-note {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

/* Footer retains clear grouping with less unused vertical space. */

.onlymp3-footer-v3 .onlymp3-footer-main {
  padding-top: 30px !important;
  padding-bottom: 24px !important;
}

.onlymp3-footer-grid {
  gap: 28px !important;
}

.onlymp3-footer-v3 .footer-link-list {
  gap: 6px !important;
}

.onlymp3-footer-bottom-v3.footer-bottom {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.onlymp3-footer-bottom-inner {
  min-height: 58px !important;
  gap: 20px !important;
}

@media (max-width: 767.98px) {

  :root {
    --onlymp3-section-space: 28px;
    --onlymp3-heading-gap: 14px;
    --onlymp3-card-padding: 18px;
    --onlymp3-grid-gap: 16px;
  }

  .hero.onlymp3-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .hero .converter-card {
    margin-top: 22px !important;
    padding: 16px !important;
  }

  .benefit-card {
    padding: 18px 14px !important;
  }

  .step-card {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .content-card,
  .feature-card,
  .contact-card,
  .legal-card,
  .legal-side-card,
  .result-card,
  .video-info-panel,
  .download-panel {
    padding: var(--onlymp3-card-padding) !important;
  }

  .faq-accordion .accordion-button,
  .accordion-button {
    padding: 14px 16px !important;
  }

  .faq-accordion .accordion-body,
  .accordion-body {
    padding: 2px 16px 16px !important;
  }

  .result-hero {
    padding-top: 32px !important;
    padding-bottom: 22px !important;
  }

  .result-section {
    padding-top: 12px !important;
    padding-bottom: 36px !important;
  }

  .page-hero {
    padding-top: 36px !important;
    padding-bottom: 18px !important;
  }

  .legal-layout {
    padding-top: 22px !important;
    padding-bottom: 38px !important;
  }

  .onlymp3-footer-v3 .onlymp3-footer-main {
    padding-top: 24px !important;
    padding-bottom: 18px !important;
  }

  .onlymp3-footer-grid {
    gap: 20px !important;
  }

  .onlymp3-footer-bottom-v3.footer-bottom {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .onlymp3-footer-bottom-inner {
    min-height: 52px !important;
    gap: 12px !important;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 991.98px) {

  :root {
    --onlymp3-section-space: 24px;
    --onlymp3-heading-gap: 12px;
  }

  .hero.onlymp3-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* Keep the split English brand name in the same order on RTL pages. */

.site-logo,
.site-header .site-logo,
.onlymp3-footer-v3 .site-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

/* Restore a stable centered card layout after the compact-spacing override. */

#how-it-works .step-card {
  position: relative !important;
  min-height: 215px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 28px 22px 24px !important;
  text-align: center !important;
}

#how-it-works .step-card .icon-circle {
  position: static !important;
  margin: 0 auto 14px !important;
  transform: none !important;
}

#how-it-works .step-card h3,
#how-it-works .step-card p {
  width: 100%;
  text-align: center !important;
}

#how-it-works .step-number {
  left: auto !important;
  right: auto !important;
  inset-inline-start: 22px !important;
}

/* Center each feature icon against its complete title-and-description block. */

.powerful-features-blue-only .feature-card > .d-flex {
  min-height: 100%;
  align-items: center !important;
}

.powerful-features-blue-only .feature-card > .d-flex > div:last-child {
  min-width: 0;
}

.powerful-features-blue-only .feature-icon {
  align-self: center !important;
}

/* Phones use the approved horizontal step-card layout with logical RTL support. */

@media (max-width: 767.98px) {

  #how-it-works .step-card {
    min-height: 132px !important;
    align-items: stretch !important;
    justify-content: center !important;
    padding: 20px 18px !important;
    padding-inline-start: 88px !important;
    text-align: start !important;
  }

  #how-it-works .step-card .icon-circle {
    position: absolute !important;
    top: 50% !important;
    left: auto !important;
    right: auto !important;
    inset-inline-start: 20px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  #how-it-works .step-card h3,
  #how-it-works .step-card p {
    text-align: start !important;
  }

  #how-it-works .step-number {
    top: -14px !important;
    inset-inline-start: 18px !important;
  }
}

/* Portrait tablets retain the three-column centered step presentation. */

@media (min-width: 768px) and (max-width: 991.98px) {

  #how-it-works .step-card {
    min-height: 230px !important;
    padding: 28px 20px 24px !important;
  }
}

.support-modal-overlay {
  background: rgba(15, 23, 42, .50) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.support-modal-card {
  background: #ffffff !important;
  border-color: rgba(255, 49, 88, .15) !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .16), 0 4px 12px rgba(15, 23, 42, .06) !important;
}

.support-modal-close {
  box-shadow: none !important;
}

.support-modal-icon {
  box-shadow: 0 6px 16px rgba(255, 49, 88, .10) !important;
}

.support-modal-btn-primary,
.support-modal-btn-coffee {
  box-shadow: 0 8px 18px rgba(255, 49, 88, .18) !important;
}

.support-modal-btn-primary:hover,
.support-modal-btn-primary:focus,
.support-modal-btn-coffee:hover,
.support-modal-btn-coffee:focus {
  box-shadow: 0 10px 22px rgba(255, 49, 88, .22) !important;
}

.support-modal-btn-muted,
.support-modal-btn-muted:hover,
.support-modal-btn-muted:focus {
  box-shadow: none !important;
}

/* Keep the structural cleanup introduced in v48, but use a more comfortable
   and consistent rhythm. Mobile uses a 16px base gap with 20px separation
   between major groups; tablet and desktop scale upward predictably. */

.result-hero {
  padding-top: 44px !important;
  padding-bottom: 28px !important;
}

.result-hero .conversion-status-badge {
  margin-bottom: 14px !important;
  padding: 8px 14px !important;
}

.result-hero .hero-title {
  margin-bottom: 12px !important;
}

.result-section {
  padding-top: 16px !important;
  padding-bottom: 44px !important;
}

.result-card {
  padding: 28px !important;
}

.result-card > .row,
.left-result-area > .row {
  --bs-gutter-x: 24px !important;
  --bs-gutter-y: 24px !important;
}

/* Retain the natural video proportion without a fixed mobile height. */

.video-thumb,
.onlymp3-thumbnail {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
}

.video-info-panel .video-title {
  margin-bottom: 12px !important;
}

.video-info-panel .metadata-pills-row {
  margin-bottom: 14px !important;
}

.result-shortcut-tip {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
  padding: 16px 18px !important;
}

.left-result-area .result-share-row {
  margin-top: 20px !important;
  padding-top: 20px !important;
}

/* One consistent vertical gap between all download actions. */

#downloadMp3Btn,
#conversionProgressWrap,
.download-panel > .support-box,
.download-panel > #dropboxBtn {
  margin-bottom: 16px !important;
}

.support-box {
  padding: 16px !important;
}

.support-box .small.text-muted {
  margin-bottom: 14px !important;
}

.result-card > .mobile-share-card {
  margin-top: 20px !important;
  padding: 18px !important;
}

.result-card > .safe-alert {
  margin-top: 20px !important;
  padding: 15px 18px !important;
  gap: 14px !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {

  .result-hero {
    padding-top: 38px !important;
    padding-bottom: 24px !important;
  }

  .result-hero .hero-title {
    font-size: clamp(2.05rem, 5vw, 2.7rem) !important;
    line-height: 1.08 !important;
  }

  .result-section {
    padding-top: 14px !important;
    padding-bottom: 40px !important;
  }

  .result-card {
    padding: 24px !important;
  }

  .result-card > .row,
  .left-result-area > .row {
    --bs-gutter-x: 20px !important;
    --bs-gutter-y: 20px !important;
  }

  .download-panel {
    padding-top: 22px !important;
  }

  .result-card > .mobile-share-card,
  .result-card > .safe-alert {
    margin-top: 18px !important;
  }
}

@media (max-width: 767.98px) {

  .result-hero {
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

  .result-hero .conversion-status-badge {
    margin-bottom: 10px !important;
    padding: 7px 12px !important;
    gap: 7px !important;
    font-size: .84rem !important;
  }

  .result-hero .hero-title {
    margin-bottom: 8px !important;
    font-size: clamp(1.75rem, 8.5vw, 2.1rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
  }

  .result-hero .hero-subtitle {
    font-size: .94rem !important;
    line-height: 1.5 !important;
  }

  .result-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .result-card > .row,
  .left-result-area > .row {
    --bs-gutter-x: 16px !important;
    --bs-gutter-y: 16px !important;
  }

  /* Content regions remain flat inside the outer card. */

  .video-info-panel {
    padding: 0 !important;
  }

  .video-info-panel .video-title {
    margin-bottom: 10px !important;
  }

  .video-info-panel .metadata-pills-row {
    margin-bottom: 4px !important;
  }

  .download-panel {
    padding: 20px 0 0 !important;
  }

  #downloadMp3Btn,
  #conversionProgressWrap,
  .download-panel > .support-box,
  .download-panel > #dropboxBtn {
    margin-bottom: 14px !important;
  }

  .support-box {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .support-box .small.text-muted {
    margin-bottom: 12px !important;
  }

  .result-card > .mobile-share-card {
    margin-top: 18px !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .mobile-share-card .result-share-title {
    margin-bottom: 8px !important;
  }

  .mobile-share-card .result-share-text {
    margin-bottom: 12px !important;
  }

  .result-card > .safe-alert {
    margin-top: 18px !important;
    padding: 14px 15px !important;
    gap: 12px !important;
    border-radius: 14px !important;
  }
}

/* Avoid artificial spacer blocks. On phones, keep the live conversion progress
   first, then show the optional support card before the final file actions.
   Desktop and tablet retain the established action order. */

@media (max-width: 767.98px) {

  .download-panel > #conversionProgressWrap {
    order: 1;
  }

  .download-panel > .support-box {
    order: 2;
  }

  .download-panel > .download-file-form {
    order: 3;
  }

  .download-panel > #dropboxBtn {
    order: 4;
  }

  .download-panel > .btn-convert-another {
    order: 5;
  }
}

/* Keep the support-first flow from v50, but give the mobile result card a
   slightly more open and consistent rhythm. Direct action children use one
   shared gap so spacing does not depend on Bootstrap margin utilities. */

@media (max-width: 767.98px) {

  .result-section {
    padding-top: 14px !important;
    padding-bottom: 40px !important;
  }

  .result-card {
    padding: 20px !important;
  }

  .result-card > .row,
  .left-result-area > .row {
    --bs-gutter-x: 18px !important;
    --bs-gutter-y: 18px !important;
  }

  .download-panel {
    padding-top: 24px !important;
    row-gap: 18px !important;
  }

  /* Use the flex gap above as the single spacing source for action rows. */

  .download-panel > .download-file-form,
  .download-panel > #conversionProgressWrap,
  .download-panel > .support-box,
  .download-panel > #dropboxBtn,
  .download-panel > .btn-convert-another,
  #downloadMp3Btn {
    margin-bottom: 0 !important;
  }

  .support-box {
    padding: 18px !important;
  }

  .support-box .small.text-muted {
    margin-bottom: 14px !important;
  }

  .result-card > .mobile-share-card {
    margin-top: 20px !important;
    padding: 18px !important;
  }

  .result-card > .safe-alert {
    margin-top: 20px !important;
    padding: 15px 16px !important;
  }
}

/* Keep page-section spacing unchanged. Use one predictable rhythm between the
   actual items inside the result card: metadata, progress, support and file
   actions. Mobile receives the clearest 20px item gap without artificial space. */

.result-card {
  --result-card-item-gap: 18px;
  --result-card-content-gap: 14px;
}

/* Normalize the metadata stack instead of mixing Bootstrap bottom margins. */

.video-info-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--result-card-content-gap) !important;
}

.video-info-panel .video-title,
.video-info-panel .metadata-pills-row,
.video-info-panel .download-success-description {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* All result actions share one spacing source. Hidden rows do not consume gap. */

.download-panel {
  row-gap: var(--result-card-item-gap) !important;
}

.download-panel > .download-file-form,
.download-panel > #conversionProgressWrap,
.download-panel > .support-box,
.download-panel > #dropboxBtn,
.download-panel > .btn-convert-another,
#downloadMp3Btn {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Use the same internal rhythm inside the support item itself. */

.support-box {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--result-card-content-gap) !important;
}

.support-box > .small,
.support-box .small.text-muted {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Normalize item spacing within the mobile share item. */

.mobile-share-card .result-share-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.mobile-share-card .result-share-title,
.mobile-share-card .result-share-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {

  .result-card {
    --result-card-item-gap: 20px;
    --result-card-content-gap: 14px;
  }
}

@media (max-width: 767.98px) {

  /* Restore the established outer section spacing; v52 changes card internals. */

  .result-section {
    padding-top: 12px !important;
    padding-bottom: 34px !important;
  }

  .result-card {
    --result-card-item-gap: 20px;
    --result-card-content-gap: 14px;
  }

  /* Thumbnail, metadata and the action column follow the same 20px rhythm. */

  .result-card > .row,
  .left-result-area > .row {
    --bs-gutter-x: 20px !important;
    --bs-gutter-y: 20px !important;
  }

  .download-panel {
    padding-top: 20px !important;
  }

  /* These are also items inside result-card, not separate page sections. */

  .result-card > .mobile-share-card,
  .result-card > .safe-alert {
    margin-top: var(--result-card-item-gap) !important;
  }
}

/* Component helpers extracted from Blade inline styles. */

.onlymp3-benefit-item {
  display: flex !important;
  align-items: center !important;
}

.conversion-progress-bar-initial {
  width: 0%;
}

/* ===== v57: restore accepted mobile Paste/Clear control sizing ===== */
@media (max-width: 575.98px) {
  .converter-input.with-paste {
    padding-right: 64px !important;
  }

  .paste-btn,
  .clear-url-btn {
    right: 10px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .paste-btn span,
  .clear-url-btn span {
    display: none !important;
  }
}

/* ===== v58: restore result boundary and flatten nested result panels ===== */
/* Keep the hero/result transition visible on every viewport. */
.result-hero {
  border-bottom: 1px solid var(--only-border) !important;
}

/* Metadata and download actions are regions inside .result-card, not cards. */
.video-info-panel,
.download-panel {
  border-radius: 0 !important;
}

/* ===== v59: equal Paste/Clear controls on every viewport ===== */
/* Labelled controls use one fixed box so switching between states never shifts the input. */
.converter-input.with-paste {
  padding-right: 140px !important;
}

.paste-btn,
.clear-url-btn {
  right: 14px !important;
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 42px !important;
  padding: 0 12px !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 575.98px) {
  .converter-input.with-paste {
    padding-right: 64px !important;
  }

  .paste-btn,
  .clear-url-btn {
    right: 10px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .paste-btn span,
  .clear-url-btn span {
    display: none !important;
  }
}

/* ===== v62: normalized responsive heading scale ===== */
:root {
  --onlymp3-heading-hero: clamp(2.75rem, 3.5vw, 3.5rem);
  --onlymp3-heading-page: clamp(2.35rem, 3vw, 3rem);
  --onlymp3-heading-section: clamp(1.75rem, 2.2vw, 2.1rem);
  --onlymp3-heading-content: 1.4rem;
  --onlymp3-heading-card: 1.075rem;
  --onlymp3-heading-legal: 1.25rem;
  --onlymp3-heading-modal: 1.4rem;
}

/* Primary page titles: one scale for home, result and supporting pages. */
.hero-title {
  max-width: 940px !important;
  margin-inline: auto !important;
  font-size: var(--onlymp3-heading-hero) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  font-weight: 750 !important;
  text-wrap: balance;
}

.result-hero .hero-title {
  max-width: 900px !important;
}

.page-title {
  max-width: 900px !important;
  font-size: var(--onlymp3-heading-page) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  font-weight: 750 !important;
  text-wrap: balance;
}

/* Section and card headings: clear hierarchy without body-sized titles. */
.section-title {
  font-size: var(--onlymp3-heading-section) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
  font-weight: 750 !important;
  text-wrap: balance;
}

.content-card h2,
.contact-card h2.h4 {
  font-size: var(--onlymp3-heading-content) !important;
  line-height: 1.24 !important;
  letter-spacing: -.02em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.legal-card h2 {
  font-size: var(--onlymp3-heading-legal) !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.benefit-card h3,
.feature-card h3,
.step-card h3,
.contact-method h2.h5,
.legal-side-card h2.h5 {
  font-size: var(--onlymp3-heading-card) !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.accordion-button {
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

.video-info-panel .video-title {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.support-modal-title {
  font-size: var(--onlymp3-heading-modal) !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  font-weight: 750 !important;
  text-wrap: balance;
}

.soft-error-card h1 {
  max-width: 680px;
  margin-inline: auto;
  font-size: var(--onlymp3-heading-hero) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em !important;
  font-weight: 780 !important;
  text-wrap: balance;
}

@media (max-width: 991.98px) {
  :root {
    --onlymp3-heading-hero: clamp(2.35rem, 5.2vw, 3rem);
    --onlymp3-heading-page: clamp(2.2rem, 4.8vw, 2.75rem);
    --onlymp3-heading-section: clamp(1.7rem, 3.4vw, 2rem);
  }
}

@media (max-width: 575.98px) {
  :root {
    --onlymp3-heading-hero: clamp(2rem, 8.5vw, 2.4rem);
    --onlymp3-heading-page: clamp(1.95rem, 8vw, 2.25rem);
    --onlymp3-heading-section: clamp(1.6rem, 6.5vw, 1.85rem);
    --onlymp3-heading-content: 1.3rem;
    --onlymp3-heading-card: 1.05rem;
    --onlymp3-heading-legal: 1.2rem;
    --onlymp3-heading-modal: 1.3rem;
  }

  .hero-title,
  .page-title,
  .section-title,
  .content-card h2,
  .legal-card h2,
  .benefit-card h3,
  .feature-card h3,
  .step-card h3,
  .soft-error-card h1 {
    overflow-wrap: anywhere;
  }
}

/* ===== v76: shorter localized homepage H1 with stronger hero scale ===== */
:root {
  --onlymp3-heading-home-hero: clamp(2.5rem, 5vw, 3.75rem);
}

.hero.onlymp3-section .hero-title {
  max-width: 1000px !important;
  font-size: var(--onlymp3-heading-home-hero) !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
}

@media (max-width: 991.98px) {
  :root {
    --onlymp3-heading-home-hero: clamp(2.5rem, 6vw, 3.25rem);
  }
}

@media (max-width: 575.98px) {
  :root {
    --onlymp3-heading-home-hero: clamp(2.1rem, 9vw, 2.55rem);
  }

  .hero.onlymp3-section .hero-title {
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
  }
}

/* ===== v83: flat Download MP3 and Support OnlyMP3 buttons ===== */
#downloadMp3Btn,
#downloadMp3Btn:hover,
#downloadMp3Btn:focus,
#downloadMp3Btn:focus-visible,
#downloadMp3Btn:active,
.btn-support,
.btn-support:hover,
.btn-support:focus,
.btn-support:focus-visible,
.btn-support:active,
.support-modal-btn-primary,
.support-modal-btn-primary:hover,
.support-modal-btn-primary:focus,
.support-modal-btn-primary:focus-visible,
.support-modal-btn-primary:active {
  box-shadow: none !important;
}


/* ===== v93: transparent mobile-menu backdrop with 2px blur ===== */
@media (max-width: 991.98px) {
  .onlymp3-mobile-glass-menu.is-open {
    -webkit-backdrop-filter: blur(2px) !important;
    backdrop-filter: blur(2px) !important;
  }

  .onlymp3-mobile-glass-panel,
  .onlymp3-mobile-glass-menu.is-open .onlymp3-mobile-glass-panel,
  .onlymp3-mobile-glass-menu.is-closing .onlymp3-mobile-glass-panel {
    box-shadow: none !important;
  }
}

/* Disabled converter controls must not react to hover or focus. */
.clear-url-btn:disabled,
.clear-url-btn:disabled:hover,
.clear-url-btn:disabled:focus,
.clear-url-btn:disabled:active {
  background: rgba(16, 24, 40, .06) !important;
  color: var(--only-muted) !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  cursor: not-allowed !important;
}

/* Brief confirmation after the hidden download target is started. */
.download-feedback-check {
  animation: onlymp3-download-feedback-check .28s ease-out;
}

@keyframes onlymp3-download-feedback-check {
  from {
    opacity: .35;
    transform: scale(.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-feedback-check {
    animation: none;
  }
}


/* Contact page: direct support channels and guidance */
.contact-page-hero .container {
  text-align: start !important;
}

.contact-page-hero .page-title,
.contact-page-hero .page-lead {
  margin-inline: 0 !important;
}

.contact-page-hero .page-lead {
  max-width: 760px;
}

.contact-links-section {
  padding: 38px 0 18px;
}

.contact-link-card,
.contact-guidance-card,
.contact-notice-card {
  background: #fff;
  border: 1px solid var(--only-border);
  border-radius: 24px;
}

.contact-link-card {
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 49, 88, .28);
}

.contact-link-icon,
.contact-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  flex: 0 0 46px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  color: var(--only-primary);
  background: rgba(255, 49, 88, .08);
  font-size: 1.25rem;
}

.contact-link-card h2,
.contact-guidance-card h2,
.contact-notice-card h2,
.contact-cta-box h2 {
  color: var(--only-dark);
  font-weight: 750;
  letter-spacing: -.025em;
}

.contact-link-card h2 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.contact-link-card p,
.contact-guidance-card p,
.contact-notice-card p,
.contact-cta-box p {
  color: var(--only-muted);
  line-height: 1.7;
}

.contact-link-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--only-primary);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-link-card a:hover {
  color: var(--only-primary-dark);
}

.contact-guidance-section {
  padding: 22px 0 18px;
}

.contact-guidance-card {
  padding: 30px;
}

.contact-guidance-card h2,
.contact-notice-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.contact-check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.contact-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--only-muted);
  line-height: 1.6;
}

.contact-check-list i {
  color: #22a06b;
  margin-top: 3px;
}

.contact-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 30px;
  background: rgba(255, 49, 88, .035);
}

.contact-notice-card p,
.contact-cta-box p {
  margin-bottom: 0;
}

.contact-cta {
  padding: 22px 0 74px;
}

.contact-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 49, 88, .14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 49, 88, .07), #fff 58%);
}

.contact-cta-box h2 {
  margin: 0 0 7px;
  font-size: 1.45rem;
}

.contact-cta-box .btn {
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .contact-links-section {
    padding-top: 28px;
  }

  .contact-link-card,
  .contact-guidance-card,
  .contact-notice-card,
  .contact-cta-box {
    border-radius: 20px;
    padding: 22px;
  }

  .contact-cta {
    padding-bottom: 110px;
  }

  .contact-cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-cta-box .btn {
    width: 100%;
  }
}

/* ===== v103: stronger emphasis for important support-modal words ===== */
.support-modal-text strong {
  color: var(--only-text) !important;
  font-weight: 800 !important;
}
