/* =======================================================
   COMPARTIR GLOBAL THEME - PUBLICO MOBILE REAL-LIVE
   ======================================================= */
:root {
  --theme-bg: linear-gradient(135deg, #1a0f00 0%, #994407 60%, #1a0f00 100%);
  --theme-text: #ffffff;
  --secondary-bar-height: 70px;
  --font-primary: "Poppins", Arial, sans-serif;
  --compartir-card-width: min(92vw, 470px);
  --compartir-orange: #ff8c00;
  --compartir-brown: #220b01;
  --compartir-black: #070300;
}

/* =======================================================
   BASE DEL BODY - COMPARTIR DESBLOQUEADO EN MOVIL
   ======================================================= */
html {
  background: #1a0f00;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--secondary-bar-height);
  background:
    radial-gradient(circle at top, rgba(255, 124, 17, 0.2), transparent 34%),
    linear-gradient(135deg, #1a0f00 0%, #471e01 58%, #0a0300 100%);
  color: var(--theme-text);
  font-family: var(--font-primary);
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input {
  font-family: inherit;
}

img {
  max-width: 100%;
}

/* =======================================================
   MAIN HEADER - SOLO LOGO + DIRECCION + IDIOMAS
   ======================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--secondary-bar-height);
  background: var(--theme-bg);
  color: var(--theme-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  z-index: 1000;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.header-logo {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.03);
  opacity: 0.88;
}

.logo-circle {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("logo.png") center/cover no-repeat;
  border: 2px solid #f8f5f3;
}

.logo-text {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.home-controls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
}

.direction-btn {
  width: 36px;
  height: 36px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  background: #220b01;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.direction-btn .arrow-icon {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 13px solid #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.direction-btn.down .arrow-icon {
  transform: rotate(180deg);
}

.direction-btn:hover {
  background-color: #f70b0b;
  transform: scale(1.05);
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 7px 11px;
  border: 2px solid #fff;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-selector:hover {
  background: #fff;
  color: #000;
}

/* =======================================================
   COMPARTIR - TITULO SECCION HEADER MINI CARD REAL-LIVE
   ======================================================= */
.compartir-section-title-card {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 118px;
  padding: 7px 18px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  background: linear-gradient(180deg, rgba(28, 9, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  font-size: 0.94rem;
  font-style: oblique 10deg;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1.02;
  text-align: center;
  text-shadow:
    0.45px 0 0 #fff,
    -0.45px 0 0 #fff,
    0 0.45px 0 #fff,
    0 -0.45px 0 #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.compartir-section-title-card.is-two-line {
  flex-direction: column;
  min-height: 42px;
  min-width: 122px;
  padding: 5px 18px;
  white-space: normal;
}

/* =======================================================
   MAIN COMPARTIR - LAYOUT VERTICAL MOBILE
   ======================================================= */
.compartir-main {
  width: 100%;
  min-height: calc(100vh - var(--secondary-bar-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 14px 18px;
}

.compartir-search-section {
  width: var(--compartir-card-width);
  margin: 0 auto;
}

/* =======================================================
   BUSCADOR PUBLICO - VISUAL IX @USERNAME ADAPTADO
   ======================================================= */
#compartir-search {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #ff8c00;
  background: #140600;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  outline: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

#compartir-search::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

#compartir-search:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.26), 0 10px 26px rgba(0, 0, 0, 0.36);
}

.compartir-search-results {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compartir-result-row {
  border: 2px solid rgba(255, 140, 0, 0.32);
  border-radius: 10px;
  background: #411301;
  color: #fff;
  padding: 11px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.24);
}

.compartir-result-row:hover {
  background: #ff7c11;
  color: #000;
  transform: translateX(4px);
}

.compartir-result-title {
  display: block;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.25;
}

.compartir-result-detail {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0.78;
}

/* =======================================================
   CARD PUBLICA WEB - VISUAL VERTICAL MOBILE REAL-LIVE
   ======================================================= */
.compartir-card-shell {
  width: var(--compartir-card-width);
  margin: 0 auto;
}

.compartir-card {
  width: 100%;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 140, 0, 0.24), transparent 30%),
    linear-gradient(180deg, #321000 0%, #0d0400 48%, #000000 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
  padding: 16px;
  overflow: hidden;
}

.compartir-card-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.compartir-card-brand,
.compartir-card-date {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

/* =======================================================
   COMPARTIR CARD - LOGO CENTRAL BRAND ROW REAL-LIVE
   ======================================================= */
.compartir-card-brand {
  justify-self: start;
}

.compartir-card-date {
  justify-self: end;
  text-align: right;
}

.compartir-card-white-logo {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  justify-self: center;
}

.compartir-card-white-logo img {
  width: 148%;
  height: 148%;
  max-width: none;
  border: 0;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
}

.compartir-card-title {
  width: calc(100% - 10px);
  margin: 0 auto 14px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 176, 74, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 124, 17, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: clamp(1.08rem, 3.9vw, 1.26rem);
  line-height: 1.18;
  font-style: oblique;
  font-weight: 900;
  text-align: center;
  box-shadow:
    inset 0 0 18px rgba(255, 140, 0, 0.10),
    0 8px 20px rgba(0, 0, 0, 0.28);
  text-shadow: 0 0 14px rgba(255, 174, 66, 0.28);
}

.compartir-title-mobile-line::before {
  content: " ";
}

.compartir-song-cover-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #160700;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5);
}

.compartir-song-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.compartir-song-title {
  display: block;
  max-width: calc(100% - 24px);
  margin: 13px auto 4px;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 1000;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compartir-song-title:hover,
.compartir-playlist-cover:hover .compartir-playlist-name {
  text-decoration: underline;
}

.compartir-artist-row {
  display: block;
  max-width: calc(100% - 24px);
  color: #ffcf7a;
  text-decoration: none;
  margin: 0 auto 12px;
  text-align: center;
}

.compartir-artist-name {
  display: block;
  width: 100%;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compartir-service-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 8px auto 14px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.10);
  border: 1px solid rgba(30, 215, 96, 0.42);
  box-shadow: 0 0 14px rgba(30, 215, 96, 0.12);
}

.compartir-service-label,
.compartir-service-name {
  font-size: 0.84rem;
  font-weight: 900;
}

.compartir-service-label {
  color: #1ed760;
}

.compartir-service-name {
  display: none;
}

.compartir-playlists-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compartir-playlist-cover {
  min-width: 0;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.compartir-playlist-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.26);
  background: #140600;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.38);
}

.compartir-playlist-name {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.12;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* =======================================================
   ACCIONES PUBLICAS - COPIAR Y DESCARGAR REAL-LIVE
   ======================================================= */
.compartir-action-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}

.compartir-action-btn {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  background: linear-gradient(180deg, #220b01, #000000);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.15;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.compartir-action-btn.is-primary {
  background: linear-gradient(180deg, #ff7c11, #7c2100);
}

.compartir-action-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #f70b0b, #5a0000);
}

.compartir-action-btn:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.compartir-feedback {
  min-height: 18px;
  margin-top: 10px;
  color: #ffddad;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

/* =======================================================
   CARD PUBLICA WEB - HORIZONTAL PC REAL-LIVE
   ======================================================= */
@media (min-width: 900px) {
  :root {
    --compartir-card-width: min(94vw, 920px);
  }

  .main-header {
    justify-content: flex-start;
  }

  .home-controls {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-left: 28px;
  }

  .compartir-section-title-card {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .compartir-search-section {
    position: fixed;
    top: 11px;
    left: 410px;
    right: max(170px, calc((100vw - min(94vw, 920px)) / 2));
    z-index: 1200;
    width: auto;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .compartir-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(58vh, 430px);
    overflow-y: auto;
  }

  #compartir-search {
    min-height: 46px;
    padding: 10px 16px;
  }

  .compartir-main {
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 18px 14px;
  }

  .compartir-card {
    display: grid;
    grid-template-columns: minmax(0, 438px) minmax(300px, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 18px 24px;
    padding: 16px;
  }

  .compartir-card-primary {
    display: contents;
  }

  .compartir-card-heading {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: start;
    transform: translateY(-8px);
  }

  .compartir-card-heading .compartir-card-brand-row {
    padding: 0 5px;
  }

  .compartir-card-track {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-width: 0;
    align-self: start;
  }

  .compartir-card-secondary {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    transform: translateY(-8px);
  }

  .compartir-artist-row {
    margin-bottom: 0;
  }

  .compartir-service-row {
    margin: 0 auto 18px;
  }

  .compartir-playlists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .compartir-action-stack {
    gap: 8px;
    margin-top: 16px;
  }

  .compartir-action-btn {
    min-height: 38px;
  }

  .home-controls .direction-btn {
    position: relative;
    left: -10px;
  }
}

.compartir-empty-state {
  width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(255, 140, 0, 0.38);
  background: rgba(20, 6, 0, 0.82);
  color: rgba(255, 255, 255, 0.86);
  padding: 18px;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

/* =======================================================
   FOOTER COMPARTIR - PUBLICO REAL-LIVE
   ======================================================= */
.footer {
  width: min(92vw, 430px);
  margin: 12px auto 20px;
  padding: 12px 10px;
  border-radius: 24px;
  background: #000;
  border-top: 1px solid rgba(255, 165, 77, 0.12);
  text-align: center;
}

.footer p {
  margin: 0 0 8px;
  color: #ccc;
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-links {
  font-size: 0.8rem;
  font-weight: 900;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: #ffae42;
}

/* =======================================================
   FOOTER COMPARTIR - PC MISMO ANCHO CARD REAL-LIVE
   ======================================================= */
@media (min-width: 900px) {
  .compartir-main {
    min-height: auto;
    padding-bottom: 0;
  }

  .footer {
    width: var(--compartir-card-width);
    margin: 8px auto 18px;
  }
}

/* =======================================================
   RESPONSIVE COMPARTIR - MOVIL VERTICAL OPTIMIZADO
   ======================================================= */
@media (max-width: 560px) {
  :root {
    --secondary-bar-height: 70px;
    --compartir-card-width: min(94vw, 430px);
  }

  .main-header {
    padding: 10px;
    gap: 8px;
    align-items: center;
  }

  .logo-circle {
    width: 31px;
    height: 31px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .header-logo {
    pointer-events: none;
    cursor: default;
  }

  .home-controls {
    left: calc(50% + 9px);
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 6px;
  }

  .compartir-title-mobile-line {
    display: block;
  }

  .compartir-title-mobile-line::before {
    content: "";
  }

  .direction-btn {
    width: 34px;
    height: 34px;
  }

  .lang-selector {
    min-width: 46px;
    padding: 6px 9px;
    font-size: 0.84rem;
  }

  .compartir-section-title-card {
    right: 8px;
    top: 50%;
    min-height: 36px;
    min-width: 96px;
    padding: 5px 14px;
    font-size: 0.74rem;
  }

  .compartir-section-title-card.is-two-line {
    min-height: 38px;
    min-width: 102px;
    padding: 4px 14px;
  }

  .compartir-main {
    padding: 16px 10px 12px;
  }

  .compartir-card {
    border-radius: 16px;
    padding: 13px;
  }

  .compartir-playlists-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .logo-text {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .compartir-card-title {
    font-size: 1rem;
  }

  .compartir-playlists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =======================================================
   COMPARTIR - DASHBOARD HEADER MOBILE BASE OCULTA PC REAL-LIVE
   ======================================================= */
.header-right,
.header-nav,
.home-icon-2d,
.lang-btn,
.login-spotify-btn,
.mobile-dashboard-menu-shell,
.mobile-dashboard-menu-btn,
#mobile-dashboard-menu {
  display: none;
}

.explorar-dropdown {
  position: absolute;
  top: 60px;
  right: 115px;
  width: 350px;
  background: #120700;
  border: 2px solid #ff9a3c;
  border-radius: 14px;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  z-index: 9999;
}

.explorar-item {
  width: 90%;
  padding: 3px 0;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffd79e;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,150,50,0.35);
  background: linear-gradient(180deg, #4a1a00, #2a0c00);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, color 0.2s ease;
  margin: 0 auto;
}

/* =======================================================
   COMPARTIR - BARRA DASHBOARD MOBILE REAL-LIVE
   ======================================================= */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .main-header,
  .main-header * {
    box-sizing: border-box;
  }

  .main-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: var(--secondary-bar-height);
    min-height: var(--secondary-bar-height);
    padding: 10px;
    gap: 0;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
    overflow: visible;
  }

  .compartir-section-title-card {
    display: none !important;
  }

  .header-logo {
    gap: 0.6rem;
    min-width: 0;
    max-width: calc(100vw - 238px);
    margin-right: 0;
    font-size: clamp(0.84rem, 3.4vw, 0.9rem);
    font-weight: 900;
    flex: 0 1 auto;
    transform: none;
  }

  .header-logo:hover {
    transform: none;
    opacity: 0.88;
  }

  .logo-circle {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .logo-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-icon-2d,
  .login-spotify-btn,
  .header-right > :not(.lang-selector):not(.mobile-dashboard-menu-shell) {
    display: none !important;
  }

  .home-controls {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 1202;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 6px;
    margin-right: 0;
    transform: none;
  }

  .language-selector-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 0;
    min-width: 54px;
    min-height: 34px;
    padding: 6px 11px;
    border: 2px solid #faf6f6;
    border-radius: 25px;
    background: linear-gradient(180deg, #eb4411 0%, #000000 50%, #6b2205 100%);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }

  .direction-btn {
    --scale: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: 0;
  }

  .direction-btn .arrow-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 13px solid #fff;
  }

  .direction-btn.down .arrow-icon {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  .header-right {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    max-width: none;
    z-index: 1201;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    transform: none;
    gap: 6px;
  }

  .header-right .lang-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-dashboard-menu-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-dashboard-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 34px;
    padding: 6px 10px;
    border: 2px solid #fff;
    border-radius: 25px;
    background: linear-gradient(180deg, #4a1a00, #120700);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }

  .mobile-dashboard-menu-btn::-webkit-details-marker {
    display: none;
  }

  .mobile-dashboard-menu-btn:hover,
  .mobile-dashboard-menu-btn:focus-visible {
    background: linear-gradient(180deg, #ff7c11, #7a2600);
    opacity: 0.95;
    outline: none;
    transform: scale(1.03);
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown {
    position: fixed;
    top: calc(var(--secondary-bar-height) + 8px);
    left: 50%;
    right: auto;
    width: min(310px, calc(100vw - 32px));
    max-height: 0;
    display: flex;
    padding: 12px 0;
    transform: translate(-50%, -10px);
    z-index: 99999;
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown .explorar-item {
    min-height: 36px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-dashboard-menu-shell[open] #mobile-dashboard-menu.mobile-dashboard-dropdown,
  #mobile-dashboard-menu.mobile-dashboard-dropdown.show {
    max-height: min(520px, calc(100vh - var(--secondary-bar-height) - 24px));
    overflow-y: auto;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 360px) {
  .mobile-dashboard-menu-btn {
    min-width: 56px;
    padding-right: 8px;
    padding-left: 8px;
  }
}
