.shop-dialog{--shop-paper: #fcfaf2;--shop-ink: #263c33;--shop-muted: #5b665d;--shop-line: #d9ddcd;--shop-brass: #b79556;width:min(740px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d8d9c7;border-radius:18px;color:var(--shop-ink);background:var(--shop-paper);box-shadow:0 24px 90px #0c251f70;overflow:hidden;font-family:var(--font-family, system-ui, sans-serif);line-height:1.5;overscroll-behavior:contain}.shop-dialog::backdrop{background:#102b25b8}.shop-dialog__layout{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:min(860px,calc(100vh - 32px));max-height:min(860px,calc(100dvh - 32px))}.shop-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:linear-gradient(120deg,#edf1e6,#faf6e9);border-bottom:1px solid var(--shop-line)}.shop-dialog__header>div{min-width:0}.shop-dialog__header h2{margin:0;font-size:clamp(1.2rem,3.5vw,1.7rem);letter-spacing:-.025em;line-height:1.2}.shop-dialog__header h2:focus{outline:none}.shop-eyebrow{margin:0 0 6px;color:var(--shop-muted);font-size:.72rem;font-weight:650;letter-spacing:.1em;text-transform:uppercase}.shop-dialog__body{min-height:0;padding:24px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.shop-dialog__footer{padding:16px 24px;border-top:1px solid var(--shop-line);background:#f2f2e8}.shop-dialog button{min-height:44px;min-width:44px;touch-action:manipulation;line-height:1.3}.shop-dialog .btn{border-radius:10px}.shop-dialog button:focus-visible{outline:3px solid #b0822c;outline-offset:3px}.shop-dialog button:disabled{opacity:.5;cursor:not-allowed}.shop-dialog .shop-close{flex:0 0 auto;max-width:180px;font-size:.85rem}.shop-lead{margin:0 0 20px;font-size:1rem;color:#3c5045}.shop-hint{margin:18px 0;font-size:.875rem;color:var(--shop-muted)}.shop-notice{margin:20px 0 0;padding:12px 14px;border-left:3px solid var(--shop-brass);border-radius:0 8px 8px 0;background:#f4efdf;color:#53583f;font-size:.8rem;line-height:1.55}.shop-shelf-products,.shop-basket-items{display:grid;gap:12px;padding:0;margin:0;list-style:none}.shop-product{display:flex;gap:18px;padding:18px;border:1px solid var(--shop-line);border-radius:13px;background:#fffdf7}.shop-product__mark{display:grid;place-items:center;flex:0 0 62px;width:62px;height:76px;margin-top:4px;border:1px solid #a5baa4;border-radius:9px 9px 14px 14px;background:linear-gradient(135deg,#e1ecdf,#c8d9c5);color:#355541;font:600 1.4rem Georgia,serif;box-shadow:inset 0 7px #fff6,0 5px #e7e4d7}.shop-product__mark--milk,.shop-product__mark--butter,.shop-product__mark--eggs{background:linear-gradient(135deg,#fffdf5,#e7e6ca)}.shop-product__mark--bread,.shop-product__mark--grains,.shop-product__mark--pasta{background:linear-gradient(135deg,#f8e6b9,#dbc792);border-color:#c4ae7d}.shop-product__mark--sweets,.shop-product__mark--coffee,.shop-product__mark--tea{background:linear-gradient(135deg,#efe3d9,#d7c6b7);border-color:#ba9e87}.shop-product__details{min-width:0;flex:1}.shop-category{display:block;margin:0 0 5px;color:var(--shop-muted);font-size:.8rem}.shop-product h3,.shop-basket-item h3{margin:0;font-size:1.05rem;line-height:1.3}.shop-product__price{margin:8px 0 12px;font-weight:650;font-variant-numeric:tabular-nums}.shop-product__price>span{font-size:.8rem;color:var(--shop-muted);font-weight:400}.shop-quantity-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.shop-stepper{display:inline-grid;grid-template-columns:44px minmax(44px,auto) 44px;align-items:center;gap:4px;padding:3px;border-radius:12px;background:#eef0e5}.shop-stepper .btn{padding:0;font-size:1.3rem;font-weight:500}.shop-stepper__value{text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.shop-remove{padding:8px 12px;border:1px solid #d2d3c1;border-radius:9px;background:transparent;color:#675540;font:inherit;font-size:.85rem;cursor:pointer}.shop-remove:hover{background:#f3eadd;border-color:#b4a085}.shop-limit{margin:8px 0 0;color:var(--shop-muted);font-size:.8rem}.shop-basket-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:.875rem}.shop-basket-total>span:last-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.shop-basket-total>span:last-child strong{color:#245543;font-size:1.25rem;font-variant-numeric:tabular-nums}.shop-main-action{width:100%;margin-top:12px}.shop-basket-item{padding:16px;border:1px solid var(--shop-line);border-radius:11px;background:#fffdf7}.shop-basket-item__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px}.shop-money{flex:0 0 auto;white-space:nowrap;font-variant-numeric:tabular-nums}.shop-basket-item .shop-quantity-row{margin-top:12px}.shop-empty{padding:24px 18px;border:1px dashed #b8c5af;border-radius:12px;background:#f2f5e9;text-align:center}.shop-empty h3{margin-bottom:8px}.shop-empty p{margin:0}.shop-item-list{list-style:none;padding:0;margin:0}.shop-item-list__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:12px 0;border-bottom:1px dashed var(--shop-line)}.shop-item-list__row>div{min-width:0}.shop-item-list__row>div>strong{display:block;font-size:.95rem}.shop-item-list__row>div>span{display:block;margin-top:4px;font-size:.8rem;color:var(--shop-muted)}.shop-card-scene{display:flex;align-items:center;gap:24px;padding:20px 0}.shop-game-card{position:relative;display:flex;flex:0 0 204px;flex-direction:column;justify-content:space-between;height:128px;padding:16px;border:1px solid #9fae79;border-radius:12px;background:linear-gradient(120deg,#234e41,#46705a);color:#fcf6e3;box-shadow:0 8px 18px #284b3b28;transform:rotate(-3deg)}.shop-game-card__label{color:#dde8c9;font-size:.67rem;text-transform:uppercase;letter-spacing:.1em}.shop-game-card>strong{font:500 1.45rem Georgia,serif}.shop-game-card__caption{font-size:.68rem;color:#dde8c9}.shop-game-card__seal{position:absolute;right:16px;bottom:12px;width:25px;height:25px;display:grid;place-items:center;border:1px solid #d6bf83;border-radius:50%;color:#e7d298}.shop-card-scene__text{min-width:0;font-size:.875rem;color:var(--shop-muted)}.shop-card-scene__text strong{display:block;margin-bottom:5px;color:#284f3d}.shop-card-scene__text p{margin:0}.shop-card-scene--ready .shop-game-card{opacity:.8}.shop-card-scene--presenting .shop-game-card{animation:shop-present-card .9s ease-in-out both}.shop-card-scene--presented .shop-game-card{transform:none;border:2px solid #a9b780}@keyframes shop-present-card{0%{transform:rotate(-3deg) translateY(0)}45%{transform:rotate(0) translateY(-12px) scale(1.04)}to{transform:rotate(0) translateY(0)}}.shop-receipt-totals{margin:12px 0 0;padding-top:8px;border-top:1px solid var(--shop-line)}.shop-receipt-totals>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:16px;padding:6px 0}.shop-receipt-totals dt{color:var(--shop-muted)}.shop-receipt-totals dd{margin:0;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.shop-receipt-totals>.shop-receipt-totals__pay{margin-top:8px;padding-top:14px;border-top:2px solid #bcc9ad;font-size:1.25rem}.shop-receipt-totals__pay dt,.shop-receipt-totals__pay dd{color:#245543;font-weight:700}.shop-checkout-actions{display:flex;flex-wrap:wrap;gap:10px}.shop-checkout-actions .btn{flex:1 1 210px}.shop-action-status{display:flex;flex:1 1 210px;min-height:44px;align-items:center;justify-content:center;color:#405d43;font-weight:650}.shop-dialog--receipt{width:min(620px,calc(100vw - 32px))}.shop-paper-receipt{padding:22px;border:1px solid #dedbcc;background:#fffef8;box-shadow:0 3px 8px #48443115;border-bottom:3px dotted #d6d2c0}.shop-paper-receipt__header{padding-bottom:14px;text-align:center;border-bottom:1px dashed var(--shop-line)}.shop-paper-receipt__header h3{margin:6px 0;font:500 1.8rem Georgia,serif}.shop-paper-receipt__header p:last-child{margin-bottom:0;font-size:.875rem;color:var(--shop-muted)}.shop-paper-receipt .shop-item-list,.shop-paper-receipt .shop-receipt-totals{font-family:var(--font-family-mono, ui-monospace, monospace);font-size:.85rem}.shop-paper-receipt .shop-item-list__row>div>strong{font-size:.85rem}.shop-paper-receipt .shop-receipt-totals__pay{font-size:1.1rem}.shop-paper-receipt__end{margin:18px 0 0;text-align:center;color:var(--shop-muted);font-size:.8rem}@media (max-width: 520px){.shop-dialog,.shop-dialog--receipt{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.shop-dialog__layout{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.shop-dialog__header{padding:14px;gap:10px}.shop-dialog .shop-close{max-width:118px;padding:8px 10px}.shop-dialog__body{padding:16px 14px}.shop-dialog__footer{padding:12px 14px}.shop-eyebrow{font-size:.65rem;letter-spacing:.06em}.shop-product{padding:14px 12px;gap:12px}.shop-product__mark{flex-basis:44px;width:44px;height:58px;font-size:1.05rem}.shop-product h3,.shop-basket-item h3{font-size:.95rem}.shop-product__price>span{display:block}.shop-basket-item{padding:12px}.shop-basket-item__head{align-items:flex-start}.shop-basket-item__head .shop-money{font-size:.9rem}.shop-card-scene{flex-wrap:wrap;gap:18px}.shop-game-card{margin:0 auto}.shop-card-scene__text{flex:1 1 100%}.shop-paper-receipt{padding:14px 10px}.shop-item-list__row{gap:10px}.shop-paper-receipt .shop-receipt-totals__pay{font-size:1rem}}@media (max-height: 480px) and (orientation: landscape){.shop-dialog__header,.shop-dialog__footer{padding:10px 18px}.shop-dialog__body{padding:16px 18px}.shop-dialog__header h2{font-size:1.2rem}.shop-eyebrow{margin-bottom:3px}.shop-basket-total>span:last-child strong{font-size:1.05rem}.shop-main-action{margin-top:8px}}@media (prefers-reduced-motion: reduce){.shop-dialog *,.shop-dialog *:before,.shop-dialog *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.shop-game-card{transform:none}}.membership-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #bcaa82;border-radius:22px;background:#fbf7ee;color:#263b35;box-shadow:0 28px 100px #142a2b80;overflow:auto}.membership-dialog::backdrop{background:#14251fd1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.membership-celebration{position:relative;isolation:isolate;padding:26px 34px;text-align:center;overflow:hidden}.membership-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;color:#84622f;font-weight:750}.membership-celebration h2{font-family:Georgia,serif;font-size:clamp(26px,5vw,36px);margin:12px 0;color:#173f34;outline-offset:5px}.membership-lead{font-size:16px;line-height:1.6;margin:0 0 20px}.membership-ticket{position:relative;display:flex;flex-direction:column;gap:9px;text-align:left;max-width:370px;padding:24px;margin:0 auto 20px;background:linear-gradient(125deg,#173e35,#28695a);border:1px solid #c8a460;border-radius:13px;color:#f9f0d7;box-shadow:0 12px 22px #18372d30;animation:ticket-arrive .8s cubic-bezier(.18,.75,.25,1) both}.membership-ticket:before{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px solid #cfb67b70;border-radius:8px;pointer-events:none}.membership-ticket__name{font:22px Georgia,serif;letter-spacing:.08em;color:#e5c580}.membership-ticket__type{font-size:10px;letter-spacing:.17em}.membership-ticket strong{font:28px Georgia,serif;margin-top:5px}.membership-ticket span:not([class]){font-size:11px;line-height:1.5}.membership-ticket__notice{font-size:9px;letter-spacing:.08em;color:#e6d3a6;border-top:1px solid #d1b16b60;padding-top:10px;margin-top:4px}.membership-note{font-size:12px;line-height:1.65;color:#53645b;margin-bottom:12px}.membership-celebration>a{display:inline-block;font-size:12px;line-height:1.6;color:#205c4c;text-underline-offset:3px;padding:6px}.membership-celebration .audio-settings{margin:14px 0;text-align:left;font-size:12px;padding:10px 14px;background:#f2eddf;border-radius:10px}.membership-celebration .audio-settings label{min-height:38px}.membership-continue{width:100%;min-height:46px}.membership-confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:-1}.membership-confetti i{position:absolute;top:-20px;left:var(--left);width:7px;height:13px;background:var(--color);opacity:0;animation:membership-fall 2.8s var(--delay) ease-out both}@keyframes membership-fall{0%{opacity:.9;transform:translateY(-20px) rotate(0)}85%{opacity:.65}to{opacity:0;transform:translateY(650px) rotate(540deg)}}@keyframes ticket-arrive{0%{opacity:0;transform:translateY(35px) rotate(-4deg) scale(.91)}to{opacity:1;transform:none}}.membership-dialog[data-effects=false] .membership-confetti{display:none}.membership-dialog[data-effects=false] .membership-ticket{animation:none}@media (prefers-reduced-motion:reduce){.membership-confetti{display:none}.membership-ticket{animation:none}}@media (max-width:480px){.membership-celebration{padding:20px 18px}.membership-ticket{padding:21px}.membership-lead{font-size:14px}.membership-celebration .audio-settings label{min-height:44px}}.benefits{padding:0;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 24px);border:1px solid #b7c5b5;border-radius:16px;color:#20372f;background:#fffcf4;box-shadow:0 22px 75px #102c3055}.benefits[open]{display:flex;flex-direction:column}.benefits::backdrop{background:#152c37a8}.benefits-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;background:#195649;color:#fff;border-bottom:4px solid #d1a858}.benefits-head h2{font-size:clamp(19px,3.4vw,25px);margin:4px 0 0;line-height:1.2}.benefits small{display:block;font-size:13px;line-height:1.45}.benefits button{cursor:pointer;font:inherit;min-height:44px}.benefits-close{flex:none;width:44px;border:1px solid #a7c7bf;border-radius:50%;background:transparent;color:#fff;font-size:25px!important}.benefits-scroll{overflow:auto;overscroll-behavior:contain;padding:16px 22px;line-height:1.5}.benefits nav{display:flex;gap:6px;flex-wrap:wrap}.benefits nav button{border:1px solid #acbcb1;border-radius:8px;background:#fff;padding:6px 12px;color:#284c40}.benefits nav [aria-pressed=true]{background:#1f5d4e;color:#fff}.benefits h3{font-size:22px;line-height:1.2;margin:20px 0 8px}.benefits h4,.benefits p{margin:8px 0 14px}.benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.benefits-grid button,.benefits fieldset button{color:#20372f;background:#fff;border:1px solid #bac8bc;border-radius:8px;padding:11px 14px;text-align:left}.benefits-grid button{border-left:4px solid #ae873e}.benefits-grid span,.benefits-route small{display:block;color:#496357;font-size:14px}.benefits fieldset{margin:16px 0 0;padding:0;border:0;min-width:0}.benefits legend{padding:0;font-weight:700}.benefits fieldset button{display:block;width:100%;margin:8px 0}.benefits fieldset [aria-pressed=true],.benefits-grid button:hover{background:#e4efe8;border-color:#347259}.benefits-feedback{border-left:4px solid #38775e;background:#edf3eb;padding:10px}.benefits-route{margin:18px 0 12px}.benefits-route small{margin-top:6px}.benefits a{color:#195c52}.benefits footer{border-top:1px solid #c7d3c7;padding-top:10px;margin-top:16px;color:#3e5c4e}.benefits :focus-visible{outline:3px solid #a66814;outline-offset:1px}@media (max-width:520px){.benefits-grid{grid-template-columns:1fr}.benefits-scroll,.benefits-head{padding:12px 14px}}.mobile-hint,.mobile-hint__panel{display:contents}.mobile-hint__panel>*{flex:0 0 auto}.mobile-hint__toggle,.mobile-hint__close{display:none}@media (max-width: 640px) and (any-pointer: coarse),(max-width: 1000px) and (max-height: 600px) and (any-pointer: coarse){.game-root .hud__left{top:calc(var(--hud-gap) + env(safe-area-inset-top,0px));left:calc(var(--hud-gap) + env(safe-area-inset-left,0px));max-height:none;overflow:visible;pointer-events:none;width:min(320px,calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 76px))}.game-root .topbar{top:calc(var(--hud-gap) + env(safe-area-inset-top,0px));right:calc(var(--hud-gap) + env(safe-area-inset-right,0px));max-width:calc(100vw - 164px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}.game-root .hud__left .mobile-hint{display:block;pointer-events:none}.mobile-hint__toggle,.mobile-hint__close{display:block;pointer-events:auto;min-height:44px;padding:8px 12px;border:1px solid #7e9e85;border-radius:10px;background:#203f34;color:#f4f5df;font:inherit;font-size:14px;cursor:pointer}.mobile-hint__panel{display:none}.mobile-hint[data-open=true] .mobile-hint__panel{display:flex;flex-direction:column;gap:8px;margin-top:6px;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 140px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto;background:#20382f;border-radius:12px}.mobile-hint__panel>*{flex:0 0 auto}.mobile-hint__close{position:sticky;top:0;z-index:2;align-self:flex-end}}.union-panel-original{margin:8px 0;display:flex;justify-content:center}.union-panel-original img{display:block;object-fit:contain;width:auto;max-width:100%;height:clamp(100px,22vh,180px)}.game-root .hud--union-entry :is(.quest,.learning-hud){visibility:hidden}.game-root .modal-backdrop.modal-backdrop--union-entry{justify-content:flex-start;align-items:center;padding:16px;background:#10241f38}.game-root .modal--union-entry{width:clamp(320px,44vw,620px);max-height:calc(100% - 16px)}.game-root .modal--union-entry .modal__header{flex-shrink:0}.game-root .modal--union-entry .modal__body{min-height:0}.game-root .modal--union-entry button{min-height:44px}@media (max-width: 600px) and (orientation: portrait){.union-panel-original{display:block}.union-panel-original img{display:block;width:100%;max-width:100%;height:auto;max-height:26vh}.game-root .modal-backdrop.modal-backdrop--union-entry{align-items:flex-end;padding:12px}.game-root .modal--union-entry{width:100%;max-height:54vh;max-height:54dvh}.game-root .modal--union-entry .modal__title{font-size:15px}}.union-contact{font-size:15px;line-height:1.5}.union-contact .btn{white-space:normal;min-height:44px}.union-contact__recipient{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.union-contact__recipient strong{-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}.union-contact__status{min-height:1.5em;color:#245d48}@media (max-width: 600px){.union-contact__recipient .btn{width:100%}}.launch-dialog--union .launch-dialog__head{position:sticky;top:0;z-index:2;padding:8px 0;background:#f8f4e9}:root{--color-bg: #f4f5f7;--color-surface: #ffffff;--color-surface-alt: #eef1f5;--color-text: #1d232b;--color-text-muted: #5a6573;--color-border: #d5dbe3;--color-primary: #1f5fae;--color-primary-hover: #174b8b;--color-primary-text: #ffffff;--color-focus: #f2a900;--color-good: #1e7a46;--color-good-bg: #e6f4ec;--color-info: #1f5fae;--color-info-bg: #e8f0fb;--color-warn: #8a5a00;--color-warn-bg: #fdf3dc;--color-bad: #b3261e;--color-bad-bg: #fbe9e8;--color-demo: #6b3fa0;--color-demo-bg: #f1eafa;--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-family-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.5rem;--font-size-xxl: 2rem;--line-height: 1.55;--font-weight-bold: 650;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--content-width: 46rem;--radius: 10px;--radius-sm: 6px;--border-width: 1px;--focus-width: 3px;--tap-size: 2.75rem;--shadow: 0 1px 3px rgba(20, 30, 45, .12);--transition: .12s ease;--game-bg: #3a3146;--hud-bg: rgba(28, 26, 44, .82);--hud-bg-hover: rgba(48, 44, 72, .92);--hud-text: #f6f3ff;--hud-muted: #b9b3d1;--hud-accent: #ffd34d;--hud-line: rgba(255, 255, 255, .16);--hud-shadow: 0 4px 14px rgba(10, 10, 25, .35);--hud-gap: .75rem;--dialog-border: #ffd34d;--dialog-narrator-bg: #fbf7ee}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-family);font-size:var(--font-size-base);line-height:var(--line-height)}h1,h2,h3{line-height:1.25;margin:0 0 var(--space-3)}h1{font-size:var(--font-size-xxl)}h2{font-size:var(--font-size-xl)}h3{font-size:var(--font-size-lg)}p{margin:0 0 var(--space-3)}ul{margin:0 0 var(--space-3);padding-left:var(--space-5)}:focus-visible{outline:var(--focus-width) solid var(--color-focus);outline-offset:2px}[tabindex="-1"]:focus{outline:none}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:var(--color-surface);border-bottom:var(--border-width) solid var(--color-border)}.app-header__inner,.app-main,.app-footer{width:100%;max-width:var(--content-width);margin:0 auto;padding:var(--space-3) var(--space-4)}.app-header__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.app-header__title{font-weight:var(--font-weight-bold);font-size:var(--font-size-base);background:none;border:none;padding:0;color:var(--color-text);cursor:pointer;text-align:left}.app-main{flex:1;padding-top:var(--space-5);padding-bottom:var(--space-6)}.app-footer{color:var(--color-text-muted);font-size:var(--font-size-sm)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--tap-size);padding:var(--space-2) var(--space-4);border-radius:var(--radius-sm);border:var(--border-width) solid var(--color-primary);background:var(--color-primary);color:var(--color-primary-text);font:inherit;font-weight:var(--font-weight-bold);cursor:pointer;transition:background var(--transition)}.btn:hover{background:var(--color-primary-hover)}.btn--secondary{background:var(--color-surface);color:var(--color-primary)}.btn--secondary:hover{background:var(--color-surface-alt)}.btn--danger{background:var(--color-surface);color:var(--color-bad);border-color:var(--color-bad)}.btn--danger:hover{background:var(--color-bad-bg)}.btn--small{min-height:2.25rem;padding:var(--space-1) var(--space-3);font-size:var(--font-size-sm)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-row{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-4)}.card{background:var(--color-surface);border:var(--border-width) solid var(--color-border);border-radius:var(--radius);padding:var(--space-4);box-shadow:var(--shadow);margin-bottom:var(--space-4)}.card--muted{background:var(--color-surface-alt);box-shadow:none}.muted{color:var(--color-text-muted)}.stack-top,.scene__widget{margin-top:var(--space-4)}.scene__widget .card{margin-bottom:0}.small{font-size:var(--font-size-sm)}.notice{border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4);border-left:4px solid currentColor;display:flex;gap:var(--space-3);align-items:flex-start;justify-content:space-between}.notice--info{color:var(--color-info);background:var(--color-info-bg)}.notice--warn{color:var(--color-warn);background:var(--color-warn-bg)}.notice--demo{color:var(--color-demo);background:var(--color-demo-bg)}.notice__body{color:var(--color-text)}.badge{display:inline-block;font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);padding:0 var(--space-2);border-radius:var(--radius-sm);background:var(--color-surface-alt);color:var(--color-text-muted)}.badge--good{background:var(--color-good-bg);color:var(--color-good)}.badge--warn{background:var(--color-warn-bg);color:var(--color-warn)}.badge--bad{background:var(--color-bad-bg);color:var(--color-bad)}.badge--demo{background:var(--color-demo-bg);color:var(--color-demo)}.episode-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}.episode-card{display:flex;flex-direction:column;margin:0}.episode-card__meta{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-2)}.episode-card .btn-row{margin-top:auto;padding-top:var(--space-3)}.progress{margin-bottom:var(--space-4)}.progress__label{display:flex;justify-content:space-between;font-size:var(--font-size-sm);color:var(--color-text-muted);margin-bottom:var(--space-2)}.progress__steps{display:flex;gap:var(--space-1);list-style:none;padding:0;margin:0}.progress__step{flex:1;height:.5rem;border-radius:999px;background:var(--color-border)}.progress__step--done{background:var(--color-primary)}.progress__step--current{background:var(--color-focus)}.scene__text p:last-child{margin-bottom:0}.choices{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-3)}.choice{width:100%;display:flex;gap:var(--space-3);align-items:flex-start;text-align:left;min-height:var(--tap-size);padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);border:var(--border-width) solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;transition:border-color var(--transition),background var(--transition)}.choice:hover{border-color:var(--color-primary);background:var(--color-info-bg)}.choice__key{flex:none;min-width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);background:var(--color-surface-alt);font-weight:var(--font-weight-bold);font-size:var(--font-size-sm)}.feedback{border-left:4px solid currentColor}.feedback--good{color:var(--color-good);background:var(--color-good-bg)}.feedback--info{color:var(--color-info);background:var(--color-info-bg)}.feedback--warn{color:var(--color-warn);background:var(--color-warn-bg)}.feedback--bad{color:var(--color-bad);background:var(--color-bad-bg)}.feedback__choice{font-size:var(--font-size-sm);color:var(--color-text-muted)}.feedback__body{color:var(--color-text)}.table{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}.table th,.table td{padding:var(--space-2);border-bottom:var(--border-width) solid var(--color-border);text-align:left;vertical-align:top}.table td.num,.table th.num{text-align:right;white-space:nowrap}.table tfoot td{font-weight:var(--font-weight-bold);border-bottom:none}.table tr.is-excluded td{color:var(--color-text-muted)}.table-wrap{overflow-x:auto}.offer-list{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-3)}.offer{border:var(--border-width) solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-3)}.offer--archived{background:var(--color-surface-alt)}.offer__head{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:baseline;justify-content:space-between}.offer dl{display:grid;grid-template-columns:max-content 1fr;gap:var(--space-1) var(--space-3);margin:var(--space-2) 0 0;font-size:var(--font-size-sm)}.offer dt{color:var(--color-text-muted)}.offer dd{margin:0}.demo-code{border:2px dashed var(--color-demo);border-radius:var(--radius);padding:var(--space-4);text-align:center;background:var(--color-surface)}.demo-code__bars{display:flex;justify-content:center;align-items:stretch;height:4rem;gap:2px;margin:var(--space-3) 0;opacity:.35}.demo-code__bars span{background:var(--color-text)}.demo-code__label{color:var(--color-demo);font-weight:var(--font-weight-bold);font-size:var(--font-size-lg)}.stats{display:flex;gap:var(--space-4);flex-wrap:wrap}.stat__value{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold)}.achievement-list{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-2)}.achievement{display:flex;gap:var(--space-3);align-items:flex-start}.achievement__icon{flex:none;width:2rem;height:2rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--color-good-bg);color:var(--color-good);font-weight:var(--font-weight-bold)}.achievement--locked .achievement__icon{background:var(--color-surface-alt);color:var(--color-text-muted)}.achievement--locked{color:var(--color-text-muted)}.toast-region{position:fixed;right:var(--space-4);bottom:var(--space-4);left:var(--space-4);display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-2);pointer-events:none;z-index:10}.toast{pointer-events:auto;max-width:22rem;background:var(--color-surface);border:var(--border-width) solid var(--color-good);border-left-width:4px;border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);box-shadow:var(--shadow)}@media (max-width: 30rem){h1{font-size:var(--font-size-xl)}.btn-row .btn{flex:1 1 100%}.card{padding:var(--space-3)}.table th,.table td{padding:var(--space-1)}}@media (prefers-reduced-motion: reduce){*{transition:none!important}}html,body,#root{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}.game-root{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--game-bg);font-family:var(--font-family);color:var(--color-text);touch-action:none;user-select:none;-webkit-user-select:none}.game-canvas{position:absolute;top:0;right:0;bottom:0;left:0}.game-canvas canvas{display:block}.hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;padding:var(--hud-gap)}.hud>*,.hud__left>*{pointer-events:auto}.hud__left{position:absolute;top:var(--hud-gap);left:var(--hud-gap);display:flex;flex-direction:column;gap:var(--space-2);width:min(20rem,calc(100vw - 2 * var(--hud-gap) - 9rem));pointer-events:none}.hud-card{background:var(--hud-bg);color:var(--hud-text);border-radius:var(--radius);padding:var(--space-3);box-shadow:var(--hud-shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:var(--font-size-sm)}.quest__mission{display:flex;justify-content:space-between;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--hud-muted);margin-bottom:var(--space-1)}.quest__title{font-size:var(--font-size-base);margin:var(--space-2) 0 var(--space-1);color:var(--hud-accent)}.quest__step{margin:0}.quest__episode{margin-top:var(--space-3);padding-top:var(--space-2);border-top:1px solid var(--hud-line);display:grid;gap:var(--space-2)}.quest__episode-label{font-size:.8rem;color:var(--hud-muted)}.meter{height:.45rem;border-radius:999px;background:var(--hud-line);overflow:hidden}.meter--small{height:.3rem}.meter__fill{height:100%;background:linear-gradient(90deg,var(--hud-accent),var(--color-focus));border-radius:999px;transition:width .4s ease}.topbar{position:absolute;top:var(--hud-gap);right:var(--hud-gap);display:flex;gap:var(--space-2);align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:50vw}.hud-chip{background:var(--hud-bg);color:var(--hud-text);border-radius:999px;padding:var(--space-1) var(--space-3);font-size:.8rem;box-shadow:var(--hud-shadow);border:none;font-family:inherit}.hud-chip--member{background:#2f5f9e;color:#fff;font-weight:600}.hud-chip--mono{font-family:var(--font-family-mono)}.hud-chip--button,.hud-button{cursor:pointer;min-height:2.25rem}.hud-button{width:var(--tap-size);height:var(--tap-size);border-radius:var(--radius);border:none;background:var(--hud-bg);color:var(--hud-text);font-size:1.3rem;box-shadow:var(--hud-shadow)}.hud-chip--button:hover,.hud-button:hover{background:var(--hud-bg-hover)}.action-hint{position:absolute;left:50%;bottom:calc(var(--hud-gap) + env(safe-area-inset-bottom,0px));transform:translate(-50%);display:flex;align-items:center;gap:var(--space-2);max-width:calc(100vw - 2 * var(--hud-gap));min-height:var(--tap-size);padding:var(--space-2) var(--space-4);border:none;border-radius:999px;background:var(--hud-bg);color:var(--hud-text);box-shadow:var(--hud-shadow);font:inherit;cursor:pointer;animation:hint-in .16s ease-out}.action-hint kbd{display:inline-flex;align-items:center;justify-content:center;min-width:1.6rem;height:1.6rem;border-radius:var(--radius-sm);background:var(--color-focus);color:#2b2000;font-weight:var(--font-weight-bold);font-family:inherit}.action-hint__verb{font-weight:var(--font-weight-bold);color:var(--hud-accent)}.action-hint__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes hint-in{0%{opacity:0;transform:translate(-50%,6px)}}.hud__notice{position:absolute;left:50%;top:4.5rem;transform:translate(-50%);width:min(30rem,calc(100vw - 2rem))}.shopping__title{font-size:var(--font-size-base);margin:0 0 var(--space-2);color:var(--hud-accent)}.shopping__list{list-style:none;padding:0;margin:0 0 var(--space-2);display:grid;gap:2px}.shopping__list li{display:flex;gap:var(--space-2)}.shopping__list li.is-done{color:var(--hud-muted)}.shopping__list li.is-done>span:first-child{color:#7be08f}.shopping__price{margin-left:auto}.shopping__extras{color:#ffb4a8;margin:0 0 var(--space-2)}.shopping__total{display:flex;justify-content:space-between;font-size:var(--font-size-base)}.shopping__budget,.shopping__hint{color:var(--hud-muted);font-size:.78rem;margin:var(--space-1) 0 0}.dialog{position:absolute;left:50%;bottom:calc(var(--hud-gap) + env(safe-area-inset-bottom,0px));transform:translate(-50%);width:min(46rem,calc(100vw - 2 * var(--hud-gap)));z-index:20;animation:dialog-in .18s ease-out}@keyframes dialog-in{0%{opacity:0;transform:translate(-50%,10px)}}.dialog__line,.dialog__choices{display:flex;gap:var(--space-3);background:var(--color-surface);border-radius:var(--radius);padding:var(--space-4);box-shadow:0 10px 30px #0a0c1e59;border:2px solid var(--dialog-border)}.dialog__choices{display:block}.dialog__line--narrator{background:var(--dialog-narrator-bg)}.dialog__portrait{width:5rem;height:4.8rem;object-fit:cover;object-position:top;flex:none;border-radius:var(--radius-sm);background:var(--color-surface-alt)}.dialog__body{flex:1;min-width:0}.dialog__name{font-weight:var(--font-weight-bold);color:var(--color-primary);margin-bottom:var(--space-1)}.dialog__role{font-weight:400;color:var(--color-text-muted)}.dialog__text{margin:0 0 var(--space-3);font-size:var(--font-size-lg)}.dialog__actions{display:flex;align-items:center;gap:var(--space-3)}.dialog__hint{font-size:var(--font-size-sm);color:var(--color-text-muted)}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#100e1e73;display:flex;align-items:center;justify-content:center;padding:var(--space-3);z-index:30;animation:fade-in .16s ease-out}@keyframes fade-in{0%{opacity:0}}.modal{background:var(--color-bg);border-radius:var(--radius);width:min(30rem,100%);max-height:calc(100% - 1rem);display:flex;flex-direction:column;box-shadow:0 20px 50px #0a0c1e73;user-select:text;-webkit-user-select:text}.modal--wide{width:min(46rem,100%)}.modal__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:var(--border-width) solid var(--color-border)}.modal__title{font-size:var(--font-size-lg);margin:0}.modal__body{padding:var(--space-4);overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}.modal--episode .episode__title{display:none}.product__price{font-size:var(--font-size-xxl);font-weight:var(--font-weight-bold);margin-bottom:var(--space-2)}.product__tags{list-style:none;padding:0;margin:0 0 var(--space-3);display:flex;flex-wrap:wrap;gap:var(--space-2)}.product__tags .badge{padding:var(--space-1) var(--space-2)}.product__warn{color:var(--color-bad)}.tutorial{display:grid;gap:var(--space-3);padding-left:var(--space-4)}.tutorial__marker{display:inline-flex;width:1.3rem;height:1.3rem;border-radius:50%;background:#ffd34d;color:#5a3b00;font-weight:700;align-items:center;justify-content:center}.tabs{display:flex;gap:var(--space-1);flex-wrap:wrap;margin-bottom:var(--space-4);border-bottom:var(--border-width) solid var(--color-border)}.tab{border:none;background:none;font:inherit;padding:var(--space-2) var(--space-3);cursor:pointer;color:var(--color-text-muted);border-bottom:3px solid transparent;min-height:var(--tap-size)}.tab--active{color:var(--color-primary);border-bottom-color:var(--color-primary);font-weight:var(--font-weight-bold)}.menu-episodes{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-3)}.settings fieldset{border:var(--border-width) solid var(--color-border);border-radius:var(--radius-sm);margin:0 0 var(--space-3)}.radio{display:flex;gap:var(--space-2);align-items:center;min-height:var(--tap-size);cursor:pointer}.classic{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;background:var(--color-bg);z-index:40;user-select:text;-webkit-user-select:text;touch-action:pan-y}.toast-region{z-index:50}@media (max-width: 40rem){.hud__left{width:calc(100vw - 2 * var(--hud-gap) - 3.5rem)}.topbar{flex-direction:column;align-items:flex-end}.topbar .hud-chip{display:none}.topbar .hud-chip--member{display:inline-block}.hud__left{width:calc(100vw - 2 * var(--hud-gap) - var(--tap-size) - var(--space-2))}.hud-card{padding:var(--space-2)}.shopping__hint{display:none}.dialog__portrait{width:3.5rem;height:3.4rem}.dialog__text{font-size:var(--font-size-base)}}@media (max-height: 30rem){.shopping__list{grid-template-columns:1fr 1fr}}.legal-refs{margin-top:var(--space-3);padding:var(--space-2) var(--space-3);border-left:3px solid var(--color-primary);background:var(--color-info-bg);border-radius:var(--radius-sm);font-size:var(--font-size-sm);color:var(--color-text)}.legal-refs__title{font-weight:var(--font-weight-bold);margin-bottom:var(--space-1)}.legal-refs__list{margin:0;padding-left:var(--space-4)}.legal-refs__summary{color:var(--color-text-muted)}.dialog .legal-refs{margin:0 0 var(--space-3)}.contract{background:#fffdf7;border:1px solid #e6dcc4;font-family:Georgia,Times New Roman,serif}.contract__title{text-align:center;letter-spacing:.08em}.contract__list{list-style:none;padding:0;margin:0 0 var(--space-3);display:grid;gap:var(--space-2)}.contract__clause label{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);border:1px solid transparent;cursor:pointer;min-height:var(--tap-size)}.contract__clause input{width:1.25rem;height:1.25rem;flex:none;margin-top:.15rem}.contract__clause label:hover{background:var(--color-surface-alt)}.contract__clause.is-marked label{background:var(--color-warn-bg);border-color:var(--color-warn)}.contract__clause.is-found label{background:var(--color-good-bg);border-color:var(--color-good)}.contract__clause.is-false label{background:var(--color-bad-bg);border-color:var(--color-bad)}.overtime-notebook{max-height:28vh;overflow:auto;pointer-events:auto}.overtime-notebook summary{cursor:pointer;min-height:var(--tap-size);padding:var(--space-2)}.overtime-notebook ul{padding-left:var(--space-4)}.overtime-notebook li{margin-bottom:var(--space-2)}.overtime-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--space-4);margin-block:var(--space-4)}.overtime-field{display:flex;flex-direction:column;gap:var(--space-2)}.overtime-field input,.overtime-field select{min-height:var(--tap-size);width:100%;padding:var(--space-2);color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);font:inherit}@media (max-width: 600px){.overtime-notebook{max-height:19vh}}.profile__union{padding:var(--space-2) var(--space-3);border-radius:.5rem;background:#2f5f9e14;border-left:4px solid #9aa7b8}.profile__union--member{border-left-color:#2f5f9e;background:#2f5f9e24;font-weight:600}.profile__union--applied{border-left-color:#d9a441}.profile__places{list-style:none;padding:0;margin:0 0 var(--space-3);columns:2}.profile__places li{padding:2px 0;break-inside:avoid}.profile__places li.is-done{font-weight:600}@media (max-width: 560px){.profile__places{columns:1}}.city-game{display:grid;gap:var(--space-3)}.city-game__people{margin:0;padding-left:1.1rem;font-size:var(--font-size-sm)}.city-game__rows{display:grid;gap:var(--space-2);margin:0;padding-left:0;list-style-position:inside}.city-game__row{display:flex;gap:var(--space-2);align-items:center;justify-content:space-between;flex-wrap:wrap}.city-game__row select{min-height:2.25rem;min-width:9rem;max-width:100%}.city-game__arrows{display:inline-flex;gap:4px}.relay-track{position:relative;height:28px;border-radius:14px;background:#dfe6ec;overflow:hidden}.relay-track__zone{position:absolute;left:35%;width:30%;top:0;bottom:0;background:#8fd19e}.relay-track__marker{position:absolute;top:3px;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:#e8735a;box-shadow:0 1px 3px #0000004d}.city-game__row>span:first-child{flex:1 1 12rem;min-width:0}.year{display:grid;gap:var(--space-3)}.year__closing{font-size:1.02rem;line-height:1.55;padding:var(--space-3);border-radius:.75rem;background:#e8735a14;border-left:4px solid #e8735a}.year__closing p{margin:0 0 var(--space-2)}.year__stats{display:flex;flex-wrap:wrap;gap:var(--space-2)}.year__stats span{background:#2f5f9e14;border-radius:999px;padding:4px 12px;font-size:var(--font-size-sm)}.year__list{margin:0;padding-left:1.1rem}.year__list li.is-done{font-weight:600}.year h3{margin:0 0 var(--space-1)}.quest__news{margin:var(--space-2) 0 0;padding-top:var(--space-2);border-top:1px solid rgba(255,255,255,.12)}.licenses{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid rgba(127,127,127,.25)}.licenses h3{margin:0 0 var(--space-2);font-size:1rem}.licenses__list{margin:0 0 var(--space-2);padding-left:1.1rem;overflow-wrap:anywhere}.licenses__list li{margin:2px 0}.landing{--night: #132b28;--paper: #f8f0de;--mint: #c7eb9d;height:100%;overflow:auto;color:var(--paper);background:radial-gradient(ellipse at 73% 43%,#36544a 0%,transparent 58%),var(--night)}.landing__frame{max-width:1480px;margin:auto;padding:0 clamp(20px,5vw,78px)}.landing__header,.landing__footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #f8f0de38}.landing__wordmark{display:flex;align-items:center;gap:6px;font-size:.86rem;font-weight:800;letter-spacing:.08em}.landing__wordmark>span:first-child{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;margin-right:5px;background:var(--mint);color:var(--night);font-size:1rem}.landing__wordmark-game{color:#d3e7be}.landing button{cursor:pointer;font:inherit}.landing__demo,.landing__utility button{min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;padding:0 10px}.landing__demo{border-color:#f8f0de55;white-space:nowrap}.landing__demo:hover,.landing__utility button:hover{background:#ffffff15}.landing__grid{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);align-items:center;gap:clamp(10px,3vw,52px);padding:clamp(28px,6vh,78px) 0}.landing__copy{z-index:1;animation:landing-in .45s ease-out both}.landing__eyebrow{display:flex;align-items:center;gap:.65em;color:#d0e7be;margin:0 0 17px;font-size:.7rem;font-weight:750;letter-spacing:.18em}.landing__eyebrow span{width:8px;height:8px;background:var(--mint);border-radius:50%;box-shadow:0 0 14px #c7eb9d77}.landing h1{margin:0;font-size:clamp(3rem,5.6vw,6rem);line-height:.98;font-weight:790;letter-spacing:-.07em}.landing h1 em{font-family:Georgia,serif;font-weight:400;color:var(--mint);letter-spacing:-.075em}.landing__colon{color:var(--mint)}.landing__intro{max-width:365px;color:#e3e9da;margin:22px 0 24px;font-size:clamp(.95rem,1.2vw,1.1rem)}.landing__actions{display:grid;gap:8px;max-width:365px}.landing__actions>button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;min-height:48px;padding:8px 15px;border:1px solid transparent;border-radius:9px;font-weight:700;transition:background .18s,border-color .18s,transform .18s}.landing__actions>button:hover:not(:disabled){transform:translateY(-2px)}.landing__actions>button:active:not(:disabled){transform:translateY(1px)}.landing__actions .landing__primary{background:var(--mint);color:#182c25}.landing__actions .landing__primary:hover{background:#d9f4b7}.landing__actions .landing__secondary{color:var(--paper);background:#10272252;border-color:#e5f1d25c}.landing__actions .landing__secondary:disabled{opacity:.54;cursor:default}.landing__actions .landing__union{color:#ffe0a5;background:#c8893820;border-color:#ffe0a554}.landing__utility{display:flex;gap:6px}.landing__stage{min-width:0;position:relative;display:grid;place-items:center;margin:0;isolation:isolate}.landing__stage:before{content:"";position:absolute;top:12%;right:5%;bottom:13%;left:5%;z-index:-1;border:1px solid #f0ffda22;border-radius:50%;transform:rotate(-14deg);box-shadow:0 0 0 24px #d1e4bc09,0 0 0 48px #d1e4bc08}.landing__halo{position:absolute;top:3%;right:3%;bottom:3%;left:3%;z-index:-1;background:radial-gradient(ellipse,#e9edba38,transparent 65%)}.landing__office{display:block;width:112%;max-width:none;height:auto;filter:drop-shadow(0 20px 14px #0b211c99);animation:office-float 8s ease-in-out infinite}.landing__stage figcaption,.landing__footer{font-size:.67rem;font-weight:750;letter-spacing:.13em;color:#e1e8d2}.landing__stage figcaption{display:flex;gap:1rem;border:1px solid #f8f0de38;border-radius:999px;padding:6px 12px}.landing__stage figcaption span:first-child{color:var(--mint)}.landing__footer{border-top:1px solid #f8f0de38;border-bottom:0}.launch-dialog{width:min(calc(100% - 24px),550px);max-height:calc(100% - 24px);overflow:auto;padding:clamp(14px,4vw,24px);border:1px solid #b8c6b4;border-radius:17px;background:#f8f4e9;color:#183028;box-shadow:0 16px 70px #08171395;animation:landing-in .18s ease-out both}.launch-dialog::backdrop{background:#0c201bd6}.launch-dialog__head{display:flex;justify-content:space-between;align-items:center;gap:8px}.launch-dialog__head h2{margin:0;font-size:clamp(1.2rem,4.5vw,1.6rem)}.audio-settings{display:grid;gap:9px;min-width:0;margin:8px 0}.audio-settings__level{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}.audio-settings__level span{grid-column:1 / -1}.audio-settings__level input{width:100%;margin:0;min-height:44px;accent-color:#267159}.audio-settings>button{justify-self:start}.demo-session-badge{display:inline-block;justify-self:start;border-radius:6px;padding:4px 8px;background:#173b33;color:#def1bd;border:1px solid #aacb8c;font-size:.7rem;font-weight:700}.menu-title-link{margin-block:10px 4px}@keyframes landing-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes office-float{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@media (max-width: 740px){.landing__grid{grid-template-columns:minmax(0,1fr);gap:14px;padding:22px 0}.landing__stage{grid-row:1}.landing__office{width:min(100%,470px);max-height:min(27svh,220px);object-fit:contain}.landing__stage:before{top:15%;right:17%;bottom:16%;left:17%}.landing__stage figcaption{font-size:.57rem}.landing h1{font-size:clamp(2.35rem,9.8vw,4.2rem)}.landing__title-break{display:none}.landing__intro{margin:13px 0 16px}.landing__header,.landing__footer{padding:10px 0}}@media (prefers-reduced-motion: reduce){.landing *,.launch-dialog{animation:none!important;transition:none!important}}.game-root,.launch-dialog{--color-primary: #276550;--color-primary-hover: #184c3b;--color-info: #265b56;--color-surface-alt: #edf2e9;--color-border: #c9d5c9;--color-bg: #f4f4eb;--color-focus: #ce8310;--hud-bg: rgba(24, 48, 42, .92);--hud-bg-hover: rgba(33, 65, 54, .97);--hud-muted: #d0ded3;--hud-accent: #f2d58b;--dialog-border: #98ad8e;--dialog-narrator-bg: #faf1de}.game-root{--game-bg: #243833}.game-root .modal-backdrop{background:#10241fc4}.game-root .modal{border:1px solid #aab9a7;border-radius:16px;overflow:hidden;box-shadow:0 24px 56px #0b211c70}.game-root .modal__header{background:linear-gradient(115deg,#e5edde,#faf5e8);border-bottom:1px solid #c6d4c2;color:#234436}.game-root .modal__title{line-height:1.28}.game-root .dialog__line,.game-root .dialog__choices{border-width:1px;border-radius:14px;box-shadow:0 12px 35px #0b211c74}.game-root .dialog__portrait{background:radial-gradient(circle at 46% 32%,#f5e5b9,#d4e4d1 75%)}.game-root .dialog__line{animation:fade-in .14s ease-out}.game-root .dialog__choices .choice{border-radius:10px}.game-root .dialog__choices .choice__key{background:#dce9da;color:#204537}.game-root .modal--episode form.card{border-top:3px solid #6b9a80;border-radius:12px;box-shadow:0 3px 12px #152f2111}.game-root .overtime-field :is(input,select){border-color:#afc3b3}.game-root .toast{border-color:#9fba9b;background:#f2f7ec}@media (prefers-reduced-motion: reduce){.game-root :is(.dialog,.dialog__line,.modal-backdrop,.toast){animation:none}}.initiative-notebook{padding:10px 12px;color:var(--hud-text)}.initiative-notebook summary,.episode-knowledge summary{cursor:pointer;min-height:44px;align-content:center}.initiative-notebook p{margin:0 0 6px;color:var(--hud-accent)}.initiative-notebook ul{margin:0;padding-left:16px}.initiative-notebook li{margin-block:3px}.episode-knowledge{background:#e8f1e5;border-radius:9px;padding-inline:12px;margin-bottom:12px}.episode-knowledge ul{margin:0;padding:0 0 12px 18px}.initiative-budget{border:1px solid #acbdab;padding:12px;border-radius:10px;background:#edf3e8}.initiative-budget[data-fits=false]{background:#faf0dc;border-color:#d5bb87}.initiative-budget__top,.initiative-budget dl>div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.initiative-budget__top strong{font-size:1.22em}.initiative-budget meter{width:100%;height:14px;accent-color:#267159}.initiative-budget p{margin:0;font-weight:700}.initiative-budget dl{margin:8px 0 0;font-size:.88rem}.initiative-budget dl>div{border-top:1px solid #172e231a;padding:2px 0}.initiative-budget dd{margin:0;font-variant-numeric:tabular-nums}.choice-group-title{margin:10px 0 6px;font-size:1rem}.choice-group-final{margin-top:14px;border-top:1px solid var(--color-border)}.choice-group-final .choice{background:#e4efdf;border-color:#81a78a}.launch-dialog--authors{width:min(calc(100% - 24px),480px);background:radial-gradient(ellipse at 50% 0%,#fffaf0,#f8f4e9 60%);animation:authors-open .42s cubic-bezier(.2,.8,.2,1) both}.launch-dialog--authors::backdrop{animation:authors-backdrop .42s ease-out both}.author-card{display:grid;gap:18px;justify-items:center;text-align:center;padding:10px 4px 4px}.author-card__person{display:grid;justify-items:center;gap:10px}.author-card__portrait{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:radial-gradient(circle at 35% 30%,#def5c0 0%,var(--mint, #c7eb9d) 45%,#8fc171 100%);color:#132b28;box-shadow:0 0 0 4px #f8f4e9,0 0 0 5px #b8c6b4,0 10px 30px #13392d40}.author-card__portrait img{width:100%;height:100%;object-fit:cover;display:block}.author-card__portrait span{font-family:Georgia,Times New Roman,serif;font-style:italic;letter-spacing:-.04em}.author-card__portrait--large{width:clamp(96px,26vw,128px);aspect-ratio:1}.author-card__portrait--large span{font-size:clamp(2.2rem,9vw,3rem)}.author-card__portrait--small{width:44px;aspect-ratio:1;flex:none;box-shadow:0 0 0 2px #f8f4e9,0 0 0 3px #b8c6b4}.author-card__portrait--small span{font-size:1.05rem}.author-card__name{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:clamp(1.5rem,6vw,2rem);line-height:1.2;color:#132b28}.author-card__position{margin:0;max-width:36em;font-size:.96rem;line-height:1.5;color:#2b4a40;text-wrap:pretty;overflow-wrap:break-word}.author-credit__name{display:block;font-size:1.12em;line-height:1.35}.author-credit__position{display:block;margin:6px 0 10px;line-height:1.5;overflow-wrap:break-word}.author-card__roles{list-style:none;margin:0;padding:0;display:grid;gap:4px;color:#2b4a40}.author-card__project{border-top:1px solid #c9d5c9;padding-top:14px;width:100%}.author-card__title{margin:0;font-weight:700;color:#1d4a3c}.author-card__place{margin:4px 0 0;color:#4b6359;font-size:.92rem;letter-spacing:.02em}.launch-dialog--authors .author-card>*,.launch-dialog--authors .author-card__person>*{animation:authors-line .5s ease-out both}.launch-dialog--authors .author-card__portrait{animation-delay:.08s}.launch-dialog--authors .author-card__name{animation-delay:.16s}.launch-dialog--authors .author-card__roles{animation-delay:.24s}.launch-dialog--authors .author-card__project{animation-delay:.32s}@keyframes authors-open{0%{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@keyframes authors-backdrop{0%{opacity:0}to{opacity:1}}@keyframes authors-line{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.launch-dialog--authors,.launch-dialog--authors::backdrop,.launch-dialog--authors *{animation:none!important}}.author-credit{margin-top:12px;padding-top:12px;border-top:1px solid #c9d5c9}.author-credit h3{margin:0 0 8px;font-size:1rem}.author-credit__row{display:flex;gap:12px;align-items:center}.author-credit__row p{margin:0;overflow-wrap:anywhere}.author-credit .author-card__portrait{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:radial-gradient(circle at 35% 30%,#def5c0,#c7eb9d 45%,#8fc171);color:#132b28}.author-credit .author-card__portrait span{font-family:Georgia,Times New Roman,serif;font-style:italic}.landing__utility{flex-wrap:wrap}.game-root .hud-card{border:1px solid #b9deab3b;border-radius:14px;background:linear-gradient(145deg,#243f36f5,#152d27f5)}.quest__mission{font-weight:750;letter-spacing:.11em}.quest__mission span:last-child{color:#d8efba;font-variant-numeric:tabular-nums}.game-root .quest__title{margin-top:.6rem;font-size:1.13rem;line-height:1.22}.game-root .quest__step{border-left:2px solid #eaca84;padding-left:.65rem}.quest__update{margin:.5rem 0 0;border-radius:6px;padding:3px 8px;color:#def3c8;background:#345b46;font-size:.76rem;font-weight:700;animation:round2-pop .2s ease-out}.game-root .hud__left{max-height:calc(100% - 7.5rem);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.game-root .hud__left>*{flex:0 0 auto}.control-keys{display:inline-flex;gap:3px;vertical-align:middle}.control-keys kbd,.tutorial-steps kbd{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;padding-inline:3px;border:1px solid #94aa90;border-radius:4px;background:#e2efda;color:#203a2c;font:700 .75rem var(--font-family-mono)}.control-hint{position:absolute;bottom:var(--hud-gap);left:var(--hud-gap);display:flex;align-items:center;gap:8px;padding:6px 9px;border-radius:8px;color:#ecf6e5;background:#152d27ec;font-size:.75rem;pointer-events:none}.control-hint__blocked{color:#ffddcf}.tutorial-lead{margin:0 0 14px;padding:9px 12px;background:#f1e7c9;color:#374127;border-radius:9px;font-weight:750}.tutorial-lead .tutorial__marker{margin-right:4px}.tutorial-steps{list-style:none;padding:0;counter-reset:tutorial-step}.tutorial-steps li{position:relative;counter-increment:tutorial-step;display:grid;gap:3px;padding:8px 8px 8px 39px;margin-bottom:5px;border:1px solid #d1dbcb;border-radius:8px;background:#ffffffa1}.tutorial-steps li:before{content:counter(tutorial-step);position:absolute;top:9px;left:8px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#f6fff2;background:#306653;font-weight:700}.tutorial-steps li>span{font-size:.93rem}.game-root .dialog{max-height:calc(100% - 24px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.game-root .dialog__line{border-top:3px solid #94b08f;background:#fffdf6}.game-root .dialog__portrait{border:1px solid #b9cdb1;border-radius:12px}.game-root .dialog__name{font-size:1.03rem}.game-root .dialog__hint{border:1px solid #d8ded2;border-radius:5px;padding:0 6px}.game-root .initiative-notebook{border-top:2px solid #aad29b}.game-root .initiative-notebook li+li{border-top:1px solid #e8f8dd28;padding-top:4px}.initiative-budget[data-fits=false] meter::-webkit-meter-optimum-value{background:#aa6540}.initiative-budget[data-fits=true] meter::-webkit-meter-optimum-value{background:#377b5a}.game-root .overtime-field :is(input,select){min-height:44px}.game-root .contract__clause.is-marked{border-left:4px solid #387856}.game-root .toast-region{position:absolute;top:4.25rem;bottom:auto;right:var(--hud-gap);left:auto;max-width:min(20rem,calc(100vw - 2 * var(--hud-gap)))}.game-root .toast{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:8px;padding:8px;border-radius:10px;color:#21392d;animation:round2-pop .22s ease-out}.game-root .toast:nth-last-child(n+3){display:none}.toast__medal{display:grid;place-items:center;background:#f0d58d;color:#5b4222;width:30px;height:30px;border-radius:50%}.toast__close{color:#355243;border:0;background:transparent;border-radius:6px;min-width:44px;min-height:44px;font-size:1.3rem;cursor:pointer}.toast__close:hover{background:#dbe9d7}.landing__stage figcaption{background:#132b28c9}.landing__actions>button:not(:disabled):focus-visible,.landing__demo:focus-visible{outline:3px solid #f3d387;outline-offset:3px}.landing__primary{box-shadow:0 4px #74a36b}.landing__primary:active{box-shadow:0 2px #74a36b}@keyframes round2-pop{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@media (max-width: 800px){.control-hint{bottom:calc(var(--hud-gap) + 50px);left:50%;transform:translate(-50%);white-space:nowrap}}@media (max-width: 640px){.game-root .toast-region{top:auto;bottom:calc(var(--hud-gap) + 3.4rem)}.game-root .toast:nth-last-child(n+2){display:none}.game-root .quest__title{font-size:1rem}.game-root .hud__left{max-height:44%}}@media (prefers-reduced-motion: reduce){.game-root :is(.quest__update,.toast){animation:none}}.shopping__heading{cursor:pointer;min-height:44px;align-content:center}.shopping__heading .shopping__title{display:inline;margin:0}.shopping__heading>span:last-child{float:right;color:#d8efba;font-variant-numeric:tabular-nums}.prep-board{border:1px solid #acbdab;border-radius:10px;padding:12px;background:#edf3e8;display:grid;gap:10px}.prep-board__top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:baseline}.prep-board__top strong{font-size:1.12em}.prep-board__top span{font-size:.88rem;color:var(--color-text-muted)}.prep-board meter{width:100%;height:12px;accent-color:#267159}.prep-board meter::-webkit-meter-optimum-value{background:#377b5a}.prep-board__tasks,.prep-board__people{list-style:none;margin:0;padding:0;display:grid;gap:6px}.prep-task{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:7px 10px;border-radius:8px;border:1px solid #c9d6c5;border-left-width:5px;background:#fffdf6}.prep-task__title{font-weight:700;font-size:.92rem}.prep-task__who{grid-column:1;font-size:.86rem}.prep-task__q{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:.78rem;font-weight:750;padding:2px 8px;border-radius:999px;background:#e3ece0;white-space:nowrap}.prep-task[data-state=good]{border-left-color:#2f7d56}.prep-task[data-state=good] .prep-task__q{background:#d5ecdc;color:#1e5a3a}.prep-task[data-state=ok]{border-left-color:#b49a3c}.prep-task[data-state=ok] .prep-task__q{background:#f4ecc9;color:#5d4c0c}.prep-task[data-state=weak],.prep-task[data-state=skipped]{border-left-color:#b3542e;background:#fbefe8}.prep-task[data-state=weak] .prep-task__q{background:#f6d9cb;color:#7d2f12}.prep-task[data-state=current]{border-left-color:#1f5fae;outline:2px solid #1f5fae55}.prep-task[data-state=open],.prep-task[data-state=auto]{opacity:.78}.prep-board__people{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.prep-person{display:grid;gap:1px;padding:6px 8px;border-radius:8px;background:#ffffffb3;border:1px solid #d6e0d2;font-size:.82rem}.prep-person strong{font-size:.9rem}.prep-person__strong{color:var(--color-text-muted)}.prep-person[data-free=true] .prep-person__status{color:#1e6b45;font-weight:750}.prep-person[data-team=false]{opacity:.6}@media (max-width: 480px){.prep-task{grid-template-columns:1fr}.prep-task__q{grid-column:1;grid-row:auto;justify-self:start}}.payslip-review{display:grid;gap:10px}.payslip{width:100%;border-collapse:collapse;font-size:.92rem}.payslip th,.payslip td{padding:6px 8px;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle}.payslip thead th{font-size:.8rem;color:var(--color-text-muted)}.payslip tbody th{font-weight:600}.payslip__sum{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.payslip tfoot th,.payslip tfoot td{font-weight:750;border-bottom:0}.payslip__choice{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px}.payslip__choice label{display:inline-flex;align-items:center;gap:4px;min-height:32px;cursor:pointer}.payslip tr[data-verdict=error]{background:#fbefe8}.payslip tr[data-verdict=ok]{background:#eef6ec}@media (max-width: 560px){.payslip thead{display:none}.payslip tr{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 0;border-bottom:1px solid var(--color-border)}.payslip th,.payslip td{border:0;padding:2px 4px}.payslip td:last-child{grid-column:1 / -1}}.vacation-planner{display:grid;gap:10px}.vacation-legend{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:4px 14px}.vacation-swatch{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-1px;border:1px solid #0002}.vacation-swatch--schedule,.vacation-day.is-schedule{background:#e6dcf5}.vacation-swatch--family{background:#cfe8f7}.vacation-swatch--dima{background:repeating-linear-gradient(45deg,#f6d9cb 0,#f6d9cb 4px,#fbefe8 4px,#fbefe8 8px)}.vacation-swatch--deadline{background:#f6c945}.vacation-swatch--too_soon{background:#e3e6ea}.vacation-swatch--picked{background:#2f7d56}.vacation-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.vacation-month h3{margin:0 0 4px;font-size:.95rem}.vacation-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.vacation-wd{font-size:.72rem;color:var(--color-text-muted);text-align:center}.vacation-day{min-height:32px;border:1px solid #d6dbe0;border-radius:6px;background:#fff;font:inherit;font-size:.85rem;cursor:pointer;position:relative}.vacation-day.is-weekend{color:#9a3b2e}.vacation-day.is-family{box-shadow:inset 0 -4px #7fbde2}.vacation-day.is-dima{background:repeating-linear-gradient(45deg,#f6d9cb 0,#f6d9cb 4px,#fbefe8 4px,#fbefe8 8px)}.vacation-day.is-deadline{outline:2px solid #d4a017;outline-offset:-2px}.vacation-day.is-too_soon{background:#e3e6ea;color:#8a919a}.vacation-day.is-today{font-weight:800}.vacation-day.is-picked{background:#2f7d56;color:#fff;border-color:#1e5a3a}.vacation-day:focus-visible{outline:3px solid var(--color-focus)}.vacation-handover{display:flex;gap:8px;align-items:center;font-weight:600}.risk-report{display:grid;gap:10px}.risk-list{margin:0;padding-left:1.3rem;display:grid;gap:10px}.risk-item fieldset{border:1px solid var(--color-border);border-radius:8px;padding:8px 10px;margin:0;background:#fffdf6}.risk-item legend{padding:0 4px;font-size:.92rem}.risk-option{display:flex;gap:8px;align-items:flex-start;padding:4px 0;cursor:pointer;font-size:.9rem}.risk-option input{margin-top:3px}.priority-board{display:grid;gap:10px}.priority-meters{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.9rem}.priority-meters [data-over=true]{color:var(--color-bad)}.priority-meters [data-ok=true]{color:var(--color-good)}.priority-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.priority-card{width:100%;height:100%;text-align:left;display:grid;gap:3px;padding:10px;border-radius:10px;border:1px solid #c9d6c5;border-left:5px solid #b8c4d6;background:#fffdf6;font:inherit;cursor:pointer}.priority-card.is-on{border-left-color:#2f7d56;background:#e6f4ec;box-shadow:0 0 0 2px #2f7d5633}.priority-card__title{font-weight:750}.priority-card__who{font-size:.8rem;color:var(--color-text-muted)}.priority-card__text{font-size:.86rem}.priority-card__meta{font-size:.8rem;font-weight:600}.priority-card:focus-visible{outline:3px solid var(--color-focus)}.game-root .city-hint{bottom:calc(var(--hud-gap) + 40px);max-width:min(92vw,520px);font-size:.85rem;background:#1f3a30f2;border:1px solid #f6c94566;pointer-events:none}.mission-sheet{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:9px;background:#e5eee5;color:#234936}.mission-sheet strong{font-variant-numeric:tabular-nums}.mission-sheet .badge{margin:0}.payslip thead{background:#edf2eb}.payslip tbody tr{transition:background-color .16s ease}.payslip tbody th{border-left:3px solid transparent}.payslip tr[data-verdict=error] th{border-left-color:#ae6137}.payslip tr[data-verdict=ok] th{border-left-color:#4c8a68}.payslip tfoot{background:#e5eee5}.payslip__choice label,.risk-option{min-height:44px}.payslip__choice input,.risk-option input{accent-color:#347053}.vacation-month{border:1px solid #c8d6cc;border-radius:10px;padding:8px;background:#f3f6f0}.vacation-month h3{padding:4px 5px 8px}.vacation-months{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))}.vacation-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.vacation-day{min-height:40px;padding:0}.vacation-day.is-picked.is-dima,.vacation-day.is-picked.is-too_soon{background:repeating-linear-gradient(135deg,#843f36 0,#843f36 7px,#6c342c 7px,#6c342c 14px);color:#fff;border-color:#72352c}.vacation-plan-warning{margin:0;border-left:3px solid #a45336;padding:5px 8px;background:#f8e9de}.risk-list{padding:0;list-style:none}.risk-item fieldset{min-width:0}.risk-item legend{color:#3a4e43}.risk-option{align-items:center;border-radius:7px;padding-inline:8px}.risk-option:has(input:checked){background:#eee9df;box-shadow:inset 0 0 0 1px #c0ac8e}.priority-meters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.priority-meters>span{display:grid;align-content:center;padding:7px 8px;border-radius:8px;border:1px solid #c7d9c9;background:#eff5ed}.priority-meters strong{font-size:1.18rem;animation:stat-enter .18s ease-out}.priority-meters [data-over=true]{background:#f9ede2;border-color:#deba9f}.priority-card{position:relative;transition:background-color .18s,border-color .18s}.priority-vote-note{margin:0}.priority-card:disabled{opacity:.86;color:#3d4f45;background:#f1f3eb;cursor:default}.priority-card__person{display:flex;align-items:center;gap:8px}.priority-card__portrait{width:34px;height:34px;border-radius:8px;background:#dce9db;object-fit:cover}.priority-card__state{margin-left:auto;font-weight:700;color:#295d42;font-size:.74rem}.priority-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.mission-feedback{animation:stat-enter .2s ease-out}@keyframes stat-enter{0%{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}@media (max-width: 480px){.priority-meters{font-size:.75rem}.vacation-day{min-height:44px}}@media (prefers-reduced-motion: reduce){.mission-feedback,.priority-meters strong{animation:none}.priority-card,.payslip tbody tr{transition:none}}:root{--color-primary:#286656;--color-primary-hover:#1d5043;--color-info:#315f72;--color-border:#d9d8c9;--color-surface-alt:#f2f1e8;--radius:14px}.game-root .modal{border:1px solid #d8d9c7;background:#fcfaf2;box-shadow:0 24px 90px #0c251f70;border-radius:18px}.game-root .modal__header{background:linear-gradient(120deg,#edf1e6,#faf6e9);border-bottom:1px solid #d9ddcd;padding:18px 22px}.game-root .modal__title{letter-spacing:-.025em;line-height:1.25}.game-root .modal__body{padding:20px 22px}.game-root .dialog__line{background:linear-gradient(115deg,#fffdf6,#f6f2e7);border-top:3px solid #d5b26f;box-shadow:0 12px 42px #102b2540;border-radius:16px}.game-root .dialog__portrait{width:68px;height:76px;background:radial-gradient(at 45% 20%,#f8e7c3,#c6d8c6);object-fit:cover}.game-root .dialog__role{color:#52685e}.game-root .dialog__choices button{border-radius:11px;padding:12px 16px;line-height:1.45;border-color:#c8d6c6;background:#f8f8ee;color:#254b3d}.game-root .dialog__choices button:hover{background:#e8efdb;border-color:#648a71}.game-root .card{border-color:#d6ddcb;background:#fffdf7}.game-root .scene>h2{font-size:clamp(1.2rem,2vw,1.7rem);letter-spacing:-.025em;color:#264b3f}.game-root .scene__widget,.game-root .city-game{border-radius:14px;background:#f1f2e7}.game-root .city-game{padding:18px;border-top:4px solid #ba995e}.game-root .city-game__people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px;list-style:none;padding:0}.game-root .city-game__people li{padding:12px;border:1px solid #d2dcc7;border-radius:11px;background:#fffcf2}.game-root .city-game__people strong{display:block;color:#286552}.game-root .city-game__row{padding:12px;border:1px solid #d6d5bd;border-radius:10px;background:#fffaf0;gap:12px}.game-root .youth-assign .city-game__rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.game-root .youth-assign .city-game__row{display:grid;border-top:4px solid #7aaa91;box-shadow:0 3px #dbd7c1}.game-root .youth-assign .city-game__row:nth-child(2n){border-top-color:#d6ae67}.game-root .timeline-order .city-game__rows{position:relative;border-left:3px solid #b9a378;padding-left:20px;counter-reset:era;gap:12px}.game-root .timeline-order li{position:relative;counter-increment:era}.game-root .timeline-order li:before{content:counter(era,decimal-leading-zero);position:absolute;left:-37px;top:16px;border:3px solid #f1f2e7;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;background:#507564;color:#fff;font-size:12px;font-weight:700}.relay-track{height:66px;border:3px solid #f1d5a7;background:repeating-linear-gradient(0deg,#c18564 0,#c18564 18px,#eed5b3 18px,#eed5b3 20px);overflow:visible;margin:25px 12px}.relay-track__zone{background:#c5dfabdd;border-inline:2px dashed #315840}.relay-track__marker{width:22px;height:28px;border-radius:50% 50% 30% 30%;background:#254e55;box-shadow:0 4px #182f34;transform:translate(-50%)}.relay-track__marker:before{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#efc6a0;top:-10px;left:3px;box-shadow:0 -3px #624830}.game-root .year__closing{padding:24px;border-radius:16px;background:linear-gradient(130deg,#214d43,#446c55);color:#fcf4df;font-size:1.1rem}.year__skyline{width:100%;height:auto;display:block;margin-bottom:-1px}.game-root .year__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}.game-root .year__stats>span{display:grid;padding:14px 10px;border:1px solid #d9d8bd;border-radius:12px;background:#f3edda;font-size:.85rem}.game-root .year__stats strong{font:500 2.7rem Georgia,serif;color:#2d6452}.game-root .year section{padding:16px 0;border-top:1px solid #daddcb}.game-root .year section h3{color:#386553}.year__list .is-done{border-left:3px solid #89a579;padding-left:10px}.modal--year .year__stats>span{animation:premium-reveal .45s ease-out both}.modal--year .year__stats>span:nth-child(2){animation-delay:.08s}.modal--year .year__stats>span:nth-child(3){animation-delay:.16s}.modal--year .year__stats>span:nth-child(4){animation-delay:.24s}.landing__stage{filter:drop-shadow(0 24px 25px #051c1b50)}.landing__footer{color:#c0d5bf;letter-spacing:.12em;font-size:.7rem}.game-root .toast{border-radius:12px;box-shadow:0 8px 25px #0b2a2040}.game-root .profile__union--member{border:1px solid #a2bb8c;background:#ebf0db;padding:12px 16px;border-radius:10px}@keyframes premium-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (max-width:640px){.game-root .modal__body,.game-root .modal__header{padding:14px}.game-root .dialog__portrait{width:48px;height:58px}.game-root .city-game{padding:12px}.game-root .city-game__row{font-size:14px}.game-root .year__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.game-root .year__closing{padding:18px;font-size:1rem}.game-root .dialog__text,.game-root .dialog__choices button{font-size:14px}}@media (prefers-reduced-motion:reduce){.modal--year .year__stats>span{animation:none}}.game-root .hud-chip--member{background:#466e55;color:#fff2ce;border:1px solid #91a77e}.game-root[data-economy=true] .year__stats>span{animation:none}@media (max-width:640px){.game-root .modal .small,.game-root .modal .muted,.game-root .modal .badge,.game-root .modal select,.game-root .modal input,.game-root .modal button,.game-root .dialog__role,.game-root .dialog__hint,.game-root .legal-refs{font-size:14px}}.learning-catalog{height:100%;overflow:auto;background:#f5f2e8;color:#173e33;padding:0 clamp(18px,5vw,76px);font-family:var(--font-family);touch-action:pan-y}.learning-catalog__header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #ced4c6;padding:20px 0;max-width:1400px;margin:auto}.learning-catalog__brand{font-weight:800;letter-spacing:.08em;font-size:.82rem}.learning-catalog__brand span{color:#6b7969;font-size:.65rem;margin-left:12px}.catalog-back{min-height:44px;padding:8px 16px;border:1px solid #b6c5b7;color:#234e3d;background:transparent;border-radius:8px;font:inherit;cursor:pointer}.learning-catalog__intro{max-width:1400px;margin:36px auto 28px;display:grid;grid-template-columns:1fr 1fr;column-gap:40px;align-items:end}.catalog-eyebrow{grid-column:1/-1;font-size:.7rem;font-weight:800;color:#72845b;letter-spacing:.16em}.learning-catalog h1{margin:0;font-size:clamp(2.6rem,5vw,4.6rem);line-height:1;letter-spacing:-.05em}.learning-catalog h1 em{color:#69854b;font-family:Georgia,serif;font-weight:400}.learning-catalog__intro>p:not(.catalog-eyebrow){max-width:540px;font-size:1.05rem;line-height:1.65}.learning-catalog__intro aside{grid-column:2;border-left:3px solid #b79b5a;padding:8px 14px;font-size:.84rem;background:#eceee2}.catalog-filters{display:flex;flex-wrap:wrap;gap:8px;max-width:1400px;margin:0 auto 22px}.catalog-filters button{padding:8px 18px;min-height:44px;font:inherit;font-size:.84rem;font-weight:650;border:1px solid #bbc8b8;border-radius:999px;background:transparent;color:#385645;cursor:pointer}.catalog-filters button[aria-pressed=true]{background:#224d3d;border-color:#224d3d;color:#edf4db}.catalog-cards{max-width:1400px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:22px}.catalog-card{background:#fffdf6;border:1px solid #d5d8c9;border-radius:15px;overflow:hidden;box-shadow:0 4px 14px #16392b08;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.catalog-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #16392b15}.catalog-card__image{position:relative;aspect-ratio:16/10;background:#253e35;overflow:hidden}.catalog-card__image img{width:100%;height:100%;object-fit:contain;display:block}.catalog-card__image>span{position:absolute;left:12px;bottom:10px;font-size:.57rem;font-weight:800;letter-spacing:.12em;padding:5px 9px;border-radius:4px;color:#edf3da;background:#16372dd9}.catalog-card__body{padding:19px;display:flex;flex-direction:column;flex:1}.catalog-card__category{color:#71805f;font-size:.71rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}.catalog-card h2{font-family:Georgia,serif;font-weight:400;font-size:1.55rem;line-height:1.18;margin:0 0 10px;color:#203f31}.catalog-card__description{font-size:.86rem;color:#627263;line-height:1.55;margin:0 0 16px;flex:1}.catalog-card__status{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;font-size:.72rem;color:#75816b;padding-bottom:12px}.catalog-card__status small{font-size:inherit}.catalog-card__body>button{display:flex;justify-content:space-between;align-items:center;font:inherit;font-weight:750;color:#e9f2d7;background:#245441;border:none;border-radius:8px;padding:12px 16px;min-height:48px;cursor:pointer}.catalog-card__body>button:hover{background:#163e2f}.learning-catalog__footer{max-width:1400px;margin:28px auto;padding-top:18px;border-top:1px solid #ccd5c6;color:#78816f;font-size:.75rem}.learning-hud{background:var(--hud-bg);color:#e7f0db;border-radius:10px;padding:10px 12px;font-size:.8rem}.learning-hud strong{display:block;color:#efd595;margin:4px 0}.learning-hud p{margin:4px 0 8px}.learning-hud__buttons{display:flex;gap:6px;flex-wrap:wrap}.learning-hud button{min-height:44px;padding:6px 10px;border:1px solid #a5bb90;border-radius:7px;background:#416646;color:#f5f7ea;font:inherit;cursor:pointer}.learning-hud button:hover{background:#527c51}.learning-mode-label{position:absolute;left:var(--hud-gap);bottom:var(--hud-gap);color:#d5e4c5;font-size:.7rem;background:#193d32d9;padding:6px 9px;border-radius:5px;pointer-events:none}.landing__actions .landing__catalog{min-height:60px;background:linear-gradient(110deg,#d2eda8,#ecedb7);color:#17362b;border:1px solid #eff4c0;box-shadow:0 4px 20px #acdc7020;font-size:1.08rem}@media (max-width:650px){.learning-catalog__brand span{display:none}.learning-catalog__intro{grid-template-columns:1fr;margin-top:26px;gap:14px}.learning-catalog__intro aside{grid-column:1}.learning-catalog__intro>p{margin:0}.catalog-cards{gap:18px}.catalog-filters button{padding-inline:12px}.learning-catalog__header{padding:12px 0}.learning-hud{max-height:24svh;overflow:auto;touch-action:pan-y}}@media (max-height:480px){.learning-hud{max-height:32svh;overflow:auto;touch-action:pan-y}.learning-catalog__intro{margin-top:20px}}@media (prefers-reduced-motion:reduce){.catalog-card{transition:none}.catalog-card:hover{transform:none}}
