:root{--bg:#f4f1e7;--paper:#fffdf5;--ink:#243e39;--muted:#657466;--line:#dfe4d6;--green:#3b835d;--coral:#ed7954;--amber:#eeb84e;--blue:#438eb8;--red:#c54c40;--shadow:0 16px 70px #1f3d3730}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg);font-size:15px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}button:not(:disabled){transition:background .15s,box-shadow .15s,transform .15s,color .15s}button:not(:disabled):active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e69639;outline-offset:3px}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Manrope',sans-serif}h1,h2{font-weight:800;letter-spacing:-.8px}h3{font-weight:750}p{line-height:1.6}#app{height:100dvh}.rail{position:fixed;inset:0 auto 0 0;width:82px;background:#fffdf7;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;z-index:10}.brand-symbol{height:43px;width:43px;display:grid;place-items:center;border-radius:13px;background:var(--ink);color:#fffdf4;margin:18px 0 30px;transform:rotate(-5deg)}.brand-symbol .icon{width:27px;height:27px;transform:rotate(5deg)}.rail nav{display:grid;gap:9px;width:100%;padding:0 9px}.nav-item{width:100%;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:11px;color:#70816c;font-size:11px;font-weight:600}.nav-item .icon{width:23px;height:23px}.nav-item:hover{background:#edf1e1}.nav-item.active{background:#dceacf;color:#316a43}.rail-guide{margin-top:auto;margin-bottom:17px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#778773;font-size:11px;min-height:46px}.game-shell{margin-left:82px;height:100dvh;display:flex;flex-direction:column;min-width:0}.topbar{height:70px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 26px;gap:28px}.wordmark{font-family:'Manrope',sans-serif;font-size:27px;font-weight:800;letter-spacing:-1.5px;white-space:nowrap}.wordmark>span{color:var(--coral)}.wordmark small{display:inline-block;border-left:1px solid #d1d8c6;margin-left:19px;padding-left:20px;font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:1.4px;font-weight:650;vertical-align:middle;color:#788670}.score-chip{display:flex;align-items:center;gap:12px;margin-left:auto;padding:8px 15px;background:#e9edd9;border:1px solid #dce3c9;border-radius:9px}.score-chip>span{font-size:9px;font-weight:700;letter-spacing:1px;color:#6b8059}.score-chip>strong{font-family:'Manrope',sans-serif;font-size:19px;font-weight:800;color:#4d7041;letter-spacing:-.5px}.top-actions{display:flex;align-items:center;gap:8px}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:9px;color:#6e8168;flex-shrink:0;position:relative}.icon-button:hover{background:#e7ecdc}.game-main{padding:14px 24px 9px;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.status-strip{display:flex;align-items:center;gap:22px;min-height:49px;flex-shrink:0}.day-chip{display:flex;align-items:center;gap:11px}.sun-disc{background:#f4e2a8;color:#a4802d;display:grid;place-items:center;width:41px;height:41px;border-radius:50%}.day-chip>div{display:flex;flex-direction:column;gap:3px}.day-chip strong{font-size:15px;letter-spacing:.3px}.day-chip strong small{font-size:12px;color:#819176;font-weight:500}.day-chip>div>span{font-size:12px;color:#697d60}.market-chip{display:flex;align-items:center;gap:9px;color:#64805d;font-size:12px;padding-left:20px;border-left:1px solid #d8dfcb}.market-chip>.icon{color:#7a9d65}.market-chip small{display:block;font-size:10px;color:#7b8e6b;margin-top:3px}.reputation-chip{display:flex;align-items:center;gap:7px;margin-left:auto;padding:8px 13px;background:#f0e7c9;border:1px solid #e8dbb1;border-radius:9px}.reputation-chip>.icon,.reputation-chip>span>.icon{color:#b78e34;width:17px;height:17px}.reputation-chip>strong{font-size:16px;color:#856f3e}.reputation-chip strong small{font-size:11px;font-weight:400;color:#aa975d}.reputation-chip>small{font-size:11px;color:#8f7f4d}.button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:43px;padding:0 18px;border-radius:10px;font-size:14px;font-weight:650;white-space:nowrap}.button .icon{width:18px;height:18px}.button.coral{background:#eb7a55;color:#fffefa;box-shadow:0 3px 0 #be5a3c30}.button.coral:hover{background:#df6b46;box-shadow:0 4px 12px #dd73432a}.button.green{background:#3f8059;color:white}.button.green:hover{background:#346f4b}.button.light{background:#eaf0df;color:#617c4f}.button.light:hover{background:#dce8cb}.button.red{background:#c65747;color:#fff9ee}.button.danger-light{background:#f8e6dc;color:#a8523b;font-size:12px;min-height:37px;padding:0 12px}.button.full{width:100%;margin-top:21px}.day-button{min-width:133px}.hud{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;flex-shrink:0}.hud-card{text-align:left;background:var(--paper);border:1px solid #dfe4d5;border-radius:12px;padding:13px 17px;min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:5px}.hud-card:hover{box-shadow:0 3px 12px #425e3210;background:#fff}.hud-card>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:#60745c}.hud-card>span .icon{width:16px;height:16px}.hud-card>strong{font-family:'Manrope',sans-serif;font-size:28px;font-weight:800;letter-spacing:-1px;line-height:1.2}.hud-card>strong small{font-family:'DM Sans',sans-serif;font-size:14px;letter-spacing:0;font-weight:400;color:#7e8a6f}.hud-card>small{font-size:11px;color:#738469}.hud-card.cash{border-top:3px solid #7cab6d}.hud-card.debt{border-top:3px solid #df9b69}.hud-card.energy{border-top:3px solid #e6bf55}.hud-card.leads{border-top:3px solid #77a7bb}.hud-card.energy>strong{color:#9e833b}.hud-card.leads>strong{color:#4c8196}.hud-card.debt>strong{color:#a16f46}.hud-card.debt.danger{background:#fff0e8;border-color:#eab69e}.hud-card.debt.danger>strong{color:#c34e38}.debt-track{position:absolute;bottom:0;left:0;right:0;height:3px;background:#f2e7d8}.debt-track b{height:100%;display:block;background:#d87d54;transition:width .5s}.town-card{flex:1;min-height:0;border:1px solid #d6dfc9;border-radius:15px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 5px 20px #687d3c09;background:#edf3da}.town-title{display:flex;align-items:center;justify-content:space-between;padding:0 19px;height:47px;flex-shrink:0;border-bottom:1px solid #dee6ce;background:#fbfcf1}.town-title>div{display:flex;align-items:center;gap:9px}.town-title h1{font-size:17px;letter-spacing:-.4px}.town-tag{font-size:8px;letter-spacing:1.2px;font-weight:600;color:#859574;margin-left:9px}.live-dot{width:7px;height:7px;background:#70a95f;border-radius:50%;box-shadow:0 0 0 4px #e8f1d9;animation:live-glow 3s ease-in-out infinite}.location-link{display:flex;align-items:center;gap:6px;font-size:12px;color:#617b51;min-height:38px;padding:0 6px}.location-link .icon{width:15px;height:15px}.map-stage{flex:1;min-height:0;position:relative;isolation:isolate;background:radial-gradient(ellipse at 52% 53%,#d6e7ae 0%,#e6efc9 50%,#f2f5e3 100%);overflow:hidden}#world{position:absolute;inset:0}#world>svg{width:100%;height:100%;display:block}.map-topline{position:absolute;left:17px;right:17px;top:14px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;gap:15px}.next-closing{display:flex;align-items:center;gap:10px;background:#fffef7e8;border:1px solid #dce5c8;padding:10px 13px;border-radius:9px;box-shadow:0 3px 10px #445d3310;max-width:275px}.next-closing>.icon{width:23px;height:23px;color:#8aa56f}.next-closing span{display:block;font-size:9px;font-weight:600;letter-spacing:.6px;color:#718964}.next-closing strong{display:block;font-size:13px;font-weight:650;margin-top:5px;color:#4e6e46}.next-closing strong small{font-size:11px;font-weight:400;margin-left:5px;color:#77906a}.event-inbox{pointer-events:auto;display:flex;align-items:center;gap:9px;background:#f9bd53;color:#694e1e;padding:10px 13px;border:1px solid #e4ac45;border-radius:10px;font-size:12px;font-weight:650;animation:phone-ring 3s infinite;box-shadow:0 4px 15px #b08c3428}.event-inbox .icon{width:17px;height:17px}.event-inbox b{background:#fff3ce;padding:3px 6px;border-radius:50%;font-size:10px}[hidden]{display:none!important}.welcome-card{position:absolute;right:24px;top:28%;width:260px;background:#fff8e6f0;border:1px solid #ebdfbb;border-radius:15px;padding:23px;box-shadow:0 7px 30px #657a3420;backdrop-filter:blur(5px);transform:rotate(1deg)}.welcome-kicker{font-size:9px;font-weight:700;letter-spacing:1.1px;color:#9b8a52}.welcome-card h2{font-size:26px;line-height:1.2;letter-spacing:-.9px;margin:12px 0}.welcome-card p{font-size:13px;color:#7a825b;line-height:1.6}.welcome-card .button{margin-top:17px;font-size:12px;min-height:40px;padding:0 13px;width:100%;justify-content:space-between}.player-tag{position:absolute;left:17px;bottom:15px;display:flex;align-items:center;gap:9px;background:#fffef6ed;padding:10px 13px;border:1px solid #d8e2c3;border-radius:10px;box-shadow:0 3px 10px #4d613310;pointer-events:none}.player-icon{background:#dbeaf4;color:#4f91b8;width:30px;height:33px;display:grid;place-items:center;border-radius:8px}.player-icon>.icon{width:18px;height:18px}.player-tag strong{font-size:12px;font-weight:650;display:block}.player-tag>div>span{font-size:10px;display:block;color:#7a8b67;margin-top:3px}.zoom-controls{position:absolute;bottom:15px;right:17px;display:flex;background:#fffef3;border:1px solid #d5dfbf;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #3a592a0b}.zoom-controls button{width:39px;height:37px;display:grid;place-items:center;color:#72915f}.zoom-controls button:first-child{border-right:1px solid #dce5cc}.zoom-controls button:hover{background:#e4edcf}.zoom-controls .icon{width:17px;height:17px}.action-dock{background:#fffdf4;display:flex;align-items:stretch;justify-content:center;border-top:1px solid #dce4cd;flex-shrink:0;min-height:61px;padding:7px 12px;gap:9px;z-index:2}.action-dock>button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;border-radius:9px;font-size:12px;font-weight:600;padding:0 9px;max-width:190px}.action-dock>button:hover{background:#f2f3e4}.dock-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px}.dock-icon .icon{width:19px;height:19px}.dock-icon.amber{background:#f8e5b9;color:#a78337}.dock-icon.blue{background:#dcebf2;color:#4c8aa2}.dock-icon.violet{background:#e9dff3;color:#9574ac}.dock-icon.coral{background:#f9e1ce;color:#b98454}.dock-icon.green{background:#ddecce;color:#7c9b56}.bottom-line{display:flex;align-items:center;gap:15px;min-height:18px;flex-shrink:0;font-size:10px;color:#738666;line-height:1.4}#latest-news{display:flex;align-items:center;gap:7px;min-width:0;flex:1;overflow:hidden}#latest-news .icon{width:12px;height:12px}#latest-news span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.keyboard-hint{white-space:nowrap;color:#849773;font-size:10px}.keyboard-hint kbd{font-family:inherit;font-weight:700;font-size:9px;color:#688450;padding:1px 3px;background:#e8eddc;border:1px solid #d6dfc4;border-radius:3px}#save-status{font-size:9px;color:#7d9768;white-space:nowrap}.weather-overlay{position:absolute;inset:0;pointer-events:none}.day-transition .weather-overlay{animation:daylight .7s}.floating-reward{position:absolute;left:50%;top:42%;transform:translateX(-50%);color:white;background:#46965a;padding:15px 23px;border:2px solid #e6fac9;box-shadow:0 8px 30px #47773750;border-radius:13px;font-size:22px;font-weight:800;white-space:nowrap;z-index:5;animation:reward-pop 2.3s ease-out forwards}.disaster-shake{animation:shake .6s ease-in-out}
.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#153a2f78;backdrop-filter:blur(5px)}.modal{background:#fffdf6;width:min(600px,100%);max-height:calc(100dvh - 40px);border:1px solid #fff9e3;border-radius:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;animation:modal-in .19s ease-out}.modal.wide{width:min(840px,100%)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 27px 20px;border-bottom:1px solid #e4e8d9;flex-shrink:0}.modal-heading h2{font-size:24px;line-height:1.2;letter-spacing:-.75px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#788d62;margin-bottom:9px}.modal-heading>.icon-button{background:#f0f3e7;width:36px;height:36px}.modal-content{padding:23px 27px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#b9c8a2 transparent}.modal-lead{color:#6e805e;font-size:14px;line-height:1.65;margin-bottom:19px}.modal-footer{padding:16px 27px;border-top:1px solid #e0e6d2;background:#f7f9ec;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0}.modal-footer>span{font-size:12px;color:#758964}.section-label{font-size:14px;margin:24px 0 15px;color:#57794b}.location-balance{display:flex;align-items:center;gap:22px;font-size:13px;color:#638353;border-bottom:1px solid #e0e8d4;padding-bottom:17px;margin-bottom:18px}.location-balance>span{display:flex;align-items:center;gap:7px}.location-balance .icon{width:17px;height:17px}.text-link{font-size:12px;text-decoration:underline;text-underline-offset:4px;color:#648a50;margin-left:auto}.action-list{display:grid;gap:10px}.action-card{text-align:left;border:1px solid #dbe5ca;border-radius:12px;display:flex;align-items:flex-start;gap:14px;padding:17px 15px;background:#fcfef5}.action-card:not(:disabled):hover{border-color:#96b27d;background:#f0f7e3;box-shadow:0 3px 10px #68863d12}.action-card.risky{border-color:#e8c7af;background:#fff7ec}.action-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#e5f0d4;color:#80a355}.action-icon .icon{width:22px;height:22px}.action-body{flex:1;min-width:0}.action-title{display:flex;align-items:center;justify-content:space-between;gap:9px;font-weight:700;font-size:15px}.action-title em{font-style:normal;font-size:9px;color:#8b863f;border:1px solid #e5dfb6;background:#f6f0cf;border-radius:4px;padding:3px 5px;white-space:nowrap}.action-description{display:block;font-size:12px;line-height:1.6;color:#72885c;margin-top:5px}.action-reason{font-size:12px;line-height:1.5;color:#a17241;display:block;margin-top:7px}.action-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.action-meta b{font-size:10px;font-weight:500;color:#68934b;background:#edf4df;padding:4px 6px;border-radius:4px}.action-meta b.risk-label{color:#bb6745;background:#f8e9d7}.action-card>.icon{width:16px;height:16px;color:#96ae7c;margin-top:10px}.location-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.location-grid>button{border:1px solid #dce6cf;background:#fafdf2;padding:15px 13px;border-radius:10px;display:flex;align-items:center;gap:11px;text-align:left;min-height:69px}.location-grid>button:hover{background:#eef5e0;border-color:#9db985}.location-grid>button>span{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#e7f0d8;color:#8aa65e}.location-grid strong{font-size:13px;font-weight:600;flex:1}.location-grid>button>.icon{width:15px;height:15px;color:#95a97a}.panel-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.panel-metric{border:1px solid #dbe7cb;background:#eff6e3;border-radius:11px;padding:21px 13px;text-align:center;display:flex;flex-direction:column;gap:8px}.panel-metric strong{font-family:'Manrope',sans-serif;color:#60894a;font-size:28px;font-weight:800;letter-spacing:-.75px}.panel-metric span{font-size:12px;color:#718f5b}.panel-metric.orange{background:#fff3da;border-color:#eddfb5}.panel-metric.orange strong{color:#b38a3e}.panel-metric.blue{background:#e7f1f6;border-color:#cbdfe8}.panel-metric.blue strong{color:#547f97}.panel-metric.red{background:#fce8df;border-color:#eec1aa}.panel-metric.red strong{color:#b85943}.info-banner{display:flex;align-items:flex-start;gap:12px;background:#eff4e0;border:1px solid #e0e9cd;padding:15px;border-radius:10px;margin:20px 0;color:#73934e}.info-banner>.icon{width:20px;height:20px;margin-top:2px}.info-banner p{font-size:13px;color:#69824e}.shortcut-list{display:grid;gap:10px}.shortcut-card{display:flex;align-items:center;gap:13px;text-align:left;padding:17px;border:1px solid #dfe7d1;border-radius:11px;background:#fcfdf5}.shortcut-card:hover{background:#f0f6e4;border-color:#9cb681}.shortcut-card>span{background:#eaf1d9;color:#8da861;border-radius:10px;width:41px;height:41px;display:grid;place-items:center;flex-shrink:0}.shortcut-card>div{flex:1}.shortcut-card strong{font-size:14px;font-weight:650;display:block}.shortcut-card small{font-size:12px;line-height:1.5;color:#7b9164;display:block;margin-top:5px}.shortcut-card>.icon{width:16px;height:16px;color:#95ad77}.detail-row{display:flex;align-items:center;justify-content:space-around;gap:14px;margin-top:25px;padding-top:22px;border-top:1px solid #e1e8d5}.detail-row span{font-size:12px;color:#7c9067}.detail-row strong{font-size:21px;display:block;margin-top:8px;color:#5f804a}.growth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.growth-grid .shortcut-card{padding:17px 14px;align-items:flex-start}.growth-grid .shortcut-card>span{width:35px;height:35px}.growth-grid .shortcut-card strong{font-size:13px}.growth-grid .shortcut-card small{font-size:12px}.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:15px 0}.skills-grid>div{background:#f2f6e8;border:1px solid #e0e8d0;padding:15px;border-radius:10px;min-width:0}.skills-grid span{font-size:12px;text-transform:capitalize;color:#70895a}.skills-grid strong{display:block;font-size:25px;font-weight:700;margin-top:7px;color:#65854e}.skills-grid strong small{font-size:12px;font-weight:400;color:#8ba173}.skills-grid i{height:5px;border-radius:4px;background:#e0e9cd;display:block;margin-top:12px;overflow:hidden}.skills-grid b{height:100%;display:block;background:#8dad64}.owned-list{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 0}.owned-list>span{font-size:12px;color:#6b8b50;background:#eaf2dc;padding:8px 10px;border-radius:7px;display:flex;align-items:center;gap:5px}.owned-list .icon{width:14px;height:14px}.owned-list p{font-size:13px;color:#82966b}.deal-overview{display:flex;align-items:center;gap:28px;justify-content:center;padding:7px 0 23px;font-size:13px;color:#7b8d66}.deal-overview strong{font-size:22px;font-weight:750;color:#587a45;margin-right:4px}.segmented{display:flex;padding:4px;background:#edf2df;border:1px solid #dde7cb;border-radius:10px;gap:3px}.segmented>button{flex:1;padding:9px 8px;border-radius:7px;font-size:12px;font-weight:600;color:#7a9261}.segmented>button.selected{background:#fffefa;box-shadow:0 2px 6px #65783b15;color:#416d35}.list-caption{display:flex;align-items:center;gap:6px;font-size:11px;color:#879b73;margin:15px 0 10px}.list-caption .icon{width:13px;height:13px}.deals-list{display:grid;gap:9px}.deal-card{display:flex;align-items:center;gap:15px;padding:16px;border:1px solid #dfe7d0;border-radius:10px;background:#fcfdf7}.deal-date{width:47px;flex-shrink:0;background:#e9f0d9;border:1px solid #dce6c8;border-radius:8px;text-align:center;padding:8px 0}.deal-date strong{font-size:23px;line-height:1;display:block;color:#6b8e51}.deal-date span{font-size:8px;letter-spacing:1px;display:block;margin-top:5px;color:#8ba173}.deal-info{flex:1;min-width:0}.deal-info h3{font-size:14px}.deal-info p{font-size:11px;color:#7a9066;margin-top:4px}.deal-info>span{display:block;font-size:11px;color:#99a47d;margin-top:6px}.deal-amount{text-align:right;display:flex;flex-direction:column;gap:7px;align-items:flex-end}.deal-amount strong{font-size:17px;font-weight:700;color:#5c7c47}.status-pill{font-size:9px;font-weight:600;text-transform:capitalize;padding:4px 6px;border-radius:4px;background:#edf1df;color:#839667}.status-pill.active{background:#f7e6b9;color:#a1833b}.status-pill.closed{background:#dceccc;color:#638d42}.status-pill.collapsed{background:#f8dfd1;color:#b77850}.pager{display:flex;gap:6px}.pager .icon-button{background:#e9f0dc;font-size:24px;width:35px;height:32px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:33px 22px}.empty-state>.icon{width:42px;height:42px;color:#9ebd7b;margin-bottom:20px;stroke-width:1.3}.empty-state h3{font-size:19px;margin-bottom:11px}.empty-state p{font-size:13px;color:#809565;max-width:400px;line-height:1.7}.empty-state .button{margin-top:20px;font-size:13px}.budget-box{border:1px solid #cddfba;border-radius:12px;background:#edf5dd;padding:20px;margin-bottom:22px}.budget-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.budget-top h3{font-size:14px;display:flex;align-items:center;gap:7px;color:#5c7e43}.budget-top h3 .icon{width:17px;height:17px}.budget-top>strong{font-size:24px;font-weight:800;letter-spacing:-.6px;color:#4f7938}.budget-top small{font-size:11px;letter-spacing:0;font-weight:400;color:#7c9862;margin-left:4px}input[type=range]{width:100%;height:21px;accent-color:#5d9146;cursor:pointer;margin:5px 0}input[type=range]::-webkit-slider-thumb{cursor:grab}.budget-scale{display:flex;justify-content:space-between;font-size:10px;color:#829b6a;margin-top:4px}.budget-estimate{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding:13px 0;border-top:1px solid #d8e7c3;border-bottom:1px solid #d8e7c3}.budget-estimate strong{font-size:14px;color:#547b3b}.budget-estimate>span{font-size:11px;color:#7c9763}.budget-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.budget-bottom small{font-size:11px;color:#7d9265;line-height:1.6}.budget-bottom .button{min-height:38px;font-size:12px;padding:0 14px}.candidate-list,.agent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.candidate,.agent-card{border:1px solid #dfe7d1;border-radius:12px;background:#fdfef7;padding:18px}.candidate-top{display:flex;align-items:center;gap:12px}.agent-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#e2ebcf;color:#7c975b;font-size:17px;font-weight:750;flex-shrink:0}.candidate-top h3{font-size:15px}.candidate-top p{font-size:11px;line-height:1.6;color:#7e9367;margin-top:4px}.agent-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:19px 0}.agent-stats>span{font-size:9px;color:#85996f}.agent-stats strong{display:block;font-size:18px;color:#63844a;margin-top:6px}.candidate-bottom{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:1px solid #e5ebdb;padding-top:15px}.candidate-bottom>small{font-size:10px;line-height:1.7;color:#84986d}.candidate-bottom .button{font-size:11px;min-height:35px;padding:0 10px}.candidate-bottom .button .icon{width:13px;height:13px}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 21px}.panel-toolbar>span{font-size:12px;color:#7f926b}.panel-toolbar .button{font-size:12px;min-height:37px}.agent-footer{padding-top:12px;border-top:1px solid #e1e8d3;display:flex;align-items:center;justify-content:space-between;gap:12px}.agent-footer>span{font-size:10px;line-height:1.6;color:#7f9468}.agent-card.flagged{background:#fff4e9;border-color:#e2ad8a}.misconduct-alert{display:flex;gap:7px;align-items:center;background:#fae0cd;color:#ab6947;font-size:11px;line-height:1.5;border-radius:6px;margin-top:13px;padding:9px}.misconduct-alert .icon{width:15px;height:15px}.insolvency-meter{background:#fff2e1;border:1px solid #e9d1b1;padding:17px;border-radius:11px;margin-bottom:18px}.insolvency-meter>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#a67b43}.insolvency-meter strong{color:#906f3c}.insolvency-meter i{height:8px;background:#eddfc5;border-radius:5px;margin:14px 0;display:block;overflow:hidden}.insolvency-meter b{height:100%;background:#d77f4c;display:block;border-radius:5px}.insolvency-meter p{font-size:11px;color:#9b8459}.cost-list{display:grid;gap:0;margin-top:4px}.cost-list>div{padding:13px 1px;border-bottom:1px solid #e7eddb;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:#71895d}.cost-list small{font-size:11px;color:#8b9b78;display:block;margin-top:4px}.cost-list strong{font-size:14px;font-weight:650;color:#567c43;white-space:nowrap}.cost-list .cost-total{margin-top:7px;background:#eff5e2;padding:15px;border-radius:9px;border:1px solid #dce8ca}.cost-list .cost-total strong{font-size:22px}.cost-list .negative,.cost-list .negative strong{color:#bc6845}.shortcut-list.compact{display:grid;grid-template-columns:1fr 1fr;margin-top:20px;gap:12px}.shortcut-list.compact .shortcut-card{padding:14px}.shortcut-list.compact .shortcut-card strong{font-size:12px}.shortcut-list.compact .shortcut-card small{font-size:11px}.shortcut-list.compact .shortcut-card>span{width:30px;height:30px}.journal-list{display:grid;gap:19px}.journal-entry{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid #e3ead7;padding-bottom:17px}.journal-symbol{width:33px;height:33px;background:#e6efd6;color:#86a663;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.journal-symbol .icon{width:16px;height:16px}.journal-symbol.warning,.journal-symbol.danger{background:#fae7d1;color:#bc8b56}.journal-entry small{font-size:9px;letter-spacing:.8px;color:#93a17c}.journal-entry h3{font-size:14px;margin:5px 0}.journal-entry p{font-size:12px;line-height:1.7;color:#7c9164}.settings-list{display:grid;gap:8px}.settings-list>button{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid #e3ead6;text-align:left;font-size:14px}.settings-list>button>.icon{color:#8ca66d}.settings-list>button>:last-child{margin-left:auto;font-size:12px;color:#65884b}.settings-list>button>.icon:last-child{width:17px;height:17px}.settings-note{font-size:12px;color:#809669;line-height:1.7;margin-top:21px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.guide-grid article>b{font-size:13px;width:32px;height:32px;background:#e9f1d8;border-radius:8px;display:grid;place-items:center;color:#8ca562;margin-bottom:12px}.guide-grid h3{font-size:16px;margin-bottom:9px}.guide-grid p{font-size:13px;color:#7b9262;line-height:1.7}.profile-overview{display:flex;align-items:center;gap:16px;margin-bottom:24px}.profile-overview .agent-avatar{width:58px;height:58px;font-size:25px;background:#ebd9b5;color:#94784a}.profile-overview h3{font-size:17px}.profile-overview p{font-size:12px;color:#8b9b76;margin-top:6px}.setup-steps{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid #e1e9d2}.setup-steps>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#98a786}.setup-steps b{display:grid;place-items:center;width:25px;height:25px;border:1px solid #dbe5ca;border-radius:50%;font-size:11px}.setup-steps>span.active{color:#638548;font-weight:700}.setup-steps>.active b{background:#83a562;color:white;border-color:#83a562}.setup-steps>.done b{color:#72974e;background:#e5efd5}.creation-modal .modal-content{padding-top:21px}.creation-modal .modal-heading h2{font-size:24px}.name-field{display:flex;flex-direction:column;gap:12px;color:#6d8759;font-size:14px;font-weight:500}.name-field input{width:100%;font-size:20px;font-weight:600;border:1px solid #cadcb7;border-radius:11px;background:#f8fced;color:#3d6232;padding:17px;outline-offset:2px}.duration-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 8px}.setup-choice{text-align:left;border:1px solid #dae5c8;border-radius:11px;background:#fbfdf4;padding:20px 16px;position:relative;min-width:0}.setup-choice.selected{background:#eaf4d9;border-color:#87ab62;box-shadow:inset 0 0 0 1px #87ab62}.setup-choice strong{font-size:19px;font-weight:750;letter-spacing:-.4px;color:#4f7340}.setup-choice small{display:block;font-size:12px;color:#7b9665;line-height:1.6;margin-top:8px}.setup-choice i{position:absolute;right:12px;top:11px;font-style:normal;color:#71994c;font-size:14px}.capital-choices{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}.capital-choices .setup-choice{padding:22px 18px}.capital-choices .setup-choice>span{display:flex;align-items:center;gap:10px}.capital-choices .setup-choice strong{font-size:22px}.setup-choice em{font-style:normal;font-size:8px;font-weight:650;color:#a8985f;background:#f2eccf;padding:4px 5px;border-radius:4px;letter-spacing:.5px}.setup-intro{font-size:14px;color:#7f946a}.setup-warning{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:12px;color:#a28951;padding:12px;border-radius:9px;background:#f7efd5}.setup-warning .icon{width:17px;height:17px}.points-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 21px}.points-header>div{display:flex;align-items:center;gap:11px}.points-header>div>strong{background:#e4efce;color:#6b9148;border:1px solid #cfdfb8;width:49px;height:49px;border-radius:12px;display:grid;place-items:center;font-size:25px;font-weight:750}.points-header>div>span{font-size:13px;color:#768d60}.points-header .button{font-size:12px;min-height:38px;padding:0 12px}.points-header .button>.icon{width:16px;height:16px}.allocation-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.allocation-grid article{border:1px solid #dfe8ce;background:#fafdf2;border-radius:11px;padding:18px}.allocation-grid h3{font-size:16px}.allocation-grid p{font-size:12px;color:#829969;margin-top:6px}.point-control{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;background:#eff5e2;border-radius:9px;padding:5px}.point-control button{height:35px;width:39px;display:grid;place-items:center;background:#dbeac4;border:1px solid #cddfb1;color:#6f964a;border-radius:7px}.point-control button:hover{background:#cfe3b1}.point-control button .icon{width:19px;height:19px}.point-control strong{font-size:22px;color:#5c8240;min-width:26px;text-align:center}.setup-tip{font-size:12px;color:#889e6d;text-align:center;margin:21px 0 0}.event-illustration{position:relative;margin:7px auto 24px;width:95px;height:95px;background:#f7e8bb;border:1px solid #e9dba9;border-radius:24px;display:grid;place-items:center;transform:rotate(-6deg)}.event-illustration>div{animation:phone-ring 2.5s infinite}.event-illustration .icon{width:42px;height:42px;color:#b89743;stroke-width:1.3}.event-illustration>span{position:absolute;right:-10px;top:-6px;background:#fff5d6;color:#b98e2b;border:1px solid #e8d9a6;border-radius:50%;width:32px;height:32px;text-align:center;font-size:22px;font-weight:800;line-height:29px;transform:rotate(6deg)}.event-story{font-size:18px;line-height:1.7;color:#5d7350;text-align:center;margin:0 5px 25px}.event-choices{display:grid;gap:12px}.event-choices>button{text-align:left;padding:17px;border:1px solid #dfddbc;border-radius:11px;background:#fcf8e8}.event-choices>button:hover{border-color:#c9b77f;background:#f9f0d3;box-shadow:0 3px 10px #a3843c14}.event-choices strong{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#6b7546}.event-choices strong .icon{width:17px;height:17px;color:#a3a067}.event-choices span{display:block;font-size:12px;color:#9b936c;line-height:1.6;margin-top:7px}.story-event .modal-heading{background:#fff7dd}.story-event .eyebrow{color:#ad914b}.disaster-event.modal{border:2px solid #d77451;background:#fff8ef}.disaster-event .modal-heading{background:#c85843;border-color:#ae4838;color:#fff5e8}.disaster-event .eyebrow{color:#ffdaa6;letter-spacing:2.5px;font-size:11px;font-weight:800}.disaster-event .modal-heading h2{font-size:27px}.event-illustration.disaster{background:#f4cfad;border-color:#eab18c;box-shadow:0 0 0 10px #fae7d4}.event-illustration.disaster .icon{color:#c56b42;width:48px;height:48px}.event-illustration.disaster>span{background:#ce6449;color:#fff5dc;border-color:#bd533c;font-size:24px}.disaster-event .event-story{color:#8a614b}.disaster-event .event-choices>button{background:#fff1de;border-color:#e6c29f}.disaster-event .event-choices strong{color:#96623d}.disaster-event .event-choices span{color:#ad845e}.disaster-event.modal-backdrop{background:#5f221d99}.final-score{background:#eaf3d9;border:1px solid #d5e4bc;border-radius:13px;text-align:center;padding:28px 20px;margin-bottom:19px}.final-score>span{font-size:10px;letter-spacing:1.5px;color:#819d60;font-weight:700}.final-score>strong{font-family:'Manrope',sans-serif;display:block;font-size:49px;letter-spacing:-2px;color:#5d8742;margin:12px 0 10px}.final-score p{font-size:13px;color:#7e9761}.final-score.bankrupt{background:#fae4cf;border-color:#e9bf98}.final-score.bankrupt strong{color:#b36342}.final-score.bankrupt>span,.final-score.bankrupt p{color:#b48457}.final-score+.panel-metrics .panel-metric{padding:15px 9px}.final-score+.panel-metrics .panel-metric strong{font-size:22px}.final-score+.panel-metrics .panel-metric span{font-size:10px}#toast-root{position:fixed;right:23px;bottom:24px;z-index:150;display:flex;align-items:flex-end;flex-direction:column;gap:8px;max-width:min(490px,calc(100vw - 30px));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:11px;background:#346347;color:#f7ffeb;box-shadow:0 8px 30px #2a4e3233;padding:15px 18px;border:1px solid #58865c;border-radius:11px;font-size:13px;line-height:1.65;animation:toast-in .2s ease-out}.toast>.icon{width:18px;height:18px;margin-top:1px}.toast.error{background:#a15f42;border-color:#bd7a50}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes modal-in{from{opacity:0;transform:translateY(13px) scale(.98)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes live-glow{50%{box-shadow:0 0 0 5px #e0edcc}}@keyframes phone-ring{0%,80%,100%{transform:rotate(0)}83%{transform:rotate(-4deg)}86%{transform:rotate(4deg)}89%{transform:rotate(-3deg)}92%{transform:rotate(3deg)}}@keyframes daylight{0%{background:#2a416c00}35%{background:#2b365588}70%{background:#ffe7a066}100%{background:transparent}}@keyframes reward-pop{0%{opacity:0;transform:translate(-50%,15px) scale(.7)}12%,65%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-45px) scale(.96)}}@keyframes shake{10%,50%,90%{transform:translateX(-4px)}30%,70%{transform:translateX(4px)}100%{transform:none}}
@media(min-width:1600px){.game-main{padding:18px 30px 12px;gap:16px}.topbar{height:78px;padding:0 30px}.hud-card{padding:16px 21px}.hud-card>strong{font-size:33px}.hud-card>span{font-size:14px}.hud-card>small{font-size:12px}.town-title{height:52px;padding:0 23px}.town-title h1{font-size:20px}.town-tag{font-size:10px}.action-dock{min-height:70px}.action-dock>button{font-size:14px;max-width:220px}.dock-icon{width:39px;height:39px}.welcome-card{width:300px;padding:29px;right:32px;top:27%}.welcome-card h2{font-size:31px}.welcome-card p{font-size:15px}.welcome-card .button{min-height:45px;font-size:14px}.next-closing{padding:13px 17px}.next-closing strong{font-size:15px}.next-closing span{font-size:10px}.player-tag{padding:12px 16px}.player-tag strong{font-size:14px}.player-tag>div>span{font-size:12px}}
@media(max-width:1100px){.rail{width:72px}.game-shell{margin-left:72px}.topbar{padding:0 20px;gap:17px;height:65px}.wordmark{font-size:25px}.wordmark small{display:none}.score-chip{padding:7px 11px;gap:9px}.score-chip strong{font-size:17px}.score-chip span{font-size:8px}.game-main{padding:12px 18px 8px;gap:10px}.status-strip{gap:16px;min-height:45px}.market-chip{padding-left:15px;font-size:11px}.reputation-chip>small{display:none}.reputation-chip{padding:8px 10px}.hud{gap:9px}.hud-card{padding:11px 13px}.hud-card>strong{font-size:26px}.hud-card>small{font-size:10px}.town-title{height:43px;padding:0 16px}.town-tag{font-size:7px}.map-topline{left:13px;right:13px;top:12px}.next-closing{padding:9px 10px;max-width:230px}.next-closing strong{font-size:12px}.next-closing span{font-size:8px}.welcome-card{width:225px;padding:20px;right:19px;top:27%}.welcome-card h2{font-size:24px}.welcome-card p{font-size:12px}.welcome-card .button{font-size:11px}.action-dock{min-height:58px;padding:6px 8px;gap:4px}.action-dock>button{font-size:11px;padding:0 6px;gap:7px}.dock-icon{width:30px;height:30px}.dock-icon .icon{width:17px;height:17px}.keyboard-hint{font-size:9px}.brand-symbol{margin-bottom:20px}.nav-item{min-height:61px;font-size:10px}.nav-item .icon{width:21px;height:21px}.rail nav{gap:7px}.bottom-line{font-size:9px}.player-tag{left:13px;bottom:12px;padding:8px 10px}.zoom-controls{bottom:12px;right:13px}.zoom-controls button{width:34px;height:34px}}
@media(max-height:750px) and (min-width:701px){.topbar{height:58px}.game-main{padding-top:9px;gap:8px}.status-strip{min-height:40px}.day-chip strong{font-size:13px}.day-chip>div>span{font-size:11px}.sun-disc{height:35px;width:35px}.day-button{min-height:38px;font-size:13px}.hud-card{padding:9px 14px;gap:3px}.hud-card>span{font-size:11px}.hud-card>strong{font-size:24px}.hud-card>small{font-size:10px}.town-title{height:39px}.action-dock{min-height:51px;padding:5px 8px}.dock-icon{width:29px;height:29px}.bottom-line{min-height:14px}.welcome-card{top:26%;width:218px;padding:17px}.welcome-card h2{font-size:23px;margin:9px 0}.welcome-card p{font-size:11px}.welcome-card .button{min-height:35px;margin-top:12px;font-size:11px}.next-closing{padding:7px 10px}.next-closing strong{font-size:11px}.next-closing span{font-size:8px}.brand-symbol{margin:12px 0 20px}.rail nav{gap:3px}.nav-item{min-height:59px}.modal-heading{padding:19px 25px 17px}.modal-content{padding:19px 25px}.modal-footer{padding:13px 25px}.setup-steps{margin-bottom:19px;padding-bottom:14px}.allocation-grid article{padding:14px}.points-header{margin-bottom:15px}.point-control{margin-top:12px}.setup-tip{margin-top:15px}.capital-choices .setup-choice{padding:19px 15px}.duration-choices .setup-choice{padding:18px 14px}}
@media(max-width:800px) and (min-width:701px){.market-chip{display:none}.status-strip{gap:15px}.reputation-chip{margin-left:auto}.hud-card>strong{font-size:23px}.hud-card>strong small{font-size:12px}.hud-card>small{font-size:9px}.hud-card>span{font-size:11px}.welcome-card{width:210px}.town-tag{display:none}.keyboard-hint{display:none}}
@media(max-width:700px){.rail{inset:auto 0 0;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-right:0;border-top:1px solid #d9e3ca;background:#fffef8;z-index:20}.brand-symbol,.rail-guide{display:none}.rail nav{display:flex;gap:4px;padding:4px 6px;height:100%}.nav-item{flex:1;min-width:0;min-height:54px;gap:5px;font-size:10px;padding:4px 1px;border-radius:9px}.nav-item .icon{width:22px;height:22px}.game-shell{margin-left:0;height:calc(100dvh - 64px - env(safe-area-inset-bottom))}.topbar{height:59px;gap:10px;padding:0 16px}.wordmark{font-size:24px}.wordmark small{display:none}.score-chip{gap:0;flex-direction:column;align-items:flex-end;background:none;border:none;padding:0;margin-left:auto}.score-chip>span{font-size:7px;letter-spacing:.7px}.score-chip>strong{font-size:16px;line-height:1.3}.top-actions{gap:1px}.top-actions .icon-button{width:34px;height:34px}.top-actions .icon-button>.icon{width:19px;height:19px}.game-main{padding:10px 12px 7px;gap:9px}.status-strip{min-height:43px;gap:10px}.sun-disc{width:34px;height:34px}.sun-disc .icon{width:21px;height:21px}.day-chip{gap:8px}.day-chip strong{font-size:12px}.day-chip strong small{font-size:10px}.day-chip>div>span{font-size:10px}.market-chip{display:none}.reputation-chip{gap:4px;margin-left:auto;padding:6px 8px;border-radius:8px}.reputation-chip>small{display:none}.reputation-chip>strong{font-size:14px}.reputation-chip strong small{font-size:9px}.reputation-chip>span>.icon{width:13px;height:13px}.day-button{min-width:102px;min-height:37px;padding:0 11px;font-size:12px;gap:7px}.day-button .icon{width:15px;height:15px}.hud{grid-template-columns:repeat(4,1fr);gap:6px}.hud-card{padding:9px 8px 10px;border-radius:9px;gap:5px;border-top-width:3px}.hud-card>span{font-size:10px;gap:4px}.hud-card>span .icon{width:12px;height:12px}.hud-card>strong{font-size:19px;line-height:1.25;letter-spacing:-.6px}.hud-card>strong small{font-size:10px}.hud-card>small{font-size:8px;line-height:1.3;min-height:20px}.town-card{border-radius:12px}.town-title{height:40px;padding:0 13px}.town-title h1{font-size:15px}.town-tag{display:none}.live-dot{width:6px;height:6px}.location-link{font-size:11px;min-height:35px;gap:4px}.location-link .icon{width:13px;height:13px}.map-topline{top:10px;left:10px;right:10px;gap:8px}.next-closing{padding:8px 10px;gap:8px;max-width:220px;border-radius:8px}.next-closing>.icon{width:18px;height:18px}.next-closing span{font-size:8px;letter-spacing:.3px}.next-closing strong{font-size:11px;margin-top:4px}.next-closing strong small{font-size:10px}.event-inbox{font-size:10px;padding:8px;gap:5px}.event-inbox>.icon{width:14px;height:14px}.event-inbox b{font-size:8px;padding:2px 5px}.welcome-card{width:225px;right:50%;transform:translateX(50%) rotate(-1deg);top:auto;bottom:55px;padding:16px 19px;background:#fff8e9f2;box-shadow:0 5px 25px #6c7e3830}.welcome-card h2{font-size:23px;line-height:1.15;margin:7px 0}.welcome-card h2 br{display:none}.welcome-card p{font-size:11px;line-height:1.5}.welcome-card p br{display:none}.welcome-kicker{font-size:8px;letter-spacing:.9px}.welcome-card .button{font-size:12px;min-height:37px;margin-top:12px}.player-tag{left:10px;bottom:10px;gap:7px;padding:7px 9px;border-radius:8px}.player-icon{width:26px;height:28px;border-radius:6px}.player-icon>.icon{width:16px;height:16px}.player-tag strong{font-size:10px}.player-tag>div>span{font-size:9px;margin-top:2px}.zoom-controls{bottom:10px;right:10px;border-radius:8px}.zoom-controls button{width:32px;height:32px}.zoom-controls .icon{width:16px;height:16px}.action-dock{min-height:60px;padding:6px 5px;gap:2px}.action-dock>button{flex-direction:column;gap:4px;padding:0;font-size:9px;font-weight:600;border-radius:7px}.dock-icon{width:27px;height:27px;border-radius:7px}.dock-icon .icon{width:17px;height:17px}.bottom-line{font-size:9px;min-height:15px;gap:8px}.keyboard-hint{display:none}#latest-news>.icon{width:11px;height:11px}#save-status{font-size:8px}.modal-backdrop{padding:12px;background:#183b2d85}.modal,.modal.wide{width:100%;max-height:calc(100dvh - 24px);border-radius:15px}.modal-heading{padding:20px 20px 17px;gap:10px}.modal-heading h2{font-size:22px}.eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:8px}.modal-heading>.icon-button{width:34px;height:34px}.modal-content{padding:20px}.modal-footer{padding:14px 20px;gap:12px}.modal-footer>.button{font-size:13px;min-height:42px;padding:0 15px}.modal-footer>span{font-size:11px}.modal-lead{font-size:14px}.location-balance{font-size:12px;gap:15px;flex-wrap:wrap;padding-bottom:15px}.location-balance .icon{width:16px;height:16px}.text-link{font-size:11px}.action-card{padding:16px 12px;gap:10px}.action-icon{width:33px;height:33px;border-radius:9px}.action-icon .icon{width:19px;height:19px}.action-title{font-size:14px;gap:7px;flex-wrap:wrap}.action-title em{font-size:8px}.action-description{font-size:12px}.action-card>.icon{width:14px;height:14px}.action-meta{gap:6px;margin-top:9px}.action-meta b{font-size:10px}.action-reason{font-size:11px}.location-grid{gap:8px}.location-grid>button{padding:13px 10px;gap:9px;min-height:64px}.location-grid>button>span{width:30px;height:30px;border-radius:7px}.location-grid>button>span>.icon{width:18px;height:18px}.location-grid strong{font-size:12px;line-height:1.4}.location-grid>button>.icon{display:none}.panel-metrics{gap:8px;margin-bottom:19px}.panel-metric{padding:17px 9px;border-radius:10px;gap:7px}.panel-metric strong{font-size:24px}.panel-metric span{font-size:11px}.info-banner{gap:9px;padding:13px;margin:18px 0}.info-banner p{font-size:12px}.info-banner>.icon{width:17px;height:17px}.shortcut-card{padding:15px 12px;gap:10px}.shortcut-card>span{width:34px;height:34px;border-radius:9px}.shortcut-card>span>.icon{width:20px;height:20px}.shortcut-card strong{font-size:14px}.shortcut-card small{font-size:12px}.shortcut-card>.icon{width:14px;height:14px}.detail-row{gap:10px;margin-top:21px;padding-top:18px}.detail-row>span{font-size:10px}.detail-row strong{font-size:19px}.growth-grid{grid-template-columns:1fr;gap:9px}.growth-grid .shortcut-card{padding:13px;align-items:center}.growth-grid .shortcut-card strong{font-size:14px}.growth-grid .shortcut-card small{font-size:12px}.skills-grid{grid-template-columns:1fr 1fr;gap:9px}.skills-grid>div{padding:13px}.skills-grid span{font-size:12px}.skills-grid strong{font-size:22px}.owned-list{gap:7px}.owned-list>span{font-size:11px;padding:7px 9px}.deal-overview{gap:14px;justify-content:space-between;font-size:11px;padding-bottom:20px;flex-wrap:wrap}.deal-overview strong{font-size:18px;display:block;margin:0 0 3px}.segmented>button{font-size:11px;padding:9px 6px}.list-caption{font-size:10px}.deal-card{padding:13px 10px;gap:10px}.deal-date{width:39px;padding:7px 0;border-radius:7px}.deal-date strong{font-size:20px}.deal-date span{font-size:7px}.deal-info h3{font-size:13px}.deal-info p{font-size:10px}.deal-info>span{font-size:10px;margin-top:5px}.deal-amount strong{font-size:14px}.status-pill{font-size:8px}.deals-list{gap:8px}.empty-state{padding:25px 10px}.empty-state h3{font-size:18px}.empty-state p{font-size:13px}.empty-state>.icon{width:36px;height:36px;margin-bottom:17px}.budget-box{padding:17px 14px}.budget-top{gap:10px;margin-bottom:13px}.budget-top h3{font-size:13px;gap:6px}.budget-top>strong{font-size:23px}.budget-top h3 .icon{width:15px;height:15px}.budget-top small{font-size:10px}.budget-estimate{flex-direction:column;align-items:flex-start;gap:5px;padding:12px 0}.budget-estimate strong{font-size:15px}.budget-estimate>span{font-size:11px}.budget-bottom{align-items:flex-end;gap:10px}.budget-bottom small{font-size:10px}.budget-bottom .button{font-size:11px;padding:0 11px}.candidate-list,.agent-grid{grid-template-columns:1fr}.candidate,.agent-card{padding:17px}.candidate-top h3{font-size:16px}.candidate-top p{font-size:12px}.agent-stats>span{font-size:11px}.agent-stats strong{font-size:20px}.candidate-bottom>small{font-size:11px}.candidate-bottom .button{font-size:12px;min-height:39px}.agent-footer>span{font-size:11px}.insolvency-meter{padding:14px}.insolvency-meter>div{font-size:11px;align-items:flex-start;flex-direction:column;gap:5px}.insolvency-meter strong{font-size:14px}.insolvency-meter p{font-size:11px}.cost-list>div{font-size:12px;padding:13px 0}.cost-list strong{font-size:13px}.cost-list small{font-size:11px}.cost-list .cost-total{padding:13px}.cost-list .cost-total strong{font-size:20px}.shortcut-list.compact{grid-template-columns:1fr;gap:10px}.shortcut-list.compact .shortcut-card strong{font-size:13px}.shortcut-list.compact .shortcut-card small{font-size:12px}.guide-grid{grid-template-columns:1fr;gap:22px}.guide-grid h3{font-size:16px}.guide-grid p{font-size:13px}.setup-steps{gap:7px;margin-bottom:21px;padding-bottom:16px}.setup-steps>span{font-size:10px;gap:6px}.setup-steps b{width:22px;height:22px;font-size:10px}.creation-modal .modal-heading h2{font-size:22px}.name-field{font-size:14px;gap:10px}.name-field input{font-size:19px;padding:15px}.section-label{font-size:14px;margin-top:22px}.duration-choices{grid-template-columns:1fr;gap:10px}.duration-choices .setup-choice{padding:17px 14px;display:flex;align-items:center;gap:17px}.duration-choices .setup-choice strong{font-size:17px;min-width:69px}.duration-choices .setup-choice small{font-size:12px;margin:0;padding-right:12px}.setup-choice i{right:12px;top:13px}.capital-choices{gap:10px}.capital-choices .setup-choice{padding:18px 13px}.capital-choices .setup-choice>span{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.capital-choices .setup-choice strong{font-size:21px}.capital-choices .setup-choice small{font-size:12px}.setup-intro{font-size:13px}.setup-warning{font-size:11px;margin-top:16px;gap:7px;padding:12px}.points-header{margin-bottom:18px;gap:9px}.points-header>div{gap:9px}.points-header>div>strong{width:43px;height:43px;font-size:23px;border-radius:10px}.points-header>div>span{font-size:11px;max-width:80px;line-height:1.5}.points-header .button{font-size:11px;gap:6px;padding:0 10px}.points-header .button .icon{width:15px;height:15px}.allocation-grid{gap:10px}.allocation-grid article{padding:15px 11px}.allocation-grid h3{font-size:15px}.allocation-grid p{font-size:11px;line-height:1.6;min-height:34px}.point-control{gap:9px;padding:4px;margin-top:12px}.point-control button{width:32px;height:34px;border-radius:6px}.point-control strong{font-size:22px;min-width:23px}.point-control button>.icon{width:17px;height:17px}.setup-tip{font-size:11px;margin-top:18px;line-height:1.6}.event-illustration{width:80px;height:80px;border-radius:21px;margin:7px auto 22px}.event-illustration .icon{width:35px;height:35px}.event-story{font-size:17px;line-height:1.6;margin:0 0 23px}.event-choices{gap:10px}.event-choices>button{padding:15px}.event-choices strong{font-size:14px}.event-choices span{font-size:12px}.disaster-event .modal-heading h2{font-size:24px}.disaster-event .eyebrow{font-size:10px;letter-spacing:1.8px}.final-score{padding:26px 15px}.final-score>strong{font-size:40px;letter-spacing:-1.5px}.final-score>span{font-size:9px}.final-score p{font-size:12px}.final-score+.panel-metrics .panel-metric strong{font-size:19px}.settings-note{font-size:12px}#toast-root{bottom:calc(76px + env(safe-area-inset-bottom));right:15px;max-width:calc(100vw - 30px)}.toast{font-size:12px;padding:13px 15px}.floating-reward{font-size:16px;padding:13px 18px}.journal-entry h3{font-size:14px}.journal-entry p{font-size:12px}}
@media(max-width:420px){.topbar{padding:0 12px;gap:7px}.wordmark{font-size:22px}.top-actions{gap:0}.top-actions .icon-button{width:29px;height:32px}.top-actions .icon-button .icon{width:18px;height:18px}.score-chip>strong{font-size:14px}.score-chip>span{font-size:6px}.game-main{gap:8px;padding:9px 10px 6px}.day-chip strong{font-size:11px}.day-chip strong small{font-size:9px}.day-chip>div>span{font-size:9px}.sun-disc{width:31px;height:31px}.sun-disc .icon{width:19px;height:19px}.status-strip{gap:8px;min-height:40px}.reputation-chip{padding:6px}.reputation-chip>strong{font-size:13px}.reputation-chip strong small{font-size:8px}.day-button{min-width:97px;font-size:11px;padding:0 10px;min-height:35px}.welcome-card{width:217px;bottom:53px;padding:15px 17px}.welcome-card h2{font-size:22px}.next-closing{max-width:208px}.next-closing strong{font-size:10px}.event-inbox{font-size:9px;max-width:140px;line-height:1.4}.modal-backdrop{padding:9px}.modal,.modal.wide{max-height:calc(100dvh - 18px)}.modal-heading{padding:18px 17px 16px}.modal-content{padding:18px 17px}.modal-footer{padding:13px 17px}.modal-heading h2,.creation-modal .modal-heading h2{font-size:21px}.modal-lead{font-size:13px}.panel-metric strong{font-size:21px}.panel-metric span{font-size:10px}.deal-card{gap:8px;padding:12px 9px}.deal-info h3{font-size:12px}.deal-info p{font-size:10px}.deal-amount strong{font-size:13px}.deal-date{width:34px}.deal-date strong{font-size:18px}.location-grid>button{gap:7px;padding:12px 9px;min-height:63px}.location-grid>button>span{width:27px;height:27px}.location-grid strong{font-size:12px}.capital-choices .setup-choice{padding:17px 12px}.capital-choices .setup-choice small{font-size:11px}.allocation-grid article{padding:13px 10px}.point-control{gap:5px}.point-control button{width:31px}.allocation-grid h3{font-size:14px}.setup-tip{font-size:11px}.points-header .button{font-size:11px;padding:0 8px;gap:5px}.points-header>div>span{font-size:11px;max-width:70px}}
@media(max-width:700px) and (max-height:730px){.topbar{height:51px}.game-main{padding-top:7px;gap:6px}.status-strip{min-height:37px}.hud-card{min-height:55px;padding-top:6px;padding-bottom:6px}.hud-card>strong{font-size:20px}.hud-card>span{font-size:10px}.hud-card>small{font-size:8px}.town-title{height:35px}.action-dock{min-height:53px;padding:4px}.action-dock>button{font-size:8px}.dock-icon{width:25px;height:25px}.bottom-line{display:none}.welcome-card{bottom:47px;width:211px;padding:12px 15px}.welcome-card p{display:none}.welcome-card h2{font-size:22px;margin:7px 0}.welcome-card .button{margin-top:9px;min-height:34px;font-size:11px}.welcome-kicker{font-size:7px}.next-closing{padding:6px 8px}.map-topline{top:8px}.next-closing>.icon{display:none}.next-closing span{font-size:7px}.next-closing strong{font-size:10px}.player-tag{padding:6px 8px}.player-tag>div>span{display:none}.player-icon{width:23px;height:24px}.zoom-controls button{width:29px;height:29px}.modal-heading{padding:16px 17px 13px}.modal-heading h2,.creation-modal .modal-heading h2{font-size:20px}.modal-content{padding:15px 17px}.modal-footer{padding:11px 17px}.setup-steps{padding-bottom:12px;margin-bottom:15px}.points-header{margin-bottom:13px}.allocation-grid{gap:9px}.allocation-grid article{padding:12px 10px}.allocation-grid p{min-height:30px;font-size:10px;margin-top:5px}.point-control{margin-top:9px}.point-control button{height:30px}.setup-tip{margin-top:13px;font-size:10px}.capital-choices{margin-top:11px;gap:9px}.capital-choices .setup-choice{padding:15px 11px}.capital-choices .setup-choice strong{font-size:20px}.capital-choices .setup-choice small{font-size:10px;margin-top:6px}.setup-warning{margin-top:12px;padding:10px;font-size:10px}.duration-choices{gap:8px}.duration-choices .setup-choice{padding:14px 12px}.creation-modal .section-label{margin-top:17px}.event-illustration{height:65px;width:65px;margin:2px auto 18px}.event-illustration .icon{width:30px;height:30px}.event-story{font-size:15px;margin-bottom:18px}.event-choices>button{padding:13px}.event-choices strong{font-size:13px}.event-choices span{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.brokerage-box{background:#fff1d6;border:1px solid #e7c898;border-radius:12px;padding:19px;margin-bottom:20px}.brokerage-box .eyebrow{font-size:9px;color:#b38645;margin-bottom:8px}.brokerage-box h3{font-size:16px;color:#8c693b}.brokerage-numbers{display:flex;gap:25px;justify-content:space-between;margin:19px 0}.brokerage-numbers span{font-size:11px;color:#a18d5c}.brokerage-numbers strong{font-size:20px;display:block;margin-top:8px;color:#8b9a46}.brokerage-numbers>span:last-child strong{color:#bd7047}.brokerage-box p{font-size:12px;color:#a18654;line-height:1.7}.sale-quote{display:grid;grid-template-columns:1fr 30px 1fr;grid-template-rows:auto auto;gap:9px;text-align:center;background:#f6efde;border:1px solid #e5d8b9;padding:24px 15px;border-radius:12px}.sale-quote>span{font-size:10px;color:#9b8d62;letter-spacing:1px;grid-row:1}.sale-quote>span:first-child{grid-column:1}.sale-quote>span:nth-of-type(2){grid-column:3}.sale-quote strong{font-size:28px;font-weight:800;color:#8f9865;grid-row:2;grid-column:1}.sale-quote>strong:last-child{grid-column:3;color:#b97c48}.sale-quote i{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;color:#b2a375;font-size:23px}
@media(max-width:700px) and (max-height:620px){.creation-modal .modal-heading{padding:13px 16px 11px}.creation-modal .modal-heading .eyebrow{font-size:8px;margin-bottom:5px}.creation-modal .modal-heading h2{font-size:18px}.creation-modal .modal-content{padding:12px 16px}.creation-modal .modal-footer{padding:10px 16px}.creation-modal .setup-steps{margin-bottom:12px;padding-bottom:10px}.creation-modal .points-header{margin-bottom:11px}.creation-modal .points-header>div>strong{width:35px;height:35px;font-size:20px}.creation-modal .points-header .button{min-height:34px}.creation-modal .allocation-grid{grid-template-columns:1fr;gap:7px}.creation-modal .allocation-grid article{padding:8px 10px;display:grid;grid-template-columns:1fr 122px;grid-template-rows:auto auto;column-gap:8px;min-height:55px}.creation-modal .allocation-grid h3{font-size:13px;grid-column:1;grid-row:1}.creation-modal .allocation-grid p{font-size:10px;line-height:1.3;min-height:0;margin-top:4px;grid-column:1;grid-row:2}.creation-modal .point-control{grid-column:2;grid-row:1/3;margin:0;padding:4px;align-self:center}.creation-modal .point-control button{height:28px;width:28px}.creation-modal .point-control strong{font-size:18px}.creation-modal .setup-tip{display:none}.creation-modal .name-field input{padding:12px;font-size:17px}.creation-modal .name-field{font-size:12px;gap:8px}.creation-modal .duration-choices .setup-choice{padding:12px 11px}.creation-modal .section-label{font-size:12px;margin-top:15px}.creation-modal .capital-choices .setup-choice{padding:12px 10px}.creation-modal .capital-choices .setup-choice strong{font-size:18px}.creation-modal .capital-choices .setup-choice small{font-size:10px}.creation-modal .capital-choices{gap:8px}.creation-modal .setup-warning{padding:8px;font-size:10px;margin-top:11px}}

/* Career continuation, recurring campaigns, and recruiting decisions. */
.welcome-card{z-index:4;pointer-events:auto}.welcome-card[hidden]{display:none}.welcome-card .button{position:relative;min-height:44px}.campaign-summary{padding:17px;background:#edf2df;border:1px solid #d9e2c7;border-radius:12px;margin:0 0 18px}.campaign-summary>h3{font-size:15px;margin-bottom:13px}.campaign-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #d5dfc5}.campaign-mark{display:grid;place-items:center;width:36px;height:36px;background:#fff8e8;border-radius:9px;color:#ad8952;flex-shrink:0}.campaign-row>div{flex:1}.campaign-row strong{display:block;font-size:14px}.campaign-row div>span{display:block;font-size:12px;color:#738164;line-height:1.5;margin-top:4px}.campaign-row>b{font-size:9px;letter-spacing:1px;color:#729153}.inventory-box{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px;border:1px solid #e4d6b4;background:#fff5df;border-radius:12px;margin-bottom:18px}.inventory-box .eyebrow{font-size:9px;color:#a28b50}.inventory-box h3{font-size:16px}.inventory-box h3>strong{color:#ad8743;margin-left:8px}.inventory-box h3 small{font-size:12px;font-weight:400}.inventory-box p{font-size:12px;color:#998c6d;margin-top:7px}.inventory-box.questionable{background:#f8e8df;border-color:#e8c6b6}.stock-toggle{display:flex;align-items:center;gap:8px;font-size:11px;text-align:left;min-height:44px;flex-shrink:0}.stock-toggle>span>strong{display:block;font-size:13px;margin-top:2px}.stock-toggle>i{width:39px;height:23px;border-radius:20px;background:#d2cdbf;padding:3px;position:relative}.stock-toggle>i:after{content:'';display:block;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #283c2529;transition:transform .15s}.stock-toggle.enabled>i{background:#689653}.stock-toggle.enabled>i:after{transform:translateX(16px)}.recruit-event .modal-heading{background:#e8efd8}.recruit-event .event-story{font-size:15px;margin:20px 0}.recruit-event .event-choices{gap:8px}.recruit-event .event-choices>button{padding:13px 17px}.recruit-event .agent-stats{margin:15px 0;background:#f4f7eb;border-radius:10px;padding:14px}.applicant-intro{display:flex;align-items:center;gap:15px}.applicant-intro p{font-size:14px;color:#6f805f;line-height:1.6}.premium-deal{background:linear-gradient(110deg,#fff5d8,#fffdf6);border-color:#e3cf9d}.premium-deal .deal-amount strong{color:#b48a39}.premium-deal .deal-info h3:before{content:'✦ ';color:#b59249}.final-score~.button.full+.button.full{margin-top:10px}
@media(max-width:420px){.inventory-box{padding:13px;gap:8px}.inventory-box h3{font-size:14px}.stock-toggle{gap:6px;font-size:10px}.stock-toggle>i{width:35px;height:21px;padding:3px}.stock-toggle>i:after{width:15px;height:15px}.stock-toggle.enabled>i:after{transform:translateX(14px)}.campaign-row strong{font-size:13px}.campaign-row div>span{font-size:11px}.recruit-event .event-story{font-size:14px;line-height:1.5;margin:14px 0}.recruit-event .agent-stats{padding:12px;margin:13px 0}.recruit-event .event-choices>button{padding:12px}.recruit-event .event-choices strong{font-size:13px}}

/* The business outgrows the person who started it. */
.brokerage-services{margin:0 0 18px}.weariness-note{display:flex;align-items:center;gap:10px;padding:13px 16px;border:1px solid #ddc7ae;background:#fff0db;color:#8c6444;border-radius:11px;font-size:14px;line-height:1.5;margin:14px 0 18px}.weariness-note .icon{flex-shrink:0}.team-overhead{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;margin:0 0 15px;background:#f8e9dc;border:1px solid #e8cdb5;border-radius:11px;color:#916348;font-size:14px}.team-overhead strong{white-space:nowrap}.team-overhead+.shortcut-card{margin-bottom:18px;width:100%}.office-brief{padding:20px;background:#e8eee5;border:1px solid #cbd7c8;border-radius:13px;margin:0 0 18px}.office-brief>.eyebrow{font-size:10px;color:#6d805f}.office-brief h3{font-size:20px;line-height:1.4;margin:8px 0 17px}.office-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.office-numbers>span{font-size:12px;color:#6d7d65}.office-numbers strong{display:block;font-size:24px;line-height:1.4;color:#3b5744;margin-top:5px}.office-numbers small{font-size:11px;margin-left:3px}.office-brief>p{font-size:14px;line-height:1.6;color:#687b60;margin-top:15px}.office-brief+.shortcut-list{margin-bottom:20px}.profile-overview+.modal-lead{margin-top:18px}.player-tag>div>span{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.office-brief{padding:16px}.office-brief h3{font-size:18px}.office-numbers{gap:7px}.office-numbers strong{font-size:20px}.office-numbers>span{font-size:11px}.office-brief>p,.weariness-note{font-size:13px}.team-overhead{font-size:13px;padding:12px}.player-tag>div>span{max-width:180px}}
.office-tabs{margin-bottom:16px}.office-tabs button{min-height:42px;font-size:14px}.office-brief{padding:16px 19px}.office-brief>p{margin-top:12px;font-size:13px}.office-numbers strong{margin-top:3px}.office-brief+.action-list{margin-top:15px}

/* The day gets warmer, then quieter, as the hours disappear. */
.game-shell{--day-tint:#e7f2cf;transition:background-color .65s}
.game-shell[data-phase=afternoon]{--day-tint:#f6e9c2;background:#f4f1df}
.game-shell[data-phase=evening]{--day-tint:#f3d0bd;background:#f4e8de}
.game-shell[data-phase=night]{--day-tint:#b8c6da;background:#e4e9ee}
.map-stage{background:radial-gradient(ellipse at 52% 53%,var(--day-tint) 0%,#edf1d9 100%);transition:background .65s}
.weather-overlay{transition:background-color .65s;pointer-events:none}
[data-phase=afternoon] .weather-overlay{background:#ffb4490a}
[data-phase=evening] .weather-overlay{background:#e46f4322}
[data-phase=night] .weather-overlay{background:#18355930}
[data-phase=evening] .sun-disc{background:#f7cdb0;color:#c26436}
[data-phase=night] .sun-disc{background:#d5deef;color:#536987}
.wellbeing-strip{display:flex;align-items:center;gap:10px;flex-shrink:0;width:100%;min-height:50px;padding:4px 13px 4px 7px;border:1px solid #d4dfd1;border-radius:12px;background:#f8fcf3;text-align:left;color:#355640;transition:background .3s}
.wellbeing-strip:hover{background:#fff}
.mood-face{width:40px;height:40px;flex-shrink:0;overflow:visible;filter:drop-shadow(0 2px 1px #26759415)}
.face-eyes{transform-origin:26px 24px;animation:face-blink 7s infinite}
.wellbeing-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.wellbeing-copy strong{font-size:13px;line-height:1.2}
.wellbeing-copy>small{font-size:11px;color:#74866c}
.burnout-gauge{display:flex;flex-direction:column;gap:4px;flex:0 1 220px;min-width:110px}
.burnout-gauge>span{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:11px;color:#6d7c64}
.burnout-gauge>span strong{font-size:15px;color:#42604a}
.burnout-gauge small{font-size:10px;font-weight:400;color:#7a8c6b}
.burnout-gauge i{display:block;height:7px;border-radius:8px;background:#dde6d5;overflow:hidden}
.burnout-gauge i b{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#8ab57b,#e5b952);transition:width .4s}
.wellbeing-strip.overheating{background:#fff1e6;border-color:#e8c0a4;color:#9d473a}
.overheating .burnout-gauge i b{background:linear-gradient(90deg,#e7ab51,#df634b)}
.overheating .burnout-gauge>span strong{color:#be4e3a}
.wellbeing-strip.recovering{background:#eaf0f8;border-color:#bdcde0}
.wellbeing-detail{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.wellbeing-detail .mood-face{width:84px;height:84px}
.wellbeing-detail>strong{font-size:40px;letter-spacing:-1px}
.wellbeing-detail>strong small{font-size:15px;display:block;letter-spacing:0;color:#7b886e}
@keyframes face-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.08)}}
.day-chase{position:absolute;inset:0;z-index:15;pointer-events:auto;display:grid;place-content:center;background:#263958df;animation:chase-sky .76s ease-in-out both}
.celestial-track{width:min(300px,65vw);height:86px;position:relative}
.chase-sun,.chase-moon{position:absolute;display:grid;place-items:center;top:10px;width:60px;height:60px;filter:drop-shadow(0 0 18px currentColor)}
.chase-sun{color:#ffd668;animation:sun-chases .76s cubic-bezier(.3,0,.35,1) both}
.chase-moon{color:#d8e6ff;animation:moon-runs .76s cubic-bezier(.3,0,.35,1) both}
.celestial-track .icon{width:54px;height:54px;stroke-width:1.6}
.chase-sun .icon{fill:#ffd66840}
.chase-moon .icon{fill:#d8e6ff80}
.chase-caption{text-align:center;color:#fff6d7;font-size:13px;font-weight:800;letter-spacing:3px}
@keyframes chase-sky{0%{opacity:0;background:#d4a154}18%{opacity:1}50%{background:#263958ed}85%{opacity:1;background:#e3b365}100%{opacity:0;background:#f5e6ae}}
@keyframes moon-runs{0%{left:30%;transform:translateY(-40px) rotate(-20deg);opacity:0}20%{opacity:1}70%{opacity:1}100%{left:100%;transform:translateY(30px) rotate(30deg);opacity:0}}
@keyframes sun-chases{0%{left:-20%;transform:translateY(30px) rotate(-50deg);opacity:0}20%{opacity:1}60%{transform:translateY(-25px) rotate(35deg);opacity:1}100%{left:82%;transform:translateY(20px) rotate(100deg);opacity:0}}
.lead-desk-summary{display:flex;gap:25px;color:#6c7c63;font-size:13px;margin-bottom:10px}
.lead-desk-summary strong{font-size:24px;color:#3d6149;margin-right:3px}
.lead-allocation-list{margin-top:16px;display:grid;gap:9px}
.lead-allocation{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px;background:#f5f7ed;border:1px solid #dbe3d2;border-radius:12px}
.lead-allocation h3{font-size:15px;margin:0 0 4px}
.lead-allocation>div>span{font-size:12px;color:#77856b}
.lead-allocation label{display:flex;align-items:center;gap:5px}
.lead-allocation input{font:700 18px 'DM Sans',sans-serif;width:64px;height:43px;border:1px solid #b9caaf;border-radius:8px;background:white;color:#365342;padding:7px}
.lead-allocation label small{color:#728468;font-size:11px}
.lead-allocation .button{min-height:43px;padding:9px 14px}
.lead-desk-pager{display:flex;justify-content:space-between;align-items:center;margin-top:14px;color:#78856e;font-size:13px}
.office-tabs button{flex:1;padding:10px 8px}
@media(max-width:700px){.wellbeing-strip{min-height:46px;gap:7px;padding:3px 9px 3px 5px}.wellbeing-copy strong{font-size:12px}.wellbeing-copy>small{font-size:10px}.burnout-gauge{flex-basis:118px;min-width:95px}.wellbeing-strip>.icon{display:none}.mood-face{width:35px;height:35px}.lead-allocation{gap:8px;padding:10px}.lead-allocation h3{font-size:14px}.lead-allocation>div>span{font-size:11px}.lead-allocation input{width:55px}.lead-allocation label small{display:none}.office-tabs button{font-size:12px}.lead-desk-summary{gap:20px}.lead-desk-summary strong{font-size:22px}}
@media(max-width:700px) and (max-height:730px){.wellbeing-strip{min-height:39px}.mood-face{width:31px;height:31px}.wellbeing-copy>small{font-size:9px}.burnout-gauge i{height:5px}}
@media(prefers-reduced-motion:reduce){.day-chase{background:#edf1d9;opacity:1}.day-chase .celestial-track,.day-chase .chase-caption{display:none}}

@media(max-width:700px) and (max-height:730px){.next-closing.empty{display:none}}

/* Keep the four business cards in one readable row at every phone width. */
.hud-compact-amount{display:none}
@media(max-width:700px){
  .hud{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hud-card>strong{white-space:nowrap}
  .hud-large-amount .hud-full-amount{display:none}
  .hud-large-amount .hud-compact-amount{display:inline}
}
@media(max-width:420px){
  .hud{gap:5px}
  .hud-card{display:flex;flex-direction:column;align-items:flex-start;padding:9px 6px 10px;gap:5px;min-height:94px}
  .hud-card>span{font-size:10px;gap:3px;white-space:nowrap}
  .hud-card>span .icon{width:11px;height:11px}
  .hud-card>strong{font-size:clamp(16px,4.7vw,19px);letter-spacing:-.6px;line-height:1.25}
  .hud-card>strong small{font-size:9px}
  .hud-card>small{font-size:9px;line-height:1.3;min-height:24px}
  .hud-full-amount{display:none}
  .hud-compact-amount{display:inline}
}
@media(max-width:350px){
  .hud-card{padding-left:5px;padding-right:5px}
  .hud-card>span{font-size:9px;gap:2px}
  .hud-card>span .icon{width:10px;height:10px}
  .hud-card>strong small{font-size:8px}
}

/* Keep the town roomy: recovery lives in its lower corner. */
.map-wellbeing{position:absolute;right:15px;bottom:15px;z-index:4;width:200px;min-height:64px;padding:8px 12px 8px 7px;gap:8px;box-shadow:0 3px 14px #314a2420;background:#fffdf4ed;backdrop-filter:blur(5px)}
.map-wellbeing .wellbeing-copy,.map-wellbeing>.icon{display:none}
.map-wellbeing .mood-face{width:42px;height:42px}
.map-wellbeing .burnout-gauge{min-width:0;flex:1}
.map-wellbeing .burnout-gauge>span{gap:7px;font-size:12px}
.map-wellbeing .burnout-gauge>span strong{font-size:16px}
.map-wellbeing .burnout-gauge i{height:7px}
.player-tag{max-width:calc(100% - 245px)}
.player-tag>div{min-width:0}.player-tag strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goal-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.goal-choices .setup-choice strong{font-size:21px}.goal-choices .setup-choice small{font-size:14px}
.welcome-load{display:block;font-size:12px;text-decoration:underline;margin-top:12px;padding:4px 0;color:#48674c}
.return-career{display:flex;align-items:center;gap:15px;margin-bottom:24px}.return-career h3{font-size:22px}.return-career p{font-size:14px;color:var(--muted);margin-top:5px}
.return-modal .panel-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.return-modal .panel-metric strong{font-size:27px}
.return-actions,.exhausted-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.return-actions .button,.exhausted-actions .button{padding:0 10px}
.text-button{display:block;text-decoration:underline;font-size:13px;color:var(--muted);margin:20px auto 0;min-height:35px}
.exhausted-face{text-align:center;margin-bottom:18px}.exhausted-face .mood-face{width:76px;height:76px}
.day-button.needs-rest{animation:rest-reminder 2s ease-in-out infinite}
@keyframes rest-reminder{50%{box-shadow:0 0 0 5px #ed795430}}
@media(max-width:700px){.map-wellbeing{width:160px;min-height:57px;right:9px;bottom:9px;padding:6px;gap:5px;border-radius:12px}.map-wellbeing .mood-face{width:35px;height:35px}.map-wellbeing .burnout-gauge>span{font-size:11px;gap:4px}.map-wellbeing .burnout-gauge>span strong{font-size:14px}.map-wellbeing .burnout-gauge small{font-size:9px}.map-wellbeing .burnout-gauge i{height:6px}.player-tag{left:9px;bottom:9px;max-width:calc(100% - 185px);padding:8px;gap:6px;min-height:57px}.player-tag .player-icon{width:29px;height:29px}.player-tag>div>span{display:none}.player-tag strong{font-size:12px}.goal-choices .setup-choice strong{font-size:18px}.goal-choices .setup-choice small{font-size:12px}.return-modal .panel-metric strong{font-size:23px}.return-career h3{font-size:20px}.return-career p{font-size:12px}}
@media(max-width:360px){.map-wellbeing{width:145px}.player-tag{max-width:calc(100% - 170px)}.player-tag .player-icon{display:none}.return-actions .button,.exhausted-actions .button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.day-button.needs-rest{animation:none;box-shadow:0 0 0 3px #ed795430}}
.goal-choices .setup-choice{display:block;padding:18px 14px;text-align:left}.goal-choices .setup-choice strong{display:block;padding-right:14px;min-width:0}.goal-choices .setup-choice small{display:block;margin-top:8px;padding-right:0;line-height:1.45}
@media(max-width:700px){.goal-choices .setup-choice{padding:15px 12px}.goal-choices .setup-choice strong{font-size:16px}.goal-choices .setup-choice small{font-size:12px}}

/* V8: discoveries stay in their existing places, with room for decisions. */
.welcome-card{max-width:calc(100% - 28px)}
.welcome-card h2{font-size:clamp(19px,5.5vw,26px);overflow-wrap:normal;word-break:normal;hyphens:none}
.modal-heading>div{min-width:0}.modal-heading h2{overflow-wrap:break-word}
.action-title{flex-wrap:wrap}.action-title em{max-width:100%;white-space:normal}
.difficulty-choices{grid-template-columns:1fr;gap:10px}
.difficulty-choices .setup-choice{padding:15px 18px;text-align:left}
.difficulty-choices .setup-choice>span{display:block;padding-right:24px}
.difficulty-choices .setup-choice strong{display:block;font-size:20px;line-height:1.3}
.difficulty-choices .setup-choice>b{display:block;font-size:14px;font-weight:600;color:#526d4b;margin-top:6px}
.difficulty-choices .setup-choice small{display:block;font-size:12px;line-height:1.4;margin-top:5px;padding-right:15px}
.career-time{display:flex;align-items:center;gap:9px;background:#edf2e5;border:1px solid #dce5cf;border-radius:10px;padding:13px 15px;margin-top:17px;font-size:13px;color:#6e8063}
.career-time strong{font-size:16px;color:#375d44;margin-left:auto;white-space:nowrap}
.career-time .icon{width:17px;height:17px}
.capacity-note,.scrutiny-note,.book-progress{display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:11px;border:1px solid #dce5d0;background:#f0f5e8;margin:0 0 18px;color:#647b54}
.capacity-note strong,.scrutiny-note strong,.book-progress strong{display:block;font-size:13px;font-weight:600;line-height:1.45}
.capacity-note small,.scrutiny-note small,.book-progress small{display:block;font-size:12px;line-height:1.5;margin-top:4px}
.over-capacity,.scrutiny-note{background:#fff0df;border-color:#e8c9aa;color:#92633f}
.brokerage-services:empty{display:none}
.report-shortcut{width:100%;margin:0 0 18px}
.source-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.source-report-card{border:1px solid #dae3cf;background:#f9fcf2;border-radius:12px;padding:17px;min-width:0}
.source-report-card h3{font-size:16px;margin-bottom:16px}
.source-report-card>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;color:#758569;font-size:12px}
.source-report-card>div strong{font-size:21px;display:block;margin-top:4px;color:#436649}
.source-report-card>p{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #dde5d3;margin-top:17px;padding-top:13px;font-size:12px;color:#758569}
.source-report-card>p strong{font-size:19px;color:#436649;white-space:nowrap}
.pipeline-mix{border:1px solid #dbe4ce;border-radius:11px;margin:0 0 15px;background:#f9fbf0;font-size:13px;overflow:hidden}
.pipeline-mix summary{cursor:pointer;padding:14px;color:#496b42;font-weight:600;line-height:1.6}
.pipeline-mix summary>span{font-weight:400;color:#7b896b;display:block;padding-left:16px;font-size:12px}
.pipeline-mix>div{padding:0 14px 8px}
.pipeline-mix>div>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e1e8d7;font-size:12px}
.pipeline-mix strong{font-weight:600}.pipeline-mix>div span{color:#78876a;text-align:right}
.market-explainer{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.5;width:100%;padding:13px 15px;border:1px solid #e4d8ae;border-radius:11px;background:#fff4d9;color:#947637;margin-top:18px;text-align:left}
.market-explainer>.icon:last-child{margin-left:auto;width:17px}
.market-detail{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.market-detail>span{padding:17px;background:#f6efdc;border:1px solid #e8dbb7;border-radius:11px;color:#8c7948;font-size:13px}
.market-detail strong{display:block;font-size:21px;margin-top:6px;color:#856d32}
.niche-summary{margin:24px 0}
.niche-summary h3{font-size:15px;margin-bottom:12px}
.niche-summary>div{display:flex;flex-wrap:wrap;gap:9px}
.niche-summary>div>span{display:grid;grid-template-columns:22px 1fr;column-gap:8px;row-gap:4px;padding:12px 14px;border:1px solid #dfddbd;background:#fff6df;border-radius:10px;flex:1 1 180px}
.niche-summary .icon{grid-row:1/3;align-self:center;color:#ac8944;width:19px}
.niche-summary strong{font-size:13px;color:#806f3d}.niche-summary small{font-size:11px;color:#96885e}
.book-offer{border:1px solid #d8c698;border-radius:14px;background:linear-gradient(125deg,#fff0cb,#fff9e9);padding:20px;margin-bottom:20px}
.book-offer .eyebrow{color:#a0823f}.book-offer h3{font-size:20px;line-height:1.4;color:#7b6538}
.book-offer p{font-size:14px;margin-top:10px;color:#8b784d}
.book-offer>small{display:block;font-size:12px;color:#968460;line-height:1.5;margin-top:10px}
.book-offer .text-button{margin-top:10px;min-height:34px;color:#8e733c}
.book-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;background:#fff4d9;border:1px solid #e4d7ac;padding:17px;border-radius:12px}
.book-terms>span{font-size:12px;color:#94825a}.book-terms strong{display:block;font-size:21px;color:#8c7337;margin-top:6px;white-space:nowrap}
.event-choices .choice-description{font-size:13px;line-height:1.5;margin-top:8px;color:#748264}
.event-choices .choice-cost{font-weight:600;font-size:12px;margin-top:8px;color:#9a7644}
.deal-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.deal-tags small{font-size:10px;background:#eaf1dc;color:#6b8054;border-radius:4px;padding:3px 5px}.deal-tags .shady{background:#f8dfcf;color:#a16442}
@media(max-width:700px){
  .welcome-card{width:236px;padding:16px 19px}
  .welcome-card h2{font-size:clamp(19px,5.5vw,23px)}
  .source-report{grid-template-columns:1fr}
  .source-report-card{padding:15px}
  .source-report-card>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;font-size:10px}
  .source-report-card>div strong{font-size:18px}
  .source-report-card>p strong{font-size:18px}
  .difficulty-choices .setup-choice{padding:12px 14px}
  .difficulty-choices .setup-choice strong{font-size:18px}
  .difficulty-choices .setup-choice>b{font-size:13px}
  .difficulty-choices .setup-choice small{font-size:11px}
  .book-offer{padding:17px}.book-offer h3{font-size:18px}.book-offer p{font-size:13px}
  .book-terms{padding:13px;gap:7px}.book-terms strong{font-size:18px}.book-terms>span{font-size:11px}
  .career-time{font-size:12px;padding:12px}.career-time strong{font-size:14px}
}
@media(max-width:360px){.source-report-card>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:11px}.book-terms strong{font-size:16px}.book-offer .button{font-size:12px;padding:0 10px;gap:7px}.market-detail strong{font-size:18px}}
.tiger-shortcut{border-color:#e5c698;background:#fff4dc}.tiger-shortcut>span{background:#f7deae;color:#a37439}
.tiger-banner{display:flex;align-items:center;gap:15px;padding:17px;background:#fff0d0;border:1px solid #ebd4a6;border-radius:13px;margin-bottom:20px}
.tiger-mark{font-size:42px;line-height:1}.tiger-banner .eyebrow{font-size:9px;color:#a77b3a;margin-bottom:5px}.tiger-banner h3{font-size:18px;color:#8c6834}
.bet-choices{display:grid;gap:9px}
.bet-choices>button{display:grid;grid-template-columns:1fr 1fr 24px;text-align:left;align-items:center;gap:12px;border:1px solid #e1d5b6;border-radius:11px;padding:16px;background:#fffcf0;color:#9a8354}
.bet-choices>button:not(:disabled):hover{background:#ffefc7;border-color:#d8b774}
.bet-choices span{font-size:12px}.bet-choices strong{display:block;font-size:24px;margin-top:4px;color:#7b693b}.bet-choices small{grid-column:1/4;font-size:12px}
.match-scoreboard{border:1px solid #6d9a78;background:linear-gradient(135deg,#264b43,#396b4d);border-radius:15px;color:#fcf8de;padding:22px;text-align:center;margin-bottom:22px;box-shadow:inset 0 0 0 5px #fff8d508}
.scoreboard-label{font-size:10px;letter-spacing:3px;color:#d4dfb5}.scoreboard-teams{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:10px;margin:20px 0 12px}.scoreboard-teams>span{font-size:13px}.scoreboard-teams strong{display:block;font-family:'Manrope',sans-serif;font-size:52px;line-height:1.2;margin-top:9px;font-weight:800;color:#ffe8a2;animation:score-reveal .65s ease-out both}.scoreboard-teams>b{font-size:22px;color:#b6c6a4}.match-scoreboard>p{font-size:9px;letter-spacing:1.4px;color:#cdddba}.match-receipt{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #cddbb24d;margin-top:20px;padding-top:14px;font-size:12px;color:#d3deb9}.match-receipt strong{font-size:15px;color:#ffebad}.match-loss .scoreboard-teams>span:first-child strong{color:#e7b190}
.quiz-prompt{display:flex;align-items:center;gap:10px;color:#95713f;padding:14px;background:#fff0d5;border:1px solid #e8d0a9;border-radius:11px;margin-bottom:22px}.quiz-prompt>span{font-size:10px;letter-spacing:1px}.quiz-prompt strong{font-size:15px;margin-left:auto;white-space:nowrap}
.quiz-result{display:flex;flex-direction:column;align-items:center;background:#fff0dd;border:1px solid #ead1b5;border-radius:15px;padding:24px;margin-bottom:22px;color:#ac6944}.quiz-result>span{display:grid;place-items:center;background:#f5d4a5;width:65px;height:65px;border-radius:50%;margin-bottom:15px}.quiz-result .icon{width:35px;height:35px}.quiz-result>strong{font-size:45px;line-height:1.3;animation:score-reveal .5s ease-out both}.quiz-result>small{font-size:13px}.quiz-win{background:#edf4e1;border-color:#d4e0c0;color:#4c7b4e}.quiz-win>span{background:#dbe9ba;color:#6b8f44}
@keyframes score-reveal{from{opacity:.2;transform:translateY(-10px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){.tiger-banner{padding:14px;gap:12px}.tiger-mark{font-size:35px}.tiger-banner h3{font-size:16px}.bet-choices>button{padding:14px}.bet-choices strong{font-size:22px}.match-scoreboard{padding:18px}.scoreboard-teams strong{font-size:44px}.quiz-prompt{gap:8px;padding:12px}.quiz-prompt>span{font-size:9px}.quiz-prompt strong{font-size:13px}.owned-book .button{white-space:normal;min-height:46px;padding:10px 12px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){.scoreboard-teams strong,.quiz-result>strong{animation:none}}
.stock-portfolio{padding:20px;border:1px solid #cbdcd0;border-radius:14px;background:linear-gradient(130deg,#edf4e8,#f8fbf2);margin:0 0 21px}
.portfolio-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.portfolio-heading>span{display:grid;place-items:center;background:#dae8cc;border-radius:10px;width:43px;height:43px;flex-shrink:0;color:#5e8652}.portfolio-heading .eyebrow{font-size:9px;margin-bottom:5px;color:#78916a}.portfolio-heading h3{font-size:17px;line-height:1.4;color:#4f704a}
.portfolio-value{padding-bottom:17px;border-bottom:1px solid #d4e1ca}.portfolio-value>span{display:block;font-size:12px;color:#758a69}.portfolio-value>strong{display:block;font-family:'Manrope',sans-serif;font-size:35px;font-weight:800;letter-spacing:-1px;color:#3f6846;margin:5px 0}.portfolio-value>small{display:block;font-size:12px}
.portfolio-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-top:17px}.portfolio-stats>span{font-size:12px;color:#7b8c70}.portfolio-stats strong{display:block;font-size:19px;font-weight:700;color:#546f4e;margin-top:6px;overflow-wrap:anywhere}
.stock-portfolio .positive-return{color:#4e8055}.stock-portfolio .negative-return{color:#b36249}.stock-portfolio .settings-note{margin:16px 0;font-size:12px}.stock-trade-tabs{margin:18px 0 16px}.stock-trade-tabs button{font-size:13px}
.amount-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 9px}.amount-heading>label{font-size:14px;font-weight:650}.amount-heading>span{font-size:12px;color:#78896b;text-align:right}
.money-input{display:flex;align-items:center;gap:9px;background:#fffefa;border:1px solid #bdcfb3;border-radius:11px;padding:9px 11px}.money-input>span{font-size:23px;font-weight:700;color:#759165}.money-input>input{width:100%;min-width:0;padding:2px 0;border:0;background:transparent;font-size:23px;font-weight:700;color:#365b40;line-height:1.5;-moz-appearance:textfield}.money-input input::-webkit-inner-spin-button,.money-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.money-input>input:focus-visible{outline-offset:4px;outline-width:2px}.money-input>button{background:#e9f1df;border:1px solid #d5e1c8;border-radius:8px;padding:8px 11px;color:#688954;font-size:12px;font-weight:650;white-space:nowrap;min-height:36px}
.trade-footnote{text-align:center;font-size:11px;color:#809170;margin-top:12px}.stock-availability{font-size:12px;line-height:1.5;color:#a17342;margin:9px 0}.stock-availability:empty{display:none}
.stock-finance-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px;border:1px solid #cfdec6;border-radius:12px;background:#eff5e7;margin-bottom:20px}.stock-finance-row>span{display:flex;align-items:center;gap:12px;flex:1;min-width:0;color:#69915a}.stock-finance-row span strong{display:block;font-size:14px;font-weight:650;color:#4b7046}.stock-finance-row small{display:block;font-size:11px;line-height:1.5;color:#7b8e6d;margin-top:4px}.stock-finance-row>strong{font-size:20px;color:#4c7848;overflow-wrap:anywhere}.stock-finance-row>.icon{width:17px;color:#86a272}
.stake-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px}.stake-presets>button{border:1px solid #e5d4ad;background:#fff6e2;color:#a07d3d;border-radius:9px;min-height:39px;font-weight:650;font-size:13px}.stake-presets>button.all-in{background:#f4d3a9;border-color:#e3b882;color:#935b31}.bet-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0 4px}.bet-preview span{font-size:12px;color:#9a8454}.bet-preview strong{display:block;font-size:23px;margin-top:5px;color:#8c6c34;overflow-wrap:anywhere}.minigame-modal .money-input{border-color:#d9c291}.minigame-modal .money-input>input{color:#866633}.minigame-modal .money-input>span{color:#aa884b}.bet-terms strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.stock-portfolio{padding:16px}.portfolio-heading{gap:10px;margin-bottom:16px}.portfolio-heading>span{width:36px;height:36px}.portfolio-heading h3{font-size:15px}.portfolio-value>strong{font-size:clamp(24px,7.5vw,32px);overflow-wrap:anywhere}.portfolio-stats{gap:10px}.portfolio-stats strong{font-size:17px}.amount-heading>label{font-size:13px}.amount-heading>span{font-size:11px}.money-input>input{font-size:21px}.stock-finance-row{padding:13px;gap:10px}.stock-finance-row>span{gap:8px}.stock-finance-row>strong{font-size:17px}.stock-finance-row>.icon{display:none}.stock-finance-row small{font-size:10px}.stake-presets{gap:7px}.stake-presets>button{font-size:12px}.bet-preview strong{font-size:21px}}

/* Temporary beginner support lives inside Pipeline, leaving the phone HUD unchanged. */
.pipeline-estimate-note{font-size:12px;line-height:1.55;color:#73836a;margin:-9px 0 16px}
.beginner-luck-note{display:flex;align-items:flex-start;gap:11px;border:1px solid #e7d5a0;background:#fff6d9;border-radius:11px;padding:14px;margin:0 0 16px;color:#796334}
.beginner-luck-note>.icon{flex-shrink:0;width:20px;height:20px;margin-top:1px;color:#b88b33}
.beginner-luck-note>div{min-width:0}.beginner-luck-note strong{display:block;font-size:14px;line-height:1.5}.beginner-luck-note p{font-size:13px;line-height:1.5;margin:4px 0}.beginner-luck-note small{display:block;font-size:12px;line-height:1.5;margin-top:3px;color:#8c7950}
@media(max-width:600px){.beginner-luck-note{padding:12px;gap:9px}.beginner-luck-note strong{font-size:13px}.pipeline-estimate-note{font-size:12px}}

/* V9: faces, desks, property scenes and a quiz career. */
.agent-portrait{width:72px;height:82px;flex-shrink:0;display:block}.candidate-top .agent-portrait{width:64px;height:73px}.applicant-intro .agent-portrait{width:100px;height:114px}.applicant-intro strong{font-size:19px;color:var(--ink)}.profile-overview .agent-portrait,.return-career .agent-portrait{width:70px;height:80px}.team-room{display:flex;align-items:flex-end;gap:12px;min-height:155px;margin:16px 0 20px;padding:16px 18px 10px;background:linear-gradient(#e4eee1 0 76%,#d3b990 76% 79%,#e3d1ae 79%);border:1px solid #cfddc6;border-radius:13px;position:relative;overflow:hidden}.team-room>button{z-index:1;display:flex;align-items:center;flex-direction:column;padding:0 3px;min-width:60px}.team-room>button:hover{transform:translateY(-3px)}.team-room>button>span{font-size:11px;background:#fff9e9;border-radius:4px;padding:3px 6px}.office-door{margin-left:auto;align-self:center;border:3px solid #a5b69a;background:#f8f8e9;padding:17px 12px;text-align:center;font-size:8px;letter-spacing:1.5px;line-height:1.8;transform:rotate(2deg)}.office-door b{font-size:11px}.service-dashboard{border:1px solid #d5dfc9;border-radius:12px;padding:15px;margin:15px 0;background:#f3f7e9}.service-heading{display:flex;gap:10px;align-items:center}.service-heading>b{margin-left:auto;font-size:20px}.service-slots{height:9px;background:#dfe8d3;border-radius:6px;overflow:hidden;margin:12px 0}.service-slots>i{display:block;height:100%;background:#73a16b}.service-dashboard p{font-size:12px;color:var(--muted)}.service-dashboard.over-capacity{background:#fff0e5;border-color:#e4b398}.over-capacity .service-slots>i{background:#c6674b}.contact-status{display:flex;gap:10px;align-items:center;margin:13px 0;padding-top:12px;border-top:1px solid #dce3d2;color:#aa7446}.contact-status.warm{color:#518253}.contact-status strong,.contact-status small{display:block;font-size:12px;line-height:1.5}.contact-status small{font-size:11px;font-weight:400;color:#73816d}.service-dashboard>.text-link{margin:0;padding:6px 0}.property-market-header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e8efdc;border-radius:13px;padding:20px}.property-market-header h3{font-size:23px;letter-spacing:-.6px}.property-market-header p{font-size:12px;color:#6f815d;margin-top:8px}.price-sparkline{width:160px;max-width:35%;color:#518167}.developer-path{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0;font-size:11px;color:#8c947d}.developer-path>span{padding:8px;border-radius:6px;background:#f0f0e5}.developer-path .done{background:#dcebcf;color:#497446}.developer-path i{font-style:normal}.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:20px}.property-card{border:1px solid #d4dfcb;border-radius:14px;overflow:hidden;background:#fffff8;min-width:0}.property-scene{display:block;width:100%;height:auto;max-height:220px;border-radius:10px}.property-card>.property-scene{border-radius:0}.property-card-content{padding:15px}.property-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#7e8c70;letter-spacing:.5px}.property-label b{font-weight:600;letter-spacing:0}.property-card h3{font-size:17px;margin:9px 0}.property-price strong{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.7px}.property-price>span{display:block;font-size:10px;color:#78856c;margin-top:3px}.property-ledger{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0;font-size:10px;color:#7a876e}.property-ledger b{display:block;font-size:12px;color:var(--ink);margin-top:3px}.gain,.gain b{color:#4a895a}.loss,.loss b{color:#be5946}.property-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.property-controls .button{font-size:11px;min-height:38px;padding:0 12px;flex:1}.property-controls .action-reason{flex-basis:100%;font-size:10px;margin-top:0}.build-progress{margin-top:13px}.build-progress>div{display:flex;justify-content:space-between;gap:9px;font-size:10px;color:#7e8b69}.build-progress i{display:block;margin-top:8px;border-radius:5px;height:7px;background:#e2e8d7;overflow:hidden}.build-progress b{display:block;background:#d5a047;height:100%;border-radius:5px}.land-project{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:18px;background:#f6edda;border:1px solid #e3d1aa;border-radius:14px;margin:24px 0;align-items:start}.land-project h3{font-size:20px}.land-project p{font-size:12px;color:#8c805f;margin:10px 0}.land-project .action-card{padding:11px;gap:8px}.land-project .action-icon{display:none}.land-project .action-title{font-size:13px}.land-project .action-title em{display:none}.development-list{display:grid;gap:10px;margin-bottom:20px}.development-card{border:1px solid #dddac4;border-radius:10px;padding:15px;background:#fbf8ed}.development-card>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px}.development-card span{color:#878461;font-size:11px}.development-card p{font-size:11px;color:#858362;margin-top:10px}.equity-summary{display:flex;align-items:flex-start;gap:12px;background:#ecf3e2;border:1px solid #d5e1ca;border-radius:12px;padding:17px;margin-bottom:18px}.equity-summary>span{background:#dae7cd;border-radius:9px;padding:10px}.equity-summary h3{font-size:15px}.equity-summary p{font-size:12px;margin:7px 0}.equity-summary small{color:#758368;font-size:11px;line-height:1.6;display:block}.quiz-career{background:#f7efd5;border:1px solid #e6d8ad;border-radius:13px;padding:18px;margin:0 0 20px}.quiz-career-top{display:flex;align-items:center;gap:12px}.quiz-trophy{display:grid;place-items:center;width:48px;height:56px;background:#eed490;color:#9a7732;border-radius:13px;flex-shrink:0}.quiz-trophy>.icon{width:32px;height:32px}.quiz-career .eyebrow{font-size:8px;letter-spacing:.9px;color:#a38a4f}.quiz-career h3{font-size:17px}.quiz-career p{font-size:11px;color:#9a8859}.quiz-career-top>strong{font-size:24px;letter-spacing:-.6px;color:#9c7a31;margin-left:auto;text-align:right}.quiz-career-top>strong small{display:block;font-size:9px;letter-spacing:0;font-weight:400;margin-top:4px}.quiz-ladder{display:grid;grid-template-columns:repeat(6,1fr);padding:0;margin:21px 0 15px;list-style:none;position:relative;gap:3px}.quiz-ladder:before{content:'';height:3px;position:absolute;top:13px;left:8%;right:8%;background:#ded5b6}.quiz-ladder li{position:relative;display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;font-size:9px;color:#9c967e}.quiz-ladder b{width:28px;height:28px;border-radius:50%;background:#e7e1cc;border:2px solid #f7efd5;display:grid;place-items:center;font-size:10px}.quiz-ladder .reached{color:#866b2b}.quiz-ladder .reached b{background:#d9b961;color:#fffdf1}.quiz-career .settings-note{margin:0;font-size:10px;color:#9a8859}.quiz-prompt small{display:block;color:#a79563;font-size:11px}
@media(max-width:600px){.property-grid{grid-template-columns:1fr}.property-shop{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.property-shop .property-card-content{padding:11px}.property-shop .property-label{flex-wrap:wrap;gap:4px}.property-shop .property-card h3{font-size:14px}.property-shop .property-price strong{font-size:21px}.property-shop .property-controls{display:grid;gap:6px}.property-shop .property-controls .button{padding:0 8px;font-size:10px}.property-market-header{padding:16px;gap:10px}.property-market-header h3{font-size:20px}.property-market-header p{font-size:10px}.developer-path{font-size:9px;gap:4px}.developer-path>span{padding:7px 5px}.land-project{grid-template-columns:1fr;padding:14px;gap:13px}.land-project>.property-scene{max-height:140px}.quiz-career{padding:13px}.quiz-career-top{gap:9px}.quiz-trophy{width:37px;height:47px}.quiz-career h3{font-size:14px}.quiz-career-top>strong{font-size:20px}.quiz-career .eyebrow{font-size:7px}.quiz-ladder li{font-size:8px}.team-room{gap:1px;padding:10px 6px;min-height:125px}.team-room .agent-portrait{width:57px;height:65px}.team-room>button{min-width:0}.office-door{padding:11px 6px;font-size:6px;letter-spacing:.5px}.office-door b{font-size:8px}.candidate-top .agent-portrait{width:57px;height:65px}.service-heading{font-size:13px}.property-controls .button{min-height:42px}}
