@font-face{font-family:Forest;src:url('./fonts/BeVietnamPro-SemiBold.ttf') format('truetype');font-weight:400 600;font-display:swap}@font-face{font-family:Forest;src:url('./fonts/BeVietnamPro-ExtraBold.ttf') format('truetype');font-weight:700;font-display:swap}@font-face{font-family:Forest;src:url('./fonts/BeVietnamPro-Black.ttf') format('truetype');font-weight:800 900;font-display:swap}
:root{font-family:Forest,system-ui,sans-serif;color:#fcf8e8;background:#11221d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0%,#30483a,#142820 60%,#0e1b17);min-height:100vh}.shell{max-width:1500px;padding:0 30px;margin:auto}.topbar{height:68px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px}.brand-mark{height:34px;width:34px;background:#f1c574;color:#283c2a;display:grid;place-items:center;font-size:25px;font-weight:bold;border-radius:3px}.brand b{display:block;font:800 23px/.9 Forest,sans-serif;letter-spacing:.08em}.brand small{display:block;font-size:8px;letter-spacing:.16em;color:#b2c0a4;margin-top:5px}.topbar-note{font-size:9px;letter-spacing:.14em;color:#a7b8a5;font-weight:700}.topbar-note span,.live-dot,.intro-tag span{display:inline-block;width:6px;height:6px;background:#d1dc89;border-radius:50%;margin-right:7px;box-shadow:0 0 12px #e1d789}.top-actions{display:flex;gap:7px}.icon-button{width:36px;height:36px;border:1px solid #9baf9666;color:#e9efd4;background:#20372c;border-radius:50%;font-size:15px;cursor:pointer}.icon-button:hover{background:#405943}.frame{padding:6px;background:#314536;border:1px solid #526750;box-shadow:0 22px 70px #0006}.game{position:relative;width:100%;height:min(78vh,800px);min-height:540px;overflow:hidden;background:#9da583}.game canvas{width:100%;height:100%;display:block;touch-action:none}.game-shade{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#172b249c,transparent 21%,transparent 70%,#14291e9e)}.hidden{display:none!important}.hud{position:absolute;top:25px;left:28px;right:28px;display:flex;justify-content:space-between;text-shadow:0 2px 10px #142217}.eyebrow,.health-info,.level-info,.kills,.build-label{font-size:9px;font-weight:700;letter-spacing:.12em}.hud-slash{color:#f1c979;margin:0 4px}.status{display:flex;gap:8px;margin-top:12px;align-items:center}.health-icon{font-size:18px;color:#f4d493}.health-box{width:160px}.health-info,.level-info{display:flex;justify-content:space-between}.track,.xp-track{height:6px;background:#283c31a8;margin-top:6px;border-radius:4px;overflow:hidden}.track i,.xp-track i{height:100%;display:block;background:#e9cb8b;transition:width .2s}.hud-right{text-align:right}.hud-right span{display:block;font-size:9px;font-weight:700;letter-spacing:.1em}.hud-right strong{font:700 38px/1 Forest,sans-serif;letter-spacing:.05em}.boss-hud{position:absolute;top:27px;left:50%;width:min(300px,33%);transform:translateX(-50%);text-align:center;font-size:9px;letter-spacing:.12em;font-weight:700;color:#ffe2ac;text-shadow:0 2px 6px #243021}.boss-hud>div{height:7px;background:#4d332da9;border:1px solid #f2d5a466;margin-top:7px}.boss-hud i{display:block;height:100%;width:100%;background:#dd805c}.notice{position:absolute;top:19%;left:50%;transform:translateX(-50%);background:#20372ce8;border:1px solid #e8cf9277;color:#ffedbb;padding:10px 20px;font-size:11px;font-weight:700;letter-spacing:.06em;opacity:0;transition:opacity .2s;pointer-events:none;white-space:nowrap}.notice.show{opacity:1}.game-bottom{position:absolute;left:28px;bottom:24px;right:28px;display:flex;justify-content:space-between;align-items:end;pointer-events:none}.progress-block{width:220px;text-shadow:0 2px 8px #1a2e1e}.xp-track{height:5px}.xp-track i{width:0;background:#d4e59b}.build-label{color:#e4e7d2;margin:13px 0 7px;font-size:8px}.build-label span{color:#ffe3a7}.build{display:flex;gap:5px;min-height:34px}.build-chip{position:relative;display:grid;place-items:center;width:34px;height:34px;background:#233b2dcc;border:1px solid #ebefc080;border-radius:7px;font-size:20px;line-height:1}.build-chip small{position:absolute;bottom:-3px;right:-3px;background:#faebc4;color:#35432c;border-radius:50%;width:13px;height:13px;display:grid;place-items:center;font-size:8px;font-weight:800}.empty-build{font-size:10px;color:#e5eacdaa}.kills{margin-top:10px}.kills span{color:#e9cf81;font-size:15px}.joystick-zone{pointer-events:auto;width:112px;height:112px;position:relative;display:grid;place-items:center;touch-action:none;user-select:none}.joystick-base{width:86px;height:86px;border:1px solid #fbf5d39e;background:#263c2b80;border-radius:50%;display:grid;place-items:center}.joystick-stick{width:34px;height:34px;border-radius:50%;border:1px solid #fff8dc;background:#f0e4b4a3;box-shadow:0 2px 8px #1b291e80;pointer-events:none}.joystick-zone>span{position:absolute;bottom:-1px;font-size:8px;font-weight:700;letter-spacing:.08em;text-shadow:0 1px 4px #233;white-space:nowrap}.joystick-zone.active .joystick-stick{background:#f9e5a9}.overlay{position:absolute;inset:0}.intro{background:#1b3327 url('./assets/keyart.png') center/cover no-repeat;display:flex;align-items:center}.intro-scrim{position:absolute;inset:0;background:linear-gradient(90deg,#132d22f2 0%,#173228de 34%,#16322666 62%,#18291a08 100%),linear-gradient(0deg,#17291f70,transparent 45%)}.intro-content{position:relative;z-index:1;width:min(590px,53%);padding:40px clamp(30px,5vw,80px);text-shadow:0 2px 14px #11271e8f}.intro-tag,.overline{font-size:9px;letter-spacing:.18em;font-weight:700}.intro-tag{color:#d6e0b9}.intro-tag i{font-style:normal;color:#efc673;padding:0 8px}.intro-logo{font:800 clamp(54px,7vw,100px)/.85 Forest,sans-serif;letter-spacing:-.025em;margin-top:24px;color:#fff2d0;white-space:nowrap}.intro-logo em{font-style:normal;color:#efc575}.intro-logo span{font-size:.35em;vertical-align:top;margin-left:6px;color:#f1c976}h1{font:700 clamp(25px,3vw,39px)/1.06 Forest,sans-serif;margin:20px 0 11px;letter-spacing:.01em}h1 em,h2 em{font-style:normal;color:#eec57d}.intro-content p{color:#d6deca;font-size:12px;line-height:1.65;margin:0;max-width:400px}.intro-details{display:flex;gap:20px;margin:25px 0 22px}.intro-details div{border-left:1px solid #e3c78388;padding-left:10px;min-width:0}.intro-details span,.intro-details b,.intro-details small{display:block}.intro-details span{color:#e7bf7b;font:700 19px/1 Forest;margin-bottom:6px}.intro-details b{font-size:8px;letter-spacing:.1em;white-space:nowrap}.intro-details small{color:#c5d1ba;font-size:9px;margin-top:5px;white-space:nowrap}.primary{border:0;background:#e8bf77;color:#26382a;min-height:52px;padding:0 18px;font-size:10px;letter-spacing:.13em;font-weight:800;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;transition:background .15s,transform .15s}.primary:hover{background:#f9d99b;transform:translateY(-1px)}.primary:disabled{opacity:.65;cursor:wait}.primary b{font-size:21px}.intro-foot{display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.1em;color:#b7c5ae;font-weight:700;margin-top:16px}.modal-overlay{display:grid;place-items:center;padding:20px;background:#12241fe0;backdrop-filter:blur(5px)}.modal{background:#f4f0dd;color:#26392d;padding:32px 36px;width:min(780px,100%);border:1px solid #fff9;box-shadow:0 30px 100px #0008;position:relative}.modal:before{content:'';position:absolute;top:0;left:0;width:82px;height:4px;background:#d3a85d}.overline{color:#7d8c77}.overline i{font-style:normal;color:#bc954c}.modal-top{display:flex;justify-content:space-between}.modal-count{font:700 13px Forest;color:#9ba58f;letter-spacing:.1em}.modal h2{font:800 45px/.95 Forest,sans-serif;text-transform:uppercase;letter-spacing:-.01em;margin:13px 0 9px}.modal h2 em{color:#a87c35}.modal p{font-size:12px;color:#748275;line-height:1.5;margin:0 0 20px}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.choice{text-align:left;background:#e6ebd9;border:1px solid #cdd6bf;padding:17px;min-height:185px;color:#293e30;cursor:pointer;transition:.16s;display:flex;flex-direction:column}.choice:hover,.choice:focus-visible{transform:translateY(-3px);background:#dce9cb;border-color:#a2b686}.choice-top{display:flex;justify-content:space-between;align-items:start}.choice .icon{display:grid;place-items:center;width:42px;height:42px;background:#304c3b;border-radius:9px;font-size:25px}.choice .rank{font-size:9px;color:#8a9b83;letter-spacing:.1em;font-weight:700}.choice .type{color:#83917c;font-size:8px;font-weight:700;letter-spacing:.12em;margin-top:15px}.choice b{display:block;font:700 22px/1 Forest,sans-serif;text-transform:uppercase;margin:5px 0}.choice small{display:block;color:#6c7c6c;font-size:10px;line-height:1.4}.choice .synergy{color:#a46d25;font-weight:700;font-size:9px;margin-top:auto;padding-top:8px}.modal-foot{display:flex;justify-content:space-between;margin-top:20px;color:#9aa593;font-size:8px;font-weight:700;letter-spacing:.1em}.small-modal{width:min(420px,100%)}.small-modal .primary{margin-top:18px}.secondary{background:none;border:0;color:#82907e;font-weight:700;font-size:9px;letter-spacing:.12em;cursor:pointer;padding:15px 0 0}.end-card{width:min(510px,100%)}.end-stats{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #d1d9c4;padding:14px 0}.end-stats span,.end-stats b{display:block}.end-stats span,.end-build-title{font-size:9px;color:#859583;letter-spacing:.1em;font-weight:700}.end-stats b{font:700 30px Forest;margin-top:3px}.end-build-title{margin-top:18px}.end-build{display:flex;gap:6px;margin:8px 0}.end-build .build-chip{background:#37513c}.end-combos{font-size:10px;line-height:1.5;color:#9b702f;margin-bottom:15px;font-weight:700}.end-card>small{display:block;margin-top:12px;color:#8d9a89;font-size:9px;text-align:center}.game-bottom .joystick-zone{visibility:visible}footer{height:52px;display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:700;letter-spacing:.13em;color:#94a792}footer span:last-child{font-size:15px;color:#e7c77e;margin-left:6px}@media(max-width:700px){.shell{padding:0 8px}.topbar{height:55px}.brand b{font-size:20px}.brand-mark{width:30px;height:30px}.topbar-note{display:none}.frame{padding:3px}.game{height:calc(100svh - 104px);min-height:520px;max-height:850px}.hud{top:16px;left:15px;right:15px}.eyebrow{font-size:8px}.health-box{width:116px}.hud-right strong{font-size:29px}.hud-right span{font-size:8px}.boss-hud{top:93px;width:55%;font-size:8px}.notice{top:17%;font-size:10px}.game-bottom{left:15px;right:15px;bottom:15px}.progress-block{width:150px}.level-info{font-size:8px}.joystick-zone{width:100px;height:100px}.joystick-base{width:78px;height:78px}.joystick-zone>span{font-size:7px}.intro{background-position:59% center}.intro-scrim{background:linear-gradient(0deg,#10291ffb 0%,#163125ef 47%,#172c1a50 80%,#152b1d40 100%)}.intro-content{width:100%;padding:20px 22px 24px;align-self:end}.intro-logo{font-size:58px;margin-top:13px}.intro h1{font-size:26px;margin:14px 0 8px}.intro-content p{font-size:11px;line-height:1.5}.intro-details{gap:10px;margin:15px 0}.intro-details div{padding-left:7px}.intro-details b{font-size:7px;white-space:normal}.intro-details small{font-size:8px;white-space:normal}.intro-details span{font-size:16px}.intro-foot{font-size:7px}.modal{padding:24px 22px;max-height:calc(100% - 10px);overflow-y:auto}.modal h2{font-size:37px}.modal p{font-size:11px;margin-bottom:12px}.choices{grid-template-columns:1fr;gap:7px}.choice{min-height:0;padding:10px 12px;display:grid;grid-template-columns:42px 1fr;column-gap:12px}.choice-top{grid-row:1 / span 4}.choice .rank{position:absolute;margin-left:30px;margin-top:28px;background:#f5f0dc;border-radius:4px;padding:2px}.choice .icon{width:40px;height:40px}.choice .type{margin:0;font-size:7px}.choice b{font-size:19px;margin:2px 0}.choice small{font-size:10px}.choice .synergy{padding-top:4px;margin:0}.modal-foot{margin-top:12px;font-size:7px}.modal-foot span:last-child{display:none}.end-stats b{font-size:25px}footer{height:42px;font-size:7px}footer div:last-child{display:none}}
.guide-link{border:0;background:transparent;color:#eddaac;padding:12px 0 0;width:100%;text-align:left;cursor:pointer;font-size:9px;font-weight:700;letter-spacing:.12em}.guide-link span{float:right;font-size:14px}.guide-mini{border:0;background:transparent;color:#9c7539;font-size:8px;font-weight:800;letter-spacing:.1em;cursor:pointer}.guide-card{width:min(540px,100%)}.recipes{border-block:1px solid #d5ddc7;margin:15px 0 17px}.recipes>div{display:flex;gap:14px;align-items:center;padding:12px 0}.recipes>div+div{border-top:1px solid #d5ddc7}.recipes>div>span{font-size:20px;color:#9d7b40;width:72px;text-align:center}.recipes i{font-style:normal;color:#aeb9a1;font-size:13px}.recipes b,.recipes small{display:block}.recipes b{font:700 19px Forest;letter-spacing:.02em}.recipes small{color:#72806f;font-size:10px;line-height:1.5}@media(max-width:700px){.intro{background-position:100% center}.guide-link{padding-top:9px}.recipes>div{padding:9px 0}}

/* Local fonts keep the demo usable without an internet connection. */
.brand b{font-size:18px}.intro-logo{font-size:clamp(48px,5.5vw,78px);letter-spacing:-.055em}.intro h1{font-size:clamp(22px,2.2vw,32px)}.modal h2{font-size:34px;letter-spacing:-.05em}.choice b{font-size:17px}.hud-right strong{font-size:32px}.end-stats b{font-size:26px}.recipes b{font-size:15px}@media(max-width:700px){.brand b{font-size:17px}.intro-logo{font-size:48px}.intro h1{font-size:22px}.modal h2{font-size:27px}.choice b{font-size:15px}.hud-right strong{font-size:26px}}
@media(max-width:700px){.intro{background-position:80% center}.modal-count{display:none}}
