@font-face{font-family:OpenSans;src:url('/spael/content/open-sans.ttf') format('truetype');font-display:swap}
:root{font-family:OpenSans,Arial,sans-serif;color:#303e46;background:#f7f9fa;--blue:#356780;--green:#4b6846;--coral:#934e53;--line:#d9e1e4;--muted:#596771}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:var(--blue);text-underline-offset:4px}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}header{background:white;min-height:92px;border-bottom:1px solid var(--line);padding:18px max(24px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;font-size:20px;font-weight:750;color:inherit}.brand img{object-fit:contain}.back{font-size:14px}main{max-width:1168px;padding:42px 24px 30px;margin:auto;min-height:70vh}h1{font-size:clamp(30px,4.5vw,48px);letter-spacing:-1.5px;margin:6px 0 12px;line-height:1.15}h2{font-size:25px;margin:10px 0}p{line-height:1.65}.eyebrow{font-size:12px;letter-spacing:1.7px;text-transform:uppercase;font-weight:750;color:var(--coral);margin:0 0 8px}.intro{font-size:17px;max-width:760px;color:var(--muted);margin:0}.heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:28px}.theme-label{font-size:13px;display:grid;gap:8px;min-width:200px;color:var(--muted)}select{max-width:100%;background:white;border:1px solid #93a7b0;border-radius:12px;color:var(--blue);padding:13px 16px;font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.story-card{border:1px solid var(--line);border-top:5px solid #a3bb8e;border-radius:20px;padding:22px;background:white;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0}.story-card:nth-child(2){border-top-color:#7daec7}.story-card:nth-child(3){border-top-color:#d99798}.story-card .category{margin:0;color:var(--muted);font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700}.story-picture{height:150px;width:120px;object-fit:contain;margin:16px 0 8px}.story-card h2{font-size:21px;line-height:1.4;min-height:60px;margin:0 0 16px}.card-actions{display:flex;gap:8px;justify-content:center;margin-top:auto;flex-wrap:wrap}.secondary,.primary,.letter,.slot,.choice{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:12px;font-weight:700;border:1px solid #9dabb2;min-height:48px;padding:11px 18px;background:white;color:var(--blue)}.secondary:hover,.choice:hover{background:#eaf3f8}.primary{background:var(--coral);border-color:var(--coral);color:white;gap:10px}.primary:hover{background:#7f4045}.primary.big{font-size:18px;min-height:56px;padding:14px 30px}.hold[aria-pressed=true]{background:#eef4e8;border-color:var(--green);color:var(--green)}.card-actions button{font-size:13px;padding:10px 13px;min-height:44px}.actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:22px 0 6px}.status{text-align:center;min-height:28px;color:var(--green);font-size:15px;margin:12px 0 20px}.prompts{border-radius:16px;background:#eaf3f8;padding:18px 24px;text-align:center}.prompts p{margin:0}.prompts strong{color:var(--blue)}details{margin-top:26px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:14px}summary{cursor:pointer;font-weight:700;color:var(--blue);min-height:36px}details p{max-width:850px}footer{text-align:center;padding:24px;color:var(--muted);font-size:12px}.home-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0}.home-option{display:flex;gap:24px;align-items:center;padding:28px;background:white;border:1px solid var(--line);border-radius:20px}.home-option img{width:100px;height:150px;object-fit:contain}.home-option p{color:var(--muted)}.choice-row{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.choice[aria-current=page]{background:var(--blue);color:white;border-color:var(--blue)}.spell-layout{display:grid;grid-template-columns:320px 1fr;gap:40px;align-items:center;background:white;border:1px solid var(--line);border-radius:22px;padding:36px}.word-picture{width:100%;height:270px;object-fit:contain}.word-hint{text-align:center;font-size:32px;min-height:48px;letter-spacing:3px;font-weight:750;margin:8px 0}.word-hint.is-hidden{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:400}.slots,.letters{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.slot{width:66px;height:72px;background:#eaf3f8;border:2px solid #7daec7;color:var(--blue);font-size:30px;padding:0}.slot.empty{border-style:dashed;color:#596771;opacity:1}.letter{width:60px;height:64px;font-size:28px;padding:0;border:1px solid #93a7b0;box-shadow:0 3px 0 #d9e1e4}.letter:hover{background:#fcf5df}.letters{margin-top:28px}.spell-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:26px}.progress{font-size:13px;color:var(--muted)}.done-panel{max-width:680px;padding:42px;margin:20px auto;text-align:center;background:#eef4e8;border-radius:24px}.done-panel img{width:140px;height:140px;object-fit:contain}.access-panel{max-width:640px;margin:12vh auto;padding:32px;background:white;border:1px solid var(--line);border-radius:20px}.access-panel a{display:inline-block;margin:12px 14px 8px 0}.skip{position:absolute;left:18px;top:-90px;z-index:10;background:white;padding:16px}.skip:focus{top:8px}
@media(max-width:850px){.heading{align-items:start;flex-direction:column}.theme-label{width:100%}.spell-layout{grid-template-columns:230px 1fr;gap:20px;padding:24px}.cards{gap:12px}.story-card{padding:16px 10px}.story-card h2{font-size:18px;min-height:76px}.home-options{grid-template-columns:1fr}}
@media(max-width:600px){header{padding:14px 18px;min-height:76px}.brand{gap:10px;font-size:15px}.brand img{width:64px;height:40px}.back{font-size:12px}main{padding:26px 16px}.cards{grid-template-columns:1fr}.story-card{display:grid;grid-template-columns:90px 1fr;text-align:left;gap:0 14px;padding:16px;border-top:1px solid var(--line);border-left:5px solid #a3bb8e}.story-card:nth-child(2){border-left-color:#7daec7}.story-card:nth-child(3){border-left-color:#d99798}.story-card .category{grid-column:2}.story-picture{grid-column:1;grid-row:1/4;width:85px;height:120px;margin:0}.story-card h2{grid-column:2;min-height:0;font-size:18px;margin:8px 0 12px}.card-actions{justify-content:start;grid-column:2}.spell-layout{grid-template-columns:1fr;gap:8px;padding:20px 10px}.word-picture{height:175px}.word-hint{min-height:42px;margin:4px}.slots,.letters{gap:8px}.slot{width:58px;height:62px}.letter{width:54px;height:58px}.heading{gap:16px}.intro{font-size:15px}.home-option{padding:20px;gap:16px}.home-option img{width:75px}.primary.big{width:100%}footer{padding:20px 16px}.access-panel{margin:10vh 16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.slot:disabled{opacity:1}
