.world { max-width: 760px; margin-inline: auto; }
/* Die komplette mobile Spielwelt wird proportional auf die freie Browserhöhe
   skaliert. Dadurch bleiben alle Canvas-Koordinaten – und damit Raster,
   Lagerhaus, Felder und Klickflächen – unverändert. */
.garden-world { width: min(100%, 760px); }
.world canvas { aspect-ratio: 9 / 16; }
.world { position: relative; }
.scene-mailbox { position: absolute; z-index: 2; transform: translate(-50%, -100%); width: 46px; height: 46px; border: 2px solid #fff5c9; border-radius: 50%; background: #2f6d42; box-shadow: 0 3px 9px #16341b99; cursor: pointer; font-size: 23px; }
.scene-mailbox b { position: absolute; top: -8px; right: -8px; min-width: 19px; padding: 1px 4px; border-radius: 12px; background: #d7503e; color: #fff; font: 700 12px/17px system-ui; }
.scene-welcome-package { position:absolute; z-index:3; transform:translate(-50%,-100%); width:52px; height:52px; border:2px solid #fff4b6; border-radius:50%; background:#9a5a2b; box-shadow:0 3px 10px #18351d99; cursor:pointer; font-size:27px; animation:welcome-package-pulse 1.5s ease-in-out infinite; }
.scene-welcome-package b { position:absolute; top:-9px; right:-12px; padding:1px 5px; border-radius:10px; background:#d9503e; color:#fff; font:700 11px/16px system-ui; }
@keyframes welcome-package-pulse { 50% { transform:translate(-50%,-100%) scale(1.08); } }
.scene-compensation-package { position:absolute; z-index:3; transform:translate(-50%,-100%); width:52px; height:52px; border:2px solid #fff4b6; border-radius:50%; background:#6f4b91; box-shadow:0 3px 10px #18351d99; cursor:pointer; font-size:27px; animation:welcome-package-pulse 1.5s ease-in-out infinite; }
.scene-compensation-package b { position:absolute; top:-9px; right:-12px; padding:1px 5px; border-radius:10px; background:#d9503e; color:#fff; font:700 11px/16px system-ui; }
.garden-notification-hud { position:absolute; z-index:30; left:50%; bottom:5%; transform:translateX(-50%); width:min(440px,42%); min-height:58px; padding:12px 48px 12px 58px; box-sizing:border-box; display:flex; align-items:center; color:#fff9dc; text-shadow:0 2px 2px #17321bcc; background:center/100% 100% no-repeat url('asset.php?name=garden_notification_hud_v1'); animation:garden-notice-in .26s ease-out; }
.garden-notification-hud.error { filter:hue-rotate(-22deg) saturate(1.3); }
.garden-notification-hud p { margin:0; font-weight:800; font-size:clamp(12px,1vw,16px); line-height:1.25; }
.garden-notification-icon { position:absolute; left:29px; font-size:22px; }
.garden-notification-hud button { position:absolute; right:27px; border:0; background:transparent; color:#fff9dc; font:bold 24px/1 sans-serif; cursor:pointer; }
@keyframes garden-notice-in { from { opacity:0; transform:translate(-50%,14px) scale(.94); } }
.scene-garden-visitor { position:absolute; z-index:3; transform:translate(-50%,-100%); border:2px solid #fff4c8; border-radius:20px; padding:3px 6px; background:#2f6d42; color:#fff8d7; box-shadow:0 3px 8px #18351d99; cursor:pointer; font-size:22px; }
.scene-garden-visitor b { display:block; font:700 10px/12px system-ui; white-space:nowrap; }
.scene-rental-status { position:absolute; z-index:4; transform:translate(-50%,-125%); display:grid; grid-template-columns:auto auto; align-items:center; gap:3px; padding:3px 6px; border:2px solid #f8e6a2; border-radius:14px; background:#1f613bd9; color:#fff9d9; box-shadow:0 3px 8px #15331d99; cursor:pointer; font:800 10px/1.1 system-ui; white-space:nowrap; }
.scene-rental-status:hover { filter:brightness(1.12); }.scene-rental-status:first-letter { font-size:17px; }
.garden-lifecycle-state { display:grid; gap:4px; padding:10px 12px; border:1px solid #c7dca5; border-radius:12px; background:#eff7dce8; color:#416341; line-height:1.35; }.garden-lifecycle-state b { color:#315d3c; }.tree-lifecycle-dialog,.rental-station-dialog,.production-upgrade { width:min(650px,100%); display:grid; gap:10px; }.production-upgrade h3 { margin:0; color:#315d3c; }.production-upgrade p { margin:0; color:#586a52; }
.plant-dialog { width: min(620px, 100%); display: grid; gap: 14px; }
.plant-title { display: flex; align-items: center; gap: 11px; }
.plant-title img { width: 62px; height: 62px; object-fit: contain; border-radius: 14px; background: #e5f1c9; }
.plant-title h2 { margin-bottom: 2px; }
.plant-title p { margin: 0; color: #5d6d55; font-weight: 700; }
.plant-progress { display: grid; gap: 7px; padding: 12px; border: 1px solid #c8dea9; border-radius: 14px; background: #eff7dc; }
.plant-progress div { display: flex; justify-content: space-between; gap: 10px; color: #315d3c; }
.plant-progress span { color: #587158; font-size: .85rem; font-weight: 700; }
.plant-progress i { display: block; height: 11px; overflow: hidden; border-radius: 999px; background: #d8e6b9; }
.plant-progress em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #559443, #95c95b); }
.plant-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.plant-metrics div, .care-card, .plant-description { padding: 10px; border: 1px solid #ddcfae; border-radius: 12px; background: #fffdf7; }
.plant-metrics small, .plant-metrics b { display: block; }
.plant-metrics small { color: #6d775d; font-weight: 700; }
.plant-metrics b { margin-top: 3px; color: #315d3c; font-family: Georgia, serif; }
.care-card h3 { margin: 0 0 5px; color: #315d3c; font: 700 1rem Georgia, serif; }
.care-card p, .plant-description { margin: 0; color: #5d6d55; line-height: 1.45; }
.plant-bonuses { display: flex; flex-wrap: wrap; gap: 6px; }
.plant-bonuses span { padding: 6px 9px; border: 1px solid #b8d893; border-radius: 999px; background: #edf7d9; color: #356d3e; font-size: .78rem; font-weight: 800; }

.garden-world { overflow: hidden; border-radius: 22px; box-shadow: 0 8px 26px #27371d55; }
.garden-hud-frame { position: absolute; z-index: 5; inset: 0; background: url('asset.php?name=garden_desktop_hud_frame_v5') center / 100% 100% no-repeat; pointer-events: none; }
.garden-layout.camera-layout { grid-template-columns: minmax(0, 1fr); }
.garden-world.camera-world { width: min(100%, 1420px); max-width: 1420px; height: min(74vh, 760px); min-height: 460px; aspect-ratio: 16 / 9; background: #203b29; cursor: grab; }
/* Im Garten ist die Spielfläche die Arbeitsansicht. Sie nutzt den gesamten
   Bereich unter der Kopfleiste und erzeugt keinen Seiten-Scrollbalken. */
body:has(.camera-world) { height: 100dvh; overflow: hidden; }
.shell:has(.camera-world) { height: 100dvh; min-height: 0; }
.main:has(.camera-world) { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100dvh; overflow: hidden; }
.main:has(.camera-world) > .top { display: none; }
.content:has(.camera-world) { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 8px; width: 100%; max-width: none; height: 100%; margin: 0; padding: 8px 12px; overflow: hidden; }
.content:has(.camera-world) .garden-topbar { margin: 0; }
.content:has(.camera-world) .garden-layout.camera-layout { min-height: 0; height: 100%; }
.garden-player-chips { position: absolute; z-index: 8; top: 1.2%; left: 50%; display: grid; grid-template-columns: 52px minmax(300px,430px); align-items: center; gap: 9px; width: min(510px,34%); max-width: calc(100% - 360px); padding: 0; border: 0; background: transparent; box-shadow: none; transform: translateX(-50%); pointer-events: none; }
.garden-level-orb { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #ffe39a; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#7cbd65,#28633d 68%); box-shadow: 0 2px 7px #122719bb,inset 0 1px #d8f0ad; color: #fffdf0; font-size: 1.15rem; font-weight: 950; text-shadow: 0 1px 2px #173d29; }
.garden-player-summary { display: grid; gap: 3px; min-width: 0; color: #fff7d2; font-size: .7rem; font-weight: 850; text-shadow: 0 1px 2px #112a1aaa; }.garden-player-summary-line,.garden-player-resources { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }.garden-player-summary-line b { overflow: hidden; color: #fffdf0; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }.garden-player-summary-line span { color: #ffe59d; white-space: nowrap; }.garden-level-progress { height: 9px; overflow: hidden; border: 1px solid #91bf66; border-radius: 99px; background: #0d301f; box-shadow: inset 0 1px 3px #071a10; }.garden-level-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#70be4f,#cbeb72); box-shadow: inset 0 1px #eaffae; }.garden-player-resources { color: #eaf6d3; font-size: .66rem; }.garden-player-resources span:last-child { color: #ffe090; }
.garden-window-actions { position: absolute; z-index: 8; right: 18%; bottom: 20px; display: flex; gap: 9px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.garden-window-actions .button { min-width: 132px; min-height: 63px; padding: 10px 19px; border: 0; background: url('asset.php?name=garden_action_button_v1') center / 100% 100% no-repeat !important; box-shadow: none; color: #204a32; font-weight: 900; text-shadow: 0 1px #fff8d2; }
.garden-stock-sidebar, .garden-chat-sidebar { position: absolute; z-index: 7; overflow: hidden; border: 0; border-radius: 12px; background: transparent; box-shadow: none; color: #503316; }
.garden-stock-sidebar { top: 14%; bottom: 14%; left: 3%; width: 18%; min-width: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.garden-chat-sidebar { top: 14%; right: 3%; bottom: 14%; width: 18%; min-width: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.garden-stock-sidebar header, .garden-chat-sidebar header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 38px; padding: 8px 13px; border-bottom: 1px solid #b47a2d; border-radius: 17px 17px 0 0; background: linear-gradient(#ffe7a0,#db9b3d); box-shadow: inset 0 1px #fff5c8; }
.garden-side-title { border: 0; background: transparent; color: #583817; font: 900 .82rem Georgia, serif; text-align: left; }.garden-stock-sidebar header small { color: #725c38; font-size: .65rem; font-weight: 800; }.garden-chat-sidebar header b { font: 900 .88rem Georgia, serif; }.garden-chat-sidebar header button { width: 27px; height: 27px; border: 0; border-radius: 9px; background: #315d3c; color: #fff; font-weight: 900; }
.garden-stock-filter-label { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 5px; padding: 6px 7px; border-bottom: 1px solid #e4ca8e; background: #fffaf0d9; color: #65451e; font-size: .66rem; font-weight: 900; }.garden-stock-category-select { width: 100%; min-width: 0; padding: 5px 6px; border: 1px solid #d8ba74; border-radius: 8px; background: #fffdf5; color: #315d3c; font: 800 .68rem system-ui; cursor: pointer; }
.garden-stock-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; min-height: 0; gap: 6px; padding: 8px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }.garden-stock-item { position: relative; display: grid; place-items: center; min-width: 0; min-height: clamp(76px,5vw,96px); padding: 5px; border: 0; border-radius: 10px; background: url('asset.php?name=ui_storage_shelf_slot') center / 100% 100% no-repeat; cursor: pointer; }.garden-stock-item:hover { filter: brightness(1.09) saturate(1.12); }.garden-stock-item img { width: clamp(40px,2.7vw,62px); height: clamp(40px,2.7vw,62px); object-fit: contain; }.garden-stock-item .plant-sprite-frame { width: clamp(40px,2.7vw,62px); height: clamp(40px,2.7vw,62px); }.garden-stock-item .plant-sprite-frame>img { width: 500% !important; max-width: none !important; height: 100% !important; object-fit: fill !important; transform: translateX(-60%); }.garden-stock-item b { position: absolute; right: 3px; bottom: 3px; max-width: 100%; padding: 2px 4px; border-radius: 7px; background: #254b32; color: #fff8d7; font-size: .64rem; line-height: 1.15; }.garden-side-empty { margin: 9px; color: #6b684f; font-size: .72rem; line-height: 1.3; }
.garden-chat-room { width: calc(100% - 12px); margin: 6px; padding: 5px; border: 1px solid #d9be7b; border-radius: 8px; background: #fffdf5; color: #503316; font-size: .72rem; font-weight: 800; }.garden-chat-messages { display: grid; align-content: start; gap: 5px; min-height: 0; padding: 0 7px 7px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }.garden-chat-messages article { display: grid; gap: 1px; padding: 5px 6px; border-radius: 8px; background: #fffdf5; font-size: .69rem; line-height: 1.25; }.garden-chat-messages article b { color: #315d3c; font-size: .66rem; }.garden-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 5px; margin: 0 9px 9px; padding: 6px; border: 1px solid #e4ca8e; border-radius: 10px; background: #f8e3adf2; }.garden-chat-form input { min-width: 0; padding: 6px; border: 1px solid #d9be7b; border-radius: 8px; background: #fffdf5; font-size: .72rem; }.garden-chat-form .button { padding: 0; border-radius: 8px; }
.camera-world #garden-canvas { position: absolute; display: block; max-width: none; aspect-ratio: 9 / 16; touch-action: none; will-change: left, top, width, height; }
.camera-world #garden-canvas.camera-dragging { cursor: grabbing; }
.garden-camera-controls { position: absolute; z-index: 8; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 5px; padding: 5px; border: 2px solid #d8b260; border-radius: 15px; background: #fff7dfeb; box-shadow: 0 4px 13px #162d1d88; color: #573817; }
.garden-camera-controls button { min-width: 32px; height: 32px; border: 0; border-radius: 10px; background: #315d3c; color: #fff; font: 900 22px/1 system-ui; }
.garden-camera-controls span { min-width: 39px; color: #573817; font-size: .74rem; font-weight: 900; text-align: center; }
.garden-camera-controls .garden-camera-full { width: auto; padding: 0 9px; background: #eadbb9; color: #573817; font: 800 .72rem/1 system-ui; }
.garden-world.panorama-world { width: min(100%, 1180px); max-width: 1180px; aspect-ratio: 16 / 9; }
.panorama-world #garden-canvas { position: absolute; z-index: 2; top: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); aspect-ratio: 9 / 16; box-shadow: 0 0 0 2px #f5d982a8, 0 0 32px #102416a8; }
.garden-panorama { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 34.1796875%; background: #4d783e left center / 292.682927% 100% no-repeat; pointer-events: none; }
.garden-panorama-right { right: 0; left: auto; background-position: right center; }
.garden-playfield-backdrop { position: absolute; z-index: 1; top: 0; left: 50%; width: 31.640625%; height: 100%; transform: translateX(-50%); background: center / 100% 100% no-repeat; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.garden-panorama::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #1e38214d, transparent 72%); pointer-events: none; }
.garden-panorama-right::after { background: linear-gradient(270deg, #1e38214d, transparent 72%); }
/* Die mittlere Fläche ist die unveränderte 9:16-Gartenwelt der App.  Die
   Panorama-Bilder werden nur an den beiden Seiten ausgeschnitten; sie dürfen
   niemals die Spielwelt selbst enthalten oder deren Koordinaten skalieren. */
.panorama-world #garden-canvas { position: absolute; z-index: 2; top: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); aspect-ratio: 9 / 16; box-shadow: 0 0 0 2px #f5d982a8, 0 0 32px #102416a8; }
.panorama-world .garden-panorama { inset: auto; top: 0; bottom: 0; left: 0; width: 34.1796875%; background-position: left center; background-size: 292.682927% 100%; }
.panorama-world .garden-panorama-right { display: block; right: 0; left: auto; background-position: right center; }
.panorama-world .garden-playfield-backdrop { display: none; }
.panorama-rain::after { background: linear-gradient(#395b7040, #203d5159), linear-gradient(90deg, #1e38251f, transparent 25% 75%, #1e38251f); }
.panorama-extreme_storm::after { background: linear-gradient(#172b3d7d, #1d304374), linear-gradient(90deg, #1e38251f, transparent 25% 75%, #1e38251f); }
.panorama-snow::after, .panorama-winter::after { background: linear-gradient(#e6f4ff5c, #d7ebef42), linear-gradient(90deg, #1e38251f, transparent 25% 75%, #1e38251f); }
.panorama-heat::after { background: linear-gradient(#ffbc4b2d, #f39b2933), linear-gradient(90deg, #1e38251f, transparent 25% 75%, #1e38251f); }
.garden-topbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.garden-toolbox { position: absolute; z-index: 11; left: 18%; bottom: 20px; max-width: min(560px, calc(100% - 24px)); }
.camera-world .toolbox-toggle { width: 244px; min-height: 71px; padding: 10px 20px; border: 0; border-radius: 0; background: url('asset.php?name=garden_tool_button_v1') center / 100% 100% no-repeat; box-shadow: none; color: #fff7d7; text-shadow: 0 2px 2px #17351dcc; }
.camera-world .toolbox-toggle .toolbox-icon { width: 43px; height: 43px; margin-left: 2px; background: transparent; }.camera-world .toolbox-toggle i { margin-left: auto; }
.toolbox-toggle, .toolbox-menu { border: 2px solid #d49a3d; border-radius: 20px; background: #fff6d8f7; box-shadow: 0 5px 14px #33231366; color: #684015; font-weight: 900; }
.toolbox-toggle { display: flex; align-items: center; gap: 7px; min-height: 54px; padding: 6px 10px 6px 7px; cursor: pointer; font: inherit; }
.toolbox-toggle.active { background: #ffd66ff7; }
.toolbox-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 13px; background: #fffdf0; font-size: 23px; }
.toolbox-toggle i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #8b5428; color: #fff; font-size: 20px; font-style: normal; }
.toolbox-menu { padding: 8px; }
.toolbox-menu header { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 0 2px 6px; font-size: .82rem; }
.toolbox-close, .tool-picker-close { width: 27px; height: 27px; border: 0; border-radius: 50%; background: #8b5428; color: #fff; font: 900 20px/1 sans-serif; cursor: pointer; }
.toolbox-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.toolbox-actions button { display: grid; min-width: 54px; padding: 5px; border: 1px solid #d8c8a3; border-radius: 14px; background: #fffdf2; color: #573817; cursor: pointer; font-size: 23px; }
.toolbox-actions button:hover { background: #ffd66f; border-color: #b66b1d; }
.toolbox-actions span { margin-top: 2px; font-size: .66rem; font-weight: 800; }
.tool-picker { position: absolute; inset: auto 7px 7px; z-index: 12; display: none; max-height: min(72%, 620px); overflow: auto; }
.tool-picker.visible { display: block; }
.tool-picker-sheet { position: relative; padding: 16px; border: 2px solid #d49a3d; border-radius: 20px; background: #fff8e5fa; box-shadow: 0 6px 22px #33231388; }
.tool-picker-sheet h2 { margin: 0 34px 4px 0; color: #573817; }
.tool-picker-sheet p { margin: 0 30px 12px 0; color: #5d6d55; }
.tool-picker-close { position: absolute; top: 12px; right: 12px; }
.tool-choice-list { display: grid; gap: 6px; max-height: 390px; overflow: auto; }
.tool-choice-list button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px; border: 1px solid #d8c8a3; border-radius: 13px; background: #fffdf5; color: #503316; text-align: left; cursor: pointer; }
.tool-choice-list button:hover { border-color: #78a84f; background: #eef7dc; }
.tool-choice-list img { width: 42px; height: 42px; object-fit: contain; }
.tool-choice-list span, .tool-choice-list small { display: block; }
.tool-choice-list small { color: #657255; }
.building-dialog { width: min(620px, 100%); display: grid; gap: 12px; }

.weather-atmosphere { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.weather-atmosphere::before, .weather-atmosphere::after { position: absolute; inset: -22%; content: ''; pointer-events: none; }
.weather-rain::before, .weather-heavy_rain::before, .weather-storm::before, .weather-extreme_storm::before { background: repeating-linear-gradient(112deg, transparent 0 18px, #d9edff99 19px 21px, transparent 22px 46px); animation: weather-rain 680ms linear infinite; opacity: .48; }
.weather-heavy_rain::before, .weather-storm::before, .weather-extreme_storm::before { opacity: .68; animation-duration: 420ms; }
.weather-storm::after, .weather-extreme_storm::after { background: #102d4690; mix-blend-mode: multiply; }
.weather-extreme_storm .weather-wind { position: absolute; inset: 16% -12%; display: block; background: repeating-linear-gradient(167deg, transparent 0 44px, #e9f5ff77 45px 48px, transparent 50px 82px); animation: weather-wind 850ms linear infinite; transform: skewY(-8deg); }
.weather-snow::before, .weather-winter::before { background-image: radial-gradient(circle, #fff 0 3px, transparent 4px), radial-gradient(circle, #e8f5ff 0 2px, transparent 3px); background-size: 82px 89px, 53px 57px; background-position: 0 0, 24px 21px; animation: weather-snow 5s linear infinite; opacity: .75; }
.weather-heat::after { background: linear-gradient(#ffbc4b33, #ff7d1c22); mix-blend-mode: color; }
.weather-pleasant::after { background: radial-gradient(circle at 72% 18%, #fff6a841, transparent 30%); }
.weather-cool::after, .weather-cold::after { background: linear-gradient(150deg, #cce4ef2c, #e8f5ff42); mix-blend-mode: screen; }
.weather-atmosphere.is-night::after { background-color: #08193624; mix-blend-mode: multiply; }
@keyframes weather-rain { from { transform: translate(-5%, -9%); } to { transform: translate(7%, 12%); } }
@keyframes weather-snow { from { transform: translateY(-4%); } to { transform: translateY(10%); } }
@keyframes weather-wind { from { transform: translateX(-8%) skewY(-8deg); } to { transform: translateX(8%) skewY(-8deg); } }
.garden-weather-hud { position: absolute; z-index: 9; top: 12%; left: 22.5%; padding: 3px; border: 2px solid #d9b461; border-radius: 16px; background: #fff5dce6; box-shadow: 0 4px 14px #172b1c77; }
.weather-hud-button { display: grid; grid-template-columns: 29px auto; align-items: center; gap: 0 6px; min-width: 132px; padding: 6px 10px 6px 7px; border: 2px solid #e5d398; border-radius: 15px; background: #fff9e8e8; box-shadow: 0 3px 10px #1d311766; color: #31513b; text-align: left; cursor: pointer; }
.weather-hud-button > span { grid-row: span 2; font-size: 25px; }.weather-hud-button b { font-size: .78rem; }.weather-hud-button small { color: #5e6f60; font-weight: 700; font-size: .68rem; }
.weather-dialog { width: min(680px, 100%); display: grid; gap: 12px; }.weather-dialog h3 { margin: 0; color: #315d3c; font: 700 1.05rem Georgia, serif; }
.weather-now { display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid #c8dea9; border-radius: 14px; background: #eff7dc; }.weather-now > span { font-size: 32px; }.weather-now b, .weather-now small { display: block; }.weather-now small { margin-top: 2px; color: #5d6d55; font-weight: 700; }
.weather-guidance { margin: 0; color: #4d614d; line-height: 1.45; }.weather-advice, .weather-warning { display: grid; gap: 3px; padding: 10px; border-radius: 12px; }.weather-advice { border: 1px solid #e5c66c; background: #fff6cc; color: #654c13; }.weather-warning { border: 1px solid #d68a70; background: #fff0e9; color: #863928; }.weather-advice span, .weather-warning span { font-size: .88rem; }
.weather-recommendations { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 7px; }.weather-recommendations > div { display: flex; align-items: center; gap: 7px; padding: 7px; border: 1px solid #c8dea9; border-radius: 11px; background: #fafff1; }.weather-recommendations img { width: 38px; height: 38px; object-fit: contain; }.weather-recommendations b, .weather-recommendations small { display: block; }.weather-recommendations small { color: #62745c; font-size: .74rem; }
.weather-forecast { display: grid; gap: 7px; max-height: 280px; overflow: auto; }.weather-card { padding: 9px; border: 1px solid #d7dfc9; border-radius: 11px; background: #fffdf7; }.weather-card.current { border-color: #80ad5d; background: #eff7dc; }.weather-card b, .weather-card small { display: block; }.weather-card small { margin-top: 2px; color: #62745c; font-weight: 700; }.weather-card p { margin: 5px 0 0; color: #586a52; font-size: .86rem; }

@media (max-width: 620px) {
  .garden-side { display: none; }
  .garden-world.camera-world { width: 100%; height: min(62vh, 540px); min-height: 330px; border-radius: 15px; }
  .content:has(.camera-world) { padding: 8px; }
  .garden-player-chips { top: 6px; grid-template-columns: 40px minmax(0,1fr); gap: 5px; width: min(360px,calc(100% - 156px)); max-width: calc(100% - 156px); overflow: hidden; }
  .garden-level-orb { width: 37px; height: 37px; font-size: .88rem; }.garden-player-summary-line b { font-size: .7rem; }.garden-player-summary-line span,.garden-player-resources { font-size: .56rem; }.garden-level-progress { height: 6px; }
  .garden-window-actions { right: 8px; bottom: 8px; gap: 5px; }
  .garden-window-actions .button { padding: 8px 10px; font-size: .76rem; }
  .garden-camera-controls { top: 8px; right: 8px; }
  .garden-camera-controls .garden-camera-full { display: none; }
  .toolbox-actions { flex-wrap: nowrap; overflow-x: auto; }
  .toolbox-actions button { min-width: 49px; }
  .toolbox-actions span { font-size: .6rem; }
}

@media (min-width: 1200px) {
  .game-layout { grid-template-columns: minmax(0, 760px) 330px; justify-content: center; }
  .garden-layout { grid-template-columns: minmax(0, 1fr) 330px; }
}

@media (max-width: 1100px) {
  .garden-stock-sidebar, .garden-chat-sidebar { display: none; }
}

/* Wetter bleibt eine dezente Ebene über der Spielwelt: Die Hintergrundgrafik
   trägt bereits die Stimmung, die Partikel dürfen weder Felder noch Figuren
   zudecken. Die Mengen und Deckkraft folgen der zurückhaltenden App-Ansicht. */
.weather-atmosphere { mix-blend-mode: normal; }
.weather-rain::before, .weather-heavy_rain::before, .weather-storm::before, .weather-extreme_storm::before,
.weather-snow::before, .weather-winter::before { display: none; }
.weather-atmosphere::after { opacity: .42; }
.weather-storm::after, .weather-extreme_storm::after { background: #102d4630; }
.weather-particle { position: absolute; left: var(--x); top: -10%; display: block; pointer-events: none; animation-delay: var(--delay); animation-duration: var(--duration); animation-timing-function: linear; animation-iteration-count: infinite; }
.raindrop { width: 1px; height: var(--size); border-radius: 999px; background: linear-gradient(to bottom, #e8f5ff08, #c9e8ff78); opacity: .55; transform: rotate(18deg); animation-name: weather-gentle-rain; }
.weather-heavy_rain .raindrop, .weather-storm .raindrop, .weather-extreme_storm .raindrop { opacity: .62; }
.weather-snow .snowflake, .weather-winter .snowflake { width: var(--size); height: var(--size); border-radius: 50%; background: #ffffff; box-shadow: 0 0 4px #e8f6ff66; opacity: .48; animation-name: weather-random-snow; }
.weather-winter .snowflake { opacity: .34; }
.weather-wind { opacity: .3; }
@keyframes weather-gentle-rain { from { transform: translate(-12px, -8vh) rotate(18deg); } to { transform: translate(26px, 116vh) rotate(18deg); } }
@keyframes weather-random-snow { from { transform: translate(0, -9vh) rotate(0deg); } 50% { transform: translate(var(--drift), 54vh) rotate(145deg); } to { transform: translate(calc(var(--drift) * -.35), 116vh) rotate(300deg); } }
