@font-face{font-family:ZCOOL KuaiLe;font-style:normal;font-display:swap;font-weight:400;src:url(./zcool-kuaile-chinese-simplified-400-normal-BKaOBC6q.woff2)format("woff2")}:root{--game-font-family:"ZCOOL KuaiLe", "YouYuan", "幼圆", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;--game-symbol-font-family:"Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;--game-cute-font-family:var(--game-font-family);--game-text-caption:clamp(.9375rem, calc(.82rem + .36vh), 1rem);--game-text-small:clamp(1rem, calc(.88rem + .36vh), 1.0625rem);--game-text-body:clamp(1.0625rem, calc(.9425rem + .36vh), 1.125rem);--game-text-subtitle:clamp(1.1875rem, calc(.94rem + .74vh), 1.3125rem);--game-text-title:clamp(1.375rem, calc(1.125rem + .74vh), 1.5rem);font-family:var(--game-font-family);color:#55361f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#1b1d24;font-size:18px;line-height:1.4}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{min-height:100dvh;font-size:var(--game-text-body);background:#1b1d24;overflow:hidden}button,input,textarea,select{font:inherit}#root{place-items:center;width:100vw;min-height:100dvh;display:grid;overflow:hidden}.game-viewport{--game-ui-scale:1;--game-layout-height:100dvh;--device-safe-area-top:env(safe-area-inset-top,0px);--device-safe-area-right:env(safe-area-inset-right,0px);--device-safe-area-bottom:env(safe-area-inset-bottom,0px);--device-safe-area-left:env(safe-area-inset-left,0px);--game-safe-area-top:var(--device-safe-area-top);--game-safe-area-right:var(--device-safe-area-right);--game-safe-area-bottom:var(--device-safe-area-bottom);--game-safe-area-left:var(--device-safe-area-left);background:#fff;width:min(100vw,480px);height:100dvh;max-height:854px;position:relative;overflow:hidden}.game-shell{width:480px;height:var(--game-layout-height);transform:scale(var(--game-ui-scale));transform-origin:0 0;background:#fff;position:absolute;top:0;left:0;overflow:hidden;container:game/size}.game-shell,.game-shell *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.game-shell{--game-text-caption:clamp(.9375rem, calc(.82rem + .36cqh), 1rem);--game-text-small:clamp(1rem, calc(.88rem + .36cqh), 1.0625rem);--game-text-body:clamp(1.0625rem, calc(.9425rem + .36cqh), 1.125rem);--game-text-subtitle:clamp(1.1875rem, calc(.94rem + .74cqh), 1.3125rem);--game-text-title:clamp(1.375rem, calc(1.125rem + .74cqh), 1.5rem)}.game-shell input,.game-shell textarea,.game-shell [contenteditable=true]{-webkit-user-select:text;user-select:text}.game-shell :focus:not(input,textarea,select,[contenteditable=true]),.game-shell :focus-visible:not(input,textarea,select,[contenteditable=true]){outline:none!important}:root.desktop-runtime,:root.desktop-runtime body,:root.desktop-runtime #root{background:#fff}:root.desktop-runtime .game-viewport{max-height:none}@media (width<=480px){.game-viewport{width:100vw;max-height:none}}.home-screen{width:100%;height:100%;padding:max(24px, var(--game-safe-area-top)) max(24px, var(--game-safe-area-right)) max(24px, var(--game-safe-area-bottom)) max(24px, var(--game-safe-area-left));place-items:center;display:grid;position:relative;overflow:hidden}.home-screen__background{object-fit:cover;object-position:center;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.home-screen__content{z-index:1;flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative}.home-settings-button{z-index:2;top:max(18px, calc(var(--game-safe-area-top) + 10px));right:max(18px, calc(var(--game-safe-area-right) + 10px));color:#fff;min-width:94px;min-height:46px;font-size:var(--game-text-body);cursor:pointer;background:linear-gradient(#7b80dc,#4b50a6);border:3px solid #343883;border-radius:15px;justify-content:center;align-items:center;gap:7px;padding:7px 14px 7px 10px;font-weight:900;display:inline-flex;position:absolute;box-shadow:inset 0 2px 1px #ffffff61,0 4px #292d73}.home-settings-button>span{font-family:var(--game-symbol-font-family);font-size:var(--game-text-subtitle);line-height:1}.home-settings-button:active{transform:translateY(2px);box-shadow:inset 0 2px 1px #ffffff52,0 2px #292d73}.home-screen__actions{flex-direction:column;align-items:stretch;gap:12px;width:min(100%,320px);display:flex}.game-title{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start-button{color:#fff;letter-spacing:.08em;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#242424;border:2px solid #242424;border-radius:999px;width:100%;min-height:54px;font-size:1.125rem;font-weight:700;transition:background-color .16s,color .16s,transform .16s}.new-game-button,.home-save-error button{color:#343434;min-height:44px;font-size:var(--game-text-body);cursor:pointer;background:#fff;border:2px solid #494949;border-radius:999px;padding:8px 16px;font-weight:800}.home-save-card,.home-save-error{color:#294943;text-align:left;background:#edf9f5;border:2px solid #8ca9a1;border-radius:16px;flex-direction:column;gap:5px;padding:13px 14px;display:flex}.home-save-card>span,.home-save-card>small{color:#5c726d;font-size:var(--game-text-caption);font-weight:750}.home-save-card>strong{font-size:var(--game-text-subtitle)}.home-save-error{color:#6e302a;background:#fff0ed;border-color:#c57d74}.home-save-error strong{font-size:var(--game-text-body)}.home-save-error p{font-size:var(--game-text-small);margin:0;font-weight:700;line-height:1.45}.home-save-error button{color:#7a332c;background:#fff9f7;border-color:#a9564d;margin-top:4px}.start-button:active{transform:scale(.98)}.start-button:focus-visible{outline-offset:4px;outline:3px solid #7aa7ff}.new-game-button:focus-visible,.home-settings-button:focus-visible,.home-save-error button:focus-visible{outline-offset:3px;outline:3px solid #7aa7ff}.flow-selection-modal{--modal-border:#976523;--modal-brand-surface:#d98930;--modal-brand-shadow:#9c5b1f;--modal-header-surface:#ffd778;--modal-footer-surface:#fff1ca;--modal-primary-surface:#d7772c;--modal-primary-shadow:#9d4e1f}.flow-selection-modal .game-modal-body{padding:14px}.flow-selection-modal__intro{color:#60401f;background:#fff4d5;border:2px solid #e3ae52;border-radius:14px;padding:12px 13px}.flow-selection-modal__intro strong{font-size:var(--game-text-subtitle)}.flow-selection-modal__intro p{font-size:var(--game-text-small);margin:7px 0 0;font-weight:700;line-height:1.45}.flow-selection-modal__options{gap:10px;margin-top:16px;display:grid}.flow-selection-option{color:#553b22;text-align:left;cursor:pointer;background:#fffaf0;border:2px solid #d6b878;border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:76px;padding:12px;display:grid}.flow-selection-option.is-selected{background:#fff0cf;border-color:#d2762e;box-shadow:inset 0 0 0 2px #d2762e2e}.flow-selection-option__marker{color:#765028;width:42px;height:42px;font-size:var(--game-text-body);background:#ffe5a4;border:2px solid #bd8a44;border-radius:12px;place-items:center;font-weight:900;display:grid}.flow-selection-option.is-selected .flow-selection-option__marker{color:#fff;background:#db7d31;border-color:#ba5f25}.flow-selection-option__content{gap:4px;min-width:0;display:grid}.flow-selection-option__content strong{font-size:var(--game-text-body)}.flow-selection-option__content small,.flow-selection-option__status{font-size:var(--game-text-caption);font-weight:750}.flow-selection-option__content small{color:#79644c}.flow-selection-option__status{color:#99612b;white-space:nowrap}.flow-randomization{margin-top:18px}.flow-randomization h3{font-size:var(--game-text-subtitle);margin:0 0 9px}.flow-randomization__options{gap:9px;display:grid}.flow-randomization-option{color:#5d5140;text-align:left;cursor:pointer;background:#f7f3e9;border:2px solid #cbbd9e;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:70px;padding:11px 12px;display:grid}.flow-randomization-option.is-enabled{color:#385c34;background:#eaf6df;border-color:#72a86c}.flow-randomization-option>span{gap:4px;min-width:0;display:grid}.flow-randomization-option strong{font-size:var(--game-text-body)}.flow-randomization-option small,.flow-randomization-option b{font-size:var(--game-text-caption);font-weight:750}.flow-randomization-option small{color:#756c5d;line-height:1.35}.flow-randomization-option.is-enabled small{color:#587452}.flow-randomization-option b{color:#6b6255;text-align:center;white-space:nowrap;background:#e2ddd2;border-radius:999px;min-width:58px;padding:5px 7px}.flow-randomization-option.is-enabled b{color:#fff;background:#5d9857}@container game (width<=360px) or (height<=680px){.flow-selection-modal .game-modal-body,.flow-selection-modal__intro,.flow-selection-option{padding:10px}.flow-selection-modal__options{gap:8px;margin-top:10px}.flow-randomization{margin-top:12px}.flow-randomization__options{gap:8px}}.round-screen{--bottom-control-offset:max(12px, var(--game-safe-area-bottom));color:#20242c;background:#b9dbe8;width:100%;height:100%;position:relative;overflow:hidden}.turn-intro-transition{appearance:none;z-index:31;isolation:isolate;width:100%;padding:max(24px, var(--game-safe-area-top)) 20px max(32px, var(--game-safe-area-bottom));color:#fff8dc;font:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-backdrop-filter:blur(5px)saturate(.88);backdrop-filter:blur(5px)saturate(.88);pointer-events:auto;animation:turn-intro-curtain var(--turn-intro-duration) ease-in-out both;background:radial-gradient(circle at 50% 43%,#ffee8b61 0%,#eead453d 32%,#0000 60%),linear-gradient(#b16422db 0%,#7c3a1de6 100%);border:0;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.turn-intro-transition:focus-visible{outline-offset:-5px;outline:3px solid #fff1a6}.turn-intro-transition:before{z-index:-1;aspect-ratio:1;content:"";width:min(86cqw,360px);animation:turn-intro-halo var(--turn-intro-duration) ease-out both;background:radial-gradient(circle,#fff6c22b 0 34%,#0000 35% 100%);border:2px solid #fff0af57;border-radius:50%;position:absolute;box-shadow:0 0 0 18px #ffe28914,0 0 70px #ffd05c3d}.turn-intro-transition__content{text-align:center;width:min(78cqw,300px);animation:turn-intro-content var(--turn-intro-duration) cubic-bezier(.22, .76, .25, 1) both;place-items:center;gap:8px;padding:20px 18px;display:grid;position:relative}.turn-intro-transition__content:before,.turn-intro-transition__content:after{content:"";background:linear-gradient(90deg,#0000,#ffef99c7 24% 76%,#0000);border-radius:999px;width:100%;height:2px;box-shadow:0 0 10px #ffe4693d}.turn-intro-transition__eyebrow{color:#fff3bd;font-size:var(--game-text-caption);letter-spacing:.14em;background:#813c1b8c;border:1px solid #ffe6a17a;border-radius:999px;padding:5px 13px;font-weight:900}.turn-intro-transition__content strong{color:#fff;font-size:var(--game-text-title);text-shadow:0 2px #8f491f,0 4px 12px #3f1b0d7a;font-weight:950;line-height:1.2}.turn-intro-transition__content time{color:#fff2b8;font-size:var(--game-text-subtitle);font-variant-numeric:tabular-nums;text-shadow:0 2px 7px #3f1b0d75;font-weight:850;line-height:1.3}.turn-intro-transition__event-status{color:#fff7e7;font-size:var(--game-text-small);text-shadow:0 2px 7px #3f1b0d75;font-weight:750;line-height:1.4}.turn-intro-transition__skip-hint{color:#fff7e7d1;font-size:var(--game-text-caption);text-shadow:0 2px 7px #3f1b0d75;margin-top:4px;font-weight:750;line-height:1.4}.scene-placeholder{background-color:#a9d6df;background-image:url(./round-main-D-ZEqOmF.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.top-hud{z-index:2;top:max(12px, var(--game-safe-area-top));flex-direction:column;gap:10px;width:clamp(220px,68cqw,285px);display:flex;position:absolute;left:12px}.top-hud--event{z-index:25;gap:0}.top-hud--event .goal-progress{display:none}.player-card{--player-avatar-size:clamp(82px, 20cqw, 90px);isolation:isolate;background:radial-gradient(90% 70% at 18% -8%,#fffc 0%,#fff3 40%,#0000 66%),linear-gradient(#ffe85f 0%,#ffc51f 54%,#f19b08 100%);border:2px solid #d88600;border-radius:22px;align-items:stretch;min-width:0;min-height:148px;padding:0;display:flex;position:relative;box-shadow:inset 0 2px 1px #ffffffc2,inset 0 -3px 3px #92430038,0 4px #995107,0 7px 10px -5px #451f0070}.player-card:before{z-index:3;width:var(--player-avatar-size);height:var(--player-avatar-size);filter:drop-shadow(0 2px 2px #74390047);content:"";background:url(./player-avatar-RjfavdVc.png) 50%/contain no-repeat;position:absolute;top:-4px;left:-4px}.player-card:after{z-index:0;content:"";background:linear-gradient(#fffdf0 0%,#fff8d6 100%);border-radius:0 0 15px 15px;position:absolute;inset:39px 7px 7px;box-shadow:inset 0 1px #cd890d6b}.player-card>*{z-index:1;position:relative}.player-card--collapsed{--player-avatar-size:60px;align-self:flex-start;align-items:center;width:clamp(216px,52cqw,236px);min-height:84px;padding:0}.player-card--collapsed:before{top:-2px;left:-2px}.player-card--collapsed:after{top:28px}.player-card--event{z-index:1;border-bottom-color:#0000;border-radius:22px 22px 0 0;box-shadow:inset 0 2px 1px #ffffffc2,0 7px 10px -5px #451f0057}.player-card__collapsed-content{width:calc(100% - var(--player-avatar-size) - 4px);min-width:0;margin:0 7px 4px calc(var(--player-avatar-size) + 4px);background:0 0;border:0;border-radius:0;flex-direction:column;align-self:stretch;gap:2px;padding:0 2px;display:flex}.player-card__collapsed-name{color:#31200d;min-height:28px;font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;align-items:center;font-weight:900;line-height:1;display:flex;overflow:hidden}.player-card__collapsed-cash,.player-card__collapsed-vitals{color:#4d3519;font-size:var(--game-text-caption);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-weight:800;line-height:1.25;overflow:hidden}.player-card__collapsed-cash{margin-top:1px}.player-card__collapsed-vitals{justify-content:flex-start;gap:6px;display:flex}.player-card__event-toggle{z-index:2;color:#713b08;width:100%;min-height:16px;box-shadow:none;font-family:var(--game-symbol-font-family);font-size:var(--game-text-caption);cursor:pointer;background:0 0;border:0;align-self:flex-start;place-items:start center;margin-top:-4px;padding:0;font-weight:800;line-height:1;display:grid;position:relative}.player-card__event-toggle:before{content:"";position:absolute;inset:-14px 0}.player-card__event-toggle>span{z-index:1;text-shadow:0 1px #fff6b9bd;background:linear-gradient(#f19b08 0 4px,#e79408 100%);border:2px solid #d88600;border-top:0;border-radius:0 0 16px 16px;place-items:center;width:100%;height:16px;display:grid;position:relative;box-shadow:inset 0 -2px 2px #803a002e,0 3px #995107,0 5px 7px -4px #451f007a}.player-card--collapsed+.player-card__event-toggle{width:clamp(216px,52cqw,236px)}.player-card__event-toggle:active{transform:none}.player-card__event-toggle:active>span{transform:translateY(1px);box-shadow:inset 0 -2px 2px #803a002e,0 2px #995107,0 4px 6px -4px #451f007a}.player-card__event-toggle:focus-visible{outline:none}.player-card__event-toggle:focus-visible>span{outline-offset:3px;outline:3px solid #fff}.player-card__content{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;display:flex}.player-card__body{min-width:0;padding:7px 18px 10px calc(var(--player-avatar-size) + 2px);background:0 0;flex-direction:column;flex:1;gap:5px;display:flex}.player-card__details{flex-direction:column;gap:3px;min-width:0;display:flex}.player-card__name{min-height:39px;padding:8px 18px 5px calc(var(--player-avatar-size) + 2px);color:#31200d;font-size:var(--game-text-body);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;line-height:1.15;overflow:hidden}.player-card__asset{color:#2f2519;font-size:var(--game-text-body);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.player-card__arrears{color:#7a241d;font-size:var(--game-text-caption);font-weight:850;line-height:1.2}.settlement-grace-modal{--modal-border:#b45b38;--modal-brand-surface:#e27645;--modal-brand-shadow:#9a4329}.settlement-grace-modal__amount{color:#6e3d24;background:#fff0d6;border:2px solid #dda660;border-radius:14px;padding:14px}.settlement-grace-modal__amount span{font-size:var(--game-text-caption);font-weight:800;display:block}.settlement-grace-modal__amount strong{color:#9a382b;font-size:var(--game-text-title);font-variant-numeric:tabular-nums;margin-top:4px;display:block}.settlement-grace-modal__amount p,.settlement-grace-modal__rules p,.settlement-grace-modal__footer p{font-size:var(--game-text-small);margin:7px 0 0;font-weight:700}.settlement-grace-modal__rules{margin-top:18px}.settlement-grace-modal__rules h3{font-size:var(--game-text-subtitle);margin:0}.player-status-summary{top:calc(var(--player-avatar-size) + 1px);width:calc(var(--player-avatar-size) - 18px);color:#684619;min-width:0;min-height:48px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:2px;display:grid;position:absolute;left:11px}.player-status-summary:hover{background:0 0}.player-status-summary:focus-visible{outline-offset:2px!important;outline:3px solid #fff!important}.player-status-summary__grid{flex-wrap:wrap;place-content:center;align-items:center;gap:2px 3px;width:100%;min-width:0;height:42px;display:flex}.player-status-summary__grid--single-row{flex-wrap:nowrap}.player-status-summary__badge{min-width:26px;height:20px;font-size:var(--game-text-caption);text-overflow:clip;white-space:nowrap;border:0;border-radius:999px;flex:none;place-items:center;padding:0 4px;font-weight:900;line-height:1;display:grid;overflow:hidden}.player-status-summary__grid--single-row .player-status-summary__badge{min-width:20px;height:24px;font-size:var(--game-text-small);padding:0 2px}.player-status-summary__badge--changed,.player-status-summary__normal--changed{animation:1.3s ease-out both player-status-badge-highlight}.player-status-summary__normal{font-size:var(--game-text-caption);font-weight:850}.player-status-summary__normal--changed{border-radius:999px;padding:2px 7px}.player-status-summary__unread-dot{z-index:3;background:var(--game-color-notification);pointer-events:none;border:2px solid #fff;border-radius:50%;width:12px;height:12px;animation:.18s ease-out player-status-unread-dot-in;position:absolute;top:-2px;right:-2px;box-shadow:0 2px 5px #7e18147a}.player-status-summary__announcement{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@keyframes player-status-badge-highlight{0%,to{box-shadow:none;filter:brightness()}22%,66%{filter:brightness(1.2)saturate(1.08);transform:scale(1.06);box-shadow:0 0 0 2px #fff,0 0 9px 3px #ffc62bd1}}@keyframes player-status-unread-dot-in{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}.player-status-summary__badge--wage-suspended,.player-status-detail--wage-suspended .player-status-detail__heading>span{color:#7a2f23;background:#ffd0b9}.player-status-summary__badge--food-waiver,.player-status-detail--food-waiver .player-status-detail__heading>span{color:#446020;background:#e1f0bf}.player-status-summary__badge--utility-waiver,.player-status-detail--utility-waiver .player-status-detail__heading>span{color:#245a61;background:#c8f0e7}.player-status-summary__badge--hospitalized,.player-status-detail--hospitalized .player-status-detail__heading>span{color:#315873;background:#d7e9f8}.player-status-summary__badge--pending-compensation,.player-status-detail--pending-compensation .player-status-detail__heading>span{color:#79531d;background:#ffedb8}.player-status-summary__badge--more{color:#5f5143;background:#eee5d7}.player-status-modal__body{background:0 0;margin:10px 30px 28px;padding:6px 4px 10px}.player-status-modal .game-modal-brand{opacity:0;pointer-events:none}.player-status-detail-list{flex-direction:column;gap:9px;display:flex}.player-status-detail{border:1px solid var(--modal-content-border);color:var(--modal-content-text);background:var(--modal-content-surface);border-radius:13px;padding:11px 12px;box-shadow:inset 0 1px #ffffffd1}.player-status-detail__heading{grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px;display:grid}.player-status-detail__heading>span{width:38px;height:38px;font-size:var(--game-text-caption);border:1px solid #5c3e163d;border-radius:11px;place-items:center;font-weight:900;display:grid}.player-status-modal .player-status-detail__heading>span{color:#8f3b0c;background:#ffddb5;border-color:#dfa45d}.player-status-detail__heading h3,.player-status-detail__heading p,.player-status-detail__description,.player-status-detail__transition{margin:0}.player-status-detail__heading h3{font-size:var(--game-text-subtitle);align-items:center;gap:6px;line-height:1.2;display:flex}.player-status-detail__heading p{color:var(--modal-content-muted);font-size:var(--game-text-caption);margin-top:1px;font-weight:700}.player-status-detail__description{font-size:var(--game-text-small);margin-top:7px;font-weight:700;line-height:1.35}.player-status-detail__treatment{background:#d7e9f875;border:1px solid #31587333;border-radius:11px;margin-top:9px;padding:9px 10px}.player-status-detail__treatment-heading{color:var(--modal-content-muted);font-size:var(--game-text-caption);justify-content:space-between;align-items:baseline;gap:10px;font-weight:800;display:flex}.player-status-detail__treatment-heading strong{color:#315873;font-variant-numeric:tabular-nums}.player-status-detail__treatment progress{appearance:none;background:#31587324;border:0;border-radius:999px;width:100%;height:8px;margin-top:6px;display:block;overflow:hidden}.player-status-detail__treatment progress::-webkit-progress-bar{border-radius:inherit;background:#31587324}.player-status-detail__treatment progress::-webkit-progress-value{border-radius:inherit;background:#5b91b5}.player-status-detail__treatment progress::-moz-progress-bar{border-radius:inherit;background:#5b91b5}.player-status-detail__treatment-values{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 0;display:grid}.player-status-detail__treatment-values div{min-width:0}.player-status-detail__treatment-values dt,.player-status-detail__treatment-values dd,.player-status-detail__treatment>p{margin:0}.player-status-detail__treatment-values dt{color:var(--modal-content-muted);font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.player-status-detail__treatment-values dd{color:#315873;font-size:var(--game-text-body);font-variant-numeric:tabular-nums;margin-top:1px;font-weight:900}.player-status-detail__treatment>p{color:var(--modal-content-muted);font-size:var(--game-text-caption);margin-top:7px;font-weight:700;line-height:1.3}.player-status-detail__dates{font-size:var(--game-text-caption);font-variant-numeric:tabular-nums;border-top:1px solid #79451e2e;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:2px 10px;margin-top:7px;padding-top:7px;display:grid}.player-status-detail__dates span{color:var(--modal-content-muted)}.player-status-detail__dates strong{color:var(--modal-content-text);text-align:right}.player-status-detail__dates small{color:var(--modal-content-muted);font-size:var(--game-text-caption);font-weight:800}.player-status-detail__dates p{color:#a34714;font-size:var(--game-text-caption);text-align:right;margin:0;font-weight:800}.player-status-detail__transition{color:#a34714;font-size:var(--game-text-caption);margin-top:5px;font-weight:800}.player-status-detail-empty{text-align:center;place-content:center;justify-items:center;min-height:260px;padding:28px;display:grid}.player-status-detail-empty>span{color:#fff;width:66px;height:66px;font-size:var(--game-text-title);background:#d86a16;border-radius:20px;place-items:center;font-weight:900;display:grid;box-shadow:0 3px #a94409}.player-status-detail-empty h3{font-size:var(--game-text-subtitle);margin:14px 0 0}.player-status-detail-empty p{color:var(--modal-content-muted);font-size:var(--game-text-small);margin:7px 0 0;font-weight:700}@container game (width<=360px) or (height<=680px){.player-status-modal__body{margin-bottom:24px;margin-left:26px;margin-right:26px;padding:4px 2px 8px}}.goal-progress{isolation:isolate;color:#3c3219;min-height:48px;max-height:calc(100cqh - 335px);box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;display:flex;position:relative;overflow:visible}.goal-progress:before,.goal-progress:after{pointer-events:none;content:"";position:absolute}.goal-progress:before{z-index:2;background:url(./goal-progress-collapsed-CmablxNP.webp) 50%/100% 100% no-repeat;height:48px;top:0;left:0;right:0}.goal-progress:after{z-index:0;border-style:solid;border-width:0 4px 14px 12px;border-image-source:url(./goal-progress-expanded-yuK_cbAE.webp);border-image-slice:110 9 27 26 fill;border-image-width:0 4px 14px 12px;border-image-repeat:stretch;inset:40px 0 0}.goal-progress--collapsed{min-height:48px;max-height:48px}.goal-progress--collapsed:after{display:none}.goal-progress__toggle{z-index:3;color:#3c3219;width:100%;min-height:48px;font-size:var(--game-text-small);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;padding:7px 47px 7px 57px;font-weight:900;display:flex;position:relative}.goal-progress__toggle>span{transform:translateY(2px)}.goal-progress__content{z-index:1;min-height:0;font-size:var(--game-text-caption);border-top:0;padding:10px 22px 17px 23px;font-weight:700;position:relative;overflow-y:auto}.goal-progress__list{margin:5px 0 6px;padding-left:20px;line-height:1.5}.goal-progress__list li{grid-template-columns:1em minmax(0,1fr);gap:3px;display:grid}.goal-progress__status--passed{color:#257a32}.goal-progress__status--failed{color:#b8322c}.goal-progress__score{text-wrap:balance;font-weight:900;line-height:1.35;display:block}.quick-menu{z-index:25;top:max(12px, var(--game-safe-area-top));flex-direction:column;align-items:flex-end;gap:8px;width:max-content;max-width:calc(100% - 24px);display:flex;position:absolute}.quick-menu--right{right:12px}.quick-menu__toolbar{justify-content:flex-end;align-items:flex-start;gap:6px;min-height:46px;display:flex}.round-settings-button{color:#fff;cursor:pointer;width:46px;height:46px;font-family:var(--game-symbol-font-family);font-size:var(--game-text-subtitle);background:linear-gradient(#7b80dc,#4b50a6);border:3px solid #343883;border-radius:14px;place-items:center;padding:0;font-weight:900;display:grid;box-shadow:inset 0 2px 1px #ffffff61,0 4px #292d73}.round-settings-button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px 1px #ffffff52,0 2px #292d73}.round-settings-button:disabled{filter:grayscale(.5);opacity:.56;cursor:default}.quick-menu__toggle{cursor:pointer;background:0 0;border:0;place-items:center;width:66px;min-height:44px;padding:4px 6px;display:grid}.quick-menu__toggle-icon{filter:drop-shadow(0 3px 1px #6a310057);pointer-events:none;width:100%;height:auto;display:block}.quick-menu__toggle-icon--open{transform:scaleY(-1)}.quick-menu__list{grid-template-columns:66px;grid-auto-flow:row;row-gap:6px;display:grid}@container game (height<=650px){.quick-menu__list{direction:rtl;grid-template-rows:repeat(3,82px);grid-template-columns:repeat(2,66px);grid-auto-flow:column;column-gap:8px}.quick-menu__list .quick-action{direction:ltr}.quick-menu__list .quick-action:nth-child(n+4){transform:translateY(36px)}}.quick-action{color:#fff;min-height:58px;font-size:var(--game-text-caption);text-shadow:0 1px 2px #0006;cursor:pointer;border:3px solid #fffc;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:5px 3px;font-weight:800;display:flex;box-shadow:0 4px #0003}.quick-action:disabled{filter:grayscale(.55);opacity:.56;cursor:default}.quick-action--image,.quick-action--placeholder{width:66px;min-height:82px;box-shadow:none;background:0 0;border:0;grid-template-rows:62px minmax(18px,auto);place-items:center;gap:2px;padding:0;display:grid;overflow:visible}.quick-action--image{isolation:isolate}.quick-action__image{object-fit:contain;width:62px;height:62px;display:block}.quick-action__label{line-height:1}.quick-action__label--image,.quick-action__label--placeholder,.dock-button__label{color:#2b170b;box-shadow:none;-webkit-text-stroke:0;font-family:var(--game-font-family);font-size:var(--game-text-caption);letter-spacing:.04em;paint-order:stroke fill;text-align:center;text-shadow:0 1px #fffdf0fa,0 0 3px #fffdf0f0,0 0 5px #fffdf0d1;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:700;line-height:1}.quick-action__label--image,.quick-action__label--placeholder{width:auto;position:static;transform:none}.quick-action__placeholder{color:#9b6c14;width:30px;height:23px;font-family:var(--game-symbol-font-family);font-size:var(--game-text-caption);text-shadow:none;background:#ffffffa6;border-radius:6px;place-items:center;font-weight:800;line-height:1;display:grid}.quick-action--placeholder .quick-action__placeholder{color:#fff;background:var(--theme-success);width:62px;height:62px;font-size:var(--game-text-small);border:3px solid #fffc;border-radius:15px;box-shadow:0 4px #0003}.turn-panel{isolation:isolate;background:radial-gradient(95% 62% at 18% -8%,#ffffffd1 0%,#ffffff3d 38%,#0000 64%),linear-gradient(#ffdd58 0%,#ffbd1e 54%,#ee9207 100%);border:2px solid #d87800;border-radius:20px;flex-direction:column;flex:180px;gap:5px;min-width:0;height:clamp(136px,34cqw,144px);min-height:0;padding:9px;display:flex;position:relative;box-shadow:inset 0 2px 1px #ffffffb8,inset 0 -3px 3px #9643003d,0 4px #9b4c05,0 7px 9px -4px #49200075}.turn-panel__summary{color:#4b3015;cursor:pointer;background:linear-gradient(#fffcdaf0,#fff0a8e6);border:1px solid #b5711794;border-radius:11px;flex-direction:column;flex:auto;justify-content:center;gap:8px;min-width:0;min-height:0;padding:5px 8px;display:flex;box-shadow:inset 0 1px #ffffffe0,0 1px 2px #84420029}.turn-panel__summary-heading{justify-content:flex-start;align-items:center;width:100%;min-width:0;display:flex;position:relative}.turn-panel__summary-meta{justify-content:space-between;align-items:center;gap:4px;width:100%;min-width:0;display:flex}.turn-panel__count{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.1875rem,5cqw,1.25rem);font-weight:900;line-height:1.1;overflow:hidden}.turn-panel__remaining-days{color:#8a5b1f;min-width:0;font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;margin-right:27px;font-weight:850;line-height:1.1;overflow:hidden}.turn-panel__info-icon{color:#8a5b1f;background:#fff3c2;border:2px solid #9d6c27;border-radius:50%;flex:none;place-items:center;width:21px;height:21px;font-family:Arial,sans-serif;font-size:14px;font-style:normal;font-weight:700;line-height:1;display:grid;position:absolute;top:50%;right:0;transform:translateY(-50%)}.turn-panel__date{color:#4b3015;text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:800;line-height:1.15;overflow:hidden}.turn-panel__weather{flex:none;align-items:center;gap:2px;font-size:1.0625rem;font-weight:800;line-height:1.15;display:inline-flex}.turn-panel__weather--sunny{color:#9b5900}.turn-panel__weather--cloudy{color:#60717a}.turn-panel__weather--rainy{color:#36769c}.turn-panel__weather-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.turn-panel__details{z-index:8;color:#46331d;background:#fff8d8;border:3px solid #ba7b24;border-radius:16px;width:min(280px,100cqw - 24px);padding:13px;position:absolute;bottom:calc(100% + 11px);left:-3px;box-shadow:0 7px #7046125c}.turn-panel__details:after{content:"";background:#fff8d8;border-bottom:3px solid #ba7b24;border-right:3px solid #ba7b24;width:14px;height:14px;position:absolute;bottom:-9px;left:28px;transform:rotate(45deg)}.turn-panel__details-list{flex-direction:column;gap:7px;margin:0;font-size:1.0625rem;display:flex}.turn-panel__details-list div{grid-template-columns:44px minmax(0,1fr);gap:6px;display:grid}.turn-panel__details-list dt{color:#85652e;font-weight:800}.turn-panel__details-list dd{margin:0;font-weight:700}.turn-panel__details-list small{color:#7b715e;margin-top:2px;display:block}.end-turn-button{color:#fff;cursor:pointer;background:#d85c3f;border:0;border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;min-height:46px;padding:5px 6px;font-size:clamp(1.3125rem,5cqw,1.375rem);font-weight:900;line-height:1;display:flex;box-shadow:0 4px #943622}.end-turn-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #943622}.end-turn-button:disabled{cursor:default;background:#8d938f;font-size:1rem;box-shadow:0 4px #656966}.end-turn-confirm-layer{z-index:32;padding:max(20px, var(--game-safe-area-top)) 16px max(28px, var(--game-safe-area-bottom));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#231d16a8;place-items:center;display:grid;position:absolute;inset:0}.end-turn-confirm{color:#5e3026;text-align:center;background:linear-gradient(#fff9e8,#fff0cf);border:3px solid #b94934;border-radius:19px;width:min(100%,340px);padding:20px 18px 17px;box-shadow:0 8px #6f291d7a,0 17px 30px #00000047}.end-turn-confirm__icon{color:#fff;width:48px;height:48px;font-size:var(--game-text-subtitle);background:#e5543d;border:3px solid #fff;border-radius:15px;place-items:center;margin:0 auto 8px;font-weight:1000;display:grid;box-shadow:0 4px #a53023}.end-turn-confirm__eyebrow{color:#a04e3e;font-size:var(--game-text-caption);letter-spacing:.08em;font-weight:900;display:block}.end-turn-confirm h2{color:#652f25;font-size:var(--game-text-title);margin:3px 0 0;line-height:1.2}.end-turn-confirm p{color:#75594d;font-size:var(--game-text-small);margin:10px 0 17px;font-weight:750;line-height:1.5}.end-turn-confirm__actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.end-turn-confirm__actions button{min-height:46px}.end-turn-confirm:focus-visible,.end-turn-confirm button:focus-visible{outline-offset:3px;outline:3px solid #fff}.status-group{display:flex}.status-meter{min-width:0}.status-group--horizontal{flex-direction:column;gap:6px;width:100%}.status-meter--horizontal{grid-template-columns:max-content minmax(36px,1fr) 3ch;align-items:center;gap:6px;width:100%;display:grid}.status-meter--vertical{flex-direction:column;align-items:center;gap:4px;width:clamp(31px,9cqw,44px);display:flex}.status-meter__track{background:#e7e7e7;border-radius:999px;position:relative;overflow:hidden}.status-meter--horizontal .status-meter__track{border:2px solid #ffffffe0;width:100%;height:16px;box-shadow:0 2px #00000029}.status-meter--vertical .status-meter__track{border:4px solid #fff;width:100%;height:clamp(118px,22cqh,175px);box-shadow:0 4px #00000038}.status-meter__fill{border-radius:999px;position:absolute}.status-meter--horizontal .status-meter__fill{top:0;bottom:0;left:0}.status-meter--vertical .status-meter__fill{bottom:0;left:0;right:0}.status-meter--health .status-meter__fill{background:#ed5a5a}.status-meter--mental .status-meter__fill{background:#57bd68}.status-meter__label{font-size:var(--game-text-small);white-space:nowrap;font-weight:900}.status-meter__value{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:1rem}.bottom-controls{z-index:3;right:12px;bottom:var(--bottom-control-offset);align-items:flex-end;gap:clamp(5px,1.6cqw,8px);min-width:0;display:flex;position:absolute;left:12px}.bottom-dock{--dock-button-size:clamp(76px, 22cqw, 96px);--dock-label-space:22px;height:calc(var(--dock-button-size) + var(--dock-label-space));flex:none;gap:clamp(4px,1.6cqw,8px);display:flex}.dock-button{width:var(--dock-button-size);height:calc(var(--dock-button-size) + var(--dock-label-space));color:#351a0b;min-width:0;box-shadow:none;grid-template-rows:var(--dock-button-size) var(--dock-label-space);flex:0 0 var(--dock-button-size);font-size:var(--game-text-caption);text-shadow:0 1px 2px #00000059;cursor:pointer;background:0 0;border:0;justify-content:center;place-items:center;gap:0;padding:0;font-weight:900;display:grid}.dock-button--image{isolation:isolate;overflow:visible}.dock-button__visual{width:var(--dock-button-size);height:var(--dock-button-size);object-fit:contain;border-radius:0;display:block}.dock-button__label{font-size:var(--game-text-small);flex:none}.dock-button__label--image{width:auto;position:static;transform:none}@keyframes turn-intro-curtain{0%,68%{opacity:1}to{opacity:0}}@keyframes turn-intro-content{0%{opacity:0;transform:translateY(10px)scale(.96)}16%,68%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-8px)scale(1.02)}}@keyframes turn-intro-halo{0%{opacity:0;transform:scale(.82)}22%,70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.08)}}.event-overlay{--event-dialogue-height:clamp(220px, 31cqh, 248px);z-index:20;grid-template-rows:minmax(0, 1fr) var(--event-dialogue-height);background:#738fb1;animation:.18s ease-out event-overlay-in;display:grid;position:absolute;inset:0;overflow:hidden}.event-overlay--instant,.event-overlay--instant .event-scene__background img,.event-overlay--instant .event-character,.event-overlay--instant .event-prop{animation:none}.event-scene{z-index:1;background:0 0;grid-area:1/1;min-height:0;position:relative;overflow:visible}.event-scene__background{z-index:0;color:#18335394;box-shadow:none;font-size:var(--game-text-subtitle);letter-spacing:.12em;background:#9fbad9;border:0;border-radius:0;place-items:center;font-weight:800;transition:border-color .28s,color .28s,background-color .28s;display:grid;position:absolute;inset:0;overflow:hidden}.event-scene__background img{object-fit:cover;width:100%;height:100%;animation:.28s ease-out event-background-in;display:block}.event-stage{z-index:1;border-radius:0;position:absolute;inset:0;overflow:visible}.event-stage__npc-name,.event-prop figcaption{color:#fff;min-width:76px;font-size:var(--game-text-small);text-align:center;text-shadow:0 2px 2px #0000004d;white-space:nowrap;background:#1f2838b8;border:2px solid #ffffffd1;border-radius:999px;padding:7px 14px;font-weight:900;line-height:1.1;box-shadow:0 3px 8px #141b273d}.event-stage__npc-name{z-index:6;position:absolute;bottom:12px}.event-stage__npc-name--left{left:max(16px, var(--game-safe-area-left))}.event-stage__npc-name--right{right:max(16px, var(--game-safe-area-right))}.event-prop{z-index:5;color:#f2f7ff;width:clamp(210px,62cqw,270px);box-shadow:none;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;margin:0;padding:0;animation:.22s ease-out event-background-in;display:flex;position:absolute;top:calc(50% + 30px);left:50%;transform:translate(-50%,-50%)}.event-prop img{object-fit:contain;width:100%;max-height:250px;display:block}.event-character{--focus-lift:0px;--focus-opacity:.74;--focus-scale:.86;--slot-translate-x:0%;z-index:2;width:clamp(142px,44cqw,190px);height:clamp(260px,48cqh,410px);transform:translateX(var(--slot-translate-x)) translateY(var(--focus-lift)) scale(var(--focus-scale));transform-origin:bottom;opacity:var(--focus-opacity);filter:saturate(.72)brightness(.82);flex-direction:column;justify-content:flex-end;align-items:center;transition:width .28s,height .28s,transform .28s,opacity .28s,filter .28s;display:flex;position:absolute;bottom:-12px}.event-character--left{left:-5%}.event-character--left-back{left:7%}.event-character--center{--slot-translate-x:-50%;left:50%}.event-character--right-back{right:7%}.event-character--right{right:-5%}.event-overlay--single-npc .event-character--has-image.event-character--right,.event-overlay--two-npcs .event-character--has-image.event-character--right{--slot-translate-x:0%;left:auto;right:-100px}.event-overlay--two-npcs .event-character--has-image.event-character--left{--slot-translate-x:0%;left:-100px;right:auto}.event-character--active{--focus-lift:-8px;--focus-opacity:1;--focus-scale:1;z-index:4;filter:none}.event-overlay--single-npc .event-character--has-image.event-character--right.event-character--active,.event-overlay--two-npcs .event-character--has-image.event-character--right.event-character--active{right:-70px}.event-overlay--two-npcs .event-character--has-image.event-character--left.event-character--active{left:-70px}.event-character--foreground{--focus-opacity:.76;--focus-scale:.86;z-index:2}.event-character--background{--focus-opacity:.54;--focus-scale:.86;z-index:1;filter:saturate(.55)brightness(.72)}.event-overlay--layout-group .event-character--center{--focus-lift:-46px}.event-character--has-image{bottom:calc(-1 * var(--event-dialogue-height) + 12px);width:clamp(210px,52cqw,260px);height:clamp(430px,82cqh,520px)}.event-overlay--single-npc .event-character--has-image,.event-overlay--two-npcs .event-character--has-image{--focus-lift:0px;bottom:calc(-1 * var(--event-dialogue-height) + 30px);width:clamp(321px,48.2cqh,402px);height:clamp(480px,72cqh,600px)}.event-character__portrait{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 4px #1f2a3a47);pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;max-width:none;height:100%;display:block}.event-character__head{z-index:1;aspect-ratio:1;background:color-mix(in srgb, var(--character-color) 72%, #fff);border:4px solid #fff;border-radius:50%;width:42%;margin-bottom:-10px;position:relative;box-shadow:0 5px #2f44643d}.event-character__body{background:var(--character-color);border:4px solid #fff;border-radius:50% 50% 18px 18px;width:100%;height:66%;box-shadow:0 7px #2f44643d}.event-character__name{color:#fff;min-width:58px;font-size:var(--game-text-caption);text-align:center;text-shadow:0 2px 2px #0000004d;background:#1f28389e;border:2px solid #ffffffbf;border-radius:999px;padding:5px 9px;font-weight:900;position:absolute;bottom:22%}.event-character--has-image .event-character__name{top:5%;bottom:auto;transform:translateY(-100%)}.event-overlay--single-npc .event-character--has-image .event-character__name,.event-overlay--two-npcs .event-character--has-image .event-character__name{display:none}.event-dialogue{z-index:2;height:var(--event-dialogue-height);min-height:var(--event-dialogue-height);max-height:var(--event-dialogue-height);padding:16px max(18px, var(--game-safe-area-right)) max(18px, var(--game-safe-area-bottom)) max(18px, var(--game-safe-area-left));color:#3f2b1e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fff0c98a;border-top:5px solid #a66724;flex-direction:column;grid-area:2/1;transition:background-color .14s,box-shadow .14s;display:flex;position:relative;overflow-y:auto;box-shadow:0 -8px 28px #23304342}.event-dialogue--thought{color:#29304c;background:#e5e7f58a;border-top-color:#525978}.event-dialogue--actionable{cursor:pointer;touch-action:manipulation}@media (hover:hover) and (pointer:fine){.event-dialogue--actionable:hover{background-color:#fff0c99e}.event-dialogue--actionable.event-dialogue--thought:hover{background-color:#e5e7f59e}}.event-dialogue--actionable:focus-visible{outline-offset:-7px;outline:3px solid #fff}.event-dialogue__meta{justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}.event-dialogue__speaker{color:#fff;min-width:82px;font-size:var(--game-text-small);text-align:center;background:#d68631;border:3px solid #a66724;border-radius:12px;padding:7px 16px;font-weight:900}.event-dialogue--thought .event-dialogue__speaker{background:#737ca8;border-color:#525978}.event-dialogue__progress{flex:0 auto;align-items:center;gap:5px;min-width:0;margin-right:64px;display:flex;overflow:hidden}.event-dialogue__progress i{background:#513d2b3d;border-radius:50%;width:7px;height:7px}.event-dialogue__progress i.is-current{background:#d68631;border-radius:999px;width:18px}.event-dialogue--thought .event-dialogue__progress i.is-current{background:#737ca8}.event-dialogue__text{min-height:0;font-size:var(--game-text-subtitle);margin:10px 0 6px;font-weight:400;line-height:1.65}.event-dialogue__typing-caret{vertical-align:-.08em;background:currentColor;border-radius:999px;width:.12em;height:1em;margin-left:.12em;animation:.68s step-end infinite event-typing-caret;display:inline-block}.event-dialogue__advance-hint{color:#3f2b1eb3;font-size:var(--game-text-caption);text-align:right;margin-top:auto;font-weight:800;display:block}.event-dialogue-tools{z-index:7;right:max(18px, var(--game-safe-area-right));bottom:calc(var(--event-dialogue-height) - 60px);align-items:center;gap:7px;display:flex;position:absolute}.event-dialogue-history-trigger{color:#fff;cursor:pointer;min-width:44px;height:44px;font-size:var(--game-text-body);width:58px;font-weight:900;font-size:var(--game-text-caption);background:#d68631;border:3px solid #a66724;border-radius:13px;place-items:center;padding:0;display:grid;box-shadow:0 3px #5c381759}.event-dialogue-history-trigger[aria-expanded=true]{transform:translateY(2px);box-shadow:0 1px #5c381759}.event-dialogue-history__body{scrollbar-gutter:stable;background:0 0;margin:10px 30px 0;padding:6px 4px 10px}.event-dialogue-history-modal .game-modal-brand{opacity:0;pointer-events:none}.event-dialogue-history__list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.event-dialogue-history__entry,.event-dialogue-history__choice{background:#ffffffb3;border:2px solid #a667243d;border-left-width:5px;border-radius:13px;padding:10px 12px}.event-dialogue-history__entry--thought{color:#29304c;background:#e5e7f594;border-color:#52597857 #52597857 #52597857 #737ca8}.event-dialogue-history__entry--speech{border-left-color:#d68631}.event-dialogue-history__entry--narration{background:#eef1f5c2;border-left-color:#78869a}.event-dialogue-history__entry.is-current{border-color:#d68631;box-shadow:0 3px #c58b433d}.event-dialogue-history__entry-meta{justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-bottom:5px;display:flex}.event-dialogue-history__entry-meta strong,.event-dialogue-history__choice strong{color:#a05221;min-width:0;font-size:var(--game-text-small);line-height:1.3}.event-dialogue-history__entry--thought .event-dialogue-history__entry-meta strong{color:#525978}.event-dialogue-history__entry-meta span{color:#fff;font-size:var(--game-text-caption);background:#d68631;border-radius:999px;padding:3px 8px;font-weight:900;line-height:1.2}.event-dialogue-history__entry p,.event-dialogue-history__choice p{font-size:var(--game-text-body);margin:0;line-height:1.55}.event-dialogue-history__choice{color:#6b3029;background:#ffe5dbad;border-style:dashed;border-color:#b8483a75}.event-dialogue-history__choice strong{color:#b4483a;margin-bottom:5px;display:block}.game-modal-shell.event-dialogue-history-modal>.event-dialogue-history__footer{background:0 0;margin:0 30px 28px;padding:8px 4px 2px}.event-narration-settings__header,.event-narration-settings__header>div,.event-narration-settings__range,.event-narration-settings__range>span{min-width:0}.event-narration-settings__header{justify-content:space-between;align-items:center;gap:10px;min-height:52px;display:flex}.event-narration-settings__header>div{gap:2px;display:grid}.event-narration-settings__header strong{font-size:var(--game-text-subtitle);white-space:nowrap;flex:none}.event-narration-settings__header small{color:#3f2b1eb8;min-width:0;font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.event-narration-settings__header button{color:#704318;cursor:pointer;width:44px;min-width:44px;height:44px;font-family:var(--game-symbol-font-family);font-size:var(--game-text-title);background:#fff;border:2px solid #a6672470;border-radius:12px;padding:0;font-weight:900}.event-narration-settings__switch{min-height:50px;color:inherit;cursor:pointer;font-size:var(--game-text-body);background:#ffffffc2;border:2px solid #a6672470;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:7px 12px;display:flex}.event-narration-settings__switch strong{color:#a05221}.event-narration-settings__switch[aria-checked=true] strong{color:#277449}.event-narration-settings__switch:disabled,.event-narration-settings__range input:disabled{cursor:not-allowed;opacity:.56}.event-narration-settings__range{background:#ffffff94;border:2px solid #a6672447;border-radius:12px;gap:4px;min-height:58px;padding:7px 10px;display:grid}.event-narration-settings__range>span{font-size:var(--game-text-caption);justify-content:space-between;align-items:center;gap:10px;display:flex}.event-narration-settings__range output{color:#8b4b20;font-variant-numeric:tabular-nums;font-weight:900}.event-narration-settings__range input{accent-color:#d68631;cursor:pointer;width:100%;min-height:24px;margin:0}.event-narration-settings__motion-note{color:#704318;font-size:var(--game-text-caption);background:#fff4dad6;border-radius:10px;margin:0;padding:8px 10px;line-height:1.45}.event-dialogue-history-trigger:focus-visible,.event-narration-settings button:focus-visible,.event-narration-settings input:focus-visible{outline-offset:2px;outline:3px solid #fff!important}@container game (width<=360px) or (height<=680px){.event-dialogue-history__body{margin-left:26px;margin-right:26px;padding:4px 2px 8px}.game-modal-shell.event-dialogue-history-modal>.event-dialogue-history__footer{margin-bottom:24px;margin-left:26px;margin-right:26px}}@keyframes event-typing-caret{0%,48%{opacity:1}49%,to{opacity:0}}.event-choice-panel{z-index:3;width:calc(100% - max(24px, var(--game-safe-area-left)) - max(24px, var(--game-safe-area-right)));max-height:calc(100% - 28px);margin:14px max(24px, var(--game-safe-area-right)) 14px max(24px, var(--game-safe-area-left));color:#3f2b1e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff0c9ad;border:3px solid #a66724c7;border-radius:18px;flex-direction:column;grid-area:1/1;align-self:end;gap:10px;padding:13px;display:flex;position:relative;overflow:hidden auto;box-shadow:0 8px 24px #2330433d}.event-choice-panel__title{font-size:var(--game-text-subtitle)}.event-choice-panel__options{flex-direction:column;gap:10px;display:flex}.event-choice-panel__button{color:#3f2b1e;width:100%;min-height:58px;font-weight:800;font-size:var(--game-text-body);text-align:left;cursor:pointer;background:#fff8e4c2;border:3px solid #a66724;border-radius:15px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;padding:10px 13px;line-height:1.4;display:grid;box-shadow:0 4px #c58b43}.event-choice-panel__button span{color:#fff;background:#d68631;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.event-choice-panel__button .event-choice-panel__copy{width:auto;min-width:0;height:auto;color:inherit;text-shadow:none;background:0 0;border-radius:0;flex-direction:column;align-items:flex-start;gap:4px;font-family:inherit;display:flex}.event-choice-panel__copy strong{font-size:var(--game-text-body)}.event-choice-panel__copy small{color:#8b392f;font-size:var(--game-text-caption);font-weight:800;line-height:1.35}.event-choice-panel__button:disabled{color:#75695d;cursor:not-allowed;background:#e8dfd0;border-color:#9f8e78;box-shadow:0 3px #aaa092}.event-choice-panel__button:disabled>span:first-child{background:#8d8377}.event-choice-panel__button:active{transform:translateY(2px);box-shadow:0 2px #c58b43}.event-choice-panel__button:focus-visible{outline-offset:3px;outline:3px solid #fff}.event-result-overlay{--event-result-max-height:calc(420px / var(--game-ui-scale));--event-result-top-gap:max(clamp(88px, 14cqh, 124px), calc(var(--game-safe-area-top) + 48px));--event-result-bottom-gap:max(72px, calc(var(--game-safe-area-bottom) + 48px));z-index:30;padding:var(--event-result-top-gap) 12px var(--event-result-bottom-gap);background:#1d1f259e;place-items:start center;animation:.16s ease-out event-result-overlay-in;display:grid;position:absolute;inset:0}.event-result-overlay.turn-settlement-result-overlay{--event-result-top-gap:max(clamp(40px, 7cqh, 64px), calc(var(--game-safe-area-top) + 20px))}.event-result-window{--result-border:#a83e2f;--result-shadow:#4b1d156b;--result-header:#ffd4bd;--result-accent:#d9553f;--result-accent-dark:#9c3526;--result-title:#602d25;--result-muted:#8c4034;--result-positive:#2e7d46;--result-negative:#b64234;--result-warning:#9d6512;--result-neutral:var(--result-muted);width:min(100%,340px);max-height:min(var(--event-result-max-height), calc(100cqh - var(--event-result-top-gap) - var(--event-result-bottom-gap)));border:3px solid var(--result-border);color:#49351d;box-shadow:0 8px 0 var(--result-shadow), 0 16px 30px #00000047;background:#fff8df;border-radius:19px;flex-direction:column;animation:.18s ease-out event-result-window-in;display:flex;overflow:hidden}.event-result-window__header{border-bottom:2px solid color-mix(in srgb, var(--result-border) 24%, transparent);background:var(--result-header);flex:none;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:7px;min-height:54px;padding:4px 8px;display:grid}.event-result-window__icon{color:#fff;background:var(--result-accent);width:36px;height:36px;box-shadow:0 3px 0 var(--result-accent-dark);font-size:var(--game-text-subtitle);border:3px solid #fff;border-radius:13px;place-items:center;font-weight:1000;display:grid}.event-result-window__eyebrow{color:var(--result-muted);font-size:var(--game-text-caption);letter-spacing:.08em;font-weight:900;display:block}.event-result-window__header h2{color:var(--result-title);font-size:var(--game-text-subtitle);overflow-wrap:anywhere;margin:1px 0 0;line-height:1.15}.event-result-window__body{overscroll-behavior:contain;text-align:left;-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;justify-content:flex-start;gap:7px;min-height:0;padding:8px 12px;display:flex;overflow:hidden auto}.event-result-window__summary,.event-result-window__empty{font-size:var(--game-text-small);margin:0;line-height:1.5}.event-result-window__summary{color:var(--result-title);padding:0 2px;font-weight:800}.event-result-window__empty{color:var(--result-muted);text-align:center;padding:20px 8px;font-weight:750}.event-result-window__metrics{grid-template-columns:minmax(0,1fr);gap:4px;margin:0;display:grid}.event-result-window__metric{border:2px solid color-mix(in srgb, currentColor 30%, transparent);min-width:0;color:var(--result-neutral);background:#ffffffa3;border-radius:12px;grid-template-columns:minmax(88px,auto) minmax(0,1fr);align-items:start;gap:10px;padding:5px 9px;display:grid}.event-result-window__metric dt{color:var(--result-muted);font-size:var(--game-text-caption);font-weight:800;line-height:1.35}.event-result-window__metric dd{color:currentColor;min-width:0;font-size:var(--game-text-body);font-variant-numeric:tabular-nums;text-align:right;flex-direction:column;align-items:flex-end;gap:2px;margin:0;font-weight:950;line-height:1.35;display:flex}.event-result-window__metric dd span{overflow-wrap:break-word}.event-result-window__metric dd small{color:var(--result-muted);font-size:var(--game-text-caption);font-weight:750;line-height:1.35}.event-result-window__details{flex-direction:column;gap:5px;display:flex}.event-result-window__detail{min-width:0;color:var(--result-neutral);background:color-mix(in srgb, currentColor 8%, #fff);border-left:4px solid;border-radius:8px 12px 12px 8px;flex-direction:column;gap:2px;padding:6px 10px 7px;display:flex}.event-result-window__detail h3{color:currentColor;font-size:var(--game-text-caption);margin:0;font-weight:950;line-height:1.25}.event-result-window__detail p{min-width:0;color:var(--result-title);font-size:var(--game-text-small);overflow-wrap:anywhere;text-align:left;margin:0;font-weight:750;line-height:1.4}.event-result-window__item--positive{color:var(--result-positive)}.event-result-window__item--negative{color:var(--result-negative)}.event-result-window__item--warning{color:var(--result-warning)}.event-result-window__item--neutral{color:var(--result-neutral)}.event-result-window__footer{border-top:2px solid color-mix(in srgb, var(--result-border) 20%, transparent);background:#fff0c9;flex:none;padding:6px 12px 8px}.event-result-window__footer button{color:#fff;background:var(--result-accent);width:100%;min-height:44px;box-shadow:0 3px 0 var(--result-accent-dark);font-size:var(--game-text-body);cursor:pointer;border:0;border-radius:12px;padding:6px 14px;font-weight:950}.event-result-window__footer button:active{box-shadow:0 1px 0 var(--result-accent-dark);transform:translateY(2px)}.event-result-window.event-result-window--settlement{--result-border:#70a63d;--result-shadow:#365b1857;--result-header:transparent;--result-accent:#70ad3e;--result-accent-dark:#4f812c;--result-title:#4f3519;--result-muted:#63763c;--result-positive:#347744;--result-negative:#a94432;--result-warning:#896016;--result-neutral:#685034;isolation:isolate;aspect-ratio:auto;color:#4f3519;width:min(100%,314px);min-height:0;box-shadow:0 12px 24px var(--result-shadow);background:0 0;border:0;border-radius:22px;margin-top:14px;position:relative}.event-result-window.event-result-window--settlement:before{z-index:0;border:12px solid #0000;border-width:54px 12px 28px;border-image-source:var(--event-result-background);content:"";pointer-events:none;border-image-slice:155 35 80 fill;border-image-width:54px 12px 28px;border-image-repeat:stretch;position:absolute;inset:0}.event-result-window--settlement>*{z-index:1;position:relative}.event-result-window--settlement .event-result-window__header{background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);gap:6px;min-height:98px;padding:64px 18px 0;position:static}.event-result-window--settlement .event-result-window__icon{color:#fff;background:var(--result-accent);width:34px;height:34px;box-shadow:0 3px 0 var(--result-accent-dark);font-family:var(--game-symbol-font-family);font-size:var(--game-text-body);border-color:#fff8dc;border-radius:50%;font-style:normal;line-height:1}.event-result-window--settlement .event-result-window__header h2{color:var(--result-title);font-size:var(--game-text-body);line-height:1.2}.event-result-window--settlement .event-result-window__body{scrollbar-color:#6f9d3ac7 #ddebad61;scrollbar-width:thin;gap:3px;margin-inline:18px;padding:3px 8px}.event-result-window--settlement .event-result-window__metrics{gap:3px}.event-result-window--settlement .event-result-window__metric{background:#fffbe8d1;border-color:#84a6496b;padding:3px 8px}.event-result-window--settlement .event-result-window__detail{background:color-mix(in srgb, currentColor 7%, #f7eecfe6);padding:4px 9px 5px}.event-result-window--settlement .event-result-window__detail p{line-height:1.32}.event-result-window--settlement .event-result-window__footer{background:0 0;border:0;padding:4px 48px 26px}.event-result-window--settlement .event-result-window__footer button{background:var(--result-accent);box-shadow:0 3px 0 var(--result-accent-dark)}.event-result-window.turn-settlement-result{isolation:isolate;aspect-ratio:auto;color:#543310;background:0 0;border:0;border-radius:22px;width:min(100%,314px);min-height:0;position:relative;box-shadow:0 12px 24px #27431147}.event-result-window.turn-settlement-result:before{z-index:0;border:12px solid #0000;border-width:54px 12px 28px;border-image-source:var(--turn-settlement-background);content:"";pointer-events:none;border-image-slice:155 35 80 fill;border-image-width:54px 12px 28px;border-image-repeat:stretch;position:absolute;inset:0}.turn-settlement-result>*{z-index:1;position:relative}.turn-settlement-result__header{text-align:center;flex:none;min-height:92px;padding:75px 24px 5px}.turn-settlement-result__header h2{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.turn-settlement-result__header p{color:#6a4219;font-size:var(--game-text-caption);font-variant-numeric:tabular-nums;margin:0;font-weight:900}.event-result-window__body.turn-settlement-result__body{scrollbar-color:#976f36c7 #ecc98957;scrollbar-width:thin;gap:8px;margin-inline:18px;padding:6px 8px 8px}.turn-settlement-result__body::-webkit-scrollbar{width:6px}.turn-settlement-result__body::-webkit-scrollbar-track{background:#ecc98957;border-radius:999px;margin-block:4px}.turn-settlement-result__body::-webkit-scrollbar-thumb{background:linear-gradient(#bd8a47,#96682f);border:1px solid #70491947;border-radius:999px}.turn-settlement-result__body::-webkit-scrollbar-button{width:0;height:0;display:none}.turn-settlement-result__metrics{gap:6px;margin:0;display:grid}.turn-settlement-result__metrics>div{background:#fff9e1b8;border:2px solid #a6743047;border-radius:12px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:8px;min-height:40px;padding:7px 10px;display:grid}.turn-settlement-result__metrics dt,.turn-settlement-result__metrics dd{min-width:0;font-size:var(--game-text-small);margin:0;font-weight:900}.turn-settlement-result__metrics dd{font-variant-numeric:tabular-nums;text-align:right}.turn-settlement-result__positive{color:#348147}.turn-settlement-result__negative{color:#b34835}.turn-settlement-result__details-trigger,.turn-settlement-result__back{color:#714715;cursor:pointer;min-height:44px;font-family:inherit;font-size:var(--game-text-small);background:#fff8dcd1;border:2px solid #8e5e236b;border-radius:11px;font-weight:900}.turn-settlement-result__details-trigger{width:100%}.turn-settlement-result__back{align-items:center;gap:5px;width:max-content;max-width:100%;padding:6px 11px;display:flex}.turn-settlement-result__back span{font-size:var(--game-text-title);line-height:.8}.turn-settlement-result__details-trigger:focus-visible,.turn-settlement-result__back:focus-visible{outline-offset:2px;outline:3px solid #fff}.turn-settlement-result__detail-groups{gap:10px;display:grid}.turn-settlement-result__detail-groups section{background:#fff9e1b8;border:2px solid #a6743047;border-radius:12px;padding:9px 10px}.turn-settlement-result__detail-groups h3{color:#684018;font-size:var(--game-text-small);margin:0 0 5px}.turn-settlement-result__detail-groups dl{gap:3px;margin:0;display:grid}.turn-settlement-result__detail-groups dl>div{grid-template-columns:minmax(0,1fr) max-content;gap:8px;min-width:0;display:grid}.turn-settlement-result__detail-groups dt,.turn-settlement-result__detail-groups dd,.turn-settlement-result__detail-groups p{font-size:var(--game-text-caption);margin:0;font-weight:800;line-height:1.4}.turn-settlement-result__detail-groups dd{font-variant-numeric:tabular-nums;text-align:right}.turn-settlement-result__detail-groups .turn-settlement-result__detail-total{color:#b34835;border-top:1px solid #8e5e2340;margin-top:2px;padding-top:4px}.turn-settlement-result__detail-groups p{color:#348147;margin-top:5px}.turn-settlement-result__warning{color:#78480e;font-size:var(--game-text-caption);background:#ffe7aed6;border:2px solid #db9a3f;border-radius:10px;margin:0;padding:6px 9px;font-weight:800;line-height:1.35}.turn-settlement-result__next-date{color:#6a4219;min-height:36px;font-size:var(--game-text-small);border-top:2px solid #a6743033;justify-content:center;align-items:center;margin:auto 3px 0;padding:8px 6px 2px;font-weight:800;line-height:1.35;display:flex}.turn-settlement-result__next-date time{color:#3f722f;font-variant-numeric:tabular-nums;font-weight:950}.event-result-window__footer.turn-settlement-result__footer{background:0 0;border:0;padding:7px 48px 23px}.turn-settlement-result__footer .game-color-button{min-height:46px}@container game (width<=480px){.event-result-overlay{--event-result-top-gap:max(clamp(72px, 12cqh, 104px), calc(var(--game-safe-area-top) + 40px));--event-result-bottom-gap:max(80px, calc(var(--game-safe-area-bottom) + 56px))}.event-result-overlay.turn-settlement-result-overlay{--event-result-top-gap:max(clamp(44px, 8cqh, 72px), calc(var(--game-safe-area-top) + 20px))}}@container game (height<=568px){.event-result-overlay{--event-result-top-gap:max(44px, calc(var(--game-safe-area-top) + 24px));--event-result-bottom-gap:max(54px, calc(var(--game-safe-area-bottom) + 36px))}.event-result-window__body{padding-top:6px;padding-bottom:6px}.turn-settlement-result__header{min-height:84px;padding-top:54px}.event-result-window__body.turn-settlement-result__body{margin-inline:16px;padding-left:8px;padding-right:8px}.turn-settlement-result__metrics>div{min-height:38px;padding-top:5px;padding-bottom:5px}.turn-settlement-result__next-date{min-height:32px;padding-top:5px}.event-result-window__footer.turn-settlement-result__footer{padding-bottom:20px}}@keyframes event-result-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes event-result-window-in{0%{opacity:0;transform:translateY(9px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.event-dialogue__typing-caret,.event-result-overlay,.event-result-window{animation:none}}.game-modal-shell.deposit-modal{--modal-border:#b87920;--modal-text:#49351d;--modal-surface:transparent;--modal-shadow:#5f380e73;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-header-surface:transparent;--modal-brand-border:#fff;--modal-brand-text:#fff;--modal-brand-surface:#d59728;--modal-brand-shadow:#a56718;--modal-eyebrow:#8f641d;--modal-title:#49351d;--modal-close-border:#bd8124;--modal-close-text:#805618;--modal-close-surface:#fff1ad;--modal-scroll-thumb:#c89b4d;--modal-scroll-track:#f4e9c9;--modal-focus:#3f8517;--modal-footer-surface:#fff1bd;--modal-primary-surface:#d28a21;--modal-primary-shadow:#9d6417;--modal-muted-text:#9a5438;--modal-background-image:url(./deposit-modal-Z4Na_WL4.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-content-surface:#f7fdebeb;--modal-content-surface-strong:#e8f7cff0;--modal-content-border:#9fc95f;--modal-content-text:#334a23;--modal-content-muted:#687851;--modal-button-top:#a7ec42;--modal-button-middle:#69c61b;--modal-button-bottom:#3b9b0e;--modal-button-border:#337d0c;--modal-button-shadow:#245d0b;--modal-button-text:#f8fff1;--modal-button-text-outline:#245d0b;--modal-button-text-stroke:1.15px;--modal-secondary-button-top:#f2fbdc;--modal-secondary-button-middle:#dcefb5;--modal-secondary-button-bottom:#c5df8e;--modal-secondary-button-border:#7ba840;--modal-secondary-button-shadow:#587a2b;--modal-secondary-button-text:#35511e;--modal-secondary-button-text-outline:#f8ffe9}.deposit-modal .game-modal-brand{pointer-events:none}.deposit-summary{color:#594524;background:0 0;border:1px solid #639d242e;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 32px 0;padding:5px;display:grid}.deposit-summary div{flex-direction:column;gap:4px;min-width:0;display:flex}.deposit-summary div:first-child{border-bottom:0;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;column-gap:10px;padding-bottom:10px;display:grid}.deposit-summary div:nth-child(3){border-left:0;padding-left:12px}.deposit-summary span{color:#8b734a;font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.deposit-summary strong{font-size:var(--game-text-body);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deposit-summary div:first-child strong{justify-self:start;padding-left:12px;font-size:1.3rem}.deposit-summary .deposit-summary__gain{color:#3a9858}.deposit-purchase-balance{color:#735f3d;background:0 0;border:1px solid #639d242e;border-radius:12px;flex:none;align-items:center;gap:8px;min-height:46px;margin:22px 32px 0;padding:5px;display:flex}.deposit-purchase-balance span,.deposit-purchase-balance small{font-size:var(--game-text-caption);font-weight:800}.deposit-purchase-balance strong{color:#5a421e;font-size:var(--game-text-small)}.deposit-purchase-balance small{color:#8f764c;margin-left:auto}.deposit-notice{color:#35653a;font-size:var(--game-text-caption);background:#e4f5d5;border:2px solid #80bc78;border-radius:10px;margin:8px 32px 0;padding:10px 12px;font-weight:800}.deposit-buy-panel,.deposit-holdings-panel{padding:4px 5px 12px}.deposit-holdings-panel{flex-direction:column;flex:auto;min-height:0;display:flex}.deposit-modal__body{margin:10px 32px 0}.deposit-modal__body--holdings{flex-direction:column;display:flex}.game-modal-shell.deposit-modal>.game-modal-footer{background:0 0;border-top:0;margin:0 32px 32px;padding:8px 4px 2px}.deposit-holdings-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.deposit-holdings-heading>div{flex-direction:column;gap:2px;display:flex}.deposit-holdings-heading span{color:#837359;font-size:var(--game-text-caption);font-weight:800}.deposit-holdings-heading strong{font-size:var(--game-text-subtitle)}.deposit-product-card{background:#fffdf2;border:2px solid #d49b3d;border-radius:15px;overflow:hidden;box-shadow:0 3px #9a631a30}.deposit-product-card__rate{background:linear-gradient(135deg,#fff1ad,#ffe17c);grid-template-columns:1fr auto;align-items:end;gap:2px 10px;padding:12px 14px 10px;display:grid}.deposit-product-card__rate>span{color:#836323;font-size:var(--game-text-small);font-weight:900}.deposit-product-card__rate strong{color:#c05332;grid-row:span 2;font-size:2.3rem;line-height:1}.deposit-product-card__rate small{color:#8c7449;font-size:var(--game-text-caption);font-weight:700}.deposit-product-card__facts{grid-template-columns:repeat(3,1fr);margin:0;padding:12px 7px;display:grid}.deposit-product-card__facts div{flex-direction:column;align-items:center;gap:2px;padding:0 5px;display:flex}.deposit-product-card__facts div+div{border-left:1px solid #ead9af}.deposit-product-card__facts dt{color:#968263;font-size:var(--game-text-caption);font-weight:800}.deposit-product-card__facts dd{font-size:var(--game-text-small);margin:0;font-weight:900}.deposit-slot-summary{font-size:var(--game-text-caption);background:#fffaf0;border:2px solid #d8c28e;border-radius:11px;grid-template-columns:1fr auto;align-items:center;gap:3px 8px;margin-top:12px;padding:10px 12px;display:grid}.deposit-slot-summary span{color:#776a54;font-weight:800}.deposit-slot-summary strong{font-size:var(--game-text-body)}.deposit-slot-summary small{color:#a15a2f;font-size:var(--game-text-caption);grid-column:1/-1;font-weight:800}.deposit-slot-summary.is-last-slot{background:#fff1bd;border-color:#dda955}.deposit-amount-field{font-size:var(--game-text-small);flex-direction:column;gap:5px;margin-top:16px;font-weight:900;display:flex}.deposit-amount-field>div{background:#fff;border:2px solid #cba15b;border-radius:12px;grid-template-columns:36px 1fr;align-items:center;min-height:54px;display:grid;overflow:hidden}.deposit-amount-field>div:focus-within{border-color:#7a633b;box-shadow:0 0 0 2px #fff,0 0 0 5px #7a633b}.deposit-amount-field>div>span{color:#9e7229;text-align:right;font-size:1.2rem}.deposit-amount-field input{color:#49351d;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:7px 11px 7px 5px;font-size:1.55rem;font-weight:900}.deposit-amount-field input:focus-visible{box-shadow:none;outline:0}.deposit-presets{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:7px;display:grid}.deposit-presets button{border:2px solid var(--modal-content-border);min-height:44px;color:var(--modal-content-text);background:var(--modal-content-surface-strong);font-size:var(--game-text-small);cursor:pointer;border-radius:9px;padding:5px 3px;font-weight:900}.deposit-presets button:disabled{opacity:.42;cursor:default}.deposit-amount-help{color:#7f755e;min-height:30px;font-size:var(--game-text-caption);padding:7px 1px 4px;font-weight:700}.deposit-amount-help.is-error{color:#b14835}.deposit-projection{background:#fffdf3;border:2px solid #d9c38d;border-radius:12px;padding:13px}.deposit-projection>div{font-size:var(--game-text-small);justify-content:space-between;align-items:center;gap:8px;display:flex}.deposit-projection>div+div{margin-top:5px}.deposit-projection>div:first-child strong{color:#3b9858}.deposit-projection small{color:#85765b;font-size:var(--game-text-caption);border-top:1px dashed #d9c99e;margin-top:8px;padding-top:7px;line-height:1.45;display:block}.deposit-rule-note{color:#786c57;font-size:var(--game-text-caption);margin:10px 2px 0;font-weight:700;line-height:1.5}.deposit-same-day-warning{color:#8a5529;font-size:var(--game-text-caption);background:#fff0bc;border:2px solid #e0aa54;border-radius:10px;margin:11px 0 0;padding:9px 10px;font-weight:800;line-height:1.5}.deposit-lot-list{flex-direction:column;gap:10px;display:flex}.deposit-lot{background:#fffdf4;border:2px solid #d6ae66;border-radius:14px;padding:11px;box-shadow:0 3px #8f601d2e}.deposit-lot--redeemable{background:#f4ffe9;border-color:#78b97a}.deposit-lot>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.deposit-lot>header>div{flex-direction:column;gap:2px;display:flex}.deposit-lot>header strong{font-size:var(--game-text-body)}.deposit-lot__id{color:#887658;font-size:var(--game-text-caption);font-weight:800}.deposit-lot__status{color:#8e6420;font-size:var(--game-text-caption);background:#ffecaa;border-radius:999px;padding:4px 8px;font-weight:900}.deposit-lot--redeemable .deposit-lot__status{color:#347044;background:#cfedc3}.deposit-lot__progress{background:#eee7d5;border:2px solid #ead9aa;border-radius:999px;height:10px;margin-top:9px;overflow:hidden}.deposit-lot__progress span{border-radius:inherit;background:#e0aa3c;height:100%;display:block}.deposit-lot--redeemable .deposit-lot__progress span{background:#63ae67}.deposit-lot__meta{color:#84765f;font-size:var(--game-text-caption);justify-content:space-between;gap:8px;margin-top:5px;font-weight:700;display:flex}.deposit-lot__values{border-top:1px dashed #ddcba1;border-bottom:1px dashed #ddcba1;grid-template-columns:1fr 1fr;margin:9px 0 0;padding:8px 0;display:grid}.deposit-lot__values div{flex-direction:column;gap:2px;display:flex}.deposit-lot__values dt{color:#887c68;font-size:var(--game-text-caption);font-weight:700}.deposit-lot__values dd{font-size:var(--game-text-small);margin:0;font-weight:900}.deposit-lot__values div:first-child dd{color:#3b9858}.deposit-lot__warning{color:#b2533d;font-size:var(--game-text-caption);margin:7px 0 0;font-weight:800}.deposit-lot__redeem{color:#fff;width:100%;min-height:44px;font-size:var(--game-text-small);cursor:pointer;background:#4baa63;border:0;border-radius:10px;margin-top:9px;padding:6px 10px;font-weight:900;box-shadow:0 3px #2f7943}.deposit-lot__redeem--early{color:#804b23;background:#ffd37a;box-shadow:0 3px #bd832e}.deposit-empty-state{color:#7b6c53;text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;min-height:0;padding:16px 24px;display:flex}.deposit-empty-state>span{color:#c08c31;background:#fff0ae;border:5px solid #d4b369;border-radius:50%;place-items:center;width:66px;height:66px;margin-bottom:10px;font-size:2rem;font-weight:900;display:grid}.deposit-empty-state p{font-size:var(--game-text-caption);margin:5px 0 12px;line-height:1.5}.deposit-empty-state strong{font-size:var(--game-text-body)}.deposit-history{background:#f5edd7;border:2px solid #d9c9a1;border-radius:11px;margin-top:12px}.deposit-history summary{font-size:var(--game-text-caption);cursor:pointer;padding:9px 11px;font-weight:900}.deposit-history>div{padding:0 10px 8px}.deposit-history article{font-size:var(--game-text-caption);border-top:1px solid #ddcfaa;justify-content:space-between;align-items:center;gap:7px;padding:7px 1px;display:flex}.deposit-confirm-layer{z-index:2;background:#41301a8c;place-items:center;padding:14px;display:grid;position:absolute;inset:0}.deposit-confirm{background:#fffaf0;border:3px solid #b87920;border-radius:17px;width:min(100%,340px);padding:16px;box-shadow:0 7px #54310c54}.deposit-confirm h3{font-size:var(--game-text-subtitle);margin:0 0 10px}.deposit-confirm dl{background:#fff2c5;border-radius:10px;margin:0;padding:9px 10px}.deposit-confirm dl div{font-size:var(--game-text-caption);justify-content:space-between;align-items:center;gap:8px;padding:3px 0;display:flex}.deposit-confirm dd{margin:0;font-weight:900}.deposit-confirm .is-fee dd{color:#b14635}.deposit-confirm .is-total{border-top:1px dashed #d2b97a;margin-top:5px;padding-top:7px}.deposit-confirm .is-total dd{color:#35864b;font-size:var(--game-text-small)}.deposit-confirm p{color:#746852;font-size:var(--game-text-caption);margin:10px 1px;font-weight:700;line-height:1.5}.deposit-confirm__actions{grid-template-columns:.8fr 1.2fr;gap:7px;display:grid}.deposit-confirm__actions button{color:#65573e;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:#e9dfc7;border:0;border-radius:10px;padding:7px;font-weight:900}.deposit-confirm__actions button:last-child{color:#fff;background:#d15d3e;box-shadow:0 3px #943b26}@container game (width<=360px) or (height<=680px){.deposit-summary,.deposit-buy-panel,.deposit-holdings-panel{padding-left:9px;padding-right:9px}.deposit-empty-state{text-align:left;grid-template-rows:auto auto;grid-template-columns:56px minmax(0,1fr);align-content:center;column-gap:12px;padding:8px 12px;display:grid}.deposit-empty-state>span{border-width:4px;grid-row:1/-1;width:56px;height:56px;margin:0;font-size:1.7rem}.deposit-empty-state strong{align-self:end}.deposit-empty-state p{align-self:start;margin:2px 0 0}}.game-modal-shell.loan-modal{--modal-border:#b45b2e;--modal-text:#3d2a20;--modal-surface:transparent;--modal-background-image:url(./loan-modal-Bo-rnhrF.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-shadow:#572c1673;--modal-header-border:#8b431c33;--modal-header-surface:transparent;--modal-header-background-image:none;--modal-brand-border:#fff6d7;--modal-brand-text:#fff7e5;--modal-brand-surface:#d86635;--modal-brand-shadow:#a74724;--modal-eyebrow:#88421f;--modal-title:#4d2d1b;--modal-close-border:#a96033;--modal-close-text:#754020;--modal-close-surface:#fff0cf;--modal-scroll-thumb:#d89557;--modal-focus:#78482f;--modal-footer-surface:#fff8e9c7;--modal-primary-surface:#c85a31;--modal-primary-shadow:#934022;--modal-content-surface:#fff8e9eb;--modal-content-surface-strong:#ffe8c4f0;--modal-content-border:#deb473;--modal-content-text:#4b321f;--modal-content-muted:#806951;--modal-button-top:#fff1b8;--modal-button-middle:#e8c86f;--modal-button-bottom:#c99e3e;--modal-button-border:#9f7527;--modal-button-shadow:#78551e;--modal-button-text:#4f3614;--modal-button-text-outline:#fff7d6;--modal-button-text-stroke:.65px;--modal-secondary-button-top:#fffaf0;--modal-secondary-button-middle:#f5e6c5;--modal-secondary-button-bottom:#e7cfa0;--modal-secondary-button-border:#b88a49;--modal-secondary-button-shadow:#846334;--modal-secondary-button-text:#65481f;--modal-secondary-button-text-outline:#fffdf5}.game-modal-shell.loan-modal .game-modal-brand{pointer-events:none}.loan-modal__body{margin:28px 32px}.game-modal-shell.loan-modal>.game-modal-footer{background:0 0;border-top:0;margin:0 32px 32px;padding:8px 4px 2px}.loan-summary{background:#fff0c9;border-bottom:2px solid #b1612c29;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px;display:grid}.loan-summary>div{border-right:1px dashed #d9a66e;flex-direction:column;gap:2px;min-width:0;padding-right:7px;display:flex}.loan-summary>div:last-child{border-right:0;padding-right:0}.loan-summary span{color:#8a6b54;font-size:var(--game-text-caption);font-weight:700}.loan-summary strong{font-size:var(--game-text-small);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.loan-summary .is-debt,.loan-summary .is-damaged{color:#c24832}.loan-summary .is-good{color:#3e9153}.loan-view-tabs{background:#fff8e9;flex:none;grid-template-columns:1fr 1fr;gap:7px;padding:7px 12px 0;display:grid}.loan-view-tabs button{color:#8c7160;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;font-weight:900;position:relative}.loan-view-tabs button.is-active{color:#a13f25;background:#ffeed7;border-color:#c95932}.loan-view-tabs button:disabled{opacity:.45;cursor:not-allowed}.loan-view-tabs button span{color:#fff;min-width:24px;height:24px;font-size:var(--game-text-caption);background:#cc4d30;border-radius:9px;place-items:center;margin-left:5px;padding:0 4px;display:inline-grid}.loan-notice{color:#2f7543;font-size:var(--game-text-caption);text-align:center;background:#dff2d7;border-radius:10px;margin:22px 32px 0;padding:8px 12px;font-weight:900}.loan-market-panel,.loan-active-panel,.loan-existing-overview{padding:12px}.loan-existing-overview{gap:10px;display:grid}.loan-existing-overview h3{font-size:var(--game-text-body);margin:0}.loan-existing-overview>p{color:#806b5c;font-size:var(--game-text-caption);margin:-4px 0 0;font-weight:750;line-height:1.5}.loan-existing-overview dl{margin:0;padding:4px 0;display:grid}.loan-existing-overview dl>div{border-bottom:1px solid #ddc3a4;justify-content:space-between;align-items:center;gap:10px;min-height:42px;padding:8px 0;display:flex}.loan-existing-overview dt{color:#846e5e;font-size:var(--game-text-caption);font-weight:750}.loan-existing-overview dd{color:#4f3425;font-size:var(--game-text-caption);margin:0;font-weight:950}.loan-existing-overview .is-total{border-top:1px dashed #d4b18c;padding-top:7px}.loan-existing-overview .is-total dd{color:#bd4328}.loan-repayment-empty{color:#7b6658;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:28px 22px;display:flex}.loan-repayment-empty>span{color:#b7663b;background:#ffedcd;border:5px solid #d4a66e;border-radius:50%;place-items:center;width:68px;height:68px;margin-bottom:12px;font-size:2rem;font-weight:950;display:grid}.loan-repayment-empty>strong{color:#51392c;font-size:var(--game-text-body)}.loan-repayment-empty>p{max-width:320px;font-size:var(--game-text-caption);margin:6px 0 16px;line-height:1.55}.loan-repayment-empty>button{color:#fff;min-width:180px;min-height:48px;font-size:var(--game-text-small);cursor:pointer;background:#c75a31;border:0;border-radius:11px;padding:9px 16px;font-weight:950;box-shadow:0 3px #934022}.loan-account-home{gap:12px;padding:12px 5px 14px;display:grid}.loan-account-list{gap:12px;display:grid}.loan-account-credit{border-bottom:1px solid #d9b995;justify-content:flex-start;align-items:center;gap:12px;padding:2px 2px 12px;display:flex}.loan-account-credit>div{gap:1px;display:grid}.loan-account-credit small{color:#89705f;font-weight:800}.loan-account-credit strong{font-size:var(--game-text-subtitle)}.loan-account-credit .is-good{color:#3d8c53}.loan-account-credit .is-damaged{color:#bf4230}.loan-account-empty{color:#7b685a;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:220px;padding:22px;display:flex}.loan-account-empty>span{color:#bd6b3e;background:#ffedce;border:5px solid #d8ae75;border-radius:50%;place-items:center;width:64px;height:64px;margin-bottom:10px;font-size:1.9rem;font-weight:950;display:grid}.loan-account-empty strong{color:#533b2e;font-size:var(--game-text-body)}.loan-account-empty p{max-width:310px;margin:6px 0 0;line-height:1.5}.loan-account-card>button{color:#fff;min-height:48px;font-size:var(--game-text-small);cursor:pointer;background:#c85a31;border:0;border-radius:11px;padding:8px 12px;font-weight:950;box-shadow:0 3px #934022}.loan-account-card{background:linear-gradient(#fffaf0,#fce9cf);border:2px solid #dfbd91;border-radius:18px;padding:12px;box-shadow:inset 0 1px #ffffffe0,0 3px #ae6f3733}.loan-account-card>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.loan-account-card>header>div{display:grid}.loan-account-card>header span{color:#8b552f;background:#ffe1ae;border-radius:999px;padding:4px 8px;font-weight:900}.loan-account-card--overdue>header span,.loan-account-card--force-repayment-due>header span{color:#fff;background:#c94b35}.loan-account-card dl{border-top:1px dashed #d5b591;border-bottom:1px dashed #d5b591;grid-template-columns:repeat(3,minmax(0,1fr));margin:11px 0;padding:9px 0;display:grid}.loan-account-card dl>div{text-align:center;gap:2px;display:grid}.loan-account-card dd{color:#603827;margin:0;font-weight:950}.loan-account-card>button{width:100%}.loan-borrow-steps{border-bottom:1px solid #dfc3a4;grid-template-columns:1fr 34px 1fr;align-items:center;margin-bottom:12px;padding:0 0 10px;display:grid}.loan-borrow-steps button{color:#8c7464;min-height:44px;font-size:var(--game-text-caption);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:5px 7px;font-weight:900;display:flex}.loan-borrow-steps button.is-active{color:#9a3f24;background:#ffe7c8}.loan-borrow-steps button.is-complete{color:#33764a;cursor:pointer}.loan-borrow-steps button span{color:#fff;width:23px;height:23px;font-size:var(--game-text-caption);background:#b7a08e;border-radius:50%;place-items:center;display:inline-grid}.loan-borrow-steps button.is-active span{background:#ca5430}.loan-borrow-steps button.is-complete span{background:#4b9a61}.loan-borrow-steps>i{background:#d1b69d;height:3px}.loan-selected-plan{border-bottom:1px solid #d9ad80;justify-content:space-between;align-items:center;gap:12px;padding:2px 1px 13px;display:flex}.loan-selected-plan>div{gap:2px;display:grid}.loan-selected-plan small,.loan-selected-plan span{color:#866a57;font-size:var(--game-text-caption);font-weight:800}.loan-selected-plan strong{color:#a63f24;font-size:var(--game-text-subtitle)}.loan-selected-plan button{color:#934326;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:#fff8ea;border:2px solid #c68049;border-radius:9px;padding:7px 11px;font-weight:900}.loan-rate-guide{color:#63422e}.loan-rate-guide>header{color:#5b3725;border-bottom:1px solid #d9b88f;align-items:center;gap:9px;padding:2px 1px 11px;display:flex}.loan-rate-guide>header>span{color:#fff8ed;font-size:var(--game-text-caption);background:#a05c35;border-radius:7px;padding:4px 7px;font-weight:950}.loan-rate-guide h3{font-size:var(--game-text-small);margin:0}.loan-rate-guide header small{color:#8a705e;font-size:var(--game-text-caption);font-weight:800}.loan-rate-guide__row,.loan-early-rule{gap:7px;padding:11px 1px;display:grid}.loan-rate-guide__row{border-bottom:1px dashed #dfbd96}.loan-rate-guide__row>strong,.loan-early-rule>strong{color:#8d4428;font-size:var(--game-text-caption);font-weight:950}.loan-rate-guide__tiers,.loan-balance-tiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.loan-rate-guide__tiers>span,.loan-balance-tiers>span{text-align:center;gap:1px;padding:6px 4px;display:grid}.loan-balance-tiers>span{grid-template-rows:auto 2.5em auto;align-items:center}.loan-rate-guide__tiers>span+span,.loan-balance-tiers>span+span{border-left:1px solid #ddc2a3}.loan-rate-guide__tiers b,.loan-balance-tiers small{color:#796354;font-size:var(--game-text-caption);font-weight:850}.loan-balance-tiers em{color:#796354;min-width:0;font-size:var(--game-text-caption);place-items:center;font-style:normal;font-weight:850;line-height:1.25;display:grid}.loan-rate-guide__tiers em,.loan-balance-tiers b{color:#b9482c;font-size:var(--game-text-small);font-style:normal;font-weight:950}.loan-rate-guide__tiers small{color:#887466;font-size:var(--game-text-caption);font-weight:800}.loan-rate-guide__tiers>span:not(:first-child) em,.loan-rate-guide__tiers>span:not(:first-child) small{color:#39744a}.loan-early-rule__formula{grid-template-columns:1fr auto 1fr;align-items:center;gap:7px;display:grid}.loan-early-rule__formula>span{text-align:center;background:#fff8ebb8;border:1px solid #ddbd99;border-radius:10px;align-content:center;gap:2px;min-height:49px;padding:7px;display:grid;box-shadow:inset 0 1px #ffffffd1}.loan-early-rule__formula small{color:#8d674f;font-size:var(--game-text-caption);font-weight:800}.loan-early-rule__formula b{color:#b94326;font-size:var(--game-text-caption);font-weight:950}.loan-early-rule__formula i{color:#b9987a;font-style:normal;font-weight:950}.loan-early-rule>p{color:#846d5d;font-size:var(--game-text-caption);text-align:center;background:#fff8ebb8;border:1px solid #ddbd99;border-radius:10px;margin:0;padding:9px 10px;font-weight:750;line-height:1.4;box-shadow:inset 0 1px #ffffffd1}.loan-early-rule.is-compact{border-top:1px solid #dcaa7d;border-bottom:1px solid #dcaa7d}.loan-rule-summary{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:linear-gradient(#fffaf0,#fce9cf);border:2px solid #dfbd91;border-radius:18px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:11px;padding:10px 11px;display:grid;box-shadow:inset 0 1px #ffffffe0,0 3px #ae6f3733}.loan-rule-summary__icon{color:#fff;background:#b75a31;border-radius:10px;place-items:center;width:34px;height:34px;font-weight:950;display:grid}.loan-rule-summary__content{gap:2px;min-width:0;display:grid}.loan-rule-summary small{color:#99725a;font-size:var(--game-text-caption);font-weight:850}.loan-rule-summary strong{color:#5a3927;font-size:var(--game-text-caption);font-weight:950}.loan-rule-summary__description{color:#826c5c;font-size:var(--game-text-caption);font-weight:750;line-height:1.35}.loan-rule-summary__link,.loan-failure-summary>button,.loan-inline-rule-button,.loan-danger-rule button,.loan-rate-policy>button{color:#a64629;font-size:var(--game-text-caption);white-space:nowrap;cursor:pointer;background:0 0;border:0;font-weight:950}.loan-failure-summary{background:linear-gradient(#fff6e8,#fbdcc5);border:2px solid #d99067;border-radius:18px;justify-content:space-between;align-items:center;gap:10px;margin-top:11px;padding:10px 11px;display:flex;box-shadow:inset 0 1px #ffffffd1,0 3px #ae56372e}.loan-failure-summary>div{align-items:center;gap:8px;min-width:0;display:flex}.loan-failure-summary>div>span{color:#fff;background:#c44a2d;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-weight:950;display:grid}.loan-failure-summary>div>div{gap:2px;display:grid}.loan-failure-summary small{color:#9b6144;font-size:var(--game-text-caption);font-weight:850}.loan-failure-summary strong{color:#792e1c;font-size:var(--game-text-caption);font-weight:950}.loan-failure-summary p{color:#956047;font-size:var(--game-text-caption);margin:0;font-weight:800;line-height:1.35}.loan-section-heading{justify-content:space-between;align-items:flex-end;gap:8px;margin:15px 1px 8px;display:flex}.loan-section-heading>div{align-items:center;gap:7px;display:flex}.loan-section-heading>div>span{color:#fff;width:25px;height:25px;font-size:var(--game-text-caption);background:#d86c35;border-radius:8px;place-items:center;font-weight:900;display:grid}.loan-section-heading h3{font-size:var(--game-text-small);margin:0}.loan-section-heading small{color:#967560;font-size:var(--game-text-caption);font-weight:700}.loan-section-heading--compact{margin-top:0}.loan-tier-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.loan-tier{color:#493326;text-align:center;cursor:pointer;background:linear-gradient(#fffaf0,#fce9cf);border:2px solid #dfbd91;border-radius:18px;align-content:center;gap:4px;min-height:98px;padding:10px 5px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffffe0,0 3px #ae6f3733}.loan-tier.is-selected{background:#fff0d6;border-color:#d66934;box-shadow:0 3px #b9562d,inset 0 0 0 1px #f5aa63}.loan-tier__amount,.loan-tier__rate{flex-direction:column;display:flex}.loan-tier__amount small,.loan-tier__rate small{color:#8d7462;font-size:var(--game-text-caption);font-weight:700}.loan-tier__amount strong{font-size:var(--game-text-subtitle)}.loan-tier__rate{align-items:center}.loan-tier__rate strong{color:#cc5131;font-size:var(--game-text-body)}.loan-tier-selection-summary{color:#705444;border-top:1px solid #dfc5a7;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding:10px 1px 2px;display:flex}.loan-tier-selection-summary strong{color:#a84226;font-size:var(--game-text-small)}.loan-tier-selection-summary small{color:#3e7e50;font-weight:900}.loan-tier__due{color:#7d6554;font-size:var(--game-text-caption);grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;font-weight:800;display:flex}.loan-tier__due b{color:#267444;font-size:var(--game-text-caption);white-space:nowrap;background:#dff2df;border-radius:7px;padding:3px 6px;font-weight:950}.loan-tier__due b.is-standard{color:#7c6759;background:#eee5da}.loan-quote,.loan-contract-card{background:#fffaf0c2;border:1px solid #dfbd97;border-radius:14px;margin-top:12px;padding:12px;box-shadow:inset 0 1px #ffffffd1}.loan-quote dl,.loan-contract-card dl,.loan-confirm dl{margin:0}.loan-quote dl>div,.loan-contract-card dl>div,.loan-confirm dl>div{font-size:var(--game-text-caption);justify-content:space-between;align-items:center;gap:10px;padding:4px 1px;display:flex}.loan-quote dt,.loan-contract-card dt,.loan-confirm dt{color:#866e5b;font-weight:700}.loan-quote dd,.loan-contract-card dd,.loan-confirm dd{margin:0;font-weight:900}.loan-quote__total,.loan-contract-card__total,.loan-confirm .is-total{border-top:1px dashed #d7b38a;margin-top:5px;padding-top:8px!important}.loan-quote__total dd,.loan-contract-card__total dd,.loan-confirm .is-total dd{color:#c84e30;font-size:var(--game-text-body)}.loan-quote__discount dd{color:#2c7d48}.loan-primary-button{color:#fff;width:100%;min-height:52px;font-size:var(--game-text-body);cursor:pointer;background:#d96535;border:0;border-radius:12px;margin-top:12px;padding:9px 14px;font-weight:900;box-shadow:0 4px #a64226}.loan-primary-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #a64226}.loan-primary-button:disabled{color:#f4f0e9;cursor:default;background:#92938e;box-shadow:0 4px #696b67}.loan-rule-note{color:#846f60;font-size:var(--game-text-caption);margin:10px 3px 2px;font-weight:700;line-height:1.5}.loan-status-card{text-align:center;background:linear-gradient(135deg,#fff1bdc7,#ffe3aaad);border:1px solid #e0b776;border-radius:15px;padding:14px 12px 16px;box-shadow:inset 0 1px #ffffffc7}.loan-active-panel--overdue .loan-status-card{background:#ffe1bdb8;border-color:#dc8a50}.loan-active-panel--force-repayment-due .loan-status-card{background:#ffd5cdb8;border-color:#c95a4d}.loan-repayment-hero{color:#573724;border-bottom:1px solid #d7b38c;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px;padding:2px 2px 12px;display:flex}.loan-repayment-hero span{color:#9b512c;font-size:var(--game-text-caption);letter-spacing:.08em;font-weight:950}.loan-repayment-hero h3{font-size:var(--game-text-body);margin:2px 0 0}.loan-repayment-hero p{color:#806958;max-width:165px;font-size:var(--game-text-caption);text-align:right;margin:0;font-weight:750;line-height:1.45}.loan-rate-policy{border-bottom:1px solid #d9b88f;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;margin-top:10px;padding:12px 1px;display:grid}.loan-rate-policy>div{text-align:center;gap:1px;display:grid}.loan-rate-policy span,.loan-rate-policy small{color:#806b5c;font-size:var(--game-text-caption);font-weight:800}.loan-rate-policy strong{color:#32734b;font-size:var(--game-text-subtitle);font-weight:950}.loan-rate-policy>i{color:#b49274;font-size:1.2rem;font-style:normal;font-weight:950}.loan-rate-policy .is-early{border-left:1px solid #d9b88f;padding:7px 0 7px 9px}.loan-rate-policy .is-early strong{color:#c54a2d}.loan-rate-policy>button{border-top:1px dashed #d8b78f;grid-column:1/-1;padding-top:7px}.loan-inline-rule-button{text-align:left;background:linear-gradient(#fffaf0,#fce9cf);border:2px solid #dfbd91;border-radius:16px;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:9px 10px;display:flex;box-shadow:inset 0 1px #ffffffe0,0 3px #ae6f372e}.loan-inline-rule-button span{gap:2px;display:grid}.loan-inline-rule-button b{color:#93442a;font-size:var(--game-text-caption)}.loan-inline-rule-button small{color:#866c5b;font-size:var(--game-text-caption);font-weight:750}.loan-inline-rule-button>strong{color:#ad4729;font-size:var(--game-text-caption);white-space:nowrap}.loan-status-pill{color:#94521f;font-size:var(--game-text-caption);background:#ffd781;border-radius:999px;padding:4px 9px;font-weight:900;display:inline-flex}.loan-status-pill--overdue{color:#913e22;background:#ffb877}.loan-status-pill--force-repayment-due,.loan-status-pill--critical{color:#fff;background:#bf463c}.loan-status-card h3{font-size:var(--game-text-subtitle);margin:8px 0 3px}.loan-status-card p{color:#785b46;font-size:var(--game-text-caption);margin:0;font-weight:700}.loan-countdown{background:#f4d8aa;border:2px solid #ddb16d;border-radius:999px;height:10px;margin-top:13px;overflow:hidden}.loan-countdown span{border-radius:inherit;background:#df7937;height:100%;display:block}.loan-contract-card header{border-bottom:1px dashed #d9b88f;justify-content:space-between;align-items:center;padding-bottom:8px;display:flex}.loan-contract-card header div{flex-direction:column;display:flex}.loan-contract-card header small{color:#8a705a;font-size:var(--game-text-caption);font-weight:800}.loan-contract-card header>span{color:#ad4f2c;font-size:var(--game-text-caption);background:#ffe5c5;border-radius:7px;padding:4px 7px;font-weight:900}.loan-contract-card dl{margin-top:7px}.loan-cash-warning{color:#a13e2c;font-size:var(--game-text-caption);text-align:center;background:#ffe0d8;border-radius:10px;margin-top:11px;padding:9px 11px;font-weight:800}.loan-blocked-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:390px;padding:32px 24px;display:flex}.loan-blocked-state__icon{color:#fff;background:#de5b4f;border:5px solid #c6493d;border-radius:50%;place-items:center;width:68px;height:68px;margin-bottom:12px;font-size:2rem;font-weight:1000;display:grid;box-shadow:0 4px #9f332b}.loan-blocked-state h3{font-size:var(--game-text-subtitle);margin:11px 0 5px}.loan-blocked-state p{color:#79665a;max-width:320px;font-size:var(--game-text-caption);margin:0;font-weight:700;line-height:1.55}.loan-confirm-layer{z-index:3;background:#4025199e;place-items:center;padding:14px;display:grid;position:absolute;inset:0}.loan-rule-page{padding:12px}.loan-detail-note{color:#77351e;border-top:1px solid #d98a53;border-bottom:1px solid #d98a53;margin-top:10px;padding:11px 1px}.loan-detail-note strong{font-size:var(--game-text-caption);font-weight:950}.loan-detail-note p{font-size:var(--game-text-caption);margin:3px 0 0;font-weight:750;line-height:1.45}.loan-failure-details{gap:10px;display:grid}.loan-failure-details>section{background:#fff0d7b8;border:1px solid #deb07d;border-radius:12px;gap:2px;padding:10px 11px;display:grid;box-shadow:inset 0 1px #ffffffc7}.loan-failure-details>section span{color:#996348;font-size:var(--game-text-caption);font-weight:900}.loan-failure-details>section strong{color:#72331e;font-size:var(--game-text-small);font-weight:950}.loan-failure-details>section p{color:#816756;font-size:var(--game-text-caption);margin:2px 0 0;font-weight:750;line-height:1.45}.loan-failure-details>ul{margin:0;padding:0;list-style:none;display:grid}.loan-failure-details li{border-bottom:1px solid #dfc8ae;gap:2px;padding:9px 1px;display:grid}.loan-failure-details li b{color:#853b24;font-size:var(--game-text-caption);font-weight:950}.loan-failure-details li small{color:#806a5a;font-size:var(--game-text-caption);font-weight:750;line-height:1.4}.loan-failure-details>section.is-critical{background:#ffd9cd;border:2px solid #c84e38;border-radius:11px;padding:10px 11px}.loan-confirm{background:#fffaf2;border:3px solid #bd5b32;border-radius:17px;width:min(100%,350px);padding:17px;box-shadow:0 7px #5727146b}.loan-confirm__tag{color:#9e4929;font-size:var(--game-text-caption);background:#ffe0b5;border-radius:7px;padding:3px 7px;font-weight:900;display:inline-flex}.loan-confirm h3{font-size:var(--game-text-subtitle);margin:8px 0 11px}.loan-confirm dl{background:#fff0d4;border-radius:11px;padding:9px 10px}.loan-confirm p{color:#776456;font-size:var(--game-text-caption);margin:10px 1px;font-weight:700;line-height:1.45}.loan-confirm__actions{grid-template-columns:.8fr 1.2fr;gap:8px;display:grid}.loan-confirm__actions button{color:#665548;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:#e9dfd4;border:0;border-radius:10px;padding:7px;font-weight:900}.loan-confirm__actions button:last-child{color:#fff;background:#d55e35;box-shadow:0 3px #9e3c24}.loan-danger-rule,.loan-reprice-rule{color:#713516;background:linear-gradient(135deg,#fff0d1,#ffe2bd);border:2px solid #e89955;border-radius:12px;padding:12px 13px;box-shadow:inset 4px 0 #d85b32}.loan-danger-rule strong,.loan-reprice-rule>strong{color:#a23d24;font-size:var(--game-text-small);margin-bottom:4px;font-weight:950;display:block}.loan-danger-rule p,.loan-reprice-rule ol{font-size:var(--game-text-caption);margin:0;font-weight:750;line-height:1.55}.loan-danger-rule button{margin-top:6px;padding:0}.loan-reprice-rule ol{padding-left:19px}.loan-reprice-rule li+li{margin-top:4px}.loan-repayment-planner{border-top:1px solid #d9b88f;gap:11px;margin-top:12px;padding:14px 1px 2px;display:grid}.loan-amount-input{color:#6a5547;font-size:var(--game-text-caption);gap:6px;font-weight:900;display:grid}.loan-amount-input>div{background:#fff;border:2px solid #c99256;border-radius:11px;grid-template-columns:32px 1fr;align-items:center;display:grid;overflow:hidden}.loan-amount-input>div:focus-within{border-color:#8e4728;box-shadow:0 0 0 2px #fff,0 0 0 5px #8e4728}.loan-amount-input b{color:#a65329;text-align:center}.loan-amount-input input{color:#4d3022;width:100%;min-height:44px;font:inherit;font-size:var(--game-text-small);background:0 0;border:0;outline:0;padding:8px 10px;font-weight:900}.loan-repayment-presets{flex-wrap:wrap;gap:6px;display:flex}.loan-repayment-presets button{color:#8e4728;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:#fff1da;border:1px solid #d9a36b;border-radius:8px;padding:5px 9px;font-weight:900}.loan-repayment-preview{background:#f5eadcb8;border:1px solid #dfc3a3;border-radius:13px;gap:9px;padding:11px;display:grid}.loan-rate-transition{justify-content:space-between;align-items:center;gap:12px;display:flex}.loan-rate-transition span{color:#776052;font-size:var(--game-text-caption);font-weight:850}.loan-rate-transition strong{color:#873a24;font-size:var(--game-text-small);white-space:nowrap}.loan-rate-transition i{color:#d06139;margin:0 7px;font-style:normal}.loan-tier-shift-warning{color:#76220f;background:#ffd8c5;border:2px solid #d64d2e;border-radius:10px;padding:10px 11px;box-shadow:0 3px #9a331929}.loan-tier-shift-warning strong{font-size:var(--game-text-small);font-weight:950;display:block}.loan-tier-shift-warning p{font-size:var(--game-text-caption);margin:3px 0 0;font-weight:800;line-height:1.45}.loan-tier-shift-warning.is-compact{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.loan-tier-shift-warning.is-compact span{color:#aa321b;font-size:var(--game-text-small);white-space:nowrap;font-weight:950}.loan-repayment-preview dl,.loan-confirm dl{gap:6px;margin:0;display:grid}.loan-repayment-preview dl>div,.loan-confirm dl>div{justify-content:space-between;gap:12px;display:flex}.loan-repayment-preview dt,.loan-confirm dt{color:#776052;font-size:var(--game-text-caption);font-weight:750}.loan-repayment-preview dd,.loan-confirm dd{color:#4e3022;font-size:var(--game-text-caption);margin:0;font-weight:900}.loan-repayment-preview .is-total,.loan-confirm .is-total{border-top:1px dashed #c79a6c;padding-top:7px}.loan-repayment-preview .is-total dd,.loan-confirm .is-total dd{color:#bd4328}.loan-repayment-preview__rate{border-top:1px dashed #d9b88f;border-bottom:1px dashed #d9b88f;padding:6px 7px}.loan-repayment-preview__rate dd{color:#bd4328;font-weight:950}.loan-input-error{color:#b23824;font-size:var(--game-text-caption);margin:-3px 0 0;font-weight:900}.loan-auto-debit-alert{color:#245d38;background:#e5f5e8;border:2px solid #4c9c67;border-radius:12px;gap:4px;padding:13px;display:grid}.loan-auto-debit-alert.is-insufficient{color:#842814;background:#ffd8ca;border-color:#d3482d;animation:1.8s ease-in-out infinite loan-warning-pulse}.loan-auto-debit-alert strong{font-size:var(--game-text-small);font-weight:950}.loan-auto-debit-alert span{font-size:var(--game-text-caption);font-weight:800}.loan-overdue-payment{gap:10px;display:grid}.loan-confirm--repayment{width:min(100%,390px)}@keyframes loan-warning-pulse{0%,to{box-shadow:0 0 #d3482d00}50%{box-shadow:0 0 0 5px #d3482d2e}}.loan-modal small,.loan-modal p,.loan-modal span,.loan-modal dt,.loan-modal dd,.loan-modal label,.loan-modal li,.loan-modal button:not(.loan-modal__close):not(.loan-modal__back):not(.game-modal-close):not(.game-modal-back):not(.game-modal-primary),.loan-modal input{font-size:var(--game-text-caption)}.loan-modal .loan-rule-summary strong,.loan-modal .loan-failure-summary strong,.loan-modal .loan-rate-guide__tiers em,.loan-modal .loan-balance-tiers b,.loan-modal .loan-early-rule__formula b,.loan-modal .loan-inline-rule-button b,.loan-modal .loan-inline-rule-button>strong,.loan-modal .loan-detail-note strong,.loan-modal .loan-failure-details>section strong,.loan-modal .loan-failure-details li b,.loan-modal .loan-rate-transition strong,.loan-modal .loan-repayment-preview dd,.loan-modal .loan-confirm dd{font-size:var(--game-text-small)}.loan-modal .loan-primary-button{font-size:var(--game-text-body)}.loan-modal .loan-amount-input input{font-size:var(--game-text-small)}.loan-modal .loan-quote__total dd,.loan-modal .loan-contract-card__total dd,.loan-modal .loan-confirm .is-total dd{font-size:var(--game-text-body)}@container game (width<=360px) or (height<=680px){.loan-summary,.loan-market-panel,.loan-active-panel{padding-left:9px;padding-right:9px}.loan-repayment-hero{flex-direction:column;align-items:flex-start;gap:5px}.loan-repayment-hero p{text-align:left;max-width:none}.loan-tier-selection-summary{flex-direction:column;align-items:flex-start;gap:3px}.loan-rule-summary{grid-template-columns:30px minmax(0,1fr)}.loan-rule-summary__link{grid-column:2;justify-self:start;padding:0}.loan-failure-summary{flex-direction:column;align-items:flex-start}}.game-modal-shell.services-modal{--modal-border:#367b86;--modal-shadow:#19484f70;--modal-text:#173e44;--modal-surface:transparent;--modal-background-image:url(./services-modal-D8p8jqHl.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-header-border:#2069733d;--modal-header-surface:transparent;--modal-brand-surface:#238e91;--modal-brand-shadow:#176a70;--modal-close-border:#367b86;--modal-close-text:#205f68;--modal-close-surface:#d9f6ef;--modal-eyebrow:#226b72;--modal-title:#123f46;--modal-scroll-thumb:#5ca8a9;--modal-footer-border:#2069733d;--modal-footer-surface:#fff8e9c7;--modal-muted-text:#527076;--modal-primary-surface:#df704a;--modal-primary-shadow:#a84c31;--modal-focus:#a94a08;--modal-content-surface:#fff7e8eb;--modal-content-surface-strong:#ffe3bef0;--modal-content-border:#e5a45c;--modal-content-text:#4d2c18;--modal-content-muted:#775f4c;--modal-button-top:#ffb44a;--modal-button-middle:#ef7d18;--modal-button-bottom:#cc570d;--modal-button-border:#a94409;--modal-button-shadow:#7a3107;--modal-button-text:#fffaf1;--modal-button-text-outline:#7a3107;--modal-button-text-stroke:1.1px;--modal-secondary-button-top:#fff1d3;--modal-secondary-button-middle:#f7d7a4;--modal-secondary-button-bottom:#e9ba75;--modal-secondary-button-border:#b87932;--modal-secondary-button-shadow:#845624;--modal-secondary-button-text:#6a3b13;--modal-secondary-button-text-outline:#fff8e8}.game-modal-shell.services-modal .game-modal-brand{pointer-events:none}.game-modal-shell.service-style-modal{--modal-border:#367b86;--modal-shadow:#19484f70;--modal-text:#4d2c18;--modal-surface:transparent;--modal-background-image:url(./service-style-modal-DYbJzEk4.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-border-radius:34px;--modal-compact-border-radius:28px;--modal-header-surface:transparent;--modal-brand-surface:#238e91;--modal-brand-shadow:#176a70;--modal-eyebrow:#6d391a;--modal-title:#4d2c18;--modal-scroll-thumb:#d07022;--modal-footer-surface:transparent;--modal-muted-text:#775f4c;--modal-focus:#a94a08;--modal-content-surface:#fff7e8eb;--modal-content-surface-strong:#ffe3bef0;--modal-content-border:#e5a45c;--modal-content-text:#4d2c18;--modal-content-muted:#775f4c;--modal-button-top:#ffb44a;--modal-button-middle:#ef7d18;--modal-button-bottom:#cc570d;--modal-button-border:#a94409;--modal-button-shadow:#7a3107;--modal-button-text:#fffaf1;--modal-button-text-outline:#7a3107;--modal-button-text-stroke:1.1px}.services-status-bar{background:0 0;flex-direction:column;gap:7px;margin:22px 32px 0;padding:5px 5px 8px;display:flex}.services-status-bar>div{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.services-status-bar__cash{border-top:1px solid #79451e2e;padding-top:7px}.game-modal-shell.services-modal .services-status-bar__label{color:#5c2d17;font-size:var(--game-text-body);font-weight:950;line-height:1.15}.services-status-badge{min-width:104px}.services-status-clock-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:16px;height:16px}.game-color-surface--orange.services-status-badge .game-color-surface__icon{-webkit-text-stroke:0;text-shadow:none;background:#fff4dc;box-shadow:inset 0 0 0 1px #ffffffd6,0 1px 2px #68230361;color:#8f3308!important}.services-status-bar__cash strong{color:#6b3218;font-size:var(--game-text-subtitle);font-variant-numeric:tabular-nums;font-weight:950}.services-modal__body{background:0 0;margin:10px 32px 0}.services-panel{background:0 0;flex-direction:column;gap:0;padding:4px 5px 12px;display:flex}.services-notice{color:#17634f;font-size:var(--game-text-caption);text-align:center;background:#dcf6e8;border:2px solid #78bca8;border-radius:11px;padding:9px 11px;font-weight:850}.services-plan-card{border:1px solid var(--modal-content-border);min-height:92px;color:var(--modal-content-text);background:var(--modal-content-surface);border-radius:16px;grid-template-rows:auto auto;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px;margin:4px 0 0;padding:12px;display:grid;position:relative;box-shadow:inset 0 1px #ffffffd1}.services-plan-card.is-active{color:#245343}.services-plan-card__shield{background:#ffe3bd;border:2px solid #e3a25c;border-radius:16px;grid-row:1/3;place-items:center;width:54px;height:54px;display:grid}.services-plan-card__shield svg{fill:#ee7e131f;stroke:#b95512;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:38px;height:38px}.services-plan-card__heading{min-width:0}.services-plan-card__heading>span{color:var(--modal-content-muted);font-size:var(--game-text-caption);opacity:.85;font-weight:800}.services-plan-card__heading h3{font-size:var(--game-text-subtitle);margin:1px 0 3px;line-height:1.15}.services-plan-card__price{white-space:nowrap;align-items:baseline;gap:3px;display:flex}.services-plan-card__price strong{color:#bd4d32;font-size:var(--game-text-title);line-height:1}.services-plan-card__price span{color:#806957;font-size:var(--game-text-caption);font-weight:800}.services-plan-card__badge{color:#8b450e;font-size:var(--game-text-caption);background:#ffe3bd;border-radius:999px;padding:4px 11px 5px;font-weight:950;position:absolute;top:12px;right:10px}.services-plan-card.is-active .services-plan-card__badge{color:#176a4e;background:#d8ffe9}.services-section-heading{justify-content:space-between;align-items:flex-end;gap:10px;padding:14px 4px 8px;display:flex}.services-section-heading span{color:#9a4b12;font-size:var(--game-text-caption);letter-spacing:.08em;font-weight:900}.services-section-heading h3{color:var(--modal-content-text);font-size:var(--game-text-subtitle);margin:0}.services-section-heading small{color:var(--modal-content-muted);font-size:var(--game-text-caption);white-space:nowrap;font-weight:850}.services-benefit-list{display:grid}.services-benefit{grid-template-columns:46px minmax(0,1fr);align-items:start;gap:11px;min-height:86px;padding:10px 4px;display:grid;position:relative}.services-benefit+.services-benefit{border-top:1px solid #79451e2e}.services-benefit__icon{color:#fff;border-radius:14px;place-items:center;width:46px;height:46px;font-size:1.35rem;font-weight:1000;display:grid}.services-benefit--medical .services-benefit__icon{background:#ef7065;box-shadow:0 3px #c74d45}.services-benefit__content{min-width:0}.services-benefit__content>span{color:var(--modal-content-muted);font-size:var(--game-text-caption);font-weight:850}.services-benefit__content strong{color:var(--modal-content-text);font-size:var(--game-text-body);margin-top:1px;line-height:1.3;display:block}.services-benefit__content p{color:var(--modal-content-muted);font-size:var(--game-text-small);margin:5px 0 0;font-weight:700;line-height:1.35}.services-benefit__content b{color:#df554a;font-size:var(--game-text-body);margin-left:3px}.services-rule-note{color:#567276;font-size:var(--game-text-caption);border-top:1px solid #79451e2e;align-items:flex-start;gap:8px;margin:0;padding:10px 4px 0;font-weight:700;line-height:1.45;display:flex}.services-rule-note span{color:#fff;width:24px;height:24px;font-family:Georgia,serif;font-size:var(--game-text-caption);background:#4e9c9e;border-radius:50%;flex:none;place-items:center;font-weight:900;display:grid}.services-modal__footer .services-cancel-button{color:#a9473d;background:#fff5f1;box-shadow:inset 0 0 0 2px #d98a7e,0 3px #d8b2aa}.game-modal-shell.services-modal>.services-modal__footer{background:0 0;border-top:0;margin:0 32px 32px;padding:8px 4px 2px}.services-effective-hint{white-space:nowrap;color:#6a513c!important;font-size:var(--game-text-caption)!important;line-height:1.2!important}.services-confirm-layer{z-index:5;background:#1334399e;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.services-confirm{color:#24494e;text-align:center;background:#fbfffc;border:3px solid #367b86;border-radius:18px;width:100%;padding:22px 18px 17px;box-shadow:0 8px #1542484d}.services-confirm__icon{color:#fff;border-radius:50%;place-items:center;width:48px;height:48px;margin:0 auto 10px;font-size:1.45rem;font-weight:1000;display:grid}.services-confirm__icon--purchase{background:#2aa578;box-shadow:0 3px #177858}.services-confirm__icon--cancel{background:#dd6b55;box-shadow:0 3px #a74736}.services-confirm h3{color:#20484e;font-size:var(--game-text-subtitle);margin:0}.services-confirm p{color:#647a7d;font-size:var(--game-text-caption);margin:9px 0 17px;font-weight:750;line-height:1.5}.services-confirm__actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.services-confirm__actions button{color:#526c70;cursor:pointer;background:#e3efed;border:0;border-radius:11px;min-height:44px;font-weight:900}.services-confirm__actions button:last-child{color:#fff;background:#df704a;box-shadow:0 3px #a84c31}@container game (width<=360px) or (height<=680px){.services-panel{padding:4px 10px 8px}.services-plan-card{grid-template-columns:44px minmax(0,1fr);gap:8px;min-height:88px;padding:10px}.services-plan-card__shield{width:44px;height:44px}.services-plan-card__shield svg{width:31px;height:31px}.services-plan-card__heading h3,.services-plan-card__price strong{font-size:var(--game-text-subtitle)}.services-benefit{grid-template-columns:40px minmax(0,1fr);gap:9px;min-height:82px;padding:9px 0}.services-benefit__icon{border-radius:11px;width:40px;height:40px}}.game-modal-shell.todo-modal{--modal-border:#438fc4;--modal-text:#304a5c;--modal-surface:transparent;--modal-shadow:#1e53786b;--modal-header-surface:transparent;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-background-image:url(./todo-modal-BN5JE6K_.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-asset-top-inset:13px;--modal-background-origin:content-box;--modal-shell-shadow:none;--modal-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-scroll-thumb:#63a9d2;--modal-scroll-track:transparent;--modal-footer-surface:transparent;--modal-focus:#397ca8;--modal-content-surface:#f4fafff0;--modal-content-surface-strong:#ddf0fef0;--modal-content-border:#8ec4e5;--modal-content-text:#294a61;--modal-content-muted:#607684;--modal-button-top:#62d0ff;--modal-button-middle:#279de5;--modal-button-bottom:#1775c5;--modal-button-border:#14629b;--modal-button-shadow:#0b4b7c;--modal-button-text:#f4fbff;--modal-button-text-outline:#073f6c;--modal-button-text-stroke:1.2px;--modal-secondary-button-top:#eef9ff;--modal-secondary-button-middle:#d6ecfa;--modal-secondary-button-bottom:#b7dbf1;--modal-secondary-button-border:#679fc4;--modal-secondary-button-shadow:#477795;--modal-secondary-button-text:#285775;--modal-secondary-button-text-outline:#f6fcff}.todo-modal .game-modal-brand{pointer-events:none}.game-modal-shell.todo-modal>.todo-summary{background:0 0;border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:7px 30px 0;padding:9px 10px;display:grid}.todo-summary>div{flex-direction:column;align-items:center;min-width:0;padding:2px 8px;display:flex}.todo-summary>div+div{border-left:1px solid #2774a63d}.todo-summary strong{max-width:100%;color:var(--modal-content-text);font-size:var(--game-text-body);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.todo-summary span{color:var(--modal-content-muted);font-size:var(--game-text-caption);font-weight:800}.game-modal-shell.todo-modal>.todo-modal__body{background:0 0;margin:7px 30px 16px}.game-modal-shell.todo-modal>.game-modal-footer{background:0 0;border-top:0;margin:0 30px 28px;padding:8px 4px 2px}.todo-list{flex-direction:column;gap:18px;padding:14px;display:flex}.todo-list__section{flex-direction:column;gap:9px;min-width:0;display:flex}.todo-list__intro{flex-direction:column;align-items:flex-start;gap:3px;display:flex}.todo-list__intro strong{color:var(--modal-content-text);font-size:var(--game-text-body);white-space:nowrap;line-height:1.2}.todo-list__intro span{color:var(--modal-content-muted);font-size:var(--game-text-caption);text-align:left;font-weight:700;line-height:1.4}.todo-card{background:#fffdf7;border:2px solid #c9bca2;border-radius:17px;overflow:hidden;box-shadow:0 4px #473c2b1f}.todo-card--medical{--todo-accent:#c45f51;--todo-soft:#f9e4dc}.todo-card--life{--todo-accent:#4c8290;--todo-soft:#dfeff0}.todo-card--finance{--todo-accent:#aa7234;--todo-soft:#f5e7c9}.todo-card--critical{border-color:#b8493c;box-shadow:0 4px #9a2e2333}.todo-card__header{background:linear-gradient(100deg, var(--todo-soft), #fffdf7 72%);grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 12px 9px;display:grid}.todo-card__icon{color:#fff;background:var(--todo-accent);width:39px;height:39px;box-shadow:0 2px 0 color-mix(in srgb, var(--todo-accent) 72%, #222);border:2px solid #ffffffd9;border-radius:12px;place-items:center;font-weight:950;display:grid}.todo-card__heading{min-width:0}.todo-card__heading>span{color:var(--todo-accent);font-size:var(--game-text-caption);letter-spacing:.08em;font-weight:900;display:block}.todo-card__heading h3{color:#343830;font-size:var(--game-text-subtitle);margin:1px 0 0;line-height:1.1}.todo-card__deadline{color:#506047;font-size:var(--game-text-caption);white-space:nowrap;background:#f4f4dc;border:1px solid #a4ad8f;border-radius:999px;padding:5px 8px;font-weight:900}.todo-card__deadline--urgent{color:#a5392d;background:#ffe4dc;border-color:#d67361}.todo-card__deadline--waiting{color:#386781;background:#e4f2fa;border-color:#7299b5}.todo-list-item{--todo-accent:#718a5f;--todo-soft:#edf0df;border:2px solid var(--modal-content-border);width:100%;min-height:76px;color:var(--modal-content-text);background:linear-gradient(180deg, var(--modal-content-surface), var(--modal-content-surface-strong));text-align:left;cursor:pointer;border-radius:18px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;display:grid;box-shadow:inset 0 1px #ffffffe0,0 3px #ae6f3733}.todo-list-item--medical{--todo-accent:#c45f51;--todo-soft:#f9e4dc}.todo-list-item--life{--todo-accent:#4c8290;--todo-soft:#dfeff0}.todo-list-item--finance{--todo-accent:#aa7234;--todo-soft:#f5e7c9}.todo-list-item--critical{border-color:#c96d5e}.todo-list-item:active{transform:translateY(2px);box-shadow:0 1px #473c2b1a}.todo-list-item__icon{color:#fff;background:var(--todo-accent);width:38px;height:38px;box-shadow:0 2px 0 color-mix(in srgb, var(--todo-accent) 72%, #222);border:2px solid #ffffffd9;border-radius:11px;place-items:center;font-weight:950;display:grid}.todo-list-item__content{flex-direction:column;gap:3px;min-width:0;display:flex}.todo-list-item__content strong{font-size:var(--game-text-body);text-overflow:ellipsis;white-space:nowrap;line-height:1.2;overflow:hidden}.todo-list-item__impact{color:#67655e;min-width:0;font-size:var(--game-text-caption);white-space:nowrap;align-items:center;gap:6px;font-weight:750;display:flex}.todo-list-item__impact b{color:#fff;background:var(--todo-accent);font-size:var(--game-text-caption);border-radius:999px;flex:none;padding:2px 6px;line-height:1.25}.todo-list-item__impact span{text-overflow:ellipsis;overflow:hidden}.todo-list-item__impact--none{color:#8b8981;font-weight:700}.todo-list-item__impact--waiting{color:#557487}.todo-list-item__impact--waiting b{background:#5d829c}.todo-list-item__side{justify-content:flex-end;align-items:center;gap:5px;min-width:18px;display:flex}.todo-list-item__side i{color:var(--todo-accent);font-family:Georgia,serif;font-size:1.65rem;font-style:normal;font-weight:800;line-height:1}.todo-detail{background:0 0;min-height:100%;display:flex}.todo-detail .todo-card{min-width:0;min-height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:auto;display:flex;overflow:visible}.todo-detail .todo-card__header{background:0 0;border-bottom:0}.todo-card__description{color:#656359;font-size:var(--game-text-small);margin:0;padding:14px 16px;font-weight:700;line-height:1.55}.todo-card__waiting{color:#365f76;background:#e9f5fb;border:1px solid #9fc1d5;border-radius:12px;margin:0 16px 14px;padding:11px 12px}.todo-card__waiting strong{font-size:var(--game-text-small);display:block}.todo-card__waiting p{color:#557487;font-size:var(--game-text-caption);margin:4px 0 0;font-weight:700;line-height:1.45}.todo-card__impact{border-left:4px solid var(--todo-accent);background:color-mix(in srgb, var(--todo-soft) 72%, #fffdf7);border-radius:6px 12px 12px 6px;margin:0 16px;padding:11px 12px}.todo-card__impact strong{color:#555247;font-size:var(--game-text-caption);margin-bottom:5px;display:block}.todo-card__impact>div{flex-wrap:wrap;gap:4px 14px;display:flex}.todo-card__impact span{color:#554e44;font-size:var(--game-text-caption);font-weight:850}.todo-card__ledger{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;margin:0;padding:4px 16px 0;display:grid}.todo-card__ledger>div{border-bottom:1px solid #e2d9c9;min-height:58px;padding:10px 0}.todo-card__ledger dt{color:#77746a;font-size:var(--game-text-caption);font-weight:750}.todo-card__ledger dd{color:#3d3b35;font-size:var(--game-text-body);font-variant-numeric:tabular-nums;margin:2px 0 0;font-weight:950}.todo-card__ledger dd.todo-card__recovery{color:#478057}.todo-card__resolution{border:1px solid color-mix(in srgb, var(--todo-accent) 30%, #ddd6c8);background:color-mix(in srgb, var(--todo-soft) 58%, #fffdf7);border-radius:13px;margin:0 16px 16px;padding:12px;box-shadow:inset 0 1px #ffffffc7}.todo-card__resolution>strong{color:#4f4b42;font-size:var(--game-text-small);margin-bottom:7px;display:block}.todo-card__resolution>div{flex-wrap:wrap;gap:4px 14px;display:flex}.todo-card__resolution span{color:#4f5847;font-size:var(--game-text-caption);font-weight:850}.todo-card__resolution p{color:#625e55;font-size:var(--game-text-small);margin:0;font-weight:700;line-height:1.5}.todo-modal__footer--medical{--modal-primary-surface:#c45f51;--modal-primary-shadow:#8c4037}.todo-modal__footer--life{--modal-primary-surface:#4c8290;--modal-primary-shadow:#315e68}.todo-modal__footer--finance{--modal-primary-surface:#aa7234;--modal-primary-shadow:#735027}.todo-confirm-layer{z-index:6;background:#273023a8;place-items:center;padding:14px;display:grid;position:absolute;inset:0}.todo-confirm{--todo-confirm-accent:#718a5f;--todo-confirm-soft:#edf1df;--todo-confirm-shadow:#4a613f;border:3px solid var(--todo-confirm-accent);color:#3f463a;width:min(100%,360px);max-height:100%;box-shadow:0 7px 0 color-mix(in srgb, var(--todo-confirm-shadow) 52%, transparent);scrollbar-width:thin;background:#fffdf7;border-radius:17px;padding:16px;overflow-y:auto}.todo-confirm--medical{--todo-confirm-accent:#c45f51;--todo-confirm-soft:#f9e4dc;--todo-confirm-shadow:#8c4037}.todo-confirm--life{--todo-confirm-accent:#4c8290;--todo-confirm-soft:#dfeff0;--todo-confirm-shadow:#315e68}.todo-confirm--finance{--todo-confirm-accent:#aa7234;--todo-confirm-soft:#f5e7c9;--todo-confirm-shadow:#735027}.todo-confirm__tag{color:var(--todo-confirm-accent);background:var(--todo-confirm-soft);font-size:var(--game-text-caption);border-radius:7px;padding:4px 8px;font-weight:950;display:inline-block}.todo-confirm h3{color:#343b30;font-size:var(--game-text-subtitle);margin:7px 0 11px}.todo-confirm__changes{background:var(--todo-confirm-soft);border-radius:11px;margin:0;padding:6px 11px;display:grid}.todo-confirm__changes>div{border-bottom:1px dashed color-mix(in srgb, var(--todo-confirm-accent) 34%, transparent);grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;min-height:48px;padding:7px 0;display:grid}.todo-confirm__changes>div:last-child{border-bottom:0}.todo-confirm__changes dt{color:#696d63;font-size:var(--game-text-caption);font-weight:800}.todo-confirm__changes dd{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;margin:0;display:flex}.todo-confirm__changes dd span{color:#777b72;font-size:var(--game-text-caption);font-variant-numeric:tabular-nums}.todo-confirm__changes dd b{color:#96988f;font-size:var(--game-text-caption)}.todo-confirm__changes dd strong{color:#393e35;font-size:var(--game-text-body);font-variant-numeric:tabular-nums}.todo-confirm__changes dd em{color:#74776e;font-size:var(--game-text-caption);margin-left:auto;font-style:normal;font-weight:950}.todo-confirm__changes dd em.is-negative{color:#b34b3f}.todo-confirm__changes dd em.is-positive{color:#478057}.todo-confirm__special{border:1px solid color-mix(in srgb, var(--todo-confirm-accent) 30%, #d8d2c5);background:#faf7ef;border-radius:10px;margin-top:10px;padding:10px 11px}.todo-confirm__special>strong{font-size:var(--game-text-caption);margin-bottom:6px;display:block}.todo-confirm__special>div{flex-wrap:wrap;gap:5px;display:flex}.todo-confirm__special span{background:var(--todo-confirm-soft);font-size:var(--game-text-caption);border-radius:999px;padding:4px 7px;font-weight:850}.todo-confirm>p{color:#696d63;font-size:var(--game-text-caption);margin:10px 1px 12px;font-weight:700;line-height:1.5}.todo-confirm__actions{grid-template-columns:.8fr 1.2fr;gap:8px;display:grid}.todo-confirm__actions button{color:#5f655a;min-height:44px;font-size:var(--game-text-caption);cursor:pointer;background:#e8e9e1;border:0;border-radius:10px;padding:7px;font-weight:900}.todo-confirm__actions button:last-child{color:#fff;background:var(--todo-confirm-accent);box-shadow:0 3px 0 var(--todo-confirm-shadow)}.todo-empty{min-height:360px;color:var(--modal-content-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:36px;display:flex}.todo-empty>span{color:#fff;background:#369edc;border:3px solid #75b7df;border-radius:50%;place-items:center;width:70px;height:70px;font-size:2rem;font-weight:950;display:grid;box-shadow:0 5px #2375a8}.todo-empty h3{color:var(--modal-content-text);margin:22px 0 4px}.todo-empty p{font-size:var(--game-text-small);margin:0;font-weight:700}.dock-button{position:relative}.dock-button__badge{color:#fff;background:var(--game-color-notification);min-width:28px;height:28px;box-shadow:0 2px 0 var(--game-color-notification-dark);font-size:var(--game-text-caption);text-shadow:none;border:3px solid #fff;border-radius:999px;place-items:center;padding:0 6px;font-weight:950;display:grid;position:absolute;top:-7px;right:-5px}@container game (width<=360px) or (height<=680px){.todo-list{padding:10px}.todo-list-item{grid-template-columns:35px minmax(0,1fr) auto;gap:7px;min-height:70px;padding:8px}.todo-list-item__icon{width:34px;height:34px}.todo-list-item__side{gap:2px}.todo-detail{padding:0}.todo-card__header{grid-template-columns:35px minmax(0,1fr) auto;gap:7px;padding:9px}.todo-card__icon{width:35px;height:35px}.todo-card__description{padding:7px 9px}.todo-card__impact{margin-left:9px;margin-right:9px}.todo-card__ledger{grid-template-columns:1fr;padding-left:9px;padding-right:9px}.todo-card__resolution{margin-left:9px;margin-right:9px}.todo-confirm-layer{padding:10px}.todo-confirm{padding:12px}}.settlement-modal--failure{--modal-border:#85493f;--modal-shadow:#57332d;--modal-header-surface:#f0d7cf;--modal-brand-surface:#ad5548;--modal-brand-shadow:#783a31;--modal-title:#65372f;--modal-eyebrow:#8a574d;--modal-primary-surface:#a64d40;--modal-primary-shadow:#72352d}.settlement-content{flex-direction:column;gap:14px;padding:16px;display:flex}.settlement-hero{color:#fff;text-align:center;background:linear-gradient(145deg,#536b88,#394a62);border-radius:17px;flex-direction:column;align-items:center;padding:20px 16px;display:flex;box-shadow:0 5px #2e3b4d}.settlement-modal--failure .settlement-hero{box-shadow-color:#522b26;background:linear-gradient(145deg,#b05849,#743b33)}.settlement-hero>span{font-size:var(--game-text-caption);letter-spacing:.08em;opacity:.85;font-weight:850}.settlement-hero>strong{font-variant-numeric:tabular-nums;margin-top:5px;font-size:2rem}.settlement-hero>p{font-size:var(--game-text-small);margin:5px 0 0;font-weight:750}.settlement-section{background:#fffdf8;border:2px solid #d5cec0;border-radius:15px;overflow:hidden}.settlement-section>header{background:#f2eee5;border-bottom:1px solid #ded7ca;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.settlement-section h3{font-size:var(--game-text-body);margin:0}.settlement-section header span{color:#777064;font-size:var(--game-text-caption);font-weight:850}.settlement-list{flex-direction:column;padding:5px 12px;display:flex}.settlement-list article{border-bottom:1px dashed #ddd5c7;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:8px 0;display:flex}.settlement-list article:last-child{border-bottom:0}.settlement-list article>strong{font-size:var(--game-text-small)}.settlement-list article>div{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.settlement-list article span{color:#8b4037;font-size:var(--game-text-caption);background:#f6e2dc;border-radius:999px;padding:3px 6px;font-weight:850}.settlement-empty{color:#7f796e;font-size:var(--game-text-small);text-align:center;margin:0;padding:22px 12px;font-weight:700}.settlement-goals{flex-direction:column;padding:5px 12px;display:flex}.settlement-goals article{border-bottom:1px dashed #ddd5c7;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:8px;min-height:52px;padding:8px 0;display:grid}.settlement-goals article:last-child{border-bottom:0}.settlement-goals__mark{font-size:var(--game-text-subtitle);font-weight:900}.settlement-goals strong{font-size:var(--game-text-small)}.settlement-goals p{color:#777064;font-size:var(--game-text-caption);margin:2px 0 0;font-weight:700}.settlement-statistics{gap:6px;margin:0;padding:8px 12px;display:grid}.settlement-statistics div{grid-template-columns:minmax(0,1fr) max-content;gap:8px;display:grid}.settlement-statistics dt,.settlement-statistics dd{font-size:var(--game-text-small);margin:0;font-weight:750}.settlement-statistics dd{font-variant-numeric:tabular-nums}.settlement-alert{color:#6e4824;background:#fff0d6;border:2px solid #dda660;border-radius:13px;padding:12px}.settlement-alert strong{font-size:var(--game-text-small)}.settlement-alert p{font-size:var(--game-text-caption);margin:3px 0 0;font-weight:700}.records-modal{--modal-border:#c57843;--modal-text:#49351d;--modal-surface:transparent;--modal-shadow:#6c391b6b;--modal-header-surface:transparent;--modal-header-border-width:0;--modal-background-image:url(./records-modal-zXSYDZdu.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-muted-text:#826650;--modal-scroll-thumb:#d29569;--modal-scroll-track:transparent;--modal-focus:#875b3d;--modal-content-surface:#fff7eff0;--modal-content-surface-strong:#ffe2cfeb;--modal-content-border:#e4aa86;--modal-content-text:#573727;--modal-content-muted:#7b604f}.records-modal__brand-image{object-fit:cover;border-radius:10px;width:36px;height:36px;display:block}.records-modal .game-modal-brand{pointer-events:none}.records-modal__body{margin:36px 32px 34px;padding:14px}.records-list{flex-direction:column;gap:10px;display:flex}.records-row{border:2px solid var(--modal-content-border);width:100%;min-width:0;min-height:70px;color:var(--modal-content-text);background:var(--modal-content-surface);font:inherit;text-align:left;cursor:pointer;border-radius:15px;padding:12px 13px}.records-row--ledger{flex-direction:column;gap:7px;display:flex}.records-row:hover{background:#fffaf0;border-color:#c99c6b}.records-row:focus-visible{outline:3px solid var(--modal-focus);outline-offset:2px}.records-row__heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.records-row__heading strong{min-width:0;font-size:var(--game-text-body);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.records-row__heading>span{color:#8a492b;background:var(--modal-content-surface-strong);font-size:var(--game-text-caption);border-radius:999px;flex:none;padding:3px 8px;font-weight:850}.records-row__summary{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.records-row__summary time{color:var(--modal-muted-text);font-size:var(--game-text-caption);font-variant-numeric:tabular-nums;flex:none;margin:0;font-weight:750}.records-row__changes{flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;display:flex}.records-row__changes span{color:#70432c;font-size:var(--game-text-small);font-variant-numeric:tabular-nums;background:#ffe2c9;border-radius:8px;padding:4px 7px;font-weight:800}.records-detail{flex-direction:column;gap:18px;display:flex}.records-detail__section{flex-direction:column;gap:9px;min-width:0;display:flex}.records-detail__section+.records-detail__section{border-top:2px solid #8f653a38;padding-top:16px}.records-detail__section h3,.records-detail__section p{margin:0}.records-detail__section h3{color:#49351d;font-size:var(--game-text-subtitle)}.records-detail__section>p{color:#684d2f;font-size:var(--game-text-small);font-weight:700;line-height:1.55}.records-detail__meta{flex-wrap:wrap;gap:7px;display:flex}.records-detail__meta span{color:#496760;font-size:var(--game-text-caption);background:#dcefe7;border-radius:999px;padding:4px 8px;font-weight:800}.records-detail__values,.records-detail__section--ledger{flex-direction:column;gap:8px;display:flex}.records-detail__value{background:#f6e3bdb8;border-radius:10px;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);align-items:start;gap:10px;min-width:0;padding:9px 10px;display:grid}.records-detail__value span{color:var(--modal-muted-text);font-size:var(--game-text-caption);font-weight:800}.records-detail__value strong{color:#49351d;min-width:0;font-size:var(--game-text-body);text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-weight:850;line-height:1.4}.records-detail__value--single-line{grid-template-columns:max-content minmax(0,1fr)}.records-detail__value--single-line strong{font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.records-detail__net,.records-detail__boundary{background:#fff7e5;border-radius:10px;padding:9px 10px}.records-detail__boundary{border-left:4px solid #c57843}.records-detail__date-range{font-size:var(--game-text-caption);text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;background:#f6e3bd;border-radius:10px;padding:10px;overflow:hidden}@media (prefers-reduced-motion:no-preference){.records-row{transition:border-color .14s,background-color .14s}}.records-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:280px;padding:30px 18px;display:flex}.records-empty>span{color:#fff;width:64px;height:64px;font-size:var(--game-text-title);background:#e4834d;border-radius:20px;place-items:center;font-weight:900;display:grid;box-shadow:0 4px #ac512b}.records-empty h3,.records-empty p{margin:0}.records-empty h3{font-size:var(--game-text-subtitle)}.records-empty p{max-width:300px;color:var(--modal-muted-text);font-size:var(--game-text-small);font-weight:700;line-height:1.55}@container game (width<=360px){.records-modal__body{margin-left:24px;margin-right:24px;padding:10px}}.reference-modal{--modal-border:#8a5aaa;--modal-shadow:#472a596b;--modal-header-surface:transparent;--modal-header-border:#6942863d;--modal-brand-surface:#9a65bd;--modal-brand-shadow:#6f458b;--modal-title:#4f315f;--modal-eyebrow:#76508b;--modal-close-border:#8a5aaa;--modal-close-text:#68437d;--modal-close-surface:#f7edfc;--modal-surface:transparent;--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-header-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-muted-text:#745f74;--modal-content-surface:#fcf6ffeb;--modal-content-surface-strong:#f0dcffe0;--modal-content-border:#c58ae9;--modal-content-text:#4e315c;--modal-content-muted:#735e7a}.reference-modal--tasks{--modal-border:#d18812;--modal-shadow:#71480c6b;--modal-close-border:#a96b10;--modal-close-text:#795019;--modal-close-surface:#fff2c4;--modal-muted-text:#806344;--modal-background-image:url(./tasks-modal-ybySwKZa.webp);--modal-content-surface:#fff9e8eb;--modal-content-surface-strong:#ffedb8e6;--modal-content-border:#e3b252;--modal-content-text:#4d331c;--modal-content-muted:#806344}.reference-modal--tutorial{--modal-background-image:url(./tutorial-modal-B0s198e-.webp)}.reference-modal .game-modal-brand{pointer-events:none}.reference-modal>.game-modal-body{margin:32px 32px 34px}.reference-task-board{padding:14px 6px 12px}.reference-task-board__intro{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:9px;display:flex}.reference-task-board__intro strong{color:#6f451a;font-size:var(--game-text-body);white-space:nowrap}.reference-task-board__intro span{color:#806344;font-size:var(--game-text-caption);text-align:right;font-weight:750}.reference-task-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.reference-task-list li{display:block}.reference-task-list__button{border:2px solid var(--modal-content-border);background:var(--modal-content-surface);width:100%;min-height:84px;font:inherit;text-align:left;cursor:pointer;border-radius:17px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 11px;display:grid;box-shadow:inset 0 1px #ffffffd9,0 3px #b16b181f}.reference-task-list li.is-completed .reference-task-list__button{background:#edf9e1e6;border-color:#78aa5d}.reference-task-list li.is-expired .reference-task-list__button{background:#ffebe8eb;border-color:#d96a62}.reference-task-list__button:focus-visible{outline:3px solid var(--modal-focus,#7b4b16);outline-offset:2px}.reference-task-list__icon{color:#8b5419;width:46px;height:46px;font-size:var(--game-text-subtitle);background:linear-gradient(145deg,#fff7dc,#f7d69a);border:2px solid #efc37b;border-radius:14px;grid-area:1/1;place-items:center;font-weight:950;display:grid;box-shadow:inset 0 2px #ffffffc7}.reference-task-list__copy{display:contents}.reference-task-list__copy strong{color:#4d331c;font-size:var(--game-text-body);grid-area:1/2;line-height:1.2}.reference-task-list__copy small{color:#81694e;font-size:var(--game-text-caption);white-space:normal;grid-area:2/1/auto/-1;padding-top:2px;font-weight:700;line-height:1.35}.reference-task-list__copy em{color:#936218;font-size:var(--game-text-caption);white-space:normal;grid-area:3/1/auto/-1;font-style:normal;font-weight:850;line-height:1.35}.reference-task-list__copy small b,.reference-task-list__copy em b{color:#694615;font-size:var(--game-text-caption);margin-right:5px}.reference-task-list li.is-completed .reference-task-list__copy em{color:#417332}.reference-task-list__status{color:#713000;min-width:74px;min-height:44px;font-size:var(--game-text-caption);white-space:nowrap;text-shadow:0 1px #fff5b4d6;background:radial-gradient(90% 110% at 26% -12%,#ffffffc7 0%,#ffffff2e 48%,#0000 68%),linear-gradient(#ffe266 0%,#ffb51f 55%,#f68a0b 100%);border:2px solid #d96d05;border-radius:13px;grid-area:1/3;place-items:center;padding:7px 10px;font-weight:950;display:grid;box-shadow:inset 0 2px 1px #ffffffb8,inset 0 -2px 3px #ae480033,0 4px #bd5703,0 6px 7px -4px #7735007a}.reference-task-list__status.is-complete{color:#fff;text-shadow:0 1px #277215,0 2px 2px #164c0a5c;background:radial-gradient(90% 110% at 26% -12%,#ffffffa8 0%,#ffffff26 48%,#0000 68%),linear-gradient(#9beb5a 0%,#5dcc2d 55%,#35a817 100%);border-color:#3c941e;box-shadow:inset 0 2px 1px #ffffff9e,inset 0 -2px 3px #1d6c0838,0 4px #287817,0 6px 7px -4px #1f5b107a}.reference-task-list__status.is-expired{color:#fff;text-shadow:0 1px 1px #67141094;background:linear-gradient(#ef6a5f,#c93e36);border-color:#a72c27;box-shadow:inset 0 2px #ffffff57,0 3px #922722}.reference-task-detail{color:#4d331c;flex-direction:column;gap:16px;padding:14px 8px 18px;display:flex}.reference-task-detail__header{grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.reference-task-detail__header>span{color:#8b5419;width:48px;height:48px;font-size:var(--game-text-subtitle);background:linear-gradient(145deg,#fff7dc,#f7d69a);border:2px solid #efc37b;border-radius:14px;place-items:center;font-weight:950;display:grid}.reference-task-detail.is-completed .reference-task-detail__header>span{color:#fff;background:#4fa137;border-color:#68a84a}.reference-task-detail__header>div{flex-direction:column;gap:4px;min-width:0;display:flex}.reference-task-detail__header small{color:#866b46;font-size:var(--game-text-caption);font-weight:750}.reference-task-detail__header strong{font-size:var(--game-text-body)}.reference-task-detail__header h3{color:#4d331c;font-size:var(--game-text-subtitle);margin:0;line-height:1.2}.reference-task-detail__header>b{color:#713000;font-size:var(--game-text-caption);white-space:nowrap;text-shadow:0 1px #fff5b4d6;background:linear-gradient(#ffe266 0%,#ffb51f 58%,#f68a0b 100%);border:2px solid #d96d05;border-radius:12px;padding:6px 9px;box-shadow:inset 0 1px #ffffffb8,0 3px #bd5703}.reference-task-detail.is-completed .reference-task-detail__header>b{color:#fff;text-shadow:0 1px #277215,0 2px 2px #164c0a5c;background:linear-gradient(#9beb5a 0%,#5dcc2d 58%,#35a817 100%);border-color:#3c941e;box-shadow:inset 0 1px #ffffff9e,0 3px #287817}.reference-task-detail.is-expired .reference-task-detail__header>b{color:#fff;text-shadow:0 1px 1px #67141094;background:linear-gradient(#ef6a5f,#c93e36);border-color:#a72c27;box-shadow:inset 0 1px #ffffff57,0 3px #922722}.reference-task-detail>section{border-bottom:1px dashed #a16d2652;padding-bottom:14px}.reference-task-detail>section h3,.reference-task-detail p{margin:0}.reference-task-detail>section h3{color:#744b1f;font-size:var(--game-text-body)}.reference-task-detail>section>p,.reference-task-detail__note{color:#6f604c;font-size:var(--game-text-small);margin-top:5px;font-weight:700;line-height:1.5}.reference-task-detail__progress,.reference-task-detail__reward{color:#674b17;font-size:var(--game-text-small);background:#ffecafc7;border-radius:12px;margin-top:9px;padding:10px 12px;font-weight:850;line-height:1.45}.reference-task-detail__cash-sprint{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0 0;padding:0;display:grid}.reference-task-detail__cash-sprint>div{text-align:center;background:#fff8ddd1;border:1px solid #e2b55d;border-radius:10px;min-width:0;padding:8px 6px}.reference-task-detail__cash-sprint dt{color:#806344;font-size:var(--game-text-caption);font-weight:800}.reference-task-detail__cash-sprint dd{color:#67400f;font-size:var(--game-text-body);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-weight:950;overflow:hidden}.reference-task-detail__cash-sprint-note{background:#fff4d2ad;border-left:3px solid #d58a16;padding:8px 10px;color:#715b3e!important;font-size:var(--game-text-caption)!important;margin-top:8px!important;line-height:1.45!important}.reference-task-detail__reward{color:#3d6b30;background:#dcf1cfe0}.reference-task-detail__reward span{margin-right:6px}.reference-task-detail__note{background:#fff4d3b8;border-left:4px solid #d49a27;margin:0;padding:10px 12px}.reference-modal__content{flex-direction:column;gap:18px;padding:12px 6px 10px;display:flex}@container game (width<=360px) or (height<=680px){.reference-task-board{padding:10px 4px}.reference-task-list{gap:9px}.reference-task-list__button{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;min-height:74px;padding:8px}.reference-task-list__icon{width:38px;height:38px}.reference-task-list__status{min-width:64px;min-height:40px;padding-inline:8px}.reference-task-detail{gap:12px;padding:10px 4px 14px}.reference-task-detail__header{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}.reference-task-detail__header>span{width:40px;height:40px}}.reference-modal__summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.reference-modal__summary>div{background:#f8ecff;border:2px solid #d6b9e6;border-radius:15px;flex-direction:column;justify-content:center;gap:6px;min-height:76px;padding:12px;display:flex}.reference-modal--tasks .reference-modal__summary>div{background:#fff8e0e0;border-color:#e4b85e}.reference-modal__summary span{color:var(--modal-muted-text);font-size:var(--game-text-caption);font-weight:800}.reference-modal__summary strong{font-size:var(--game-text-subtitle);font-variant-numeric:tabular-nums}.reference-modal__section{flex-direction:column;gap:8px;display:flex}.reference-modal__section+.reference-modal__section{border-top:2px dashed #74508b38;padding-top:16px}.reference-modal__section h3,.reference-modal__section p{margin:0}.reference-modal__section h3{color:#5b396c;font-size:var(--game-text-subtitle)}.reference-modal--tasks .reference-modal__section h3{color:#805323}.reference-modal--tasks .reference-modal__section+.reference-modal__section{border-top-color:#a16d263d}.reference-modal__section p{font-size:var(--game-text-body);font-weight:700;line-height:1.65}.reference-modal__list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.reference-modal__list li{background:#fff6dc;border:2px solid #ead6bd;border-radius:15px;flex-direction:column;justify-content:center;gap:5px;min-height:70px;padding:12px 14px;display:flex}.reference-modal__list strong{font-size:var(--game-text-body)}.reference-modal__list span{color:var(--modal-muted-text);font-size:var(--game-text-small);font-weight:700;line-height:1.45}.game-shell{--tutorial-accent:#b44722;--tutorial-accent-soft:#ffd68a;--tutorial-surface:#fff7df;--tutorial-surface-raised:#fffdf4}.new-game-tutorial-modal{--modal-border-width:0;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-surface:transparent;--modal-background-image:url(./onboarding-complete-modal-vt82-ZAf.webp);--modal-background-position:center bottom;--modal-background-size:100% calc(100% - 6px);--modal-header-surface:transparent;--modal-footer-surface:transparent;--modal-eyebrow:#ffe3ad;--modal-title:#fff8e8;--modal-muted-text:#6f4a2d;--modal-brand-border:#fff0cf;--modal-brand-surface:#a85a2a;--modal-brand-shadow:#6d341c;--modal-primary-surface:#c65c32;--modal-primary-shadow:#874023;--modal-shell-shadow:none}.new-game-tutorial-modal--complete,.new-game-tutorial-modal--welcome{--modal-brand-opacity:0}.new-game-tutorial-modal--welcome .game-modal-header{grid-template-columns:44px minmax(0,1fr) 44px}.new-game-tutorial-modal--welcome .game-modal-header>div:not(.game-modal-brand){text-align:center}.new-game-tutorial-modal .game-modal-header{padding-top:20px;padding-bottom:6px}.new-game-tutorial-modal>.game-modal-body{margin-top:18px;margin-inline:42px}.new-game-tutorial-modal--complete .game-modal-header>div{text-align:center}.new-game-tutorial-modal .new-game-tutorial-modal__content{gap:20px;padding:38px 0 42px}.new-game-tutorial-modal--complete .new-game-tutorial-modal__content--complete{gap:10px;padding:18px 0}.new-game-tutorial-modal .game-modal-eyebrow,.new-game-tutorial-modal .game-modal-header h2{text-shadow:0 2px 1px #48220e9e}.new-game-tutorial-modal .game-modal-footer{padding:10px 42px 36px}.new-game-tutorial-modal .game-color-button{--game-button-top:#d99450;--game-button-middle:#b8642f;--game-button-bottom:#8f431f;--game-button-border:#713619;--game-button-shadow:#5a2a16;--game-button-text:#fff8ec;--game-button-text-outline:#5b2c17;--game-button-text-stroke:1px}.new-game-tutorial-modal__content{flex-direction:column;gap:16px;padding:14px 16px 20px;display:flex}.new-game-tutorial-modal__lead,.new-game-tutorial-modal__complete{background:#fff9e2eb;border:2px solid #e0b35e;border-radius:16px;flex-direction:column;gap:7px;padding:14px;display:flex}.new-game-tutorial-modal__lead strong{color:#8b4a25;font-size:var(--game-text-subtitle)}.new-game-tutorial-modal__lead span,.new-game-tutorial-modal__section p,.new-game-tutorial-modal__section li,.new-game-tutorial-modal__complete p{font-size:var(--game-text-small);font-weight:700;line-height:1.55}.new-game-tutorial-modal__setup{gap:8px;margin:0;display:grid}.new-game-tutorial-modal__setup>div{background:#f7e7bd;border-radius:13px;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:9px 12px;display:grid}.new-game-tutorial-modal__setup dt{color:#795d3c;font-size:var(--game-text-caption);font-weight:850}.new-game-tutorial-modal__setup dd{font-size:var(--game-text-small);font-variant-numeric:tabular-nums;margin:0;font-weight:900}.new-game-tutorial-modal__section{flex-direction:column;gap:8px;display:flex}.new-game-tutorial-modal__section+.new-game-tutorial-modal__section{border-top:2px dashed #8b5a2f40;padding-top:14px}.new-game-tutorial-modal__section h3,.new-game-tutorial-modal__section p,.new-game-tutorial-modal__complete h3,.new-game-tutorial-modal__complete p{margin:0}.new-game-tutorial-modal__section h3,.new-game-tutorial-modal__complete h3{color:#6f4426;font-size:var(--game-text-subtitle)}.new-game-tutorial-modal__section ul{gap:5px;margin:0;padding-left:24px;display:grid}.new-game-tutorial-modal__complete{text-align:center;align-items:center}.new-game-tutorial-modal--complete .new-game-tutorial-modal__complete{gap:4px;padding:10px 12px 12px}.new-game-tutorial-modal__complete>span{color:#fff;width:58px;height:58px;font-family:var(--game-symbol-font-family);background:#5f9e51;border-radius:50%;place-items:center;font-size:2rem;font-weight:1000;display:grid;box-shadow:0 4px #3f7337}.new-game-tutorial-modal--complete .new-game-tutorial-modal__complete>span{width:48px;height:48px;font-size:1.65rem}.new-game-tutorial-modal__complete-reminders{gap:6px;margin:0;padding:0;list-style:none;display:grid}.new-game-tutorial-modal__complete-reminders li{color:#66472e;min-height:46px;font-size:var(--game-text-small);background:#fff6d7c2;border:1px solid #c184348c;border-radius:12px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;padding:7px 10px;font-weight:800;line-height:1.35;display:grid}.new-game-tutorial-modal__complete-reminders strong{color:#fff8e8;font-size:var(--game-text-caption);text-align:center;background:#9b572e;border-radius:8px;padding:3px 5px}.new-game-coachmark-layer{pointer-events:none;position:absolute;inset:0}.new-game-coachmark-layer:before{z-index:38;content:"";background:#311f1494;position:absolute;inset:0}.new-game-coachmark{z-index:41;isolation:isolate;width:min(340px,100% - 36px);color:var(--tutorial-surface);background:linear-gradient(145deg,#4a2c1df0,#2b1d17e8);border:2px solid #ffd68ab8;border-radius:18px;flex-direction:column;gap:8px;padding:14px 16px 15px;display:flex;position:absolute;box-shadow:0 4px #22140dc2,0 16px 34px #311f147a,inset 0 1px #ffffff26}.new-game-coachmark--top{top:clamp(245px,36cqh,300px);left:18px}.new-game-coachmark--side{width:min(318px,100% - 116px);top:clamp(205px,31cqh,260px);left:18px}.new-game-coachmark--bottom{bottom:clamp(190px,27cqh,232px);right:18px}.new-game-coachmark__progress{color:#fff;background:var(--tutorial-accent);font-size:var(--game-text-caption);border-radius:999px;align-self:flex-start;padding:4px 9px;font-weight:900;line-height:1.2}.new-game-coachmark h2,.new-game-coachmark p{margin:0}.new-game-coachmark h2{color:var(--tutorial-accent-soft);font-size:var(--game-text-subtitle);font-weight:900;line-height:1.25}.new-game-coachmark p{color:var(--tutorial-surface);font-size:var(--game-text-body);font-weight:800;line-height:1.5}.new-game-coachmark strong{color:#ffb08c;font-size:var(--game-text-caption);font-weight:900;line-height:1.35}.new-game-coachmark strong:before{color:var(--tutorial-accent-soft);content:"→";margin-right:5px}.round-screen--tutorial-coachmark .tutorial-target{z-index:40;animation:.76s ease-in-out infinite alternate tutorial-target-pulse;position:relative;outline:0!important}:is(.round-screen--tutorial-coachmark .top-hud:has(.tutorial-target),.round-screen--tutorial-coachmark .quick-menu:has(.tutorial-target),.round-screen--tutorial-coachmark .bottom-controls:has(.tutorial-target)){z-index:39}.round-screen--tutorial-coachmark .quick-menu:has(.tutorial-target){right:20px}.round-screen--tutorial-coachmark .bottom-controls:has(.tutorial-target){right:20px;bottom:max(20px, var(--game-safe-area-bottom))}.round-screen--tutorial-coachmark .quick-menu:has(.tutorial-target) .quick-action:not(.tutorial-target){opacity:.48;filter:saturate(.4)brightness(.72)}.round-screen--tutorial-coachmark .bottom-dock:has(.tutorial-target) .dock-button:not(.tutorial-target){opacity:.48;filter:saturate(.4)brightness(.72)}.round-screen--tutorial-coachmark .bottom-controls:has(.end-turn-button.tutorial-target) .bottom-dock{opacity:.48;filter:saturate(.4)brightness(.72)}@keyframes tutorial-target-pulse{0%{box-shadow:0 0 0 3px var(--tutorial-surface-raised), 0 0 0 6px #b44722d1, 0 0 20px 10px #ed734094;filter:brightness()saturate()}to{box-shadow:0 0 0 4px var(--tutorial-surface-raised), 0 0 0 8px var(--tutorial-accent), 0 0 36px 19px #ed7340db;filter:brightness(1.1)saturate(1.06)}}.game-modal-tutorial-overlay{z-index:3;min-height:66px;color:var(--tutorial-surface);pointer-events:none;background:linear-gradient(105deg,#4e2c1bf2,#302018ed);border:2px solid #ffd68ab8;border-radius:16px;padding:10px 11px;display:block;position:absolute;bottom:14px;left:14px;right:14px;box-shadow:0 4px #22140d8c,0 12px 24px #311f1457}.game-modal-tutorial-overlay__summary{gap:2px;min-width:0;display:grid}.game-modal-tutorial-overlay__summary>span{color:#ffe3ad;font-size:var(--game-text-caption);font-weight:950;line-height:1.2}.game-modal-tutorial-overlay__summary>p{color:var(--tutorial-surface);font-size:var(--game-text-caption);margin:0;font-weight:800;line-height:1.35}.game-modal-tutorial-close-hint{z-index:3;min-height:34px;color:var(--tutorial-surface);pointer-events:none;font-size:var(--game-text-caption);white-space:nowrap;background:#372218f0;border:1px solid #ffd68aa3;border-radius:999px 8px 999px 999px;align-items:center;gap:6px;padding:6px 10px;line-height:1.2;display:flex;position:absolute;top:62px;right:7px;box-shadow:0 5px 14px #311f144d}.game-modal-tutorial-close-hint:before{content:"";border-bottom:7px solid #372218f0;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0;position:absolute;bottom:100%;right:12px}.game-modal-tutorial-close-hint>span{color:#ffe3ad;font-weight:800}.game-modal-tutorial-close-hint>strong{color:#ffb08c;font-weight:950}.game-modal-shell--tutorial-preview.game-modal-shell{overflow:visible}.game-modal-shell--tutorial-preview .game-modal-header{border-radius:calc(var(--modal-border-radius,22px) - 3px) calc(var(--modal-border-radius,22px) - 3px) 0 0}.game-modal-shell--tutorial-preview .game-modal-close{border-radius:50%;animation:.76s ease-in-out infinite alternate tutorial-close-pulse;z-index:4!important}.game-modal-shell--tutorial-preview .game-modal-body,.game-modal-shell--tutorial-preview .game-modal-body :is(button,input,textarea,select,summary,[role=button]){cursor:default}@keyframes tutorial-close-pulse{0%{box-shadow:0 0 0 2px var(--tutorial-surface-raised), 0 0 0 4px #b44722d1, 0 0 8px 2px #ed73408c}to{box-shadow:0 0 0 2px var(--tutorial-surface-raised), 0 0 0 5px var(--tutorial-accent), 0 0 10px 3px #ed7340c2}}@container game (height<=620px){.new-game-tutorial-modal__content{gap:11px;padding:10px 12px 14px}.new-game-tutorial-modal__lead,.new-game-tutorial-modal__complete,.new-game-coachmark{padding:10px 12px}.new-game-coachmark--top,.new-game-coachmark--side{top:190px}.new-game-coachmark--bottom{bottom:174px}}@media (prefers-reduced-motion:reduce){.round-screen--tutorial-coachmark .tutorial-target{animation:none;box-shadow:0 0 0 3px var(--tutorial-surface-raised), 0 0 0 7px var(--tutorial-accent), 0 0 28px 14px #ed7340c7!important}.game-modal-shell--tutorial-preview .game-modal-close{box-shadow:0 0 0 2px var(--tutorial-surface-raised), 0 0 0 5px var(--tutorial-accent), 0 0 10px 3px #ed7340b8;animation:none}}.game-modal-overlay{--game-modal-top-gap:max(clamp(40px, 7cqh, 64px), calc(var(--game-safe-area-top) + 20px));--game-modal-bottom-gap:max(64px, calc(var(--game-safe-area-bottom) + 40px));z-index:30;padding:var(--game-modal-top-gap) 14px var(--game-modal-bottom-gap);background:#1d1f2594;place-items:start center;animation:.16s ease-out game-modal-overlay-in;display:grid;position:absolute;inset:0}.game-modal-shell.game-modal-shell{width:min(100%,430px);height:min(594px, calc(100cqh - var(--game-modal-top-gap) - var(--game-modal-bottom-gap)));max-height:min(594px, calc(100cqh - var(--game-modal-top-gap) - var(--game-modal-bottom-gap)));padding-top:var(--modal-asset-top-inset,0);border:var(--modal-border-width,3px) solid var(--modal-border,#98652b);border-radius:var(--modal-border-radius,22px);color:var(--modal-text,#49351d);background-color:var(--modal-surface,#fff8df);background-image:var(--modal-background-image,none);background-origin:var(--modal-background-origin,padding-box);background-position:var(--modal-background-position,center);background-repeat:no-repeat;background-size:var(--modal-background-size,cover);box-shadow:var(--modal-shell-shadow,0 10px 0 var(--modal-shadow,#5030126b), 0 18px 36px #00000047);flex-direction:column;animation:.18s ease-out game-modal-shell-in;display:flex;position:relative;overflow:hidden}.game-modal-header{border-bottom:var(--modal-header-border-width,2px) solid var(--modal-header-border,#82501940);background-color:var(--modal-header-surface,#ffd76a);background-image:var(--modal-header-background-image,none);background-position:50%;background-size:cover;flex:none;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:10px;min-height:72px;padding:10px 12px;display:grid}.game-modal-brand,.game-modal-back{border:3px solid var(--modal-brand-border,#fff);width:46px;height:46px;color:var(--modal-brand-text,#fff);background:var(--modal-brand-surface,#c98628);box-shadow:0 3px 0 var(--modal-brand-shadow,#966019);font-family:var(--game-symbol-font-family);border-radius:14px;place-items:center;font-size:1.6rem;font-weight:1000;display:grid}.game-modal-brand{opacity:var(--modal-brand-opacity,1)}.game-modal-back{width:44px;height:44px;box-shadow:none;cursor:pointer;background:url(./back-QTaTnyuc.png) 50%/contain no-repeat;border:0;border-radius:0;padding:0}.game-modal-eyebrow{color:var(--modal-eyebrow,#805619);font-size:var(--game-text-caption);letter-spacing:.1em;font-weight:900}.game-modal-eyebrow,.game-modal-header h2{opacity:var(--modal-heading-opacity,1)}.game-modal-header h2{color:var(--modal-title,#4b341a);font-size:var(--game-text-title);margin:1px 0 0;line-height:1.1}.game-modal-close{width:44px;height:44px;box-shadow:none;cursor:pointer;background:url(./close-DynEjXSl.png) 50%/40px 41px no-repeat;border:0;border-radius:0;padding:0;position:relative}.game-modal-shell--illustrated-frame .game-modal-header{position:static}.game-modal-shell--illustrated-frame .game-modal-header>div:not(.game-modal-brand){grid-column:2}.game-modal-shell--illustrated-frame .game-modal-back,.game-modal-shell--illustrated-frame .game-modal-close{z-index:1;position:absolute;top:10px}.game-modal-shell--illustrated-frame .game-modal-back{top:var(--modal-back-center-y,8.8%);left:24px;transform:translateY(-50%)}.game-modal-shell--illustrated-frame .game-modal-close{right:1px}.game-modal-body{overscroll-behavior:contain;scrollbar-color:var(--modal-scroll-thumb,#c49349) var(--modal-scroll-track,transparent);scrollbar-width:thin;touch-action:pan-y;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow:hidden auto}.game-modal-body::-webkit-scrollbar{width:7px}.game-modal-body::-webkit-scrollbar-track{background:var(--modal-scroll-track,transparent)}.game-modal-body::-webkit-scrollbar-thumb{border:2px solid var(--modal-scroll-track,transparent);background:var(--modal-scroll-thumb,#c49349);border-radius:999px}.game-modal-footer{border-top:var(--modal-footer-border-width,2px) solid var(--modal-footer-border,var(--modal-header-border,#82501940));background-color:var(--modal-footer-surface,#fff0c9);background-image:var(--modal-footer-background-image,none);background-position:50%;background-size:cover;flex:none;gap:8px;padding:11px 12px 13px;display:grid}.game-modal-footer>p{color:var(--modal-muted-text,#78634a);font-size:var(--game-text-caption);text-align:center;margin:0;font-weight:750;line-height:1.4}.game-modal-footer>button{min-height:48px;color:var(--modal-primary-text,#fff);background:var(--modal-primary-surface,#c85a31);box-shadow:0 3px 0 var(--modal-primary-shadow,#934022);font-size:var(--game-text-body);cursor:pointer;border:0;border-radius:12px;padding:9px 14px;font-weight:950}.game-modal-footer>button:active:not(:disabled){box-shadow:0 1px 0 var(--modal-primary-shadow,#934022);transform:translateY(2px)}.game-modal-footer>button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.game-modal-shell button:focus-visible,.game-modal-shell:focus-visible{outline-offset:2px;box-shadow:0 0 0 5px var(--modal-focus,#76502d)!important;outline:3px solid #fff!important}@media (hover:hover) and (pointer:fine){.game-modal-body{cursor:grab}.game-modal-body button,.game-modal-body summary{cursor:pointer}.game-modal-body input,.game-modal-body textarea{cursor:text}.game-modal-body.is-mouse-dragging,.game-modal-body.is-mouse-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}}@keyframes game-modal-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes game-modal-shell-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@container game (width<=360px) or (height<=680px){.game-modal-overlay{padding-inline:10px}.game-modal-shell.game-modal-shell{border-radius:var(--modal-compact-border-radius,17px)}.game-modal-header{grid-template-columns:40px minmax(0,1fr) 34px;min-height:62px}.game-modal-brand{border-radius:11px;width:38px;height:38px;font-size:1.3rem}.game-modal-footer{padding:9px}.game-modal-footer>button{min-height:45px}}@container game (width<=480px){.game-modal-overlay{--game-modal-top-gap:max(clamp(44px, 8cqh, 72px), calc(var(--game-safe-area-top) + 20px));--game-modal-bottom-gap:max(20px, calc(var(--game-safe-area-bottom) + 12px));padding-top:var(--game-modal-top-gap);padding-right:10px;padding-bottom:var(--game-modal-bottom-gap);place-items:start center;padding-left:10px}.game-modal-shell.game-modal-shell{height:min(558px, calc(100cqh - var(--game-modal-top-gap) - var(--game-modal-bottom-gap)));max-height:min(558px, calc(100cqh - var(--game-modal-top-gap) - var(--game-modal-bottom-gap)))}}@media (prefers-reduced-motion:reduce){.game-modal-overlay,.game-modal-shell{animation:none}}.pwa-status{z-index:3000;right:16px;bottom:max(16px, calc(var(--game-safe-area-bottom) + 12px));color:#55361f;font-size:var(--game-text-small);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff7e8f5;border:2px solid #a86620;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid;position:absolute;left:16px;box-shadow:0 8px 24px #41260f47}.pwa-status__message{min-width:0;margin:0}.pwa-status__actions{gap:8px;display:flex}.pwa-status__button{color:#68401f;min-width:72px;min-height:44px;font-size:var(--game-text-body);cursor:pointer;background:#fffaf0;border:2px solid #a86620;border-radius:12px;padding:8px 12px}.pwa-status__button--primary{color:#4d2c12;background:#f5b83d}.game-shell .pwa-status__button:focus-visible{outline-offset:2px!important;outline:3px solid #155eef!important}@media (prefers-reduced-motion:no-preference){.pwa-status{animation:.18s ease-out pwa-status-enter}}@keyframes pwa-status-enter{0%{opacity:0;transform:translateY(8px)}}.install-app-button{min-height:44px}.game-shell .install-app-button:focus-visible{outline-offset:3px;box-shadow:0 0 0 6px #a94a08, 0 4px 0 var(--game-button-shadow)!important;outline:3px solid #fff!important}.pwa-install-modal .game-modal-body{background:0 0;margin:10px 30px 0;padding:6px 4px 10px}.pwa-install-modal .game-modal-brand{opacity:0;pointer-events:none}.game-modal-shell.pwa-install-modal>.game-modal-footer{background:0 0;margin:0 30px 28px;padding:8px 4px 2px}.pwa-install-guide{gap:18px;display:grid}.pwa-install-guide__summary{color:var(--modal-content-muted);font-size:var(--game-text-small);margin:0;font-weight:750;line-height:1.5}.pwa-install-guide__steps{counter-reset:install-step;gap:10px;margin:0;padding:0;list-style:none;display:grid}.pwa-install-guide__steps li{border:1px solid var(--modal-content-border);min-height:54px;color:var(--modal-content-text);background:var(--modal-content-surface);font-size:var(--game-text-body);counter-increment:install-step;border-radius:14px;padding:12px 12px 12px 52px;font-weight:750;line-height:1.4;position:relative;box-shadow:inset 0 1px #ffffffd1}.pwa-install-guide__steps li:before{color:#fff;content:counter(install-step);width:32px;height:32px;font-size:var(--game-text-caption);background:#d86a16;border-radius:10px;place-items:center;font-weight:950;display:grid;position:absolute;top:10px;left:10px;box-shadow:0 2px #a94409}.pwa-install-guide__note{color:#6d3a18;background:#fff0d6;border-left:4px solid #d86a16;border-radius:4px 12px 12px 4px;padding:12px 13px}.pwa-install-guide__note strong{font-size:var(--game-text-body)}.pwa-install-guide__note p{font-size:var(--game-text-small);margin:5px 0 0;font-weight:700;line-height:1.45}@container game (width<=360px) or (height<=680px){.pwa-install-modal .game-modal-body{margin-left:26px;margin-right:26px;padding:4px 2px 8px}.game-modal-shell.pwa-install-modal>.game-modal-footer{margin-bottom:24px;margin-left:26px;margin-right:26px}.pwa-install-guide{gap:12px}.pwa-install-guide__steps{gap:8px}.pwa-install-guide__steps li{min-height:50px;padding:9px 10px 9px 48px}.pwa-install-guide__steps li:before{top:8px;left:8px}}.game-modal-shell.game-settings-modal{--modal-text:#30315f;--modal-surface:transparent;--modal-header-surface:transparent;--modal-header-border-width:0;--modal-footer-border-width:0;--modal-background-image:url(./settings-modal-CHTAk_Hy.webp);--modal-background-size:100% 100%;--modal-background-position:center;--modal-shell-shadow:none;--modal-border-width:0;--modal-border-radius:20px;--modal-compact-border-radius:16px;--modal-brand-opacity:0;--modal-heading-opacity:0;--modal-scroll-thumb:#6d72c8;--modal-scroll-track:transparent;--modal-focus:#343883;--modal-content-surface:#fffbf4e0;--modal-content-surface-strong:#ededffeb;--modal-content-border:#a7a9de;--modal-content-text:#30315f;--modal-content-muted:#686987}.game-settings-modal .game-modal-brand{pointer-events:none}.game-settings-modal__body{background:0 0;margin:12px 30px 28px;padding:7px 4px 10px}.game-settings-section{border:2px solid var(--modal-content-border);color:var(--modal-content-text);background:var(--modal-content-surface);border-radius:15px;padding:12px;box-shadow:inset 0 1px #ffffffe0}.game-settings-section+.game-settings-section{margin-top:14px}.game-settings-section__heading{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.game-settings-section__heading>span{color:#fff;width:42px;height:42px;font-family:var(--game-symbol-font-family);font-size:var(--game-text-subtitle);background:linear-gradient(#8589dd,#555aa8);border:2px solid #555aa8;border-radius:13px;place-items:center;font-weight:900;display:grid;box-shadow:0 3px #35397b}.game-settings-section__heading h3,.game-settings-section__heading p{margin:0}.game-settings-section__heading h3{font-size:var(--game-text-subtitle);line-height:1.2}.game-settings-section__heading p{color:var(--modal-content-muted);font-size:var(--game-text-caption);margin-top:3px;font-weight:750;line-height:1.35}.game-settings-options{gap:9px;margin-top:11px;display:grid}.game-settings-switch{width:100%;min-height:70px;color:inherit;text-align:left;cursor:pointer;background:#ffffffbd;border:2px solid #555aa85c;border-radius:13px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:10px;padding:10px 11px;display:grid}.game-settings-switch>span{gap:3px;min-width:0;display:grid}.game-settings-switch strong{font-size:var(--game-text-body)}.game-settings-switch small{color:var(--modal-content-muted);font-size:var(--game-text-caption);font-weight:700;line-height:1.25}.game-settings-switch b{color:#676982;min-width:58px;font-size:var(--game-text-caption);text-align:center;background:#e1e1ea;border-radius:999px;padding:6px 8px;font-weight:900}.game-settings-switch[aria-checked=true]{background:#efefffe0;border-color:#7378ce}.game-settings-switch[aria-checked=true] b{color:#fff;background:#555aa8}.game-settings-section--narration{gap:9px;display:grid}.game-settings-section--narration .event-narration-settings__header{min-height:48px}.game-settings-section--narration .event-narration-settings__header strong{color:#30315f}.game-settings-section--narration .event-narration-settings__header small{color:var(--modal-content-muted)}.game-settings-section--narration .event-narration-settings__switch,.game-settings-section--narration .event-narration-settings__range{background:#ffffffb8;border-color:#555aa852}.game-settings-section--narration .event-narration-settings__switch[aria-checked=true]{background:#efefffe0;border-color:#7378ce}.game-settings-section--narration .event-narration-settings__switch strong,.game-settings-section--narration .event-narration-settings__range output{color:#555aa8}.game-settings-section--narration .event-narration-settings__range input{accent-color:#555aa8}.game-settings-note{color:var(--modal-content-muted);font-size:var(--game-text-caption);text-align:center;margin:12px 3px 0;font-weight:750;line-height:1.4}@container game (width<=360px) or (height<=680px){.game-settings-modal__body{margin-bottom:24px;margin-left:25px;margin-right:25px;padding-top:3px}.game-settings-section{padding:10px}.game-settings-section+.game-settings-section{margin-top:10px}.game-settings-options,.game-settings-section--narration{gap:7px}.game-settings-switch{min-height:64px;padding:8px 9px}}.quick-menu__toggle:focus-visible,.round-settings-button:focus-visible,.quick-action:focus-visible,.goal-progress__toggle:focus-visible,.turn-panel__summary:focus-visible,.end-turn-button:focus-visible,.dock-button:focus-visible{outline-offset:3px;outline:3px solid #fff}@media (width>=700px){.game-viewport{box-shadow:inset 1px 0 #eee,inset -1px 0 #eee}}@container game (height<=680px){.player-card:not(.player-card--collapsed){height:auto;min-height:134px}.goal-progress__content{padding-top:7px;padding-bottom:10px}.goal-progress__list{margin-top:2px;margin-bottom:2px;line-height:1.3}.quick-menu__list{gap:5px}.quick-action--image,.quick-action--placeholder{min-height:82px}.turn-panel{gap:4px;padding:8px}.status-meter--horizontal .status-meter__track{height:15px}.event-character:not(.event-character--has-image){width:clamp(118px,39cqw,150px);height:220px}.event-character__head{width:42%;height:auto}.event-character__body{width:100%;height:66%}.event-overlay--layout-group .event-character--center{--focus-lift:-32px}.event-overlay{--event-dialogue-height:220px}.event-dialogue{padding-top:13px}.event-dialogue__text{margin-top:7px;margin-bottom:4px;line-height:1.45}.event-choice-panel{gap:7px;max-height:calc(100% - 20px);margin-top:10px;margin-bottom:10px;padding:10px}.event-choice-panel__options{gap:7px}.event-choice-panel__button{min-height:52px;padding-top:7px;padding-bottom:7px}}@container game (width<=400px){.bottom-controls{left:8px;right:8px}.turn-panel__summary{gap:7px;padding-left:5px;padding-right:5px}}@container game (width<=340px){.bottom-controls{gap:4px}.turn-panel{padding:8px}}@media (prefers-reduced-motion:reduce){.turn-intro-transition{-webkit-backdrop-filter:none;backdrop-filter:none;animation-name:turn-intro-curtain}.turn-intro-transition:before{opacity:.5;animation:none}.turn-intro-transition__content{animation:none}.player-status-summary__badge--changed,.player-status-summary__normal--changed{filter:brightness(1.14);animation:none;box-shadow:0 0 0 2px #fff,0 0 9px 3px #ffc62bd1}.player-status-summary__unread-dot{animation:none}.start-button,.event-overlay,.event-character{transition:none;animation:none}}@keyframes event-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes event-background-in{0%{opacity:0}to{opacity:1}}.game-shell[data-game-theme]{--game-color-ink:var(--theme-ink);--game-color-ink-soft:var(--theme-ink-soft);--game-color-coral:var(--theme-primary);--game-color-coral-dark:var(--theme-primary-dark);--game-color-purple:var(--theme-secondary);--game-color-purple-dark:var(--theme-secondary-dark);--game-color-sky:var(--theme-info);--game-color-sky-dark:var(--theme-info-dark);--game-color-orange:var(--theme-accent);--game-color-orange-dark:var(--theme-accent-dark);--game-color-gold:var(--theme-gold);--game-color-gold-dark:var(--theme-gold-dark);--game-color-notification:#e53935;--game-color-notification-dark:#91342e;--game-color-cream:var(--theme-surface-base);--game-color-peach:var(--theme-surface-soft);--game-color-blush:var(--theme-surface-soft);--game-color-lilac:var(--theme-surface-alt)}.game-shell[data-game-theme=candy]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--theme-ink:#4b294b;--theme-ink-soft:#704b6d;--theme-primary:#df5d6d;--theme-primary-dark:#a83d50;--theme-primary-hover:#9362ca;--theme-secondary:#9362ca;--theme-secondary-dark:#643f97;--theme-info:#4b9fbd;--theme-info-dark:#2f7189;--theme-accent:#e8873f;--theme-accent-dark:#a95729;--theme-gold:#e8aa24;--theme-gold-dark:#a76f14;--theme-success:#59aa82;--theme-surface-base:#fff8ee;--theme-surface-soft:#ffedf2;--theme-surface-raised:#fffaf7;--theme-surface-alt:#eee3ff;--theme-border-soft:#d8bce8;--theme-overlay:#3a1f3c9e;--theme-shadow:#643f9747;--theme-ui-detail:#9362ca;--theme-ui-detail-dark:#643f97;--theme-ui-detail-surface:#eee3ff;--theme-symbol-default:#704b6d;--theme-symbol-deposit:#79520c;--theme-symbol-loan:#813f22;--theme-symbol-services:#285f73;--theme-settlement-accent:#9362ca;--theme-settlement-accent-dark:#643f97;--theme-home-background:radial-gradient(circle at 18% 18%, #ffffffd1 0 13%, transparent 32%), radial-gradient(circle at 82% 78%, #eee3ffeb 0 10%, transparent 33%), linear-gradient(160deg, #fff9ef 0%, #ffedf2 52%, #eadfff 100%);--theme-title:#643f97;--theme-title-shadow:0 3px 0 #fff, 0 6px 0 #643f9724;--theme-player-surface:#ffd875;--theme-goal-surface:#ffe7d8;--theme-goal-control:#fff0e7;--theme-menu-toggle:#ffdce5;--theme-icon-surface:#ffeff5c7;--theme-turn-surface:#ffd9ca;--theme-turn-control:#fff0e8;--theme-deposit-header:#ffd875;--theme-loan-header:linear-gradient(135deg, #ffd9c8, #f4a4b7);--theme-services-header:#b9e4ef;--theme-todo-header:#e7d8ff;--theme-event-canvas:#8870aa;--theme-event-scene:#cbb8e7;--theme-event-dialogue:#fff0ea;--theme-services-accent:#4b9fbd;--theme-services-accent-dark:#2f7189;--theme-services-accent-alt:#9362ca;--theme-services-surface:#f3efff;--theme-services-action:#df5d6d;--theme-services-action-dark:#a83d50;--theme-todo-accent:#9362ca;--theme-todo-accent-dark:#643f97;--theme-todo-surface:#eee3ff;--theme-todo-action:#9362ca;--theme-todo-action-dark:#643f97;--theme-event-accent:#9362ca;--theme-event-accent-dark:#643f97;--theme-event-safe:#9362ca;--theme-event-safe-dark:#643f97;--theme-nav-task:#df5d6d;--theme-nav-deposit:#e8aa24;--theme-nav-loan:#e8873f;--theme-nav-services:#4b9fbd;--theme-nav-tutorial:#9362ca;--theme-dock-primary:#df5d6d;--theme-dock-secondary:#9362ca}.game-shell[data-game-theme=sunshine]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--theme-ink:#55361f;--theme-ink-soft:#80613d;--theme-primary:#f18725;--theme-primary-dark:#b95a13;--theme-primary-hover:#ed7340;--theme-secondary:#a768cf;--theme-secondary-dark:#704497;--theme-info:#4fa6cd;--theme-info-dark:#2c7195;--theme-accent:#ed7340;--theme-accent-dark:#aa4426;--theme-gold:#efb522;--theme-gold-dark:#a9720d;--theme-success:#58aa68;--theme-surface-base:#fff9e9;--theme-surface-soft:#fff1c9;--theme-surface-raised:#fffdf4;--theme-surface-alt:#ffebba;--theme-border-soft:#e0b35f;--theme-overlay:#472e1699;--theme-shadow:#70461252;--theme-ui-detail:#c68a16;--theme-ui-detail-dark:#8e5e0c;--theme-ui-detail-surface:#fff7ce;--theme-symbol-default:#6f4a23;--theme-symbol-deposit:#805508;--theme-symbol-loan:#8d3f1d;--theme-symbol-services:#2f6733;--theme-settlement-accent:#68aa59;--theme-settlement-accent-dark:#3e7838;--theme-home-background:radial-gradient(circle at 20% 16%, #ffffffe0 0 12%, transparent 30%), radial-gradient(circle at 82% 78%, #ffe0698c 0 11%, transparent 34%), linear-gradient(160deg, #fffdf1 0%, #fff1a9 55%, #ffd66f 100%);--theme-title:#c56c16;--theme-title-shadow:0 3px 0 #fff8d2, 0 6px 0 #a962122e;--theme-player-surface:#ffd76a;--theme-goal-surface:#fff0a8;--theme-goal-control:#fff7ce;--theme-menu-toggle:#fff0b8;--theme-icon-surface:#fffae1d1;--theme-turn-surface:#ffd983;--theme-turn-control:#fff1bd;--theme-deposit-header:#ffd76a;--theme-loan-header:linear-gradient(135deg, #ffd36f, #f39a45);--theme-services-header:#dff1bf;--theme-todo-header:#ffe28a;--theme-event-canvas:#6fa4c8;--theme-event-scene:#a9d5e4;--theme-event-dialogue:#fff1c9;--theme-services-accent:#68aa59;--theme-services-accent-dark:#3e7838;--theme-services-accent-alt:#91c96a;--theme-services-surface:#f3f7de;--theme-services-action:#68aa59;--theme-services-action-dark:#3e7838;--theme-todo-accent:#e3a51f;--theme-todo-accent-dark:#9d6810;--theme-todo-surface:#fff1bd;--theme-todo-action:#ed7d36;--theme-todo-action-dark:#aa4426;--theme-event-accent:#e58a2d;--theme-event-accent-dark:#a95816;--theme-event-safe:#68aa59;--theme-event-safe-dark:#3e7838;--theme-nav-task:#f49a25;--theme-nav-deposit:#efb522;--theme-nav-loan:#ed7d36;--theme-nav-services:#68aa59;--theme-nav-tutorial:#a768cf;--theme-dock-primary:#ee8a2a;--theme-dock-secondary:#efb522}.game-shell{color:var(--game-color-ink);background:var(--game-color-cream)}.home-screen{color:var(--game-color-ink);background:var(--theme-home-background)}.game-title{color:var(--theme-title);text-shadow:var(--theme-title-shadow)}.start-button{color:#fff;background:var(--game-color-coral);box-shadow:0 5px 0 var(--game-color-coral-dark);border-color:#fff;border-radius:18px}.start-button:hover{color:#fff;background:var(--theme-primary-hover)}.start-button:focus-visible{outline-color:var(--game-color-purple)}.round-screen{color:var(--game-color-ink)}.scene-placeholder{color:color-mix(in srgb, var(--theme-ink) 72%, transparent)}.player-card,.goal-progress,.goal-progress__toggle{color:var(--game-color-ink)}.quick-menu__toggle{box-shadow:none;background:0 0}.quick-action--red{background:var(--theme-nav-task)}.quick-action--yellow{background:var(--theme-nav-deposit)}.quick-action--orange{background:var(--theme-nav-loan)}.quick-action--blue{background:var(--theme-nav-services)}.quick-action--purple{background:var(--theme-nav-tutorial)}.quick-action--green{background:var(--theme-success)}.quick-action.quick-action--image,.quick-action.quick-action--placeholder{background:0 0}.quick-action__placeholder{color:var(--theme-symbol-default);background:var(--theme-icon-surface)}.quick-action--yellow .quick-action__placeholder{color:var(--theme-symbol-deposit)}.quick-action--orange .quick-action__placeholder{color:var(--theme-symbol-loan)}.quick-action--blue .quick-action__placeholder{color:var(--theme-symbol-services)}.turn-panel{color:var(--game-color-ink)}.turn-panel__summary{color:#4b3015}.turn-panel__count span{color:var(--game-color-coral)}.turn-panel__info-icon{border-color:var(--theme-ui-detail-dark);color:var(--theme-ui-detail-dark);background:var(--theme-ui-detail-surface)}.turn-panel__info-icon--open{color:#fff;background:var(--theme-ui-detail)}.turn-panel__details{border-color:var(--theme-ui-detail);color:var(--game-color-ink);background:var(--game-color-cream);box-shadow:0 7px 0 color-mix(in srgb, var(--theme-ui-detail-dark) 26%, transparent)}.turn-panel__details:after{border-color:var(--theme-ui-detail);background:var(--game-color-cream)}.turn-panel__details-list dt,.turn-panel__details-list small{color:var(--game-color-ink-soft)}.end-turn-button{background:var(--game-color-coral);box-shadow:0 4px 0 var(--game-color-coral-dark)}.end-turn-button:active:not(:disabled){box-shadow:0 2px 0 var(--game-color-coral-dark)}.dock-button.dock-button--image{background:0 0}.dock-button__badge{background:var(--game-color-notification);box-shadow:0 2px 0 var(--game-color-notification-dark)}.game-modal-overlay,.event-result-overlay{background:var(--theme-overlay)}.game-modal-shell{color:var(--modal-text,var(--game-color-ink))}.game-modal-header h2{color:var(--modal-title,var(--game-color-ink))}.game-modal-footer>p{color:var(--modal-muted-text,var(--game-color-ink-soft))}.deposit-modal{--modal-border:var(--game-color-gold-dark);--modal-text:var(--game-color-ink);--modal-surface:var(--game-color-cream);--modal-shadow:var(--theme-shadow);--modal-header-border:color-mix(in srgb, var(--theme-gold-dark) 28%, transparent);--modal-header-surface:var(--theme-deposit-header);--modal-brand-surface:var(--game-color-gold);--modal-brand-shadow:var(--game-color-gold-dark);--modal-eyebrow:var(--game-color-ink-soft);--modal-title:var(--game-color-ink);--modal-close-border:var(--game-color-coral-dark);--modal-close-text:var(--game-color-coral-dark);--modal-close-surface:var(--theme-surface-soft);--modal-scroll-thumb:var(--game-color-gold-dark);--modal-scroll-track:var(--theme-surface-alt);--modal-focus:var(--game-color-purple-dark);--modal-footer-surface:var(--theme-surface-soft);--modal-primary-surface:var(--game-color-coral);--modal-primary-shadow:var(--game-color-coral-dark);--modal-muted-text:var(--game-color-ink-soft)}.loan-modal{--modal-border:var(--game-color-coral-dark);--modal-text:var(--game-color-ink);--modal-surface:var(--theme-surface-base);--modal-shadow:var(--theme-shadow);--modal-header-border:color-mix(in srgb, var(--theme-primary-dark) 24%, transparent);--modal-header-surface:var(--theme-surface-soft);--modal-header-background-image:var(--theme-loan-header);--modal-brand-surface:var(--game-color-coral);--modal-brand-shadow:var(--game-color-coral-dark);--modal-eyebrow:var(--game-color-ink-soft);--modal-title:var(--game-color-ink);--modal-close-border:var(--game-color-coral-dark);--modal-close-text:var(--game-color-coral-dark);--modal-close-surface:var(--theme-surface-soft);--modal-scroll-thumb:var(--game-color-coral-dark);--modal-focus:var(--game-color-coral-dark);--modal-footer-surface:var(--theme-surface-soft);--modal-primary-surface:var(--game-color-coral);--modal-primary-shadow:var(--game-color-coral-dark)}.services-modal{--modal-border:var(--theme-services-accent-dark);--modal-shadow:color-mix(in srgb, var(--theme-services-accent-dark) 32%, transparent);--modal-text:var(--game-color-ink);--modal-surface:var(--theme-services-surface);--modal-header-border:color-mix(in srgb, var(--theme-services-accent-dark) 24%, transparent);--modal-header-surface:var(--theme-services-header);--modal-brand-surface:var(--theme-services-accent);--modal-brand-shadow:var(--theme-services-accent-dark);--modal-close-border:var(--theme-services-accent-dark);--modal-close-text:var(--theme-services-accent-dark);--modal-close-surface:var(--theme-services-surface);--modal-eyebrow:var(--game-color-ink-soft);--modal-title:var(--game-color-ink);--modal-scroll-thumb:var(--theme-services-accent-dark);--modal-footer-border:color-mix(in srgb, var(--theme-services-accent) 24%, transparent);--modal-footer-surface:var(--theme-services-surface);--modal-muted-text:var(--game-color-ink-soft);--modal-primary-surface:var(--theme-services-action);--modal-primary-shadow:var(--theme-services-action-dark);--modal-focus:var(--theme-services-accent-dark)}.todo-modal{--modal-border:var(--theme-todo-accent-dark);--modal-shadow:var(--theme-shadow);--modal-surface:var(--theme-surface-base);--modal-header-surface:var(--theme-todo-header);--modal-header-border:color-mix(in srgb, var(--theme-todo-accent-dark) 28%, transparent);--modal-brand-surface:var(--theme-todo-accent);--modal-brand-shadow:var(--theme-todo-accent-dark);--modal-close-border:var(--game-color-coral-dark);--modal-close-text:var(--game-color-coral-dark);--modal-close-surface:var(--theme-surface-soft);--modal-title:var(--game-color-ink);--modal-eyebrow:var(--game-color-ink-soft);--modal-scroll-thumb:var(--theme-todo-accent);--modal-focus:var(--theme-todo-accent-dark);--modal-footer-surface:var(--theme-todo-surface);--modal-primary-surface:var(--theme-todo-action);--modal-primary-shadow:var(--theme-todo-action-dark)}.deposit-summary,.deposit-purchase-balance{color:var(--modal-content-text);background:var(--modal-content-surface-strong)}.deposit-summary span,.deposit-purchase-balance small,.deposit-holdings-heading span,.deposit-product-card__facts dt,.deposit-lot__values dt{color:var(--modal-content-muted)}.deposit-product-card,.deposit-lot,.deposit-confirm{border-color:var(--modal-content-border);color:var(--modal-content-text);background:var(--modal-content-surface)}.deposit-presets button,.deposit-slot-summary,.deposit-same-day-warning{border-color:var(--modal-content-border);color:var(--modal-content-text);background:var(--modal-content-surface-strong)}.deposit-confirm__actions button:last-child{background:var(--modal-button-middle);box-shadow:0 3px 0 var(--modal-button-shadow)}.loan-summary,.loan-view-tabs{color:var(--modal-content-text);background:var(--modal-content-surface-strong)}.loan-summary span,.loan-section-heading small,.loan-tier-selection-summary small{color:var(--modal-content-muted)}.loan-view-tabs button.is-active{border-color:var(--modal-button-middle);color:var(--modal-button-border);background:var(--modal-content-surface)}.loan-view-tabs button span,.loan-borrow-steps button.is-active span,.loan-primary-button,.loan-account-card>button,.loan-repayment-empty>button,.loan-confirm__actions button:last-child{background:var(--modal-button-middle);box-shadow:0 3px 0 var(--modal-button-shadow)}.game-modal-shell.services-modal .services-modal__body,.game-modal-shell.services-modal .services-status-bar{background:0 0}.services-status-bar__label,.services-benefit__content>span,.services-benefit__content p,.services-confirm p{color:var(--modal-content-muted)}.services-section-heading h3,.services-benefit__content strong,.services-confirm h3{color:var(--modal-content-text)}.services-section-heading>span{color:var(--modal-button-border)}.services-plan-card,.services-plan-card.is-active{border-color:var(--modal-content-border);color:var(--modal-content-text);background:var(--modal-content-surface);box-shadow:inset 0 1px #ffffffd1}.services-confirm__actions button:last-child{background:var(--modal-button-middle);box-shadow:0 3px 0 var(--modal-button-shadow)}.todo-summary,.todo-modal__body{background:0 0}.todo-summary strong,.todo-list__intro strong,.todo-card__heading h3,.todo-card__ledger dd,.todo-confirm h3{color:var(--modal-content-text)}.todo-summary span,.todo-list__intro span,.todo-card__description,.todo-card__ledger dt,.todo-confirm__changes dt,.todo-confirm>p{color:var(--modal-content-muted)}.todo-card,.todo-list-item,.todo-confirm,.settlement-section{border-color:var(--modal-content-border,var(--theme-border-soft));background:var(--modal-content-surface,var(--theme-surface-raised))}.todo-card--medical,.todo-list-item--medical{--todo-accent:var(--game-color-coral);--todo-soft:#ffe4e9}.todo-card--life,.todo-list-item--life{--todo-accent:var(--game-color-sky);--todo-soft:#e0f3f8}.todo-card--finance,.todo-list-item--finance{--todo-accent:var(--game-color-orange);--todo-soft:#ffeadc}.todo-list-item--waiting{--todo-accent:#5d829c;--todo-soft:#e2eff6;background:linear-gradient(#f6fbfe,#e5f2f8);border-color:#8bb2c8}.todo-list-item:not(.todo-list-item--medical):not(.todo-list-item--life):not(.todo-list-item--finance){--todo-accent:var(--theme-todo-accent);--todo-soft:var(--theme-todo-surface)}.todo-confirm__actions button:last-child{background:var(--modal-button-middle);box-shadow:0 3px 0 var(--modal-button-shadow)}.settlement-modal{--modal-border:var(--theme-settlement-accent-dark);--modal-shadow:var(--theme-shadow);--modal-surface:var(--game-color-cream);--modal-header-surface:var(--theme-todo-header);--modal-brand-surface:var(--theme-settlement-accent);--modal-brand-shadow:var(--theme-settlement-accent-dark);--modal-title:var(--game-color-ink);--modal-eyebrow:var(--game-color-ink-soft);--modal-primary-surface:var(--game-color-coral);--modal-primary-shadow:var(--game-color-coral-dark)}.settlement-hero{background:linear-gradient(145deg, var(--theme-settlement-accent), var(--theme-settlement-accent-dark));box-shadow-color:var(--theme-settlement-accent-dark)}.settlement-modal--failure .settlement-hero{background:linear-gradient(145deg, var(--game-color-coral), var(--game-color-coral-dark));box-shadow-color:#74303f}.event-overlay{background:var(--theme-event-canvas)}.event-scene__background{color:color-mix(in srgb, var(--theme-ink) 68%, transparent);background:var(--theme-event-scene)}.event-dialogue,.event-dialogue--thought{border-top-color:var(--theme-event-accent);color:var(--game-color-ink);background:color-mix(in srgb, var(--theme-event-dialogue) 54%, transparent)}.event-choice-panel{border-top-color:var(--theme-event-accent);color:var(--game-color-ink);background:color-mix(in srgb, var(--theme-event-dialogue) 72%, transparent);border-color:color-mix(in srgb, var(--theme-event-accent-dark) 78%, transparent)}.event-dialogue--actionable:hover,.event-dialogue--actionable.event-dialogue--thought:hover{background:color-mix(in srgb, var(--theme-event-dialogue) 62%, transparent)}.event-dialogue__speaker,.event-dialogue--thought .event-dialogue__speaker{border-color:var(--game-color-coral-dark);background:var(--game-color-coral)}.event-dialogue__progress i.is-current,.event-dialogue--thought .event-dialogue__progress i.is-current{background:var(--theme-event-accent)}.event-dialogue-history-trigger{border-color:var(--game-color-coral-dark);background:var(--game-color-coral)}.event-choice-panel__button{border-color:var(--theme-event-accent);color:var(--game-color-ink);background:color-mix(in srgb, var(--theme-surface-raised) 76%, transparent);box-shadow:0 4px 0 var(--theme-border-soft)}.event-choice-panel__button span{background:var(--game-color-coral)}.event-result-window{--result-border:var(--game-color-coral-dark);--result-shadow:color-mix(in srgb, var(--theme-ink) 34%, transparent);--result-header:var(--theme-surface-soft);--result-accent:var(--game-color-coral);--result-accent-dark:var(--game-color-coral-dark);--result-title:var(--game-color-ink);--result-muted:var(--game-color-ink-soft);color:var(--game-color-ink);background:var(--game-color-cream)}.event-result-window--safe{--result-border:var(--theme-event-safe-dark);--result-shadow:color-mix(in srgb, var(--theme-ink) 34%, transparent);--result-header:var(--theme-surface-alt);--result-accent:var(--theme-event-safe);--result-accent-dark:var(--theme-event-safe-dark);--result-title:var(--game-color-ink);--result-muted:var(--game-color-ink-soft)}.event-result-window__footer{background:var(--theme-surface-soft)}.game-color-surface{--game-button-top:#5dccff;--game-button-middle:#259be4;--game-button-bottom:#1675c7;--game-button-border:#12649f;--game-button-shadow:#0b4c7e;--game-button-text:#fff;--game-button-text-outline:#0a4a79;--game-button-text-stroke:.45px;isolation:isolate;min-height:44px;font-family:var(--game-cute-font-family);font-synthesis:none;letter-spacing:.01em;text-align:center;cursor:default;border-radius:13px;justify-content:center;align-items:center;gap:7px;padding:7px 15px;font-weight:400;line-height:1.1;transition:transform .12s ease-out,filter .12s ease-out,box-shadow .12s ease-out;display:inline-flex;position:relative;overflow:hidden;border:1px solid var(--game-button-border)!important;color:var(--game-button-text)!important;background:radial-gradient(82% 135% at 18% -24%, #ffffff9e 0%, #fff3 38%, transparent 66%), linear-gradient(180deg, var(--game-button-top) 0%, var(--game-button-middle) 56%, var(--game-button-bottom) 100%)!important;box-shadow:inset 0 1px 1px #ffffff75, inset 0 -2px 4px #3b17052e, 0 4px 0 var(--game-button-shadow), 0 7px 9px -4px #2b13066b!important;font-size:var(--game-text-body)!important}.game-color-surface--red{--game-button-top:#ff676c;--game-button-middle:#ee353e;--game-button-bottom:#c91622;--game-button-border:#a20f18;--game-button-shadow:#790a10;--game-button-text:#fff;--game-button-text-outline:#7d0711;--game-button-text-stroke:1.25px}.game-color-surface--green{--game-button-top:#8def35;--game-button-middle:#58d414;--game-button-bottom:#28a900;--game-button-border:#278700;--game-button-shadow:#176800;--game-button-text:#f7fff1;--game-button-text-outline:#185900;--game-button-text-stroke:1.25px}.game-color-surface--blue{--game-button-top:#5dceff;--game-button-middle:#269ce5;--game-button-bottom:#1775c5;--game-button-border:#14629b;--game-button-shadow:#0b4b7c;--game-button-text:#f4fbff;--game-button-text-outline:#073f6c;--game-button-text-stroke:1.3px}.game-color-surface--orange{--game-button-top:#ffb54a;--game-button-middle:#f18420;--game-button-bottom:#d95a14;--game-button-border:#b84d12;--game-button-shadow:#8b370b;--game-button-text:#fff8ec;--game-button-text-outline:#783005;--game-button-text-stroke:1.2px}.game-color-surface--yellow{--game-button-top:#ffe36b;--game-button-middle:#ffc442;--game-button-bottom:#e79a24;--game-button-border:#c57616;--game-button-shadow:#98510f;--game-button-text:#6d3a08;--game-button-text-outline:#fff1a8;--game-button-text-stroke:.9px}.game-modal-shell:is(.deposit-modal,.loan-modal,.services-modal,.todo-modal,.service-style-modal) .game-color-button{--game-button-top:var(--modal-button-top);--game-button-middle:var(--modal-button-middle);--game-button-bottom:var(--modal-button-bottom);--game-button-border:var(--modal-button-border);--game-button-shadow:var(--modal-button-shadow);--game-button-text:var(--modal-button-text,#fff);--game-button-text-outline:var(--modal-button-text-outline);--game-button-text-stroke:var(--modal-button-text-stroke,1px)}.game-modal-shell:is(.deposit-modal,.loan-modal,.services-modal,.todo-modal,.service-style-modal) .game-color-button.game-modal-secondary{--game-button-top:var(--modal-secondary-button-top);--game-button-middle:var(--modal-secondary-button-middle);--game-button-bottom:var(--modal-secondary-button-bottom);--game-button-border:var(--modal-secondary-button-border);--game-button-shadow:var(--modal-secondary-button-shadow);--game-button-text:var(--modal-secondary-button-text);--game-button-text-outline:var(--modal-secondary-button-text-outline);--game-button-text-stroke:var(--modal-secondary-button-text-stroke,.45px)}.game-color-badge{white-space:nowrap;-webkit-user-select:none;user-select:none;min-height:44px;padding:5px 13px}.game-color-button--block{width:100%}.game-color-surface__icon{width:23px;height:23px;font-family:var(--game-symbol-font-family);-webkit-text-stroke:var(--game-button-text-stroke) var(--game-button-text-outline);paint-order:stroke fill;text-shadow:0 1px 0 var(--game-button-text-outline), 0 2px 2px #220f0452;background:#ffffff38;border-radius:50%;flex:none;place-items:center;font-weight:1000;display:grid;box-shadow:inset 0 1px #ffffff7a;color:var(--game-button-text)!important}.game-color-surface__label{-webkit-text-stroke:var(--game-button-text-stroke) var(--game-button-text-outline);paint-order:stroke fill;min-width:0;text-shadow:0 1px 0 var(--game-button-text-outline), 0 2px 2px #220f0452;position:relative;color:var(--game-button-text)!important;font-size:var(--game-text-body)!important}.game-color-button:hover:not(:disabled):not(.is-disabled){filter:saturate(1.08)brightness(1.04)}.game-color-button:active:not(:disabled):not(.is-disabled){transform:translateY(3px);box-shadow:inset 0 1px 1px #ffffff57, inset 0 -1px 3px #3b170529, 0 1px 0 var(--game-button-shadow), 0 3px 5px -3px #2b130652!important}.game-color-button:disabled,.game-color-button.is-disabled{opacity:.5;filter:grayscale(.45);cursor:not-allowed}.game-color-button{cursor:pointer;-webkit-tap-highlight-color:transparent}@media (prefers-reduced-motion:reduce){.game-color-button{transition:none}}
