/* Real DOM lettering, integer font sizes and pixel borders; no bitmap menu labels. */
:root{--hud-height:44px;--view-height:var(--combat-height,100dvh)}
html{overflow:hidden}body.pixel-app{position:fixed;inset:0;margin:0!important;padding:0!important;height:var(--view-height)!important;min-height:0!important;overflow:hidden!important;font-family:CarpPixel,monospace;font-weight:400;font-size:20px;line-height:1.05;text-shadow:none}
.pixel-app button,.pixel-app input,.pixel-app select{font-family:CarpPixel,monospace;font-weight:400;font-size:22px;border-radius:0;text-shadow:none;line-height:1.05}.pixel-app button{min-width:0}.pixel-app button:active{transform:none}.pixel-app button:focus-visible{outline-offset:-3px}.pixel-app h1,.pixel-app h2,.pixel-app h3{font-weight:400;text-shadow:none}
.pixel-app #main,body.pixel-app.arcade-combat #main{position:fixed!important;left:var(--combat-left,0px)!important;top:calc(var(--combat-top,0px) + var(--hud-height))!important;width:var(--combat-width,100vw)!important;height:calc(var(--view-height) - var(--hud-height))!important;max-height:none!important;max-width:none!important;min-height:0!important;margin:0!important;padding:3px!important;overflow:hidden!important}
#global-hud{position:fixed;left:var(--combat-left,0px);top:var(--combat-top,0px);height:var(--hud-height);width:var(--combat-width,100vw);z-index:20;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:3px 10px;background:#081b14;border-bottom:3px double #c0b36b;color:#f6e3a0;font-size:22px}#global-hud small{font-size:15px;margin-left:8px;color:#bccda5}#global-hud button{min-height:33px;height:33px;padding:2px 8px;font-size:22px;background:#e0c87b;color:#10271a}#global-hud button span{font-size:17px}.hud-xp{white-space:nowrap}
.v2-shell{height:100%;max-width:1100px;margin:auto;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:4px double #c8b76e;background:#173322;color:#efe1a0}.v2-title{display:flex;align-items:center;justify-content:space-between;gap:7px;background:#081c15;padding:4px 7px;flex-shrink:0;border-bottom:2px solid #a69d59}.v2-title h1{font-size:26px;line-height:1;margin:0;text-align:center}.v2-title button{min-height:36px;padding:2px 10px}.v2-content{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:7px}.v2-footer{display:flex;gap:6px;padding:6px 7px max(6px,env(safe-area-inset-bottom));background:#0c241a;border-top:3px double #9f9f59;flex-shrink:0}.v2-footer button{flex:1;min-height:44px;padding:4px 6px;font-size:22px}.v2-tabs{display:flex;gap:5px;flex-shrink:0}.v2-tabs button{flex:1;min-height:36px;font-size:20px;padding:4px}.v2-tabs .active{background:#a0c75c}.pixel-app .flow-shell{max-width:1100px;margin:auto}.pixel-app .context-hud{padding:4px 6px}.pixel-app .affinity strong{font-size:29px}.pixel-app .affinity small{display:none}.pixel-app .conditions{font-size:19px}.pixel-app .affinity{margin:3px 0}.pixel-app .prep-art{height:clamp(55px,13dvh,110px)}.pixel-app .flow-panel{padding:7px}.pixel-app .flow-panel p{font-size:19px}.pixel-app .flow-footer button{min-height:42px;font-size:21px}.pixel-app .flow-steps button{min-height:34px;font-size:18px}.pixel-app .flow-title h1{font-size:24px}.pixel-app .flow-title button{min-height:34px;font-size:22px}.forecast-summary{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:5px 0 10px;font-size:20px}.pixel-app .zone-overview>div{font-size:19px}.pixel-app .zone-overview small{font-size:16px}
.pixel-hero{position:relative;flex:1;min-height:70px;overflow:hidden;border:3px double #b7a76a}.pixel-hero>.location-art{position:absolute;inset:0;height:100%;aspect-ratio:auto}.pixel-hero>.location-art img{height:400%}.hero-copy-pixel{position:absolute;top:10%;left:5%;background:#0c231bcc;padding:10px;max-width:78%}.hero-copy-pixel h2{margin:0;color:#ffe58e;font-size:48px;line-height:.88;letter-spacing:2px;text-shadow:3px 3px #0a140d}.hero-copy-pixel p{font-size:18px;margin:9px 0 0;color:#f6e9b3}.hero-fisher{position:absolute;right:0;bottom:0;width:48%;height:100%}.hero-fisher>.new-fisher{width:100%;left:0;bottom:-5%}.pixel-menu{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex-shrink:0}.pixel-menu button{min-height:46px;padding:5px;font-size:24px;background:#e0d296}.pixel-menu button:first-child{background:#e8bf55}
.water-map{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;flex:1;min-height:0}.water-card{display:flex;flex-direction:column;padding:0!important;overflow:hidden;border:3px solid #667a4b;background:#0f2b22!important;color:#ecdfa5!important;text-align:left;min-height:0!important}.water-card.selected{border-color:#ffdb61;box-shadow:inset 0 0 0 2px #eac357}.lake-thumb{display:block;flex:1;min-height:0;width:100%;background-image:url('assets/locations.png');background-size:400% 400%;image-rendering:pixelated}.water-card>span:last-child{padding:6px;display:grid;gap:3px;flex-shrink:0}.water-card b{font-size:25px;font-weight:400}.water-card small{font-size:18px}.water-card em{font-style:normal;font-size:17px;color:#f2cb61}.map-summary{font-size:18px;margin:0;padding:3px 5px;flex-shrink:0}.water-1{border-color:#6285a4}.water-2{border-color:#74a454}.water-3{border-color:#76aaa5}
.cost-button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px}.cost-button span{font-size:23px}.cost-button small{font-size:16px;line-height:1}.pixel-app .cast-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}.pixel-app .cast-footer:has(.stop-cast){grid-template-columns:1fr}.pixel-app .cast-footer .cost-button{min-height:48px}.pixel-app .session-main{overflow:hidden;padding:4px;gap:3px}.pixel-app .cast-scene{min-height:0!important}.pixel-app .cast-feedback{font-size:19px;min-height:0;padding:4px;line-height:1.05;flex-shrink:0}.pixel-app .session-mini{font-size:17px;flex-shrink:0}.pixel-app .shore-hud{font-size:18px;padding:4px 6px}.pixel-app .water-target{min-width:60px!important;padding:3px}.pixel-app .water-target span{font-size:18px}.pixel-app .water-target small{font-size:16px}.pixel-app .scene-tent{width:27%}.pixel-app .improved-caster{width:56%;height:70%;left:-7%;bottom:-7%;z-index:3}.rev-sprite{display:inline-block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:none}.rev-sprite canvas{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.cast-line-layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:5}.flight-line{fill:none;stroke:#fff2b6;stroke-width:.3;vector-effect:non-scaling-stroke;stroke-width:2px;filter:drop-shadow(1px 1px #143a28)}.flight-lead{fill:#454b40;stroke:#f4df94;stroke-width:.35;shape-rendering:crispEdges}.dialog-costs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
/* Correct atlas row geometry: fit the COMPLETE selected panel, no top-half crop. */
.pixel-app .battle-scene>.complete-backdrop{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;background-repeat:no-repeat;image-rendering:pixelated}.pixel-app .battle-fish>.rev-sprite{width:100%;height:100%;aspect-ratio:auto}.pixel-app .battle-header b{font-size:24px}.pixel-app .battle-header{min-height:38px!important}.pixel-app .battle-header button{min-height:32px}.pixel-app .battle-meters label{font-size:20px}.pixel-app .battle-actions button{height:48px;min-height:42px;font-size:20px}.pixel-app .battle-command strong{font-size:26px}.pixel-app .battle-net>span{font-size:15px}.pixel-app .battle-word{font-size:35px}.pixel-app .battle-fish{inset:2% 12%}.pixel-app .battle-rod{width:23%}
.capture-v2 .v2-content{gap:4px}.capture-fit{flex:1;min-height:0;overflow:hidden;position:relative}.capture-fit>.catch-photo{position:absolute;inset:0;width:100%;height:100%;min-height:0!important;aspect-ratio:auto!important;margin:0}.capture-fit .catch-photo>.trophy-pose{inset:0;width:100%;height:calc(100% - 42px);object-fit:contain}.capture-fit .catch-photo figcaption{font-size:21px;padding:4px 7px}.capture-fit .catch-photo figcaption span{font-size:17px}.capture-result{display:grid;gap:3px;flex-shrink:0;padding:6px 8px;background:#e8d99b;color:#132719;border:3px double #9c9d54;font-size:23px}.capture-result b{font-weight:400}.capture-result span{font-size:20px}.capture-result small{font-size:17px}.capture-lost{position:absolute;inset:0;display:flex;flex-direction:column}.capture-lost>.location-art{height:100%}.capture-lost b{position:absolute;bottom:10%;left:5%;right:5%;padding:10px;background:#10261de8}.v2-pages{display:flex;justify-content:space-between;align-items:center;font-size:19px;flex-shrink:0}.v2-pages button{min-height:34px;padding:2px 12px}.old-catch,.empty-diary{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.old-catch .anim-sprite,.empty-diary .anim-sprite{max-height:65%;width:70%}
.career-page{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;padding:7px;background:#e7d99e;color:#152b1c;border:3px double #82934b;overflow:hidden}.career-page h2,.career-page p{font-size:22px;margin:3px 0}.profile-portrait{position:relative;flex:1;min-height:55px;overflow:hidden}.profile-portrait>.location-art{position:absolute;inset:0;height:100%;aspect-ratio:auto}.profile-portrait>.location-art img{height:400%}.profile-portrait>.new-fisher{height:100%;width:50%;left:45%;bottom:-4%}.profile-portrait>.new-fisher canvas{height:100%;object-fit:contain}.profile-portrait>b{position:absolute;left:8px;top:8px;background:#0b261d;color:#f3dd9b;padding:6px;font-weight:400}.profile-form{flex-shrink:0}.profile-form p{font-size:18px}.profile-form>button{font-size:18px;min-height:36px;padding:5px;margin:3px}.career-name-row{margin:3px 0}.career-name-row input{font-size:21px;padding:5px}.career-goals{display:grid;grid-template-columns:1fr;gap:5px;min-height:0}.career-goals article{padding:6px;border:1px solid #8c9854;display:grid;gap:2px;font-size:21px}.career-goals b{font-weight:400}.career-goals small{font-size:18px}.career-goals span{font-size:18px;color:#354e21}.unlock-art{height:clamp(65px,18dvh,170px);display:flex;justify-content:center;flex-shrink:1}.unlock-art>*{width:35%;height:100%}.career-page .flow-options{grid-template-columns:repeat(5,minmax(0,1fr));margin:4px 0}.career-page .flow-options button{font-size:19px;min-height:36px}
.pixel-app .bounded-window{height:100%;max-width:1100px;margin:auto;display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:5px}.bounded-window>.window-head,.bounded-window>.footer-nav{flex-shrink:0}.bounded-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.bounded-content>.paper{padding:10px}.bounded-content .field{margin:6px 0}.bounded-content .field label{font-size:21px}.bounded-content .legend{font-size:17px}.pixel-app .window-head h1{font-size:25px}.sprite-pages{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:1fr 1fr;height:85%}.sprite-pages>.rev-sprite{min-height:0}.bounded-content:has(.sprite-pages){overflow:hidden}.pixel-app .screen-help .paper{font-size:20px}.pixel-app #toast{top:calc(var(--hud-height) + 6px);bottom:auto;left:50%;max-width:90vw;padding:6px 10px;font-size:18px;pointer-events:none;max-height:70px;overflow:hidden;border-width:3px}
@media(min-width:700px){.home-v2 .v2-content{display:grid;grid-template-columns:1.3fr 1fr}.pixel-menu{grid-template-columns:1fr;min-height:0}.pixel-menu button{min-height:0;font-size:30px}.pixel-hero{height:100%}.hero-copy-pixel h2{font-size:64px}.hero-fisher{width:65%}.water-card>span:last-child{padding:9px}.pixel-app .cast-footer{grid-template-columns:repeat(4,minmax(0,1fr))}.career-goals{grid-template-columns:1fr 1fr}.capture-fit>.catch-photo{max-width:850px;left:50%;transform:translateX(-50%)}.career-page{font-size:24px}.profile-form{max-width:650px;width:100%;margin:auto}.v2-content{padding:9px}.forecast-summary{font-size:24px}.capture-v2 .v2-content{max-width:1000px;width:100%;margin:auto}}
@media(max-width:430px){#global-hud{gap:8px;padding:3px 6px;font-size:20px}#global-hud small{display:none}#global-hud button{font-size:21px;padding:2px 6px}#global-hud button span{font-size:16px}.v2-title h1{font-size:23px}.v2-footer button{font-size:20px;min-height:42px}.water-card b{font-size:22px}.water-card small{font-size:16px}.water-card em{font-size:15px}.map-summary{font-size:17px}.water-map{gap:5px}.hero-copy-pixel h2{font-size:40px}.hero-copy-pixel p{font-size:16px}.hero-copy-pixel{padding:7px}.pixel-menu button{font-size:23px;min-height:42px}.v2-content{padding:5px}.capture-result{font-size:21px;padding:4px 6px}.capture-result span{font-size:18px}.capture-result small{font-size:15px}.pixel-app .battle-header b{font-size:22px}.pixel-app .battle-meters label{font-size:19px}.cost-button span{font-size:21px}.cost-button small{font-size:16px}.forecast-summary{font-size:18px;gap:4px}.career-goals article{font-size:20px}.career-goals small,.career-goals span{font-size:16px}}
@media(max-height:600px){:root{--hud-height:36px}#global-hud{height:36px;font-size:19px}#global-hud button{height:28px;min-height:28px;font-size:19px}.pixel-app .prep-art{height:48px}.pixel-app .affinity{margin:1px 0}.pixel-app .affinity strong{font-size:25px}.pixel-app .context-hud{padding:3px 5px}.pixel-app .conditions{font-size:17px;display:flex}.pixel-app .mix-compact{font-size:16px}.pixel-app .flow-title h1{font-size:21px}.pixel-app .flow-title button{min-height:30px}.pixel-app .flow-steps button{font-size:17px;min-height:30px}.pixel-app .flow-footer{padding:4px}.pixel-app .flow-footer button{min-height:38px;font-size:19px}.pixel-app .battle-header{min-height:32px!important}.pixel-app .battle-header b{font-size:20px}.pixel-app .battle-header span{font-size:17px}.pixel-app .battle-meters{padding:3px 6px}.pixel-app .battle-meters label{font-size:17px}.pixel-app .battle-meters label>span{height:11px}.pixel-app .battle-actions button{height:39px;min-height:39px;font-size:18px}.pixel-app .battle-command strong{font-size:23px}.pixel-app .battle-net>button{height:34px;min-height:34px;font-size:22px}.v2-title button{min-height:30px}.v2-title h1{font-size:22px}.v2-title{padding:3px 6px}.v2-footer button{min-height:36px;font-size:19px}.v2-footer{padding:4px}.pixel-menu button{min-height:34px;font-size:21px}.hero-copy-pixel h2{font-size:34px}.hero-copy-pixel p{display:none}.map-summary{font-size:16px}.water-card small{display:none}.water-card b{font-size:21px}.water-card>span:last-child{padding:3px 5px;gap:1px}.capture-result{font-size:20px}.capture-result span{font-size:17px}.capture-fit .catch-photo figcaption{font-size:18px}.capture-fit .catch-photo figcaption span{font-size:15px}.capture-fit .catch-photo>.trophy-pose{height:calc(100% - 37px)}.career-goals article{padding:4px;font-size:18px}.career-goals small,.career-goals span{font-size:15px}.career-page{gap:3px;padding:5px}.v2-tabs button{min-height:30px;font-size:18px}.career-page p,.career-page h2{font-size:19px}.profile-form>button{min-height:30px;font-size:17px}.profile-form p{font-size:16px}.pixel-app .cast-feedback{font-size:17px}.pixel-app .shore-hud{font-size:16px}.pixel-app .cast-footer .cost-button{min-height:38px}.cost-button span{font-size:19px}.cost-button small{font-size:15px}}
@media(max-height:420px) and (min-width:600px){.v2-content{gap:3px}.water-card{flex-direction:row}.lake-thumb{width:40%;height:100%;flex:none}.water-card>span:last-child{justify-content:center}.map-summary{display:none}.pixel-app .cast-footer{grid-template-columns:repeat(4,minmax(0,1fr))}.pixel-app .shore-hud{display:flex;flex-wrap:nowrap;justify-content:space-between}.capture-v2 .v2-content{display:grid;grid-template-columns:1fr .65fr;grid-template-rows:minmax(0,1fr)}.capture-fit{height:100%}.capture-result{align-self:center;max-height:100%;font-size:20px}.capture-v2 .v2-pages{grid-column:2}.career-goals{grid-template-columns:repeat(3,1fr)}.career-page:has(.profile-form){display:grid;grid-template-columns:1fr 1fr}.profile-portrait{height:100%}.career-page:has(.unlock-art){display:block}.unlock-art{float:left;width:30%;height:100%}.pixel-app .battle-header{padding:1px 6px}.pixel-app .battle-actions{padding:2px 6px}.pixel-app .battle-command{padding:1px 6px}}

.prep-budget .data-row{padding:4px 6px}.prep-budget p{margin:4px 0;font-size:15px}.prep-budget{gap:4px!important}.capture-v2 .v2-footer{flex-wrap:wrap}.capture-v2 .v2-footer button{min-width:0;flex:1;font-size:16px}
.pixel-app .prep-budget{overflow:hidden;padding:5px;display:flex;flex-direction:column;gap:3px}.prep-budget .flow-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}.prep-budget .flow-options button,.pixel-app .prep-budget>button{min-height:28px;padding:2px;font-size:17px}.prep-budget dl.data{display:grid;grid-template-columns:1fr auto;gap:1px 5px;margin:0;font-size:16px;line-height:1.05}.prep-budget dl.data dt,.prep-budget dl.data dd{margin:0;padding:1px;border:0;min-height:0}.pixel-app .prep-budget p{font-size:14px;line-height:1;margin:1px 0}.prep-budget dl.data dt:last-of-type,.prep-budget dl.data dd:last-child{font-weight:bold}
.prep-budget dl.data dt,.prep-budget dl.data dd{padding:0}.pixel-app .prep-budget{gap:2px}.pixel-app .prep-budget>button{min-height:26px}
