:root{--gutter:clamp(16px,3vw,56px);--page-max:2400px;--form-max:1200px;--read-max:880px;--card-min:clamp(200px,12vw,280px);--rail:clamp(240px,16vw,320px);--bg:#fbf8f2;--alt:#f3eee3;--surface:#fff;--well:#f7f4ee;--ink:#0e1b34;--secondary:#33415f;--muted:#5b6883;--line:#e6dfd0;--border:#768299;--blue:#2f63f0;--link:#1d47c9;--softblue:#e6edff;--gold:#f7a21b;--softgold:#fff1d9;--purple:#6b36d8;--softpurple:#efe8ff;--green:#086b54;--softgreen:#dcf5ee;--band:#0e1b34;--shadow:0 3px 6px #17254306,0 14px 36px #17254309;--font:Nunito,'Noto Sans TC','Noto Sans SC','Noto Sans JP','Noto Sans KR','Noto Sans Thai',system-ui,sans-serif;color-scheme:light}
:root[data-theme=dark]{--bg:#07142b;--alt:#0a1a36;--surface:#0f2346;--well:#122a52;--ink:#eef3ff;--secondary:#c9d5f0;--muted:#9aabcd;--line:#2b4166;--border:#7185a8;--blue:#7d9dff;--link:#a9bfff;--softblue:#16305e;--gold:#f7b23b;--softgold:#3a2c10;--purple:#c3aaff;--softpurple:#25205a;--green:#3fd1ad;--softgreen:#0f3a3a;--band:#0b1d3d;--shadow:0 3px 6px #0002,0 14px 36px #0003;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--font)}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}img,svg{display:block;max-width:100%}button svg,a svg{flex:none}h1,h2,h3,h4{font-weight:900;line-height:1.14;letter-spacing:-.025em;margin:0 0 .5em}h1{font-size:clamp(34px,4.3vw,60px)}h2{font-size:clamp(27px,3vw,38px)}h3{font-size:21px;font-weight:800}p{margin:0 0 1em}button{color:inherit}button:disabled{opacity:.55;cursor:not-allowed}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}a,button{border-radius:8px}.wrap,.wide{width:min(var(--page-max),calc(100% - 2 * var(--gutter)));margin-inline:auto}.wrap-form{width:min(var(--form-max),calc(100% - 2 * var(--gutter)))}.wrap-read{width:min(var(--read-max),calc(100% - 2 * var(--gutter)))}.muted{color:var(--muted)}.small{font-size:14px}.accent{color:var(--blue)}.kicker{color:var(--link);font-size:12px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;margin-bottom:14px}.lede{color:var(--secondary);font-size:19px;line-height:1.65;max-width:620px}.section{padding:64px 0}.section-alt{background:var(--alt)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:27px}.section-head p{color:var(--muted);margin:0;max-width:700px}.section-head h2{margin-bottom:10px}.text-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;white-space:nowrap}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stack{display:grid;gap:20px}.grow{flex:1}.ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.skip{position:absolute;left:12px;top:-60px;padding:10px 16px;background:var(--ink);color:var(--bg);z-index:100}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.preview-bar{background:#10213e;color:#dce7ff;font-size:11px;line-height:1.45;padding:7px 0;letter-spacing:.015em}.preview-bar .wrap{display:flex;justify-content:space-between;align-items:center;gap:14px}.preview-bar b{font-size:10px;letter-spacing:.1em;margin-right:13px;color:#ffd489}.preview-bar i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffd489;margin-right:8px}.preview-bar a{color:#dce7ff;white-space:nowrap}.site-header{position:sticky;top:0;z-index:35;background:var(--bg);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:22px;min-height:86px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0;color:var(--ink)}.brand:hover{text-decoration:none}.brand img{width:43px;height:43px}.wordmark{display:grid;line-height:.97;font-size:20px;font-weight:900;letter-spacing:-.04em}.wordmark .board{color:var(--blue)}.wordmark .games{color:var(--gold)}.desktop-nav{display:flex;gap:6px;align-items:center;margin-left:auto}.desktop-nav a{padding:9px 11px;color:var(--secondary);background:var(--well);border:1px solid var(--line);border-radius:12px;font-size:14px;font-weight:800;white-space:nowrap;transition:background-color .15s,color .15s,border-color .15s}.desktop-nav a[aria-current]{border-color:var(--border);color:var(--ink)}.site-header .desktop-nav a:hover,.site-header .desktop-nav a:focus-visible{background:var(--gold);border-color:var(--gold);color:#07142b;text-decoration:none}.utilities{display:flex;gap:9px;align-items:center}.lang-menu,.appearance,.mobile-menu{position:relative}.lang-menu summary,.appearance summary,.mobile-menu summary{display:flex;gap:6px;align-items:center;justify-content:center;height:44px;padding:0 11px;border:1px solid var(--line);border-radius:13px;background:var(--surface);list-style:none;cursor:pointer;user-select:none}.lang-menu summary::-webkit-details-marker,.appearance summary::-webkit-details-marker,.mobile-menu summary::-webkit-details-marker{display:none}.glyphs{font-family:Arial,'Noto Sans TC',sans-serif;font-size:19px;line-height:1;font-weight:700;display:flex;align-items:center;gap:5px}.glyphs span:first-child{color:var(--ink)}.glyphs span:nth-child(2){color:#398199}.glyphs span:nth-child(3){color:#ac6800}:root[data-theme=dark] .glyphs span:nth-child(2){color:#8fd9f3}:root[data-theme=dark] .glyphs span:nth-child(3){color:#f9d57b}.chevron{width:11px;height:11px}.dropdown{position:absolute;right:0;top:calc(100% + 9px);min-width:215px;max-height:min(70vh,520px);overflow:auto;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);z-index:70}.dropdown button,.dropdown a{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;padding:9px 12px;text-align:start;border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:700}.dropdown button:hover,.dropdown a:hover{background:var(--well);text-decoration:none}.dropdown [aria-checked=true],.dropdown [aria-current=true]{background:var(--softblue);color:var(--link)}.dropdown [aria-checked=true]::after{content:'✓';margin-left:auto}.mobile-menu{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:99px;min-height:46px;padding:11px 21px;font-size:15px;font-weight:800;line-height:1.35;text-align:center;transition:background .15s,transform .15s}.btn:hover{text-decoration:none;transform:translateY(-1px)}.btn-primary{background:var(--gold);color:#2a1900}.btn-blue{background:var(--blue);color:#fff}:root[data-theme=dark] .btn-blue{color:#07142b}.btn-outline{border-color:var(--line);background:var(--surface);color:var(--ink)}.btn-ghost{background:transparent;color:var(--secondary)}.btn-danger{border-color:#bf5660;background:transparent;color:#b23040}:root[data-theme=dark] .btn-danger{color:#ffabb4}.btn-small{min-height:42px;padding:9px 16px;font-size:14px}.header-publish{white-space:nowrap}.avatar{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;background:var(--softblue);color:var(--link);border-radius:50%;font-size:11px;font-weight:900;flex:none}
.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--link);background:var(--softblue);border:1px solid var(--line);border-radius:50px;padding:5px 11px;margin-bottom:22px}.search-box{display:flex;align-items:center;padding:7px;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:17px;box-shadow:var(--shadow);margin:25px 0 15px;max-width:550px}.search-box .ico{margin-left:7px;color:var(--muted)}.search-box input{width:100%;min-width:0;flex:1;border:0;background:none;color:var(--ink);outline-offset:1px;padding:9px 4px;font-size:15px}.search-box input::placeholder{color:var(--muted)}.search-box .btn{border-radius:12px;flex-shrink:0;padding:13px 17px}.topics{display:flex;gap:7px;flex-wrap:wrap;align-items:center;font-size:12px}.topics a,.chip{display:inline-flex;gap:6px;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--line);color:var(--secondary);border-radius:50px;padding:6px 12px;font-size:13px;font-weight:700;min-height:34px}.topics a:hover,.chip:hover{text-decoration:none;background:var(--softblue)}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.hero-secondary{margin-top:18px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800}.board-scene{position:relative;padding:19px 8px 28px}.classroom-board{background:#192745;border:9px solid #192745;border-radius:20px;box-shadow:0 25px 45px #07142b25;transform:rotate(-1.2deg);position:relative}.classroom-board::before{content:'';position:absolute;width:7px;height:7px;background:#758ba9;border-radius:50%;top:-8px;left:50%}.board-screen{position:relative;overflow:hidden;border-radius:10px;aspect-ratio:16/10;background:#192745}.board-screen img{width:100%;height:100%;object-fit:cover}.board-screen .btn{position:absolute;left:50%;bottom:21px;transform:translateX(-50%);min-width:185px;box-shadow:0 4px 20px #0004}.board-caption{display:flex;align-items:center;justify-content:space-between;color:#dce6ff;font-size:11px;padding:10px 5px 3px;gap:8px}.board-caption b{font-size:12px}.board-base{height:9px;width:72%;margin:auto;background:#263859;border-radius:0 0 9px 9px;box-shadow:0 12px 20px #10203c25;transform:rotate(-1.2deg)}.board-note{position:absolute;left:-17px;bottom:0;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;display:flex;align-items:center;gap:11px;padding:12px 16px;font-size:13px;font-weight:800;transform:rotate(1deg)}.board-note small{display:block;font-size:11px;font-weight:600;color:var(--muted)}.note-icon{display:grid;place-items:center;background:var(--softgreen);color:var(--green);border-radius:11px;width:38px;height:38px}.hero-badge{position:absolute;right:-5px;top:0;background:var(--softgold);color:#704107;border:1px solid #d6bb81;border-radius:50px;padding:7px 14px;font-size:12px;font-weight:900;transform:rotate(3deg)}:root[data-theme=dark] .hero-badge{color:#ffd994}.benefits{border-block:1px solid var(--line);background:var(--surface)}.benefits .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding-block:22px}.benefit{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:800}.benefit .ico{color:var(--link);width:23px;height:23px}.benefit small{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.game-grid{display:grid;gap:21px}.gcard{border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 3px 12px #10203c04;min-width:0;overflow:hidden;transition:transform .18s,box-shadow .18s}.gcard:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.gcard .thumb{display:block;aspect-ratio:16/9;position:relative;background:var(--softblue);border-radius:0;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.card-play{position:absolute;right:11px;bottom:10px;border-radius:50%;background:#fffc;color:#0e1b34;padding:8px;box-shadow:0 2px 6px #0002}.card-play .ico{width:17px;height:17px;fill:currentColor;stroke-width:1.4}.card-body{padding:18px}.card-subject{display:flex;align-items:center;gap:6px;color:var(--link);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;margin-bottom:8px}.card-subject i{width:5px;height:5px;border-radius:50%;background:currentColor}.card-body h3{font-size:18px;line-height:1.33;letter-spacing:-.02em;margin-bottom:8px}.card-body h3 a{color:var(--ink)}.card-desc{color:var(--muted);font-size:13px;line-height:1.55;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.card-meta{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px}.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.3;font-weight:800;padding:5px 8px;border-radius:6px;background:var(--well);color:var(--secondary)}.tag.blue{background:var(--softblue);color:var(--link)}.tag.green{background:var(--softgreen);color:var(--green)}.tag.purple{background:var(--softpurple);color:var(--purple)}.creator-line{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:13px;font-size:12px;color:var(--muted)}.creator-line a{font-weight:700;color:var(--secondary)}.creator-line .tiny{font-size:10px;margin-left:auto;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:48px;margin-top:33px}.step-number{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--link);background:var(--softblue);font-size:18px;font-weight:900;margin-bottom:17px}.step h3{font-size:20px}.step p{font-size:15px;color:var(--muted)}.creator-band{background:var(--band);color:#eef3ff;border-radius:24px;padding:43px 46px;display:grid;grid-template-columns:1.25fr 1fr;gap:45px;align-items:center;overflow:hidden;position:relative}.creator-band h2{font-size:35px;max-width:490px}.creator-band p{color:#c9d5f0;font-size:16px;max-width:480px}.creator-band .kicker{color:#ffc874}.creator-methods{display:grid;gap:10px}.creator-methods a{display:flex;gap:13px;align-items:center;background:#ffffff08;border:1px solid #ffffff21;border-radius:13px;color:#eef3ff;padding:14px 18px;font-size:15px;font-weight:800}.creator-methods a:hover{background:#ffffff15;text-decoration:none}.creator-methods small{font-size:12px;font-weight:600;display:block;color:#b9cceb}.creator-methods .ico{color:#ffc874}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.recipe-card{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:25px;display:flex;flex-direction:column;align-items:flex-start}.recipe-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:12px;background:var(--softblue);color:var(--link);margin-bottom:20px}.recipe-card:nth-child(2) .recipe-icon{background:var(--softgold);color:#995d00}.recipe-card:nth-child(3) .recipe-icon{background:var(--softpurple);color:var(--purple)}.recipe-card h3{margin-bottom:10px}.recipe-card p{font-size:14px;color:var(--muted);flex:1}.recipe-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:13px}.recipe-actions a{font-weight:800}.founder-panel{border:1px solid var(--line);border-radius:22px;padding:38px;display:flex;gap:32px;align-items:center;background:linear-gradient(115deg,var(--softgold),var(--bg) 58%,var(--softpurple))}.founder-art{width:115px;height:115px;border-radius:33px;display:grid;place-items:center;background:var(--gold);color:#392100;transform:rotate(-6deg);box-shadow:inset 0 0 0 8px #ffffff50;flex:none}.founder-art .ico{width:58px;height:58px;stroke-width:1.2}.founder-panel h2{font-size:28px}.founder-panel p{margin:0;max-width:625px;color:var(--secondary);font-size:15px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faq-grid details{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:0 20px}.faq-grid summary{padding:17px 0;cursor:pointer;font-size:15px;font-weight:800}.faq-grid p{font-size:14px;color:var(--muted)}
footer{border-top:1px solid var(--line);padding:45px 0 23px;background:var(--surface)}.footer-top{display:flex;justify-content:space-between;gap:38px;padding-bottom:30px}.footer-description{font-size:13px;color:var(--muted);margin:14px 0 0;max-width:280px}.footer-links{display:flex;gap:62px}.footer-group{display:grid;gap:9px;align-content:start;font-size:13px}.footer-group b{font-weight:900;color:var(--ink);margin-bottom:4px}.footer-group a{color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);padding-top:22px;display:grid;grid-template-columns:1fr 1.9fr;gap:30px;align-items:end}.copyright{font-size:11px;color:var(--muted);line-height:1.8}.footer-preferences{display:grid;justify-items:end;gap:16px}.footer-languages{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;align-items:center}.footer-languages button{font-size:12px;font-weight:700;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:5px 7px;min-height:32px}.footer-languages button[aria-checked=true]{background:var(--softblue);color:var(--link);border-color:var(--line)}.theme-segments{display:inline-flex;border:1px solid var(--line);border-radius:10px;padding:3px;background:var(--well);gap:2px}.theme-segments button{display:flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:800}.theme-segments button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0001}.theme-segments .ico{width:15px;height:15px}
.page-top{padding:39px 0 24px}.page-top h1{font-size:39px;max-width:850px}.page-top .lede{font-size:17px}.breadcrumbs{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:22px}.catalogue-toolbar{display:flex;gap:16px;align-items:center;margin:4px 0 20px;flex-wrap:wrap}.catalogue-toolbar .search-box{margin:0;box-shadow:none;flex:1;min-width:250px;max-width:none}.catalogue-toolbar select,.field select,.field input,.field textarea{width:100%;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);min-height:45px;padding:10px 12px;font-size:15px}.catalogue-toolbar select{width:auto;min-width:142px}.catalogue-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:24px;align-items:center}.catalogue-grid{gap:19px}.catalogue-grid .card-desc{display:none}.results-line{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:24px 0 18px;font-size:13px;color:var(--muted)}.results-line button{border:0;background:none;color:var(--link);font-weight:800}.empty{padding:60px 25px;text-align:center;background:var(--surface);border:1px dashed var(--border);border-radius:20px;grid-column:1/-1}.game-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:start}.player-shell{border:8px solid #192745;background:#192745;border-radius:21px;overflow:hidden;box-shadow:var(--shadow);position:relative}.player-screen{position:relative;aspect-ratio:16/10;display:grid;place-items:center;border-radius:12px;overflow:hidden}.player-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.player-screen>.btn{z-index:2;box-shadow:0 0 0 8px #ffffff22,0 5px 35px #0007}.player-screen iframe{border:0;width:100%;height:100%;position:absolute;inset:0;background:white}.player-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 5px 1px;color:#b9cceb;font-size:11px;gap:10px}.player-toolbar button{display:flex;align-items:center;gap:6px;border:0;background:none;color:#eef3ff;font-size:12px;font-weight:800;min-height:32px}.player-shell:fullscreen{border-radius:0;display:flex;flex-direction:column;height:100%;width:100%;padding:12px}.player-shell:fullscreen .player-screen{aspect-ratio:auto;flex:1}.game-info h1{font-size:37px;line-height:1.17;margin:12px 0 18px;overflow-wrap:anywhere}.game-info .creator-line{padding:0;border:0;margin-bottom:22px;font-size:14px}.game-info .creator-line .avatar{width:36px;height:36px}.game-info .description{font-size:16px;color:var(--secondary)}.game-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;padding:23px 0;margin:10px 0;border-block:1px solid var(--line)}.fact small{color:var(--muted);font-size:11px;font-weight:700;display:block}.fact b{font-size:14px}.game-detail-lower{display:grid;grid-template-columns:1.5fr 1fr;gap:32px;margin-top:30px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:27px}.panel h2{font-size:23px}.panel h3{font-size:18px}.panel p,.panel li{font-size:15px;color:var(--secondary)}.panel ol{padding-left:20px}.panel li{padding-left:5px;margin-bottom:10px}.sample-note{padding:12px 16px;border-radius:11px;background:var(--softblue);color:var(--secondary);font-size:12px;line-height:1.6;margin-top:18px}.form-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:32px;align-items:start}.form-panel{padding:28px;margin-bottom:20px}.section-title{display:flex;gap:12px;align-items:center;margin-bottom:21px}.section-title .step-number{margin:0;width:31px;height:31px;font-size:13px;flex:none}.section-title h2{margin:0;font-size:21px}.methods{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:20px}.method{display:grid;gap:7px;justify-items:center;align-content:center;border:1px solid var(--line);background:var(--well);border-radius:11px;min-height:87px;padding:10px 6px;font-size:12px;font-weight:800;text-align:center}.method[aria-pressed=true]{background:var(--softblue);color:var(--link);border:2px solid var(--blue);padding:9px 5px}.method .ico{width:22px;height:22px}.field{display:grid;gap:7px;margin-bottom:18px;min-width:0}.field label,.field-label{font-size:14px;font-weight:800}.field small{font-size:12px;color:var(--muted)}.field textarea{resize:vertical;line-height:1.6;min-height:105px}.field textarea.code{font-family:ui-monospace,monospace;font-size:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.dropzone{display:block;width:100%;min-width:0;border:1.5px dashed var(--border);border-radius:12px;background:var(--well);padding:27px 20px;text-align:center;color:var(--secondary);font-size:14px;overflow-wrap:anywhere}.dropzone input{display:block;width:min(100%,360px);min-width:0;max-width:100%;margin:16px auto 0;font-size:12px}.dropzone+p{margin-top:12px}.preview-sticky{position:sticky;top:115px}.preview-sticky>.kicker{margin-bottom:12px}.preview-sticky .gcard{max-width:380px}.preview-sticky .card-desc{display:block;min-height:unset}.check-list{list-style:none;padding:0;margin:20px 0;font-size:13px;color:var(--muted)}.check-list li{display:flex;gap:8px;align-items:center;margin:10px 0}.check-list .ico{width:16px;height:16px;color:var(--green)}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.form-actions .btn-primary{min-width:170px}.error{white-space:pre-line;overflow-wrap:anywhere;color:#b53042;background:#fff0f1;border-radius:10px;padding:12px;font-size:14px;margin-bottom:15px}.success-hero{text-align:center;max-width:780px;margin:auto;padding:48px 0 26px}.success-icon{margin:0 auto 22px;width:64px;height:64px;border-radius:50%;background:var(--softgreen);color:var(--green);display:grid;place-items:center}.success-icon .ico{width:34px;height:34px}.success-card{max-width:800px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.danger-zone{border-color:#bf5660;margin-top:25px}.danger-zone h3{color:#b23040}:root[data-theme=dark] .danger-zone h3{color:#ffabb4}.dashboard-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.dashboard-row img{width:115px;border-radius:10px;aspect-ratio:16/9;object-fit:cover}.dashboard-row h3{font-size:17px;margin:0 0 5px}.dashboard-row .row{margin-left:auto}.dashboard-row .btn{font-size:12px;min-height:38px;padding:8px 12px}.prompt-box{white-space:pre-wrap;font:13px/1.75 ui-monospace,SFMono-Regular,monospace;max-height:380px;overflow:auto;padding:20px;border:1px solid var(--line);border-radius:13px;background:var(--well);color:var(--secondary)}.recipe-builder{display:grid;grid-template-columns:1fr 1.2fr;gap:28px}.creator-hero{border-radius:22px;background:linear-gradient(110deg,var(--softblue),var(--bg),var(--softgold));padding:34px;display:flex;align-items:center;gap:24px;margin-bottom:34px}.creator-hero .avatar{width:84px;height:84px;font-size:29px;border:5px solid var(--surface)}.creator-hero h1{font-size:33px}.creator-hero p{margin:0;font-size:15px;max-width:650px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-grid ul{padding-left:20px}.guide-grid code{font-size:12px}.font-specimen{display:grid;grid-template-columns:1fr 1fr;gap:16px}.font-specimen .panel{overflow-wrap:anywhere}
dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:22px;width:min(550px,calc(100% - 32px));padding:28px;box-shadow:0 24px 90px #0005;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#06112699;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:16px}.dialog-head h2{font-size:26px;margin:0}.close-dialog{border:1px solid var(--line);background:var(--well);border-radius:50%;padding:9px;display:grid;place-items:center;min-width:39px;min-height:39px}.share-preview{display:flex;gap:13px;align-items:center;background:var(--well);padding:13px;border-radius:12px;margin-bottom:20px}.share-preview img{width:92px;aspect-ratio:16/9;border-radius:8px;object-fit:cover}.share-preview h3{font-size:16px;margin:0 0 4px}.share-preview p{font-size:11px;margin:0;color:var(--muted)}.share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.share-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:87px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:800}.share-choice:hover{background:var(--well);text-decoration:none}.share-choice .social-symbol{height:25px;font-family:Arial,sans-serif;font-size:24px;line-height:1;font-weight:800}.share-copy{display:flex;gap:8px;margin-top:20px}.share-copy input{min-width:0;flex:1;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--well);color:var(--muted);font-size:12px}.qr-area{text-align:center;margin-top:20px}.qr-area img{margin:0 auto 12px;width:170px;height:170px;padding:9px;border-radius:12px;background:#fff}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink);color:var(--bg);border:1px solid var(--line);border-radius:13px;padding:12px 20px;font-size:14px;font-weight:700;z-index:100;max-width:calc(100vw - 32px);box-shadow:var(--shadow);transition:opacity .18s,transform .18s}.toast.visible{opacity:1;transform:translate(-50%,0)}
html[lang^=zh],html[lang=ja]{--font:'Noto Sans TC','PingFang TC','Microsoft JhengHei',Nunito,sans-serif}html[lang=zh-Hans]{--font:'Noto Sans SC','PingFang SC','Microsoft YaHei',Nunito,sans-serif}html[lang=ja]{--font:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Nunito,sans-serif}html[lang=ko]{--font:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',Nunito,sans-serif}html[lang=th]{--font:'Noto Sans Thai','Leelawadee UI',Tahoma,Nunito,sans-serif}html[lang^=zh] h1,html[lang=ja] h1,html[lang=ko] h1,html[lang=th] h1{line-height:1.35;letter-spacing:0}html[lang=th] body{line-height:1.8}[lang=en]{font-family:Nunito,system-ui,sans-serif}[lang=ja]{font-family:'Noto Sans JP',sans-serif}[lang=ko]{font-family:'Noto Sans KR',sans-serif}[lang=th]{font-family:'Noto Sans Thai',sans-serif}[lang=zh-Hant]{font-family:'Noto Sans TC','PingFang TC',sans-serif}[lang=zh-Hans]{font-family:'Noto Sans SC','PingFang SC',sans-serif}
@media(max-width:1140px){.desktop-nav{gap:4px}.desktop-nav a{font-size:13px;padding:9px}.header-inner{gap:15px}.header-publish{font-size:13px;padding:10px 14px}.board-note{left:-12px}.game-grid{gap:15px}.card-body{padding:15px}}
@media(max-width:980px){.desktop-nav{display:none}.utilities{margin-left:auto}.mobile-menu{display:block}.header-inner{min-height:76px}.board-note{font-size:11px;padding:10px;gap:7px}.board-note small{font-size:10px}.hero-badge{font-size:10px}.creator-band{padding:34px;gap:28px}.creator-band h2{font-size:30px}.steps{gap:25px}.game-info h1{font-size:30px}.game-layout{gap:22px;grid-template-columns:1.3fr 1fr}.form-layout{grid-template-columns:1.3fr 1fr;gap:22px}.methods{grid-template-columns:1fr 1fr}.section{padding:50px 0}}
@media(max-width:720px){.preview-bar{font-size:10px}.preview-detail{display:none}.header-inner{gap:10px;min-height:70px}.brand img{width:37px;height:37px}.wordmark{font-size:18px}.utilities{gap:6px}.header-publish{display:none}.eyebrow{font-size:10px;margin-bottom:16px}.search-box{margin-top:20px}.search-box input{font-size:14px}.search-box .btn{font-size:13px;padding:12px}.hero-secondary{font-size:12px;margin-top:12px}.board-scene{padding:12px 9px 22px;max-width:510px;width:100%;justify-self:center}.board-screen{aspect-ratio:16/9}.board-note{left:0;bottom:0}.hero-badge{right:0;top:0}.benefits .wrap{gap:12px;padding-block:18px}.benefit{gap:8px;font-size:11px;align-items:flex-start}.benefit .ico{width:18px;height:18px}.benefit small{display:none}.section{padding:39px 0}.section-head{gap:16px;align-items:start;margin-bottom:22px}.section-head h2{font-size:28px}.section-head p{font-size:14px}.section-head>.text-link{font-size:12px;margin-top:7px}.game-grid{gap:15px}.card-body h3{font-size:17px}.card-desc{font-size:12px}.card-body{padding:14px}.card-meta{gap:4px}.tag{font-size:10px;padding:4px 6px}.creator-line{font-size:11px}.creator-line .tiny{display:none}.steps{grid-template-columns:1fr;gap:13px}.step{display:grid;grid-template-columns:42px 1fr;gap:15px}.step p{margin-bottom:15px}.step-number{margin:0}.creator-band{grid-template-columns:1fr;padding:29px;gap:22px;border-radius:19px}.creator-band h2{font-size:29px}.creator-band p{font-size:15px}.creator-methods{grid-template-columns:1fr 1fr}.creator-methods a{font-size:12px;padding:12px}.creator-methods a:last-child{grid-column:1/-1}.creator-methods small{font-size:11px}.recipe-grid{grid-template-columns:1fr;gap:14px}.recipe-card{padding:23px}.recipe-icon{margin-bottom:15px}.founder-panel{padding:26px;gap:19px;flex-wrap:wrap}.founder-panel h2{font-size:25px}.founder-art{width:67px;height:67px;border-radius:20px}.founder-art .ico{width:35px;height:35px}.founder-panel>.grow{flex-basis:calc(100% - 90px)}.founder-panel .btn{margin-left:86px}.faq-grid{grid-template-columns:1fr}.footer-top{display:grid;gap:27px}.footer-links{gap:40px;justify-content:space-between}.footer-bottom{grid-template-columns:1fr;gap:22px}.footer-preferences{justify-items:end;grid-row:1}.footer-languages{gap:4px}.copyright{font-size:10px}.page-top{padding:28px 0 20px}.page-top h1{font-size:32px}.catalogue-toolbar{gap:10px}.catalogue-toolbar .search-box{flex-basis:100%;min-width:0}.catalogue-toolbar select{flex:1}.game-layout,.game-detail-lower{grid-template-columns:1fr;gap:25px}.game-info h1{font-size:33px;margin-top:12px}.game-info{grid-row:1}.game-info .description{margin-bottom:12px}.game-info .game-facts{padding:16px 0;gap:12px;grid-template-columns:repeat(4,1fr)}.game-info>.sample-note{display:none}.form-layout{display:flex;flex-direction:column}.form-layout>form{width:100%}.preview-sticky{position:static;width:100%}.preview-sticky .gcard{max-width:100%}.form-panel{padding:22px}.methods{grid-template-columns:repeat(4,1fr)}.field-row{gap:12px}.success-card{grid-template-columns:1fr;max-width:420px}.success-hero{padding:30px 0 15px}.dashboard-row{flex-wrap:wrap;gap:13px}.dashboard-row .row{width:100%;margin-left:0}.dashboard-row img{width:87px}.recipe-builder,.guide-grid{grid-template-columns:1fr}.creator-hero{padding:25px;gap:16px}.creator-hero .avatar{width:65px;height:65px;font-size:23px}.creator-hero h1{font-size:27px}.font-specimen{grid-template-columns:1fr}}
@media(max-width:430px){.brand{gap:6px}.brand img{width:34px;height:34px}.wordmark{font-size:16px}.header-inner{gap:6px}.lang-menu summary{width:79px;padding-inline:8px}.appearance summary,.mobile-menu summary{width:41px;padding:0}.glyphs{font-size:18px}.utilities{gap:5px}.topics{font-size:11px;gap:5px}.topics a{font-size:11px;padding:5px 9px;min-height:30px}.board-caption{font-size:10px}.board-caption b{font-size:10px}.benefits .wrap{gap:10px}.benefit{font-size:10px;gap:6px}.section-head{flex-wrap:wrap;gap:9px}.section-head>.text-link{margin-top:0}.card-desc{min-height:unset;font-size:14px}.card-body{padding:18px}.card-body h3{font-size:19px}.card-subject{font-size:11px}.tag{font-size:11px}.creator-line{font-size:12px}.catalogue-grid .thumb{aspect-ratio:16/8.5}.page-top{padding-top:24px}.catalogue-filters{gap:5px;margin-bottom:15px}.catalogue-filters .chip{font-size:11px;padding:6px 9px;min-height:33px}.results-line{margin-top:14px}.methods{grid-template-columns:1fr 1fr}.field-row{grid-template-columns:1fr;gap:0}.form-actions .btn{width:100%}.game-info .game-facts{grid-template-columns:1fr 1fr}.share-grid{gap:8px}.share-choice{font-size:11px}.footer-links{gap:22px}.footer-group{font-size:12px}.founder-panel>.grow{flex-basis:100%}.founder-panel .btn{margin-left:0}.hero-badge{display:none}}
@media(max-width:350px){.wordmark{font-size:14px}.brand img{width:29px;height:29px}.lang-menu summary{width:74px}.appearance summary,.mobile-menu summary{width:38px}.search-box .btn{padding:11px 10px;font-size:12px}.search-box input{font-size:12px}.hero-secondary{font-size:11px}.footer-links{flex-wrap:wrap}.benefit .ico{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
[hidden]{display:none!important}.account-link{display:flex;padding:5px;flex-shrink:0}.account-link .avatar{height:33px;width:33px}.footer-signout{padding:0;border:0;background:none;font-size:13px;text-align:left;color:var(--muted)}footer .lang-menu .dropdown{top:auto;bottom:calc(100% + 9px)}.empty-cover{display:grid;place-items:center;width:100%;height:100%;min-height:135px;background:linear-gradient(125deg,var(--softblue),var(--softpurple))}.empty-cover .ico{width:65px;height:65px;color:var(--blue)}.catalogue-section,.game-section,.form-section,.dashboard-section,.recipe-section{padding-top:0}.extra-filters{position:relative}.extra-filters>summary{cursor:pointer;list-style:none}.extra-filters>summary::-webkit-details-marker{display:none}.extra-filters .field-row{position:absolute;top:100%;right:0;width:340px;padding:18px 18px 0;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);z-index:10}.player-actions{margin-top:18px}.authored-description{white-space:pre-wrap;font-size:15px;color:var(--secondary)}.licence-note{margin-top:22px;margin-bottom:0}.rights{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:24px 0}.rights input{width:18px;height:18px;margin-top:3px;flex:none}.form-actions{margin-top:24px}.login-panel{max-width:670px;margin:0 auto;padding:36px}.success-hero .lede{margin-inline:auto}.success-foot{text-align:center;margin-top:35px}.recipe-guide{margin-top:32px}.recipe-guide .steps{margin-top:26px}.recipe-bottom{margin-top:28px}.faq-title{margin-top:40px}.upload-option{margin-top:17px}.upload-option input{font-size:12px;max-width:100%}.pagination{margin-top:25px}.footer-language-control{justify-content:flex-end}.hero-badge .ico{width:15px;height:15px}.hero-badge{display:flex;align-items:center;gap:6px}#main[aria-busy=true]{opacity:.7}#main{outline:none}.hero-secondary .ico{width:17px;height:17px}.card-body h3 a{color:var(--ink)}.creator-methods a{display:flex;gap:12px;align-items:center}.creator-methods a>span{flex:1}.creator-methods a .ico{width:21px}.card-play .ico{width:20px;height:20px}
@media(max-width:1140px){html[lang=ru] .desktop-nav,html[lang=es] .desktop-nav{display:none}html[lang=ru] .utilities,html[lang=es] .utilities{margin-left:auto}html[lang=ru] .mobile-menu,html[lang=es] .mobile-menu{display:block}}
@media(max-width:720px){.account-link{display:none}.catalogue-section,.game-section,.form-section,.dashboard-section,.recipe-section{padding-top:0}.extra-filters .field-row{left:auto;right:0;width:min(320px,calc(100vw - 32px))}.game-info{grid-row:auto}.game-layout{display:flex;flex-direction:column}.game-layout>div{width:100%}.game-info{order:-1}.game-info .game-facts,.game-info .description,.game-info>.row{display:none}.game-info h1{margin:0 0 12px;font-size:29px}.game-info .creator-line{margin-bottom:0}.player-screen{aspect-ratio:4/3}.game-layout{gap:18px}.login-panel{padding:25px}.success-hero h1{font-size:33px}}
@media(max-width:430px){.catalogue-toolbar .btn-outline{font-size:12px;padding:9px 13px}.extra-filters .field-row{right:auto;left:0}.hero-badge{display:none}}
.wordmark{font-family:Nunito,system-ui,sans-serif}.lang-menu summary>.ico{width:11px;height:11px}.mobile-subject-field,.mobile-facts{display:none}
@media(max-width:720px){.lang-menu summary{width:92px;padding-inline:8px}.mobile-facts{display:block}.mobile-facts .game-facts{margin-top:0;padding-top:0}.mobile-subject-field{display:grid;grid-column:1/-1}body[data-view=games] .page-top{padding:17px 0 13px}body[data-view=games] .page-top .breadcrumbs,body[data-view=games] .page-top .lede{display:none}body[data-view=games] .page-top h1{font-size:28px;margin:0}.catalogue-toolbar{margin-bottom:13px;gap:9px}.catalogue-filters{margin-bottom:11px}.catalogue-filters>.chip:not([aria-pressed=true]){display:none}.extra-filters .field-row{left:0;right:auto;max-width:calc(100vw - 155px)}.results-line{font-size:11px;margin:10px 0 12px;gap:10px}.catalogue-grid .card-body{padding:13px 15px}.catalogue-grid .card-body h3{font-size:18px;margin-bottom:9px}.catalogue-grid .card-meta{margin-bottom:10px}.catalogue-grid .creator-line{padding-top:9px}.catalogue-grid .card-subject{margin-bottom:4px}}
@media(max-width:350px){.lang-menu summary{width:84px}.utilities{gap:4px}.header-inner{gap:4px}.brand .wordmark{font-size:13px}}
@media(max-width:720px){body[data-view=games] .page-top{padding-top:13px;padding-bottom:9px}.results-line{line-height:1.35}}
.gcard{display:flex;flex-direction:column}.gcard .thumb{flex:none}.gcard .card-body{flex:1;display:flex;flex-direction:column}.gcard .creator-line{margin-top:auto}.gcard .card-meta{flex-wrap:wrap}
.category-choices{border:1px solid var(--line);border-radius:11px;margin:20px 0;padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.category-choices legend{font-size:14px;font-weight:800;padding:0 5px}.category-choices label{display:flex;gap:8px;align-items:center;font-size:12px}.category-choices input{width:16px;height:16px;flex:none}

/* A block label keeps the native file input inside one continuous border. */
[data-method-panel] input[type=file]{color:var(--secondary);max-width:100%;min-width:0}
[data-method-panel] input[type=file]::file-selector-button{font:inherit;font-weight:800;color:var(--ink);background:var(--softblue);border:1px solid var(--border);border-radius:8px;padding:9px 12px;margin-right:10px;cursor:pointer}
[data-method-panel] input[type=file]::file-selector-button:hover{border-color:var(--blue)}
.upload-option input[type=file]{width:min(100%,360px)}

/* Give the header logo more presence while keeping narrow headers on one row. */
.site-header{--header-brand-icon-size:50px;--header-wordmark-size:23px}
.site-header .brand img{width:var(--header-brand-icon-size);height:var(--header-brand-icon-size)}
.site-header .wordmark{font-size:var(--header-wordmark-size)}
@media(max-width:720px){.site-header{--header-brand-icon-size:41px;--header-wordmark-size:20px}}
@media(max-width:430px){.site-header{--header-brand-icon-size:36px;--header-wordmark-size:17px}}
@media(max-width:350px){.site-header{--header-brand-icon-size:32px;--header-wordmark-size:14px}}

/* Community recipes: creator-authored prompts, with or without a game. */
.recipe-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:28px}
.recipe-intro .lede{max-width:760px;margin:0;font-size:17px}
.recipe-intro>.btn{flex:none}
.recipe-toolbar{display:flex;align-items:center;gap:15px}
.recipe-toolbar .search-box{flex:1;max-width:none;margin:0;box-shadow:none}
.recipe-toolbar .field{margin:0;min-width:165px}
.recipe-empty .recipe-icon{margin:0 auto 18px}
.recipe-empty p{max-width:620px;margin:0 auto 24px}
.recipe-empty .row{justify-content:center;flex-wrap:wrap}
.community-recipe{display:flex;flex-direction:column;min-width:0}
.community-recipe>.row{justify-content:space-between;margin-bottom:19px}
.community-recipe .recipe-icon{margin:0}
.community-recipe h3{overflow-wrap:anywhere}
.community-recipe h3 a{color:var(--ink)}
.community-recipe .recipe-actions{margin-top:18px;flex-wrap:wrap}
.recipe-meta{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 20px}
.recipe-credit{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:auto}
.recipe-credit>span:last-child{min-width:0;overflow-wrap:anywhere}
.recipe-credit small{display:block;color:var(--muted);font-size:11px}
.recipe-credit .avatar{flex:none;width:34px;height:34px;font-size:11px}
.recipe-heading h1{font-size:38px;overflow-wrap:anywhere;margin-bottom:16px}
.recipe-heading .recipe-credit{margin-top:22px}
.recipe-reading,.recipe-editor-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:26px;align-items:start}
.recipe-reading .panel,.recipe-editor-layout .panel{min-width:0}
.shared-prompt{font-family:ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;max-height:650px;overflow:auto;margin:22px 0 0;tab-size:2}
.recipe-notes{padding-top:24px;margin-top:24px;border-top:1px solid var(--line)}
.recipe-notes .authored-description{font-size:15px;color:var(--secondary);overflow-wrap:anywhere}
.recipe-context dl{padding-block:15px;border-block:1px solid var(--line);margin:22px 0}
.recipe-context dl>div{margin-bottom:12px}
.recipe-context dl>div:last-child{margin:0}
.recipe-context dt{font-size:11px;color:var(--muted);font-weight:800}
.recipe-context dd{font-size:14px;margin:3px 0 0;overflow-wrap:anywhere}
.recipe-context .btn{width:100%}
.recipe-context .linked-game{margin:17px 0 0}
.recipe-editor-help{position:sticky;top:112px}
.recipe-editor-help .recipe-credit{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}
.authored-prompt{font-family:ui-monospace,monospace;font-size:13px!important;white-space:pre-wrap}
.prompt-import{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:13px;border:1px dashed var(--border);border-radius:10px;background:var(--well)}
.prompt-import label{font-size:12px}
.prompt-import input[type=file]{width:100%;max-width:330px;min-height:0;padding:0;border:0;background:none;font-size:12px;border-radius:0}
.prompt-import small{width:100%;font-size:11px}
.game-prompt-section{margin-top:23px;border:1px solid var(--line);border-radius:13px;background:var(--well)}
.game-prompt-section>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:19px;cursor:pointer}
.game-prompt-section>summary::-webkit-details-marker{display:none}
.game-prompt-section>summary>span:nth-child(2){flex:1;min-width:0}
.game-prompt-section>summary b{font-size:15px;display:block}
.game-prompt-section>summary small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.game-prompt-section>summary .recipe-icon{margin:0;width:36px;height:36px;flex:none}
.game-prompt-section>summary>.ico{flex:none;width:16px}
.game-prompt-section[open]>summary>.ico{transform:rotate(180deg)}
.game-prompt-fields{padding:0 20px 20px}
.game-prompt-fields>p{margin-top:0;font-size:14px}
.prompt-consent{display:flex;align-items:flex-start;gap:12px;padding:16px;background:var(--softblue);border:1px solid var(--line);border-radius:11px}
.prompt-consent input{width:19px;height:19px;flex:none;margin:2px 0}
.prompt-consent b{display:block;font-size:14px}
.prompt-consent small{display:block;font-size:12px;line-height:1.65;color:var(--secondary);margin-top:5px}
.recipe-delete-area{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.studio-recipes-heading{margin-top:38px}
.studio-recipes-heading p{margin:5px 0 0}
.dashboard-row .recipe-icon{margin:0;flex:none}

/* Public teacher corners stay inside the same bounds as the site header. */
.site-header .account-link{padding:0}
.site-header .account-link .avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}
.site-header .header-publish{min-height:38px;padding:8px 13px;font-size:12px;gap:6px}
.site-header .header-publish .ico{width:16px;height:16px}
img.avatar{object-fit:cover}
.corner-page{padding:26px 0 60px}
.corner-page-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px;font-size:13px}
.corner-page-tools .breadcrumbs{margin:0}
.corner-page-tools .row{gap:18px}
.corner-review-link{display:flex;justify-content:flex-end;font-size:12px;margin:0 0 13px}
.recognition-review{margin:0 0 20px;border:1px solid var(--line);background:var(--surface);border-radius:13px}
.recognition-review>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:12px 17px;font-size:13px}
.recognition-review>summary::-webkit-details-marker{display:none}
.recognition-review>summary>span{color:var(--muted);font-size:12px;margin-left:auto}
.recognition-review>summary>.ico{width:17px;height:17px;flex:none;color:var(--gold)}
.recognition-review>summary>.ico:last-child{color:var(--muted)}
.recognition-review[open]>summary>.ico:last-child{transform:rotate(180deg)}
.recognition-controls{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:20px;padding:9px 20px 22px}
.recognition-controls .field{margin:0;font-size:13px}
.recognition-controls fieldset{border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 14px;margin:0;min-width:0}
.recognition-controls legend{font-size:12px;font-weight:800;padding-inline:5px}
.recognition-controls fieldset label{display:flex;align-items:center;gap:8px;font-size:12px}
.recognition-controls input{width:17px;height:17px;flex:none}
.recognition-controls p{grid-column:1/-1;margin:0;font-size:13px;color:var(--secondary)}
.recognition-controls>.text-link{font-size:12px;grid-column:1/-1;white-space:normal}
.creator-corner{--ink:var(--corner-text);--secondary:var(--corner-text);--muted:color-mix(in srgb,var(--corner-text) 70%,var(--corner-background));--bg:var(--corner-background);--surface:var(--corner-card);--well:color-mix(in srgb,var(--corner-card) 60%,var(--corner-background));--line:color-mix(in srgb,var(--corner-text) 20%,var(--corner-background));--border:color-mix(in srgb,var(--corner-text) 50%,var(--corner-background));--link:var(--corner-accent);--blue:var(--corner-accent);color:var(--corner-text);background:var(--corner-background);border-radius:27px 27px 22px 22px;min-width:0}
.digital-board{position:relative;padding:18px 12px 0;border:2px solid #516780;border-bottom-color:#233a53;border-radius:25px;background:linear-gradient(135deg,#32455f,#172b45 58%,#293e59);box-shadow:0 6px 0 #102239,0 16px 35px #0003,inset 0 1px 0 #a5c3e94a;isolation:isolate}
.board-camera{position:absolute;left:calc(50% - 3px);top:5px;width:6px;height:6px;border-radius:50%;background:#080f1b;box-shadow:inset 0 0 0 1px #557393}
.digital-board-screen{border:2px solid #0b1d30;border-radius:12px;overflow:hidden;background:#174236}
.digital-board-screen.has-cover-photo img{width:100%;height:auto;aspect-ratio:40/13;object-fit:contain}
.classroom-board-surface{position:relative;min-height:235px;padding:44px 60px;display:grid;place-items:center;background:radial-gradient(ellipse at 48% 10%,#3877694d,transparent 80%),linear-gradient(135deg,#22564a,#173d34);box-shadow:inset 0 0 28px #06261b73}
.classroom-board-surface p{white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;color:#f3f3dc;font-family:Arial,'Noto Sans TC',sans-serif;font-weight:500;font-size:clamp(20px,2.6vw,31px);line-height:1.55;margin:0;max-width:840px;text-shadow:0 1px 2px #102f2855}
.corner-chalk{position:absolute;right:38px;bottom:4px;width:32px;height:5px;border-radius:2px;background:#ededd3;transform:rotate(-3deg);box-shadow:0 2px 4px #0004}
.digital-board-bezel{height:25px;display:flex;align-items:center;justify-content:center;position:relative;color:#a0b2ca;font:700 8px/1 Arial,sans-serif;letter-spacing:.16em}
.digital-board-bezel i{position:absolute;right:12px;width:4px;height:4px;border-radius:50%;background:#8ce3b1;box-shadow:0 0 5px #8ce3b166}
.digital-board-foot{position:absolute;bottom:-8px;left:42%;width:16%;height:5px;border-radius:0 0 5px 5px;background:#405570;z-index:-1}
.corner-content{padding:0 27px 28px;min-width:0}
.corner-summary{display:flex;align-items:flex-start;gap:24px;padding:20px 0 22px}
.corner-portrait-slot{width:174px;flex:none;position:relative;z-index:2}
.laurel-portrait{position:relative;display:flex;align-items:flex-start;justify-content:center;width:174px;height:130px;margin-top:-60px}
.corner-avatar{display:grid;place-items:center;width:120px;height:120px;flex:none;border:5px solid var(--corner-background);border-radius:50%;object-fit:cover;background:var(--corner-card);font-size:35px;font-weight:900;color:var(--corner-accent);box-shadow:0 3px 8px #0002}
.laurel-branch{position:absolute;top:0;width:37px;height:126px;overflow:visible;filter:drop-shadow(0 1px 1px #0005)}
.laurel-left{left:-1px}.laurel-right{right:-1px;transform:scaleX(-1)}
.laurel-stem{fill:none;stroke:#e7b75b;stroke-width:1.7;stroke-linecap:round}
.laurel-leaf{fill:#efc66a;stroke:#fbe1a2;stroke-width:.65}
.corner-identity{flex:1;min-width:0;padding-top:1px}
.corner-identity .kicker{margin-bottom:7px;font-size:10px}
.corner-identity h1{font-size:32px;overflow-wrap:anywhere;margin:0 0 6px}
.corner-handle{font-size:12px;color:var(--muted);margin:0 0 13px;overflow-wrap:anywhere}
.corner-handle span{display:inline-block}
.corner-stats{display:flex;gap:9px 20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.corner-stats b{color:var(--corner-text)}
.copy-corner{margin-top:6px;flex:none;font-size:11px;padding:8px 12px;min-height:36px}
.copy-corner .ico{width:15px;height:15px}
.creator-seals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;margin-top:1px}
.creator-seal{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;font-size:10px;line-height:1.25;color:var(--corner-text)}
.creator-seal:only-child{grid-column:1/-1;flex-direction:row;justify-content:center;text-align:left;gap:9px;font-size:11px}
.creator-seal:last-child:nth-child(odd):not(:first-child){grid-column:1/-1}
.creator-seal>svg{width:39px;height:39px;flex:none;overflow:visible}
.creator-seal>span{max-width:93px}.creator-seal b{font-weight:800}
.creator-seal small{display:block;font-size:9px;color:var(--muted);margin-top:3px;letter-spacing:.025em}
.creator-seal{--seal-gold:#f3cc77;--seal-bg:#393222}
.seal-curriculum{--seal-gold:#9de0cd;--seal-bg:#173d37}
.seal-favourite{--seal-gold:#ffb9bb;--seal-bg:#47272e}
.seal-edge{fill:var(--seal-bg);stroke:var(--seal-gold);stroke-width:1.5}
.seal-ring{fill:none;stroke:var(--seal-gold);stroke-width:.75;opacity:.7}
.seal-symbol{fill:none;stroke:var(--seal-gold);stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.seal-underline{fill:none;stroke:var(--seal-gold);stroke-width:1}
.corner-bio{padding:0 0 22px;max-width:920px}
.corner-bio h2{font-size:14px;letter-spacing:0;margin:0 0 7px}
.corner-bio .authored-description{font-size:14px;line-height:1.75;overflow-wrap:anywhere;color:var(--muted)}
.corner-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-top:6px}
.corner-tabs a{display:flex;align-items:center;gap:8px;padding:15px 0;font-size:14px;font-weight:800;border-radius:0;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.corner-tabs a[aria-current]{color:var(--corner-accent);border-bottom-color:var(--corner-accent)}
.corner-tabs a>span:last-child{font-size:10px;padding:1px 6px;background:var(--corner-card);border-radius:6px;color:var(--corner-text)}
.corner-collection{padding-top:24px}.corner-collection .section-head{align-items:center;gap:18px;margin-bottom:20px}
.corner-collection .section-head h2{font-size:21px;margin:0}
.corner-collection .gcard{box-shadow:none}
.corner-empty{grid-column:1/-1;padding:30px 18px;text-align:center;background:var(--well);border-radius:14px}
.corner-empty h3{font-size:18px}.corner-empty p{font-size:14px;color:var(--muted);margin:0}
.corner-search{display:flex;gap:5px;width:290px;max-width:100%}
.corner-search input{width:100%;min-width:0;border:1px solid var(--line);background:var(--well);color:var(--corner-text);padding:8px 11px;border-radius:9px;font-size:12px}
.corner-search input::placeholder{color:var(--muted)}
.corner-search .btn{min-height:37px;padding:8px;border-radius:9px}
.corner-search .ico{width:16px;height:16px}
.corner-type-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}

/* Agreed publication milestones, shared by the creator corner and guide. */
.corner-laurel-link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 9px;margin-top:16px;font-size:12px;color:#efc66a;max-width:100%}
.corner-laurel-link>span{color:var(--muted);font-size:11px}
.corner-laurel-link .ico{width:15px;height:15px}
.corner-laurel-link .ico:last-child{width:12px;height:12px}
.laurel-section{padding:27px;margin-top:32px;background:var(--well);border:1px solid var(--line);border-radius:18px;scroll-margin-top:110px}
.laurel-section-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:22px}
.laurel-section-heading>div:first-child{min-width:0;flex:1}
.laurel-section-heading .kicker{font-size:10px;margin-bottom:9px}
.laurel-section-heading h2{font-size:27px;margin:0 0 9px}
.laurel-section-heading p{color:var(--muted);font-size:14px;max-width:650px;margin:0;line-height:1.7}
.laurel-current{display:flex;align-items:center;gap:11px;flex:none;color:var(--ink)}
.laurel-current>b{font-size:45px;line-height:1;color:var(--gold)}
.laurel-current>span{font-size:14px;font-weight:800;line-height:1.45}
.laurel-current small{font-size:11px;color:var(--muted);font-weight:600}
.laurel-progress{margin-bottom:25px}
.laurel-progress>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;margin-bottom:10px}
.laurel-progress strong{font-weight:800}.laurel-progress span{color:var(--muted)}
.laurel-progress progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:var(--line);accent-color:var(--gold)}
.laurel-progress progress::-webkit-progress-bar{background:var(--line);border-radius:8px}
.laurel-progress progress::-webkit-progress-value{background:var(--gold);border-radius:8px}
.laurel-progress progress::-moz-progress-bar{background:var(--gold);border-radius:8px}
.laurel-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.laurel-tier{display:flex;flex-direction:column;align-items:center;text-align:center;padding:17px 10px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface);min-width:0}
.laurel-tier[aria-current]{border:2px solid var(--gold);padding:16px 9px 12px;background:color-mix(in srgb,var(--surface) 91%,var(--gold))}
.laurel-level-art{position:relative;display:grid;place-items:center;width:84px;height:61px;margin-bottom:8px;flex:none}
.laurel-level-art .laurel-branch{width:18px;height:61px;top:0}
.laurel-level-art .laurel-left{left:0}.laurel-level-art .laurel-right{right:0}
.laurel-level-art>b{font-size:31px;line-height:1;color:var(--ink);margin-top:8px}
.laurel-tier h3{font-size:14px;letter-spacing:0;margin:0 0 13px}
.laurel-tier p{font-size:14px;line-height:1.45;margin:0 0 12px}
.laurel-tier p>b{display:block;font-weight:900}.laurel-tier p>span{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.laurel-tier>small{font-size:10px;color:var(--muted);margin-top:auto}
.laurel-tier-state{display:block;min-height:17px;margin-top:9px;font-size:10px;font-weight:800;color:var(--muted)}
.laurel-tier[aria-current] .laurel-tier-state{color:var(--ink)}
.laurel-count-note{margin:17px 0 0;color:var(--muted);font-size:12px;line-height:1.7;max-width:880px}
.creator-decisions{margin-top:30px}
@media(max-width:850px){.laurel-section{padding:22px}.laurel-levels{gap:8px}.laurel-tier{padding-inline:7px}.laurel-tier[aria-current]{padding-inline:6px}.laurel-section-heading{gap:20px}.laurel-section-heading h2{font-size:24px}}
@media(max-width:650px){.laurel-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.laurel-tier:first-child{grid-column:1/-1}.laurel-section{padding:20px}.laurel-section-heading{flex-wrap:wrap;gap:16px}.laurel-section-heading>div:first-child{flex-basis:100%}.laurel-current>b{font-size:34px}.laurel-current>span{font-size:12px}.laurel-current br{display:none}.laurel-current small{margin-left:8px}.laurel-section-heading p{font-size:13px}.laurel-progress>div{font-size:11px}.laurel-tier{padding-top:14px}.laurel-tier[aria-current]{padding-top:13px}.laurel-count-note{font-size:11px}}
@media(max-width:350px){.creator-corner .laurel-section{padding:15px}.laurel-level-art{width:74px}.laurel-section-heading h2{font-size:22px}.laurel-tier p{font-size:13px}.laurel-tier h3{font-size:13px}}

/* Compact private studio, with a clear route to the teacher's public space. */
.studio-overview{display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid var(--line);border-radius:19px;padding:23px 25px;margin-bottom:29px;background:linear-gradient(115deg,var(--softblue),var(--surface) 70%)}
.studio-identity{display:flex;align-items:center;gap:19px;min-width:0}
.studio-avatar{display:grid;place-items:center;object-fit:cover;width:65px;height:65px;border-radius:50%;flex:none;background:var(--well);color:var(--blue);font-size:24px;font-weight:900}
.studio-identity>div{min-width:0}.studio-identity .kicker{font-size:10px;margin-bottom:5px}
.studio-identity h2{font-size:25px;margin:0 0 6px;overflow-wrap:anywhere}
.studio-identity p{font-size:12px;color:var(--muted);margin:0 0 8px}
.studio-profile-links{display:flex;flex-wrap:wrap;gap:7px 19px;font-size:12px}
.studio-profile-links .text-link{white-space:normal}
.studio-actions{display:flex;gap:10px;flex-wrap:wrap;flex:none}.studio-actions .btn{font-size:12px;min-height:38px;padding:8px 15px}
body[data-view=dashboard] .page-top{padding-block:28px 20px}
body[data-view=dashboard] .page-top h1{font-size:34px}
body[data-view=dashboard] .page-top .lede{font-size:16px;margin-bottom:0}

.profile-editor-section{padding-top:0}
.profile-editor-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
.profile-settings-form{min-width:0}.profile-settings-form>.panel{margin-bottom:20px;min-width:0}
.profile-settings-form h2{font-size:22px}.profile-settings-form p{font-size:14px;color:var(--secondary)}
.profile-choice-list{border:0;margin:18px 0 24px;padding:0;display:grid;gap:13px;min-width:0}
.profile-choice-list>label{display:flex;gap:10px;align-items:flex-start;font-size:13px}
.profile-choice-list input[type=radio]{width:17px;height:17px;flex:none;margin:2px 0}
.profile-settings-form input[type=file]{font-size:12px;max-width:100%;width:100%}
.profile-settings-form textarea{resize:vertical}
.current-picture{display:flex;gap:17px;align-items:center;margin-block:19px}
.current-picture p{margin:0;font-size:13px}
.corner-avatar-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.corner-avatar-choices label{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;padding:13px 5px 9px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:10px;text-align:center}
.corner-avatar-choices label:has(input:checked){border-color:var(--blue);background:var(--softblue)}
.corner-avatar-choices input{position:absolute;left:5px;top:4px}
.corner-avatar-choices img{width:54px;height:54px;object-fit:cover;border-radius:50%}
.corner-colour-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.corner-colour-fields label{display:grid;gap:7px;font-size:12px;font-weight:700}
.corner-colour-fields input{width:100%;height:42px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--well);cursor:pointer}
.profile-save-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.profile-save-row .btn{font-size:13px}
.profile-live-preview{position:sticky;top:112px;min-width:0}
.profile-live-preview>.kicker{font-size:11px}.profile-live-preview>p{font-size:12px;margin:19px 0 0;line-height:1.7}
.profile-live-preview .creator-corner{padding-bottom:20px;border-radius:22px;overflow-wrap:anywhere}
.board-mini{padding:13px 8px 0;border-radius:19px}.board-mini .digital-board-screen{border-radius:9px}
.board-mini .classroom-board-surface{min-height:160px;padding:23px 18px}
.board-mini .classroom-board-surface p{font-size:18px}
.board-mini .digital-board-bezel{height:19px;font-size:6px}
.board-mini .board-camera{top:3px;width:4px;height:4px}
.mini-corner-identity{position:relative;display:flex;gap:14px;align-items:flex-start;padding:15px 20px 0}
.mini-corner-identity .studio-avatar{margin-top:-33px;border:4px solid var(--corner-background);width:66px;height:66px}
.mini-corner-identity>div{min-width:0}.mini-corner-identity h3{font-size:20px;overflow-wrap:anywhere;margin-bottom:3px}
.mini-corner-identity p{font-size:11px;color:var(--muted);margin:0}
.mini-corner-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:var(--muted);padding:15px 20px 0}
.mini-corner-bio:empty{display:none}
@media(max-width:980px){.corner-summary{gap:17px}.corner-identity h1{font-size:27px}.copy-corner{font-size:10px;padding:8px}.studio-overview{flex-wrap:wrap}.studio-actions{margin-left:84px}.profile-editor-layout{gap:20px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.profile-settings-form .panel{padding:23px}.corner-avatar-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.corner-page{padding-top:20px}.corner-page-tools{gap:12px;font-size:12px}.corner-page-tools .row{gap:13px}.recognition-controls{grid-template-columns:1fr}.recognition-review>summary{flex-wrap:wrap;gap:7px 10px}.recognition-review>summary>span{order:4;width:100%;margin-left:27px}.recognition-review>summary>.ico:last-child{margin-left:auto}.digital-board{padding:14px 8px 0;border-radius:20px}.digital-board-screen{border-radius:10px}.classroom-board-surface{min-height:190px;padding:27px 24px}.classroom-board-surface p{font-size:22px}.digital-board-bezel{height:22px;font-size:6px}.board-camera{top:4px;width:5px;height:5px}.corner-content{padding:0 18px 22px}.corner-summary{display:grid;grid-template-columns:138px minmax(0,1fr);gap:12px 17px;padding-top:18px}.corner-portrait-slot,.laurel-portrait{width:138px}.laurel-portrait{height:104px;margin-top:-46px}.corner-avatar{width:98px;height:98px;border-width:4px}.laurel-branch{width:29px;height:104px}.corner-identity{padding-top:0}.corner-identity h1{font-size:24px}.corner-handle{font-size:11px}.corner-stats{gap:5px 13px;font-size:11px}.corner-handle span{display:block}.copy-corner{grid-column:2;justify-self:start;align-self:end;margin:0}.creator-seal:only-child{font-size:10px;gap:6px}.creator-seal>svg{width:32px;height:32px}.corner-search{width:230px}.corner-tabs{gap:23px}.corner-tabs a{font-size:13px}.studio-overview{padding:21px}.studio-avatar{width:57px;height:57px}.studio-identity{gap:15px}.studio-identity h2{font-size:24px}.studio-actions{margin-left:72px}.profile-editor-layout{display:flex;flex-direction:column}.profile-settings-form,.profile-live-preview{width:100%}.profile-live-preview{position:static;order:-1}.profile-live-preview .creator-corner{max-width:480px}.profile-live-preview>p{max-width:480px}.profile-live-preview>p:last-child{display:none}.corner-avatar-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.corner-collection .section-head{flex-wrap:wrap}.corner-search{flex:1;min-width:200px}}
@media(max-width:430px){.corner-content{padding-inline:13px}.corner-summary{grid-template-columns:1fr;gap:15px}.corner-portrait-slot{margin-left:4px}.corner-identity{padding-top:0}.corner-identity h1{font-size:28px}.corner-handle span{display:inline}.copy-corner{grid-column:1;margin:0}.classroom-board-surface{min-height:170px;padding:22px 16px}.classroom-board-surface p{font-size:19px}.corner-tabs{gap:17px}.corner-tabs a{font-size:12px;gap:5px}.corner-collection .section-head{gap:14px}.corner-search{flex-basis:100%;min-width:0}.recognition-controls fieldset{grid-template-columns:1fr}.recognition-controls{padding-inline:16px}.studio-overview{gap:18px;padding:18px}.studio-actions{margin:0;gap:8px}.studio-actions .btn{font-size:11px;padding:8px 12px}.studio-profile-links{font-size:11px;gap:4px}.studio-profile-links a{width:100%}.studio-identity h2{font-size:23px}.profile-settings-form .panel{padding:20px}.corner-avatar-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.corner-colour-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-save-row .btn{width:100%}.mini-corner-identity{padding-inline:15px}.mini-corner-bio{padding-inline:15px}.mini-corner-identity h3{font-size:20px}.profile-editor-section .field input,.profile-editor-section .field textarea{font-size:14px}}
@media(max-width:850px){.recipe-reading,.recipe-editor-layout{grid-template-columns:1fr}.recipe-editor-help{position:static}.recipe-intro{align-items:flex-start}.recipe-intro .lede{font-size:16px}}
@media(max-width:600px){.recipe-intro,.recipe-toolbar{flex-direction:column;align-items:stretch;gap:16px}.recipe-toolbar .search-box{width:100%}.recipe-toolbar .field{width:100%}.recipe-heading h1{font-size:29px}.game-prompt-section>summary{padding:15px;gap:9px}.game-prompt-fields{padding:0 14px 15px}.recipe-reading .panel,.recipe-editor-layout .panel{padding:20px}.recipe-reading .panel>.row{flex-wrap:wrap}.shared-prompt{font-size:12px}.recipe-bottom{flex-wrap:wrap}.recipe-empty{padding:36px 18px}.recipe-empty .row{gap:10px}}
/* A playful teaching monitor, separate from the personal cover-board design. */
.creator-mission{position:relative;max-width:1040px;margin:118px auto 0;padding:0 8px;isolation:isolate}
.mission-cap{position:absolute;z-index:2;width:220px;height:auto;left:50%;top:-96px;transform:translateX(-50%);pointer-events:none}
.mission-board{position:relative;padding:18px 20px 0;border:3px solid #203a67;border-radius:34px;background:linear-gradient(135deg,#7fa4ee,#536fae 60%,#425f9a);box-shadow:0 8px 0 #243960,0 18px 30px #0b20401a,inset 0 3px 0 #c7daff,inset 0 -4px 0 #2b467b}
.mission-console{height:62px;display:flex;align-items:flex-start;justify-content:space-between;padding:0 10px;pointer-events:none}
.mission-tiles{display:flex;gap:12px;align-items:center}
.mission-tile{display:grid;place-items:center;width:42px;height:42px;border:2px solid #ffffff50;border-radius:12px;color:white;box-shadow:0 4px 0 #16284750,inset 0 2px 0 #ffffff50;font:900 33px/1 Nunito,system-ui,sans-serif}
.mission-tile .ico,.mission-tile svg{width:23px;height:23px}
.tile-play{background:linear-gradient(#53a1ff,#2865ef);transform:rotate(-7deg)}
.tile-play .ico{fill:currentColor;stroke-width:1}
.tile-star{background:linear-gradient(#bc79ff,#8940e1);transform:rotate(5deg)}
.tile-star svg{fill:currentColor}
.tile-question{background:linear-gradient(#ffc741,#f29b14);transform:rotate(-4deg)}
.tile-check{background:linear-gradient(#44d5c9,#17a99d);transform:rotate(7deg)}
.tile-check .ico{stroke-width:4}
.mission-sparkles{display:flex;align-items:center;gap:8px;padding:10px 3px 0;color:#ffe294}
.mission-sparkles .ico{width:26px;height:26px;fill:#ffc94c;stroke:#fff0b8;stroke-width:1.5;margin-right:8px}
.mission-sparkles i{width:7px;height:7px;border-radius:2px;background:#b7ddff;box-shadow:0 1px 0 #1a35544d}
.mission-sparkles i:nth-last-child(2){background:#b1f3df}
.mission-screen{position:relative;padding:35px 42px 37px;border:3px solid #294576;border-radius:19px;background:radial-gradient(circle at 1px 1px,#2b65ab10 1px,transparent 1px) 0 0/16px 16px,#f8fcff;box-shadow:inset 0 3px 7px #1847661a,0 2px 0 #adccff}
.creator-mission .lede{max-width:none;margin:0;font-size:19px;line-height:1.85;color:#263e5d;overflow-wrap:break-word}
.mission-tray{position:relative;height:34px;display:flex;align-items:flex-end;justify-content:center;gap:8px;padding-bottom:4px}
.mission-stylus{height:7px;width:68px;border-radius:5px;background:linear-gradient(#81e5ff,#3badd3);box-shadow:0 2px 0 #183256;transform:rotate(-2deg)}
.stylus-gold{width:49px;background:linear-gradient(#ffe5a4,#e9b743);transform:rotate(2deg)}
.mission-power{position:absolute;right:16px;bottom:11px;height:8px;width:8px;border:2px solid #244e5b;border-radius:50%;background:#92f1b2;box-shadow:0 0 0 3px #223e6a50}
.mission-stand{position:relative;width:94px;height:37px;margin:8px auto 0;background:linear-gradient(#233b67,#3c598d);clip-path:polygon(13% 0,87% 0,100% 100%,0 100%);z-index:-1}
.creator-mission::after{content:'';display:block;width:190px;height:13px;margin:-2px auto 0;border:2px solid #223b65;border-radius:12px 12px 5px 5px;background:linear-gradient(#6385ba,#354f7c);box-shadow:0 4px 0 #10213c,0 8px 15px #082d331c}
:root[data-theme=dark] .mission-board{background:linear-gradient(135deg,#416aa9,#2c4780 65%,#38578f);border-color:#6282bc;box-shadow:0 8px 0 #172c51,0 18px 32px #0003,inset 0 3px 0 #86a9e7,inset 0 -4px 0 #142a50}
:root[data-theme=dark] .mission-screen{background:radial-gradient(circle at 1px 1px,#90c8ff0a 1px,transparent 1px) 0 0/16px 16px,#102440;border-color:#152f56;box-shadow:inset 0 3px 10px #0003,0 2px 0 #628bb7}
:root[data-theme=dark] .creator-mission .lede{color:#dbe8fa}
@media(max-width:720px){.creator-mission{margin-top:38px;padding-inline:0}.mission-board{padding:12px 12px 0;border-radius:26px}.mission-console{height:54px;padding-inline:6px}.mission-tile{width:35px;height:35px;font-size:27px;border-radius:10px}.mission-tiles{gap:9px}.mission-tile .ico,.mission-tile svg{width:20px;height:20px}.mission-screen{padding:24px;border-radius:15px}.creator-mission .lede{font-size:17px;line-height:1.8}}
@media(max-width:430px){.mission-board{padding:11px 9px 0;border-radius:23px}.mission-console{height:49px;padding-inline:4px}.mission-tiles{gap:8px}.mission-tile{width:31px;height:31px;font-size:25px;border-radius:9px}.mission-sparkles{gap:5px;padding-top:5px}.mission-sparkles .ico{width:21px;height:21px;margin-right:0}.mission-sparkles i{width:5px;height:5px}.mission-sparkles i:last-child{display:none}.mission-screen{padding:20px 17px}.creator-mission .lede{font-size:16px;line-height:1.8}.mission-tray{height:28px}.mission-stand{width:69px;height:27px}.creator-mission::after{width:145px;height:11px}}
.localized-file {position:relative; display:flex; align-items:center; gap:12px; width:100%; min-width:0; padding:10px; border:1px solid var(--border); border-radius:12px; background:var(--bg); text-align:start;}
.localized-file input[type="file"] {position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; font-size:16px;}
.localized-file:focus-within {outline:3px solid var(--blue); outline-offset:3px;}
.file-choice-label {flex:none; padding:8px 12px; border-radius:8px; background:var(--blue); color:white; font-weight:800;}
:root[data-theme=dark] .file-choice-label {color:#07142b;}
.file-selection {min-width:0; font-size:14px; overflow-wrap:anywhere;}
.dropzone .localized-file {max-width:440px; margin:16px auto 0;}
@media(max-width:500px){.localized-file {align-items:flex-start; flex-direction:column; gap:8px;}}
@media(max-width:720px){.creator-mission{margin-top:105px}.mission-cap{width:190px;top:-83px}}
@media(max-width:430px){.creator-mission{margin-top:87px}.mission-cap{width:150px;top:-66px}}

/* Existing account, moderation and version forms share the new colour system. */
body[data-classboard-native]{--text:var(--ink);--white:var(--ink);--faint:var(--muted);--glass:var(--surface);--glass-raised:var(--well);--glass-input:var(--surface);--line-strong:var(--border);--shadow-sm:var(--shadow);--glow-blue:none}
[data-classboard-native] .ambient,[data-classboard-native]::before{display:none}
[data-classboard-native] .auth-alt a{color:var(--link)}
[data-classboard-native] .input-wrap .toggle-pw{color:var(--secondary);background:var(--well)}
[data-classboard-native] input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--surface) inset}
[data-classboard-native] .btn-primary:hover{background:var(--gold);color:#2a1900;box-shadow:var(--shadow)}
[data-classboard-native] .btn-secondary{color:var(--ink);background:var(--softblue);border-color:var(--line)}
[data-classboard-native] .language-menu summary{background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-classboard-native] .language-glyphs span:first-child{color:var(--ink)}
:root[data-theme=light] [data-classboard-native] .language-glyphs span:nth-child(2){color:#398199}
:root[data-theme=light] [data-classboard-native] .language-glyphs span:nth-child(3){color:#ac6800}
[data-classboard-native] .language-options{background:var(--surface);border-color:var(--line);max-height:min(70vh,520px);overflow:auto}
[data-classboard-native] .language-options>button{color:var(--ink);font-family:var(--font)}
[data-classboard-native] .language-options>button:hover{background:var(--well)}
[data-classboard-native] .language-options>[aria-current],[data-classboard-native] .footer-language-options>[aria-current]{color:var(--link);background:var(--softblue);border-color:var(--blue)}
[data-classboard-native] footer .language-options{top:auto;bottom:calc(100% + 9px)}
[data-classboard-native] .account-link>svg{width:44px;height:44px;padding:10px;background:var(--softblue);color:var(--link);border-radius:50%}
:root[data-theme=light] [data-classboard-native] .badge-gold,:root[data-theme=light] [data-classboard-native] .status-draft,:root[data-theme=light] [data-classboard-native] .status-pending{color:#7a4800}
:root[data-theme=light] [data-classboard-native] .badge-cyan,:root[data-theme=light] [data-classboard-native] .status-open{color:#006776}
:root[data-theme=light] [data-classboard-native] .badge-violet{color:#64369c}
:root[data-theme=light] [data-classboard-native] .status-published,:root[data-theme=light] [data-classboard-native] .status-active{color:#086b54}
:root[data-theme=light] [data-classboard-native] .field-error,:root[data-theme=light] [data-classboard-native] .flash.error,:root[data-theme=light] [data-classboard-native] .error-list,:root[data-theme=light] [data-classboard-native] .btn-delete-entry,:root[data-theme=light] [data-classboard-native] .edit-delete-zone strong{color:#a32936}
[data-classboard-native] .avatar,[data-classboard-native] .avatar-choice img{border-radius:50%}

/* The sign-in wordmark shares the header's colours in both appearances. */
body[data-classboard-native] .auth-panel .brand-mini img{width:50px;height:50px}
body[data-classboard-native] .brand-slogan span{color:var(--blue)}

.flash-stack.wrap{margin-top:18px;margin-bottom:18px}.flash-stack .flash{padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink)}

/* The two package choices belong to one control, in folder-first order. */
.package-choices{min-width:0;margin:0;border:1.5px dashed var(--border);border-radius:14px;background:var(--well);padding:18px}
.package-choices legend{padding:0 8px;font-size:14px;font-weight:800;color:var(--ink)}
.package-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.package-option{min-width:0}
.package-option+.package-option{border-left:1px solid var(--line);padding-left:18px}
.package-option .localized-file{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:112px;padding:8px;gap:9px}
.package-option .file-choice-label{display:flex;align-items:center;justify-content:center;text-align:center;min-height:60px;white-space:normal;line-height:1.3;font-size:14px}
.package-option .file-selection{font-size:12px;text-align:center;line-height:1.4}
.package-option p{margin:13px 0 0;font-size:13px;line-height:1.65;color:var(--secondary)}
@media(max-width:540px){.package-choices{padding:12px}.package-options{gap:10px}.package-option+.package-option{padding-left:10px}.package-option .localized-file{padding:6px}.package-option .file-choice-label{font-size:12px;padding:7px 5px}.package-option p{font-size:12px}}

/* Upload progress */
.upload-progress{margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--well)}
.upload-stage{font-weight:800;margin:0 0 10px}
.upload-bar{height:12px;border-radius:99px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.upload-bar>i{display:block;height:100%;width:0;background:var(--blue);border-radius:99px}
.upload-detail{margin:10px 0 0;font-size:14px;color:var(--secondary)}
.upload-progress .row{margin-top:12px}
.upload-bar.indeterminate>i{width:40%;animation:upload-slide 1.1s ease-in-out infinite}
@keyframes upload-slide{from{transform:translateX(-60%)}to{transform:translateX(220%)}}
@media(prefers-reduced-motion:reduce){.upload-bar.indeterminate>i{animation:none;transform:none;width:100%;opacity:.55}}

/* Picture cropper */
dialog.crop-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px)}
.crop-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px;align-items:start}
.crop-stage{position:relative;width:100%;max-width:380px;margin:0 auto;touch-action:none;user-select:none;border-radius:18px;overflow:hidden;background:#0b1730;cursor:grab}
.crop-stage.cover{max-width:none}
.crop-stage:active{cursor:grabbing}
.crop-stage canvas{display:block;width:100%;height:100%}
.crop-stage:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.crop-zoom{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin:12px 0}
.crop-zoom input{width:100%;accent-color:var(--blue);min-height:32px}
.crop-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crop-actions .btn{position:relative}
.crop-file{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.crop-warn{margin:12px 0;color:#704107;background:var(--softgold);border-radius:10px;padding:10px 12px;font-size:14px}
.crop-preview-copy{margin-top:8px}
.crop-board{aspect-ratio:1600/520;border-radius:14px;overflow:hidden;background:#192745;border:8px solid #192745}
.crop-board img{width:100%;height:100%;object-fit:cover}
.crop-sizes{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-top:14px}
.crop-sizes figure{margin:0;text-align:center;font-size:12px;font-weight:800;color:var(--muted)}
.crop-circle{display:block;margin:0 auto 6px;border-radius:50%;object-fit:cover;background:var(--well)}
.crop-84{width:84px;height:84px}.crop-36{width:36px;height:36px}.crop-29{width:29px;height:29px}
.crop-dialog .laurel-portrait{margin-top:0}
.crop-dialog h3{font-size:18px;margin-bottom:12px}
@media(max-width:720px){.crop-layout{grid-template-columns:1fr}.crop-stage{max-width:none}}

/* Teacher ratings */
.card-rating{margin:8px 0 0;font-size:14px;font-weight:800;color:var(--ink)}
.rating-panel .rating-score{font-size:18px;font-weight:800;margin:0 0 8px}
.rating-panel .rating-tags{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.rating-panel .tag{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;padding:10px 14px;border-radius:12px;font-size:16px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.rating-comments{display:flex;flex-direction:column;gap:12px;margin:12px 0}
.rating-comment{padding-top:12px;border-top:1px solid var(--line)}
.rating-comment p{margin:6px 0 0}
dialog.rating-dialog{width:min(940px,calc(100% - 32px));padding:0;max-height:calc(100dvh - 32px);overflow:hidden;border-radius:24px}
.rating-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);min-height:0}
.rating-dialog .rating-head{flex:none;margin:0;padding:16px 24px 12px;align-items:center;border-bottom:1px solid var(--line)}
.rating-dialog .rating-head>div{min-width:0}
.rating-dialog .rating-head h2{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.rating-dialog .rating-game-title{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.rating-dialog .close-dialog{flex:none;width:44px;height:44px;background:transparent;border-color:transparent;color:var(--muted)}
.rating-dialog .close-dialog:hover{background:var(--well);color:var(--ink)}
.rating-form-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 24px;display:grid;gap:16px}
.rating-basics{display:grid;gap:12px}
.rating-question{display:grid;grid-template-columns:215px minmax(0,1fr);align-items:center;gap:20px;min-width:0}
.rating-dialog h3{margin:0;font-size:14px;font-weight:800;line-height:1.4;letter-spacing:0}
.rating-dialog .rating-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.rating-dialog .rating-choices label{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:10px;color:var(--secondary);font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;cursor:pointer;transition:background-color .15s,border-color .15s}
.rating-dialog .rating-choices label:hover{border-color:var(--border);color:var(--ink)}
.rating-dialog .rating-choices label:has(input:checked){background:var(--softblue);color:var(--ink)}
.rating-dialog .rating-choices label:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:2px}
.rating-dialog .rating-selection{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1.5px solid var(--border);border-radius:5px;background:var(--surface)}
.rating-dialog .rating-selection .ico{width:13px;height:13px;opacity:0;stroke-width:3}
.rating-dialog input:checked+.rating-selection{background:var(--blue);border-color:var(--blue);color:var(--surface)}
.rating-dialog input:checked+.rating-selection .ico{opacity:1}
.rating-dialog .rating-recommendation label{justify-content:center;border-color:var(--line);background:var(--well);font-weight:800}
.rating-dialog .rating-recommendation label:has(input:checked){border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.rating-recommendation .rating-selection{border-radius:50%}
.rating-dialog .rating-ages .rating-choices{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.rating-dialog .rating-ages label{justify-content:center;padding:7px 4px;border-color:var(--line);background:var(--well);font-size:13px;font-weight:700;text-align:center}
.rating-dialog .rating-ages label:has(input:checked){border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.rating-dialog .rating-ages label:has(input:checked) .rating-choice-copy{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.rating-feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rating-feedback{min-width:0;display:flex;flex-direction:column;padding:12px 10px 8px;border:1px solid var(--line);border-radius:16px;background:var(--well)}
.rating-feedback h3{display:flex;align-items:center;gap:9px;padding:0 4px;margin-bottom:4px;color:var(--ink);font-size:15px}
.rating-section-icon{display:grid;place-items:center;flex:none;width:21px;height:21px;border-radius:6px;background:var(--softgreen);color:var(--green)}
.rating-section-icon .ico{width:15px;height:15px;stroke-width:2.5}
.rating-improve .rating-section-icon{background:var(--softgold);color:#a36200}
:root[data-theme=dark] .rating-improve .rating-section-icon{color:var(--gold)}
.rating-dialog .rating-feedback .rating-choices{flex:1;grid-template-columns:1fr;grid-template-rows:repeat(5,1fr);gap:0}
.rating-dialog .rating-feedback label{padding:8px 10px}
.rating-feedback .rating-choice-copy{flex:1;min-width:0}
.rating-choice-emoji{display:grid;place-items:center;flex:0 0 24px;width:24px;font-size:18px;line-height:1}
.rating-dialog .rating-comment-field{gap:6px;margin:0}
.rating-dialog .rating-comment-field>label{font-size:13px;line-height:1.4}
.rating-dialog textarea{width:100%;min-height:52px;padding:8px 12px;border-radius:12px;font-size:14px;line-height:1.4;resize:vertical}
.rating-comment-meta{display:flex;justify-content:space-between;gap:4px 16px;flex-wrap:wrap}
.rating-dialog .rating-comment-meta p{font-size:11px;line-height:1.4;margin:0}
.rating-dialog #rating-error{flex:none;margin:0;padding:10px 24px;border-top:1px solid var(--line)}
.rating-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:0;padding:12px 24px;border-top:1px solid var(--line);background:var(--surface)}
.rating-primary-actions{display:flex;justify-content:flex-end;gap:8px;margin-left:auto}
.rating-form-actions .btn{min-height:44px;padding:10px 18px;font-size:14px;border-radius:12px}
.rating-form-actions .rating-remove{padding-inline:0;font-size:12px;font-weight:700;color:var(--muted)}
.rating-form-actions .rating-remove:hover{color:var(--ink)}
@media(max-width:820px){.rating-question{grid-template-columns:180px minmax(0,1fr);gap:16px}.rating-dialog .rating-ages .rating-choices{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){dialog.rating-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.rating-dialog form{max-height:calc(100dvh - 18px)}.rating-dialog .rating-head{padding:16px 16px 12px}.rating-dialog .rating-head h2{font-size:22px}.rating-dialog .rating-game-title{font-size:12px}.rating-form-body{padding:16px;gap:16px}.rating-question{grid-template-columns:1fr;gap:8px}.rating-dialog h3{font-size:13px}.rating-feedback-grid{gap:10px}.rating-feedback{padding:12px 5px 5px;border-radius:13px}.rating-feedback h3{gap:6px;padding:0 5px;font-size:13px;min-height:25px}.rating-section-icon{width:21px;height:21px;border-radius:6px}.rating-dialog .rating-feedback label{gap:7px;padding:8px 6px;font-size:12px;line-height:1.4}.rating-dialog .rating-selection{width:16px;height:16px}.rating-form-actions{padding:12px 16px;flex-wrap:wrap;gap:2px 8px}.rating-primary-actions{width:100%;margin:0;display:grid;grid-template-columns:1fr 1fr}.rating-form-actions .rating-remove{order:2;margin:2px auto 0;min-height:32px;padding:4px 8px}.rating-dialog .rating-comment-meta p{font-size:10px}}
@media(max-width:479px){.rating-feedback-grid{grid-template-columns:minmax(0,1fr)}.rating-dialog .rating-feedback label{font-size:15px;line-height:1.45;padding:10px;gap:10px}.rating-feedback{padding:14px 8px 8px}.rating-feedback h3{font-size:15px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.rating-dialog .rating-choices label{transition:none}}
/* Curriculum organisation is scoped to the ClassBoard portal. */
.curriculum-page{padding-top:32px}
.curriculum-heading{display:flex;justify-content:space-between;gap:28px;align-items:center;margin:14px 0 28px}
.curriculum-heading h1{font-size:38px;line-height:1.15;margin:8px 0 12px}
.curriculum-heading .lede{font-size:17px;margin:0;max-width:680px}
.curriculum-heading>.row{flex:none;flex-wrap:wrap}
.curriculum-intro{display:flex;align-items:center;gap:18px;padding:20px 24px;background:var(--softblue);border:1px solid var(--line);border-radius:16px;margin:0 0 26px}
.curriculum-intro>.ico{flex:none;width:30px;height:30px;color:var(--blue)}
.curriculum-intro p{margin:0;flex:1;color:var(--secondary);font-size:15px}
.curriculum-intro h2{margin:0 0 5px;font-size:20px}
.curriculum-intro .text-link{flex:none}
.curriculum-help{margin:-12px 0 24px}
.curriculum-help>summary{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:13px;font-weight:800;color:var(--link);cursor:pointer;list-style:none;border-radius:8px}
.curriculum-help>summary::-webkit-details-marker{display:none}
.curriculum-help>summary>.ico{width:17px;height:17px}
.curriculum-help[open]>summary>.ico:last-child{transform:rotate(180deg)}
.curriculum-help-body{max-width:var(--read-max);padding:16px 18px;margin-top:8px;background:var(--well);border:1px solid var(--line);border-radius:12px;font-size:14px;color:var(--secondary)}
.curriculum-help-body p{margin:0 0 10px}
.curriculum-help-body .text-link{font-size:13px}
.curriculum-future{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:32px;margin-top:32px;padding:26px 28px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--surface),var(--softblue))}
.curriculum-future-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.curriculum-future-heading h2{font-size:24px;line-height:1.25;margin:0}
.curriculum-future-badge{display:inline-flex;align-items:center;background:var(--softgold);color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800;line-height:1.4}
.curriculum-future p{max-width:var(--read-max);margin:0;font-size:14px;line-height:1.65;color:var(--secondary)}
.curriculum-future .curriculum-future-note{margin-top:10px;font-size:12px;color:var(--muted)}
.curriculum-future-formats{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 12px;list-style:none}
.curriculum-future-formats li{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px;font-weight:800;line-height:1.4}
.curriculum-future-formats .ico{width:16px;height:16px;color:var(--link);flex:none}
.curriculum-future-formats li{max-width:100%}
.curriculum-format-number{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:6px;background:var(--softblue);color:var(--link);font-size:11px}
.curriculum-format-label{min-width:0}
.curriculum-required-badge{display:inline-flex;align-items:center;flex:none;border:1px solid var(--line);border-radius:999px;padding:3px 8px;background:var(--softgold);color:var(--ink);font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap}
.curriculum-future-actions{margin-top:16px}
.curriculum-future-actions .btn{min-height:42px;font-size:13px}
.curriculum-future-formats .curriculum-free-quiz{border:0;padding:0;background:none}
.curriculum-free-quiz>button{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid var(--link);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
.curriculum-free-quiz>button:hover{background:var(--softblue)}
.curriculum-free-badge{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:3px 8px;background:var(--softgreen);color:var(--ink);font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap}
.curriculum-free-quiz .curriculum-free-badge{position:absolute;top:-9px;right:6px}
.curriculum-dialog.curriculum-info-dialog{width:min(940px,calc(100vw - 28px))}
.curriculum-info-intro{max-width:var(--read-max);margin:0 0 24px;font-size:16px;line-height:1.65;color:var(--secondary)}
.curriculum-info-requirements{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.curriculum-info-requirements h3{margin:0 0 14px;font-size:18px;line-height:1.4}
.curriculum-info-requirements p{margin:0;font-size:14px;line-height:1.65;color:var(--secondary)}
.curriculum-info-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px}
.curriculum-info-grid section{min-width:0}
.curriculum-info-quiz{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--well)}
.curriculum-info-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.curriculum-info-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--softgreen);color:var(--link);flex:none}
.curriculum-info-symbol .ico{width:18px;height:18px}
.curriculum-info-grid h3{margin:0;font-size:19px;line-height:1.4}
.curriculum-info-grid p{margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--secondary)}
.curriculum-info-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.curriculum-info-actions .btn{min-height:44px;white-space:normal;text-align:center;font-size:13px}
.curriculum-info-steps{list-style:none;counter-reset:curriculum-info;padding:0;margin:24px 0 0;display:grid;gap:20px}
.curriculum-info-steps li{position:relative;counter-increment:curriculum-info;padding-left:35px}
.curriculum-info-steps li:before{content:counter(curriculum-info);position:absolute;left:0;top:0;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--softblue);color:var(--link);font-size:12px;font-weight:800}
.curriculum-info-steps h4{margin:0;font-size:15px;line-height:1.5}
.curriculum-info-steps p{margin-top:6px}
.curriculum-info-grid .curriculum-info-note{font-size:12px;color:var(--muted)}
.curriculum-info-plans{display:grid;align-content:start;gap:24px;padding:8px 0}
.curriculum-info-plans .text-link{display:inline-flex;margin-top:16px}
.curriculum-info-future{padding-top:22px;border-top:1px solid var(--line)}
@media(max-width:720px){.curriculum-info-grid{grid-template-columns:minmax(0,1fr);gap:20px}.curriculum-info-quiz{padding:18px}.curriculum-info-intro{font-size:15px}.curriculum-info-plans{padding:0}.curriculum-info-grid h3{font-size:18px}.curriculum-dialog.curriculum-info-dialog .dialog-head{align-items:flex-start}.curriculum-info-actions .btn{flex:1 1 145px}}
@media(max-width:860px){.curriculum-future{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px}.curriculum-future-heading h2{font-size:22px}}
.curriculum-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:26px 18px;padding-top:10px}
.curriculum-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--surface) 55%,var(--softblue));display:flex;flex-direction:column;transition:border-color .15s,transform .15s,box-shadow .15s}
.curriculum-card::before{content:"";position:absolute;top:-9px;left:19px;width:76px;height:9px;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;background:var(--surface);pointer-events:none;transition:border-color .15s}
.curriculum-card:hover,.curriculum-card:focus-within{border-color:var(--gold);box-shadow:var(--shadow);transform:translateY(-2px)}
.curriculum-card:hover::before,.curriculum-card:focus-within::before{border-color:var(--gold)}
.curriculum-card-link{display:flex;flex-direction:column;flex:1;min-width:0;gap:12px;padding:20px;color:var(--ink);border-radius:inherit}
.curriculum-card-link:hover{color:var(--ink);text-decoration:none}
.curriculum-card-link:focus-visible{outline-color:var(--gold);outline-offset:4px}
.curriculum-card h2{font-size:20px;line-height:1.4;min-height:56px;margin:0;overflow-wrap:anywhere}
.curriculum-card-description{font-size:13px;line-height:1.6;color:var(--secondary);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.curriculum-card-context{min-height:18px;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.curriculum-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px}
.curriculum-card-top .curriculum-symbol{width:34px;height:34px;border-radius:10px}
.curriculum-type{font-size:11px;font-weight:800;color:var(--muted);text-align:end}
.curriculum-symbol{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;background:var(--softgold);color:var(--gold);border-radius:17px;flex:none}
.curriculum-symbol>.ico{width:30px;height:30px}
.curriculum-card-top .curriculum-symbol>.ico{width:20px;height:20px}
.curriculum-privacy{font-size:12px;font-weight:800;color:var(--muted)}
.curriculum-card .curriculum-privacy{font-size:11px;line-height:1.4;background:var(--well);border-radius:6px;padding:4px 7px;text-align:end}
.curriculum-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.curriculum-meta .tag{font-size:12px}
.curriculum-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;margin-top:auto;font-size:12px;color:var(--secondary);font-weight:800}
.curriculum-counts{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
.curriculum-counts>span{display:inline-flex;align-items:center;gap:5px}
.curriculum-counts .ico{width:14px;height:14px;color:var(--muted);flex:none}
.curriculum-card-bottom>.ico{width:18px;height:18px;color:var(--link);flex:none}
.curriculum-credit{display:block;font-size:13px;color:var(--muted);margin-top:12px}
.curriculum-card>.curriculum-credit{margin:0;padding:0 20px 16px;font-size:12px;overflow-wrap:anywhere}
.curriculum-archived{opacity:.7;box-shadow:none}
.curriculum-search{margin:0 0 28px;max-width:760px}
.curriculum-search .search-box{max-width:none;margin:0}
.curriculum-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);margin-bottom:24px;overflow-wrap:anywhere}
.curriculum-breadcrumbs a{color:var(--link)}
.curriculum-hero{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:start;padding:24px;border-radius:18px;border:1px solid var(--line);background:var(--surface);margin-bottom:14px}
.curriculum-hero>.curriculum-symbol{width:48px;height:48px;border-radius:14px}
.curriculum-hero h1{font-size:30px;line-height:1.18;margin:10px 0;overflow-wrap:anywhere}
.curriculum-hero p{font-size:15px;line-height:1.65;margin:0;color:var(--secondary)}
.curriculum-hero .grow{min-width:0}
.curriculum-tools{grid-column:3;grid-row:1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;max-width:460px}
.curriculum-tools .btn{justify-content:center}
.curriculum-tools>.btn{min-height:40px;font-size:13px;padding:9px 13px}
.curriculum-status{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 24px}
.curriculum-status>.ico{flex:none;margin-top:2px}
.curriculum-layout{margin-top:24px}
.curriculum-content{min-width:0;display:grid;gap:32px}
.curriculum-content .section-head{margin:0 0 18px;align-items:center}
.curriculum-content .section-head h2{font-size:23px;margin:0 0 4px}
.curriculum-content .section-head p{font-size:14px;margin:0}
.curriculum-subfolders>.section-head{margin-bottom:14px}
.curriculum-shelf-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.curriculum-shelf-actions>.small{font-size:12px}
.curriculum-order.curriculum-arrange{position:relative;margin:0;padding:0;border:0;background:none}
.curriculum-arrange>summary{font-size:12px;min-height:32px;padding:6px 11px;border:1px solid var(--line);border-radius:8px;color:var(--link)}
.curriculum-arrange-list{position:absolute;right:0;top:calc(100% + 8px);width:min(430px,calc(100vw - 32px));padding:10px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:5}
.curriculum-lessons{padding:0;margin:0;list-style:none;display:grid;gap:14px}
.curriculum-lesson{display:flex;gap:13px;align-items:flex-start}
.curriculum-step{display:grid;place-items:center;flex:none;width:28px;height:28px;font-size:12px;font-weight:900;color:var(--muted);background:var(--well);border:1px solid var(--line);border-radius:50%;margin-top:25px}
.curriculum-lesson-main{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.curriculum-item-link{display:flex;gap:15px;align-items:center;padding:20px;text-decoration:none;color:var(--ink)}
a.curriculum-item-link:hover{background:var(--well)}
.curriculum-item-link>.ico{flex:none;width:18px;height:18px;color:var(--muted)}
.curriculum-item-link .grow{min-width:0}
.curriculum-item-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--softblue);color:var(--blue);flex:none}
.curriculum-item-kind{font-size:11px;font-weight:800;letter-spacing:.03em;color:var(--muted);margin-bottom:3px}
.curriculum-item-link h3{font-size:18px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.curriculum-item-link small{display:block;color:var(--muted);font-size:12px;margin-top:5px;overflow-wrap:anywhere}
.curriculum-play{display:flex;align-items:center;gap:7px;flex:none;max-width:32%;font-size:13px;font-weight:800;color:var(--link)}
.curriculum-play>.ico{width:16px;height:16px;flex:none}
.curriculum-note{margin:0 20px 16px;border-top:1px solid var(--line);padding-top:12px}
.curriculum-note summary{font-size:13px;font-weight:800;color:var(--link);cursor:pointer}
.curriculum-note .authored-description{font-size:14px;line-height:1.7;margin-top:12px;overflow-wrap:anywhere;max-height:420px;overflow:auto}
.curriculum-item-tools{padding:9px 15px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);background:var(--well)}
.curriculum-item-tools .btn{font-size:11px;padding:6px 9px;min-height:32px;white-space:normal}
.curriculum-item-tools .btn:disabled{opacity:.35}
.curriculum-empty{padding:36px 24px;text-align:center;border:1px dashed var(--border);border-radius:16px;background:var(--well)}
.curriculum-empty h3{margin:16px 0 8px;font-size:22px}
.curriculum-empty p{font-size:14px;color:var(--muted);margin:0 0 20px}
.curriculum-order{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:15px;background:var(--well)}
.curriculum-order summary{font-size:13px;cursor:pointer;font-weight:800}
.curriculum-order-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.curriculum-order-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.curriculum-order-row:last-child{border:0}
.curriculum-dialog{width:min(620px,calc(100vw - 28px));padding:25px;max-height:calc(100dvh - 32px);overflow-y:auto}
.curriculum-dialog .dialog-head{gap:12px;align-items:center;margin-bottom:24px}
.curriculum-dialog .dialog-head h2{font-size:24px}
.curriculum-dialog .close-dialog{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;flex:none;width:auto}
.curriculum-dialog .close-dialog>.ico{width:17px;height:17px}
.curriculum-dialog input,.curriculum-dialog textarea,.curriculum-dialog select{width:100%;min-width:0}
.curriculum-dialog input[type=checkbox]{width:20px;height:20px;flex:none;margin:2px 0}
.curriculum-dialog .field{display:grid;font-size:14px;gap:8px;margin-bottom:18px}
.curriculum-dialog .field small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.6}
.curriculum-dialog .form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.curriculum-consent{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6}
.curriculum-add-types{display:grid;gap:10px}
.curriculum-add-type,.curriculum-pick{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;padding:17px;background:var(--well);color:var(--ink);font:inherit;cursor:pointer}
.curriculum-add-type>span,.curriculum-pick>span{flex:1;min-width:0}
.curriculum-add-type>.ico:first-child{color:var(--blue);width:23px;height:23px;flex:none}
.curriculum-add-type>.ico:last-child{width:18px;height:18px;flex:none}
.curriculum-add-type:hover,.curriculum-pick:hover{background:var(--softblue);border-color:var(--blue)}
.curriculum-picker-search{display:flex;align-items:start;gap:10px}
.curriculum-picker-search>.field{flex:1;min-width:0}
.curriculum-picker{display:grid;gap:10px;max-height:45dvh;overflow-y:auto}
.curriculum-pick b{display:block;font-size:15px;overflow-wrap:anywhere}
.curriculum-pick small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.curriculum-pick .ico{flex:none}
.curriculum-archive{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:grid;gap:10px;justify-items:start}
.curriculum-archive small{font-size:12px;color:var(--muted);line-height:1.6}
.curriculum-upload{width:100%;height:15px;accent-color:var(--blue)}

/* Discovery stays secondary to the teacher's search and the game player. */
.discovery-layout{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);gap:30px;align-items:start}
.discovery-main{min-width:0}
.popular-chart{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:19px 13px;overflow:hidden}
.chart-heading{display:flex;align-items:center;gap:10px;padding:0 4px 15px}
.chart-heading .kicker{font-size:12px;letter-spacing:.05em}
.chart-heading h2{font-size:23px;line-height:1.2;margin:4px 0 0}
.chart-symbol{display:grid;place-items:center;background:var(--softblue);color:var(--blue);border-radius:12px;width:38px;height:38px;flex:none}
.chart-symbol .ico{width:21px;height:21px}
.chart-list{list-style:none;margin:0;padding:0}
.chart-list li+li{border-top:1px solid var(--line)}
.chart-list a{display:flex;align-items:center;gap:9px;padding:12px 3px;color:var(--ink);text-decoration:none;min-height:82px;border-radius:8px}
.chart-list a:hover,.chart-list a:focus-visible{background:var(--well)}
.chart-list img,.chart-cover{width:49px;height:36px;object-fit:cover;border-radius:7px;flex:none;background:var(--well)}
.chart-cover{display:grid;place-items:center;color:var(--muted)}
.chart-cover .ico{width:17px;height:17px}
.chart-rank{width:21px;flex:none;font-size:17px;font-weight:900;color:var(--muted);text-align:center}
.chart-list li:first-child .chart-rank{color:var(--blue);font-size:22px}
.chart-info{display:grid;gap:4px;min-width:0}
.chart-info b{font-size:14px;line-height:1.4;overflow-wrap:break-word}
.chart-info small{font-size:12px;color:var(--muted);overflow-wrap:break-word}
.chart-info>span{font-size:12px;color:var(--link);font-weight:700}
.chart-empty{font-size:13px;line-height:1.7;padding:10px 5px;color:var(--muted)}
.chart-about{border-top:1px solid var(--line);padding:14px 5px 0;margin-top:8px;font-size:12px;line-height:1.7;color:var(--muted)}
.chart-about summary{cursor:pointer;color:var(--link);font-weight:800;min-height:25px}
.chart-about p{font-size:12px;margin-bottom:0}
.game-suggestions{margin-top:45px;padding-top:30px;border-top:1px solid var(--line)}
.game-suggestions .section-head{gap:16px;flex-wrap:wrap}
.player-access{margin:12px 0 4px}
.report-link{display:block;background:none;border:0;color:var(--link);font:inherit;font-size:13px;text-align:left;text-decoration:underline;padding:14px 0;cursor:pointer;min-height:44px}
.concern-dialog{width:min(560px,calc(100vw - 28px));padding:28px;max-height:calc(100dvh - 32px);overflow-y:auto}
.concern-dialog .dialog-head{gap:12px;align-items:start}
.concern-dialog h2{font-size:23px;line-height:1.3}
.concern-dialog .field{display:grid;gap:9px;font-size:14px;margin-bottom:20px}
.concern-dialog .field small{font-size:12px;line-height:1.7;color:var(--muted)}
.concern-dialog textarea,.concern-dialog select{width:100%;min-width:0}
.concern-dialog .close-dialog{min-width:40px;min-height:40px}
.report-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.report-game-title{font-size:15px;font-weight:800;padding:12px 16px;background:var(--well);border-radius:10px}
.activity-panel{margin:24px 0}
.activity-panel h2{font-size:21px;margin:0 0 18px}
.activity-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.activity-totals>div{display:grid;gap:6px}
.activity-totals b{font-size:29px;color:var(--link)}
.activity-totals span{font-size:13px;color:var(--muted)}
.activity-panel>p{margin:18px 0 0;line-height:1.7}
.school-it-page{max-width:var(--read-max);display:grid;gap:25px}
.school-it-page h2{font-size:24px;margin:0 0 15px}
.school-it-page p{font-size:15px;line-height:1.8}
.school-domains{display:grid;gap:12px;margin:24px 0}
.school-domains>div{padding:14px 18px;background:var(--well);border:1px solid var(--line);border-radius:10px}
.school-domains code{font-size:14px;overflow-wrap:anywhere}
.school-domains dd{margin:6px 0 0;font-size:13px;color:var(--muted)}
.classroom-checks{padding-left:23px;display:grid;gap:14px;line-height:1.7;font-size:15px}
@media(max-width:1120px){.discovery-layout{gap:22px}}
@media(max-width:720px){.discovery-layout{display:flex;flex-direction:column;gap:26px}.popular-chart,.discovery-main{width:100%}.popular-chart{padding:17px}.chart-list{max-height:270px;overflow-y:auto;overscroll-behavior:contain}.chart-list a{min-height:73px;gap:13px}.chart-list img,.chart-cover{width:65px;height:43px}.chart-info b{font-size:14px}.chart-info small,.chart-info>span{font-size:12px}.chart-heading{padding-bottom:8px}.chart-about{margin-top:10px}}
@media(max-width:480px){.concern-dialog{padding:22px}.concern-dialog h2{font-size:21px}.activity-totals{gap:10px}.activity-totals span{font-size:12px}.school-it-page .panel{padding:21px}}
@media(max-width:1180px){.desktop-nav{display:none}.mobile-menu{display:block}.utilities{margin-left:auto}}
@media(max-width:980px){.curriculum-hero{grid-template-columns:1fr;gap:18px;padding:24px}.curriculum-tools{grid-column:1;grid-row:auto;justify-content:flex-start;max-width:none}.curriculum-hero h1{font-size:29px}.curriculum-hero>.curriculum-symbol{display:none}}
@media(max-width:720px){.curriculum-page{padding-top:20px}.curriculum-heading{align-items:flex-start;flex-direction:column;gap:20px}.curriculum-heading h1{font-size:32px}.curriculum-intro{align-items:flex-start;flex-wrap:wrap;padding:18px}.curriculum-intro>.btn{width:100%}.curriculum-intro>.grow{flex-basis:calc(100% - 50px)}.curriculum-hero{display:block;padding:23px}.curriculum-hero h1{font-size:29px}.curriculum-hero p{font-size:15px}.curriculum-tools{flex-direction:row;flex-wrap:wrap;margin-top:22px}.curriculum-tools .btn{flex:1 1 auto}.curriculum-content .section-head{gap:14px;flex-wrap:wrap}.curriculum-step{width:23px;height:23px;font-size:11px;margin-top:23px}.curriculum-lesson{gap:8px}.curriculum-item-link{gap:11px;padding:17px 14px}.curriculum-item-link h3{font-size:17px}.curriculum-item-icon{width:35px;height:35px}.curriculum-item-tools{gap:6px;padding:10px}.curriculum-item-tools .grow{display:none}.curriculum-item-tools .btn{font-size:11px;min-height:36px}.curriculum-note{margin-inline:14px}.curriculum-dialog{padding:22px}.curriculum-dialog .field-row{grid-template-columns:1fr}.curriculum-dialog .dialog-head h2{font-size:22px}}
@media(max-width:480px){.curriculum-breadcrumbs{font-size:12px}.curriculum-content .section-head h2{font-size:21px}.curriculum-hero{padding:20px}.curriculum-item-icon{display:none}.curriculum-status{font-size:12px}.curriculum-hero .curriculum-meta{gap:8px}.curriculum-dialog .form-actions>.btn{flex:1}.curriculum-order-row .btn{font-size:11px;padding:8px}}

/* The ClassBoard teacher resource guide. Service logos retain their original colours and proportions. */
.make-game-page{padding:34px 0 56px}.make-game-heading{margin:28px 0}.make-game-heading h1{font-size:clamp(34px,4vw,48px);display:flex;align-items:center;gap:12px}.make-game-heading h1>span[aria-hidden]{font-size:.82em;flex:none}.make-game-heading .lede{max-width:790px;font-size:18px;margin:16px 0 0}.make-game-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 26px}.make-game-steps article{padding:19px 20px;background:var(--surface);border:1px solid var(--line);border-radius:17px}.make-game-steps h2{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:8px}.make-game-steps h2>span:first-child{display:grid;place-items:center;width:25px;height:25px;flex:none;background:var(--softblue);color:var(--link);font-size:13px;border-radius:8px}.make-game-steps p{font-size:15px;line-height:1.55;color:var(--secondary);margin:0}.make-step-link{display:inline-block;font-size:13px;font-weight:800;margin-top:9px}.make-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.make-game-toolbar>p{margin:0}.make-game-filters{display:flex;gap:8px;flex-wrap:wrap}.make-game-filters .chip{min-height:43px;font-size:14px;padding:10px 14px}.make-game-ranking{color:var(--muted);margin:0 0 20px;max-width:890px;line-height:1.6}.make-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.make-tool{display:flex;flex-direction:column;min-width:0;min-height:326px;height:100%;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:19px}.make-tool[hidden]{display:none}.make-tool-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.make-tool-heading>div{min-width:0}.make-tool-heading h2{font-size:18px;line-height:1.25;margin:0 0 3px;overflow-wrap:normal}.make-tool-heading p{font-size:12px;line-height:1.4;color:var(--muted);font-weight:800;margin:0}.make-tool-mark{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:13px}.make-tool-logo{padding:7px;background:#fff;border:1px solid #dce2ec}.make-tool-logo img{display:block;width:100%;height:100%;object-fit:contain}.make-tool-description{font-size:15px;color:var(--secondary);line-height:1.6;margin-bottom:15px}.make-tool-methods{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;margin-bottom:13px}.make-tool-methods .tag{border-radius:6px;font-size:12px;font-weight:900;padding:3px 7px}.make-tool-methods .make-method-html{background:var(--softgreen);color:var(--green)}.make-tool-guide{border-top:1px dashed var(--line);padding-top:12px;font-size:14px;line-height:1.6;margin-bottom:17px}.make-tool-guide summary{color:var(--link);font-size:13px;font-weight:900;cursor:pointer;line-height:1.5}.make-tool-guide ol{padding-left:21px;margin:14px 0}.make-tool-guide li{padding-left:2px;margin-bottom:9px}.make-tool-guide p{color:var(--secondary);font-size:13px}.make-tool-guide a{font-size:12px;font-weight:800;overflow-wrap:anywhere}.make-tool-create{align-self:flex-start;min-height:44px;padding:10px 20px;font-size:14px}.make-game-after{margin-top:30px}.make-game-starter{padding:18px 20px;border:1px solid var(--line);background:var(--surface);border-radius:16px;margin-bottom:20px}.make-game-starter summary{font-weight:900;font-size:17px;cursor:pointer}.make-game-starter summary .ico{display:inline-block;vertical-align:middle;margin-right:8px}.make-game-starter p{margin:16px 0 10px;font-size:15px}.make-game-starter blockquote{padding:15px 18px;margin:12px 0 16px;border-inline-start:3px solid var(--blue);background:var(--well);font-size:15px;line-height:1.7}.make-game-note{font-size:14px;color:var(--secondary);line-height:1.65;margin:22px 0}.make-game-care{padding:14px 17px;background:var(--softblue);border-radius:11px;color:var(--secondary)}.make-game-after>.row{margin-top:24px}
@media(min-width:1181px){.header-inner{gap:14px}.desktop-nav{gap:4px}.desktop-nav a{font-size:13px;padding:9px 9px}.utilities{gap:7px}}
@media(min-width:1181px) and (max-width:1440px){html:lang(ru) .desktop-nav,html:lang(es) .desktop-nav,html:lang(vi) .desktop-nav,html:lang(ms) .desktop-nav{display:none}html:lang(ru) .mobile-menu,html:lang(es) .mobile-menu,html:lang(vi) .mobile-menu,html:lang(ms) .mobile-menu{display:block}html:lang(ru) .utilities,html:lang(es) .utilities,html:lang(vi) .utilities,html:lang(ms) .utilities{margin-left:auto}}
@media(max-width:1080px){.make-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.make-tool{min-height:295px}.make-tool-heading h2{font-size:20px}}
@media(max-width:640px){.make-game-page{padding-top:22px}.make-game-heading{margin-top:22px}.make-game-heading h1{font-size:34px;align-items:flex-start;gap:9px}.make-game-heading .lede{font-size:16px}.make-game-steps{grid-template-columns:1fr;gap:10px;margin-bottom:23px}.make-game-steps article{padding:15px 17px}.make-game-steps h2{margin-bottom:6px}.make-game-toolbar{gap:14px}.make-game-filters{gap:7px}.make-game-filters .chip{font-size:13px;padding:9px 12px}.make-game-ranking{font-size:13px}.make-game-grid{grid-template-columns:1fr;gap:14px}.make-tool{min-height:0;height:auto;padding:20px}.make-tool-heading{margin-bottom:13px}.make-tool-description{font-size:16px}.make-tool-guide summary{font-size:14px}.make-tool-guide a{font-size:13px}.make-tool-create{font-size:15px}.make-game-starter{padding:17px}.make-game-starter summary{font-size:16px}.make-game-starter blockquote{margin-inline:0;padding:13px 15px}.make-game-after>.row>.btn{flex:1}}

/* Classboard page frames: browsing expands, work and reading stay contained. */
.game-grid,.catalogue-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--card-min)),1fr))}
.game-grid>[hidden]{display:none!important}
[data-classboard-native] #main.container{width:min(var(--form-max),calc(100% - 2 * var(--gutter)));max-width:none;padding-inline:0}
[data-classboard-native] #main.container.wrap-read{width:min(var(--read-max),calc(100% - 2 * var(--gutter)))}
.authored-description,.recipe-prompt,.game-info .description,.make-game-note,.make-game-ranking,.make-game-after>p{max-width:var(--read-max)}
.catalogue-more{display:grid;justify-items:center;gap:12px;margin-top:32px}
.catalogue-more p{margin:0;color:var(--muted);font-size:14px}
.catalogue-more .btn[hidden]{display:none}
.catalogue-more .btn{min-width:190px}

.hero{padding:36px 0 16px;position:relative;background-image:radial-gradient(var(--line) .7px,transparent .7px);background-size:23px 23px;background-position:12px 12px}
.hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:48px}
.hero-copy{max-width:640px;min-width:0}
html .hero h1{font-size:clamp(32px,3.6vw,46px);line-height:1.15;max-width:640px;margin:0 0 16px}
.hero h1 .accent{display:inline}
.hero .lede{font-size:18px;max-width:550px}
.hero .board-scene{width:100%;max-width:560px;justify-self:end}
.home-games{padding-top:16px}

.game-layout,.game-detail-lower{grid-template-columns:minmax(0,1fr) clamp(340px,26vw,480px)}
.player-shell{width:100%;max-width:calc((100dvh - 220px) * 1.6)}
.player-shell:fullscreen{max-width:none}
body[data-view=game] .page-top{padding:10px 0 8px}
body[data-view=game] .page-top .breadcrumbs{margin:0}

@media(min-width:1800px){body{font-size:18px}.card-body h3{font-size:19px}}
@media(min-width:601px) and (max-width:860px){
 .hero{padding:24px 0 16px}
 .hero-inner{grid-template-columns:minmax(0,1.5fr) minmax(150px,1fr);gap:24px}
 html .hero h1{font-size:clamp(28px,4.4vw,36px)}
 .hero .lede{font-size:15px}
 .hero .board-scene{max-width:320px;padding:12px 0 22px}
 .hero .classroom-board{border-width:6px;border-radius:14px}
 .hero .board-screen>.btn{min-width:0;font-size:12px;padding:10px}
 .hero .board-note,.hero .hero-badge{display:none}
}
@media(max-width:860px){.game-layout{display:flex;flex-direction:column}.game-layout>div{width:100%}.game-detail-lower{grid-template-columns:1fr}}
@media(max-width:600px){
 .hero{padding:14px 0 18px;min-height:200px}
 .hero-inner{grid-template-columns:minmax(0,1fr) 92px;grid-template-areas:"eyebrow board" "title board" "search search" "topics topics";gap:3px 12px;align-items:center}
 .hero-copy{display:contents}
 .hero .eyebrow{grid-area:eyebrow;justify-self:start;font-size:11px;line-height:1.2;padding:1px 7px;margin:0;letter-spacing:0}
 .hero .eyebrow .ico{width:12px;height:12px}
 html .hero h1{grid-area:title;font-size:25px;line-height:1.05;margin:0}
 .hero .lede,.hero .hero-secondary{display:none}
 .hero [data-form=search]{grid-area:search;min-width:0;margin:0}
 .hero .search-box{max-width:none;margin:0;padding:3px;border-radius:13px}
 .hero .search-box input{font-size:14px;padding:8px 4px}
 .hero .search-box .btn{font-size:13px;padding:9px 12px;min-height:40px}
 .hero .topics{grid-area:topics;flex-wrap:nowrap;overflow-x:auto;min-width:0;max-width:100%;gap:6px;scrollbar-width:none}
 .hero .topics>span{display:none}
 .hero .topics a{flex:none;min-height:28px;padding:4px 9px;font-size:11px}
 .hero .board-scene{grid-area:board;width:92px;max-width:92px;padding:0;justify-self:end}
 .hero .classroom-board{border-width:4px;border-radius:10px;transform:none;box-shadow:0 8px 16px #07142b30}
 .hero .board-screen{aspect-ratio:16/10;border-radius:6px}
 .hero .board-screen>.btn{inset:0;min-width:0;min-height:0;transform:none;padding:0;border-radius:6px;background:transparent;color:#fff;box-shadow:none;font-size:0}
 .hero .board-screen>.btn .ico{width:27px;height:27px;filter:drop-shadow(0 1px 4px #000)}
 .hero .board-screen>.btn>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .hero .board-caption,.hero .board-base,.hero .board-note,.hero .hero-badge{display:none}
 .home-games{padding-top:12px}
 .home-games .popular-chart{padding:12px}
 .home-games .chart-list{max-height:82px}
 .home-games .chart-about{padding-top:8px;margin-top:5px}
 .home-games .discovery-layout{gap:18px}
 .home-games .section-head{margin-bottom:16px;gap:8px}
 .home-games .section-head .kicker{display:none}
 .home-games .section-head h2{font-size:24px;margin-bottom:6px}
 .home-games .section-head p{font-size:13px}
 .home-games .section-head>.text-link{min-height:24px}
}

/* Compact footer: shared by revival, native forms and reading pages. */
#footer{padding:20px 0 16px}
#footer .footer-top{display:grid;grid-template-columns:280px minmax(0,1fr);gap:26px;padding-bottom:15px}
#footer .footer-brand{display:block}
#footer .brand{gap:8px;min-height:32px}
#footer .brand img{width:32px;height:32px}
#footer .wordmark{display:flex;align-items:baseline;gap:4px;white-space:nowrap;font-size:18px;line-height:1.15;letter-spacing:-.04em}
#footer .footer-description{font-size:11px;line-height:1.6;max-width:none;margin:8px 0 0}
#footer .footer-links{display:grid;align-content:start;gap:8px;min-width:0}
#footer .footer-group{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;font-size:12px;align-items:start}
#footer .footer-group-title{font-size:11px;letter-spacing:.04em;text-transform:uppercase;line-height:24px;margin:0;color:var(--ink)}
#footer .footer-group-links{display:flex;align-items:center;flex-wrap:wrap;gap:0 18px;min-width:0}
#footer .footer-group-links>a,#footer .footer-signout{display:inline-flex;align-items:center;min-height:24px;padding:0;line-height:1.5;font-size:12px;color:var(--muted);text-align:start}
#footer .footer-group-links form{display:inline-flex;margin:0}
#footer .footer-bottom{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border-top:1px solid var(--line);padding:12px 0 0;max-width:none;margin:0}
#footer .copyright{font-size:11px;line-height:1.5;white-space:nowrap}
#footer .footer-languages{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px;margin:0;padding:0;min-width:0;border:0}
#footer .footer-languages .glyphs{font-size:16px;gap:3px;margin-inline-end:7px}
#footer .footer-languages button{font-size:11px;min-height:30px;line-height:1.4;padding:5px 6px}
#footer .footer-languages button[aria-checked=true]{background:var(--softblue);color:var(--link);border-color:var(--line)}
#footer .footer-themes{justify-self:end;margin:0;padding:2px;gap:2px}
#footer .footer-themes button{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;gap:0}
#footer .footer-themes button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0001}
#footer .footer-themes .ico{width:16px;height:16px}
@media(min-width:601px) and (max-width:1000px){
 #footer .footer-top{grid-template-columns:1fr;gap:16px}
 #footer .footer-brand{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
 #footer .footer-description{margin:0}
 #footer .footer-bottom{grid-template-columns:1fr auto}
 #footer .footer-languages{grid-column:1/-1;grid-row:2;justify-content:flex-start}
}
@media(max-width:600px){
 #footer{padding:16px 0}
 #footer .footer-top{grid-template-columns:1fr;gap:13px;padding-bottom:12px}
 #footer .footer-description{font-size:11px;margin:5px 0 0}
 #footer .footer-links{gap:0;justify-content:stretch}
 #footer .footer-group{display:block;border-top:1px solid var(--line);font-size:13px}
 #footer summary.footer-group-title{display:flex;width:100%;padding:0;align-items:center;justify-content:space-between;min-height:44px;list-style:none;cursor:pointer;letter-spacing:0;text-transform:none;font-size:14px}
 #footer summary.footer-group-title::-webkit-details-marker{display:none}
 #footer .footer-chevron{font-size:19px;transition:transform .15s}
 #footer details[open] .footer-chevron{transform:rotate(180deg)}
 #footer details:not([open])>.footer-group-links{display:none}
 #footer .footer-group-links{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;padding:0 0 10px}
 #footer .footer-group-links>a,#footer .footer-signout{min-height:44px;font-size:13px}
 #footer .footer-bottom{grid-template-columns:1fr auto;gap:8px;padding-top:10px}
 #footer .copyright{font-size:10px}
 #footer .footer-languages{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:0}
 #footer .footer-languages .glyphs{font-size:15px;margin-inline-end:5px}
 #footer .footer-languages button{min-height:32px;font-size:11px;padding:5px 6px}
 #footer .footer-themes button{width:38px;height:36px;min-height:36px}
}

/* A seventh column keeps the cards readable inside the 2400px frame. */
@media(min-width:2400px){.game-grid,.catalogue-grid{gap:15px}}
.text-link,.hero-secondary a,.recipe-actions>a,.breadcrumbs>a,.results-line>a{display:inline-flex;align-items:center;min-height:24px}
@media(max-width:600px){.benefits .wrap{min-height:54px;padding-block:10px}}

.corner-laurel-link,.curriculum-credit,.curriculum-breadcrumbs>a,.curriculum-note>summary,.make-step-link,.make-tool-guide>summary{display:inline-flex;align-items:center;min-height:24px}
.make-game-after a{display:inline-block;min-height:24px;vertical-align:baseline}

#main.wrap-read :is(h1,h2,h3){overflow-wrap:anywhere;hyphens:auto}

[data-classboard-native] .input-wrap{display:flex;align-items:stretch;gap:8px}
[data-classboard-native] .input-wrap>input{min-width:0;flex:1}
[data-classboard-native] .input-wrap .toggle-pw{position:static;transform:none;flex:none;min-height:44px}

/* Native headers share the browse frame; classic CSS used to cap them at 1440px. */
[data-classboard-native] .header-inner{max-width:var(--page-max);padding-inline:0}
/* One font-independent language mark in every header and footer. */
.lang-mark{display:block;height:20px;width:auto;overflow:visible;flex:none}
.lang-mark path{fill:none;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.lang-mark .lm-a{stroke:var(--ink)}
.lang-mark .lm-zh{fill:#398199;stroke:none}
.lang-mark .lm-ru{stroke:#ac6800}
:root[data-theme=dark] .lang-mark .lm-zh{fill:#8fd9f3}
:root[data-theme=dark] .lang-mark .lm-ru{stroke:#f9d57b}
#footer .footer-languages .lang-mark{height:16px;margin-inline-end:7px}
@media(max-width:600px){
 .lang-menu summary{width:92px;padding-inline:7px;gap:4px}
 .lang-menu .lang-mark{height:19px}
 #footer .footer-languages .lang-mark{margin-inline-end:5px}
}

/* Compact folder shelves keep the same navigation on touch and keyboard. */
@media(max-width:600px){
 .curriculum-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:24px 12px}
 .curriculum-card-link{padding:16px 14px;gap:10px}
 .curriculum-card::before{left:14px;width:60px}
 .curriculum-card h2{font-size:17px;line-height:1.4;min-height:48px}
 .curriculum-card-top{gap:6px}
 .curriculum-card-top .curriculum-symbol{width:30px;height:30px;border-radius:9px}
 .curriculum-card .curriculum-privacy{font-size:10px;padding:3px 5px}
 .curriculum-card-context{font-size:11px}
 .curriculum-card-bottom{font-size:11px;gap:6px}
 .curriculum-counts{gap:5px 8px}
 .curriculum-card>.curriculum-credit{padding:0 14px 14px;font-size:11px}
 .curriculum-hero{padding:20px}
 .curriculum-tools .btn{font-size:12px;padding:8px 11px;min-height:40px}
 .curriculum-subfolders>.section-head{position:relative}
 .curriculum-order.curriculum-arrange{position:static}
}
@media(prefers-reduced-motion:reduce){.curriculum-card,.curriculum-card::before{transition:none}.curriculum-card:hover,.curriculum-card:focus-within{transform:none}}

/* Claude's compact site-share prototype, scoped away from the game dialog. */
body{padding-bottom:var(--site-share-space,0px)}
.site-share-pop{--site-share-teal:#1fb59b;position:fixed;right:16px;bottom:16px;z-index:40;width:min(320px,calc(100vw - 24px));display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"logo text" "qr qr" "actions actions";align-items:center;gap:0 10px;padding:12px;border-radius:16px;border:1px solid transparent;background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(105deg,var(--blue),var(--purple) 35%,var(--gold) 68%,var(--site-share-teal)) border-box;box-shadow:0 1px 3px #1725430f,0 8px 22px #0e1b341c;transition:transform .28s ease-out,opacity .22s ease-out}
:root[data-theme=dark] .site-share-pop{--site-share-teal:#3fd1ad;box-shadow:0 1px 3px #0003,0 10px 26px #0006}
.site-share-pop.is-out{transform:translateY(10px);opacity:0}
.site-share-logo{grid-area:logo;width:30px;height:30px;transition:transform .3s ease}
.site-share-pop:hover .site-share-logo{transform:rotate(-6deg)}
.site-share-text{grid-area:text;padding-right:24px}
.site-share-text h2{font-size:14px;line-height:1.3;font-weight:800;letter-spacing:-.005em;margin:0}
.site-share-close{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.site-share-close:hover{background:var(--well);color:var(--ink)}
.site-share-close .ico{width:14px;height:14px}
.site-share-actions{grid-area:actions;display:grid;grid-template-columns:minmax(0,1fr) repeat(4,34px);gap:6px;align-items:center;margin-top:10px}
.site-share-copy{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:34px;padding:0 12px 0 10px;border-radius:99px;border:1px solid var(--line);background:var(--well);color:var(--ink);font:inherit;font-size:13px;font-weight:800;line-height:1.15;text-align:center;cursor:pointer}
.site-share-copy .ico{width:15px;height:15px}
.site-share-copy:hover{border-color:var(--blue);color:var(--link);background:var(--surface)}
.site-share-copy.is-done{background:var(--softgreen);border-color:transparent;color:var(--green)}
.site-share-icon{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--secondary);cursor:pointer}
.site-share-icon:hover{background:var(--well);border-color:var(--blue);text-decoration:none}
.site-share-icon .ico{width:20px;height:20px}
.site-share-icon img{display:block;width:20px;height:20px;object-fit:contain}
.site-share-qr-panel{grid-area:qr;display:grid;justify-items:center;margin-top:10px;padding:10px 10px 8px;border-radius:12px;background:#fff;border:1px solid #e6dfd0;color:#0e1b34;text-align:center}
.site-share-qr-panel canvas{display:block;width:132px;height:132px}
.site-share-qr-panel b{display:block;margin-top:3px;font-size:13px;letter-spacing:-.01em}
.site-share-qr-panel p{margin:0;font-size:11.5px;line-height:1.4;color:#5b6883}
.curriculum-saved>summary{min-height:44px;display:flex;align-items:center;gap:8px}
.curriculum-saved>summary::before{content:"▸"}
.curriculum-saved[open]>summary::before{content:"▾"}
.curriculum-sequence-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.curriculum-sequence-actions [aria-pressed=true]{background:var(--softblue);color:var(--link)}
@media(max-width:600px){.creator-methods{grid-template-columns:1fr}.site-share-pop{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto}}
@media(pointer:coarse){.site-share-copy{height:40px}.site-share-actions{grid-template-columns:minmax(0,1fr) repeat(4,40px)}.site-share-icon{width:40px;height:40px}.site-share-close{top:2px;right:2px;width:40px;height:40px}.site-share-text{padding-right:34px}}
@media(pointer:coarse) and (max-width:340px){.site-share-actions{grid-template-columns:minmax(0,1fr) repeat(4,36px)}.site-share-icon{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.site-share-pop,.site-share-logo{transition:none}.site-share-pop.is-out{transform:none}.site-share-pop:hover .site-share-logo{transform:none}}

/* Portable teaching portfolios: keep the existing board, avatar and recognition. */
.portfolio-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px;margin-top:28px;align-items:start}
.portfolio-intro h2{font-size:clamp(24px,2.4vw,32px);margin:0 0 12px}.portfolio-intro>.portfolio-uses{display:grid;gap:20px}.portfolio-intro p{font-size:15px;line-height:1.65;color:var(--secondary)}.portfolio-intro .row{flex-wrap:wrap;gap:10px;margin-top:20px}
.portfolio-uses>div{display:flex;gap:14px;align-items:flex-start}.portfolio-uses>div>.ico{width:24px;height:24px;flex:none;color:var(--blue);margin-top:2px}.portfolio-uses h3{font-size:16px;margin:0 0 5px}.portfolio-uses p{margin:0;font-size:14px}
.corner-sharing{margin-top:6px;flex:0 1 240px;min-width:0;display:grid;gap:9px}.portfolio-actions{display:flex;gap:8px;align-items:stretch}.portfolio-actions>.btn:first-child{flex:1;white-space:normal;font-size:13px;min-height:44px;padding:9px 12px}.portfolio-copy{width:44px;min-height:44px;flex:none;padding:10px}.portfolio-copy .ico{width:20px;height:20px}.portfolio-address{font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.45}
.studio-identity .studio-portfolio-note{font-size:13px;color:var(--secondary);margin-bottom:10px}.portfolio-share-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;min-height:32px;text-align:left;font:inherit}.portfolio-share-link .ico{width:15px;height:15px;flex:none}
dialog.portfolio-share-dialog{width:min(660px,calc(100% - 32px));padding:26px}.portfolio-share-dialog .dialog-head h2{font-size:25px}.portfolio-share-dialog .close-dialog{min-height:44px;min-width:44px}.portfolio-share-preview{display:flex;align-items:center;gap:14px;min-width:0;padding:16px;border-radius:16px;background:var(--well)}.portfolio-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--surface);color:var(--blue);font-size:23px;font-weight:900;flex:none}.portfolio-share-preview>div{min-width:0}.portfolio-share-preview h3{font-size:20px;margin:0 0 4px;overflow-wrap:anywhere}.portfolio-share-preview p{font-size:13px;margin:0;color:var(--muted);overflow-wrap:anywhere}.portfolio-share-description{font-size:15px;line-height:1.6;margin:16px 0;color:var(--secondary)}
.portfolio-share-destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.portfolio-share-choice{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:8px;font-size:13px;font-weight:800;color:var(--ink)}.portfolio-share-choice:hover{background:var(--well);text-decoration:none}.portfolio-share-choice>img,.portfolio-share-choice>.ico{width:22px;height:22px;object-fit:contain;flex:none}.portfolio-share-choice>span{overflow-wrap:anywhere}
.portfolio-share-details{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:22px;margin-top:24px}.portfolio-share-details>div{min-width:0}.portfolio-link-label{font-size:13px;font-weight:800}.portfolio-share-details .share-copy{margin-top:8px;flex-wrap:wrap}.portfolio-share-details .share-copy input{flex-basis:100%;font-size:13px}.portfolio-share-details .small{font-size:12px;line-height:1.6}.portfolio-native-share{white-space:normal}.portfolio-qr{text-align:center}.portfolio-qr canvas{display:block;width:148px;height:148px;background:white;border-radius:10px;max-width:100%;margin:0 auto}.portfolio-qr p{font-size:12px;line-height:1.5;color:var(--muted);margin:9px 0 0}
@media(max-width:980px){.corner-sharing{flex-basis:190px}.portfolio-actions>.btn:first-child{font-size:12px;padding-inline:8px}}
@media(max-width:720px){.portfolio-intro{grid-template-columns:1fr;gap:26px;padding:22px}.corner-sharing{grid-column:2;justify-self:stretch;width:100%;margin:0}.portfolio-actions>.btn:first-child{flex:0 1 auto}.portfolio-address{font-size:12px}}
@media(max-width:480px){dialog.portfolio-share-dialog{padding:18px}.portfolio-share-dialog .dialog-head h2{font-size:23px}.portfolio-share-preview{padding:13px;gap:12px}.portfolio-share-preview h3{font-size:18px}.portfolio-share-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-share-details{grid-template-columns:1fr;gap:20px;margin-top:20px}.portfolio-qr{display:flex;align-items:center;gap:16px;text-align:left}.portfolio-qr canvas{width:132px;height:132px;margin:0;flex:none}.portfolio-qr p{margin:0;font-size:13px}.portfolio-share-link{min-height:44px}}
@media(max-width:430px){.corner-sharing{grid-column:1}.portfolio-actions>.btn:first-child{flex:1}.studio-profile-links .portfolio-share-link{width:100%;font-size:12px}.portfolio-intro .row .btn{white-space:normal}}

/* Owner, 9 Oct: a slim utility language button. A 國 Д sits closer together and has no arrow. */
.lang-menu summary,[data-classboard-native] .language-menu summary{width:auto;min-width:0;gap:0;padding:0 10px}
.lang-menu summary .lang-mark,.language-menu summary .lang-mark{height:18px}
@media(max-width:720px){.lang-menu summary,[data-classboard-native] .language-menu summary{width:auto;padding-inline:9px}.lang-menu summary .lang-mark,.language-menu summary .lang-mark{height:17px}}
/* Footer languages: on hover or keyboard focus, an underline grows from the middle of the word. */
#footer .footer-languages button{position:relative}
#footer .footer-languages button::after{content:"";position:absolute;left:6px;right:6px;bottom:3px;height:2px;border-radius:2px;background:var(--link);transform:scaleX(0);transform-origin:50% 50%;transition:transform .22s ease-out;pointer-events:none}
#footer .footer-languages button:hover::after,#footer .footer-languages button:focus-visible::after{transform:scaleX(1)}
#footer .footer-languages button:hover{color:var(--ink)}
@media(prefers-reduced-motion:reduce){#footer .footer-languages button::after{transition:none}}
/* Make a game: the coding environments as a tidy row of links. */
.make-game-harnesses a{display:inline-block;margin-inline-end:14px;white-space:nowrap}
.make-game-harnesses span{white-space:normal}

/* Three ways to find, the lesson builder and the lesson player (Claude, 9 Oct 2026). */
.search-modes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.search-mode{display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 14px 7px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);line-height:1.25}
.search-mode:hover{text-decoration:none;border-color:var(--border)}
.search-mode>.ico{width:32px;height:32px;padding:6px;border-radius:9px;background:var(--well);color:var(--link)}
.search-mode b{display:block;font-size:14px}
.search-mode small{display:block;font-size:12px;color:var(--muted)}
.search-mode[aria-current=page]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.search-mode[aria-current=page]>.ico{background:var(--softblue)}
.curriculum-page .search-modes{margin-bottom:6px}
.curriculum-card>.curriculum-remix{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin:0 20px 16px;font-size:12px;font-weight:800;min-height:24px}
.curriculum-card>.curriculum-remix .ico{width:16px;height:16px}

.lesson-section{padding-top:28px}
.lesson-finder>h1{font-size:39px;margin-bottom:8px}.lesson-finder>.lede{font-size:17px;max-width:760px;margin:0 0 18px}
.lesson-builder{display:grid;grid-template-columns:minmax(0,1fr) clamp(290px,24vw,360px);gap:24px;align-items:start}
.lesson-criteria .search-box{margin:0 0 12px;max-width:760px;box-shadow:none}
.lesson-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.lesson-subjects{display:flex;flex-wrap:wrap;gap:6px}
.lesson-select{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:var(--secondary)}
.lesson-select select{border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);min-height:38px;padding:6px 10px;font-size:14px}
.lesson-count{font-size:13px;color:var(--muted);margin:12px 0 8px}
.lesson-tabs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:6px}
.lesson-tab{position:relative;display:flex;align-items:stretch;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.lesson-tab:hover,.lesson-tab:focus-within{border-color:var(--blue);z-index:3}
.lesson-tab.in-bag{background:var(--softgreen);border-color:color-mix(in srgb,var(--green) 45%,var(--line))}
.lesson-tab-open{flex:1;min-width:0;display:block;padding:6px 6px 6px 11px;color:var(--ink);border-radius:9px 0 0 9px}
.lesson-tab-open:hover{text-decoration:none}
.lesson-tab-open b{display:block;font-size:14px;line-height:1.3;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lesson-tab-open small{display:block;font-size:12px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lesson-tab-add,.lesson-tab-info{flex:none;width:42px;border:0;border-left:1px solid var(--line);background:transparent;color:var(--link);display:grid;place-items:center;border-radius:0 9px 9px 0}
.lesson-tab-add:hover{background:var(--softblue)}
.lesson-tab.in-bag .lesson-tab-add{color:var(--green)}
.lesson-tab-add .ico{width:20px;height:20px;stroke-width:2.4}
.lesson-tab-info{display:none;border-radius:0;font-weight:900;font-size:15px;color:var(--muted)}
/* Text only, never a picture. Hover waits a moment; keyboard focus shows it at once; Escape hides it. */
.lesson-about{position:absolute;z-index:30;left:0;bottom:calc(100% + 6px);width:min(360px,86vw);display:grid;gap:4px;background:var(--surface);color:var(--secondary);border:1px solid var(--border);border-radius:12px;padding:11px 13px;box-shadow:0 14px 34px #0e1b3426;font-size:13.5px;line-height:1.45;opacity:0;visibility:hidden;transition:opacity .12s ease .3s,visibility 0s linear .42s}
.lesson-about.below{bottom:auto;top:calc(100% + 6px)}
.lesson-about.to-left{left:auto;right:0}
.lesson-about b{color:var(--ink);font-size:14.5px;line-height:1.3}
.lesson-about-by,.lesson-about-how{color:var(--muted);font-size:12.5px}
.lesson-about-goal,.lesson-about-facts{font-size:12.5px;font-weight:700}
.lesson-tab:hover .lesson-about{opacity:1;visibility:visible;transition-delay:.3s,.3s}
.lesson-tab:focus-within .lesson-about{opacity:1;visibility:visible;transition-delay:0s,0s}
.lesson-tab.hide-about .lesson-about{opacity:0;visibility:hidden;transition:none}
.lesson-more{display:flex;justify-content:center;margin-top:14px}
.lesson-empty{padding:34px 20px;text-align:center;background:var(--surface);border:1px dashed var(--border);border-radius:16px}
.lesson-empty h2{font-size:22px}

.lesson-bag{position:sticky;top:110px;min-width:0;max-height:calc(100dvh - 170px);overflow:auto;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:var(--shadow)}
.lesson-bag.is-target{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 30%,transparent),var(--shadow)}
.lesson-bag-head{display:flex;align-items:baseline;gap:8px}
.lesson-bag-head h2{flex:1;font-size:18px;margin:0}
.lesson-bag-head>span{font-size:13px;color:var(--muted)}
.lesson-bag-close{display:none;align-self:center;border:0;background:var(--well);width:40px;height:40px;border-radius:50%;place-items:center}
.satchel{--bag:#c8742c;--bag-dark:#9a5420;--bag-light:#e39a52;position:relative;width:100%;height:140px;max-width:250px;margin:10px auto 4px}
:root[data-theme=dark] .satchel{--bag:#b8682a;--bag-dark:#874819;--bag-light:#d48b46}
.satchel-handle{position:absolute;left:30%;right:30%;top:0;height:40px;border:7px solid var(--bag-dark);border-bottom:0;border-radius:40px 40px 0 0}
.satchel-back{position:absolute;left:6%;right:6%;top:28px;bottom:0;background:var(--bag-dark);border-radius:16px 16px 18px 18px}
.satchel-items{position:absolute;left:12%;right:12%;top:18px;height:86px;display:flex;justify-content:center;align-items:flex-end}
.satchel-item{width:30%;max-width:60px;height:72px;margin:0 -7px;border-radius:7px;border:2px solid #ffffffcc;box-shadow:0 2px 6px #0003;display:grid;place-items:start center;padding-top:6px;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(160deg,#4f7df5,#2f63f0);transform:rotate(var(--tilt));transform-origin:50% 100%}
.satchel-item:nth-child(3n+2){background:linear-gradient(160deg,#8b5cf6,#6b36d8)}
.satchel-item:nth-child(3n){background:linear-gradient(160deg,#14a37f,#086b54)}
.satchel-item.drop{animation:satchel-drop .42s cubic-bezier(.2,1.4,.4,1)}
@keyframes satchel-drop{from{transform:translateY(-60px) rotate(var(--tilt));opacity:0}to{transform:translateY(0) rotate(var(--tilt));opacity:1}}
.satchel-front{position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(180deg,var(--bag-light),var(--bag));border-radius:12px 12px 20px 20px;box-shadow:inset 0 -6px 0 #0000001a;display:grid;place-items:center}
.satchel-front::before{content:"";position:absolute;inset:7px;border:2px dashed #ffffff73;border-radius:9px 9px 15px 15px}
.satchel-badge{position:relative;background:#fff8ee;color:#7a3d0d;border-radius:99px;padding:2px 12px;font-size:13px;font-weight:900;box-shadow:0 1px 0 #0002}
.satchel-empty{position:absolute;left:8%;right:8%;top:6px;height:62px;display:grid;place-items:center;text-align:center;font-size:12.5px;font-weight:800;line-height:1.35;color:var(--muted);background:var(--well);border:2px dashed var(--line);border-radius:12px;padding:0 10px;z-index:1}
.lesson-title-field{margin:8px 0 0;gap:4px}
.lesson-title-field span{font-size:13px;font-weight:800;color:var(--secondary)}
.lesson-title-field input{border:1px solid var(--border);border-radius:10px;background:var(--well);color:var(--ink);min-height:42px;padding:8px 10px;font-size:15px;font-weight:800}
.lesson-bag>*{flex:none}
.lesson-bag>.lesson-steps{flex:0 1 auto;min-height:0}
.lesson-steps{list-style:none;margin:10px 0 0;padding:0;display:grid;align-content:start;gap:6px;overflow:auto}
.lesson-steps:not(:empty){min-height:96px}
.lesson-steps:empty{display:none}
.lesson-step{display:flex;align-items:center;gap:3px;min-width:0;background:var(--well);border:1px solid var(--line);border-radius:10px;padding:4px 4px 4px 6px;cursor:grab}
.lesson-step.drop-before{box-shadow:0 -3px 0 var(--blue)}
.lesson-step-num{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-size:12px;font-weight:900}
.lesson-step-title{flex:1;min-width:0;padding-left:4px;font-size:13.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lesson-step button{flex:none;width:32px;height:34px;border:0;background:transparent;color:var(--muted);font-weight:900;display:grid;place-items:center}
.lesson-step button:hover{background:var(--surface);color:var(--ink)}
.lesson-step button .ico{width:16px;height:16px}
.lesson-credit{font-size:12.5px;line-height:1.5;color:var(--muted);margin:10px 0 0}
.lesson-status{font-size:13px;line-height:1.5;color:var(--secondary);margin:8px 0 0}
.lesson-status:empty{display:none}
.lesson-status .text-link{font-size:13px;border:0;background:none;padding:0;color:var(--link)}
.lesson-bag-actions{display:grid;gap:8px;margin-top:12px}
.lesson-bag-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lesson-bag-actions .btn{width:100%;min-width:0;white-space:normal;line-height:1.2}
.lesson-bag-row .btn{padding-inline:10px;font-size:13px}
.lesson-bag-actions .ico{width:18px;height:18px}
.lesson-bag-bar{display:none}
.lesson-flyer{position:fixed;z-index:70;pointer-events:none;border-radius:8px;background:var(--gold);color:#2a1900;font-size:12px;font-weight:900;padding:4px 8px;transition:transform .45s cubic-bezier(.4,0,.2,1),opacity .45s}

.lesson-ethos{padding:6px 0 48px}
.lesson-ethos-inner{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px 32px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px 22px}
.lesson-ethos .kicker{margin-bottom:6px}
.lesson-ethos h2{font-size:clamp(22px,2.2vw,28px);margin:0 0 8px}
.lesson-ethos p{margin:0;font-size:15px;color:var(--secondary)}
.lesson-principles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lesson-principles li{display:flex;gap:8px;align-items:flex-start;background:var(--well);border:1px solid var(--line);border-radius:12px;padding:9px 11px;font-size:14px;font-weight:800;line-height:1.3}
.lesson-principles .ico{width:18px;height:18px;color:var(--green);stroke-width:2.6}
.lesson-principles .lesson-principle-soon{grid-column:1/-1}.lesson-principles .lesson-principle-soon .ico{color:var(--link)}

.lesson-player{padding:20px 0 40px}
.lesson-player-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:12px}
.lesson-player-name{flex:1 1 260px;min-width:0}
.lesson-player-name .kicker{margin-bottom:4px}
.lesson-player-name h1{font-size:clamp(24px,2.6vw,34px);margin:0;overflow-wrap:anywhere}
.lesson-player-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.lesson-player-steps button{min-width:38px;height:38px;padding:0 10px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--secondary);font-weight:900}
.lesson-player-steps button.is-done{border-color:var(--green);color:var(--green)}
.lesson-player-steps button[aria-current=step]{background:var(--gold);border-color:var(--gold);color:#2a1900}
.lesson-player-tools{display:flex;flex-wrap:wrap;gap:8px}
.lesson-player-tools .ico{width:18px;height:18px}
.lesson-player-note{font-size:13px;color:var(--secondary);background:var(--softgold);border-radius:10px;padding:8px 12px;margin:0 0 10px}
.lesson-stage-shell{width:min(100%,calc((100dvh - 250px) * 16 / 9));min-width:min(100%,560px);margin-inline:auto}
.lesson-stage{aspect-ratio:16/9;background:radial-gradient(circle at 30% 20%,#2a4fb4,#0e1b34 70%)}
.lesson-stage-card{display:grid;justify-items:center;gap:10px;max-width:620px;padding:24px;text-align:center;color:#eef3ff}
.lesson-stage-card h2{margin:0;font-size:clamp(22px,3vw,40px);color:#fff}
.lesson-stage-card p{margin:0;color:#dce7ffd9;font-size:15px}
.lesson-stage-card .row{justify-content:center}
.lesson-stage-count{font-size:12px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#f7b23b}
.lesson-stage-by{font-weight:800}
.lesson-stage-card .btn-outline{background:transparent;color:#fff;border-color:#ffffff5c}
.lesson-start{min-height:54px;padding-inline:28px;font-size:17px}
.lesson-stage-mark{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#3fd1ad;color:#05221b}
.lesson-stage-mark .ico{width:30px;height:30px;stroke-width:2.6}
.lesson-controls{display:flex;align-items:center;gap:8px;padding:10px 4px 2px}
.lesson-nav{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:6px 16px;border:1px solid #ffffff3a;border-radius:99px;background:#ffffff10;color:#eef3ff;font-weight:900}
.lesson-nav.is-next{background:#f7a21b;border-color:#f7a21b;color:#2a1900}
.lesson-nav .ico{width:18px;height:18px}
.lesson-where{flex:1;min-width:0;margin:0;text-align:center;color:#c9d5f0;font-size:14px;overflow-wrap:anywhere}
.lesson-stage-shell:fullscreen{width:100%;min-width:0}

@media (prefers-reduced-motion:reduce){.satchel-item.drop{animation:none}.lesson-flyer{display:none}.lesson-about{transition:none}}
@media (pointer:coarse){
 .lesson-tab-info{display:grid}
 .lesson-tab:hover .lesson-about,.lesson-tab:focus-within .lesson-about{opacity:0;visibility:hidden}
 .lesson-tab.show-about{flex-wrap:wrap}
 .lesson-tab.show-about .lesson-about{position:static;display:grid;flex-basis:100%;width:auto;opacity:1;visibility:visible;border-width:1px 0 0;border-radius:0 0 9px 9px;box-shadow:none;transition:none}
 .lesson-tab-add{width:46px}
 .lesson-step button{width:40px;height:40px}
}
@media (max-width:980px){.lesson-builder{grid-template-columns:minmax(0,1fr) 290px;gap:16px}}
@media (max-height:820px){.satchel{transform:scale(.74);transform-origin:50% 0;margin-bottom:-33px}}
@media (max-width:900px){.search-mode small{display:none}.search-mode{min-height:44px}}
@media (max-width:760px){
 .lesson-builder{display:block}
 .lesson-bag{position:fixed;left:8px;right:8px;top:auto;bottom:8px;z-index:60;max-height:calc(100dvh - 90px);transform:translateY(calc(100% + 16px));visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
 .lesson-bag.is-open{transform:none;visibility:visible;transition-delay:0s}
 .lesson-bag-close{display:grid}
 .lesson-bag-bar{display:flex;position:fixed;left:8px;right:8px;bottom:8px;z-index:55;align-items:center;gap:8px;background:var(--ink);color:var(--bg);border-radius:16px;padding:8px 8px 8px 12px;box-shadow:0 10px 30px #0006}
 .lesson-bar-satchel{--bag:#c8742c;--bag-dark:#9a5420;--bag-light:#e39a52;position:relative;width:34px;height:28px;flex:none;border-radius:6px 6px 10px 10px;background:linear-gradient(180deg,var(--bag-light),var(--bag));display:grid;place-items:center;font-size:13px;font-weight:900;color:#fff8ee;margin-top:6px}
 .lesson-bar-satchel::before{content:"";position:absolute;left:28%;right:28%;top:-7px;height:9px;border:3px solid var(--bag-dark);border-bottom:0;border-radius:8px 8px 0 0}
 .lesson-bag-bar b{flex:1;min-width:0;font-size:14px;line-height:1.25}
 .lesson-bag-bar .btn{min-height:40px;padding:6px 12px}
 .lesson-bag-bar .btn-outline{background:transparent;color:var(--bg);border-color:color-mix(in srgb,var(--bg) 40%,transparent)}
 body[data-view=lessons] #main{padding-bottom:76px}
 .lesson-ethos-inner{grid-template-columns:1fr;padding:16px}
 .lesson-principles{grid-template-columns:1fr}
 .lesson-controls{flex-wrap:wrap}
 .lesson-where{order:-1;flex-basis:100%}
 .lesson-nav{flex:1;justify-content:center}
 .lesson-nav-label{display:none}
 .lesson-stage-shell{min-width:0}
}
@media (max-width:720px){
 .search-modes{gap:6px;margin-bottom:12px}
 .search-mode{padding:5px 10px 5px 6px;gap:7px;min-height:42px}
 .search-mode>.ico{width:28px;height:28px;padding:5px}
 .search-mode b{font-size:13px}
 .lesson-section{padding-top:16px}
 .lesson-finder>h1{font-size:30px}
 .lesson-finder>.lede{display:none}
 .lesson-subjects{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter)}
 .lesson-subjects::-webkit-scrollbar{display:none}
 .lesson-subjects .chip{flex:none}
 .lesson-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .lesson-subjects{grid-column:1/-1}
 .lesson-select{display:grid;gap:3px;font-size:12px}
 .lesson-select select{width:100%;min-width:0}
 .lesson-stage:not(.is-playing){aspect-ratio:auto;min-height:220px}
 .lesson-stage-card{padding:18px 14px}
}
@media (max-width:430px){.search-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.search-mode{flex-direction:column;gap:2px;padding:6px 4px;text-align:center}.search-mode b{font-size:12px}.search-mode>.ico{width:24px;height:24px;padding:3px}}
.mission-screen .lede.mission-free{margin:14px 0 0;font-weight:800}


/* Approved portfolio review fixes, 9 October 2026. */
@media(max-width:760px){body[data-view="lessons"] #footer{padding-bottom:calc(120px + env(safe-area-inset-bottom))}}
.creator-corner{--softblue:color-mix(in srgb,var(--corner-accent) 18%,var(--corner-card))}
.corner-page .creator-corner .btn-blue{color:var(--corner-button-text)}
.creator-corner .tag.blue{color:var(--corner-tag-text)}
.portfolio-address-row{display:flex;align-items:center;gap:14px;min-width:0}
.portfolio-address-row>.portfolio-address{flex:1;min-width:0;font-size:14px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.portfolio-address-actions{display:flex;flex:none;gap:8px}
.portfolio-address-actions .btn{min-height:44px}
.studio-overview{flex-wrap:wrap}
.studio-portfolio-address{flex-basis:100%;border-top:1px solid var(--line);padding-top:14px}
.portfolio-ready{max-width:720px;margin:0 auto 24px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);display:grid;gap:14px}
.portfolio-ready h2{font-size:18px;line-height:1.4;margin:0}
.portfolio-ready p{font-size:14px;line-height:1.6;color:var(--secondary);margin:6px 0 0}
.portfolio-ready-view{justify-self:start;min-height:44px;display:inline-flex;align-items:center}
.portfolio-ready.is-compact{max-width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:12px 16px;font-size:14px}
.portfolio-ready.is-compact .portfolio-ready-intro{font-weight:700;flex:none}
.portfolio-ready.is-compact .portfolio-address-row{flex:1 1 320px}
.portfolio-ready.is-compact .portfolio-ready-view{flex:none}
@media(min-width:1024px){
 .corner-page .creator-corner>.digital-board{max-height:300px}
 .corner-page .creator-corner>.digital-board .digital-board-screen{height:250px}
 .corner-page .creator-corner>.digital-board .has-cover-photo img{display:block;height:100%;max-height:250px;aspect-ratio:auto;object-fit:contain}
 .corner-page .creator-corner>.digital-board .classroom-board-surface{height:100%;min-height:0;padding:20px clamp(24px,3vw,60px)}
 .corner-page .creator-corner>.digital-board .classroom-board-surface p{font-size:clamp(19px,1.5vw,28px);line-height:1.35}
}
@media(max-width:600px){
 .portfolio-address-row{flex-wrap:wrap;gap:8px}
 .portfolio-address-row>.portfolio-address{flex-basis:100%}
 .portfolio-address-actions{flex-wrap:wrap}
 .portfolio-ready{padding:16px}
 .portfolio-ready.is-compact .portfolio-address-row{flex-basis:100%}
}
/* Owner request, 10 Oct 2026: one slim line under each search box. */
.agent-search-soon{display:flex;align-items:flex-start;gap:7px;margin:10px 0 0;font-size:14px;line-height:1.45;font-weight:600;color:var(--muted)}.agent-search-soon .ico{flex:none;width:16px;height:16px;margin-top:2px;color:var(--link)}.lesson-criteria .agent-search-soon{margin:-2px 0 12px}.recipe-section .agent-search-soon{margin:10px 0 0}.recipe-intro .lede .agent-search-soon{margin:8px 0 0}.hero .agent-search-soon{margin:10px 0 12px}
@media(max-width:600px){.hero-inner{grid-template-areas:"eyebrow board" "title board" "search search" "soon soon" "topics topics"}.hero .agent-search-soon{grid-area:soon;margin:5px 0 3px;font-size:13px;line-height:1.35}.hero .agent-search-soon .ico{width:14px;height:14px;margin-top:1px}}

/* Account switching stays close to the signed-in header. */
.site-header .header-signout{min-height:44px;max-width:160px;padding:9px 12px;flex:none;white-space:normal;overflow-wrap:anywhere}
.site-header .header-signout-form{margin:0;flex:none}
.site-header .header-account-info{display:grid;gap:4px;padding:8px 12px;color:var(--muted);font-size:12px;line-height:1.4}
.site-header .header-account-info strong{font-size:14px;color:var(--ink);overflow-wrap:anywhere}
.site-header .header-menu-signout{margin:0 0 7px;padding-bottom:7px;border-bottom:1px solid var(--line)}
.site-header .header-menu-signout button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.site-header .header-signout:focus-visible,.site-header .header-menu-signout button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media(max-width:1366px){.site-header.has-header-signout .desktop-nav{display:none}.site-header.has-header-signout .mobile-menu{display:block}.site-header.has-header-signout .utilities{margin-left:auto}}
@media(max-width:720px){.site-header .header-signout,.site-header .header-signout-form{display:none}}
