/* Shared visual identity: navy, clear blue and comfortable reading surfaces. */
:root{--ink:#14263e;--green:#245bcc;--lime:#bfdcff;--muted:#52657d;--line:#dce5ef}
body,.reading-page{background:#f3f6fb;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;line-height:1.7}
header{background:#101e33;color:#f4f8ff;border:0;padding-top:23px;padding-bottom:23px;gap:24px;backdrop-filter:none}
.brand{letter-spacing:1px}.brand b{color:#a9ceff}.knight{color:#99c5ff;transform:none}
header nav a{color:#e2edff}header nav a:hover{color:#a9ceff}
.menu-button,.nav-book{background:#203652;color:#f4f8ff;border:1px solid #5a7698;box-shadow:none;border-radius:12px;font-weight:600}
.menu-button:hover,.nav-book:hover{background:#2b486b;box-shadow:none;transform:none}
.menu-links{background:#fff;color:#14263e;border:1px solid #d9e4f1;border-radius:14px;box-shadow:0 18px 50px #07182c33;min-width:225px}
.menu-links a{padding:11px 14px}.menu-links a:hover,.menu-links a[aria-current=page]{background:#eaf2ff;color:#194da8}
h1,h2{font-family:'Libre Caslon Display',Georgia,serif;letter-spacing:-.035em;text-wrap:balance}h1 em,h2 em{color:#245bcc}
p{overflow-wrap:break-word}.eyebrow{background:#e6efff;color:#234d88;letter-spacing:.12em;border-radius:7px;font-size:.8rem;padding:6px 10px}
.hero{background:radial-gradient(ellipse at 90% 15%,#244d7d 0,transparent 60%),#101e33;color:#f5f8ff;gap:6%;padding:65px 6% 75px;border-radius:0 0 32px 32px}
.hero h1{font-size:clamp(3rem,5.5vw,5.4rem);line-height:1.06}.hero h1 em{color:#a9ceff}.hero .eyebrow{background:#223b5d;color:#c6dfff}
.hero-intro{color:#d0dced;font-size:1.1rem;line-height:1.8}.hero-details{color:#b2c5df;font-size:.875rem}.secondary-action{color:#d9e8ff}.hero-actions{gap:20px;flex-wrap:wrap}
.button{background:#245bcc;color:#fff;border:1px solid #245bcc;border-radius:12px;box-shadow:0 5px 16px #245bcc22;min-height:48px;transition:background .18s,box-shadow .18s}
.button:hover{background:#1a479e;transform:none;box-shadow:0 7px 20px #245bcc33}.hero .button{background:#a9ceff;color:#102641;border-color:#a9ceff}.hero .button:hover{background:#c3ddff}
.hero-visual{transform:none;background:#192d47;border:1px solid #45617f;box-shadow:0 22px 65px #050d1a55;border-radius:22px;padding:22px}.podcast-cover{border-radius:14px}.board-heading,.visual-label{color:#c0d8f7}
.strip{border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 8px 25px #12284007}.strip>span{color:#245bcc}.strip p{color:#253b56}
.podcast-section,.free-reading-card,.memory-card{background:#142a46;color:#edf4ff;border:1px solid #304967;border-radius:24px;box-shadow:0 15px 40px #10274012}
.podcast-section h2 em,.free-reading-card h2 em{color:#a9ceff}.podcast-section p,.podcast-section .episode{color:#d7e5f7}.podcast-section .eyebrow{color:#c4ddff;background:#274467}.podcast-section a{color:#e2efff}.episode small{color:#b4cce9}.podcast-button,.podcast-button:last-child{background:#c4ddff;color:#142a46;border:0;box-shadow:none;border-radius:10px}.podcast-button:hover{transform:none;box-shadow:none}.share-status{color:#c4ddff}
.free-reading-section,.booking-section{background:#eaf1fb;border:1px solid #d0deef;border-radius:24px;box-shadow:none}.free-reading-card .button{background:#c4ddff;color:#142a46;border-color:#c4ddff}
.lesson-cards article,.lesson-cards article:nth-child(n){background:white;border:1px solid #d5e1ee;box-shadow:0 8px 24px #12284007;border-radius:16px}
.coach-photo{transform:none;box-shadow:0 16px 38px #152f491c;border:1px solid #cad8e9;border-radius:24px}
form{background:white;border:1px solid #d3deec;box-shadow:0 12px 35px #12284008;border-radius:20px}input,select,textarea{border:1px solid #aebfd4;border-radius:9px;color:#14263e;background:white}
.reading-hero{padding-top:55px;padding-bottom:38px;max-width:1160px}.reading-hero h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.1}.reading-hero p:last-child{font-size:1.08rem}
.lesson-library{gap:24px}.lesson-choice,.lesson-choice:nth-child(n),.caro-book .lesson-choice:nth-child(n){background:linear-gradient(145deg,#162e4c,#224571);border:1px solid #385b83;border-radius:20px;box-shadow:0 10px 24px #152e4b12;color:#fff;padding:28px;transition:box-shadow .18s,transform .18s}
.lesson-choice:nth-child(2n){background:linear-gradient(145deg,#173c59,#215977)}.lesson-choice:nth-child(3n){background:linear-gradient(145deg,#263654,#3b4d76)}
.lesson-choice:hover{transform:translateY(-3px);box-shadow:0 16px 35px #152e4b22}.lesson-choice .card-number{color:#c3ddff;letter-spacing:.08em}.lesson-choice h2 em,.lesson-link{color:#b7d6ff}.lesson-choice p,.caro-book .lesson-choice p{color:#e0ebf8}
.reading-content section{background:white;border:1px solid #dce5ef;border-radius:18px;padding:32px;box-shadow:0 5px 22px #142a4604}.reading-content p,.reading-content li{line-height:1.85}.reading-content h2{line-height:1.2}.lesson-menu{border:1px solid #d5e1ee;border-radius:16px;background:#fff;box-shadow:0 5px 22px #142a4605}.lesson-menu a:hover{background:#edf3ff;color:#245bcc}
.break-grid>div,.answer-reveal,.example-board{background:#f0f5fc;border:1px solid #c8d8ec;border-radius:14px}.example-board{padding:22px}.board-surface{border-color:#243f63}.replay-square{background:#edf2f8}.replay-dark{background:#7f9fbe}.board-practice{background:#e5eefc;border-color:#c4d6ef}.board-practice button{background:#245bcc}.reading-tools button,.page-share button,.board-controls button{border:1px solid #8aa5c9;border-radius:9px}.reading-tools button:hover,.page-share button:hover,.board-controls button:not(:disabled):hover{background:#e6efff}.complete-lesson[aria-pressed=true]{background:#245bcc}
.tip-card{border:1px solid #d1deed;border-radius:20px;box-shadow:0 10px 28px #152e4b0c}.tip-copy{padding:23px}.tip-copy h2{font-family:'DM Sans',Arial,sans-serif;font-weight:700;font-size:1.25rem;letter-spacing:-.02em}.tip-copy a{color:#245bcc}.tips-next{background:#e6effc;border:1px solid #cddcf0}.tips-intro{padding-top:10px}
footer{background:#101e33;color:#d1e1f5;border-top:1px solid #2d4765;border-radius:24px 24px 0 0;gap:24px}footer p,footer a,footer>span{color:#d1e1f5}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #3676de;outline-offset:4px}
@media(max-width:800px){header{padding:19px 5%}.hero{padding:38px 5% 48px;gap:35px;grid-template-columns:1fr}.hero h1{font-size:clamp(2.7rem,9vw,4rem)}.hero-visual{max-width:470px;width:100%;margin:auto}.reading-hero{padding:35px 5% 28px}.reading-content section{padding:24px 20px}.lesson-menu{position:static}.lesson-library{gap:18px}.hero-details{gap:15px;flex-wrap:wrap}}
@media(max-width:520px){.brand{gap:8px}.brand b{font-size:.85rem}.menu-button{padding:9px 13px}.reading-hero h1,.london-book .reading-hero h1{font-size:2.5rem}.hero-actions{display:flex;align-items:flex-start;flex-direction:column}.lesson-choice{min-height:0;padding:24px}.podcast-section,.free-reading-section,.booking-section{border-radius:18px}.example-board{padding:16px 12px}footer{border-radius:18px 18px 0 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Lesson boards: consistent pieces, edge coordinates and move highlights. */
.example-board{background:linear-gradient(150deg,#fff,#edf3fb);border:1px solid #c9d8eb;padding:24px;border-radius:20px;box-shadow:0 10px 30px #112b4710}
.example-board>summary{color:#183b65;font-weight:700;padding:4px 0;line-height:1.5}
.board-surface{width:100%;max-width:520px;margin:24px auto;border:8px solid #213a59;border-radius:7px;overflow:hidden;box-shadow:0 12px 26px #162e4b24,0 0 0 1px #476381;isolation:isolate}
.replay-square{background:#e9eff5}.replay-square.replay-dark{background:#7c9cb7}
.replay-piece-image{display:block;width:86%;height:86%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 2px 1px #10203340);user-select:none;pointer-events:none}
.replay-coordinate{font-family:Arial,sans-serif;font-weight:700;font-size:clamp(10px,2.5vw,12px);line-height:1;color:#294861;z-index:2;pointer-events:none}
.replay-dark .replay-coordinate{color:#102d45}.replay-rank{top:3px;left:3px;bottom:auto}.replay-file{right:3px;bottom:3px;left:auto}
.replay-last-move{box-shadow:inset 0 0 0 3px #d39b31;background:#f0dc9c}.replay-last-move.replay-dark{background:#b9b780}
.board-step{display:block;width:fit-content;margin:16px 0;padding:6px 12px;border-radius:8px;background:#e1ebf8;color:#183b65;font-size:.95rem}
.board-note-text{padding:14px 17px;border-left:3px solid #578acb;background:#fff;border-radius:0 10px 10px 0;line-height:1.7}
.board-controls{justify-content:center;gap:10px;margin:16px 0}.board-controls button{background:#fff;border:1px solid #a9bed8;box-shadow:0 2px 5px #16324f0a;min-height:46px;padding:10px 16px;font-weight:600}.board-controls button[data-board=next]{background:#245bcc;color:white;border-color:#245bcc}.board-controls button[data-board=next]:not(:disabled):hover{background:#1a479e}.board-controls button[aria-pressed=true]{background:#e1ebf8;border-color:#245bcc}.board-controls button:disabled{opacity:.4;box-shadow:none}
@media(max-width:520px){.example-board{padding:16px 10px}.board-surface{border-width:5px;margin:20px auto}.board-controls{gap:7px}.board-controls button{padding:9px 12px;font-size:.875rem}.replay-piece-image{width:88%;height:88%}.board-practice{padding:14px}.board-note-text{padding:12px;font-size:1rem}}

/* Explicit foreground colours prevent old theme rules darkening dark panels. */
.hero .hero-intro strong{color:#f5f8ff}
.free-reading-card .card-number{color:#c3ddff;font-size:.875rem}
.free-reading-card h3,.free-reading-card strong{color:#f5f8ff}
.free-reading-card p,.free-reading-card p a{color:#d7e5f7}
.podcast-intro>p:not(.eyebrow),.episode>span:nth-child(2)>span{color:#d7e5f7}
.podcast-bridge{background:#203b5d}.podcast-bridge strong{color:#f5f8ff}
.podcast-bridge p,.podcast-bridge a{color:#d7e5f7}
.reading-content .memory-card{background:#142a46;color:#edf4ff}
.reading-content .memory-card p,.reading-content .memory-card li,.reading-content .memory-card h2,.reading-content .memory-card h3{color:#edf4ff}
.home-tips{margin:40px 6% 0;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:32px;align-items:center;background:#fff;border:1px solid #d0deef;border-radius:24px}
.home-tips h2{font-size:clamp(2rem,4vw,3rem);line-height:1.15}.home-tips p{max-width:560px}
.home-tip-preview{display:block;overflow:hidden;border-radius:14px;background:#142a46;color:#f5f8ff;text-decoration:none}
.home-tip-preview img{display:block;width:100%;height:auto;aspect-ratio:9/12;object-fit:cover}
.home-tip-preview>span{display:flex;justify-content:space-between;gap:8px;padding:12px;font-size:.875rem;font-weight:600}
@media(max-width:520px){.home-tips{grid-template-columns:1fr;padding:24px}.home-tip-preview{max-width:210px;width:100%;margin:auto}}

/* Friendly chess clubhouse refresh. */
:root{--ink:#20263b;--green:#3768e5;--lime:#ffd166;--muted:#59657a;--line:#d7def0;--club-purple:#6f56d9;--club-pink:#f05f7f;--club-mint:#2eb99a;--club-sky:#dff3ff;--club-yellow:#ffd166}
body,.reading-page{background:
radial-gradient(circle at 10% 4%,#dff3ff 0 7rem,transparent 7.1rem),
radial-gradient(circle at 92% 12%,#fff0b8 0 5rem,transparent 5.1rem),
linear-gradient(180deg,#f8fbff,#f4f2ff 60%,#fff9ed);color:var(--ink)}
header{background:#20204a;border-bottom:4px solid #ffd166;box-shadow:0 8px 24px #28225b24}
.brand{font-weight:700}.brand b{color:#ffd166}.knight{display:inline-grid;place-items:center;width:48px;height:48px;background:#ffd166;color:#272452;border-radius:15px;box-shadow:0 4px 0 #e0a92b;transition:transform .2s ease}
.brand:hover .knight{transform:rotate(-7deg) translateY(-2px)}
header nav a{color:#fff}header nav a:hover{color:#ffd166}.menu-button,.nav-book{background:#6f56d9;color:#fff;border:1px solid #9686e8;border-radius:999px}.menu-button:hover,.nav-book:hover{background:#806be0;transform:translateY(-1px)}
.menu-links{border:2px solid #d9d3ff;border-radius:18px;box-shadow:0 18px 50px #29205430}.menu-links a{border-radius:10px}.menu-links a:hover,.menu-links a[aria-current=page]{background:#eeeaff;color:#553fc4}
.eyebrow{display:inline-block;background:#fff0b8;color:#5c4611;border:1px solid #f4d778;border-radius:999px;font-weight:800;letter-spacing:.1em;box-shadow:0 3px 0 #edd075}
.hero{position:relative;overflow:hidden;background:linear-gradient(130deg,#262458 0%,#3c4fa9 56%,#6f56d9 100%);border-radius:0 0 46px 46px;box-shadow:0 18px 45px #34327b26}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none}.hero::before{width:280px;height:280px;background:#ffcf5c2b;right:-80px;top:-110px}.hero::after{width:170px;height:170px;border:28px solid #45d2b033;left:42%;bottom:-115px}
.hero-copy,.hero-visual{position:relative;z-index:1}.hero h1 em{color:#ffd166}.hero .eyebrow{background:#ffffff18;color:#fff;border-color:#ffffff4a;box-shadow:none}.hero-intro{color:#f2f4ff}.hero-details{color:#d9deff;font-weight:800}.hero-details span{display:inline-block;background:#ffffff12;border:1px solid #ffffff24;border-radius:999px;padding:5px 10px}
.button,.hero .button{background:#ffd166;color:#2b2857;border:2px solid #ffd166;border-radius:999px;box-shadow:0 6px 0 #dca82f;font-weight:800}.button:hover,.hero .button:hover{background:#ffe091;transform:translateY(-2px);box-shadow:0 8px 0 #dca82f}.secondary-action{color:#fff;font-weight:700;text-decoration-thickness:2px;text-underline-offset:5px}
.hero-visual{background:#ffffff12;border:2px solid #ffffff38;border-radius:30px;box-shadow:0 24px 65px #15123966;transform:rotate(1.2deg)}.podcast-cover{border-radius:20px;box-shadow:0 12px 30px #17113f59}.board-heading,.visual-label{color:#fff;font-weight:800}
.strip{border:2px solid #d8d0ff;border-radius:26px;background:#fff;box-shadow:0 9px 0 #ded8f5}.strip>span{color:#6f56d9;font-weight:900}.strip p strong{color:#2e58c7}
.podcast-section{background:linear-gradient(145deg,#27245c,#493ca0);border:0;border-radius:34px;box-shadow:0 14px 0 #d8d1f0}.podcast-section h2 em{color:#ffd166}.podcast-section .eyebrow{background:#ffffff14;color:#fff;border-color:#ffffff38;box-shadow:none}.episode{border-radius:16px;transition:transform .18s ease,background .18s ease}.episode:hover{transform:translateX(5px);background:#ffffff10}.play-icon{display:grid;place-items:center;background:#ffd166!important;color:#292456!important;box-shadow:0 4px 0 #dca82f}
.podcast-button,.podcast-button:last-child{background:#ffd166;color:#2a2558;border-radius:999px;font-weight:800}.podcast-button:hover{background:#ffe297;transform:translateY(-2px)}
.free-reading-section{background:#e8f8ff;border:2px solid #bfe7f8;border-radius:34px}.free-reading-card{background:linear-gradient(145deg,#146a78,#239d95);border:0;border-radius:26px;box-shadow:0 10px 0 #a6dcd7}.free-reading-card h2 em{color:#ffea99}.free-reading-card .button{background:#ffd166;color:#28444a;border-color:#ffd166}
.lesson-cards article,.lesson-cards article:nth-child(n){border:2px solid #d8def1;border-radius:22px;box-shadow:0 8px 0 #dfe4f2}.lesson-cards article:nth-child(3n+1){border-top:7px solid #6f56d9}.lesson-cards article:nth-child(3n+2){border-top:7px solid #2eb99a}.lesson-cards article:nth-child(3n){border-top:7px solid #f05f7f}
.home-tips{background:#fff7d8;border:2px solid #f3dc83;border-radius:30px;box-shadow:0 9px 0 #f1e3ad}.home-tip-preview{border:4px solid #fff;box-shadow:0 8px 20px #423b6b2b;transform:rotate(1.5deg);transition:transform .18s}.home-tip-preview:hover{transform:rotate(0) translateY(-3px)}
.booking-section{background:#f0ecff;border:2px solid #d9d0ff;border-radius:34px}.coach-photo{border:6px solid #fff;border-radius:28px;box-shadow:10px 10px 0 #ffd166;transform:rotate(-1deg)}form{border:2px solid #d8d1f2;border-radius:24px;box-shadow:0 10px 0 #dfd9f2}input,select,textarea{border:2px solid #bcc7df;border-radius:12px}input:focus,select:focus,textarea:focus{border-color:#6f56d9;box-shadow:0 0 0 4px #6f56d920}
.reading-hero{position:relative;margin-top:28px;margin-bottom:22px;padding:48px 6%;background:linear-gradient(130deg,#e6f7ff,#f0ebff 55%,#fff3c9);border:2px solid #d9d5f1;border-radius:32px;box-shadow:0 10px 0 #e2def1}.reading-hero h1 em{color:#6f56d9}.reading-hero::after{content:"♟  ♞  ♜";display:block;margin-top:20px;color:#6f56d9;font-size:1.35rem;letter-spacing:.35em;opacity:.7}
.lesson-library{gap:25px}.lesson-choice,.lesson-choice:nth-child(n),.caro-book .lesson-choice:nth-child(n){border:0;border-radius:26px;box-shadow:0 9px 0 #dcd8ed;padding:30px;transition:transform .18s ease,box-shadow .18s ease}.lesson-choice:nth-child(4n+1),.caro-book .lesson-choice:nth-child(4n+1){background:linear-gradient(145deg,#405bd1,#667be5)}.lesson-choice:nth-child(4n+2),.caro-book .lesson-choice:nth-child(4n+2){background:linear-gradient(145deg,#6b4ec7,#8a6be0)}.lesson-choice:nth-child(4n+3),.caro-book .lesson-choice:nth-child(4n+3){background:linear-gradient(145deg,#087b7c,#25a99b)}.lesson-choice:nth-child(4n),.caro-book .lesson-choice:nth-child(4n){background:linear-gradient(145deg,#c9476a,#e76b82)}.lesson-choice:hover{transform:translateY(-6px) rotate(-.35deg);box-shadow:0 15px 0 #d6d1e8}.lesson-choice .card-number{color:#fff3bd}.lesson-choice h2 em,.lesson-link{color:#fff0a8}.lesson-choice p,.caro-book .lesson-choice p{color:#fff}
.reading-content section{border:2px solid #dde3f2;border-radius:24px;padding:34px;box-shadow:0 7px 0 #e4e8f2}.reading-content section:nth-of-type(3n+1){border-top:7px solid #6f56d9}.reading-content section:nth-of-type(3n+2){border-top:7px solid #2eb99a}.reading-content section:nth-of-type(3n){border-top:7px solid #f0b83f}.lesson-menu{border:2px solid #d9d5ee;border-radius:20px;box-shadow:0 7px 0 #e3e0ee}.lesson-menu strong{color:#5944be}.lesson-menu a{border-radius:9px}.lesson-menu a:hover{background:#f0ecff;color:#5944be}.reading-tools button,.page-share button,.board-controls button{border:2px solid #9faee0;border-radius:999px;font-weight:700}.reading-tools button:hover,.page-share button:hover,.board-controls button:not(:disabled):hover{background:#eeeaff}.complete-lesson[aria-pressed=true]{background:#6f56d9}
.example-board{background:linear-gradient(150deg,#fff,#edfbf8);border:2px solid #9edfd2;border-radius:24px;box-shadow:0 8px 0 #ccebe5}.example-board>summary{color:#17685e}.board-step{background:#e6dcff;color:#49359e;border-radius:999px}.board-note-text{border-left:5px solid #2eb99a;background:#f5fffc}.board-controls button[data-board=next]{background:#6f56d9;border-color:#6f56d9}.board-controls button[data-board=next]:not(:disabled):hover{background:#5b43c2}.replay-last-move{box-shadow:inset 0 0 0 4px #ffd166;background:#ffe39a}.replay-last-move.replay-dark{background:#d6c567}
.answer-reveal{background:#fff7d8;border:2px solid #efd373;border-radius:18px}.memory-card{border-radius:24px!important}.page-share{text-align:center}.page-share button{background:#fff;color:#563fc0;box-shadow:0 5px 0 #ddd6f4}
footer{background:#20204a;border-top:4px solid #ffd166;border-radius:34px 34px 0 0}footer .knight{width:42px;height:42px}
@media(max-width:800px){.hero{border-radius:0 0 32px 32px}.hero-visual{transform:none}.reading-hero{margin:18px 4% 20px;padding:34px 5%;border-radius:25px}.reading-content section{padding:26px 20px}.coach-photo{transform:none;box-shadow:7px 7px 0 #ffd166}}
@media(max-width:520px){.knight{width:40px;height:40px;border-radius:12px}.hero-details span{font-size:.78rem}.reading-hero::after{font-size:1.1rem}.lesson-choice:hover{transform:translateY(-3px)}.reading-content section{border-radius:19px}.podcast-section,.free-reading-section,.booking-section{border-radius:24px}}

/* Learning aids shared by every readable lesson. */
.lesson-overview{max-width:980px;margin:0 auto 28px;padding:26px 30px;background:linear-gradient(125deg,#fff8d8,#eef8ff 60%,#f1edff);border:2px solid #d9d5ef;border-radius:24px;box-shadow:0 7px 0 #e3dfef}
.lesson-overview h2{margin:0 0 4px;font-size:clamp(1.7rem,3vw,2.25rem)}.lesson-overview-meta{margin:0 0 15px;color:#5744b5;font-weight:800}.lesson-overview-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px;padding:0;list-style:none;counter-reset:lesson-step}.lesson-overview-steps li{counter-increment:lesson-step;background:#fff;border:1px solid #dfe4f1;border-radius:14px;padding:14px;line-height:1.45}.lesson-overview-steps li::before{content:counter(lesson-step);display:grid;place-items:center;width:28px;height:28px;margin-bottom:8px;border-radius:50%;background:#6f56d9;color:#fff;font-weight:900}
.lesson-progress{display:grid;grid-template-columns:auto minmax(100px,1fr);gap:12px;align-items:center}.lesson-progress-label{font-size:.9rem;font-weight:800;color:#41328f}.lesson-progress-track{display:block;height:12px;overflow:hidden;background:#ddd8f0;border-radius:999px}.lesson-progress-fill{display:block;width:0;height:100%;background:linear-gradient(90deg,#2eb99a,#6f56d9);border-radius:inherit;transition:width .15s linear}
.board-learning-prompt{margin:18px 0;padding:15px 17px;background:#fff7d8;border:2px solid #efd373;border-radius:16px}.board-learning-prompt strong{display:block;color:#654b06}.board-learning-prompt p{margin:3px 0 0!important;font-size:1rem!important;line-height:1.55!important}
.next-game-challenge{background:linear-gradient(135deg,#25245a,#5842b4)!important;color:#fff!important;border:0!important;box-shadow:0 8px 0 #d8d1ef!important}.next-game-challenge h2,.next-game-challenge p{color:#fff!important}.next-game-challenge .eyebrow{background:#ffd166;color:#44330b;border-color:#ffd166}
@media(max-width:800px){.lesson-overview{margin:0 4% 24px;padding:22px}.lesson-overview-steps{grid-template-columns:1fr}.lesson-overview-steps li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center}.lesson-overview-steps li::before{margin:0}}
@media(max-width:520px){.lesson-overview{padding:19px 16px;border-radius:19px}.lesson-progress{grid-template-columns:1fr}.lesson-progress-label{font-size:.85rem}}

/* Home invitation to the curated chess shop. */
.home-shop{margin:40px 6% 0;padding:36px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:35px;align-items:center;background:linear-gradient(135deg,#eeeaff,#e4f7ff 60%,#fff4c9);border:2px solid #d5d0ef;border-radius:30px;box-shadow:0 9px 0 #e1ddef}.home-shop h2{margin:12px 0;font-size:clamp(2rem,4vw,3.3rem);line-height:1.1}.home-shop p:not(.eyebrow){max-width:620px}.home-shop .button{margin-top:8px}.home-shop-pieces{display:flex;gap:12px;align-items:center}.home-shop-pieces span{display:grid;place-items:center;width:78px;height:78px;background:#fff;border:3px solid #fff;border-radius:22px;box-shadow:0 7px 0 #d8d1f0;color:#6f56d9;font-size:2rem}.home-shop-pieces span:nth-child(2){background:#ffd166;color:#3b315e;transform:rotate(3deg)}.home-shop-pieces span:nth-child(3){background:#d9f7ef;transform:rotate(-3deg)}
@media(max-width:720px){.home-shop{grid-template-columns:1fr;padding:26px}.home-shop-pieces{justify-content:flex-start}.home-shop-pieces span{width:60px;height:60px;border-radius:17px;font-size:1.55rem}}

/* Homepage welcome showcase */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.home-showcase{padding:18px 2.5% 0;background:#0b1420;color:#fff;border-radius:0 0 34px 34px;box-shadow:0 18px 45px #101b3026}
.home-showcase-image{display:flex;align-items:center;justify-content:center;min-height:0;background:#080f18;border-radius:22px;overflow:hidden;box-shadow:0 16px 42px #0008}
.home-showcase-image img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 150px);object-fit:contain}
.showcase-enlarge{display:none;margin:10px 0 0;text-align:center;color:#cbd8e9;font-size:.875rem}
.showcase-links{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:14px 0 18px}
.showcase-links a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid #ffffff45;border-radius:14px;background:#ffffff12;color:#fff;text-align:center;text-decoration:none;font-weight:800;font-size:.9rem;transition:background .18s ease,transform .18s ease}
.showcase-links a:hover{background:#14a9c955;transform:translateY(-2px)}
@media(max-width:800px){.home-showcase{padding:10px 3% 0;border-radius:0 0 24px 24px}.home-showcase-image{border-radius:15px}.home-showcase-image img{max-height:none;width:100%}.showcase-enlarge{display:block}.showcase-links{grid-template-columns:repeat(2,1fr);padding-top:10px}.showcase-links a:last-child{grid-column:1/-1}}
@media(max-width:420px){.showcase-links{gap:8px}.showcase-links a{font-size:.82rem;padding:9px 7px;min-height:44px}}

/* Link to the dedicated Chess AI Coach website and app. */
.ai-coach-invitation{margin:24px 6%;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:#eeeaff;border:2px solid #d5cdef;border-radius:24px;color:#302451}
.ai-coach-invitation>div{flex:1 1 280px;min-width:0}
.ai-coach-invitation .eyebrow{font-size:.875rem;color:#5944be;margin:0 0 8px}
.ai-coach-invitation h2{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;margin:0 0 10px}
.ai-coach-invitation p:not(.eyebrow){font-size:1rem;line-height:1.6;margin:0;max-width:620px}
.ai-coach-invitation .button{white-space:normal;text-align:center;max-width:100%;background:#5944be;color:#fff;border-color:#5944be}
.ai-coach-invitation .button:focus-visible{outline:3px solid #153d36;outline-offset:5px}
@media(max-width:600px){.ai-coach-invitation{margin:18px 4%;padding:22px;gap:18px}.ai-coach-invitation .button{width:100%;justify-content:center}}
