@charset "UTF-8";
:root{color-scheme:light;--ink:#234b4d;--muted:#73847a;--cream:#fbf4e4;--coral:#c96747;--line:#d9d8c4;--serif:Georgia,'Times New Roman',serif;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#206775;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #d99052;outline-offset:4px}button{color:inherit}button:disabled{cursor:default}button[hidden],[hidden]{display:none!important}#sea,.vignette{position:fixed;inset:0;width:100%;height:100%;height:100dvh}#sea{display:block}.vignette{pointer-events:none;background:linear-gradient(0deg,#082e4140,transparent 22%,transparent 80%,#e5dec116),radial-gradient(ellipse at 50% 42%,transparent 30%,#163e421a 100%)}#app{position:relative;height:100vh;height:100dvh;min-height:480px;isolation:isolate}.topbar{height:86px;margin:auto;max-width:1260px;padding:24px 42px;display:flex;justify-content:space-between;align-items:center}.wordmark{text-decoration:none;color:var(--ink);font-size:12px;font-weight:700;letter-spacing:2.1px;display:flex;gap:12px;align-items:center}.wave-logo{font-family:Georgia,serif;font-size:41px;line-height:20px;font-weight:400;transform:rotate(-8deg)}nav{display:flex;gap:12px;align-items:center}.nav-button,.help-button{border:1px solid #41696638;background:#fbf6e84d;height:40px;border-radius:22px;font-size:12px;font-weight:600;backdrop-filter:blur(9px)}.nav-button{display:flex;align-items:center;gap:9px;padding:0 16px}.nav-button>span:first-child{font-size:20px;font-weight:400}.count{font-size:10px;opacity:.65;border-left:1px solid #52736c44;padding-left:9px}.help-button{width:40px;font-family:var(--serif);font-size:18px}.nav-button:hover,.help-button:hover{background:#fff9e8b0}.intro{text-align:center;position:absolute;left:12px;right:12px;top:14%;pointer-events:none;transition:opacity .7s,transform .7s}.intro.dimmed{opacity:0;transform:translateY(-10px)}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.8px;display:flex;justify-content:center;align-items:center;gap:9px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#a77b49}h1{font-family:var(--serif);font-size:clamp(46px,7.3vw,83px);font-weight:400;letter-spacing:-3.5px;line-height:1.12;margin:15px 0 10px}h1 em{font-weight:400;color:#55746a}.intro p{font-size:12px;letter-spacing:.3px;margin:0;color:#53766e}.title-rule{display:flex;align-items:center;gap:13px;justify-content:center;margin-top:14px;color:#a77e50;font-size:22px}.title-rule:before,.title-rule:after{content:'';width:37px;height:1px;background:#a77e505e}.location{position:absolute;top:39%;left:max(32px,calc((100% - 1170px)/2));color:#e5ead6;display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.4px;text-shadow:0 1px 8px #194c48}.location b{margin:0 6px;font-weight:400}.wind-icon{font-size:30px;font-weight:200}.control-panel{position:absolute;bottom:57px;left:50%;transform:translateX(-50%);width:480px;padding:21px 25px 13px;border:1px solid #fff4da9c;border-radius:8px;background:linear-gradient(120deg,#fffaecf5,#f3eeddf5);box-shadow:0 8px 35px #0f34442b,0 1px 0 #fff7e4 inset;max-width:calc(100% - 34px)}.state-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.state-kicker{font-size:8px;letter-spacing:2px;font-weight:700;color:#8a8c72}.session-count{font-size:10px;color:#829080}.control-copy{margin:11px 0 17px}.control-copy h2{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:-.6px;line-height:1.14;margin:0 0 7px}.control-copy p{font-size:11px;color:#748176;line-height:1.5;margin:0}.action-button{width:100%;height:49px;border:1px solid #b65b3b;background:linear-gradient(110deg,#cd7352,#c46544);box-shadow:0 3px 0 #a45135,0 1px 0 #e1a37b inset;color:#fff6e4;border-radius:5px;font-size:13px;font-weight:600;letter-spacing:.3px;display:flex;align-items:center;justify-content:center;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;transition:background .15s,box-shadow .15s}.action-button:hover{background:#bc5f41}.action-button:active,.action-button.held{box-shadow:0 1px 0 #a45135;transform:translateY(2px);background:#a9563d}.button-arrow{position:absolute;right:19px;font-size:22px;font-weight:300}.action-button.waiting{background:#dee5d6;box-shadow:none;border-color:#c6d1bf;color:#6e8478}.action-button.bite{background:#d17940;box-shadow:0 0 0 5px #d5b56733,0 3px 0 #a86439;animation:call 1s ease infinite}.action-button.danger{background:#9e4939;border-color:#913f31}.input-tip{text-align:center;color:#8e9582;font-size:9px;margin:11px 0 0;letter-spacing:.4px}kbd{font:inherit;border:1px solid #c8cdb9;padding:1px 5px;border-radius:3px;margin-left:3px}.meter-label{display:flex;justify-content:space-between;font-size:10px;margin:9px 0 5px;color:#6a7c70}.meter-label b{font-size:10px;font-weight:600}.meter{height:7px;border-radius:8px;background:#dce1d2;position:relative;overflow:hidden}.meter i{display:block;height:100%;border-radius:8px;width:0;background:#578f7a}.tension-meter i{background:linear-gradient(90deg,#759a7e,#c0a960 74%,#c05a43 100%);background-size:430px}.tension-meter>span{position:absolute;right:22%;top:0;height:100%;width:1px;background:#f9f5e1}.control-panel.fighting{padding-top:17px}.fighting .control-copy{margin-bottom:11px}.fighting .control-copy h2{font-size:24px}.fighting .action-button{margin-top:15px}footer{position:absolute;bottom:20px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:28px;font-size:7px;letter-spacing:2px;color:#d1ddca9c}footer button{border:0;background:none;color:#d1ddcaab;font-size:9px;letter-spacing:.4px;padding:5px}.bite-callout{position:absolute;top:45%;left:50%;margin-left:15px;font-family:var(--serif);font-size:50px;color:#fff0c1;text-shadow:0 2px 12px #0e585a;line-height:1;text-align:center;animation:bob .45s ease infinite alternate}.bite-callout span{display:block;font-family:'Segoe UI',sans-serif;font-size:12px;font-weight:600;margin-top:5px;letter-spacing:.5px}.storage-warning{position:fixed;left:10px;bottom:5px;max-width:360px;background:#fff0d8;color:#8c593c;border:1px solid #e0bd87;border-radius:6px;padding:8px 12px;font-size:11px;z-index:10}.test-banner{position:fixed;top:0;left:0;right:0;z-index:8;background:#263e3c;color:#e9ddbb;display:flex;justify-content:center;align-items:center;gap:16px;font-size:10px;padding:7px 12px}.test-banner button{color:#f6deb0;border:0;background:none;text-decoration:underline;font-size:10px}.dev-mode .topbar{padding-top:47px;height:108px}.dev-mode .intro{top:17%}
dialog{border:1px solid #e8ddbf;border-radius:12px;padding:0;width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 44px);color:var(--ink);background:#f7f2e3;box-shadow:0 25px 100px #0c353c55;overscroll-behavior:contain}dialog::backdrop{background:#143f4b7d;backdrop-filter:blur(6px)}#modal-content{padding:29px 32px}.modal-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.overline{color:#89907a;letter-spacing:2px;font-size:9px;font-weight:700;margin:0 0 8px}.modal-heading h2,.catch-name{font-family:var(--serif);font-size:37px;letter-spacing:-1px;font-weight:400;margin:0}.close-button{border:1px solid #ced5c3;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:transparent;font-size:22px;font-weight:300;line-height:20px}.modal-subtitle{font-size:12px;line-height:1.7;color:#7a8676;margin:10px 0 20px}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.journal-cell{border:1px solid #dbdecd;background:#eeeddf;border-radius:7px;padding:8px 8px 15px;min-width:0;position:relative}.journal-cell img{width:100%;aspect-ratio:1.7;object-fit:contain;display:block}.journal-cell strong{font-family:var(--serif);font-size:18px;font-weight:400;display:block}.journal-cell small{display:block;font-size:9px;color:#7f8a78;margin-top:5px}.journal-cell.unknown{cursor:default}.unknown img{filter:brightness(0) saturate(0);opacity:.13}.unknown strong{font-size:17px;color:#929a85}.section-label{font-size:9px;letter-spacing:1.8px;font-weight:700;margin:23px 0 12px;color:#869079}.journal-stats{display:flex;justify-content:space-between;border-top:1px solid #d7dcc9;margin-top:23px;padding-top:16px;gap:10px;color:#7a8675;font-size:10px}.journal-stats b{display:block;font-family:var(--serif);font-weight:400;font-size:24px;color:#42635a;margin-bottom:3px}.text-button{padding:8px 0;border:none;border-bottom:1px solid #b8c0aa;background:transparent;color:#7b826b;font-size:10px;margin-top:18px}.catch-card{text-align:center}.catch-card .modal-heading{text-align:left}.catch-art{display:block;width:100%;height:clamp(145px,26vh,245px);object-fit:contain;margin:0 auto 8px;filter:drop-shadow(0 9px 9px #7b8a6815)}.badges{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:5px 0 13px}.badge{display:inline-block;background:#dfe6d2;color:#5e7a64;border:1px solid #ccd6bd;border-radius:3px;padding:4px 8px;font-size:9px;letter-spacing:.6px}.badge.new{background:#c86947;color:#fff5df;border-color:#c86947}.badge.record{color:#957139;background:#eee4c9;border-color:#dccc9d}.catch-weight{font-family:var(--serif);font-size:29px;margin:7px 0 13px;color:#6b816e}.catch-text{font-family:var(--serif);font-size:18px;line-height:1.6;max-width:440px;margin:0 auto 19px;color:#587265}.catch-record{font-size:10px;color:#87917a;margin:0 0 21px}.modal-actions{display:flex;gap:10px;margin-top:20px}.modal-actions button{flex:1}.secondary-button{background:transparent;border:1px solid #bdc7b1;color:#637b69;border-radius:5px;padding:12px;font-size:12px}.rules{display:grid;gap:17px;margin:24px 0}.rule{display:flex;gap:16px}.rule-number{font-family:var(--serif);font-size:27px;color:#a7a788;flex:0 0 23px}.rule strong{font-size:13px;font-weight:600}.rule p{color:#788773;font-size:12px;line-height:1.65;margin:5px 0}.dev-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:20px}.dev-item{border:1px solid #d6d9c5;border-radius:5px;background:#eeedde;padding:8px 3px;font-size:10px}.dev-item.selected{outline:2px solid #b78e57;background:#f1e6cb}.dev-item img{width:100%;height:65px;object-fit:contain}.dev-item span{display:block;font-size:8px;color:#89917d;margin-top:5px}.dev-controls{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.dev-controls button{font-size:11px;padding:10px 12px}.dev-note{font-size:11px;line-height:1.65;color:#788572}.dev-select{padding:9px;border:1px solid #c3ccb7;border-radius:5px;background:#f8f3e5;color:#52735e;font:inherit;font-size:12px;width:100%;margin:10px 0}.dev-live{position:fixed;right:15px;bottom:62px;display:flex;flex-direction:column;gap:6px;z-index:4}.dev-live button{background:#f3edddeb;border:1px solid #cad2bc;border-radius:4px;padding:8px 10px;font-size:10px;color:#54715d}.confirm-box{border-left:2px solid #c98658;padding:8px 17px;margin:20px 0;font-size:13px;line-height:1.8;color:#74816c}
@keyframes bob{to{transform:translateY(-5px)}}@keyframes call{50%{box-shadow:0 0 0 8px #d5b56710,0 3px 0 #a86439}}@media(min-width:1500px){.intro{top:15%}.location{left:calc(50% - 560px)}}@media(max-width:650px){.topbar{height:74px;padding:19px 20px}.wordmark{font-size:9px;letter-spacing:1.1px;gap:7px}.wave-logo{font-size:34px}.nav-button{font-size:10px;height:35px;padding:0 12px;gap:7px}.nav-button>span:first-child{font-size:17px}.help-button{width:35px;height:35px;font-size:17px}nav{gap:7px}.count{font-size:8px}.intro{top:15.5%}h1{font-size:53px;letter-spacing:-2.5px;margin:17px 0 11px}.eyebrow{font-size:7px;letter-spacing:1.65px}.intro p{font-size:10px}.title-rule{margin-top:10px}.location{top:36.7%;left:22px;font-size:8px;gap:7px}.wind-icon{font-size:25px}.location b{margin:0 3px}.control-panel{bottom:max(35px,calc(env(safe-area-inset-bottom) + 20px));padding:16px 19px 11px;max-width:calc(100% - 28px);width:420px}.control-copy{margin:10px 0 14px}.control-copy h2{font-size:25px}.control-copy p{font-size:10px}.state-kicker{font-size:7px;letter-spacing:1.5px}.session-count{font-size:9px}.action-button{height:48px;font-size:12px}.input-tip{font-size:8px;margin:9px 0 0}footer{bottom:8px;font-size:6px;gap:16px;letter-spacing:1.1px}footer button{font-size:8px}.fighting .control-copy{margin:8px 0}.fighting .control-copy h2{font-size:22px}.fighting .control-copy p{font-size:10px}.fighting .action-button{margin-top:12px}.control-panel.fighting{padding-top:13px}.meter-label{margin-top:7px;font-size:9px}.meter{height:6px}.bite-callout{top:46%;font-size:44px}#modal-content{padding:23px 20px}.modal-heading h2{font-size:32px}.catch-name{font-size:36px}.catch-text{font-size:17px}.catch-art{height:180px}.journal-grid{gap:7px}.journal-cell{padding:5px 4px 12px}.journal-cell strong{font-size:15px}.journal-cell small{font-size:8px}.journal-stats{font-size:9px}.journal-stats b{font-size:22px}.dev-grid{grid-template-columns:repeat(3,1fr)}.dev-item img{height:55px}.dev-live{bottom:auto;top:87px;right:12px;flex-direction:row;flex-wrap:wrap;max-width:100%;justify-content:flex-end}.dev-live button{font-size:9px;padding:6px 8px}.test-banner{font-size:8px;gap:6px;padding:6px 7px}.test-banner button{font-size:8px}.dev-mode .topbar{height:101px;padding-top:45px}.dev-mode .intro{top:19%}}
@media(max-height:680px){.intro{top:14%}h1{font-size:48px;margin:9px 0}.title-rule{display:none}.intro p{font-size:10px}.location{display:none}.control-panel{bottom:31px;padding-top:12px;padding-bottom:9px}.control-copy{margin:7px 0 11px}.control-copy h2{font-size:23px}.control-copy p{font-size:10px}.input-tip{margin-top:8px}.fighting .control-copy{margin:6px 0}.fighting .control-copy p{display:none}.fighting .action-button{margin-top:10px;height:42px}.meter-label{margin-top:5px}.topbar{height:65px;padding-top:14px}.control-panel.fighting{padding-top:11px}.test-banner{padding:3px}footer{bottom:5px}.catch-art{height:135px}.catch-text{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Direct fishing: the canvas is the input surface; overlays let gestures pass. */
#sea{touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}
#sea:focus-visible{outline:2px solid #f3dfae66;outline-offset:-5px}
#sea[data-holding="true"]{cursor:grabbing}
#app{pointer-events:none}.topbar,footer button{pointer-events:auto}
.fishing-status{position:absolute;bottom:max(42px,calc(env(safe-area-inset-bottom) + 25px));left:50%;transform:translateX(-50%);width:430px;max-width:calc(100% - 36px);color:#fff2d4;text-align:center;text-shadow:0 1px 8px #173f4d;pointer-events:none}
.fishing-status .state-kicker{color:#c5d7c1;font-size:7px}.fishing-status .session-count{color:#d0dfc8;font-size:9px}.fishing-status .state-line{justify-content:center;gap:18px}.fishing-status .control-copy{margin:9px 0 6px}.fishing-status .control-copy h2{font-size:25px;margin-bottom:5px}.fishing-status .control-copy p{font-size:11px;color:#e1e8d1;line-height:1.5}.fishing-status .input-tip{color:#c7d7c0;font-size:9px;margin-top:8px}.fishing-status kbd{border-color:#c7d7c057}
.fishing-status.active{bottom:auto;top:105px;width:340px;padding:12px 17px;background:#fbf4e7e8;border:1px solid #f6ead5a6;border-radius:8px;box-shadow:0 5px 18px #234f4b15;color:var(--ink);text-shadow:none;backdrop-filter:blur(5px)}
.fishing-status.active .state-kicker{color:#889079}.fishing-status.active .session-count{color:#82907b}.fishing-status.active .control-copy{margin:8px 0 0}.fishing-status.active .control-copy h2{font-size:23px}.fishing-status.active .control-copy p{color:#6d8170;font-size:10px}.fishing-status.active .input-tip{display:none}
.fishing-status.fighting{width:350px}.fishing-status.fighting .control-copy{margin-bottom:10px}.fishing-status.fighting .control-copy h2{font-size:23px}.fishing-status.fighting .meter-label{font-size:9px;margin-top:8px}.fishing-status.fighting .meter{height:6px}.fishing-status.danger .control-copy h2,.fishing-status.bite .control-copy h2{color:#b25c40}.fishing-status.bite{border-color:#d4a166;background:#fff1d7f2}
.bite-callout{top:48%;left:50%;margin-left:6px}.unknown-art{display:grid;place-items:center;aspect-ratio:1.7;width:100%;font-family:var(--serif);font-style:italic;font-size:43px;color:#849a8c;background:radial-gradient(ellipse at 50% 60%,#91af9c25,transparent 68%);border-radius:4px}
@media(min-width:900px){.fishing-status:not(.active){left:max(36px,calc((100% - 1170px)/2));transform:none;text-align:left;width:360px}.fishing-status:not(.active) .state-line{justify-content:flex-start}.fishing-status:not(.active) .input-tip{text-align:left}}
@media(max-width:650px){.fishing-status.active{top:90px;width:315px;padding:10px 14px}.fishing-status.fighting{width:325px}.fishing-status .control-copy h2{font-size:23px}.fishing-status .control-copy p{font-size:10px}.fishing-status.active .control-copy h2{font-size:22px}.dev-mode .fishing-status.active{top:124px}.fishing-status .state-kicker{letter-spacing:1.2px}.fishing-status .state-line{gap:10px}.unknown-art{font-size:36px}}
@media(max-height:680px){.fishing-status{bottom:33px}.fishing-status.active{top:78px;padding:9px 13px}.fishing-status .control-copy{margin-top:6px}.fishing-status .control-copy h2{font-size:22px}.fishing-status.fighting .control-copy p{display:none}.fishing-status.fighting .control-copy{margin-bottom:6px}.fishing-status.fighting .meter-label{margin-top:6px}.dev-mode .fishing-status.active{top:116px}.fishing-status.active .state-kicker{display:none}}

/* Leave the quiet foreground grip below the mobile idle hint. */
@media(max-width:650px){.fishing-status:not(.active){bottom:max(86px,calc(env(safe-area-inset-bottom) + 70px))}}
@media(max-height:680px) and (max-width:650px){.fishing-status:not(.active){bottom:70px}}

/* Give species names enough room in the expanded phone journal. */
.journal-cell strong{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:420px){.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.bottle-note{margin:18px auto 20px;padding:20px 23px;max-width:440px;box-sizing:border-box;border:1px solid #d9ccaa;border-radius:4px;background:linear-gradient(115deg,#e9debd66,#fbf4e4,#e2d4af44);font-family:var(--serif);font-size:20px;line-height:1.6;color:#536e5e;text-align:left;overflow-wrap:anywhere}
.note-archive{max-width:440px;margin:0 auto 22px;text-align:left;border-top:1px solid #d8d8c1;border-bottom:1px solid #d8d8c1;padding:12px 0}
.note-archive summary{cursor:pointer;font-size:12px;color:#6b8069;line-height:1.6}
.note-list{list-style:none;padding:0;margin:10px 0 0;font-family:var(--serif);font-size:17px;line-height:1.65;overflow-wrap:anywhere}
.note-list li{padding:13px 0;border-top:1px solid #dfddc8}
@media(max-width:420px){.bottle-note{padding:16px 18px;font-size:19px}.note-list{font-size:16px}}

#sound-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 10px;border:1px solid #d4e2c65c;border-radius:22px;background:#e6ebd51a;color:#eef0d8;font-size:10px;white-space:nowrap;letter-spacing:0}
#sound-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#sound-button[data-enabled="false"] .sound-on,#sound-button[data-enabled="true"] .sound-off{display:none}
#sound-button:hover{background:#e6ebd532}
.sound-check{border-block:1px solid #d8d8c1;padding:12px 0;margin:15px 0}
.sound-check summary{cursor:pointer;color:#52735e;font-size:13px;padding:6px 0}
.sound-check .secondary-button{min-height:44px}
@media(max-width:650px){footer{gap:12px;padding:0 12px}footer>span{max-width:130px}#sound-button{font-size:9px;padding:5px 8px;gap:4px}}
