:root{--paper:#f6f3e9;--ink:#303d32;--green:#526e48;--soft:#e9eddc;--line:#d7dbc9;--muted:#71796b;--yellow:#edbd61}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ad633d;outline-offset:5px}button{color:inherit}.wrap{width:min(1160px,calc(100% - 96px));margin-inline:auto}.header{display:flex;justify-content:space-between;align-items:center;padding-block:30px}.logo{font-size:29px;font-weight:800;letter-spacing:-1.6px;white-space:nowrap}.logo span{color:var(--green)}.logo i{font-size:25px;color:#c38b43;font-style:normal;margin-left:5px;display:inline-block;vertical-align:top}.header nav{display:flex;gap:30px;align-items:center;font-size:12px}.header nav a{padding-block:10px}.header .nav-pill{border:1px solid var(--line);border-radius:99px;padding:10px 18px}.nav-pill span{margin-left:12px}.play-section{display:grid;grid-template-columns:1fr 1.04fr;gap:65px;padding-top:40px;padding-bottom:65px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700}.little-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:6px}h1{font-size:clamp(45px,5.4vw,72px);line-height:1.08;letter-spacing:-3.5px;font-weight:600;position:relative;margin:27px 0}h1>span{color:var(--green)}.heading-star{width:45px;position:absolute;top:0;right:0;transform:rotate(12deg)}.intro>p{color:var(--muted);max-width:390px;font-size:15px;line-height:1.85}.hand-note{font-family:Georgia,serif;font-style:italic;color:#8c845d;font-size:15px;transform:rotate(-5deg);margin:36px 0 38px}.hand-note span{font-size:37px;margin-left:8px;vertical-align:middle}.intro-bottom{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:10px}.tiny-snake{font-size:32px;line-height:1;color:var(--green)}.game-card{min-width:0;border:1px solid #cbd1ba;background:#fffdf6;border-radius:19px;padding:23px;box-shadow:5px 7px 0 #dde1ce}.game-top{display:flex;justify-content:space-between;align-items:center}.game-top .eyebrow{font-size:8px;letter-spacing:1.6px;color:var(--green)}.game-top h2{font-size:21px;letter-spacing:-.6px;margin:3px 0 14px}.edition{align-self:flex-start;font-family:monospace;font-size:9px;color:var(--muted);padding-top:5px}.scorebar{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding:13px 0;color:var(--muted);font-size:8px;letter-spacing:1px}.scorebar strong{font-family:monospace;font-size:20px;font-weight:500;color:var(--ink);margin-left:5px;letter-spacing:0}.scorebar button{margin-left:auto;font-size:10px;letter-spacing:0;padding:9px 0;border:0;background:none}.board-wrap{position:relative;border:1px solid #bfcba6;border-radius:9px;overflow:hidden;background:#e4ebd4;aspect-ratio:1.15;touch-action:none}canvas{display:block;width:100%;height:100%;object-fit:fill}.game-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#e4ebd4ec;padding:14px}.game-overlay[hidden]{display:none}.apple{font-size:34px;filter:saturate(.65);line-height:1.4}.game-overlay h3{font-size:24px;letter-spacing:-.8px;margin:10px 0 5px}.game-overlay p{font-size:12px;color:#67745b;margin:0 0 19px}.button{border:0;border-radius:8px;padding:13px 22px;font-size:12px;font-weight:600;white-space:nowrap}.button span{margin-left:17px}.dark{background:var(--ink);color:#fffdf5}.dark:hover{background:#48613f}.overlay-tip{font-size:9px;color:#67745b;margin-top:13px}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);padding:13px 0 2px}.game-bottom button{border:0;background:transparent;font-size:10px;padding:8px}.local-note{text-align:center;color:var(--muted);font-size:9px;margin:10px 0 0}.game-controls{display:none}.ticker{border-block:1px solid #d8ddc7;background:#ebeedf;overflow:hidden;padding:17px 0;text-align:center}.ticker>div{font-size:10px;letter-spacing:2px;white-space:nowrap;min-width:max-content;color:#657353}.team-section{padding-block:82px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:35px}.section-heading h2,.firststone-link h2,.updates h2{font-size:38px;line-height:1.2;letter-spacing:-1.6px;font-weight:550;margin:15px 0 0}.section-heading>p{font-size:13px;line-height:1.9;color:var(--muted);max-width:370px;margin:0 0 3px}.section-heading strong{font-weight:600;color:var(--ink)}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.person{border:1px solid #ded2bc;border-radius:13px;overflow:hidden;background:#f0e1cb}.gideon{background:#e6eadb;border-color:#ced6bd}.person-top{display:flex;justify-content:space-between;align-items:center;padding:18px 23px 0}.tag{font-size:8px;letter-spacing:1.4px}.person-top>span:last-child{font-size:23px}.portrait{height:170px;display:flex;justify-content:center}.portrait svg{height:100%;width:240px;max-width:100%}.person-info{padding:17px 28px 22px;background:#fffbf375;border-top:1px solid #303d3210}.person-info h3{display:flex;justify-content:space-between;margin:0;font-size:28px;font-weight:600;letter-spacing:-1px}.person-info h3 span{color:#b88c48;font-size:23px}.role{font-size:10px;font-weight:700;color:#778167;letter-spacing:.6px}.person-info p{font-size:13px;line-height:1.8;max-width:350px;color:#717466;margin:14px 0 0}.person-foot{border-top:1px solid #303d3212;padding:12px 28px;font-size:8px;letter-spacing:1.1px;display:flex;justify-content:space-between;background:#fffbf375}.person-foot span{font-size:16px;line-height:1}.firststone-link{display:flex;gap:40px;align-items:center;background:#e9eddf;border:1px solid #d5ddc6;border-radius:14px;padding:42px 50px;position:relative}.stone-art{width:180px;flex-shrink:0}.stone-art svg{display:block;width:100%}.firststone-link h2{font-size:32px;margin-top:10px}.firststone-link p{font-size:13px;color:var(--muted);line-height:1.8}.text-link{font-size:12px;font-weight:700;display:inline-block;border-bottom:1px solid #8f9b80;padding-bottom:4px}.text-link span{margin-left:20px}.big-arrow{margin-left:auto;align-self:flex-start;font-size:29px}.firststone-link:hover{background:#e0e6d3}.updates{padding-block:90px 76px;text-align:center}.updates h2{font-size:42px;margin-top:18px}.updates>p{font-size:13px;color:var(--muted);line-height:1.9;margin:20px 0}#newsletter{max-width:480px;margin:26px auto 0}.email-row{display:flex;gap:8px;background:#fffdf6;border:1px solid var(--line);padding:6px;border-radius:11px}.email-row input{min-width:0;flex:1;border:0;background:none;padding:9px 10px;font-size:12px;color:var(--ink)}.consent{display:flex;align-items:flex-start;text-align:left;gap:8px;font-size:10px;color:var(--muted);margin-top:14px;cursor:pointer}.consent input{accent-color:var(--green);margin-top:2px;width:15px;height:15px;flex-shrink:0}#newsletter-status{font-size:12px;color:var(--green);min-height:20px;margin:10px 0 0}.updates .privacy-note{font-size:10px;margin-top:3px}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:28px}.footer>.logo{font-size:24px}.footer>span{font-family:Georgia,serif;font-size:13px;font-style:italic;color:var(--muted)}.footer>div{display:flex;gap:18px;flex-wrap:wrap;justify-content:flex-end;max-width:370px;font-size:10px}.footer small{width:100%;text-align:right;font-size:9px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.privacy{max-width:700px;padding-block:45px 80px}.privacy h1{font-size:46px;letter-spacing:-2px}.privacy h2{font-size:23px}.privacy p{color:var(--muted)}.privacy input{border:1px solid var(--line);border-radius:6px;padding:12px;max-width:100%}
@media(max-width:1000px){.wrap{width:calc(100% - 56px)}.play-section{gap:32px}.heading-star{width:30px;right:8px;top:-15px}h1{font-size:53px}.game-card{padding:17px}.game-overlay h3{font-size:21px}.section-heading h2{font-size:32px}.scorebar{gap:12px}.firststone-link{padding:32px;gap:25px}.stone-art{width:140px}}
@media(max-width:700px){.wrap{width:calc(100% - 40px)}.header{padding-block:20px}.logo{font-size:25px}.header nav{gap:15px;font-size:10px}.header nav>a:first-child{display:none}.header .nav-pill{padding:8px 11px}.nav-pill span{display:none}.play-section{grid-template-columns:1fr;gap:30px;padding-top:26px;padding-bottom:38px}.intro{position:relative}.eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:clamp(42px,10vw,63px);letter-spacing:-2px;margin:20px 0}.heading-star{width:38px;right:15px;top:30px}.intro>p{font-size:13px;max-width:320px}.hand-note{display:none}.intro-bottom{margin-top:20px;font-size:9px}.game-card{padding:17px;border-radius:14px}.game-top h2{font-size:21px}.board-wrap{aspect-ratio:1}.game-overlay h3{font-size:24px}.game-controls{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:12px}.game-controls>div{display:flex;flex-direction:column;gap:6px}.game-controls button{width:46px;height:40px;border:1px solid #ccd4bc;background:#e9eedf;border-radius:7px;font-size:20px;touch-action:none}.local-note{font-size:8px}.ticker{padding-block:13px}.ticker>div{font-size:8px;letter-spacing:1.5px}.team-section{padding-block:48px}.section-heading{display:block;margin-bottom:25px}.section-heading h2{font-size:31px}.section-heading>p{font-size:12px;margin-top:20px}.team-grid{grid-template-columns:1fr;gap:20px}.portrait{height:160px}.person-top{padding-inline:22px}.person-info{padding:17px 23px 20px}.person-foot{padding-inline:23px}.firststone-link{padding:25px;gap:10px;align-items:flex-start;flex-direction:column}.stone-art{width:105px;margin-left:-10px}.firststone-link h2{font-size:29px}.big-arrow{position:absolute;top:24px;right:24px}.firststone-link p{font-size:12px}.desktop-br{display:none}.updates{padding-block:55px 45px}.updates h2{font-size:35px}.updates>p{font-size:12px}.button{padding:12px 15px;font-size:11px}.button span{margin-left:10px}.email-row input{padding-left:6px;font-size:11px}.consent{font-size:9px}.footer{align-items:flex-start;flex-wrap:wrap;gap:14px;padding-block:24px}.footer>span{font-size:11px;margin-top:9px}.footer>div{justify-content:flex-start;max-width:none;width:100%;font-size:9px}.footer small{text-align:left}.privacy h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* The Tomorrow Times: a small, deliberately newspaper-like curiosity desk. */
.newspaper{margin-top:12px;margin-bottom:65px;padding:25px 30px 0;background:#f2eddf;border:1px solid #d8d0bd;box-shadow:3px 4px 0 #e5dfd1;color:#34382e}.paper-strap,.paper-dateline{display:flex;justify-content:space-between;gap:15px;font-size:8px;font-weight:600;letter-spacing:1.1px}.paper-strap{padding-bottom:12px;border-bottom:1px solid #737864}.paper-masthead{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:center;padding:17px 0 20px}.paper-masthead p{font-size:9px;letter-spacing:1.8px;margin:0;color:#6d705f}.paper-masthead p:last-child{font-family:Georgia,serif;font-style:italic;font-size:13px;letter-spacing:.2px;margin-top:7px}.paper-masthead h2{font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:clamp(32px,4.4vw,59px);line-height:1.1;letter-spacing:-2.5px;margin:8px 0}.paper-star{font-size:32px;color:#8b8d67}.paper-dateline{border-top:3px double #69715d;border-bottom:1px solid #737864;padding:9px 0;font-size:7px;letter-spacing:1px}.news-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:0;padding-top:25px}.news-card{min-width:0;padding:0 20px 22px;border-right:1px solid #cecbb9}.news-card:last-child{border:0}.news-card a{display:flex;flex-direction:column;height:100%}.news-card.lead-story{grid-row:span 2;padding-left:0}.news-card:nth-child(2){grid-column:2/-1;border:0;padding-right:0;padding-left:22px;border-bottom:1px solid #cecbb9;padding-bottom:20px;margin-bottom:22px}.news-card:nth-child(2)>a{display:grid;grid-template-columns:1.05fr 1fr;column-gap:20px;align-content:start}.news-card:nth-child(2) .news-image{grid-row:span 4;aspect-ratio:1;align-self:start;margin:0}.news-card:nth-child(2) .news-meta{margin-top:12px}.news-card:nth-child(3){padding-left:22px}.news-card:nth-child(4){padding-right:0}.news-image{margin:0 0 15px;aspect-ratio:1.5;overflow:hidden;background:#ded7c4}.news-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.8)}.news-image.ouroboros{aspect-ratio:1;background:#ded4b7}.news-image.ouroboros img{object-fit:contain;mix-blend-mode:multiply;padding:8px}.news-image.fireflies img{object-position:50% 40%}.news-category{font-size:8px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:#78805f}.news-card h3{font-family:Georgia,serif;font-size:24px;line-height:1.14;letter-spacing:-.6px;margin:8px 0 12px;font-weight:600}.news-card.lead-story h3{font-size:35px;letter-spacing:-1px;margin-top:12px}.news-card p{font-family:Georgia,serif;font-size:13px;line-height:1.7;color:#686d5e;margin:0 0 16px}.news-meta{display:flex;justify-content:space-between;gap:8px;font-size:7px;letter-spacing:.6px;border-top:1px solid #d7d1c0;padding-top:10px;margin-top:auto}.news-card a:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.paper-end{border-top:3px double #737864;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0}.paper-end p{font-family:Georgia,serif;font-size:12px;color:#6d705f;margin:0;max-width:580px}.paper-end strong{color:#34382e;font-weight:600}.paper-end a{font-size:10px;white-space:nowrap}.discovery-submit{border-top:1px solid #c5c5af;margin-inline:-30px;background:#e9e8d9}.discovery-submit summary{list-style:none;cursor:pointer;padding:18px 30px;font-size:11px;display:flex;justify-content:space-between;gap:12px}.discovery-submit summary::-webkit-details-marker{display:none}.discovery-submit summary span{font-size:18px;line-height:1.2}.discovery-submit[open] summary{border-bottom:1px solid #c5c5af}.discovery-submit summary:focus-visible{outline:3px solid #ad633d;outline-offset:-5px}.discovery-inner{padding:8px 30px 25px;max-width:780px;margin:auto}.discovery-inner h3{font-family:Georgia,serif;font-size:26px;margin:18px 0 8px;font-weight:500}.discovery-inner>p{font-size:12px;color:#6d705f}.discovery-inner form>label,.discovery-fields>label{display:block;font-size:11px;margin:15px 0;color:#626a57}.discovery-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.discovery-inner input:not([type=checkbox]),.discovery-inner textarea{display:block;width:100%;margin-top:6px;border:1px solid #c5c5af;border-radius:5px;background:#fffdf5;color:#303d32;padding:11px;font:inherit;font-size:13px}.discovery-inner textarea{resize:vertical;min-height:100px}.discovery-inner .consent{display:flex;gap:9px;font-size:10px}.discovery-inner button{margin-top:8px}.discovery-inner [role=status]{font-size:12px;color:var(--green)}.story-page{padding-top:25px;padding-bottom:55px}.back-news{font-size:11px;color:var(--muted);display:inline-block;margin-bottom:30px;padding:8px 0}.story-kicker{text-align:center;font-size:9px;letter-spacing:1.8px;text-transform:uppercase;padding:14px;border-block:1px solid #c3c8b5}.story-heading{max-width:900px;margin:35px auto 27px;text-align:center}.story-heading h1{font-family:Georgia,serif;font-size:clamp(37px,5vw,65px);font-weight:500;line-height:1.09;letter-spacing:-2px;margin:0 0 22px}.story-deck{font-family:Georgia,serif;font-size:22px;color:#6a735f;max-width:720px;margin:0 auto 24px;line-height:1.6}.story-meta{font-size:10px;color:var(--muted);display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.story-hero{max-width:900px;margin:30px auto 40px}.story-hero img{display:block;width:100%;height:470px;object-fit:cover;background:#e4ddcb}.story-hero.ouroboros img{object-fit:contain;background:#e4ddcb;padding:20px;mix-blend-mode:multiply}.story-hero figcaption{font-size:10px;color:#6b7462;line-height:1.8;margin-top:13px;max-width:820px}.story-hero figcaption a{text-decoration:underline;text-underline-offset:3px}.story-body{max-width:670px;margin:auto;font-family:Georgia,serif;font-size:19px;line-height:1.85}.story-body>p{margin:0 0 24px}.story-body h2{font-size:29px;line-height:1.25;font-weight:500;letter-spacing:-.5px;margin:36px 0 18px}.discovery-note{padding:22px 26px;background:#e8ecdd;border-left:3px solid #8b9c6b;margin-block:30px}.discovery-note strong{font-family:'Trebuchet MS',sans-serif;font-size:12px}.discovery-note p{font-size:16px;margin:8px 0 0;line-height:1.8}.wonder-box{border-block:1px solid #d0d6c2;margin-top:40px;padding:24px 0 30px}.wonder-box h2{font-size:27px;margin:15px 0 23px}.wonder-box .eyebrow,.wonder-box a{font-family:'Trebuchet MS',sans-serif}.story-sources{padding-top:12px;font-family:'Trebuchet MS',sans-serif}.story-sources h2{font-family:Georgia,serif;font-size:24px}.story-sources p,.story-sources li{font-size:12px;line-height:1.9;color:#6d7564}.story-sources ul{padding-left:20px}.story-sources a{text-decoration:underline}.related{margin-top:55px;padding-top:28px;border-top:3px double #919b81}.related>div{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:22px}.related a{padding-right:20px;border-right:1px solid var(--line)}.related a:last-child{border:0}.related span{font-size:9px;color:var(--muted)}.related h3{font-family:Georgia,serif;font-size:23px;line-height:1.25;font-weight:500;margin:9px 0 18px}.related a:hover h3{text-decoration:underline}
@media(max-width:1000px){.news-card{padding-inline:15px}.news-card.lead-story h3{font-size:29px}.news-card h3{font-size:21px}.news-card:nth-child(2)>a{column-gap:15px}.news-meta{flex-wrap:wrap}.newspaper{padding-inline:22px}.discovery-submit{margin-inline:-22px}.paper-masthead h2{font-size:45px}.paper-dateline{font-size:6px}.paper-end{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:700px){.newspaper{padding:18px 17px 0;margin-bottom:42px;margin-top:0}.paper-strap{font-size:6px;gap:10px;letter-spacing:.4px}.paper-masthead{gap:8px;padding-block:17px}.paper-star{font-size:19px}.paper-masthead h2{font-size:clamp(24px,6vw,36px);letter-spacing:-1.1px;margin:7px 0}.paper-masthead p{font-size:6px;letter-spacing:1px}.paper-masthead p:last-child{font-size:10px;letter-spacing:0}.paper-dateline{gap:8px;font-size:6px;letter-spacing:.5px}.paper-dateline>span:nth-child(2){display:none}.news-grid{display:block;padding-top:20px}.news-card,.news-card.lead-story,.news-card:nth-child(2),.news-card:nth-child(3),.news-card:nth-child(4){padding:0 0 22px;margin:0 0 22px;border:0;border-bottom:1px solid #cecbb9}.news-card:last-child{border-bottom:0;margin-bottom:0;padding-bottom:20px}.news-card:nth-child(2)>a{display:flex}.news-card .news-image,.news-card:nth-child(2) .news-image{width:100%;aspect-ratio:1.5;margin:0 0 14px}.news-card.lead-story .news-image{aspect-ratio:1.2}.news-card h3,.news-card.lead-story h3{font-size:29px;margin:9px 0 12px;letter-spacing:-.7px}.news-card p{font-size:14px}.news-meta{font-size:7px}.news-category{font-size:8px}.paper-end{padding-block:16px}.paper-end p{font-size:12px;line-height:1.8}.discovery-submit{margin-inline:-17px}.discovery-submit summary{padding:16px 17px;font-size:10px}.discovery-inner{padding-inline:17px}.discovery-fields{grid-template-columns:1fr;gap:0}.discovery-fields>label{margin-block:10px}.discovery-inner h3{font-size:24px}.discovery-inner form>label{font-size:10px}.story-page{padding-top:12px;padding-bottom:40px}.back-news{font-size:10px;margin-bottom:18px}.story-kicker{font-size:7px;letter-spacing:1px;padding-inline:3px}.story-heading{margin-top:26px}.story-heading h1{font-size:37px;letter-spacing:-1.4px}.story-deck{font-size:19px;line-height:1.6}.story-meta{font-size:8px;gap:8px}.story-hero{margin:25px 0 30px}.story-hero img{height:270px}.story-hero.ouroboros img{height:320px;padding:12px}.story-hero figcaption{font-size:9px;overflow-wrap:anywhere}.story-body{font-size:18px;line-height:1.85}.story-body h2{font-size:27px}.discovery-note{padding:17px 20px}.discovery-note p{font-size:16px}.wonder-box h2{font-size:25px}.related>div{grid-template-columns:1fr;gap:18px}.related a{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px}.related h3{font-size:24px;margin-bottom:10px}.story-sources a{overflow-wrap:anywhere}}
@media(max-width:700px){.header nav>a:first-child{display:block}.header nav>a[href$="#team"],.header nav>a[href="/firststone"]{display:none}.header nav{font-size:9px;gap:12px}.header .nav-pill{padding:8px 10px}}

/* Children lead; adult supporters have a quieter, separate treatment. */
.leadership-layout{display:grid;grid-template-columns:2fr 1fr;gap:40px;align-items:start}
.leadership-layout .team-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start}
.leader-portrait{height:100%;width:240px;max-width:100%;object-fit:contain}
.leadership-layout .role{color:var(--green);font-size:12px}
.leadership-note{padding:25px 0 0 20px;border-left:2px solid var(--yellow)}
.leadership-note h3{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:18px 0}
.leadership-note p{font-size:13px;color:var(--muted);line-height:1.9}
.leadership-note .text-link{margin-top:12px;font-size:11px}
.board-section{padding-block:30px 64px;border-top:1px solid var(--line)}
.board-heading{max-width:780px}
.board-heading h2{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin:12px 0 18px;font-weight:550}
.board-heading p,.board-growth{font-size:12px;line-height:1.9;color:var(--muted)}
.board-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;margin-top:25px}
.board-member{border:1px solid var(--line);border-radius:9px;background:#fffbf375;min-width:0;align-self:start}
.board-member summary{display:flex;gap:16px;align-items:center;cursor:pointer;padding:14px 18px;list-style:none}
.board-member summary::-webkit-details-marker,.fundraising-preview summary::-webkit-details-marker{display:none}
.board-portrait{width:68px;height:58px;object-fit:contain;flex-shrink:0}
.board-identity{display:flex;flex-direction:column;min-width:0}
.board-identity strong{font-size:17px;font-weight:600}
.board-identity>span{font-size:11px;color:var(--green)}
.board-toggle{margin-left:auto;font-size:10px;white-space:nowrap}
.board-toggle>span{display:inline-block;margin-left:9px}
.board-member[open] .board-toggle>span{transform:rotate(45deg)}
.board-bio{padding:0 24px 16px;border-top:1px solid var(--line)}
.board-bio p{font-size:12px;line-height:1.9;color:var(--muted);max-width:700px}
.board-growth{margin-top:18px;max-width:700px}
.board-member summary:focus-visible,.fundraising-preview summary:focus-visible{outline:3px solid #ad633d;outline-offset:3px;border-radius:8px}
.fundraising-preview{border-block:1px solid var(--line);margin-top:32px}
.fundraising-preview>summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:17px 0;font-size:12px;font-weight:600}
.fundraising-preview[open]>summary>span{transform:rotate(45deg)}
.fundraising-content{padding:10px 0 20px}
.demo-label{display:inline-block;font-size:10px;padding:4px 10px;border:1px solid #cdb88e;border-radius:20px;background:#f6e8cd;color:#70552c}
.fundraising-content h3{font-size:22px;letter-spacing:-.5px;margin:16px 0 8px}
.fundraising-note{font-size:12px;color:var(--muted)}
.funding-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0 0}
.funding-metric{border:1px solid var(--line);border-radius:8px;padding:18px;min-width:0}
.funding-metric dt{font-size:11px;font-weight:600}
.funding-metric dd{margin:10px 0;font-size:25px;overflow-wrap:anywhere}
.funding-metric p{font-size:10px;color:var(--muted);margin:0}
@media(max-width:1000px){.leadership-layout{grid-template-columns:3fr 2fr;gap:25px}.funding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.leadership-layout{grid-template-columns:1fr;gap:24px}.leadership-note{padding-top:0}.leadership-note h3{font-size:26px}.board-section{padding-block:25px 42px}.board-heading h2{font-size:23px}.board-member summary{gap:10px;padding:14px 12px}.board-portrait{width:45px;height:45px}.board-identity>span{font-size:10px}.board-toggle{font-size:9px}.board-toggle>span{margin-left:3px}.funding-grid{gap:10px}.funding-metric{padding:12px}.header nav>a[href="#team"]{display:block}.header nav{flex-wrap:wrap;justify-content:flex-end;column-gap:12px;row-gap:2px}.header{gap:15px}}

/* Open roles: real responsibility, plenty of room to learn. */
.hiring-section{margin-top:42px;padding-top:34px;border-top:1px solid var(--line)}
.hiring-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:25px}
.hiring-heading h3{font-size:38px;line-height:1.15;letter-spacing:-1.2px;margin:10px 0 0;font-weight:550}
.hiring-heading>p{font-size:13px;line-height:1.9;color:var(--muted);max-width:520px;margin:0}
.hiring-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hiring-card{border:1px solid var(--line);border-radius:12px;padding:24px;background:#fffdf6;display:flex;flex-direction:column;align-items:start;min-width:0}
.hiring-card:first-child{background:#e9eddc;border-color:#bdc9a9}
.open-badge{font-size:8px;letter-spacing:1.4px;font-weight:700;color:var(--green);border:1px solid #bac5a9;padding:3px 8px;border-radius:20px}
.hiring-card h4{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:18px 0 12px}
.hiring-card>strong{font-size:11px;font-weight:600}
.hiring-card>p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:22px}
.hiring-card .text-link{margin-top:auto;font-size:11px}
.join-panel{margin-top:24px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.join-panel>summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;padding:19px 24px;font-size:13px;list-style:none;background:#e9eddc}
.join-panel>summary::-webkit-details-marker{display:none}
.join-panel[open]>summary>span{transform:rotate(45deg)}
.join-panel summary:focus-visible{outline:3px solid #ad633d;outline-offset:-4px}
.join-inner{padding:5px 24px 22px;max-width:760px;margin:auto}
.join-inner h4{font-size:24px;margin:22px 0 10px}
.join-inner>p{font-size:12px;color:var(--muted);line-height:1.9}
.join-inner form>label,.join-fields>label{display:block;font-size:12px;margin:15px 0}
.join-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.join-inner input:not([type=checkbox]),.join-inner select,.join-inner textarea{display:block;width:100%;min-width:0;margin-top:6px;border:1px solid #bdc5af;border-radius:6px;background:#fffdf6;padding:11px;color:var(--ink);font:inherit;font-size:14px}
.join-inner select:focus-visible,.join-inner textarea:focus-visible{outline:3px solid #ad633d;outline-offset:3px}
.join-inner textarea{resize:vertical}
.join-inner .consent{display:flex;font-size:11px}
#join-status{font-size:12px;color:var(--green)}
.news-byline{font-size:9px;color:#59634d;margin-bottom:8px}
/* A cover-led shelf immediately below the newsroom. */
.books-section{padding-block:12px 60px}
.books-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}
.books-heading h2{font-size:38px;line-height:1.15;letter-spacing:-1.3px;font-weight:550;margin:14px 0 0}
.books-heading>div:last-child{max-width:440px}
.books-heading p{font-size:13px;color:var(--muted);line-height:1.9;margin:0 0 8px}
.books-heading .books-small{font-size:11px;margin-bottom:0}
.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
.book-card{min-width:0;display:flex;flex-direction:column}
.book-cover{position:relative;display:flex;align-items:center;justify-content:center;background:#e6e8d8;border:1px solid #d5dac6;border-radius:9px;padding:20px 18px;aspect-ratio:3/4;overflow:hidden}
.book-cover img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(4px 6px 3px #303d3238);transition:transform .2s ease}
.book-cover:hover img{transform:translateY(-3px) rotate(-2deg)}
.book-card:nth-child(3n+2) .book-cover{background:#f0e1cb;border-color:#ded2bc}
.book-card:nth-child(3n) .book-cover{background:#e1e9e7;border-color:#cbd9d5}
.book-number{position:absolute;top:7px;left:8px;font-size:9px;letter-spacing:1px;color:#59634d}
.book-info{padding-top:15px;flex:1;display:flex;flex-direction:column;align-items:start}
.book-theme{font-size:8px;letter-spacing:.7px;text-transform:uppercase;color:var(--green);font-weight:700}
.book-info h3{font-family:Georgia,serif;font-weight:500;font-size:21px;line-height:1.2;margin:7px 0;letter-spacing:-.4px}
.book-author{font-size:10px;color:#59634d;margin:0 0 10px}
.book-description{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 16px}
.book-actions{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.book-like{display:flex;gap:6px;align-items:center;border:1px solid #bdc5af;border-radius:20px;background:#fffdf6;padding:7px 10px;font-size:10px;min-height:36px}
.book-like[aria-pressed=true]{background:#e1e9d8;border-color:#718564}
.book-like>[aria-hidden]{font-size:17px;line-height:1;color:var(--green)}
.like-count{font-variant-numeric:tabular-nums;font-size:9px;color:#59634d}
.book-actions>a{font-size:9px;text-decoration:underline;text-underline-offset:3px}
.book-credits,.books-status{font-size:10px;color:var(--muted);line-height:1.8;margin-top:24px}
.book-credits{max-width:850px;margin-top:10px}
.book-credits a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hiring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.books-heading h2{font-size:33px}}
@media(max-width:700px){.books-section{padding-block:0 38px}.books-heading,.hiring-heading{display:block}.books-heading h2{font-size:31px}.books-heading>div:last-child{margin-top:18px}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}.book-cover{padding:18px 13px 12px}.book-info h3{font-size:20px}.book-theme{font-size:7px}.book-description{font-size:11px}.book-actions{gap:8px}.book-like{min-height:42px}.book-actions>a{padding:5px 0}.hiring-heading h3{font-size:32px}.hiring-heading>p{margin-top:18px}.hiring-grid{grid-template-columns:1fr}.hiring-card{padding:22px}.join-fields{grid-template-columns:1fr;gap:0}.join-inner{padding-inline:18px}.join-panel>summary{padding-inline:18px}.join-inner input:not([type=checkbox]),.join-inner textarea,.join-inner select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.book-cover img{transition:none}}

/* A separate, link-only build log for the ideas we’re bringing to life. */
.features-page{padding-block:35px 65px}
.features-intro{max-width:850px;margin-bottom:55px}
.features-intro h1{font-size:clamp(40px,5vw,64px);letter-spacing:-2px;line-height:1.15}
.features-intro>p{font-size:15px;line-height:1.9;max-width:620px;color:var(--muted)}
.feature-jumps{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.feature-jumps a{border:1px solid #bdc5af;border-radius:25px;padding:10px 17px;font-size:12px;background:#fffdf6}
.feature-jumps a:hover{background:var(--soft)}
.feature-jumps span{font-weight:700;margin-inline:9px}
.feature-section{padding-block:30px 15px;border-top:1px solid var(--line);margin-top:30px}
.feature-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:25px}
.feature-section-heading h2{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:12px 0 0;font-weight:550}
.feature-section-heading>p{font-size:12px;line-height:1.9;color:var(--muted);max-width:420px;margin:0}
.feature-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.feature-card{padding:25px;border:1px solid var(--line);border-radius:12px;background:#fffdf6;min-width:0}
.feature-state{display:inline-block;border:1px solid #cdb88e;background:#f6e8cd;color:#70552c;border-radius:20px;padding:3px 10px;font-size:9px;font-weight:600}
.feature-state.shipped{border-color:#bdc9a9;background:#e9eddc;color:#426038}
.feature-card h3{font-size:21px;line-height:1.3;letter-spacing:-.4px;margin:17px 0 10px}
.feature-card p{font-size:13px;line-height:1.9;color:var(--muted);margin:0}
.feature-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.feature-meta time{font-size:10px;color:var(--muted)}
.feature-outro{margin-top:40px;font-size:12px;color:var(--muted);line-height:2}
.feature-outro a{margin-left:8px}
@media(max-width:700px){.features-page{padding-block:20px 40px}.features-intro{margin-bottom:35px}.features-intro h1{font-size:40px;letter-spacing:-1.4px}.features-intro>p{font-size:13px}.feature-section-heading{display:block}.feature-section-heading>p{margin-top:16px}.feature-section-heading h2{font-size:29px}.feature-grid{grid-template-columns:1fr;gap:14px}.feature-card{padding:22px}.feature-jumps{gap:10px}.feature-jumps a{font-size:11px;padding-inline:13px}.features-page+.footer{margin-top:0}.feature-outro a{margin-left:0}.features-intro h1 span{overflow-wrap:break-word}}

/* Books are for borrowing and sharing with friends. */
.books-section .book-cover{aspect-ratio:4/3}
.book-borrow-note{font-size:10px;color:var(--green)}

/* Compact task rows and Gantt bars; the table scrolls inside the page on mobile. */
.features-page .features-intro{max-width:900px;margin-bottom:24px}
.features-page .features-intro h1{font-size:clamp(36px,4vw,52px);margin:16px 0}
.features-page .features-intro>p{font-size:13px;max-width:720px}
.features-page .feature-jumps{margin-top:18px}



.features-page .feature-section{margin-top:24px;padding-top:24px}
.features-page .feature-section-heading{margin-bottom:16px}
.features-page .feature-section-heading h2{font-size:27px;margin-top:8px}
.task-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:#fffdf6}
.task-scroll:focus-visible{outline:3px solid #ad633d;outline-offset:4px}
.task-table{width:100%;min-width:940px;table-layout:fixed;border-collapse:collapse;font-size:11px}
.task-col{width:21%}.description-col{width:25%}.date-col{width:8%}.timeline-col{width:38%}
.task-table th,.task-table td{text-align:left;border-bottom:1px solid var(--line);padding:10px 12px;vertical-align:middle}
.task-table thead th{background:#e9eddc;font-size:10px;font-weight:600}
.task-table tbody tr:last-child>*{border-bottom:0}
.task-table tbody th{font-weight:600}
.task-table tbody tr:hover{background:#f0f1e6}
.task-name{display:block;margin-top:4px;line-height:1.4}
.task-table .feature-state{font-size:8px;padding:1px 6px;line-height:1.4}
.task-description{color:#59634d;line-height:1.6}
.task-table time,.not-yet{white-space:nowrap;font-size:10px}
.not-yet{color:var(--muted)}
.timeline-month{font-size:9px}
.gantt-axis{height:20px;position:relative;margin-top:5px;font-size:9px;color:#59634d}
.gantt-axis span{position:absolute;bottom:0}
.gantt-track{position:relative;height:20px;background:repeating-linear-gradient(to right,#d7dbc9 0,#d7dbc9 1px,transparent 1px,transparent calc(100% / var(--days)));border-right:1px solid var(--line)}
.gantt-bar{position:absolute;top:4px;height:12px;background:#799865;border:1px solid #526e48;border-radius:4px}
.gantt-queued{position:absolute;top:5px;width:10px;height:10px;border:2px solid #aa7e37;border-radius:50%;background:#f6e8cd}
.table-scroll-hint{display:none;font-size:10px;color:var(--muted);margin:0 0 9px}
.kid-power-invite{margin-top:32px;padding:28px 30px;border:1px solid #bdc9a9;border-radius:12px;background:#e9eddc}
.kid-power-invite h2{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:12px 0}
.kid-power-invite p{font-size:13px;color:#59634d;max-width:650px;line-height:1.9;margin-bottom:20px}
.kid-power-invite .button{display:inline-block}
@media(max-width:1000px){.table-scroll-hint{display:block}.header nav{gap:18px}}
@media(max-width:700px){.features-page .features-intro h1{font-size:37px}.kid-power-invite{padding:22px}.kid-power-invite h2{font-size:26px}.features-page .feature-section-heading h2{font-size:26px}}
.feature-teaser{margin-bottom:26px}
.feature-teaser>a{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;border:1px solid var(--line);border-radius:12px;background:#fffdf6}
.feature-teaser>a:hover{background:#e9eddc}
.feature-teaser h2{font-size:24px;line-height:1.3;letter-spacing:-.6px;margin:9px 0 5px;font-weight:550}
.feature-teaser p{font-size:12px;color:var(--muted);margin:0}
.feature-teaser .text-link{flex-shrink:0;font-size:11px}
@media(max-width:700px){.feature-teaser>a{align-items:flex-start;flex-direction:column;gap:15px;padding:22px}.feature-teaser h2{font-size:23px}}
@media(max-width:1000px){.header{gap:20px}.header nav{flex-wrap:wrap;justify-content:flex-end;gap:4px 16px}}

/* Guest nicknames and a little old-school arcade hall of fame. */
.player-greeting{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:9px 0}
.player-greeting p{font-size:11px;line-height:1.6;color:var(--green);margin:0;overflow-wrap:anywhere}
.player-greeting button,.name-actions button,.score-retry{font-size:10px;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:7px 0;flex-shrink:0}
.player-name-panel{margin-top:16px;border:1px solid #bdc9a9;border-radius:10px;padding:18px;background:#e9eddc}
.player-name-panel[hidden]{display:none}
.player-name-panel h3{font-size:20px;line-height:1.25;letter-spacing:-.4px;margin:0 0 9px}
.player-name-panel>p{font-size:11px;line-height:1.8;color:#59634d;margin:0 0 14px}
.player-name-panel label{font-size:11px;font-weight:600}
.gamer-name-row{display:flex;gap:8px;margin-top:6px}
.gamer-name-row input{min-width:0;flex:1;width:100%;border:1px solid #a7b697;border-radius:7px;padding:11px;background:#fffdf6;color:var(--ink);font-size:14px}
.gamer-name-row button{padding-inline:13px;font-size:11px}
.name-hint,.name-actions span{font-size:9px;line-height:1.7;color:#59634d}
.name-hint{margin:8px 0 2px}
.name-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
#player-name-status,.score-submit-status{font-size:11px;line-height:1.8;color:var(--green);margin:10px 0 0}
.score-submit-status:empty,#player-name-status:empty{display:none}
.arcade-leaderboard{margin-top:19px;background:#27392e;color:#f5edcc;border:1px solid #1c2b22;border-radius:12px;padding:20px;box-shadow:inset 0 0 0 4px #314636}
.arcade-leaderboard>header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #66825c;padding-bottom:14px}
.arcade-leaderboard .eyebrow{font-size:8px;letter-spacing:2px;color:#c8d7af}
.arcade-leaderboard h3{font-family:ui-monospace,monospace;font-size:21px;letter-spacing:2px;margin:7px 0 0;color:#edbd61}
.arcade-star{font-size:30px;color:#edbd61}
.arcade-leaderboard table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:ui-monospace,monospace;font-size:12px}
.arcade-leaderboard th{text-align:left;color:#c8d7af;font-size:9px;letter-spacing:1px;padding:13px 0 8px}
.arcade-leaderboard th:first-child{width:18%}
.arcade-leaderboard th:last-child{width:20%}
.arcade-leaderboard td{padding:7px 0;border-bottom:1px solid #ffffff0d;overflow-wrap:anywhere}
.arcade-leaderboard td:nth-child(2){padding-right:10px}
.arcade-leaderboard th:last-child,.arcade-leaderboard td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.arcade-leaderboard tbody tr:first-child:not(.arcade-empty){color:#edbd61}
.arcade-empty{color:#a5b698}
.arcade-leaderboard>p{font-size:9px;line-height:1.8;color:#c8d7af;margin:14px 0 2px}
.arcade-leaderboard>button{background:none;border:0;color:#f5edcc;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:9px 0 2px}
.arcade-leaderboard button:focus-visible{outline-color:#edbd61}
@media(max-width:700px){.gamer-name-row{flex-wrap:wrap}.gamer-name-row input{flex-basis:100%;font-size:16px}.gamer-name-row button{width:100%}.arcade-leaderboard{padding:18px}.arcade-leaderboard h3{font-size:20px}.arcade-leaderboard table{font-size:11px}.name-actions{align-items:flex-start;flex-direction:column;gap:0}}


/* Readable terms, with a short introduction for young visitors and families. */
.legal-page{padding-top:28px}
.legal-page h1{margin-bottom:12px}
.legal-page .legal-date{font-size:11px;margin-bottom:28px}
.legal-page>p,.legal-page section>p{font-size:14px;line-height:1.9}
.legal-page section{padding-top:14px;scroll-margin-top:25px}
.legal-page section h2{font-size:23px;line-height:1.35;letter-spacing:-.3px}
.legal-page a:not(.text-link){text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-summary{background:#e9eddc;border:1px solid #bdc9a9;border-radius:12px;padding:18px 24px;margin:28px 0}
.legal-summary h2{font-size:21px;margin:0 0 10px}
.legal-summary ul{margin:0;padding-left:20px;font-size:13px;line-height:1.9;color:#59634d}
.legal-nav{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;border-block:1px solid var(--line);padding-block:15px;margin-bottom:20px}
@media(max-width:700px){.legal-page>p,.legal-page section>p{font-size:13px}.legal-summary{padding:18px}.legal-page section h2{font-size:21px}}


/* One game box: playable board plus a narrow, plain top-ten column. */
.play-section{grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start;padding-top:25px;padding-bottom:42px}
.play-section>.intro{min-width:0}
.play-section .intro h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:18px 0}
.play-section .intro>.eyebrow{font-size:8px;letter-spacing:1px}
.play-section .intro>p{font-size:12px;line-height:1.8;max-width:none}
.play-section .hand-note{display:none}
.play-section .heading-star{width:22px;top:-9px;right:0}
.play-section .intro-bottom{font-size:9px;gap:6px;margin-top:22px}
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:20px;align-items:start}
.game-play-area{min-width:0}
.game-card .arcade-leaderboard{min-width:0;align-self:stretch;margin:0;padding:4px 0 0 16px;background:none;color:var(--ink);border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none}
.game-card .arcade-leaderboard>header{padding-bottom:10px;border-color:var(--line)}
.game-card .arcade-leaderboard .eyebrow{font-size:7px;letter-spacing:1px;color:var(--muted)}
.game-card .arcade-leaderboard h3{font-size:13px;letter-spacing:.5px;margin-top:5px;color:var(--ink)}
.game-card .arcade-star{display:none}
.game-card .arcade-leaderboard table{font-size:10px}
.game-card .arcade-leaderboard th{font-size:8px;letter-spacing:.2px;padding:11px 0 7px;color:var(--muted)}
.game-card .arcade-leaderboard th:first-child{width:21%}
.game-card .arcade-leaderboard th:last-child{width:24%}
.game-card .arcade-leaderboard td{padding:6px 0;border-color:var(--line)}
.game-card .arcade-leaderboard td:nth-child(2){padding-right:7px}
.game-card .arcade-leaderboard tbody tr:first-child:not(.arcade-empty){color:var(--green);font-weight:700}
.game-card .arcade-empty{color:var(--muted)}
.game-card .arcade-leaderboard>p{font-size:9px;line-height:1.6;color:var(--muted);margin-top:11px}
.game-card .arcade-leaderboard>button{color:var(--green);font-size:9px}
.game-card .arcade-leaderboard button:focus-visible{outline-color:#ad633d}
@media(max-width:1100px) and (min-width:701px){.play-section{grid-template-columns:1fr;gap:18px}.play-section>.intro{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:26px;align-items:center}.play-section .intro>.eyebrow{grid-column:1/-1}.play-section .intro h1{grid-column:1;grid-row:2/4;margin-block:12px}.play-section .intro>p{grid-column:2;grid-row:2;margin-block:10px}.play-section .intro-bottom{grid-column:2;grid-row:3;margin-top:0}}
@media(max-width:700px){.play-section{grid-template-columns:1fr;gap:20px;padding-top:16px;padding-bottom:30px}.play-section .intro h1{font-size:29px;margin-block:14px}.play-section .intro>p{font-size:12px;max-width:480px}.play-section .intro-bottom{margin-top:14px}.game-layout{grid-template-columns:1fr;gap:18px}.game-card .arcade-leaderboard{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.game-card .arcade-leaderboard table{font-size:11px}.game-card .arcade-leaderboard h3{font-size:14px}.game-card .arcade-leaderboard>p{max-width:320px}}

/* Optional Google sign-in stays within the existing Snake card. */
.auth-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0 15px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.auth-controls>div:first-child{min-width:0;max-width:490px}
#auth-summary{font-size:11px;color:var(--muted);line-height:1.7;margin:0}
#auth-status{font-size:11px;color:var(--green);line-height:1.7;margin:5px 0 0}
#auth-status:empty{display:none}
.auth-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0;max-width:230px}
.auth-text-button{background:none;border:0;padding:8px 0;color:var(--green);font-size:11px;text-decoration:underline;text-underline-offset:3px}
#google-signin-button{min-height:32px}
#google-signin-button[hidden]{display:none}
@media(max-width:1000px){.auth-controls{align-items:flex-start;flex-direction:column;gap:10px}.auth-actions{max-width:100%}}

/* Compact colour controls and square, nearest-neighbour game pixels. */
#board{image-rendering:pixelated;image-rendering:crisp-edges}
.snake-customise{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.snake-colours{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.snake-control-label,.snake-speed{font:9px ui-monospace,monospace;letter-spacing:.5px;color:var(--muted)}
.snake-control-label{margin-right:3px}
.snake-swatch{width:28px;height:28px;padding:0;border:2px solid #fffdf6;border-radius:3px;background:var(--swatch);box-shadow:0 0 0 1px var(--line)}
.snake-swatch[aria-pressed="true"]{box-shadow:0 0 0 2px var(--ink)}
.snake-rainbow{background:linear-gradient(135deg,#dc6868 0 17%,#dc9942 17% 33%,#d9c441 33% 50%,#65a259 50% 67%,#428fc6 67% 83%,#9371c2 83%)}
.snake-custom-colour{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);cursor:pointer}
#snake-colour{width:30px;height:28px;padding:2px;border:1px solid var(--line);border-radius:3px;background:#fffdf6;cursor:pointer}
.snake-speed{white-space:nowrap}.snake-speed strong{color:var(--green);font-size:12px}
@media(pointer:coarse){.snake-swatch{width:32px;height:32px}.snake-colours{gap:9px}#snake-colour{width:34px;height:32px}}

/* Account controls belong to the page, leaving the arcade for play. */
.account-bar{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:0;margin-top:-15px;margin-bottom:8px}
.account-bar #auth-status{max-width:460px;margin:0;font-size:10px}
.account-bar .auth-actions{max-width:none}
.word-story{margin-top:24px;border-block:1px solid var(--line);padding:22px 0}
.word-story h3{font-family:Georgia,serif;font-size:25px;margin:7px 0 10px}
.word-story summary{cursor:pointer;font-size:12px;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.word-story details>p{max-width:760px;font-size:13px;line-height:1.9;color:var(--muted)}
.word-story .word-credit{font-size:10px}.word-credit a{text-decoration:underline;text-underline-offset:3px}
.news-quiz{padding:28px 0 10px}.quiz-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px}
.quiz-heading h2{font-family:Georgia,serif;font-size:35px;letter-spacing:-1px;margin:4px 0 6px}
.quiz-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}
.quiz-progress{max-width:280px}.quiz-progress #quiz-points{color:var(--green);font-weight:700;font-size:13px}
.quiz-progress>span{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.7}
#quiz-signin{display:inline-block;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding-top:7px}
#quiz-signin[hidden]{display:none}.quiz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.quiz-card{border:1px solid #cbd1ba;padding:20px;background:#fffdf6;min-width:0;display:flex;flex-direction:column}
.quiz-kicker{display:flex;justify-content:space-between;gap:10px;font:8px ui-monospace,monospace;letter-spacing:.5px;color:var(--muted)}
.quiz-kicker>span:last-child{color:var(--green);white-space:nowrap}
.quiz-card h3{font-family:Georgia,serif;font-size:23px;line-height:1.3;margin:16px 0;min-height:90px;font-weight:500}
.quiz-options{display:grid;gap:8px}.quiz-option{border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:12px;text-align:left;font-size:12px;line-height:1.6;min-height:60px}
.quiz-option:hover:not(:disabled){background:#e9eddc;border-color:#779462}.quiz-option:disabled{opacity:1}
.quiz-option.quiz-correct{border-color:#526e48;background:#e6edd9;color:#344d2e}.quiz-option.quiz-try-again{border-color:#bd9653;background:#fbefd8}
.quiz-clue{display:block;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding-top:14px;color:var(--green)}
.quiz-feedback{font-size:12px;line-height:1.8;color:var(--green);margin:12px 0 0}.quiz-feedback:empty{display:none}
.quiz-unlocked .quiz-kicker>span:last-child{font-weight:700}.quiz-unlocked{border-color:#779462}
@media(max-width:900px){.quiz-grid{grid-template-columns:1fr}.quiz-card h3{min-height:0}.quiz-heading{align-items:flex-start;flex-direction:column;gap:12px}.quiz-progress{max-width:none}}
@media(max-width:700px){.account-bar{margin-top:-4px;flex-wrap:wrap;gap:6px}.account-bar #auth-status{flex-basis:100%;text-align:right}.quiz-card{padding:17px}.quiz-heading h2{font-size:30px}}

/* The board starts directly below the title; controls live beside it. */
.play-section{padding-top:12px}
.game-card .game-top{align-items:center;gap:16px;margin-bottom:12px}
.game-card .game-top h2{font-size:22px;line-height:1.2;margin:0;flex-shrink:0}
.game-top .player-greeting{border:0;padding:0;min-width:0;max-width:350px;flex-direction:column;align-items:flex-end;gap:0;text-align:right}
.game-top .player-greeting p{font-size:11px;line-height:1.5}
.game-top .player-greeting button{font-size:9px;padding:2px 0}
.board-stage{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start}
.board-stage .snake-customise{margin:0;display:block}
.board-stage .snake-colours{display:flex;flex-direction:column;align-items:center;gap:10px}
.board-stage .snake-control-label{font-size:7px;line-height:1.5;letter-spacing:.3px;margin:0;text-align:center}
.board-stage .snake-swatch{width:30px;height:30px;flex-shrink:0}
.board-stage .snake-custom-colour{flex-direction:column;gap:3px;font-size:9px}
.game-card .arcade-leaderboard{padding-top:0}
.arcade-stats{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:15px}
.arcade-stats .scorebar{display:grid;grid-template-columns:1fr;gap:8px;border:0;padding:0}
.arcade-stats .scorebar>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:8px}
.arcade-stats .scorebar strong{font-size:24px;margin:0}
.arcade-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;flex-wrap:wrap}
.arcade-tools #sound{border:0;background:none;padding:4px 0;font-size:9px;color:var(--muted)}
.arcade-tools .snake-speed{font-size:8px;letter-spacing:0}
@media(max-width:1100px){.play-section>.game-card{order:-1}}
@media(max-width:550px){
 .game-card .game-top{gap:10px;margin-bottom:10px;align-items:flex-start}
 .game-card .game-top h2{font-size:19px;letter-spacing:-.6px}
 .game-top .player-greeting p{font-size:9px}
 .game-top .player-greeting button{font-size:8px}
 .board-stage{grid-template-columns:minmax(0,1fr);gap:12px}
 .board-stage .board-wrap{grid-row:1}
 .board-stage .snake-customise{grid-row:2}
 .board-stage .snake-colours{flex-direction:row;gap:9px;flex-wrap:wrap;justify-content:flex-start}
 .board-stage .snake-control-label{max-width:35px}
 .board-stage .snake-custom-colour{flex-direction:row;gap:4px}
 .board-stage .snake-swatch{width:28px;height:28px}
 .arcade-stats .scorebar{grid-template-columns:1fr 1fr;gap:20px}
 .arcade-stats .scorebar>span{flex-wrap:wrap}
 .arcade-tools{margin-top:8px}
}

/* A saved high score earns a moment in the spotlight. */
.score-celebration{position:fixed;max-width:calc(100vw - 32px);width:460px;max-height:calc(100dvh - 32px);padding:0;border:2px solid #779462;border-radius:20px;background:#fffdf6;color:var(--ink);box-shadow:0 18px 90px #17251e55;overflow:visible;text-align:center}
.score-celebration::backdrop{background:#203329b8}
.score-celebration:not([open]){display:none}
.celebration-content{position:relative;padding:28px 30px;z-index:1;max-height:calc(100dvh - 40px);overflow:auto}
.score-celebration.is-champion{width:550px;border:3px solid var(--yellow);background:#fff9e8}
.celebration-badge{display:block;font-size:65px;line-height:1.2;margin-bottom:10px}
.is-champion .celebration-badge{font-size:88px}
.celebration-kicker{font:10px ui-monospace,monospace;letter-spacing:1.5px;color:var(--green);margin:12px 0}
.score-celebration h2{font-size:36px;line-height:1.1;letter-spacing:-1.2px;margin:12px 0 18px}
.is-champion h2{font-size:48px}
#celebration-copy{font-size:15px;line-height:1.8;margin:0 auto;max-width:400px;overflow-wrap:anywhere}
.celebration-claps{font-size:30px;letter-spacing:5px;margin:16px 0}
.celebration-content>.button{display:block;margin:14px auto 10px}
.celebration-sound{display:block;border:0;background:none;text-decoration:underline;text-underline-offset:3px;font-size:12px;margin:0 auto;padding:5px;color:var(--green)}
.celebration-sound[hidden]{display:none}.celebration-tip{display:block;font-size:10px;color:var(--muted)}
.celebration-confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.celebration-confetti i{position:absolute;top:-20px;left:var(--x);width:9px;height:16px;animation:score-confetti 3s var(--delay) ease-in forwards;opacity:0}
@keyframes score-confetti{0%{opacity:1;transform:translate3d(0,-20px,0) rotate(0)}85%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift),105vh,0) rotate(var(--spin))}}
@keyframes score-cheer{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-7px) rotate(5deg)}}
@media(prefers-reduced-motion:no-preference){.celebration-claps{animation:score-cheer .65s ease-in-out 4}.is-champion .celebration-badge{animation:score-cheer .75s ease-in-out 3}}
@media(prefers-reduced-motion:reduce){.celebration-confetti{display:none}}
@media(max-width:550px){.celebration-content{padding:22px 18px}.score-celebration h2{font-size:31px}.is-champion h2{font-size:38px}.is-champion .celebration-badge{font-size:65px}#celebration-copy{font-size:13px}}

.celebration-badge svg{display:block;margin:auto;width:72px;height:72px}.is-champion .celebration-badge svg{width:88px;height:88px}.celebration-claps{display:flex;justify-content:center;gap:10px;align-items:center}.celebration-claps svg{width:52px;height:42px;flex-shrink:0}

.celebration-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 10px}.celebration-actions>.button{margin:0}.celebration-actions>.celebration-quit{background:transparent;border:1px solid #779462;color:var(--ink)}

/* A single answer, stamped across the edge of its box. */
.quiz-option{position:relative;overflow:visible}
.quiz-option.quiz-correct::after{content:"";position:absolute;right:-5px;top:-17px;width:15px;height:28px;border-right:5px solid #477640;border-bottom:5px solid #477640;transform:rotate(33deg);filter:drop-shadow(2px 2px 0 #fffdf6);pointer-events:none}
.quiz-option.quiz-wrong{border-color:#b66151;background:#fbede5;color:#75463b}
.quiz-option.quiz-wrong::before,.quiz-option.quiz-wrong::after{content:"";position:absolute;right:-13px;top:0;width:37px;height:5px;border-radius:3px;background:#b35444;box-shadow:2px 2px 0 #fffdf6;pointer-events:none}
.quiz-option.quiz-wrong::before{transform:rotate(38deg)}.quiz-option.quiz-wrong::after{transform:rotate(-52deg)}
#snake-play-stats{font-size:9px;line-height:1.7;color:var(--muted);margin:10px 0 0}

/* The compact score list opens a dated record book on demand. */
.game-card .arcade-leaderboard>#leaderboard-more{margin-right:14px}
.leaderboard-details{width:820px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:24px;border:1px solid #aebd99;border-radius:16px;background:#fffdf6;color:var(--ink);overflow:auto;box-shadow:0 20px 70px #15261c55}
.leaderboard-details::backdrop{background:#203329a8}.leaderboard-details:not([open]){display:none}
.record-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.record-dialog-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:7px 0 12px}
.record-dialog-heading>button,#record-details-refresh{border:0;background:none;color:var(--green);text-decoration:underline;text-underline-offset:3px;font-size:11px;padding:7px 0;white-space:nowrap}
#record-details-status{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 16px}
.record-summary{background:#edf0df;border:1px solid #c6d0b0;border-left:4px solid var(--yellow);border-radius:7px;padding:17px 20px;margin-bottom:16px}.record-summary[hidden]{display:none}
.record-summary h3{font-size:24px;line-height:1.3;margin:8px 0;overflow-wrap:anywhere}.record-summary p{font-size:12px;margin:5px 0;color:var(--green)}.record-summary .record-standing{font:700 20px ui-monospace,monospace;color:var(--ink);margin-top:12px}
.record-timezone{font-size:10px;color:var(--muted);margin:10px 0}
.record-table-scroll{max-width:100%;overflow-x:auto}.record-table{width:100%;min-width:650px;border-collapse:collapse;text-align:left;font-size:12px}.record-table th{font:10px ui-monospace,monospace;text-transform:uppercase;color:var(--muted);padding:10px 8px;border-bottom:2px solid var(--line)}
.record-table td{padding:12px 8px;border-bottom:1px solid var(--line);vertical-align:top}.record-table td:nth-child(2){overflow-wrap:anywhere;max-width:160px;min-width:90px}.record-table td:nth-child(3){font-family:ui-monospace,monospace}.record-table tbody tr:first-child{background:#f4efd9}.record-table time{font-size:11px;line-height:1.7}
.record-dialog-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:15px}.record-dialog-footer p{font-size:10px;line-height:1.8;max-width:500px;color:var(--muted);margin:0}
@media(max-width:550px){.leaderboard-details{padding:18px 14px}.record-dialog-heading h2{font-size:22px}.record-summary{padding:14px}.record-summary h3{font-size:21px}.record-summary .record-standing{font-size:17px}.record-dialog-footer{flex-wrap:wrap;gap:7px}}
/* Keep the record book centred while keyboard navigation scrolls its contents. */
.leaderboard-details{position:fixed;inset:0;margin:auto}
body:has(dialog[open]){overflow:hidden}
