@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101022;--panel:#1b1932;--line:#ffffff16;--muted:#aaa4c5;--accent:#c5f390;--ink:#f4f1ff;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 60% 35%,#49306630,transparent 60%),radial-gradient(ellipse at 10% 80%,#1b4d4930,transparent 50%),var(--bg);min-height:100vh}body:before{content:'';position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#e8d8ff80 .7px,transparent .8px);background-size:77px 91px;opacity:.32;z-index:-1}button,a{ -webkit-tap-highlight-color:transparent}button{font:600 14px 'DM Sans',sans-serif;cursor:pointer;min-height:44px;padding:11px 18px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#ffffff07;transition:background .2s,transform .2s}button:hover{background:#ffffff13;transform:translateY(-2px)}button:disabled{opacity:.4;cursor:default;transform:none}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}header{height:88px;max-width:1320px;margin:auto;display:flex;align-items:center;gap:30px;padding:0 40px;border-bottom:1px solid var(--line)}header>a:nth-child(2){margin-left:auto;font-size:13px;color:var(--muted)}.brand{font:800 22px Outfit,sans-serif;letter-spacing:-1px}.brand span{color:var(--accent)}.brand-star{margin-left:10px;font-size:27px}main{max-width:1180px;margin:auto;padding:42px 30px}:is(h1,h2.gtp-game-heading),h2,h3,p{margin:0}:is(h1,h2.gtp-game-heading),h2,h3{font-family:Outfit,sans-serif}p{color:var(--muted);line-height:1.7}.eyebrow{color:var(--accent);font-size:11px;font-weight:700;letter-spacing:3px;display:flex;align-items:center;gap:10px}.eyebrow:before{content:'';width:22px;height:1px;background:var(--accent)}.home{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:35px;min-height:570px}.hero :is(h1,h2.gtp-game-heading){font-size:clamp(56px,7vw,88px);line-height:.98;letter-spacing:-5px;margin:24px 0 10px;font-weight:900}.hero :is(h1,h2.gtp-game-heading) span{display:block;font-size:16px;letter-spacing:7px;font-weight:500;color:#d8c8ee;margin:20px 0 25px}.hero>p{font-size:18px;max-width:380px}.hero .intro{font-size:13px;max-width:340px;margin-top:15px}.modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:30px;max-width:410px}.primary{background:var(--accent);color:#202b21;border:0;font-weight:800}.primary:hover{background:#d8ffad}.modes .primary{grid-column:1/-1;text-align:left;padding:18px 22px;font-size:16px;display:flex;justify-content:space-between;box-shadow:0 5px 0 #749651}.modes button:not(.primary){text-align:left;padding:15px}.modes small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.menu-links{display:flex;gap:8px;margin-top:18px}.menu-links button{border:0;padding:10px;color:var(--muted);font-size:12px}.showcase{position:relative;min-height:470px;display:grid;place-items:center}.orbit{position:absolute;width:390px;height:390px;border:1px solid #c7b5ff18;border-radius:50%;transform:rotate(-20deg)}.orbit:after{content:'';position:absolute;inset:35px -30px;border:1px solid #c7b5ff13;border-radius:50%;transform:rotate(45deg)}.hero-fruit{width:235px;height:235px;filter:drop-shadow(0 15px 40px #b7a2ee25);animation:float 5s ease-in-out infinite}.satellite{position:absolute;width:78px;height:78px;animation:float 5s ease-in-out infinite}.s1{left:0;top:45px;transform:rotate(-15deg)}.s2{right:5px;top:60px;animation-delay:-2s;width:95px;height:95px}.s3{left:50px;bottom:45px;animation-delay:-1s}.s4{right:40px;bottom:10px;width:110px;height:110px;animation-delay:-3s}.specimen-label{position:absolute;top:5px;right:20px;color:var(--muted);font-size:10px;letter-spacing:2px}.specimen-label b{display:block;color:#eee7ff;font-size:12px;letter-spacing:1px;margin-top:8px}.float-label{position:absolute;bottom:135px;left:0;border:1px solid #ffffff20;background:#24213ccc;backdrop-filter:blur(10px);padding:10px 16px;border-radius:12px;font-size:11px}.float-label span{color:var(--accent);margin-right:7px}.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:22px 0;margin-top:25px}.strip>div:first-child{width:180px;flex-shrink:0}.strip h3{font-size:16px}.strip p{font-size:11px}.evolution-strip{display:flex;align-items:center;justify-content:space-between;flex:1;gap:5px}.mini{width:45px;height:45px}.arrow{color:#766b91;font-size:11px}.locked{opacity:.3;filter:grayscale(1)}footer{max-width:1240px;margin:25px auto;padding:20px 30px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8e87a5;letter-spacing:1px}footer a{color:#c7bddc}.ad-space{min-height:30px;margin-top:20px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.heading h2{font-size:27px}.game-layout{display:grid;grid-template-columns:200px minmax(250px,420px) 220px;justify-content:center;gap:28px;align-items:start}.panel{border:1px solid var(--line);background:#1d1a30bb;border-radius:18px;padding:22px}.label{font-size:10px;letter-spacing:2px;color:var(--muted);text-transform:uppercase}.score{font:700 38px Outfit;margin:8px 0 20px}.stat-row{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:12px}.stat-row b{color:var(--ink)}.board-wrap{position:relative}.board-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;color:var(--muted)}.board-top button{min-height:36px;padding:6px 12px}canvas{display:block;width:100%;height:auto;aspect-ratio:420/580;border:1px solid #aca0da50;border-bottom:4px solid #9a8db0;border-radius:14px 14px 28px 28px;background:linear-gradient(180deg,#19172d99,#24213a);touch-action:none;cursor:crosshair;box-shadow:inset 0 -30px 60px #af89d50b}.board-caption{text-align:center;font-size:10px;color:var(--muted);margin-top:12px}.next-art{width:80px;height:80px;margin:15px auto;display:block}.next-name{text-align:center;font:600 15px Outfit}.ability{width:100%;text-align:left;margin-top:10px;display:flex;justify-content:space-between}.ability b{color:var(--accent)}.hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:16px}.progress{height:5px;border-radius:5px;background:#ffffff0e;margin:15px 0;overflow:hidden}.progress i{height:100%;display:block;background:var(--accent)}.clock{color:var(--accent);font:700 30px Outfit}.alert{color:#ffb7a6}.codex-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.codex-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.codex-card svg{width:100px;height:100px;display:block;margin:0 auto 15px}.codex-card h3{font-size:17px;margin:8px 0}.codex-card p{font-size:12px}.codex-card .label{font-size:9px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;max-width:740px;margin:25px auto}.stats-grid h3{font-size:34px;color:var(--accent);margin:12px 0}.achievement{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.earned{color:var(--accent)}dialog{color:var(--ink);background:#252039;border:1px solid #a49aaf55;border-radius:24px;width:min(440px,92vw);padding:32px;box-shadow:0 25px 100px #07061380}dialog::backdrop{background:#0a091bcb;backdrop-filter:blur(8px)}dialog h2{font-size:30px;margin-bottom:14px}dialog p{font-size:13px;margin-bottom:15px}dialog button{margin:5px 3px 0 0}dialog .score{color:var(--accent);font-size:55px}.result-art{height:100px;width:100px;display:block;margin:auto}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:14px 24px;border-radius:14px;background:#e4d9fc;color:#292039;font-size:13px;z-index:10;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.save-status{font-size:10px;color:var(--muted);margin-top:18px}.theme-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.daily-tag{font-size:11px;color:var(--accent);margin-top:12px}.note{max-width:600px;margin:20px auto;font-size:12px;text-align:center}.instructions-list{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.9}@keyframes float{50%{translate:0 -14px}}@media(min-width:1500px){main{padding-top:65px}.home{min-height:620px}}@media(max-width:950px){.game-layout{grid-template-columns:150px minmax(250px,420px);gap:16px}.game-right{grid-column:1/-1;display:flex;gap:15px;padding:15px}.game-right .ability{margin:0}.game-right .hint{display:none}.codex-grid{grid-template-columns:repeat(3,1fr)}.hero :is(h1,h2.gtp-game-heading){font-size:64px}.showcase{min-height:400px}.orbit{width:300px;height:300px}.hero-fruit{width:200px;height:200px}.satellite{width:65px;height:65px}.s2{right:-5px}.strip>div:first-child{width:130px}.mini{width:36px;height:36px}}@media(max-width:650px){header{padding:0 20px;height:70px;gap:12px}.brand{font-size:19px}header>a:nth-child(2){font-size:11px}header button{font-size:11px;padding:8px}.home{display:flex;flex-direction:column;gap:10px;align-items:stretch}.hero :is(h1,h2.gtp-game-heading){font-size:clamp(49px,13vw,76px);letter-spacing:-3px}.hero{position:relative;z-index:1}.hero>p{font-size:16px}.hero :is(h1,h2.gtp-game-heading) span{font-size:11px;letter-spacing:5px}.hero .intro{font-size:12px}.showcase{min-height:290px;order:-1;margin:-20px 0 -10px}.hero-fruit{width:155px;height:155px}.orbit{height:240px;width:240px}.s1{left:15%;top:25px;width:60px}.s2{right:10%;top:20px;width:65px}.s3{left:20%;bottom:0;width:60px}.s4{right:13%;bottom:0;width:75px}.specimen-label{right:0;top:5px;font-size:8px}.specimen-label b{font-size:9px}.float-label{left:0;bottom:90px;font-size:9px;padding:8px}.modes{max-width:none}.strip{display:block}.strip>div:first-child{width:auto;display:flex;justify-content:space-between;margin-bottom:20px}.evolution-strip{overflow:hidden}.mini{width:32px;height:32px}.evolution-strip .arrow{display:none}main{padding:26px 20px}.menu-links{justify-content:space-between}.menu-links button{padding:6px;font-size:11px}footer{font-size:8px;flex-direction:column;gap:8px;padding:15px 20px}.game-layout{display:flex;flex-direction:column;gap:12px}.game-left{width:100%;padding:12px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.game-left .score{font-size:25px;margin:4px 0}.game-left .stat-row{font-size:10px;margin:4px 0}.game-left .progress,.game-left .hint,.game-left .save-status{display:none}.board-wrap{width:min(100%,390px);margin:auto}.game-right{width:100%;gap:7px;padding:10px}.ability{font-size:11px;padding:10px 8px}.next-art{width:40px;height:40px;margin:3px auto}.next-name{font-size:10px}.heading h2{font-size:21px}.codex-grid{grid-template-columns:repeat(2,1fr);gap:10px}.codex-card{padding:15px}.codex-card svg{width:75px;height:75px}.codex-card h3{font-size:15px}.stats-grid{gap:10px}.panel{padding:16px}.clock{font-size:22px}}@media(max-height:550px) and (orientation:landscape){.game-layout{display:grid;grid-template-columns:140px 255px 160px}.game-right{grid-column:auto;display:block}.game-right .ability{margin-top:7px}main{padding-top:18px}.board-caption{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Midnight orchard */
:root{--accent:#ceef8b;--muted:#b9b1d6;--line:#c4afff26;--panel:#292047}
body{isolation:isolate;overflow-x:clip;background:radial-gradient(ellipse at 12% 10%,#50307866,transparent 48%),radial-gradient(ellipse at 90% 75%,#383b8555,transparent 50%),linear-gradient(145deg,#201637,#15132f 60%,#211943);background-attachment:fixed}
body:before{opacity:.35;background-size:113px 137px}
header{height:76px;background:transparent}header .brand{font-size:20px}header button{border-radius:30px;font-size:12px}
button{border-color:#b9a4ed32;background:linear-gradient(180deg,#4b3c68,#302547);box-shadow:inset 0 1px #ffffff13,0 3px 0 #110c2455;transition:transform .16s,background .16s,box-shadow .16s}
button:hover{background:linear-gradient(180deg,#5a497d,#40315b)}button:active{transform:translateY(2px);box-shadow:inset 0 2px 5px #110c2444}button:disabled{box-shadow:none}
.primary{background:linear-gradient(180deg,#e6ffad,#b9e579);color:#283b1d;box-shadow:inset 0 2px #f6ffd7,0 4px 0 #6a9149,0 8px 24px #a1df6c17}.primary:hover{background:linear-gradient(180deg,#efffc5,#ccef94)}
.home{min-height:580px}.hero :is(h1,h2.gtp-game-heading){letter-spacing:-3px;font-size:clamp(64px,7.4vw,100px);color:#fff6e7;text-shadow:0 4px 0 #8b6399,0 9px 24px #0c092b55;line-height:.85}.hero :is(h1,h2.gtp-game-heading) .logo-verse{display:block;font-size:inherit;font-weight:900;letter-spacing:-3px;color:#e4b4ff;margin:8px 0 0;position:relative}.hero :is(h1,h2.gtp-game-heading) .logo-spark{display:inline;font-size:42px;letter-spacing:0;color:#e7f4aa;vertical-align:top;margin:0 0 0 10px}.hero :is(h1,h2.gtp-game-heading)>span:last-child{font-size:11px;letter-spacing:5px;color:#d4c1ea;text-shadow:none;margin:25px 0}.hero>p{color:#eee4ff;font-weight:500}.hero .intro{color:var(--muted)}
.showcase{background:radial-gradient(ellipse,#bc7ddd25,transparent 65%)}.hero-fruit{width:275px;height:275px;filter:drop-shadow(0 24px 18px #100b2b88)}.satellite{filter:drop-shadow(0 10px 10px #100b2b66)}.orbit{border-color:#d1b2ff26;box-shadow:0 0 80px #b67cff09,inset 0 0 70px #b67cff09}.orbit:after{border-color:#d1b2ff18}.float-label{background:#392b55ed;border-color:#d3b5ff30;box-shadow:0 6px 20px #110c2844}.specimen-label{line-height:1.5}
.strip{background:#33244755;border:1px solid var(--line);border-radius:22px;padding:24px}.mini{flex-shrink:1;min-width:0}.mini svg{width:100%;height:100%}.locked{opacity:.55}
.heading h2{font-size:25px}.game-layout{grid-template-columns:185px minmax(0,440px) 185px;gap:22px}.panel{background:linear-gradient(145deg,#362953e8,#231d3ee8);border:1px solid #c3a3f330;border-radius:22px;box-shadow:inset 0 1px #ffffff0a,0 14px 35px #100b262b}.game-left{display:flex;flex-direction:column;gap:22px}.game-left .score{font-size:46px;color:#fff3c5;letter-spacing:-1px;margin-bottom:8px;font-variant-numeric:tabular-nums}.next-art{background:radial-gradient(circle,#d9b4ff22,transparent 70%);width:94px;height:94px;margin:5px auto}.next-art svg{width:100%;height:100%}.next-name{color:#f7d49c}.progress{height:7px;background:#15102688;box-shadow:inset 0 2px 3px #110c2844}.progress i{border-radius:9px;background:linear-gradient(90deg,#8bc57e,var(--accent));box-shadow:0 0 8px #c5ee8d33}.game-left .save-status{margin-top:0}.level-chip{font:700 14px Outfit}.level-chip span{float:right;font:10px 'DM Sans';color:var(--muted)}.level-chip .progress{margin:10px 0 0}
.board-wrap{min-width:0}.board-top{padding:0 5px;font-weight:600;color:#e4d1fa;min-height:40px}.board-top>span{max-width:68%;line-height:1.4}.board-top button{border-radius:20px}
canvas{border:3px solid #b296dc8c;border-top-color:#d7b7ff99;border-bottom:7px solid #7c5fa8;border-radius:24px 24px 36px 36px;background:radial-gradient(ellipse at 50% 100%,#69458744,transparent 65%),linear-gradient(180deg,#1a1531,#292044);box-shadow:inset 0 2px 12px #100b2966,inset 0 -12px 28px #b47dfb0e,0 0 0 5px #59407640,0 18px 45px #0c082950;outline-offset:7px}
.board-caption{font-size:9px;letter-spacing:1.5px;color:#b9acd1}.ability{align-items:center;min-height:52px;border-radius:15px}.ability b{display:grid;place-items:center;min-width:26px;height:26px;border-radius:9px;background:#19122e88}.ability.selected{border-color:#efb7ff;background:#6d427e;box-shadow:0 0 0 2px #efb7ff33}.game-right .hint{line-height:1.8}.game-right .label{font-size:9px;letter-spacing:1.4px}.daily-tag{padding-top:14px;border-top:1px solid var(--line)}
.codex-card{background:linear-gradient(145deg,#3c2c56,#241d3d);border-color:#c9a9f330;box-shadow:inset 0 1px #ffffff0d}.codex-card svg{width:120px;height:120px;filter:drop-shadow(0 8px 9px #130c2b55)}.achievement.earned{color:#ddf3a3}.theme-row button[aria-pressed=true]{border-color:var(--accent)}
dialog{background:radial-gradient(ellipse at 50% 0,#69427677,transparent 65%),#2a2044;border:1px solid #d4b1f066;border-radius:28px;padding:32px;max-height:90dvh}dialog button{min-height:46px}dialog h2{line-height:1.15}dialog .score{text-align:center;font-size:64px;color:#fff0af;margin:8px 0}.result-art{width:130px;height:130px}.result-best{text-align:center;padding:8px;background:#ffffff09;border-radius:12px}.result-art svg{width:100%;height:100%}#toast{background:#e7dbfa;color:#33214b;box-shadow:0 8px 30px #100a2d66;font-weight:600;bottom:24px}.discovery{position:absolute;left:50%;top:32%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;width:max-content;max-width:95%;background:linear-gradient(135deg,#674481f5,#33244ff5);border:1px solid #f4d48f;border-radius:20px;padding:10px 20px 10px 8px;box-shadow:0 12px 30px #100a2d88;pointer-events:none;animation:discover-in .45s ease-out}.discovery svg{width:62px;height:62px}.discovery small{display:block;color:#f5d595;font-size:9px;letter-spacing:2px}.discovery b{display:block;font:700 24px Outfit;color:#fff4df;margin-top:4px}
[data-theme=aurora] body{background:radial-gradient(ellipse at 10% 30%,#24627666,transparent 60%),linear-gradient(145deg,#1e2043,#172637)}[data-theme=solar] body{background:radial-gradient(ellipse at 10% 20%,#9b4b3b55,transparent 60%),linear-gradient(145deg,#3c2445,#211833)}
@keyframes discover-in{from{opacity:0;translate:0 12px;scale:.9}to{opacity:1;translate:0 0;scale:1}}
@media(max-width:950px){.game-layout{grid-template-columns:155px minmax(0,420px);gap:20px}.game-right{grid-column:1/-1;display:flex;gap:12px}.game-right .desktop-label{display:none}.game-right .daily-tag{display:block;min-width:150px;margin:0;padding:0;border:0}.strip{gap:12px}.hero-fruit{width:220px;height:220px}}
@media(max-width:650px){header{height:64px;padding:0 16px;gap:10px}header .brand{font-size:17px}.brand-star{display:none}main{padding:22px 16px}.home{min-height:0;gap:0}.showcase{min-height:230px;margin:-10px 0 5px}.hero-fruit{width:170px;height:170px}.orbit{width:220px;height:220px}.s1{top:15px}.s2{top:5px}.s3{bottom:0}.s4{bottom:0}.float-label{bottom:45px;font-size:9px;padding:7px}.hero :is(h1,h2.gtp-game-heading){font-size:clamp(39px,10.5vw,64px);line-height:.85;margin-top:15px}.hero :is(h1,h2.gtp-game-heading) .logo-verse{display:inline;margin-left:0}.hero :is(h1,h2.gtp-game-heading) .logo-spark{display:none}.hero :is(h1,h2.gtp-game-heading)>span:last-child{margin:18px 0;letter-spacing:4px;font-size:10px}.hero .intro{margin-top:8px}.eyebrow{font-size:9px;letter-spacing:2px}.modes{margin-top:22px}.strip{padding:16px;margin-top:24px}.strip>div:first-child{display:block}.strip p{margin-top:4px}.mini{width:calc(100% / 12)}.heading{margin-bottom:12px}.heading h2{font-size:19px}.heading h2 span{display:block;font-size:12px;margin-top:3px}.game-layout{display:flex;gap:14px}.game-left{padding:12px;display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:10px;align-items:center}.game-left .score{font-size:32px;margin:0 0 5px}.game-left .label{font-size:9px}.game-left .next-art{width:50px;height:50px;margin:0 auto}.game-left .next-name{font-size:10px}.game-left .level-chip{grid-column:1/-1;font-size:11px;border-top:1px solid var(--line);padding-top:8px}.game-left .level-chip .progress{display:block;margin:7px 0 0;height:5px}.game-left .level-chip span{font-size:9px}.board-wrap{width:min(100%,420px)}.board-top{margin-bottom:9px;font-size:10px}.game-right{padding:10px;gap:6px;flex-wrap:wrap}.ability{min-width:0;flex:1;font-size:11px;padding:10px 7px}.ability b{min-width:20px;height:23px}.game-right .daily-tag{width:100%;font-size:10px}.board-caption{font-size:8px;letter-spacing:1px}.codex-card svg{width:90px;height:90px}dialog{padding:25px}footer{letter-spacing:.5px}}
@media(max-width:370px){.hero :is(h1,h2.gtp-game-heading){font-size:10.5vw}.menu-links{gap:0}.menu-links button{font-size:10px}.game-left .score{font-size:28px}}
@media(max-height:550px) and (orientation:landscape){.game-layout{display:grid;grid-template-columns:140px minmax(0,255px) 150px}.game-right{display:block;grid-column:auto}.game-right .ability{margin-top:8px}.game-left{gap:10px}.game-left .score{font-size:30px}.game-left .next-art{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

body[data-screen=game] #toast{bottom:auto;top:12px;z-index:10;padding:12px 20px;max-width:min(420px,90vw)}

/* Harvest Journey keeps the orchard's existing tactile visual language. */
.journey-rewards{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:24px 0}.journey-rewards span{color:var(--muted);font-size:13px}.journey-world{margin:36px 0}.journey-world h3{font-size:25px;margin:10px 0 18px}.level-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px}.level-map button{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:114px;padding:16px 8px}.level-map b{font-size:25px}.level-map span,.level-stars{color:#f5d78d;letter-spacing:3px}.level-map small{font-size:10px;color:var(--muted)}.level-map .current{border:2px solid var(--accent);background:#394434}.level-map button:disabled{opacity:.4}.journey-objectives{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:20px}.objective-list{display:flex;flex-direction:column;gap:7px}.objective-list span{font-size:14px;display:flex;gap:18px;justify-content:space-between}.objective-list small{color:var(--muted)}.objective-list .done{color:var(--accent)}.level-stars{font-size:44px;margin:20px 0}dialog li{margin:10px 0}html[data-fruit=golden] .next-art svg,html[data-fruit=golden] .result-art svg{filter:drop-shadow(0 0 5px #f5d78d)}
@media(max-width:600px){.journey-objectives{flex-wrap:wrap;padding:15px;gap:12px}.journey-objectives>div:first-child{flex:1 0 65%}.objective-list{order:3;width:100%}.level-map{grid-template-columns:repeat(3,minmax(0,1fr))}.journey-rewards{align-items:flex-start;flex-direction:column}.journey-objectives button{min-height:44px}}

/* The supplied cover sets a bright sky, golden fruit and jewel-color palette. */
:root{--bg:#0756ad;--panel:#0866b1;--line:#9ee8ff55;--muted:#d3f2ff;--accent:#d8ff62;--ink:#fffdf1;color-scheme:dark}
body,[data-theme=aurora] body,[data-theme=solar] body{background:radial-gradient(ellipse at 5% 0%,#29dcf2aa,transparent 55%),radial-gradient(ellipse at 100% 85%,#884de0aa,transparent 60%),linear-gradient(150deg,#087dd5,#0751ab 65%,#353498);background-attachment:fixed}
[data-theme=aurora] body{background:linear-gradient(145deg,#078d9b,#075ca8 65%,#4343a9)}
[data-theme=solar] body{background:linear-gradient(145deg,#bd5720,#9d3977 65%,#4844a8)}
header{border-color:#c3f3ff55}.brand span{color:#ffdf4c}header>a:nth-child(2){color:#e2f6ff}
button{background:linear-gradient(#148fdb,#0864b4);border-color:#8ddcfa88;box-shadow:inset 0 1px #ffffff55,0 3px 0 #064183}
button:hover{background:linear-gradient(#28b6ec,#137bc5)}
.primary{background:linear-gradient(#fff479,#ffc324);color:#4c2b0e;box-shadow:inset 0 2px #fff9c8,0 4px 0 #bc7518,0 8px 20px #053c7455}
.primary:hover{background:linear-gradient(#fff8a6,#ffdc4d)}.modes .primary{box-shadow:inset 0 2px #fff9c8,0 4px 0 #bc7518}.modes small{color:#d9f6ff}.modes .primary small{color:#5c3d13}
.hero :is(h1,h2.gtp-game-heading){color:#ffe33f;text-shadow:0 3px 0 #e88a0b,0 6px 0 #403079,0 9px 18px #03397e66}.hero :is(h1,h2.gtp-game-heading) .logo-verse{color:#f4fcff;text-shadow:0 3px 0 #54bbed,0 6px 0 #403079}.hero :is(h1,h2.gtp-game-heading) .logo-spark{color:#ffdd3d}.hero :is(h1,h2.gtp-game-heading)>span:last-child,.hero>p{color:#fffbea}.hero .intro,.menu-links button{color:#d9f6ff}
.home{grid-template-columns:1fr 1.15fr;gap:40px}.showcase{min-height:0;background:none}.cover-art{display:block;width:100%;height:auto;border:3px solid #ffe774;border-radius:28px;box-shadow:0 7px 0 #063b8a,0 18px 40px #023b8366}
.strip{background:#074d9dcc;border-color:#88defb66}.panel,.codex-card{background:linear-gradient(145deg,#127bc9f5,#10559bf5);border-color:#9ee8ff66}.game-left .score{color:#ffe76a}.next-name{color:#fff3a3}.next-art{background:radial-gradient(circle,#6ddcf955,transparent 70%)}.progress{background:#063f7b}.progress i{background:linear-gradient(90deg,#66e856,#e6ff5e)}
canvas{background:radial-gradient(ellipse at 50% 100%,#39ddc455,transparent 70%),linear-gradient(#073b88,#086a9c);border-color:#ffe66a;border-top-color:#fff7ab;border-bottom-color:#dc971b;box-shadow:inset 0 2px 12px #05377655,0 0 0 5px #1b98d455,0 18px 40px #03377566}
.board-top{color:#e5faff}.board-caption{color:#d4f2ff}.ability b{background:#064a91}.ability.selected{background:#8b36ac;border-color:#ffb0f3}.level-map .current{background:linear-gradient(#398729,#22671b);border-color:#e4ff73}.level-map span,.level-stars{color:#ffe56a}.achievement.earned{color:#d8ff77}.arrow{color:#8ad8fa}
dialog{background:radial-gradient(ellipse at 50% 0,#268edb99,transparent 65%),#104b92;border-color:#ffe56a}dialog .score{color:#ffe56a}.discovery{background:linear-gradient(135deg,#a23ebcf5,#184f9bf5)}.result-best{background:#07417a88}#toast{background:#fff1a3;color:#493018}footer,footer a{color:#d3efff}
@media(max-width:650px){.home{grid-template-columns:1fr;gap:24px}.showcase{margin:0;order:-1;width:min(100%,360px);justify-self:center}.cover-art{border-radius:20px}.hero :is(h1,h2.gtp-game-heading){margin-top:4px}.hero>p,.hero .intro{max-width:none}.modes{max-width:none}.strip{margin-top:28px}}

/* Fit the orchard to the viewport without scaling down the entire interface. */
body.gtp-gameplay[data-screen=game] > main#app.gtp-active-field {
  position:fixed !important; inset:48px 0 0 !important;
  width:100%; height:calc(100dvh - 48px) !important;
  margin:0 !important; padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
  display:flex; flex-direction:column; gap:8px;
}
body[data-screen=game].gtp-gameplay .game-layout {
  flex:1; min-height:0; width:100%; display:grid;
  grid-template-columns:clamp(150px,18vw,280px) minmax(0,1fr) clamp(150px,18vw,280px);
  gap:clamp(8px,1.5vw,24px); align-items:stretch;
}
body[data-screen=game].gtp-gameplay .board-wrap {
  width:100%; min-height:0; margin:0; display:flex; flex-direction:column;
}
body[data-screen=game].gtp-gameplay .board-top {
  flex:none; min-height:40px; margin:0 0 6px; padding:0 4px;
  font-size:clamp(11px,1.1vw,16px);
}
body[data-screen=game].gtp-gameplay .board-stage {
  flex:1; min-height:0; width:100%; container-type:size;
  display:grid; place-items:center;
}
body[data-screen=game].gtp-gameplay canvas {
  width:min(100cqw, calc(100cqh * 420 / 580)); height:auto;
  max-width:100%; max-height:100%; aspect-ratio:420 / 580;
  box-shadow:inset 0 2px 12px #05377655;
}
body[data-screen=game].gtp-gameplay .panel {padding:clamp(10px,1.5vw,24px); border-radius:16px; min-width:0;}
body[data-screen=game].gtp-gameplay .game-left {display:flex; flex-direction:column; gap:clamp(8px,2vh,24px);}
body[data-screen=game].gtp-gameplay .score {font-size:clamp(28px,4vh,56px); margin:2px 0 6px;}
body[data-screen=game].gtp-gameplay .next-art {width:clamp(48px,11vh,120px); height:clamp(48px,11vh,120px); margin:4px auto;}
body[data-screen=game].gtp-gameplay .game-right {display:flex; flex-direction:column; grid-column:auto; gap:12px;}
body[data-screen=game].gtp-gameplay .ability {flex:none; width:100%; min-height:48px; margin:0; font-size:clamp(12px,1.2vw,18px);}
body[data-screen=game].gtp-gameplay .daily-tag {display:block; min-width:0; width:auto; font-size:12px;}
body[data-screen=game].gtp-gameplay .journey-objectives {flex:none; margin:0; padding:8px 12px; gap:8px;}
body[data-screen=game].gtp-gameplay .objective-list {gap:3px;}
body[data-screen=game].gtp-gameplay .objective-list span {font-size:12px; gap:8px;}
body[data-screen=game].gtp-gameplay .save-status {font-size:10px;}
body[data-screen=game].gtp-gameplay button:hover {transform:none;}
@media (max-width:700px) and (orientation:portrait) {
  body[data-screen=game].gtp-gameplay .game-layout {grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto; gap:6px;}
  body[data-screen=game].gtp-gameplay .game-left {display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:6px 10px; align-items:center;}
  body[data-screen=game].gtp-gameplay .game-left .level-chip,
  body[data-screen=game].gtp-gameplay .game-left .save-status {display:none;}
  body[data-screen=game].gtp-gameplay .score {font-size:clamp(24px,4vh,36px); margin:0;}
  body[data-screen=game].gtp-gameplay .next-art {width:42px; height:42px; margin:0 auto;}
  body[data-screen=game].gtp-gameplay .game-right {flex-direction:row; flex-wrap:wrap; gap:6px; padding:6px;}
  body[data-screen=game].gtp-gameplay .ability {flex:1; width:auto; padding:8px 6px; min-height:44px; font-size:12px;}
  body[data-screen=game].gtp-gameplay .daily-tag {flex-basis:100%; margin:0; padding:0; font-size:10px; line-height:1.3;}
  body[data-screen=game].gtp-gameplay .daily-tag br {display:none;}
  body[data-screen=game].gtp-gameplay .board-top {min-height:36px; margin-bottom:4px;}
  body[data-screen=game].gtp-gameplay .journey-objectives {flex-wrap:wrap;}
  body[data-screen=game].gtp-gameplay .objective-list {width:100%; order:3;}
}
@media (max-height:600px) and (orientation:landscape) {
  body[data-screen=game].gtp-gameplay .game-layout {grid-template-columns:minmax(120px,1fr) minmax(0,2fr) minmax(130px,1fr); gap:8px;}
  body[data-screen=game].gtp-gameplay .game-left {gap:6px; padding:8px;}
  body[data-screen=game].gtp-gameplay .game-left .level-chip,
  body[data-screen=game].gtp-gameplay .game-left .save-status,
  body[data-screen=game].gtp-gameplay .game-left .progress {display:none;}
  body[data-screen=game].gtp-gameplay .next-art {width:40px; height:40px; margin:0 auto;}
  body[data-screen=game].gtp-gameplay .score {font-size:26px; margin:0;}
  body[data-screen=game].gtp-gameplay .stat-row {margin-top:4px;}
  body[data-screen=game].gtp-gameplay .game-right {gap:8px; padding:8px;}
  body[data-screen=game].gtp-gameplay .ability {min-height:44px; padding:6px;}
  body[data-screen=game].gtp-gameplay .board-top {min-height:36px; margin-bottom:4px;}
}
body[data-screen=game].gtp-gameplay > .gtp-session-controls {
  height:calc(48px + env(safe-area-inset-top)); padding-top:calc(4px + env(safe-area-inset-top));
}
body[data-screen=game].gtp-gameplay > main#app.gtp-active-field {
  top:calc(48px + env(safe-area-inset-top)) !important;
  height:calc(100dvh - 48px - env(safe-area-inset-top)) !important;
}
