/* Warm game HUD: raised controls, compact cards and a clear next purchase. */
html,body{background:#252620;color:#fff3d7;font-family:'Trebuchet MS',Segoe UI,sans-serif}button{font-family:inherit}#identity{background:linear-gradient(#fff6dd,#edddba);border:3px solid #806845;border-radius:25px;color:#4a3c2c;box-shadow:0 7px #705b3c,0 12px 22px #352b2633}#portrait{background:#d9dfbd;border-radius:50%;border:3px solid #fff8e4}#identity strong{font-weight:900}.level-row b{background:#8aab69;border:2px solid #d4e7b3;color:#fffce8;box-shadow:0 2px #587342}.level-row i{background:#d2c5a7;border:2px solid #ac956c}.level-row em{background:linear-gradient(#bddc7b,#78a352)}.level-row small{color:#79684e}.money{background:linear-gradient(#fff3cd,#f3d78c);border:3px solid #927239;box-shadow:0 7px #806237,0 12px 22px #352b2633;color:#5d441c}.money strong{font-weight:900}.money>span{color:#d78c1a;text-shadow:0 2px #fff0a3}.money small{color:#7f703f;font-weight:800}.clock{background:#f4edd8;border:3px solid #8b8062;box-shadow:0 6px #72694f;color:#544f3d;border-radius:25px}#week span{color:#978b70}#week .active{background:#81a556;color:#fff6dd;border-color:#e9f0b5;box-shadow:0 3px #556e3f}#day{color:#877550}#clock{font-weight:900}#status{color:#655946;text-shadow:0 1px #fffae0}#status button{background:#eee0ba;border:2px solid #9b8055;color:#6c4d29;font-weight:900;box-shadow:0 3px #94784b}#fullscreen,#pauseButton,#back,#floors button{background:#595e45;border:2px solid #c5c19b;color:#fff8df;box-shadow:0 4px #383d2b}#floors .chosen{background:#83a65e;border-color:#edf0bb;color:#fffbdc}
#objective{background:linear-gradient(#fff5d9,#f0dfb8);border:3px solid #9b8155;box-shadow:0 6px #7b6546;color:#53432f;border-radius:22px}#objective>span{color:#9b6a32}#objective>strong{font-size:24px;font-weight:900}#objective>small{color:#8b7555;font-size:13px}#objective>strong:before{content:'★ ';color:#d99a32}#mainAction{background:linear-gradient(#ffd87b,#eeaa38);border:4px solid #fff0b7;box-shadow:0 8px #ab6b27,0 12px 0 3px #604a31,0 20px 25px #372e2933;color:#62421f;font-size:32px;letter-spacing:.7px}#mainAction:hover:enabled{filter:brightness(1.06);background:linear-gradient(#ffe69b,#f3bb4f)}#mainAction:disabled{background:#aba78e;border-color:#d6cfad;color:#666552;box-shadow:0 7px #6d6c56}#manualProgress{background:#fff0cb;border:2px solid #b1955d;color:#7a6034;box-shadow:0 3px #867047}#manualProgress i{background:#d6c396}#manualProgress b{background:#89aa59}#dock{gap:12px}#dock button{background:linear-gradient(#fff1d2,#e4d2a5);border:3px solid #987d4d;border-radius:22px;color:#675230;box-shadow:0 6px #705b37;font-weight:900}#dock i{width:57px;height:51px;line-height:48px;margin:0 auto 8px;border-radius:17px;background:#dbe6c3;color:#637e45;text-shadow:0 2px #fff8d2}#dock button:nth-child(2) i{background:#f5c883;color:#a16a32}#dock button:nth-child(3) i{background:#e6bb95;color:#9a6246}#dock button:nth-child(4) i{background:#e3d9b7;color:#8b784c}#version{color:#6c624b}
#panel{width:620px;background:#fff8e8;border:4px solid #998157;border-radius:23px;box-shadow:-8px 12px 0 #65543e44,-12px 18px 30px #322b2444;color:#5b503b}.panel-head{height:85px;background:linear-gradient(#707b50,#525e3d);border-bottom:4px solid #aaad71;padding:12px 22px}.panel-head small{color:#d8dfb0;font-weight:900;letter-spacing:1.5px}.panel-head h1{color:#fff3d5;font-size:27px;font-weight:900}#closePanel{background:#f4d28b;color:#74542d;border:3px solid #fff1ba;box-shadow:0 3px #9d793d;border-radius:50%}#panelBody{height:calc(100% - 85px);padding:18px;scrollbar-color:#b7aa82 #f2e6c9}h2,h3{color:#5c573d}p{color:#857558}.note{background:#efe7ce;border:2px solid #d8c8a2;color:#897552;border-radius:16px}.pill{background:#e0e9be;color:#718148;font-weight:900}.row,.card{border:2px solid #dac69e;background:#fffdf1;border-radius:18px;box-shadow:0 3px #decea955}.row{padding:14px}.row strong,.card>strong{color:#635331;font-weight:900}.row p,.card p{color:#8d7a56}.primary,.buy{background:linear-gradient(#a9cf72,#80ac51);border:2px solid #5d823b;color:#304c23;box-shadow:0 4px #63853c;border-radius:13px;font-weight:900}.secondary{background:#eee4c8;color:#84704d;border:2px solid #c5b184;box-shadow:0 3px #b7a578;border-radius:13px}.gold{background:linear-gradient(#ffda82,#edb54b);border-color:#c4943e;color:#755020;box-shadow:0 4px #bb8737}.danger{background:#e9b59f;border-color:#bc876f;color:#824d3b;box-shadow:0 3px #bc8874}.bar{background:#ddd1af;border:1px solid #c4b68c;height:10px}.bar i{background:#92b85c}.candidate{padding:13px;border-left:6px solid #a7bf70;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px}.candidate .portrait{width:62px;height:62px}.candidate .employee{gap:10px}.candidate .identity>strong{font-size:17px;color:#675733}.candidate .employee dl{gap:17px;margin:9px 0}.candidate .employee dt{color:#a18f6e}.candidate .employee dd{color:#666c3e;font-size:17px}.candidate>.primary{font-size:12px;padding:12px 9px}.candidate>.mini{grid-column:1/3;margin:8px 0 0;color:#8b805b;font-size:11px}.employee .identity>strong,.employee dd{color:#6e6440}.employee dt{color:#a18f6e}.stats>div{background:#f2e8c9;border:2px solid #d7c597;border-radius:17px}.stats span{color:#9c8659}.stats b{color:#6b6d3d}.ledger div{border-color:#dfd0ae;color:#8c7b56}.ledger b{color:#6c6844}.more-grid button{background:#f2e7c9;border:2px solid #ccb98e;color:#6b5c3c;border-radius:18px;box-shadow:0 4px #c4af8455;font-weight:900}.more-grid small{color:#9e8b64}.paper{background:#f7edce;border-color:#cdbd8e}.paper h3{color:#6a5b3e}.paper p{color:#9d875d}label{color:#86734f}input,select{background:#fffdf4;border:2px solid #c4b083;color:#6a5737;border-radius:13px}.select-row button{background:#f0e5c9;border:2px solid #c6b388;color:#9a8154}.select-row .chosen{background:#dce8b7;color:#6b803e;border-color:#a6b67a}.mini{color:#9e8b69}
#dialog,#pauseMenu{background:#302b2466;backdrop-filter:blur(5px)}#dialogBody,.pause-card{background:#fff5dc;border:4px solid #9f8860;border-radius:30px;box-shadow:0 10px #66543c,0 22px 60px #30271f55;color:#80714f}.welcome h1,.pause-card h1,.story-top h2{color:#615331;font-weight:900}.welcome>small,.story-top small,.pause-card>small{color:#aa8b4d;font-weight:900}.welcome p,.pause-card p{color:#948059}.story-speech{background:#f1e5c4;border:2px solid #d5c08b;color:#8a7448;border-radius:19px}.story-speech strong{color:#7c6238}.pause-setting{border-color:#decca3}#toast{background:#697b45;color:#fff8da;border:3px solid #d6e1a4;box-shadow:0 4px #46582e;border-radius:19px;font-weight:800}#event{background:#fff0cd;border:4px solid #c3994b;border-radius:23px;box-shadow:0 7px #9e763a}#event h2{color:#8e6734}#event p{color:#a58a5b}.pause-feedback{color:#7b9542!important}

body.story-active #dialogBody{background:transparent}#dialogBody:has(.story-scene){width:1150px;overflow:visible;background:transparent;border:0;box-shadow:none;padding:0;align-self:end;margin-bottom:140px}.story-scene{position:relative;padding-top:250px}.speaker-actor{position:absolute;left:65px;top:0;height:270px;width:180px;image-rendering:pixelated;filter:drop-shadow(8px 7px #2d291a66)}.chapter-tag{position:absolute;right:10px;top:193px;background:#65573d;color:#fff2c8;border:3px solid #ecd59c;padding:12px 23px;font-weight:900;letter-spacing:1px}.story-speech{position:relative;background:#fff8e1;border:6px solid #625136;border-radius:0;box-shadow:0 0 0 5px #e5c98c,8px 12px #30271f66;min-height:220px;padding:25px 38px 36px;font-family:'Courier New',monospace;font-weight:700;font-size:28px;color:#5d4b31;cursor:pointer}.story-speech:before{content:'';position:absolute;left:105px;top:-30px;border-left:24px solid transparent;border-right:24px solid transparent;border-bottom:28px solid #625136}.story-speech strong{font-family:inherit;font-size:25px;color:#9c7036;margin-bottom:13px}.speech-arrow{position:absolute;right:27px;bottom:16px;color:#b48b41;animation:talkArrow .85s steps(2,end) infinite}.story-scene .mini{color:#fff2cc;text-shadow:1px 2px #322719}.story-scene .dialog-actions{margin-top:24px}.story-scene .dialog-actions button{min-height:57px;font-size:19px}@keyframes talkArrow{50%{transform:translateY(5px)}}
@media(pointer:coarse),(max-width:1180px){#panel{width:940px;top:205px;bottom:160px}#panel.wide{width:1200px}#panelBody{font-size:25px;padding:24px}#panelBody p,#panelBody .row p,#panelBody .card p{font-size:24px;line-height:1.4}#panelBody strong{font-size:27px}#panelBody .primary,#panelBody .secondary,#panelBody .buy{font-size:23px;min-height:74px;padding:16px 22px}#panelBody small,#panelBody .mini{font-size:20px}#panelBody h3{font-size:28px}.candidate .employee dd{font-size:27px}.candidate .employee dt{font-size:20px}.candidate .portrait{width:100px;height:100px}.candidate{grid-template-columns:1fr}.candidate>.primary{justify-self:stretch}.employee .identity>strong{font-size:27px}.employee dl{gap:35px}#panelBody input,#panelBody select{font-size:27px;min-height:75px}.panel-head{height:100px}.panel-head h1{font-size:34px}#panelBody{height:calc(100% - 100px)}#closePanel{width:65px;height:65px}#dialogBody:has(.story-scene){width:1500px}.story-speech{font-size:35px;min-height:250px}.story-speech strong{font-size:30px}.story-scene .dialog-actions button{font-size:27px;min-height:80px}.story-scene .mini{font-size:23px}#manualProgress{font-size:19px;width:600px;bottom:138px}#objective>small{font-size:21px}#objective{width:480px}#dock button{font-size:19px}#status{font-size:21px}.pause-card{width:1000px}.pause-card p{font-size:25px}.pause-actions button{font-size:29px;min-height:85px}.pause-card .mini{font-size:21px}}

.guide-target{outline:6px solid #ffed85!important;outline-offset:7px;animation:guidePulse 1.1s ease-in-out infinite!important;position:relative;z-index:12}#objective.tutorial-active{border-color:#e6b84f}#objective.tutorial-active>span:after{content:' · ANTIPPEN FÜR ANLEITUNG';font-size:10px}#dock button{width:85px}#dock button:first-child{background:linear-gradient(#c5e19e,#9bbb76);border-color:#6b9146}#portrait,.portrait{image-rendering:pixelated;object-fit:contain}@keyframes guidePulse{50%{outline-color:#fff9d2;box-shadow:0 0 28px #ffdd7c}}
body.portrait #game{width:1024px;height:1920px}body.portrait #world{top:370px;width:1024px;height:576px;image-rendering:pixelated}body.portrait #hud{left:20px;right:20px;top:18px;height:280px;display:grid;grid-template-columns:1fr 1fr;gap:20px}body.portrait #identity{grid-column:1/3;width:100%;height:135px;padding:15px 25px}body.portrait #identity strong{max-width:760px;font-size:36px}body.portrait #portrait{width:95px;height:100px}body.portrait .money{min-width:0;width:auto;height:120px;margin:0;padding:20px}body.portrait .money strong{font-size:44px}body.portrait .money small{font-size:20px}body.portrait .clock{width:auto;height:120px;padding:10px 15px;gap:6px}body.portrait #clock{font-size:32px}body.portrait #day{font-size:20px}body.portrait #week{gap:2px}body.portrait #week span{width:32px;font-size:20px}body.portrait #fullscreen{display:none}body.portrait #status{top:320px;left:25px;right:25px;font-size:26px;text-align:left}body.portrait #status button{font-size:26px}body.portrait #back{top:395px;left:25px;font-size:27px;padding:16px}body.portrait #floors{top:395px;left:280px}body.portrait #pauseButton{top:20px;right:30px;width:90px;height:80px;font-size:42px}body.portrait #objective{top:990px;bottom:auto;left:25px;width:974px;min-height:210px;padding:24px}body.portrait #objective>span{font-size:22px}body.portrait #objective>strong{font-size:38px}body.portrait #objective>small{font-size:30px}body.portrait #mainAction{bottom:280px;min-width:800px;height:140px;font-size:42px}body.portrait #manualProgress{bottom:445px;width:850px;font-size:27px;padding:12px}body.portrait #dock{left:25px;right:25px;bottom:25px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}body.portrait #dock button{width:auto;height:100px;font-size:26px;display:flex;align-items:center;justify-content:center;gap:15px}body.portrait #dock i{font-size:35px;margin:0;width:60px;height:60px}body.portrait #panel,body.portrait #panel.wide{top:355px;bottom:485px;left:20px;right:20px;width:984px}body.portrait .panel-head{height:125px}body.portrait .panel-head h1{font-size:39px}body.portrait #panelBody{height:calc(100% - 125px);padding:28px}body.portrait #panelBody p,body.portrait #panelBody .row p,body.portrait #panelBody .card p{font-size:31px}body.portrait #panelBody strong{font-size:35px}body.portrait #panelBody .primary,body.portrait #panelBody .secondary,body.portrait #panelBody .buy{font-size:31px;min-height:115px;padding:20px}body.portrait .row{flex-wrap:wrap}body.portrait .row>div{min-width:100%}body.portrait #panelBody small,body.portrait #panelBody .mini{font-size:26px}body.portrait #panelBody input,body.portrait #panelBody select{font-size:36px;min-height:115px}body.portrait #panelBody label{font-size:30px}body.portrait .grid,body.portrait .more-grid{grid-template-columns:1fr}body.portrait .more-grid button{font-size:34px;min-height:120px}body.portrait #dialogBody,body.portrait .pause-card{width:950px;max-height:1650px;padding:35px}body.portrait #dialogBody:has(.story-scene){width:940px;margin-bottom:300px;padding:0}body.portrait .story-speech{font-size:39px;min-height:410px;line-height:1.6}body.portrait .story-scene .dialog-actions button{font-size:31px;min-height:115px}body.portrait .story-scene .mini{font-size:25px}body.portrait .chapter-tag{font-size:22px;max-width:650px}body.portrait .welcome h1,body.portrait .pause-card h1{font-size:52px}body.portrait .welcome p,body.portrait .pause-card p{font-size:32px}body.portrait .welcome label{font-size:30px}body.portrait .welcome input{font-size:43px;min-height:120px}body.portrait .welcome .primary,body.portrait .pause-actions button,body.portrait .pause-setting button{font-size:34px;min-height:120px}body.portrait .welcome .mini,body.portrait .pause-card .mini{font-size:25px}body.portrait #event{left:30px;right:30px;bottom:500px;width:auto}body.portrait #event p{font-size:30px}body.portrait #event button{font-size:31px;min-height:110px}body.portrait #toast{top:300px;max-width:920px;width:920px;font-size:28px}body.portrait #version{font-size:16px}body.portrait .candidate .employee dd{font-size:34px}body.portrait .candidate .employee dt{font-size:25px}
@media(prefers-reduced-motion:reduce){.guide-target,.speech-arrow{animation:none!important}}

body.portrait #dock button{height:128px;font-size:32px}body.portrait #mainAction{bottom:350px}body.portrait #manualProgress{bottom:515px}

#panel{z-index:20}

@media(max-width:1180px){#closePanel{width:84px;height:84px}#panelBody .primary,#panelBody .secondary,#panelBody .buy{min-height:84px}}
body.portrait #closePanel{width:115px;height:115px;font-size:60px}body.portrait #panelBody p,body.portrait #panelBody .card p{font-size:35px}

@media(max-width:1180px){#panelBody .stats span{font-size:22px}#panelBody .stats b{font-size:32px}}
body.portrait #panelBody .stats span{font-size:28px;line-height:1.3}body.portrait #panelBody .stats b{font-size:38px}body.portrait #panelBody .stats{gap:10px}

@media(max-width:1180px){#panelBody .note{font-size:23px;line-height:1.5}#panelBody .more-grid button{font-size:27px;min-height:90px}#panelBody .more-grid small{font-size:21px}}
body.portrait #panelBody .note{font-size:31px}body.portrait #panelBody .pill{font-size:27px}body.portrait #panelBody small,body.portrait #panelBody .mini{font-size:30px}body.portrait #panelBody .more-grid button{font-size:34px;min-height:150px}body.portrait #panelBody .more-grid small{font-size:28px}

#identity>span{position:relative}#reputation{display:block;font-size:16px;font-weight:800;color:#8b692d;margin:4px 0}#cash.loss{color:#ad4b36}#mainAction{touch-action:manipulation;transition:filter .12s,transform .12s;min-height:90px}#mainAction:active{filter:brightness(1.08);margin-bottom:-3px}#mainAction:focus-visible{outline:5px solid #fff4ad;outline-offset:5px}.deal-float{position:absolute;left:50%;bottom:195px;font:bold 32px monospace;color:#fff9c2;z-index:23;text-shadow:2px 3px #665632;pointer-events:none;animation:dealRise .95s ease-out forwards}@keyframes dealRise{to{transform:translateY(-90px);opacity:0}}
#decision{position:absolute;inset:0;z-index:36;display:grid;place-items:center;background:#283326aa;backdrop-filter:blur(3px)}.decision-card{position:relative;width:1250px;padding:45px;background:#fff5d9;border:6px solid #7a6843;box-shadow:0 0 0 5px #e4c78d;color:#594b32}.decision-card h2{font-size:40px}.decision-card p{font-size:29px;line-height:1.5}.decision-card small{font-size:21px}.decision-actor{position:absolute;right:50px;top:-180px;width:120px;height:180px;image-rendering:pixelated}.choice-list{display:grid;gap:18px;margin:25px 0}.choice-list button{font-size:25px;min-height:85px;text-align:left;white-space:normal}.decision-card button:disabled{opacity:.5}
body.portrait #reputation{font-size:28px}body.portrait .decision-card{width:950px;padding:35px;max-height:1520px;overflow:auto}body.portrait .decision-card h2{font-size:45px}body.portrait .decision-card p{font-size:36px}body.portrait .decision-card small{font-size:28px}body.portrait .choice-list button{min-height:125px;font-size:33px}body.portrait .deal-float{bottom:510px;font-size:45px}@media(prefers-reduced-motion:reduce){.deal-float{animation-duration:.05s}}

#dialog.tour{background:#26312522;backdrop-filter:none;align-items:end;justify-items:start}#dialog.tour #dialogBody:has(.story-scene){width:1000px;margin:0 0 25px 50px}#dialog.tour .story-scene{padding-top:155px}#dialog.tour .speaker-actor{height:180px;top:0}#dialog.tour .chapter-tag{top:110px}#dialog.tour .story-speech{font-size:27px;min-height:160px}body.portrait #dialog.tour #dialogBody:has(.story-scene){width:940px;margin:0 0 280px 42px}body.portrait #dialog.tour .story-speech{font-size:37px;min-height:260px}body.portrait .decision-card{overflow:visible}

.energy-status{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}.energy-track{display:inline-block;width:135px;height:14px;background:#56644c;border:2px solid #e6d7ac;border-radius:6px;overflow:hidden}.energy-track b{display:block;height:100%;background:#b4d589}.energy-status.medium .energy-track b{background:#e8c16d}.energy-status.low .energy-track b{background:#d88868}body.portrait #status{display:flex;flex-wrap:wrap;align-items:center;gap:8px}body.portrait .energy-track{width:160px;height:20px}body.portrait .energy-status{font-size:24px}

#mini{position:absolute;inset:0;z-index:36;display:grid;place-items:center;background:#263326aa;backdrop-filter:blur(3px)}.memory-sequence{font-size:76px;color:#628e74;letter-spacing:15px;text-align:center;margin:45px 0}.memory-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.memory-buttons button{font-size:52px;min-height:100px}.timing-track{height:65px;background:#d6bea0;position:relative;margin:35px 0;border:4px solid #7b7157;overflow:hidden}.timing-track i{position:absolute;left:35%;width:30%;height:100%;background:#7caa77}.timing-track b{position:absolute;top:0;width:10px;height:100%;background:#fffbe0;transform:translateX(-50%);box-shadow:0 0 0 3px #5c6044}.district-selected{outline:3px solid #bd9b51}.district-icon{font-size:50px;color:#8c9b78}body.portrait .memory-buttons button{min-height:130px;font-size:55px}

.lottie-server{position:absolute;height:42px;pointer-events:none;z-index:3;transform:translate(-50%,-50%)}
/* One game palette for management, reports, decisions and network controls. */
#game button{font-family:inherit;cursor:pointer;transition:filter .12s,translate .12s}#game button:hover:not(:disabled){filter:brightness(1.07)}#game button:active:not(:disabled){translate:0 2px}#game button:focus-visible{outline:4px solid #e6b550;outline-offset:3px}#game button:disabled{cursor:default;opacity:.48}
#panelBody button:not(.primary):not(.secondary):not(.buy):not(.danger){background:linear-gradient(#f8edcc,#e8d5a2);color:#655133;border:2px solid #ae9363;border-radius:12px;padding:12px 18px;box-shadow:0 3px #b09b73;font-weight:800}
#panel.centered{left:50%;right:auto;transform:translateX(-50%);width:1050px;top:155px;bottom:145px;box-shadow:0 12px 0 #65543e44,0 20px 70px #322b2466}#panel.centered .panel-head{background:linear-gradient(#7e8960,#5d6948)}#panel.centered .stats b{font-size:31px}#panel.centered .stats{margin:15px 0 22px}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team-card{margin:0;padding:19px}.team-card .portrait{width:80px;height:100px;object-fit:contain}.team-card .employee{align-items:center}.team-card .employee strong{font-size:21px}.team-card .employee p{margin:5px 0}.team-card .ledger{margin:14px 0}.team-card .ledger div{padding:8px 0}.team-card button{margin:7px 6px 3px 0}.navigation-tiles{display:grid;gap:18px}.navigation-tiles button{min-height:95px;font-size:27px}.coin-card .pill{float:right}.coin-card h2{font-size:25px}.coin-card .ledger{margin:15px 0}.coin-card .buttons{flex-wrap:wrap}
#meeting{position:absolute;inset:0;z-index:37;display:grid;place-items:center;background:#263326b3;backdrop-filter:blur(4px)}.meeting-card{width:1180px;position:relative;margin-top:100px}.meeting-actor{position:absolute;left:70px;bottom:calc(100% - 15px);height:210px;width:150px;object-fit:contain;image-rendering:pixelated}.meeting-card .chapter-tag{position:relative;margin-left:auto;width:max-content}.meeting-card .story-speech{background:#fff6db}.meeting-card .story-speech p{color:#66573e}.meeting-card .dialog-actions{display:flex;gap:14px;margin-top:20px;flex-wrap:wrap}.meeting-card .dialog-actions button{min-height:65px;padding:15px 23px;font-size:22px}.meeting-card .story-speech{min-height:180px}
#back{display:none!important}
@media(pointer:coarse),(max-width:1180px){#panel.centered{width:1230px;top:205px;bottom:160px}#panel.centered .stats b{font-size:34px}.team-card .employee strong{font-size:29px}.team-card .portrait{width:95px;height:120px}.team-card .ledger{font-size:24px}.coin-card h2{font-size:32px}.navigation-tiles button{font-size:32px;min-height:110px}}
body.portrait #panel.centered{left:20px;right:20px;transform:none;width:984px;top:355px;bottom:485px}body.portrait .team-grid{grid-template-columns:1fr}body.portrait .team-card .employee strong{font-size:36px}body.portrait .team-card .portrait{width:120px;height:150px}body.portrait .team-card .ledger{font-size:30px}body.portrait .meeting-card{width:940px;margin-top:100px}body.portrait .meeting-card .dialog-actions{flex-direction:column}body.portrait .meeting-card button{font-size:30px;min-height:110px}body.portrait .meeting-card .story-speech{font-size:35px;min-height:300px}body.portrait .meeting-actor{height:230px;width:160px}body.portrait .navigation-tiles button{font-size:36px;min-height:130px}

.desktop-launcher{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 25px}.desktop-launcher button{min-height:76px;font-size:19px}body.portrait .desktop-launcher{grid-template-columns:1fr}

.report-costs{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.report-costs>div{display:flex;justify-content:space-between;padding:15px 5px;border-bottom:1px solid #dfd0ae;color:#8c7b56}.report-costs b{color:#655a3f}.closing-account{display:flex;justify-content:space-between;align-items:center;padding:20px;margin:20px 0;background:#e5edcc;border:2px solid #b6c28f;border-radius:15px}.closing-account strong{font-size:30px;color:#596a3e}summary{cursor:pointer;font-weight:700;color:#726344}body:has(#panel[data-kind="reports"]:not([hidden])) #toast{opacity:0}body.portrait .report-costs{font-size:28px}body.portrait .closing-account{display:block}body.portrait .closing-account strong{display:block;font-size:39px;margin-top:10px}
.game-icon{width:25px;height:25px;display:inline-block;vertical-align:middle;flex-shrink:0;shape-rendering:crispEdges}.primary .game-icon,.secondary .game-icon{margin-right:8px}#dock i .game-icon{width:31px;height:31px;margin:0}#dock button{font-family:"Trebuchet MS",Verdana,sans-serif;font-weight:900;letter-spacing:.4px}#game{font-variant-numeric:tabular-nums lining-nums}#cash,#clock,.stats b,.ledger b,.buy{font-variant-numeric:tabular-nums}.money strong,.closing-account strong{font-family:"Trebuchet MS",Verdana,sans-serif;letter-spacing:-.5px}.navigation-tiles button{display:flex;align-items:center;justify-content:flex-start;gap:20px;text-align:left}.navigation-tiles .game-icon{width:44px;height:44px}.more-grid button .game-icon{width:35px;height:35px;margin-right:8px}.license-card h3{display:flex;align-items:center;gap:14px}.license-card h3 .pill{margin-left:auto}.license-card h3 .game-icon{color:#7c8f61}.license-card .ledger span{max-width:55%}.license-card .ledger b{text-align:right}#mainAction::after{content:"";position:absolute;left:9%;right:9%;bottom:10px;height:5px;background:#fff0b4;border-radius:5px;transform:scaleX(var(--deal-charge,1));transform-origin:left;pointer-events:none}
.avatar-preview{display:flex;gap:25px;align-items:center;padding:18px;background:#efe6cc;border:2px solid #c8b58b;border-radius:18px}.avatar-preview>img{width:130px;height:190px;object-fit:contain;image-rendering:pixelated}.avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.avatar-option{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px!important;min-height:145px}.avatar-option small{font-size:14px;line-height:1.3;margin-top:6px;max-width:130px}.avatar-thumb{display:block;width:104px;height:94px;overflow:hidden;position:relative}.avatar-thumb img{position:absolute;left:0;top:0;width:104px;height:156px;object-fit:contain;image-rendering:pixelated}.avatar-option.chosen,.avatar-swatch.chosen{outline:4px solid #8fa860;outline-offset:1px;background:#e4edc9!important}.avatar-swatches{display:flex;gap:13px;flex-wrap:wrap}.avatar-swatch{padding:7px!important;width:66px;height:66px;border-radius:15px!important;display:grid;place-items:center}.avatar-swatch span{display:block;width:46px;height:46px;background:var(--swatch);border:2px solid #6f614a;border-radius:8px}.avatar-swatch.chosen::after{content:"✓";position:absolute;color:#fff9e5;text-shadow:1px 2px #4b5139;font-size:30px}.avatar-swatch{position:relative}body.portrait .avatar-preview>img{width:180px;height:270px}body.portrait .avatar-thumb{width:160px;height:145px}body.portrait .avatar-thumb img{width:160px;height:240px}body.portrait .avatar-option small{font-size:26px;max-width:250px}body.portrait .avatar-option{min-height:220px}body.portrait .avatar-swatch{width:105px;height:105px}body.portrait .avatar-swatch span{width:78px;height:78px}body.portrait .game-icon{width:35px;height:35px}body.portrait #dock i .game-icon{width:40px;height:40px}



#status{background:#f7efd9ed;border:2px solid #c7bd98;border-radius:11px;padding:6px 12px;color:#5e6545;text-shadow:none}body.portrait #status{padding:9px 12px}

/* The command bar is one continuous game panel, with a compact task rail. */
#hud{left:24px;right:24px;top:18px;height:120px;gap:0;background:linear-gradient(#fff3d2,#e9d5a6);border:3px solid #9b875c;border-radius:18px;box-shadow:0 5px #796b4944;padding:0 15px}
#hud #identity,#hud .money,#hud .clock{border:0;border-radius:0;box-shadow:none;background:transparent;margin:0;height:108px}#hud #identity{border-right:2px solid #cab88b66}#hud .money{border-right:2px solid #cab88b66}#hud #fullscreen{margin-left:16px}
#firmAgenda{position:absolute;left:24px;right:24px;top:148px;height:64px;display:flex;align-items:center;gap:14px;padding:7px 13px;background:#f5ecd3f5;border:2px solid #b3ad84;border-radius:13px;z-index:7;box-shadow:0 3px #71674733}
#agendaTasks{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.agenda-label{display:flex;align-items:center;gap:7px;font-size:14px;color:#7c7954;white-space:nowrap;margin-right:4px}.agenda-label .game-icon{width:22px;height:22px}.agenda-chip{display:flex;align-items:center;gap:6px;min-height:40px;font-size:15px;padding:7px 11px;color:#6f6541;background:#ede2bd;border:1px solid #b6a97a;border-radius:8px;white-space:nowrap;max-width:320px;overflow:hidden;text-overflow:ellipsis}.agenda-chip .game-icon{width:20px;height:20px}.active-state{color:#46623b!important;background:#e0ebc6!important;border:2px solid #93aa6e!important;border-radius:9px}#game button.active-state:disabled{opacity:1}
#firmAgenda #status{position:static;background:transparent;border:0;box-shadow:none;padding:0;max-width:600px;flex-shrink:0;text-align:right;font-size:14px;line-height:1.5;color:#656b4b}#firmAgenda .energy-track{width:90px;height:11px}#firmAgenda #status button{font-size:13px;padding:4px 8px;margin-left:4px}
#floors{top:235px;left:14px;display:flex;flex-direction:column;gap:7px}#floors button{padding:8px 6px;min-width:77px;font-size:13px}
body.portrait #hud{height:280px;left:20px;right:20px;top:18px;gap:0;padding:12px}body.portrait #hud #identity{height:135px;border-right:0;border-bottom:2px solid #cab88b66}body.portrait #hud .money,body.portrait #hud .clock{height:120px}body.portrait #firmAgenda{top:315px;left:20px;right:20px;height:170px;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px}body.portrait #agendaTasks{flex-wrap:wrap;gap:9px}body.portrait .agenda-label{font-size:23px}body.portrait .agenda-chip{font-size:22px;min-height:53px;max-width:430px}body.portrait #firmAgenda #status{max-width:none;width:100%;font-size:22px;text-align:left}body.portrait #firmAgenda #status button{font-size:22px}body.portrait #world{top:500px}body.portrait #floors{top:520px;left:20px;flex-direction:row}body.portrait #floors button{font-size:24px;min-width:140px;padding:13px}body.portrait #objective{top:1120px}body.portrait #panel,body.portrait #panel.centered,body.portrait #panel.wide{top:500px}body.portrait .lottie-server{margin-top:130px}
#toast{top:225px}
.worker-condition{padding:12px 0}.worker-condition label{display:flex;justify-content:space-between;font-size:14px;margin:8px 0 5px}.worker-condition>i{display:block;height:9px;border-radius:5px;background:#ded5b8;overflow:hidden}.worker-condition>i>b{display:block;height:100%;background:#99b96b}.worker-condition>i.low>b{background:#d28e6d}.worker-condition small{display:block;margin-top:9px}.quest-checks>div{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #d6c8a4}.quest-checks .game-icon{color:#9d916f}.quest-checks span{flex:1}.quest-checks b{color:#6a6245}.quest-checks .done{color:#718c50}.quest-checks .done .game-icon{color:#779953}.main-quest{margin:20px 0}.saga-list>div{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:14px 8px;border-bottom:1px solid #ddcfac}.saga-list>div>span{font-weight:900;color:#b4a078}.saga-list .done{color:#6c8855}.saga-list small{font-size:13px;color:#9e8c68}
#ending{position:absolute;inset:0;display:grid;place-items:center;z-index:44;background:#354632dc;backdrop-filter:blur(9px)}.ending-card{width:1200px;text-align:center;background:linear-gradient(#fff8de,#e8dab2);border:5px solid #bfa060;border-radius:25px;padding:30px 55px;box-shadow:0 15px 80px #20301a77}.ending-card>small{color:#9b8555;font-weight:900;letter-spacing:3px}.ending-card h1{color:#655534;font-size:40px}.ending-card p{font-size:23px;line-height:1.6;color:#7e6d48}.ending-actors{display:flex;justify-content:center;gap:45px;margin:20px 0}.ending-actors img{height:205px;width:145px;object-fit:contain;image-rendering:pixelated}.ending-card .buttons{justify-content:center}.ending-card .buttons button{font-size:21px;min-height:65px}.ending-card .stats b{font-size:31px}body.portrait .ending-card{width:950px;padding:35px}body.portrait .ending-card h1{font-size:45px}body.portrait .ending-card p{font-size:31px}body.portrait .ending-card .buttons{display:grid}body.portrait .ending-card .buttons button{font-size:30px;min-height:110px}body.portrait .worker-condition label{font-size:30px}body.portrait .worker-condition>i{height:16px}body.portrait .quest-checks>div{font-size:29px}body.portrait .saga-list small{font-size:23px}


/* One outer HUD frame; tasks are part of that frame, not a second bar. */
#hud{height:190px;display:flex;flex-wrap:wrap;align-content:center;padding:0 14px;gap:0}#hud #identity{flex:1.3;min-width:0}#hud .money{flex:1;min-width:0}#hud .clock{flex:1.15;min-width:0}#hud #fullscreen{flex:0 0 45px}#hud #firmAgenda{position:static;flex:0 0 100%;height:64px;border:0;background:transparent;box-shadow:none;border-radius:0;padding:5px 0 8px;margin:0;width:100%}#hud #firmAgenda #status{background:transparent;border:0}
body.portrait #hud{height:450px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:135px 120px 1fr;padding:12px;gap:0}body.portrait #hud #identity{grid-column:1/3;min-width:0}body.portrait #hud #firmAgenda{grid-column:1/3;position:static;height:170px;width:100%;padding:12px 0 0}body.portrait #hud #firmAgenda #status{font-size:22px}

/* Half-height command bar: one compact outer frame. */
#hud{height:95px;top:18px;padding:0 12px;align-content:center}#hud #identity,#hud .money,#hud .clock{height:55px;padding:2px 12px}#hud #portrait{width:52px;height:55px}#hud #identity strong{font-size:22px;line-height:1.05}#hud #reputation{font-size:11px;margin:2px 0}#hud .level-row{gap:7px;height:13px}#hud #level,#hud #xpText{font-size:10px}#hud .level-row>i{height:5px}#hud .money strong{font-size:33px;line-height:1}#hud .money>span{font-size:23px}#hud .money small{font-size:10px}#hud .clock{display:grid;grid-template-columns:1fr auto;grid-template-rows:25px 15px;align-content:center;gap:0 10px}#hud #week{grid-column:1;grid-row:1;gap:3px}#hud #week span{width:22px;height:19px;line-height:19px;font-size:11px;padding:0}#hud #clock{grid-column:2;grid-row:1;font-size:24px;line-height:25px}#hud #day{grid-column:1/3;grid-row:2;font-size:10px;line-height:15px}#hud #fullscreen{width:32px;height:32px;flex-basis:32px;font-size:21px;margin-right:48px}#pauseButton{right:34px;top:38px;width:32px;height:32px;font-size:21px}
#hud #firmAgenda{height:28px;padding:0;gap:8px}#agendaTasks{gap:7px}.agenda-label{font-size:11px}.agenda-label .game-icon{width:16px;height:16px}.agenda-chip{min-height:24px;font-size:11px;padding:3px 8px;max-width:290px}.agenda-chip .game-icon{width:15px;height:15px;margin-right:3px}#hud #firmAgenda #status{font-size:11px;max-width:500px;line-height:1.15}#hud #firmAgenda #status button{font-size:10px;padding:2px 5px}#firmAgenda .energy-track{height:8px;width:65px}
#world{opacity:0;transition:opacity .15s}#game.art-ready #world{opacity:1}#game:not(.art-ready)::before{content:'Die Stadt wird aufgebaut …';position:absolute;inset:0;display:grid;place-items:center;background:#e9e2ca;color:#7d8159;font-size:28px;z-index:1;pointer-events:none}
body.portrait #hud{height:225px;grid-template-rows:75px 65px 1fr;padding:8px}body.portrait #hud #identity{height:75px;padding:3px 10px}body.portrait #hud #portrait{width:65px;height:70px}body.portrait #hud #identity strong{font-size:28px}body.portrait #hud #reputation{font-size:16px}body.portrait #hud #level,body.portrait #hud #xpText{font-size:14px}body.portrait #hud .money,body.portrait #hud .clock{height:65px}body.portrait #hud .money strong{font-size:32px}body.portrait #hud .money small{font-size:14px}body.portrait #hud .clock{grid-template-rows:30px 20px}body.portrait #hud #clock{font-size:26px}body.portrait #hud #day{font-size:14px}body.portrait #hud #week span{width:26px;height:26px;font-size:15px;line-height:26px}body.portrait #hud #firmAgenda{height:65px;padding:6px 0 0;gap:5px}body.portrait .agenda-label{font-size:14px}body.portrait .agenda-chip{font-size:16px;min-height:28px;max-width:350px;padding:3px 7px}body.portrait #hud #firmAgenda #status{font-size:14px;max-width:none}body.portrait #hud #firmAgenda #status button{font-size:14px}body.portrait #pauseButton{top:33px;right:34px;width:48px;height:45px;font-size:30px}body.portrait #world{top:275px}body.portrait #floors{top:295px}body.portrait #objective{top:925px}body.portrait #panel,body.portrait #panel.centered,body.portrait #panel.wide{top:275px}

body.portrait .lottie-server{margin-top:0}
#world{transition:none}
