:root{color-scheme:light;font-family:ui-rounded,Hiragino Maru Gothic ProN,Yu Gothic,sans-serif;color:#204750;background:#133f49;--yellow: #ffd05c;--teal: #198e92;--cream: #fffdf1;--red: #ed6972}*{box-sizing:border-box}:where(html,body){margin:0;width:100%;height:100%;overflow:hidden}:where(button,select,input){font:inherit}button{cursor:pointer;color:inherit;border:0}:is(button,select,input,canvas):focus-visible{outline:3px solid #ffd05c;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.game{display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100dvh;min-height:0;position:relative;overflow:hidden;isolation:isolate;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.game :is(select,input,textarea){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}#world{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:none}.top-hud{position:absolute;top:max(12px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:stretch;gap:10px;pointer-events:none}.map-title{display:flex;gap:10px;align-items:center;min-width:0;min-height:48px;flex:0 1 auto;background:#fffdf1f2;border:2px solid white;border-radius:14px;padding:6px 14px;box-shadow:0 5px #214f5325}.map-title>span{font-size:24px;flex-shrink:0}.map-title strong{font-size:16px;line-height:1.25;display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-title small{font-size:12px;display:block;flex-shrink:0;line-height:1.25;white-space:pre-line;word-break:keep-all;color:#60817b}.top-actions{display:flex;gap:8px;align-items:stretch;pointer-events:auto}.top-actions button,.wallet{display:inline-flex;align-items:center;justify-content:center;background:#fffdf1f2;box-shadow:0 4px #25545630;border:2px solid white;border-radius:14px;padding:8px 16px;font-size:14px;font-weight:800;line-height:1.25;white-space:nowrap}.top-actions .menu-button{gap:4px;background:var(--yellow);border-color:#ffdf8a}.wallet{color:#906720}.touch-hud{display:none;position:absolute;inset:0;pointer-events:none}.touch-controls{position:absolute;left:max(10px,env(safe-area-inset-left));display:flex;flex-direction:column;align-items:center;gap:8px}.touch-pad{position:relative;width:96px;height:96px;touch-action:none}.touch-pad.is-unavailable,.map-zoom.is-unavailable{visibility:hidden}.touch-hud button{display:flex;align-items:center;justify-content:center;padding:0;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;border:1px solid #ffffff8c;background:#fffdf18c;color:#204750;box-shadow:none}.touch-direction,.map-zoom button{width:32px;height:32px;border-radius:8px}.touch-direction{position:absolute;font-size:0}.touch-direction:before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor}.touch-up{left:32px;top:0}.touch-up:before{transform:translateY(2px) rotate(-135deg)}.touch-left{left:0;top:32px}.touch-left:before{transform:translate(2px) rotate(135deg)}.touch-right{right:0;top:32px}.touch-right:before{transform:translate(-2px) rotate(-45deg)}.touch-down{left:32px;bottom:0}.touch-down:before{transform:translateY(-2px) rotate(45deg)}.touch-center{position:absolute;left:45px;top:45px;width:6px;height:6px;border-radius:50%;background:#20475073}.touch-hud .touch-action{width:48px;height:48px;flex-direction:column;gap:1px;border-radius:50%;background:#ffd05c8c;font-size:11px;line-height:1.2}.touch-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.touch-hud .touch-direction[aria-pressed=true],.touch-hud .touch-action.is-held,.touch-hud #mapOverview[aria-pressed=true]{background:#ffd05ccc}.map-zoom{position:absolute;right:max(10px,env(safe-area-inset-right));display:flex;flex-direction:column;align-items:center;gap:5px}.map-zoom-label{padding:1px 3px;border-radius:4px;background:#fffdf18c;font-size:11px;line-height:1.2}.map-zoom button{font-size:22px;line-height:1}.map-zoom #mapOverview{font-size:11px}.map-zoom button:active:not(:disabled){background:#fffdf1cc}@media(pointer:coarse){.touch-hud{display:block}}.notice{position:absolute;left:50%;top:88px;transform:translate(-50%);background:#fffdf1f5;border:2px solid white;border-radius:14px;padding:10px 18px;font-size:14px;font-weight:800;box-shadow:0 5px 15px #12363d25;max-width:80%;text-align:center;opacity:0;pointer-events:none;transition:opacity .15s}.notice.show{opacity:1}.guide-bubble{position:absolute;align-items:center;pointer-events:none}.guide-bubble small{font-size:12px;color:#16868b;margin-bottom:3px;font-weight:800}.guide-bubble span{display:block}.controls{align-items:center;gap:16px}.tool-chip{min-width:0;flex:1}.tool-chip strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-action{border-radius:16px;background:var(--yellow);box-shadow:0 5px #d6a535;min-width:160px;min-height:63px;padding:12px 20px;color:#745422;font-weight:900;font-size:19px;touch-action:none;-webkit-user-select:none;user-select:none}.main-action small{display:block;font-weight:600;font-size:12px;margin-top:5px}.main-action:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px #d6a535}.map-key{position:absolute;bottom:6px;left:50%;transform:translate(-50%);white-space:nowrap;color:#fffdf2;font-size:12px;text-shadow:0 2px 3px #163e45}.charge-panel{position:absolute;left:50%;top:24%;transform:translate(-50%,-50%);width:min(460px,85%);padding:18px 22px;background:var(--cream);border:4px solid white;border-radius:24px;text-align:center;box-shadow:0 6px #194d5740}.charge-panel strong{font-size:18px}.cast-meter{height:30px;background:linear-gradient(90deg,#badcdd,#7fced0);border-radius:20px;margin-top:16px;position:relative;border:3px solid #418689;overflow:hidden}.sweet-zone{position:absolute;left:78%;width:14%;height:100%;background:#ffd05c}.cast-meter>i{position:absolute;width:8px;height:100%;left:0%;background:#fff;border-radius:4px;box-shadow:0 0 0 2px #233c47;transform:translate(-50%)}.meter-labels{display:flex;justify-content:space-between;position:relative;margin-top:9px;font-size:12px}.meter-labels b{position:absolute;left:76%;color:#bd831c}.cast-feedback{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%) rotate(-5deg);font-size:clamp(25px,4vw,48px);font-weight:900;color:#fff7cd;text-shadow:0 4px 0 #be8725,0 0 12px #22646c80;pointer-events:none;opacity:0;white-space:nowrap}.cast-feedback.show{animation:feedback 1.5s both}.game.rush .fight-hud{border-color:#ffad74}.game.rush #fightWarning{color:#d76a43}.overlay{position:absolute;inset:0;z-index:40;background:#0e333e9c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.menu-card{display:flex;flex-direction:column;max-width:1050px;width:100%;max-height:calc(100dvh - 40px);min-height:360px;border:4px solid white;border-radius:28px;background:var(--cream);overflow:hidden;box-shadow:0 20px 70px #16343f80}.menu-head{display:flex;align-items:center;justify-content:space-between;padding:20px 25px 12px}.menu-head h1{margin:4px 0 0;font-size:25px}.menu-head small{letter-spacing:.12em;font-size:12px;color:#41888b}.menu-head button{width:44px;height:44px;border-radius:50%;background:#e1eee6;font-size:19px;padding:0}.menu-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:10px 22px;border-bottom:2px solid #dfebdf}.menu-tabs button{padding:11px 3px;border-radius:12px;background:#eaf3e8;font-size:14px;font-weight:800}.menu-tabs button.active{background:#ffda72;color:#806120}.menu-content{overflow:auto;overscroll-behavior:contain;min-height:0;padding:22px 26px;font-size:16px}.menu-content h2{font-size:20px;margin:0 0 14px}.menu-content p{font-size:14px;line-height:1.7;color:#597d76}.debug-menu{flex-shrink:0;max-height:min(260px,40dvh);overflow:auto;padding:9px 20px;border-top:1px solid #dfebdf;color:#597d76;font-size:12px}.debug-toggle-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}.debug-menu label{display:flex;align-items:center;gap:5px}.debug-menu input[type=checkbox]{accent-color:#198e92}.debug-menu summary{width:fit-content;margin-top:8px;cursor:pointer}.debug-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 0 3px}.debug-controls>small{flex-basis:100%}.debug-time-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.debug-menu .utility-btn{padding:7px 10px;font-size:12px}.debug-readout{position:absolute;z-index:2;top:88px;left:12px;max-width:calc(100% - 24px);padding:9px 12px;border:1px solid #ffffff66;border-radius:10px;background:#123f4bdf;color:#fff;font-size:12px;line-height:1.6;pointer-events:none}.debug-readout strong,.debug-readout output{display:block;white-space:pre-line}.map-editor{position:absolute;z-index:5;right:10px;width:min(390px,calc(100% - 20px));max-height:min(55dvh,560px);overflow:auto;padding:10px;border:1px solid #ffffff66;border-radius:10px;background:#123f4bf2;color:#fff;font-size:12px;line-height:1.5}.map-editor-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:6px}.map-editor-row:first-child{justify-content:space-between}.map-editor label{display:flex;align-items:center;gap:4px;min-width:0}.map-editor select{max-width:100%;min-width:0;padding:4px;font-size:12px}.map-editor button{padding:5px 8px;border:1px solid #b6d8d6;border-radius:5px;background:#edf7f2;color:#174a4d;font-size:12px;cursor:pointer}.map-editor button:disabled{opacity:.45;cursor:default}.map-editor output{display:block;margin:5px 0;white-space:pre-line}.map-editor summary{cursor:pointer}.editing-map #world{cursor:crosshair;touch-action:none}.editing-map #world[data-editor-cursor=grab]{cursor:grab}.editing-map #world[data-editor-cursor=grabbing]{cursor:grabbing}.editing-map #world[data-editor-cursor=move]{cursor:move}.editing-map #world[data-editor-cursor=pointer]{cursor:pointer}.editing-map #world[data-editor-cursor=copy]{cursor:copy}.editing-map .touch-controls,.editing-map .map-zoom{display:none}@media(max-width:600px){.map-editor{max-height:42dvh;padding:8px}}@media(max-height:500px){.debug-readout{top:70px;padding:5px 8px;font-size:10px}}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}.character-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;border:3px solid #dfebdf;border-radius:22px;background:#fffdf5;text-align:center}.character-card.selected{border-color:#e7b84b;background:#fff6d9}.character-card:focus-visible{outline:3px solid #41888b;outline-offset:3px}.character-preview{display:block;width:min(100%,200px);aspect-ratio:800 / 752;background-image:var(--character-image);background-size:300% 100%;background-repeat:no-repeat}.character-card strong{font-size:21px}.character-description{flex:1;color:#597d76;font-size:14px;line-height:1.7}.character-selection{padding:8px 18px;border-radius:999px;background:#eaf3e8;color:#38665d;font-size:14px;font-weight:800}.character-card.selected .character-selection{background:#ffda72;color:#806120}.location-card{overflow:hidden;padding:0;background:#fff;border:2px solid #d9e6d9;border-radius:20px;text-align:left}.location-card img{width:100%;height:145px;object-fit:cover;display:block}.location-card>div{padding:14px}.location-card strong{font-size:19px;display:block}.location-card small{display:block;margin-top:7px;color:#608179;font-size:13px}.location-card .play-badge{display:block;background:#ffda72;color:#7b5d23;border-radius:10px;padding:9px;margin-top:12px;text-align:center;font-weight:800;font-size:14px}.gear-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gear-field label{font-size:14px;display:block;margin-bottom:8px;font-weight:700}.gear-field select{font-size:14px;width:100%;padding:12px;border:2px solid #cbded3;border-radius:12px;background:#fff;color:#264e52}.gear-info{margin-top:20px;padding:15px 20px;border-radius:15px;background:#eaf3e8}.gear-info-table{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #cbded3;font-size:14px;line-height:1.7}.gear-info-table :is(th,td){padding:10px 14px;border-bottom:1px solid #cbded3;text-align:left;vertical-align:top;overflow-wrap:anywhere}.gear-info-table th{width:28%;border-right:1px solid #cbded3;background:#e0ecdf;color:#264e52;font-weight:600}.gear-info-table td{color:#597d76}.fish-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.fish-card{background:#fff;border:2px solid #dce8da;border-radius:15px;padding:12px;text-align:left}.fish-card span{display:block;font-size:30px;margin-bottom:8px}.fish-card strong{font-size:14px;display:block}.fish-card small{display:block;font-size:12px;color:#678477;margin-top:6px}.fish-rarity{display:block;font-size:18px;color:#eeb43e;letter-spacing:.1em;line-height:1.2}.fish-card .fish-rarity{font-size:14px;margin:6px 0 0}.progress-line{height:10px;background:#dce9d9;border-radius:10px;overflow:hidden;margin:10px 0 20px}.progress-line i{display:block;height:100%;background:#21aaa1}:is(.shop-row,.log-row,.mission-row){background:#fff;border:1px solid #d6e4d6;border-radius:14px;padding:14px 16px;margin-bottom:9px}.shop-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.shop-row strong{font-size:15px}.shop-row p{margin:5px 0 0;font-size:13px}.shop-row button,.utility-btn{border-radius:10px;padding:11px 15px;background:#ffda72;font-size:14px;font-weight:800;white-space:nowrap}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #dae6d5;font-size:15px}.settings-row input[type=checkbox]{width:22px;height:22px;accent-color:#159b91}.settings-row input[type=range]{accent-color:#159b91}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.utility-btn.danger{background:#f5d8d4;color:#a3494b}.result-card{position:relative;text-align:center;width:min(480px,94%);max-height:calc(100dvh - 40px);overflow:auto;background:var(--cream);border:5px solid white;border-radius:30px;padding:22px;box-shadow:0 20px 60px #113b4270;animation:result .3s ease-out}.stars{font-size:28px;color:#eeb43e;letter-spacing:8px}.result-card>small{color:#188f8f;font-size:13px;letter-spacing:.1em;font-weight:800}.result-card h2{font-size:26px;margin:9px 0}.result-card p{font-size:14px;line-height:1.6;color:#5d8078}.result-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff0c4;border-radius:15px;padding:14px}.result-values small{font-size:12px;display:block}.result-values strong{font-size:24px;display:block;margin-top:6px}.result-card .main-action{font-size:17px;min-height:50px}.challenge-overlay{z-index:50}.challenge-icon{font-size:48px;line-height:1.2}.challenge-rewards{display:grid;gap:10px;padding:0;margin:18px 0;list-style:none;text-align:left}.challenge-rewards li{padding:14px 16px;border:2px solid #eddfad;border-radius:16px;background:#fff8dd}.challenge-rewards small,.challenge-rewards strong{display:block}.challenge-rewards small{margin-bottom:5px;font-size:11px;color:#517c70}.challenge-rewards p{margin:5px 0}.challenge-reward{color:#937015;font-size:18px;font-weight:800}.challenge-total{padding:14px;margin-bottom:16px;border-radius:15px;background:#fff0c4}.challenge-total small,.challenge-total strong{display:block}.challenge-total strong{margin-top:6px;font-size:26px}.game.no-motion *{animation:none!important;transition:none!important}@keyframes pulse{to{scale:1.04}}@keyframes feedback{0%{opacity:0;scale:.7}15%,65%{opacity:1;scale:1}to{opacity:0;scale:1.08}}@keyframes result{0%{opacity:0;scale:.8}to{opacity:1;scale:1}}@media(max-width:800px){.controls{gap:10px}.main-action{min-width:135px;font-size:17px;padding:12px 15px}.fish-grid{grid-template-columns:repeat(4,1fr)}.wallet{display:none}}@media(max-width:560px){.top-hud{gap:6px;left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right));top:max(9px,env(safe-area-inset-top))}.map-title{padding:4px 8px;gap:7px;min-height:44px;border-radius:13px}.map-title>span{font-size:20px}.map-title strong{font-size:14px}.map-title small{font-size:11px}.top-actions{gap:5px;flex-shrink:0}.title-button-label{display:none}#returnTitleBtn{min-width:44px;min-height:44px;padding:8px;font-size:22px;line-height:1}.top-actions button{min-height:44px;padding:10px;font-size:13px;border-radius:12px}.controls{gap:10px;flex-wrap:wrap}.main-action{font-size:15px;min-width:118px;padding:10px 12px;min-height:60px}.main-action small{font-size:11px;max-width:105px;line-height:1.5}.fight-hud{left:9px}.map-key{display:none}.notice{top:75px;font-size:13px;width:90%;max-width:90%}.menu-card{max-height:calc(100dvh - 20px);border-radius:22px;min-height:0}.overlay{padding:10px}.menu-head{padding:15px 16px 8px}.menu-head h1{font-size:21px}.menu-tabs{grid-template-columns:repeat(3,1fr);padding:9px 12px;gap:5px}.menu-tabs button{font-size:13px;padding:10px}.menu-content{padding:16px}.location-grid{grid-template-columns:1fr}.location-card{display:grid;grid-template-columns:120px 1fr}.location-card img{height:100%;min-height:150px}.location-card strong{font-size:17px}.location-card small{font-size:12px}.gear-grid{grid-template-columns:1fr}.gear-info-table{font-size:13px}.gear-info-table :is(th,td){padding:8px}.gear-info-table th{width:35%}.fish-grid{grid-template-columns:repeat(2,1fr)}.shop-row{padding:12px;gap:9px}.shop-row strong{font-size:14px}.charge-panel{top:25%;padding:14px 18px}.charge-panel strong{font-size:16px}}@media(max-width:400px){.map-title{padding:4px 6px}.map-title strong{line-height:1.25}.map-title small{font-size:10px;line-height:1.2}.map-title>span{display:none}.top-actions button{padding-inline:8px}}@media(max-height:500px){.main-action{min-height:50px;font-size:16px}.main-action small{font-size:11px}.top-hud{top:max(7px,env(safe-area-inset-top))}.map-title{padding:6px 12px}.map-title strong{font-size:14px}.charge-panel{top:22%}.map-key{display:none}.menu-head{padding:10px 18px}.menu-head h1{font-size:20px}.menu-tabs{padding:7px 18px}.menu-tabs button{padding:8px}.result-card{padding:12px}.result-card h2{font-size:21px}.result-card p{margin:8px 0}.stars{font-size:20px}.result-values{padding:9px}.result-values strong{font-size:20px}}@media(max-width:360px){.menu-button-label{display:none}#menuBtn{min-width:44px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.controls{position:absolute;bottom:max(7px,env(safe-area-inset-bottom));left:12px;right:12px;display:block;min-height:0;height:20px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;pointer-events:none;color:#fffef1;font-size:12px;line-height:20px;text-shadow:0 1px 3px #133f49,0 0 5px #133f49;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-chip,.game.fishing .tool-chip{position:absolute;display:block;max-width:calc(100% - 28px);padding:9px 12px;background:#123f4bbb;border:1px solid #ffffff40;border-radius:12px;box-shadow:none;color:#fffdf1}.tool-chip small{font-size:12px;color:#c7ece8}.tool-chip strong{max-width:100%;font-size:14px;margin:3px 0;line-height:1.35}.tool-chip span{font-size:12px;color:#d6eeec}.guide-bubble,.game.fighting .guide-bubble{left:50%;transform:translate(-50%);bottom:43px;display:flex;width:max-content;max-width:min(420px,calc(100% - 530px));padding:7px 10px;gap:8px;border:1px solid #ffffff66;background:#fffdf1dc;box-shadow:none;border-radius:12px}.guide-bubble small{display:none}.guide-bubble span{font-size:12px;line-height:1.5}.lure-hud{position:absolute;right:auto;bottom:auto;display:grid;width:230px;max-width:calc(100% - 20px);gap:3px;background:#fffdf2d9;border:1px solid #ffffffaa;border-radius:12px;padding:8px 11px;box-shadow:none;font-size:12px;pointer-events:none}.lure-hud strong{font-size:12px;color:#198e92}.lure-hud small{font-size:12px;color:#587a76}.fight-hud,.game.rush .fight-hud{position:absolute;right:auto;bottom:auto;width:64px;height:54px;max-width:none;border:0;border-radius:0;padding:0;background:none;box-shadow:none;pointer-events:none;filter:drop-shadow(0 1px 3px #103b48aa)}.engine-gauge{display:block;width:64px;height:54px;overflow:visible}.engine-gauge path{fill:none;stroke-width:5;stroke-linecap:round}.engine-gauge .gauge-rim{stroke:#153f4dcc;stroke-width:10}.engine-gauge .gauge-green{stroke:#6ed6b4}.engine-gauge .gauge-amber{stroke:#ffd36f}.engine-gauge .gauge-red{stroke:#ff7175}.engine-gauge text{fill:#fffdf1;font-size:10px;font-weight:700;paint-order:stroke;stroke:#17434e;stroke-width:2px}.engine-gauge .gauge-end-label{font-size:10px;stroke-width:1.5px}.engine-gauge #tensionNeedle{transform-origin:40px 38px;transform:rotate(-17deg)}.engine-gauge #tensionNeedle path{stroke:#fff;stroke-width:2.5}.engine-gauge #tensionNeedle circle{fill:#fff}.fight-hud.danger #tensionNeedle path{stroke:#ff7175}.fight-hud.danger{animation:gauge-danger .35s infinite alternate}.fight-hud.slack .gauge-rim{stroke:#558cbbdd}.result-card:focus{outline:none}@keyframes gauge-danger{to{filter:drop-shadow(0 0 5px #ff7175)}}@media(max-width:850px){.guide-bubble,.game.fighting .guide-bubble{bottom:130px;max-width:min(420px,calc(100% - 28px))}}@media(max-width:560px){.controls{font-size:12px;left:8px;right:8px}.tool-chip,.game.fishing .tool-chip{max-width:200px}.tool-chip strong{max-width:100%;font-size:13px}.guide-bubble,.game.fighting .guide-bubble{left:50%;bottom:128px;max-width:calc(100% - 24px);padding:6px 9px}.guide-bubble span{font-size:12px}.fight-hud{left:auto}.lure-hud{width:218px}}@media(max-height:500px){.guide-bubble,.game.fighting .guide-bubble{bottom:116px;max-width:min(420px,calc(100% - 28px))}.tool-chip{padding:6px 10px}.controls{height:18px;line-height:18px}}@media(prefers-reduced-motion:reduce){.fight-hud.danger{animation:none}}.sprite-art{display:block;background-repeat:no-repeat;background-position:center;background-size:100% 100%;overflow:hidden;flex-shrink:0}.gear-art{width:80px}.fish-card .fish-art{font-size:0}.unknown-fish{height:85px;display:grid!important;place-items:center;color:#bdd2c4}.result-fish{font-size:0;margin:12px auto;width:min(340px,100%);line-height:1}.result-fish .catch-art{width:100%}.fish-detail-art{width:min(300px,100%);margin:0 auto 14px}.equipped-art{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.equipped-art>div{min-width:0;display:grid;justify-items:center;align-content:start;gap:8px}.equipped-art .gear-art{width:100%;max-width:150px}.equipped-art small{font-size:12px;line-height:1.5;text-align:center}.shop-row .gear-art{width:80px}.shop-item-copy{flex:1;min-width:0}.log-art{width:95px;float:left;margin-right:12px}.log-row:after{content:"";display:block;clear:both}.character-face{display:block;flex-shrink:0;width:40px;height:40px;background-size:calc(100% * 2400 / 724) calc(100% * 752 / 724);background-position:calc(100% * 11 / 1676) calc(100% * 11 / 28)}.game.fighting .guide-bubble{border-color:#ffe39a;background:#fff6d9df}.game.rush .guide-bubble{border-color:#ffad74}.game.fighting .map-title{border-color:#ffd36f}@media(max-width:560px){.equipped-art{grid-template-columns:repeat(2,1fr)}.shop-row .gear-art{width:62px}.shop-row{gap:9px}.character-face{width:35px;height:35px}.result-fish{width:min(280px,100%)}.shop-row button{padding:9px 11px}}@media(max-height:500px){.result-fish{width:210px;margin:4px auto}.character-face{width:30px;height:30px}}:is(.fish-art,.gear-art){background-image:var(--asset);aspect-ratio:var(--ar)}.fish-card .fish-art{min-height:0;width:100%;height:auto;margin:auto 0 8px}.fish-card{display:flex;flex-direction:column;justify-content:center;min-height:160px}.fish-card strong{margin-top:auto}.contained-fish-art{display:block;width:100%;height:auto;object-fit:contain;max-height:220px}.fish-card .contained-fish-art{height:85px}:is(.fish-art,.gear-art){clip-path:inset(.35px)}.tool-chip,.game.fishing .tool-chip{width:280px;pointer-events:none}.tool-chip>button{pointer-events:auto;background:#ffda72;color:#684c1c;border:1px solid #ffe9aa;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:800;white-space:nowrap}.tool-chip>div{display:grid;align-items:center;gap:5px;min-height:20px}.tool-chip>div strong{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.missing-gear{display:grid;place-items:center;width:80px;height:70px;border:2px dashed #b9d2c9;border-radius:12px;color:#9abbb4;font-size:26px}@media(max-width:560px){.tool-chip,.game.fishing .tool-chip{width:260px;max-width:calc(100% - 20px)}.guide-bubble,.game.fighting .guide-bubble{bottom:180px}}@media(max-height:500px){.guide-bubble,.game.fighting .guide-bubble{bottom:165px}}.gear-art{filter:none}.contained-gear-art{display:block;object-fit:contain;aspect-ratio:1/1;width:80px;height:70px;flex:none}.equipped-art .contained-gear-art{width:100%;max-width:120px;height:92px}.shop-row .contained-gear-art{width:80px;height:65px}@media(max-width:560px){.shop-row .contained-gear-art{width:62px;height:54px}}.tool-chip,.game.fishing .tool-chip{left:auto;right:14px;bottom:42px}.tool-chip>div{grid-template-columns:43px minmax(0,1fr)}.gear-art-frame{position:relative;width:100%;height:106px;display:grid;place-items:center;overflow:hidden}.equipped-art .gear-art-frame .gear-art{width:min(100%,calc(96px * var(--art-ratio, 1)));max-width:100%;height:auto;max-height:96px;margin:auto}.equipped-art .gear-art-frame .contained-gear-art{width:100%;height:96px;max-width:170px;object-fit:contain}.equipped-art .gear-art-frame .missing-gear{height:88px}.shop-tabs{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:-22px;z-index:1;background:#fffdf1;padding:8px 0 13px}.shop-tabs button{border-radius:12px;background:#e6f2e8;padding:9px 17px;font-weight:800;min-width:84px}.shop-tabs button.active{background:#ffda72;color:#6b501e}.catch-scroll{max-height:min(350px,40dvh);overflow-y:auto;overscroll-behavior:contain;padding:4px 8px 4px 0;border-radius:12px}.challenge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 0}.challenge-list .mission-row{margin:0}.fish-detail-overlay{z-index:60;background:#12343ecb}.game-footer{grid-row:2;position:relative;z-index:2;min-width:0;padding:10px max(14px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#174752;border-top:2px solid #80c7c14d}.game-footer .lower-hud{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2fr);align-items:stretch;gap:12px;min-width:0}.game .game-footer .guide-bubble{position:static;transform:none;display:flex;width:auto;min-width:0;max-width:none;min-height:74px;margin:0;padding:8px 10px;background:#fffdf1}.game-footer .guide-bubble>div{min-width:0}.game-footer .guide-bubble small{display:block;font-size:11px;line-height:1.4}.game-footer .guide-bubble span{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.game .game-footer .tool-chip{position:static;display:flex;gap:6px 12px;width:auto;min-width:0;max-width:none;margin:0;padding:8px 10px;background:#123f4b}.game-footer .tool-chip>button{flex:0 0 auto;align-self:center;min-height:36px;padding:6px 12px;font-size:12px}.game-footer .tool-chip>div{display:block;flex:1 1 auto;min-width:0;min-height:0}.game-footer .tool-chip small{display:block;font-size:11px;line-height:1.4}.game-footer .tool-chip>div strong{min-height:2.8em;margin-top:3px;overflow:visible;text-overflow:clip;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.game-footer .controls{position:static;height:auto;min-height:18px;padding-top:8px;color:#d7ebe6;font-size:12px;line-height:1.5;text-shadow:none;white-space:normal;overflow:visible;text-overflow:clip}@media(max-width:700px){.game-footer{padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}.game-footer .lower-hud{grid-template-columns:minmax(0,1fr);gap:8px}.game .game-footer .tool-chip{grid-row:1}.game-footer .controls{min-height:41px;font-size:11px}}@media(max-height:500px){.game-footer{padding-top:6px}.game-footer .lower-hud{grid-template-columns:minmax(140px,.8fr) minmax(0,2fr);gap:8px}.game .game-footer .tool-chip{grid-row:auto;gap:4px 10px;padding:5px 8px}.game .game-footer .guide-bubble{height:auto}.game-footer .tool-chip>div strong{margin:0}.game-footer .controls{min-height:22px;padding-top:4px}}@media(max-height:500px),(max-width:360px){.charge-panel{padding:6px 12px;border-width:2px;border-radius:14px;font-size:12px;line-height:1.3}.charge-panel strong{font-size:13px;line-height:1.3}.cast-meter{height:20px;margin-top:6px;border-width:2px}.meter-labels{margin-top:6px;font-size:11px}}@media(max-height:360px){.map-title{padding:4px 9px}.map-title>span{font-size:22px}.top-actions button,.wallet{padding:8px 10px}.game-footer{padding-top:4px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.game-footer .lower-hud{grid-template-columns:minmax(0,1fr);gap:6px 8px}.game .game-footer .guide-bubble{grid-row:1;height:48px;min-height:48px;padding:4px 6px;gap:6px}.game-footer .character-face{width:24px;height:28px}.game-footer .tool-chip>div{display:block;padding-top:4px;border-top:1px solid #ffffff40;font-size:12px;line-height:1.4}.game-footer .tool-chip>div :is(small,strong){display:inline}.game-footer .tool-chip>div small{margin-right:4px}.game-footer .controls{padding-top:2px;font-size:11px}}@media(pointer:coarse){.game-footer .controls,.game .game-footer .tool-chip{display:none}.game-footer .lower-hud{grid-template-columns:minmax(0,1fr)}.game .game-footer .guide-bubble{grid-column:1 / -1;grid-row:auto}}.title-overlay{padding:0;background:#176572;-webkit-backdrop-filter:none;backdrop-filter:none}.gear-loss-overlay{z-index:55;background:#123a46d9}.gear-loss-card{width:min(420px,100%);max-height:calc(100dvh - 30px);overflow:auto;padding:26px 24px;text-align:center;border:5px solid #fff;border-radius:26px;background:#fffdf1;box-shadow:0 20px 60px #103a4b80;animation:result .3s ease-out}.gear-loss-icon{display:block;font-size:45px;line-height:1.2}.gear-loss-card h2{margin:10px 0;font-size:24px;color:#23545b}.gear-loss-card p{font-size:15px;line-height:1.6;color:#547a76}.gear-loss-card .main-action{margin-top:8px;min-height:52px;font-size:17px}.gear-loss-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.gear-loss-actions .utility-btn{margin-top:8px;min-height:52px;background:#d8efea}.shop-buy{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}.shop-buy small{color:#436b68;font-size:12px;font-weight:700}.shop-buy button{min-width:92px}.shop-row.just-bought{background:#fff8da;border-color:#e7be51;box-shadow:0 0 0 2px #ffd66c66;transition:background .15s,border-color .15s,box-shadow .15s}.purchase-flash{position:absolute;right:0;bottom:calc(100% - 8px);z-index:2;min-width:94px;padding:5px 9px;border-radius:10px;background:#198e92;color:#fff;font-size:13px;font-weight:900;text-align:center;white-space:nowrap;pointer-events:none;box-shadow:0 3px 9px #164a4a44;animation:purchase-pop .9s both}@keyframes purchase-pop{0%{opacity:0;transform:translateY(9px) scale(.8)}20%,70%{opacity:1;transform:translateY(-3px) scale(1)}to{opacity:0;transform:translateY(-16px) scale(1.04)}}@media(max-width:570px){.shop-row{flex-wrap:wrap}.shop-buy{width:100%;flex-direction:row;justify-content:space-between;align-items:center}.purchase-flash{bottom:calc(100% - 12px)}}.title-card{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:linear-gradient(180deg,#192e480d 0%,transparent 35%,#132c381c 100%),url(assets/title/harbor-516fef3ee93d.webp) center center/cover no-repeat;box-shadow:none;isolation:isolate}.title-logo{position:absolute;z-index:1;left:50%;top:clamp(12px,3vh,34px);transform:translate(-50%);width:min(70vw,86vh,740px);text-align:center;pointer-events:none;filter:drop-shadow(0 7px 8px #1c3d4c88)}.title-logo h1{margin:0}.title-logo img{display:block;width:100%;height:auto}.title-intro{display:inline-block;margin:12px 0 0;padding:9px 18px;border-radius:14px;background:#173b4cc9;color:#fff7dd;font-size:clamp(13px,1.5vw,18px);font-weight:700;line-height:1.7;text-shadow:0 1px 2px #173b4c}.title-start{position:absolute;z-index:2;left:50%;bottom:max(5.5%,calc(env(safe-area-inset-bottom) + 52px));transform:translate(-50%);width:clamp(220px,28vw,320px);min-height:clamp(60px,9vh,78px);border:3px solid #4d2e28;border-radius:23px;background:linear-gradient(180deg,#d8a36a,#b77a42 48%,#92542e);box-shadow:inset 0 4px #f0c78d,inset 0 -4px #683b27,0 6px #543527,0 12px 24px #12394288;color:#fff7da;font-size:clamp(25px,3vw,35px);font-weight:1000;letter-spacing:.05em;text-shadow:0 2px 0 #593725}.title-footer{position:absolute;z-index:2;left:50%;bottom:max(12px,calc(env(safe-area-inset-bottom) + 10px));transform:translate(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:4px 10px;border-radius:6px;background:#173b4c99;color:#fff7dd;font-size:12px;line-height:1.5;white-space:nowrap;text-shadow:0 1px 2px #173b4c}.title-footer a{color:inherit;text-underline-offset:2px}.title-footer a:focus-visible{outline:3px solid #ffd05c;outline-offset:3px}.character-face{background-image:url(assets/character/mike/right-44004d540505.webp)}.title-start:hover{transform:translate(-50%,-2px);filter:brightness(1.08)}.title-start:active:not(:disabled){transform:translate(-50%,4px);box-shadow:inset 0 3px #e8b87c,0 2px #543527}.title-corner{position:absolute;z-index:3;top:max(10px,env(safe-area-inset-top));width:52px;height:55px;display:grid;justify-items:center;align-content:center;gap:0;border:2px solid #503b35;border-radius:13px;background:linear-gradient(#ba8356,#8d573c);box-shadow:inset 0 2px #e2ad75,0 4px #5a443a,0 6px 12px #17394888;color:#fff7e5;text-shadow:0 1px 2px #372d2c;padding:0}.title-corner>span{font-size:27px;line-height:1}.title-corner small{font-size:10px;color:#fff7e5;font-weight:900;line-height:1.2}.title-options-btn{left:max(10px,env(safe-area-inset-left))}.title-sound-btn{right:max(10px,env(safe-area-inset-right))}.title-options-panel{position:absolute;z-index:4;top:75px;left:max(10px,env(safe-area-inset-left));width:min(300px,calc(100% - 20px));max-height:calc(100% - 90px);overflow:auto;padding:15px 17px;border:3px solid #694b39;border-radius:16px;background:#fff4dbea;box-shadow:0 8px 22px #183a4b99;text-align:left}.title-options-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.title-options-head strong{font-size:18px}.title-options-head button{width:32px;height:32px;border-radius:8px;background:#e6cba6;padding:0}.title-options-panel p{margin:12px 0;font-size:14px;line-height:1.6}.title-options-panel .utility-btn{width:100%}#titleImportStatus{font-weight:700}#titleImportStatus:empty{display:none}@media(max-width:560px){.title-card{background-position:center center}.title-logo{top:max(54px,calc(env(safe-area-inset-top) + 42px));width:min(96vw,65vh)}.title-start{bottom:max(5%,calc(env(safe-area-inset-bottom) + 52px));width:min(76%,280px)}.title-corner{width:45px;height:47px}.title-corner>span{font-size:22px}}@media(max-height:520px){.title-logo{top:8px}.title-intro{margin-top:4px;padding:5px 14px;font-size:12px}.title-start{bottom:max(3%,calc(env(safe-area-inset-bottom) + 52px));min-height:54px}.title-options-panel{top:63px;max-height:calc(100% - 70px)}}.fish-detail-card{position:relative;width:min(540px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;background:#fffdf1;border:4px solid white;border-radius:26px;padding:22px;text-align:center;box-shadow:0 18px 60px #0b313a80}.fish-detail-card h2{font-size:24px;margin:10px 0}.fish-detail-card p{line-height:1.6;text-align:left;color:#50726a}.fish-detail-card .fish-detail-art{width:min(330px,100%);max-height:205px;object-fit:contain;aspect-ratio:var(--ar);margin:0 auto 12px}.fish-detail-card .contained-fish-art{width:min(330px,100%);height:205px;object-fit:contain;margin:0 auto 12px}.fish-detail-close{position:absolute;top:10px;right:10px;border-radius:50%;background:#e4eee8;width:42px;height:42px;font-size:20px}@media(max-width:560px){.tool-chip,.game.fishing .tool-chip{left:auto;right:10px;bottom:40px}.gear-art-frame{height:100px}.shop-tabs{top:-16px}.shop-tabs button{flex:1;min-width:68px;padding:8px 6px}.challenge-list{grid-template-columns:1fr}.fish-detail-card{padding:17px}}.shop-group{font-size:15px;color:#268b8b;background:#e7f5ed;border-radius:10px;margin:16px 0 9px;padding:9px 12px}.shop-group-description{margin:0 4px 12px;color:#436b68;font-size:13px;line-height:1.6}.shop-lure-row{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:start;gap:12px 15px}.shop-product-name{margin:0;color:#177a79;font-size:16px}.shop-lure-row .shop-product-description{margin:5px 0 10px;line-height:1.6}.shop-lure-specifications{font-weight:700;color:#315d60}.shop-variants{display:flex;gap:9px;flex-wrap:wrap}.shop-variants label{display:grid;gap:4px;color:#5c7877;font-size:13px;font-weight:800;min-width:0}.shop-variants label:first-child{flex:2 1 155px}.shop-variants label:last-child{flex:1 1 88px}.shop-variants select{width:100%;min-width:0;max-width:260px;background:#f5faf6;border:1px solid #bcd7cd;border-radius:9px;padding:7px 9px;font-size:14px;font-weight:700;color:#25545a}.shop-variants select:disabled{opacity:.68}.shop-lure-row .shop-item-copy p{margin-top:8px}.shop-lure-row .shop-buy{padding-top:4px}.shop-owned{grid-column:1 / -1;min-width:0;border-top:1px solid #e0ece6;padding-top:8px}.shop-row .shop-owned-summary{margin:0 0 7px;color:#436b68;font-weight:700}.shop-row .shop-owned-empty{margin:0;color:#6e8580}.shop-owned-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:13px;color:#315d60}.shop-owned-table th{padding:4px 7px;color:#5c7877;font-size:12px}.shop-owned-table td{padding:5px 7px;border-top:1px solid #edf3ef}.shop-owned-table th,.shop-owned-table td{overflow-wrap:anywhere}.shop-owned-table th:first-child{width:43%}.shop-owned-table th:nth-child(2){width:16%}.shop-owned-table th:nth-child(3){width:41%}.shop-owned-table th:nth-child(2),.shop-owned-table td:nth-child(2){white-space:nowrap}.shop-owned-table tr.selected{background:#edf8f3}.shop-owned-table .shop-owned-variant{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;background:transparent;color:#177a79;font-size:inherit;font-weight:700;white-space:normal;text-align:left}.shop-owned-table button.shop-owned-variant{padding:5px 0;min-height:34px;border-radius:4px}.shop-equipped-badge{border-radius:5px;background:#d8efea;padding:2px 5px;font-size:11px;white-space:nowrap}.shop-owned-table .low-durability{color:#b0462a;font-weight:800}@media(max-width:570px){.shop-lure-row{grid-template-columns:62px minmax(0,1fr);gap:10px}.shop-variants label:first-child{flex-basis:100%}.shop-variants label:last-child{flex-basis:86px}.shop-variants select{max-width:none}.shop-lure-row .shop-buy{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:0}.shop-owned-table{font-size:12px}.shop-owned-table th,.shop-owned-table td{padding:5px 3px}}
