/* ALBA · Diseño consolidado | 14-11-2026
   Procedencia (en orden CSS): alba-fase4.css, alba-fase5.css, alba-ajustes-fase5.css, alba-calendario-tests.css.
   Mantener el orden de los bloques para preservar la cascada.
*/


/* ===== ORIGEN: alba-fase4.css ===== */
/* ALBA Fase 4: preparación de tests y catálogo por temas. */
#home #testSetup{padding:30px!important;border:1px solid #a1bdd749!important;border-radius:23px!important;background:linear-gradient(140deg,#142e47,#0b1d31)!important;box-shadow:0 15px 38px #0003!important;scroll-margin-top:80px}
#home #testSetup>.section-heading{padding-bottom:22px!important;margin-bottom:24px!important;border-bottom:1px solid #b6cfe326;gap:16px;align-items:center}
#home #testSetup>.section-heading small{color:#d7bd83!important;font-size:10px!important;letter-spacing:.15em}
#home #testSetup>.section-heading h2{color:#ffe1a1!important;font-size:clamp(24px,2.6vw,32px)!important;letter-spacing:-.025em;margin-top:9px}
#home #themePill{color:#ffe0a0!important;background:#d3b06314!important;border:1px solid #d3b06345!important;border-radius:10px!important;padding:9px 12px!important;font-size:11px!important;white-space:nowrap}
#home #testSetup :is(.theme-fields,.fields){gap:18px!important;margin-bottom:23px!important}
#home #testSetup label{min-width:0;color:#e3edf7!important;font-size:13px!important;font-weight:650!important;line-height:1.5}
#home #testSetup select{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:50px!important;margin-top:9px!important;padding:12px 35px 12px 14px!important;border:1px solid #89aec65c!important;border-radius:11px!important;background-color:#081b2c!important;color:#f2f7fc!important;font-size:15px!important;line-height:1.4!important;box-shadow:inset 0 2px 5px #0002!important;cursor:pointer;color-scheme:dark}
#home #testSetup select:focus-visible,#themes #mobileSearch:focus-visible{outline:3px solid #f4d589!important;outline-offset:3px!important;border-color:#f4d589!important}
#home #selectedThemeTitle{display:block;color:#acc5dd!important;font-size:12px!important;font-weight:500!important;line-height:1.6!important;padding-top:8px}
#home #advancedOptions{border:1px solid #8babc23b!important;border-radius:15px!important;background:#0a1e32!important;margin:5px 0 22px!important;overflow:visible}
#home #advancedOptions>summary{padding:17px 19px!important;color:#f0d69e!important;font-size:14px!important;cursor:pointer;min-height:48px;line-height:1.5}
#home #advancedOptions>summary span{color:#b8ccdf!important;font-size:12px!important;line-height:1.5}
#home #advancedOptions[open]>summary{border-bottom:1px solid #8babc22b}
#home #advancedOptions .advanced-grid{padding:20px!important;gap:20px!important}
#home #testSetup .stat-timer{background:#102b42!important;border:1px solid #83acc82e!important;border-radius:12px!important;padding:16px!important}
#home #testSetup .timer-description,#home #testSetup .multi-theme-tip{color:#bcd0e2!important;font-size:12px!important;line-height:1.65!important}
#home #testSetup .multi-theme-switch{padding:16px!important;border-radius:12px!important;border:1px solid #8babc23b!important;background:#102b42!important;gap:12px!important}
#home #testSetup input[type=checkbox]{accent-color:#e8c674;width:20px;height:20px;flex-shrink:0}
#home #testSetup .multi-theme-switch small{color:#bcd0e2!important;font-size:12px!important;line-height:1.6}
#home #multiThemePanel{border:1px solid #8babc23b!important;border-radius:13px!important;background:#0a1c2d!important;padding:18px!important}
#home #multiThemeList label{min-height:48px;border-radius:9px!important;border:1px solid #90b3cd33!important;padding:10px!important}
#home #multiThemeList label:has(input:checked){background:#214153!important;border-color:#d5ba7e!important;color:#ffdfa2!important}
#home #testSetup>.actions{gap:12px!important;align-items:stretch!important;border-top:1px solid #b6cfe326;padding-top:22px!important}
#home #start{min-height:52px!important;background:linear-gradient(135deg,#ffe2a0,#edc461)!important;color:#102239!important;border:1px solid #ffe6b1!important;border-radius:12px!important;padding:13px 28px!important;font-size:16px!important;font-weight:800!important;box-shadow:0 7px 20px #d6b05c1a!important}
#home #testSetup>.actions>button:not(#start){min-height:48px!important;border-radius:11px!important;border:1px solid #88b3d466!important;background:#173650!important;color:#e8f1fb!important}
#home #testSetup>.actions>button:focus-visible,#themes .mobile-theme-choice:focus-visible{outline:3px solid #ffe2a0!important;outline-offset:3px}
#home #poolInfo{flex-basis:100%;color:#bcd0e2!important;font-size:12px!important;line-height:1.6!important;padding-top:3px}
#themes .theme-search-bar{padding:19px!important;border:1px solid #8babc23b!important;border-radius:15px!important;background:#10283e!important;margin:0 0 20px!important;color:#ecd7a8!important;gap:8px}
#themes #mobileSearch{box-sizing:border-box;min-height:49px!important;width:100%;background:#081b2c!important;border:1px solid #89aec65c!important;border-radius:10px!important;color:#edf5fc!important;font-size:16px!important;padding:13px 15px!important;margin-top:8px}
#themes #mobileSearch::placeholder{color:#a9bfd2;opacity:1}
#themes #mobileThemeList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
#themes .mobile-theme-choice{box-sizing:border-box;display:grid!important;grid-template-columns:45px minmax(0,1fr) 16px!important;align-items:center!important;gap:14px!important;min-height:100px!important;padding:18px!important;border:1px solid #83a8c442!important;border-radius:15px!important;background:linear-gradient(140deg,#17344e,#0d2238)!important;box-shadow:0 6px 15px #0002!important;text-align:left;transition:transform .2s,border-color .2s!important;cursor:pointer}
#themes .mobile-theme-number{display:grid!important;place-items:center;width:43px!important;height:46px!important;border-radius:11px!important;color:#f2d693!important;background:#edca7710!important;border:1px solid #edca7738!important;font-size:19px!important;font-weight:750;box-shadow:inset 0 1px #ffffff14}
#themes .mobile-theme-name{color:#e3edf7!important;font-size:14px!important;line-height:1.55!important;font-weight:650!important;overflow-wrap:anywhere}
#themes .mobile-theme-arrow{color:#d4bd85!important;font-size:26px!important}
@media(hover:hover) and (pointer:fine){#themes .mobile-theme-choice:hover{transform:translateY(-3px);border-color:#d5ba7e!important}#home #start:hover{filter:brightness(1.06)}}
@media(max-width:900px){#themes #mobileThemeList{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){
 #home #testSetup{padding:21px 17px!important;border-radius:18px!important}
 #home #testSetup>.section-heading{flex-wrap:wrap;gap:12px;padding-bottom:18px!important;margin-bottom:20px!important}
 #home #testSetup :is(.theme-fields,.fields){grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 #home #testSetup select{font-size:16px!important}
 #home #advancedOptions>summary{padding:16px 14px!important}
 #home #advancedOptions>summary span{display:block;margin-top:5px}
 #home #advancedOptions .advanced-grid{grid-template-columns:minmax(0,1fr)!important;padding:15px!important;gap:19px!important}
 #home #multiThemePanel{padding:12px!important}#home #multiThemeList{grid-template-columns:minmax(0,1fr)!important}
 #home #testSetup>.actions>button{width:100%!important;flex-basis:100%}
 #themes .mobile-theme-choice{padding:16px 14px!important;gap:12px!important;min-height:88px!important}
 #themes .mobile-theme-name{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){#themes .mobile-theme-choice{transition:none!important;transform:none!important}}

/* ===== ORIGEN: alba-fase5.css ===== */
/* ALBA · FASE 5 · Dashboard premium | 14-11-2026
   Basado en la inspiración facilitada: azul-violeta, luz turquesa, volumen 3D.
   Sólo afecta al centro de estudio #home. Mantiene IDs y lógica originales. */
#home{--v5-bg:#0a1428;--v5-card:#142442;--v5-edge:rgba(147,176,227,.23);--v5-gold:#ffd895;--v5-text:#f8f8ff;--v5-muted:#c8d0e5;--v5-teal:#73d2dd;color:var(--v5-text)}
#home .alba-dashboard-v5{position:relative;isolation:isolate;max-width:1500px;margin:0 auto;padding:12px 0 36px}
#home .alba-dashboard-v5:before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:900px;pointer-events:none;background:radial-gradient(ellipse at 72% 0%,rgba(76,37,109,.15),transparent 56%)}
#home .alba-v5-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 1px 26px;margin-bottom:16px;border-bottom:1px solid rgba(176,195,228,.18)}
#home .alba-v5-topbar-brand{display:flex;align-items:center;gap:12px;min-width:0}
#home .alba-v5-brand-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;border-radius:14px;background:linear-gradient(145deg,#294564,#201d45);border:1px solid rgba(242,205,131,.3)}
#home .alba-v5-brand-icon img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 3px 9px #0008)}
#home .alba-v5-topbar-brand strong{display:block;font-size:14px;font-weight:850;letter-spacing:.13em;color:#fff}
#home .alba-v5-topbar-brand span:not(.alba-v5-brand-icon){display:block;margin-top:3px;font-size:12px;color:#b4c4df}
#home .alba-v5-topbar-links{display:flex;align-items:center;gap:10px}
#home .alba-v5-top-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 14px;border:1px solid rgba(143,182,224,.25);border-radius:13px;background:rgba(31,53,82,.6);color:#e6efff;text-decoration:none;font-size:12px;font-weight:750;transition:background .2s,border-color .2s,transform .2s}
#home .alba-v5-top-link svg{width:19px;height:19px;color:#83d5e3;flex:none}
#home .alba-v5-top-progress{background:linear-gradient(120deg,#2d315c,#243b64);border-color:rgba(158,151,222,.35)}
#home .alba-v5-top-link:hover{border-color:#cbd5f1;background:#314d75;transform:translateY(-2px)}
#home .alba-v5-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:19px}
#home .alba-v5-dashboard-main{min-width:0;display:flex;flex-direction:column;gap:20px}
#home .alba-v5-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(230px,.88fr);align-items:center;gap:10px;min-height:348px;padding:35px 22px 29px 34px;margin:0;border-radius:26px;border:1px solid rgba(117,151,212,.35);background:radial-gradient(ellipse at 84% 26%,rgba(68,145,189,.22),transparent 44%),linear-gradient(118deg,#222140 4%,#1b183a 47%,#14243e 100%);box-shadow:0 22px 43px #02081554,inset 0 1px #ffffff18}
#home .alba-v5-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#ffffff08,transparent 36%);z-index:0}
#home .alba-v5-hero:after{content:"";position:absolute;width:380px;height:380px;right:-135px;top:-216px;border:1px solid #7fe3e32b;border-radius:50%;pointer-events:none}
#home .alba-v5-hero-copy{position:relative;z-index:2;min-width:0}
#home .alba-v5-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.16em;font-weight:850;color:#91e3e7;margin:0 0 18px}
#home .alba-v5-live-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#70ddd6;box-shadow:0 0 0 4px #70ddd61b}
#home .alba-v5-hero :is(h1,[data-alba-view-title]){max-width:610px;margin:0 0 17px!important;font-size:clamp(34px,3.45vw,52px)!important;line-height:1.09!important;letter-spacing:-.052em!important;color:#fff!important;font-weight:790!important}
#home .alba-v5-hero :is(h1,[data-alba-view-title]) span{display:block;color:#ffd897!important}
#home .alba-v5-hero-lead{font-size:14px!important;color:#d2d9ec!important;line-height:1.7!important;max-width:475px;margin:0 0 22px!important}
#home .alba-v5-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:20px}
#home .alba-v5-cta,#home .alba-v5-outline{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 16px;border-radius:11px;font-size:12px;font-weight:850;text-decoration:none;transition:transform .2s,background .2s,border-color .2s}
#home .alba-v5-cta{color:#0e2037!important;border:1px solid #ffe8af;background:linear-gradient(115deg,#ffe3a2,#f0c46c);box-shadow:0 7px 20px #d9ae6430}
#home .alba-v5-cta svg{width:16px;height:16px}
#home .alba-v5-outline{color:#eff4ff!important;border:1px solid #a4b9dd70;background:#ffffff06}
#home .alba-v5-cta:hover,#home .alba-v5-outline:hover{transform:translateY(-2px)}
#home .alba-v5-hero-foot{display:flex;flex-wrap:wrap;gap:9px}
#home .alba-v5-hero-foot span{padding:6px 9px;color:#badfe4;font-size:10px;font-weight:650;background:#2b56704a;border:1px solid #8dced446;border-radius:8px}
#home .alba-v5-hero-art{position:relative;min-width:0;height:274px;display:grid;place-items:center;perspective:750px}
#home .alba-v5-hero-art .alba-v5-halo{position:absolute;inset:7% 0 4%;background:radial-gradient(ellipse at center,#367bd442,#43368b25 40%,transparent 74%);pointer-events:none}
#home .alba-v5-hero-art .alba-v5-art-plane{position:absolute;inset:30% 9% 18%;transform:rotateX(64deg) rotateZ(-24deg);border:1px solid #abddf94a;border-radius:21px;box-shadow:0 28px 35px #02081a6b,0 0 30px #5c9dd319}
#home .alba-v5-hero-art>img{position:relative;z-index:1;width:117%;max-width:370px;max-height:235px;object-fit:contain;filter:drop-shadow(0 18px 23px #01081893) saturate(1.2)}
#home .alba-v5-float-tag{position:absolute;z-index:2;white-space:nowrap;display:flex;align-items:center;gap:6px;font-size:10px;font-weight:850;letter-spacing:.07em;padding:9px 11px;border-radius:10px;box-shadow:0 8px 18px #01071388;transform:rotate(-6deg)}
#home .alba-v5-float-tag svg{width:15px;height:15px}
#home .alba-v5-float-tag--one{right:0;top:10%;background:#3a6184f0;border:1px solid #90d8eb70;color:#fff}
#home .alba-v5-float-tag--two{left:2%;bottom:13%;background:#44366aeb;border:1px solid #d8aefb6d;color:#f4d0ff;transform:rotate(6deg)}
#home .alba-v5-rail{padding:18px;border-radius:23px;background:linear-gradient(146deg,#1d2140,#131d34 75%);border:1px solid rgba(146,158,215,.35);box-shadow:0 17px 34px #030a1d55}
#home .alba-v5-rail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
#home .alba-v5-rail-heading small{color:#88d7e2;font-size:10px;font-weight:850;letter-spacing:.13em}
#home .alba-v5-rail-heading h2{color:#fff;font-size:22px;letter-spacing:-.035em;margin:5px 0 0;font-weight:800}
#home .alba-v5-rail-heading>span{display:grid;place-items:center;width:35px;height:35px;color:#f6d08c;font-size:22px;background:#f6d08c11;border-radius:11px}
#home .alba-v5-route{display:grid;grid-template-columns:44px minmax(0,1fr) 14px;align-items:center;gap:10px;min-height:74px;padding:11px 10px;margin-bottom:10px;text-decoration:none;border-radius:14px;border:1px solid #9da6e631;color:#fff;background:linear-gradient(110deg,#30345c,#222b4a);transition:transform .2s,border-color .2s,background .2s}
#home .alba-v5-route:hover{transform:translateX(3px);border-color:#91d7e9;background:linear-gradient(110deg,#344b70,#273752)}
#home .alba-v5-route--brain{background:linear-gradient(110deg,#233d5f,#252f53)}
#home .alba-v5-route--game{background:linear-gradient(110deg,#303054,#262341)}
#home .alba-v5-route-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#fbd597;background:linear-gradient(145deg,#4d6187,#293b60);border:1px solid #adc0eb31}
#home .alba-v5-route--brain .alba-v5-route-icon{color:#8be0e2}
#home .alba-v5-route--game .alba-v5-route-icon{color:#ddaaf6}
#home .alba-v5-route-icon svg{width:23px;height:23px}
#home .alba-v5-route strong{display:block;font-size:13px;color:#fff;line-height:1.28;font-weight:800}
#home .alba-v5-route small{display:block;margin-top:5px;font-size:11px;color:#c8d5ed;line-height:1.4}
#home .alba-v5-route-arrow{color:#e6cd95;font-size:16px}
#home .alba-v5-rail-feature{position:relative;isolation:isolate;overflow:hidden;min-height:166px;border:1px solid #84a7c93a;border-radius:14px;margin-top:17px;padding:18px;background:radial-gradient(ellipse at 100% 100%,#3e7b9b40,transparent 68%),linear-gradient(130deg,#22385a,#202347)}
#home .alba-v5-feature-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:180px}
#home .alba-v5-feature-copy small{font-size:9px;font-weight:850;letter-spacing:.1em;color:#84d8dc}
#home .alba-v5-feature-copy strong{font-size:17px;line-height:1.3;color:#fff}
#home .alba-v5-feature-copy span{font-size:11px;color:#d1dbed;line-height:1.45}
#home .alba-v5-rail-feature img{position:absolute;right:-38px;bottom:-20px;width:170px;max-height:125px;object-fit:contain;opacity:.45;filter:saturate(1.4);pointer-events:none}
#home .alba-v5-block-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 14px}
#home .alba-v5-block-title small{display:block;font-size:10px;font-weight:850;letter-spacing:.13em;color:#89d4e0;margin-bottom:6px}
#home .alba-v5-block-title h2{font-size:21px!important;color:#fff!important;letter-spacing:-.03em;line-height:1.2;font-weight:770!important;margin:0!important}
#home .alba-v5-block-title a{font-size:11px;font-weight:700;color:#8de0ed;text-decoration:none;white-space:nowrap}
#home .alba-v5-block-title--compact{margin-bottom:13px}
#home .alba-v5-quick-section,#home .alba-v5-summary-section{min-width:0}
#home .quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin:0!important}
#home .quick-actions button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:9px;min-width:0;min-height:113px!important;padding:17px 18px!important;border-radius:16px!important;background:linear-gradient(125deg,#1d456c,#173455)!important;border:1px solid #89c0e464!important;box-shadow:0 12px 23px #0003!important}
#home .quick-actions button:nth-child(2){background:linear-gradient(125deg,#23566a,#183f53)!important;border-color:#77dcd355!important}
#home .quick-actions button:nth-child(3){background:linear-gradient(125deg,#4b4779,#262e5c)!important}
#home .quick-actions button strong{font-size:16px!important;line-height:1.25;color:#fff!important}
#home .quick-actions button small{font-size:11px!important;color:#c6d9ed!important}
#home .quick-actions button .quick-number{background:#ffffff0d;color:#a6dfeb!important;border:1px solid #ffffff2b;border-radius:8px;font-size:10px!important;padding:4px 7px}
#home .quick-actions button .quick-arrow{position:absolute;top:14px;right:16px;color:#ffe1a0}
#home .quick-actions button.hidden{display:none!important}
#home #stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin:0!important;align-items:stretch}
#home #stats>article{border-radius:17px!important;padding:17px!important;min-width:0;min-height:119px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start!important;gap:9px!important;text-align:left!important;border:1px solid #8dbad953!important;background:linear-gradient(140deg,#182d4b,#14203b)!important;box-shadow:0 11px 23px #0002!important}
#home #stats>article:nth-child(1){background:linear-gradient(145deg,#174566,#1b2c50)!important}
#home #stats>article:nth-child(2){background:linear-gradient(145deg,#2a3463,#1d2444)!important}
#home #stats>article>label{font-size:11px!important;line-height:1.3!important;color:#c6d8ed!important;min-height:0!important;white-space:normal}
#home #stats #statSessions,#home #stats #statMisses{background:transparent!important;border:0!important;display:block!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;font-size:34px!important;color:#fff1c7!important;line-height:1.1!important}
#home #stats .stat-block-bests{grid-column:1/-1;min-height:130px}
#home #stats .block-best-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
#home #stats .block-best-grid>div{min-width:0;border:1px solid #a6c8eb21;border-radius:9px;padding:9px;background:#070f2535}
#home #stats .block-best-grid small{font-size:10px;color:#c3daed!important}
#home #stats .block-best-grid b{font-size:18px;color:#ffe0a0}
#home #stats .block-best-hint{font-size:10px}
#home .alba-v5-resource-zone{margin:28px 0 28px;padding:24px;border:1px solid #95b2de35;border-radius:23px;background:linear-gradient(140deg,#171c3a,#0f1e36);box-shadow:0 14px 31px #0003}
#home .alba-v5-resource-zone .alba15-section-lead{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:0 0 19px}
#home .alba-v5-resource-zone .alba15-section-lead small{color:#94d9e0;font-size:10px;font-weight:800}
#home .alba-v5-resource-zone .alba15-section-lead h2{color:#fff!important;font-size:24px!important;margin:7px 0 0}
#home .alba-v5-resource-zone .alba15-section-lead p{font-size:12px;color:#c7d4e9}
#home .alba-v5-resource-zone #mobileTiles{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
#home .alba-v5-resource-zone .mobile-tile{display:flex!important;position:relative;min-width:0;min-height:130px!important;align-items:flex-start;justify-content:flex-end;flex-direction:column;gap:11px!important;text-align:left;background:linear-gradient(138deg,#2d405e,#1b2d4b)!important;color:#fff!important;border:1px solid #a6c2e241!important;border-radius:16px!important;padding:18px 15px!important;box-shadow:inset 0 1px #ffffff13,0 9px 21px #0002!important;text-decoration:none!important;transition:transform .22s,border-color .22s,background .22s!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(2){background:linear-gradient(140deg,#3e2f59,#252447)!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(3){background:linear-gradient(140deg,#24566a,#17354e)!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(4){background:linear-gradient(140deg,#443653,#27253e)!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(5){background:linear-gradient(140deg,#284c67,#1b2e4a)!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(6){background:linear-gradient(140deg,#3e3c68,#232947)!important}
#home .alba-v5-resource-zone .mobile-tile:nth-child(7){background:linear-gradient(140deg,#28505f,#1c324f)!important}
#home .alba-v5-resource-zone .mobile-tile .tile-icon{display:flex!important;align-items:center;justify-content:center;width:43px!important;height:43px!important;margin:0!important;border-radius:12px;background:#e5f8ff14;color:#9cdeef!important;border:1px solid #c7ddfa2e;font-size:22px!important}
#home .alba-v5-resource-zone .mobile-tile .tile-icon svg{width:23px!important;height:23px!important;stroke:currentColor}
#home .alba-v5-resource-zone .mobile-tile>span:not(.tile-icon){font-size:12px!important;font-weight:850;letter-spacing:.025em;line-height:1.35;color:#f8f6ff!important}
#home .alba-v5-resource-zone .mobile-tile small{font-size:10px!important;color:#c5d5e9!important;line-height:1.4}
#home .alba-v5-resource-zone .mobile-tile:hover{transform:translateY(-5px);border-color:#a6dfe8!important}
#home .alba-v5-test-zone{margin:0 0 23px;scroll-margin-top:90px}
#home .alba-v5-test-zone .alba-v5-block-title{padding:0 3px;margin-bottom:12px}
#home .alba-v5-section-index{font-size:11px;color:#ecd299;border:1px solid #efd29a45;border-radius:8px;padding:8px 11px;background:#efd29a13}
#home .alba-v5-test-zone #testSetup{margin-top:0!important;border-color:#8b8dc558!important;background:radial-gradient(ellipse at 100% 0%,#3c305153,transparent 46%),linear-gradient(135deg,#172645,#102038)!important}
#home .alba-v5-test-zone #testSetup .section-heading h2{font-size:24px!important}
#home .alba-v5-test-zone #testSetup .section-heading small{color:#95d6dd!important}
@media(min-width:1000px){
 #home .alba-v5-hero-art>img{animation:alba-v5-float 8s ease-in-out infinite}
}
@keyframes alba-v5-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@media(max-width:1250px){
 #home .alba-v5-dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(232px,265px);gap:14px}
 #home .alba-v5-hero{padding:30px 23px;grid-template-columns:minmax(0,1fr) minmax(170px,.7fr)}
 #home .alba-v5-hero :is(h1,[data-alba-view-title]){font-size:clamp(32px,3.2vw,46px)!important}
 #home .alba-v5-hero-art{height:228px}
 #home .alba-v5-rail{padding:15px}
 #home .alba-v5-resource-zone #mobileTiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1050px){
 #home .alba-v5-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:19px}
 #home .alba-v5-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 #home .alba-v5-rail-heading{grid-column:1/-1;margin-bottom:2px}
 #home .alba-v5-route{margin:0;grid-template-columns:40px minmax(0,1fr) 12px;min-height:75px}
 #home .alba-v5-route-icon{width:39px;height:39px}
 #home .alba-v5-rail-feature{grid-column:1/-1;margin-top:2px;min-height:115px}
 #home .alba-v5-feature-copy{max-width:80%}
 #home .alba-v5-rail-feature img{width:220px;right:2px;bottom:-42px}
}
@media(max-width:650px){
 #home .alba-dashboard-v5{padding-top:2px}
 #home .alba-v5-topbar{gap:8px;margin-bottom:14px;padding:9px 0 17px}
 #home .alba-v5-brand-icon{width:40px;height:40px;flex-basis:40px}
 #home .alba-v5-brand-icon img{width:34px;height:34px}
 #home .alba-v5-topbar-brand{gap:8px}
 #home .alba-v5-topbar-brand strong{font-size:10px;letter-spacing:.08em}
 #home .alba-v5-topbar-brand span:not(.alba-v5-brand-icon){font-size:10px}
 #home .alba-v5-topbar-links{gap:6px}
 #home .alba-v5-top-link{width:42px;height:42px;padding:10px}
 #home .alba-v5-top-link span{display:none}
 #home .alba-v5-top-link svg{width:20px;height:20px}
 #home .alba-v5-hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:25px 21px 14px;gap:0;border-radius:20px}
 #home .alba-v5-hero :is(h1,[data-alba-view-title]){font-size:clamp(31px,8.6vw,44px)!important;margin-bottom:13px!important}
 #home .alba-v5-hero-lead{font-size:13px!important;line-height:1.6!important;margin-bottom:18px!important}
 #home .alba-v5-eyebrow{margin-bottom:13px}
 #home .alba-v5-hero-actions{margin-bottom:15px}
 #home .alba-v5-hero-actions a{min-height:42px;font-size:11px;padding:10px 12px}
 #home .alba-v5-hero-foot{gap:6px}
 #home .alba-v5-hero-foot span{font-size:9px}
 #home .alba-v5-hero-art{height:145px;margin-top:7px;max-width:100%}
 #home .alba-v5-hero-art>img{max-height:134px;max-width:240px}
 #home .alba-v5-hero-art .alba-v5-art-plane{inset:38% 18% 7%}
 #home .alba-v5-float-tag{font-size:8px;padding:6px 8px}
 #home .alba-v5-float-tag--one{right:8%;top:5%}
 #home .alba-v5-float-tag--two{left:8%;bottom:0}
 #home .alba-v5-dashboard-main{gap:19px}
 #home .alba-v5-block-title h2{font-size:19px!important}
 #home .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 #home .quick-actions button{min-height:118px!important;padding:15px!important}
 #home .quick-actions button strong{font-size:14px!important}
 #home .quick-actions button small{font-size:10px!important}
 #home #stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #home #stats>article{padding:16px!important;min-height:104px}
 #home #stats #statSessions,#home #stats #statMisses{font-size:31px!important}
 #home .alba-v5-rail{grid-template-columns:minmax(0,1fr);padding:16px}
 #home .alba-v5-rail-heading{grid-column:auto}
 #home .alba-v5-rail-feature{grid-column:auto}
 #home .alba-v5-route{min-height:69px}
 #home .alba-v5-resource-zone{padding:18px 14px 20px;margin:23px 0 25px;border-radius:19px}
 #home .alba-v5-resource-zone .alba15-section-lead{display:block}
 #home .alba-v5-resource-zone .alba15-section-lead h2{}
 #home .alba-v5-resource-zone .alba15-section-lead p{font-size:11px}
 #home .alba-v5-resource-zone #mobileTiles{}
 #home .alba-v5-resource-zone .mobile-tile{min-height:115px!important;padding:15px 11px!important;gap:10px!important}
 #home .alba-v5-resource-zone .mobile-tile>span:not(.tile-icon){font-size:11px!important}
 #home .alba-v5-resource-zone .mobile-tile .tile-icon{width:39px!important;height:39px!important}
 #home .alba-v5-section-index{font-size:10px}
}
@media(max-width:365px){
 #home .alba-v5-topbar-brand span:not(.alba-v5-brand-icon){display:none}
 #home .alba-v5-resource-zone #mobileTiles{}
 #home .alba-v5-hero-actions a{font-size:10px}
 #home .alba-v5-hero-foot span{font-size:8px;padding:5px 7px}
}
@media(prefers-reduced-motion:reduce){
 #home .alba-v5-hero-art>img{animation:none!important}
 #home .alba-v5-top-link,#home .alba-v5-cta,#home .alba-v5-outline,#home .alba-v5-route,#home .alba-v5-resource-zone .mobile-tile{transition:none!important;transform:none!important}
}

/* Ajuste de cabecera móvil tras inspección visual en Chrome.
   La barra hamburguesa del sitio es fija y ocupa la primera franja. */
@media(max-width:800px){
 #home .alba-dashboard-v5{padding-top:58px}
}

/* ===== ORIGEN: alba-ajustes-fase5.css ===== */
/* ALBA · Restauración de recursos e imágenes · 2026-11-14
   Capa reversible sobre Fase 5. No modifica el motor de tests. */
/* Ocultar únicamente el configurador en la entrada inicial */
#home .alba-v5-test-zone[hidden]{display:none!important}
#home .alba-v5-test-zone.alba-test-open{display:block!important;scroll-margin-top:86px}
#home .alba-close-test-setup{
 display:inline-flex;align-items:center;justify-content:center;min-height:42px;
 border:1px solid rgba(188,205,226,.42);border-radius:11px;padding:9px 14px;
 background:linear-gradient(125deg,#2b3b61,#263050);color:#eff4ff;
 font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap;
}
#home .alba-close-test-setup:hover,#home .alba-close-test-setup:focus-visible{border-color:#e8cd96;color:#ffe1a3}
#home .alba-v5-hero-actions button.alba-v5-cta{font:850 12px system-ui,-apple-system,sans-serif;cursor:pointer}
#home .alba-v5-block-title:has(.alba-close-test-setup){align-items:center;flex-wrap:wrap}
/* Recuperar miniaturas de cada recurso real */
#home .alba-v5-resource-zone #mobileTiles .mobile-tile{
 justify-content:flex-start!important;align-items:stretch!important;min-height:214px!important;
 padding:12px 13px 17px!important;gap:9px!important;
 background:linear-gradient(135deg,#222e4f,#142841)!important;
 border:1px solid rgba(133,174,220,.46)!important;position:relative;isolation:isolate;
 box-shadow:0 11px 26px rgba(0,6,23,.3)!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(2){background:linear-gradient(135deg,#332957,#1e2b4e)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(3){background:linear-gradient(135deg,#213c59,#14364c)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(4){background:linear-gradient(135deg,#352a53,#242c4c)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(5){background:linear-gradient(135deg,#234158,#1b2d4b)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(6){background:linear-gradient(135deg,#2b3058,#1e2942)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(7){background:linear-gradient(135deg,#183f56,#1f2949)!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile > .tile-icon{display:none!important}
#home .alba-v5-resource-zone #mobileTiles .alba-tile-media{
 width:100%;height:120px;flex:0 0 120px;display:grid!important;place-items:center;overflow:hidden;
 padding:4px;border-radius:13px;border:1px solid rgba(160,193,231,.22);
 background:radial-gradient(ellipse at 50% 66%,rgba(65,137,190,.22),transparent 68%),rgba(7,17,39,.42);
 position:relative;
}
#home .alba-v5-resource-zone #mobileTiles .alba-tile-media:before{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(150deg,rgba(255,255,255,.055),transparent 44%);
}
#home .alba-v5-resource-zone #mobileTiles .alba-tile-media img{
 max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center;
 filter:drop-shadow(0 8px 11px rgba(0,7,24,.45));transform:scale(1);
 transition:transform .35s ease;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(4) .alba-tile-media img{object-fit:cover;border-radius:9px}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(6) .alba-tile-media img{
 width:82px;height:82px;filter:drop-shadow(0 7px 11px rgba(241,199,107,.28));
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile>span:not(.tile-icon):not(.alba-tile-media){
 display:block!important;font-weight:850!important;line-height:1.4!important;
 font-size:12px!important;color:#fff!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile small{
 margin-top:auto;font-size:10px!important;line-height:1.45!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:hover .alba-tile-media img{transform:scale(1.065)}
/* Recuperación de ilustraciones en accesos rápidos, sin tapar los títulos */
#home .quick-actions button{isolation:isolate;overflow:hidden!important}
#home .quick-actions button .alba-quick-art{
 position:absolute;right:-8px;top:0;bottom:0;margin:auto;
 width:115px;height:105px;object-fit:contain;opacity:.45;
 pointer-events:none;z-index:-1;filter:drop-shadow(0 5px 12px rgba(0,5,28,.5));
}
#home .quick-actions button strong,#home .quick-actions button small{position:relative;z-index:1;max-width:80%}
/* Tres volúmenes descargables */
#home .alba-home-downloads{
 padding:24px;margin:26px 0 30px;border-radius:23px;
 border:1px solid rgba(166,181,226,.38);
 background:radial-gradient(ellipse at 100% 0%,rgba(94,73,141,.17),transparent 54%),linear-gradient(135deg,#211e3e,#132c46);
 box-shadow:0 17px 32px rgba(0,7,26,.27);
}
#home .alba-home-download-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
#home .alba-home-download-header div{max-width:720px}
#home .alba-home-eyebrow{margin:0 0 7px;color:#89dce5;font-size:10px;font-weight:850;letter-spacing:.13em}
#home .alba-home-download-header h2{font-size:clamp(21px,2.3vw,28px);line-height:1.25;color:#ffe0a0!important;margin:0 0 9px;font-weight:800}
#home .alba-home-download-header p:not(.alba-home-eyebrow){font-size:13px;line-height:1.65;color:#d2deef;margin:0}
#home .alba-home-download-label{
 color:#a5dfe7;border:1px solid rgba(135,213,222,.38);
 background:rgba(50,102,140,.19);border-radius:9px;
 white-space:nowrap;font-size:10px;font-weight:800;padding:9px 11px;
}
#home .alba-home-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#home .alba-home-download-card{
 display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:9px;min-width:0;min-height:115px;
 padding:14px 11px;border:1px solid rgba(160,191,228,.35);border-radius:15px;
 background:linear-gradient(140deg,#2b4160,#1e2b4d);color:#fff;text-decoration:none;
 transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
#home .alba-home-download-card:nth-child(2){background:linear-gradient(140deg,#2e365d,#252b4b)}
#home .alba-home-download-card:nth-child(3){background:linear-gradient(140deg,#264d61,#1b344c)}
#home .alba-home-download-icon{
 display:grid;place-items:center;width:39px;height:46px;flex:none;
 border-radius:9px;background:linear-gradient(145deg,#f7dfa8,#d9b572);
 color:#14263b;font-size:17px;font-weight:900;
 box-shadow:5px 6px 0 rgba(1,10,30,.36);
}
#home .alba-home-download-card strong{display:block;color:#fff;font-size:13px;line-height:1.4;margin:5px 0}
#home .alba-home-download-card small{font-size:9px;line-height:1.35;letter-spacing:.06em;color:#afe1e8;font-weight:780;display:block}
#home .alba-home-download-card em{font-style:normal;font-size:11px;color:#f6d394}
#home .alba-home-download-arrow{color:#ffe1a5;font-size:23px;justify-self:end}
#home .alba-home-download-card:hover{border-color:#ffe3a9;box-shadow:0 15px 27px rgba(1,6,22,.35);transform:translateY(-4px)}
/* Volver a mostrar al final la colaboración voluntaria original */
#home #alba-colaboracion-home{
 display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);gap:20px;align-items:center;
 padding:25px;margin:33px 0 15px;border-radius:20px;
 border:1px solid rgba(153,176,219,.35);
 background:radial-gradient(ellipse at 95% 0%,rgba(71,139,173,.13),transparent 58%),linear-gradient(125deg,#1d2746,#142b42);
 box-shadow:0 13px 31px rgba(1,8,25,.26);
}
#home #alba-colaboracion-home .colaboracion-copy{min-width:0}
#home #alba-colaboracion-home .colaboracion-kicker{color:#92dfe2;font-weight:800;font-size:10px;letter-spacing:.13em;margin:0 0 9px}
#home #alba-colaboracion-home h2{font-size:clamp(21px,2.3vw,27px);color:#ffe0a0!important;margin:0 0 13px;line-height:1.25}
#home #alba-colaboracion-home .colaboracion-copy p:not(.colaboracion-kicker){color:#d1deee;font-size:13px;line-height:1.7;margin:0 0 9px}
#home #alba-colaboracion-home .colaboracion-free strong{color:#f7e1b9}
#home #alba-colaboracion-home .colaboracion-bizum{padding:20px;text-align:center;border-radius:15px;border:1px solid rgba(246,210,135,.37);background:rgba(7,24,43,.78)}
#home #alba-colaboracion-home .colaboracion-label{display:block;color:#a5dfe5;font-size:10px;letter-spacing:.075em;font-weight:820}
#home #alba-colaboracion-home .colaboracion-number{color:#ffe0a0;font-size:clamp(26px,3vw,34px);font-weight:850;letter-spacing:.02em;margin:13px 0}
#home #alba-colaboracion-home .colaboracion-thanks{color:#d3dfed;font-size:12px}
@media(max-width:900px){
 #home .alba-home-download-grid{grid-template-columns:1fr}
 #home .alba-home-download-card{min-height:89px}
 #home #alba-colaboracion-home{grid-template-columns:1fr}
}
@media(max-width:650px){
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:182px!important;padding:9px!important}
 #home .alba-v5-resource-zone #mobileTiles .alba-tile-media{}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(6) .alba-tile-media img{width:72px;height:72px}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile>span:not(.tile-icon):not(.alba-tile-media){font-size:11px!important}
 #home .quick-actions button .alba-quick-art{width:90px;height:85px;opacity:.38}
 #home .alba-home-downloads{padding:19px 14px;margin:20px 0}
 #home .alba-home-download-header{display:block}
 #home .alba-home-download-label{display:inline-block;margin-top:12px}
 #home .alba-home-download-card{grid-template-columns:37px minmax(0,1fr) 19px;gap:8px}
 #home .alba-home-download-card strong{font-size:13px}
 #home #alba-colaboracion-home{padding:18px 15px;gap:15px}
 #home .alba-v5-hero-actions button.alba-v5-cta{font-size:11px}
}
@media(max-width:370px){
 #home .alba-v5-resource-zone #mobileTiles .alba-tile-media{height:86px;flex-basis:86px}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:170px!important}
 #home .alba-home-download-card{padding:12px 8px}
}
@media(prefers-reduced-motion:reduce){
 #home .alba-home-download-card,
 #home .alba-v5-resource-zone #mobileTiles .alba-tile-media img{transition:none!important;transform:none!important}
}

/* Solución compatible con Chrome/Linux y móviles: algunas GPUs no dibujan
   imágenes transparentes al combinar drop-shadow con capas transformadas. */
#home .alba-v5-resource-zone #mobileTiles .alba-tile-media img,
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:nth-child(6) .alba-tile-media img,
#home .quick-actions button .alba-quick-art{
 filter:none!important;
 transform:none!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile:hover .alba-tile-media img{
 transform:none!important;
}
#home #descarga-temario-home,
#home #alba-colaboracion-home{scroll-margin-top:75px}

/* ===== ORIGEN: alba-calendario-tests.css ===== */
/* ALBA 2026 · Inicio más visual, calendario y página de tests separada. */
/* Inicio: presentar recursos, mantener resumen; no duplicar el área de tests. */
body:not(.alba-tests-entry) #home .alba-v5-test-zone,
body:not(.alba-tests-entry) #home .past-tests-panel,
body:not(.alba-tests-entry) #home .oca-entry,
body:not(.alba-tests-entry) #home .notes,
body:not(.alba-tests-entry) #home .storage-strip,
body:not(.alba-tests-entry) #home .alba-dashboard-v5>footer{display:none!important}
body:not(.alba-tests-entry) #home .quick-actions button{cursor:pointer}
body:not(.alba-tests-entry) #home .quick-actions button .quick-arrow{font-size:19px}
/* Descripciones que acompañan las ilustraciones en todas las tarjetas */
#home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:238px!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile small.alba-tile-detail{
 display:block!important;align-self:stretch;margin-top:3px!important;
 color:#c6d6e8!important;font-size:11px!important;line-height:1.45!important;
 font-weight:450!important;white-space:normal!important
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile>span:not(.tile-icon):not(.alba-tile-media){
 text-align:left!important
}
/* Sustituye la tarjeta decorativa por un calendario real y local. */
#home .alba-study-calendar{
 padding:15px 13px 14px;margin-top:15px;min-width:0;
 border:1px solid rgba(133,196,232,.36);border-radius:17px;
 background:linear-gradient(145deg,#203853,#1d2446);
 color:#f7f9ff;box-shadow:inset 0 1px rgba(255,255,255,.1)
}
#home .alba-cal-kicker{font-size:10px;color:#8fdae4;font-weight:850;letter-spacing:.12em}
#home .alba-cal-head{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0 12px}
#home .alba-cal-month{font-size:15px;line-height:1.3;font-weight:800;color:#fff;text-transform:capitalize}
#home .alba-cal-arrows{display:flex;gap:4px}
#home .alba-cal-arrows button{
 width:31px;height:32px;display:grid;place-items:center;cursor:pointer;border-radius:9px;
 color:#e9f6ff;border:1px solid rgba(165,207,237,.27);background:rgba(15,40,68,.7)
}
#home .alba-cal-arrows button:hover,#home .alba-cal-arrows button:focus-visible{border-color:#f7d495;color:#ffdfa0}
#home .alba-cal-weekdays,#home .alba-cal-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
#home .alba-cal-weekdays span{color:#aebfd6;font-size:10px;padding:4px 0;font-weight:850}
#home .alba-cal-days button,
#home .alba-cal-days .alba-cal-empty{
 aspect-ratio:1;min-width:0;display:grid;place-items:center;padding:0;border-radius:9px;
 font:700 11px/1 system-ui,sans-serif
}
#home .alba-cal-days button{
 cursor:pointer;color:#d9e5f3;border:1px solid transparent;background:#ffffff09;position:relative
}
#home .alba-cal-days button[aria-pressed="true"]{color:#0c2740;background:#f4d38e;border-color:#f8e7c4}
#home .alba-cal-days button.alba-cal-today:not([aria-pressed="true"]){
 color:#9df0e6;background:#12515e;border-color:#60c9d6
}
#home .alba-cal-days button.alba-cal-planned:after{
 content:"";position:absolute;bottom:2px;left:50%;width:4px;height:4px;
 transform:translateX(-50%);border-radius:50%;background:#ffda95
}
#home .alba-cal-days button:hover,#home .alba-cal-days button:focus-visible{border-color:#e2c788}
#home .alba-cal-caption{font-size:10px;margin:12px 0 7px;color:#c5d8e9}
#home .alba-cal-note-input{
 width:100%;min-width:0;min-height:38px;padding:9px;border-radius:9px;
 border:1px solid rgba(131,187,227,.45);background:#0a2139;color:#fff;
 font:500 12px/1.4 system-ui,sans-serif
}
#home .alba-cal-note-input::placeholder{color:#a7c0d5}
#home .alba-cal-actions{display:flex;gap:7px;margin-top:8px}
#home .alba-cal-actions button{
 flex:1;min-height:36px;padding:7px 8px;border-radius:9px;
 font-size:11px;font-weight:800;cursor:pointer;
 border:1px solid rgba(240,210,155,.35);color:#10233c;background:#f0cf8e
}
#home .alba-cal-actions .alba-cal-delete{flex:0 0 auto;background:#253b55;color:#e6eefb;border-color:#819ab5}
#home .alba-cal-status{min-height:16px;margin:8px 0 0;font-size:10px;color:#a6dce5;line-height:1.4}
/* tests.html usa el motor original, con una página visual independiente */
body.alba-tests-entry #home .alba-v5-dashboard-grid,
body.alba-tests-entry #home .alba-v5-resource-zone,
body.alba-tests-entry #home .alba-home-downloads,
body.alba-tests-entry #home #alba-colaboracion-home,
body.alba-tests-entry #home .oca-entry{display:none!important}
body.alba-tests-entry #home .alba-v5-test-zone,
body.alba-tests-entry #home .alba-v5-test-zone[hidden]{display:block!important}
body.alba-tests-entry #home .alba-close-test-setup{display:none!important}
body.alba-tests-entry #home .alba-v5-topbar{margin-bottom:17px}
body.alba-tests-entry #home .alba-tests-heading{
 position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(180px,.8fr);
 align-items:center;gap:12px;min-height:228px;border-radius:22px;padding:22px 27px;margin:0 0 23px;
 background:radial-gradient(ellipse at 82% 30%,rgba(88,149,193,.26),transparent 53%),linear-gradient(115deg,#24203f,#152b47);
 border:1px solid rgba(146,180,227,.4)
}
body.alba-tests-entry #home .alba-tests-heading small{color:#91e0e7;font-size:10px;letter-spacing:.13em;font-weight:850}
body.alba-tests-entry #home .alba-tests-heading :is(h1,[data-alba-view-title]){
 font-size:clamp(29px,3.2vw,45px)!important;letter-spacing:-.04em;line-height:1.13;color:#fff;margin:12px 0!important
}
body.alba-tests-entry #home .alba-tests-heading :is(h1,[data-alba-view-title]) span{color:#ffe0a0}
body.alba-tests-entry #home .alba-tests-heading p{color:#d1dfef;font-size:13px;line-height:1.6;max-width:580px}
body.alba-tests-entry #home .alba-tests-heading img{
 max-width:100%;max-height:180px;object-fit:contain;filter:none;
}
body.alba-tests-entry #home .alba-v5-test-zone{scroll-margin-top:85px}
body.alba-tests-entry #home .alba-v5-test-zone .alba-v5-block-title{display:none}
body.alba-tests-entry #home .alba-v5-test-zone #testSetup{border-radius:21px}
body.alba-tests-entry #home .past-tests-panel{margin-top:23px}
@media(max-width:1050px){
 #home .alba-v5-rail .alba-study-calendar{grid-column:1/-1}
 #home .alba-cal-weekdays,#home .alba-cal-days{max-width:430px}
}
@media(max-width:650px){
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:215px!important}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile small.alba-tile-detail{font-size:10px!important}
 body.alba-tests-entry #home .alba-tests-heading{grid-template-columns:1fr;padding:21px 19px}
 body.alba-tests-entry #home .alba-tests-heading img{max-height:112px;justify-self:center}
 body.alba-tests-entry #home .alba-v5-test-zone #testSetup{margin-top:0}
 #home .alba-cal-weekdays,#home .alba-cal-days{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 #home .alba-cal-days button,#home .alba-cal-arrows button{transition:none}
}

/* Chrom(e)/GPU: no renderizar imagen hero con filtro y rotación simultánea. */
#home .alba-v5-hero-art>img{
 filter:none!important;animation:none!important;transform:none!important;
}
#home .alba-cal-month{text-transform:none!important}

/* Fase 5 · Legibilidad reforzada: textos pequeños mayores y blancos.
   No cambia tamaños de títulos ni controles con texto oscuro sobre dorado. */
#home .alba-v5-eyebrow,
#home .alba-v5-block-title small,
#home .alba-v5-rail-heading small,
#home .alba-cal-kicker,
#home .alba-home-eyebrow {
  font-size:12px!important;color:#fff!important;line-height:1.45!important;
}
#home .alba-v5-topbar-brand span:not(.alba-v5-brand-icon),
#home .alba-v5-hero-foot span,
#home .alba-v5-block-title a,
#home .alba-v5-rail .alba-v5-route small,
#home .quick-actions button small,
#home #stats>article>label,
#home #stats .block-best-grid small,
#home #stats .block-best-hint,
#home .alba-home-download-header p:not(.alba-home-eyebrow),
#home .alba-home-download-card small,
#home .alba-home-download-card em,
#home .alba-v5-resource-zone .alba15-section-lead p,
#home .alba-v5-resource-zone #mobileTiles .mobile-tile small.alba-tile-detail,
#home #alba-colaboracion-home .colaboracion-copy p:not(.colaboracion-kicker),
#home .alba-cal-caption,
#home .alba-cal-status,
#home .alba-cal-weekdays span {
 font-size:13px!important;line-height:1.55!important;color:#fff!important;opacity:1!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile>span:not(.tile-icon):not(.alba-tile-media),
#home .quick-actions button .quick-number,
#home #stats .block-best-grid .block-best-hint,
#home .alba-v5-route strong {
 color:#fff!important;font-size:14px!important;line-height:1.45!important;
}
#home .alba-v5-hero-lead{font-size:15px!important;line-height:1.68!important}
#home .quick-actions button .quick-number{font-size:12px!important}
#home .alba-v5-hero-actions .alba-v5-cta,
#home .alba-v5-hero-actions .alba-v5-outline{font-size:13px!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:259px!important}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile small.alba-tile-detail{
 text-align:left!important;font-weight:550!important;
}
#home .alba-cal-days button{font-size:12px!important;color:#fff!important}
#home .alba-cal-days button[aria-pressed="true"]{color:#12243a!important}
#home .alba-cal-month{font-size:16px!important;color:#fff!important}
#home .alba-cal-note-input{font-size:13px!important;color:#fff!important}
#home .alba-cal-note-input::placeholder{color:#f0f5ff!important;opacity:.88}

/* Portada limpia: el escudo original de ALBA sustituye toda la ilustración y las etiquetas. */
#home .alba-v5-hero-art.alba-v5-hero-art--logo{
 position:relative;display:grid;place-items:center;isolation:isolate;
 width:100%;min-width:0;height:292px!important;overflow:visible;
}
#home .alba-v5-hero-art--logo .alba-v5-halo{
 position:absolute;inset:7% 5%;border-radius:50%;
 background:radial-gradient(ellipse at center,rgba(232,191,112,.17) 0%,rgba(70,122,189,.11) 43%,transparent 75%);
 pointer-events:none;
}
#home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
 position:relative;z-index:2;display:block;
 width:clamp(150px,20vw,235px)!important;height:auto!important;
 max-width:84%!important;max-height:260px!important;
 margin:0!important;object-fit:contain!important;
 animation:none!important;transform:none!important;
 filter:drop-shadow(0 14px 20px rgba(0,6,22,.5))!important;
}
#home .alba-v5-hero-lead{
 display:flex;flex-direction:column;align-items:flex-start;gap:8px;
 max-width:560px;margin:0 0 24px!important;
 color:#fff!important;font-size:17px!important;line-height:1.5!important;
}
#home .alba-v5-hero-lead strong{
 color:#fff!important;font-size:clamp(19px,1.6vw,23px)!important;
 font-weight:850;line-height:1.37;letter-spacing:-.015em;
}
#home .alba-v5-hero-lead span{color:#fff!important;font-size:16px!important;line-height:1.55}
#home .alba-v5-hero-lead em{
 color:#ffe0a0!important;font-style:normal;font-weight:850;
}
@media(max-width:650px){
 #home .alba-v5-hero-art.alba-v5-hero-art--logo{height:201px!important}
 #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
  width:176px!important;max-width:80%!important;max-height:185px!important
 }
 #home .alba-v5-hero-lead{gap:7px;font-size:16px!important}
 #home .alba-v5-hero-lead strong{font-size:19px!important}
 #home .alba-v5-hero-lead span{font-size:15px!important}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:242px!important}
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile small.alba-tile-detail{
  font-size:12px!important;line-height:1.48!important
 }
 #home .alba-v5-resource-zone #mobileTiles .mobile-tile>span:not(.tile-icon):not(.alba-tile-media){font-size:13px!important}
 #home .alba-cal-weekdays span,#home .alba-cal-caption,#home .alba-cal-status{font-size:12px!important}
}

/* Ajuste solicitado: títulos y descripciones centrados bajo cada imagen. */
#home .alba-v5-resource-zone #mobileTiles .mobile-tile{
 text-align:center!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile > span:not(.tile-icon):not(.alba-tile-media){
 display:block!important;
 width:100%!important;
 align-self:center!important;
 text-align:center!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile > small.alba-tile-detail{
 display:block!important;
 width:100%!important;
 align-self:center!important;
 text-align:center!important;
 margin-left:auto!important;
 margin-right:auto!important;
}

/* ==============================================================
   LA HISTORIA DE ALBA · 16/11/2026
   Sección Sobre ALBA integrada en la web y acceso desde Inicio.
   ================================================================ */
#about.alba-history-screen{
  max-width:1100px!important;
  width:100%;
  margin:18px auto 56px!important;
  padding:0 3px 30px;
  color:#e9f1ff;
}
#about .alba-history-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(155px,.7fr);
  align-items:center;
  gap:22px;
  padding:clamp(24px,4vw,46px);
  border-radius:25px;
  border:1px solid rgba(156,187,230,.36);
  background:
    radial-gradient(ellipse at 86% 17%,rgba(242,189,102,.17),transparent 41%),
    radial-gradient(ellipse at 70% 90%,rgba(43,131,180,.20),transparent 48%),
    linear-gradient(125deg,#182641,#121b36 68%,#23213d);
  box-shadow:0 15px 38px rgba(0,10,30,.20);
  overflow:hidden;
}
#about .alba-history-kicker,
#about .alba-history-chapter{
  margin:0 0 13px;
  color:#f0cf8d;
  font-size:12px;
  line-height:1.35;
  font-weight:850;
  letter-spacing:.13em;
}
#about .alba-history-hero :is(h1,[data-alba-view-title]){
  max-width:730px;
  margin:0 0 18px!important;
  color:#fff!important;
  font-size:clamp(30px,4.1vw,52px)!important;
  line-height:1.09;
  letter-spacing:-.04em;
  font-weight:850;
}
#about .alba-history-hero :is(h1,[data-alba-view-title]) span{color:#f5d591!important}
#about .alba-history-deck{
  margin:0 0 22px;
  max-width:630px;
  color:#e5edfb!important;
  font-size:clamp(15px,1.5vw,18px)!important;
  line-height:1.7;
}
#about .alba-history-home-link,
#about .alba-history-cta{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:11px;
  padding:11px 17px;
  color:#152438!important;
  background:linear-gradient(120deg,#fce3a8,#eec77c);
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  border:1px solid #ffe8bd;
}
#about .alba-history-home-link:hover,
#about .alba-history-cta:hover{background:#fff0c7;transform:translateY(-1px)}
#about .alba-history-hero-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0}
#about .alba-history-hero-logo img{
  display:block;
  max-width:100%;
  width:170px;
  height:auto;
  max-height:190px;
  object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.32));
}
#about .alba-history-hero-logo p{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  margin:0!important;
  font-weight:850;
  letter-spacing:.18em;
  color:#ffe0a0;
  font-size:18px!important;
}
#about .alba-history-hero-logo small{
  font-size:11px;
  font-weight:650;
  letter-spacing:0;
  color:#e2ecff;
  text-align:center;
}
#about .alba-history-body{display:grid;gap:18px;margin-top:19px}
#about .alba-history-body > section{
  min-width:0;
  padding:clamp(22px,3vw,35px);
  border:1px solid rgba(150,179,226,.28);
  border-radius:22px;
  background:linear-gradient(138deg,#1a2b48,#131e37);
  color:#eff5ff;
}
#about .alba-history-body h2{
  margin:0 0 20px!important;
  color:#fff!important;
  font-size:clamp(24px,2.4vw,31px)!important;
  letter-spacing:-.025em;
  line-height:1.22;
  font-weight:800;
}
#about .alba-history-body p:not(.alba-history-chapter):not(.alba-history-profile-label):not(.alba-history-disclaimer){
  color:#e5edfa;
  font-size:16px!important;
  line-height:1.78!important;
  margin:0 0 15px;
}
#about .alba-history-body strong{color:#fff;font-weight:800}
#about .alba-history-meaning{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-top:25px;
  padding:19px 20px;
  border:1px solid rgba(247,216,155,.36);
  border-radius:16px;
  background:linear-gradient(115deg,rgba(232,187,109,.11),rgba(87,89,158,.12));
}
#about .alba-history-meaning-icon{
  flex:0 0 40px;
  display:grid;place-items:center;
  width:40px;height:40px;border-radius:11px;
  background:rgba(236,194,127,.18);color:#ffdc9e;
  font-size:23px;
}
#about .alba-history-body h3{
  margin:0 0 10px;
  color:#fff;
  font-size:18px;
  line-height:1.3;
  font-weight:800;
}
#about .alba-history-meaning p:last-child,
#about .alba-history-info-card p:last-child,
#about .alba-history-recognition p:last-child{margin-bottom:0!important}
#about .alba-history-profile{
  display:flex;align-items:center;gap:20px;
  margin:0 0 24px;
  padding:17px;
  border-radius:17px;
  border:1px solid rgba(144,190,228,.35);
  background:linear-gradient(115deg,#253b5a,#23314c);
}
#about .alba-history-author-photo{
  width:112px;height:135px;flex:0 0 112px;
  object-fit:cover;
  border-radius:13px;
  border:2px solid rgba(240,206,147,.70);
  box-shadow:0 9px 18px rgba(4,8,23,.29);
}
#about .alba-history-profile-label{margin:0 0 8px!important;color:#f1d39e!important;letter-spacing:.09em;font-size:11px!important;font-weight:850}
#about .alba-history-profile h3{font-size:21px}
#about .alba-history-profile p:last-child{margin:0!important;font-size:14px!important;line-height:1.5!important}
#about .alba-history-career-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;margin:21px 0;
}
#about .alba-history-info-card{
  min-width:0;
  padding:20px;
  border-radius:16px;
  border:1px solid rgba(123,174,215,.30);
  background:linear-gradient(145deg,#273c5d,#1c2d48);
}
#about .alba-history-card-icon{
  width:39px;height:35px;margin-bottom:13px;
  display:grid;place-items:center;
  border:1px solid rgba(242,211,155,.38);
  border-radius:9px;background:rgba(240,200,131,.11);
  color:#f8d69b;font-size:13px;font-weight:850;
}
#about .alba-history-info-card p{font-size:14px!important;line-height:1.75!important}
#about .alba-history-recognition{
  display:flex;gap:15px;align-items:flex-start;
  margin-top:20px;padding:21px;
  border-radius:15px;
  border:1px solid rgba(245,205,135,.31);
  background:rgba(190,144,74,.10);
}
#about .alba-history-recognition-mark{
  display:grid;place-items:center;flex:0 0 38px;
  width:38px;height:38px;border-radius:50%;
  background:#f6d695;color:#2b2841;font-size:19px;
}
#about .alba-history-quote{
  margin:23px 0!important;
  padding:23px 23px 23px 26px;
  border-left:4px solid #f0c980;
  border-radius:0 15px 15px 0;
  background:rgba(238,203,137,.10);
  color:#fff!important;
  font-size:clamp(17px,2.2vw,21px);
  font-weight:750;
  line-height:1.57;
}
#about .alba-history-ending{
  display:flex;justify-content:space-between;align-items:center;
  gap:18px;flex-wrap:wrap;
  margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,255,255,.17);
}
#about .alba-history-ending-identity{
  display:flex;flex-direction:column;gap:5px;
}
#about .alba-history-ending-identity strong{font-size:17px}
#about .alba-history-ending-identity span{color:#c8d9f2;font-size:13px}
#about .alba-history-ending-identity a{color:#a6e4ed;text-decoration:underline;text-underline-offset:3px;font-size:13px}
#about .alba-history-disclaimer{
  margin:23px 0 0!important;
  font-size:12px!important;
  color:#c2d0e7!important;
  line-height:1.6!important;
}
#home .alba-history-teaser{
  display:flex;align-items:center;gap:15px;
  margin:18px 0 21px;
  padding:17px 20px;
  border-radius:18px;
  border:1px solid rgba(245,207,139,.38);
  background:linear-gradient(110deg,#1c3d56,#233050 72%,#332b4e);
  box-shadow:0 10px 23px rgba(0,15,35,.19);
  text-decoration:none!important;
  color:#fff!important;
  transition:transform .2s,border-color .2s;
}
#home .alba-history-teaser:hover,
#home .alba-history-teaser:focus-visible{
  transform:translateY(-2px);
  border-color:#f8d694;
}
#home .alba-history-teaser-icon{
  display:grid;place-items:center;flex:0 0 65px;
  height:66px;border-radius:14px;
  background:rgba(9,24,42,.32);
  border:1px solid rgba(250,222,178,.2);
}
#home .alba-history-teaser-icon img{width:auto;height:55px;max-width:57px;object-fit:contain}
#home .alba-history-teaser-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
#home .alba-history-teaser-copy small{
  font-size:11px;font-weight:850;letter-spacing:.10em;color:#f6d599;
}
#home .alba-history-teaser-copy strong{font-size:19px;line-height:1.3;color:#fff}
#home .alba-history-teaser-copy > span{font-size:13px;line-height:1.55;color:#f0f3ff}
#home .alba-history-teaser-arrow{
  display:grid;place-items:center;flex:0 0 36px;
  width:36px;height:36px;border-radius:10px;
  background:rgba(255,255,255,.11);color:#f6d599;font-size:21px
}
@media(max-width:720px){
  #about .alba-history-hero{grid-template-columns:1fr;padding:24px 20px;gap:20px}
  #about .alba-history-hero-logo{flex-direction:row;justify-content:center;gap:16px}
  #about .alba-history-hero-logo img{width:83px;max-height:91px}
  #about .alba-history-hero-logo p{align-items:flex-start;font-size:16px!important}
  #about .alba-history-hero-logo small{text-align:left}
  #about .alba-history-career-grid{grid-template-columns:1fr}
  #about .alba-history-body{gap:13px}
  #about .alba-history-body>section{padding:22px 19px}
  #about .alba-history-body p:not(.alba-history-chapter):not(.alba-history-profile-label):not(.alba-history-disclaimer){font-size:15px!important;line-height:1.75!important}
  #about .alba-history-info-card{padding:17px}
}
@media(max-width:440px){
  #about.alba-history-screen{padding:0 0 22px}
  #about .alba-history-hero{border-radius:18px;padding:22px 17px}
  #about .alba-history-hero :is(h1,[data-alba-view-title]){font-size:31px!important}
  #about .alba-history-profile{gap:14px;padding:13px;align-items:flex-start}
  #about .alba-history-author-photo{width:76px;height:98px;flex-basis:76px}
  #about .alba-history-profile h3{font-size:17px}
  #about .alba-history-meaning{padding:16px 13px;gap:10px}
  #about .alba-history-recognition{padding:17px 13px;gap:10px}
  #about .alba-history-quote{padding:18px;font-size:17px}
  #home .alba-history-teaser{padding:13px;gap:11px}
  #home .alba-history-teaser-icon{flex-basis:48px;height:55px}
  #home .alba-history-teaser-icon img{max-width:44px;height:47px}
  #home .alba-history-teaser-copy strong{font-size:16px}
  #home .alba-history-teaser-copy > span{font-size:12px}
  #home .alba-history-teaser-copy small{font-size:10px}
  #home .alba-history-teaser-arrow{flex-basis:24px;width:24px;height:27px;font-size:17px}
}

/* Evitar que la barra móvil fija oculte el comienzo de la historia al abrir #about. */
@media(max-width:800px){
  #about.alba-history-screen{
    padding-top:65px!important;
    scroll-margin-top:65px;
  }
}

/* Portada ALBA · Accesos rápidos sin huecos cuando hay un test pendiente.
   La tercera tarjeta aparece solo si existe sesión reanudable. No alterar
   almacenamiento ni ocultar la opción "Continuar mi test". */
@media (min-width:1180px){
  #home .quick-actions:has(> #quickResume:not(.hidden)){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:1179px){
  #home .quick-actions:has(> #quickResume:not(.hidden)){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #home .quick-actions > #quickResume:not(.hidden){
    grid-column:1/-1!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px 14px!important;
    min-height:76px!important;
    padding:13px 20px!important;
  }
  #home .quick-actions > #quickResume:not(.hidden) .quick-number{
    margin:0!important;
  }
  #home .quick-actions > #quickResume:not(.hidden) .alba-quick-art{
    opacity:.20!important;
  }
  #home .quick-actions > #quickResume:not(.hidden) strong,
  #home .quick-actions > #quickResume:not(.hidden) small{
    max-width:none!important;
  }
  #home .quick-actions > #quickResume:not(.hidden) .quick-arrow{
    top:50%!important;right:18px!important;
    transform:translateY(-50%);
  }
}
@media (max-width:530px){
  #home .quick-actions > #quickResume:not(.hidden){
    min-height:65px!important;
    padding:12px 40px 12px 13px!important;
    gap:7px 10px!important;
  }
  #home .quick-actions > #quickResume:not(.hidden) small{
    flex-basis:100%;
    padding-left:38px;
    margin-top:-6px;
  }
}

/* Portada 17/11/2026 · seis recursos bajo la presentación.
   La barra lateral de calendario queda junto a Acceso rápido y Resultados.
   El elemento de Configuración se conserva como disparador oculto de navegación. */
#home .alba-v5-dashboard-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(255px,300px)!important;
  grid-template-areas:
    "hero hero"
    "resources resources"
    "quick rail"
    "summary rail";
  column-gap:19px!important;
  row-gap:19px!important;
  align-items:start;
}
#home .alba-v5-dashboard-main{
  display:contents!important;
}
#home .alba-v5-hero{grid-area:hero;min-width:0}
#home .alba-v5-resource-zone{
  grid-area:resources;
  min-width:0;
  margin:0!important;
  padding:22px 22px 24px;
}
#home .alba-v5-resource-zone #mobileTiles{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
#home .alba-v5-resource-zone #mobileTiles .mobile-tile{
  min-height:235px!important;
  padding:12px!important;
}
#home .alba-v5-resource-zone #mobileTiles .alba-tile-media{
  height:119px;
  flex-basis:119px;
}
#home .alba-v5-quick-section{grid-area:quick;min-width:0}
#home .alba-v5-summary-section{grid-area:summary;min-width:0}
#home .alba-v5-rail{grid-area:rail;min-width:0;align-self:start}
#home .alba-v5-resource-zone #tileSettings{display:none!important}
@media(max-width:1050px){
  #home .alba-v5-dashboard-grid{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"hero" "resources" "quick" "summary" "rail";
    row-gap:18px!important;
  }
  #home .alba-v5-resource-zone #mobileTiles{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  #home .alba-v5-resource-zone{padding:19px}
}
@media(max-width:650px){
  #home .alba-v5-dashboard-grid{row-gap:15px!important}
  #home .alba-v5-resource-zone{padding:15px 12px!important;border-radius:18px}
  #home .alba-v5-resource-zone #mobileTiles{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #home .alba-v5-resource-zone #mobileTiles .mobile-tile{
    min-height:208px!important;
    padding:10px!important;
  }
  #home .alba-v5-resource-zone #mobileTiles .alba-tile-media{
    height:97px;
    flex-basis:97px;
  }
  #home .alba-v5-resource-zone .alba15-section-lead{margin-bottom:13px}
  #home .alba-v5-resource-zone .alba15-section-lead h2{font-size:20px!important}
}
@media(max-width:365px){
  #home .alba-v5-resource-zone #mobileTiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #home .alba-v5-resource-zone #mobileTiles .mobile-tile{min-height:214px!important}
  #home .alba-v5-resource-zone #mobileTiles .alba-tile-media{height:84px;flex-basis:84px}
}

/* Ajuste fino: agrupar Acceso rápido y Resultados en la misma columna
   evita separaciones verticales causadas por la altura del calendario. */
#home .alba-v5-dashboard-grid{
  grid-template-areas:
    "hero hero"
    "resources resources"
    "study rail"!important;
}
#home .alba-v5-bottom-main{
  grid-area:study;
  display:flex;
  flex-direction:column;
  gap:21px;
  min-width:0;
  align-self:start;
}
#home .alba-v5-bottom-main .alba-v5-quick-section,
#home .alba-v5-bottom-main .alba-v5-summary-section{
  grid-area:auto!important;
  min-width:0;
}
#home .alba-v5-resource-zone #mobileTiles #tileInterview{
  grid-row:auto!important;
  grid-column:auto!important;
}
@media(max-width:1050px){
  #home .alba-v5-dashboard-grid{
    grid-template-areas:"hero" "resources" "study" "rail"!important;
  }
}

/* ==========================================================
   Portada ALBA · Retos rápidos + Opiniones y consultas
   17/11/2026 · relleno útil bajo el panel de resultados.
   ========================================================== */
#home .alba-home-challenge{
  min-width:0;
  border:1px solid rgba(149,179,222,.35);
  border-radius:19px;
  padding:17px 17px 18px;
  background:
    radial-gradient(ellipse at 95% 8%,rgba(68,140,183,.15),transparent 50%),
    linear-gradient(135deg,#1a2948,#141e39);
  box-shadow:0 12px 24px rgba(0,10,30,.14);
}
#home .alba-home-challenge-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-bottom:13px;
}
#home .alba-home-challenge-kicker{
  margin:0 0 5px;
  color:#f3d49e;
  font-size:10px;
  font-weight:850;
  letter-spacing:.13em;
}
#home .alba-home-challenge h2{
  margin:0 0 4px!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:1.3!important;
  font-weight:850;
  letter-spacing:-.025em;
}
#home .alba-home-challenge-heading p:not(.alba-home-challenge-kicker){
  margin:0!important;
  color:#c8d8ec!important;
  line-height:1.45!important;
  font-size:11px!important;
}
#home .alba-home-challenge-all{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 0;
  white-space:nowrap;
  color:#f1d492!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:750;
}
#home .alba-home-challenge-all:hover,
#home .alba-home-challenge-all:focus-visible{text-decoration:underline!important;text-underline-offset:3px}
#home .alba-home-challenge-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
#home .alba-home-challenge-game{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  min-width:0;
  min-height:123px;
  padding:12px 10px 11px;
  text-align:left;
  border:1px solid rgba(147,195,231,.29);
  border-radius:12px;
  color:#fff;
  background:linear-gradient(155deg,#234367,#19314f);
  cursor:pointer;
  box-shadow:inset 0 1px rgba(255,255,255,.09);
  transition:transform .18s,border-color .18s,background .18s;
}
#home .alba-home-challenge-game:nth-child(2){
  border-color:rgba(188,161,223,.32);
  background:linear-gradient(155deg,#3b315b,#242648);
}
#home .alba-home-challenge-game:nth-child(3){
  background:linear-gradient(155deg,#235167,#1b354e);
}
#home .alba-home-challenge-game:hover,
#home .alba-home-challenge-game:focus-visible{
  border-color:#f1d69c;
  transform:translateY(-2px);
  outline-offset:2px;
}
#home .alba-home-challenge-game-icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-bottom:9px;
  border-radius:9px;
  color:#ffdc9c;
  background:rgba(244,206,141,.12);
  border:1px solid rgba(255,224,171,.18);
}
#home .alba-home-challenge-game-icon svg{
  width:17px;
  height:17px;
}
#home .alba-home-challenge-game-title{
  display:block;
  width:100%;
  color:#fff!important;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}
#home .alba-home-challenge-game-note{
  margin-top:4px;
  color:#c8d9eb;
  font-size:10px;
  line-height:1.35;
}
#home .alba-home-challenge-game-arrow{
  position:absolute;
  top:12px;
  right:11px;
  color:#f8dca0;
  font-size:15px;
  line-height:1;
}
#home .alba-home-feedback{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:83px;
  padding:14px 16px;
  border:1px solid rgba(238,198,125,.4);
  border-radius:16px;
  background:linear-gradient(118deg,#1c3a56,#202e4d 75%,#332944);
  box-shadow:0 10px 20px rgba(0,10,30,.13);
  color:#fff!important;
  text-decoration:none!important;
  transition:border-color .18s,transform .18s;
}
#home .alba-home-feedback:hover,
#home .alba-home-feedback:focus-visible{
  border-color:#ffe0a1;
  transform:translateY(-1px);
}
#home .alba-home-feedback-icon{
  display:grid;
  place-items:center;
  flex:0 0 41px;
  width:41px;
  height:41px;
  border:1px solid rgba(250,211,147,.3);
  border-radius:12px;
  color:#f9d9a0;
  background:rgba(250,217,155,.10);
}
#home .alba-home-feedback-icon svg{width:22px;height:22px}
#home .alba-home-feedback-copy{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  gap:5px;
}
#home .alba-home-feedback-copy strong{
  color:#fff!important;
  font-size:14px;
  line-height:1.35;
  font-weight:850;
}
#home .alba-home-feedback-copy small{
  color:#d1e2f6!important;
  font-size:11px;
  line-height:1.45;
}
#home .alba-home-feedback-action{
  flex:0 0 auto;
  color:#f9d79b;
  font-weight:800;
  font-size:11px;
  white-space:nowrap;
}
@media(max-width:1200px){
  #home .alba-home-feedback{flex-wrap:wrap;gap:10px}
  #home .alba-home-feedback-action{margin-left:54px}
}
@media(max-width:1050px){
  #home .alba-home-challenge-game{min-height:116px}
  #home .alba-home-feedback{flex-wrap:nowrap}
  #home .alba-home-feedback-action{margin-left:0}
}
@media(max-width:650px){
  #home .alba-home-challenge{padding:15px 12px 14px}
  #home .alba-home-challenge-heading{align-items:flex-start}
  #home .alba-home-challenge h2{font-size:18px!important}
  #home .alba-home-challenge-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  #home .alba-home-challenge-game{
    display:grid;
    grid-template-columns:36px minmax(0,1fr) 22px;
    grid-template-rows:auto auto;
    align-items:center;
    gap:1px 8px;
    min-height:68px;
    padding:10px 12px;
  }
  #home .alba-home-challenge-game-icon{
    grid-column:1;
    grid-row:1/3;
    margin:0;
    width:34px;
    height:34px;
  }
  #home .alba-home-challenge-game-title{grid-column:2;grid-row:1;font-size:13px}
  #home .alba-home-challenge-game-note{grid-column:2;grid-row:2;margin-top:0;font-size:11px}
  #home .alba-home-challenge-game-arrow{
    grid-column:3;grid-row:1/3;position:static;text-align:center;
  }
  #home .alba-home-feedback{padding:13px 12px;flex-wrap:wrap;gap:9px}
  #home .alba-home-feedback-icon{flex-basis:36px;width:36px;height:36px}
  #home .alba-home-feedback-action{margin:0 0 0 45px}
}
@media(prefers-reduced-motion:reduce){
  #home .alba-home-challenge-game,
  #home .alba-home-feedback{transition:none!important;transform:none!important}
}

/* Ajuste para móviles pequeños: impedir que el enlace de opiniones
   comprima el texto central a una columna de pocas letras. */
@media(max-width:650px){
  #home .alba-home-feedback{
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-rows:auto auto;
    gap:4px 10px!important;
    align-items:center;
    min-height:0!important;
    padding:13px 12px!important;
  }
  #home .alba-home-feedback-icon{
    grid-column:1;grid-row:1 / 3;
    align-self:center;
  }
  #home .alba-home-feedback-copy{
    grid-column:2;grid-row:1;
    min-width:0;width:100%;
    gap:4px;
  }
  #home .alba-home-feedback-action{
    grid-column:2;grid-row:2;
    margin:2px 0 0!important;
    min-width:0;
    white-space:normal!important;
    font-size:11px;
    line-height:1.35;
  }
}

/* =============================================================
   ALBA · Portada principal con jerarquía visual ampliada
   17/11/2026 · Solo Inicio; Tests conserva su portada propia.
   ============================================================= */
body:not(.alba-tests-entry) #home .alba-v5-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.32fr) minmax(220px,.68fr)!important;
  gap:24px!important;
  min-height:485px!important;
  padding:44px 46px 40px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-copy{
  min-width:0;
  width:100%;
}
body:not(.alba-tests-entry) #home .alba-v5-eyebrow{
  margin:0 0 20px!important;
  font-size:12px!important;
  letter-spacing:.15em!important;
  line-height:1.4!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
  max-width:740px!important;
  margin:0 0 23px!important;
  font-size:clamp(46px,4.55vw,68px)!important;
  line-height:1.07!important;
  letter-spacing:-.047em!important;
  font-weight:850!important;
  text-wrap:balance;
}
body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]) span{
  color:#ffdaa0!important;
  display:block;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px!important;
  margin:0 0 25px!important;
  max-width:720px!important;
  line-height:1.5!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead strong{
  font-size:clamp(19px,1.76vw,25px)!important;
  font-weight:850!important;
  line-height:1.32!important;
  color:#fff!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead span{
  font-size:clamp(15px,1.24vw,18px)!important;
  line-height:1.6!important;
  color:#f0f3ff!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px!important;
  align-items:center;
  margin:0 0 21px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
  min-height:52px!important;
  padding:13px 21px!important;
  font-size:15px!important;
  font-weight:850!important;
  border-radius:12px!important;
  line-height:1.3!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta svg{
  width:19px!important;
  height:19px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-foot{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%;
  max-width:630px;
  margin:0!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:0;
  min-height:73px;
  padding:10px 9px;
  gap:3px;
  text-align:center;
  border:1px solid rgba(154,191,222,.32);
  border-radius:12px;
  background:rgba(18,45,76,.45);
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat strong{
  color:#ffe0a6!important;
  font-size:29px!important;
  font-weight:850!important;
  line-height:1.05!important;
  letter-spacing:-.035em;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat span{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e7f0fe!important;
  padding:0!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.28!important;
  overflow-wrap:break-word;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{
  height:325px!important;
  display:grid;
  place-items:center;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
  width:clamp(190px,22vw,285px)!important;
  max-height:307px!important;
}
@media(max-width:1250px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   padding:35px 30px!important;
   min-height:445px!important;
   grid-template-columns:minmax(0,1.3fr) minmax(190px,.7fr)!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(40px,4.45vw,55px)!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat strong{font-size:27px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
   font-size:13px!important;
   min-height:49px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{height:270px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{width:215px!important}
}
@media(max-width:800px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   gap:8px!important;
   padding:31px 28px 23px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(39px,7.2vw,53px)!important;
   margin-bottom:20px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead{
   gap:8px!important;
   margin-bottom:22px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead strong{font-size:clamp(20px,3vw,24px)!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead span{font-size:16px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{
   height:205px!important;
   margin-top:10px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
   width:190px!important;
   max-height:205px!important;
 }
}
@media(max-width:450px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   padding:25px 19px 18px!important;
   gap:8px!important;
   border-radius:21px;
 }
 body:not(.alba-tests-entry) #home .alba-v5-eyebrow{
   margin-bottom:15px!important;
   font-size:10px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(34px,9.4vw,41px)!important;
   line-height:1.1!important;
   letter-spacing:-.045em!important;
   margin-bottom:18px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead strong{
   line-height:1.37!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead span{}
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions{
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   width:100%;
   gap:8px!important;
   margin-bottom:19px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
   width:100%;
   min-width:0;
   min-height:49px!important;
   padding:9px 8px!important;
   text-align:center;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-foot{gap:7px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat{
   min-height:74px;
   padding:9px 5px;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat strong{font-size:27px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat span{}
 body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{
   height:195px!important;
   margin-top:6px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{width:176px!important}
}
@media(max-width:350px){
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){font-size:33px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions{
   grid-template-columns:minmax(0,1fr);
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
   min-height:46px!important;
   font-size:13px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat{padding:9px 2px}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat span{
   font-size:10px!important;
   overflow-wrap:anywhere;
 }
}

/* =========================================================
   ALBA · Cabecera editorial ampliada · 17/11/2026
   Acentúa título, escudo y propósito social sin duplicar CTA.
   Solo Inicio: no afecta a tests.html ni al resto de páginas.
   ========================================================= */
body:not(.alba-tests-entry) #home .alba-v5-hero{
  grid-template-columns:minmax(0,1.26fr) minmax(280px,.74fr)!important;
  align-items:center!important;
  column-gap:34px!important;
  padding:44px 43px 41px!important;
  min-height:550px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
  font-size:clamp(50px,5vw,76px)!important;
  line-height:1.055!important;
  margin-bottom:25px!important;
  letter-spacing:-.052em!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead{
  max-width:730px!important;
  gap:12px!important;
  margin-bottom:28px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead strong{
  font-size:clamp(21px,1.86vw,27px)!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-lead span{
  font-size:clamp(16px,1.23vw,19px)!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-actions{
  gap:13px!important;
  margin-bottom:23px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
  min-height:55px!important;
  font-size:16px!important;
  padding:14px 22px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-foot{
  max-width:700px!important;
  gap:12px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat{
  min-height:85px!important;
  border-color:rgba(164,192,229,.42)!important;
  background:linear-gradient(145deg,rgba(44,73,115,.46),rgba(16,39,71,.36))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07);
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat strong{
  font-size:34px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-stat span{
  font-size:13px!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  height:auto!important;
  min-height:455px;
  gap:9px;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo .alba-v5-halo{
  inset:4% 0 34%!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
  flex:0 0 auto;
  width:min(100%,340px)!important;
  max-width:100%!important;
  max-height:355px!important;
  height:auto!important;
  object-fit:contain!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission{
  position:relative;
  z-index:2;
  width:100%;
  max-width:365px;
  margin-top:4px;
  padding:16px 20px 15px;
  border:1px solid rgba(243,205,132,.36);
  border-radius:16px;
  background:linear-gradient(130deg,rgba(21,53,86,.92),rgba(28,44,77,.92));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 25px rgba(1,11,34,.20);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission-eyebrow{
  color:#f5d392!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.14em!important;
  line-height:1.4!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission > strong{
  color:#fff!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission > p{
  margin:0!important;
  color:#dae9f6!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission > a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  margin-top:5px;
  padding:6px 3px;
  color:#ffe0a6!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.4;
  border-bottom:1px solid rgba(245,204,142,.53);
}
body:not(.alba-tests-entry) #home .alba-v5-hero-mission > a:hover,
body:not(.alba-tests-entry) #home .alba-v5-hero-mission > a:focus-visible{
  color:#fff!important;
  border-color:#ffe0a6;
}
@media(max-width:1250px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   grid-template-columns:minmax(0,1.27fr) minmax(225px,.73fr)!important;
   padding:34px 28px!important;
   gap:20px!important;
   min-height:530px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(43px,4.6vw,62px)!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
   min-height:50px!important;
   font-size:14px!important;
   padding:12px 16px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
   width:min(100%,295px)!important;
   max-height:300px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission{
   padding:14px 13px;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission > strong{font-size:15px!important}
}
@media(max-width:800px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   grid-template-columns:minmax(0,1fr)!important;
   min-height:0!important;
   padding:29px 26px 24px!important;
   gap:20px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(38px,7.15vw,55px)!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art.alba-v5-hero-art--logo{
   min-height:0;
   height:auto!important;
   gap:4px;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
   width:min(62%,210px)!important;
   max-height:220px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission{
   max-width:500px;
   padding:14px 17px;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission > strong{font-size:17px!important}
}
@media(max-width:450px){
 body:not(.alba-tests-entry) #home .alba-v5-hero{
   padding:24px 18px 20px!important;
   gap:18px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero :is(h1,[data-alba-view-title]){
   font-size:clamp(33px,8.8vw,40px)!important;
   margin-bottom:19px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead{margin-bottom:20px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead strong{
   font-size:20px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-lead span{font-size:15px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions button.alba-v5-cta,
 body:not(.alba-tests-entry) #home .alba-v5-hero-actions a.alba-v5-outline{
   font-size:12px!important;
   padding:11px 7px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-foot{gap:6px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat{min-height:75px!important;padding:8px 3px}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat strong{font-size:29px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-stat span{font-size:11px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-art--logo > img.alba-v5-hero-logo{
   width:180px!important;
   max-width:70%!important;
   max-height:180px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission{
   padding:13px 12px!important;
 }
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission > strong{font-size:15px!important}
 body:not(.alba-tests-entry) #home .alba-v5-hero-mission > p{font-size:12px!important}
}

/* ============================================================
   ALBA · Anchura unificada entre Inicio, Juegos y Entrevista
   17/11/2026 · Usa el espacio real de la columna de contenido,
   como hace Mi progreso, y conserva el espacio del menú.
   ============================================================ */
body.alba-v16 #games.screen{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  min-width:0;
}
body.alba-v16 #games .games-hero,
body.alba-v16 #games .games-grid,
body.alba-v16 #games .games-footer{
  width:100%;
  max-width:none;
  min-width:0;
}
body.alba-v16 #entrevista.screen{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding:0 0 26px!important;
  min-width:0;
  background:transparent!important;
}
body.alba-v16 #entrevista .entrevista-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0;
  margin:0!important;
}
body.alba-v16 #entrevista .entrevista-head,
body.alba-v16 #entrevista .entrevista-visual,
body.alba-v16 #entrevista .entrevista-options,
body.alba-v16 #entrevista .ent-panel{
  max-width:100%;
  min-width:0;
}
@media(max-width:800px){
  body.alba-v16 #entrevista.screen{
    padding:7px 0 20px!important;
  }
  body.alba-v16 #games.screen{
    padding-inline:0!important;
  }
}

/* ALBA 19/11/2026 · contador público de visitas en la portada.
   Número real en PHP, jamás asociado a IP ni almacenamiento local. */
body:not(.alba-tests-entry) #home .alba-visit-counter{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  max-width:700px;
  min-height:75px;
  margin-top:14px;
  padding:12px 17px;
  border:1px solid rgba(245,206,132,.43);
  border-radius:15px;
  background:linear-gradient(110deg,rgba(30,68,94,.78),rgba(26,42,77,.77));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 24px rgba(2,11,31,.12);
}
body:not(.alba-tests-entry) #home .alba-visit-counter-icon{
  flex:0 0 42px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  color:#ffe0a0;
  border:1px solid rgba(255,217,157,.40);
  border-radius:12px;
  background:rgba(255,214,144,.11);
}
body:not(.alba-tests-entry) #home .alba-visit-counter-icon svg{width:24px;height:24px}
body:not(.alba-tests-entry) #home .alba-visit-counter-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  flex:1;
  min-width:0;
}
body:not(.alba-tests-entry) #home .alba-visit-counter-copy strong{
  color:#ffe1a8!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.13em;
  line-height:1.2;
}
body:not(.alba-tests-entry) #home .alba-visit-counter-copy small{
  color:#e4f0fc!important;
  font-size:12px!important;
  line-height:1.35;
}
body:not(.alba-tests-entry) #home .alba-visit-counter-number{
  flex:0 0 auto;
  color:#ffdc98!important;
  font-size:clamp(27px,2.3vw,36px)!important;
  font-weight:900!important;
  line-height:1.1;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 12px rgba(240,202,128,.18);
}
body:not(.alba-tests-entry) #home .alba-visit-counter--offline .alba-visit-counter-number{
  color:#d2e0ed!important;
}
@media(max-width:600px){
  body:not(.alba-tests-entry) #home .alba-visit-counter{
    gap:9px;
    padding:11px 10px;
    min-height:70px;
    margin-top:12px;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter-icon{
    flex-basis:34px;
    width:34px;
    height:34px;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter-icon svg{
    width:19px;
    height:19px;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter-copy strong{
    font-size:10px!important;
    letter-spacing:.08em;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter-copy small{
    font-size:10px!important;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter-number{
    font-size:clamp(24px,7vw,30px)!important;
  }
}
@media(max-width:350px){
  body:not(.alba-tests-entry) #home .alba-visit-counter-copy small{
    font-size:9px!important;
  }
  body:not(.alba-tests-entry) #home .alba-visit-counter{
    gap:7px;
    padding:10px 8px;
  }
}

/* Webmaxi · primera edición de la portada */
@media screen {
  body.alba-v16:not(.alba-tests-entry) #home header.alba-v5-hero {
    background:
      radial-gradient(ellipse at 85% 18%, #17637985, transparent 42%),
      linear-gradient(120deg, #071324 8%, #0a2137 60%, #123745) !important;
    border: 1px solid #467585 !important;
    box-shadow: inset 0 2px #80eee044, 0 12px 32px #04132533 !important;
  }
  body.alba-v16 #home .alba-v5-hero-art--logo {
    background:
      repeating-radial-gradient(circle at 50% 34%, transparent 0 33px, #89f8ed29 34px, transparent 35px 58px),
      linear-gradient(90deg, #80ffe80e 1px, transparent 1px),
      linear-gradient(#80ffe80e 1px, transparent 1px) !important;
    background-size: auto, 24px 24px, 24px 24px !important;
  }
  body.alba-v16 #home .alba-v5-hero :is(h1,[data-alba-view-title]) span {
    color: #ffe0a0 !important;
    text-shadow: 0 2px 20px #ffcc702e;
  }
  body.alba-v16 #home .alba-v5-hero-actions .alba-v5-cta {
    background: linear-gradient(115deg, #ffe9b0, #ebbd6d) !important;
    color: #102238 !important;
  }
  body.alba-v16 #home #mobileTiles .mobile-tile {
    border: 1px solid #527985 !important;
    box-shadow: inset 0 -3px #60cbb8, 0 6px 18px #061a3233 !important;
  }
  body.alba-v16 #home #mobileTiles .mobile-tile:nth-child(even) {
    box-shadow: inset 0 -3px #dfb76e, 0 6px 18px #061a3233 !important;
  }
  body.alba-v16 #home :is(a, button):focus-visible {
    outline: 3px solid #45caba !important;
    outline-offset: 2px !important;
  }
}
@media screen and (hover: hover) {
  body.alba-v16 #home #mobileTiles .mobile-tile:hover {
    border-color: #81eadc !important;
    box-shadow: 0 0 0 2px #367d87, 0 9px 22px #061a3244 !important;
  }
}

/* Radar de la portada. Las órbitas son decorativas y dejan pasar los clics. */
@media screen {
  body.alba-v16 #home .alba-v5-hero-art--logo .alba-v5-halo {
    display: grid !important;
    place-items: center;
    isolation: isolate;
    pointer-events: none;
  }
  #home .alba-v5-halo::before, #home .alba-v5-halo::after {
    content: "";
    grid-area: 1 / 1;
    border-radius: 50%;
    aspect-ratio: 1;
    width: min(96%, 360px);
  }
  #home .alba-v5-halo::before {
    background: conic-gradient(from 12deg, transparent 0 270deg, #36dcce14 306deg, #4ff5db66 352deg, #a4fff4bf 359deg, transparent);
    border: 1px solid #69e5d95e;
  }
  #home .alba-v5-halo::after {
    width: min(84%, 309px);
    border: 2px dashed #a9e7e459;
    border-top: 3px solid #ffc976;
    border-bottom-color: #65e4d8;
  }
  #home .alba-v5-hero-logo { position: relative; z-index: 1; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  #home .alba-v5-halo::before { animation: webmaxi-orbita 12s linear infinite; }
  #home .alba-v5-halo::after { animation: webmaxi-orbita 32s linear infinite reverse; }
  #home .alba-v5-hero-logo { animation: webmaxi-flotar 6s ease-in-out infinite; }
  #home .alba-v5-hero-copy { animation: webmaxi-entrada .65s ease-out both; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #home #mobileTiles .mobile-tile .alba-tile-media img { transition: scale .35s ease-out; }
  #home #mobileTiles .mobile-tile:hover .alba-tile-media img { scale: 1.055; }
}
@keyframes webmaxi-orbita { to { rotate: 1turn; } }
@keyframes webmaxi-flotar { 50% { translate: 0 -6px; } }
@keyframes webmaxi-entrada { from { opacity: .25; translate: 0 12px; } }
