:root{--bg:#07111f;--bg2:#0d1b2f;--gold:#d8b35a;--gold2:#f3d98b;--text:#f8fafc;--muted:#b8c2d6;--ink:#132033;--soft:#f5f7fb;--blue:#1d75ff;--green:#23a66d;--card:#ffffff;--shadow:0 24px 80px rgba(3,10,24,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(180deg,#f7f8fb,#fff);color:var(--ink);padding-bottom:96px}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.splash{position:fixed;inset:0;background:radial-gradient(circle at 50% 30%,#19345d,#07111f 58%,#02050b);z-index:999;display:grid;place-items:center;text-align:center;color:white;transition:opacity .7s ease,visibility .7s}.splash.hide{opacity:0;visibility:hidden}.splash img{width:128px;filter:drop-shadow(0 0 28px rgba(216,179,90,.45));animation:pulse 1.8s ease infinite}.splash h1{margin:18px 0 2px;font-size:34px}.splash p{margin:0;color:var(--gold2);letter-spacing:.04em}@keyframes pulse{50%{transform:scale(1.04)}}.topbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:rgba(7,17,31,.76);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.1);color:white}.brand{display:flex;align-items:center;gap:10px}.brand img{width:42px;height:42px;object-fit:contain;border-radius:14px;background:transparent;padding:0;filter:drop-shadow(0 8px 16px rgba(216,179,90,.2))}.brand small{display:block;color:var(--muted);font-size:12px}.install{border:1px solid rgba(216,179,90,.45);background:rgba(216,179,90,.12);color:var(--gold2);border-radius:999px;padding:9px 14px;font-weight:700}.section{max-width:1120px;margin:0 auto;padding:72px 18px}.hero{max-width:none;min-height:86vh;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#07111f,#0e213b 48%,#08111f)}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,17,31,.88),rgba(7,17,31,.62)),url('assets/img/hero-principal-nuevo.png') center right/cover no-repeat;opacity:.42;filter:grayscale(20%) blur(.2px)}.hero:after{content:"";position:absolute;inset:auto 0 0;height:38%;background:linear-gradient(0deg,#f7f8fb,transparent)}.hero-content{position:relative;z-index:1;text-align:center;color:white;max-width:820px;padding:28px}.hero-logo{width:200px;margin:0 auto 16px;background:transparent;border-radius:0;padding:0;filter:drop-shadow(0 22px 38px rgba(216,179,90,.25)) drop-shadow(0 8px 22px rgba(0,0,0,.5))}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--gold2);font-size:12px;font-weight:800;margin:0 0 8px}.eyebrow.dark{color:#9a7420}.hero h1{font-size:clamp(42px,8vw,82px);line-height:.95;margin:0 0 14px;font-weight:900}.subtitle{font-size:clamp(19px,3.4vw,30px);margin:0;color:#fff}.triad{color:var(--gold2);font-weight:800;letter-spacing:.12em}.quick-actions,.button-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px}.primary,.secondary{border:0;border-radius:999px;padding:13px 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.primary{background:linear-gradient(135deg,var(--gold),#f7df94);color:#1b1404;box-shadow:0 12px 32px rgba(216,179,90,.28)}.secondary{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:white;backdrop-filter:blur(12px)}.secondary.dark{border-color:#d7dce7;background:white;color:var(--ink)}.split{display:grid;grid-template-columns:1fr;gap:28px;align-items:center}.copy h2,.section-head h2{font-size:clamp(30px,5vw,52px);line-height:1;margin:0 0 10px}.copy h3{font-size:24px;margin:0 0 18px;color:#805f13}.copy p,.section-head p{font-size:18px;line-height:1.65;color:#475569}.photo-card{margin:0;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:white}.photo-card img{width:100%;height:100%;object-fit:cover}.photo-card.contain{padding:12px}.photo-card.contain img{object-fit:contain}.radio-section{max-width:none;background:linear-gradient(135deg,#061226,#102b58);color:white}.radio-card{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr;gap:26px;align-items:center}.radio-card img{border-radius:28px;box-shadow:0 20px 70px rgba(0,0,0,.28)}.radio-card h2{font-size:clamp(32px,5vw,58px);margin:0 0 10px}.radio-card p{color:#d6e2f5;font-size:18px}.section-head{text-align:center;max-width:780px;margin:0 auto 34px}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.gallery img{height:220px;width:100%;object-fit:cover;border-radius:22px;box-shadow:0 12px 30px rgba(15,23,42,.12)}.gallery.mini img{height:180px}.abba{background:linear-gradient(180deg,#fff,#f7f0dc);border-radius:36px;margin-top:40px;box-shadow:var(--shadow)}.abba-top{display:grid;grid-template-columns:1fr;gap:24px;align-items:center}.abba-top>img{max-width:260px;margin:auto;border-radius:26px;box-shadow:0 12px 40px rgba(0,0,0,.12)}.video{width:100%;border-radius:24px;margin:28px 0;background:#000;box-shadow:var(--shadow)}.resources{background:#f5f7fb;border-radius:36px}.resource-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 18px}.resource-tabs button{border:1px solid #dbe2ef;background:white;border-radius:999px;padding:10px 14px;font-weight:800;white-space:nowrap}.resource-tabs button.active{background:var(--bg);color:white}.resource-grid{display:grid;grid-template-columns:1fr;gap:14px}.resource{background:white;border:1px solid #e7ebf3;border-radius:24px;padding:22px;box-shadow:0 14px 35px rgba(15,23,42,.06)}.resource span{display:inline-flex;background:#eef4ff;color:#1d4ed8;border-radius:999px;padding:5px 10px;font-weight:900;font-size:12px}.resource h3{margin:12px 0 6px}.resource p{color:#64748b;line-height:1.55}.resource a{color:#815f0f;font-weight:900}.resource.empty{background:linear-gradient(135deg,#fff,#fbf8ef)}.cards3{display:grid;grid-template-columns:1fr;gap:16px}.cards3 article{background:white;border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}.cards3 img{height:230px;width:100%;object-fit:cover}.cards3 h3,.cards3 p{padding:0 18px}.cards3 p{padding-bottom:20px;color:#64748b}.testimonials{background:linear-gradient(135deg,#fff,#f8fafc)}.quote-grid{display:grid;grid-template-columns:1fr;gap:16px}.quote-grid blockquote{margin:0;padding:24px;border-radius:24px;background:white;box-shadow:0 14px 35px rgba(15,23,42,.08);font-size:18px;line-height:1.55;border-left:5px solid var(--gold)}.contact{text-align:center;background:var(--bg);color:white;border-radius:36px;margin-bottom:30px}.contact p{color:#d6e2f5}.compact{margin-top:18px}.radio-player{position:fixed;left:12px;right:12px;bottom:86px;z-index:80;background:rgba(7,17,31,.94);color:white;border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:10px 12px;display:flex;align-items:center;gap:10px;box-shadow:0 16px 60px rgba(0,0,0,.35);backdrop-filter:blur(18px)}.radio-player .now{display:grid;line-height:1.15;flex:1;min-width:0}.radio-player small{color:var(--gold2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radio-player button{width:42px;height:42px;border-radius:50%;border:0;background:var(--gold);font-weight:900}.radio-player input{width:82px}.bottom-nav{position:fixed;left:12px;right:12px;bottom:12px;z-index:90;background:rgba(7,17,31,.94);border:1px solid rgba(255,255,255,.12);border-radius:28px;padding:8px;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 18px 60px rgba(0,0,0,.34);backdrop-filter:blur(18px)}.bottom-nav a,.bottom-nav button{border:0;background:transparent;color:white;display:grid;place-items:center;gap:2px;font-weight:800;font-size:14px}.bottom-nav span{font-size:22px}.bottom-nav small{font-size:10px;color:#cbd5e1}.more-menu{position:fixed;right:14px;bottom:86px;z-index:100;background:white;border-radius:24px;padding:12px;box-shadow:var(--shadow);min-width:210px}.more-menu a{display:block;padding:12px 14px;border-radius:14px;font-weight:800}.more-menu a:hover{background:#f1f5f9}.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}@media(min-width:760px){.split,.radio-card,.abba-top{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:repeat(3,1fr)}.resource-grid{grid-template-columns:repeat(3,1fr)}.cards3{grid-template-columns:repeat(3,1fr)}.quote-grid{grid-template-columns:repeat(2,1fr)}.section{padding:96px 24px}.radio-player{left:auto;width:560px}.hero-content{text-align:center}.abba{padding-left:34px;padding-right:34px}}


/* V5 premium refinements - safe visual layer */
.video-splash{padding:0;overflow:hidden;background:#020817}
.video-splash video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.video-splash .splash-fallback{position:absolute;inset:0;display:grid;place-items:center;align-content:center;z-index:0;opacity:.01}
.video-splash.hide video{opacity:0;transition:opacity .45s ease}
.hero{isolation:isolate}
.hero-bg{background:linear-gradient(90deg,rgba(7,17,31,.90),rgba(7,17,31,.54)),url('assets/img/hero-principal-nuevo.png') center right/cover no-repeat;opacity:.52;filter:saturate(95%) contrast(104%)}
.hero-content{border:1px solid rgba(255,255,255,.08);border-radius:38px;background:linear-gradient(180deg,rgba(7,17,31,.18),rgba(7,17,31,.02));box-shadow:0 24px 90px rgba(0,0,0,.20);backdrop-filter:blur(2px)}
.topbar{box-shadow:0 12px 40px rgba(0,0,0,.12)}
.photo-card{position:relative}
.photo-card:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);pointer-events:none}
.live-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.10);color:#fff;border-radius:999px;padding:7px 12px;margin:0 0 12px;font-weight:900;font-size:12px;letter-spacing:.08em;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.live-pill.gold{background:rgba(216,179,90,.14);border-color:rgba(216,179,90,.45);color:#4b3405}
.radio-card{position:relative}.radio-card:before{content:"";position:absolute;inset:-20px;border-radius:38px;background:radial-gradient(circle at 20% 20%,rgba(216,179,90,.16),transparent 34%),radial-gradient(circle at 80% 40%,rgba(53,115,214,.18),transparent 34%);pointer-events:none}
.radio-card>*{position:relative;z-index:1}.radio-card img{border:1px solid rgba(255,255,255,.14)}
.radio-player:before{content:"LIVE";font-size:10px;font-weight:900;letter-spacing:.12em;background:#dc2626;color:#fff;border-radius:999px;padding:4px 7px;margin-right:2px;box-shadow:0 0 20px rgba(220,38,38,.35)}
.radio-player{border-color:rgba(216,179,90,.28)}
.resource{transition:transform .25s ease,box-shadow .25s ease}.resource:hover{transform:translateY(-3px);box-shadow:0 20px 45px rgba(15,23,42,.10)}
.featured-resource{background:linear-gradient(135deg,#fff,#fff8e4);border-color:rgba(216,179,90,.38)}
.featured-resource span{background:rgba(216,179,90,.18);color:#7a5a10}
.featured-event{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e7ebf3;border-radius:30px;padding:16px;margin-bottom:18px;box-shadow:var(--shadow)}
.featured-event img{width:100%;border-radius:22px;box-shadow:0 12px 35px rgba(15,23,42,.14)}
.featured-event h3{font-size:clamp(26px,4vw,42px);line-height:1.05;margin:8px 0 8px}.featured-event p{color:#58677b;line-height:1.6;font-size:17px}
.verse{border-left:4px solid var(--gold);padding-left:14px;background:#fff8e4;border-radius:0 16px 16px 0;padding-top:10px;padding-bottom:10px;color:#4b5563!important}
.consejeros-section{background:linear-gradient(180deg,#fff,#fbf8ef);border-radius:36px}
.consejeros-section .photo-card img{object-position:center top}
.abba{border:1px solid rgba(216,179,90,.24)}
.section-head p{max-width:720px;margin-left:auto;margin-right:auto}
@media(min-width:760px){.featured-event{grid-template-columns:.95fr 1.05fr;padding:22px}.featured-event img{height:360px;object-fit:cover}.hero-content{padding:42px 48px}}


/* V6 Android/Play Store content additions */
.media-section{background:linear-gradient(180deg,#ffffff,#f8fafc);border-radius:36px;margin-top:18px}
.media-card{display:grid;grid-template-columns:1fr;gap:22px;align-items:center;background:white;border:1px solid #e7ebf3;border-radius:30px;padding:16px;box-shadow:var(--shadow);overflow:hidden}
.media-card>img{width:100%;border-radius:22px;box-shadow:0 18px 45px rgba(15,23,42,.18);object-fit:cover;max-height:520px}
.media-card h2{font-size:clamp(34px,6vw,58px);line-height:.95;margin:4px 0 8px}
.media-card h3{font-size:24px;margin:0 0 6px;color:#0b1220}.media-card p{color:#58677b;line-height:1.6;font-size:17px}.subtitle-dark{font-weight:900;color:#0b5d9e!important;letter-spacing:.03em}.media-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.media-buttons a{display:inline-flex;align-items:center;justify-content:center}.tv-card{background:linear-gradient(135deg,#061222,#0a1d36);color:#fff}.tv-card h2,.tv-card h3{color:#fff}.tv-card p{color:#d6e2f5}.tv-card .eyebrow{color:#7dd3fc}.youtube-frame{margin-top:18px;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#07111f}.youtube-frame iframe{width:100%;aspect-ratio:16/9;border:0;display:block}.magazine-card{background:linear-gradient(135deg,#f8fbff,#ffffff)}.diario-card{background:linear-gradient(135deg,#fffaf0,#ffffff)}
@media(min-width:760px){.media-card{grid-template-columns:1fr 1fr;padding:24px}.media-card>img{height:460px}.magazine-card>img{height:420px}.diario-card>img{height:520px;object-fit:contain;background:#f8fafc}}
@media all and (display-mode: standalone){#installBtn{display:none!important}}
body.android-app #installBtn{display:none!important}

/* V7 nuevas secciones full width: Alkance TV, Revista y Mi Diario Caminar */
.fullwidth-showcase{max-width:none;width:100%;padding-left:0;padding-right:0;border-radius:0;margin-top:0;background:#07111f;overflow:hidden}
.section-banner{position:relative;width:100%;min-height:360px;background:#07111f;overflow:hidden}
.section-banner>img{width:100%;height:100%;min-height:360px;display:block;object-fit:cover}
.banner-overlay{position:absolute;inset:auto 5vw 7vw 5vw;max-width:720px;color:#fff;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.30));border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:24px;backdrop-filter:blur(4px);box-shadow:0 24px 80px rgba(0,0,0,.35)}
.banner-overlay h2{font-size:clamp(38px,8vw,84px);line-height:.92;margin:4px 0 8px;color:#fff;letter-spacing:-.04em}.banner-overlay p{font-size:clamp(18px,3vw,28px);margin:0;color:#e2e8f0;font-weight:800}.banner-overlay .secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.24)}
.media-note,.magazine-preview,.diario-current{max-width:1160px;margin:0 auto;padding:26px 20px 72px;color:#fff}.media-note h3,.magazine-preview h3,.diario-current h3{font-size:clamp(26px,4vw,42px);margin:0 0 8px;color:#fff}.media-note p,.magazine-preview p,.diario-current p{color:#cbd5e1;font-size:17px;line-height:1.65;max-width:780px}.magazine-section{background:#06162b}.magazine-banner>img{object-position:center}.magazine-overlay{inset:auto 5vw 5vw 5vw;background:rgba(0,0,0,.74)}
.magazine-preview{display:grid;grid-template-columns:1fr;gap:22px;align-items:center;background:linear-gradient(180deg,#06162b,#0b1f3b)}.magazine-preview>img{width:min(360px,86vw);border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.35);justify-self:center}
.diario-section{background:#120d08}.diario-banner>img{object-position:center}.diario-overlay{background:linear-gradient(90deg,rgba(16,10,5,.78),rgba(16,10,5,.20))}.diario-current{display:grid;grid-template-columns:1fr;gap:24px;align-items:center;background:linear-gradient(180deg,#120d08,#25160a)}.diario-current>img{width:100%;border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.38);background:#fff}.diario-current .secondary.dark{background:#fff;color:#0f172a}
@media(min-width:760px){.section-banner{min-height:560px}.section-banner>img{min-height:560px}.banner-overlay{padding:34px 38px}.magazine-preview,.diario-current{grid-template-columns:.72fr 1fr;padding-top:44px}.diario-current{grid-template-columns:.85fr 1.15fr}.diario-current>img{max-height:760px;object-fit:contain}.media-note{padding-top:40px}.fullwidth-showcase + .fullwidth-showcase{margin-top:0}}
@media(max-width:520px){.banner-overlay{position:relative;inset:auto;margin:-130px 16px 28px;padding:20px}.section-banner{min-height:320px}.section-banner>img{min-height:320px}.media-buttons a{width:100%}.magazine-preview,.diario-current{padding-bottom:52px}}

/* V8 refinamiento final para publicación: navegación, radio, mobile, visor interno, offline y WhatsApp */
.section-head-dark h2,.section-head-dark p{color:#fff}.section-head-dark p:last-child{color:#d6e2f5}.button-row.left{justify-content:flex-start}.radio-section{padding-top:84px;padding-bottom:88px}.radio-section .section-head{margin-bottom:28px}.upcoming-radio{max-width:1120px;margin:30px auto 0;display:grid;grid-template-columns:1fr;gap:14px}.upcoming-radio article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:24px;padding:22px;box-shadow:0 18px 52px rgba(0,0,0,.18);backdrop-filter:blur(10px)}.upcoming-radio span{display:inline-flex;border-radius:999px;background:rgba(216,179,90,.14);color:#f8dd90;border:1px solid rgba(216,179,90,.24);padding:6px 10px;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.upcoming-radio h3{font-size:24px;margin:14px 0 8px;color:#fff}.upcoming-radio p{color:#d6e2f5;line-height:1.6;margin:0}.showcase-title{max-width:1120px;margin:0 auto;padding:58px 20px 22px;color:#fff;text-align:left;position:relative}.showcase-title:before{content:"";position:absolute;left:20px;right:20px;top:30px;height:1px;background:linear-gradient(90deg,transparent,rgba(216,179,90,.45),rgba(56,189,248,.35),transparent)}.showcase-title h2{font-size:clamp(28px,5vw,52px);line-height:1;margin:0 0 10px;color:#fff}.showcase-title p:not(.eyebrow){color:#cbd5e1;font-size:17px;line-height:1.55;margin:0}.fullwidth-showcase{border-top:1px solid rgba(255,255,255,.08)}.tv-showcase{background:linear-gradient(180deg,#07111f,#061326)}.magazine-section{background:linear-gradient(180deg,#061326,#071a31)}.diario-section{background:linear-gradient(180deg,#120d08,#241407)}.abba-section-title{margin-bottom:30px}.whatsapp-float{position:fixed;right:18px;bottom:176px;z-index:85;width:62px;height:62px;border-radius:24px;display:grid;place-items:center;text-align:center;color:white;background:rgba(23,113,72,.26);border:1px solid rgba(74,222,128,.34);box-shadow:0 16px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(18px);transition:transform .25s ease,background .25s ease,border-color .25s ease}.whatsapp-float span{font-size:24px;line-height:1}.whatsapp-float small{font-size:9px;font-weight:900;letter-spacing:.04em;margin-top:-4px;color:#dcfce7}.whatsapp-float:hover{transform:translateY(-2px);background:rgba(23,113,72,.42);border-color:rgba(74,222,128,.55)}.image-modal{position:fixed;inset:0;z-index:140;background:rgba(2,6,23,.92);display:grid;place-items:center;padding:24px;backdrop-filter:blur(16px)}.image-modal[hidden]{display:none}.image-modal img{max-width:min(96vw,1100px);max-height:88vh;object-fit:contain;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.58);background:white}.modal-close{position:fixed;right:20px;top:20px;z-index:141;width:46px;height:46px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.12);color:white;font-size:34px;line-height:1;cursor:pointer;backdrop-filter:blur(12px)}body.modal-open{overflow:hidden}.offline-screen{position:fixed;inset:0;z-index:300;background:#020817;display:grid;place-items:center;padding:0}.offline-screen[hidden]{display:none}.offline-screen img{width:100%;height:100%;object-fit:cover}.offline-screen button{position:absolute;left:50%;bottom:16.5%;transform:translateX(-50%);border:1px solid rgba(59,130,246,.55);background:rgba(2,8,23,.34);color:transparent;border-radius:22px;padding:20px 86px;min-width:260px;min-height:62px;cursor:pointer}.offline-screen button:focus{outline:2px solid rgba(125,211,252,.7);outline-offset:4px}.is-offline .radio-player{display:none}.is-offline .whatsapp-float{display:none}@media(min-width:760px){.upcoming-radio{grid-template-columns:repeat(3,1fr)}.whatsapp-float{bottom:102px}.radio-player:not([hidden])~.whatsapp-float{bottom:176px}}@media(max-width:520px){.section{padding-top:62px;padding-bottom:62px}.radio-section{padding-top:70px}.showcase-title{padding:54px 18px 18px}.showcase-title:before{left:18px;right:18px;top:26px}.fullwidth-showcase + .fullwidth-showcase{border-top:10px solid rgba(255,255,255,.055)}.banner-overlay{box-shadow:0 18px 54px rgba(0,0,0,.42);border-color:rgba(255,255,255,.20)}.media-note,.magazine-preview,.diario-current{padding-left:18px;padding-right:18px}.upcoming-radio article{border-radius:22px}.whatsapp-float{right:16px;bottom:158px;width:56px;height:56px;border-radius:21px}.radio-player[hidden]+.whatsapp-float,.radio-player[hidden]~.whatsapp-float{bottom:88px}.image-modal{padding:14px}.image-modal img{max-height:82vh;border-radius:18px}.modal-close{right:14px;top:14px}.offline-screen button{bottom:16%;min-width:235px;min-height:56px}}

/* V9 refinamiento Play Store: WhatsApp premium, ABBA modal y textos finales */
.whatsapp-float{
  bottom:158px;
  width:58px;
  height:58px;
  border-radius:22px;
  grid-template-rows:1fr auto;
  padding:7px 7px 5px;
  background:rgba(13,148,88,.18);
  border:1px solid rgba(74,222,128,.30);
  box-shadow:0 18px 52px rgba(0,0,0,.40),0 0 26px rgba(34,197,94,.14),inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  animation:waBreath 3.8s ease-in-out infinite;
}
.whatsapp-float img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.28));opacity:.92}
.whatsapp-float small{font-size:8px;line-height:1;color:rgba(236,253,245,.88);text-shadow:0 1px 8px rgba(0,0,0,.35)}
.whatsapp-float:hover{transform:translateY(-3px) scale(1.02);background:rgba(13,148,88,.28);box-shadow:0 22px 60px rgba(0,0,0,.42),0 0 36px rgba(34,197,94,.22),inset 0 1px 0 rgba(255,255,255,.22)}
@keyframes waBreath{0%,100%{box-shadow:0 18px 52px rgba(0,0,0,.40),0 0 22px rgba(34,197,94,.12),inset 0 1px 0 rgba(255,255,255,.20)}50%{box-shadow:0 18px 52px rgba(0,0,0,.40),0 0 34px rgba(34,197,94,.20),inset 0 1px 0 rgba(255,255,255,.22)}}
.contact-subtitle{margin:26px 0 0;color:#f8dd90;font-size:22px;letter-spacing:.03em}
.abba .copy h3{color:#7a5a12}.abba-top>img{background:transparent;box-shadow:none;border-radius:0;max-width:280px;filter:drop-shadow(0 18px 30px rgba(0,0,0,.18))}
.image-modal{align-items:flex-start;overflow:auto;padding:72px 18px 32px;overscroll-behavior:contain}
.image-modal img{max-width:min(96vw,1120px);max-height:none;width:auto;height:auto;background:transparent}
.image-modal .modal-close{position:fixed}
@media(min-width:760px){.whatsapp-float{bottom:176px}.radio-player:not([hidden])~.whatsapp-float{bottom:176px}.image-modal{padding-top:82px}}
@media(max-width:520px){.whatsapp-float{right:16px;bottom:158px;width:56px;height:56px;border-radius:21px}.whatsapp-float img{width:32px;height:32px}.radio-player[hidden]+.whatsapp-float,.radio-player[hidden]~.whatsapp-float{bottom:158px}.image-modal{padding:66px 12px 26px}.image-modal img{max-width:96vw;max-height:none;border-radius:18px}}

/* V11 final: ABBA hero real, radio clean and WhatsApp glass icon */
.radio-title-clean .eyebrow{
  color:#f8dd90 !important;
  letter-spacing:.22em;
  text-shadow:0 0 22px rgba(216,179,90,.18);
}
.radio-title-clean h2{
  color:#e8edf7 !important;
}
.radio-card h2{display:none !important;}
.radio-card .live-pill{margin-bottom:14px;}
.radio-card p{font-size:clamp(18px,2.2vw,24px);line-height:1.55;color:#e2e8f0;}

.abba-hero-section{
  max-width:none;
  width:100%;
  padding:0 0 74px;
  background:linear-gradient(180deg,#020817,#06111f 55%,#050a13);
  border:0;
  border-radius:0;
  overflow:hidden;
}
.abba-hero-image{
  width:100%;
  max-width:1600px;
  margin:0 auto;
}
.abba-hero-image img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  box-shadow:0 35px 100px rgba(0,0,0,.38);
}
.abba-actions{
  max-width:980px;
  margin:22px auto 0;
  padding:0 20px;
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}
.abba-actions a{
  min-width:230px;
  justify-content:center;
  border-radius:18px;
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.abba-actions .secondary.dark{
  background:rgba(8,18,32,.70);
  color:#f8dd90;
  border:1px solid rgba(216,179,90,.38);
  backdrop-filter:blur(12px);
}

.whatsapp-float{
  right:16px !important;
  bottom:158px !important;
  width:58px !important;
  height:58px !important;
  padding:0 !important;
  border-radius:23px !important;
  display:grid !important;
  place-items:center !important;
  grid-template-rows:none !important;
  color:rgba(225,242,255,.86) !important;
  background:linear-gradient(145deg,rgba(148,163,184,.20),rgba(15,23,42,.42)) !important;
  border:1px solid rgba(226,232,240,.28) !important;
  box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 28px rgba(125,211,252,.13),inset 0 1px 0 rgba(255,255,255,.22) !important;
  backdrop-filter:blur(20px) saturate(145%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(145%) !important;
  animation:chatBreath 4.2s ease-in-out infinite !important;
}
.whatsapp-float svg{
  width:42px;
  height:42px;
  display:block;
  opacity:.82;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
.whatsapp-float img,.whatsapp-float small{display:none !important;}
.whatsapp-float:hover{
  transform:translateY(-3px) scale(1.02);
  color:rgba(255,255,255,.95) !important;
  background:linear-gradient(145deg,rgba(148,163,184,.28),rgba(15,23,42,.55)) !important;
  box-shadow:0 22px 60px rgba(0,0,0,.46),0 0 36px rgba(125,211,252,.20),inset 0 1px 0 rgba(255,255,255,.25) !important;
}
@keyframes chatBreath{
  0%,100%{box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 22px rgba(125,211,252,.10),inset 0 1px 0 rgba(255,255,255,.20)}
  50%{box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 34px rgba(125,211,252,.18),inset 0 1px 0 rgba(255,255,255,.24)}
}
@media(min-width:760px){
  .whatsapp-float{bottom:176px !important;}
  .radio-player:not([hidden])~.whatsapp-float{bottom:176px !important;}
}
@media(max-width:520px){
  .abba-hero-section{padding-bottom:62px;}
  .abba-hero-image img{min-height:260px;object-fit:cover;object-position:center;}
  .abba-actions{margin-top:16px;gap:10px;}
  .abba-actions a{width:100%;min-width:0;}
  .whatsapp-float{right:16px !important;bottom:158px !important;width:56px !important;height:56px !important;border-radius:22px !important;}
  .whatsapp-float svg{width:40px;height:40px;}
}


/* ===== ABBA FINAL POLISH: experiencia viva, video y galería premium ===== */
.abba-hero-section{
  position:relative;
  isolation:isolate;
  background:linear-gradient(180deg,#07111f 0%,#020817 48%,#06111f 100%);
}
.abba-hero-section:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 18% 0%,rgba(216,179,90,.22),transparent 34%),
    radial-gradient(circle at 84% 22%,rgba(56,189,248,.16),transparent 36%),
    linear-gradient(180deg,rgba(2,8,23,.10),rgba(2,8,23,.86));
  pointer-events:none;
}
.abba-hero-section:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;height:160px;
  background:linear-gradient(180deg,transparent,#06111f 58%,#07111f 100%);
  pointer-events:none;
}
.abba-hero-image{
  position:relative;
  animation:abbaHeroRise 1.05s ease both;
}
.abba-hero-image:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(2,8,23,.05),rgba(2,8,23,.20) 62%,rgba(2,8,23,.55));
  pointer-events:none;
}
.abba-hero-image img{
  filter:saturate(1.06) contrast(1.03);
}
.abba-actions{
  position:relative;
  z-index:2;
  animation:abbaSoftIn 1.1s ease .18s both;
}
@keyframes abbaHeroRise{from{opacity:0;transform:translateY(34px) scale(1.015);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes abbaSoftIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

.abba-experience{
  max-width:none;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  margin:0;
  padding:86px 18px 100px;
  color:#fff;
  background:
    radial-gradient(circle at 12% 8%,rgba(216,179,90,.22),transparent 27%),
    radial-gradient(circle at 86% 42%,rgba(56,189,248,.13),transparent 32%),
    linear-gradient(180deg,#07111f,#061326 52%,#020817);
}
.abba-cinematic-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(180deg,rgba(7,17,31,.86),rgba(2,8,23,.94)),
    url('assets/img/abba-real-comunidad.png') center/cover no-repeat;
  opacity:.42;
  filter:saturate(.95) contrast(1.05);
  transform:scale(1.04);
}
.abba-experience:before{
  content:"";
  position:absolute;
  left:50%;top:0;
  width:min(1120px,88vw);height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(216,179,90,.58),rgba(125,211,252,.32),transparent);
}
.abba-experience-head{
  max-width:920px;
  margin:0 auto 34px;
  text-align:center;
}
.abba-experience-head h2{
  margin:0 0 14px;
  font-size:clamp(32px,5.8vw,64px);
  line-height:.98;
  letter-spacing:-.04em;
}
.abba-experience-head p:not(.eyebrow){
  max-width:760px;
  margin:0 auto;
  color:#d6e2f5;
  font-size:clamp(17px,2vw,22px);
  line-height:1.6;
}
.abba-video-card{
  max-width:1120px;
  margin:34px auto 38px;
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:center;
  padding:14px;
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 28px 90px rgba(0,0,0,.36),0 0 70px rgba(216,179,90,.10);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
}
.abba-video-frame{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:#000;
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}
.abba-video-frame:before{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(216,179,90,.34);
  border-radius:26px;
  pointer-events:none;
  z-index:2;
}
.abba-video-frame video{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  background:#000;
}
.abba-video-copy{padding:8px 10px 12px;}
.abba-video-copy h3{font-size:clamp(26px,4vw,42px);line-height:1;margin:14px 0 10px;}
.abba-video-copy p{color:#d6e2f5;line-height:1.65;font-size:17px;margin:0;}

.abba-real-gallery{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.abba-story-card{
  position:relative;
  min-height:250px;
  overflow:hidden;
  border-radius:28px;
  background:#0b1220;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 60px rgba(0,0,0,.28);
}
.abba-story-card img{
  width:100%;height:100%;min-height:250px;object-fit:cover;
  filter:saturate(1.04) contrast(1.03);
  transform:scale(1.01);
  transition:transform .7s ease,filter .7s ease;
}
.abba-story-card:hover img{transform:scale(1.055);filter:saturate(1.12) contrast(1.06)}
.abba-story-card:after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 34%,rgba(2,8,23,.28) 58%,rgba(2,8,23,.88));
}
.abba-story-card div{
  position:absolute;
  z-index:2;
  left:18px;right:18px;bottom:18px;
  padding:16px;
  border-radius:22px;
  background:rgba(2,8,23,.42);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(14px);
}
.abba-story-card span{
  display:inline-flex;
  margin-bottom:6px;
  color:#f8dd90;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:900;
}
.abba-story-card h3{margin:0;color:#fff;font-size:clamp(20px,2.6vw,30px);line-height:1.05;}
@media(min-width:760px){
  .abba-video-card{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);padding:18px;}
  .abba-real-gallery{grid-template-columns:repeat(6,1fr);grid-auto-rows:190px;gap:16px;}
  .abba-story-card{min-height:0;}
  .abba-story-card img{min-height:0;}
  .abba-story-card.large{grid-column:span 3;grid-row:span 2;}
  .abba-story-card.tall{grid-column:span 2;grid-row:span 2;}
  .abba-story-card.wide{grid-column:span 4;grid-row:span 2;}
  .abba-story-card:not(.large):not(.tall):not(.wide){grid-column:span 3;}
}
@media(max-width:520px){
  .abba-experience{padding:70px 14px 82px;}
  .abba-video-card{border-radius:28px;padding:10px;}
  .abba-video-frame{border-radius:22px;}
  .abba-video-frame:before{border-radius:22px;}
  .abba-story-card{border-radius:24px;min-height:270px;}
  .abba-story-card img{min-height:270px;}
  .abba-story-card div{left:12px;right:12px;bottom:12px;border-radius:18px;padding:14px;}
}

/* V13 Biblioteca Premium ABBA + refinamiento navegación/radio */
body{padding-bottom:150px;}
.abba-hero-section{
  background:
    radial-gradient(circle at 50% -10%,rgba(216,179,90,.16),transparent 34%),
    linear-gradient(180deg,#020817 0%,#050b15 58%,#06111f 100%) !important;
  padding:22px 14px 72px !important;
  position:relative;isolation:isolate;
}
.abba-hero-section:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,23,.0) 0%,rgba(2,8,23,.25) 72%,rgba(2,8,23,.78) 100%);pointer-events:none;z-index:0;}
.abba-hero-section:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:120px;background:linear-gradient(180deg,transparent,#06111f);pointer-events:none;z-index:0;}
.abba-hero-image{position:relative;z-index:1;max-width:1120px !important;border-radius:34px;overflow:hidden;border:1px solid rgba(216,179,90,.22);box-shadow:0 36px 90px rgba(0,0,0,.46),0 0 60px rgba(216,179,90,.08),inset 0 1px 0 rgba(255,255,255,.14);animation:heroSoftIn 1.1s ease both;}
.abba-hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(2,8,23,.22) 85%,rgba(2,8,23,.54));pointer-events:none;}
.abba-hero-image img{box-shadow:none !important;transform:scale(1.006);}
.abba-actions{position:relative;z-index:2;margin-top:24px !important;animation:heroSoftIn 1.25s ease .08s both;}
@keyframes heroSoftIn{from{opacity:0;transform:translateY(28px) scale(.985);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}

.resources-premium{max-width:none;background:linear-gradient(180deg,#06111f 0%,#071a31 42%,#f6f8fb 42%,#f8fafc 100%) !important;border-radius:0 !important;padding:78px 18px 96px;overflow:hidden;}
.resources-hero{max-width:1120px;margin:0 auto 22px;min-height:430px;border-radius:36px;overflow:hidden;position:relative;color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:0 34px 110px rgba(0,0,0,.42),0 0 70px rgba(29,117,255,.13);background:#07111f;}
.resources-hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,8,23,.93),rgba(2,8,23,.64) 48%,rgba(2,8,23,.30)),url('assets/img/abba-real-comunidad.png') center/cover no-repeat;filter:saturate(105%) contrast(105%);}
.resources-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 20%,rgba(216,179,90,.22),transparent 24%),radial-gradient(circle at 86% 72%,rgba(56,189,248,.18),transparent 28%),linear-gradient(180deg,transparent,rgba(2,8,23,.62));pointer-events:none;}
.resources-hero-content{position:relative;z-index:1;max-width:690px;padding:36px 28px;min-height:430px;display:flex;flex-direction:column;justify-content:center;}
.resources-hero .eyebrow{color:#f8dd90;letter-spacing:.22em;}
.resources-hero h2{font-size:clamp(42px,8vw,76px);line-height:.92;margin:6px 0 14px;color:#fff;letter-spacing:-.04em;}
.resources-hero p:not(.eyebrow){color:#dbeafe;font-size:clamp(17px,2.5vw,23px);line-height:1.55;margin:0;}
.library-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;}
.library-stats span{min-width:118px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.10);backdrop-filter:blur(14px);border-radius:20px;padding:12px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);}
.library-stats strong{display:block;font-size:24px;color:#f8dd90;line-height:1;}.library-stats small{display:block;color:#cbd5e1;font-weight:800;margin-top:4px;}
.library-quick-grid{max-width:1120px;margin:0 auto 28px;display:grid;grid-template-columns:1fr;gap:14px;}
.library-card{min-height:190px;position:relative;overflow:hidden;border-radius:28px;border:1px solid rgba(255,255,255,.16);box-shadow:0 22px 70px rgba(2,8,23,.22);background:#07111f;color:#fff;display:block;isolation:isolate;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.library-card:hover{transform:translateY(-4px);box-shadow:0 30px 82px rgba(2,8,23,.34),0 0 34px rgba(29,117,255,.18);border-color:rgba(216,179,90,.36);}
.library-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58;filter:saturate(105%) contrast(108%);transition:transform .6s ease;}
.library-card:hover img{transform:scale(1.05);}
.library-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,23,.08),rgba(2,8,23,.86)),radial-gradient(circle at 75% 12%,rgba(216,179,90,.24),transparent 34%);z-index:0;}
.library-card>div{position:absolute;z-index:1;left:18px;right:18px;bottom:18px;}
.library-card span{display:inline-flex;background:rgba(216,179,90,.14);border:1px solid rgba(216,179,90,.30);color:#f8dd90;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;letter-spacing:.04em;}
.library-card h3{font-size:clamp(22px,4vw,34px);line-height:1;margin:12px 0 6px;color:#fff;}.library-card p{margin:0;color:#dbeafe;line-height:1.45;font-weight:650;}
.library-shelf{max-width:1120px;margin:22px auto 0;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:34px;padding:20px;box-shadow:0 24px 80px rgba(15,23,42,.12);scroll-margin-top:88px;}
.library-shelf.dark-shelf{background:linear-gradient(135deg,#07111f,#0a1e38);border-color:rgba(255,255,255,.14);color:#fff;box-shadow:0 30px 90px rgba(2,8,23,.35);}
.shelf-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px;}.shelf-head h3{font-size:clamp(25px,4vw,42px);line-height:1;margin:0;color:#132033;}.dark-shelf .shelf-head h3{color:#fff}.shelf-head .eyebrow{color:#9a7420}.dark-shelf .shelf-head .eyebrow{color:#f8dd90}.shelf-head>a{font-weight:900;color:#9a7420;background:#fff7df;border-radius:999px;padding:9px 12px;white-space:nowrap}.dark-shelf .shelf-head>a{color:#f8dd90;background:rgba(216,179,90,.12);border:1px solid rgba(216,179,90,.28)}
.premium-resource-card{display:grid;grid-template-columns:1fr;gap:18px;align-items:stretch;background:linear-gradient(135deg,#06111f,#0b1f3b);color:#fff;border:1px solid rgba(216,179,90,.22);border-radius:28px;padding:14px;box-shadow:0 22px 70px rgba(2,8,23,.30);overflow:hidden;}.resource-cover{min-height:240px;border-radius:22px;overflow:hidden;position:relative;background:#020817;}.resource-cover img{width:100%;height:100%;object-fit:cover;}.resource-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(2,8,23,.44));}.resource-copy{padding:10px 4px 4px;display:flex;flex-direction:column;justify-content:center;}.resource-tag{display:inline-flex;width:max-content;background:rgba(216,179,90,.16);color:#f8dd90;border:1px solid rgba(216,179,90,.28);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.resource-copy h4{font-size:clamp(28px,5vw,48px);line-height:.98;margin:14px 0 10px;color:#fff}.resource-copy p{color:#dbeafe;font-size:17px;line-height:1.6;margin:0 0 18px;}.resource-actions{display:flex;gap:10px;flex-wrap:wrap}.primary.small,.secondary.small{padding:11px 15px;border-radius:15px;min-width:116px}.secondary.dark.small{background:rgba(255,255,255,.08);color:#f8dd90;border-color:rgba(216,179,90,.35)}
.resource-mini-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}.mini-resource{background:#fff;border:1px solid #e7ebf3;border-radius:24px;padding:18px;box-shadow:0 14px 42px rgba(15,23,42,.07)}.mini-resource span{display:inline-flex;background:#eef4ff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px}.mini-resource h4{font-size:21px;margin:12px 0 7px;color:#132033}.mini-resource p{margin:0 0 14px;color:#64748b;line-height:1.5}.mini-resource div{display:flex;gap:12px;flex-wrap:wrap}.mini-resource a{font-weight:950;color:#815f0f}.mini-resource.coming{background:linear-gradient(135deg,#fff,#fbf8ef)}
.episode-list{display:grid;grid-template-columns:1fr;gap:12px}.episode-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.075);border-radius:24px;padding:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.10);backdrop-filter:blur(12px)}.episode-card>span{display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:linear-gradient(135deg,var(--gold),#f8dd90);color:#171307;font-weight:950;line-height:1.05;text-align:center;box-shadow:0 12px 28px rgba(216,179,90,.18)}.episode-card h4{font-size:20px;line-height:1.1;margin:0 0 5px;color:#fff}.episode-card p{margin:0;color:#cbd5e1;line-height:1.45}.episode-actions{grid-column:1/-1;display:flex;gap:10px}.episode-actions a{flex:1;text-align:center;border-radius:14px;padding:10px 12px;font-weight:950;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:#fff}.episode-actions a:first-child{background:rgba(216,179,90,.18);border-color:rgba(216,179,90,.32);color:#f8dd90}
.radio-player{left:14px;right:14px;bottom:76px;padding:8px 10px;border-radius:22px;background:rgba(7,17,31,.82);border-color:rgba(255,255,255,.16);box-shadow:0 16px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(22px) saturate(140%);}.radio-player>span{font-size:24px!important}.radio-player button{width:38px;height:38px}.radio-player input{width:78px}.bottom-nav{left:14px;right:14px;bottom:10px;border-radius:25px;padding:6px 8px;background:rgba(7,17,31,.84);box-shadow:0 18px 54px rgba(0,0,0,.33),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(22px) saturate(140%);}.bottom-nav a,.bottom-nav button{font-size:12px}.bottom-nav span{font-size:20px}.bottom-nav small{font-size:9px}.whatsapp-float{bottom:144px!important;}
@media(min-width:760px){.resources-premium{padding-left:24px;padding-right:24px}.resources-hero-content{padding:52px}.library-quick-grid{grid-template-columns:repeat(4,1fr)}.library-card-featured{grid-column:span 2}.premium-resource-card{grid-template-columns:.9fr 1.1fr;padding:18px}.resource-mini-grid{grid-template-columns:repeat(3,1fr)}.episode-card{grid-template-columns:auto 1fr auto}.episode-actions{grid-column:auto;min-width:170px}.radio-player{left:auto;width:520px;bottom:78px}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(680px,calc(100% - 28px));}.whatsapp-float{bottom:150px!important;}}
@media(max-width:520px){body{padding-bottom:144px}.abba-hero-section{padding:14px 0 58px!important}.abba-hero-image{border-radius:0;border-left:0;border-right:0;box-shadow:0 24px 64px rgba(0,0,0,.42)}.abba-actions{padding:0 18px}.abba-actions a{width:100%;border-radius:22px}.resources-premium{padding:66px 14px 88px;background:linear-gradient(180deg,#06111f 0%,#071a31 38%,#f6f8fb 38%,#f8fafc 100%)!important}.resources-hero{border-radius:30px;min-height:440px}.resources-hero-content{padding:28px 20px;min-height:440px}.library-card{min-height:180px}.library-shelf{border-radius:28px;padding:16px}.shelf-head{align-items:flex-start}.shelf-head h3{font-size:28px}.shelf-head>a{font-size:12px}.premium-resource-card{border-radius:24px}.resource-cover{min-height:210px}.episode-card{grid-template-columns:1fr}.episode-card>span{width:auto;height:auto;padding:10px 12px;border-radius:14px;place-items:start}.radio-player{bottom:74px;gap:8px}.radio-player .now strong{font-size:15px}.radio-player small{font-size:12px}.radio-player input{width:62px}.bottom-nav{bottom:8px}.whatsapp-float{bottom:142px!important;}}

/* V14 refinamiento: hero ABBA integrado, biblioteca en paneles y fondo real ABBA */
.abba-hero-section{
  max-width:none!important;
  margin:0!important;
  padding:34px 18px 82px!important;
  background:linear-gradient(180deg,#07111f 0%,#08182d 54%,#12202d 100%)!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden;
  position:relative;
}
.abba-hero-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 8%,rgba(216,179,90,.15),transparent 28%),radial-gradient(circle at 84% 54%,rgba(56,189,248,.10),transparent 32%),linear-gradient(180deg,rgba(255,255,255,.08),transparent 75%);pointer-events:none;}
.abba-hero-image{position:relative;z-index:1;max-width:1120px;margin:0 auto 28px!important;border-radius:34px!important;overflow:hidden!important;border:1px solid rgba(216,179,90,.26)!important;box-shadow:0 34px 95px rgba(0,0,0,.42),0 0 46px rgba(216,179,90,.12)!important;animation:heroSoftIn 1.25s cubic-bezier(.2,.8,.2,1) both!important;background:#07111f;}
.abba-hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,23,.03),rgba(2,8,23,.22));pointer-events:none;}
.abba-hero-image img{width:100%;display:block;transform:scale(1.01);}
.abba-actions{position:relative;z-index:1;max-width:1120px;margin:0 auto!important;display:grid!important;gap:16px!important;grid-template-columns:1fr!important;}
.abba-actions .primary,.abba-actions .secondary{border-radius:24px!important;box-shadow:0 20px 48px rgba(0,0,0,.22)!important;}
@media(min-width:760px){.abba-actions{grid-template-columns:1fr 1fr!important}.abba-hero-section{padding:54px 24px 94px!important}.abba-hero-image{border-radius:42px!important}}
@media(max-width:520px){.abba-hero-section{padding:26px 14px 68px!important}.abba-hero-image{border-radius:28px!important;border-left:1px solid rgba(216,179,90,.26)!important;border-right:1px solid rgba(216,179,90,.26)!important;margin-bottom:22px!important}.abba-actions{padding:0!important}.abba-actions a{width:100%;min-height:64px}}

.resources-hero-bg{background:linear-gradient(90deg,rgba(2,8,23,.95),rgba(2,8,23,.70) 48%,rgba(2,8,23,.22)),url('assets/img/biblioteca-abba-real.jpg') center/cover no-repeat!important;filter:saturate(112%) contrast(108%) brightness(.92)!important;}
.library-card{font:inherit;text-align:left;cursor:pointer;padding:0;appearance:none;-webkit-appearance:none;}
.library-card.active{border-color:rgba(216,179,90,.72);box-shadow:0 28px 80px rgba(2,8,23,.34),0 0 0 1px rgba(216,179,90,.25),0 0 40px rgba(216,179,90,.12);}
.library-panel-note{max-width:1120px;margin:0 auto 12px;color:#dbeafe;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:12px 16px;font-weight:750;backdrop-filter:blur(14px);}
.library-back{font:inherit;font-weight:900;color:#9a7420;background:#fff7df;border:0;border-radius:999px;padding:9px 12px;white-space:nowrap;cursor:pointer}.dark-shelf .library-back{color:#f8dd90;background:rgba(216,179,90,.12);border:1px solid rgba(216,179,90,.28)}
.library-shelf[hidden]{display:none!important;}
.library-shelf{animation:libraryPanelIn .5s ease both;}
@keyframes libraryPanelIn{from{opacity:0;transform:translateY(16px) scale(.99)}to{opacity:1;transform:none}}


/* V15 FINAL: Hero ABBA verdaderamente premium + Biblioteca tipo panel interno */
#abba.abba-hero-section{
  --abba-navy:#020817;
  --abba-deep:#071221;
  --abba-gold:#d8b35a;
  margin:0!important;
  padding:38px 18px 86px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,218,128,.16),transparent 28%),
    radial-gradient(circle at 12% 28%,rgba(216,179,90,.18),transparent 32%),
    radial-gradient(circle at 88% 64%,rgba(37,99,235,.14),transparent 34%),
    linear-gradient(180deg,#020817 0%,#06111f 46%,#101b27 82%,#1f2933 100%)!important;
  overflow:hidden!important;
  position:relative!important;
  isolation:isolate!important;
}
#abba.abba-hero-section:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:0!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.07),transparent 20%,transparent 62%,rgba(255,255,255,.035)),
    linear-gradient(90deg,rgba(216,179,90,.18),transparent 18%,transparent 82%,rgba(216,179,90,.10));
  opacity:.9!important;
}
#abba.abba-hero-section:after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:-1px!important;height:170px!important;
  pointer-events:none!important;
  z-index:0!important;
  background:linear-gradient(180deg,rgba(16,27,39,0),#1f2933 72%,#24313a 100%)!important;
}
#abba .abba-hero-image{
  position:relative!important;
  z-index:1!important;
  width:min(1120px,100%)!important;
  margin:0 auto 28px!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:rgba(2,8,23,.62)!important;
  border:1px solid rgba(216,179,90,.34)!important;
  box-shadow:
    0 36px 90px rgba(0,0,0,.54),
    0 0 0 1px rgba(255,255,255,.055) inset,
    0 0 68px rgba(216,179,90,.13)!important;
  transform-origin:center!important;
  animation:abbaHeroReveal 1.35s cubic-bezier(.16,1,.3,1) both!important;
}
#abba .abba-hero-image:before{
  content:""!important;
  position:absolute!important;
  inset:-2px!important;
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(2,8,23,.10) 0%,transparent 28%,transparent 58%,rgba(2,8,23,.42) 100%),
    radial-gradient(circle at 20% 6%,rgba(255,218,128,.22),transparent 22%),
    linear-gradient(90deg,rgba(2,8,23,.20),transparent 26%,transparent 72%,rgba(2,8,23,.30));
}
#abba .abba-hero-image:after{
  content:""!important;
  position:absolute!important;
  left:-12%;right:-12%;bottom:-42px;height:110px!important;
  z-index:3!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(6,17,31,0),rgba(6,17,31,.82) 58%,rgba(31,41,51,1));
  filter:blur(.2px)!important;
}
#abba .abba-hero-image img{
  width:100%!important;
  display:block!important;
  border-radius:inherit!important;
  transform:scale(1.018)!important;
  filter:saturate(108%) contrast(106%) brightness(.97)!important;
  box-shadow:none!important;
}
#abba .abba-actions{
  position:relative!important;
  z-index:2!important;
  width:min(1040px,100%)!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
  animation:abbaHeroReveal 1.15s cubic-bezier(.16,1,.3,1) .12s both!important;
}
#abba .abba-actions a{
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  letter-spacing:-.02em!important;
  box-shadow:0 18px 48px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
#abba .abba-actions .secondary{
  background:rgba(4,13,24,.58)!important;
  border-color:rgba(216,179,90,.35)!important;
  backdrop-filter:blur(16px) saturate(140%)!important;
}
@keyframes abbaHeroReveal{
  0%{opacity:0;transform:translateY(34px) scale(.975);filter:blur(7px)}
  58%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@media(min-width:760px){
  #abba.abba-hero-section{padding:62px 24px 104px!important}
  #abba .abba-hero-image{border-radius:46px!important}
  #abba .abba-actions{grid-template-columns:1fr 1fr!important;gap:18px!important}
}
@media(max-width:520px){
  #abba.abba-hero-section{padding:28px 16px 78px!important}
  #abba .abba-hero-image{border-radius:30px!important;margin-bottom:24px!important;}
  #abba .abba-hero-image img{transform:scale(1.025)!important;}
  #abba .abba-actions a{min-height:58px!important;font-size:16px!important;}
}

/* Biblioteca: las categorías abren como panel interno; no se obliga a recorrer todo */
.resources-premium.library-open .resources-hero,
.resources-premium.library-open .library-quick-grid,
.resources-premium.library-open .library-panel-note{display:none!important;}
.resources-premium:not(.library-open) .library-shelf{display:none!important;}
.resources-premium.library-open{background:linear-gradient(180deg,#06111f 0%,#071a31 40%,#f8fafc 40%,#f8fafc 100%)!important;}
.library-shelf{scroll-margin-top:22px;}
.library-shelf.visible{display:block!important;}
.shelf-head{position:relative;}
.library-back{box-shadow:0 12px 26px rgba(0,0,0,.12)!important;}

/* V16 FINAL FINAL: ABBA hero real + Biblioteca refinada + Continúa tu formación */
#abba.abba-hero-section{
  margin:0!important;
  max-width:none!important;
  padding:28px 0 68px!important;
  background:
    radial-gradient(circle at 20% 4%,rgba(216,179,90,.18),transparent 28%),
    radial-gradient(circle at 88% 42%,rgba(59,130,246,.13),transparent 30%),
    linear-gradient(180deg,#020817 0%,#06111f 56%,#0e1b27 100%)!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#abba.abba-hero-section:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),transparent 18%,transparent 72%,rgba(216,179,90,.04)),
    radial-gradient(circle at 50% 10%,rgba(216,179,90,.10),transparent 42%)!important;
  pointer-events:none!important;
  z-index:0!important;
}
#abba.abba-hero-section:after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:-1px!important;height:145px!important;
  background:linear-gradient(180deg,rgba(14,27,39,0),#07111f 88%)!important;
  z-index:0!important;
  pointer-events:none!important;
}
#abba .abba-hero-image{
  position:relative!important;
  z-index:1!important;
  width:min(1180px,calc(100% - 24px))!important;
  margin:0 auto!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:#020817!important;
  border:1px solid rgba(216,179,90,.26)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.54),0 0 80px rgba(216,179,90,.13)!important;
  animation:abbaHeroRevealFinal 1.15s cubic-bezier(.16,1,.3,1) both!important;
}
#abba .abba-hero-image:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(2,8,23,.03) 0%,rgba(2,8,23,0) 42%,rgba(2,8,23,.62) 100%),
    radial-gradient(circle at 22% 8%,rgba(255,224,143,.18),transparent 26%),
    linear-gradient(90deg,rgba(2,8,23,.18),transparent 28%,transparent 70%,rgba(2,8,23,.22))!important;
}
#abba .abba-hero-image:after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;height:42%!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(2,8,23,0),rgba(2,8,23,.18) 38%,rgba(2,8,23,.58) 100%)!important;
}
#abba .abba-hero-image img{
  width:100%!important;
  min-height:clamp(430px,62vw,760px)!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  border-radius:0!important;
  transform:scale(1.006)!important;
  filter:saturate(108%) contrast(106%) brightness(.96)!important;
}
#abba .abba-actions{
  position:absolute!important;
  z-index:5!important;
  left:clamp(18px,5vw,64px)!important;
  right:clamp(18px,5vw,64px)!important;
  bottom:clamp(22px,5vw,58px)!important;
  width:auto!important;
  max-width:760px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  animation:abbaHeroRevealFinal 1.1s cubic-bezier(.16,1,.3,1) .10s both!important;
}
#abba .abba-actions a{
  min-height:58px!important;
  border-radius:999px!important;
  font-size:16px!important;
  box-shadow:0 18px 42px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
#abba .abba-actions .secondary.dark{
  color:#fff!important;
  background:rgba(4,13,24,.62)!important;
  border:1px solid rgba(216,179,90,.42)!important;
  backdrop-filter:blur(16px) saturate(140%)!important;
}
@keyframes abbaHeroRevealFinal{
  from{opacity:0;transform:translateY(28px) scale(.985);filter:blur(5px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@media(min-width:760px){
  #abba.abba-hero-section{padding:44px 0 88px!important;}
  #abba .abba-hero-image{width:min(1220px,calc(100% - 48px))!important;border-radius:46px!important;}
  #abba .abba-actions{grid-template-columns:1fr 1fr!important;gap:16px!important;}
}
@media(max-width:520px){
  #abba.abba-hero-section{padding:18px 0 60px!important;}
  #abba .abba-hero-image{width:calc(100% - 20px)!important;border-radius:28px!important;}
  #abba .abba-hero-image img{min-height:560px!important;object-position:center top!important;}
  #abba .abba-actions{left:16px!important;right:16px!important;bottom:22px!important;}
  #abba .abba-actions a{min-height:56px!important;font-size:15px!important;}
}

.resources-hero-content .library-stats,.library-panel-note{display:none!important;}
.resources-hero{box-shadow:0 34px 96px rgba(0,0,0,.32)!important;}
.resources-hero-content{justify-content:flex-end!important;padding-bottom:38px!important;}
.continue-study-card{
  max-width:1120px;
  margin:24px auto 24px;
  border-radius:28px;
  padding:18px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:center;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(248,250,252,.82));
  border:1px solid rgba(216,179,90,.18);
  box-shadow:0 18px 48px rgba(15,23,42,.12);
}
.continue-greeting{display:inline-flex;color:#9a7420;font-weight:900;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;}
.continue-study-copy h3{margin:0 0 8px;font-size:clamp(24px,3.8vw,38px);line-height:1;color:#07111f;}
.continue-study-copy p{margin:0;color:#475569;line-height:1.55;}
.continue-study-action{border:0;border-radius:999px;padding:14px 18px;font-weight:900;background:linear-gradient(135deg,var(--gold),#f7df94);color:#1b1404;box-shadow:0 16px 34px rgba(216,179,90,.25);cursor:pointer;}
@media(min-width:760px){.continue-study-card{grid-template-columns:1fr auto;padding:22px 24px}.continue-study-action{min-width:230px}}

.library-card span{font-size:clamp(18px,2.3vw,24px)!important;letter-spacing:-.03em!important;line-height:1.05!important;}
.library-card h3{font-size:clamp(21px,2.6vw,30px)!important;line-height:1.04!important;font-weight:850!important;}
.library-card p{font-size:15px!important;line-height:1.45!important;}
.library-card img{filter:saturate(110%) contrast(106%) brightness(.90)!important;}
.library-card:after{background:linear-gradient(180deg,rgba(2,8,23,.08),rgba(2,8,23,.78) 72%,rgba(2,8,23,.94))!important;}

.resources-premium.library-open .resources-hero,
.resources-premium.library-open .continue-study-card,
.resources-premium.library-open .library-quick-grid,
.resources-premium.library-open .library-panel-note{display:none!important;}
.resources-premium.library-open{min-height:calc(100vh - 40px)!important;background:linear-gradient(180deg,#06111f 0%,#071a31 34%,#f8fafc 34%,#f8fafc 100%)!important;}
.library-shelf.visible{display:block!important;animation:panelIn .42s ease both;}
.library-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:999px!important;
  padding:12px 16px!important;
  background:#07111f!important;
  color:#fff!important;
  font-weight:900!important;
  cursor:pointer!important;
}
@keyframes panelIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

/* =========================================================
   ABBA HERO — V22 FINAL MOBILE CINEMATIC
   Imagen mobile vertical sin botones dibujados + botones reales.
   ========================================================= */
#abba.abba-hero-section{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:88px 18px 72px !important;
  position:relative !important;
  overflow:hidden !important;
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(248,221,144,.18), transparent 34%),
    linear-gradient(180deg,#07111f 0%,#071827 48%,#07111f 100%) !important;
}
#abba.abba-hero-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(247,248,251,.96) 0%,rgba(247,248,251,0) 9%,rgba(7,17,31,0) 82%,rgba(7,17,31,.96) 100%),
    radial-gradient(circle at 50% 10%,rgba(216,179,90,.22),transparent 38%);
  z-index:0;
}
#abba.abba-hero-section:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:130px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(7,17,31,0),rgba(7,17,31,.96));
  z-index:0;
}
#abba .abba-hero-image{
  position:relative !important;
  z-index:1 !important;
  width:min(100%, 760px) !important;
  margin:0 auto !important;
  padding:0 !important;
  border-radius:34px !important;
  overflow:hidden !important;
  background:#07111f !important;
  border:1px solid rgba(248,221,144,.24) !important;
  box-shadow:0 28px 90px rgba(0,0,0,.46), 0 0 52px rgba(216,179,90,.10) !important;
  animation:abbaMobileHeroIn .95s ease both !important;
}
#abba .abba-hero-image picture,
#abba .abba-hero-image img{
  display:block !important;
  width:100% !important;
}
#abba .abba-hero-image img{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center top !important;
}
#abba .abba-hero-image:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:34%;
  background:linear-gradient(180deg,rgba(7,17,31,0),rgba(7,17,31,.54));
  pointer-events:none;
}
#abba .abba-actions{
  position:relative !important;
  z-index:3 !important;
  width:min(100%, 720px) !important;
  margin:22px auto 0 !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  animation:abbaActionsIn .95s ease .16s both !important;
}
#abba .abba-actions a{
  width:100% !important;
  min-width:0 !important;
  min-height:58px !important;
  border-radius:22px !important;
  font-size:15px !important;
  letter-spacing:-.01em !important;
  transform:translateZ(0);
}
#abba .abba-actions .primary{
  background:linear-gradient(135deg,#c6912d 0%,#f6d46f 50%,#fff0a8 100%) !important;
  color:#120d04 !important;
  box-shadow:0 18px 40px rgba(216,179,90,.26), inset 0 1px 0 rgba(255,255,255,.48) !important;
}
#abba .abba-actions .secondary.dark{
  background:rgba(3,13,27,.64) !important;
  color:#fff !important;
  border:1px solid rgba(248,221,144,.52) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.20) !important;
  backdrop-filter:blur(14px) !important;
}
@keyframes abbaMobileHeroIn{
  from{opacity:0;transform:translateY(28px) scale(.985);filter:blur(7px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes abbaActionsIn{
  from{opacity:0;transform:translateY(22px)}
  to{opacity:1;transform:none}
}
@media(max-width:640px){
  #abba.abba-hero-section{
    padding:64px 0 58px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(248,221,144,.20), transparent 38%),
      linear-gradient(180deg,#07111f 0%,#071827 52%,#07111f 100%) !important;
  }
  #abba.abba-hero-section:before{
    background:
      linear-gradient(180deg,rgba(247,248,251,.98) 0%,rgba(247,248,251,0) 8%,rgba(7,17,31,0) 82%,rgba(7,17,31,.96) 100%),
      radial-gradient(circle at 50% 4%,rgba(216,179,90,.20),transparent 45%);
  }
  #abba .abba-hero-image{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
    box-shadow:0 24px 70px rgba(0,0,0,.42) !important;
  }
  #abba .abba-actions{
    width:auto !important;
    margin:18px 20px 0 !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  #abba .abba-actions a{
    min-height:64px !important;
    border-radius:24px !important;
    font-size:18px !important;
  }
}
@media(min-width:641px){
  #abba .abba-hero-image picture source{display:none;}
}

/* =========================================================
   ABBA HERO — V23 CINEMATIC FINAL FADE POLISH
   Suaviza la franja negra entre hero y botones sin perder vanish.
   ========================================================= */
#abba.abba-hero-section{
  background:
    radial-gradient(circle at 50% 0%, rgba(248,221,144,.18), transparent 36%),
    radial-gradient(ellipse at 50% 82%, rgba(216,179,90,.07), transparent 44%),
    linear-gradient(180deg,#07111f 0%,#071827 54%,#06111f 100%) !important;
}
#abba.abba-hero-section:before{
  background:
    linear-gradient(180deg,rgba(247,248,251,.96) 0%,rgba(247,248,251,0) 8%,rgba(7,17,31,0) 74%,rgba(7,17,31,.34) 90%,rgba(7,17,31,.74) 100%),
    radial-gradient(circle at 50% 7%,rgba(216,179,90,.20),transparent 44%) !important;
}
#abba.abba-hero-section:after{
  height:190px !important;
  bottom:-60px !important;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(248,221,144,.08), transparent 42%),
    linear-gradient(180deg,rgba(7,17,31,0) 0%,rgba(7,17,31,.18) 42%,rgba(7,17,31,.72) 100%) !important;
  filter:blur(.2px) !important;
}
#abba .abba-hero-image{
  border-bottom-color:rgba(248,221,144,.10) !important;
  box-shadow:0 26px 82px rgba(0,0,0,.38), 0 0 60px rgba(216,179,90,.10) !important;
}
#abba .abba-hero-image:after{
  height:18% !important;
  bottom:-1px !important;
  background:
    linear-gradient(180deg,rgba(7,17,31,0) 0%,rgba(7,17,31,.16) 48%,rgba(7,17,31,.42) 100%) !important;
}
#abba .abba-actions{
  margin-top:14px !important;
}
@media(max-width:640px){
  #abba.abba-hero-section{
    padding:64px 0 54px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(248,221,144,.18), transparent 38%),
      radial-gradient(ellipse at 50% 80%, rgba(216,179,90,.08), transparent 46%),
      linear-gradient(180deg,#07111f 0%,#071827 56%,#06111f 100%) !important;
  }
  #abba.abba-hero-section:before{
    background:
      linear-gradient(180deg,rgba(247,248,251,.97) 0%,rgba(247,248,251,0) 8%,rgba(7,17,31,0) 74%,rgba(7,17,31,.28) 90%,rgba(7,17,31,.70) 100%),
      radial-gradient(circle at 50% 4%,rgba(216,179,90,.18),transparent 45%) !important;
  }
  #abba.abba-hero-section:after{
    height:170px !important;
    bottom:-58px !important;
    background:
      radial-gradient(ellipse at 50% 20%, rgba(248,221,144,.075), transparent 44%),
      linear-gradient(180deg,rgba(7,17,31,0) 0%,rgba(7,17,31,.12) 36%,rgba(7,17,31,.64) 100%) !important;
  }
  #abba .abba-hero-image{
    box-shadow:0 18px 62px rgba(0,0,0,.34), 0 0 42px rgba(216,179,90,.09) !important;
  }
  #abba .abba-hero-image:after{
    height:14% !important;
    background:linear-gradient(180deg,rgba(7,17,31,0) 0%,rgba(7,17,31,.12) 52%,rgba(7,17,31,.30) 100%) !important;
  }
  #abba .abba-actions{
    margin:14px 20px 0 !important;
  }
}

/* =========================================================
   ABBA HERO V2 FINAL — portada simple, premium e independiente
   Alcance: solo el encabezado ABBA (#abba). La sección #abba-vida
   y todo lo posterior queda intacto.
   ========================================================= */
#abba.abba-hero-v2-section{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  padding:34px 18px 52px!important;
  margin:0!important;
  background:linear-gradient(180deg,#06111f 0%,#050b13 76%,#111b28 100%)!important;
}
#abba.abba-hero-v2-section:before,
#abba.abba-hero-v2-section:after{content:none!important;display:none!important;}
#abba .abba-hero-v2{
  position:relative!important;
  width:min(1180px,100%)!important;
  min-height:820px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  border-radius:42px!important;
  background:#02070c!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.52),0 0 44px rgba(15,23,42,.36)!important;
}
#abba .abba-hero-v2-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    radial-gradient(circle at 50% 4%,rgba(255,255,255,.10),transparent 16%),
    linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.10) 30%,rgba(2,8,23,.55) 55%,rgba(2,8,23,.96) 78%,#02070c 100%),
    linear-gradient(90deg,rgba(0,0,0,.52) 0%,transparent 22%,transparent 78%,rgba(0,0,0,.52) 100%),
    url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
  filter:saturate(1.06) contrast(1.05) brightness(.88)!important;
  transform:scale(1.01)!important;
}
#abba .abba-hero-v2-content{
  position:absolute!important;
  z-index:2!important;
  left:0!important;
  right:0!important;
  bottom:72px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 34px!important;
  text-align:center!important;
}
#abba .abba-hero-v2-logo{
  display:block!important;
  width:min(560px,86%)!important;
  max-height:none!important;
  height:auto!important;
  object-fit:contain!important;
  margin:0 auto 26px!important;
  opacity:1!important;
  filter:drop-shadow(0 20px 34px rgba(0,0,0,.72)) drop-shadow(0 0 18px rgba(255,255,255,.16))!important;
}
#abba .abba-hero-v2-actions{
  width:min(660px,100%)!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  padding:0!important;
  margin:0!important;
}
#abba .abba-hero-v2-actions a{
  width:100%!important;
  min-height:68px!important;
  border-radius:22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  font-size:21px!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
#abba .abba-hero-v2-actions a.primary{
  color:#07111f!important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f6f8 100%)!important;
  border:1px solid rgba(255,255,255,.68)!important;
}
#abba .abba-hero-v2-actions a.primary:before{
  content:"☏";
  font-size:30px;
  line-height:1;
  font-weight:800;
  transform:rotate(-8deg);
}
#abba .abba-hero-v2-actions a.secondary{
  color:#ffffff!important;
  background:rgba(2,8,23,.42)!important;
  border:1px solid rgba(216,179,90,.62)!important;
  backdrop-filter:blur(12px)!important;
}
#abba .abba-hero-v2-actions a.secondary:before{
  content:"▦";
  color:rgba(255,255,255,.72);
  font-size:28px;
  line-height:1;
  font-weight:700;
}
@media(max-width:520px){
  #abba.abba-hero-v2-section{
    padding:10px 10px 24px!important;
    background:linear-gradient(180deg,#07111f 0%,#050b13 78%,#202831 100%)!important;
  }
  #abba .abba-hero-v2{
    width:100%!important;
    min-height:800px!important;
    border-radius:30px!important;
    border-color:rgba(255,255,255,.09)!important;
    box-shadow:0 26px 76px rgba(0,0,0,.54)!important;
  }
  #abba .abba-hero-v2-media{
    background:
      radial-gradient(circle at 50% 3%,rgba(255,255,255,.08),transparent 15%),
      linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.12) 32%,rgba(2,8,23,.56) 56%,rgba(2,8,23,.96) 78%,#02070c 100%),
      linear-gradient(90deg,rgba(0,0,0,.54) 0%,transparent 23%,transparent 77%,rgba(0,0,0,.54) 100%),
      url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
    filter:saturate(1.08) contrast(1.06) brightness(.86)!important;
  }
  #abba .abba-hero-v2-content{
    bottom:156px!important; /* deja los botones por encima del player flotante */
    padding:0 18px!important;
  }
  #abba .abba-hero-v2-logo{
    width:min(405px,94vw)!important;
    margin-bottom:20px!important;
  }
  #abba .abba-hero-v2-actions{
    gap:14px!important;
    width:100%!important;
  }
  #abba .abba-hero-v2-actions a{
    min-height:58px!important;
    border-radius:19px!important;
    font-size:18px!important;
  }
}
@media(max-width:380px){
  #abba .abba-hero-v2{min-height:770px!important;}
  #abba .abba-hero-v2-content{bottom:148px!important;}
  #abba .abba-hero-v2-logo{width:min(380px,96vw)!important;margin-bottom:18px!important;}
  #abba .abba-hero-v2-actions a{min-height:56px!important;font-size:17px!important;}
}

/* =========================================================
   ABBA HERO — CIERRE DEFINITIVO PREMIUM
   Alcance real: solo #abba.abba-hero-v2-section.
   La información posterior de ABBA queda intacta.
   ========================================================= */
#abba.abba-hero-v2-section{
  padding:0 0 30px!important;
  margin:0!important;
  background:
    linear-gradient(180deg,#050b13 0%,#050b13 8%,#07111f 44%,#111b28 100%)!important;
}
#abba.abba-hero-v2-section:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;right:0!important;top:0!important;
  height:150px!important;
  z-index:3!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,#050b13 0%,rgba(5,11,19,.82) 36%,rgba(5,11,19,.22) 76%,transparent 100%)!important;
}
#abba.abba-hero-v2-section:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:-1px!important;
  height:170px!important;
  z-index:3!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,transparent 0%,rgba(17,27,40,.58) 48%,#111b28 100%)!important;
}
#abba .abba-hero-v2{
  width:min(1180px,100%)!important;
  min-height:880px!important;
  border-radius:0 0 44px 44px!important;
  border:0!important;
  background:#02070c!important;
  box-shadow:0 36px 110px rgba(0,0,0,.56)!important;
}
#abba .abba-hero-v2:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:
    radial-gradient(ellipse at 50% 7%,rgba(255,231,183,.30) 0%,rgba(255,214,143,.14) 13%,transparent 34%),
    linear-gradient(180deg,rgba(3,7,12,.36) 0%,rgba(3,7,12,.02) 18%,rgba(2,8,23,.18) 43%,rgba(2,8,23,.78) 68%,#02070c 91%,#02070c 100%),
    linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.20) 22%,rgba(0,0,0,.05) 50%,rgba(0,0,0,.22) 78%,rgba(0,0,0,.74) 100%)!important;
}
#abba .abba-hero-v2:after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  height:46%!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,transparent 0%,rgba(2,8,23,.58) 32%,#02070c 84%,#02070c 100%)!important;
}
#abba .abba-hero-v2-media{
  background:url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
  filter:saturate(1.10) contrast(1.06) brightness(.92)!important;
  transform:scale(1.012)!important;
}
#abba .abba-hero-v2-content{
  z-index:4!important;
  bottom:92px!important;
  padding:0 38px!important;
}
#abba .abba-hero-v2-logo{display:none!important;}
#abba .abba-hero-v2-brand{
  width:min(560px,88%)!important;
  margin:0 auto 30px!important;
  text-align:center!important;
  color:#fff!important;
  filter:drop-shadow(0 24px 34px rgba(0,0,0,.76))!important;
  position:relative!important;
}
#abba .abba-hero-v2-brand:before{
  content:""!important;
  position:absolute!important;
  left:50%!important;top:71px!important;
  width:112%!important;height:2px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent,rgba(229,190,103,.15),rgba(255,245,211,.78),rgba(229,190,103,.15),transparent)!important;
  box-shadow:0 0 24px rgba(229,190,103,.38)!important;
}
#abba .abba-hero-v2-crown{
  width:150px!important;
  height:70px!important;
  margin:0 auto 1px!important;
  position:relative!important;
  filter:drop-shadow(0 0 18px rgba(229,190,103,.34))!important;
}
#abba .abba-hero-v2-crown:before{
  content:""!important;
  position:absolute!important;
  left:11%!important;right:11%!important;bottom:2px!important;
  height:16px!important;
  border-radius:16px 16px 8px 8px!important;
  background:linear-gradient(180deg,#fff2bd 0%,#e0a93b 40%,#8d5a12 100%)!important;
  border:1px solid rgba(255,244,199,.70)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.70),0 10px 28px rgba(0,0,0,.55)!important;
}
#abba .abba-hero-v2-crown:after{
  content:""!important;
  position:absolute!important;
  left:18%!important;right:18%!important;bottom:17px!important;
  height:34px!important;
  border:4px solid #f1c764!important;
  border-bottom:0!important;
  border-radius:58px 58px 0 0!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.20),0 0 22px rgba(229,190,103,.24)!important;
}
#abba .abba-hero-v2-crown span{
  position:absolute!important;
  bottom:19px!important;
  width:12px!important;height:42px!important;
  transform-origin:bottom center!important;
  background:linear-gradient(180deg,#fff7d0 0%,#e4ac3b 48%,#8a5710 100%)!important;
  border-radius:12px 12px 3px 3px!important;
}
#abba .abba-hero-v2-crown span:before{
  content:""!important;
  position:absolute!important;
  left:50%!important;top:-7px!important;
  width:12px!important;height:12px!important;
  transform:translateX(-50%) rotate(45deg)!important;
  background:#ffe9a6!important;
  box-shadow:0 0 12px rgba(255,230,150,.70)!important;
}
#abba .abba-hero-v2-crown span:nth-child(1){left:18%!important;transform:rotate(-29deg)!important;height:38px!important;}
#abba .abba-hero-v2-crown span:nth-child(2){left:33%!important;transform:rotate(-14deg)!important;height:44px!important;}
#abba .abba-hero-v2-crown span:nth-child(3){left:50%!important;transform:translateX(-50%)!important;height:54px!important;}
#abba .abba-hero-v2-crown span:nth-child(4){right:33%!important;transform:rotate(14deg)!important;height:44px!important;}
#abba .abba-hero-v2-crown span:nth-child(5){right:18%!important;transform:rotate(29deg)!important;height:38px!important;}
#abba .abba-hero-v2-title{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(76px,17vw,152px)!important;
  line-height:.78!important;
  letter-spacing:.015em!important;
  font-weight:700!important;
  color:#fff!important;
  background:linear-gradient(180deg,#ffffff 0%,#fff8e9 35%,#d4d7db 72%,#ffffff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 2px 0 rgba(255,255,255,.50),0 20px 42px rgba(0,0,0,.82)!important;
}
#abba .abba-hero-v2-subtitle{
  margin-top:16px!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(20px,4.4vw,36px)!important;
  letter-spacing:.30em!important;
  text-transform:uppercase!important;
  color:#f1d99c!important;
  text-shadow:0 0 16px rgba(229,190,103,.28),0 8px 22px rgba(0,0,0,.72)!important;
}
#abba .abba-hero-v2-motto{
  margin-top:8px!important;
  font-size:clamp(12px,2.9vw,19px)!important;
  font-weight:800!important;
  letter-spacing:.42em!important;
  text-transform:uppercase!important;
  color:#fff3c7!important;
  opacity:.95!important;
  text-shadow:0 0 14px rgba(229,190,103,.22),0 7px 18px rgba(0,0,0,.70)!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  gap:16px!important;
}
#abba .abba-hero-v2-actions a{
  min-height:66px!important;
  border-radius:22px!important;
  font-size:20px!important;
  backdrop-filter:blur(14px)!important;
}
#abba .abba-hero-v2-actions a.primary{
  background:linear-gradient(180deg,#ffffff 0%,#f5f6f8 100%)!important;
  box-shadow:0 16px 36px rgba(0,0,0,.28)!important;
}
#abba .abba-hero-v2-actions a.secondary{
  background:rgba(2,8,23,.46)!important;
  border-color:rgba(229,190,103,.72)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 32px rgba(0,0,0,.20)!important;
}
@media(max-width:520px){
  #abba.abba-hero-v2-section{padding:0 0 22px!important;}
  #abba.abba-hero-v2-section:before{height:126px!important;}
  #abba.abba-hero-v2-section:after{height:142px!important;}
  #abba .abba-hero-v2{
    width:100%!important;
    min-height:860px!important;
    border-radius:0 0 34px 34px!important;
  }
  #abba .abba-hero-v2:before{
    background:
      radial-gradient(ellipse at 50% 5%,rgba(255,231,183,.28) 0%,rgba(255,214,143,.12) 15%,transparent 36%),
      linear-gradient(180deg,rgba(3,7,12,.30) 0%,rgba(3,7,12,.02) 19%,rgba(2,8,23,.21) 43%,rgba(2,8,23,.80) 66%,#02070c 90%,#02070c 100%),
      linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.18) 24%,rgba(0,0,0,.02) 50%,rgba(0,0,0,.20) 76%,rgba(0,0,0,.72) 100%)!important;
  }
  #abba .abba-hero-v2-media{
    background:url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
    filter:saturate(1.08) contrast(1.05) brightness(.93)!important;
  }
  #abba .abba-hero-v2-content{
    bottom:178px!important;
    padding:0 28px!important;
  }
  #abba .abba-hero-v2-brand{
    width:100%!important;
    margin-bottom:24px!important;
  }
  #abba .abba-hero-v2-crown{
    width:118px!important;
    height:58px!important;
  }
  #abba .abba-hero-v2-title{
    font-size:clamp(76px,22vw,104px)!important;
  }
  #abba .abba-hero-v2-subtitle{
    font-size:clamp(18px,4.7vw,25px)!important;
    letter-spacing:.24em!important;
    margin-top:14px!important;
  }
  #abba .abba-hero-v2-motto{
    font-size:clamp(11px,2.9vw,15px)!important;
    letter-spacing:.30em!important;
  }
  #abba .abba-hero-v2-actions{gap:14px!important;}
  #abba .abba-hero-v2-actions a{
    min-height:60px!important;
    border-radius:20px!important;
    font-size:18px!important;
  }
}
@media(max-width:380px){
  #abba .abba-hero-v2{min-height:830px!important;}
  #abba .abba-hero-v2-content{bottom:164px!important;padding:0 20px!important;}
  #abba .abba-hero-v2-title{font-size:78px!important;}
  #abba .abba-hero-v2-crown{width:106px!important;height:52px!important;}
  #abba .abba-hero-v2-subtitle{font-size:16px!important;letter-spacing:.20em!important;}
  #abba .abba-hero-v2-motto{font-size:10px!important;letter-spacing:.24em!important;}
  #abba .abba-hero-v2-actions a{min-height:56px!important;font-size:17px!important;}
}

/* =========================================================
   ABBA HERO V34 — ajuste final de logo y centrado óptico
   Alcance: únicamente #abba.abba-hero-v2-section.
   No modifica la información posterior de ABBA ni otras secciones.
   ========================================================= */
#abba .abba-hero-v2-brand{
  width:min(500px,88vw)!important;
  height:clamp(218px,42vw,290px)!important;
  margin:0 auto 24px!important;
  background:url('assets/img/logo-abba-premium-solid.png') center center/contain no-repeat!important;
  filter:drop-shadow(0 24px 34px rgba(0,0,0,.78)) drop-shadow(0 0 18px rgba(229,190,103,.22))!important;
  transform:translateX(-1px)!important;
}
#abba .abba-hero-v2-brand:before,
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:none!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
#abba .abba-hero-v2-actions a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  padding-left:24px!important;
  padding-right:24px!important;
  text-align:center!important;
  transform:translateX(0)!important;
}
#abba .abba-hero-v2-actions a:before,
#abba .abba-hero-v2-actions a:after{
  flex:0 0 42px!important;
  width:42px!important;
  text-align:center!important;
}
#abba .abba-hero-v2-actions a:after{
  content:""!important;
  display:block!important;
}
#abba .abba-hero-v2-actions a.primary:before{
  content:"☏"!important;
  font-size:30px!important;
  transform:rotate(-8deg)!important;
}
#abba .abba-hero-v2-actions a.secondary:before{
  content:"▦"!important;
  font-size:29px!important;
  color:rgba(255,255,255,.72)!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{
    bottom:178px!important;
    padding:0 22px!important;
  }
  #abba .abba-hero-v2-brand{
    width:min(360px,92vw)!important;
    height:clamp(222px,69vw,272px)!important;
    margin-bottom:22px!important;
  }
  #abba .abba-hero-v2-actions a{
    padding-left:18px!important;
    padding-right:18px!important;
    gap:12px!important;
  }
  #abba .abba-hero-v2-actions a:before,
  #abba .abba-hero-v2-actions a:after{
    flex-basis:38px!important;
    width:38px!important;
  }
}
@media(max-width:380px){
  #abba .abba-hero-v2-brand{
    width:min(340px,94vw)!important;
    height:238px!important;
    margin-bottom:20px!important;
  }
  #abba .abba-hero-v2-content{bottom:164px!important;padding:0 18px!important;}
  #abba .abba-hero-v2-actions a:before,
  #abba .abba-hero-v2-actions a:after{
    flex-basis:34px!important;
    width:34px!important;
  }
}

/* =========================================================
   ABBA HERO V35 — logo reconstruido SIN PNG + botones centrados
   Alcance: únicamente #abba.abba-hero-v2-section.
   No modifica la información posterior de ABBA ni otras secciones.
   ========================================================= */
#abba .abba-hero-v2-brand{
  width:min(610px,94vw)!important;
  height:auto!important;
  margin:0 auto 28px!important;
  background:none!important;
  filter:drop-shadow(0 26px 34px rgba(0,0,0,.80))!important;
  transform:none!important;
  text-align:center!important;
  color:#fff!important;
  position:relative!important;
}
#abba .abba-hero-v2-brand:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:92px!important;
  width:92%!important;
  height:2px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent,rgba(229,190,103,.20),rgba(255,247,220,.86),rgba(229,190,103,.20),transparent)!important;
  box-shadow:0 0 24px rgba(229,190,103,.42)!important;
}
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:block!important;
}
#abba .abba-hero-v2-crown{
  width:178px!important;
  height:104px!important;
  margin:0 auto -4px!important;
  position:relative!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.66)) drop-shadow(0 0 16px rgba(229,190,103,.28))!important;
}
#abba .abba-hero-v2-crown:before{
  content:""!important;
  position:absolute!important;
  left:7%!important;
  right:7%!important;
  bottom:8px!important;
  height:24px!important;
  border-radius:22px 22px 10px 10px!important;
  background:
    radial-gradient(circle at 50% 48%,#d4121a 0 7px,#ffe6a3 8px 10px,transparent 11px),
    linear-gradient(180deg,#fff2b7 0%,#e5ac3f 34%,#a56616 72%,#6f3f0a 100%)!important;
  border:1px solid rgba(255,242,191,.74)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.58), inset 0 -3px 7px rgba(56,31,4,.42), 0 10px 22px rgba(0,0,0,.48)!important;
}
#abba .abba-hero-v2-crown:after{
  content:""!important;
  position:absolute!important;
  left:8%!important;
  right:8%!important;
  bottom:26px!important;
  height:56px!important;
  background:
    radial-gradient(ellipse at 50% 100%,transparent 0 42%,#f7cf6b 43% 48%,transparent 49%),
    radial-gradient(ellipse at 30% 100%,transparent 0 45%,#e7af43 46% 51%,transparent 52%),
    radial-gradient(ellipse at 70% 100%,transparent 0 45%,#e7af43 46% 51%,transparent 52%);
  border-bottom:0!important;
  border-radius:80px 80px 0 0!important;
  box-shadow:0 0 20px rgba(229,190,103,.18)!important;
}
#abba .abba-hero-v2-crown span{
  position:absolute!important;
  bottom:26px!important;
  width:14px!important;
  height:54px!important;
  transform-origin:bottom center!important;
  background:linear-gradient(90deg,#7b470c 0%,#e0a33a 24%,#fff1b6 52%,#b87519 78%,#603707 100%)!important;
  border-radius:20px 20px 5px 5px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.60),0 0 12px rgba(229,190,103,.15)!important;
}
#abba .abba-hero-v2-crown span:before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:-10px!important;
  width:16px!important;
  height:16px!important;
  transform:translateX(-50%) rotate(45deg)!important;
  border-radius:4px!important;
  background:linear-gradient(135deg,#fff7ce,#e6ad3e 58%,#90540f)!important;
  box-shadow:0 0 12px rgba(255,230,150,.62)!important;
}
#abba .abba-hero-v2-crown span:nth-child(1){left:13%!important;height:42px!important;transform:rotate(-38deg)!important;}
#abba .abba-hero-v2-crown span:nth-child(2){left:29%!important;height:54px!important;transform:rotate(-18deg)!important;}
#abba .abba-hero-v2-crown span:nth-child(3){left:50%!important;height:70px!important;transform:translateX(-50%)!important;}
#abba .abba-hero-v2-crown span:nth-child(3):after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:22px!important;
  width:13px!important;height:18px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  background:#bd1419!important;
  border:2px solid #ffe2a1!important;
  box-shadow:0 0 10px rgba(255,220,140,.42)!important;
}
#abba .abba-hero-v2-crown span:nth-child(4){right:29%!important;height:54px!important;transform:rotate(18deg)!important;}
#abba .abba-hero-v2-crown span:nth-child(5){right:13%!important;height:42px!important;transform:rotate(38deg)!important;}
#abba .abba-hero-v2-title{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(86px,18vw,168px)!important;
  line-height:.74!important;
  letter-spacing:.02em!important;
  font-weight:800!important;
  color:#fff!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf1 24%,#eceff2 58%,#cfd4da 82%,#ffffff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 3px 0 rgba(255,255,255,.32), 0 18px 36px rgba(0,0,0,.86)!important;
  transform:scaleX(1.08)!important;
}
#abba .abba-hero-v2-title::first-letter{
  letter-spacing:-.03em!important;
}
#abba .abba-hero-v2-subtitle{
  margin-top:18px!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(22px,4.5vw,38px)!important;
  letter-spacing:.32em!important;
  text-transform:uppercase!important;
  color:#f1d99c!important;
  text-shadow:0 0 16px rgba(229,190,103,.25),0 8px 22px rgba(0,0,0,.78)!important;
}
#abba .abba-hero-v2-motto{
  margin-top:9px!important;
  font-size:clamp(12px,2.8vw,19px)!important;
  font-weight:900!important;
  letter-spacing:.43em!important;
  text-transform:uppercase!important;
  color:#fff4c9!important;
  opacity:.96!important;
  text-shadow:0 0 14px rgba(229,190,103,.22),0 7px 18px rgba(0,0,0,.76)!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  gap:16px!important;
}
#abba .abba-hero-v2-actions a{
  display:grid!important;
  grid-template-columns:44px minmax(0,max-content) 44px!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:14px!important;
  padding-left:20px!important;
  padding-right:20px!important;
  text-align:center!important;
}
#abba .abba-hero-v2-actions a:before{
  grid-column:1!important;
  justify-self:center!important;
  width:44px!important;
  text-align:center!important;
  flex:none!important;
}
#abba .abba-hero-v2-actions a:after{
  content:""!important;
  display:block!important;
  grid-column:3!important;
  width:44px!important;
  height:1px!important;
  flex:none!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{bottom:176px!important;padding:0 24px!important;}
  #abba .abba-hero-v2-brand{width:100%!important;margin-bottom:24px!important;}
  #abba .abba-hero-v2-crown{width:132px!important;height:82px!important;margin-bottom:-3px!important;}
  #abba .abba-hero-v2-title{font-size:clamp(88px,24vw,116px)!important;transform:scaleX(1.04)!important;}
  #abba .abba-hero-v2-subtitle{font-size:clamp(18px,4.8vw,25px)!important;letter-spacing:.24em!important;margin-top:15px!important;}
  #abba .abba-hero-v2-motto{font-size:clamp(10px,2.9vw,15px)!important;letter-spacing:.30em!important;}
  #abba .abba-hero-v2-actions a{grid-template-columns:38px minmax(0,max-content) 38px!important;column-gap:10px!important;padding-left:14px!important;padding-right:14px!important;}
  #abba .abba-hero-v2-actions a:before{width:38px!important;}
  #abba .abba-hero-v2-actions a:after{width:38px!important;}
}
@media(max-width:380px){
  #abba .abba-hero-v2-content{bottom:162px!important;padding:0 18px!important;}
  #abba .abba-hero-v2-crown{width:118px!important;height:74px!important;}
  #abba .abba-hero-v2-title{font-size:82px!important;}
  #abba .abba-hero-v2-subtitle{font-size:16px!important;letter-spacing:.20em!important;}
  #abba .abba-hero-v2-motto{font-size:10px!important;letter-spacing:.24em!important;}
}

/* =========================================================
   ABBA HERO V36 — logo fiel optimizado + centrado óptico final
   Alcance: únicamente #abba.abba-hero-v2-section.
   No toca información ABBA posterior ni otras secciones.
   ========================================================= */
#abba .abba-hero-v2-brand{
  width:min(520px,88vw)!important;
  aspect-ratio:900/678!important;
  height:auto!important;
  margin:0 auto 24px!important;
  background:url('assets/img/logo-abba-final-integrated.png') center center/contain no-repeat!important;
  filter:drop-shadow(0 24px 34px rgba(0,0,0,.82)) drop-shadow(0 0 22px rgba(229,190,103,.24))!important;
  transform:translateX(0)!important;
}
#abba .abba-hero-v2-brand:before,
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:none!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  gap:16px!important;
}
#abba .abba-hero-v2-actions a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:64px!important;
  padding-left:24px!important;
  padding-right:24px!important;
  text-align:center!important;
  gap:0!important;
}
#abba .abba-hero-v2-actions a:before{
  position:absolute!important;
  left:calc(50% - 180px)!important;
  width:42px!important;
  text-align:center!important;
  flex:none!important;
  transform:none!important;
}
#abba .abba-hero-v2-actions a:after{
  display:none!important;
  content:none!important;
}
#abba .abba-hero-v2-actions a.primary:before{
  content:"☏"!important;
  font-size:30px!important;
  line-height:1!important;
  transform:rotate(-8deg)!important;
}
#abba .abba-hero-v2-actions a.secondary:before{
  content:"▦"!important;
  font-size:29px!important;
  line-height:1!important;
  color:rgba(255,255,255,.72)!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{bottom:176px!important;padding:0 24px!important;}
  #abba .abba-hero-v2-brand{
    width:min(430px,93vw)!important;
    margin-bottom:24px!important;
  }
  #abba .abba-hero-v2-actions a{
    min-height:62px!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  #abba .abba-hero-v2-actions a:before{
    left:calc(50% - 154px)!important;
    width:38px!important;
  }
}
@media(max-width:380px){
  #abba .abba-hero-v2-content{bottom:162px!important;padding:0 18px!important;}
  #abba .abba-hero-v2-brand{width:min(382px,94vw)!important;margin-bottom:22px!important;}
  #abba .abba-hero-v2-actions a:before{left:calc(50% - 138px)!important;width:34px!important;}
}

/* =========================================================
   V37 FINAL — ABBA Hero: foto nueva + logo hecho en código
   No usa el PNG del logo ABBA. Solo conserva la identidad visual
   mediante HTML/CSS/SVG-like shapes ya presentes en el marcado.
   Alcance: únicamente #abba.abba-hero-v2-section.
   ========================================================= */
#abba .abba-hero-v2-media{
  background:url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
  filter:saturate(1.08) contrast(1.05) brightness(.92)!important;
  transform:scale(1.01)!important;
}
#abba .abba-hero-v2-content{
  left:0!important;
  right:0!important;
  width:100%!important;
  align-items:center!important;
  text-align:center!important;
}
#abba .abba-hero-v2-brand{
  width:min(570px,90%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
}
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  width:100%!important;
  text-align:center!important;
}
#abba .abba-hero-v2-title{
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  color:#fff!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 38%,#cfd3d8 72%,#ffffff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 3px 0 rgba(0,0,0,.55),0 22px 44px rgba(0,0,0,.84)!important;
}
#abba .abba-hero-v2-crown{
  margin-left:auto!important;
  margin-right:auto!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,calc(100% - 4px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
}
#abba .abba-hero-v2-actions a{
  width:100%!important;
  max-width:650px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-media{
    background:url('assets/img/abba-hero-v2-final-mobile.jpg') center top/cover no-repeat!important;
  }
  #abba .abba-hero-v2-content{
    padding-left:22px!important;
    padding-right:22px!important;
  }
  #abba .abba-hero-v2-brand{
    width:100%!important;
    max-width:430px!important;
  }
  #abba .abba-hero-v2-actions{
    width:100%!important;
    max-width:430px!important;
  }
}

/* =========================================================
   V37.1 VERIFICADO — fuerza logo ABBA hecho en código
   Quita cualquier PNG anterior del bloque de marca del Hero ABBA.
   ========================================================= */
#abba .abba-hero-v2-brand{
  width:min(610px,94vw)!important;
  max-width:100%!important;
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0 auto 26px!important;
  padding:0!important;
  background:none!important;
  background-image:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  filter:drop-shadow(0 26px 34px rgba(0,0,0,.80))!important;
  transform:none!important;
  color:#fff!important;
  position:relative!important;
}
#abba .abba-hero-v2-brand:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:92px!important;
  width:92%!important;
  height:2px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent,rgba(229,190,103,.20),rgba(255,247,220,.86),rgba(229,190,103,.20),transparent)!important;
  box-shadow:0 0 24px rgba(229,190,103,.42)!important;
}
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
#abba .abba-hero-v2-crown{
  width:178px!important;
  height:104px!important;
  margin:0 auto -4px!important;
  position:relative!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.66)) drop-shadow(0 0 16px rgba(229,190,103,.28))!important;
}
#abba .abba-hero-v2-title{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(86px,18vw,168px)!important;
  line-height:.74!important;
  letter-spacing:.02em!important;
  font-weight:800!important;
  color:#fff!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf1 24%,#eceff2 58%,#cfd4da 82%,#ffffff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 3px 0 rgba(255,255,255,.32),0 18px 36px rgba(0,0,0,.86)!important;
  transform:scaleX(1.08)!important;
}
#abba .abba-hero-v2-subtitle{
  width:100%!important;
  margin-top:18px!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(22px,4.5vw,38px)!important;
  letter-spacing:.32em!important;
  text-transform:uppercase!important;
  color:#f1d99c!important;
  text-align:center!important;
  text-shadow:0 0 16px rgba(229,190,103,.25),0 8px 22px rgba(0,0,0,.78)!important;
}
#abba .abba-hero-v2-motto{
  width:100%!important;
  margin-top:9px!important;
  font-size:clamp(12px,2.8vw,19px)!important;
  font-weight:900!important;
  letter-spacing:.43em!important;
  text-transform:uppercase!important;
  color:#fff4c9!important;
  text-align:center!important;
  text-shadow:0 0 14px rgba(229,190,103,.22),0 7px 18px rgba(0,0,0,.76)!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  max-width:650px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:16px!important;
}
#abba .abba-hero-v2-actions a{
  width:100%!important;
  max-width:650px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,max-content) 44px!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:14px!important;
  text-align:center!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{padding-left:22px!important;padding-right:22px!important;}
  #abba .abba-hero-v2-brand{width:100%!important;max-width:430px!important;margin-bottom:24px!important;background:none!important;background-image:none!important;}
  #abba .abba-hero-v2-crown{width:132px!important;height:82px!important;margin-bottom:-3px!important;}
  #abba .abba-hero-v2-title{font-size:clamp(88px,24vw,116px)!important;transform:scaleX(1.04)!important;}
  #abba .abba-hero-v2-subtitle{font-size:clamp(18px,4.8vw,25px)!important;letter-spacing:.24em!important;margin-top:15px!important;}
  #abba .abba-hero-v2-motto{font-size:clamp(10px,2.9vw,15px)!important;letter-spacing:.30em!important;}
  #abba .abba-hero-v2-actions{width:100%!important;max-width:430px!important;}
  #abba .abba-hero-v2-actions a{grid-template-columns:38px minmax(0,max-content) 38px!important;column-gap:10px!important;padding-left:14px!important;padding-right:14px!important;}
}


/* =========================================================
   V38 — ABBA Hero SIN LOGO
   Elimina/desaparece cualquier logo, corona, texto ABBA o PNG
   dentro del Hero. Mantiene foto nueva y centra solo botones.
   ========================================================= */
#abba .abba-hero-v2-brand,
#abba .abba-hero-v2-logo,
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:none!important;
  background-image:none!important;
}
#abba .abba-hero-v2-content{
  left:0!important;
  right:0!important;
  width:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 22px 250px!important;
  text-align:center!important;
}
#abba .abba-hero-v2-actions{
  width:min(650px,100%)!important;
  max-width:650px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
  gap:18px!important;
}
#abba .abba-hero-v2-actions a{
  width:100%!important;
  max-width:650px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{
    padding-left:22px!important;
    padding-right:22px!important;
    padding-bottom:250px!important;
    justify-content:flex-end!important;
  }
  #abba .abba-hero-v2-actions{
    width:100%!important;
    max-width:430px!important;
  }
}

/* =========================================================
   V40 — Corrección SOLO BOTONES ABBA
   Regresa el estilo visual V38, centra matemáticamente el bloque
   y evita que los textos se partan.
   ========================================================= */
#abba .abba-hero-v2-content{
  left:0!important;
  right:0!important;
  width:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding-left:0!important;
  padding-right:0!important;
  padding-bottom:250px!important;
  text-align:center!important;
  transform:none!important;
}
#abba .abba-hero-v2-actions{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
}
#abba .abba-hero-v2-actions a{
  box-sizing:border-box!important;
  width:min(86vw,620px)!important;
  max-width:620px!important;
  min-height:66px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0 22px!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,max-content) 42px!important;
  column-gap:12px!important;
  align-items:center!important;
  justify-content:center!important;
  justify-items:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  line-height:1!important;
  overflow:hidden!important;
}
#abba .abba-hero-v2-actions a.primary{
  background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%)!important;
  color:#07111f!important;
  border:1px solid rgba(255,255,255,.90)!important;
  box-shadow:0 16px 36px rgba(0,0,0,.28)!important;
}
#abba .abba-hero-v2-actions a.secondary{
  background:rgba(2,8,23,.48)!important;
  color:#ffffff!important;
  border:1px solid rgba(229,190,103,.72)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 32px rgba(0,0,0,.20)!important;
}
#abba .abba-hero-v2-actions a:before,
#abba .abba-hero-v2-actions a:after{
  width:42px!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
  flex:none!important;
  line-height:1!important;
}
#abba .abba-hero-v2-actions a:after{
  content:""!important;
}
#abba .abba-hero-v2-actions a.primary:before{
  content:"☏"!important;
  font-size:30px!important;
  color:#07111f!important;
  transform:rotate(-8deg)!important;
}
#abba .abba-hero-v2-actions a.secondary:before{
  content:"▦"!important;
  font-size:29px!important;
  color:rgba(255,255,255,.78)!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{
    padding-left:0!important;
    padding-right:0!important;
    padding-bottom:250px!important;
  }
  #abba .abba-hero-v2-actions{
    width:100%!important;
    padding:0!important;
  }
  #abba .abba-hero-v2-actions a{
    width:min(86vw,430px)!important;
    max-width:430px!important;
    min-height:66px!important;
    font-size:clamp(18px,4.6vw,22px)!important;
    grid-template-columns:40px minmax(0,max-content) 40px!important;
    column-gap:10px!important;
  }
  #abba .abba-hero-v2-actions a.primary:before{font-size:28px!important;}
  #abba .abba-hero-v2-actions a.secondary:before{font-size:27px!important;}
}
@media(max-width:380px){
  #abba .abba-hero-v2-actions a{
    width:min(88vw,360px)!important;
    min-height:62px!important;
    font-size:17px!important;
    grid-template-columns:34px minmax(0,max-content) 34px!important;
    column-gap:8px!important;
  }
}

/* =========================================================
   V41 — ABBA Hero: logo original integrado + botones abajo
   Alcance: solo #abba.abba-hero-v2-section. No toca radio,
   biblioteca, menú inferior ni demás secciones.
   ========================================================= */
#abba .abba-hero-v2-brand,
#abba .abba-hero-v2-logo,
#abba .abba-hero-v2-crown,
#abba .abba-hero-v2-title,
#abba .abba-hero-v2-subtitle,
#abba .abba-hero-v2-motto{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
}
#abba .abba-hero-v2-content{
  left:0!important;
  right:0!important;
  width:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding-left:0!important;
  padding-right:0!important;
  padding-bottom:190px!important;
  text-align:center!important;
  transform:none!important;
}
#abba .abba-hero-logo-original-final{
  display:block!important;
  width:min(56vw,390px)!important;
  max-width:390px!important;
  height:auto!important;
  object-fit:contain!important;
  margin:0 auto 18px!important;
  opacity:.98!important;
  filter:drop-shadow(0 20px 32px rgba(0,0,0,.82)) drop-shadow(0 0 16px rgba(229,190,103,.18))!important;
  pointer-events:none!important;
  user-select:none!important;
}
#abba .abba-hero-v2-actions{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
}
#abba .abba-hero-v2-actions a{
  box-sizing:border-box!important;
  width:min(86vw,620px)!important;
  max-width:620px!important;
  min-height:66px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0 22px!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,max-content) 42px!important;
  column-gap:12px!important;
  align-items:center!important;
  justify-content:center!important;
  justify-items:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  line-height:1!important;
  overflow:hidden!important;
}
#abba .abba-hero-v2-actions a.primary{
  background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%)!important;
  color:#07111f!important;
  border:1px solid rgba(255,255,255,.90)!important;
  box-shadow:0 16px 36px rgba(0,0,0,.28)!important;
}
#abba .abba-hero-v2-actions a.secondary{
  background:rgba(2,8,23,.48)!important;
  color:#e5be67!important;
  border:1px solid rgba(229,190,103,.72)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 32px rgba(0,0,0,.20)!important;
}
#abba .abba-hero-v2-actions a:before,
#abba .abba-hero-v2-actions a:after{
  width:42px!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
  flex:none!important;
  line-height:1!important;
}
#abba .abba-hero-v2-actions a:after{content:""!important;}
#abba .abba-hero-v2-actions a.primary:before{
  content:"☏"!important;
  font-size:30px!important;
  color:#07111f!important;
  transform:rotate(-8deg)!important;
}
#abba .abba-hero-v2-actions a.secondary:before{
  content:"▦"!important;
  font-size:29px!important;
  color:#e5be67!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{
    padding-left:0!important;
    padding-right:0!important;
    padding-bottom:170px!important;
    justify-content:flex-end!important;
  }
  #abba .abba-hero-logo-original-final{
    width:min(62vw,290px)!important;
    max-width:290px!important;
    margin-bottom:16px!important;
  }
  #abba .abba-hero-v2-actions{
    width:100%!important;
    padding:0!important;
    gap:16px!important;
  }
  #abba .abba-hero-v2-actions a{
    width:min(86vw,430px)!important;
    max-width:430px!important;
    min-height:66px!important;
    font-size:clamp(18px,4.6vw,22px)!important;
    grid-template-columns:40px minmax(0,max-content) 40px!important;
    column-gap:10px!important;
  }
  #abba .abba-hero-v2-actions a.primary:before{font-size:28px!important;}
  #abba .abba-hero-v2-actions a.secondary:before{font-size:27px!important;}
}
@media(max-width:380px){
  #abba .abba-hero-v2-content{padding-bottom:156px!important;}
  #abba .abba-hero-logo-original-final{width:min(64vw,250px)!important;margin-bottom:14px!important;}
  #abba .abba-hero-v2-actions a{
    width:min(88vw,360px)!important;
    min-height:62px!important;
    font-size:17px!important;
    grid-template-columns:34px minmax(0,max-content) 34px!important;
    column-gap:8px!important;
  }
}

/* =========================================================
   V42 — BAJAR logo y botones dentro de la zona oscura del Hero
   Alcance: solo #abba.abba-hero-v2-section. No toca radio, menú,
   biblioteca ni la sección informativa posterior.
   ========================================================= */
#abba .abba-hero-v2-content{
  position:absolute!important;
  inset:0!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:100%!important;
  min-height:0!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding-left:0!important;
  padding-right:0!important;
  padding-top:0!important;
  padding-bottom:64px!important;
  text-align:center!important;
}
#abba .abba-hero-logo-original-final{
  display:block!important;
  width:min(54vw,360px)!important;
  max-width:360px!important;
  height:auto!important;
  margin:0 auto 18px!important;
  object-fit:contain!important;
  opacity:.98!important;
  filter:drop-shadow(0 20px 32px rgba(0,0,0,.82)) drop-shadow(0 0 16px rgba(229,190,103,.18))!important;
}
#abba .abba-hero-v2-actions{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  margin:0 auto!important;
  padding:0!important;
}
@media(max-width:520px){
  #abba .abba-hero-v2-content{
    inset:0!important;
    padding-bottom:54px!important;
  }
  #abba .abba-hero-logo-original-final{
    width:min(58vw,270px)!important;
    max-width:270px!important;
    margin-bottom:14px!important;
  }
  #abba .abba-hero-v2-actions{
    gap:14px!important;
  }
}
@media(max-width:380px){
  #abba .abba-hero-v2-content{
    padding-bottom:46px!important;
  }
  #abba .abba-hero-logo-original-final{
    width:min(60vw,238px)!important;
    max-width:238px!important;
    margin-bottom:12px!important;
  }
}


/* =========================================================
   V46 — Ajuste final: menú y reproductor compacto
   Alcance: solo etiqueta del menú y barra flotante de radio.
   ========================================================= */
.radio-player{
  min-height:58px!important;
  padding:8px 10px!important;
  gap:8px!important;
}
.radio-player .now{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  line-height:1.08!important;
}
.radio-player .now b{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:clamp(15px,4.15vw,18px)!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
}
.radio-player small{
  display:block!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.radio-player button{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
}
.radio-player input{
  width:58px!important;
  flex:0 0 58px!important;
}
@media(max-width:380px){
  .radio-player{left:10px!important;right:10px!important;gap:6px!important;padding:7px 8px!important;}
  .radio-player:before{font-size:9px!important;padding:4px 6px!important;margin-right:0!important;}
  .radio-player .now b{font-size:14px!important;}
  .radio-player small{font-size:11px!important;}
  .radio-player button{width:36px!important;height:36px!important;flex-basis:36px!important;}
  .radio-player input{width:48px!important;flex-basis:48px!important;}
}

/* V48 — ajuste final verificado: logo principal del HERO más grande */
.hero .hero-logo{
  width:200px!important;
  max-width:min(60vw,200px)!important;
}


/* V49 Fase 1: Palabra para Hoy */
.palabra-section{max-width:none;background:linear-gradient(180deg,#f7f8fb 0%,#fff 58%,#f8fafc 100%);padding-top:56px;padding-bottom:68px;}
.palabra-shell{max-width:1120px;margin:0 auto;padding:0 18px;}
.palabra-head{text-align:center;max-width:800px;margin:0 auto 24px;}
.palabra-head h2{font-size:clamp(34px,5vw,58px);line-height:.98;margin:0 0 12px;color:#0f172a;letter-spacing:-.04em;}
.palabra-head p:not(.eyebrow){font-size:18px;line-height:1.65;color:#526071;margin:0;}
.palabra-tabs{display:flex;gap:10px;overflow:auto;padding:8px;margin:0 auto 16px;max-width:820px;background:rgba(255,255,255,.72);border:1px solid #e6eaf2;border-radius:999px;box-shadow:0 14px 36px rgba(15,23,42,.06);}
.palabra-tabs button{border:0;background:transparent;border-radius:999px;padding:11px 14px;font-weight:900;color:#475569;white-space:nowrap;cursor:pointer;}
.palabra-tabs button.active{background:linear-gradient(135deg,#07111f,#17345e);color:#fff;box-shadow:0 10px 24px rgba(7,17,31,.18);}
.palabra-card{max-width:880px;margin:0 auto;background:linear-gradient(180deg,#fff,#fbfdff);border:1px solid #e5eaf3;border-radius:34px;padding:26px;box-shadow:0 26px 70px rgba(15,23,42,.10);position:relative;overflow:hidden;}
.palabra-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 0%,rgba(216,179,90,.13),transparent 25%),radial-gradient(circle at 90% 20%,rgba(59,130,246,.10),transparent 28%);pointer-events:none;}
.palabra-card>*{position:relative;z-index:1;}
.palabra-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:#805f13;font-weight:900;}
.palabra-card-top small{color:#64748b;font-weight:800;}
.palabra-card h3{font-size:clamp(28px,4vw,42px);line-height:1;margin:0 0 16px;color:#0f172a;letter-spacing:-.03em;}
.palabra-card h4{font-size:20px;margin:4px 0 12px;color:#805f13;}
.scripture-text{font-size:clamp(20px,3vw,27px);line-height:1.55;color:#111827;margin:0 0 16px;font-family:Georgia,'Times New Roman',serif;}
.palabra-reflection,.series-reflection p,.series-application{font-size:17px;line-height:1.72;color:#475569;}
.series-reflection p{margin:0 0 10px;}
.series-application{background:#f8fafc;border:1px solid #e6eaf2;border-left:5px solid var(--gold);border-radius:18px;padding:14px 16px;margin:14px 0 0;}
.palabra-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.palabra-actions button,.verse-tools button,.favorite-item button{border:1px solid #dbe2ef;background:#fff;border-radius:999px;padding:10px 13px;font-weight:900;color:#13223a;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.05);}
.palabra-actions button.active,.verse-tools button.active{background:#fff4cf;border-color:#e9c75c;color:#3d2a04;}
.highlight-yellow{background:linear-gradient(transparent 48%,rgba(250,204,21,.45) 48%);}
.highlight-green{background:linear-gradient(transparent 48%,rgba(74,222,128,.34) 48%);}
.highlight-blue{background:linear-gradient(transparent 48%,rgba(96,165,250,.32) 48%);}
.highlight-menu{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;padding:10px;border-radius:18px;background:#f8fafc;border:1px solid #e6eaf2;}
.highlight-menu button{border:0;border-radius:999px;padding:8px 11px;font-weight:900;cursor:pointer;}
.passage-list{margin-top:18px;display:grid;gap:12px;}
.passage-verse{background:#fff;border:1px solid #e6eaf2;border-radius:22px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.passage-verse strong{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:#eef4ff;color:#1d4ed8;margin-right:8px;}
.passage-verse p{font-size:18px;line-height:1.65;margin:0 0 12px;color:#172033;}
.verse-tools{display:flex;gap:8px;flex-wrap:wrap;}
.progress-wrap{height:12px;background:#e8edf6;border-radius:999px;overflow:hidden;margin:4px 0 18px;}
.progress-bar{height:100%;width:20%;background:linear-gradient(90deg,var(--gold),#f8dd90);border-radius:999px;transition:width .3s ease;}
.favorites-list{display:grid;gap:12px;}
.favorite-empty{padding:22px;border-radius:22px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;text-align:center;}
.favorite-item{padding:16px;border:1px solid #e6eaf2;border-radius:22px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.favorite-item h4{margin:0 0 6px;color:#0f172a;}.favorite-item p{margin:0 0 12px;color:#475569;line-height:1.55;}
@media(max-width:520px){.palabra-section{padding-top:42px;padding-bottom:52px}.palabra-tabs{border-radius:24px}.palabra-card{border-radius:28px;padding:20px}.palabra-card-top{align-items:flex-start;flex-direction:column}.palabra-actions button{flex:1 1 auto}.scripture-text{font-size:21px}.palabra-head p:not(.eyebrow){font-size:16px}}


/* V50 Fase 2 — Palabra para Hoy refinamientos */
.palabra-tabs{position:relative;scroll-snap-type:x proximity;padding-right:42px;}
.palabra-tabs:after{content:"→";position:sticky;right:2px;top:0;align-self:stretch;display:flex;align-items:center;padding:0 12px;font-weight:1000;color:#17345e;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.96) 42%,rgba(255,255,255,.98));border-radius:999px;pointer-events:none;}
.palabra-tabs button{scroll-snap-align:start;}

.scripture-text.highlight-yellow,
.passage-line.highlight-yellow{background:linear-gradient(180deg,rgba(255,230,113,.62),rgba(255,221,76,.66));}
.scripture-text.highlight-green,
.passage-line.highlight-green{background:linear-gradient(180deg,rgba(162,245,196,.62),rgba(93,220,142,.56));}
.scripture-text.highlight-blue,
.passage-line.highlight-blue{background:linear-gradient(180deg,rgba(164,211,255,.62),rgba(95,171,240,.55));}
.scripture-text.highlight-yellow,
.scripture-text.highlight-green,
.scripture-text.highlight-blue,
.passage-line.highlight-yellow,
.passage-line.highlight-green,
.passage-line.highlight-blue{display:block;width:100%;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:18px;padding:10px 12px;margin-left:-12px;margin-right:-12px;}

.passage-list{margin-top:18px;}
.passage-reader{background:rgba(255,255,255,.72);border:1px solid #e7ecf5;border-radius:28px;padding:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);}
.passage-line{font-size:clamp(20px,3.4vw,28px);line-height:1.72;color:#182337;margin:0 0 8px;padding:10px 12px;border-radius:18px;cursor:pointer;transition:.2s ease;background:rgba(255,255,255,.36);}
.passage-line sup{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;margin-right:8px;border-radius:999px;background:#eef5ff;color:#2563eb;font-weight:1000;font-size:16px;vertical-align:middle;}
.passage-line.selected{outline:2px solid rgba(216,179,90,.55);background:#fffaf0;box-shadow:0 12px 28px rgba(15,23,42,.06);}
.passage-selection-bar{position:sticky;bottom:168px;z-index:30;margin:16px 0 0;padding:12px;border:1px solid #e5eaf3;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-radius:24px;box-shadow:0 22px 55px rgba(15,23,42,.14);}
.passage-selection-bar span{display:block;margin:0 0 8px;font-weight:1000;color:#17345e;}
.passage-selection-bar div{display:flex;flex-wrap:wrap;gap:8px;}
.passage-selection-bar button{border:1px solid #dbe2ef;background:#fff;border-radius:999px;padding:9px 11px;font-weight:900;color:#13223a;box-shadow:0 8px 18px rgba(15,23,42,.05);}

.series-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 18px;}
.series-timeline button{border:1px solid #e5eaf3;background:#fff;border-radius:18px;padding:9px 5px;font-weight:900;color:#475569;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.series-timeline button span{display:block;font-size:12px;margin-top:2px;}
.series-timeline button.done{background:#f8fff4;border-color:#bfe7b2;color:#166534;}
.series-timeline button.active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;transform:translateY(-1px);}
.series-timeline button.locked{background:#f8fafc;color:#94a3b8;opacity:.74;}
.series-complete{margin-top:18px;background:linear-gradient(135deg,#fff8dc,#fff);border:1px solid #f0d889;border-radius:26px;padding:18px;box-shadow:0 18px 42px rgba(216,179,90,.12);}
.series-complete h4{margin:0 0 6px!important;color:#805f13!important;}
.series-complete .stars{font-size:24px;margin:6px 0 12px;}
.series-complete button{border:0;background:linear-gradient(135deg,#d8b35a,#f8db7e);border-radius:999px;padding:10px 14px;font-weight:1000;color:#13223a;}

@media(max-width:520px){
  .palabra-tabs{max-width:100%;padding-right:44px;}
  .palabra-tabs button{padding:10px 12px;font-size:15px;}
  .passage-reader{padding:14px;border-radius:24px;}
  .passage-line{font-size:22px;line-height:1.65;padding:9px 10px;}
  .passage-selection-bar{bottom:160px;border-radius:22px;}
  .series-timeline{grid-template-columns:repeat(5,74px);overflow-x:auto;padding-bottom:3px;}
}

/* V51 Corrección Fase 2 — subrayado completo, pasaje corrido y pista visual de pestañas */
.highlightable.highlight-yellow,
.scripture-text.highlight-yellow{
  background:rgba(250,204,21,.42)!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.highlightable.highlight-green,
.scripture-text.highlight-green{
  background:rgba(74,222,128,.32)!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.highlightable.highlight-blue,
.scripture-text.highlight-blue{
  background:rgba(96,165,250,.32)!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}

.passage-flow{
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,250,252,.92));
  border:1px solid #e7ecf5;
  border-radius:28px;
  padding:20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 14px 34px rgba(15,23,42,.05);
}
.passage-flow-title{
  margin:0 0 12px!important;
  color:#0f172a!important;
  font-size:22px!important;
  letter-spacing:-.02em;
}
.passage-flow-body{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(20px,3.2vw,27px);
  line-height:1.92;
  color:#182337;
}
.passage-flow .passage-line{
  display:inline!important;
  width:auto!important;
  margin:0 4px 0 0!important;
  padding:2px 4px!important;
  border-radius:10px!important;
  background:transparent!important;
  cursor:pointer;
  transition:background .18s ease, box-shadow .18s ease;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.passage-flow .passage-line sup{
  display:inline!important;
  min-width:auto!important;
  height:auto!important;
  margin:0 4px 0 0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#2563eb!important;
  font-weight:1000!important;
  font-size:.62em!important;
  vertical-align:super!important;
}
.passage-flow .passage-line.selected{
  background:rgba(216,179,90,.16)!important;
  outline:2px solid rgba(216,179,90,.55);
  outline-offset:2px;
  box-shadow:none!important;
}
.passage-flow .passage-line.highlight-yellow{
  background:rgba(250,204,21,.44)!important;
}
.passage-flow .passage-line.highlight-green{
  background:rgba(74,222,128,.34)!important;
}
.passage-flow .passage-line.highlight-blue{
  background:rgba(96,165,250,.34)!important;
}
.passage-select-hint{
  margin-top:14px;
  padding:11px 13px;
  border-radius:18px;
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  color:#64748b;
  font-weight:800;
  font-size:14px;
}

.palabra-tabs{
  position:relative;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 58px),rgba(0,0,0,.18) 100%);
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 58px),rgba(0,0,0,.18) 100%);
}
.palabra-tabs::-webkit-scrollbar{display:none;}
.palabra-tabs:after{
  content:"→"!important;
  position:sticky!important;
  right:-2px!important;
  top:0!important;
  align-self:stretch!important;
  min-width:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:22px!important;
  font-weight:1000!important;
  color:#17345e!important;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.94) 38%,#fff 100%)!important;
  border-radius:999px!important;
  pointer-events:none!important;
  box-shadow:-12px 0 22px rgba(255,255,255,.9)!important;
}
@media(min-width:760px){
  .palabra-tabs{mask-image:none;-webkit-mask-image:none;padding-right:8px;}
  .palabra-tabs:after{display:none!important;}
}
@media(max-width:520px){
  .passage-flow{padding:15px;border-radius:24px;}
  .passage-flow-body{font-size:21px;line-height:1.85;}
  .passage-selection-bar{bottom:160px;}
}

/* V52 FINAL — Subrayado Biblia real, pasaje corrido y fade lateral premium */
.highlightable.highlight-yellow,
.scripture-text.highlight-yellow,
.passage-flow .passage-line.highlight-yellow{
  background:rgba(250,204,21,.44)!important;
  border-radius:14px!important;
  padding:6px 8px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
.highlightable.highlight-green,
.scripture-text.highlight-green,
.passage-flow .passage-line.highlight-green{
  background:rgba(74,222,128,.34)!important;
  border-radius:14px!important;
  padding:6px 8px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
.highlightable.highlight-blue,
.scripture-text.highlight-blue,
.passage-flow .passage-line.highlight-blue{
  background:rgba(96,165,250,.34)!important;
  border-radius:14px!important;
  padding:6px 8px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
.scripture-text.highlight-yellow,
.scripture-text.highlight-green,
.scripture-text.highlight-blue{
  display:block!important;
  width:100%!important;
  padding:12px 14px!important;
}
.passage-flow{overflow:visible!important;}
.passage-flow-body{
  display:block!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(20px,3.1vw,27px)!important;
  line-height:1.9!important;
  color:#182337!important;
}
.passage-flow .passage-line{
  display:inline!important;
  margin:0 5px 0 0!important;
  padding:2px 4px!important;
  border-radius:10px!important;
  background:transparent!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
  cursor:pointer!important;
}
.passage-flow .passage-line.selected{
  background:rgba(216,179,90,.18)!important;
  outline:2px solid rgba(216,179,90,.56)!important;
  outline-offset:2px!important;
}
.palabra-tabs{
  position:relative!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-right:52px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 70px),rgba(0,0,0,.08) 100%)!important;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 70px),rgba(0,0,0,.08) 100%)!important;
}
.palabra-tabs::-webkit-scrollbar{display:none!important;}
.palabra-tabs:after{
  content:'→'!important;
  position:sticky!important;
  right:-4px!important;
  top:0!important;
  align-self:stretch!important;
  min-width:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#17345e!important;
  font-size:23px!important;
  font-weight:1000!important;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.96) 42%,#fff 100%)!important;
  border-radius:999px!important;
  box-shadow:-18px 0 26px rgba(255,255,255,.96)!important;
  pointer-events:none!important;
  z-index:2!important;
}
@media(min-width:760px){
  .palabra-tabs{padding-right:8px!important;mask-image:none!important;-webkit-mask-image:none!important;}
  .palabra-tabs:after{display:none!important;}
}

/* V53 — Biblia devocional premium: subrayado real, pasaje corrido y fade lateral refinado */
.highlightable.highlight-yellow,
.scripture-text.highlight-yellow{
  background:linear-gradient(180deg,rgba(250,204,21,.18),rgba(250,204,21,.42))!important;
  border-radius:12px!important;
  padding:9px 11px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
  box-shadow:inset 4px 0 0 rgba(202,138,4,.36)!important;
}
.highlightable.highlight-green,
.scripture-text.highlight-green{
  background:linear-gradient(180deg,rgba(74,222,128,.12),rgba(74,222,128,.30))!important;
  border-radius:12px!important;
  padding:9px 11px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
  box-shadow:inset 4px 0 0 rgba(22,163,74,.30)!important;
}
.highlightable.highlight-blue,
.scripture-text.highlight-blue{
  background:linear-gradient(180deg,rgba(96,165,250,.12),rgba(96,165,250,.30))!important;
  border-radius:12px!important;
  padding:9px 11px!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
  box-shadow:inset 4px 0 0 rgba(37,99,235,.28)!important;
}
.scripture-text.highlight-yellow,
.scripture-text.highlight-green,
.scripture-text.highlight-blue{
  display:block!important;
  width:100%!important;
  line-height:1.72!important;
}
.passage-flow{
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(248,250,252,.92))!important;
  border:1px solid #e7ecf5!important;
  border-radius:30px!important;
  padding:22px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 18px 42px rgba(15,23,42,.055)!important;
}
.passage-flow-title{
  margin:0 0 14px!important;
  color:#0f172a!important;
  font-size:23px!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.passage-flow-body{
  display:block!important;
  margin:0!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(20px,3.1vw,27px)!important;
  line-height:1.96!important;
  color:#182337!important;
  text-align:left!important;
}
.passage-flow .passage-line{
  display:inline!important;
  margin:0 4px 0 0!important;
  padding:1px 3px!important;
  border-radius:9px!important;
  background:transparent!important;
  cursor:pointer!important;
  transition:background .18s ease, outline-color .18s ease!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
.passage-flow .passage-line sup{
  display:inline!important;
  min-width:auto!important;
  height:auto!important;
  margin:0 4px 0 0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#3b6ea8!important;
  font-weight:900!important;
  font-size:.58em!important;
  vertical-align:super!important;
}
.passage-flow .passage-line.selected{
  background:rgba(216,179,90,.15)!important;
  outline:1.5px solid rgba(216,179,90,.58)!important;
  outline-offset:2px!important;
  box-shadow:none!important;
}
.passage-flow .passage-line.highlight-yellow{
  background:linear-gradient(180deg,rgba(250,204,21,.16),rgba(250,204,21,.42))!important;
  border-radius:9px!important;
  padding:1px 4px!important;
  box-shadow:inset 2px 0 0 rgba(202,138,4,.28)!important;
}
.passage-flow .passage-line.highlight-green{
  background:linear-gradient(180deg,rgba(74,222,128,.10),rgba(74,222,128,.30))!important;
  border-radius:9px!important;
  padding:1px 4px!important;
  box-shadow:inset 2px 0 0 rgba(22,163,74,.24)!important;
}
.passage-flow .passage-line.highlight-blue{
  background:linear-gradient(180deg,rgba(96,165,250,.10),rgba(96,165,250,.30))!important;
  border-radius:9px!important;
  padding:1px 4px!important;
  box-shadow:inset 2px 0 0 rgba(37,99,235,.22)!important;
}
.passage-select-hint{
  margin-top:16px!important;
  padding:11px 13px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px dashed #cbd5e1!important;
  color:#64748b!important;
  font-weight:800!important;
  font-size:14px!important;
}
.palabra-tabs{
  position:relative!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-right:56px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
  mask-image:linear-gradient(90deg,rgba(0,0,0,1) 0%,rgba(0,0,0,1) calc(100% - 82px),rgba(0,0,0,.04) 100%)!important;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,1) 0%,rgba(0,0,0,1) calc(100% - 82px),rgba(0,0,0,.04) 100%)!important;
}
.palabra-tabs:after{
  content:'›'!important;
  position:sticky!important;
  right:-5px!important;
  top:0!important;
  align-self:stretch!important;
  min-width:52px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:rgba(23,52,94,.48)!important;
  font-size:30px!important;
  font-weight:700!important;
  line-height:1!important;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.92) 46%,#fff 100%)!important;
  border-radius:999px!important;
  box-shadow:-18px 0 26px rgba(255,255,255,.94)!important;
  pointer-events:none!important;
  z-index:3!important;
  animation:palabraTabNudge 2.4s ease-in-out infinite!important;
}
@keyframes palabraTabNudge{0%,100%{transform:translateX(0);opacity:.46;}50%{transform:translateX(2px);opacity:.72;}}
.series-complete-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.series-complete-actions button{margin:0!important;}
@media(min-width:760px){
  .palabra-tabs{padding-right:8px!important;mask-image:none!important;-webkit-mask-image:none!important;}
  .palabra-tabs:after{display:none!important;}
}
@media(max-width:520px){
  .passage-flow{padding:16px!important;border-radius:24px!important;}
  .passage-flow-body{font-size:21px!important;line-height:1.9!important;}
  .passage-selection-bar{bottom:160px!important;}
}


/* V53.1 — Juan 15 completo, encabezados bíblicos y confirmación premium de Guardar */
.passage-section-heading{
  margin:18px 0 8px!important;
  color:#17345e!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:1000!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.passage-section-heading:first-of-type{margin-top:4px!important;}
.passage-credit{
  margin-top:16px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(148,163,184,.28)!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:750!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.passage-selection-bar button.tap-confirm,
.palabra-card button.tap-confirm{
  animation:alkanceTapConfirm .22s ease-out!important;
}
@keyframes alkanceTapConfirm{
  0%{transform:scale(1);}
  48%{transform:scale(1.08);}
  100%{transform:scale(1);}
}
.palabra-toast{
  position:fixed!important;
  left:50%!important;
  bottom:calc(24px + env(safe-area-inset-bottom))!important;
  transform:translate(-50%,18px) scale(.96)!important;
  z-index:99999!important;
  padding:11px 15px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.94)!important;
  color:#fff!important;
  font-weight:900!important;
  font-size:14px!important;
  letter-spacing:.01em!important;
  box-shadow:0 18px 42px rgba(15,23,42,.24)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .18s ease, transform .18s ease!important;
}
.palabra-toast.show{
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}
@media(max-width:520px){
  .passage-section-heading{font-size:13px!important;margin:16px 0 7px!important;}
  .passage-credit{font-size:11px!important;}
  .palabra-toast{bottom:calc(18px + env(safe-area-inset-bottom))!important;max-width:88vw;text-align:center;}
}


/* V53.2 — Palabra para Hoy: lectura completa con fade, barra flotante y series guiadas */
.passage-list{
  display:block;
  transition:opacity .28s ease, transform .28s ease;
}
.passage-list.collapsed .passage-reader{
  max-height:430px;
  overflow:hidden;
  position:relative;
}
.passage-list.collapsed .passage-reader:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:155px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(248,250,252,.92) 52%,rgba(248,250,252,1));
}
.passage-list.expanded .passage-reader{
  max-height:none;
  animation:passageOpenFade .32s ease both;
}
@keyframes passageOpenFade{
  from{opacity:.78;transform:translateY(8px);}
  to{opacity:1;transform:translateY(0);}
}
.passage-floating-actions{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(148px + env(safe-area-inset-bottom))!important;
  transform:translateX(-50%)!important;
  width:min(92vw,560px)!important;
  margin:0!important;
  z-index:99999!important;
  isolation:isolate!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(219,226,239,.98)!important;
  box-shadow:0 26px 70px rgba(15,23,42,.26), 0 0 0 9999px rgba(248,250,252,.08)!important;
  backdrop-filter:blur(24px)!important;
  -webkit-backdrop-filter:blur(24px)!important;
  pointer-events:auto!important;
  animation:passageBarIn .22s ease both;
}
@keyframes passageBarIn{
  from{opacity:0;transform:translate(-50%,12px) scale(.98);}
  to{opacity:1;transform:translate(-50%,0) scale(1);}
}
.passage-floating-actions span{
  font-size:13px!important;
  color:#17345e!important;
  margin-bottom:7px!important;
}
.passage-floating-actions div{
  justify-content:center!important;
}
.passage-floating-actions button{
  min-width:42px;
  min-height:40px;
  padding:9px 12px!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.passage-floating-actions button:active{
  transform:scale(.92);
}
.passage-floating-actions .color-dot{
  font-size:20px!important;
  background:#fff!important;
}
.series-intro{
  margin:0 0 12px;
  padding:12px 14px;
  border:1px solid #e5eaf3;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  color:#475569;
  font-weight:800;
  line-height:1.45;
}
.series-selector{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 12px;
  margin:0 0 8px;
  scrollbar-width:none;
}
.series-selector::-webkit-scrollbar{display:none;}
.series-selector button{
  flex:0 0 230px;
  text-align:left;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  padding:12px 13px;
  color:#17233b;
  font-weight:1000;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.series-selector button:active{transform:scale(.98);}
.series-selector button.active{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border-color:#93c5fd;
  box-shadow:0 16px 34px rgba(37,99,235,.12);
}
.series-selector button span{
  display:block;
  white-space:normal;
  line-height:1.18;
}
.series-selector button small{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:12px;
  font-weight:900;
}
.series-timeline button.locked{
  cursor:pointer;
  opacity:.88;
  border-style:dashed;
}
.series-timeline button.locked:active{
  transform:scale(.96);
}
@media(max-width:520px){
  .passage-list.collapsed .passage-reader{max-height:390px;}
  .passage-list.collapsed .passage-reader:after{height:135px;}
  .passage-floating-actions{
    width:min(94vw,520px)!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    border-radius:22px!important;
  }
  .passage-floating-actions button{
    min-width:38px;
    min-height:38px;
    padding:8px 10px!important;
  }
  .series-selector button{flex-basis:215px;}
}


/* V53.3 — Palabra para Hoy: barra Biblia por encima y series desde cero */
.passage-floating-actions{
  bottom:calc(155px + env(safe-area-inset-bottom))!important;
  z-index:2147483000!important;
  width:min(92vw,620px)!important;
  border-radius:24px!important;
}
.passage-floating-actions[hidden]{display:none!important;}
.series-start-panel{
  margin:18px 0 20px;
  padding:20px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(239,246,255,.92));
  border:1px solid rgba(147,197,253,.38);
  box-shadow:0 18px 46px rgba(37,99,235,.10);
  color:#17345e;
}
.series-start-panel p{
  margin:0 0 14px;
  font-weight:800;
  line-height:1.55;
  color:#17345e;
}
.series-start-panel button{
  width:100%;
  border:0;
  border-radius:18px;
  padding:13px 16px;
  background:linear-gradient(135deg,#d8b35a,#f7df94);
  color:#102033;
  font-weight:950;
  box-shadow:0 14px 30px rgba(216,179,90,.24);
}
.series-start-panel[hidden]{display:none!important;}
#seriesTimeline[hidden],
#seriesRef[hidden],
#seriesText[hidden],
#seriesReflection[hidden],
#seriesApplication[hidden],
.progress-wrap[hidden],
.palabra-actions[hidden]{
  display:none!important;
}
.series-selector button small{
  font-variant-numeric:tabular-nums;
}


@media (max-width:560px){
  .passage-floating-actions{
    bottom:calc(156px + env(safe-area-inset-bottom))!important;
    width:calc(100vw - 34px)!important;
    padding:10px 10px!important;
  }
}

/* V53.4 — cierre Play Store: modal propio, barra que no viaja y Salmo poético */
.palabra-confirm{
  position:fixed!important;
  inset:0!important;
  z-index:2147483600!important;
  display:grid!important;
  place-items:center!important;
  padding:22px!important;
  background:rgba(15,23,42,.46)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .2s ease!important;
}
.palabra-confirm.show{
  opacity:1!important;
  pointer-events:auto!important;
}
.palabra-confirm-card{
  width:min(92vw,430px)!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:0 26px 86px rgba(15,23,42,.32)!important;
  padding:22px!important;
  color:#17233b!important;
  animation:palabraConfirmIn .22s ease both!important;
}
@keyframes palabraConfirmIn{
  from{opacity:0;transform:translateY(12px) scale(.97);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.palabra-confirm-card h4{
  margin:0 0 10px!important;
  font-size:22px!important;
  line-height:1.15!important;
  color:#102033!important;
  font-weight:1000!important;
}
.palabra-confirm-card p{
  margin:0!important;
  font-size:16px!important;
  line-height:1.5!important;
  color:#475569!important;
  font-weight:750!important;
}
.palabra-confirm-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:22px!important;
}
.palabra-confirm-actions button{
  border:0!important;
  border-radius:999px!important;
  padding:12px 16px!important;
  font-weight:1000!important;
  cursor:pointer!important;
}
.palabra-confirm-actions [data-palabra-cancel]{
  background:#f1f5f9!important;
  color:#475569!important;
}
.palabra-confirm-actions [data-palabra-confirm]{
  background:linear-gradient(135deg,#d8b35a,#f8df91)!important;
  color:#102033!important;
  box-shadow:0 12px 28px rgba(216,179,90,.24)!important;
}
.passage-poetic-body{
  display:block!important;
  margin-top:8px!important;
}
.passage-flow .passage-poetic-line{
  display:block!important;
  margin:0 0 20px!important;
  padding:2px 4px 2px 0!important;
  line-height:1.55!important;
  white-space:normal!important;
}
.passage-flow .passage-poetic-line sup{
  display:inline-block!important;
  min-width:34px!important;
  margin-right:8px!important;
  text-align:center!important;
  vertical-align:top!important;
  font-size:18px!important;
  line-height:1.6!important;
  color:#0f2e55!important;
}
.passage-flow .passage-poetic-line br + *{
  margin-left:42px!important;
}
@media(max-width:560px){
  .palabra-confirm-card{border-radius:24px!important;padding:20px!important;}
  .palabra-confirm-card h4{font-size:20px!important;}
  .passage-flow .passage-poetic-line{font-size:22px!important;line-height:1.72!important;margin-bottom:22px!important;}
  .passage-flow .passage-poetic-line sup{min-width:30px!important;font-size:15px!important;margin-right:6px!important;}
}


/* V53.5 — Selector manual de lecturas bíblicas */
.passage-choice-selector{
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;
  padding:2px 2px 14px!important;
  margin:0 0 10px!important;
  scrollbar-width:none!important;
}
.passage-choice-selector::-webkit-scrollbar{display:none!important;}
.passage-choice-selector button{
  flex:0 0 190px!important;
  text-align:left!important;
  border:1px solid #e2e8f0!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;
  padding:12px 13px!important;
  color:#17233b!important;
  font-weight:1000!important;
  box-shadow:0 10px 26px rgba(15,23,42,.06)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.passage-choice-selector button:active{transform:scale(.98)!important;}
.passage-choice-selector button.active{
  background:linear-gradient(135deg,#eff6ff,#ffffff)!important;
  border-color:#93c5fd!important;
  box-shadow:0 16px 34px rgba(37,99,235,.12)!important;
}
.passage-choice-selector button span{display:block!important;line-height:1.15!important;white-space:normal!important;}
.passage-choice-selector button small{display:block!important;margin-top:6px!important;color:#64748b!important;font-size:12px!important;font-weight:900!important;}
@media(max-width:520px){.passage-choice-selector button{flex-basis:172px!important;}}


/* V54 — Biblia Alkance refinamientos */
.palabra-biblia-title{
  font-size:clamp(1.02rem,3.2vw,1.38rem)!important;
  letter-spacing:.16em!important;
  font-weight:1000!important;
}
.passage-choice-selector button small{display:none!important;}
.series-floating-actions{bottom:calc(155px + env(safe-area-inset-bottom))!important;}
@media(max-width:520px){.series-floating-actions{bottom:calc(14px + env(safe-area-inset-bottom))!important;}}


/* V56 — Subrayados y feedback visible sobre barra flotante */
.highlights-list .highlight-item h4{color:#17345e;}
.highlights-list .highlight-item p{white-space:pre-wrap;}
@media(max-width:520px){
  .palabra-toast{bottom:calc(96px + env(safe-area-inset-bottom))!important;}
}


/* V57 Notificación Premium Palabra para Hoy */
.palabra-notification-prompt{
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(245,210,104,.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245,210,104,.14), rgba(255,255,255,.06));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.palabra-notification-prompt strong{display:block;color:#f5d268;font-size:1rem;margin-bottom:3px}
.palabra-notification-prompt span{display:block;color:rgba(255,255,255,.82);font-size:.88rem;line-height:1.35}
.palabra-notification-prompt button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  background:#f5d268;
  color:#111827;
  white-space:nowrap;
}

/* V59 — Oración Nocturna dentro de Biblia Alkance */
.night-prayer-card{
  background:
    radial-gradient(circle at 18% 0%, rgba(96,165,250,.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(139,92,246,.14), transparent 30%),
    linear-gradient(180deg,#fff,#f8fbff);
}
.night-prayer-hero{
  padding:18px 18px 16px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:26px;
  background:linear-gradient(135deg,rgba(7,17,31,.96),rgba(23,52,94,.92));
  color:#fff;
  box-shadow:0 20px 44px rgba(15,23,42,.16);
  margin-bottom:18px;
}
.night-prayer-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-weight:900;
  font-size:13px;
  margin-bottom:12px;
}
.night-prayer-hero h3{
  color:#fff;
  margin:0 0 8px;
}
.night-prayer-subtitle{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.55;
  font-weight:700;
}
.night-prayer-verse{
  margin-top:4px;
  margin-bottom:18px;
}
.night-prayer-body{
  display:grid;
  gap:12px;
  padding:18px;
  border-radius:26px;
  background:rgba(255,255,255,.82);
  border:1px solid #e6eaf2;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
  margin-bottom:18px;
}
.night-prayer-body p{
  margin:0;
  color:#334155;
  font-size:18px;
  line-height:1.65;
}
.night-prayer-actions button:first-child.active{
  background:linear-gradient(135deg,#ffe8a3,#fff7d6);
  border-color:#f5d36c;
}
@media(max-width:520px){
  .night-prayer-hero{border-radius:22px;padding:16px;}
  .night-prayer-body{border-radius:22px;padding:16px;}
  .night-prayer-body p{font-size:16px;}
}

/* V60 — Etiqueta visible para Oración Nocturna */
.night-prayer-section-title{
  margin: 18px 0 10px;
  color: #f7d27b;
  font-size: 1.02rem;
  letter-spacing: .02em;
}

.night-prayer-copyright{
  margin:8px 0 16px;
  font-size:12px;
  line-height:1.45;
  color:rgba(226,232,240,.76);
  text-align:center;
}
.night-prayer-floating-actions{
  bottom:calc(155px + env(safe-area-inset-bottom))!important;
}
@media(max-width:520px){
  .night-prayer-floating-actions{bottom:calc(14px + env(safe-area-inset-bottom))!important;}
}


/* V63 — Radio Alkance flotante, solo para la app Android */
.alkance-radio-fab-wrap{display:none}
html.alkance-android .alkance-radio-fab-wrap{
  position:fixed;
  right:16px;
  bottom:calc(82px + env(safe-area-inset-bottom));
  z-index:96;
  display:block;
}
html.alkance-android .alkance-radio-fab-wrap[hidden]{display:none}
html.alkance-android .whatsapp-float{
  left:16px!important;
  right:auto!important;
  bottom:calc(82px + env(safe-area-inset-bottom))!important;
}
html.alkance-android .radio-player{display:none!important}
.alkance-radio-fab{
  position:relative;
  width:56px;
  height:56px;
  padding:0;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  background:linear-gradient(145deg,rgba(9,26,48,.44),rgba(27,57,92,.26));
  box-shadow:0 14px 36px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  display:grid;
  place-items:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.alkance-radio-fab:active{transform:scale(.94)}
.alkance-radio-mark{width:38px;height:38px;overflow:visible}
.alkance-radio-a{
  fill:none;
  stroke:rgba(255,255,255,.96);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.34));
}
.alkance-radio-wave{
  fill:none;
  stroke:#ff3b4d;
  stroke-width:4;
  stroke-linecap:round;
  filter:drop-shadow(0 0 5px rgba(255,59,77,.52));
}
.alkance-radio-state{
  position:absolute;
  right:-3px;
  bottom:-3px;
  min-width:20px;
  height:20px;
  padding:0 4px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:10px;
  line-height:1;
  color:#fff;
  background:rgba(4,15,29,.90);
  border:1px solid rgba(255,255,255,.32);
  box-shadow:0 5px 14px rgba(0,0,0,.34);
}
.alkance-radio-fab.is-playing{
  border-color:rgba(255,255,255,.42);
  box-shadow:0 14px 38px rgba(0,0,0,.32),0 0 0 0 rgba(255,59,77,.20),inset 0 1px 0 rgba(255,255,255,.25);
  animation:alkanceRadioBreathe 2.4s ease-in-out infinite;
}
.alkance-radio-fab.is-playing .alkance-radio-wave{animation:alkanceRadioWave 2.4s ease-in-out infinite}
@keyframes alkanceRadioBreathe{
  0%,100%{transform:scale(1);box-shadow:0 14px 38px rgba(0,0,0,.32),0 0 0 0 rgba(255,59,77,.13),inset 0 1px 0 rgba(255,255,255,.25)}
  50%{transform:scale(1.025);box-shadow:0 16px 42px rgba(0,0,0,.34),0 0 0 9px rgba(255,59,77,0),inset 0 1px 0 rgba(255,255,255,.28)}
}
@keyframes alkanceRadioWave{0%,100%{opacity:.72}50%{opacity:1}}
.alkance-radio-tooltip{
  position:absolute;
  right:0;
  bottom:68px;
  width:max-content;
  max-width:min(250px,calc(100vw - 32px));
  padding:11px 14px;
  border-radius:16px;
  color:#fff;
  background:rgba(5,18,34,.78);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 16px 40px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(18px) saturate(135%);
  -webkit-backdrop-filter:blur(18px) saturate(135%);
  opacity:0;
  visibility:hidden;
  transform:translateY(7px) scale(.97);
  transform-origin:bottom right;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.alkance-radio-tooltip strong,.alkance-radio-tooltip small{display:block;white-space:nowrap}
.alkance-radio-tooltip strong{font-size:13px;letter-spacing:.01em}
.alkance-radio-tooltip small{margin-top:3px;color:rgba(226,232,240,.84);font-size:11px}
.alkance-radio-fab-wrap.show-tooltip .alkance-radio-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
@media(min-width:760px){
  html.alkance-android .alkance-radio-fab-wrap{right:max(22px,calc((100vw - 680px)/2 + 8px));bottom:calc(84px + env(safe-area-inset-bottom))}
  html.alkance-android .whatsapp-float{left:max(22px,calc((100vw - 680px)/2 + 8px))!important;bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){
  .alkance-radio-fab,.alkance-radio-wave{animation:none!important;transition:none!important}
}


/* V64 — Pulido de producción. No modifica Radio ni Mensajes. */
.hero-logo{width:clamp(205px,27vw,292px)!important}.hero .eyebrow{font-size:clamp(13px,2vw,17px)!important}.hero-actions-clean{justify-content:center}.hero-radio-cta{padding-left:24px!important;padding-right:24px!important}
.home-paths{max-width:1120px;padding-top:26px;padding-bottom:34px}.home-paths-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-path-card{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e4eaf2;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.08);transition:transform .2s ease,box-shadow .2s ease}.home-path-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.12)}.home-path-card>span{font-size:28px}.home-path-card strong,.home-path-card small{display:block}.home-path-card strong{color:#0f2c4b}.home-path-card small{margin-top:3px;color:#64748b;font-size:12px}
.prayer-line{max-width:1120px;padding-top:54px;padding-bottom:54px}.prayer-line-card{position:relative;overflow:hidden;min-height:430px;display:flex!important;align-items:flex-end!important;padding:44px!important;border-radius:34px;color:#fff;background:linear-gradient(90deg,rgba(4,17,31,.94) 0%,rgba(5,26,48,.82) 55%,rgba(5,22,39,.44) 100%),url('assets/img/iglesia-17.jpg') center 38%/cover no-repeat!important;border:1px solid rgba(255,255,255,.2);box-shadow:0 30px 86px rgba(7,17,31,.3)!important}.prayer-line-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,12,24,.48),transparent 58%);pointer-events:none}.prayer-line-copy{position:relative;z-index:1;max-width:700px}.prayer-line-title{margin:0 0 12px!important;color:#f6d879!important;font-size:clamp(30px,6vw,62px)!important;line-height:.9!important;font-weight:950!important;letter-spacing:-.035em;text-shadow:0 6px 24px rgba(0,0,0,.48)}.prayer-line h2{font-size:clamp(25px,4vw,42px)!important;margin:0 0 12px!important}.prayer-line p:not(.prayer-line-title){font-size:18px;line-height:1.65;color:#e2e8f0;max-width:700px}.prayer-line-button{display:inline-flex;margin-top:8px}.prayer-line small{display:block;margin-top:14px;color:#d7e1ed;font-size:13px}
.agenda-current{max-width:760px;margin:0 auto;background:#fff;border:1px solid #e7ebf3;border-radius:28px;padding:28px;text-align:center;box-shadow:var(--shadow)}.agenda-current>span{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-weight:900;font-size:12px}.agenda-current h3{font-size:28px;margin:16px 0 8px}.agenda-current p{color:#64748b;line-height:1.6}.production-hidden{display:none!important}
.more-menu{max-height:min(70vh,620px);overflow:auto;min-width:260px}.more-menu-title{margin:6px 12px 3px;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.more-menu hr{border:0;border-top:1px solid #e7ebf3;margin:8px 4px}.more-menu a{font-size:14px}.more-menu a[href="privacy-policy.html"]{color:#475569}
.institutional-section[hidden]{display:none!important}.institutional-section{scroll-margin-top:78px}body.institutional-view main > section:not(.institutional-section){display:none!important}body.institutional-view main{padding-top:18px}body.institutional-view .institutional-section:not([hidden]){display:grid!important;min-height:calc(100vh - 110px);align-content:center}.institutional-back{display:inline-flex;align-items:center;justify-content:center;justify-self:start;margin:0 0 22px;padding:12px 17px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#17345e;font-weight:900;box-shadow:0 8px 24px rgba(15,23,42,.08);cursor:pointer}.institutional-back:active{transform:translateY(1px)}
.diario-helper{display:block;margin-top:13px;color:#64748b;line-height:1.5}.devotional-modal{position:fixed;inset:0;z-index:1200;background:rgba(2,8,18,.78);backdrop-filter:blur(12px);overflow:auto;padding:24px}.devotional-modal[hidden]{display:none!important}.devotional-dialog{position:relative;max-width:760px;margin:30px auto;background:#fff;border-radius:30px;padding:36px;box-shadow:0 34px 100px rgba(0,0,0,.42)}.devotional-dialog h2{font-size:clamp(34px,6vw,58px);line-height:.98;margin:5px 0 12px;color:#0f2744}.devotional-dialog h3{font-size:25px;margin:27px 0 10px;color:#173b61}.devotional-dialog p{font-size:17px;line-height:1.72;color:#3e4b5d}.devotional-lead{font-size:20px!important;color:#896818!important;font-weight:800}.devotional-dialog blockquote{margin:26px 0;padding:18px 20px;border-left:5px solid #d7ad4d;background:#f8f4e8;border-radius:0 18px 18px 0;font-size:18px;line-height:1.55}.devotional-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:0;border-radius:50%;background:#edf1f6;color:#17283d;font-size:28px;cursor:pointer}.devotional-actions{display:grid;gap:12px;margin-top:28px}.devotional-download,.devotional-share{display:flex;align-items:center;justify-content:center;padding:15px 20px;border:0;border-radius:999px;font:inherit;font-weight:900;cursor:pointer}.devotional-download{background:linear-gradient(135deg,#0d2c4c,#1d557f);color:#fff;box-shadow:0 14px 34px rgba(13,44,76,.22)}.devotional-share{background:linear-gradient(135deg,#d6aa49,#f1d88e);color:#13283f;box-shadow:0 14px 34px rgba(184,139,43,.22)}.devotional-share-note{min-height:24px;margin:12px 0 0!important;text-align:center;color:#17603a!important;font-size:14px!important;font-weight:800}body.modal-open{overflow:hidden}
.app-closing{position:relative;max-width:none;min-height:470px;margin:30px 0 0;display:grid;place-items:center;overflow:hidden;color:#fff;text-align:center;background:#06111f}.app-closing-bg{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,17,31,.62),rgba(5,17,31,.96)),url('assets/img/hero-principal-nuevo.png') center/cover no-repeat;opacity:.82}.app-closing-content{position:relative;z-index:1;max-width:760px;padding:70px 22px 150px}.app-closing-content img{width:150px;margin:0 auto 18px;filter:drop-shadow(0 18px 34px rgba(0,0,0,.4))}.app-closing-kicker{margin:0 0 8px;color:#efd477;font-size:13px;font-weight:900;letter-spacing:.18em}.app-closing h2{font-size:clamp(34px,6vw,60px);line-height:1;margin:0 0 16px}.app-closing-content>p:not(.app-closing-kicker){font-size:18px;line-height:1.65;color:#dbe5f1}.app-closing-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:24px 0}.app-closing-actions a{padding:12px 16px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px);font-weight:800}.app-closing small{color:#aebed1}body.institutional-view .app-closing{display:none!important}
@media(min-width:760px){.home-paths-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){.hero{min-height:78vh}.hero-logo{width:210px!important}.hero-content{padding:24px 18px}.hero .eyebrow{font-size:12.5px!important}.home-paths{padding-left:14px;padding-right:14px}.prayer-line{padding-left:14px;padding-right:14px}.prayer-line-card{min-height:460px;padding:28px 22px!important;background-position:62% center!important;border-radius:28px}.prayer-line-title{font-size:42px!important}.more-menu{left:14px;right:14px;min-width:0}body.institutional-view main{padding-top:8px}.institutional-back{margin-bottom:16px;padding:11px 15px}.institutional-section:not([hidden]){padding-top:24px!important;padding-bottom:90px!important}.devotional-modal{padding:10px}.devotional-dialog{margin:12px auto;padding:30px 20px 24px;border-radius:24px}.devotional-close{right:12px;top:10px}.app-closing-content{padding-bottom:145px}.app-closing-content img{width:130px}}


/* V66 — Historia institucional, política interna y cierre final */
.about-alkance{display:block!important;max-width:1120px;margin:0 auto}.about-alkance-head{max-width:820px;margin:0 auto 28px;text-align:center}.about-alkance-head h2{font-size:clamp(40px,7vw,72px);margin:4px 0 16px}.about-alkance-head p{font-size:18px;line-height:1.7;color:#526176}.about-hero,.about-wide,.about-photo{margin:0;overflow:hidden;border-radius:30px;box-shadow:var(--shadow);background:#e8edf4}.about-hero img{width:100%;height:min(66vh,650px);object-fit:cover;object-position:center 42%}.about-story-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;margin:38px 0}.about-story-copy{padding:10px 6px}.about-story-copy h3,.about-pillars h3{font-size:28px;margin:0 0 12px;color:#17345e}.about-story-copy p{font-size:17px;line-height:1.75;color:#526176}.about-photo img{width:100%;height:420px;object-fit:cover}.about-pillars{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:34px 0}.about-pillars article{padding:28px;border-radius:26px;background:linear-gradient(145deg,#fff,#f4f7fb);border:1px solid #e1e8f1;box-shadow:0 14px 34px rgba(15,23,42,.07)}.about-pillars span{font-size:32px}.about-pillars p{line-height:1.7;color:#526176}.about-wide img{width:100%;height:min(58vh,540px);object-fit:cover;object-position:center}.about-closing{max-width:880px;margin:34px auto 0;text-align:center}.about-closing>p{font-size:22px;font-weight:800;color:#17345e}.about-closing blockquote{margin:22px 0 0;padding:28px;border-radius:26px;background:#081a30;color:#fff;line-height:1.75;box-shadow:var(--shadow)}.about-closing blockquote strong{display:inline-block;margin-top:10px;color:#f3c969}.privacy-internal{display:block!important;max-width:980px;margin:0 auto}.privacy-internal-card{background:#fff;border:1px solid #e2e8f0;border-radius:30px;padding:34px;box-shadow:var(--shadow)}.privacy-internal-card h2{font-size:clamp(36px,6vw,58px);margin:4px 0 18px;color:#17345e}.privacy-internal-card h3{margin:28px 0 8px;color:#815f0f}.privacy-internal-card p,.privacy-internal-card li{color:#526176;line-height:1.75}.privacy-internal-card a{color:#1d4ed8;font-weight:800}.app-closing-bg{background:linear-gradient(180deg,rgba(5,17,31,.48),rgba(5,17,31,.94)),url('assets/img/cierre-alkance-adoracion.png') center/cover no-repeat!important;opacity:.95}.app-closing-motto{font-weight:900;color:#f3c969!important;letter-spacing:.02em}.more-menu a[href="#politica"]{color:#475569}
@media(max-width:760px){.about-story-grid,.about-pillars{grid-template-columns:1fr}.about-hero img{height:470px}.about-photo img{height:330px}.about-wide img{height:360px}.about-alkance-head{text-align:left}.privacy-internal-card{padding:26px 20px}.about-closing blockquote{padding:24px 20px}}
body.institutional-view .about-alkance:not([hidden]),body.institutional-view .privacy-internal:not([hidden]){display:block!important;align-content:initial}


/* V68 — Agenda Alkance y programación oficial de Radio */
.radio-schedule{max-width:1120px;margin:38px auto 0;display:grid;grid-template-columns:1fr;gap:18px}
.radio-program-card{overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.055));box-shadow:0 20px 55px rgba(0,0,0,.24);backdrop-filter:blur(12px)}
.radio-program-image{position:relative;height:190px;overflow:hidden}
.radio-program-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,12,27,.04),rgba(4,12,27,.72))}
.radio-program-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.radio-program-card:hover .radio-program-image img{transform:scale(1.035)}
.radio-status{position:absolute;z-index:2;top:16px;left:16px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(6,18,39,.84);border:1px solid rgba(255,255,255,.20);color:#eef5ff;font-weight:900;font-size:11px;letter-spacing:.05em;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.radio-status.is-live,.radio-status.is-replay{background:rgba(153,18,25,.94);border-color:rgba(255,165,165,.62);color:#fff}
.radio-status.is-live:before,.radio-status.is-replay:before{content:"";width:9px;height:9px;border-radius:50%;background:#ff3b3b;box-shadow:0 0 0 0 rgba(255,59,59,.75);animation:alkanceLivePulse 1.5s infinite}
.radio-status.is-replay{background:rgba(126,50,15,.94)}
.radio-status.is-replay:before{background:#ffb43b;box-shadow:0 0 0 0 rgba(255,180,59,.72)}
@keyframes alkanceLivePulse{0%{box-shadow:0 0 0 0 currentColor}65%{box-shadow:0 0 0 9px transparent}100%{box-shadow:0 0 0 0 transparent}}
.radio-program-content{padding:23px 23px 25px}
.radio-program-content h3{margin:4px 0 9px;color:#fff;font-size:25px}
.radio-program-content p{margin:7px 0;color:#d6e2f5;font-size:15px;line-height:1.55}
.radio-program-kicker{color:#e8c875!important;font-weight:900;letter-spacing:.09em;font-size:11px!important}
.radio-program-time{font-weight:900;color:#fff!important}
.radio-program-repeat{color:#f5d98c!important;font-weight:800}

.agenda-section{background:linear-gradient(180deg,#f8fafc,#eef3f8);border-radius:36px}
.agenda-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:22px}
.agenda-event-card{overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:30px;box-shadow:0 20px 55px rgba(15,23,42,.10)}
.agenda-event-image{position:relative;height:260px;overflow:hidden}
.agenda-event-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,16,34,.74))}
.agenda-event-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}
.agenda-event-card:hover .agenda-event-image img{transform:scale(1.035)}
.agenda-event-image span{position:absolute;z-index:2;left:18px;bottom:17px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.92);color:#17345e;font-size:11px;font-weight:900;letter-spacing:.08em}
.agenda-event-content{padding:26px}
.agenda-event-label{margin:0;color:#946d16;font-size:11px;font-weight:900;letter-spacing:.10em}
.agenda-event-content h3{margin:7px 0 14px;color:#102b4d;font-size:clamp(27px,4vw,37px)}
.agenda-event-date,.agenda-event-time{margin:7px 0;color:#17345e;font-weight:900}
.agenda-event-content>p:last-of-type{color:#64748b;line-height:1.6}
.calendar-button{width:100%;margin-top:12px;padding:13px 16px;border:1px solid #d8b45a;border-radius:16px;background:linear-gradient(135deg,#fffaf0,#f7ecd0);color:#63470c;font-weight:900;cursor:pointer;box-shadow:0 10px 28px rgba(142,104,21,.11)}
.calendar-button:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(142,104,21,.16)}
.calendar-button:active{transform:translateY(0)}

@media(min-width:760px){
  .radio-schedule{grid-template-columns:repeat(3,1fr)}
  .radio-program-image{height:175px}
  .agenda-grid{grid-template-columns:repeat(2,1fr)}
}


/* V68.2 — Sincronización visual de Radio y posición estable en Android */
html.alkance-android .whatsapp-float{
  position:fixed!important;
  right:auto!important;
  margin:0!important;
  transform:none!important;
}
html.alkance-android .whatsapp-float:hover,
html.alkance-android .whatsapp-float:active,
html.alkance-android .whatsapp-float:focus{
  transform:none!important;
}
@media(min-width:760px){
  html.alkance-android .whatsapp-float{
    left:max(22px,calc((100vw - 680px)/2 + 8px))!important;
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }
}
@media(max-width:759px){
  html.alkance-android .whatsapp-float{
    left:16px!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }
}


/* V69 — Radio premium, onboarding y campañas. No altera la lógica de reproducción. */
.radio-schedule-premium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.radio-program-premium{position:relative;min-height:430px;background:#07111f;isolation:isolate;transform:translateZ(0)}
.radio-program-premium .radio-program-image{position:absolute;inset:0;height:100%;z-index:0}
.radio-program-premium .radio-program-image img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.08) contrast(1.05) brightness(.94);transform:scale(1.015)}
.radio-program-premium .radio-program-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,10,24,.08) 0%,rgba(3,10,24,.18) 30%,rgba(3,10,24,.78) 68%,rgba(3,10,24,.97) 100%),radial-gradient(circle at 78% 12%,rgba(255,255,255,.15),transparent 34%);z-index:1}
.radio-program-premium .radio-program-image:after{background:linear-gradient(180deg,rgba(3,10,24,.05),rgba(3,10,24,.52))}
.radio-program-premium .radio-program-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;min-height:430px;padding:118px 24px 26px;text-shadow:0 2px 16px rgba(0,0,0,.52)}
.radio-program-premium .radio-program-content h3{font-size:28px;line-height:1.05;margin:7px 0 10px}
.radio-program-premium .radio-program-content p{color:rgba(255,255,255,.9);margin:6px 0;line-height:1.48}
.radio-program-premium .radio-program-kicker{color:#f2cf78!important;font-size:12px!important;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.radio-program-premium .radio-program-time,.radio-program-premium .radio-program-repeat{font-size:13.5px!important;font-weight:800}
.radio-program-premium .radio-status{z-index:3;top:18px;left:18px;right:auto;box-shadow:0 10px 28px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.radio-program-premium:hover .radio-program-image img{transform:scale(1.055)}

.alkance-onboarding,.alkance-welcome,.alkance-campaign{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:center;justify-content:center;padding:20px}
.alkance-onboarding[hidden],.alkance-welcome[hidden],.alkance-campaign[hidden]{display:none!important}
.alkance-onboarding-dim{position:absolute;inset:0;background:rgba(2,8,19,.56);backdrop-filter:blur(2px);animation:alkanceFadeIn .32s ease both}
.alkance-spotlight{position:fixed;z-index:2;border-radius:24px;box-shadow:0 0 0 9999px rgba(2,8,19,.58),0 0 0 3px rgba(242,201,105,.98),0 0 38px rgba(242,201,105,.9),inset 0 0 24px rgba(242,201,105,.16);pointer-events:none;transition:all .46s cubic-bezier(.2,.8,.2,1);animation:alkanceSpotlightPulse 1.65s ease-in-out infinite}
.alkance-onboarding-arrow{position:fixed;z-index:4;height:4px;width:120px;border:0;border-radius:999px;background:linear-gradient(90deg,rgba(242,201,105,.08),rgba(242,201,105,.95) 54%,#fff0a8);transform-origin:0 50%;filter:drop-shadow(0 0 8px rgba(242,201,105,.9));transition:left .46s cubic-bezier(.2,.8,.2,1),top .46s cubic-bezier(.2,.8,.2,1),width .46s cubic-bezier(.2,.8,.2,1),transform .46s cubic-bezier(.2,.8,.2,1);pointer-events:none;animation:alkanceArrowGlow 1.1s ease-in-out infinite alternate}
.alkance-onboarding-arrow::after{content:"";position:absolute;right:-2px;top:50%;width:16px;height:16px;border-top:4px solid #fff0a8;border-right:4px solid #fff0a8;transform:translateY(-50%) rotate(45deg);filter:drop-shadow(0 0 7px rgba(242,201,105,.95))}
@keyframes alkanceArrowGlow{from{opacity:.72;filter:drop-shadow(0 0 5px rgba(242,201,105,.55))}to{opacity:1;filter:drop-shadow(0 0 13px rgba(242,201,105,1))}}
@keyframes alkanceSpotlightPulse{0%,100%{box-shadow:0 0 0 9999px rgba(2,8,19,.58),0 0 0 3px rgba(242,201,105,.92),0 0 28px rgba(242,201,105,.62),inset 0 0 18px rgba(242,201,105,.12)}50%{box-shadow:0 0 0 9999px rgba(2,8,19,.58),0 0 0 4px rgba(255,225,146,1),0 0 48px rgba(242,201,105,.98),inset 0 0 28px rgba(242,201,105,.22)}}

.alkance-onboarding-card{position:fixed;z-index:5;width:min(390px,calc(100vw - 34px));background:radial-gradient(circle at 50% 0,rgba(242,201,105,.12),transparent 38%),linear-gradient(160deg,rgba(15,30,52,.985),rgba(7,17,31,.99));border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:26px 24px 23px;color:#fff;box-shadow:0 30px 100px rgba(0,0,0,.62),0 0 0 1px rgba(242,201,105,.05);animation:alkanceCardIn .38s cubic-bezier(.2,.8,.2,1) both;transition:top .46s cubic-bezier(.2,.8,.2,1),left .46s cubic-bezier(.2,.8,.2,1);will-change:top,left}
.alkance-onboarding-skip{position:absolute;right:17px;top:15px;border:0;background:transparent;color:#b9c8dd;font-weight:800}
.alkance-onboarding-step{color:#f2c969;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.alkance-onboarding-icon{font-size:38px;margin:14px 0 8px}
.alkance-onboarding-card h2{font-size:25px;line-height:1.14;margin:0 0 9px;color:#fff}
.alkance-onboarding-card p{margin:0;color:#dbe7f5;line-height:1.58}
.alkance-onboarding-dots{display:flex;gap:7px;margin:20px 0}
.alkance-onboarding-dots i{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.28);transition:.25s}
.alkance-onboarding-dots i.active{width:23px;background:#f2c969}
.alkance-onboarding-next{width:100%;border:0;border-radius:16px;padding:13px 18px;background:linear-gradient(135deg,#f1c86d,#dca944);color:#07111f;font-weight:950;font-size:15px;box-shadow:0 12px 30px rgba(220,169,68,.22)}

.alkance-welcome{background:rgba(2,8,19,.82);backdrop-filter:blur(9px);animation:alkanceFadeIn .35s ease both}
.alkance-welcome-card{text-align:center;width:min(410px,calc(100vw - 34px));padding:36px 28px 30px;border-radius:30px;background:radial-gradient(circle at 50% 0,rgba(242,201,105,.16),transparent 42%),linear-gradient(160deg,#10223a,#07111f);color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:0 32px 100px rgba(0,0,0,.58);animation:alkanceCardIn .4s cubic-bezier(.2,.8,.2,1) both}
.alkance-welcome-spark{font-size:46px}.alkance-welcome-card h2{font-size:29px;margin:10px 0 8px}.alkance-welcome-card p{color:#dbe7f5;line-height:1.55;margin:0 0 8px}.alkance-welcome-card small{display:block;color:#f2c969;font-weight:900;margin-bottom:23px}.alkance-welcome-card button{border:0;border-radius:16px;padding:13px 24px;background:linear-gradient(135deg,#f1c86d,#dca944);color:#07111f;font-weight:950;min-width:180px}

.alkance-campaign{background:rgba(2,8,19,.74);backdrop-filter:blur(8px);animation:alkanceFadeIn .35s ease both}
.alkance-campaign-card{position:relative;width:min(460px,calc(100vw - 28px));overflow:hidden;border-radius:30px;background:#081522;color:#fff;border:1px solid rgba(255,255,255,.15);box-shadow:0 35px 110px rgba(0,0,0,.62);animation:alkanceCardIn .42s cubic-bezier(.2,.8,.2,1) both}
.alkance-campaign-close{position:absolute;z-index:4;top:13px;right:14px;width:38px;height:38px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(3,10,24,.58);color:#fff;font-size:27px;line-height:1;backdrop-filter:blur(10px)}
.alkance-campaign-media{position:relative;height:225px;overflow:hidden}.alkance-campaign-media img{width:100%;height:100%;object-fit:cover;display:block}.alkance-campaign-media-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,10,24,.03),rgba(3,10,24,.82))}
.alkance-campaign-copy{padding:23px 24px 24px}.alkance-campaign-eyebrow{margin:0 0 7px;color:#f2c969;font-size:12px;font-weight:950;letter-spacing:.14em}.alkance-campaign-copy h2{margin:0 0 10px;font-size:27px;line-height:1.08}.alkance-campaign-copy>p:not(.alkance-campaign-eyebrow){color:#dce7f4;line-height:1.55;margin:0}.alkance-campaign-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:21px}.alkance-campaign-actions button{border-radius:15px;padding:12px 14px;font-weight:900}.alkance-campaign-primary{border:0;background:linear-gradient(135deg,#f1c86d,#dca944);color:#07111f}.alkance-campaign-secondary{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff}.alkance-campaign-timer{height:3px;background:rgba(255,255,255,.1);margin-top:17px;border-radius:999px;overflow:hidden}.alkance-campaign-timer span{display:block;height:100%;width:100%;background:#f2c969;transform-origin:left;animation:alkanceCampaignCountdown 10s linear forwards}

@keyframes alkanceFadeIn{from{opacity:0}to{opacity:1}}@keyframes alkanceCardIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}@keyframes alkanceCampaignCountdown{from{transform:scaleX(var(--campaign-from,1))}to{transform:scaleX(0)}}
@media(max-width:900px){.radio-schedule-premium{grid-template-columns:1fr}.radio-program-premium,.radio-program-premium .radio-program-content{min-height:410px}}
@media(max-width:520px){.radio-program-premium,.radio-program-premium .radio-program-content{min-height:390px}.radio-program-premium .radio-program-content{padding:105px 20px 22px}.radio-program-premium .radio-program-content h3{font-size:26px}.alkance-campaign-media{height:205px}.alkance-campaign-actions{grid-template-columns:1fr}.alkance-onboarding-card{padding:24px 21px 21px}}

/* V69.2 — Tutorial más visible y navegación por gesto. */
.alkance-onboarding-card{touch-action:pan-y}
.alkance-onboarding-dots::after{
  content:"Desliza para avanzar o regresar";
  margin-left:auto;
  color:rgba(219,231,245,.72);
  font-size:11px;
  font-weight:750;
  letter-spacing:.01em;
  align-self:center;
}
@media (max-width:420px){
  .alkance-onboarding-dots::after{font-size:10px}
}


/* V70 — Asistente Bíblico Alkance */
.biblical-assistant-feature{max-width:1040px;margin:28px auto 30px}.biblical-assistant-launcher{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:20px 22px;border:1px solid rgba(31,78,121,.14);border-radius:26px;background:linear-gradient(135deg,#f7fbff 0%,#edf6ff 47%,#fffaf0 100%);box-shadow:0 18px 48px rgba(15,42,70,.11);text-align:left;color:#102b4d;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.biblical-assistant-launcher:hover{transform:translateY(-2px);box-shadow:0 24px 56px rgba(15,42,70,.15)}.biblical-assistant-icon{width:66px;height:66px;border-radius:20px;display:grid;place-items:center;background:#fff;box-shadow:0 10px 24px rgba(22,58,91,.12)}.biblical-assistant-icon img{width:50px;height:50px}.biblical-assistant-launcher-copy{display:grid;gap:3px}.biblical-assistant-launcher-copy small{font-size:10px;font-weight:950;letter-spacing:.12em;color:#9a6b13}.biblical-assistant-launcher-copy strong{font-size:clamp(22px,3.7vw,31px);line-height:1.05}.biblical-assistant-launcher-copy span{font-size:14px;color:#58708b;font-weight:700}.biblical-assistant-launcher-arrow{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#123b63;color:#fff;font-size:22px}.biblical-assistant-workspace{border:1px solid #dde8f3;border-radius:30px;background:linear-gradient(180deg,#fff,#f7faff);box-shadow:0 25px 70px rgba(15,42,70,.12);overflow:hidden}.biblical-assistant-workspace[hidden]{display:none!important}.biblical-assistant-header{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px 18px;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e5edf5}.biblical-assistant-back{width:42px;height:42px;border:1px solid #d8e3ee;border-radius:14px;background:#f7fafc;color:#173b61;font-size:21px;font-weight:900}.biblical-assistant-brand{display:flex;gap:10px;align-items:center}.biblical-assistant-brand img{width:42px;height:42px}.biblical-assistant-brand small{display:block;font-size:8px;font-weight:950;letter-spacing:.11em;color:#9a6b13}.biblical-assistant-brand h3{margin:2px 0 0;font-size:17px;color:#102b4d}.biblical-assistant-online{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900;color:#365870}.biblical-assistant-online i{width:8px;height:8px;border-radius:50%;background:#2b9c62;box-shadow:0 0 0 4px rgba(43,156,98,.12)}.biblical-assistant-intro{padding:30px 28px 18px;text-align:center;max-width:780px;margin:auto}.biblical-assistant-intro h2{margin:5px 0 10px;font-size:clamp(31px,5vw,48px);color:#102b4d;line-height:1.02}.biblical-assistant-intro>p:last-child{color:#60748b;line-height:1.65;margin:0}.biblical-assistant-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:8px 22px 26px}.biblical-assistant-categories button{min-height:132px;padding:16px 14px;border:1px solid #e1eaf3;border-radius:20px;background:#fff;text-align:left;box-shadow:0 8px 24px rgba(20,51,80,.06);color:#173b61;cursor:pointer;transition:.2s}.biblical-assistant-categories button:hover{transform:translateY(-2px);border-color:#bfd2e4}.biblical-assistant-categories button>span{font-size:27px;display:block;margin-bottom:9px}.biblical-assistant-categories strong{display:block;font-size:14px;margin-bottom:4px}.biblical-assistant-categories small{display:block;color:#71839a;line-height:1.35;font-size:11px}.biblical-assistant-chat{margin:0 22px;padding:24px;min-height:260px;max-height:58vh;overflow:auto;border:1px solid #e2ebf4;border-radius:24px;background:linear-gradient(180deg,#f7faff,#fff)}.assistant-message{display:flex;gap:10px;margin:0 0 18px;align-items:flex-start}.assistant-message-user{justify-content:flex-end}.assistant-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#fff;display:grid;place-items:center;box-shadow:0 6px 15px rgba(15,42,70,.09)}.assistant-avatar img{width:28px;height:28px}.assistant-bubble{max-width:min(760px,86%);padding:15px 17px;border-radius:19px;color:#33485f;line-height:1.58;font-size:14px}.assistant-message-alkance .assistant-bubble{background:#fff;border:1px solid #e1eaf3;border-top-left-radius:6px;box-shadow:0 8px 22px rgba(15,42,70,.06)}.assistant-message-user .assistant-bubble{background:#143e66;color:#fff;border-top-right-radius:6px}.assistant-bubble p{margin:0 0 10px}.assistant-bubble p:last-child{margin-bottom:0}.assistant-bubble ul,.assistant-bubble ol{margin:7px 0 10px;padding-left:20px}.assistant-answer-actions{display:flex;gap:8px;margin-top:13px;padding-top:10px;border-top:1px solid #edf1f5}.assistant-answer-actions button{border:0;border-radius:999px;background:#f1f5f9;color:#38516a;padding:7px 10px;font-size:11px;font-weight:850}.biblical-assistant-status{min-height:27px;padding:8px 28px 0;color:#58708b;font-size:12px;font-weight:700}.assistant-thinking{display:inline-flex;gap:3px}.assistant-thinking i{width:5px;height:5px;border-radius:50%;background:#58708b;animation:assistantDot 1s infinite ease-in-out}.assistant-thinking i:nth-child(2){animation-delay:.15s}.assistant-thinking i:nth-child(3){animation-delay:.3s}@keyframes assistantDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.biblical-assistant-composer{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin:8px 22px 0;padding:10px;border:1px solid #cfdeeb;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(15,42,70,.08)}.biblical-assistant-composer textarea{resize:none;min-height:44px;max-height:150px;border:0;outline:0;padding:11px 10px;background:transparent;font:inherit;font-size:15px;line-height:1.45;color:#1d344c}.biblical-assistant-composer button{width:46px;height:46px;border:0;border-radius:15px;background:linear-gradient(135deg,#123b63,#235d8d);color:#fff;font-size:20px;box-shadow:0 8px 18px rgba(18,59,99,.22)}.biblical-assistant-composer button:disabled{opacity:.45}.biblical-assistant-footnote{display:flex;justify-content:space-between;gap:14px;padding:11px 27px 24px;color:#7b8da1;font-size:10px}.palabra-section.assistant-mode .palabra-tabs,.palabra-section.assistant-mode>.palabra-shell>.palabra-card{display:none!important}.alkance-campaign.is-paused .alkance-campaign-card:after{content:"Mantén presionado para leer · pausa activa";position:absolute;left:50%;bottom:8px;z-index:8;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:rgba(2,8,19,.72);color:#fff;font-size:9px;font-weight:850;white-space:nowrap;pointer-events:none}
@media(max-width:760px){.biblical-assistant-categories{grid-template-columns:repeat(2,1fr)}.biblical-assistant-online{display:none}.biblical-assistant-header{grid-template-columns:auto 1fr}.biblical-assistant-launcher{grid-template-columns:auto 1fr;padding:17px}.biblical-assistant-launcher-arrow{display:none}.biblical-assistant-icon{width:58px;height:58px}.biblical-assistant-icon img{width:44px;height:44px}.biblical-assistant-intro{padding:25px 19px 15px}.biblical-assistant-categories{padding:8px 14px 20px;gap:9px}.biblical-assistant-categories button{min-height:122px;padding:14px 12px}.biblical-assistant-chat{margin:0 12px;padding:16px;max-height:54vh}.assistant-bubble{max-width:89%;font-size:13.5px}.biblical-assistant-composer{margin:8px 12px 0}.biblical-assistant-footnote{padding:10px 15px 20px;display:grid;gap:4px;text-align:center}}

/* V71 — Acompañamiento humano dentro del Asistente Bíblico */
.biblical-assistant-header-actions{display:flex;align-items:center;gap:10px;position:relative}
.assistant-support-menu-btn{width:38px;height:38px;border:1px solid #d9e4ee;border-radius:13px;background:#f8fbfd;color:#173b61;font-size:24px;line-height:1;cursor:pointer}
.assistant-support-menu{position:absolute;right:0;top:46px;z-index:20;min-width:235px;padding:8px;border:1px solid #dce6ef;border-radius:17px;background:#fff;box-shadow:0 18px 45px rgba(15,42,70,.16)}
.assistant-support-menu[hidden]{display:none!important}
.assistant-support-menu a{display:block;padding:11px 12px;border-radius:11px;color:#244762;text-decoration:none;font-size:12px;font-weight:800}
.assistant-support-menu a:hover{background:#f2f7fb}
.assistant-pastoral-cta{margin:15px 0 2px;padding:15px;border:1px solid #d8e7f0;border-radius:17px;background:linear-gradient(135deg,#f5fbff,#fffaf2)}
.assistant-pastoral-cta>div{display:grid;gap:4px}
.assistant-pastoral-cta strong{color:#173b61;font-size:13px}
.assistant-pastoral-cta span{color:#667b8f;font-size:11px;line-height:1.45}
.assistant-pastoral-cta a{display:inline-flex;margin-top:11px;padding:9px 12px;border-radius:999px;background:#173f66;color:#fff;text-decoration:none;font-size:11px;font-weight:900}
@media(max-width:760px){.assistant-support-menu{right:-2px;min-width:220px}.assistant-pastoral-cta a{width:100%;justify-content:center}}


/* V72 — Asistente Bíblico Alkance como sección premium independiente */
.assistant-premium-section{padding:78px 20px;background:radial-gradient(circle at 82% 18%,rgba(129,201,255,.22),transparent 28%),radial-gradient(circle at 18% 82%,rgba(255,220,150,.20),transparent 25%),linear-gradient(180deg,#f7fbff 0%,#fff 58%,#f8fbfe 100%);overflow:hidden}
.assistant-premium-shell{max-width:1160px;margin:auto}
.assistant-premium-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:54px;align-items:center;padding:52px;border:1px solid rgba(45,93,133,.12);border-radius:38px;background:rgba(255,255,255,.78);box-shadow:0 30px 90px rgba(20,55,86,.12);backdrop-filter:blur(18px)}
.assistant-premium-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:15px;color:#35698e;font-size:10px;font-weight:950;letter-spacing:.16em}.assistant-premium-kicker span{display:grid;place-items:center;width:25px;height:25px;border-radius:9px;background:#e9f5ff;color:#225d87}
.assistant-premium-copy h2{margin:0;color:#102d49;font-size:clamp(42px,5.6vw,68px);line-height:.96;letter-spacing:-.045em}.assistant-premium-copy h2 em{display:block;color:#2b6d9b;font-style:normal;font-weight:650}
.assistant-premium-lead{max-width:690px;margin:20px 0 22px;color:#587188;font-size:17px;line-height:1.68}
.assistant-premium-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}.assistant-premium-pills span{padding:9px 12px;border:1px solid #dbe9f3;border-radius:999px;background:#fff;color:#35546d;font-size:11px;font-weight:850;box-shadow:0 5px 15px rgba(22,61,91,.05)}
.assistant-premium-cta{display:inline-flex;align-items:center;gap:18px;padding:15px 17px 15px 21px;border:0;border-radius:17px;background:linear-gradient(135deg,#123c62,#276f9e);color:#fff;font-size:14px;font-weight:950;box-shadow:0 14px 28px rgba(20,67,103,.24);cursor:pointer}.assistant-premium-cta b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.16);font-size:18px}.assistant-premium-cta:hover{transform:translateY(-2px)}
.assistant-premium-principle{display:grid;gap:4px;max-width:650px;margin-top:23px;padding-left:14px;border-left:3px solid #8bbbd9}.assistant-premium-principle strong{color:#244a67;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.assistant-premium-principle span{color:#718497;font-size:11px;line-height:1.5;font-style:italic}
.assistant-premium-visual{position:relative;min-height:410px;display:grid;place-items:center}.assistant-visual-halo{position:absolute;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,#dff2ff 0%,rgba(223,242,255,.5) 45%,transparent 70%);filter:blur(3px)}
.assistant-visual-card{position:relative;z-index:2;width:min(330px,88%);padding:25px;border:1px solid rgba(55,106,145,.16);border-radius:31px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,248,255,.94));box-shadow:0 28px 65px rgba(21,62,94,.18);transform:rotate(2deg)}
.assistant-visual-badge{font-size:8px;font-weight:950;letter-spacing:.15em;color:#6c8395}.assistant-visual-icon{width:92px;height:92px;margin:23px auto 20px;display:grid;place-items:center;border-radius:28px;background:#fff;box-shadow:0 14px 35px rgba(30,78,113,.13)}.assistant-visual-icon img{width:72px;height:72px}.assistant-visual-question{padding:13px 14px;border-radius:15px 15px 5px 15px;background:#173f64;color:#fff;font-size:12px;font-weight:800}.assistant-visual-answer{display:grid;gap:7px;margin:13px 0 19px;padding:15px;border-radius:5px 15px 15px;background:#fff;border:1px solid #e5edf4}.assistant-visual-answer i{width:7px;height:7px;border-radius:50%;background:#3d9b70}.assistant-visual-answer span{display:block;height:6px;border-radius:999px;background:#dce8f0}.assistant-visual-answer span:nth-of-type(2){width:84%}.assistant-visual-answer span:nth-of-type(3){width:64%}.assistant-visual-footer{text-align:center;color:#8295a5;font-size:8px;font-weight:950;letter-spacing:.18em}
.assistant-float-chip{position:absolute;z-index:3;padding:9px 12px;border:1px solid #dbe8f1;border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(18,57,86,.12);color:#35556e;font-size:10px;font-weight:900}.chip-one{left:1%;top:21%}.chip-two{right:-1%;top:34%}.chip-three{left:8%;bottom:18%}
.assistant-premium-section .biblical-assistant-workspace{margin-top:24px}.assistant-premium-section.assistant-mode .assistant-premium-hero{display:none}.assistant-premium-section.assistant-mode{padding-top:34px}
.home-path-card-assistant{position:relative;grid-column:span 2;background:linear-gradient(135deg,#f2f9ff,#fffaf0)!important;border-color:#cfe1ee!important}.home-path-card-assistant .home-assistant-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff;box-shadow:0 7px 18px rgba(20,58,87,.09)}.home-path-card-assistant .home-assistant-mark img{width:34px;height:34px}.home-path-card-assistant>b{margin-left:auto;padding:5px 7px;border-radius:8px;background:#e6f4ff;color:#25658e;font-size:8px;letter-spacing:.08em}
/* old launcher is no longer used in V72 */
.biblical-assistant-launcher{display:none!important}
@media(max-width:800px){.assistant-premium-section{padding:54px 14px}.assistant-premium-hero{grid-template-columns:1fr;padding:31px 22px;gap:24px;border-radius:30px}.assistant-premium-copy h2{font-size:clamp(40px,13vw,58px)}.assistant-premium-lead{font-size:15px}.assistant-premium-visual{min-height:335px}.assistant-visual-card{width:min(300px,84%)}.assistant-float-chip{font-size:9px}.chip-one{left:0}.chip-two{right:0}.chip-three{left:4%;bottom:11%}.assistant-premium-cta{width:100%;justify-content:space-between}.home-path-card-assistant{grid-column:span 2}}

/* V74 — acceso premium visible en menú */
.more-menu-assistant{display:flex!important;align-items:center;gap:7px;background:linear-gradient(135deg,#eef8ff,#fff8e8);color:#173f66!important;border:1px solid #d7e7f1;margin:3px 0 8px}
.more-menu-assistant small{margin-left:auto;padding:4px 6px;border-radius:7px;background:#173f66;color:#fff;font-size:8px;letter-spacing:.08em}

/* V75 — compartir robusto, visuales generados y corrección móvil del Asistente */
.alkance-share-sheet{position:fixed;inset:0;z-index:10050}.alkance-share-sheet[hidden]{display:none!important}.alkance-share-backdrop{position:absolute;inset:0;background:rgba(4,17,31,.48);backdrop-filter:blur(4px)}.alkance-share-panel{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);width:min(520px,calc(100% - 24px));padding:12px 16px 16px;border:1px solid #dbe6ef;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(5,25,45,.28);color:#173b61}.alkance-share-handle{width:42px;height:4px;border-radius:999px;background:#d6e0e8;margin:2px auto 12px}.alkance-share-panel h3{margin:0;text-align:center;font-size:18px}.alkance-share-panel>p{margin:5px 0 15px;text-align:center;color:#71839a;font-size:12px}.alkance-share-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.alkance-share-options button{min-height:72px;border:1px solid #e2eaf1;border-radius:17px;background:#f8fbfd;color:#173b61;font-size:20px;font-weight:800}.alkance-share-options button span{display:block;margin-top:5px;font-size:10px}.alkance-share-cancel{width:100%;margin-top:10px;padding:11px;border:0;border-radius:15px;background:#eef3f7;color:#38516a;font-weight:850}
.assistant-generated-visual{margin-top:15px;padding:10px;border:1px solid #dae6ef;border-radius:20px;background:#f8fbfd}.assistant-generated-visual>img{width:100%;border-radius:15px;background:#eaf1f6}.assistant-visual-label{padding:3px 2px 9px;color:#173b61;font-size:11px;font-weight:900}.assistant-visual-actions{display:flex;gap:8px;margin-top:10px}.assistant-visual-actions button{flex:1;border:0;border-radius:13px;background:#173f66;color:#fff;padding:10px 9px;font-size:11px;font-weight:900}.assistant-generated-visual small{display:block;margin-top:8px;color:#71839a;font-size:9px;line-height:1.4}.assistant-image-pending{margin-top:12px;padding:12px;border-radius:14px;background:#eef6fb;color:#3e627d;font-size:11px;font-weight:800}.assistant-create-visual{background:#e8f3fa!important;color:#174e75!important}
@media(max-width:760px){
  .biblical-assistant-header{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto!important;padding:11px 10px!important;gap:7px!important;align-items:center!important}
  .biblical-assistant-back{grid-column:1;grid-row:1;width:38px;height:38px;border-radius:13px}
  .biblical-assistant-brand{grid-column:2;grid-row:1;min-width:0;gap:7px}
  .biblical-assistant-brand img{width:34px;height:34px;flex:0 0 34px}
  .biblical-assistant-brand>div{min-width:0}
  .biblical-assistant-brand small{font-size:6.5px;letter-spacing:.07em;white-space:nowrap}
  .biblical-assistant-brand h3{font-size:13px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:138px}
  .biblical-assistant-header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:5px;position:relative}
  .biblical-assistant-online{display:flex!important;font-size:8px!important;gap:4px!important;white-space:nowrap;padding:5px 7px;border-radius:999px;background:#f2f8f5}
  .biblical-assistant-online i{width:6px!important;height:6px!important;box-shadow:0 0 0 3px rgba(43,156,98,.1)!important}
  .assistant-support-menu-btn{width:36px;height:36px;border-radius:12px;font-size:21px}
  .assistant-support-menu{right:0!important;left:auto!important;top:43px!important;min-width:220px!important;max-width:calc(100vw - 28px)}
  .alkance-share-options{grid-template-columns:repeat(2,1fr)}
  .alkance-share-options button{min-height:64px}
  .assistant-visual-actions{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:390px){.biblical-assistant-online{font-size:0!important;padding:7px!important}.biblical-assistant-online:after{content:'Biblia';font-size:8px}.biblical-assistant-brand h3{max-width:112px;font-size:12px}.assistant-support-menu-btn{width:34px;height:34px}.biblical-assistant-back{width:36px;height:36px}}

/* V85 FINAL — límite diario de generación visual */
.assistant-image-limit{margin-top:12px;padding:15px;border:1px solid #d9e8f2;border-radius:16px;background:linear-gradient(135deg,#f4faff,#fffdf7);color:#31546d;display:grid;gap:6px}.assistant-image-limit strong{font-size:12px;color:#173b61}.assistant-image-limit span{font-size:11px;line-height:1.5}.assistant-image-limit small{font-size:10px;line-height:1.45;color:#71839a}.assistant-image-limit-button{opacity:.72}

/* V85 — Guardar/compartir recursos visuales */
.assistant-image-fallback{margin-top:12px;padding:12px 14px;border-radius:14px;background:#eef7fb;border:1px solid #d8e9f3;color:#31546d;display:grid;gap:4px;font-size:11px;line-height:1.45}
.assistant-image-fallback strong{color:#173f66;font-size:12px}
.assistant-visual-actions button:disabled{opacity:.65;cursor:wait}


/* V85.FC — footer legal compacto, sin gran bloque blanco */
.alkance-internal-footer{
  box-sizing:border-box;
  width:100%;
  margin:0 auto;
  padding:14px 18px 104px;
  text-align:center;
  color:#8a99a7;
  font-size:9px;
  line-height:1.4;
  letter-spacing:.01em;
  opacity:.82;
  min-height:0 !important;
  height:auto !important;
}
.alkance-internal-footer .alkance-build-tag{
  margin-top:3px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.08em;
  color:#9aa8b5;
}
@media(max-width:760px){
  .alkance-internal-footer{
    margin:0;
    padding:12px 14px 112px;
    font-size:8px;
    min-height:0 !important;
  }
  .alkance-internal-footer .alkance-build-tag{font-size:7px}
}

/* =========================================================
   V85.DF — ABBA HERO PREMIUM + ACCESO ESTUDIANTES
   ========================================================= */
#abba .abba-hero-v85{
  min-height:760px!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:#030a12!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
#abba .abba-hero-v85 .abba-hero-v2-media{
  background:url('assets/img/abba-real-comunidad.png') center center/cover no-repeat!important;
  filter:saturate(1.22) contrast(1.08) brightness(.78)!important;
  transform:scale(1.03)!important;
}
#abba .abba-v85-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(circle at 50% 10%,rgba(255,220,145,.16),transparent 24%),
    linear-gradient(90deg,rgba(1,8,17,.83) 0%,rgba(3,13,25,.42) 38%,rgba(3,13,25,.44) 64%,rgba(1,8,17,.86) 100%),
    linear-gradient(180deg,rgba(2,8,23,.08) 0%,rgba(2,8,23,.24) 32%,rgba(2,8,23,.76) 68%,#02070c 100%);
}
#abba .abba-v85-content{
  position:absolute!important;
  left:50%!important;right:auto!important;bottom:58px!important;
  width:min(760px,calc(100% - 52px))!important;
  transform:translateX(-50%)!important;
  z-index:4!important;
  padding:30px 34px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,rgba(5,16,29,.58),rgba(2,9,18,.82))!important;
  border:1px solid rgba(255,255,255,.13)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
#abba .abba-v85-kicker{color:#f3d58e;font-size:12px;font-weight:900;letter-spacing:.22em;margin-bottom:10px;text-shadow:0 8px 20px rgba(0,0,0,.45)}
#abba .abba-v85-logo{display:block;width:min(420px,78%);height:auto;margin:0 auto 16px;filter:drop-shadow(0 18px 28px rgba(0,0,0,.62))}
#abba .abba-v85-copy{max-width:660px;margin:0 auto 18px!important;color:#e8eef5!important;font-size:17px!important;line-height:1.55!important;text-align:center!important}
#abba .abba-v85-trust{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:0 0 20px}
#abba .abba-v85-trust span{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11);color:#dbe8f3;font-size:11px;font-weight:800}
#abba .abba-v85-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;width:100%!important;max-width:none!important}
#abba .abba-v85-actions a,#abba .abba-v85-actions button{min-height:58px!important;border-radius:17px!important;font-size:16px!important;font-weight:900!important}
#abba .abba-v85-actions .abba-student-entry{
  grid-column:1/-1;border:1px solid rgba(226,190,105,.72);color:#fff7dd;background:linear-gradient(135deg,rgba(153,105,22,.42),rgba(7,27,46,.82));box-shadow:0 14px 34px rgba(0,0,0,.24);cursor:pointer
}
#abba .abba-v85-actions .abba-student-entry:hover{transform:translateY(-1px);background:linear-gradient(135deg,rgba(184,132,34,.52),rgba(9,37,63,.92))}
@media(max-width:620px){
  #abba .abba-hero-v85{min-height:760px!important;border-radius:28px!important}
  #abba .abba-hero-v85 .abba-hero-v2-media{background-position:center center!important;filter:saturate(1.20) contrast(1.08) brightness(.72)!important}
  #abba .abba-v85-content{bottom:110px!important;width:calc(100% - 24px)!important;padding:22px 16px!important;border-radius:24px!important}
  #abba .abba-v85-logo{width:min(360px,88%)}
  #abba .abba-v85-copy{font-size:14px!important}
  #abba .abba-v85-actions{grid-template-columns:1fr!important}
  #abba .abba-v85-actions .abba-student-entry{grid-column:auto}
  #abba .abba-v85-actions a,#abba .abba-v85-actions button{min-height:54px!important;font-size:15px!important}
  #abba .abba-v85-trust span{font-size:10px}
}

/* Portal estudiantes */
.abba-student-portal{position:fixed;inset:0;z-index:10050;background:#eef5fa;overflow:auto;padding:18px}
.abba-student-portal[hidden]{display:none!important}
.abba-student-shell{width:min(1180px,100%);margin:0 auto;min-height:calc(100vh - 36px);background:#fff;border:1px solid #dce8f1;border-radius:30px;box-shadow:0 30px 90px rgba(14,42,66,.18);overflow:hidden}
.abba-student-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px 22px;background:linear-gradient(135deg,#07111f,#123b61);color:#fff}
.abba-student-header span{font-size:10px;font-weight:900;letter-spacing:.18em;color:#f3d58e}.abba-student-header h2{margin:3px 0 0;font-size:22px}
.abba-student-close{width:44px;height:44px;border-radius:15px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;font-size:22px}
.abba-student-badge{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.10);font-size:11px;font-weight:800}
.abba-student-intro,.abba-student-dashboard{padding:clamp(22px,4vw,48px)}
.abba-student-intro-copy{text-align:center;max-width:760px;margin:0 auto 28px}.abba-student-exclusive{display:inline-block;color:#9a6b13;font-size:11px;font-weight:900;letter-spacing:.13em}
.abba-student-intro-copy h3{font-size:clamp(28px,5vw,52px);margin:9px 0 12px;color:#123a5f}.abba-student-intro-copy p{color:#61788b;line-height:1.6}
.abba-student-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:980px;margin:0 auto}
.abba-access-card{border:1px solid #dbe7f0;background:#fbfdff;border-radius:24px;padding:24px;box-shadow:0 16px 42px rgba(23,63,102,.08)}
.abba-access-icon{font-size:28px}.abba-access-card h4{font-size:22px;color:#173f66;margin:8px 0}.abba-access-card>p{color:#6d8294;line-height:1.5}
.abba-student-form{display:grid;gap:12px;margin-top:18px}.abba-student-form label{display:grid;gap:6px;color:#35556e;font-size:12px;font-weight:800}.abba-student-form input,.abba-student-form select{width:100%;border:1px solid #ccdae5;background:#fff;border-radius:12px;padding:12px;color:#183c5d;font:inherit}.abba-student-form button{border:0;border-radius:13px;padding:13px 15px;background:#173f66;color:#fff;font-weight:900}
.abba-request-status{margin-top:12px;color:#48677f;font-size:12px;line-height:1.5}
.abba-student-security-note{max-width:980px;margin:18px auto 0;padding:14px 16px;border-radius:16px;background:#f3f8fb;border:1px solid #dbe8f1;color:#60778b;display:grid;gap:3px;font-size:12px}
.abba-student-welcome{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#0b2034,#173f66);color:#fff;margin-bottom:20px}.abba-student-welcome h3{font-size:30px;margin:6px 0}.abba-student-welcome p{margin:0;color:#d7e7f4}
.abba-student-logout{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;padding:10px 12px;font-weight:800}
.abba-student-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.abba-student-feature{display:flex;text-align:left;gap:12px;align-items:center;padding:20px;border-radius:20px;border:1px solid #dce8f1;background:#fff;box-shadow:0 14px 34px rgba(23,63,102,.08);color:#173f66}.abba-student-feature>span{font-size:28px}.abba-student-feature strong{display:block;font-size:16px}.abba-student-feature small{display:block;color:#6e8293;margin-top:4px}
.abba-private-panel{margin-top:18px;border:1px solid #dbe7f0;border-radius:22px;padding:20px;background:#fbfdff}.abba-private-panel[hidden]{display:none!important}
.abba-private-panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.abba-private-panel-head span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#9a6b13}.abba-private-panel-head h3{margin:4px 0 0;color:#173f66}.abba-private-panel-head button{border:0;background:#edf5fa;color:#173f66;padding:9px 11px;border-radius:11px;font-weight:800}
.abba-private-placeholder,.abba-task-empty{padding:18px;border-radius:16px;background:#f1f7fb;color:#5f7587;line-height:1.55}.abba-private-placeholder strong{color:#173f66}.abba-task-year{border:1px solid #dbe7f0;border-radius:18px;padding:18px;margin-bottom:14px}.abba-task-year>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#9a6b13}.abba-task-year h4{color:#173f66;margin:7px 0}
@media(max-width:760px){
 .abba-student-portal{padding:0}.abba-student-shell{border-radius:0;min-height:100vh}.abba-student-header{grid-template-columns:auto 1fr}.abba-student-badge{display:none}
 .abba-student-access-grid,.abba-student-feature-grid{grid-template-columns:1fr}.abba-student-welcome{align-items:start;flex-direction:column}.abba-student-welcome h3{font-size:25px}
}


/* =========================================================
   V85.BA — Biblioteca ABBA segmentada, sin tocar Hero ABBA
   ========================================================= */
.abba-academic-gateway{
  position:relative;
  overflow:hidden;
  min-height:100%;
}
.abba-academic-gateway::after{
  content:"EXCLUSIVO ABBA";
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(7,20,34,.86);
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  border:1px solid rgba(255,255,255,.12);
}
.abba-gateway-lock{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:10px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#173f66;
  font-size:10px;
  font-weight:900;
}
.abba-year-home{
  margin:0 0 20px;
  padding:20px;
  border:1px solid #dce8f1;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff,#f5f9fc);
  box-shadow:0 14px 34px rgba(23,63,102,.06);
}
.abba-year-home-head{
  margin-bottom:16px;
}
.abba-year-home-head>span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  color:#9a6b13;
}
.abba-year-home-head h3{
  margin:5px 0 5px;
  color:#173f66;
  font-size:25px;
}
.abba-year-home-head p{
  margin:0;
  color:#6b8092;
}
.abba-year-resource{
  padding:18px;
  border:1px solid #dbe7f0;
  border-radius:18px;
  background:#fff;
  color:#60778b;
}
.abba-year-resource[hidden]{
  display:none!important;
}
.abba-year-resource strong{
  display:block;
  color:#173f66;
  font-size:18px;
  margin-bottom:6px;
}
@media(max-width:760px){
  .abba-academic-gateway::after{
    top:12px;
    right:12px;
    font-size:8px;
  }
  .abba-year-home{
    padding:16px;
    border-radius:20px;
  }
  .abba-year-home-head h3{
    font-size:22px;
  }
}


/* =========================================================
   V85.HA — HERO ABBA PREMIUM
   Solo presentación visual del hero. No modifica accesos ni biblioteca.
   ========================================================= */
#abba.abba-hero-v2-section{
  padding-left:clamp(10px,2vw,24px)!important;
  padding-right:clamp(10px,2vw,24px)!important;
}
#abba .abba-hero-premium{
  position:relative!important;
  min-height:720px!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:#030a12!important;
  border:1px solid rgba(205,166,81,.22)!important;
  box-shadow:0 28px 70px rgba(5,20,35,.20)!important;
}
#abba .abba-hero-premium .abba-hero-v2-media{
  position:absolute!important;
  inset:0!important;
  background:url('assets/img/abba-real-comunidad.png') center center/cover no-repeat!important;
  filter:saturate(1.06) contrast(1.10) brightness(.56)!important;
  transform:scale(1.015)!important;
}
#abba .abba-hero-premium::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 20%,rgba(232,190,100,.11),transparent 26%),
    linear-gradient(90deg,rgba(2,9,18,.82) 0%,rgba(2,11,22,.46) 31%,rgba(2,11,22,.46) 69%,rgba(2,9,18,.82) 100%),
    linear-gradient(180deg,rgba(1,7,14,.10) 0%,rgba(1,7,14,.20) 42%,rgba(1,7,14,.76) 76%,#02070c 100%);
}
#abba .abba-hero-premium-content{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  bottom:34px!important;
  transform:translateX(-50%)!important;
  width:min(780px,calc(100% - 46px))!important;
  padding:24px 28px 26px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,rgba(4,15,28,.62),rgba(2,10,19,.90))!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:0 26px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(13px) saturate(120%)!important;
}
#abba .abba-premium-kicker{
  color:#e9c970!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.22em!important;
  margin:0 0 8px!important;
}
#abba .abba-hero-premium-content img{
  display:block!important;
  width:min(430px,76%)!important;
  max-height:285px!important;
  object-fit:contain!important;
  margin:0 auto 12px!important;
  filter:drop-shadow(0 18px 32px rgba(0,0,0,.52))!important;
}
#abba .abba-premium-copy{
  max-width:650px!important;
  margin:0 auto 14px!important;
  color:#eef4fa!important;
  font-size:16px!important;
  line-height:1.48!important;
  font-weight:500!important;
}
#abba .abba-premium-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:8px!important;
  margin:0 0 18px!important;
}
#abba .abba-premium-chips span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:32px!important;
  padding:6px 11px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  background:rgba(255,255,255,.07)!important;
  color:#f1f5f9!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
#abba .abba-hero-v2-actions{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:11px!important;
}
#abba .abba-hero-v2-actions a,
#abba .abba-hero-v2-actions button{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  border-radius:17px!important;
  font-size:15px!important;
  font-weight:900!important;
  text-decoration:none!important;
  line-height:1.15!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
#abba .abba-hero-v2-actions .primary{
  background:#ffffff!important;
  color:#0c2136!important;
  border:1px solid rgba(255,255,255,.92)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.20)!important;
}
#abba .abba-hero-v2-actions .secondary{
  background:rgba(2,11,21,.72)!important;
  color:#ffffff!important;
  border:1px solid rgba(219,178,85,.56)!important;
}
#abba .abba-hero-v2-actions .abba-student-entry{
  grid-column:1/-1!important;
  width:min(420px,100%)!important;
  justify-self:center!important;
  background:linear-gradient(135deg,rgba(125,87,20,.72),rgba(16,35,53,.96))!important;
  color:#fff3c8!important;
  border:1px solid rgba(235,195,101,.72)!important;
  box-shadow:0 15px 34px rgba(0,0,0,.25)!important;
}
#abba .abba-hero-v2-actions a:hover,
#abba .abba-hero-v2-actions button:hover{
  transform:translateY(-1px)!important;
}

@media(max-width:700px){
  #abba.abba-hero-v2-section{
    padding-left:0!important;
    padding-right:0!important;
  }
  #abba .abba-hero-premium{
    min-height:1080px!important;
    border-radius:0 0 30px 30px!important;
  }
  #abba .abba-hero-premium .abba-hero-v2-media{
    background-position:center top!important;
    filter:saturate(1.05) contrast(1.08) brightness(.46)!important;
  }
  #abba .abba-hero-premium::before{
    background:
      linear-gradient(180deg,rgba(1,8,16,.16) 0%,rgba(1,8,16,.26) 35%,rgba(1,8,16,.66) 63%,#02070c 83%,#02070c 100%)!important;
  }
  #abba .abba-hero-premium-content{
    bottom:104px!important;
    width:calc(100% - 24px)!important;
    padding:24px 16px 22px!important;
    border-radius:24px!important;
  }
  #abba .abba-premium-kicker{
    font-size:11px!important;
    letter-spacing:.18em!important;
  }
  #abba .abba-hero-premium-content img{
    width:min(410px,92%)!important;
    max-height:330px!important;
    margin-bottom:16px!important;
  }
  #abba .abba-premium-copy{
    font-size:15px!important;
    line-height:1.55!important;
    max-width:94%!important;
  }
  #abba .abba-premium-chips{
    gap:7px!important;
    margin-bottom:16px!important;
  }
  #abba .abba-premium-chips span{
    font-size:10px!important;
    padding:6px 9px!important;
  }
  #abba .abba-hero-v2-actions{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }
  #abba .abba-hero-v2-actions .abba-student-entry{
    grid-column:auto!important;
    width:min(330px,100%)!important;
  }
  #abba .abba-hero-v2-actions a,
  #abba .abba-hero-v2-actions button{
    min-height:58px!important;
    font-size:16px!important;
  }
}


/* =========================================================
   V86.UI — LIMPIEZA VISUAL MÓVIL + HERO ABBA + ASISTENTE INMERSIVO
   ========================================================= */

/* Ocultar indicador visual de scroll en móvil sin desactivar el desplazamiento */
@media(max-width:760px){
  html,body,
  .biblical-assistant-workspace,
  .biblical-assistant-chat,
  .abba-student-portal{
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .biblical-assistant-workspace::-webkit-scrollbar,
  .biblical-assistant-chat::-webkit-scrollbar,
  .abba-student-portal::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
}

/* -------------------------
   HERO ABBA V86 — CLEAN
   ------------------------- */
#abba.abba-hero-v2-section{
  max-width:none!important;
  padding:0 clamp(10px,2vw,24px) 52px!important;
  background:#f7f8fb!important;
}
#abba .abba-v86-hero{
  position:relative;
  isolation:isolate;
  min-height:760px;
  max-width:1380px;
  margin:0 auto;
  overflow:hidden;
  border-radius:34px;
  background:#020914;
  border:1px solid rgba(217,177,83,.22);
  box-shadow:0 28px 80px rgba(7,22,39,.18);
}
#abba .abba-v86-bg{
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    url('assets/img/abba-real-comunidad.png') center 35%/cover no-repeat;
  filter:saturate(1.04) contrast(1.08) brightness(.50);
  transform:scale(1.015);
}
#abba .abba-v86-shade{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 50% 18%,rgba(234,194,100,.13),transparent 28%),
    linear-gradient(90deg,rgba(1,8,16,.88),rgba(1,10,20,.50) 31%,rgba(1,10,20,.50) 69%,rgba(1,8,16,.88)),
    linear-gradient(180deg,rgba(1,7,14,.08),rgba(1,7,14,.28) 42%,rgba(1,7,14,.82) 78%,#020811);
}
#abba .abba-v86-panel{
  position:absolute;
  left:50%;
  bottom:36px;
  transform:translateX(-50%);
  width:min(800px,calc(100% - 48px));
  box-sizing:border-box;
  padding:26px 30px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(3,14,26,.62),rgba(2,9,18,.91));
  box-shadow:0 28px 72px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(15px) saturate(118%);
}
#abba .abba-v86-kicker{
  margin:0 0 8px;
  color:#e8c66e;
  font-size:12px;
  font-weight:950;
  letter-spacing:.22em;
}
#abba .abba-v86-logo{
  display:block;
  width:min(440px,74%);
  max-height:290px;
  object-fit:contain;
  margin:0 auto 13px;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.50));
}
#abba .abba-v86-copy{
  max-width:670px;
  margin:0 auto 15px!important;
  color:#eef4f9!important;
  font-size:16px!important;
  line-height:1.5!important;
  font-weight:550!important;
}
#abba .abba-v86-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-bottom:18px;
}
#abba .abba-v86-chips span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.07);
  color:#f4f7fa;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
#abba .abba-v86-actions{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
  align-items:center;
}
#abba .abba-v86-actions a,
#abba .abba-v86-actions button{
  box-sizing:border-box;
  min-height:58px;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:17px;
  font-size:15px;
  font-weight:900;
  line-height:1.15;
  text-decoration:none;
  cursor:pointer;
}
#abba .abba-v86-enroll{
  background:#fff;
  color:#0c2237;
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 14px 30px rgba(0,0,0,.19);
}
#abba .abba-v86-programs{
  background:rgba(2,12,23,.72);
  color:#fff;
  border:1px solid rgba(221,181,84,.56);
}
#abba .abba-v86-students{
  grid-column:1/-1;
  justify-self:center;
  width:min(420px,100%);
  color:#fff2c2;
  background:linear-gradient(135deg,rgba(125,87,20,.76),rgba(11,33,53,.98));
  border:1px solid rgba(236,197,104,.72);
  box-shadow:0 15px 34px rgba(0,0,0,.25);
}

@media(max-width:700px){
  #abba.abba-hero-v2-section{
    padding:0 0 28px!important;
    background:#f7f8fb!important;
  }
  #abba .abba-v86-hero{
    min-height:1050px;
    border-radius:0 0 32px 32px;
  }
  #abba .abba-v86-bg{
    background-position:center 16%;
    filter:saturate(1.02) contrast(1.06) brightness(.42);
  }
  #abba .abba-v86-shade{
    background:
      linear-gradient(180deg,rgba(1,8,16,.12) 0%,rgba(1,8,16,.26) 34%,rgba(1,8,16,.68) 61%,#020811 82%,#020811 100%);
  }
  #abba .abba-v86-panel{
    bottom:105px;
    width:calc(100% - 24px);
    padding:23px 16px 22px;
    border-radius:24px;
  }
  #abba .abba-v86-kicker{
    font-size:11px;
    letter-spacing:.18em;
  }
  #abba .abba-v86-logo{
    width:min(400px,90%);
    max-height:300px;
    margin-bottom:15px;
  }
  #abba .abba-v86-copy{
    max-width:94%;
    font-size:15px!important;
    line-height:1.55!important;
  }
  #abba .abba-v86-chips{
    gap:7px;
    margin-bottom:16px;
  }
  #abba .abba-v86-chips span{
    padding:6px 9px;
    font-size:10px;
  }
  #abba .abba-v86-actions{
    grid-template-columns:1fr;
    gap:11px;
  }
  #abba .abba-v86-actions a,
  #abba .abba-v86-actions button{
    min-height:58px;
    font-size:16px;
  }
  #abba .abba-v86-students{
    grid-column:auto;
    width:min(340px,100%);
  }
}


/* =========================================================
   V87.FINAL — MOBILE VIEWPORT CLEANUP
   El scroll sigue funcionando, pero el indicador lateral desaparece.
   ========================================================= */
html, body {
  max-width:100%;
  overflow-x:clip;
}

@media(max-width:760px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
    background:transparent!important;
  }

  main,
  .topbar,
  .section,
  .bottom-nav{
    max-width:100%!important;
  }

  body{
    position:relative!important;
  }
}

/* =========================================================
   V87.FINAL — ASISTENTE BÍBLICO: FULL-SCREEN REAL
   Se conservan IDs, API, imágenes, cuotas y lógica existentes.
   ========================================================= */
#asistente-biblico.assistant-premium-section{
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box!important;
}

/* Cuando el asistente se abre, la portada de presentación se oculta. */
#asistente-biblico.assistant-mode{
  padding:0!important;
  margin:0!important;
  max-width:none!important;
}
#asistente-biblico.assistant-mode .assistant-premium-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
#asistente-biblico.assistant-mode .assistant-premium-hero{
  display:none!important;
}

/* Escritorio: ancho amplio pero todavía elegante */
@media(min-width:761px){
  #asistente-biblico.assistant-mode .biblical-assistant-workspace{
    width:min(1440px,calc(100% - 36px))!important;
    min-height:82vh!important;
    margin:18px auto 40px!important;
    border-radius:28px!important;
    display:grid!important;
    grid-template-rows:auto auto auto minmax(300px,1fr) auto auto auto!important;
    overflow:hidden!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-chat{
    min-height:300px!important;
    max-height:52vh!important;
  }
}

/* Móvil: una pantalla propia del Asistente. */
@media(max-width:760px){
  html.assistant-immersive-open,
  body.assistant-immersive-open{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }

  /* Mientras el usuario está en el Asistente, nada de la app se monta encima. */
  body.assistant-immersive-open .topbar,
  body.assistant-immersive-open .bottom-nav,
  body.assistant-immersive-open .radio-player,
  body.assistant-immersive-open .whatsapp-float,
  body.assistant-immersive-open .alkance-radio-fab-wrap,
  body.assistant-immersive-open .more-menu{
    display:none!important;
  }

  #asistente-biblico.assistant-mode .biblical-assistant-workspace{
    position:fixed!important;
    inset:0!important;
    z-index:2147482000!important;
    width:100%!important;
    max-width:100%!important;
    height:var(--assistant-viewport-height,100dvh)!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#f7faff!important;
    display:grid!important;
    grid-template-rows:
      auto
      auto
      minmax(0,auto)
      minmax(150px,1fr)
      auto
      auto
      auto!important;
    overflow:hidden!important;
  }

  /* Header siempre claro y completo */
  #asistente-biblico.assistant-mode .biblical-assistant-header{
    position:relative!important;
    top:auto!important;
    z-index:10!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
    min-height:68px!important;
    padding:10px 12px!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e3ebf3!important;
    box-shadow:0 5px 18px rgba(15,42,70,.05)!important;
  }

  #asistente-biblico.assistant-mode .biblical-assistant-back{
    width:42px!important;
    height:42px!important;
  }

  #asistente-biblico.assistant-mode .biblical-assistant-brand{
    min-width:0!important;
    gap:8px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-brand img{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-brand>div{
    min-width:0!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-brand small{
    font-size:7px!important;
    letter-spacing:.08em!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-brand h3{
    margin:2px 0 0!important;
    font-size:14px!important;
    line-height:1.12!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-header-actions{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-online{
    display:flex!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }
  #asistente-biblico.assistant-mode .assistant-support-menu-btn{
    flex:0 0 auto!important;
  }

  /* Bienvenida compacta y legible */
  #asistente-biblico.assistant-mode .biblical-assistant-intro{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 18px 12px!important;
    text-align:center!important;
    background:#f7faff!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-intro .eyebrow{
    margin:0 0 6px!important;
    font-size:10px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-intro h2{
    margin:0 0 7px!important;
    font-size:clamp(27px,8.4vw,36px)!important;
    line-height:1.02!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-intro>p:last-child{
    max-width:630px!important;
    margin:0 auto!important;
    font-size:12px!important;
    line-height:1.45!important;
    color:#65798d!important;
  }

  /* Sugerencias: dos columnas, sin salirse de pantalla */
  #asistente-biblico.assistant-mode .biblical-assistant-categories{
    width:100%!important;
    max-height:210px!important;
    margin:0!important;
    padding:7px 12px 12px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:#f7faff!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-categories button{
    width:100%!important;
    min-width:0!important;
    min-height:84px!important;
    padding:10px 11px!important;
    border-radius:16px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-categories button>span{
    margin-bottom:4px!important;
    font-size:20px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-categories strong{
    margin-bottom:2px!important;
    font-size:11px!important;
    line-height:1.15!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-categories small{
    font-size:9px!important;
    line-height:1.25!important;
  }

  /* Área de conversación: ocupa todo el espacio sobrante */
  #asistente-biblico.assistant-mode .biblical-assistant-chat{
    min-width:0!important;
    min-height:150px!important;
    max-height:none!important;
    width:auto!important;
    margin:0 10px!important;
    padding:14px 10px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    border:1px solid #e1eaf3!important;
    border-radius:19px!important;
    background:linear-gradient(180deg,#f8fbff,#fff)!important;
    overscroll-behavior:contain!important;
  }
  #asistente-biblico.assistant-mode .assistant-message{
    max-width:100%!important;
  }
  #asistente-biblico.assistant-mode .assistant-bubble{
    max-width:calc(100% - 44px)!important;
    padding:12px 13px!important;
    font-size:13px!important;
    line-height:1.48!important;
    overflow-wrap:anywhere!important;
  }
  #asistente-biblico.assistant-mode .assistant-message-user .assistant-bubble{
    max-width:88%!important;
  }

  #asistente-biblico.assistant-mode .biblical-assistant-status{
    min-height:22px!important;
    padding:4px 15px 0!important;
    font-size:10px!important;
  }

  /* Caja de escritura siempre visible y ancha */
  #asistente-biblico.assistant-mode .biblical-assistant-composer{
    width:auto!important;
    margin:5px 10px 0!important;
    padding:7px!important;
    gap:7px!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(15,42,70,.10)!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-composer textarea{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    max-height:112px!important;
    padding:11px 8px!important;
    font-size:16px!important;
    line-height:1.35!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-composer button{
    width:48px!important;
    height:48px!important;
    flex:0 0 48px!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-footnote{
    min-height:28px!important;
    padding:5px 12px 8px!important;
    display:flex!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:2px 8px!important;
    text-align:center!important;
    font-size:8px!important;
    line-height:1.2!important;
  }

  /* Una vez enviada la primera pregunta, ya es un chat puro. */
  #asistente-biblico.assistant-mode .biblical-assistant-workspace.conversation-started{
    grid-template-rows:auto minmax(0,1fr) auto auto auto!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-workspace.conversation-started .biblical-assistant-intro,
  #asistente-biblico.assistant-mode .biblical-assistant-workspace.conversation-started .biblical-assistant-categories{
    display:none!important;
  }

  /* Con teclado, reducimos adornos sin perder el chat ni el compositor. */
  body.assistant-keyboard-open #asistente-biblico.assistant-mode .biblical-assistant-workspace:not(.conversation-started){
    grid-template-rows:auto minmax(0,1fr) auto auto auto!important;
  }
  body.assistant-keyboard-open #asistente-biblico.assistant-mode .biblical-assistant-intro,
  body.assistant-keyboard-open #asistente-biblico.assistant-mode .biblical-assistant-categories{
    display:none!important;
  }
  body.assistant-keyboard-open #asistente-biblico.assistant-mode .biblical-assistant-footnote{
    display:none!important;
  }
}

@media(max-width:420px){
  #asistente-biblico.assistant-mode .biblical-assistant-online{
    display:none!important;
  }
  #asistente-biblico.assistant-mode .biblical-assistant-brand h3{
    font-size:13px!important;
  }
}


/* =========================================================
   V89.FINAL — Acceso académico ABBA en Biblioteca + menú Más
   ========================================================= */
.abba-academic-gateway{
  position:relative!important;
  overflow:hidden!important;
  min-height:250px!important;
  isolation:isolate!important;
  border:1px solid rgba(226,187,91,.30)!important;
  box-shadow:0 18px 40px rgba(11,35,55,.12)!important;
}
.abba-academic-gateway::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(2,11,22,.92) 0%,rgba(2,11,22,.76) 46%,rgba(2,11,22,.40) 100%)!important;
  pointer-events:none;
}
.abba-academic-gateway img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  z-index:0!important;
  filter:saturate(.90) contrast(1.06) brightness(.76)!important;
}
.abba-academic-gateway .abba-library-gateway-copy{
  position:relative!important;
  z-index:2!important;
  width:min(680px,84%)!important;
  padding:24px!important;
  color:#fff!important;
}
.abba-academic-gateway .abba-library-gateway-copy>span{
  display:inline-flex!important;
  margin-bottom:8px!important;
  color:#efd07c!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
.abba-academic-gateway .abba-library-gateway-copy h3{
  margin:0 0 8px!important;
  color:#fff!important;
  font-size:clamp(24px,3vw,38px)!important;
  line-height:1.02!important;
}
.abba-academic-gateway .abba-library-gateway-copy p{
  max-width:620px!important;
  margin:0 0 12px!important;
  color:#e8eef5!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.abba-academic-gateway .abba-gateway-lock{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  margin-top:4px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#153f64!important;
  font-size:11px!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16)!important;
}
.more-link-abba-student{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px 14px!important;
  margin-top:8px!important;
  border-radius:14px!important;
  border:1px solid rgba(193,152,58,.22)!important;
  background:linear-gradient(135deg,rgba(241,248,253,.96),rgba(255,250,237,.96))!important;
  color:#173f66!important;
  font-weight:900!important;
  text-align:left!important;
}
@media(max-width:760px){
  .abba-academic-gateway{
    min-height:310px!important;
    border-radius:26px!important;
  }
  .abba-academic-gateway::before{
    background:
      linear-gradient(180deg,rgba(2,11,22,.48) 0%,rgba(2,11,22,.83) 55%,rgba(2,11,22,.94) 100%)!important;
  }
  .abba-academic-gateway .abba-library-gateway-copy{
    align-self:flex-end!important;
    width:100%!important;
    padding:22px 20px!important;
  }
  .abba-academic-gateway .abba-library-gateway-copy>span{
    font-size:10px!important;
  }
  .abba-academic-gateway .abba-library-gateway-copy h3{
    font-size:27px!important;
  }
  .abba-academic-gateway .abba-library-gateway-copy p{
    font-size:14px!important;
  }
}


/* =========================================================
   V90.AC — ASISTENCIAS + AVISOS PARA ESTUDIANTES ABBA
   ========================================================= */
.abba-student-tools-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.abba-student-tool{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:84px;
  padding:16px;
  border:1px solid #dbe7f0;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f6fafc);
  color:#173f66;
  text-align:left;
  box-shadow:0 10px 26px rgba(23,63,102,.06);
}
.abba-student-tool .abba-tool-icon{font-size:25px}
.abba-student-tool strong{display:block;font-size:15px}
.abba-student-tool small{display:block;margin-top:3px;color:#708497;font-size:11px}
.abba-live-dot{
  position:absolute;right:14px;top:14px;width:10px;height:10px;border-radius:50%;
  background:#22b46e;box-shadow:0 0 0 5px rgba(34,180,110,.13)
}
.abba-notice-badge{
  position:absolute;right:12px;top:10px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  display:grid;place-items:center;background:#d33b3b;color:#fff;font-size:10px
}
.abba-attendance-live{
  margin:18px 0 0;padding:18px 20px;border-radius:20px;
  display:flex;justify-content:space-between;align-items:center;gap:15px;
  background:linear-gradient(135deg,#0b3f31,#12634b);color:#fff;
  box-shadow:0 16px 34px rgba(13,82,61,.18)
}
.abba-attendance-live span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#bff4d8}
.abba-attendance-live h3{margin:5px 0;color:#fff}.abba-attendance-live p{margin:0;color:#d8f3e6}
.abba-attendance-live button{
  flex:0 0 auto;border:0;border-radius:13px;padding:12px 15px;background:#fff;color:#0e513d;font-weight:900
}
.abba-attendance-status{display:grid;gap:12px}
.abba-attendance-session-card,.abba-attendance-empty{
  padding:18px;border-radius:18px;border:1px solid #dbe7f0;background:#f8fbfd;color:#5f7587
}
.abba-attendance-session-card>span{font-size:11px;font-weight:950;color:#9a6b13}
.abba-attendance-session-card h4{margin:7px 0;color:#173f66;font-size:20px}
.abba-attendance-session-card p{margin:0 0 6px}.abba-attendance-session-card small{color:#8092a1}
.abba-attendance-empty{display:grid;gap:5px}.abba-attendance-empty strong{color:#173f66}
.abba-attendance-actions{display:grid;gap:7px;margin:14px 0 20px}
.abba-attendance-register{
  border:0;border-radius:15px;padding:14px 16px;background:#173f66;color:#fff;font-weight:900;font-size:15px
}
.abba-attendance-actions small{color:#7a8c9b;font-size:10px;line-height:1.4}
.abba-attendance-history h4{color:#173f66;margin:0 0 10px}
.abba-attendance-history-list{display:grid;gap:8px}
.abba-history-row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 13px;border:1px solid #e1eaf1;border-radius:14px;background:#fff
}
.abba-history-row strong{display:block;color:#173f66}.abba-history-row small{display:block;margin-top:3px;color:#8293a2;font-size:10px}
.abba-history-row>span{font-size:11px;font-weight:900;white-space:nowrap}
.abba-notices-list{display:grid;gap:12px}
.abba-notice-item{
  padding:17px;border:1px solid #dce7ef;border-radius:18px;background:#fff
}
.abba-notice-item.is-unread{border-color:#e2bd61;background:linear-gradient(180deg,#fffdf7,#fff)}
.abba-notice-item-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.abba-notice-item-head span{font-size:10px;font-weight:950;color:#9a6b13}.abba-notice-item-head small{color:#8596a4;font-size:10px}
.abba-notice-item h4{margin:8px 0 6px;color:#173f66;font-size:18px}.abba-notice-item p{margin:0;color:#62798b;line-height:1.5;white-space:pre-wrap}
.abba-notice-item button{margin-top:11px;border:0;border-radius:11px;padding:9px 11px;background:#edf5fa;color:#173f66;font-weight:850}
@media(max-width:700px){
 .abba-student-tools-grid{grid-template-columns:1fr}
 .abba-attendance-live{align-items:flex-start;flex-direction:column}
 .abba-attendance-live button{width:100%}
}

/* V90.6.AC — acceso estudiantes y avisos con imagen */
.more-menu .more-menu-student{width:100%;border:0;background:transparent;color:inherit;text-align:left;font:inherit;padding:12px 14px;cursor:pointer;border-radius:12px}.more-menu .more-menu-student:hover{background:rgba(16,55,86,.07)}.abba-notice-image{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:16px;margin:12px 0 4px;background:#eef4f8}


/* V90.7 — Paridad web/iPhone del control Radio Alkance.
   SOLO cambia la presentación web del reproductor. Android conserva V63. */
html:not(.alkance-android) .alkance-radio-fab-wrap{
  position:fixed;
  right:16px;
  bottom:calc(82px + env(safe-area-inset-bottom));
  z-index:96;
  display:block;
}
html:not(.alkance-android) .alkance-radio-fab-wrap[hidden]{display:none}
html:not(.alkance-android) .radio-player{display:none!important}

/* Evita superposición con la A y replica la distribución móvil de la app. */
@media(max-width:759px){
  html:not(.alkance-android) .whatsapp-float{
    left:16px!important;
    right:auto!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }
}
@media(min-width:760px){
  html:not(.alkance-android) .alkance-radio-fab-wrap{
    right:max(22px,calc((100vw - 680px)/2 + 8px));
    bottom:calc(84px + env(safe-area-inset-bottom));
  }
}


/* V90.8 — Acciones opcionales para imágenes de Avisos ABBA */
.abba-notice-image-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 2px}
.abba-notice-image-actions button{margin-top:0!important}

/* V90.8 — Web/iPhone/iPad: controles flotantes separados y simétricos.
   La A conserva su posición/selector; solo reubicamos el botón de mensajes.
   Android queda excluido explícitamente. */
@media(min-width:760px){
  html:not(.alkance-android) .whatsapp-float{
    left:max(22px,calc((100vw - 680px)/2 + 8px))!important;
    right:auto!important;
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }
}
