/* Original pixel landing scene and beginner account entry. */
body.home14 #menu:not(.hidden){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,420px)!important;align-items:center!important;gap:clamp(24px,6vw,100px)!important;padding:clamp(30px,6vw,100px)!important;padding-top:max(30px,env(safe-area-inset-top))!important;padding-bottom:max(55px,env(safe-area-inset-bottom))!important;height:100dvh!important;min-height:0!important;overflow:auto!important;background:#153c40!important;isolation:isolate}
body.home14 #panorama{display:none!important}.home-art14{position:absolute;inset:0;z-index:-3;pointer-events:none;overflow:hidden}.home-art14>svg{height:100%;width:100%;display:block}.home-art14 svg>g:first-of-type{animation:home-cloud14 35s ease-in-out infinite alternate}body.home14 #menu>.menu-shade{position:absolute!important;inset:0!important;background:linear-gradient(90deg,#082a30b8,#0d30394d 55%,#072b3070)!important;z-index:-1!important;pointer-events:none}
body.home14 #menu .menu-brand{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:auto!important;max-width:none!important;z-index:1!important;text-align:left!important;align-self:center!important;padding:0!important;min-width:0}body.home14 #menu .menu-brand .eyebrow{font:700 10px/1.3 system-ui!important;letter-spacing:4px!important;color:#f3d8a5!important;display:block;margin-bottom:20px}body.home14 #menu .menu-brand h1{font:900 clamp(45px,6vw,84px)/.98 system-ui!important;letter-spacing:-3px!important;margin:0 0 20px!important;color:#f6ecd5!important;text-shadow:0 5px 0 #14373d!important}body.home14 #menu .menu-brand h1 em{font-style:normal!important;color:#f58739!important}body.home14 #menu .menu-brand .subtitle{font:750 12px/1.5 system-ui!important;letter-spacing:2px!important;color:#f1dba9!important}body.home14 #menu .menu-brand p{font:400 14px/1.6 system-ui!important;max-width:420px!important;margin:12px 0!important;color:#d3e0ce!important;text-shadow:0 2px #163d39}body.home14 .menu-badges{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin:14px 0 0!important}body.home14 .menu-badges>span{font:650 10px/1.3 system-ui!important;padding:6px 10px!important;border:1px solid #bed1ad44!important;color:#e4e8ca!important;background:#143e37a3!important;border-radius:6px!important;letter-spacing:0!important}
.home-party14{display:flex;align-items:flex-end;gap:7px;height:120px;margin-top:20px;padding-left:0;width:max-content;border-bottom:5px solid #9db682aa}.home-party14>.pixel-trainer14{width:80px;height:120px;filter:drop-shadow(3px 3px #153f3b88)}.home-party14>canvas{width:90px!important;height:68px!important;image-rendering:pixelated!important;margin-bottom:5px;filter:drop-shadow(0 4px #143e3944);animation:home-party14 4s ease-in-out infinite}.home-party14>canvas:nth-child(3){animation-delay:-1.5s}.home-party14>canvas:nth-child(4){animation-delay:-3s}
body.home14 #menu .menu-actions{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:420px!important;display:flex!important;flex-direction:column!important;gap:11px!important;background:#0f302be8!important;border:1px solid #809c7977!important;border-radius:24px!important;box-shadow:0 22px 60px #08262c80!important;padding:22px!important;z-index:2!important;justify-self:end!important;margin:0!important;min-width:0!important;backdrop-filter:blur(9px)}
.home-account14{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 13px;border-bottom:1px solid #8ba87e44;margin-bottom:4px}.home-account14>span{display:flex;align-items:center;gap:8px;min-width:0}.home-account14 b{font:500 10px/1.4 system-ui;color:#b4cdb5;overflow-wrap:anywhere}.home-account14 .glyph9{width:17px;height:17px;flex-shrink:0;color:#b4cdb5}.home-account14>button{font:650 10px/1.3 system-ui;min-height:36px;margin:0;white-space:nowrap;border:1px solid #7f997866;border-radius:9px;background:#204839;padding:7px 10px;color:#e6dfbf}
body.home14 #menu .menu-actions>.home-action14{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:82px!important;padding:15px!important;margin:0!important;text-align:left!important;background:#224a3a!important;border:1px solid #78977166!important;border-radius:14px!important;box-shadow:none!important;color:#e7e6cc!important;letter-spacing:0!important}body.home14 #menu .menu-actions>.home-action14.primary{background:#f47d28!important;border-color:#ffb376!important;color:#153c31!important;box-shadow:0 3px 0 #b65e25!important}.home-action14>span{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;background:#102f2826;border-radius:10px}.home-action14 .glyph9{width:23px;height:23px}.home-action14>div{flex:1;min-width:0}.home-action14 b{display:block;font:750 17px/1.35 system-ui}.home-action14 small{display:block;font:400 11px/1.4 system-ui;margin-top:4px;opacity:.85}.home-action14>svg{width:17px!important;height:17px!important;flex-shrink:0}
.home-modes14{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-modes14>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:80px;padding:10px;margin:0;background:#1b4235;border:1px solid #78977166;border-radius:13px;color:#e8e2c7;font:650 12px/1.3 system-ui}.home-modes14 .glyph9{width:24px;height:24px;color:#d6c48e}.home-offline14{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;min-height:44px!important;background:transparent!important;border:0!important;margin:0!important;padding:8px!important;color:#c2d4b9!important;font:650 11px/1.3 system-ui!important}.home-offline14 small{font:400 9px/1.3 system-ui;color:#9eb89d}.home-offline14 .glyph9{width:16px;height:16px}.home-tools14{display:flex;justify-content:center;gap:12px;border-top:1px solid #8ba87e44;padding-top:11px}.home-tools14 button{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;margin:0!important;padding:9px!important;background:#214535!important;border:1px solid #8aa57b44!important;border-radius:10px!important}.home-tools14 .glyph9{width:19px;height:19px}
body.home14 #menu>.menu-footer{position:absolute!important;left:clamp(20px,6vw,100px)!important;right:clamp(20px,6vw,100px)!important;bottom:max(15px,env(safe-area-inset-bottom))!important;display:flex!important;justify-content:space-between!important;gap:12px!important;margin:0!important;padding:0!important;font:500 9px/1.4 system-ui!important;letter-spacing:1px!important;color:#d1ddbd!important;background:transparent!important;z-index:1!important}
.home-flow-actions14{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.home-flow-actions14 button{flex:1;min-width:130px;min-height:44px;font-size:12px}.home-profiles14{display:grid;gap:9px}.home-profiles14>button{display:flex;align-items:center;gap:13px;padding:13px;margin:0;min-width:0;text-align:left;border:1px solid #83a17a66;border-radius:13px;background:#1a4032;color:#eee3c3}.home-profiles14>button>span{flex:1;min-width:0}.home-profiles14 b,.home-profiles14 small{display:block}.home-profiles14 b{font-size:14px}.home-profiles14 small{font-size:10px;line-height:1.5;color:#b4c8a9;overflow-wrap:anywhere}.home-profiles14 svg:last-child{width:20px;height:20px;flex-shrink:0}.new-account-note14{grid-column:1/-1;font-size:11px!important;color:#bdcda8!important}.pixel-trainer14{shape-rendering:crispEdges;image-rendering:pixelated;overflow:visible!important}
/* The entire twelve-league route is visible at initial zoom on every orientation. */
#journey13 .atlas-view13{display:flex;align-items:center;justify-content:center;overflow:hidden!important;min-height:0;touch-action:none}#journey13 #atlas13{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none;max-height:none;flex:1;touch-action:none}#journey13 .atlas-node13 .route-hit14{stroke:none!important;filter:none!important;opacity:0}#journey13 .atlas-node13 .route-number14{font-size:22px;stroke:none;fill:#244c41;font-weight:800}#journey13 .atlas-node13 .route-name14{font-size:28px;stroke-width:5px}#journey13 .atlas-node13>circle:not(.route-hit14){stroke-width:6px}#journey13 .atlas-node13.locked13 text{fill:#395e4e}#journey13 .atlas-zoom14{display:flex;gap:5px}#journey13 .atlas-zoom14 button{width:39px;min-height:39px;padding:8px}#journey13 .atlas-zoom14 .glyph9{width:18px;height:18px}#journey13 .journey-foot13>span{margin-right:auto;margin-left:5px}#journey13 .journey-guide13>div{flex-basis:auto}#journey13 #atlas-trainer13{filter:none;transition:transform .4s;pointer-events:none}
@keyframes home-cloud14{to{transform:translateX(40px)}}@keyframes home-party14{50%{transform:translateY(-4px)}}
@media(max-width:700px) and (orientation:portrait){body.home14 #menu:not(.hidden){grid-template-columns:minmax(0,1fr)!important;gap:17px!important;align-content:center!important;padding:20px 18px 43px!important;padding-top:max(18px,env(safe-area-inset-top))!important;padding-bottom:max(43px,env(safe-area-inset-bottom))!important}body.home14 #menu .menu-brand{text-align:center!important;justify-self:center!important}body.home14 #menu .menu-brand .eyebrow{font-size:8px!important;letter-spacing:3px!important;margin-bottom:8px}body.home14 #menu .menu-brand h1{font-size:46px!important;letter-spacing:-2px!important;line-height:.9!important;margin:0 0 10px!important}body.home14 #menu .menu-brand h1 br{display:none}body.home14 #menu .menu-brand .subtitle{font-size:9px!important;letter-spacing:1.4px!important}body.home14 #menu .menu-brand p{display:none!important}.home-party14{height:74px;margin:10px auto 0;border-bottom-width:3px;gap:3px}.home-party14>.pixel-trainer14{width:45px;height:68px}.home-party14>canvas{width:63px!important;height:47px!important}body.home14 .menu-badges{justify-content:center!important;margin-top:8px!important}body.home14 .menu-badges>span{font-size:8px!important;padding:4px 7px!important}body.home14 #menu .menu-actions{max-width:420px!important;padding:15px!important;border-radius:19px!important;gap:9px!important;justify-self:center!important}.home-account14{padding-bottom:9px;margin-bottom:0}.home-account14>button{min-height:32px;font-size:9px}body.home14 #menu .menu-actions>.home-action14{min-height:65px!important;padding:11px!important;gap:10px!important}.home-action14 b{font-size:15px}.home-action14 small{font-size:10px;margin-top:3px}.home-action14>span{width:31px;height:31px}.home-modes14>button{min-height:62px;gap:6px;font-size:11px}.home-modes14 .glyph9{width:20px;height:20px}.home-offline14{min-height:34px!important;padding:6px!important;font-size:10px!important}.home-tools14{padding-top:8px;gap:15px}.home-tools14 button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:7px!important}body.home14 #menu>.menu-footer{left:18px!important;right:18px!important;font-size:7px!important;letter-spacing:.5px!important;bottom:max(10px,env(safe-area-inset-bottom))!important}#journey13 .journey-guide13{flex-wrap:wrap}#journey13 .journey-guide13>div{flex-basis:100%}#journey13 .journey-foot13{flex-wrap:nowrap}#journey13 .journey-foot13>span{display:none}#journey13 .journey-foot13>button{flex:1}#journey13 .atlas-zoom14 button{width:32px;min-height:39px!important;padding:7px}.home-flow-actions14 button{min-width:120px}}
@media(orientation:portrait) and (max-height:700px){body.home14 #menu:not(.hidden){gap:10px!important;align-content:center!important;padding-top:12px!important;padding-bottom:29px!important}body.home14 #menu .menu-brand h1{font-size:35px!important;margin-bottom:5px!important}.home-party14{display:none!important}body.home14 #menu .menu-brand .eyebrow{margin-bottom:5px;font-size:7px!important}body.home14 #menu .menu-actions{padding:11px!important;gap:7px!important}.home-account14{padding-bottom:5px}.home-account14 b{font-size:9px}body.home14 #menu .menu-actions>.home-action14{min-height:58px!important;padding:9px!important}.home-action14 b{font-size:14px}.home-action14 small{font-size:9px}.home-modes14>button{min-height:54px}.home-tools14{padding-top:6px}.home-tools14 button{width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important}.home-offline14 small{display:none}}
@media(orientation:landscape) and (max-height:600px){body.home14 #menu:not(.hidden){grid-template-columns:minmax(0,1fr) minmax(300px,370px)!important;padding:15px 27px 30px!important;gap:25px!important}body.home14 #menu .menu-brand h1{font-size:44px!important;margin-bottom:9px!important}body.home14 #menu .menu-brand .eyebrow{font-size:8px!important;margin-bottom:8px}body.home14 #menu .menu-brand .subtitle{font-size:9px!important}body.home14 #menu .menu-brand p{display:none!important}.home-party14{height:80px;margin-top:12px}.home-party14>.pixel-trainer14{height:80px;width:54px}.home-party14>canvas{width:63px!important;height:47px!important}body.home14 .menu-badges>span{font-size:8px!important;padding:4px 6px!important}body.home14 #menu .menu-actions{padding:11px!important;gap:6px!important;border-radius:17px!important}.home-account14{padding-bottom:6px;margin-bottom:0}.home-account14 b{font-size:9px}.home-account14>button{min-height:29px;font-size:9px;padding:5px 8px}body.home14 #menu .menu-actions>.home-action14{min-height:52px!important;padding:8px!important;gap:8px!important}.home-action14 b{font-size:14px}.home-action14 small{font-size:9px;margin-top:2px}.home-action14>span{width:29px;height:29px}.home-modes14>button{min-height:49px;flex-direction:row;gap:8px;font-size:10px}.home-modes14 .glyph9{width:19px;height:19px}.home-tools14{padding-top:5px;gap:14px}.home-tools14 button{width:29px!important;height:29px!important;min-height:29px!important;min-width:29px!important;padding:6px!important}.home-offline14{min-height:28px!important;padding:4px!important;font-size:10px!important}.home-offline14 small{font-size:8px}body.home14 #menu>.menu-footer{left:27px!important;right:27px!important;font-size:7px!important;bottom:9px!important}#journey13 .journey-guide13>div{flex-basis:auto}#journey13 .journey-foot13{padding:4px 12px}#journey13 .atlas-zoom14 button{min-height:32px!important;width:32px;padding:6px}}
@media(prefers-reduced-motion:reduce){.home-art14 svg>g,.home-party14>canvas{animation:none!important}}
/* Isolate the new action labels from legacy button positioning rules. */
body.home14 #menu .home-action14>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;text-align:left!important;position:static!important;min-width:0!important;flex:1!important}body.home14 #menu .home-action14>div>b{position:static!important;inset:auto!important;display:block!important;order:0!important;float:none!important;transform:none!important;white-space:normal!important;width:auto!important;margin:0!important;text-align:left!important;flex:none!important}body.home14 #menu .home-action14>div>small{position:static!important;inset:auto!important;display:block!important;order:1!important;float:none!important;transform:none!important;width:auto!important;max-width:none!important;margin:0!important;white-space:normal!important;text-align:left!important;flex:none!important}
@media(max-width:700px) and (orientation:portrait){body.home14 #menu .menu-brand h1{font-size:43px!important;line-height:.94!important;white-space:normal!important;letter-spacing:-1px!important}body.home14 #menu .menu-brand h1 br{display:block!important}body.home14 #menu .menu-brand{max-width:100%!important}body.home14 #menu:not(.hidden){align-content:center!important;grid-template-rows:auto auto!important}.home-party14{height:64px}.home-party14>.pixel-trainer14{height:64px;width:43px}.home-party14>canvas{height:43px!important;width:57px!important}}
@media(orientation:portrait) and (max-height:700px){body.home14 #menu .menu-brand h1{font-size:30px!important;line-height:.9!important;margin-bottom:5px!important}.home-party14{display:none!important}}
#journey13 .atlas-node13 .route-name14{font-size:40px}#journey13 .atlas-node13 .route-number14{font-size:28px}
body.home14 #game.hidden,body.home14.island-active13 #game.hidden,body.home14 #menu.hidden{display:none!important;pointer-events:none!important}
.first-pet14{display:flex;gap:9px;align-items:center;font-size:12px;padding:8px 0}.first-pet14 select{min-width:140px;font-size:16px}
.first-pet14{grid-column:1/-1;flex-wrap:wrap;min-width:0}
