:root{--ink:#172e29;--paper:#f7f7f2;--line:#cbd2c8;--accent:#be4024;--soft:#dfebdd;font:100%/1.55 "Inter","Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}.wrap{width:min(1140px,90%);margin:auto}header{border-bottom:1px solid var(--line)}.bar,nav,footer,.row,.actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bar{height:74px}.brand,footer b{font:bold 2.1rem Georgia,serif;letter-spacing:-.08em;color:var(--ink);text-decoration:none}.brand i{font:2rem Georgia;color:var(--accent);vertical-align:middle}.brand{display:flex;gap:.55rem;align-items:center}nav button,.link{background:none;border:0;text-decoration:underline;text-underline-offset:.25em;padding:.6rem}button{color:inherit;cursor:pointer;font:inherit;border:1px solid var(--line);background:transparent;padding:.65rem 1rem;border-radius:4px}button:hover{border-color:var(--ink);background:#edf1e9}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #197ca1;outline-offset:3px}button:disabled{opacity:.42;cursor:default}.primary{background:var(--ink);color:white;border-color:var(--ink);font-weight:600;padding:.85rem 1.4rem}.primary:hover{background:#274d40}.hero{display:grid;grid-template-columns:1.13fr 1fr;gap:7%;align-items:center;padding:clamp(36px,6vw,80px) 0}.eyebrow{font-size:.875rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:var(--accent);margin:0 0 .8rem}h1,h2,h3,p{margin:0 0 1rem}h1,h2,h3{line-height:1.08}h1,h2{font-family:"Georgia",serif;font-weight:normal;letter-spacing:-.05em}h1{font-size:clamp(3.2rem,6vw,5.6rem)}h2{font-size:clamp(2rem,3.8vw,3rem)}h3{font-size:1.1rem}.intro{font-size:1.15rem;max-width:51ch}.hero .primary{margin:.5rem 0}.meta{font-size:.9rem;color:#486052}.art{width:100%;display:block;border-radius:5px}.catalog{border-top:1px solid var(--line);padding:2rem 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.card{padding:1.35rem;border:1px solid var(--line);border-radius:5px;background:#fffefa;text-align:left}.card b{display:block;font:normal 1.45rem Georgia;margin:.4rem 0}.card p{margin:0;color:#475c51}.icon{font:1.55rem Georgia;color:var(--accent)}footer{border-top:1px solid var(--line);padding:1rem 0 2rem;color:#526357}footer b{font-size:1.3rem}.pane{max-width:820px;margin:2.6rem auto 4rem}.pane h1{font-size:clamp(2.4rem,5vw,4rem)}.pane h2{margin-top:1.5rem}.question{font-size:1.2rem;white-space:pre-line}.progress{height:6px;border-radius:6px;background:var(--line);margin:1rem 0 2rem;overflow:hidden}.progress i{display:block;height:100%;background:var(--accent)}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.2rem 0}.choice{display:flex;gap:.8rem;align-items:center;text-align:left;background:#fffefa;overflow-wrap:anywhere;min-height:54px}.choice strong{color:var(--accent);font-family:Georgia}.choice[aria-pressed=true]{background:var(--soft);border:2px solid var(--ink)}.choice svg{max-width:100%}.actions{flex-wrap:wrap;margin:1.5rem 0}.result{padding:.75rem 0;border-bottom:1px solid var(--line)}details{border-bottom:1px solid var(--line);padding:.8rem 0}summary{cursor:pointer}a{color:var(--ink)}main:focus{outline:none}@media(max-width:720px){.hero{grid-template-columns:1fr;gap:1.5rem}.art{max-height:230px;background:#dce7dc}.cards{grid-template-columns:1fr 1fr}.bar{height:62px}nav{gap:0}.wrap{width:92%}.pane{margin:1.8rem auto}}@media(max-width:480px){.cards,.choices:not(.pictures){grid-template-columns:1fr}.card{padding:1rem}.hero{padding:2rem 0}.art{max-height:195px}.brand{font-size:1.8rem}nav button{padding:.5rem}.actions{gap:.4rem}.row{align-items:flex-start}}

.hidden{visibility:hidden}.practiceLink{font-weight:600;text-decoration:underline;text-underline-offset:.25em}.clock{padding:.35rem .7rem;border-radius:4px;background:var(--soft);font:600 1.15rem/1.5 monospace;white-space:nowrap;align-self:start}.jump{display:flex;flex-wrap:wrap;gap:.45rem;border-top:1px solid var(--line);padding-top:1.2rem}.jump button{min-width:42px;padding:.45rem}.jump .filled{background:var(--soft)}.jump [aria-current]{outline:2px solid var(--ink)}.pane input,.pane select{display:block;font:inherit;color:var(--ink);background:#fffefa;border:1px solid #62776d;border-radius:4px;padding:.7rem;max-width:100%;margin:.4rem 0}.pane input:focus{outline:2px solid var(--ink)}.pane pre{white-space:pre-wrap;overflow-wrap:anywhere}.pane progress{width:min(100%,30rem);accent-color:var(--ink)}.callout{border-left:3px solid var(--accent);padding:.8rem;background:#fffbea}.exitrow{max-width:820px;margin:-2rem auto 1.5rem;text-align:right}.exitrow button{color:#5d645e;font-size:.9rem}.card p{line-height:1.5}.pane .choices.pictures{grid-template-columns:repeat(3,minmax(0,1fr))}.pictures .choice{padding:.5rem}.question{overflow-wrap:anywhere}.pane .row h1{font-size:clamp(1.9rem,5vw,3rem)}.bar nav{gap:.65rem}@media(max-width:480px){.bar nav{gap:.25rem;font-size:.9rem}.bar{gap:.2rem}.brand{gap:.2rem}.pane .choices.pictures{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tableScroll{overflow-x:auto;margin:1rem 0}.tableScroll table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.tableScroll td,.tableScroll th{padding:.35rem .55rem;text-align:right;border-bottom:1px solid var(--line)}.pane input[type=file]{width:100%}

/* A3 result card, scoped to keep the workbook layout independent. */
.atlas-result .wrap{display:flex;flex-direction:column;align-items:center;gap:22px}
.atlas-result .controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.atlas-result .seg{display:flex;background:#16171e;border:1px solid #2a2c38;border-radius:999px;padding:4px}
.atlas-result .seg button{font:700 13px Oxanium,sans-serif;letter-spacing:.1em;color:#9a9cab;background:none;border:0;border-radius:999px;padding:10px 18px;min-height:44px;cursor:pointer}
.atlas-result .seg button[aria-pressed=true]{background:#e8e8ee;color:#0b0c10}
.atlas-result .btn{font:700 13px Oxanium,sans-serif;letter-spacing:.1em;color:#e8e8ee;background:#16171e;border:1px solid #2a2c38;border-radius:999px;padding:10px 18px;min-height:44px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.atlas-result .btn:focus-visible,.atlas-result .seg button:focus-visible{outline:2px solid #6fd6ff;outline-offset:2px}
.atlas-result .hidden{display:none}
.atlas-result .stage{perspective:900px}
.atlas-result .card{--rx:0deg;--ry:0deg;--mx:50%;--my:30%;position:relative;width:300px;height:512px;border-radius:22px;transform:rotateX(var(--rx)) rotateY(var(--ry));transform-style:preserve-3d;transition:transform .15s ease-out;overflow:hidden;font-family:Oxanium,sans-serif;user-select:none}
.atlas-result .card .shine{position:absolute;inset:0;pointer-events:none;mix-blend-mode:overlay;background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,.75),rgba(255,255,255,0) 45%)}
.atlas-result .card .sweep{position:absolute;inset:-50%;pointer-events:none;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.55) 50%,transparent 58%);animation:sweep 4.5s ease-in-out infinite;mix-blend-mode:soft-light}
@keyframes sweep{0%,55%{transform:translateX(-60%)}100%{transform:translateX(60%)}}
@media (prefers-reduced-motion:reduce){.atlas-result .card .sweep{animation:none;opacity:0}}
.atlas-result .inner{position:relative;height:100%;padding:20px 20px 16px;display:flex;flex-direction:column}
.atlas-result .top{display:flex;justify-content:space-between;align-items:flex-start;min-height:92px}
.atlas-result .ovr{font-size:64px;font-weight:800;line-height:.9}
.atlas-result .ovr small{display:block;font-size:12px;font-weight:700;letter-spacing:.2em;margin-top:6px}
.atlas-result .brand{text-align:right;font-size:12px;letter-spacing:.3em;font-weight:700}
.atlas-result .brand b{display:block;font-size:22px;letter-spacing:.18em}
.atlas-result .photo{width:92px;height:92px;border-radius:18px;background-size:cover;background-position:center;position:relative}
.atlas-result .name{font-size:22px;font-weight:800;letter-spacing:.14em;text-align:center;margin-top:6px}
.atlas-result .tier{font-size:11px;letter-spacing:.35em;text-align:center;margin-top:2px;font-weight:700}
.atlas-result .radar{display:block;margin:2px -6px 0;width:272px;height:236px}
.atlas-result .stats{display:grid;grid-template-columns:1fr;margin-top:auto;font-size:12px;font-weight:700}
.atlas-result .stats div{display:flex;align-items:baseline;gap:8px;border-bottom:1px solid var(--line);padding:1px 0}
.atlas-result .stats span{letter-spacing:.1em;font-size:10px;width:28px;opacity:.7}
.atlas-result .stats em{font-style:normal;font-family:Inter,sans-serif;font-weight:500;font-size:11px;flex:1;opacity:.85}
.atlas-result .foot{text-align:center;font-size:10px;letter-spacing:.25em;margin-top:8px;opacity:.75}
/* Titanio */
.atlas-result .titan{background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 3px),linear-gradient(160deg,#2a2d33,#0e0f12 55%,#1d2026);color:#eef3f8;--line:rgba(160,220,255,.15);box-shadow:0 0 0 1.5px #c9d2dc,0 0 0 4px #1a1c20,0 0 0 5px #8a96a3,0 20px 60px rgba(80,200,255,.18)}
.atlas-result .titan .ovr,.atlas-result .titan .name{background:linear-gradient(180deg,#fff,#9aa6b2 60%,#e6edf3);-webkit-background-clip:text;background-clip:text;color:transparent}
.atlas-result .titan .tier,.atlas-result .titan .brand{color:#6fd6ff}
.atlas-result .titan .photo{box-shadow:0 0 0 2px #c9d2dc,0 0 0 4px #1a1c20,0 0 0 5px #6fd6ff;filter:grayscale(.25) contrast(1.05)}
/* Holo */
.atlas-result .holo{background:#e9e6f5;color:#1b1630;--line:rgba(27,22,48,.18);box-shadow:0 0 0 2px #fff,0 20px 60px rgba(170,140,255,.35)}
.atlas-result .holo .foil{position:absolute;inset:0;background:conic-gradient(from calc(var(--ry)*8) at var(--mx) var(--my),#ff9de2,#9fe8ff,#c3ffb0,#fff59d,#ffb38a,#d0a0ff,#ff9de2);opacity:.55;mix-blend-mode:multiply;filter:saturate(1.3)}
.atlas-result .holo .foil2{position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0 6px,rgba(255,255,255,.35) 6px 7px);mix-blend-mode:screen}
.atlas-result .holo .photo{box-shadow:0 0 0 2px #fff,0 0 0 4px #c9a8ff}
.atlas-result .titan .foil,.atlas-result .titan .foil2{display:none}
.atlas-result .hint{color:#7c7e90;font-size:12.5px;text-align:center;max-width:340px;line-height:1.5}
/* Explicaciones */
.atlas-result .sec{max-width:980px;margin:72px auto 0}
.atlas-result .sec h2{font-family:Oxanium,sans-serif;font-size:22px;letter-spacing:.04em;text-align:center}
.atlas-result .cmp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:20px;margin-top:22px}
.atlas-result .box{background:#15161c;border:1px solid #262833;border-radius:16px;padding:18px}
.atlas-result .box h3{font-size:12px;letter-spacing:.2em;color:#8b8da0;margin-bottom:12px;font-weight:600}
.atlas-result .old{font-size:14px;line-height:1.6;color:#c9cad4}
.atlas-result .verdict{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.atlas-result .badge{font-family:Oxanium,sans-serif;font-weight:800;font-size:15px;padding:4px 12px;border-radius:8px}
.atlas-result .ok{background:rgba(60,220,140,.15);color:#5fe3a1;border:1px solid rgba(60,220,140,.35)}
.atlas-result .you{background:rgba(255,90,90,.12);color:#ff8a8a;border:1px solid rgba(255,90,90,.3)}
.atlas-result .steps{list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:10px}
.atlas-result .steps li{counter-increment:s;display:flex;gap:12px;font-size:14px;line-height:1.5}
.atlas-result .steps li::before{content:counter(s);flex:none;width:24px;height:24px;border-radius:50%;background:#262a3a;color:#9fb6ff;font:700 12px Oxanium,sans-serif;display:grid;place-items:center}
.atlas-result .chain{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0 4px;font-size:13px}
.atlas-result .chain .n{background:#1f2230;border:1px solid #333850;border-radius:8px;padding:5px 9px}
.atlas-result .chain .n.hl{border-color:#5fe3a1;color:#5fe3a1}
.atlas-result .chain .a{color:#6b6f88}
.atlas-result .trap{margin-top:14px;padding:10px 12px;border-left:3px solid #ffb84d;background:rgba(255,184,77,.08);font-size:13.5px;line-height:1.5;color:#e9d6b4}
.atlas-result .trap b{color:#ffcf80}
.atlas-result .note{text-align:center;color:#7c7e90;font-size:12.5px;margin-top:16px}
.atlas-result{font-family:Inter,system-ui,sans-serif}
.atlas-result .wrap{width:100%;margin:1rem auto}
.atlas-result .controls{align-items:center}
.atlas-result .controls label{font-size:.875rem}
.atlas-result .controls input{margin:.2rem 0 0;width:16em}
.atlas-result [hidden]{display:none!important}
.atlas-result .card{padding:0;border:0;width:min(300px,84vw);height:auto;min-height:512px;line-height:1.2}
.atlas-result .inner{min-height:512px}
.atlas-result .brand{display:block;font-family:Oxanium,sans-serif}
.atlas-result .brand b{font:800 22px Oxanium,sans-serif;margin:0}
.atlas-result .photo{object-fit:cover}
.atlas-result .radar{max-width:calc(100% + 12px);height:auto}
.atlas-result .name{overflow-wrap:anywhere}
.atlas-result .foot{overflow-wrap:anywhere;letter-spacing:.08em}
.atlas-result .hint{color:#48595b;margin:0}
.atlas-result .box{color:#e8e8ee;margin:.75rem 0}
.atlas-result .steps{padding:0}
.atlas-result .badge.correct-user{background:#193329;color:#a6eac5;border-color:#446c55}
@media(prefers-reduced-motion:reduce){.atlas-result .card{transform:none;transition:none}.atlas-result .sweep{display:none}}
