:root{--ink:#304d3c;--green:#37694f;--muted:#849082}*{box-sizing:border-box}body{margin:0;background:#f7f7ef;color:var(--ink);font-family:system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #d8953c;outline-offset:5px}main{max-width:1180px;margin:auto;padding:28px 40px}header{display:flex;align-items:center;gap:20px}.brand{font-size:30px;font-weight:850;letter-spacing:-1.5px;text-decoration:none;color:var(--green)}.brand span{font-size:23px}.badge{color:var(--muted);font-size:12px}.icon{margin-left:auto;background:none;border:1px solid #dde1d2;border-radius:99px;padding:10px 15px;color:var(--green);font-size:12px}.intro{padding:43px 0 29px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#839680}h1{font-size:36px;line-height:1.32;letter-spacing:-1.8px;margin:13px 0}p{font-size:13px;line-height:1.8;color:#7c8877;margin:0}.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px}.play-card{background:white;padding:18px;border-radius:24px;border:1px solid #e5e8db;box-shadow:0 8px 25px #4a644507}.scene-top{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 15px;font-size:11px;color:#849082}.pill{background:#eff5e9;padding:7px 11px;border-radius:40px;color:#527653}#forest{position:relative;display:block;width:100%;padding:0;border:0;background:#e6f1e0;border-radius:16px;overflow:hidden;touch-action:manipulation}svg{width:100%;display:block}.tap-hint{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);padding:9px 17px;border-radius:30px;background:#ffffffe6;font-size:12px;color:#526f4d;white-space:nowrap}.tap-hint span{margin-left:10px}#tree{transform-origin:432px 365px}#axe{transform-origin:330px 313px}.hit #tree{animation:shake .22s}.hit #axe{animation:swing .22s}.hit #dori{animation:bounce .22s}.felled #tree{animation:grow .6s}.tree-status{padding:20px 5px 15px}.tree-status>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.tree-status span{color:#93a08c;font-size:11px}.track{height:7px;border-radius:30px;background:#edf0e7;overflow:hidden}.track>div{height:100%;border-radius:30px;background:#85aa70;transition:width .15s;width:0}.primary{display:flex;width:100%;justify-content:center;gap:22px;align-items:center;border:0;background:var(--green);color:white;padding:16px;border-radius:13px;font-weight:700;font-size:16px;box-shadow:0 4px 0 #244a36;touch-action:manipulation}.primary:hover{background:#427b5c}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #244a36}.primary small{font-size:10px;font-weight:400;opacity:.65}.under{text-align:center;font-size:10px;margin-top:15px}aside{display:flex;flex-direction:column;gap:16px}.wallet{background:#fffdf5;border:1px solid #e8e6d3;padding:25px;border-radius:24px}.wallet h2{font-size:17px;margin:15px 0 23px;display:flex;justify-content:space-between}.balance{font-size:46px;font-weight:800;letter-spacing:-2px;overflow-wrap:anywhere}.balance small{font-size:20px;margin-left:8px;letter-spacing:0;color:#a3ac8a}.virtual{font-size:10px;background:#f0efdf;border-radius:6px;padding:5px 8px;color:#8b9276;display:inline-block;margin-top:8px}hr{border:0;border-top:1px dashed #e0e3d1;margin:25px 0}.reward-heading{display:flex;justify-content:space-between;font-size:12px;align-items:center}.reward-heading>span{color:#8b947d;font-size:11px}.reward-heading b{font-size:21px;color:var(--green);font-variant-numeric:tabular-nums}.reward-track{margin:13px 0;height:6px}.reward-track>div{background:#dcaf54;width:100%}.wallet p{font-size:10px}.notice{margin-top:20px;background:#f4f3e6;padding:13px 7px;text-align:center;font-size:11px;border-radius:10px;color:#84906d}.notice.reward{background:#ffebaf;color:#826020}.stats{display:flex;gap:1px;background:#dfe5d7;border-radius:18px;overflow:hidden;border:1px solid #dfe5d7}.stats>div{background:#f0f3e9;text-align:center;flex:1;padding:18px}.stats span{display:block;font-size:10px;color:#829078;margin-bottom:6px}.stats strong{font-size:24px}.guide{display:flex;gap:12px;padding:9px 5px}.guide>span{font-size:24px}.guide h3{font-size:12px;margin:2px 0 5px}.guide p{font-size:10px}.secondary{border:1px solid #dce3d2;background:none;color:#75816b;border-radius:12px;padding:11px;font-size:12px}footer{display:flex;justify-content:space-between;margin-top:28px;padding-bottom:10px;color:#929a88;font-size:10px}.particle{position:absolute;pointer-events:none;font-weight:800;color:#91692a;animation:float .9s forwards}.coin{font-size:28px;animation:drop 1.2s forwards}button:disabled{cursor:default;opacity:.65}@keyframes shake{25%{transform:rotate(-3deg)}70%{transform:rotate(3deg)}}@keyframes swing{50%{transform:rotate(28deg)}}@keyframes bounce{50%{transform:translateY(-4px)}}@keyframes grow{0%{transform:scale(.05);opacity:.2}100%{transform:scale(1);opacity:1}}@keyframes float{to{transform:translateY(-75px) rotate(20deg);opacity:0}}@keyframes drop{0%{transform:translateY(-150px) rotate(-30deg);opacity:0}30%{opacity:1}100%{transform:translateY(120px) rotate(60deg);opacity:0}}@media(max-width:800px){main{padding:22px}.layout{grid-template-columns:minmax(0,1fr) 260px;gap:15px}.wallet{padding:20px}.intro{padding-top:32px}h1{font-size:30px}}@media(max-width:640px){main{padding:20px 16px}.badge{font-size:10px}.brand{font-size:25px}.brand span{font-size:20px}header{gap:10px}.icon{padding:8px 10px}.intro{padding:30px 4px 23px}h1{font-size:29px}.intro p{font-size:11px}.layout{grid-template-columns:1fr}.play-card{padding:12px;border-radius:20px}.wallet{padding:22px}.wallet h2{margin-bottom:10px}.balance{font-size:38px}hr{margin:18px 0}.guide{padding:6px}.under{font-size:9px}footer{flex-direction:column;gap:8px;line-height:1.5}.primary{padding:15px}aside{gap:12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition:none!important}}

.event-guide{background:#fff3ce;border:1px solid #eddaad;border-radius:16px;padding:17px 20px}.event-guide strong{font-size:13px;color:#92702d}.event-guide p{font-size:11px;margin-top:7px;color:#9b8453}.event-gold #tree>g[stroke]{stroke:#a7802d}.event-gold #tree>g[stroke] circle:nth-child(1){fill:#dbb94d}.event-gold #tree>g[stroke] circle:nth-child(2){fill:#e8c959}.event-gold #tree>g[stroke] circle:nth-child(3){fill:#f4d874}.event-gold #tree>g[fill]{fill:#fff2ae}.event-gold{box-shadow:inset 0 0 0 3px #d8b34c}.event-gold .tap-hint{background:#fff5cf;color:#997429}

.event-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-top:12px}.event-row small{margin-left:7px;opacity:.7}.event-row.gold{color:#947226}.event-row.purple{color:#82549d}.event-row.pink{color:#b45380}.event-purple #tree>g[stroke]{stroke:#775197}.event-purple #tree>g[stroke] circle:nth-child(1){fill:#a77bcc}.event-purple #tree>g[stroke] circle:nth-child(2){fill:#b98cdc}.event-purple #tree>g[stroke] circle:nth-child(3){fill:#c9a1ea}.event-purple #tree>g[fill]{fill:#e8cdfa}.event-purple{box-shadow:inset 0 0 0 3px #b584cf}.event-purple .tap-hint{background:#f0dffb;color:#78519c}.event-pink #tree>g[stroke]{stroke:#b65c86}.event-pink #tree>g[stroke] circle:nth-child(1){fill:#e792b9}.event-pink #tree>g[stroke] circle:nth-child(2){fill:#f0a0c2}.event-pink #tree>g[stroke] circle:nth-child(3){fill:#f8b8d3}.event-pink #tree>g[fill]{fill:#ffe2ee}.event-pink{box-shadow:inset 0 0 0 3px #e99abe}.event-pink .tap-hint{background:#ffe2ef;color:#ab567d}

#gearCrown{display:none}.equipment-tree #gearCrown{display:block;filter:drop-shadow(0 0 12px #d6ffff)}.equipment-tree #tree>g[stroke] circle{fill:#9fe2de;stroke:#529fa8}.equipment-tree #tree>g[stroke] circle:nth-child(3){fill:#b6f0e7}.equipment-tree #tree>g[fill]{fill:#e5ffff}.equipment-tree #tree{filter:drop-shadow(0 0 9px #c2ffff)}.equipment-tree .tap-hint{background:#dffbfa;color:#448590}#axe{filter:drop-shadow(0 0 var(--axe-glow,0px) #fff9aa) drop-shadow(0 0 var(--axe-glow,0px) #ffc64b)}.equipment-card{background:#eaf6f5;border:1px solid #cce5e3;border-radius:16px;padding:18px 20px}.equipment-card>strong{font-size:12px;color:#47828a}.equipment-card p{font-size:11px;color:#6a8b8e;margin:8px 0}.equipped{display:flex;justify-content:space-between;margin:15px 0 8px;font-size:12px}.equipped span,.equipment-card>small{font-size:10px;color:#749294}#equipmentNotice{font-size:11px;color:#538186;margin-top:12px;line-height:1.6}.equipment-card details{margin-top:12px;font-size:10px;color:#62888c}.equipment-card summary{cursor:pointer}

/* Original dark fantasy theme */
:root{--ink:#e9dfc9;--green:#c39c56;--muted:#a79b85}body{background:radial-gradient(ellipse at 20% 0,#233d3c,transparent 60%),radial-gradient(ellipse at 90% 40%,#302143,transparent 55%),#0d151c;color:var(--ink)}main{max-width:1250px}header{border-bottom:1px solid #a68a4a44;padding-bottom:20px}.brand{color:#e6c17c;text-shadow:0 0 18px #d5aa5555}.badge,.intro p{color:#aebbb7}.icon{border-color:#766445;color:#dfc285;background:#181f24}h1{color:#f7e7c5;text-shadow:0 3px 12px #000;letter-spacing:-1px}.eyebrow{color:#c0a36c}.hero-select{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px;padding:15px 20px;background:#121e26;border:1px solid #80704a;border-radius:8px}.hero-select>span{font-size:12px;color:#d4b775;margin-right:8px}.hero-select button{border:1px solid #62665d;color:#afb4aa;background:#222c33;padding:10px 18px;border-radius:4px}.hero-select button[aria-pressed=true]{background:linear-gradient(#735b36,#46371f);border-color:#e1ba73;color:#ffe7ac;box-shadow:0 0 15px #d4a45733}.hero-select small{font-size:10px;color:#899991;margin-left:auto}.play-card{background:linear-gradient(135deg,#26343b,#111c25);border:1px solid #bba06b;border-radius:10px;box-shadow:0 0 0 4px #131d25,0 0 0 5px #65553c,0 15px 40px #0008}.scene-top{color:#beac87}.pill{background:#273a3b;color:#d4bd89;border:1px solid #7a795c}#forest{border-radius:5px;background:#263e46}#forest svg{filter:brightness(.73) saturate(.8)}#forest svg>rect{fill:#294352}#forest svg>circle{fill:#b5d9d4;filter:drop-shadow(0 0 22px #a5eafa)}#forest svg>path:nth-of-type(1){fill:#233f40}#forest svg>path:nth-of-type(2){fill:#1b3433}#forest svg>ellipse{fill:#334c3b}.tap-hint{background:#101e2be6;color:#e3c483;border:1px solid #7d704d}.tree-status span{color:#b1af96}.track{background:#111e26;border:1px solid #424b47;height:9px}.track>div{background:linear-gradient(90deg,#517f68,#9cc28b);box-shadow:0 0 12px #9bc080}.primary{background:linear-gradient(#99773d,#604521);border:1px solid #d0ae6b;border-radius:5px;color:#fff0c9;box-shadow:0 4px 0 #352616,0 0 18px #bf8b3433}.primary:hover{background:linear-gradient(#b38d4c,#77562b)}.wallet{background:linear-gradient(145deg,#26343a,#152129);border:1px solid #a68c5d;border-radius:10px}.wallet h2{color:#ead6b0}.balance{color:#ffd87b;text-shadow:0 0 20px #ffbd3444}.virtual{background:#333a30;color:#c6bd9b}hr{border-color:#6b644b}.reward-heading>span,.wallet p{color:#b8b198}.reward-heading b{color:#f2cc7b}.reward-track>div{background:linear-gradient(90deg,#99702a,#f1cd76)}.notice{background:#18262b;color:#b9c8ba;border:1px solid #526454}.notice.reward{background:#6c4f24;color:#fff0ac}.stats{background:#687259;border-color:#687259;border-radius:6px}.stats>div{background:#1c2c30}.stats span,.guide p,.under{color:#a3b5a4}.guide h3{color:#c9d4c3}.secondary{border-color:#6e755e;color:#c4cbb6;background:#1a272d;border-radius:5px}footer{color:#8d9c95}.event-guide{background:linear-gradient(135deg,#352d29,#20202d);border-color:#8d7046;border-radius:7px}.event-guide strong{color:#edca83}.event-guide p{color:#b7a887}.event-row.gold{color:#f0d081}.event-row.purple{color:#d7a4ff}.event-row.pink{color:#ffaecf}.equipment-card{background:linear-gradient(130deg,#233d46,#192631);border-color:#658c98;border-radius:7px}.equipment-card>strong{color:#a4e3ed}.equipment-card p,.equipment-card summary,.equipment-card>small{color:#a8c7cc}#equipmentNotice{color:#d0e9d8}.equipped b{color:#e6ce8d}.equipped span{color:#9fb9bd}#longHair{display:none}.female-hero #longHair{display:block}.female-hero #dori>path[fill="#f3b354"]{fill:#9276ba}.female-hero #dori>path[fill="#6c8772"]{fill:#555572}#dori>path[fill="#f3b354"]{fill:#648a9a}#axeAura,#axeWing,#axeGem{display:none}#axe[data-tier="1"] path[fill="#d8e2dc"]{fill:#bec9ca}#axe[data-tier="2"] path[fill="#d8e2dc"]{fill:#9dc8d6}#axe[data-tier="3"] path[fill="#d8e2dc"]{fill:#85daca}#axe[data-tier="4"] #axeWing,#axe[data-tier="5"] #axeWing,#axe[data-tier="6"] #axeWing,#axe[data-tier="7"] #axeWing,#axe[data-tier="8"] #axeWing,#axe[data-tier="9"] #axeWing,#axe[data-tier="10"] #axeWing{display:block}#axe[data-tier="5"] #axeGem,#axe[data-tier="6"] #axeGem,#axe[data-tier="7"] #axeGem,#axe[data-tier="8"] #axeGem,#axe[data-tier="9"] #axeGem,#axe[data-tier="10"] #axeGem{display:block}#axe[data-tier="4"] path[fill="#d8e2dc"]{fill:#a79bd1}#axe[data-tier="5"] path[fill="#d8e2dc"]{fill:#b692dd}#axe[data-tier="6"] path[fill="#d8e2dc"]{fill:#d494c1}#axe[data-tier="7"] path[fill="#d8e2dc"]{fill:#eaa187}#axe[data-tier="8"] #axeAura,#axe[data-tier="9"] #axeAura,#axe[data-tier="10"] #axeAura{display:block}#axe[data-tier="8"] #axeAura{fill:#a1dbdf}#axe[data-tier="9"] #axeAura{fill:#e5c97e}#axe[data-tier="10"] #axeAura{fill:#f6e6ae;stroke:#fff7d2;stroke-width:6}#axe[data-tier="10"] #axeWing{fill:#e0c875}#axe[data-tier="10"] #axeGem{fill:#fff}#forest .particle{color:#ffe0a2;text-shadow:0 0 10px #fdcc52}@media(max-width:640px){.hero-select{gap:8px;padding:12px}.hero-select button{padding:9px 12px;font-size:12px}.hero-select small{width:100%;margin-left:0}h1{font-size:27px}}
#axe path[fill="#d8e2dc"]{transform-box:fill-box;transform-origin:center}#axe[data-tier="1"] path[fill="#d8e2dc"]{transform:scale(.85)}#axe[data-tier="2"] path[fill="#d8e2dc"]{transform:scale(1,1.12)}#axe[data-tier="3"] path[fill="#d8e2dc"]{transform:scale(1.16,.85)}#axe[data-tier="4"] #axeWing{transform:translate(0,3px)}#axe[data-tier="5"] #axeWing{transform:translate(-3px,0)}#axe[data-tier="6"] #axeWing{transform:translate(-4px,-3px) scale(1.03)}#axe[data-tier="7"] #axeWing{transform:translate(-7px,-5px) scale(1.06)}#axe[data-tier="8"] #axeAura{transform-origin:398px 265px;transform:scale(.85)}#axe[data-tier="9"] #axeAura{transform-origin:398px 265px;transform:rotate(15deg)}#axe[data-tier="10"] #axeAura{transform-origin:398px 265px;transform:scale(1.12)}

/* Bright enchanted forest */
:root{--ink:#34564d;--green:#658b72;--muted:#7c9586}body{background:radial-gradient(ellipse at 10% 0,#e2f5e9,transparent 65%),radial-gradient(ellipse at 90% 15%,#f1e5ff,transparent 55%),#f7f4e8;color:var(--ink)}header{border-color:#c9d4b7}.brand{color:#648563;text-shadow:none}.badge,.intro p{color:#7b9386}.icon{background:#fffdf4;border-color:#bdcdaa;color:#677e5b}h1{color:#355e50;text-shadow:none}.eyebrow{color:#a38a4b}.hero-select{background:linear-gradient(120deg,#fffff5,#e9f6ef);border-color:#bdc8a1}.hero-select>span{color:#7c8253}.hero-select button{background:#f4f8ed;border-color:#c8d8c4;color:#5a7c6b}.hero-select button[aria-pressed=true]{background:linear-gradient(#fbebbe,#e1cc94);border-color:#bc9b57;color:#705832}.hero-select small{color:#8a9c85}.play-card{background:linear-gradient(135deg,#fffdf2,#e7f4ef);border-color:#b7c6a2;box-shadow:0 0 0 4px #e4ead9,0 0 0 5px #c4ccad,0 15px 40px #5e7d6022}.scene-top{color:#77957d}.pill{background:#f6fbec;color:#657f54;border-color:#c4d5b3}#forest{background:#e7f1e0}#forest svg{filter:none}#tree{transform-origin:492px 365px}#tree>path:first-of-type{fill:url(#bark);stroke:#886f52}#tree>g[stroke] circle{fill:url(#leafA);stroke:#78a891;stroke-width:2}#tree>g[stroke] circle:nth-child(3){fill:url(#leafB)}#tree{filter:drop-shadow(0 8px 5px #263f4933)}.tree-magic{filter:drop-shadow(0 0 9px #fffac6)}.hero-art{filter:drop-shadow(0 5px 5px #465d4c66)}.female-art{display:none}.female-hero .female-art{display:block}.female-hero .male-art{display:none}#dori #axe{translate:-60px -37px;scale:1.25;transform-origin:337px 324px}.tap-hint{background:#fffff1e8;color:#67836b;border-color:#bacda8}.tree-status span{color:#86a082}.track{background:#dce8d9;border-color:#c9d9bf}.primary{background:linear-gradient(#7a9e79,#557a62);border-color:#a9c293;color:#fff9dc;box-shadow:0 4px 0 #3f5c49,0 0 18px #b0c69244}.primary:hover{background:linear-gradient(#90ae80,#62876c)}.wallet{background:linear-gradient(145deg,#fffdf1,#f1f5df);border-color:#c6caa1}.wallet h2{color:#657b56}.balance{color:#a17b32;text-shadow:0 0 15px #e7ce8b44}.virtual{background:#e5ead5;color:#82936c}hr{border-color:#c3ccb0}.reward-heading>span,.wallet p{color:#8b9b76}.reward-heading b{color:#7c914f}.notice{background:#e8efd8;color:#73875d;border-color:#ccdab4}.notice.reward{background:#fff0b9;color:#8b7030}.stats{border-color:#bed2ba}.stats>div{background:#edf6e8}.stats span,.guide p,.under{color:#7b967b}.guide h3{color:#5c805f}.secondary{background:#f3f8ea;color:#77956e;border-color:#c8d8ba}footer{color:#90a18a}.event-guide{background:linear-gradient(135deg,#fff4d2,#f4e9fa);border-color:#dcc89b}.event-guide strong{color:#927131}.event-guide p{color:#9a927b}.event-row.gold{color:#ad842e}.event-row.purple{color:#9867bc}.event-row.pink{color:#be7395}.equipment-card{background:linear-gradient(130deg,#e2f7ef,#e8f3fa);border-color:#b2d7cd}.equipment-card>strong{color:#5a9394}.equipment-card p,.equipment-card summary,.equipment-card>small{color:#7a9d97}#equipmentNotice{color:#668c7b}.equipped b{color:#927c43}.equipped span{color:#7b9c8b}#forest .particle{color:#8d7239;text-shadow:0 0 10px #ffefb3}.event-gold #tree>g[stroke] circle{fill:#efce71}.event-purple #tree>g[stroke] circle{fill:#c39ae4}.event-pink #tree>g[stroke] circle{fill:#f2afd0}.equipment-tree #tree>g[stroke] circle{fill:#a7ece5}@keyframes shake{25%{transform:translate(60px) rotate(-3deg)}70%{transform:translate(60px) rotate(3deg)}}@keyframes grow{0%{transform:translate(60px) scale(.05);opacity:.2}100%{transform:translate(60px) scale(1);opacity:1}}

.event-gold .magic-tree-art{filter:sepia(.8) saturate(1.6) drop-shadow(0 0 8px #ffd260)}.event-purple .magic-tree-art{filter:hue-rotate(165deg) saturate(1.25) drop-shadow(0 0 9px #d2a0ff)}.event-pink .magic-tree-art{filter:hue-rotate(220deg) saturate(1.4) drop-shadow(0 0 9px #ffbcdf)}.equipment-tree .magic-tree-art{filter:hue-rotate(40deg) brightness(1.2) drop-shadow(0 0 12px #a1ffff)}#gearCrown{transform:translate(60px)}
/* Align the axe to the generated heroes' gripping hands. */
#dori #axe{translate:-61px -53px;scale:.76;transform-origin:337px 324px}
#dori{transform-origin:245px 396px}
.hero-art{transform-origin:245px 396px}
.hit #dori{animation:hero-chop .24s ease-in-out}
.hit #axe{animation:axe-chop .24s ease-in-out}
.hit .hero-art{animation:hero-lean .24s ease-in-out}
#forest[aria-pressed="true"] .hero-art{filter:drop-shadow(0 5px 5px #465d4c66)}
@keyframes hero-chop{0%,100%{transform:translate(0,0) rotate(0)}30%{transform:translate(-3px,-3px) rotate(-2deg)}65%{transform:translate(5px,1px) rotate(2deg)}}
@keyframes hero-lean{0%,100%{transform:skewX(0)}30%{transform:skewX(2deg)}65%{transform:skewX(-2deg)}}
@keyframes axe-chop{0%,100%{transform:rotate(0)}30%{transform:rotate(-26deg)}65%{transform:rotate(24deg)}}
@media(prefers-reduced-motion:reduce){.hit #dori,.hit #axe,.hit .hero-art{animation:none}}
#dori #axe{translate:-45px -79px}

#forest #heroSprite{width:210px;height:270px;overflow:hidden;display:block!important;animation:none!important;transform:none!important}#forest #dori{animation:none!important;transform:none!important}#forest #dori #axe{translate:none;scale:none;animation:none!important;transform:translate(-337px,-324px);transform-origin:0 0}#handGear{transition:transform 70ms ease-out}#heroSprite>image{pointer-events:none}@media(prefers-reduced-motion:reduce){#handGear{transition:none}}

.fantasy-axe{display:none}.basic-axe{display:none}#axe[data-tier="0"] .basic-axe{display:block}
#axe[data-tier="1"] .tier-1{display:block;filter:drop-shadow(0 0 0.7px #b5c7ce)}
#axe[data-tier="2"] .tier-2{display:block;filter:drop-shadow(0 0 1.4px #9be3ef)}
#axe[data-tier="3"] .tier-3{display:block;filter:drop-shadow(0 0 2.0999999999999996px #8bddaa)}
#axe[data-tier="4"] .tier-4{display:block;filter:drop-shadow(0 0 2.8px #b7abef)}
#axe[data-tier="5"] .tier-5{display:block;filter:drop-shadow(0 0 3.5px #ca8bf1)}
#axe[data-tier="6"] .tier-6{display:block;filter:drop-shadow(0 0 4.199999999999999px #f091c8)}
#axe[data-tier="7"] .tier-7{display:block;filter:drop-shadow(0 0 4.8999999999999995px #f5a366)}
#axe[data-tier="8"] .tier-8{display:block;filter:drop-shadow(0 0 5.6px #a5f4ff)}
#axe[data-tier="9"] .tier-9{display:block;filter:drop-shadow(0 0 6.3px #f9d078)}
#axe[data-tier="10"] .tier-10{display:block;filter:drop-shadow(0 0 7.0px #fff1b1)}

#forest #dori #axe{transform:none!important;translate:none!important;scale:none!important}#forest #axeSprite{width:92px;height:154px;overflow:hidden;display:block}#swingTrail{filter:drop-shadow(0 0 5px #ffe28f);pointer-events:none}#handGear{transition:transform 90ms cubic-bezier(.3,.1,.4,1)}@media(prefers-reduced-motion:reduce){#handGear{transition:none}#swingTrail{display:none}}

#handGear{transition:none!important}#forest #handOverlay{width:210px;height:270px;overflow:hidden;display:block;filter:none}#handOverlay image{pointer-events:none}

#forest #dori{transform:rotate(var(--body-lean,0deg))!important;transform-origin:225px 402px;transition:transform 85ms ease-in-out}#handGear{filter:drop-shadow(0 2px 2px #34483b33)}#swingTrail{stroke-width:3;opacity:0}@media(prefers-reduced-motion:reduce){#forest #dori{transition:none;transform:none!important}}
#forest #axeSprite{transform:scaleX(-1);transform-origin:0 0}

#gearCrown{transform:translate(60px,0);filter:none;pointer-events:none}.equipment-tree #gearCrown{display:block;filter:drop-shadow(0 0 5px #96fff2)}.equipment-tree .magic-tree-art{filter:brightness(1.08) saturate(1.1) drop-shadow(0 0 8px #9aeee3)}

.level-panel{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff8e5;border:1px solid #d5c498;border-radius:10px;padding:16px 20px;margin-bottom:22px}.level-panel label{font-size:13px;font-weight:700}.level-panel select{padding:10px;border:1px solid #b8c39c;border-radius:6px;background:#fffdf3;color:#546c4a;font:inherit}.level-panel strong{font-size:12px;color:#8b793f}.level-panel p{width:100%;font-size:11px}#usdtValue{font-size:12px;font-weight:700;margin-top:12px;color:#7d8f5a}

#weaponSelect{display:block;width:100%;padding:10px;margin:8px 0 12px;background:#fffdf3;border:1px solid #adcbb9;border-radius:6px;color:#546f64;font:inherit;font-size:12px}.equipment-card label{font-size:11px;color:#668a7d}

.legend-guide{background:linear-gradient(135deg,#fff0b5,#f4dcff,#d3fff5);border:2px solid #ddb365;border-radius:12px;padding:18px 20px}.legend-guide strong{font-size:13px;color:#8c5eb1}.legend-guide p{font-size:11px;color:#97805a;margin-top:8px}.legend-guide b{color:#b27d26}.event-legend .magic-tree-art{filter:sepia(.4) saturate(1.7) hue-rotate(290deg) brightness(1.2) drop-shadow(0 0 16px #ffe09b) drop-shadow(0 0 6px #eea8ff)}.event-legend{box-shadow:inset 0 0 0 4px #edc765,0 0 26px #dcabed}.event-legend .tap-hint{background:#fff1c9;color:#a27434;border-color:#ebc36e}.event-legend .magic-tree-art{animation:legend-shimmer 2s ease-in-out infinite}@keyframes legend-shimmer{50%{opacity:.86}}@media(prefers-reduced-motion:reduce){.event-legend .magic-tree-art{animation:none}}

.music-card{padding:18px;background:#f2ecff;border:1px solid #cbb9e3;border-radius:12px}.music-card label{font-size:13px;font-weight:700;color:#8b6bab}.music-card select{width:100%;padding:10px;margin:12px 0;border:1px solid #c5b7d6;background:#fffdfc;border-radius:6px;color:#79648d;font:inherit;font-size:12px}.music-card button{padding:9px 15px;background:#9074ad;color:white;border:0;border-radius:6px}.music-card p{font-size:10px;margin-top:10px}

#legendYoutube{width:100%;aspect-ratio:16/9;border:0;border-radius:8px;margin-top:12px}#legendYoutube[hidden]{display:none}

.weapon-top{display:flex;align-items:center;gap:12px}.level-panel #weaponSelect{display:inline-block;width:auto;margin:0;font-size:13px}.weapon-top label{white-space:nowrap}@media(max-width:640px){.weapon-top{width:100%}.level-panel #weaponSelect{flex:1;min-width:0}.level-panel>select{flex:1;min-width:0}}
.level-panel label,.level-panel .weapon-top label{font-size:13px;font-weight:700;line-height:1.4}.level-panel #levelSelect,.level-panel #weaponSelect{font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;height:42px;padding:10px 12px;border:1px solid #b8c39c;border-radius:6px;background:#fffdf3;color:#546c4a}
/* Remove the three sidebar panels requested by the user. */
.music-card,.equipment-card,.stats{display:none!important}
/* Phone-first play area with compact controls and reachable buttons. */
@media(max-width:640px){main{padding:12px 12px 24px}header{padding-bottom:10px}.brand span{font-size:18px}.badge{display:none}.intro{padding:14px 2px 12px}.intro .eyebrow{font-size:8px}h1{font-size:21px;line-height:1.25;margin:7px 0}h1 br{display:none}.intro p{font-size:10px;line-height:1.5}.hero-select{padding:9px 10px;margin-bottom:10px;gap:6px}.hero-select>span{font-size:10px;margin-right:0}.hero-select button{min-height:42px;padding:8px 9px;font-size:11px;flex:1}.hero-select small{display:none}.level-panel{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:7px 10px;margin-bottom:12px}.level-panel>label{grid-column:1;grid-row:1;font-size:11px}.level-panel>#levelSelect{grid-column:1;grid-row:2;width:100%;min-width:0}.level-panel>.weapon-top{display:contents}.level-panel .weapon-top label{grid-column:2;grid-row:1;font-size:11px}.level-panel #weaponSelect{grid-column:2;grid-row:2;width:100%;min-width:0}.level-panel #levelSelect,.level-panel #weaponSelect{font-size:12px;height:44px;padding:8px 5px}.level-panel>#costInfo{grid-column:1/-1;font-size:10px}.level-panel>p{grid-column:1/-1;font-size:9px;line-height:1.45}.layout{display:flex;flex-direction:column;gap:14px}.play-card{padding:9px;border-radius:12px}.scene-top{padding:0 2px 8px;font-size:10px}.pill{padding:5px 8px}#forest{aspect-ratio:4/3}#forest>svg{width:100%;height:100%}.tap-hint{font-size:10px;padding:6px 10px;bottom:8px}.tree-status{padding:12px 3px 10px}.tree-status>div:first-child{font-size:11px}.primary{min-height:52px;font-size:15px;gap:10px}.primary small{font-size:9px}.under{font-size:9px;margin-top:10px;line-height:1.5}aside{gap:10px}.wallet{padding:16px;border-radius:14px}.wallet h2{margin:8px 0;font-size:15px}.balance{font-size:34px}.wallet hr{margin:12px 0}.wallet .notice{margin-top:10px}.event-guide,.legend-guide{padding:13px 16px}.event-row{margin-top:8px}.guide{display:none}.secondary{min-height:44px}footer{font-size:9px;margin-top:15px}}
@media(max-width:360px){.hero-select button{font-size:10px}.level-panel #levelSelect,.level-panel #weaponSelect{font-size:11px}h1{font-size:19px}}

.level-panel select:disabled{opacity:.6;cursor:not-allowed;background:#e4e9dc}#selectionHint{color:#927442;font-size:10px;margin:0}

#changeEquipment{padding:10px 14px;min-height:44px;background:#718e6f;color:white;border:0;border-radius:6px;font:inherit;font-size:12px}@media(max-width:640px){#changeEquipment{grid-column:1/-1}}

.legend-gold{position:absolute;pointer-events:none;font-size:17px;color:#ffdd68;text-shadow:0 0 6px #fff1ab,0 0 12px #ffbb27;z-index:5;animation:legend-gold-fall .9s ease-in forwards}@keyframes legend-gold-fall{0%{opacity:0;transform:translate(0,-8px) rotate(0) scale(.7)}15%{opacity:1;transform:translate(0,0) rotate(20deg) scale(1)}85%{opacity:1}100%{opacity:0;transform:translate(var(--drift),var(--fall)) rotate(200deg) scale(.8)}}@media(prefers-reduced-motion:reduce){.legend-gold{animation:legend-gold-fade .3s forwards}@keyframes legend-gold-fade{to{opacity:0}}}

.bonus-table{padding:14px;background:#fff8e7;border:1px solid #dfd0ae;border-radius:10px;font-size:11px;color:#897447}.bonus-table summary{cursor:pointer;font-weight:700}.bonus-table p{font-size:10px;margin:8px 0}.bonus-table table{width:100%;border-collapse:collapse;font-size:10px}.bonus-table th,.bonus-table td{padding:6px 3px;text-align:right;border-bottom:1px solid #eadfc8}

.event-row.teal{color:#3d9596}.event-row.silver{color:#7d8792}.event-teal .magic-tree-art{filter:hue-rotate(45deg) saturate(1.3) drop-shadow(0 0 7px #98efdf)}.event-silver .magic-tree-art{filter:grayscale(.9) brightness(1.35) drop-shadow(0 0 7px #e8f0ff)}.event-teal .tap-hint{background:#e1fff5;color:#458e88}.event-silver .tap-hint{background:#f3f6ff;color:#778290}

.rank-panel{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:12px 18px;margin-bottom:16px;border:1px solid #d0b774;border-radius:10px;background:linear-gradient(110deg,#fff4c8,#e8f4dc)}.rank-panel strong{color:#977332;font-size:15px}.rank-panel span{font-size:11px;color:#829168}.rank-panel small{width:100%;font-size:10px;color:#9c9875}

.rank-corner{position:absolute;left:14px;top:12px;z-index:8;font-size:18px;font-weight:800;color:#fff9d9;text-shadow:0 1px 3px #493322,0 0 7px #493322;pointer-events:none;background:none;border:none;padding:0}@media(max-width:640px){.rank-corner{font-size:14px;left:10px;top:9px}}

#forest .wallet{position:absolute;right:10px;top:12px;bottom:12px;width:25%;padding:12px;text-align:left;background:rgba(255,253,238,.94);border-radius:10px;border-color:#dccb9d;box-shadow:0 4px 15px #60492622;cursor:default;overflow:auto;z-index:6}#forest .wallet .eyebrow{font-size:7px;letter-spacing:1px}#forest .wallet h2{font-size:13px;margin:9px 0}#forest .wallet .balance{font-size:26px;letter-spacing:-1px}#forest .wallet .balance small{font-size:12px;margin-left:4px}#forest .wallet .virtual{font-size:8px;padding:3px 5px}#forest .wallet p{font-size:8px;line-height:1.5}#forest .wallet #usdtValue{font-size:9px;margin-top:8px}#forest .wallet hr{margin:12px 0}#forest .wallet .reward-heading{font-size:9px}#forest .wallet .reward-heading b{font-size:17px}#forest .wallet .notice{font-size:8px;padding:8px 4px;margin-top:10px}#forest .wallet .reward-track{margin:8px 0}#forest .tap-hint{left:37%;font-size:10px}#forest .wallet .balance{overflow-wrap:anywhere}@media(max-width:640px){#forest .wallet{width:29%;right:5px;top:6px;bottom:6px;padding:7px;border-radius:7px}#forest .wallet .eyebrow{display:none}#forest .wallet h2{font-size:9px;margin:3px 0 6px}#forest .wallet h2 span{display:none}#forest .wallet .balance{font-size:17px}#forest .wallet .balance small{font-size:8px}#forest .wallet .virtual{font-size:6px}#forest .wallet p{font-size:6px}#forest .wallet #usdtValue{font-size:7px;margin-top:5px}#forest .wallet hr{margin:7px 0}#forest .wallet .reward-heading{font-size:7px;gap:3px;flex-wrap:wrap}#forest .wallet .reward-heading b{font-size:12px}#forest .wallet .notice{font-size:6px;margin-top:5px;padding:5px 3px}#forest .tap-hint{font-size:8px;padding:5px 6px;left:34%}#forest>svg{object-fit:contain}#forest .wallet .track{height:5px}}
@media(max-width:640px){#forest{aspect-ratio:1/1}#forest .wallet{width:32%;padding:7px}#forest .wallet p,#forest .wallet .virtual,#forest .wallet .notice{font-size:8px}#forest .wallet #usdtValue,#forest .wallet .reward-heading{font-size:9px}#forest .wallet h2{font-size:11px}#forest .wallet .balance{font-size:20px}}
#forest .wallet{bottom:auto;height:auto;padding:16px}#forest .wallet h2{font-size:15px}#forest .wallet .balance{font-size:32px}#forest .wallet p{font-size:10px}#forest .wallet #usdtValue{font-size:11px}#forest .wallet .reward-heading{font-size:11px}#forest .wallet .notice{font-size:10px;padding:10px 6px}#forest .wallet .virtual{font-size:9px}
@media(max-width:640px){#forest{aspect-ratio:3/4;display:flex;flex-direction:column;background:#f4f0df}#forest>svg{height:62%;width:100%;flex:none}#forest .wallet{position:relative;top:auto;right:auto;bottom:auto;width:100%;height:auto;padding:12px 14px;border-radius:0;box-shadow:none;overflow:visible;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;text-align:left;flex:1}#forest .wallet .eyebrow,#forest .wallet hr{display:none}#forest .wallet h2{font-size:13px;margin:0;grid-column:1}#forest .wallet .balance{font-size:29px;grid-column:1;grid-row:2;line-height:1.1}#forest .wallet .balance small{font-size:13px}#forest .wallet .virtual{font-size:9px;grid-column:1;width:max-content;margin:0}#forest .wallet #usdtValue{font-size:10px;grid-column:1;margin:0}#forest .wallet>p:not(#usdtValue){font-size:8px;line-height:1.45;margin:0}#forest .wallet .reward-heading{grid-column:2;grid-row:1;font-size:11px;flex-wrap:nowrap}#forest .wallet .reward-heading b{font-size:20px}#forest .wallet .reward-track{grid-column:2;grid-row:2;align-self:center;margin:0;height:7px}#forest .wallet .notice{grid-column:2;grid-row:3/5;margin:0;padding:8px;font-size:10px;align-self:stretch;display:flex;align-items:center;justify-content:center}#forest .tap-hint{top:56%;bottom:auto;left:35%;font-size:9px}#forest .rank-corner{font-size:15px}.intro{padding:10px 2px}.intro h1{font-size:19px}.intro p{display:none}.level-panel>p:not(#selectionHint){display:none}.rank-panel{padding:8px 10px;margin-bottom:10px;gap:5px 10px}.rank-panel strong{font-size:12px}.rank-panel span{font-size:10px}.rank-panel small{font-size:8px}.primary{min-height:50px}.event-guide,.legend-guide{padding:12px}.scene-top{padding-bottom:6px}}
@media(max-width:640px){#forest{aspect-ratio:auto}#forest>svg{height:auto;aspect-ratio:720/440}#forest .wallet{flex:none;grid-template-columns:1.05fr 1fr;padding:12px;gap:6px 10px}#forest .wallet #usdtValue{font-size:9px}#forest .tap-hint{display:none}#forest .rank-corner{top:8px}}

main{max-width:1480px}.layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}#forest{aspect-ratio:16/10}#forest>svg{width:100%;height:100%}#forest .wallet{width:23%}@media(max-width:800px) and (min-width:641px){.layout{grid-template-columns:minmax(0,1fr) 220px}}@media(max-width:640px){main{padding:10px 8px 24px}.layout{display:flex}#forest{aspect-ratio:auto}#forest>svg{height:auto;aspect-ratio:720/500}#forest .wallet{width:100%}.play-card{padding:7px}.intro h1{font-size:17px}.rank-panel small{display:none}}

#particles{position:absolute;inset:0;pointer-events:none;z-index:12;overflow:hidden}.legend-gold{font-size:23px;z-index:12}

.legend-story{background:linear-gradient(145deg,#fff1ce,#f7e8f5,#e8f6ef);padding:22px;border:1px solid #dac08a}.legend-story>strong{font-size:17px;letter-spacing:.2px;color:#96713d}.legend-story .legend-poem{font-size:13px;line-height:1.9;color:#aa8157;margin:16px 0 10px}.legend-story>p{line-height:1.85;font-size:11px}.legend-story-note{padding:12px 0;margin:13px 0;border-top:1px solid #dac7ac66;border-bottom:1px solid #dac7ac66;font-size:10px;line-height:1.8;color:#8a9272}.legend-story button{border:1px solid #d7bd8c;background:#fff8e7;border-radius:8px;padding:10px 14px;color:#977746;font:inherit;font-size:11px;cursor:pointer}.legend-story #legendMusicStatus{font-size:9px;color:#a49c8b}#chance4[hidden]{display:none!important}
#forest .wallet{box-sizing:border-box;min-width:0;height:350px;overflow:auto;contain:inline-size}#forest .wallet .balance{display:flex;align-items:baseline;gap:4px;min-width:0;height:42px;white-space:nowrap;overflow:hidden;letter-spacing:-1px}#forest .wallet .balance #money{display:block;min-width:0;max-width:100%;overflow:auto;white-space:nowrap;scrollbar-width:none;font-variant-numeric:tabular-nums}#forest .wallet .balance #money::-webkit-scrollbar{display:none}#forest .wallet .balance small{flex:none}#forest .wallet #usdtValue{height:32px;overflow:hidden;overflow-wrap:anywhere}#forest .wallet .notice{height:44px;overflow:auto}#forest .wallet .reward-heading{height:24px}
@media(max-width:640px){#forest .wallet{width:100%;height:184px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:18px 36px 18px 30px auto;overflow:hidden;flex:none}#forest .wallet .balance{height:36px;font-size:27px}#forest .wallet #usdtValue{height:30px;margin:0}#forest .wallet .notice{height:auto;min-width:0}#forest .wallet .reward-heading{height:18px}#forest .wallet>p{min-width:0}}
.legend-story-note,.legend-story #testLegendMusic,.legend-story #legendMusicStatus{display:none!important}
/* Stable wallet with no clipping or nested scroll. */
#forest .wallet{height:auto;min-height:0;max-height:none;bottom:auto;overflow:visible;padding:14px;display:flex;flex-direction:column;gap:7px;contain:none}#forest .wallet .balance{height:42px;min-height:42px;overflow:visible;white-space:nowrap;display:flex;gap:4px;letter-spacing:0;line-height:1.1}#forest .wallet .balance #money{overflow:visible;white-space:nowrap;font-size:var(--money-size,28px);font-variant-numeric:tabular-nums;max-width:none}#forest .wallet .balance small{margin:0;font-size:12px}#forest .wallet #usdtValue{height:auto;min-height:26px;overflow:visible;overflow-wrap:anywhere;line-height:1.5;margin:0}#forest .wallet h2{margin:0;font-size:14px;line-height:1.4}#forest .wallet p{margin:0;font-size:10px;line-height:1.5}#forest .wallet .virtual{align-self:flex-start;margin:0}#forest .wallet hr{margin:4px 0}#forest .wallet .reward-heading{height:auto;min-height:24px;flex-wrap:wrap}#forest .wallet .notice{height:auto;min-height:44px;overflow:visible;margin:0;padding:8px;line-height:1.5}#forest .wallet .reward-track{margin:2px 0}
@media(max-width:640px){#forest .wallet{width:100%;height:190px;min-height:190px;max-height:190px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:20px 38px 18px 30px 42px;gap:3px 10px;overflow:visible}#forest .wallet h2{font-size:12px}#forest .wallet .balance{height:38px;min-height:0}#forest .wallet .balance #money{font-size:var(--money-size,27px)}#forest .wallet #usdtValue{min-height:0;font-size:9px;line-height:1.4}#forest .wallet p{font-size:8px;line-height:1.4}#forest .wallet .reward-heading{min-height:0;font-size:10px}#forest .wallet .notice{min-height:0;height:auto;padding:7px;font-size:9px}#forest .wallet .reward-track{margin:0}}
@media(min-width:641px){#forest .wallet{height:400px}#forest .wallet #usdtValue{height:38px;min-height:38px;flex:none}#forest .wallet .balance{flex:none}}

.weapon-top[hidden]{display:none!important}#levelDialog{padding:20px}#levelDialog .level-panel{display:block;margin:0;padding:0;border:0;background:none}#levelDialog select{width:100%;margin:12px 0;padding:12px}#closeLevel{float:right}#levelPicker{width:100%;padding:11px;border:1px solid #bba14c;border-radius:9px;background:#fff2bd;color:#735925;font-weight:700;cursor:pointer;margin-top:auto;flex:none}#forest .wallet{height:440px}@media(max-width:640px){#forest .wallet{height:230px;max-height:230px;min-height:230px;grid-template-rows:20px 38px 18px 30px 42px 34px}#levelPicker{grid-column:1/-1;grid-row:6;padding:8px;margin:0}}

.hero-select,.rank-panel{display:none!important}
@media(max-width:640px){html,body{margin:0;width:100%;height:100%;overflow:hidden}body{padding:0!important}body>main{width:100%;max-width:none;height:100dvh;margin:0;padding:0;display:flex;flex-direction:column;box-sizing:border-box;background:#fbf2dc}main>header{margin:0;padding:8px 12px;min-height:46px;box-sizing:border-box;flex:none}main>header .badge,.intro,.account-bar,.layout>aside,main>footer{display:none!important}.layout{display:flex;flex:1;min-height:0;margin:0;gap:0}.play-card{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0 8px calc(8px + env(safe-area-inset-bottom));border:0;border-radius:0;box-sizing:border-box;background:transparent}.scene-top{flex:none;height:26px;margin:0;padding:0 4px;font-size:10px;display:flex;align-items:center;justify-content:space-between}#forest{display:flex;flex-direction:column;flex:1;min-height:0;aspect-ratio:auto;width:100%;border-radius:12px;margin:0;overflow:hidden;background:#efd0a0}#forest>svg{flex:1;width:100%;height:0;min-height:0;aspect-ratio:auto;object-fit:cover}#forest .wallet{position:relative;inset:auto;width:100%;height:206px;min-height:206px;max-height:206px;flex:none;padding:10px 12px;border-radius:0;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:18px 32px 24px 30px 32px 36px;gap:2px 10px;overflow:hidden;background:#fffbedf5}#forest .wallet h2{grid-column:1;grid-row:1;font-size:12px}#forest .wallet .balance{grid-column:1;grid-row:2;height:32px}#forest .wallet .virtual{grid-column:1;grid-row:3;align-self:start;font-size:8px}#forest .wallet #usdtValue{grid-column:1;grid-row:4;height:auto;font-size:10px}#forest .wallet>p:not(#usdtValue){grid-column:1;grid-row:5;font-size:7px}#forest .wallet>p:last-of-type{display:none}#forest .wallet .reward-heading{grid-column:2;grid-row:1/3;align-self:center;font-size:11px}#forest .wallet .reward-track{grid-column:2;grid-row:3;align-self:center}#forest .wallet .notice{grid-column:2;grid-row:4/6;padding:8px;font-size:10px;overflow:auto}#forest .wallet hr,#forest .wallet .eyebrow,#forest .tap-hint{display:none}#levelPicker{grid-column:1/-1;grid-row:6;margin:0;font-size:13px;padding:8px}.tree-status{margin:6px 4px;flex:none;font-size:10px}.tree-status strong{font-size:12px}.tree-status .track{height:5px}#chop{margin:0;min-height:50px;padding:9px;font-size:16px;flex:none}#chop small{font-size:10px}.under{display:none}#pause{display:none}#supportOpen{right:15px;bottom:calc(75px + env(safe-area-inset-bottom));padding:9px 12px;font-size:12px}#supportOpen span{font-size:16px}#heroRankText{top:12px}#levelDialog{max-height:85dvh} }

@media(max-width:640px){#forest>svg{object-fit:cover}#forest>svg>image{height:440px}#forest{position:relative}#forest>svg{position:absolute;inset:0 0 206px;width:100%;height:calc(100% - 206px);flex:none}#forest .wallet{position:absolute;top:auto;bottom:0;left:0;right:0}.scene-top{height:22px}.play-card{padding-top:0}#forest>svg{aspect-ratio:auto} }

@media(max-width:640px){#forest{background:url('assets/desert-ruins.webp') center/cover no-repeat}#forest>svg>image{display:none}}

/* Mobile playfield takes about half of the visible phone screen. */
@media(max-width:640px){#forest{flex:none;height:calc(48dvh + 206px);min-height:calc(48dvh + 206px);max-height:none}#forest>svg{height:48dvh;bottom:206px}.play-card{justify-content:flex-start}.layout{overflow:hidden} }
@media(max-width:640px) and (max-height:680px){#forest{height:calc(45dvh + 184px);min-height:calc(45dvh + 184px)}#forest>svg{height:45dvh;bottom:184px}#forest .wallet{height:184px;min-height:184px;max-height:184px;grid-template-rows:16px 28px 20px 24px 28px 34px;padding:8px 12px}#chop{min-height:44px;padding:6px}.tree-status{margin:4px}}

@media(max-width:640px){#forest{flex:1;min-height:0;height:auto;max-height:none}#forest>svg{height:calc(100% - 206px);max-height:48dvh}.play-card{padding-bottom:calc(12px + env(safe-area-inset-bottom));min-height:0}#chop{flex-shrink:0;min-height:52px;margin-bottom:0}.tree-status{flex-shrink:0}#supportOpen{bottom:calc(85px + env(safe-area-inset-bottom))}}
@media(max-width:640px) and (max-height:680px){#forest{flex:1;height:auto;min-height:0}#forest>svg{height:calc(100% - 184px);max-height:45dvh}}

#chop.primary{background:linear-gradient(110deg,#402285,#914ac7 48%,#452295);color:#fff3c9;border:2px solid #ebc96d;border-radius:14px;box-shadow:0 0 15px #b56bde70,inset 0 1px 0 #ffe3aa80,0 4px 0 #382066;text-shadow:0 1px 3px #260c4d;font-weight:800;letter-spacing:1px}#chop.primary[aria-pressed="true"]{background:linear-gradient(110deg,#763454,#cc6470,#763454);box-shadow:0 0 18px #eb967670,inset 0 1px 0 #ffe3aa80,0 4px 0 #542438}#chop.primary small{color:#f1d9ff;letter-spacing:0}#chop.primary:active{transform:translateY(2px);box-shadow:0 0 18px #b56bde70}@media(max-width:640px){#chop.primary{font-size:19px;min-height:54px}}

@media(max-width:640px){#forest #dori,#forest #handGear,#forest #swingTrail,#forest #axe{filter:none!important;transition:none!important}#forest.hit #tree,#forest.hit #dori,#forest.felled #tree{animation:none!important}#forest.event-legend .magic-tree-art{animation:none;filter:sepia(.4) saturate(1.5) hue-rotate(290deg)}#forest.event-gold .magic-tree-art{filter:sepia(.65) saturate(1.5)}#forest.event-purple .magic-tree-art{filter:hue-rotate(160deg)}#forest.event-pink .magic-tree-art{filter:hue-rotate(230deg)}#forest.event-teal .magic-tree-art{filter:hue-rotate(45deg)}#forest.event-silver .magic-tree-art{filter:grayscale(.9) brightness(1.2)}}

#forest #tree .magic-tree-art{filter:none!important;animation:none!important}

#forest.event-legend{box-shadow:inset 0 0 0 3px #ffdb60,0 0 16px #ffce5970}#forest.event-legend #treeLabel{color:#ffe782;text-shadow:0 1px 3px #6a3d11}

#legendGoldLayer{position:fixed;inset:0;pointer-events:none;z-index:1500;overflow:hidden}#legendGoldLayer .legend-gold{font-size:24px;text-shadow:0 1px 3px #9b5b00,0 0 7px #ffe373}#forest.event-legend{border:2px solid #ffe096;box-shadow:inset 0 0 0 2px #fbc7ff,0 0 16px #a7d8ff80}
