/* Maumau Chess Academy — páginas estáticas responsivas, sem dependências externas. */
:root{color-scheme:dark;--bg:#071014;--panel:#101f25;--surface:#14282f;--line:#36505a;--ink:#f2f6f3;--sub:#b9d0ca;--green:#85e2ae;--gold:#f4cf7a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 40% 0%,#17332c 0%,#071014 46%,#071014 100%);color:var(--ink);font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:var(--green);text-underline-offset:3px}button{font:inherit}h1,h2,h3{line-height:1.22;letter-spacing:-.025em}h1{font-size:clamp(2rem,4vw,3.2rem)}h2{font-size:clamp(1.35rem,2.5vw,1.9rem)}h3{font-size:1.15rem}p{margin:0 0 1.1em}p:last-child{margin-bottom:0}
.edu-header{max-width:1320px;margin:0 auto;display:flex;align-items:center;gap:25px;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) 22px 18px;border-bottom:1px solid #29413f}.edu-header .edu-brand{color:white;text-decoration:none;font-weight:850;display:flex;align-items:center;gap:12px;letter-spacing:.04em;white-space:nowrap}.edu-header nav{display:flex;gap:18px;flex-wrap:wrap}.edu-header nav a{color:#d5e9df;text-decoration:none;font-size:.92rem}.edu-header nav a:hover,.edu-header nav a:focus-visible{color:#86f0b7;text-decoration:underline}.edu-wrap{width:min(1110px,calc(100% - 30px));margin:35px auto 75px}.edu-hero{background:linear-gradient(115deg,rgba(19,65,52,.92),rgba(16,32,41,.96));border:1px solid #376150;border-radius:18px;padding:clamp(22px,4vw,46px);box-shadow:0 20px 50px #0002}.edu-hero h1{max-width:830px;margin:10px 0 18px}.edu-hero p:not(.eyebrow){max-width:830px;color:#dbede6;font-size:1.09rem}.eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.13em;color:#a8ecc6;text-transform:uppercase}.edu-cta,.edu-next-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 17px;border:1px solid #57776a;background:#213c35;color:#effff4;border-radius:9px;text-decoration:none;font-weight:750;cursor:pointer}.btn.primary{background:#83ddab;color:#092018;border-color:#83ddab}.btn:hover,.btn:focus-visible{filter:brightness(1.13);outline:2px solid transparent;box-shadow:0 0 0 3px #6dcaa566}.edu-langs{margin:23px 0;text-align:right;font-size:.9rem;color:var(--sub)}.edu-langs strong{color:var(--ink)}.edu-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 30px}.edu-tabs a{border-radius:24px;padding:8px 16px;text-decoration:none;background:#152d2f;border:1px solid #365658;color:#edf5f0;font-size:.92rem}.edu-tabs a:hover{background:#28453a}.edu-category{scroll-margin-top:25px;margin:30px 0 50px}.edu-category h2{margin:0 0 20px}.edu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.edu-card{border:1px solid #2b4a49;background:linear-gradient(155deg,#11272a,#102025);border-radius:13px;padding:21px;display:flex;flex-direction:column;min-height:242px}.edu-card h3{margin:10px 0}.edu-card h3 a{text-decoration:none;color:#f1f9f3}.edu-card p{color:#c2d5d0;font-size:.94rem;flex:1}.edu-card-link{font-weight:750}.edu-spotlight{padding:27px;background:#173630;border:1px solid #467861;border-radius:14px;margin-top:40px}.edu-breadcrumb{color:var(--sub);margin-bottom:15px;font-size:.91rem}.edu-lesson{max-width:940px;background:linear-gradient(180deg,#10232b,#0b1b21);border:1px solid #305052;border-radius:15px;margin:0 auto;padding:clamp(18px,4vw,35px)}.edu-lesson h1{margin:9px 0}.edu-lead{font-size:1.16rem;color:#d8eee0;line-height:1.75}.edu-prose h2{margin:30px 0 10px}.edu-prose p{max-width:850px;color:#d1dcd8}.edu-interactive{max-width:570px;margin:22px auto 29px;background:#0a151a;border:1px solid #3d595d;border-radius:13px;padding:15px}.edu-board-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:28px;font-size:.87rem;color:#c8dfd4}.edu-board{width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin:10px auto 14px;border:3px solid #475a51;border-radius:5px;overflow:hidden;touch-action:pan-y}.edu-square{border:0;padding:0;margin:0;position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-width:0;user-select:none;cursor:pointer;touch-action:none}.edu-square.light{background:#e7dcc1}.edu-square.dark{background:#859579}.edu-square.selected{box-shadow:inset 0 0 0 4px #e8ba51;background:#cab574}.edu-square.possible::after{content:'';border-radius:50%;width:24%;height:24%;background:#176e4b80;position:absolute;pointer-events:none}.edu-square.target{box-shadow:inset 0 0 0 3px #18a261}.edu-square img{max-width:90%;max-height:90%;object-fit:contain;position:relative;z-index:1;pointer-events:none;user-select:none;-webkit-user-drag:none}.edu-square .coord{position:absolute;font-size:clamp(7px,1.2vw,11px);font-weight:700;z-index:2;pointer-events:none}.edu-square .rank{top:1px;left:3px}.edu-square .file{right:3px;bottom:1px}.edu-square.light .coord{color:#54634a}.edu-square.dark .coord{color:#f8f5d9}.edu-controls{display:flex;gap:8px;flex-wrap:wrap}.edu-controls button{border:1px solid #608078;background:#244339;color:#f4f8f3;padding:8px 12px;border-radius:7px;cursor:pointer;flex:1 1 auto;font-size:.89rem}.edu-controls button:disabled{opacity:.4;cursor:not-allowed}.edu-controls button:hover:not(:disabled){background:#356656}.edu-feedback{margin:14px 0 0;min-height:48px;color:#f1d68c;line-height:1.5;white-space:pre-wrap}.edu-feedback.ok{color:#9af0ba}.edu-feedback.error{color:#ffd0d0}.edu-progress{margin:24px 0}.edu-progress-track{height:9px;border-radius:5px;background:#2c403a;overflow:hidden;margin-top:8px}.edu-progress-track>div{background:#9ee9b6;height:100%;width:0;transition:width .3s}.edu-task{font-weight:650;font-size:1.07rem}.edu-footer{max-width:1150px;margin:0 auto;padding:25px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;border-top:1px solid #2a4141;color:#b4cbc5;font-size:.85rem}.edu-promotion{display:flex;gap:9px;margin-top:8px}.edu-promotion button{flex:1;background:#24433a;color:#fff;border:1px solid #85af96;border-radius:7px;padding:9px;font-size:1.5rem;cursor:pointer}.edu-promotion button:hover{background:#32674c}
@media(max-width:700px){.edu-header{padding:calc(12px + env(safe-area-inset-top)) 15px 12px;align-items:flex-start;flex-direction:column;gap:9px}.edu-header nav{gap:6px 15px}.edu-header nav a{font-size:.84rem}.edu-wrap{width:calc(100% - 16px);margin:15px auto 40px}.edu-hero{padding:19px}.edu-hero p:not(.eyebrow){font-size:.98rem}.edu-lesson{padding:15px 12px}.edu-langs{text-align:left}.edu-card{min-height:auto}.edu-board{border-width:2px}.edu-interactive{padding:9px}.edu-controls button{flex:1 1 42%}}
