#panel[data-kind="shop"]{width:1050px}#panel[data-kind="shop"] #panelBody{font-family:ui-monospace,'Courier New',monospace}#panel[data-kind="shop"] #panelBody>.buttons:first-child{position:sticky;top:-1px;z-index:3;background:#fff5db;padding:10px 0;margin-top:-9px;border-bottom:2px solid #c2ae7a;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}#panel[data-kind="shop"] #panelBody>.buttons:first-child button{margin:0;min-height:50px;font-size:17px;padding:10px;border-radius:8px}#panel[data-kind="shop"] #panelBody .row{padding:17px 0;gap:20px;border-bottom:1px solid #c3b28766}#panel[data-kind="shop"] #panelBody .row>div{min-width:0}#panel[data-kind="shop"] #panelBody .row strong{font-size:20px}#panel[data-kind="shop"] #panelBody p,#panel[data-kind="shop"] #panelBody .row p{font-size:15px;line-height:1.5}#panel[data-kind="shop"] #panelBody .buy{font-size:17px;min-height:52px;min-width:150px;max-width:190px;border-radius:8px;padding:12px}#panel[data-kind="shop"] #panelBody h3{font-size:21px}
.decor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 24px}.decor-card{border:2px solid #c1ac78;border-radius:9px;overflow:hidden;background:#f8edce;padding:10px;display:flex;flex-direction:column;gap:10px;min-width:0}.decor-card strong{font-size:16px!important;min-height:36px}.decor-card button{font-size:15px!important;min-height:44px!important;margin:0!important;padding:9px!important}.decor-swatch{height:70px;background:var(--swatch);border:2px solid #746b4f66;box-shadow:inset 0 0 0 4px #ffffff24;image-rendering:pixelated}.decor-swatch.floor{background:repeating-linear-gradient(0deg,#0000 0 14px,#ffffff40 14px 16px),repeating-linear-gradient(90deg,var(--swatch) 0 40px,#786d5250 40px 42px)}.decor-swatch.wall{background:repeating-linear-gradient(90deg,var(--swatch) 0 24px,#ffffff40 24px 27px)}
.handbook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.handbook-grid .card{margin:0!important}.handbook-grid h3{display:flex;align-items:center;gap:9px;font-size:20px!important}.handbook-grid p{font-size:16px!important}.handbook-grid button{font-size:16px!important;min-height:48px!important}.handbook-grid .game-icon{width:25px;height:25px;flex-shrink:0}
#endDayPrompt{position:absolute;z-index:18;left:50%;top:50%;transform:translate(-50%,-50%);width:520px;max-width:calc(100% - 30px);background:linear-gradient(#fff4d6,#e9d8a9);border:3px solid #9a8354;border-radius:16px;box-shadow:0 7px #81704488,0 12px 55px #243a3266;padding:28px;text-align:center;color:#5d5032;font-family:ui-monospace,'Courier New',monospace}#endDayPrompt small{font-size:13px;letter-spacing:1px}#endDayPrompt h2{font-size:29px;margin:12px 0}#endDayPrompt p{font-size:15px;line-height:1.5}#endDayPrompt button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:58px;font-size:20px;font-weight:800;margin-top:12px;padding:12px;border-radius:10px;background:linear-gradient(#ffe293,#d9b65b);border:2px solid #a58b48;color:#574727}#endDayPrompt button.secondary{min-height:44px;font-size:15px;background:#efe3bd}
body.phone #hud{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"identity money controls" "clock clock controls" "agenda agenda controls"}body.phone #hud #hudControls{height:100%;padding:0;justify-content:center;gap:8px}body.phone #hud #hudControls #fullscreen,body.phone #hud #hudControls #pauseButton{display:block!important;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;flex-basis:44px;line-height:38px;font-size:24px}body.phone #mapTools{display:grid;grid-template-columns:44px 44px;gap:6px}body.phone #mapTools button{margin:0;width:44px;height:44px}body.phone #hud .agenda-chip{max-width:138px;font-size:9px}body.phone #hud #firmAgenda #status{max-width:48px;font-size:8px}body.phone #hud .hud-energy{font-size:8px}body.phone #hud .hud-energy .energy-track{width:36px}
body.phone #panel[data-kind="shop"]{width:auto}body.phone #panel[data-kind="shop"] #panelBody>.buttons:first-child{gap:4px;padding:7px 0}body.phone #panel[data-kind="shop"] #panelBody>.buttons:first-child button{min-height:44px;font-size:11px;padding:6px 3px}body.phone #panel[data-kind="shop"] #panelBody .row{gap:8px;padding:12px 0}body.phone #panel[data-kind="shop"] #panelBody .row strong{font-size:16px}body.phone #panel[data-kind="shop"] #panelBody .row p,body.phone #panel[data-kind="shop"] #panelBody p{font-size:13px}body.phone #panel[data-kind="shop"] #panelBody .buy{font-size:14px;min-height:44px;min-width:120px}body.phone .decor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.phone .decor-card{padding:8px}.phone .decor-card strong{font-size:13px!important}.phone .decor-card button{font-size:12px!important}.phone .decor-swatch{height:56px}body.phone .handbook-grid{grid-template-columns:1fr;gap:9px}body.phone .handbook-grid h3{font-size:16px!important}body.phone .handbook-grid p{font-size:13px!important}body.phone .handbook-grid button{font-size:13px!important;min-height:44px!important}body.phone #endDayPrompt{position:fixed;width:340px;padding:19px;max-height:75dvh;overflow:auto}body.phone #endDayPrompt h2{font-size:23px}body.phone #endDayPrompt p{font-size:13px}body.phone #endDayPrompt button{min-height:50px;font-size:17px}body.phone #endDayPrompt button.secondary{font-size:13px}body.phone #endDayPrompt small{font-size:10px}
body.phone.landscape #hud{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) 96px;grid-template-areas:"identity money clock controls"}body.phone.landscape #hud #hudControls{flex-direction:row;height:60px;gap:6px}body.phone.tablet #hud{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr) 44px;grid-template-areas:"identity money clock controls" "agenda agenda agenda controls"}body.phone.tablet #hud .agenda-chip{max-width:240px;font-size:12px}body.phone.tablet #hud #firmAgenda #status{max-width:120px;font-size:11px}body.phone.tablet .handbook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.phone.tablet .decor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(prefers-reduced-motion:reduce){#endDayPrompt{animation:none}}
#panel[data-kind="reports"] .day-receipt{font-family:ui-monospace,'Courier New',monospace;color:#5e5135}#panel[data-kind="reports"] .receipt-days{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:2px 0 12px}#panel[data-kind="reports"] .receipt-days button{min-height:38px;font-size:14px;padding:8px 12px;margin:0;flex-shrink:0;border-radius:6px}#panel[data-kind="reports"] .receipt-title{display:flex;align-items:center;gap:13px;padding:14px 0 18px;border-bottom:2px dashed #bfaa79}#panel[data-kind="reports"] .receipt-title>i{display:grid;place-items:center;width:52px;height:56px;background:#e9d8a9;border:2px solid #b9a16b;border-radius:6px;flex-shrink:0}#panel[data-kind="reports"] .receipt-title>i .game-icon{width:29px;height:32px}#panel[data-kind="reports"] .receipt-title>div{min-width:0;flex:1}#panel[data-kind="reports"] .receipt-title small{display:block;font-size:12px;letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#panel[data-kind="reports"] .receipt-title h2{font-size:27px;margin:6px 0 0}#panel[data-kind="reports"] .receipt-reputation{font-size:13px;display:flex;align-items:center;gap:6px;color:#647b48;white-space:nowrap}#panel[data-kind="reports"] .receipt-reputation .game-icon{width:17px;height:17px}#panel[data-kind="reports"] .receipt-summary{gap:12px;margin:18px 0 24px}#panel[data-kind="reports"] .receipt-summary>div{border:2px solid #c5b17e;border-radius:7px;background:#f2e7c8;box-shadow:inset 0 0 0 3px #fff8dd;padding:16px 14px}#panel[data-kind="reports"] .receipt-summary span{display:flex;align-items:center;gap:8px;font-size:14px}#panel[data-kind="reports"] .receipt-summary span .game-icon{width:20px;height:20px}#panel[data-kind="reports"] .receipt-summary b{font-size:28px;margin-top:10px;display:block;font-variant-numeric:tabular-nums}#panel[data-kind="reports"] .receipt-summary .positive{background:#e8edce}#panel[data-kind="reports"] .receipt-summary .negative{background:#f0dacc}#panel[data-kind="reports"] .receipt-heading{display:flex;align-items:center;gap:8px;font-size:18px;margin:20px 0 14px}#panel[data-kind="reports"] .receipt-heading .game-icon{width:22px;height:22px}#panel[data-kind="reports"] .receipt-costs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}#panel[data-kind="reports"] .receipt-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #c3b180;border-radius:6px;background:#fcf3dc;min-width:0}#panel[data-kind="reports"] .receipt-row>i{width:36px;height:36px;display:grid;place-items:center;background:#e9dfbc;border:1px solid #c5b583;border-radius:5px;color:#7d8053}#panel[data-kind="reports"] .receipt-row .game-icon{width:24px;height:24px}#panel[data-kind="reports"] .receipt-row strong{font-size:15px;line-height:20px;display:block}#panel[data-kind="reports"] .receipt-row small{font-size:10px;line-height:15px;display:block;color:#8b7e5e;margin-top:3px}#panel[data-kind="reports"] .receipt-row>b{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}#panel[data-kind="reports"] .receipt-balance{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:18px;margin-top:23px;background:#e3e8c5;border:2px solid #a5ad75;border-radius:8px;box-shadow:inset 0 0 0 3px #f6f5da}#panel[data-kind="reports"] .receipt-balance .game-icon{width:28px;height:28px}#panel[data-kind="reports"] .receipt-balance>span{font-size:15px}#panel[data-kind="reports"] .receipt-balance small{display:block;font-size:11px;margin-top:5px}#panel[data-kind="reports"] .receipt-balance strong{font-size:28px}#panel[data-kind="reports"] .receipt-loan{margin-top:13px}#panel[data-kind="reports"] .receipt-details{margin-top:16px;padding:12px;border:1px solid #baa576;border-radius:7px;background:#f4e9ca}#panel[data-kind="reports"] .receipt-details summary{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:bold;cursor:pointer;min-height:28px}#panel[data-kind="reports"] .receipt-details summary .game-icon{width:20px;height:20px}#panel[data-kind="reports"] .receipt-details[open] summary{margin-bottom:12px}#panel[data-kind="reports"] .receipt-details p{font-size:12px;line-height:18px}
body.phone #panel[data-kind="reports"] .receipt-title{gap:8px;padding:10px 0 12px}body.phone #panel[data-kind="reports"] .receipt-title>i{width:35px;height:40px}body.phone #panel[data-kind="reports"] .receipt-title>i .game-icon{width:23px;height:25px}body.phone #panel[data-kind="reports"] .receipt-title small{font-size:8px}body.phone #panel[data-kind="reports"] .receipt-title h2{font-size:19px}body.phone #panel[data-kind="reports"] .receipt-reputation{font-size:9px;gap:3px}body.phone #panel[data-kind="reports"] .receipt-reputation .game-icon{width:12px;height:12px}body.phone #panel[data-kind="reports"] .receipt-summary{gap:5px;margin:12px 0 17px}body.phone #panel[data-kind="reports"] .receipt-summary>div{padding:10px 6px}body.phone #panel[data-kind="reports"] .receipt-summary span{font-size:9px;gap:3px;line-height:13px;flex-wrap:wrap}body.phone #panel[data-kind="reports"] .receipt-summary span .game-icon{width:14px;height:14px}body.phone #panel[data-kind="reports"] .receipt-summary b{font-size:17px;line-height:22px;margin-top:5px;overflow-wrap:anywhere}body.phone #panel[data-kind="reports"] .receipt-heading{font-size:13px;gap:5px;margin:14px 0 10px}body.phone #panel[data-kind="reports"] .receipt-costs{grid-template-columns:1fr;gap:7px}body.phone #panel[data-kind="reports"] .receipt-row{grid-template-columns:30px minmax(0,1fr) auto;gap:7px;padding:8px}body.phone #panel[data-kind="reports"] .receipt-row>i{width:29px;height:30px}body.phone #panel[data-kind="reports"] .receipt-row .game-icon{width:20px;height:20px}body.phone #panel[data-kind="reports"] .receipt-row strong{font-size:12px;line-height:17px}body.phone #panel[data-kind="reports"] .receipt-row small{font-size:9px;line-height:13px}body.phone #panel[data-kind="reports"] .receipt-row>b{font-size:13px}body.phone #panel[data-kind="reports"] .receipt-balance{grid-template-columns:27px minmax(0,1fr);padding:12px;gap:7px;margin-top:15px}body.phone #panel[data-kind="reports"] .receipt-balance>span{font-size:12px}body.phone #panel[data-kind="reports"] .receipt-balance small{font-size:9px}body.phone #panel[data-kind="reports"] .receipt-balance strong{grid-column:2;font-size:22px}body.phone #panel[data-kind="reports"] .receipt-details{padding:9px}body.phone #panel[data-kind="reports"] .receipt-details summary{font-size:12px;min-height:35px}body.phone #panel[data-kind="reports"] .receipt-days button{min-height:44px;font-size:12px}
#mainAction.boosted{padding-top:21px;box-shadow:0 8px #ab6b27,0 12px 0 3px #604a31,0 0 30px #f4de65aa}#mainAction.boosted:before{content:attr(data-boost-label);position:absolute;right:20px;top:5px;font:700 11px/14px ui-monospace,'Courier New',monospace;background:#6c7546;color:#fff4c4;padding:2px 8px;border:1px solid #eadd9a;border-radius:5px;pointer-events:none}body.phone #mainAction.boosted{padding-top:15px}body.phone #mainAction.boosted:before{font-size:8px;line-height:10px;right:13px;top:3px;padding:1px 5px}

.manager-portrait{float:right;width:44px;height:66px;object-fit:contain;image-rendering:pixelated;margin:0 0 6px 8px}.manager-grid .team-card{min-height:210px}

body:not(.phone){background:radial-gradient(ellipse at 50% 35%,#68745d,#34473c 78%)}body:not(.phone) #game{border:3px solid #9b926a;border-radius:18px;box-shadow:0 24px 80px #13251e88;isolation:isolate}

.avatar-templates{grid-template-columns:repeat(4,minmax(0,1fr))}.avatar-gender button{min-width:110px}.avatar-gender .chosen{outline:2px solid #91a66a}body.phone .avatar-templates{grid-template-columns:repeat(2,minmax(0,1fr))}

.presence-footer{display:flex;flex-direction:column;gap:5px;margin-top:20px;padding:13px 0 0;border-top:1px solid #b9ad83;color:#65734e}.presence-footer strong{font-size:14px!important}.presence-footer small{font-size:10px;opacity:.85}

.achievement-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.achievement-rewards .card{margin:0}.achievement-group{border:1px solid #b9ad83;border-radius:8px;margin:12px 0;background:#f7efda}.achievement-group summary{padding:13px;font-weight:bold;cursor:pointer;color:#65734e}.achievement-row{display:grid;grid-template-columns:25px minmax(0,1fr) 55px;gap:10px;align-items:center;padding:12px;border-top:1px solid #d9ceac}.achievement-row .game-icon{width:22px;height:22px}.achievement-row small{display:block;margin-top:4px;color:#8a7c5c;font-size:11px}.achievement-row.done{background:#e8edcf}.achievement-row>b{text-align:right;font-size:12px}.achievement-row strong{font-size:14px}#identity.achievement-gold #portrait{border:3px solid #e4bf54;border-radius:10px;box-shadow:0 0 10px #caa34a88;background:#f6e8b5}body.phone .achievement-row{gap:6px;padding:9px;grid-template-columns:20px minmax(0,1fr) 43px}body.phone .achievement-row strong{font-size:12px!important}body.phone .achievement-row small{font-size:10px!important}body.phone .achievement-rewards{gap:7px}body.phone .achievement-rewards h3{font-size:14px!important}body.phone .achievement-rewards p{font-size:12px!important}

body.phone.tablet #hud #firmAgenda #status{flex:0 0 190px;min-width:170px;max-width:210px;height:36px;display:flex;align-items:center;justify-content:flex-end;gap:10px;overflow:visible;padding-right:8px}body.phone.tablet #hud .hud-energy{font-size:11px;gap:5px;flex-shrink:0}body.phone.tablet #hud .hud-energy .game-icon{width:15px;height:15px;flex:0 0 15px}body.phone.tablet #hud .hud-energy .energy-track{width:58px;flex:0 0 58px}

body.phone:not(.tablet) #hud #firmAgenda #status{min-width:64px;max-width:74px;padding:0;flex-shrink:0}body.phone:not(.tablet) .hud-energy .energy-label,body.phone:not(.tablet) .hud-energy .game-icon{display:none}body.phone:not(.tablet) #hud .hud-energy{font-size:9px;gap:3px}body.phone:not(.tablet) #hud .hud-energy .energy-track{width:28px;flex:0 0 28px}

body.phone.tablet #hud #status .hud-energy{display:flex;flex-direction:row;align-items:center;height:18px;min-height:0;gap:5px;white-space:nowrap}body.phone.tablet #hud #status .hud-energy>.game-icon{display:block;width:15px;height:15px;flex:0 0 15px}body.phone.tablet #hud #status .hud-energy>.energy-label{font-size:11px;line-height:14px;flex:0 0 auto}body.phone.tablet #hud #status .hud-energy>b{font-size:11px;line-height:14px;flex:0 0 auto}body.phone.tablet #hud #status .hud-energy>.energy-track{height:7px;min-height:7px;max-height:7px;flex:0 0 58px}body.phone:not(.tablet) #hud #status .hud-energy{flex-direction:row;align-items:center;height:14px;min-height:0}body.phone:not(.tablet) #hud #status .hud-energy>.energy-track{height:5px;min-height:5px;max-height:5px}

#panel[data-kind="commodities"] .commodity-cast,
#panel[data-kind="commodities"] .commodity-stock{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:10px;margin:14px 0}
#panel[data-kind="commodities"] .commodity-cast>div,
#panel[data-kind="commodities"] .commodity-stock>article{display:grid;align-content:start;gap:4px;padding:10px;border:1px solid #a89d74;border-radius:10px;background:#e9e7ce}
#panel[data-kind="commodities"] .commodity-cast>div{justify-items:center;text-align:center}
#panel[data-kind="commodities"] .commodity-cast img{width:42px;height:64px;object-fit:contain;image-rendering:pixelated}
#panel[data-kind="commodities"] .commodity-stock :is(h3,p){margin:0;overflow-wrap:anywhere}
#panel[data-kind="commodities"] .commodity-stock button{margin-top:5px}

#eisenhafen-entry{display:none}
body.phone #eisenhafen-entry:not([hidden]){
 position:absolute;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:8;
 display:block;min-height:42px;padding:8px 12px;color:#fff0bd;background:#294738;
 border:2px solid #bc9f63;border-radius:7px;box-shadow:0 3px #182e24;font-family:TD Pixel,monospace;font-size:12px;
}
body.phone.landscape #eisenhafen-entry:not([hidden]){bottom:72px}

#panel[data-kind="questpath"] .quest-path-intro{display:flex;justify-content:space-between;gap:8px}
#panel[data-kind="questpath"] :is(.quest-path-list,.quest-steps){display:grid;gap:8px;padding:0;margin:12px 0;list-style:none}
#game #panel[data-kind="questpath"] .quest-path-entry{display:grid;grid-template-columns:2em minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;width:100%;min-height:50px;padding:9px 12px;border-radius:6px;background:#ede6cb;border:1px solid #ac9f75;color:#314638;box-shadow:0 2px #a69b73}
#game #panel[data-kind="questpath"] .quest-path-entry.current{border-color:#7c954c;background:#e0e9c3;box-shadow:0 2px #7c954c}
.quest-path-entry i{font-style:normal;color:#657b43}.quest-path-entry small{display:block;margin-top:3px}
.quest-step{padding:10px;border:1px solid #baa97e;border-radius:6px;background:#eee7cb}
.quest-step.done{border-color:#9aa778;background:#e9ecd5}
.quest-step>div{display:grid;grid-template-columns:1.4em minmax(0,1fr) auto;align-items:center;gap:6px}
.quest-step p{margin:5px 0;overflow-wrap:anywhere}.quest-step>div b{white-space:nowrap}

#game #panel .mine-pet-default{display:grid;grid-template-columns:65px minmax(0,1fr);gap:12px;align-items:center}
.mine-pet-default img,.mole-skin{width:64px;height:64px;image-rendering:pixelated;object-fit:contain}
.mole-skin{display:block;margin:auto;background:#304638;border:1px solid #9f8c5f;border-radius:5px;padding:4px}

#game #panel[data-kind="profile"]{width:min(520px,calc(100% - 24px))}
#game #panel .profile-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;align-items:center;padding:14px;background:#e6e9cf;border:1px solid #b0ad80;border-radius:9px}
#game #panel .profile-card>img{width:82px;height:96px;object-fit:contain;background:#f5edd2;border:1px solid #b7a371;border-radius:7px}
#game #panel .profile-card h2{margin:0 0 5px;overflow-wrap:anywhere}
#game #panel .profile-card .brand-mark{max-width:100%}
#game #panel .profile-card .brand-mark strong{overflow-wrap:anywhere}
#game #panel .profile-stats{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:7px;font-size:15px;font-weight:bold;color:#3c5744}
#game #panel .profile-routes{display:grid;gap:9px;margin-top:13px}
#game #panel .profile-routes button{display:grid;grid-template-columns:26px minmax(0,1fr) 15px;gap:10px;align-items:center;text-align:left;margin:0;padding:9px 12px;min-height:55px}
#game #panel .profile-routes button strong,#game #panel .profile-routes button small{display:block}
#game #panel .profile-routes button strong{font-size:17px}
#game #panel .profile-routes button small{font-size:13px;margin-top:2px}
