
:root{
  --dark:#1a1a1a;
  --orange:#ea7025;
  --light:#f8f9fa;
  --muted:#6b7280;
  --border:rgba(0,0,0,.06);
  --green:#16a34a;
  --red:#dc2626;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{
  margin:0;
  height:100dvh;
  background:#d1d5db;
  display:flex;
  justify-content:center;
  overflow:hidden;
  font-family:Inter,system-ui,sans-serif;
}
.phone{
  width:100%;
  max-width:430px;
  height:100dvh;
  background:var(--light);
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(0,0,0,.28);
}
.app-header{
  background:var(--dark);
  color:white;
  padding:18px 18px 20px;
  border-radius:0 0 32px 32px;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  z-index:200;
  overflow:visible;
}
.brand-wrap{display:flex;align-items:center;min-width:0;flex:1;overflow:hidden}
.brand{display:flex;align-items:center;min-width:0;overflow:hidden}
.brand-logo{display:none}
.brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
.brand i{color:var(--orange);font-size:21px}
.brand h1{display:none}
.brand-subtitle{display:none}
.header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.points{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(234,112,37,.35);
  border-radius:999px;
  padding:7px 11px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:900;
}
.points i{color:var(--orange)}
.points-heart{width:16px;height:16px;object-fit:contain;display:block;flex:0 0 16px}
.language-menu{position:relative}
.language-button{
  border:1px solid rgba(234,112,37,.35);
  background:rgba(255,255,255,.96);
  color:#1a1a1a;
  border-radius:999px;
  padding:8px 11px;
  font-size:11px;
  font-weight:900;
  display:flex;
  align-items:center;
  gap:7px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  cursor:pointer;
}
.language-button i{color:var(--orange)}
.language-button .chevron{font-size:9px;color:#9ca3af}
.language-dropdown{
  position:absolute;
  top:42px;
  right:0;
  width:190px;
  background:white;
  border-radius:22px;
  border:1px solid var(--border);
  box-shadow:0 18px 42px rgba(0,0,0,.18);
  padding:8px;
  display:none;
  z-index:9999;
}
.language-dropdown.show{display:block;animation:drop .16s ease}
@keyframes drop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.language-option{
  width:100%;
  border:0;
  background:white;
  color:#374151;
  border-radius:15px;
  padding:11px 10px;
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.language-option.active{background:#fff7ed;color:var(--orange)}
.admin-toggle{
  position:static;
  z-index:9999;
  border:1px solid var(--border);
  background:rgba(255,255,255,.96);
  border-radius:999px;
  padding:8px 11px;
  font-size:10px;
  font-weight:900;
  color:#374151;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  align-self:flex-end;
}
main{
  flex:1;
  position:relative;
  z-index:1;
  overflow-y:auto;
  padding:24px 24px 116px;
  scrollbar-width:none;
}
main::-webkit-scrollbar{display:none}
.hello h2{margin:0;color:#111827;font-size:25px;font-weight:900;letter-spacing:-.04em}
.hello p,.small-note{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.section-title{
  margin:28px 0 16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}
.section-title h3{
  margin:0;
  color:#111827;
  font-size:21px;
  font-weight:900;
  border-left:4px solid var(--orange);
  padding-left:12px;
}
.section-title button{
  border:0;
  background:transparent;
  color:var(--orange);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  cursor:pointer;
}
.event-card,.product,.game-card,.ticket-card,.step-card,.profile-row,.admin-card,.shop-item{
  background:white;
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.event-card{
  width:100%;
  padding:12px;
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  cursor:pointer;
  transition:transform .16s ease;
}
.event-card:active,.product:active,.game-card:active,.profile-row:active,.shop-item:active{transform:scale(.98)}
.event-date{width:48px;flex:none;text-align:center}
.event-date strong{display:block;color:var(--orange);font-size:32px;line-height:1;font-weight:900}
.event-date span{display:block;margin-top:4px;color:#9ca3af;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.event-img{width:66px;height:96px;flex:none;border-radius:17px;overflow:hidden;background:#eee}
.event-img img,.product img,.shop-item img{width:100%;height:100%;object-fit:cover}
.event-info{min-width:0;flex:1}
.tag{color:var(--orange);font-size:8px;font-weight:900;letter-spacing:.22em;text-transform:uppercase;margin-bottom:5px}
.event-info h4,.product h4,.game-card h4,.profile-row h4{margin:0;color:#111827;line-height:1.15;font-weight:900}
.event-info h4{font-size:14px}
.event-info p{margin:6px 0 0;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-bottom,.product-foot{margin-top:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.hour{font-size:12px;color:#374151;font-weight:900}
.price{
  background:var(--dark);
  color:white;
  font-size:10px;
  font-weight:900;
  padding:6px 9px;
  border-radius:10px;
}
.free{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}
.products{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}
.products::-webkit-scrollbar{display:none}
.product{min-width:150px;padding:12px;cursor:pointer}
.product .pic{height:96px;border-radius:18px;overflow:hidden;margin-bottom:12px}
.product h4{font-size:14px}
.product-foot{font-size:12px;font-weight:900}
.product-foot span:last-child{background:#fff7ed;color:var(--orange);border-radius:999px;padding:5px 7px;font-size:10px}
.primary,.secondary,.ghost{
  border:0;
  font-weight:900;
  border-radius:18px;
  width:100%;
  padding:15px;
  margin-top:14px;
  font-size:14px;
  cursor:pointer;
}
.primary{background:var(--orange);color:white}
.secondary{background:var(--dark);color:white}
.ghost{background:white;color:#374151;border:1px solid var(--border)}
.back-btn{
  border:0;
  background:#fff7ed;
  color:var(--orange);
  font-weight:900;
  border-radius:999px;
  padding:10px 13px;
  margin-bottom:16px;
  cursor:pointer;
}
.bottom-nav{
  position:absolute;
  left:0;right:0;bottom:0;
  background:white;
  border-radius:34px 34px 0 0;
  height:96px;
  box-shadow:0 -18px 45px rgba(0,0,0,.12);
  z-index:30;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 22px;
}
.bottom-nav.hidden{display:none}
.nav-btn{
  border:0;
  background:transparent;
  color:#9ca3af;
  width:54px;height:70px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  gap:5px;
}
.nav-btn i{font-size:23px}
.nav-btn.active{color:var(--orange)}
.qr-holder{width:70px;height:96px;position:relative;display:flex;justify-content:center}
.qr-main{
  position:absolute;
  top:-30px;
  width:68px;height:68px;
  border:6px solid white;
  border-radius:50%;
  background:var(--orange);
  color:white;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 25px rgba(234,112,37,.35);
  cursor:pointer;
  animation:pulse-ring 2s infinite;
}
.qr-main i{font-size:28px}
.qr-label{
  position:absolute;
  top:60px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  color:var(--orange);
  text-transform:uppercase;
}
@keyframes pulse-ring{0%{box-shadow:0 0 0 0 rgba(234,112,37,.4)}70%{box-shadow:0 0 0 14px rgba(234,112,37,0)}100%{box-shadow:0 0 0 0 rgba(234,112,37,0)}}
.game-card{padding:18px;display:flex;gap:15px;align-items:center;margin-bottom:14px;cursor:pointer}
.icon-box{
  width:54px;height:54px;
  border-radius:18px;
  background:#fff7ed;
  color:var(--orange);
  display:flex;align-items:center;justify-content:center;
  flex:none;
  font-size:25px;
}
.status{
  margin-top:9px;
  display:inline-flex;
  background:#fff7ed;
  color:var(--orange);
  border-radius:999px;
  padding:5px 8px;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.scanner-box{
  background:var(--dark);
  color:white;
  border-radius:34px;
  padding:22px;
  box-shadow:0 18px 35px rgba(0,0,0,.2);
  position:relative;
  overflow:visible;
}
.scanner-box:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(234,112,37,.45), transparent 35%);
  opacity:.55;
}
.scanner-box>*{position:relative}
.scanner-box h2{font-size:26px;margin:8px 0 20px;line-height:1.05;font-weight:900}
.camera-frame{
  aspect-ratio:1/1;
  border:2px dashed rgba(255,255,255,.35);
  border-radius:28px;
  background:rgba(255,255,255,.05);
  display:flex;align-items:center;justify-content:center;
  margin-top:22px;
}
.camera-frame i{font-size:75px;color:rgba(255,255,255,.7)}
.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.shop-item{padding:12px;cursor:pointer}
.shop-item img{height:118px;border-radius:20px;margin-bottom:10px}
.story-box{
  background:white;
  border:1px solid var(--border);
  border-radius:28px;
  padding:18px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  margin-bottom:14px;
}
.story-box h4{margin:0 0 8px;font-size:17px;font-weight:900;color:#111827}
.story-box p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.video-placeholder{
  height:205px;
  border-radius:30px;
  background:linear-gradient(135deg,#1a1a1a,#3a2a20);
  color:white;
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:10px;
  box-shadow:0 18px 35px rgba(0,0,0,.18);
  margin-bottom:16px;
}
.play-btn{
  width:72px;height:72px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,.3);
  background:var(--orange);
  color:white;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;
}
.ticket-card,.step-card,.admin-card{padding:18px;margin-bottom:14px}
.ticket-head,.profile-row{display:flex;gap:14px;align-items:center}
.profile-dark{
  background:var(--dark);
  color:white;
  border-radius:34px;
  padding:24px;
  box-shadow:0 18px 35px rgba(0,0,0,.2);
  margin-bottom:16px;
}
.profile-head{display:flex;align-items:center;gap:15px}
.avatar{
  width:64px;height:64px;
  background:var(--orange);
  color:white;
  border-radius:24px;
  display:flex;align-items:center;justify-content:center;
  font-size:30px;
}
.profile-head h3{margin:0;font-size:20px;font-weight:900}
.profile-head p{margin:4px 0 0;color:rgba(255,255,255,.5);font-size:13px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}
.stat{background:rgba(255,255,255,.08);border-radius:22px;padding:12px;text-align:center}
.stat i{color:var(--orange)}
.stat strong{display:block;font-size:20px;margin-top:5px}
.stat span{color:rgba(255,255,255,.45);font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}
.profile-row{padding:14px;margin-bottom:12px;cursor:pointer}
.admin-hero{background:var(--dark);color:white;border-radius:34px;padding:24px;box-shadow:0 18px 35px rgba(0,0,0,.2);margin-bottom:16px}
.admin-hero h3{margin:0;font-size:22px}
.admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.admin-card h4{margin:0;font-size:25px;color:#111827}
.field{
  width:100%;
  border:1px solid var(--border);
  background:white;
  border-radius:18px;
  padding:14px;
  font-size:14px;
  font-weight:700;
  outline:none;
  margin-top:10px;
}
.toast{
  position:absolute;
  left:20px;right:20px;bottom:118px;
  z-index:999;
  background:var(--dark);
  color:white;
  border-radius:22px;
  padding:14px 16px;
  font-size:13px;
  font-weight:900;
  box-shadow:0 18px 35px rgba(0,0,0,.25);
  text-align:center;
}
.loading{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:300px;
  color:#6b7280;
  font-weight:900;
}
@media (min-width:600px){.phone{height:860px;border-radius:40px}}


@media (min-width: 768px){
  body{padding:24px;overflow:auto}
  .phone{max-width:760px;height:calc(100dvh - 48px);border-radius:28px}
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
}

@media (min-width: 1100px){
  .phone{max-width:860px}
  main{padding-left:32px;padding-right:32px}
  .products{gap:18px}
}

@media (max-width: 390px){
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
  .app-header{padding:16px 14px 18px}
}

/* V29 responsive */
@media (min-width: 700px){
  body{
    padding:24px;
    overflow:auto;
  }
  .phone{
    max-width:820px;
    height:calc(100dvh - 48px);
    min-height:760px;
    border-radius:34px;
  }
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
  main{
    padding-left:32px;
    padding-right:32px;
  }
  .products,
  .shop-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
    overflow:visible;
  }
  .product{
    min-width:0;
  }
  .product .pic,
  .shop-item img{
    height:140px;
  }
  .event-card{
    min-height:118px;
  }
  .event-img{
    width:90px;
    height:90px;
  }
}

@media (min-width: 1100px){
  .phone{
    max-width:980px;
  }
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
  .shop-grid,
  .products{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 430px){
  .app-header{
    padding:16px 14px 18px;
    gap:10px;
  }
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
  .header-actions{
    gap:7px;
  }
  .points{
    font-size:11px;
    padding:7px 9px;
  }
  .language-button{
    padding:8px 10px;
  }
}

@media (max-width: 370px){
  .brand-full-logo{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center}
  main{
    padding-left:18px;
    padding-right:18px;
  }
}

/* V30 Admin protegido */
.admin-login-card{
  background:var(--dark);
  color:white;
  border-radius:34px;
  padding:26px;
  box-shadow:0 18px 35px rgba(0,0,0,.22);
  margin-top:18px;
}
.admin-login-card h3{
  margin:0 0 8px;
  font-size:24px;
  font-weight:900;
}
.admin-login-card p{
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.45;
}
.admin-login-card .field{
  background:rgba(255,255,255,.96);
  color:#111827;
}
.admin-lock-icon{
  width:64px;
  height:64px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(234,112,37,.14);
  color:var(--orange);
  font-size:28px;
  margin-bottom:14px;
}
.admin-danger-note{
  margin-top:12px;
  font-size:11px;
  color:rgba(255,255,255,.48);
}
@media (max-width:430px){
  .brand-full-logo{width:255px}
}
@media (max-width:370px){
  .brand-full-logo{width:220px}
}
@media (min-width:700px){
  .brand-full-logo{width:420px}
}

/* V31 Admin real */
.admin-actions{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:16px 0;
}
.admin-action-btn{
  border:1px solid var(--border);
  background:white;
  color:#111827;
  border-radius:22px;
  padding:16px 12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.admin-action-btn i{
  color:var(--orange);
  font-size:22px;
}
.admin-form-card{
  background:white;
  border:1px solid var(--border);
  border-radius:28px;
  padding:18px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  margin-bottom:16px;
}
.admin-form-card h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:900;
  color:#111827;
}
.admin-form-card label{
  display:block;
  margin-top:12px;
  color:#374151;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.admin-form-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.admin-inline{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.admin-check{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:12px;
  font-size:13px;
  font-weight:800;
  color:#374151;
}
.admin-check input{
  width:18px;
  height:18px;
  accent-color:var(--orange);
}
.admin-status-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#fff7ed;
  color:var(--orange);
  border:1px solid rgba(234,112,37,.18);
  border-radius:999px;
  padding:8px 11px;
  font-size:11px;
  font-weight:900;
}
.admin-help{
  background:#f9fafb;
  border:1px dashed rgba(0,0,0,.12);
  border-radius:20px;
  padding:12px;
  color:#6b7280;
  font-size:12px;
  line-height:1.45;
  margin:12px 0;
}
@media (min-width:700px){
  .admin-form-grid{
    grid-template-columns:1fr 1fr;
  }
  .admin-form-grid .full{
    grid-column:1 / -1;
  }
}


/* V32 Admin visible + header final override */
.app-header{
  overflow:visible !important;
  align-items:flex-start !important;
  min-height:118px;
}
.brand-wrap{
  flex:1 1 auto !important;
  max-width:calc(100% - 120px) !important;
  overflow:hidden !important;
}
.brand{
  width:100% !important;
  overflow:hidden !important;
}
.brand-full-logo{
  width:clamp(215px, 56vw, 380px) !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:left center !important;
}
.header-actions{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:84px !important;
  position:relative !important;
  z-index:10000 !important;
}
.admin-toggle{
  position:static !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  z-index:10001 !important;
}
.language-dropdown{
  z-index:10002 !important;
}
@media (max-width:430px){
  .brand-full-logo{
    width:clamp(190px, 52vw, 245px) !important;
  }
  .app-header{
    min-height:120px;
  }
}
@media (min-width:700px){
  .brand-full-logo{
    width:380px !important;
  }
}


/* V33 Admin visual completo */
.admin-module-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:18px 0;
}
.admin-module{
  border:1px solid var(--border);
  background:white;
  color:#111827;
  border-radius:26px;
  padding:18px 14px;
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  text-align:left;
}
.admin-module i{
  width:44px;
  height:44px;
  border-radius:16px;
  background:#fff7ed;
  color:var(--orange);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.admin-module strong{
  font-size:15px;
  font-weight:900;
  line-height:1.1;
}
.admin-module span{
  color:#6b7280;
  font-size:11px;
  line-height:1.25;
  font-weight:700;
}
.admin-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.admin-list-item{
  background:white;
  border:1px solid var(--border);
  border-radius:24px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.admin-list-img{
  width:62px;
  height:62px;
  border-radius:18px;
  overflow:hidden;
  flex:none;
  background:#f3f4f6;
}
.admin-list-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.admin-list-body{
  min-width:0;
  flex:1;
}
.admin-list-body h4{
  margin:0;
  font-size:14px;
  color:#111827;
  font-weight:900;
}
.admin-list-body p{
  margin:4px 0 0;
  color:#6b7280;
  font-size:11px;
  line-height:1.35;
}
.admin-list-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  flex:none;
}
.admin-mini-btn{
  border:0;
  background:#fff7ed;
  color:var(--orange);
  border-radius:999px;
  padding:8px 10px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.admin-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  background:#f3f4f6;
  color:#6b7280;
  padding:6px 8px;
  font-size:10px;
  font-weight:900;
}
.admin-pill.ok{
  background:#dcfce7;
  color:#15803d;
}
.admin-pill.warn{
  background:#fef3c7;
  color:#92400e;
}
.admin-tabs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  margin:8px 0 16px;
  padding-bottom:4px;
  scrollbar-width:none;
}
.admin-tabs::-webkit-scrollbar{display:none}
.admin-tab{
  border:1px solid var(--border);
  background:white;
  color:#6b7280;
  border-radius:999px;
  padding:10px 12px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
.admin-tab.active{
  background:var(--dark);
  color:white;
  border-color:var(--dark);
}
.admin-validate-box{
  background:var(--dark);
  color:white;
  border-radius:34px;
  padding:24px;
  box-shadow:0 18px 35px rgba(0,0,0,.22);
}
.admin-validate-box h3{
  margin:0 0 8px;
  font-size:24px;
  font-weight:900;
}
.admin-validate-box p{
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.45;
}
.admin-validate-result{
  margin-top:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:14px;
  font-size:13px;
}
.admin-kpi-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  margin:14px 0 18px;
}
.admin-kpi{
  background:white;
  border:1px solid var(--border);
  border-radius:22px;
  padding:13px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.admin-kpi span{
  display:block;
  color:#6b7280;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.admin-kpi strong{
  display:block;
  margin-top:6px;
  font-size:22px;
  font-weight:900;
  color:#111827;
}
.admin-toolbar{
  display:flex;
  gap:10px;
  margin:12px 0 16px;
}
.admin-toolbar .primary,
.admin-toolbar .ghost{
  margin-top:0;
}
@media (max-width:700px){
  .admin-kpi-row{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (min-width:700px){
  .admin-module-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}


/* V34 Admin refresh fix */
.primary:disabled,
.secondary:disabled,
.ghost:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}


/* V35 Admin navigation fix */
.admin-login-card .primary:disabled,
.primary:disabled,
.ghost:disabled{
  opacity:.65;
  cursor:not-allowed;
}


/* V37 Admin edición + QR */
.admin-module-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:16px 0;
}
.admin-module{
  border:1px solid var(--border);
  background:white;
  color:#111827;
  border-radius:26px;
  padding:18px 14px;
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  cursor:pointer;
  text-align:left;
}
.admin-module i{
  width:44px;
  height:44px;
  border-radius:16px;
  background:#fff7ed;
  color:var(--orange);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.admin-module strong{font-size:15px;font-weight:900;line-height:1.1}
.admin-module span{color:#6b7280;font-size:11px;line-height:1.25;font-weight:700}
.admin-tabs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:4px;
  margin:10px 0 16px;
  scrollbar-width:none;
}
.admin-tabs::-webkit-scrollbar{display:none}
.admin-tab{
  border:1px solid var(--border);
  background:white;
  color:#6b7280;
  border-radius:999px;
  padding:10px 12px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
.admin-tab.active{background:var(--dark);color:white;border-color:var(--dark)}
.admin-list{display:flex;flex-direction:column;gap:12px}
.admin-list-item{
  background:white;
  border:1px solid var(--border);
  border-radius:24px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.admin-list-img{
  width:62px;
  height:62px;
  border-radius:18px;
  overflow:hidden;
  flex:none;
  background:#f3f4f6;
}
.admin-list-img img{width:100%;height:100%;object-fit:cover}
.admin-list-body{min-width:0;flex:1}
.admin-list-body h4{margin:0;font-size:14px;color:#111827;font-weight:900}
.admin-list-body p{margin:4px 0 0;color:#6b7280;font-size:11px;line-height:1.35}
.admin-list-actions{
  display:flex;
  flex-direction:column;
  gap:7px;
  flex:none;
}
.admin-mini-btn{
  border:0;
  background:#fff7ed;
  color:var(--orange);
  border-radius:999px;
  padding:8px 10px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.admin-mini-btn.dark{background:var(--dark);color:white}
.admin-mini-btn.danger{background:#fee2e2;color:#b91c1c}
.admin-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  background:#f3f4f6;
  color:#6b7280;
  padding:6px 8px;
  font-size:10px;
  font-weight:900;
}
.admin-pill.ok{background:#dcfce7;color:#15803d}
.admin-pill.warn{background:#fef3c7;color:#92400e}
.admin-toolbar{
  display:flex;
  gap:10px;
  margin:12px 0 16px;
}
.admin-toolbar .primary,.admin-toolbar .ghost{margin-top:0}
.admin-qr-camera{
  background:#111827;
  color:white;
  border-radius:28px;
  padding:14px;
  overflow:hidden;
  box-shadow:0 18px 35px rgba(0,0,0,.18);
  margin-top:14px;
}
.admin-qr-camera video{
  width:100%;
  border-radius:20px;
  background:black;
  max-height:360px;
  object-fit:cover;
}
.admin-validate-result{
  margin-top:14px;
  border-radius:20px;
  padding:14px;
  background:#f9fafb;
  border:1px solid var(--border);
  color:#374151;
  font-size:13px;
  line-height:1.45;
}
.admin-validate-result.ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.admin-validate-result.warn{background:#fef3c7;color:#92400e;border-color:#fde68a}
.admin-help strong{color:#111827}
@media (min-width:700px){
  .admin-module-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
}


/* V38 Admin token fix */
.admin-status-pill.warn{
  background:#fef3c7;
  color:#92400e;
  border-color:#fde68a;
}


/* V41 no demo/no loading */
.admin-help{
  width:100%;
}


/* V43 stock control */
.primary:disabled{
  opacity:.55;
  cursor:not-allowed;
  filter:grayscale(.25);
}


/* V49 reservas reales + pagos */
.payment-options{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:10px;
}
.payment-option{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:20px;
  padding:12px;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
}
.payment-option input{
  margin-top:3px;
  accent-color:var(--orange);
}
.payment-option span{
  display:flex;
  flex-direction:column;
  gap:3px;
  text-align:left;
}
.payment-option strong{
  color:#111827;
  font-size:13px;
}
.payment-option small{
  color:#6b7280;
  font-size:11px;
  line-height:1.35;
}
.admin-pill.hold{
  background:#dbeafe;
  color:#1d4ed8;
}
.product-foot span:last-child{
  white-space:nowrap;
}


/* V45 ticket QR */
.ticket-card canvas{
  max-width:100%;
}
.ticket-card h3{
  color:#111827;
  font-weight:900;
}


/* V46 Diploma Regalo */
.gift-diploma{
  background:linear-gradient(180deg,#111111 0%,#1f2937 100%);
  color:white;
  border:1px solid rgba(234,112,37,.35);
}
.gift-diploma h3{
  color:white;
}
.gift-title{
  color:#ea7025;
  font-size:22px;
  font-weight:900;
  margin:14px 0 4px;
}
.gift-message{
  margin:14px 0;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.82);
  font-style:italic;
  line-height:1.45;
}
.gift-diploma .admin-help{
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);
  border-color:rgba(255,255,255,.12);
}


/* V47 entradas agotadas */
.price.soldout{
  background:#fee2e2 !important;
  color:#b91c1c !important;
}
.primary:disabled{
  opacity:.55;
  cursor:not-allowed;
  filter:grayscale(.25);
}

/* ==========================================================
   LA MOLINA PASSPORT · V52.5
   ========================================================== */

.passport-cover{
  background:
    radial-gradient(circle at top right,rgba(234,112,37,.25),transparent 34%),
    linear-gradient(145deg,#181818,#272727);
  color:#fff;
  border-radius:30px;
  padding:24px;
  box-shadow:0 20px 45px rgba(0,0,0,.20);
  margin-bottom:20px;
  overflow:hidden;
  position:relative;
}

.passport-cover:after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  right:-55px;
  bottom:-80px;
}

.passport-cover-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.passport-kicker{
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
  color:#ea7025;
}

.passport-cover h2{
  margin:7px 0 2px;
  font-size:27px;
  line-height:1;
  color:#fff;
}

.passport-island{
  font-size:12px;
  letter-spacing:.22em;
  color:rgba(255,255,255,.65);
}

.passport-cover-icon{
  width:58px;
  height:58px;
  min-width:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ea7025;
  color:#fff;
  font-size:26px;
  box-shadow:0 10px 25px rgba(234,112,37,.25);
}

.passport-owner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:26px;
}

.passport-owner div{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:12px;
}

.passport-owner span{
  display:block;
  color:rgba(255,255,255,.55);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:4px;
}

.passport-owner strong{
  display:block;
  font-size:13px;
  overflow-wrap:anywhere;
}

.passport-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:16px;
}

.passport-stats div{
  padding:12px 8px;
  text-align:center;
  border-radius:16px;
  background:rgba(255,255,255,.08);
}

.passport-stats strong{
  display:block;
  color:#fff;
  font-size:21px;
}

.passport-stats span{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:rgba(255,255,255,.58);
}

.passport-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:25px 0 12px;
}

.passport-section-head h3,
.passport-route-section h3{
  margin:5px 0;
}

.passport-refresh{
  border:0;
  width:42px;
  height:42px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  cursor:pointer;
}

.passport-collections{
  display:grid;
  gap:12px;
}

.passport-collection-card{
  background:#fff;
  border-radius:20px;
  padding:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.passport-collection-header{
  display:flex;
  justify-content:space-between;
  gap:14px;
}

.passport-collection-header h4{
  margin:0 0 5px;
}

.passport-collection-header p{
  margin:0;
  font-size:12px;
  color:#6b7280;
  line-height:1.45;
}

.passport-collection-header strong{
  color:#ea7025;
  white-space:nowrap;
}

.passport-progress{
  height:7px;
  background:#ececec;
  border-radius:999px;
  overflow:hidden;
  margin-top:12px;
}

.passport-progress span{
  display:block;
  height:100%;
  background:#ea7025;
  border-radius:999px;
  transition:width .35s ease;
}

.passport-route-section{
  margin-top:28px;
}

.passport-route-progress{
  background:#fff;
  padding:14px 16px;
  border-radius:18px;
  margin:15px 0;
}

.passport-route-progress strong{
  font-size:18px;
}

.passport-stamp-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.passport-stamp{
  min-height:122px;
  border-radius:18px;
  padding:12px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
}

.passport-stamp.locked{
  background:#f3f4f6;
  border:1px dashed #c8cbd0;
  color:#8b9098;
}

.passport-stamp.earned{
  background:#fff7f1;
  border:2px solid #ea7025;
  color:#222;
  transform:rotate(-1deg);
  box-shadow:0 6px 16px rgba(234,112,37,.10);
}

.passport-stamp-mark{
  width:38px;
  height:38px;
  border-radius:50%;
  border:2px solid currentColor;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:7px;
}

.passport-stamp.earned .passport-stamp-mark{
  color:#ea7025;
}

.passport-stamp-name{
  font-size:10px;
  font-weight:900;
  line-height:1.15;
}

.passport-stamp-state{
  margin-top:6px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.passport-stamp-date{
  margin-top:4px;
  font-size:8px;
  opacity:.65;
}

.passport-guest-card{
  background:#fff;
  border-radius:28px;
  padding:32px 24px;
  text-align:center;
  box-shadow:0 16px 38px rgba(0,0,0,.09);
}

.passport-guest-card .passport-cover-icon{
  margin:0 auto 15px;
}

.passport-guest-card h2{
  margin:10px 0;
}

.passport-guest-card p{
  color:#667085;
  line-height:1.55;
  margin-bottom:22px;
}

@media (max-width:390px){
  .passport-owner{
    grid-template-columns:1fr;
  }

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



/* ==========================================================
   V52.5.6 · ACCESO RAPIDO PASAPORTE
   ========================================================== */

#passportQuickButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-width: 94px;
  height: 34px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid rgba(242, 111, 29, .88);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.015)
    );

  color: #fff;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 4px 12px rgba(0,0,0,.12);

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;

  cursor: pointer;
}

#passportQuickButton i {
  color: #f26f1d;
  font-size: 13px;
  transition: color .18s ease;
}

#passportQuickButton span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}

#passportQuickButton:hover {
  background: #f26f1d;
  border-color: #f26f1d;

  box-shadow:
    0 5px 16px rgba(242,111,29,.22);
}

#passportQuickButton:hover i {
  color: #fff;
}

#passportQuickButton:active {
  transform: scale(.97);
}

@media (max-width: 640px) {
  #passportQuickButton {
    min-width: 90px;
    height: 33px;
    padding: 0 10px;
  }

  #passportQuickButton span {
    font-size: 10.5px;
  }
}


/* ==========================================================
   V52.5.9 · HEADER · MODULO VERTICAL UNIFICADO
   ========================================================== */

.header-actions {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  width: 116px !important;
  gap: 0 !important;

  padding: 0 !important;

  background: rgba(255,255,255,.035);

  border: 1px solid rgba(242,111,29,.72);
  border-radius: 18px;

  box-shadow:
    0 8px 24px rgba(0,0,0,.16),
    inset 0 0 0 1px rgba(255,255,255,.015);
}


/* ==========================================================
   TRES FILAS
   ========================================================== */

.header-actions .points,
.header-actions #passportQuickButton,
.header-actions .language-menu {
  box-sizing: border-box;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 36px !important;
  min-height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}


/* Primera fila */
.header-actions .points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #fff !important;

  font-size: 11px;
  font-weight: 800;
}


/* Segunda fila */
.header-actions #passportQuickButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #fff !important;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  border-top:
    1px solid rgba(255,255,255,.09) !important;
}


/* Tercera fila */
.header-actions .language-menu {
  position: relative;

  display: flex;
  align-items: stretch;

  border-top:
    1px solid rgba(255,255,255,.09) !important;
}


/* ==========================================================
   SELECTOR IDIOMA
   ========================================================== */

.header-actions .language-button {
  box-sizing: border-box;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 36px !important;
  min-height: 36px !important;

  margin: 0 !important;
  padding: 0 13px !important;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border: 0 !important;
  border-radius: 0 0 17px 17px !important;

  background: transparent !important;
  color: #fff !important;

  box-shadow: none !important;

  font-size: 11px;
  font-weight: 800;
}


/* ==========================================================
   ICONOS
   ========================================================== */

.header-actions .points-heart {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.header-actions #passportQuickButton i,
.header-actions .language-button .fa-globe {
  color: #f26f1d !important;
  font-size: 12px;
}

.header-actions .language-button .chevron {
  color: rgba(255,255,255,.68) !important;
  font-size: 8px;
}

.header-actions #passportQuickButton span,
.header-actions .language-button span {
  color: #fff !important;
}


/* ==========================================================
   INTERACCION
   ========================================================== */

.header-actions #passportQuickButton:hover,
.header-actions .language-button:hover {
  background: rgba(242,111,29,.10) !important;
}

.header-actions #passportQuickButton:active,
.header-actions .language-button:active {
  transform: none !important;
  background: rgba(242,111,29,.16) !important;
}


/* ==========================================================
   DROPDOWN IDIOMA
   ========================================================== */

.header-actions .language-dropdown {
  right: 0;
  top: calc(100% + 8px);

  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;

  border-radius: 14px;
}


/* ==========================================================
   MOVIL
   ========================================================== */

@media (max-width: 640px) {
  .header-actions {
    width: 108px !important;
    border-radius: 16px;
  }

  .header-actions .points,
  .header-actions #passportQuickButton,
  .header-actions .language-menu,
  .header-actions .language-button {
    height: 34px !important;
    min-height: 34px !important;
  }

  .header-actions .language-button {
    border-radius: 0 0 15px 15px !important;
  }
}


/* ==========================================================
   V52.5.10 · HEADER FINAL TEST
   Puntos + Pasaporte iguales
   Idioma integrado abajo derecha
   ========================================================== */

header {
  position: relative;
}


/* Contenedor derecho sin caja exterior */
.header-actions {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  bottom: 0 !important;

  width: 108px !important;
  height: auto !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  gap: 8px !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ==========================================================
   PUNTOS + PASAPORTE
   EXACTAMENTE IGUALES
   ========================================================== */

.header-actions .points,
.header-actions #passportQuickButton {
  box-sizing: border-box !important;

  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;

  height: 34px !important;
  min-height: 34px !important;

  margin: 0 !important;
  padding: 0 10px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 7px !important;

  background: rgba(255,255,255,.025) !important;

  border:
    1px solid rgba(242,111,29,.72) !important;

  border-radius: 999px !important;

  box-shadow: none !important;

  color: #fff !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}


/* Iconos */
.header-actions .points-heart {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
}

.header-actions #passportQuickButton i {
  color: #f26f1d !important;
  font-size: 12px !important;
}

.header-actions #passportQuickButton span {
  color: #fff !important;
}


/* Hover muy discreto */
.header-actions #passportQuickButton:hover {
  background:
    rgba(242,111,29,.10) !important;
}

.header-actions #passportQuickButton:active {
  transform: scale(.98);
}


/* ==========================================================
   IDIOMA
   PEGADO ABAJO DERECHA E INTEGRADO
   ========================================================== */

.header-actions .language-menu {
  position: absolute !important;

  right: 0 !important;
  bottom: 8px !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  border: 0 !important;
  box-shadow: none !important;
}


.header-actions .language-button {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 26px !important;
  min-height: 26px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 6px !important;

  background: transparent !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  color: #fff !important;

  font-size: 11px !important;
  font-weight: 800 !important;
}


.header-actions .language-button .fa-globe {
  color: #f26f1d !important;
  font-size: 11px !important;
}

.header-actions .language-button span {
  color: #fff !important;
}

.header-actions .language-button .chevron {
  color: rgba(255,255,255,.65) !important;
  font-size: 8px !important;
}


.header-actions .language-button:hover {
  background: transparent !important;
  color: #f26f1d !important;
}


/* Dropdown conserva caja al abrirse */
.header-actions .language-dropdown {
  right: 0 !important;
  bottom: 34px !important;
  top: auto !important;

  width: 150px !important;
  min-width: 150px !important;

  border-radius: 14px !important;
}


/* ==========================================================
   MOVIL
   ========================================================== */

@media (max-width: 640px) {

  .header-actions {
    top: 14px !important;
    right: 14px !important;

    width: 102px !important;
  }

  .header-actions .points,
  .header-actions #passportQuickButton {
    width: 102px !important;
    min-width: 102px !important;
    max-width: 102px !important;

    height: 32px !important;
    min-height: 32px !important;

    font-size: 10px !important;
  }

  .header-actions .language-menu {
    bottom: 7px !important;
  }

  .header-actions .language-button {
    font-size: 10px !important;
  }
}


/* ==========================================================
   V52.5.11 · AJUSTE POSICION HEADER
   ========================================================== */

/* Puntos + Pasaporte un poco más hacia el centro */
.header-actions {
  right: 30px !important;
}

/* Idioma más abajo y más hacia la derecha */
.header-actions .language-menu {
  right: -13px !important;
  bottom: 1px !important;
}


/* Móvil */
@media (max-width: 640px) {

  .header-actions {
    right: 24px !important;
  }

  .header-actions .language-menu {
    right: -10px !important;
    bottom: 0 !important;
  }
}


/* ==========================================================
   V52.5.12 · POSICION FINAL HEADER
   ========================================================== */

/*
  Puntos + Pasaporte:
  centrados VERTICALMENTE dentro de la cabecera.
*/
.header-actions {
  top: 0 !important;
  bottom: 0 !important;
  right: 24px !important;

  height: auto !important;

  justify-content: center !important;
  gap: 8px !important;

  transform: none !important;
}


/*
  Idioma:
  continúa abajo, pero algo más hacia la izquierda.
*/
.header-actions .language-menu {
  right: 8px !important;
  bottom: 2px !important;
}


/* Móvil */
@media (max-width: 640px) {

  .header-actions {
    top: 0 !important;
    bottom: 0 !important;
    right: 18px !important;

    justify-content: center !important;
  }

  .header-actions .language-menu {
    right: 7px !important;
    bottom: 2px !important;
  }
}


/* ==========================================================
   V52.5.13 · HEADER MÓVIL
   Subir puntos y pasaporte en móvil
   ========================================================== */

@media (max-width: 640px) {

  .header-actions {
    top: 10px !important;
    bottom: auto !important;
    right: 14px !important;

    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .header-actions .points,
  .header-actions .admin-toggle,
  .header-actions #passportQuickButton {
    margin: 0 !important;
  }

  .header-actions .language-menu {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 2px !important;
    margin-right: 10px !important;
    align-self: flex-end !important;
  }

  .header-actions .language-button {
    min-height: 34px !important;
  }
}


/* ==========================================================
   V52.6.2 · PASSPORT QR MOBILE
   ========================================================== */

.passport-qr-reader {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.passport-qr-reader video {
  width: 100% !important;
  border-radius: 18px !important;
}

#passportQrCameraBox {
  padding: 12px;
}

#passportQrCameraBox img {
  max-width: 100%;
  border-radius: 14px;
}


/* ==========================================================
   V52.6.3 · CAMERA PERMISSION UX
   ========================================================== */

.camera-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  margin: 10px 4px 4px;

  text-align: center;

  color: #697386;
  font-size: 11px;
  line-height: 1.45;
}

.camera-privacy-note i {
  color: #f26f1d;
}


.camera-permission-help {
  margin-top: 16px;
  padding: 18px;

  text-align: center;

  border: 1px solid rgba(242,111,29,.30);
  border-radius: 18px;

  background:
    rgba(242,111,29,.055);
}

.camera-permission-icon {
  width: 46px;
  height: 46px;

  margin: 0 auto 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #171717;
  color: #f26f1d;

  font-size: 18px;
}

.camera-permission-help > strong {
  display: block;

  margin-bottom: 7px;

  color: #171717;
  font-size: 15px;
}

.camera-permission-help > p {
  margin: 5px 0 12px;

  color: #697386;
  font-size: 12px;
  line-height: 1.5;
}

.camera-permission-help .primary {
  margin-top: 8px;
}


/* ==========================================================
   V52.6.5 · DEVICE PERMISSIONS
   ========================================================== */

.device-permissions-card {
  overflow: hidden;
}

.device-permission-list {
  margin: 16px 0;
  overflow: hidden;

  border: 1px solid #e7e8eb;
  border-radius: 17px;

  background: #fff;
}

.device-permission-row {
  min-height: 67px;
  padding: 11px 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  border-bottom: 1px solid #eceef1;
}

.device-permission-row:last-child {
  border-bottom: 0;
}

.device-permission-name {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 11px;
}

.device-permission-name > i {
  width: 29px;

  text-align: center;

  color: #f26f1d;
  font-size: 17px;
}

.device-permission-name strong {
  display: block;

  color: #171717;
  font-size: 13px;
}

.device-permission-name small {
  display: block;

  margin-top: 2px;

  color: #7b8494;
  font-size: 10px;
}

.device-permission-status {
  flex: 0 0 auto;

  padding: 6px 9px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 900;

  white-space: nowrap;
}

.device-permission-status.ok {
  color: #157a3a;
  background: #eaf8ef;
}

.device-permission-status.blocked {
  color: #a43728;
  background: #fff0ed;
}

.device-permission-status.pending {
  color: #9a6208;
  background: #fff6df;
}

.device-permission-status.muted {
  color: #667085;
  background: #f1f3f5;
}

.device-permission-note {
  margin-top: 10px !important;

  text-align: center;
}


@media (max-width: 480px) {

  .device-permission-row {
    padding: 10px 11px;
  }

  .device-permission-status {
    padding: 5px 7px;

    font-size: 8px;
  }
}


/* ==========================================================
   V52.7.1 · AVISOS LA MOLINA
   ========================================================== */

.notice-header-button {
  position: relative;

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;

  background: rgba(255,255,255,.06);

  color: #fff;

  cursor: pointer;
}

.notice-header-button > i {
  font-size: 17px;
}

.notice-badge {
  position: absolute;

  top: -5px;
  right: -5px;

  min-width: 19px;
  height: 19px;

  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #111;
  border-radius: 999px;

  background: #f26f1d;
  color: #fff;

  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.notice-badge[hidden] {
  display: none !important;
}


.notice-summary {
  display: flex;
  align-items: center;

  gap: 13px;

  margin-bottom: 15px;
  padding: 15px;

  border-radius: 18px;

  background: #171717;
  color: #fff;
}

.notice-summary > i {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #f26f1d;

  font-size: 16px;
}

.notice-summary strong,
.notice-summary span {
  display: block;
}

.notice-summary span {
  margin-top: 2px;

  color: rgba(255,255,255,.68);

  font-size: 11px;
}


.notice-list {
  display: grid;
  gap: 10px;
}

.notice-list-card {
  width: 100%;

  display: grid;
  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 12px;

  padding: 14px;

  border: 1px solid #e8eaed;
  border-radius: 18px;

  background: #fff;

  color: inherit;
  text-align: left;

  cursor: pointer;
}

.notice-list-card.unread {
  border-color: rgba(242,111,29,.35);

  background: #fffaf6;
}

.notice-list-icon {
  position: relative;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: #f4f5f7;

  color: #222;
}

.notice-list-card.unread .notice-list-icon {
  background: #f26f1d;
  color: #fff;
}

.notice-unread-dot {
  position: absolute;

  top: -2px;
  right: -2px;

  width: 10px;
  height: 10px;

  border: 2px solid #fff;
  border-radius: 50%;

  background: #f26f1d;
}

.notice-list-content {
  min-width: 0;
}

.notice-list-top {
  display: flex;
  align-items: center;

  gap: 7px;
}

.notice-list-top strong {
  min-width: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 13px;
}

.notice-new-label {
  flex: 0 0 auto;

  padding: 3px 6px;

  border-radius: 999px;

  background: #f26f1d;
  color: #fff;

  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-list-content p {
  margin: 5px 0;

  color: #687080;

  font-size: 11px;
  line-height: 1.4;
}

.notice-list-content small {
  color: #9a9fa8;

  font-size: 9px;
}

.notice-chevron {
  color: #a4a9b2;

  font-size: 11px;
}


.notice-detail {
  padding: 18px;

  border: 1px solid #e7e9ec;
  border-radius: 22px;

  background: #fff;
}

.notice-detail-head {
  display: flex;
  align-items: flex-start;

  gap: 13px;
}

.notice-icon-large {
  width: 45px;
  height: 45px;

  flex: 0 0 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: #f26f1d;
  color: #fff;
}

.notice-detail h2 {
  margin: 7px 0 0;

  font-size: 20px;
  line-height: 1.18;
}

.notice-body {
  margin-top: 18px;

  color: #363a40;

  font-size: 13px;
  line-height: 1.65;
}

.notice-attachments {
  display: grid;
  gap: 10px;

  margin-top: 20px;
}

.notice-media {
  overflow: hidden;

  border-radius: 17px;

  background: #101010;
}

.notice-media img,
.notice-media video {
  width: 100%;

  display: block;
}

.notice-media img {
  max-height: 520px;

  object-fit: cover;
}

.notice-file {
  display: flex;
  align-items: center;

  gap: 10px;

  padding: 13px;

  border: 1px solid #e5e7eb;
  border-radius: 15px;

  color: #222;
  text-decoration: none;

  background: #f8f9fa;
}

.notice-file span {
  flex: 1;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 11px;
  font-weight: 700;
}

.notice-file > i:first-child {
  color: #f26f1d;
}


.notice-empty {
  padding: 42px 20px;

  border: 1px dashed #d9dce1;
  border-radius: 20px;

  text-align: center;

  background: #fafafa;
}

.notice-empty > i {
  margin-bottom: 12px;

  color: #b7bbc2;

  font-size: 27px;
}

.notice-empty h3 {
  margin: 0 0 6px;
}

.notice-empty p {
  margin: 0;

  color: #858b95;

  font-size: 11px;
}


@media (max-width: 520px) {

  .notice-header-button {
    width: 36px;
    height: 36px;

    flex-basis: 36px;

    border-radius: 12px;
  }

  .notice-header-button > i {
    font-size: 15px;
  }

  .notice-badge {
    top: -6px;
    right: -6px;
  }

  .notice-list-card {
    padding: 12px;
  }
}

/* V52.7.1.1 · hidden debe prevalecer sobre display */
.notice-header-button[hidden] {
  display: none !important;
}


/* ==========================================================
   V52.7.1.4 · CAMPANA REDONDA NEGRA
   ========================================================== */

.notices-quick-row {
  display: flex;
  justify-content: flex-end;
  padding: 6px 14px 0;
  background: transparent;
}

.notices-quick-row[hidden] {
  display: none !important;
}

.notices-quick-button {
  position: relative !important;

  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  gap: 0 !important;

  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 999px !important;

  background: #111827 !important;
  color: var(--orange) !important;

  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;

  cursor: pointer;
}

.notices-quick-button:hover {
  transform: translateY(-1px);
}

.notices-quick-button:active {
  transform: scale(.97);
}

.notices-quick-button.active {
  box-shadow:
    0 8px 18px rgba(0,0,0,.18),
    0 0 0 2px rgba(242,111,29,.18) !important;
}

.notices-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--orange) !important;
}

.notices-quick-icon i {
  font-size: 16px !important;
  color: var(--orange) !important;
}

.notices-quick-badge {
  position: absolute !important;

  top: -4px !important;
  right: -4px !important;

  min-width: 18px !important;
  height: 18px !important;

  padding: 0 4px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 2px solid #111827 !important;
  border-radius: 999px !important;

  background: var(--orange) !important;
  color: #fff !important;

  font-size: 8px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow: 0 2px 8px rgba(0,0,0,.22) !important;
}

.notices-quick-badge[hidden] {
  display: none !important;
}

/* Destellos muy sutiles si hay avisos sin leer */
.notices-quick-button.has-unread::before,
.notices-quick-button.has-unread::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
}

.notices-quick-button.has-unread::before {
  width: 4px;
  height: 4px;
  top: 5px;
  left: 6px;
  background: rgba(242,111,29,.70);
  box-shadow:
    20px 2px 0 rgba(242,111,29,.28),
    15px 20px 0 rgba(242,111,29,.20);
  animation: lmBellSparkA 5.6s ease-in-out infinite;
}

.notices-quick-button.has-unread::after {
  width: 3px;
  height: 3px;
  right: 7px;
  bottom: 6px;
  background: rgba(242,111,29,.60);
  box-shadow:
    -18px -3px 0 rgba(242,111,29,.20),
    -10px -17px 0 rgba(242,111,29,.16);
  animation: lmBellSparkB 5.6s ease-in-out infinite;
}

@keyframes lmBellSparkA {
  0%, 82%, 95%, 100% {
    opacity: 0;
    transform: scale(.7);
  }
  87% {
    opacity: .7;
    transform: scale(1);
  }
  91% {
    opacity: .18;
    transform: scale(1.25);
  }
}

@keyframes lmBellSparkB {
  0%, 84%, 96%, 100% {
    opacity: 0;
    transform: scale(.7);
  }
  89% {
    opacity: .5;
    transform: scale(1);
  }
  93% {
    opacity: .12;
    transform: scale(1.2);
  }
}

@media (max-width: 640px) {
  .notices-quick-row {
    padding: 6px 10px 0;
  }

  .notices-quick-button {
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
    min-height: 39px !important;
  }

  .notices-quick-icon i {
    font-size: 15px !important;
  }

  .notices-quick-badge {
    top: -4px !important;
    right: -3px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notices-quick-button.has-unread::before,
  .notices-quick-button.has-unread::after {
    animation: none !important;
  }
}


/* ==========================================================
   V52.7.2 · ADMIN NOVEDADES
   ========================================================== */

.admin-notice-form {
  display: grid;
  gap: 14px;
}

.admin-notice-label {
  display: grid;
  gap: 6px;

  font-size: 11px;
  font-weight: 800;
}

.admin-notice-label small {
  color: #8b9098;
  font-size: 9px;
  font-weight: 500;
}

.admin-notice-textarea {
  min-height: 125px;
  resize: vertical;
  line-height: 1.45;
}

.admin-notice-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0,1fr));
  gap: 12px;
}

.admin-notice-active {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 11px 13px;

  border-radius: 14px;

  background: #fff;

  font-size: 11px;
  font-weight: 800;
}

.admin-notice-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;

  background: #111827 !important;
  color: #f26f1d;

  font-size: 18px;
}

@media (max-width: 720px) {
  .admin-notice-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   V53.0.1B · ADMIN NOVEDADES · ADJUNTOS
   ========================================================== */

.admin-notice-files {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 18px;
  background: #f8f9fa;
}

.admin-notice-files input[type="file"] {
  margin-top: 8px;
  padding: 10px;
  background: #fff;
}

.admin-notice-attachments-empty {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #fff;
  color: #8a9099;
  font-size: 12px;
}

.admin-notice-attachments-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.admin-notice-attachment {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 9px 10px;

  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;

  background: #fff;
}

.admin-notice-attachment > a {
  min-width: 0;
  flex: 1;

  display: flex;
  align-items: center;
  gap: 8px;

  color: #272a2f;
  text-decoration: none;
}

.admin-notice-attachment > a i {
  color: #f26f1d;
}

.admin-notice-attachment > a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notice-attachment-delete {
  width: 34px;
  height: 34px;

  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 10px;

  background: #fff1ef;
  color: #b42318;

  cursor: pointer;
}

.admin-notice-attachment-delete:hover {
  background: #fee4e2;
}



/* ==========================================================
   V53.0.2 · INSTALAR APP + NOTIFICACIONES
   ========================================================== */

.device-pwa-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  margin: 14px 0 8px;
}

.device-pwa-action {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 12px;

  border: 1px solid rgba(17,24,39,.12);
  border-radius: 14px;

  background: #fff;
  color: #20242a;

  font: inherit;
  font-weight: 800;

  cursor: pointer;
}

.device-pwa-action.primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.device-pwa-action i {
  color: #f26f1d;
}

.device-pwa-action:disabled {
  opacity: .58;
  cursor: default;
}

.device-pwa-note {
  margin: 0 0 14px;

  color: #7d838d;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .device-pwa-actions {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================
   V53.1.0B2 · GALERIA HOME + CARRUSEL
   ========================================================== */

.gallery-exhibitions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:22px;
}

.gallery-exhibition-card{
  width:100%;
  border:1px solid rgba(17,24,39,.07);
  background:#fff;
  border-radius:24px;
  padding:11px 14px 11px 11px;
  display:flex;
  align-items:center;
  gap:13px;
  text-align:left;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(17,24,39,.07);
  transition:transform .15s ease,box-shadow .15s ease;
}

.gallery-exhibition-card:active{
  transform:scale(.985);
}

.gallery-exhibition-card > i{
  margin-left:auto;
  color:var(--orange);
  font-size:15px;
}

.gallery-author-photo{
  width:66px;
  height:66px;
  flex:none;
  overflow:hidden;
  border-radius:20px;
  background:#f3f4f6;
}

.gallery-author-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.gallery-exhibition-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:5px;
}

.gallery-exhibition-copy strong{
  color:#111827;
  font-size:15px;
  font-weight:900;
  line-height:1.15;
}

.gallery-exhibition-copy span{
  color:var(--muted);
  font-size:12px;
  line-height:1.3;
  font-weight:700;
}


body.gallery-modal-open{
  overflow:hidden;
}


.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


.gallery-lightbox-dialog{
  position:relative;
  width:min(760px,100%);
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  border-radius:30px;
  background:var(--dark);
  color:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.42);
}


.gallery-lightbox-close{
  position:absolute;
  top:13px;
  right:13px;
  z-index:4;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:18px;
}


.gallery-lightbox-author{
  display:flex;
  align-items:center;
  gap:11px;
  padding:16px 68px 14px 16px;
}

.gallery-lightbox-author img{
  width:48px;
  height:48px;
  flex:none;
  border-radius:15px;
  object-fit:cover;
  background:#fff;
}

.gallery-lightbox-author div{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.gallery-lightbox-author strong{
  font-size:14px;
  font-weight:900;
  line-height:1.15;
}

.gallery-lightbox-author span{
  color:rgba(255,255,255,.68);
  font-size:11px;
  font-weight:700;
  line-height:1.25;
}


.gallery-lightbox-stage{
  position:relative;
  width:100%;
  min-height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#050505;
  touch-action:pan-y;
}

.gallery-lightbox-image{
  display:block;
  width:100%;
  max-height:62vh;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
}


.gallery-lightbox-nav{
  position:absolute;
  top:50%;
  z-index:3;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#111827;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.gallery-lightbox-prev{
  left:12px;
}

.gallery-lightbox-next{
  right:12px;
}


.gallery-lightbox-meta{
  padding:17px 19px 21px;
}

.gallery-lightbox-counter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  font-size:11px;
  font-weight:900;
  margin-bottom:10px;
}

.gallery-lightbox-meta h3{
  margin:0;
  color:#fff;
  font-size:20px;
  line-height:1.18;
  font-weight:900;
}

.gallery-lightbox-meta p{
  margin:8px 0 0;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.5;
}


@media (max-width:640px){

  .gallery-lightbox{
    padding:10px;
  }

  .gallery-lightbox-dialog{
    max-height:calc(100vh - 20px);
    border-radius:24px;
  }

  .gallery-lightbox-image{
    max-height:58vh;
  }

  .gallery-lightbox-nav{
    width:38px;
    height:38px;
  }

  .gallery-lightbox-prev{
    left:8px;
  }

  .gallery-lightbox-next{
    right:8px;
  }
}


/* LM_BOTTOM_NAV_7_START */

/*
  Siete accesos principales.
  El QR conserva sus reglas originales:
  .qr-holder
  .qr-main
  .qr-main i
  .qr-label
*/

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

.nav-btn{
  width:39px;
  min-width:39px;
  height:70px;
  padding:0;
  gap:4px;
  font-size:7px;
  line-height:1.05;
  letter-spacing:-.01em;
}

.nav-btn i{
  font-size:19px;
}

.nav-btn span{
  white-space:nowrap;
}

@media (min-width:430px){

  .bottom-nav{
    padding-left:12px;
    padding-right:12px;
  }

  .nav-btn{
    width:46px;
    min-width:46px;
    font-size:8px;
  }

  .nav-btn i{
    font-size:21px;
  }
}

/* LM_BOTTOM_NAV_7_END */


/* LM_BOTTOM_NAV_B12_START */

/*
  Ajuste visual B12.
  NO modifica qr-holder, qr-main ni su animación.
*/

.bottom-nav{
  padding-left:6px;
  padding-right:6px;
  gap:1px;
}

.nav-btn{
  flex:1 1 0;
  width:auto;
  min-width:0;
  height:72px;

  padding:0 1px;

  gap:5px;

  font-size:8.5px;
  line-height:1.05;
  font-weight:800;

  letter-spacing:0;
  text-transform:none;

  color:#8b929d;
}

.nav-btn i{
  font-size:22px;
}

.nav-btn span{
  display:block;
  max-width:100%;
  white-space:nowrap;
  overflow:visible;
}

.nav-btn.active{
  color:var(--orange);
}

.qr-label{
  font-size:8px;
  letter-spacing:.08em;
}

@media (min-width:390px){

  .nav-btn{
    font-size:9px;
  }

  .nav-btn i{
    font-size:23px;
  }
}

/* LM_BOTTOM_NAV_B12_END */


/* LM_GAMES_HOME_START */


.games-home-head{
  margin:4px 0 22px;
}


.games-home-head h2{
  margin:0;

  color:#17191d;

  font-size:25px;
  line-height:1.05;

  font-weight:900;

  letter-spacing:-.03em;
}


.games-home-head p{
  margin:8px 0 0;

  max-width:500px;

  color:#7c838d;

  font-size:13px;
  line-height:1.45;
}


.games-home-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:18px 12px;

  padding-bottom:28px;
}


.games-home-card{
  min-width:0;
}


.games-home-image{
  position:relative;

  width:100%;

  aspect-ratio:4 / 3;

  overflow:hidden;

  border-radius:18px;

  box-shadow:
    0 9px 24px
    rgba(15,23,42,.12);
}


.games-home-card h3{
  margin:9px 3px 0;

  color:#191b1f;

  font-size:13px;
  line-height:1.15;

  font-weight:900;
}


.games-image-icon{
  position:absolute;

  right:9px;
  bottom:9px;

  display:flex;
  align-items:center;
  justify-content:center;

  width:30px;
  height:30px;

  border-radius:50%;

  background:
    rgba(0,0,0,.74);

  color:white;

  font-size:12px;

  backdrop-filter:
    blur(7px);
}


/* ==========================================================
   PALABREO
   ========================================================== */

.game-image-palabreo{
  display:flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(
      circle at 25% 18%,
      rgba(255,255,255,.34),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #ff8a2a,
      #e25d09
    );
}


.palabreo-board{
  width:90%;

  display:grid;

  grid-template-columns:
    repeat(5,1fr);

  gap:3px;

  transform:
    rotate(-3deg);
}


.palabreo-board span{
  aspect-ratio:1;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:7px;

  background:white;

  color:#17191d;

  box-shadow:
    0 5px 14px
    rgba(0,0,0,.17);

  font-size:
    clamp(14px,5vw,23px);

  font-weight:950;
}


/* ==========================================================
   RUTA CANARIA
   ========================================================== */

.game-image-ruta{
  background:

    radial-gradient(
      circle at 52% 48%,
      rgba(255,255,255,.10),
      transparent 43%
    ),

    linear-gradient(
      145deg,
      #252525,
      #080808
    );
}


.ruta-island{
  position:absolute;

  left:20%;
  top:10%;

  width:60%;
  height:80%;

  border-radius:
    48% 52% 58% 42% /
    36% 43% 57% 64%;

  background:
    linear-gradient(
      145deg,
      #b8b1a4,
      #756f66
    );

  transform:
    rotate(-9deg);

  box-shadow:
    0 15px 28px
    rgba(0,0,0,.24);
}


.ruta-pin{
  position:absolute;

  color:#f47721;

  font-size:18px;

  filter:
    drop-shadow(
      0 3px 4px
      rgba(0,0,0,.35)
    );
}


.ruta-pin-1{
  left:19%;
  top:56%;
}


.ruta-pin-2{
  left:52%;
  top:33%;
}


.ruta-pin-3{
  right:12%;
  top:17%;
}


.ruta-trail{
  position:absolute;

  left:27%;
  top:34%;

  width:46%;
  height:34%;

  border-top:
    2px dashed
    rgba(255,255,255,.85);

  border-right:
    2px dashed
    rgba(255,255,255,.85);

  border-radius:
    0 30px 0 0;
}


/* ==========================================================
   GALERIA ILUSTRE
   ========================================================== */

.game-image-ilustre{
  background:

    radial-gradient(
      circle at 50% 32%,
      #f6eee7,
      #decfc2 55%,
      #bba692
    );
}


.ilustre-person{
  position:absolute;

  left:50%;
  bottom:-16%;

  width:72%;

  transform:
    translateX(-50%);

  text-align:center;

  color:#242424;
}


.ilustre-person > i{
  font-size:
    clamp(82px,25vw,140px);

  opacity:.83;
}


.ilustre-person strong{
  position:absolute;

  right:-4%;
  top:-5%;

  color:#f47721;

  font-size:
    clamp(38px,13vw,68px);

  line-height:1;

  font-weight:950;

  text-shadow:
    0 4px 12px
    rgba(0,0,0,.10);
}


/* tercer juego centrado en móvil */

.games-home-grid
.games-home-card:last-child:nth-child(odd){

  grid-column:
    1 / -1;

  width:
    calc(50% - 6px);

  justify-self:center;
}


/* ==========================================================
   TABLET / DESKTOP
   ========================================================== */

@media (min-width:700px){

  .games-home-grid{

    grid-template-columns:
      repeat(3,minmax(0,1fr));

    gap:18px;

  }


  .games-home-grid
  .games-home-card:last-child:nth-child(odd){

    grid-column:auto;

    width:auto;

    justify-self:stretch;

  }


  .games-home-card h3{

    font-size:15px;

  }

}


/* LM_GAMES_HOME_END */


/* LM_PALABREO_B17_START */


.games-home-card-button{
  appearance:none;
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  font:inherit;
  cursor:pointer;
}


.games-home-card-button .games-home-image{
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}


.games-home-card-button:active .games-home-image{
  transform:scale(.985);
}


.games-coming-soon{
  position:absolute;
  z-index:5;
  left:9px;
  top:9px;

  display:inline-flex;
  align-items:center;

  min-height:27px;
  padding:0 10px;

  border:
    1px solid
    rgba(255,255,255,.30);

  border-radius:999px;

  background:
    rgba(15,15,15,.79);

  backdrop-filter:
    blur(9px);

  color:#fff;

  font-size:9px;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;

  box-shadow:
    0 5px 14px
    rgba(0,0,0,.18);
}


.palabreo-page{
  width:100%;
  max-width:620px;
  margin:0 auto;
  padding-bottom:34px;
}


.palabreo-back{
  appearance:none;

  display:inline-flex;
  align-items:center;
  gap:8px;

  margin:0 0 18px;
  padding:8px 0;

  border:0;
  background:transparent;

  color:#555d68;

  font:inherit;
  font-size:13px;
  font-weight:850;

  cursor:pointer;
}


.palabreo-game-head{
  margin-bottom:15px;
}


.palabreo-eyebrow{
  display:inline-flex;

  margin-bottom:7px;

  color:#f47721;

  font-size:10px;
  font-weight:950;

  letter-spacing:.09em;
  text-transform:uppercase;
}


.palabreo-game-head h2{
  margin:0;

  color:#16181c;

  font-size:
    clamp(
      28px,
      8vw,
      38px
    );

  line-height:.98;

  font-weight:950;
  letter-spacing:-.045em;
}


.palabreo-game-head p{
  margin:9px 0 0;

  color:#7a818c;

  font-size:13px;
  line-height:1.45;
}


.palabreo-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;

  margin:0 0 12px;
}


.palabreo-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;

  min-height:29px;
  padding:0 10px;

  border:
    1px solid
    #e4e6e9;

  border-radius:999px;

  background:#fff;

  color:#555d68;

  font-size:10px;
  font-weight:850;
}


.palabreo-meta .points{
  border-color:#ffd7bc;

  background:#fff4eb;

  color:#cf590d;
}


.palabreo-clue{
  display:flex;
  flex-direction:column;
  gap:6px;

  margin-bottom:17px;
  padding:13px 14px;

  border:
    1px solid
    #ece4dc;

  border-radius:15px;

  background:
    linear-gradient(
      145deg,
      #fffaf6,
      #fff
    );
}


.palabreo-clue span{
  display:flex;
  align-items:center;
  gap:7px;

  color:#e56412;

  font-size:10px;
  font-weight:950;

  letter-spacing:.07em;
  text-transform:uppercase;
}


.palabreo-clue strong{
  color:#24272c;

  font-size:13px;
  line-height:1.42;
}


.palabreo-game-board{
  display:flex;
  flex-direction:column;
  gap:5px;

  width:100%;
  margin:0 auto 12px;
}


.palabreo-game-row{
  display:grid;

  grid-template-columns:
    repeat(
      var(--palabreo-length),
      minmax(0,1fr)
    );

  gap:
    clamp(
      2px,
      .8vw,
      5px
    );
}


.palabreo-game-tile{
  aspect-ratio:1;

  display:flex;
  align-items:center;
  justify-content:center;

  min-width:0;

  border:
    2px solid
    #dfe2e5;

  border-radius:
    clamp(
      3px,
      1.5vw,
      8px
    );

  background:#fff;

  color:#191b1f;

  font-size:
    var(
      --palabreo-font,
      17px
    );

  font-weight:950;
  line-height:1;
}


.palabreo-game-tile.draft{
  border-color:#9299a2;
}


.palabreo-game-tile.correct{
  border-color:#2d936c;
  background:#2d936c;
  color:#fff;
}


.palabreo-game-tile.present{
  border-color:#d39b27;
  background:#d39b27;
  color:#fff;
}


.palabreo-game-tile.absent{
  border-color:#747b84;
  background:#747b84;
  color:#fff;
}


.palabreo-attempt-info{
  margin:0 0 14px;

  color:#808690;

  text-align:center;

  font-size:11px;
  font-weight:700;
}


.palabreo-attempt-info strong{
  color:#22252a;
}


.palabreo-keyboard{
  display:flex;
  flex-direction:column;
  gap:6px;

  margin-top:5px;
}


.palabreo-keyboard-row{
  display:flex;
  justify-content:center;

  gap:
    clamp(
      2px,
      .8vw,
      5px
    );
}


.palabreo-key{
  appearance:none;

  flex:1 1 0;

  min-width:0;
  max-width:44px;

  height:
    clamp(
      39px,
      12vw,
      48px
    );

  padding:0 2px;

  border:0;
  border-radius:7px;

  background:#e8eaed;

  color:#25282d;

  font-size:
    clamp(
      10px,
      3.2vw,
      13px
    );

  font-weight:950;

  cursor:pointer;
}


.palabreo-key.special{
  flex:1.45 1 0;

  max-width:62px;

  background:#cfd3d8;

  font-size:10px;
}


.palabreo-key.correct{
  background:#2d936c;
  color:#fff;
}


.palabreo-key.present{
  background:#d39b27;
  color:#fff;
}


.palabreo-key.absent{
  background:#747b84;
  color:#fff;
}


.palabreo-result{
  display:flex;
  align-items:flex-start;
  gap:12px;

  margin:0 0 16px;
  padding:14px;

  border-radius:16px;
}


.palabreo-result.success{
  border:
    1px solid
    #bfe7d6;

  background:#effaf5;
}


.palabreo-result.lost{
  border:
    1px solid
    #e2e4e7;

  background:#f6f7f8;
}


.palabreo-result-icon{
  flex:0 0 auto;

  display:flex;
  align-items:center;
  justify-content:center;

  width:36px;
  height:36px;

  border-radius:50%;

  background:#17191d;

  color:#fff;
}


.palabreo-result strong{
  display:block;

  margin:1px 0 3px;

  color:#202328;

  font-size:14px;
}


.palabreo-result p{
  margin:0 0 3px;

  color:#24272c;

  font-size:13px;
}


.palabreo-result small{
  color:#717881;

  font-size:10px;
  line-height:1.35;
}


.palabreo-login-card{
  display:grid;

  grid-template-columns:
    auto 1fr;

  gap:11px 12px;

  margin-top:16px;
  padding:14px;

  border:
    1px solid
    #e7e1dc;

  border-radius:16px;

  background:#fff;
}


.palabreo-login-card > i{
  grid-row:
    1 / span 2;

  display:flex;
  align-items:center;
  justify-content:center;

  width:37px;
  height:37px;

  border-radius:11px;

  background:#17191d;

  color:#f47721;
}


.palabreo-login-card strong{
  display:block;

  margin-bottom:3px;

  color:#22252a;

  font-size:13px;
}


.palabreo-login-card p{
  margin:0;

  color:#777e88;

  font-size:11px;
  line-height:1.4;
}


.palabreo-login-card button{
  grid-column:2;

  justify-self:start;

  appearance:none;

  padding:8px 12px;

  border:0;
  border-radius:999px;

  background:#f47721;

  color:#fff;

  font:inherit;
  font-size:10px;
  font-weight:900;

  cursor:pointer;
}


.palabreo-legend{
  display:flex;
  flex-direction:column;
  gap:6px;

  margin-top:18px;
  padding-top:14px;

  border-top:
    1px solid
    #eceef0;
}


.palabreo-legend span{
  display:flex;
  align-items:center;
  gap:8px;

  color:#7b828c;

  font-size:10px;
}


.palabreo-legend .sample{
  display:block;

  width:15px;
  height:15px;

  border-radius:4px;
}


.palabreo-legend .correct{
  background:#2d936c;
}


.palabreo-legend .present{
  background:#d39b27;
}


.palabreo-legend .absent{
  background:#747b84;
}


.palabreo-loading-card,
.palabreo-error-card{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;

  min-height:110px;

  padding:18px;

  border:
    1px solid
    #e4e7ea;

  border-radius:17px;

  background:#fff;

  color:#656c75;

  text-align:center;

  font-size:12px;
}


.palabreo-error-card{
  flex-direction:column;
}


.palabreo-error-card > i{
  color:#f47721;

  font-size:24px;
}


.palabreo-error-card button{
  appearance:none;

  padding:8px 13px;

  border:0;
  border-radius:999px;

  background:#17191d;

  color:#fff;

  font:inherit;
  font-size:10px;
  font-weight:900;

  cursor:pointer;
}


@media (min-width:700px){

  .games-home-card-button:hover .games-home-image{

    transform:
      translateY(-2px);

    box-shadow:
      0 13px 30px
      rgba(15,23,42,.16);

  }

}


/* LM_PALABREO_B17_END */



/* LM_PALABREO_B18_2_START */


.palabreo-daily-progress{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  margin:-2px 0 14px;
  padding:10px 12px;

  border:1px solid #eceef0;
  border-radius:14px;

  background:#fff;

  color:#777e87;

  font-size:10px;
  font-weight:800;
}


.palabreo-progress-dots{
  display:flex;
  align-items:center;
  gap:7px;
}


.palabreo-progress-dot{
  display:flex;
  align-items:center;
  justify-content:center;

  width:24px;
  height:24px;

  border:2px solid #d9dde1;
  border-radius:50%;

  background:#fff;

  color:#8b9198;

  font-size:9px;
  font-weight:950;
}


.palabreo-progress-dot.active{
  border-color:#f47721;
  background:#fff1e7;
  color:#e56513;
}


.palabreo-progress-dot.complete{
  border-color:#2d936c;
  background:#2d936c;
  color:#fff;
}


.palabreo-extra-hints{
  display:flex;
  flex-direction:column;
  gap:8px;

  margin:-7px 0 16px;
}


.palabreo-extra-hint-row{
  display:flex;
  align-items:center;
  gap:11px;

  padding:11px 13px;

  border:1px solid #f1dbc9;
  border-radius:13px;

  background:#fff8f2;
}


.palabreo-extra-hint-row > i{
  flex:0 0 auto;

  display:flex;
  align-items:center;
  justify-content:center;

  width:31px;
  height:31px;

  border-radius:10px;

  background:#f47721;
  color:#fff;
}


.palabreo-extra-hint-row span{
  display:block;

  margin-bottom:2px;

  color:#d96011;

  font-size:9px;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
}


.palabreo-extra-hint-row strong{
  color:#292c31;

  font-size:12px;
}


.palabreo-extra-hint-row strong b{
  color:#f47721;
  font-size:16px;
}


.palabreo-hint-pattern{
  display:block;

  color:#25282c !important;

  font-size:
    clamp(
      12px,
      4vw,
      17px
    ) !important;

  font-weight:950;
  letter-spacing:.16em;
}


.palabreo-result-main{
  flex:1;
  min-width:0;
}


.palabreo-inline-next{
  appearance:none;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-top:9px;
  padding:8px 12px;

  border:0;
  border-radius:999px;

  background:#17191d;

  color:#fff;

  font:inherit;
  font-size:10px;
  font-weight:900;

  cursor:pointer;
}


/* =========================================================
   MODAL CULTURAL
   ========================================================= */


.palabreo-cultural-overlay{
  position:fixed;
  z-index:99999;

  inset:0;

  display:flex;
  align-items:flex-end;
  justify-content:center;

  padding:
    max(
      14px,
      env(safe-area-inset-top)
    )
    12px
    max(
      14px,
      env(safe-area-inset-bottom)
    );

  background:
    rgba(
      10,
      12,
      15,
      .68
    );

  backdrop-filter:
    blur(7px);

  animation:
    lmPalabreoOverlay
    .18s ease-out;
}


.palabreo-cultural-modal{
  position:relative;

  width:100%;
  max-width:520px;

  max-height:
    calc(
      100dvh -
      28px
    );

  overflow:auto;

  border-radius:24px;

  background:#fff;

  box-shadow:
    0 24px 80px
    rgba(
      0,
      0,
      0,
      .32
    );

  animation:
    lmPalabreoModal
    .25s
    cubic-bezier(
      .2,
      .8,
      .2,
      1
    );
}


.palabreo-cultural-close{
  position:absolute;
  z-index:5;

  top:11px;
  right:11px;

  display:flex;
  align-items:center;
  justify-content:center;

  width:34px;
  height:34px;

  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;

  background:rgba(15,15,15,.55);

  color:#fff;

  font-size:15px;

  backdrop-filter:blur(8px);

  cursor:pointer;
}


.palabreo-cultural-photo-wrap{
  position:relative;

  min-height:240px;

  overflow:hidden;

  border-radius:
    24px
    24px
    0
    0;

  background:#24272d;
}


.palabreo-cultural-photo{
  display:block;

  width:100%;
  height:270px;

  object-fit:cover;
}


.palabreo-cultural-photo-shade{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.78),
      rgba(0,0,0,.08) 58%,
      rgba(0,0,0,.16)
    );
}


.palabreo-cultural-word{
  position:absolute;

  left:20px;
  right:60px;
  bottom:18px;

  color:#fff;
}


.palabreo-cultural-word > span{
  display:block;

  margin-bottom:5px;

  font-size:9px;
  font-weight:900;

  letter-spacing:.12em;
  text-transform:uppercase;

  opacity:.84;
}


.palabreo-cultural-word h2{
  margin:0 0 6px;

  color:#fff;

  font-size:
    clamp(
      31px,
      10vw,
      45px
    );

  line-height:.92;

  letter-spacing:-.045em;

  text-transform:uppercase;
}


.palabreo-cultural-word > div{
  display:inline-flex;
  align-items:center;
  gap:5px;

  padding:6px 10px;

  border-radius:999px;

  background:#f47721;

  color:#fff;

  font-size:10px;
  font-weight:850;
}


.palabreo-cultural-word > div b{
  font-size:13px;
}


.palabreo-cultural-content{
  padding:19px;
}


.palabreo-cultural-content section{
  margin-bottom:17px;
}


.palabreo-cultural-label{
  display:flex;
  align-items:center;
  gap:7px;

  margin-bottom:6px;

  color:#e36312;

  font-size:10px;
  font-weight:950;

  letter-spacing:.065em;
  text-transform:uppercase;
}


.palabreo-cultural-content section p{
  margin:0;

  color:#3d4249;

  font-size:13px;
  line-height:1.55;
}


.palabreo-cultural-content section.curiosity{
  padding:14px;

  border:1px solid #f0dfd0;
  border-radius:15px;

  background:#fff8f2;
}


.palabreo-cultural-finish{
  display:flex;
  gap:11px;

  margin:17px 0;
  padding:14px;

  border-radius:16px;

  background:#eff9f5;

  border:1px solid #c5e7d7;
}


.palabreo-cultural-finish > i{
  flex:0 0 auto;

  display:flex;
  align-items:center;
  justify-content:center;

  width:38px;
  height:38px;

  border-radius:12px;

  background:#2d936c;

  color:#fff;
}


.palabreo-cultural-finish strong{
  display:block;

  margin-bottom:4px;

  color:#225f4b;

  font-size:13px;
}


.palabreo-cultural-finish p{
  margin:0 0 4px;

  color:#4f665e;

  font-size:11px;
  line-height:1.4;
}


.palabreo-cultural-finish small{
  color:#52635d;

  font-size:10px;
}


.palabreo-cultural-finish small b{
  color:#2d936c;
}


.palabreo-cultural-next-note{
  margin:16px 0;

  padding:10px 12px;

  border-radius:12px;

  background:#f4f5f6;

  color:#646a72;

  font-size:10px;
  font-weight:800;

  text-align:center;
}


.palabreo-cultural-credit{
  display:flex;
  align-items:center;
  gap:6px;

  margin:15px 0;

  color:#979ca3;

  font-size:8px;
  line-height:1.35;
}


.palabreo-cultural-continue{
  appearance:none;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;

  width:100%;

  min-height:48px;

  padding:0 15px;

  border:0;
  border-radius:14px;

  background:#f47721;

  color:#fff;

  font:inherit;
  font-size:12px;
  font-weight:950;

  cursor:pointer;
}


@keyframes lmPalabreoOverlay{

  from{
    opacity:0;
  }

  to{
    opacity:1;
  }

}


@keyframes lmPalabreoModal{

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

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

}


@media (min-width:700px){

  .palabreo-cultural-overlay{
    align-items:center;
  }


  .palabreo-cultural-modal{
    max-height:
      calc(
        100dvh -
        60px
      );
  }


  .palabreo-cultural-photo{
    height:310px;
  }

}


/* LM_PALABREO_B18_2_END */



/* =========================================================
   LM_PALABREO_MODAL_B18_2_2
   Ficha cultural segura en móvil/PWA
   ========================================================= */


@media (max-width:699px){

  .palabreo-cultural-overlay{
    align-items:stretch;
    justify-content:stretch;

    padding:0;

    background:#fff;
  }


  .palabreo-cultural-modal{
    width:100%;
    max-width:none;

    height:100vh;
    height:100dvh;

    max-height:100vh;
    max-height:100dvh;

    display:flex;
    flex-direction:column;

    overflow:hidden;

    border-radius:0;

    box-shadow:none;
  }


  .palabreo-cultural-close{
    position:fixed;

    z-index:100002;

    top:
      calc(
        12px +
        env(
          safe-area-inset-top,
          0px
        )
      );

    right:14px;

    width:44px;
    height:44px;

    border:2px solid rgba(255,255,255,.92);

    background:rgba(0,0,0,.82);

    color:#fff;

    font-size:20px;

    box-shadow:
      0 4px 16px
      rgba(0,0,0,.32);
  }


  .palabreo-cultural-photo-wrap{
    flex:0 0 auto;

    min-height:205px;

    border-radius:0;
  }


  .palabreo-cultural-photo{
    height:230px;
  }


  .palabreo-cultural-content{
    flex:1 1 auto;

    min-height:0;

    overflow-y:auto;
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;

    overscroll-behavior:contain;

    padding:
      18px
      18px
      calc(
        24px +
        env(
          safe-area-inset-bottom,
          0px
        )
      );
  }


  .palabreo-cultural-continue{
    position:sticky;

    z-index:20;

    bottom:0;

    min-height:52px;

    margin-top:18px;

    box-shadow:
      0 -10px 22px
      rgba(255,255,255,.96);
  }

}


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

  .palabreo-cultural-photo-wrap{
    min-height:175px;
  }


  .palabreo-cultural-photo{
    height:195px;
  }


  .palabreo-cultural-word h2{
    font-size:31px;
  }

}


/* Escritorio/tablet conserva aspecto de ventana flotante */

@media (min-width:700px){

  .palabreo-cultural-modal{
    display:flex;
    flex-direction:column;

    overflow:hidden;

    max-height:
      calc(
        100dvh -
        60px
      );
  }


  .palabreo-cultural-content{
    min-height:0;

    overflow-y:auto;

    -webkit-overflow-scrolling:touch;
  }


  .palabreo-cultural-close{
    position:absolute;

    width:40px;
    height:40px;

    background:rgba(0,0,0,.75);

    font-size:18px;
  }


  .palabreo-cultural-continue{
    position:sticky;
    bottom:0;

    z-index:10;
  }

}


/* LM_PALABREO_MODAL_B18_2_2_END */



/* =========================================================
   LM_PALABREO_PORTAL_B18_2_3
   ========================================================= */

body.lm-palabreo-modal-open{
  overflow:hidden !important;
}


body > .palabreo-cultural-overlay{
  position:fixed !important;

  z-index:2147483000 !important;

  inset:0 !important;

  width:100vw !important;

  height:100vh !important;
  height:100dvh !important;

  margin:0 !important;

  overflow:hidden !important;
}


.palabreo-cultural-mobile-bar{
  display:none;
}


@media (max-width:699px){

  body > .palabreo-cultural-overlay{
    display:block !important;

    padding:0 !important;

    background:#fff !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-modal{

    display:flex !important;
    flex-direction:column !important;

    width:100vw !important;

    height:100vh !important;
    height:100dvh !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 !important;

    overflow:hidden !important;

    border-radius:0 !important;

    background:#fff !important;

    box-shadow:none !important;

    transform:none !important;
  }


  .palabreo-cultural-mobile-bar{
    position:relative;

    z-index:100;

    flex:0 0 auto;

    display:flex;

    align-items:center;
    justify-content:space-between;

    min-height:
      calc(
        54px +
        env(safe-area-inset-top,0px)
      );

    padding:
      calc(
        8px +
        env(safe-area-inset-top,0px)
      )
      14px
      8px;

    border-bottom:1px solid #e8e8e8;

    background:#fff;

    color:#1d2024;
  }


  .palabreo-cultural-mobile-bar strong{
    font-size:15px;
    font-weight:950;
  }


  .palabreo-cultural-mobile-bar button{
    appearance:none;

    display:flex;
    align-items:center;
    gap:7px;

    min-height:38px;

    padding:0 14px;

    border:0;
    border-radius:999px;

    background:#17191d;

    color:#fff;

    font:inherit;
    font-size:12px;
    font-weight:900;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-close{
    display:none !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-photo-wrap{

    flex:0 0 190px !important;

    min-height:190px !important;

    height:190px !important;

    overflow:hidden !important;

    border-radius:0 !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-photo{

    width:100% !important;

    height:190px !important;

    object-fit:cover !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-content{

    flex:1 1 0 !important;

    min-height:0 !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    -webkit-overflow-scrolling:touch !important;

    overscroll-behavior:contain !important;

    touch-action:pan-y !important;

    padding:
      18px
      18px
      calc(
        30px +
        env(safe-area-inset-bottom,0px)
      ) !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-continue{

    position:relative !important;

    bottom:auto !important;

    display:flex !important;

    width:100% !important;

    min-height:54px !important;

    margin:20px 0 4px !important;

    box-shadow:none !important;
  }

}


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

  body > .palabreo-cultural-overlay
  .palabreo-cultural-photo-wrap{

    flex-basis:145px !important;

    min-height:145px !important;

    height:145px !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-photo{

    height:145px !important;
  }

}


@media (min-width:700px){

  body > .palabreo-cultural-overlay{
    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    padding:30px !important;
  }


  body > .palabreo-cultural-overlay
  .palabreo-cultural-modal{

    max-height:
      calc(
        100dvh -
        60px
      ) !important;
  }

}


/* LM_PALABREO_PORTAL_B18_2_3_END */


/* LM_INSTALL_UX_B18_2_6 */

.lm-install-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding:
    16px
    16px
    calc(16px + env(safe-area-inset-bottom, 0px));

  background: rgba(0,0,0,.72);
  backdrop-filter: blur(7px);
}

.lm-install-help-card {
  width: min(100%, 460px);
  max-height: calc(100dvh - 32px);

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  padding: 20px;

  border-radius: 24px;

  background: #fff;
  color: #17191d;

  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.lm-install-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 12px;
}

.lm-install-help-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;

  background: #f0f0f0;
  color: #17191d;

  font-size: 18px;
}

.lm-install-help-card h3 {
  margin: 4px 0 8px;

  font-size: 26px;
  line-height: 1.08;
}

.lm-install-help-card > p {
  margin: 0 0 18px;

  color: #60646b;
  line-height: 1.45;
}

.lm-install-steps {
  display: grid;
  gap: 10px;

  margin: 0 0 18px;
}

.lm-install-step {
  display: grid;

  grid-template-columns: 38px 1fr;

  gap: 12px;
  align-items: center;

  padding: 12px;

  border: 1px solid #e8e8e8;
  border-radius: 16px;

  background: #fafafa;
}

.lm-install-step > span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #17191d;
  color: #fff;

  font-size: 14px;
  font-weight: 900;
}

.lm-install-step strong {
  display: block;

  margin-bottom: 2px;

  font-size: 14px;
}

.lm-install-step small {
  display: block;

  color: #6a6e75;

  font-size: 12px;
  line-height: 1.35;
}

.lm-install-help-ok {
  width: 100%;
  min-height: 50px;
}

@media (min-width: 700px) {
  .lm-install-help-overlay {
    align-items: center;
  }
}

/* LM_INSTALL_UX_B18_2_6_END */

