:root{--pine:#0f3329;--pine2:#174a3b;--needle:#2f9a63;--cream:#fbf4e6;--paper:#fffaf1;--ink:#2a1a12;--muted:#6d5a4b;--berry:#d8394b;--berry-d:#9e2433;--gold:#f6d77a;--ice:#8fb8ff;--line:#ead9bd;--r:18px;--pine-d:#0a241d;--gold-d:#c9a24a;--white:#fff;--on-dark-muted:#d9cdb8;--gold-a:rgba(246,215,122,.35);--cream-a1:rgba(251,244,230,.1);--cream-a2:rgba(251,244,230,.25);--shade:rgba(6,24,19,.88);--shadow:rgba(0,0,0,.4);--shadow-soft:rgba(42,26,18,.15);--font:ui-rounded,"SF Pro Rounded","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.65}
a{color:var(--berry-d)}
img{max-width:100%;height:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--ink);padding:8px 12px;z-index:9}
.skip:focus{left:8px}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.wrap-narrow{max-width:760px;margin:0 auto;padding:0 16px}
/* masthead */
.mast{background:var(--pine);color:var(--cream);border-bottom:3px solid var(--berry)}
.mast-in{display:flex;align-items:center;justify-content:space-between;min-height:56px;gap:12px}
.logo{display:flex;align-items:center;gap:8px;color:var(--cream);text-decoration:none;font-weight:800;font-size:19px;letter-spacing:.2px}
.logo-mark{width:30px;height:30px}
.mast-nav{display:flex;gap:16px}
.mast-nav a{color:var(--gold);text-decoration:none;font-weight:700;font-size:15px}
/* song maker entries: gold pill in the header, gold button under the game */
.mast-nav{align-items:center}.mast-nav a{white-space:nowrap}
.mast-nav a[href*="/song"]{background:var(--gold);color:var(--pine);padding:5px 11px;border-radius:999px}
.acts .act-song{background:var(--gold);border-color:var(--gold);color:var(--ink);text-decoration:none}
@media (max-width:520px){.mast-nav a[href="/#faq-h"]{display:none} }
@media (max-width:430px){.mast-nav a[href="/#how"]{display:none} }
.song-back{display:table;margin:-2px auto 8px;padding:3px 12px;border-radius:999px;border:1px solid var(--gold-a);background:var(--cream-a1);color:var(--gold);text-decoration:none;font-size:13px;font-weight:700;line-height:1.5;white-space:nowrap}
.song-back em{font-style:normal}
body:has(.hero-invite) .mast-nav a[href*="/song"]{display:none}
html[data-dy-mine] body:has(.hero-invite) .mast-nav a[href*="/song"]{display:inline}
/* hero + player */
.hero{position:relative;overflow:hidden;color:var(--cream);background:radial-gradient(100% 70% at 50% 0%,var(--pine2) 0%,var(--pine) 55%,var(--pine-d) 100%);padding:8px 0 14px}
.snow{position:absolute;inset:0;pointer-events:none;opacity:.6;background-image:radial-gradient(2px 2px at 8% 20%,var(--white) 50%,transparent 52%),radial-gradient(1.5px 1.5px at 22% 70%,var(--white) 50%,transparent 52%),radial-gradient(2px 2px at 40% 12%,var(--white) 50%,transparent 52%),radial-gradient(1.5px 1.5px at 72% 30%,var(--white) 50%,transparent 52%),radial-gradient(2px 2px at 90% 64%,var(--white) 50%,transparent 52%),radial-gradient(1.5px 1.5px at 60% 86%,var(--white) 50%,transparent 52%);background-size:420px 420px;animation:fall 22s linear infinite}
@keyframes fall{to{background-position:0 420px} }
@media (prefers-reduced-motion:reduce){.snow{animation:none} }
.hero-in{position:relative;text-align:center}
.hero h1{margin:0 0 8px;font-size:clamp(24px,5vw,34px);line-height:1.15;font-weight:900;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lede{margin:10px auto 0;max-width:560px;color:var(--on-dark-muted);font-size:15px;line-height:1.45}
.stage{position:relative;margin:0 auto;--fold:calc(100vh - 168px);height:max(380px,var(--fold));width:min(100%,680px,max(360px,calc(var(--fold) * .9)));border-radius:var(--r);overflow:hidden;background:var(--pine-d);box-shadow:0 0 0 4px var(--gold-a),0 18px 40px var(--shadow)}
.stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.cover{position:absolute;inset:0;cursor:pointer;z-index:4}
.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover-ui{position:absolute;left:0;right:0;bottom:0;padding:60px 16px 22px;background:linear-gradient(transparent,var(--shade));display:flex;flex-direction:column;align-items:center;gap:10px}
.cover-tag{margin:0;font-size:14px;font-weight:700;color:var(--gold)}
.play{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;background:var(--berry);color:var(--white);font:inherit;font-size:20px;font-weight:900;padding:14px 28px;cursor:pointer;box-shadow:0 5px 0 var(--berry-d),0 10px 24px var(--shadow);transition:transform .1s}
.play:hover{transform:translateY(-1px)}
.play:active{transform:translateY(3px);box-shadow:0 2px 0 var(--berry-d)}
.play-dot{width:14px;height:14px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--gold-a)}
.loader{position:absolute;inset:0;z-index:3;display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(80% 60% at 50% 40%,var(--pine2),var(--pine-d));color:var(--cream);font-weight:700}
[data-gf-state=loading] .loader{display:flex}
.loader p{margin:0;font-size:16px}
.loader-tree{width:40%;max-width:170px}
.lt-tree{fill:none;stroke:var(--needle);stroke-width:3;stroke-linejoin:round;stroke-dasharray:300;stroke-dashoffset:300;animation:draw 1.4s ease-out forwards}
.lt-star{fill:var(--gold);transform-origin:50px 8px;animation:spin 2.4s linear infinite}
.drop{opacity:0;animation:drop 2.4s ease-in infinite}
.d1{fill:var(--berry)}.d2{fill:var(--gold);animation-delay:.4s}.d3{fill:var(--ice);animation-delay:.8s}.d4{fill:var(--berry);animation-delay:1.2s}
@keyframes draw{to{stroke-dashoffset:0} }
@keyframes spin{to{transform:rotate(360deg)} }
@keyframes drop{0%{opacity:0;transform:translateY(-30px)}25%{opacity:1;transform:translateY(0)}80%{opacity:1}100%{opacity:0} }
.acts{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:10px}
.act{display:inline-flex;align-items:center;gap:7px;border:2px solid var(--cream-a2);background:var(--cream-a1);color:var(--cream);border-radius:999px;padding:7px 18px;font:inherit;font-size:15px;font-weight:800;cursor:pointer;min-height:42px}
.act svg{width:20px;height:20px}
.like svg path{fill:none;stroke:currentColor;stroke-width:2}
.like[aria-pressed=true]{background:var(--berry);border-color:var(--berry);color:var(--white)}
.like[aria-pressed=true] svg path{fill:var(--white);stroke:var(--white)}
.act-msg{flex-basis:100%;font-size:14px;color:var(--gold);min-height:0}
.act-msg:empty{display:none}
@supports (height:100svh){.stage{--fold:calc(100svh - 168px)} }
/* content */
.shot{margin:28px 0 8px;text-align:center}
.shot img{border-radius:var(--r);border:6px solid var(--white);box-shadow:0 8px 22px var(--shadow-soft);width:min(100%,420px)}
.shot figcaption{font-size:14px;color:var(--muted);margin-top:6px}
.steps{display:grid;gap:12px;margin:22px 0 6px}
.step{display:flex;gap:14px;align-items:flex-start;background:var(--paper);border:2px dashed var(--line);border-radius:var(--r);padding:14px 16px}
.step-n{flex:0 0 36px;height:36px;border-radius:50%;background:var(--berry);color:var(--white);font-weight:900;display:flex;align-items:center;justify-content:center}
.step p{margin:2px 0 0;font-size:16px;color:var(--muted)}
@media (min-width:760px){.steps{grid-template-columns:repeat(3,1fr)}.step{flex-direction:column} }
.prose h2,.faq h2,.talk h2{font-size:clamp(24px,4vw,30px);line-height:1.2;margin:40px 0 10px;font-weight:900;color:var(--pine)}
.prose h2:before,.faq h2:before,.talk h2:before{content:"";display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--berry);margin-right:10px;vertical-align:2px;box-shadow:0 -6px 0 -3px var(--gold-d)}
.prose h3{font-size:20px;margin:24px 0 6px;color:var(--pine)}
.prose p,.prose li{max-width:68ch}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin:4px 0}
.prose table{border-collapse:collapse;width:100%;font-size:16px;margin:12px 0}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}
.prose th{color:var(--pine)}
.faq details{background:var(--paper);border:1px solid var(--line);border-radius:14px;margin:8px 0;padding:0 16px}
.faq summary{cursor:pointer;font-weight:800;padding:14px 0;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";float:right;color:var(--berry);font-weight:900}
.faq details[open] summary:after{content:"–"}
.faq details p{margin:0 0 14px}
/* comments */
.talk{margin-bottom:48px}
.talk-n{font-size:18px;color:var(--muted)}
.talk-form{background:var(--paper);border:2px solid var(--line);border-radius:var(--r);padding:14px 16px}
.talk-form label{display:block;margin-bottom:10px}
.talk-form label span{display:block;font-size:14px;font-weight:800;color:var(--pine);margin-bottom:4px}
.talk-form input,.talk-form textarea{width:100%;font:inherit;font-size:16px;border:2px solid var(--line);border-radius:12px;padding:9px 12px;background:var(--white);color:var(--ink)}
.talk-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.talk-msg{font-size:14px;color:var(--muted)}
.replying{display:none;margin:0 0 8px;font-size:14px}
[data-gf-replying] .replying{display:block}
.btn-red{display:inline-block;border:0;border-radius:999px;background:var(--berry);color:var(--white);font:inherit;font-weight:900;padding:10px 20px;cursor:pointer;text-decoration:none;box-shadow:0 3px 0 var(--berry-d)}
.link-btn{background:none;border:0;padding:2px 0;color:var(--berry-d);font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-decoration:underline}
.talk-list{margin-top:14px}
.talk-list[data-gf-empty]:before{content:attr(data-empty-text);display:block;padding:16px;border-radius:14px;background:var(--line);color:var(--muted);font-size:16px}
.talk-list[data-gf-off]{display:none}
.c{border-bottom:1px solid var(--line);padding:12px 0}
.c-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:15px}
.c-head time{font-size:13px;color:var(--muted)}
.c-owner{display:none;font-size:12px;font-weight:800;background:var(--pine);color:var(--gold);border-radius:999px;padding:1px 8px}
[data-gf-owner]>.c-head .c-owner{display:inline-block}
[data-gf-owner]{background:var(--paper);border-radius:12px;padding-left:10px;padding-right:10px}
.c-text{margin:4px 0;white-space:pre-wrap;word-wrap:break-word}
.c-to{color:var(--berry-d);font-weight:700}
.c-replies{margin-left:18px;border-left:3px solid var(--line);padding-left:12px}
.c-replies .c{border-bottom:0;padding:8px 0}
/* plain pages */
.doc{padding:28px 16px 48px}
.doc h1{font-size:clamp(28px,5vw,38px);color:var(--pine);margin:0 0 4px;line-height:1.15}
.doc-date{color:var(--muted);font-size:14px;margin:0 0 18px}
.doc .prose h2{font-size:22px;margin-top:28px}
.doc-back{margin-top:32px}
.lost{text-align:center}
/* footer */
.foot{background:var(--pine);color:var(--on-dark-muted);padding:0 0 26px;font-size:15px}
.foot-garland{display:flex;justify-content:space-between;height:26px;margin:0 -8px 18px;background:linear-gradient(transparent 6px,var(--gold-d) 6px,var(--gold-d) 8px,transparent 8px)}
.foot-garland i{width:14px;height:14px;border-radius:50%;margin-top:9px;background:var(--berry)}
.foot-garland i:nth-child(3n+2){background:var(--gold)}.foot-garland i:nth-child(3n){background:var(--ice)}
.foot-grid{display:grid;gap:16px}
@media (min-width:760px){.foot-grid{grid-template-columns:2fr 1fr} }
.foot-name{color:var(--cream);font-size:18px}
.foot p{margin:6px 0 0;max-width:60ch}
.foot-nav{display:flex;flex-direction:column;gap:6px}
.foot-nav a{color:var(--gold)}
.foot-small{margin-top:18px;font-size:13px;color:var(--on-dark-muted)}
@media (max-width:520px){body{font-size:16.5px}.mast-nav{gap:12px}.mast-nav a{font-size:14px}.hero .wrap{padding:0 8px}.stage{width:100%;border-radius:14px}.play{font-size:18px;padding:13px 22px} }
.invite-more{padding-top:22px}
.invite-more .prose h2:first-child{margin-top:18px}
.tops{margin:26px 0 6px;background:var(--pine);color:var(--cream);border-radius:var(--r);padding:16px 16px 12px}
.tops h2{margin:0;font-size:22px;color:var(--cream)}
.tops-sub{margin:2px 0 10px;color:var(--gold);font-size:15px;font-weight:700}
.tops-list{list-style:none;margin:0;padding:0}
.tops-list a{display:flex;align-items:center;gap:10px;padding:9px 6px;border-top:1px solid var(--cream-a1);color:var(--cream);text-decoration:none;font-weight:700}
.tops-list a:hover .tops-name{text-decoration:underline}
.tops-rank{width:26px;height:26px;border-radius:50%;background:var(--berry);display:flex;align-items:center;justify-content:center;font-size:14px;flex:0 0 auto}
.tops-n{margin-left:auto;font-size:14px;color:var(--gold);white-space:nowrap}
.tops-note{margin:8px 0 0;font-size:13px;color:var(--on-dark-muted)}

@media (max-height:600px) and (orientation:portrait){.hero h1{font-size:22px;margin-bottom:6px}.mast-in{min-height:48px} }
/* phones on their side: the game takes the whole screen height, page scrolls to it on Play */
@media (orientation:landscape) and (max-height:560px){.stage{--fold:calc(100vh - 16px);height:max(280px,var(--fold));width:min(100%,960px)} }
@supports (height:100svh){@media (orientation:landscape) and (max-height:560px){.stage{--fold:calc(100svh - 16px)} } }

.talk-hint{margin:0 0 12px;padding:12px 14px;border-radius:14px;background:var(--paper);border:2px solid var(--gold);color:var(--ink);font-size:15px;line-height:1.5}
.talk-hint b{color:var(--berry-d)}


.code-link{margin:8px auto 0;text-align:center;font-size:14px}
.code-link a{color:var(--on-dark-muted)}
[data-dy-code] input{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:1px;font-size:18px}

.cover-names{margin:4px 0 0;font-size:14px;font-weight:600;color:var(--white)}
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(rgba(7,23,15,0),rgba(7,23,15,.92) 35%)}
.sticky-cta[hidden]{display:none}
.sticky-cta .play{width:100%;max-width:420px;justify-content:center}


.more{margin:32px 0}.more h2{margin-bottom:12px}.more-list{display:grid;gap:12px}
.more-card{display:block;padding:16px;border-radius:14px;background:#fffaf2;border:1px solid #e6dccb;text-decoration:none;color:#2b2118}
.more-card b{display:block;font-size:18px}.more-card span{color:#6b5b4b;font-size:15px}.more-card:hover{border-color:#d8394b}


.more{max-width:980px;margin:20px auto 0;text-align:left}.more-h{margin:0 0 8px;font-weight:800;font-size:16px;color:#f6d77a;text-align:center}
.more-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.more-card{display:flex;flex-direction:column;background:#fffaf2;border-radius:16px;overflow:hidden;text-decoration:none;color:#2b2118;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:transform .15s}
.more-card:hover{transform:translateY(-2px)}.more-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.more-body{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px}.more-body b{font-size:17px;line-height:1.25}.more-body span{font-size:14px;color:#6b5b4b;line-height:1.4}
.more-body em{font-style:normal;font-weight:800;color:#d8394b;margin-top:6px;font-size:15px}
@media (max-width:640px){.more-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:0 2px 6px;-webkit-overflow-scrolling:touch}.more-card{flex:0 0 72%;scroll-snap-align:start}}

.more-card{padding:0;border:0}


/* compact strip right under the game so it shows on the first screen */
.more{margin:12px auto 4px}.more-h{font-size:13px;margin:0 0 6px;letter-spacing:.02em}
.more-row{grid-template-columns:repeat(3,1fr);gap:8px}
.more-card{flex-direction:row;align-items:center;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.more-card img{width:76px;height:76px;aspect-ratio:auto;flex:0 0 76px}
.more-body{padding:6px 10px;gap:0}.more-body b{font-size:14px}.more-body span{display:none}.more-body em{font-size:13px;margin-top:2px}
@media (min-width:900px){.more-card img{width:96px;height:96px;flex-basis:96px}.more-body span{display:block;font-size:12px}}
@media (max-width:640px){.more-card{flex:0 0 62%}}


/* long H1 wraps instead of being cut off on phones */
.hero h1{white-space:normal;overflow:visible;text-overflow:clip}
/* 2026-11-29: phones show all three cards side by side (no hidden swipe) */
@media (max-width:640px){.more-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow:visible;padding:0;scroll-snap-type:none}
.more-card{flex:none;flex-direction:column;align-items:stretch;border-radius:12px}
.more-card img{width:100%;height:auto;aspect-ratio:1/1;flex:none;object-fit:cover}
.more-body{padding:6px 7px 8px;gap:0}
.more-body b{font-size:12.5px;line-height:1.2}
.more-body em{font-size:12px;margin-top:3px}}
