@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#f2f8fa;background:#071620;--card:#102532;--border:#264352;--lime:#b7f749;--text:#f2f8fa;--muted:#a2b7c0}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 80% 430px at 50% 0%,#0e3844 0%,transparent 95%),#071620}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}.wrap{width:min(960px,calc(100% - 36px));margin:0 auto}.top{display:flex;align-items:center;justify-content:space-between;height:85px;border-bottom:1px solid #1a3440}.logo{font:900 21px 'Outfit',sans-serif;letter-spacing:.01em;text-decoration:none;display:flex;align-items:center;gap:5px}.logo>span:last-child{color:var(--lime);margin-left:-5px}.logo-mark{display:inline-flex;align-items:center;justify-content:center;width:35px;height:38px;margin-right:7px;background:var(--lime);color:#0b2830;font-size:27px;font-weight:900;clip-path:polygon(50% 0,95% 18%,90% 76%,50% 100%,10% 76%,5% 18%)}.top-right{display:flex;align-items:center;gap:16px}.top-record{color:#b9cdd5;font-size:13px}.top-record strong{color:#fff}.small-btn{width:36px;height:36px;border:1px solid #315161;background:#153340;color:white;border-radius:10px}.screen{display:none;animation:enter .22s ease-out}.screen.active{display:block}@keyframes enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.intro{text-align:center;padding:58px 0 26px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--lime)}.intro h1{font:800 clamp(37px,7vw,61px)/1.04 'Outfit',sans-serif;letter-spacing:-.035em;max-width:670px;margin:18px auto}.intro h1 em{font-style:normal;color:var(--lime)}.intro p{color:var(--muted);line-height:1.65;font-size:16px;max-width:600px;margin:0 auto}.hero-card,.game-card,.simple-panel,.result-card{background:linear-gradient(150deg,rgba(20,46,57,.96),rgba(13,33,44,.98));border:1px solid var(--border);box-shadow:0 24px 70px #0003;border-radius:24px}.hero-card{max-width:590px;margin:6px auto 0;padding:28px}.input-caption{font-size:13px;color:#cde2e8;font-weight:800;display:block;margin-bottom:10px}.country-select,.option-fields select,.nick-input{appearance:none;background:#0b1c28;color:#fff;border:1px solid #35505f;border-radius:12px;min-height:52px;padding:0 18px;width:100%;outline-offset:2px}.country-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c1d5dc' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 15px center;background-repeat:no-repeat;padding-right:45px}.modes{display:grid;gap:10px;margin-top:17px}.mode-card{display:flex;align-items:center;gap:15px;border:1px solid #375461;border-radius:15px;background:#183440;color:white;text-align:left;padding:16px;min-height:90px;transition:transform .15s,border-color .15s,background .15s}.mode-card:hover:not(:disabled){transform:translateY(-2px);border-color:#c1f586;background:#1e4047}.mode-primary{background:var(--lime);color:#10222c;border-color:var(--lime)}.mode-primary:hover:not(:disabled){background:#d0ff76}.mode-graphic{font-size:29px;width:44px;text-align:center}.mode-copy{flex:1}.mode-copy strong{display:block;font:800 21px 'Outfit',sans-serif}.mode-copy small{display:block;font-size:12px;opacity:.8;margin-top:5px}.go{font-size:28px;font-weight:600;line-height:1}.options{border-top:1px solid #2c4655;margin-top:21px;padding-top:15px}.options summary{cursor:pointer;display:flex;justify-content:space-between;font-weight:700;font-size:13px;color:#ccdae0}.options p,.muted{font-size:12px;line-height:1.55;color:#9db7c0}.option-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.option-fields label{font-size:12px;color:#d7e7ee;font-weight:700}.option-fields select{margin-top:8px;font-size:12px;padding:0 9px;min-height:43px}.home-footer{max-width:580px;margin:18px auto 30px;display:flex;gap:10px;align-items:center;justify-content:space-between}.home-footer p{margin:0;font-size:11px;color:#8ca7b2}.ad-container{max-width:730px;text-align:center;border:1px dashed #355366;min-height:104px;margin:35px auto;padding:13px;border-radius:12px;color:#93a7b4}.ad-container>span{display:block;font-size:9px;letter-spacing:.1em;margin-bottom:10px}.footer{border-top:1px solid #1a3543;margin-top:70px;padding:25px 0 35px;display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:12px;color:#8ba7b4}.footer div{display:flex;flex-wrap:wrap;gap:16px}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.screen-top{display:flex;justify-content:space-between;align-items:center;max-width:640px;margin:30px auto 16px}.back-btn{padding:8px 0;background:none;border:0;color:#d5e6eb;font-weight:700;font-size:13px}.pill{border:1px solid #365565;background:#183744;color:#bdf14d;border-radius:30px;padding:9px 13px;font-size:10px;font-weight:800;letter-spacing:.1em}.game-card{max-width:640px;padding:28px;margin:auto}.scoreboard{display:flex;align-items:center;justify-content:space-around;gap:12px;margin-bottom:14px}.scoreboard span{display:grid;text-align:center;gap:5px}.scoreboard small{font-size:10px;letter-spacing:.11em;color:#a5b7c1;font-weight:800}.scoreboard b{font:800 25px 'Outfit',sans-serif}.bar{height:6px;background:#294652;border-radius:20px;overflow:hidden}.bar>span{display:block;height:100%;width:0;background:var(--lime);transition:width .2s}.game-card h2{font:800 29px 'Outfit',sans-serif;text-align:center;margin:27px 0 4px}.context{text-align:center;color:#a7c0c9;font-size:13px;margin:0}.crest-area{height:235px;display:flex;align-items:center;justify-content:center;position:relative;margin:12px auto 20px;max-width:330px;background:radial-gradient(circle,#1d4952 0,transparent 67%)}.crest-area img{width:190px;height:180px;object-fit:contain;filter:drop-shadow(0 12px 15px #0007);display:none}.crest-area #loading-badge{position:absolute;font-size:12px;color:#cbdbe2}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px}.answer{border:1px solid #3c5b6a;border-radius:12px;background:#193540;min-height:65px;color:white;font-weight:800;font-size:14px;line-height:1.2;padding:12px}.answer:hover:not(:disabled){border-color:#b0e86a}.answer.good{background:#1e6148;border-color:#50c78d;color:#e7fff4;opacity:1}.answer.bad{background:#683843;border-color:#e77b81;color:#ffe9ea;opacity:1}.feedback{min-height:24px;text-align:center;font-size:14px;font-weight:800;margin:17px auto}.feedback.success{color:var(--lime)}.feedback.fail{color:#ff9297}.game-buttons{display:flex;justify-content:space-between;gap:10px}.action-btn,.soft-btn{border-radius:12px;padding:14px 20px;font-size:14px;font-weight:800;border:1px solid transparent}.action-btn{background:var(--lime);color:#0c242b}.action-btn:hover:not(:disabled){background:#d5ff8a}.soft-btn{background:#244452;color:#e8f5f7;border-color:#395a6b}.game-buttons #next-btn{margin-left:auto}[hidden]{display:none!important}.result-card,.simple-panel{max-width:510px;margin:20px auto;padding:37px 35px;text-align:center}.medal,.big-icon{font-size:48px;margin-bottom:15px}.result-card h2,.simple-panel h2{font:800 33px 'Outfit',sans-serif;margin:12px 0}.big-score{display:block;font:900 72px 'Outfit',sans-serif;color:var(--lime);line-height:1;margin:25px auto 1px}.points-label{font-size:11px;font-weight:800;letter-spacing:.2em;color:#add4c4}.result-card p,.simple-panel>p{color:#b9d0d7;font-size:14px;line-height:1.6}.result-card .result-note{color:var(--lime);font-weight:800}.full{width:100%;display:block;margin-top:11px}.daily-info{border-top:1px solid #36505c;border-bottom:1px solid #36505c;display:flex;justify-content:space-between;margin:25px 0;padding:17px 0;text-align:left;gap:12px}.daily-info span{font-size:12px;color:#96b3bd;display:grid;gap:7px}.daily-info b{color:white;font-size:15px}.simple-panel .input-caption{text-align:left}.nick-input{margin-bottom:5px}.status{font-size:13px;min-height:21px;color:#e4c06c}.ranking-list{padding:0;margin:15px 0 23px;list-style:none;display:grid;gap:9px}.ranking-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 14px;background:#183946;border-radius:11px;border:1px solid #315467}.ranking-list li b{font-size:15px}.ranking-list li strong{color:var(--lime);font-size:18px}.ranking-list li span{min-width:25px;color:#96b6bf}.simple-panel #rank-week{text-align:left;margin-top:12px}.simple-panel .ranking-list{text-align:left}.simple-panel>label{text-align:left}.ad-container ins{min-height:90px}.game-card .answer:disabled:not(.good):not(.bad){opacity:.55}@media(max-width:640px){.wrap{width:min(100% - 24px,480px)}.top{height:70px}.top-record{display:none}.intro{padding:38px 0 22px}.intro h1{font-size:42px}.intro p{font-size:14px}.hero-card{padding:17px;border-radius:18px}.mode-card{min-height:78px;padding:12px}.mode-copy strong{font-size:19px}.home-footer{display:block;text-align:center;line-height:1.7}.game-card{padding:17px}.crest-area{height:195px;margin:8px auto 14px}.crest-area img{width:160px;height:155px}.game-card h2{font-size:25px}.answer{font-size:13px;padding:8px;min-height:66px}.scoreboard b{font-size:20px}.screen-top{margin-top:19px}.simple-panel,.result-card{padding:28px 18px}.footer{display:block;text-align:center;line-height:2}.footer div{justify-content:center}.option-fields{grid-template-columns:1fr}}

/* UX: permitir reintentar escudos que fallen sin bloquear el desafío diario. */
.retry-image{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;z-index:2}.crest-area #loading-badge{max-width:95%;text-align:center;top:45%}.mode-card:focus-visible,.action-btn:focus-visible,.answer:focus-visible{outline:3px solid #b7f749;outline-offset:3px}.back-btn:hover{text-decoration:underline}.screen .soft-btn:hover:not(:disabled){background:#315463}

/* Página informativa accesible con el mismo estilo del juego. */
.legal-page{max-width:740px;padding:45px 0 25px;line-height:1.75;color:#cadde3}.legal-page h1{font:800 clamp(32px,6vw,48px) 'Outfit',sans-serif;color:white;margin:0 0 20px}.legal-page h2{font:800 22px 'Outfit',sans-serif;color:white;margin:30px 0 8px}.legal-page p{margin:0 0 13px}.legal-page a{color:var(--lime)}.small-link{font-size:13px;text-decoration:none}.small-link:hover{text-decoration:underline}
