:root{color-scheme:dark;font-family:system-ui,sans-serif;color:#eef3e2;background:#0b1b20}*{box-sizing:border-box}body{margin:0}nav{display:flex;gap:24px;flex-wrap:wrap;padding:20px 5%;border-bottom:1px solid #35504b}a{color:#c8ec8c}main{max-width:1400px;margin:auto;padding:30px 5%}h1{font:clamp(32px,5vw,58px) Georgia,serif;margin:8px 0}header p{color:#b4c8ba}.eyebrow{letter-spacing:.18em;font-size:12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px;margin-top:28px}.world{position:relative;aspect-ratio:5/3;overflow:hidden;border:1px solid #668574;border-radius:22px;outline-offset:4px}.world>svg{width:100%;height:100%}#character{position:absolute;width:13%;height:22%;transform:translate(-50%,-88%);pointer-events:none}#character svg{width:100%;height:100%;overflow:visible}#character [data-part=water]{display:none}#float{position:absolute}.world-label{position:absolute;bottom:16px;left:20px;font-size:10px;letter-spacing:.18em;color:#e8efd5}#curtain{position:absolute;inset:0;background:#071a22d9;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;gap:20px}#curtain[hidden]{display:none}.controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}button{border:1px solid #6f8e7c;border-radius:10px;background:#c8ec8c;color:#122c29;padding:12px 18px;font:700 15px system-ui;cursor:pointer;touch-action:none}button:disabled{opacity:.5}.pad{text-align:center}.pad button{padding:9px 15px;background:#233d37;color:#ecf6df}.pad>button{margin-bottom:5px}aside{padding:24px;background:#142f34;border:1px solid #355b59;border-radius:20px;line-height:1.6}aside h2{font-family:Georgia,serif}.tag{font-size:10px;letter-spacing:.1em;color:#c8ec8c}progress{width:100%;accent-color:#c8ec8c}#album p{padding:8px 0;border-bottom:1px solid #35534d;font-size:13px}#result{min-height:50px;color:#e8cf98}button:focus-visible,a:focus-visible{outline:3px solid #f7ca83;outline-offset:4px}@media(max-width:900px){.layout{grid-template-columns:1fr}main{padding:24px 4%}.controls{align-items:flex-start}button{padding:10px}nav{gap:14px;font-size:14px}aside{padding:20px}}

/* Map figure uses a consistent world scale; close-up rig is independent. */
#character{width:5.2%;height:13%}#character [data-part=line],#character [data-part=float]{display:none}.controls>div:last-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.controls #near{width:100%;text-align:right}

#fishing-closeup{position:absolute;inset:0;background:#18383e;z-index:2}#fishing-closeup[hidden]{display:none}#fishing-view{width:100%;height:100%;display:block}.fishing-hud{position:absolute;top:18px;left:18px;right:18px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.fishing-hud strong{background:#0b202ce8;padding:12px 16px;border-radius:10px;font:600 16px system-ui}.fishing-hud progress{width:150px}.fishing-hud button{margin-left:auto}#curtain{z-index:4}@media(max-width:600px){.world:has(#fishing-closeup:not([hidden])){aspect-ratio:4/3}.fishing-hud{top:8px;left:8px;right:8px;gap:6px}.fishing-hud strong{font-size:12px;padding:8px}.fishing-hud button{font-size:12px;padding:8px}}
.pad{flex:0 0 150px}.pad>div{display:flex;justify-content:center;gap:4px}.pad button{min-width:42px;padding:9px 12px}@media(max-width:600px){.pad{flex-basis:140px}.controls>div:last-child{min-width:0}.controls #near{font-size:13px}}

#timing-game{position:absolute;bottom:12px;left:5%;width:90%;padding:12px 16px;background:#071b26ed;border:1px solid #8aac98;border-radius:12px;display:grid;gap:6px;text-align:center;font-size:14px}
#timing-game[hidden]{display:none}.timing-track{position:relative;height:28px;margin:4px 0;background:linear-gradient(to right,#bb4054 0% 25%,#e6ba48 25% 35%,#59b970 35% 46%,#4ba9ef 46% 54%,#59b970 54% 65%,#e6ba48 65% 75%,#bb4054 75%);border-radius:5px}
.timing-zones{display:block;color:#10252a;font-weight:900;word-spacing:10px;line-height:28px}.timing-track i{position:absolute;top:-5px;bottom:-5px;width:5px;background:white;border:1px solid #10252a;transform:translateX(-50%);box-shadow:0 0 4px #000}
#timing-game small{font-size:11px;color:#cfddce}@media(max-width:600px){#timing-game{bottom:5px;padding:6px;font-size:12px;gap:2px}.timing-track{height:22px}.timing-zones{line-height:22px}}

.timing-zones{display:grid;grid-template-columns:25fr 10fr 11fr 8fr 11fr 10fr 25fr;word-spacing:normal}

/* Illustrated woodland scene and restrained game chrome. */
body{background:radial-gradient(ellipse at 25% 0,#243d35 0, #0d2024 48%,#09171d 100%)}
.world{border:3px solid #617566;box-shadow:0 18px 55px #0006,inset 0 0 20px #0004;border-radius:20px}
.world-label{background:#102921c9;border:1px solid #8a9d7060;padding:8px 12px;border-radius:6px;bottom:12px;left:12px;font-size:9px}
.lake-names{text-shadow:0 2px 5px #123943;pointer-events:none}
.fishing-spot{filter:drop-shadow(0 0 6px #e6f6a1);animation:spot-glow 2.8s ease-in-out infinite}
.lake-shimmer{animation:water-light 4s ease-in-out infinite alternate}
.lake-shimmer:nth-child(3n){animation-delay:-2s}
@keyframes spot-glow{50%{opacity:.6}}@keyframes water-light{to{opacity:.04}}
@media(prefers-reduced-motion:reduce){.fishing-spot,.lake-shimmer{animation:none}}
aside{background:linear-gradient(145deg,#203e38,#102a2e);box-shadow:0 15px 40px #0003}

.tension-label{display:flex;align-items:center;gap:8px;font-size:12px}.tension-label meter{flex:1;min-width:40px;height:15px}.tension-label strong{white-space:nowrap}

#cast-aim{padding:16px;background:#16352f;border:1px solid #597665;border-radius:12px;margin-top:14px;display:grid;gap:10px}#cast-aim[hidden]{display:none}#cast-aim label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#cast-aim input{flex:1;min-width:100px;accent-color:#c8ec8c}#cast-aim small{color:#c1d0bb}

#catch-card{position:absolute;bottom:20px;left:15%;width:70%;padding:16px;background:#102624e8;border:1px solid #c5b778;border-radius:12px;text-align:center;pointer-events:none}#catch-card[hidden]{display:none}#catch-card span{font-size:10px;letter-spacing:3px;color:#d4c583}#catch-card h2{margin:6px;font:24px Georgia;color:#eff4d3}#catch-card p{margin:5px}#catch-card small{font-size:11px}@media(max-width:600px){#catch-card{bottom:8px;padding:8px;left:5%;width:90%}#catch-card h2{font-size:18px}}

@media(pointer:coarse){#fishing-closeup{touch-action:none}#cast{min-height:54px;font-size:17px;flex:1}.pad button{min-height:48px;min-width:44px}#cast-aim input{min-height:44px}.controls{gap:10px;flex-wrap:wrap}.controls>div:last-child{flex:1;min-width:180px}#cast-aim:before{content:'Mit dem Finger auf dem Wasser zielen. Erst „Hier auswerfen“ startet den Wurf.';font-size:14px;color:#e7efdd}}

@media(pointer:coarse){.fishing-active .pad{display:none}.fishing-active .controls>div:last-child{width:100%}.fishing-active #near{text-align:left}.world{scroll-margin-top:8px}.fishing-active #cast-aim{padding:10px;margin-top:8px}.fishing-active .controls{margin:8px 0}}

/* Screen-sized marker stays legible even on distant casts. */
#bite-marker{position:absolute;z-index:1;width:28px;height:28px;border:2px solid #f8f7d9b0;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 0 2px #102b3255}#bite-marker[hidden]{display:none}#bite-marker.bite{width:42px;height:48px;border-radius:14px;background:#ffdc57;color:#182825;border:2px solid #fff3ac;font:900 36px/44px system-ui;text-align:center;transform:translate(-50%,calc(-100% - 16px));box-shadow:0 3px 12px #0009}#bite-marker.bite:after{content:'';position:absolute;bottom:-10px;left:13px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:10px solid #ffdc57}

#lake-record{margin-top:10px;padding:10px 14px;border:1px solid #a4a46a70;border-radius:10px;background:#182f2c;color:#f2e3ac;font-size:14px;line-height:1.5;overflow-wrap:anywhere}

#lake-people{margin-top:10px;padding:12px 14px;background:#173630;border:1px solid #4e7766;border-radius:10px;font-size:14px;overflow-wrap:anywhere}#lake-people p{margin:7px 0}#lake-people label{display:flex;align-items:center;gap:8px;min-height:44px}#lake-people input{width:20px;height:20px;accent-color:#c8ec8c}

#enter-shop{margin-top:10px;width:100%;background:#eed78f}#enter-shop[hidden]{display:none}#lake-shop{max-width:520px;width:calc(100% - 28px);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #9fa878;border-radius:18px;background:#17342f;color:#eff4dc}#lake-shop::backdrop{background:#041310bb}#lake-shop a{display:block;padding:16px;margin:12px 0;background:#294d40;border-radius:10px}#lake-shop p{line-height:1.6}#shop-close{float:right}

#lake-bag{margin-top:10px;width:100%;background:#263f36;color:#edf4d7}.lake-bag-row{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #52725d}.lake-bag-row span{flex-basis:100%}.lake-bag-row button{font-size:13px;min-height:44px}#lake-inventory{border-top:1px solid #52725d;margin-top:20px}

#lake-screen{margin-bottom:10px;min-height:44px;background:#24463d;color:#f0f5df}body.lake-expanded{overflow:hidden}.lake-expanded .lake-play-area{position:fixed;inset:0;z-index:100;background:#0c2326;padding:10px;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;overflow:auto}.lake-expanded #lake-screen{align-self:flex-end;margin:0;flex:none}.lake-expanded .world{width:100%;max-width:calc((100dvh - 190px)*1.6667);align-self:center;flex:none}.lake-expanded.fishing-active .world{flex:1;min-height:180px;max-width:none;aspect-ratio:auto}.lake-expanded .controls{margin:0;margin-top:auto;flex:none}.lake-expanded #cast-aim{margin:0;padding:8px;flex:none}.lake-expanded #cast-aim small,.lake-expanded #cast-aim:before{display:none}.lake-expanded #lake-record,.lake-expanded #lake-people,.lake-expanded #lake-bag,.lake-expanded #enter-shop,.lake-expanded #result,.lake-expanded .lake-play-area>p{display:none}.lake-expanded .controls #near{margin:0;font-size:12px}.lake-expanded #cast{min-height:50px}.lake-expanded #timing-game{bottom:8px}@media(max-width:600px){.controls{position:relative;gap:8px}.controls button{min-height:46px}#cast-aim{padding:10px}}

.lake-wardrobe{width:min(540px,94vw);max-height:90dvh;overflow:auto;box-sizing:border-box;background:#132d30;color:#eff6e9;border:1px solid #779b88;border-radius:16px;padding:20px}.lake-wardrobe::backdrop{background:#05151bc9}.wardrobe-controls:not([hidden]){display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.4fr);gap:12px;align-items:center}.wardrobe-controls label{display:grid;gap:4px;margin:10px 0}.wardrobe-controls select{max-width:100%;width:100%;min-height:42px}.wardrobe-model svg{width:100%;height:auto}.lake-wardrobe footer{display:flex;gap:8px;flex-wrap:wrap}.wardrobe-status{min-height:2em}@media(max-width:420px){.wardrobe-controls:not([hidden]){grid-template-columns:1fr}.wardrobe-model svg{height:125px}}

.lake-wardrobe{width:min(680px,95vw);background:linear-gradient(120deg,#33281e,#1e231e);border:3px double #c2985f;box-shadow:inset 0 0 0 5px #382a20,0 14px 50px #0009;border-radius:6px;color:#f5ead0}
.lake-wardrobe h2,.lake-wardrobe h3{font-family:Georgia,serif;color:#ffdfa8}.wardrobe-model{background:radial-gradient(ellipse,#495445,#182822);border:3px double #93784b;border-radius:3px}
.wardrobe-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:6px;max-height:32dvh;overflow:auto;padding:4px}
.wardrobe-choice button{display:grid;align-content:center;gap:3px;min-height:68px;background:#2b302a;border:1px solid #827459;color:#efe4cc;padding:6px;overflow-wrap:anywhere}
.wardrobe-choice button[aria-pressed=true]{background:#44503c;border:2px solid #e3bc79;color:#ffedc4}.wardrobe-choice span{font-size:20px}.wardrobe-choice small{font-size:11px}.lake-wardrobe footer{margin-top:12px}

.ole-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px}.ole-card{background:#26342d;border:1px solid #887655;border-radius:6px;padding:10px;display:grid;gap:6px}.ole-card label{display:grid;cursor:pointer}.ole-card img{width:72px;height:48px;object-fit:contain}.ole-card:has(:checked){border-color:#d8be82;background:#384737}.ole-card small{color:#e8dfc9}.ole-total{font-weight:bold}.ole-card button{font-size:.8em}

#catch-card[data-specimen]:not([data-specimen=""]){z-index:3;left:5%;bottom:5%;width:90%;box-sizing:border-box;padding:clamp(5px,1.2vw,14px);background:radial-gradient(ellipse at 50% 32%,#376264f2,#10282cf5 72%)}.specimen-art canvas{display:block;width:100%;height:clamp(65px,20vh,165px);margin:auto;object-fit:contain}.specimen-label{color:#ead5a7;font-size:.9em}.ole-card canvas{width:100%;height:60px;object-fit:contain}@media(max-height:450px){.specimen-art canvas{height:65px}#catch-card[data-specimen]:not([data-specimen=""]){bottom:1%;padding:3px}}
#catch-card[data-specimen]:not([data-specimen=""]):not([hidden]){display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;align-content:center;align-items:center;inset:24% 3% 3%;width:auto;gap:1px 6px}.specimen-art{grid-column:1;grid-row:1/6;height:100%;min-height:0}.specimen-art canvas{width:100%;height:100%;max-height:160px}#catch-card[data-specimen]:not([data-specimen=""])>:not(.specimen-art){grid-column:2;margin:0}.specimen-label{font-size:clamp(11px,2vw,15px)}
#catch-card[data-specimen]:not([data-specimen=""]) {align-content:stretch;grid-template-rows:1fr auto auto auto 1fr}#catch-card[data-specimen]:not([data-specimen=""])>span{align-self:end}#catch-card[data-specimen]:not([data-specimen=""])>small{align-self:start}.specimen-art canvas{max-height:none}

.world #lake-bag{position:absolute;left:10px;top:10px;z-index:920;display:grid;place-items:center;width:42px;height:42px;padding:0;margin:0;border-radius:50%;background:#193c33cf}.fishing-active .world #lake-bag{display:none}
.home-hut{position:absolute;left:37.6%;top:79.5%;transform:translate(-50%,-100%);background:#94744c;border:2px solid #4c3829;color:#fff4ce;font-size:clamp(7px,1vw,12px);text-align:center;width:8%;padding:1.5% 0 .5%;pointer-events:none}.home-hut:before{content:'';position:absolute;inset:-65% -8% 85%;background:var(--roof,#587249);clip-path:polygon(50% 0,100% 100%,0 100%)}.home-hut[data-roof=clay]{--roof:#a75c44}.home-hut[data-roof=slate]{--roof:#486579}
.home-room{width:min(570px,94vw);max-height:90dvh;box-sizing:border-box;overflow:auto;background:#312a20;color:#f5ecd5;border:3px double #bf975e}.home-wall{border:4px double #aa8052;padding:12px;background:linear-gradient(#876c48 67%,#654931 67%);text-align:center}.home-room[data-room=sail] .home-wall{background:linear-gradient(#507278 67%,#6e5b40 67%)}.home-room[data-room=garden] .home-wall{background:linear-gradient(#74895f 67%,#685b46 67%)}.home-trophy{display:grid;place-items:center;min-height:62px;background:#352c20;color:#e7d19f;padding:6px;border:2px solid #bc945c}.home-trophy img{width:90px;height:58px;object-fit:contain}.home-furniture{font-size:26px;margin-top:8px}.home-room section,.home-room footer{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.home-room label{display:grid;max-width:100%}.home-room::backdrop{background:#041716ba}

.home-furniture{display:flex;justify-content:space-around;align-items:end;height:48px}.home-furniture span{position:relative;width:60px}.furn-chair{height:34px;border-radius:10px 10px 2px 2px;background:linear-gradient(#a97049 55%,#704329 56%);border:4px solid #563d2c;box-shadow:inset 6px 0 #c49363,inset -6px 0 #865032,0 4px #362a21}.furn-chest{height:30px;background:linear-gradient(#ac834c 46%,#614832 47%,#88663e 56%);border:3px solid #493925;border-radius:8px 8px 2px 2px}.furn-chest:before{content:"";position:absolute;left:45%;top:36%;width:8px;height:10px;background:#d7ab61}.furn-plants{height:26px;background:#976245;border-radius:0 0 12px 12px}.furn-plants:before{content:"";position:absolute;inset:-22px 5px 70%;border-radius:55% 20%;background:#68895b;box-shadow:8px -3px #52744c,-6px 4px #809948}

.home-room{width:min(710px,96vw);padding:14px;background:#292a22}.cottage-floor{position:relative;aspect-ratio:600/330;overflow:hidden;border:4px solid #483c2d;border-radius:4px;background:#a1845c;outline:none;touch-action:none}.cottage-floor>svg{width:100%;height:100%;display:block}.home-room[data-room=sail] .cottage-floor>svg{filter:hue-rotate(14deg) saturate(.83)}.home-room[data-room=garden] .cottage-floor>svg{filter:hue-rotate(24deg)}
.cottage-floor .cottage-frame{position:absolute;left:36%;top:4%;width:27%;height:27%;box-sizing:border-box;min-height:0;padding:2px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;font:bold clamp(8px,1.1vw,13px) Georgia;background:#35493c;box-shadow:0 3px 2px #4c3a29}.cottage-frame img{object-fit:contain;max-height:66%;width:82%}
.room-piece,.cottage-person{position:absolute;transform:translate(-50%,-100%);pointer-events:none}.room-piece{width:12%;height:10%;box-sizing:border-box}.cottage-person{width:9%;height:27%}.cottage-person svg{width:100%;height:100%;overflow:visible}.placement-grid{position:absolute;inset:0;z-index:95}.placement-grid button{position:absolute;transform:translate(-50%,-50%);width:14%;height:14%;padding:0;background:#243527ad;color:white;border:1px dashed #e8d4a2}.placement-grid button[aria-pressed=true]{background:#7b5e2a}.home-editor{margin:10px 0}.home-editor summary{cursor:pointer;color:#f2dfb8}.home-room .room-hint{font-size:.85em}.home-room h2{margin:8px 0}.cottage-floor .lake-touch .lake-stick{width:66px;height:66px;bottom:16px;left:6px}.cottage-floor .lake-touch .lake-touch-action{min-height:42px;bottom:8px;width:auto;padding:6px 12px}.home-room:has(.home-editor[open]) .lake-touch{display:none}
