@import "https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito+Sans:wght@400;500;600;700;800&display=swap";body{color:#184b50;background:#f6f5ee;font-family:Nunito Sans,sans-serif}.game-app{--primary:#238b56;--primary-foreground:white;--foreground:#184b50;--muted:#eaf2e9;--border:#dce6d8;background:radial-gradient(at 0 40%,#edf3e7,#0000 50%),#f8f7f1;min-height:100vh}.game-app h1,.game-app h2,.brand{font-family:Fredoka,sans-serif;font-weight:500}.topbar{border-bottom:1px solid #e3e7da;justify-content:space-between;align-items:center;gap:25px;max-width:1440px;margin:auto;padding:22px 48px;display:flex}.brand{color:#09607a;letter-spacing:-1px;align-items:center;gap:12px;font-size:29px;line-height:1.02;text-decoration:none;display:flex}.brand small{color:#27835a;letter-spacing:-.5px;font-size:22px;display:block}.brand-icon{letter-spacing:-8px;font-size:49px;position:relative}.brand-icon i{font-size:25px;font-style:normal;position:absolute;bottom:-2px;right:-5px}.topbar nav{gap:14px;display:flex}.game-app .nav-button{color:#637b72;border-radius:12px;gap:9px;height:44px;padding:0 18px;font-size:15px;font-weight:800}.game-app .chosen{color:#267b50;background:#e6eee0}.game-app .settings-button{color:#60746b;background:#fffdf5;border-radius:50%;width:44px;height:44px;font-size:23px}.game-app main{max-width:1440px;margin:auto;padding:31px 48px 20px}.intro{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.eyebrow{letter-spacing:1.7px;color:#75917a;font-size:10px;font-weight:800}.intro h1{letter-spacing:-.6px;margin:7px 0;font-size:34px;line-height:1.25}.intro p{color:#7b887d;margin:0;font-size:14px}.world-pill{white-space:nowrap;color:#4e7350;background:#eff2e7;border:1px solid #e1e7d7;border-radius:12px;align-items:center;gap:8px;padding:13px;font-size:12px;display:flex}.world-pill b{background:#dce8d3;border-radius:6px;padding:4px 7px;font-size:10px}.game-layout{grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:22px;display:grid}.play-panel,.guardians-panel,.map-panel{background:#fffdf7;border:1px solid #e0e5d9;border-radius:20px;overflow:hidden;box-shadow:0 6px 20px #294a3810}.level-bar{justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.level-bar h2{margin:4px 0 0;font-size:20px}.level-bar h2>span{color:#7d8c7e;font-family:Nunito Sans,sans-serif;font-size:12px;font-weight:500}.level-stats{gap:10px;display:flex}.level-stats>span{color:#4a7977;white-space:nowrap;background:#edf6f3;border:1px solid #dcece3;border-radius:10px;padding:9px;font-size:11px}.level-stats b{color:#287275;margin-left:4px;font-size:15px}.river-board{aspect-ratio:1.68;isolation:isolate;background:#a8d8c5;border-radius:13px;margin:0 9px;position:relative;overflow:hidden}.river-art{object-fit:cover;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.board-top{justify-content:space-between;display:flex;position:absolute;top:14px;left:16px;right:16px}.board-badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;background:#124f49cf;border:1px solid #c8f0c54a;border-radius:9px;padding:7px 10px;font-size:11px;box-shadow:0 2px 5px #174a3830}.river-route{z-index:-1;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.river-route path{fill:none;stroke:#dcffff87;stroke-width:.8px;stroke-dasharray:1.5 1.7}.game-app .bank-position{color:#fff;opacity:1;background:#e6f7bd9e;border:2px dashed #edffe2d9;border-radius:50%;width:57px;height:51px;padding:0;position:absolute;overflow:visible;transform:translate(-50%,-50%);box-shadow:0 3px 6px #234f4444}.bank-position>span{text-shadow:0 2px 4px #2f604d;font-size:29px;line-height:1}.bank-position>small{color:#3f7055;background:#f7f4dc;border:1px solid #abbd91;border-radius:10px;place-items:center;width:20px;height:19px;font-size:10px;font-weight:800;display:grid;position:absolute;bottom:-9px}.game-app .bank-position.occupied{background:#9ed978c9;border:2px solid #f1ffd4;box-shadow:0 0 0 5px #d3f79e35,0 4px 8px #174e4d55}.game-app .bank-position.unavailable{filter:grayscale(.6);background:#6c7e626e;border-color:#b5bba1}.threat{pointer-events:none;flex-direction:column;align-items:center;transition:left 1s,top 1s;display:flex;position:absolute;transform:translate(-50%,-50%)}.threat span{filter:drop-shadow(0 2px 2px #194c49);font-size:27px}.threat b{background:#fff7dd;border-radius:6px;padding:0 5px;font-size:9px}.river-entry,.river-exit{letter-spacing:1px;color:#fff;text-shadow:0 1px 4px #104b41;font-size:9px;font-weight:800;position:absolute;bottom:12px}.river-entry{left:14px}.river-exit{right:14px}.wave-bar{justify-content:space-between;align-items:center;gap:12px;padding:19px 22px;display:flex}.wave-label strong{margin-top:4px;font-size:15px;display:block}.wave-label strong span{color:#829083;font-size:11px;font-weight:500}.wave-dots{gap:5px;display:flex}.wave-dots i{background:#e1e7dc;border-radius:50%;width:8px;height:8px}.wave-dots .current{background:#ffa726;box-shadow:0 0 0 3px #fff0cc}.wave-dots .done{background:#70ac73}.game-app .primary-button{color:#fff;background:linear-gradient(#43aa64,#238c50);border:1px solid #26884b;border-radius:12px;gap:9px;height:47px;padding:0 22px;font-size:15px;font-weight:800;box-shadow:0 3px #176e3b,inset 0 1px #ffffff45}.advice{color:#7c8b76;background:#f4f6ed;border-top:1px solid #e8ecdf;min-height:43px;padding:13px 20px;font-size:11px}.panel-heading{padding:20px 20px 13px}.panel-heading h2{margin:4px 0;font-size:25px}.panel-heading p{color:#7e8d7c;margin:0;font-size:12px}.guardian-list{gap:9px;padding:0 13px;display:grid}.game-app .guardian-card{white-space:normal;text-align:left;opacity:1;background:#fffdf8;border:1px solid #e3e7da;border-radius:12px;justify-content:start;gap:12px;height:auto;min-height:91px;padding:10px;position:relative}.game-app .guardian-card.selected{background:#f0f6e7;border:2px solid #6fac70;padding:9px}.game-app .guardian-card:disabled{opacity:.55;filter:grayscale(.35)}.character{background:radial-gradient(at 50% 90%,#9fcd81,#dcf0b8 60%,#eff5dd);border-radius:12px;flex-shrink:0;place-items:center;width:58px;height:64px;font-size:39px;display:grid}.character.flower{background:radial-gradient(at 50% 90%,#86d0bc,#e1f5e8 65%)}.guardian-copy{flex-direction:column;gap:3px;display:flex}.guardian-copy strong{color:#315d43;font-size:13px}.guardian-copy small{color:#7f8b78;font-size:10px;font-weight:500;line-height:1.35}.guardian-copy b{color:#6c8752;font-size:12px}.guardian-copy b span{font-size:9px;font-weight:500}.selected-check{color:#438951;font-size:11px;position:absolute;top:6px;right:7px}.game-app .remove-button{color:#7f8b79;background:0 0;border-style:dashed;border-radius:10px;height:38px;font-size:10px}.game-app .remove-button.selected{color:#287442;border:2px solid #54985c}.nature-note{text-align:center;border-top:1px solid #e7ebde;margin:19px 15px 0;padding:17px 5px}.nature-note>span{margin-bottom:4px;font-size:29px;display:block}.nature-note strong{color:#618b59;font-family:Fredoka,sans-serif;font-size:15px;font-weight:500}.nature-note p{color:#8a9581;margin:6px 0;font-size:10px;line-height:1.6}.bottom-row{color:#82907e;justify-content:space-between;align-items:center;gap:15px;padding:17px 3px;font-size:11px;display:flex}.bottom-row>span:first-child{align-items:center;gap:7px;display:flex}.game-app .bottom-row button{color:#80917c;font-size:11px}.mini-track{background:#e1e8d8;border-radius:5px;width:85px;height:5px;overflow:hidden}.mini-track i{background:#6db274;height:100%;display:block}.game-app footer{color:#8c9886;border-top:1px solid #e2e7d9;justify-content:space-between;padding:23px 0 8px;font-size:10px;display:flex}.game-app footer>span:first-child{color:#6f8b65;font-weight:700}[data-slot=dialog-overlay]{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#143f3b80;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow:auto}.modal{z-index:101;text-align:center;background:#fffdf5;border:1px solid #e2e8d5;border-radius:24px;flex-direction:column;gap:14px;width:calc(100% - 32px);max-width:470px;max-height:90vh;padding:32px;display:flex;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 80px #18392c55}.modal h2{margin:0;font-size:29px;line-height:1.15}.modal p{color:#758776;margin:0;font-size:13px;line-height:1.65}.game-app .close-button{color:#7a8d78;position:absolute;top:9px;right:9px}.result-icon{font-size:56px;line-height:1.3}.stars{color:#f9b62e;text-shadow:0 2px #d28a13;letter-spacing:6px;font-size:35px}.instructions{color:#728370;text-align:left;gap:12px;padding-left:18px;font-size:12px;line-height:1.55;display:grid}.instructions b{color:#31684d}.warning{background:#fff4cd;border:1px solid #e6ce83;border-radius:12px;margin-bottom:14px;padding:14px;font-size:13px}.map-heading{text-align:center;padding:28px 15px 15px}.map-heading h2{margin:6px;font-size:30px}.map-heading p{color:#7d8e79;font-size:13px}.stage-grid{background:radial-gradient(#e7f2df,#0000);grid-template-columns:repeat(7,1fr);gap:12px;padding:20px 28px 30px;display:grid}.game-app .stage-card{opacity:.65;background:#f1f2e9;border:1px solid #dce5d2;border-radius:18px;flex-direction:column;gap:4px;height:114px;display:flex}.stage-card>span{font-size:25px}.stage-card b{font-family:Fredoka,sans-serif;font-size:23px}.stage-card small{font-size:9px}.game-app .stage-card.available{opacity:1;background:#e2f6f5;border:2px solid #32b8c9;box-shadow:0 4px 12px #51bdc12b}.game-app .stage-card.restored{opacity:1;background:linear-gradient(#eef9dc,#d9edc6);border-color:#a5cc8f}@media (width>=1500px){.river-board{aspect-ratio:1.7}}@media (width<=1100px){.topbar{padding:20px 24px}.game-app main{padding:25px 24px}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:15px}.intro h1{font-size:28px}.world-pill{display:none}.level-bar{padding:14px}.level-bar h2>span{display:none}.level-stats{gap:5px}.wave-dots{display:none}.river-board{aspect-ratio:1.45}.game-app .bank-position{width:48px;height:44px}.wave-bar{padding:15px}.bottom-row>span:last-child{display:none}}@media (width<=760px){.topbar{flex-wrap:wrap;gap:10px;padding:15px 16px}.brand{font-size:24px}.brand small{font-size:18px}.brand-icon{font-size:40px}.topbar nav{order:3;justify-content:space-between;gap:3px;width:100%}.game-app .nav-button{height:40px;padding:0 13px;font-size:12px}.game-app main{padding:20px 12px}.intro{margin:0 5px 20px}.intro h1{max-width:330px;font-size:26px}.intro p{max-width:310px;font-size:12px;line-height:1.5}.intro .eyebrow{letter-spacing:1px;font-size:8px}.game-layout{grid-template-columns:1fr;gap:16px}.level-bar{gap:5px;padding:13px 10px}.level-bar .eyebrow{letter-spacing:1px;font-size:7px}.level-bar h2{font-size:18px}.level-stats>span{padding:6px;font-size:9px}.level-stats b{margin-left:0;font-size:12px}.river-board{aspect-ratio:1.13;margin:0 5px}.board-top{top:10px;left:9px;right:9px}.board-badge{padding:6px;font-size:9px}.game-app .bank-position{width:45px;height:44px}.bank-position>span{font-size:27px}.wave-bar{gap:8px;padding:15px 12px}.wave-label .eyebrow{letter-spacing:.7px;font-size:7px}.wave-label strong{font-size:13px}.wave-label strong span{margin-top:3px;font-size:10px;display:block}.game-app .primary-button{min-height:45px;padding:0 15px;font-size:13px}.advice{padding:12px;font-size:10px;line-height:1.5}.panel-heading{padding:17px 17px 12px}.panel-heading h2{font-size:23px}.panel-heading p{font-size:11px}.guardian-list{grid-template-columns:1fr 1fr;gap:8px;padding:0 10px 13px}.game-app .guardian-card{gap:7px;min-height:100px;padding:8px}.game-app .guardian-card.selected{padding:7px}.character{width:43px;height:58px;font-size:31px}.guardian-copy strong{font-size:11px}.guardian-copy small{font-size:9px}.guardian-copy b{font-size:11px}.game-app .remove-button{grid-column:1/-1;min-height:44px}.nature-note{display:none}.bottom-row{flex-wrap:wrap;gap:5px;padding:12px 3px}.mini-track{width:55px}.game-app footer{flex-direction:column;gap:12px;padding:18px 3px;line-height:1.6}.stage-grid{grid-template-columns:repeat(4,1fr);gap:8px;padding:12px}.game-app .stage-card{height:100px}.map-heading h2{font-size:26px}.modal{padding:30px 23px}.modal h2{font-size:26px}}@media (prefers-reduced-motion:reduce){.threat{transition:none}}
