body.forest-page{color:#fff;background:radial-gradient(ellipse at top,#087fc0 0,#04509a 35%,#001e52 100%);font-size:19px}
.forest-page .rule-card{background:linear-gradient(160deg,#07549b,#02265c 60%,#001e52);border:2px solid #e4b743;box-shadow:0 10px 30px #00132dbb,0 0 18px #36bbff70}
.forest-page .promo-banner{position:relative;width:100%;aspect-ratio:1400/300;background:url('../../images/doremi-rules-banner-v3.jpg') center/cover no-repeat;overflow:hidden}
.forest-page .rule-body{color:#fff}.forest-page .rule-video{border-color:#ffc94c;box-shadow:0 4px 20px #001734}.forest-page .art-game-title{color:#ffe06b;border-color:#79d8ff90;text-shadow:2px 3px 3px #00122f}
.forest-page .forest-video{max-width:970px;margin:0 auto 25px;border:2px solid #ffc94c;border-radius:18px;background:#001735;overflow:hidden;box-shadow:0 4px 20px #001734;text-align:center}.forest-page .forest-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}.forest-page .forest-video a{display:inline-block;color:#fff4bb;padding:8px 12px;font-size:15px;font-weight:700}
.forest-page .art-instructions{max-width:none;gap:18px}.forest-page .art-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding:18px;background:linear-gradient(135deg,#075aab,#063578);border:1px solid #69d5ff;border-radius:14px;box-shadow:inset 0 1px 5px #9ae7ff66,0 4px 9px #00193766}
.forest-page .art-row img{width:100%;aspect-ratio:980/520;object-fit:contain;border:1px solid #eec756;border-radius:9px}.forest-page .art-row h2{font-size:26px;color:#ffe06b;margin:0 0 10px;text-shadow:2px 2px #002151}.forest-page .art-row p{font-size:19px;line-height:1.8;margin:0;color:#fff;text-shadow:1px 2px #002151}.forest-page .back{color:#17365b}.forest-page footer{color:#e3f5ff}
@media(max-width:650px){.forest-page .art-row{grid-template-columns:1fr;gap:12px;padding:12px}.forest-page .art-row h2{font-size:22px}.forest-page .art-row p{font-size:17px}}
/* Forest Prince: match the homepage download header and emphasize the rule images. */
.forest-page .promo-banner{background-image:url('../../images/forest-rule-banner-v29-clean.png');aspect-ratio:1400/300}
.forest-top{position:sticky;top:0;z-index:30;background:linear-gradient(#075aa5,#002955);border-bottom:2px solid #57cfff;box-shadow:0 5px 18px #00152db3}
.forest-top-inner{width:min(1400px,calc(100% - 32px));margin:auto;padding:10px 0;display:flex;align-items:center;gap:18px}
.forest-top-brand{display:block;flex:0 0 175px}.forest-top-brand img{display:block;width:100%;height:auto}
.forest-top-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex:1;min-width:0}
.forest-top-grid .download-card{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:60px;padding:6px 7px;border:2px solid #a9c3da;border-radius:14px;background:linear-gradient(180deg,#405264,#17232f 44%,#080d14 55%,#141e29);box-shadow:inset 0 1px 5px #ffffffa0,0 3px 7px #001333aa;color:#fff;text-decoration:none;font-size:clamp(14px,1.55vw,23px);font-weight:900;line-height:1.1;text-align:center;text-shadow:1px 2px 2px #000}
.forest-top-grid .download-card:hover,.forest-top-grid .download-card:focus-visible{filter:brightness(1.2);outline:2px solid #ffdd72;outline-offset:2px}
.forest-top-grid .download-icon{display:block;flex:0 0 36px;width:36px;height:36px;object-fit:contain;color:#fff}
.forest-page .art-row{grid-template-columns:minmax(0,7fr) minmax(0,3fr)}
.forest-page .art-row h2{font-size:22px}.forest-page .art-row p{font-size:16px;line-height:1.65}
html[data-mobile-platform="android"] .forest-top .pc-v2,html[data-mobile-platform="android"] .forest-top .ios-v2,html[data-mobile-platform="ios"] .forest-top .pc-v2,html[data-mobile-platform="ios"] .forest-top .android-v2,html[data-mobile-platform="ios"] .forest-top .official-v2{display:none!important}
html[data-mobile-platform="android"] .forest-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-mobile-platform="ios"] .forest-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.forest-top-inner{width:calc(100% - 20px);gap:8px}.forest-top-brand{flex-basis:100px}.forest-top-grid{gap:4px}.forest-top-grid .download-card{min-height:46px;font-size:14px;padding:4px;gap:4px}.forest-top-grid .download-icon{flex-basis:25px;width:25px;height:25px}}
@media(max-width:650px){.forest-page .art-row{grid-template-columns:1fr;gap:12px}.forest-page .art-row img{aspect-ratio:980/520}.forest-page .art-row h2{font-size:20px}.forest-page .art-row p{font-size:16px}.forest-top-inner{align-items:flex-start}.forest-top-brand{flex-basis:70px}.forest-top-grid .download-card{font-size:12px;flex-direction:column;min-height:55px}.forest-top-grid .download-icon{flex-basis:22px;width:22px;height:22px}html[data-mobile-platform="other"] .forest-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Keep the 70/30 artwork layout while improving description readability. */
.forest-page .art-row h2{font-size:clamp(25px,2.3vw,32px);line-height:1.25}
.forest-page .art-row p{font-size:clamp(20px,1.65vw,24px);line-height:1.7;overflow-wrap:anywhere}
@media(max-width:650px){.forest-page .art-row h2{font-size:25px}.forest-page .art-row p{font-size:20px}}
/* Match homepage surroundings and extend the artwork around the embedded video. */
body.forest-page{background:#031d59 linear-gradient(#318bd017,#318bd017),url('../../images/optimized-v149/playland-background-wide.webp') center top/cover fixed no-repeat}
.forest-top-inner{width:min(1600px,calc(100% - 32px));gap:12px}.forest-top-brand{flex-basis:210px}.forest-top-grid .download-card{min-height:100px;font-size:clamp(20px,1.8vw,29px)}.forest-top-grid .download-icon{flex-basis:56px;width:56px;height:56px}
.forest-page .forest-video-backdrop{margin:-28px -28px 24px;padding:30px 24px;background:#053b25 url('../../images/forest-video-bg-v32.png') center center/cover no-repeat}
.forest-page .forest-video{max-width:970px;margin:0 auto;border:3px solid #d9b555;box-shadow:0 0 0 5px #162f20,0 8px 25px #001809cc}
.forest-page .art-game-title{margin-top:0}
.forest-page .side-account-panel{position:fixed;z-index:25;top:35vh;left:max(8px,calc((100vw - 1400px)/2 - 230px));width:clamp(160px,12vw,220px);display:flex;flex-direction:column;gap:8px}
.forest-page .side-account-action{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5%;width:100%;aspect-ratio:1/1;padding:14%;background:url('../../images/side-square-v26.png') center/contain no-repeat;color:#fff;text-decoration:none;text-align:center;font-size:clamp(23px,2.1vw,36px);font-weight:900;line-height:1.1;text-shadow:0 2px 3px #00152d}
.forest-page .side-account-action.side-recharge{color:#ffdf76}.forest-page .side-action-icon{width:42%;max-height:42%;color:inherit;filter:drop-shadow(0 2px 2px #001a4a)}
.forest-page .side-account-action:hover,.forest-page .side-account-action:focus-visible{filter:brightness(1.18);outline:2px solid #fff1a6;outline-offset:2px}
@media(max-width:1100px){.forest-page .side-account-panel{position:relative;top:auto;left:auto;flex-direction:row;justify-content:center;width:auto;margin:10px auto}.forest-page .side-account-action{width:min(26vw,130px);font-size:clamp(20px,4vw,28px)}.forest-top-brand{flex-basis:100px}.forest-top-grid .download-card{min-height:60px;font-size:clamp(12px,2vw,18px)}.forest-top-grid .download-icon{flex-basis:28px;width:28px;height:28px}}
@media(max-width:650px){body.forest-page{background-attachment:scroll;background-size:auto 100vh}.forest-top-brand{flex-basis:70px}.forest-top-grid .download-card{min-height:55px;font-size:12px}.forest-top-grid .download-icon{flex-basis:22px;width:22px;height:22px}.forest-page .forest-video-backdrop{margin:-18px -18px 20px;padding:20px 12px}}
@media(min-width:1101px){.forest-page .rule-card{width:calc(100% - 380px);max-width:1120px}.forest-page .side-account-panel{left:max(8px,calc((100vw - min(1120px,100vw - 380px))/2 - clamp(160px,12vw,220px) - 12px))}}
/* Shared character background and the same full-width download header as home. */
body.forest-page{background-color:#031d59;background-image:linear-gradient(#318bd017,#318bd017),url('../../images/optimized-v149/playland-background-wide.webp');background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
.forest-top-inner{width:calc(100% - 24px);max-width:none}.forest-top-brand{flex-basis:175px}.forest-top-grid .download-card{min-height:80px;font-size:clamp(18px,1.5vw,25px)}
.forest-page .rule-card,.forest-page footer{position:relative;z-index:1}
.forest-page .coin-field{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.forest-page .flying-coin{position:absolute;left:var(--coin-x);top:var(--coin-y);width:var(--coin-size);height:var(--coin-size);border:2px solid #ffe994;border-radius:50%;background:radial-gradient(circle at 34% 26%,#fff4a2,#ffc627 48%,#b96400 80%);box-shadow:0 1px 5px #ffcb4f99,inset 0 0 0 2px #d7820a;animation:forest-coin-burst var(--coin-duration,7s) ease-in-out var(--coin-delay) infinite}
.forest-page .flying-coin:after{content:'★';position:absolute;inset:0;display:grid;place-items:center;color:#9d5400;font-size:calc(var(--coin-size)*.48)}
@keyframes forest-coin-burst{0%{transform:translate(0,20px) rotate(-35deg) scale(.75);opacity:0}20%{opacity:.85}50%{transform:translate(var(--coin-wobble),calc(var(--coin-rise)*-.5)) rotate(65deg) scale(.9)}65%{opacity:.72}100%{transform:translate(var(--coin-drift),calc(var(--coin-rise)*-1)) rotate(150deg) scale(1);opacity:0}}
.forest-page .forest-video-backdrop{position:relative;margin:-28px -28px 24px;padding:0;aspect-ratio:1160/1354;background:#043522 url('../../images/forest-unified-v38.png') center/100% 100% no-repeat}
.forest-page .forest-video{position:absolute;left:7%;width:86%;top:36%;margin:0;max-width:none}
@media(max-width:1100px){.forest-top-brand{flex-basis:100px}.forest-top-grid .download-card{min-height:60px;font-size:clamp(12px,2vw,18px)}}
@media(max-width:760px){body.forest-page{background-attachment:scroll;background-size:auto 100vh}.forest-page .coin-field{display:none}}
@media(max-width:650px){.forest-top-brand{flex-basis:70px}.forest-top-grid .download-card{min-height:55px;font-size:12px}.forest-page .forest-video-backdrop{margin:-18px -18px 20px;padding:0}}
@media(prefers-reduced-motion:reduce){.forest-page .flying-coin{animation:none;opacity:.5}}
@media(min-width:1101px){.forest-top-inner{padding:7px 0}.forest-top-brand{flex-basis:145px}.forest-top-grid .download-card{min-height:65px}.forest-top-grid .download-icon{flex-basis:44px;width:44px;height:44px}}
@media(min-width:1101px){.forest-top-inner{padding:10px 0}.forest-top-brand{flex-basis:175px}.forest-top-grid .download-card{min-height:80px}.forest-top-grid .download-icon{flex-basis:56px;width:56px;height:56px}}
.forest-page .back.bottom{display:table;margin:0 auto 28px;text-align:center}
