.aula-hero{position:relative;overflow:hidden;padding:82px 0 70px;background:radial-gradient(circle at 84% 25%,#f4d71935 0 12%,transparent 28%),linear-gradient(135deg,#173f75,#24589a);color:#fff}.aula-hero:after{content:"ABC  1+2  ✦";position:absolute;right:4%;bottom:-20px;color:#ffffff0c;font:900 clamp(5rem,14vw,13rem)/1 Manrope;white-space:nowrap}.aula-hero .shell{position:relative;z-index:1}.aula-hero h1{font-size:clamp(3.5rem,7vw,6.7rem);max-width:900px}.aula-hero p{max-width:720px;color:#dce9f8;font-size:1.12rem}.pilot-label{display:inline-flex;gap:9px;align-items:center;margin-top:18px;padding:9px 13px;border:1px solid #ffffff40;border-radius:999px;background:#ffffff12;font-size:.77rem;font-weight:800}.pilot-label:before{content:"";width:8px;height:8px;border-radius:50%;background:#f4d719}.aula-nav{position:sticky;top:88px;z-index:10;background:#fff;border-bottom:1px solid var(--line)}.aula-nav .shell{display:flex;gap:8px;padding-block:13px}.aula-filter{border:0;border-radius:999px;padding:10px 16px;background:#edf3fb;color:#173f75;font:800 .83rem DM Sans;cursor:pointer}.aula-filter.active{background:#173f75;color:#fff}.aula-main{padding:70px 0 95px}.aula-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}.aula-head h2{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1;margin:8px 0}.aula-head p{max-width:470px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.game-card{display:grid;grid-template-columns:95px 1fr auto;align-items:center;gap:20px;padding:24px;border:1px solid var(--line);border-radius:23px;background:#fff;box-shadow:0 13px 35px #173f750c;transition:.22s}.game-card:hover{transform:translateY(-4px);box-shadow:0 21px 46px #173f751a}.game-card[hidden]{display:none}.game-num{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:#eaf1fa;color:#24589a;font:900 2rem Manrope}.game-card[data-subject="mates"] .game-num{background:#fff4c2;color:#8b7000}.game-info small{font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#3d7d35}.game-info h3{font-size:1.35rem;margin:4px 0}.game-info p{margin:0;color:var(--muted);font-size:.9rem}.play-btn{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#173f75;color:#fff;font-size:1.1rem;cursor:pointer}.review-note{margin-top:32px;padding:19px 22px;border-left:4px solid #f4d719;border-radius:0 16px 16px 0;background:#fff;color:#5c6f88}.game-overlay{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;background:#102f59d9;backdrop-filter:blur(8px)}.game-overlay.open{display:flex}.game-shell{width:min(760px,100%);max-height:94vh;overflow:auto;border-radius:30px;background:#f7f9fc;box-shadow:0 35px 100px #061b38}.game-top{display:flex;align-items:center;gap:15px;padding:20px 24px;background:#173f75;color:#fff}.game-top img{width:58px;height:58px;object-fit:contain}.game-title{margin-right:auto}.game-title small{display:block;color:#a9c2df}.game-title strong{font:800 1.1rem Manrope}.game-close{width:42px;height:42px;border:0;border-radius:13px;background:#ffffff18;color:#fff;font-size:1.4rem;cursor:pointer}.progress-track{height:6px;background:#dbe4ef}.progress-fill{height:100%;width:0;background:#f4d719;transition:width .25s}.game-stage{padding:40px}.game-prompt{text-align:center}.game-prompt .emoji{display:block;font-size:4rem;line-height:1.2}.game-prompt h2{font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;margin:12px 0}.game-prompt p{color:var(--muted)}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}.answer{min-height:62px;border:2px solid #dbe4ef;border-radius:17px;background:#fff;color:#173458;font:800 1.05rem DM Sans;cursor:pointer}.answer:hover{border-color:#24589a}.answer.correct{background:#e5f5e2;border-color:#3d7d35;color:#24621e}.answer.wrong{background:#fff0ed;border-color:#d65d45;color:#963722}.feedback{min-height:34px;text-align:center;margin-top:20px;font-weight:900}.feedback.good{color:#267523}.feedback.bad{color:#ad442f}.game-result{text-align:center;padding:45px}.game-result img{width:140px;height:160px;object-fit:contain}.game-result h2{font-size:2.7rem;margin:8px 0}.game-result p{color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:25px}.result-actions button{border:0}.stars{color:#e7bd00;font-size:2rem;letter-spacing:.1em}@media(max-width:800px){.game-grid{grid-template-columns:1fr}.aula-nav{top:67px}}@media(max-width:620px){.aula-hero{padding:58px 0}.aula-head{align-items:flex-start;flex-direction:column}.game-card{grid-template-columns:64px 1fr auto;padding:18px;gap:12px}.game-num{width:58px;height:58px;font-size:1.5rem}.game-info p{display:none}.game-stage{padding:28px 20px}.answers{grid-template-columns:1fr}.aula-nav .shell{overflow:auto}}
.selector-shell{display:flex!important;align-items:end;gap:14px!important;padding-block:12px!important}.selector-shell label{display:grid;gap:4px;min-width:230px}.selector-shell label span{color:#61748b;font-size:.69rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.selector-shell select{height:48px;padding:0 42px 0 15px;border:1px solid #cfdbe9;border-radius:14px;background:#f5f8fc;color:#173458;font:800 .92rem "DM Sans";cursor:pointer;outline:none}.selector-shell select:focus{border-color:#24589a;box-shadow:0 0 0 3px #24589a18}.selector-arrow{padding-bottom:11px;color:#3d7d35;font-size:1.25rem;font-weight:900}.activity-count{display:block;margin-top:8px;color:#3d7d35;font-size:.85rem}@media(max-width:620px){.selector-shell{align-items:stretch!important;display:grid!important;grid-template-columns:1fr!important}.selector-shell label{min-width:0}.selector-arrow{display:none}}
.eco-mission{display:inline-flex;margin:0 auto 18px;padding:7px 11px;border-radius:999px;background:#e7f4e3;color:#34722f;font-size:.68rem;font-weight:900;letter-spacing:.08em}.game-card[data-course="4eso"] .game-num,.game-card[data-course="4epo"] .game-num{background:#e6f3e3;color:#34722f}

.game-card{position:relative;overflow:hidden;border-left:5px solid var(--course-color,#24589a)}.game-card:after{content:"";position:absolute;right:28px;bottom:-36px;width:142px;height:170px;background:url("buheco-3d.png") center bottom/contain no-repeat;opacity:.075;pointer-events:none;transform:rotate(4deg);filter:saturate(.75)}.game-card:nth-child(even):after{right:70px;transform:rotate(-4deg) scaleX(-1)}.game-card>*{position:relative;z-index:1}.game-card[data-course="1epo"]{--course-color:#2972bc;--course-soft:#e7f1fb;--course-ink:#185991}.game-card[data-course="4epo"]{--course-color:#2f913f;--course-soft:#e6f5e7;--course-ink:#277535}.game-card[data-course="4eso"]{--course-color:#e0b900;--course-soft:#fff5c7;--course-ink:#796500}.game-card .game-num{background:var(--course-soft);color:var(--course-ink)}.course-badge{display:inline-flex;margin:0 8px 7px 0;padding:5px 9px;border-radius:999px;background:var(--course-soft);color:var(--course-ink);font-size:.67rem;font-weight:900;letter-spacing:.06em}.game-info>small{display:inline-block}.course-legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:-8px 0 27px}.course-legend>span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #dbe4ef;border-radius:999px;background:#fff;color:#51677f;font-size:.75rem;font-weight:800}.course-legend .dot{display:block;width:10px;height:10px;border-radius:50%}.dot.one{background:#2972bc}.dot.four{background:#2f913f}.dot.eso{background:#e0b900}@media(max-width:620px){.game-card:after{right:15px;width:110px;height:135px}.game-card:nth-child(even):after{right:35px}.course-legend{margin-top:-14px}}
/* Una sola identidad cromática por curso */
.game-card[data-course] .game-num{background:var(--course-soft)!important;color:var(--course-ink)!important}.game-card[data-course] .game-info>small{color:var(--course-ink)!important}.game-card[data-course] .play-btn{background:var(--course-color)!important;color:var(--button-ink,#fff)!important}.game-card[data-course="1epo"]{--button-ink:#fff}.game-card[data-course="4epo"]{--button-ink:#fff}.game-card[data-course="4eso"]{--button-ink:#3f3500}.game-card[data-course] .course-badge{border:1px solid color-mix(in srgb,var(--course-color) 22%,transparent)}

/* Lectura inicial: tipografía escolar solo para las propuestas de 1.º EPO */
.game-card[data-course="1epo"] .game-info h3,.game-card[data-course="1epo"] .game-info p{font-family:"Playwrite ES","Segoe Print",cursive;letter-spacing:.01em}.game-card[data-course="1epo"] .game-info h3{font-size:1.58rem;font-weight:400;line-height:1.42;color:#102f59}.game-card[data-course="1epo"] .game-info p{font-size:1.02rem;font-weight:350;line-height:1.62;color:#334f70}.game-overlay[data-course="1epo"] .game-title strong,.game-overlay[data-course="1epo"] .game-prompt h2,.game-overlay[data-course="1epo"] .game-prompt p,.game-overlay[data-course="1epo"] .answer,.game-overlay[data-course="1epo"] .feedback,.game-overlay[data-course="1epo"] .game-result h2,.game-overlay[data-course="1epo"] .game-result p{font-family:"Playwrite ES","Segoe Print",cursive}.game-overlay[data-course="1epo"] .game-prompt h2{font-size:clamp(2.45rem,5.4vw,3.75rem);font-weight:400;letter-spacing:.01em;line-height:1.18}.game-overlay[data-course="1epo"] .answer{font-size:1.34rem;font-weight:400;letter-spacing:.01em;line-height:1.3}.game-overlay[data-course="1epo"] .game-prompt p,.game-overlay[data-course="1epo"] .feedback,.game-overlay[data-course="1epo"] .game-result p{font-size:1.16rem;font-weight:350}@media(max-width:620px){.game-overlay[data-course="1epo"] .answer{font-size:1.2rem}.game-overlay[data-course="1epo"] .game-prompt h2{font-size:2.3rem}}





.game-card[data-course="1epo"] .game-info h3,.game-card[data-course="1epo"] .game-info p,.game-overlay[data-course="1epo"] .game-title strong,.game-overlay[data-course="1epo"] .game-prompt h2,.game-overlay[data-course="1epo"] .game-prompt p,.game-overlay[data-course="1epo"] .answer,.game-overlay[data-course="1epo"] .feedback,.game-overlay[data-course="1epo"] .game-result h2,.game-overlay[data-course="1epo"] .game-result p{font-style:normal;font-optical-sizing:auto;font-synthesis:none;text-rendering:optimizeLegibility;font-variant-ligatures:common-ligatures contextual}
@media(max-width:1000px){.game-grid{grid-template-columns:1fr}.game-card[data-course="1epo"] .game-info h3{font-size:1.52rem}}


