.dashboard-hero{min-height:250px;margin:-20px -20px 18px;padding:34px;display:flex;align-items:end;background:linear-gradient(90deg,#123d29dc,#123d2966),url('asset.php?name=garden_primary_world_backdrop') center 46%/cover;border-radius:0 0 24px 24px;color:#fff}.dashboard-hero>div{max-width:680px}.dashboard-hero h1{font:800 clamp(2rem,5vw,3.4rem)/1 Georgia,serif;margin:9px 0}.dashboard-hero p{line-height:1.5;max-width:570px}.eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.13em;color:#f6d879}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-bottom:14px}.task-row,.place-card{border:0;width:100%;background:transparent;text-align:left;display:flex;align-items:center;gap:10px;padding:9px;border-radius:12px}.task-row:hover,.place-card:hover{background:#edf3d8}.task-row img{width:45px;height:45px;object-fit:contain}.task-row span,.place-card span{display:grid;gap:3px;min-width:0}.task-row small,.place-card small{color:#5d6d55}.task-row strong{margin-left:auto;color:#315d3c;font-size:.76rem}.forecast{display:flex;gap:8px;overflow:auto}.forecast span{min-width:120px;display:grid;gap:5px;padding:9px;border:1px solid #ddcfae;border-radius:12px;background:#fffdf7}.forecast small{color:#5d6d55}.map-scene{position:relative;width:min(100%,1100px);margin:auto;aspect-ratio:1.5;overflow:hidden;border-radius:20px;background:#315d3c var(--map) center/cover;box-shadow:0 12px 30px #1d321b33}.map-title{position:absolute;z-index:2;top:16px;left:16px;display:grid;gap:2px;padding:9px 13px;border:2px solid #b77a28;border-radius:15px;background:#fff5ddec;color:#513315}.map-title b{font:800 1.1rem Georgia,serif}.map-title small{font-size:.72rem;font-weight:700}.map-hotspot{position:absolute;border:0;background:transparent;cursor:pointer}.map-hotspot span{position:absolute;left:50%;bottom:7px;transform:translateX(-50%);padding:5px 8px;border-radius:999px;background:#173f2ae8;color:#fff8df;box-shadow:0 2px 8px #10251788;font-size:.7rem;font-weight:800;white-space:nowrap;opacity:0;transition:opacity .15s}.map-hotspot:hover span,.map-hotspot:focus-visible span{opacity:1}.map-hotspot:focus-visible{outline:3px solid #f5c94b;outline-offset:-3px}.city-0{left:10%;top:10%;width:27%;height:18%}.city-1{left:37%;top:5%;width:27%;height:17%}.city-2{left:63%;top:11%;width:28%;height:17%}.city-3{left:8%;top:27%;width:28%;height:17%}.city-4{left:63%;top:27%;width:29%;height:17%}.city-5{left:8%;top:41%;width:28%;height:17%}.city-6{left:34%;top:41%;width:32%;height:18%}.city-7{left:66%;top:41%;width:29%;height:17%}.city-8{left:8%;top:58%;width:28%;height:17%}.city-9{left:65%;top:56%;width:27%;height:17%}.city-10{left:8%;top:70%;width:28%;height:17%}.city-11{left:66%;top:70%;width:28%;height:17%}.city-12{left:33%;top:83%;width:34%;height:15%}.lakeside-0{left:4.5%;top:7.5%;width:45.5%;height:31.5%}.lakeside-1{left:18%;top:28.5%;width:25%;height:18%}.lakeside-2{left:31%;top:36%;width:26%;height:18%}.lakeside-3{left:51%;top:47%;width:24%;height:16%}.lakeside-4{left:60%;top:5.5%;width:34%;height:25.5%}.lakeside-5{left:71.5%;top:69.5%;width:24%;height:14%}.lakeside-6{left:33%;top:66%;width:40%;height:22%}.place-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:14px 0}.place-card{background:#fff9e9;border:1px solid #ddcfae;padding:9px}.place-card img{width:47px;height:47px;object-fit:contain}.place-card b{font-family:Georgia,serif;color:#173a2a}@media(max-width:900px){.dashboard-hero{margin:-12px -12px 14px;padding:25px}.dashboard-grid{grid-template-columns:1fr}.map-hotspot span{opacity:1;font-size:.58rem;padding:3px 5px}.map-title{top:8px;left:8px}.place-cards{grid-template-columns:1fr 1fr}}@media(max-width:500px){.place-cards{grid-template-columns:1fr}.dashboard-hero h1{font-size:2rem}}
:root{font-family:Inter,system-ui,sans-serif;color:#243626;background:#edf0df}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.auth form,.panel{background:#fff9e9;border:1px solid #ddcfae;border-radius:20px;padding:24px;box-shadow:0 12px 32px #25351d22}.auth form{width:min(100%,430px);display:grid;gap:12px}.auth h1,.title{font-family:Georgia,serif;color:#173a2a}.auth label,form label{display:grid;gap:5px;font-weight:700}.auth input,form input,select,textarea{padding:10px;border:1px solid #cdbf9c;border-radius:10px;width:100%}.button{border:0;border-radius:10px;padding:10px 14px;background:#315d3c;color:#fff;font-weight:800}.button.alt{background:#eadbb9;color:#173a2a}.error{color:#96382f;font-weight:700}.shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.side{background:#173f2a;color:#f5f0d8;padding:22px 12px;display:grid;align-content:start;gap:15px}.brand{font:700 1.8rem Georgia,serif}.brand small{display:block;margin-top:5px;color:#9db76d;font:700 .65rem system-ui;letter-spacing:.12em}.nav{display:grid;gap:3px}.nav button{color:#e9f2d7;text-align:left;background:transparent;border:0;border-radius:9px;padding:10px;font-weight:750}.nav button.active,.nav button:hover{background:#ffffff22}.main{min-width:0}.top{min-height:58px;background:#fff9e9;border-bottom:1px solid #ddcfae;display:flex;align-items:center;justify-content:space-between;padding:8px 22px;gap:15px}.top>b{font-family:Georgia,serif;font-size:1.35rem}.stats{display:flex;gap:8px;flex-wrap:wrap}.stat{border:1px solid #ddcfae;background:#fffdf7;border-radius:999px;padding:6px 9px;font-size:.78rem;font-weight:800}.content{max-width:1560px;margin:auto;padding:20px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.world{position:relative;background:#29452d;border-radius:15px;overflow:hidden;box-shadow:0 4px 20px #1d321b22}.world canvas{width:100%;display:block;aspect-ratio:9/16;touch-action:none}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.toolbar .selected{outline:3px solid #f5c94b}.panel{box-shadow:none}.panel h2{font:700 1.25rem Georgia,serif;color:#173a2a;margin:0 0 10px}.list{display:grid;gap:8px;max-height:66vh;overflow:auto}.choice{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:#fffdf7;border:1px solid #ddcfae;border-radius:10px;padding:8px}.choice img{width:40px;height:40px;object-fit:contain}.choice b,.choice small{display:block}.choice small,.hint{color:#5d6d55}.hint{font-size:.9rem;line-height:1.45}.toast{position:fixed;z-index:20;right:18px;bottom:18px;background:#173f2a;color:#fff;padding:12px 15px;border-radius:10px;box-shadow:0 7px 20px #17281944}.modal{position:fixed;z-index:10;inset:0;background:#1025178c;display:grid;place-items:center;padding:16px}.modal .panel{width:min(720px,100%);max-height:82vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;gap:10px}.modal-head button{border:0;background:#eadbb9;border-radius:50%;width:32px;height:32px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.card{background:#fff9e9;border:1px solid #ddcfae;border-radius:15px;padding:14px;display:grid;gap:8px}.card img{width:100%;height:110px;object-fit:contain}.card h3{font:700 1.06rem Georgia,serif;margin:0;color:#173a2a}.card p{margin:0;color:#5d6d55;font-size:.88rem;line-height:1.35}.card .meta{font-size:.82rem;font-weight:750;color:#49613d}.split{display:flex;justify-content:space-between;gap:8px;align-items:center}.progress{height:9px;border-radius:999px;background:#e6dcc6;overflow:hidden}.progress i{display:block;height:100%;background:#5f9744}.section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head h2{margin:0;font:700 1.5rem Georgia,serif;color:#173a2a}.empty{padding:30px;text-align:center;color:#5d6d55}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0 0 14px}.metric{background:#fff9e9;border:1px solid #ddcfae;border-radius:14px;padding:12px;display:grid;gap:4px}.metric small{color:#5d6d55;font-weight:700}.metric b{font:700 1.15rem Georgia,serif;color:#173a2a}.details{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:.87rem}.details span{color:#5d6d55}.details b{text-align:right;color:#315d3c}.card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.subhead{font:700 1.25rem Georgia,serif;color:#173a2a;margin:26px 0 10px}.hero{margin-bottom:14px;background:linear-gradient(135deg,#fff9e9,#eff5d6)}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #d7c48e;background:#fffdf7;border-radius:999px;padding:6px 10px;color:#315d3c;font-weight:700}.chip img{height:25px;width:25px;object-fit:contain}.chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px}.rooms{display:grid;align-content:start;gap:7px;max-height:65vh;overflow:auto}.messages{min-height:460px;display:flex;flex-direction:column;gap:8px}.message{border-bottom:1px solid #e7dcc0;padding:8px 0}.message p{margin:4px 0}.message small{color:#71806a}#chat-form{display:flex;gap:8px;margin-top:auto}#chat-form input{min-width:0;flex:1}@media(max-width:900px){.shell{grid-template-columns:1fr}.side{position:fixed;z-index:4;bottom:0;left:0;right:0;height:auto;display:block;padding:6px}.side .brand{display:none}.nav{display:flex;overflow:auto}.nav button{font-size:.75rem;white-space:nowrap}.main{padding-bottom:55px}.game-layout{grid-template-columns:1fr}.top{padding:8px 12px}.stats .stat:first-child{display:none}.content{padding:12px}.chat-layout{grid-template-columns:1fr}.rooms{max-height:160px}.messages{min-height:380px}.metrics{grid-template-columns:repeat(2,1fr)}}
.place-card img{display:none}

/* Die Stadtgrafiken sind mobile Hochformatkarten; die Hotspots stammen direkt
   aus den relativen App-Koordinaten und bleiben deshalb unverzerrt. */
.city-scene,.lakeside-scene{width:min(100%,720px);aspect-ratio:2/3}
.storage-house{min-height:calc(100vh - 112px);overflow:hidden;border:2px solid #d9a948;border-radius:24px;background:#193d2d;color:#56371c;box-shadow:0 12px 28px #1b281744}.storage-header{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#174b31ef;border-bottom:2px solid #e8bd55;color:#fff7d6}.storage-header>img{width:66px;height:66px;object-fit:contain}.storage-header h2{margin:0;font:900 1.35rem Georgia,serif}.storage-header p{margin:3px 0 0;color:#ffe7a7;font-size:.76rem;font-weight:800}.storage-capacity{display:grid;gap:3px;min-width:108px;margin-left:auto;padding:6px 8px;border-radius:11px;background:#fff6dce6;color:#355b3a;text-align:right}.storage-capacity i{display:block;width:100%;height:7px;overflow:hidden;border-radius:99px;background:#d7c79d}.storage-capacity em{display:block;height:100%;background:#69a44d}.storage-capacity small{font-size:.65rem;font-weight:700}.storage-tabs{display:flex;gap:4px;overflow-x:auto;padding:7px;background:#f8df9d}.storage-tabs button{display:grid;grid-template-columns:18px max-content;align-items:center;gap:4px;padding:7px 9px;border:1px solid #b98238;border-radius:10px;background:#fff7dc;color:#63411e;cursor:pointer;font:800 .72rem system-ui;white-space:nowrap}.storage-tabs button.active{background:#347342;color:#fff}.storage-tabs i{font-style:normal;font-size:16px}.storage-content{min-height:520px;padding:13px;background:#143322b3 center/cover no-repeat}.storage-home-room{position:relative;max-width:820px;margin:auto;overflow:hidden;border:2px solid #edc462;border-radius:20px;background:#392719}.storage-home-room>img{display:block;width:100%;min-height:260px;max-height:430px;object-fit:cover}.storage-computer{position:absolute;right:4%;top:11%;width:42%;height:73%;border:0;background:transparent;cursor:pointer}.storage-computer span{position:absolute;right:0;bottom:8px;padding:7px 9px;border:1px solid #f4ce68;border-radius:12px;background:#20472eef;color:#fff6d2;text-align:left;font-weight:900}.storage-computer small{color:#ffe9a6;font-weight:700}.storage-welcome,.storage-section-intro{max-width:820px;margin:12px auto;padding:12px;border:1px solid #e5bd60;border-radius:17px;background:#fff5dcef}.storage-welcome h3,.storage-section-intro h3{margin:0;color:#315c37;font-family:Georgia,serif}.storage-welcome p,.storage-section-intro p{margin:5px 0 10px;color:#67583c}.storage-welcome div{display:flex;gap:7px;flex-wrap:wrap}.storage-filters{display:flex;max-width:820px;gap:6px;overflow:auto;margin:10px auto}.storage-filters button{padding:6px 9px;border:1px solid #c99a48;border-radius:99px;background:#fff4d8;color:#65411e;cursor:pointer;font-weight:800;white-space:nowrap}.storage-filters button.active{background:#3f7d42;color:#fff}.storage-shelves{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:9px;max-width:820px;margin:auto}.storage-shelf-item{position:relative;min-height:148px;overflow:hidden;border:0;background:#4d321f;cursor:pointer}.storage-shelf-item>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.storage-shelf-item>span{position:relative;z-index:1;display:grid;place-items:center;min-height:142px;padding:14px 10px 7px;color:#fff7d7;text-shadow:0 1px 2px #1a120b}.storage-shelf-item span img{width:66px;height:66px;object-fit:contain}.storage-shelf-item b,.storage-shelf-item small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-shelf-item small{font-weight:800}.storage-shop-offers,.storage-manage-list{display:grid;gap:8px;max-width:820px;margin:auto}.storage-shop-offers article,.storage-manage-list button{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #dcbd70;border-radius:13px;background:#fff7e4ef;color:#59391e;text-align:left}.storage-shop-offers img,.storage-manage-list img{width:48px;height:48px;object-fit:contain}.storage-shop-offers div,.storage-manage-list span{display:grid;gap:2px;flex:1}.storage-shop-offers small,.storage-manage-list small{color:#6c644f;font-weight:700}.storage-manage-list button{width:100%;cursor:pointer}.storage-manage-list i{font-style:normal;font-weight:900;color:#35733e}.storage-upgrade{display:grid;grid-template-columns:minmax(170px,.8fr) 1fr;align-items:center;gap:14px;max-width:820px;margin:auto;padding:12px;border:2px solid #e3b04d;border-radius:18px;background:#fff1c9ef}.storage-upgrade>img{width:100%;max-height:280px;object-fit:cover;border-radius:12px}.storage-upgrade h3{margin:0;color:#624016;font-family:Georgia,serif}.storage-settings,.storage-computer-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;max-width:820px;margin:auto}.storage-settings button,.storage-computer-apps button{padding:14px;border:1px solid #d7aa56;border-radius:14px;background:#fff8e7;color:#56371c;cursor:pointer;font-weight:900;text-align:left}.storage-item-actions{display:flex;gap:7px;flex-wrap:wrap}.storage-item-dialog,.storage-computer-dialog{width:min(620px,100%);display:grid;gap:12px}.button.danger{background:#a44032;color:#fff}
@media(max-width:620px){.city-scene,.lakeside-scene{width:100%;border-radius:13px}.storage-content{padding:8px}.storage-header{padding:8px}.storage-header>img{width:52px;height:52px}.storage-capacity{min-width:87px;font-size:.78rem}.storage-tabs button{grid-template-columns:1fr;padding:6px 9px}.storage-tabs span{font-size:.62rem}.storage-home-room>img{min-height:215px}.storage-upgrade{grid-template-columns:1fr}.storage-upgrade>img{max-height:180px}}

/* Jede Lagerhaus-Abteilung nutzt, wie die App, ihren eigenen Raum statt einer
   neutralen Verwaltungsfläche. */
.storage-content.storage-storage,.storage-content.storage-locked,.storage-content.storage-special{background-image:linear-gradient(#143322b8,#143322b8),url('asset.php?name=storage_warehouse_backdrop_v1')}.storage-content.storage-shop{background-image:linear-gradient(#1433229a,#1433229a),url('asset.php?name=storage_garden_shop_backdrop')}.storage-content.storage-upgrade{background-image:linear-gradient(#1433228c,#1433228c),url('asset.php?name=storage_upgrade_workshop_v1')}.storage-content.storage-statistics{background-image:linear-gradient(#14332299,#14332299),url('asset.php?name=storage_statistics_folder_v1')}.storage-content.storage-manage{background-image:linear-gradient(#1433229a,#1433229a),url('asset.php?name=storage_management_backdrop_v1')}.storage-content.storage-settings{background-image:linear-gradient(#1433229a,#1433229a),url('asset.php?name=storage_settings_backdrop_v1')}.storage-content.storage-relationships{background-image:linear-gradient(#143322a0,#143322a0),url('asset.php?name=storage_home_living_room_v1')}
.plant-sprite-frame{display:inline-grid;place-items:center;overflow:hidden}.plant-sprite-frame>img{display:block;justify-self:start;width:500%!important;max-width:none!important;height:100%!important;object-fit:fill!important;transform:translateX(-60%)}.storage-shelf-item[data-plant-sprite="1"]>span>img,.sprite-mature{object-fit:cover!important;object-position:100% center!important}.storage-shelf-item .storage-item-art{width:66px;height:66px}.storage-shelf-item .storage-item-art>img{height:66px!important}.storage-manage-list .plant-sprite-frame,.storage-dialog-art{flex:0 0 48px;width:48px;height:48px}.storage-manage-list .plant-sprite-frame>img,.storage-dialog-art>img{height:48px!important}.plant-title>.storage-dialog-art{width:52px;height:52px}.plant-title>.storage-dialog-art>img{height:52px!important}
.storage-statistics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;max-width:820px;margin:auto}.storage-statistics>div{display:grid;gap:4px;padding:12px;border:1px solid #e3bd6d;border-radius:13px;background:#fff8e8ee;color:#5e4223}.storage-statistics small{font-weight:800;color:#6d664f}.storage-statistics b{font:900 1.2rem Georgia,serif;color:#315c37}


/* Rufus läuft wie in der App unter der Kopfleiste auf jeder Spielseite. Die
   vom Server gelieferte Wiederholzeit steuert die Laufgeschwindigkeit. */
.market-crier-ticker{height:0;overflow:hidden;background:linear-gradient(90deg,#7c211f,#b64131,#7c211f);transition:height .18s}.market-crier-ticker:has(.market-crier-scroll){height:39px;border-bottom:1px solid #e9be54}.market-crier-scroll{display:flex;align-items:center;min-width:max-content;height:39px;border:0;background:transparent;color:#fff;font-weight:900;white-space:nowrap;animation:market-crier-marquee var(--crier-duration) linear infinite;cursor:pointer}.market-crier-scroll img{width:35px;height:35px;margin:0 7px;object-fit:contain}.market-crier-scroll span{padding-right:30px;text-shadow:0 1px 2px #4b1615}@keyframes market-crier-marquee{from{transform:translateX(100vw)}to{transform:translateX(-100%)}}
/* Stadtorte bleiben kleine Spielkarten mit ihren echten App-Motiven, nicht
   bloß Textlisten. */
.place-card img{display:block!important;width:58px;height:58px;padding:3px;border-radius:12px;background:#e8f3d2;object-fit:contain}.venue-hero{display:grid;grid-template-columns:minmax(150px,260px) 1fr;gap:16px;align-items:center;margin-bottom:14px;padding:12px;border:2px solid #d6ac53;border-radius:20px;background:#fff7df;overflow:hidden}.venue-hero img{width:100%;max-height:170px;object-fit:cover;border-radius:14px}.venue-hero h2{margin:0;color:#315d3c;font:900 1.5rem Georgia,serif}.venue-hero p{color:#5d6d55;line-height:1.45}@media(max-width:560px){.venue-hero{grid-template-columns:1fr}.venue-hero img{max-height:130px}.market-crier-scroll{font-size:.78rem}}
