
:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#fff;background:#071c35}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#2571aa,#082647 65%,#06152b);min-height:100vh}body>[data-berfin-nida-credit]{position:static!important;display:block!important;padding:11px 16px 16px!important;text-align:center!important;color:#9ac8dd!important}button{cursor:pointer;font:inherit;touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed}.wrap{max-width:1180px;margin:auto;padding:14px}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.brand small{display:block;font-size:11px;letter-spacing:3px;color:#8ff6e0;font-weight:900}.brand h1{margin:0;font-size:clamp(26px,4vw,42px);letter-spacing:-1.5px;color:#fff;text-shadow:0 4px #0b4476}.brand p{margin:2px 0 0;color:#b9dfef;font-size:12px}.balances{display:flex;gap:7px;flex-wrap:wrap}.pill{border:1px solid #76cfe5aa;background:#094870aa;padding:10px 14px;border-radius:18px;font-weight:900}.shell{border:8px solid #215c97;border-top-color:#8fe7f0;border-bottom-color:#173b77;box-shadow:0 10px 0 #061c36,0 18px 35px #001124aa,inset 0 0 45px #002e56;border-radius:20px;overflow:hidden;position:relative;background:#076d9d}.shell canvas{display:block;width:100%;aspect-ratio:1000/570;touch-action:none;cursor:crosshair}.scenehud{position:absolute;top:12px;left:12px;display:flex;gap:7px;pointer-events:none;flex-wrap:wrap}.scenehud span{background:#063c70b5;backdrop-filter:blur(5px);border:1px solid #92e0f0aa;border-radius:20px;padding:7px 11px;font-weight:800;font-size:12px}.toast{position:absolute;top:20%;left:50%;transform:translateX(-50%);background:#073a68ed;border:2px solid #ffdb80;padding:12px 20px;border-radius:15px;max-width:85%;text-align:center;font-size:14px;font-weight:800;display:none;pointer-events:none}.fishcard{position:absolute;right:14px;bottom:14px;background:#073c6aec;border:1px solid #87e7e7;border-radius:15px;padding:14px;width:min(255px,70%);display:none}.fishcard b{font-size:16px}.fishcard p{font-size:12px;line-height:1.7}.panel{background:linear-gradient(#1c5690,#123b72);border:1px solid #3989b4;border-radius:18px;padding:14px;margin-top:17px;box-shadow:0 8px 22px #00172b55}.buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.btn{background:linear-gradient(#3c99c7,#1b5899);color:#fff;border:2px solid #79c4e4;border-bottom:5px solid #0a386c;border-radius:13px;padding:11px 5px;font-weight:900;font-size:12px}.btn.sel{background:linear-gradient(#ffdf86,#eca74e);border-color:#fff0bc;border-bottom-color:#a96528;color:#60400f}.mission{margin:11px 0 3px;padding:10px 12px;border:1px solid #7de9e2;background:linear-gradient(110deg,#0a3d71,#155a8b);border-radius:13px;display:flex;align-items:center;gap:10px;box-shadow:inset 0 1px #ffffff33}.mission-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#ffcf68;color:#66400b;font-weight:1000;font-size:17px}.mission-copy{min-width:0;flex:1}.mission-copy b{display:block;font-size:12px}.mission-copy small{color:#c5edf8;font-size:10px}.mission-track{height:6px;background:#082b55;border-radius:8px;overflow:hidden;margin-top:5px}.mission-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#8af2d3,#ffdf7b);transition:width .3s}.mission button{white-space:nowrap}.frenzy{margin:8px 0;padding:9px 12px;display:flex;align-items:center;gap:10px;border:1px solid #e6b96c;border-radius:13px;background:linear-gradient(105deg,#10386b,#1c4d7e);box-shadow:inset 0 1px #ffffff2e}.frenzy-mark{width:29px;height:29px;border-radius:50%;border:3px solid #ffdd7b;box-shadow:0 0 0 4px #ffdd7b22;flex:0 0 auto}.frenzy-copy{min-width:0;flex:1}.frenzy-copy b{display:block;font-size:12px}.frenzy-copy small{font-size:10px;color:#c7eaf4}.frenzy button{white-space:nowrap}.bars{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:15px}.barlbl{font-size:11px;display:flex;justify-content:space-between;font-weight:800;color:#c7effb}.track{height:10px;border-radius:20px;background:#0b315e;margin-top:6px;overflow:hidden;border:1px solid #4887b8}.fill{height:100%;border-radius:20px;transition:width .3s}.sect{display:flex;justify-content:space-between;align-items:center;margin:17px 0 10px;gap:10px;flex-wrap:wrap}.sect h2{font-size:18px;margin:0}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{color:#c4e8fb;background:#0e447b;border:1px solid #6aa9d3;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:800}.tab.sel{background:#ffcc6c;color:#66440e;border-color:#ffe9ac}.shop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.item{background:linear-gradient(#f6fdff,#bcddea);color:#154268;border:3px solid #79bfd6;border-bottom:6px solid #3779ae;border-radius:15px;padding:9px 6px;text-align:center;min-width:0}.item canvas{display:block;width:100%;height:72px}.item strong{display:block;font-size:12px;min-height:31px}.item small{display:block;font-size:10px;color:#3f758b;min-height:15px}.price{display:inline-block;background:#ffca62;color:#6c4509;border-radius:12px;padding:5px 10px;font-weight:900;font-size:12px;margin-top:6px}.quest{background:#0c4778;border:1px solid #64a2cf;border-radius:12px;margin:8px 0;padding:12px;display:flex;gap:12px;align-items:center;justify-content:space-between}.quest small{display:block;color:#afd9f0;margin-top:4px}.foot{border-top:1px solid #5189b1;padding-top:12px;margin-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#b9d9f1;font-size:11px}.smallbtn{background:#0b4173;border:1px solid #74b2d1;color:white;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:700}.guide{color:#bedfeb;font-size:12px;line-height:1.6;margin:12px 3px}.modal{position:fixed;inset:0;background:#021324a9;display:none;place-items:center;z-index:10;padding:18px}.dialog{max-width:410px;background:#123c6c;border:2px solid #92dce8;border-radius:18px;padding:20px}.dialog p{line-height:1.6;font-size:13px}@media(max-width:650px){.wrap{padding:8px}.shell{border-width:5px}.buttons{grid-template-columns:repeat(3,1fr)}.bars{grid-template-columns:repeat(2,1fr)}.shop{grid-template-columns:repeat(2,minmax(0,1fr))}.scenehud span{font-size:9px;padding:5px 7px}.brand h1{font-size:28px}.panel{padding:10px}.fishcard{width:78%}}
/* Oyun odaklı arayüz katmanı */
:root{--ink:#062849;--deep:#031b35;--ocean:#0e6296;--aqua:#81edf0;--sand:#ffd47a;--card:#0b4678}
body{background:radial-gradient(ellipse at 50% -10%,#2587ba 0%,#07325c 45%,#03182f 100%)}
.wrap{max-width:1160px;padding:20px 16px 28px}
.top{margin:0 0 14px;padding:0 2px}.brand small{font-size:10px;letter-spacing:3.4px}.brand h1{font-size:clamp(28px,4vw,44px);line-height:.96}.brand p{margin-top:6px;font-size:12px}.balances{gap:8px}.pill{padding:9px 12px;border-radius:14px;background:#073f6ddd;border-color:#65bfd8;box-shadow:inset 0 1px #ffffff35}
.shell{border:6px solid #1c6299;border-top-color:#b4f6ef;border-bottom-color:#123b70;border-radius:24px;box-shadow:0 9px 0 #041b36,0 24px 46px #001124b8,inset 0 0 45px #002e56}.shell:after{content:'';pointer-events:none;position:absolute;inset:0;border-radius:17px;box-shadow:inset 0 0 0 1px #e0ffff45,inset 0 -28px 55px #00365a22}.scenehud{top:13px;left:13px;max-width:calc(100% - 26px);gap:6px}.scenehud span{background:#063660d9;border-color:#a5f5ee99;padding:7px 10px;box-shadow:0 2px 8px #00172e80;font-size:11px}.panel{margin-top:18px;padding:13px;border:1px solid #499bc2;border-radius:20px;background:linear-gradient(160deg,#155b91,#0a3b70 65%,#082f5b);box-shadow:0 12px 28px #00172b80,inset 0 1px #ffffff29}.buttons{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:6px;background:#052f5b8a;border:1px solid #4994bd;border-radius:15px}.btn{min-height:48px;border-radius:11px;background:linear-gradient(#338ac0,#15508c);border:1px solid #77cfea;border-bottom:4px solid #082f64;box-shadow:inset 0 1px #ffffff3d;font-size:11px}.btn:hover{transform:translateY(-1px);filter:brightness(1.07)}.btn.sel{background:linear-gradient(#ffe095,#e9a74c);border-color:#fff0bc;border-bottom-color:#98541f;color:#5e3707;text-shadow:0 1px #fff7cf}
.activity-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.mission,.frenzy{margin:0;min-height:72px;padding:10px 11px;border-radius:14px}.mission{background:linear-gradient(110deg,#0a3d71,#166791);border-color:#6de9e0}.frenzy{background:linear-gradient(110deg,#113567,#24517b);border-color:#e6b96c}.mission-icon{width:29px;height:29px}.mission-copy b,.frenzy-copy b{font-size:12px}.mission-copy small,.frenzy-copy small{font-size:10px}.bars{margin-top:11px;padding:8px 10px;border-radius:13px;background:#062e5899;gap:9px}.sect{margin:15px 0 9px;padding:10px 2px 0;border-top:1px solid #73bdd633}.sect h2{font-size:19px;letter-spacing:-.25px;color:#efffff;text-shadow:0 2px #062e57}.tabs{gap:5px}.tab{padding:7px 10px;border-radius:9px;font-size:11px}.shop{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.item{position:relative;min-height:158px;padding:8px 5px;border:1px solid #59a9c8;border-bottom:5px solid #062a55;border-radius:14px;background:linear-gradient(155deg,#1c6f98,#0a3968 78%);color:#f2fdff;box-shadow:0 5px 12px #001a3e68,inset 0 1px #b9f7ff38;overflow:hidden}.item:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#baffff1c,transparent 42%);pointer-events:none}.item:hover:not(:disabled){transform:translateY(-3px);border-color:#c9fff7;box-shadow:0 9px 18px #00152f88,inset 0 1px #d4ffff52}.item canvas{position:relative;height:68px;filter:drop-shadow(0 5px 5px #001429a8)}.item strong{position:relative;min-height:28px;font-size:11px;line-height:1.15;color:#f5feff;text-shadow:0 1px #06274a}.item small{position:relative;min-height:14px;font-size:9px;color:#b7e7f2}.price{position:relative;margin-top:4px;padding:4px 8px;font-size:11px;box-shadow:0 2px 0 #704213}.item:disabled{opacity:1;cursor:default}.item[data-lock="1"]{background:linear-gradient(160deg,#164967,#0a2c50);border-color:#3e7494;border-bottom-color:#061f40}.item[data-lock="1"]:before{background:linear-gradient(135deg,#ffffff0b,transparent 42%)}.item[data-lock="1"] canvas{opacity:.38;filter:grayscale(.82) brightness(.82) drop-shadow(0 4px 4px #001326)}.item[data-lock="1"] strong{color:#a8cbd9;text-shadow:none}.item[data-lock="1"] small{color:#7eafc2}.foot{margin-top:13px;padding:12px 3px 0}.guide{max-width:900px;margin:13px auto 8px;text-align:center;color:#b9dcec}.toast{box-shadow:0 12px 28px #001020a8}.fishcard{border-color:#b0f6ed;box-shadow:0 12px 30px #00152faa}
.care{margin:10px 0 0;padding:9px 11px;border:1px solid #77cce0;border-radius:13px;background:linear-gradient(100deg,#093c6b,#105c85);box-shadow:inset 0 1px #ffffff2b}.care-copy{display:flex;align-items:center;justify-content:space-between;gap:10px}.care-copy b{display:block;font-size:12px}.care-copy small{display:block;margin-top:2px;color:#c6edf4;font-size:10px}.care-steps{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.care-steps span{padding:5px 8px;border:1px solid #7db3ca;border-radius:999px;color:#d9eef5;font-size:10px;font-weight:800;background:#082f5d}.care-steps span.done{color:#69420c;border-color:#ffecae;background:#ffce68;box-shadow:0 0 0 2px #ffdc7a2e}
@media(max-width:760px){.wrap{padding:10px 8px 20px}.top{align-items:flex-start;margin-bottom:10px}.balances{width:100%;gap:5px}.pill{flex:1;text-align:center;padding:7px 5px;font-size:11px}.shell{border-width:4px;border-radius:17px}.scenehud{top:8px;left:8px;gap:4px}.scenehud span{font-size:8px;padding:5px 6px}.buttons{grid-template-columns:repeat(3,1fr);gap:5px;padding:5px}.btn{min-height:43px;font-size:10px}.activity-row{grid-template-columns:1fr;gap:7px}.mission,.frenzy{min-height:63px}.care-copy{align-items:flex-start;flex-direction:column}.care-steps{justify-content:flex-start}.bars{grid-template-columns:repeat(2,1fr);gap:8px}.shop{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.item{min-height:145px}.item canvas{height:68px}.sect{align-items:flex-start}.tabs{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;overflow:visible;padding-bottom:0}.tab{min-width:0;white-space:normal;line-height:1.1;padding:7px 3px;font-size:9px}.guide{font-size:11px;padding:0 5px}}
@media(prefers-reduced-motion:reduce){.btn:hover,.item:hover:not(:disabled){transform:none}}
/* Resif Günlüğü: objectives, accessible fish care and a compact shop. */
[hidden]{display:none!important}button:focus-visible,canvas:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ffe08c;outline-offset:3px}button:disabled{cursor:not-allowed}.journey{margin:0 0 16px;padding:16px 18px;background:linear-gradient(120deg,#0d536d,#0c355d);border:1px solid #83d7ce;border-radius:18px;box-shadow:0 8px 24px #001b3044}.journey small{font-size:10px;letter-spacing:1.8px;color:#9aedd8;font-weight:800}.journey h2{font-size:22px;margin:5px 0}.journey p{font-size:12px;color:#c3e4ed;margin:5px 0 0;line-height:1.5}.journey-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.journey-title button{min-width:155px;padding:12px;font-size:12px}.journey-title button:disabled{background:#164869;color:#a4c9d7;border-color:#477e91;box-shadow:none}.chapter-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.chapter-goal{background:#072d4d88;border:1px solid #447b8e;border-radius:10px;padding:9px 11px;font-size:12px;display:flex;flex-wrap:wrap;gap:5px;justify-content:space-between}.chapter-goal b{color:#ffe6a4;font-size:11px}.chapter-goal.done{border-color:#7cddac;background:#0a4e5799}.chapter-goal progress{width:100%;height:5px;margin-top:2px;accent-color:#91e7c2}.commandbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 3px 10px}.commandbar span{flex:1;min-width:150px;color:#c9e8ef;font-size:12px}.smallbtn{min-height:44px}.btn{font-size:12px;min-height:46px}.shell canvas{min-height:280px;object-fit:fill}.scenehud{pointer-events:none}.scenehud #modeHint{display:none}.scenehud span{font-size:11px}.toast{z-index:3;max-width:90%;width:max-content;top:24%;font-size:12px;padding:10px 13px}.residents{border:1px solid #559eb7;border-radius:13px;padding:10px;margin-top:12px;background:#062e5880}.residents summary{font-size:13px;font-weight:800;cursor:pointer;min-height:32px}.residents summary span{font-weight:400;color:#a9d7e6}.roster{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 9px;scrollbar-width:thin}.resident{flex:0 0 136px;border:1px solid #467d9d;background:#0a3a64;border-radius:12px;padding:7px;color:#e8ffff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:117px}.resident img{object-fit:contain;filter:drop-shadow(0 3px 3px #001d35)}.resident b{font-size:11px;max-width:100%;overflow-wrap:anywhere}.resident small{font-size:10px;color:#b6dce4}.resident progress{width:100%;height:5px;accent-color:#85e6b5}.resident.active{border-color:#b8fff1;background:#176181}.resident.hungry progress{accent-color:#ffac7e}.resident.target{box-shadow:inset 0 0 0 2px #ffdf7b;border-color:#ffdf7b}.fishcard{z-index:2;width:260px;max-width:85%;padding:10px}.fishcard p{margin:7px 0;line-height:1.4}.fish-name{display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:8px}.fish-name input{width:100%;min-width:0;background:#062f52;color:#fff;border:1px solid #7bc4cf;border-radius:6px;padding:7px;font:inherit}.fishcard #feedOne{width:100%}.filter{display:flex;align-items:center;gap:8px;font-size:12px;color:#c4e6ef;margin:0 0 12px;min-height:35px}.filter input{width:18px;height:18px;accent-color:#ffcf78}.tabs{gap:6px}.tab{min-height:44px;font-size:12px;padding:9px}.item{min-height:170px}.item strong{font-size:12px}.item small{font-size:11px;line-height:1.5}.item:disabled:not([data-lock="1"]){opacity:.65}.pearl-item{padding:12px}.pearl-item img{object-fit:contain;filter:drop-shadow(0 4px 5px #001d35);max-width:100%}.pearl-item small{min-height:62px}.dialog{max-height:90dvh;overflow-y:auto;max-width:500px}.dialog small{color:#9bedd6;letter-spacing:1.2px;font-size:10px}.dialog h2{line-height:1.2;font-size:24px}.dialog ol{padding-left:22px;font-size:13px;line-height:1.6;color:#c8e9f1}.dialog li{margin-bottom:9px}.dialog-actions{display:flex;gap:8px;justify-content:flex-end}.modal{z-index:1000}.foot>div{flex-wrap:wrap}.guide{line-height:1.8}
@media(max-width:760px){.journey{padding:12px;margin-bottom:12px}.journey h2{font-size:19px}.journey-title{gap:8px;align-items:flex-start;flex-direction:column}.journey-title button{min-width:0;width:100%;min-height:40px}.chapter-goals{gap:5px}.chapter-goal{padding:8px 6px;font-size:10px;flex-direction:column}.chapter-goal b{font-size:10px}.shell canvas{height:310px;min-height:0;aspect-ratio:auto}.shell{border-radius:16px}.scenehud{top:7px;left:7px;max-width:calc(100% - 14px)}.scenehud span{font-size:9px;padding:4px 6px}.commandbar span{font-size:11px}.commandbar .smallbtn{font-size:11px;padding:7px 9px}.buttons .btn{font-size:11px;min-height:46px}.tabs{display:flex;flex-wrap:wrap;width:100%;gap:5px}.tab{flex:1 1 28%;font-size:11px;min-height:42px}.fishcard{bottom:7px;right:7px;width:215px}.fishcard b{font-size:13px}.fishcard p{font-size:10px}.activity-row{margin-bottom:8px}.mission-copy small,.frenzy-copy small,.care-copy small{font-size:11px}.care-copy{gap:7px}.care-steps span{font-size:11px}.resident{flex-basis:125px}.brand p{font-size:11px}.item{min-height:165px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Shop canvases retain their own aspect ratio instead of stretching to card width. */
.item canvas{width:120px;max-width:100%;height:auto;aspect-ratio:120/78;margin-inline:auto}
/* A single game frame: resource HUD, aquarium, then compact chapter objectives. */
.wrap{padding-top:12px}
.shell .top{margin:0;padding:12px 14px;gap:12px;flex-wrap:nowrap;background:linear-gradient(#135e82,#07324f);border-bottom:1px solid #8adac65c;box-shadow:inset 0 1px #d4fff438}
.shell .brand{flex:0 0 auto}
.shell .brand h1{font-size:21px;letter-spacing:-.6px;line-height:1.1;color:#e3fff4;text-shadow:0 2px #002a40}
.shell .balances{width:auto;margin-left:auto;gap:7px;flex-wrap:nowrap;flex:1;min-width:0;justify-content:flex-end}
.shell .pill{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;border-radius:9px;padding:7px 10px;font-size:12px;white-space:nowrap;background:#032c45;border-color:#6fbdc199;box-shadow:inset 0 2px 4px #001b36}
.shell canvas{height:clamp(300px,55svh,600px);min-height:0;aspect-ratio:auto}
.shell .scenehud{top:auto;bottom:10px;left:12px;gap:6px}
.shell .scenehud span{background:#052e48d9;padding:5px 8px;font-size:10px}
.journey{margin:12px 0 0;padding:10px 12px;border-color:#4b9eac;background:#073a55;border-radius:12px;box-shadow:none}
.journey-title{flex-direction:row;align-items:center;gap:10px}
.journey small{font-size:9px;letter-spacing:.9px}
.journey h2{font-size:15px;line-height:1.2;margin:3px 0 0}
.journey p{display:none}
.journey-title button{width:auto;min-width:130px;min-height:40px;padding:7px 10px;font-size:11px;flex:0 0 auto}
.chapter-goals{margin-top:8px;gap:6px}
.chapter-goal{flex-direction:row;padding:6px 8px;border-radius:7px;font-size:11px;background:#042c43;border-color:#347387}
.chapter-goal b{font-size:10px}
.chapter-goal progress{height:4px;margin-top:0}
.panel{margin-top:9px}
@media(max-width:760px){
 .wrap{padding:6px 6px 20px}
 .shell .top{padding:10px 8px;gap:7px}
 .shell .brand h1{font-size:15px;letter-spacing:-.4px}
 .shell .balances{gap:4px}
 .shell .pill{padding:6px 5px;font-size:10px;border-radius:7px}
 .shell canvas{height:clamp(290px,50svh,440px)}
 .shell .scenehud{bottom:8px;left:8px;gap:4px}
 .shell .scenehud span{font-size:9px;padding:4px 6px}
 .journey{margin-top:10px;padding:9px}
 .journey h2{font-size:13px}
 .journey small{font-size:8px;letter-spacing:.6px}
 .journey-title button{font-size:10px;min-width:113px;padding:6px;min-height:40px}
 .chapter-goal{flex-direction:column;padding:6px;font-size:10px;gap:3px}
}
@media(max-width:350px){.shell .top{flex-wrap:wrap}.shell .brand h1{font-size:17px}.shell .balances{width:100%;margin-left:0}.shell .pill{flex:1;text-align:center}}
