:root{--bg:#5a2236;--bg2:#6e2b42;--card:#fbf3e4;--ink:#3b2a22;--red:#e8503f;--cream:#fff8ec;--teal:#3f8f86;--gold:#e7a93b;font-size:16px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scrollbar-width:thin;scrollbar-color:var(--gold) #180c2b;overflow-x:hidden}@supports not (scrollbar-color:auto){html::-webkit-scrollbar{width:8px}html::-webkit-scrollbar-track{background:#180c2b}html::-webkit-scrollbar-thumb{background:linear-gradient(var(--gold), #e87831);border:2px solid #180c2b;border-radius:999px}html::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ffd77d,#ff9a43)}}body{background:radial-gradient(circle at 50% 30%, var(--bg2), var(--bg));color:var(--ink);min-height:100vh;margin:0;font-family:Be Vietnam Pro,sans-serif;font-size:1rem;line-height:1.5;overflow-x:hidden}#root{min-height:100vh;overflow-x:hidden}img,svg,table,video{max-width:100%}button,input{font:inherit}a{color:inherit}h1{color:var(--cream);text-shadow:3px 3px 0 var(--red);overflow-wrap:anywhere;margin:.2em 0;font-size:clamp(28px,5vw,46px);font-weight:800}h2{color:var(--red);margin:.2em 0;font-size:1.4rem}.wrap{max-width:1100px;margin:0 auto;padding:14px}.narrow{max-width:640px}.lead{color:#f3dcc8}.center{text-align:center}.warn{color:#ffd0c8;background:#0000002e;border-radius:12px;padding:8px 10px}.card{background:var(--card);color:var(--ink);border-radius:18px;padding:16px;box-shadow:0 6px #0000002e}.top{z-index:5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--cream);background:#5a2236eb;border-radius:0 0 14px 14px;margin:-14px -14px 10px;padding:8px 10px 6px;font-weight:600;position:sticky;top:0}.top-main{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.top b,.big-time{color:#ffd9a8}.top-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rank{color:var(--ink);background:#ffe7c2;border-radius:999px;padding:2px 8px}.cyclebar{background:#fff3;border-radius:99px;height:6px;margin-top:6px;overflow:hidden}.cyclebar span{background:var(--gold);height:100%;display:block}.grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;margin-top:12px;display:grid}.scene{aspect-ratio:16/9;background:linear-gradient(#f3e3c6,#fbf3e4 60%,#e9d6b4);height:auto;min-height:0;padding:0;position:relative;overflow:hidden}.game-content{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin-top:12px;display:grid}.game-stage{gap:12px;display:grid}.game-content .scene{aspect-ratio:auto;height:clamp(180px,25vh,240px)}.game-content .scene img{object-fit:cover;width:100%;height:100%}.current-event{margin:0;padding:12px 14px}.current-event h2{font-size:1.1rem}.scene svg{width:100%;height:100%;display:block}.inspect{text-align:left;background:var(--cream);color:var(--ink);border:0;border-radius:12px;padding:10px;position:absolute;bottom:10px;left:10px;right:10px;box-shadow:0 4px #cdb89d}.inspect b,.inspect span{display:block}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.stat{text-align:center;background:#fff;border-radius:12px;min-width:0;padding:8px;font-size:.85rem}.stat svg,.dir svg{width:44px;height:44px;margin:0 auto;display:block}.stat b{color:var(--teal);overflow-wrap:anywhere;font-size:1.15rem;display:block}.dir{background:#fff;border-radius:14px;align-items:center;gap:10px;margin:8px 0;padding:10px;display:flex}.dir .lab{flex:1;min-width:0;font-size:.95rem;font-weight:600}.dir small{color:#7a6658;font-size:.78rem;font-weight:400;display:block}.remain{text-align:right;font-size:.9rem}.meter{background:#ead8bf;border-radius:99px;height:8px;margin-top:8px;overflow:hidden}.meter span{background:#8a8f72;height:100%;display:block}.meter-label{color:#7a6658;margin:4px 0 0;font-size:.8rem}.btn{font:inherit;cursor:pointer;background:var(--red);color:#fff;text-align:center;border:0;border-radius:14px;padding:12px 18px;font-weight:800;text-decoration:none;display:inline-block;box-shadow:0 4px #a8352a}.btn:active{transform:translateY(3px);box-shadow:0 1px #a8352a}.btn:disabled{opacity:.55;cursor:default;transform:none}.btn.s{color:var(--ink);background:#fff;min-height:44px;padding:8px 12px;box-shadow:0 4px #cdb89d}.btn.big{width:100%;margin-top:8px;font-size:1.15rem}.btn,.opt{touch-action:manipulation;min-height:44px}input{font:inherit;width:100%;max-width:100%;color:var(--ink);background:#fff;border:2px solid #ead8bf;border-radius:12px;margin:6px 0;padding:10px}.modal{z-index:9;background:#280f19b3;justify-content:center;align-items:center;padding:14px;display:none;position:fixed;inset:0}.modal.on{display:flex}.modal .card{width:100%;max-width:720px;max-height:92vh;overflow:auto}.opt{text-align:left;cursor:pointer;width:100%;color:var(--ink);overflow-wrap:anywhere;background:#fff;border:2px solid #ead8bf;border-radius:12px;margin:8px 0;padding:12px;line-height:1.4;display:block}.opt:disabled{cursor:default}.exp{background:#fff4d6;border-radius:12px;margin-top:8px;padding:10px}.log{background:#fff;border-radius:12px;margin-top:8px;padding:8px 10px;font-size:.95rem}.situation{text-align:left;width:100%;font:inherit;color:var(--ink);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;padding:4px 2px;font-weight:700;display:block;overflow:hidden}.explain{white-space:pre-wrap;background:#fff4d6;border-radius:12px;margin:6px 0 0;padding:10px;font-weight:500}.choices{flex-direction:column;gap:8px;display:flex}.choice{text-align:left;width:100%;min-width:0;color:var(--ink);background:#fff;flex-direction:row;justify-content:center;align-items:center;gap:4px;display:flex;box-shadow:0 4px #cdb89d}.choice-art{object-fit:contain;flex:0 0 52px;width:52px;height:52px}.choice-copy{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:0;display:flex}.choice-label{overflow-wrap:anywhere;width:100%;line-height:1.32;display:block}.choice-price{color:#8a5a31;font-size:.8em;font-weight:700;line-height:1.2;display:block}.bankrupt-restart{background:#fff4d6;border:2px solid #e8503f;border-radius:14px;padding:14px}.bankrupt-restart h3{color:#c7382c;margin:0;font-size:1rem}.bankrupt-restart p{color:#684f41;margin:6px 0 12px;font-size:.88rem}.finish-note{color:#684f41;background:#fff4d6;border-left:4px solid #e7a93b;border-radius:8px;margin:0 0 10px;padding:10px 12px}.top-ended{color:#ffd9a8;font-weight:800}.start{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px;min-height:85vh;display:grid}.start img,.hero img{border-radius:16px;width:100%}.settings{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings label{color:#f3dcc8;font-size:.85rem;font-weight:600}.host .settings label,.card .settings label{color:var(--ink)}.textlink{color:#ffd9a8;margin-top:12px;display:inline-block}.waitlist{padding:0;list-style:none}.waitlist li{color:var(--ink);background:#fff;border-radius:12px;margin:6px 0;padding:8px 10px}.offline{z-index:8;color:#fff;text-align:center;background:#3b2a22;border-radius:10px;padding:6px;position:sticky;top:0}.banner{color:var(--ink);background:#ffe7c2;border-radius:12px;padding:8px 10px;font-weight:700}.countdown{min-height:70vh;color:var(--cream);flex-direction:column;justify-content:center;align-items:center;display:flex}.countdown b{text-shadow:6px 6px 0 var(--red);font-size:18vw;line-height:.9}.host-lobby{grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);grid-template-areas:"main qr";align-items:start;gap:20px;display:grid}.host-lobby>div:first-child{grid-area:main}.qr-wrap{grid-area:qr}.code{letter-spacing:.08em;font-size:clamp(56px,10vw,120px)}.eyebrow{color:#ffd9a8;margin:0;font-weight:700}.join-url{overflow-wrap:anywhere;color:#fff;background:#0003;border-radius:12px;padding:8px}.qr-wrap{background:var(--cream);border-radius:18px;padding:12px}.qr-wrap img{width:100%;height:auto}.host-bar{color:var(--cream);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.big-time{font-size:clamp(32px,5vw,64px);display:block}.host-actions{flex-wrap:wrap;gap:8px;display:flex}.host-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;margin-top:12px;display:grid}.host-grid .card,.host-end{color:var(--ink)}.team-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:10px;display:grid}.team-card{color:var(--ink);text-align:left;background:#fff;border:2px solid #0000;border-radius:14px;padding:10px}.team-card.on{border-color:var(--gold);background:#ffe7c2}.team-card b,.team-card span{display:block}.qstats{padding-left:18px}.endimg img{object-fit:cover;border-radius:12px;width:100%;max-height:42vh}.end-sum{background:#fff;border-radius:12px;flex-wrap:wrap;gap:6px 14px;padding:10px 12px;display:flex}#sIntro .card{max-width:820px;margin:8px auto}#sIntro img{aspect-ratio:16/9;object-fit:cover;border-radius:14px;width:100%}.intro-copy{text-align:left}#sIntro .warn{color:#8a231b;background:#ffe5d6;border:1px solid #c96d4c}.meta{color:#7a6658}.lb{border-collapse:separate;border-spacing:0 4px;width:100%}.lb th{text-align:left;color:#7a6658;padding:2px 8px;font-size:.78rem;font-weight:600}.lb td{background:#fff;border:0;padding:8px}.lb td:first-child{text-align:center;width:2.4em;color:var(--red);border-radius:10px 0 0 10px;font-weight:800}.lb td:last-child{text-align:right;white-space:nowrap;border-radius:0 10px 10px 0}.lb tr.me td{box-shadow:inset 0 0 0 2px var(--gold);background:#ffe7c2}.lb tr.moved{animation:.7s ease-out lbmv}.lb .st{text-align:center;color:#7a6658;padding:16px}.lb-load{border:3px solid #ead8bf;border-top-color:var(--red);vertical-align:middle;border-radius:50%;width:16px;height:16px;margin-right:8px;animation:.8s linear infinite spin;display:inline-block}.smoke{animation:4s linear infinite sm}.walker{animation:2.4s ease-in-out infinite bob}.leaver{animation:2.8s linear infinite leave}.rain{animation:1.1s linear infinite rain}.belt{animation:.8s linear infinite belt}@keyframes lbmv{0%{opacity:.3;transform:translateY(8px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes sm{to{opacity:0;transform:translate(16px,-70px)}}@keyframes bob{50%{transform:translateY(-6px)}}@keyframes leave{to{opacity:.2;transform:translate(40px)}}@keyframes rain{to{opacity:.2;transform:translateY(80px)}}@keyframes belt{to{transform:translate(24px)}}@media (width>=1280px){html{font-size:18px}.wrap{max-width:1360px}.grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}@media (width<=800px){html{font-size:15px}h1{font-size:2rem}h2{font-size:1.2rem}.wrap{padding:10px 10px 24px}.top{margin:-10px -10px 8px;font-size:.85rem}.grid{grid-template-columns:minmax(0,1fr)}.grid>.card.panel{display:contents}.scene{order:1}.grid h2{color:var(--cream);order:3;margin:6px 4px 0}#stats{order:2;grid-template-columns:repeat(2,minmax(0,1fr))}#dirs{background:var(--card);border-radius:18px;order:4;padding:8px}#log{order:5}.meter,.meter-label{order:2}.dir{gap:6px}.dir svg{width:36px;height:36px}.start,.host-grid{grid-template-columns:minmax(0,1fr)}.host-lobby{grid-template-columns:minmax(0,1fr);grid-template-areas:"qr""main"}.qr-wrap{width:min(240px,78%);margin:0 auto}.settings{grid-template-columns:minmax(0,1fr)}.modal{padding:0}.modal .card{border-radius:0;max-width:none;height:100%;max-height:none}.start img,.hero img{object-fit:contain;max-height:38vh}#howBtn,#lbBtn{width:100%;margin-top:8px}.lb thead{display:none}.lb,.lb tbody{display:block}.lb tr{background:#fff;border-radius:10px;grid-template-columns:2.2em minmax(0,1fr) auto;grid-template-areas:"r t s""r h s";margin:5px 0;padding:6px 8px;display:grid}.lb td{background:0 0;padding:1px 4px}.lb td:first-child{grid-area:r}.lb td:nth-child(2){grid-area:t;font-weight:600}.lb td:nth-child(3){color:#7a6658;grid-area:h;font-size:.8rem}.lb td:nth-child(4){grid-area:s}.lb tr.me{box-shadow:inset 0 0 0 2px var(--gold);background:#ffe7c2}.lb tr.empty{display:block}.host-bar{align-items:stretch}.host-actions .btn{flex:1}}@media (width<=360px){html{font-size:14px}.stat svg{width:42px;height:42px}}.year-dock{place-items:center;width:100%;min-height:120px;margin-top:14px;padding:6px;display:grid;overflow:visible}.year-btn{background:var(--red);color:#fff;width:108px;height:108px;min-height:0;font:inherit;cursor:pointer;border:0;border-radius:50%;flex:0 0 108px;place-items:center;padding:0;font-weight:800;display:grid;position:relative;box-shadow:0 6px #a8352a}.year-btn:disabled{opacity:.6;cursor:default}.year-btn svg{pointer-events:none;width:100%;max-width:none;height:100%;position:absolute;inset:0;overflow:visible}.year-ring-track,.year-ring{fill:none;stroke-width:8px}.year-ring-track{stroke:#fff8ec59}.year-ring{stroke:var(--cream);stroke-linecap:round}.year-btn span{flex-direction:column;align-items:center;line-height:1.15;display:flex;position:relative}.year-btn small{font-size:.85rem;font-weight:600}.year-finish{flex-direction:column;justify-content:center;align-items:center;gap:2px;width:min(260px,100%);min-height:58px;display:flex}.year-finish small{color:#fff4d6;font-size:.76rem;font-weight:600}.finished-summary{max-width:520px}.finished-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.idle-cloud{animation:18s ease-in-out infinite alternate idle-cloud}.idle-cloud.delay{animation-duration:26s}.idle-truck{animation:22s linear infinite idle-truck}.road-truck{offset-rotate:0deg;animation:16s linear infinite road-drive}@keyframes road-drive{0%{offset-distance:0%}to{offset-distance:100%}}.year-shake{animation:.45s ease-in-out 3 year-shake}@keyframes idle-cloud{to{transform:translate(48px)}}@keyframes idle-truck{0%{transform:translate(-140px)}to{transform:translate(1700px)}}@keyframes year-shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.mask{animation:1.6s ease-in-out infinite bob}.scene.quake{animation:.42s linear infinite quake}.crack{animation:1.2s ease-in-out infinite crack}.glitch{animation:.35s steps(2,end) infinite glitch}.scanline{animation:1.1s linear infinite scan}.cam-flash{animation:1.4s ease-out infinite flash}.ticker{animation:8s linear infinite ticker}.crash-arrow{animation:2.6s linear infinite crash-fall}@keyframes quake{0%,to{transform:translate(0)}25%{transform:translate(-8px,3px)}50%{transform:translate(7px,-4px)}75%{transform:translate(-5px,-2px)}}@keyframes crack{50%{opacity:.35}}@keyframes glitch{50%{opacity:.45}}@keyframes scan{to{opacity:.2;transform:translateY(10px)}}@keyframes flash{0%,72%,to{opacity:0}78%{opacity:.85}86%{opacity:0}}@keyframes ticker{to{transform:translate(-420px)}}@keyframes crash-fall{0%{opacity:0;transform:translateY(-20px)}15%{opacity:.9}to{opacity:.1;transform:translateY(820px)}}@media (prefers-reduced-motion:reduce){.smoke,.walker,.leaver,.rain,.belt,.lb tr.moved,.lb-load,.idle-cloud,.idle-truck,.road-truck,.year-shake,.mask,.scene.quake,.crack,.glitch,.scanline,.cam-flash,.ticker,.crash-arrow{animation:none}}.is-paused .smoke,.is-paused .walker,.is-paused .leaver,.is-paused .rain,.is-paused .belt,.is-paused .idle-cloud,.is-paused .idle-truck,.is-paused .road-truck,.is-paused .year-shake,.is-paused .mask,.is-paused.quake,.is-paused .crack,.is-paused .glitch,.is-paused .scanline,.is-paused .cam-flash,.is-paused .ticker,.is-paused .crash-arrow{animation-play-state:paused}.is-dim svg,.succession-photo{filter:grayscale(.55)brightness(.62)}.succession-photo{aspect-ratio:16/9;object-fit:cover;border-radius:18px;width:100%;display:block}.succession-card,.succession-lock{margin-top:12px}.flip{perspective:800px;height:148px;margin:12px 0}.flip-inner{height:100%;transform-style:preserve-3d;transition:transform .6s;position:relative}.flip-inner.on{transform:rotateY(180deg)}.flip-face{backface-visibility:hidden;text-align:center;background:#fff;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px;font-weight:800;display:flex;position:absolute;inset:0}.flip-face.back{background:#fff4d6;font-weight:500;transform:rotateY(180deg)}.flip-face b{color:var(--red);font-size:1.4rem}.asset-count{text-align:center;margin:0;font-size:1.35rem}.succession-lock h2{color:var(--red)}@media (prefers-reduced-motion:reduce){.flip-inner{transition:none}.ev-icon,.ev-icon *,.badge.pulse{animation:none}.fireworks span{opacity:.85;animation:none}}.status-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;margin:12px 0;display:grid}.status-board>div span{color:#7a6658;font-size:.78rem;font-weight:700;display:block}.status-board>div b{font-size:1.35rem}.status-board .debt,.status-board .debt b,.remain.debt,.remain.debt b{color:#c7382c}.status-board .badge-row{grid-column:1/-1}.governance-risk{background:#fffaf0;border:1px solid #d9b786;border-left:5px solid #80512e;border-radius:13px;grid-column:1/-1;grid-template-columns:minmax(150px,.8fr) minmax(230px,1.2fr) minmax(220px,1.5fr);align-items:center;gap:10px 14px;padding:11px 12px;display:grid}.governance-risk header{gap:1px;display:grid}.governance-risk header span,.governance-metrics span{color:#7a6658;text-transform:uppercase;letter-spacing:.025em;font-size:.76rem;font-weight:800}.governance-risk header b{color:#4f3122;font-size:.98rem}.governance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.governance-metrics>div{background:#fff;border:1px solid #ead8bf;border-radius:9px;padding:6px 8px}.governance-metrics strong{color:#8e261e;font-size:1.05rem;line-height:1.2;display:block}.governance-metrics small{color:#7a6658;font-size:.74rem}.governance-risk>p{color:#634c3e;margin:0;font-size:.8rem;line-height:1.35}.restructuring-status{border-top:1px solid #ead8bf;grid-column:2/-1;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px;padding-top:7px;font-size:.82rem;display:grid}.restructuring-status b{color:#4f3122}.restructuring-status span{color:#7a6658}.restructuring-status small{color:#1f5c32;grid-column:2;font-size:.76rem}.restructuring-status.available{border-top-color:#91c99c}.restructuring-status.used{border-top-color:#cdb89d}.top .debt,.top .debt b{color:#ffb4a8}.badge-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.badge{color:var(--ink);background:#fff;border:2px solid #ead8bf;border-radius:999px;align-items:center;padding:4px 10px;font-size:.82rem;font-weight:700;display:inline-flex}.badge.good{color:#1f5c32;border-color:#2f7d46}.badge.bad{color:#8e261e;border-color:#c7382c}.badge.pulse{animation:.7s ease-in-out 3 badge-pulse}.badge.trait{cursor:pointer;font:inherit;min-height:36px;font-weight:700}.badge.trait.on{background:#fff4d6}.trait-note{background:#fff4d6;border-radius:10px;flex:1 0 100%;margin:0;padding:8px}@keyframes badge-pulse{50%{background:#ffd0c8}}.event-list{gap:8px;display:grid}.event-card{text-align:left;font:inherit;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #ead8bf;border-radius:14px;align-items:flex-start;gap:10px;width:100%;padding:10px;display:flex}.event-card.good{border-color:#2f7d46}.event-card.bad{border-color:#c7382c}.event-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.event-copy b{font-size:1rem}.event-copy>span{color:#7a6658;font-size:.85rem}.event-body{color:var(--ink);white-space:pre-wrap;font-weight:500}.quiet{color:#7a6658}.tablist{gap:6px;margin-bottom:10px;display:flex}.tablist button{font:inherit;cursor:pointer;min-height:44px;color:var(--ink);background:#fff;border:2px solid #ead8bf;border-radius:12px;flex:1;padding:10px 8px;font-weight:800}.tablist button.on{color:#fff8ec;background:#5a2236;border-color:#5a2236}.year-row{background:#fff;border-radius:12px;margin-top:8px;padding:10px}.year-row header{flex-wrap:wrap;gap:4px 12px;display:flex}.year-row ul{margin:8px 0 0;padding:0;list-style:none}.year-row li{border-top:1px solid #ead8bf;justify-content:space-between;gap:8px;padding:6px 0;display:flex}.year-row li>span{min-width:0}.year-row li strong,.year-row li small{display:block}.year-row li small{color:#7a6658;margin-top:3px;font-size:.82em;font-weight:500;line-height:1.35}.year-row li em{color:#7a6658;text-align:right;flex:none;font-size:.78em;font-style:normal}.year-row .non-cash-cause{background:#fffaf0;border-radius:8px;margin:4px -4px;padding:7px 4px}.down{color:#c7382c}.up{color:#1f5c32}.ev-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;color:#5a2236;flex:none;width:48px;height:48px}.event-card.good .ev-icon{color:#1f5c32}.event-card.bad .ev-icon{color:#c7382c}.fireworks{pointer-events:none;height:72px;position:relative}.fireworks span{border-radius:50%;width:8px;height:8px;animation:1.3s ease-out infinite fw;position:absolute;top:36px;left:50%}.fireworks span:first-child{--x:-90px;--y:-50px;background:#e7a93b}.fireworks span:nth-child(2){--x:80px;--y:-60px;background:#c7382c;animation-delay:.15s}.fireworks span:nth-child(3){--x:-30px;--y:-80px;background:#fff8ec;animation-delay:.3s}.fireworks span:nth-child(4){--x:40px;--y:-30px;background:#2f7d46;animation-delay:.45s}.fireworks span:nth-child(5){--x:110px;--y:-20px;background:#e7a93b;animation-delay:.2s}@keyframes fw{0%{opacity:1;transform:translate(0)scale(1)}to{transform:translate(var(--x), var(--y)) scale(.3);opacity:0}}.price-grid{margin-top:8px}.config-section{border-top:2px solid #ead8bf;margin-top:18px;padding-top:14px}.config-section h2,.config-section h3{color:var(--ink);margin:0;font-size:1.05rem}.config-section p{color:#7a6658;margin:4px 0 0;font-size:.9rem}.host-config-section h2{color:#ffd9a8}.host-config-section p{color:#f3dcc8}.game-tabs{margin-top:12px}.game-content .game-tabs{margin-top:0}.game-tabs-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.game-tabs-heading h2{margin:0}.game-tabs-heading p{color:#7a6658;margin:4px 0 0;font-size:.92rem}.game-tablist{margin-bottom:14px}.tab-panel{min-height:132px}.year-tabs{margin-top:12px}@media (width<=800px){:root{font-size:15px}.wrap{padding:10px}.status-board{grid-template-columns:repeat(2,minmax(0,1fr))}.governance-risk{grid-template-columns:minmax(0,1fr);gap:9px}.governance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.restructuring-status{grid-column:auto}.scene{border-radius:14px}.game-content{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px}.game-content .scene{aspect-ratio:16/9;height:auto;min-height:0}.card{border-radius:14px;padding:13px}.event-card{border-radius:12px;padding:11px}.ev-icon{width:44px;height:44px}.game-tabs-heading h2{font-size:1.25rem}.game-tabs-heading p{font-size:.84rem;line-height:1.4}.tablist{gap:5px;padding-bottom:2px;overflow-x:auto}.tablist button{white-space:nowrap;flex:none;min-height:42px;padding:9px 11px;font-size:.83rem}.year-row{padding:9px}.year-row header{font-size:.84rem}.year-row li{align-items:flex-start;font-size:.84rem}.year-row li b{white-space:nowrap}.choice{min-height:50px;padding:12px 14px;font-size:.96rem}.stat{padding:7px 4px;font-size:.75rem}.stat b{font-size:.96rem}}@media (width>=801px){body:has(.game-shell){height:100svh;overflow:hidden}#root:has(.game-shell){height:100svh;overflow:hidden}#root:has(.game-shell){place-items:center;display:grid}.game-shell{flex-direction:column;width:min(1160px,100vw - 32px);height:min(840px,100svh - 24px);margin:0;padding:10px;display:flex;overflow:hidden}.game-shell .top{flex:none;margin:-10px -10px 8px}.game-shell .status-board{flex:none;margin:0 0 8px;padding:11px 14px}.game-shell .status-board>div b{font-size:1.16rem}.game-shell .governance-risk{gap:7px 10px;padding:8px 10px}.game-shell .governance-risk header b{font-size:.88rem}.game-shell .governance-risk header span,.game-shell .governance-metrics span{font-size:.67rem}.game-shell .governance-metrics>div{padding:4px 6px}.game-shell .governance-metrics strong{font-size:.95rem}.game-shell .governance-risk>p,.game-shell .restructuring-status{font-size:.72rem}.game-shell .restructuring-status{padding-top:5px}.game-shell .game-content{flex:1;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:0;margin-top:0}.game-shell .game-stage{grid-template-rows:minmax(0,1fr) auto;min-height:0}.game-shell .scene{height:auto;min-height:0}.game-shell .current-event{max-height:132px;overflow:hidden}.game-shell .current-event .event-list{max-height:68px;padding-right:4px;overflow:auto}.game-shell .game-tabs{scrollbar-gutter:stable;height:100%;min-height:0;overflow-y:auto}.game-tablist button{font-size:.98rem}.game-tabs{padding:18px}.game-content .choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.game-content .choice{min-height:42px;padding:9px 10px;font-size:.86rem}.game-content .choice small{font-size:.75rem}.game-content .remain{grid-column:1/-1}.game-content .stats{gap:6px;margin-top:8px}.game-content .stat{padding:5px;font-size:.72rem}.game-content .stat svg{width:30px;height:30px}.game-content .stat b{font-size:.9rem}.game-content .meter{margin-top:6px}.game-content .meter-label{font-size:.74rem}.game-content .year-dock{min-height:90px;margin-top:8px;padding:4px}.game-content .year-btn{width:82px;height:82px;font-size:.8rem;box-shadow:0 4px #a8352a}.game-content .year-btn small{font-size:.7rem}.game-content .year-btn svg{width:100%;height:100%;inset:0}}#root img,#root svg[data-game-art]{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.gameplay.game-shell .game-panel:has(>.choices){flex-direction:column;display:flex}.gameplay.game-shell .game-panel>.choices{flex:1}.gameplay.game-shell .game-content{align-items:stretch;height:0;margin-top:0}.gameplay.game-shell .game-tabs{height:auto;overflow:hidden}.gameplay.game-shell .current-event,.gameplay.game-shell .current-event .event-list{max-height:none}.gameplay.game-shell .year-btn{flex:auto;justify-content:center;align-items:center;width:100%;display:flex}.gameplay.game-shell .year-btn>span{padding-right:0}.gameplay.game-shell .top,.gameplay.game-shell .scene,.gameplay.game-shell .game-tabs,.gameplay.game-shell .current-event,.gameplay.game-shell .ongoing-events,.gameplay.game-shell .year-dock{position:relative}body:has(.gameplay){height:100dvh;overflow:hidden}#root:has(.gameplay){height:100dvh;overflow:hidden}#root:has(.gameplay){display:block}.gameplay.game-shell{--wine:#420f20;--ink:#371c12;--gold:#d9a344;--cream:#fff0ce;--paper:#fbefd5;width:100%;max-width:none;height:100dvh;max-height:none;color:var(--cream);background:radial-gradient(at 40% 0,#782b36 0,#0000 65%),repeating-linear-gradient(135deg,#ffffff02 0 2px,#0000 2px 9px),#380e1c;flex-direction:column;gap:12px;margin:0;padding:14px;font-size:14px;display:flex;overflow:hidden}.gameplay.game-shell *,.gameplay.game-shell :before,.gameplay.game-shell :after{box-sizing:border-box}.gameplay.game-shell button{font-family:inherit}.gameplay.game-shell .top,.gameplay.game-shell .game-tabs,.gameplay.game-shell .scene,.gameplay.game-shell .current-event,.gameplay.game-shell .ongoing-events,.gameplay.game-shell .year-dock{border:3px solid #d7a043;border-radius:12px;outline:1px solid #56220e;box-shadow:inset 0 0 0 2px #fff0a1,inset 0 0 0 5px #8b4f1c,0 3px #210813,0 5px 12px #17050c66}.gameplay.game-shell .top{z-index:5;background:linear-gradient(100deg,#541726,#2b0c16);flex:none;min-height:76px;margin:0;padding:10px 16px;position:relative}.gameplay.game-shell .top-main{grid-template-columns:minmax(180px,1.3fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(275px,1fr);align-items:center;gap:16px;display:grid}.gameplay.game-shell .company-name{min-width:0;position:relative}.gameplay.game-shell .company-name summary{cursor:pointer;color:#ffe9a3;text-shadow:0 2px #22030c;font:700 clamp(18px,1.7vw,29px)/1.2 Cambria,Georgia,serif;list-style:none}.gameplay.game-shell .company-name summary::-webkit-details-marker{display:none}.gameplay.game-shell .company-name summary .company-title{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gameplay.game-shell .company-full{border:2px solid var(--gold);width:min(380px,85vw);max-height:40vh;color:var(--ink);overflow-wrap:anywhere;background:#fff0d0;border-radius:8px;padding:16px;position:absolute;top:calc(100% + 18px);left:0;overflow:auto;box-shadow:0 5px 15px #0007}.gameplay.game-shell .company-full span{margin-top:6px;display:block}.gameplay.game-shell .company-name summary{align-items:center;gap:12px;display:flex}.gameplay.game-shell .company-title{min-width:0}.gameplay.game-shell .company-crest{clip-path:polygon(50% 0,100% 17%,94% 80%,50% 100%,6% 80%,0 17%);background:linear-gradient(130deg,#ffe79b,#8c491a 45%,#fbd579 60%,#8e4b19);flex:0 0 48px;place-items:center;height:55px;padding:4px;display:grid}.gameplay.game-shell .company-crest .ev-icon{stroke:#ffe18a;fill:#b77a23;background:#5a1b26;width:36px;height:42px;padding:4px;animation:none}.gameplay.game-shell .rail-controls svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.gameplay.game-shell .hud-value{border-left:1px solid #a27135;flex-direction:column;gap:4px;min-width:0;padding-left:14px;display:flex}.gameplay.game-shell .hud-value small{color:#e5c892;font:16px Cambria,Georgia,serif}.gameplay.game-shell .hud-value b{overflow-wrap:anywhere;font:700 clamp(16px,1.5vw,25px)/1.15 Cambria,Georgia,serif}.gameplay.game-shell .top-tools{grid-template-columns:auto auto auto 44px;justify-content:end;align-items:center;gap:6px 10px;font-weight:700;display:grid}.gameplay.game-shell .top-tools>.up,.gameplay.game-shell .top-tools>.down{text-align:right;grid-area:2/1/auto/4;font-size:13px}.gameplay.game-shell .up{color:#267347}.gameplay.game-shell .top .up{color:#a7efc1}.gameplay.game-shell .down{color:#b33124}.gameplay.game-shell .top .down{color:#ffafa2}.gameplay.game-shell .rank{border:1px solid var(--gold);color:#ffe8a0;white-space:nowrap;background:#261007;border-radius:20px;padding:4px 8px;font:700 16px Cambria,Georgia,serif}.gameplay.game-shell .top-tools .btn{color:#ffe5a0;background:#7d2731;border:2px solid #c48a3f;grid-area:1/4/3;width:44px;min-height:44px;padding:0;box-shadow:inset 0 0 0 2px #a4533a,0 3px #280713}.gameplay.game-shell .game-content{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:14px;min-height:0;display:grid}.gameplay.game-shell .game-stage{flex-direction:column;gap:12px;min-width:0;min-height:0;display:flex}.gameplay.game-shell .scene{background:#5b251e;flex:1 1 0;min-height:90px;margin:0;padding:5px;overflow:hidden}.gameplay.game-shell .scene img{object-fit:cover;border-radius:5px;width:100%;height:100%;display:block}.gameplay.game-shell h2{margin:0;font:700 25px/1.15 Cambria,Georgia,serif}.gameplay.game-shell .current-event{min-height:110px;color:var(--ink);background:radial-gradient(#fff9e9,#ead4a6);flex-direction:column;flex:0 170px;padding:0;display:flex;overflow:hidden}.gameplay.game-shell .current-event>h2,.gameplay.game-shell .ongoing-events>h2{color:#ffedba;text-shadow:0 2px #230912;background:linear-gradient(#6a2430,#3a0b19);border:2px solid #d19b43;border-radius:0 0 10px;flex:none;align-self:flex-start;margin:-1px 0 0 -1px;padding:5px 20px 6px;font-size:22px}.gameplay.game-shell .current-event .quiet{text-align:center;margin:auto;padding:16px;font:700 18px Cambria,Georgia,serif}.gameplay.game-shell .current-event .event-list{scrollbar-width:thin;scrollbar-color:#ad7530 #f5e4c2;flex-direction:column;flex:auto;min-height:0;max-height:none;padding:8px 12px;display:flex;overflow:auto}.gameplay.game-shell .event-card{text-align:left;width:100%;min-height:60px;color:var(--ink);background:#fff7e2;border:1px solid #bd9855;border-radius:7px;flex:none;gap:12px;padding:8px 12px}.gameplay.game-shell .event-card .event-copy{overflow-wrap:anywhere;min-width:0}.gameplay.game-shell .event-card .event-copy b{font:700 18px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .event-card .event-copy>span{font-size:13px}.gameplay.game-shell .event-card .event-copy>.event-body{color:#442b1d;white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid #d6bc8d;margin-top:4px;padding-top:6px;font-family:Be Vietnam Pro,sans-serif;font-size:13px;font-weight:400;line-height:1.55;display:block}.gameplay.game-shell .event-card .ev-icon{flex:none;width:40px;height:40px}.gameplay.game-shell .ongoing-events{background:linear-gradient(135deg,#5c1e2a,#350b19);flex:none;min-height:164px;padding:0 12px 12px;position:relative}.gameplay.game-shell .ongoing-events h2{margin-left:-12px;font-size:20px;display:table}.gameplay.game-shell .event-count{color:#42140b;min-width:25px;height:25px;text-shadow:none;background:#d89d36;border-radius:50%;place-items:center;margin-left:7px;font-size:18px;display:inline-grid}.gameplay.game-shell .ongoing-rail{scroll-snap-type:x mandatory;scrollbar-width:thin;gap:8px;min-width:0;padding:8px 1px 3px;display:flex;overflow-x:auto}.gameplay.game-shell .ongoing-rail>.quiet{color:#f0d9ad;margin:25px auto;font:17px Cambria,Georgia,serif}.gameplay.game-shell .ongoing-card{min-width:165px;color:var(--ink);scroll-snap-align:start;background:linear-gradient(115deg,#fff6df,#efdbb6);border:2px solid #c99439;border-radius:8px;flex:0 0 calc(33.3333% - 5.33333px);grid-template-columns:36px 1fr;align-items:center;gap:5px 8px;padding:10px;display:grid;box-shadow:inset 0 0 0 2px #ffe8a3}.gameplay.game-shell .ongoing-card .ev-icon{grid-row:1/4;width:32px;height:32px}.gameplay.game-shell .ongoing-card{text-align:left;cursor:pointer}.gameplay.game-shell .event-detail-dialog{width:min(480px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ink);background:#fff0d1;border:3px solid #d6a448;border-radius:12px;padding:24px;overflow:auto;box-shadow:inset 0 0 0 2px #ffe6a0,0 8px 30px #0007}.gameplay.game-shell .event-detail-dialog::backdrop{background:#210511aa}.gameplay.game-shell .event-detail-dialog h2{color:#542018;width:auto;text-shadow:none;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;margin:0 0 14px;padding:0;font:700 clamp(18px,2.2vw,24px)/1.35 Cambria,Georgia,serif;display:block}.gameplay.game-shell .event-detail-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;font-family:Be Vietnam Pro,sans-serif;font-size:14px;font-weight:400;line-height:1.6}.gameplay.game-shell .event-detail-dialog small{color:#66503d;font:400 12px/1.5 Be Vietnam Pro,sans-serif;display:block}.gameplay.game-shell .event-detail-dialog .btn{min-height:44px;margin:20px 0 0 auto;display:block}.gameplay.game-shell .ongoing-card b{overflow-wrap:anywhere;font:700 14px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .ongoing-card span,.gameplay.game-shell .ongoing-card small{font-size:11px}.gameplay.game-shell .rail-controls{gap:4px;display:flex;position:absolute;top:3px;right:8px}.gameplay.game-shell .rail-controls button{border:1px solid var(--gold);color:#ffe9aa;cursor:pointer;background:#6d222b;border-radius:50%;width:32px;height:32px;font-size:24px}.gameplay.game-shell .game-workspace{flex-direction:column;gap:10px;min-width:0;min-height:0;display:flex}.gameplay.game-shell .game-tabs{background:linear-gradient(125deg,#5e1d2a,#310b19);flex-direction:column;flex:1;gap:6px;min-height:0;padding:6px;display:flex;overflow:hidden}.gameplay.game-shell .game-tabs-heading{border-bottom:1px solid #d6a444;margin:0;padding:4px 16px 8px}.gameplay.game-shell .game-tabs-heading h2{color:#ffedbb;font-size:30px}.gameplay.game-shell .game-tablist{border:0;flex:none;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:0;padding:0;display:grid;overflow:visible}.gameplay.game-shell .game-tablist button{color:#fff0d4;white-space:normal;background:linear-gradient(#61242e,#320c18);border:1px solid #ae7951;border-radius:7px;grid-column:span 2;min-width:0;min-height:44px;padding:6px;font:700 18px/1.15 Cambria,Georgia,serif;box-shadow:inset 0 0 0 2px #38121c}.gameplay.game-shell .game-tablist button:nth-child(n+4){grid-column:span 3;font-size:16px}.gameplay.game-shell .game-tablist button.on{color:#fff7d8;background:linear-gradient(#f28a27,#ae2e12);border:2px solid #ffdf78;box-shadow:inset 0 0 0 2px #bd7629,0 0 0 1px #6c3211}.gameplay.game-shell .risk-dot{background:#ff8b1c;border:1px solid #ffce52;border-radius:50%;width:9px;height:9px;margin-left:7px;display:inline-block}.gameplay.game-shell .game-panel{min-height:0;color:var(--ink);scrollbar-width:thin;scrollbar-color:#b77c2e #ead6af;background:radial-gradient(at 40% 20%,#fff8e9,#eedbb6);border:2px solid #ce9b45;border-radius:7px;flex:1;padding:10px;overflow:auto}.gameplay.game-shell .game-panel>.meta{text-align:center;color:#684b30;margin:0 0 8px;font-size:12px}.gameplay.game-shell .choices{flex-direction:column;gap:8px;display:flex}.gameplay.game-shell .choice.btn{width:100%;min-height:86px;color:var(--ink);text-align:left;background:linear-gradient(#fff9e7,#f5e4c0);border:1px solid #cda253;border-radius:8px;flex:1 0 auto;align-items:center;gap:10px;padding:6px 8px;transition:background .15s,transform .15s;display:flex;box-shadow:inset 0 0 0 2px #fff9e5,0 2px #b79a66}.gameplay.game-shell .choice:not(:disabled):hover{background:linear-gradient(#fff7c4,#fbdc8e);border-color:#a35917}.gameplay.game-shell .choice:not(:disabled):active{transform:translateY(2px)}.gameplay.game-shell .choice:disabled{opacity:.57;cursor:not-allowed}.gameplay.game-shell .upgrade-art{background:linear-gradient(145deg,#efd5a0,#d6bd86);border:1px solid #bc9555;border-radius:5px;flex:none;place-items:center;width:78px;height:68px;display:grid;overflow:hidden}.gameplay.game-shell .upgrade-art svg{width:54px;height:54px}.gameplay.game-shell .choice .choice-art{object-fit:cover;width:100%;height:100%}.gameplay.game-shell .choice-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.gameplay.game-shell .choice-label{overflow-wrap:anywhere;font:700 17px/1.15 Cambria,Georgia,serif}.gameplay.game-shell .choice-benefit{font-size:12px;font-weight:500;line-height:1.35}.gameplay.game-shell .choice-current{color:#765538;font-size:11px;font-weight:500}.gameplay.game-shell .choice-price{text-align:center;background:linear-gradient(#fff6d5,#ffd16f);border:1px solid #c58b30;border-radius:8px;flex:0 0 104px;align-self:center;padding:8px 5px;font:14px Cambria,Georgia,serif}.gameplay.game-shell .year-dock{background:linear-gradient(110deg,#491821,#280c17);flex:none;justify-content:flex-end;align-items:center;min-height:78px;margin:0;padding:7px;display:flex}.gameplay.game-shell .year-btn,.gameplay.game-shell .year-finish.btn{color:#fff2b9;cursor:pointer;background:linear-gradient(#ffb248 0,#ed5e16 20%,#c3330c 65%,#a72b0d);border:2px solid #ffe29a;border-radius:9px;width:100%;max-width:none;height:60px;min-height:60px;padding:0 72px 0 24px;font:700 29px Cambria,Georgia,serif;position:relative;box-shadow:inset 0 0 0 2px #9b350e,inset 0 5px #ffffff35,0 4px #63210e}.gameplay.game-shell .year-btn:disabled{opacity:.65;cursor:not-allowed}.gameplay.game-shell .year-btn>span{white-space:nowrap;display:block;position:static;transform:none}.gameplay.game-shell .year-btn>span small{text-align:center;width:40px;font:700 16px Cambria,Georgia,serif;position:absolute;top:20px;right:16px}.gameplay.game-shell .year-btn svg.year-perimeter{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.gameplay.game-shell .year-perimeter-track{stroke:#7e2e0e;stroke-width:3px;fill:none}.gameplay.game-shell .year-perimeter-progress{stroke:#ffe4a0;stroke-width:3px;stroke-linecap:round;fill:none;transition:stroke-dashoffset .2s linear}.gameplay.game-shell .year-finish.btn{flex-direction:column;justify-content:center;align-items:center;padding:0 12px;font-size:25px;display:flex}.gameplay.game-shell .year-finish small{font:13px sans-serif}.gameplay.game-shell .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 18px;display:grid}.gameplay.game-shell .stat{text-align:center;color:#5a3922;background:linear-gradient(#fff9e6,#edd7ac);border:1px solid #b58b43;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:140px;padding:14px 8px;font-size:13px;display:flex}.gameplay.game-shell .stat svg{width:44px;height:44px}.gameplay.game-shell .stat b{color:#77370f;overflow-wrap:anywhere;font:700 22px Cambria,Georgia,serif}.gameplay.game-shell .meter{background:#dac39d;height:14px}.gameplay.game-shell .meter span{background:#8b9d57}.gameplay.game-shell .meter-label{color:#735439;font-size:13px}.gameplay.game-shell .governance-risk{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:18px;margin:0;padding:12px;display:flex}.gameplay.game-shell .governance-risk header b{font:700 25px Cambria,Georgia,serif}.gameplay.game-shell .governance-metrics{grid-template-columns:1fr 1fr;gap:12px;display:grid}.gameplay.game-shell .governance-metrics>div{background:#fff8e5;border:1px solid #c29a55;border-radius:8px;padding:16px}.gameplay.game-shell .governance-metrics strong{color:#a3351e;margin:10px 0;font:700 35px Cambria,Georgia,serif}.gameplay.game-shell .restructuring-status{background:#f4dfae;border:1px solid #c49c52;border-radius:8px;flex-direction:column;gap:8px;padding:16px;display:flex}.gameplay.game-shell .governance-risk p{margin:0;font-size:14px}.gameplay.game-shell .tab-panel{max-height:none;overflow:visible}.gameplay.game-shell .year-row{color:#4c2c1a;background:#fff8e6;border:1px solid #d3b27c}.gameplay.game-shell .badge-row{grid-column:auto}.gameplay.game-shell .banner,.gameplay.game-shell>.warn{flex:none;margin:0;padding:7px 14px;font-size:13px}@media (width>=1100px) and (height>=781px){.gameplay.game-shell .upgrade-art{width:clamp(98px,9vw,144px);height:clamp(65px,8vh,84px)}.gameplay.game-shell .choice.btn{padding:5px 8px}.gameplay.game-shell .choice-copy{gap:3px}.gameplay.game-shell .choices{gap:6px}.gameplay.game-shell .choice-label{font-size:clamp(18px,1.3vw,22px)}.gameplay.game-shell .choice-benefit{font-size:clamp(12px,.9vw,14px)}.gameplay.game-shell .choice-current{font-size:clamp(11px,.8vw,13px)}.gameplay.game-shell .current-event .event-card{min-height:88px}.gameplay.game-shell .current-event .event-copy b{font-size:22px}.gameplay.game-shell .current-event .event-copy>span{font-size:15px}.gameplay.game-shell .current-event .ev-icon{width:50px;height:50px}}@media (width>=1100px) and (height<=780px){.gameplay.game-shell{gap:8px;padding:10px;font-size:13px}.gameplay.game-shell .top{min-height:66px;padding:6px 12px}.gameplay.game-shell .game-tabs-heading h2{font-size:25px}.gameplay.game-shell .game-tablist button{min-height:38px;font-size:16px}.gameplay.game-shell .game-tablist button:nth-child(n+4){font-size:14px}.gameplay.game-shell .game-panel{padding:7px}.gameplay.game-shell .choice.btn{gap:8px;min-height:73px}.gameplay.game-shell .choice-label{font-size:15px}.gameplay.game-shell .upgrade-art{width:60px;height:59px}.gameplay.game-shell .choice-benefit{font-size:11px}.gameplay.game-shell .choice-current{font-size:10px}.gameplay.game-shell .choices{gap:6px}.gameplay.game-shell .current-event{flex-basis:130px}.gameplay.game-shell .ongoing-events{min-height:146px}.gameplay.game-shell .year-dock{min-height:68px}.gameplay.game-shell .year-btn{height:52px;min-height:52px}.gameplay.game-shell .year-btn>span small{top:17px;right:12px}}@media (width<=1099px){.gameplay.game-shell .top-main{grid-template-columns:minmax(0,1.3fr) 1fr 1fr;gap:8px}.gameplay.game-shell .top-tools{grid-column:1/-1;justify-content:space-between;display:flex}.gameplay.game-shell .game-content{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:10px}.gameplay.game-shell .scene{min-height:0}.gameplay.game-shell .game-tabs-heading h2{font-size:25px}.gameplay.game-shell .choice.btn{flex-wrap:wrap;gap:7px}.gameplay.game-shell .choice-price{flex-basis:94px;margin-left:auto}.gameplay.game-shell .choice-copy{flex-basis:calc(100% - 90px)}.gameplay.game-shell .choice-benefit{font-size:12px}.gameplay.game-shell .choice-label{font-size:17px}.gameplay.game-shell .game-tablist button{font-size:16px}.gameplay.game-shell .game-tablist button:nth-child(n+4){font-size:14px}.gameplay.game-shell .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gameplay.game-shell .governance-metrics{grid-template-columns:1fr}}@media (width<=767px){.gameplay.game-shell{gap:8px;padding:8px}.gameplay.game-shell .top{min-height:100px;padding:8px 10px}.gameplay.game-shell .top-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.gameplay.game-shell .company-name{grid-column:1/-1;padding-right:0}.gameplay.game-shell .company-name summary{font-size:20px}.gameplay.game-shell .company-name summary .company-title{white-space:nowrap;text-overflow:ellipsis;display:block}.gameplay.game-shell .hud-value{border:0;padding:0}.gameplay.game-shell .hud-value small{font-size:12px}.gameplay.game-shell .hud-value b{font-size:17px}.gameplay.game-shell .top-tools{gap:6px;font-size:12px}.gameplay.game-shell .top-tools>.up,.gameplay.game-shell .top-tools>.down{font-size:11px}.gameplay.game-shell .rank{padding:3px 6px;font-size:13px}.gameplay.game-shell .top-tools .btn{width:35px;min-height:32px}.gameplay.game-shell .game-content{flex-direction:column;gap:8px;display:flex}.gameplay.game-shell .game-stage{flex:none;gap:7px}.gameplay.game-shell .scene{display:none}.gameplay.game-shell .current-event{flex:none;height:90px;min-height:0}.gameplay.game-shell .current-event>h2,.gameplay.game-shell .ongoing-events>h2{padding:4px 12px;font-size:17px}.gameplay.game-shell .current-event .quiet{padding:8px;font-size:15px}.gameplay.game-shell .current-event .event-list{padding:4px 7px}.gameplay.game-shell .event-card{min-height:44px;padding:5px 8px}.gameplay.game-shell .event-card .event-copy b{font-size:15px}.gameplay.game-shell .event-card .event-copy>span{font-size:11px}.gameplay.game-shell .event-card .ev-icon{width:28px;height:28px}.gameplay.game-shell .ongoing-events{min-height:0;padding-bottom:6px}.gameplay.game-shell .ongoing-rail{padding:5px 0 0}.gameplay.game-shell .ongoing-card{gap:3px 5px;min-width:155px;padding:7px}.gameplay.game-shell .ongoing-card b{font-size:12px}.gameplay.game-shell .ongoing-card .ev-icon{width:26px;height:26px}.gameplay.game-shell .ongoing-card span,.gameplay.game-shell .ongoing-card small{font-size:10px}.gameplay.game-shell .ongoing-rail>.quiet{margin:9px auto;font-size:14px}.gameplay.game-shell .event-count{min-width:19px;height:19px;font-size:14px}.gameplay.game-shell .game-workspace{flex:1;gap:7px}.gameplay.game-shell .game-tabs{gap:4px;padding:4px}.gameplay.game-shell .game-tabs-heading{padding:2px 10px 5px}.gameplay.game-shell .game-tabs-heading h2{font-size:22px}.gameplay.game-shell .game-tablist button{min-height:36px;padding:5px 3px;font-size:15px}.gameplay.game-shell .game-tablist button:nth-child(n+4){font-size:13px}.gameplay.game-shell .game-panel{padding:7px}.gameplay.game-shell .choice.btn{min-height:110px;padding:7px}.gameplay.game-shell .choice-copy{flex-basis:calc(100% - 75px)}.gameplay.game-shell .upgrade-art{width:61px;height:61px}.gameplay.game-shell .choice-label{font-size:17px}.gameplay.game-shell .choice-price{flex-basis:auto;align-items:center;gap:7px;padding:4px 8px;font-size:12px;display:flex}.gameplay.game-shell .choice-price b{margin:0;font-size:16px}.gameplay.game-shell .choice-benefit{font-size:12px}.gameplay.game-shell .year-dock{min-height:70px;padding:6px}.gameplay.game-shell .year-btn{height:54px;min-height:54px;font-size:27px}.gameplay.game-shell .year-btn>span small{top:18px;right:12px}.gameplay.game-shell .stats{gap:8px}.gameplay.game-shell .stat{min-height:112px}.gameplay.game-shell .rail-controls{top:0}.gameplay.game-shell .rail-controls button{width:30px;height:28px}}@media (height<=700px) and (width<=767px){.gameplay.game-shell .current-event{height:72px}.gameplay.game-shell .ongoing-card{grid-template-columns:1fr;min-width:145px;padding:5px 8px}.gameplay.game-shell .ongoing-card .ev-icon{display:none}.gameplay.game-shell .top{min-height:0}.gameplay.game-shell .game-tabs-heading{display:none}.gameplay.game-shell .ongoing-rail>.quiet{margin:6px auto}}@media (height<=500px) and (width>=768px){.gameplay.game-shell{gap:6px;padding:6px}.gameplay.game-shell .top{min-height:50px;padding:5px 10px}.gameplay.game-shell .top-main{grid-template-columns:1.2fr 1fr 1fr 2fr}.gameplay.game-shell .top-tools{flex-wrap:wrap;grid-column:auto}.gameplay.game-shell .scene,.gameplay.game-shell .game-tabs-heading{display:none}.gameplay.game-shell .current-event{flex:1}.gameplay.game-shell .ongoing-events{min-height:130px}.gameplay.game-shell .year-dock{min-height:60px}.gameplay.game-shell .year-btn{height:44px;min-height:44px;font-size:24px}.gameplay.game-shell .year-btn>span small{top:13px;right:8px}}@media (prefers-reduced-motion:reduce){.gameplay.game-shell *,.gameplay.game-shell :before,.gameplay.game-shell :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=767px){.gameplay.game-shell .company-crest{display:none}.gameplay.game-shell .top{padding:7px 10px}.gameplay.game-shell .top-main{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px 6px}.gameplay.game-shell .company-name{grid-area:1/1/auto/5}.gameplay.game-shell .company-name summary{font-size:18px}.gameplay.game-shell .hud-value{grid-area:2/1/auto/4;gap:2px}.gameplay.game-shell .hud-value:nth-of-type(2){grid-column:4/7}.gameplay.game-shell .top-tools{display:contents}.gameplay.game-shell .top-tools .rank{text-align:center;grid-area:1/5;padding:4px;font-size:11px}.gameplay.game-shell .top-tools .btn{grid-area:1/6;justify-self:end;width:30px;min-height:28px}.gameplay.game-shell .hud-year{grid-area:3/1/auto/3}.gameplay.game-shell .top-tools>span:nth-child(2){grid-area:3/3/auto/4;font-size:11px}.gameplay.game-shell .top-tools>.up,.gameplay.game-shell .top-tools>.down{grid-area:3/4/auto/7}.gameplay.game-shell .ongoing-rail{max-height:98px}.gameplay.game-shell .ongoing-card{grid-template-columns:1fr;gap:3px;min-width:155px;min-height:80px;padding:6px 8px}.gameplay.game-shell .ongoing-card .ev-icon{display:none}.gameplay.game-shell .ongoing-card b{font-size:13px}}@media (height<=700px) and (width<=767px){.gameplay.game-shell .current-event{height:83px}.gameplay.game-shell .game-tablist button{min-height:35px}.gameplay.game-shell .game-panel>.meta{display:none}.gameplay.game-shell .ongoing-card{min-height:72px}.gameplay.game-shell .ongoing-rail{scrollbar-width:none;max-height:64px}.gameplay.game-shell .ongoing-card{grid-template-columns:1fr auto;min-height:56px;padding:5px 8px}.gameplay.game-shell .ongoing-card b{-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-column:1/-1;font-size:12px;display:-webkit-box;overflow:hidden}.gameplay.game-shell .ongoing-card span,.gameplay.game-shell .ongoing-card small{font-size:10px}.gameplay.game-shell .year-dock{min-height:62px}.gameplay.game-shell .year-btn{height:46px;min-height:46px}.gameplay.game-shell .year-btn>span small{top:13px;right:8px}.gameplay.game-shell .choice.btn{grid-template-columns:48px minmax(0,1fr);gap:4px 7px;min-height:105px;padding:6px;display:grid}.gameplay.game-shell .upgrade-art{grid-row:1/3;width:48px;height:52px}.gameplay.game-shell .choice-copy{gap:3px}.gameplay.game-shell .choice-label{font-size:16px}.gameplay.game-shell .choice-benefit{font-size:11px;line-height:1.25}.gameplay.game-shell .choice-current{font-size:10px;line-height:1.2}.gameplay.game-shell .choice-price{grid-column:2;justify-self:end;padding:3px 7px;font-size:11px}.gameplay.game-shell .choice-price b{font-size:14px}}@media (width>=1100px) and (height<=780px){.gameplay.game-shell .choice.btn{min-height:62px;padding:4px 7px}.gameplay.game-shell .upgrade-art{width:50px;height:50px}.gameplay.game-shell .choice-copy{gap:3px}.gameplay.game-shell .choice-price{padding:5px;font-size:12px}.gameplay.game-shell .choice-price b{margin-top:3px;font-size:18px}}.gameplay.game-shell .trait-status-strip{color:#fff0ce;scrollbar-width:thin;background:#350b19;border:1px solid #b7832c;border-radius:8px;flex:0 0 44px;align-items:center;gap:8px;min-width:0;padding:3px 6px;display:flex;overflow:auto hidden}.gameplay.game-shell .trait-status-strip:focus-visible{outline-offset:2px;outline:2px solid #ffe8a3}.gameplay.game-shell .trait-status-empty{opacity:.8;font-size:13px}.gameplay.game-shell .trait-status-item{color:#304521;white-space:nowrap;background:#e9edc9;border:1px solid #8eae68;border-radius:6px;flex:none;align-items:center;gap:6px;padding:4px 8px;font-size:13px;animation:.35s ease-out trait-status-arrive,.8s ease-in-out 3 trait-status-emphasis;display:flex}.gameplay.game-shell .trait-status-item.is-bad{color:#8b2922;background:#ffe2c9;border-color:#d97459}.gameplay.game-shell .trait-status-item .ev-icon{flex:none;width:22px;height:22px}@keyframes trait-status-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes trait-status-emphasis{50%{border-color:#fff0ce;box-shadow:inset 0 0 0 1px #fff0ce}}@media (prefers-reduced-motion:reduce){.gameplay.game-shell .trait-status-item{animation:none}}.gameplay.game-shell .investment-quantity{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:6px;display:grid}.gameplay.game-shell .investment-quantity button{color:#fff1d6;cursor:pointer;background:#4a1824;border:1px solid #d6a447;border-radius:6px;min-width:0;min-height:36px;padding:5px;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2}.gameplay.game-shell .investment-quantity button[aria-pressed=true]{background:#b83f12;border-color:#ffe292}.gameplay.game-shell .investment-quantity button:disabled{opacity:.5;cursor:default}.gameplay.game-shell .investment-help{color:#754322;margin:0 0 6px;font-size:11px}.gameplay.game-shell{gap:8px;padding:10px}.gameplay.game-shell .top{min-height:0;padding:8px 12px}.gameplay.game-shell .game-content{grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:10px}.gameplay.game-shell .game-stage{gap:8px;overflow:visible}.gameplay.game-shell .scene{aspect-ratio:16/10;flex:none;height:auto;min-height:0;max-height:240px;padding:4px}.gameplay.game-shell .game-workspace{gap:0}.gameplay.game-shell .game-tabs{gap:5px;padding:5px}.gameplay.game-shell .game-tabs-heading{padding:3px 8px 6px;display:flex}.gameplay.game-shell .game-tabs-heading h2{font-size:20px}.gameplay.game-shell .game-tablist{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;overflow:visible}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button:nth-child(n+4){white-space:nowrap;min-height:36px;padding:5px 3px;font-size:13px;line-height:1.2}.gameplay.game-shell .risk-dot{width:5px;height:5px;margin-left:3px}.gameplay.game-shell .game-panel{overscroll-behavior:contain;scrollbar-gutter:stable;padding:7px}.gameplay.game-shell .game-panel>.meta{margin:0 0 6px;font-size:11px}.gameplay.game-shell .game-panel .tab-panel,.gameplay.game-shell .game-panel .event-list,.gameplay.game-shell .game-panel .year-ledger{height:auto;max-height:none;overflow:visible}.gameplay.game-shell .game-panel .event-card{flex:none}.gameplay.game-shell .choices{background:0 0;flex:none;gap:6px;padding:0}.gameplay.game-shell .choice.btn{grid-template-columns:56px minmax(0,1fr) 80px;gap:8px;min-height:78px;padding:6px;display:grid}.gameplay.game-shell .upgrade-art{grid-row:auto;width:56px;height:52px}.gameplay.game-shell .choice-copy{gap:3px}.gameplay.game-shell .choice-label{font:700 15px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .choice-benefit{font-size:12px;line-height:1.35}.gameplay.game-shell .choice-current{font-size:11px;line-height:1.3}.gameplay.game-shell .choice-price{text-align:center;color:#fff5db;background:linear-gradient(#f79332,#c83c14);border:1px solid #e9a34f;grid-column:auto;justify-self:stretch;margin:0;padding:6px 4px;font-size:11px;display:block;box-shadow:inset 0 1px #ffdaa0,0 2px #8b2b11}.gameplay.game-shell .choice-price b{margin-top:3px;font-size:17px;display:block}.gameplay.game-shell .year-dock{min-height:64px;padding:6px}.gameplay.game-shell .year-btn,.gameplay.game-shell .year-finish.btn{height:50px;min-height:50px;font-size:26px}.gameplay.game-shell .year-btn>span small{font-size:15px;top:16px;right:12px}.gameplay.game-shell .year-finish small{font-size:12px}.gameplay.game-shell .trait-status-strip{border-radius:7px;flex:none;height:30px;padding:2px 4px}.gameplay.game-shell .trait-status-item{gap:5px;padding:2px 6px;font-size:12px}.gameplay.game-shell .trait-status-item .ev-icon{width:18px;height:18px}.gameplay.game-shell .trait-status-item small{font-size:11px}.gameplay.game-shell .trait-status-strip{order:0}.gameplay.game-shell .scene{order:1}.gameplay.game-shell .event-overview{background:linear-gradient(120deg,#5e1d2a,#310b19);border:2px solid #d7a043;border-radius:10px;flex:none;order:2;min-width:0;padding:4px;overflow:hidden;box-shadow:inset 0 0 0 1px #fff0a1,0 3px #210813}.gameplay.game-shell .event-overview-heading{grid-template-columns:auto 1fr 1.2fr;align-items:center;gap:4px;padding:0 2px 4px;display:grid}.gameplay.game-shell .event-overview-heading>h2{color:#ffedba;font-size:18px}.gameplay.game-shell .event-overview-heading button,.gameplay.game-shell .event-group-controls button{color:#ffedba;white-space:nowrap;background:#3e111d;border:1px solid #ae7951;border-radius:6px;min-width:0;min-height:36px;padding:4px;font:700 12px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .event-overview-heading button[aria-pressed=true],.gameplay.game-shell .event-group-controls button[aria-pressed=true]{color:#fff8dc;background:linear-gradient(#ec8125,#a93013);border-color:#f1c563}.gameplay.game-shell .event-overview-heading button b{color:#46180f;background:#e2b14b;border-radius:50%;place-items:center;min-width:19px;height:19px;margin-left:3px;display:inline-grid}.gameplay.game-shell .event-rows{flex-direction:column;min-width:0;display:flex}.gameplay.game-shell .event-row{color:#3c2418;text-align:left;cursor:pointer;background:linear-gradient(110deg,#fff7e4,#f5e4bf);border:0;border-bottom:1px solid #d9bd86;grid-template-columns:24px minmax(0,1fr) minmax(45px,26%) 10px;align-items:center;gap:7px;width:100%;min-width:0;min-height:48px;padding:6px 8px;display:grid}.gameplay.game-shell .event-row .ev-icon{width:24px;height:24px}.gameplay.game-shell .event-row-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.gameplay.game-shell .event-row-copy b{text-overflow:ellipsis;white-space:nowrap;font:700 14px/1.25 Cambria,Georgia,serif;overflow:hidden}.gameplay.game-shell .event-row-copy>span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;overflow:hidden}.gameplay.game-shell .event-row small{color:#69503a;overflow-wrap:anywhere;font:400 11px/1.3 Be Vietnam Pro,sans-serif}.gameplay.game-shell .event-row.bad .ev-icon{color:#b33124}.gameplay.game-shell .event-row.good .ev-icon{color:#477037}.gameplay.game-shell .event-chevron,.gameplay.game-shell .event-show-all svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:16px}.gameplay.game-shell .event-show-all{color:#fff7dc;cursor:pointer;background:linear-gradient(#ed7b23,#b33513);border:1px solid #f4c270;border-radius:6px;justify-content:space-between;align-items:center;width:100%;min-height:36px;margin-top:4px;padding:5px 12px;font:700 14px Cambria,Georgia,serif;display:flex}.gameplay.game-shell .event-rows .quiet{color:#68503c;background:#fff0d1;margin:0;padding:12px;font-size:12px}.gameplay.game-shell .event-group-controls{grid-template-columns:1fr 1.3fr 1fr;gap:4px;margin-bottom:7px;display:grid}.gameplay.game-shell .inline-result{background:#fff3d4;border:1px solid #c89845;border-radius:7px;margin:0 0 8px;padding:10px}.gameplay.game-shell .inline-result h3{margin:0 0 6px;font:700 20px Cambria,Georgia,serif}.gameplay.game-shell .inline-result p{margin:5px 0 0;font-size:12px;line-height:1.5}.gameplay.game-shell .stats{gap:6px}.gameplay.game-shell .stat{min-height:90px;padding:8px;font-size:12px}.gameplay.game-shell .stat b{font-size:18px}.gameplay.game-shell .governance-risk{padding:10px;font-size:12px}.gameplay.game-shell .year-row header{font-size:13px}.gameplay.game-shell .year-row li{font-size:12px}@media (width>=1200px){.gameplay.game-shell .game-tablist{grid-template-columns:.7fr 1fr .65fr 1.2fr 1.45fr}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button:nth-child(n+4){grid-column:auto}}@media (width>=700px){.gameplay.game-shell .company-name,.gameplay.game-shell .hud-value,.gameplay.game-shell .hud-value:nth-of-type(2){grid-area:auto}}@media (width<=1199px){.gameplay.game-shell .top-main{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:6px 12px}.gameplay.game-shell .top-tools{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.gameplay.game-shell .top-tools>.up,.gameplay.game-shell .top-tools>.down{font-size:12px}.gameplay.game-shell .company-name summary{gap:6px;font-size:17px}.gameplay.game-shell .company-name summary .company-title{white-space:nowrap;text-overflow:ellipsis;display:block}.gameplay.game-shell .company-crest{flex-basis:28px;height:32px}.gameplay.game-shell .company-crest .ev-icon{width:23px;height:27px;padding:2px}.gameplay.game-shell .hud-value{gap:2px;padding-left:8px}.gameplay.game-shell .hud-value small{font-size:12px}.gameplay.game-shell .hud-value b{font-size:16px}.gameplay.game-shell .rank{padding:3px 6px;font-size:12px}.gameplay.game-shell .top-tools .btn{width:44px;min-height:36px}.gameplay.game-shell .game-content{grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);display:grid}.gameplay.game-shell .game-stage{flex-direction:column;display:flex}.gameplay.game-shell .scene{aspect-ratio:16/10;max-height:190px;display:block}.gameplay.game-shell .game-tabs-heading h2{font-size:18px}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button:nth-child(n+4){font-size:12px}.gameplay.game-shell .choice.btn{grid-template-columns:46px minmax(0,1fr) 70px;gap:6px;min-height:74px}.gameplay.game-shell .upgrade-art{width:46px;height:46px}.gameplay.game-shell .choice-label{font-size:14px}.gameplay.game-shell .choice-benefit{font-size:12px}.gameplay.game-shell .choice-current{font-size:11px}.gameplay.game-shell .choice-price b{font-size:15px}.gameplay.game-shell .event-overview-heading{grid-template-columns:1fr 1.2fr}.gameplay.game-shell .event-overview-heading>h2{grid-column:1/-1;padding:3px 5px;font-size:16px}.gameplay.game-shell .event-row{grid-template-columns:20px minmax(0,1fr) 10px;gap:5px}.gameplay.game-shell .event-row .ev-icon{width:20px;height:20px}.gameplay.game-shell .event-row small{grid-column:2}.gameplay.game-shell .event-row .event-chevron{grid-area:1/3/3}.gameplay.game-shell .event-row-copy b{font-size:13px}}@media (width<=699px){.gameplay.game-shell{padding:6px;padding-bottom:max(6px,env(safe-area-inset-bottom));gap:6px}.gameplay.game-shell .top{border-width:2px;padding:6px 8px}.gameplay.game-shell .top-main{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px 5px}.gameplay.game-shell .company-name{grid-area:1/1/auto/6}.gameplay.game-shell .company-name summary{font-size:15px}.gameplay.game-shell .company-crest{flex-basis:24px;height:28px}.gameplay.game-shell .company-crest .ev-icon{width:20px;height:24px}.gameplay.game-shell .hud-value{border:0;grid-area:2/span 3;padding:0}.gameplay.game-shell .hud-value b{font-size:16px}.gameplay.game-shell .hud-value small{font-size:11px}.gameplay.game-shell .top-tools{font-size:11px;display:contents}.gameplay.game-shell .top-tools .btn{grid-area:1/6;width:100%;height:30px;min-height:30px}.gameplay.game-shell .hud-year{white-space:nowrap;grid-area:3/1}.gameplay.game-shell .hud-clock,.gameplay.game-shell .top-ended{white-space:nowrap;text-align:center;grid-area:3/2/auto/4}.gameplay.game-shell .top-tools>.up,.gameplay.game-shell .top-tools>.down{text-align:right;white-space:nowrap;grid-area:3/4/auto/6;font-size:10px}.gameplay.game-shell .rank{text-align:center;grid-area:3/6;padding:2px 3px;font-size:10px}.gameplay.game-shell .top-tools .rank{grid-area:3/6}.gameplay.game-shell .top-tools>.hud-clock,.gameplay.game-shell .top-tools>.top-ended{grid-area:3/2/auto/4}.gameplay.game-shell .game-content{flex-direction:column;gap:6px;display:flex}.gameplay.game-shell .game-stage{flex:none;gap:5px}.gameplay.game-shell .scene{display:none}.gameplay.game-shell .trait-status-strip{height:26px}.gameplay.game-shell .trait-status-empty,.gameplay.game-shell .trait-status-item{font-size:11px}.gameplay.game-shell .trait-status-item small{font-size:10px}.gameplay.game-shell .game-workspace{flex:1}.gameplay.game-shell .event-overview{border-radius:8px;padding:3px}.gameplay.game-shell .event-overview-heading{grid-template-columns:auto 1fr 1.2fr;padding-bottom:3px}.gameplay.game-shell .event-overview-heading>h2{grid-column:auto;padding:0 3px;font-size:16px}.gameplay.game-shell .event-overview-heading button{min-height:30px;padding:3px;font-size:11px}.gameplay.game-shell .event-row{grid-template-columns:20px minmax(0,1fr) 10px;gap:3px 6px;min-height:44px;padding:4px 6px}.gameplay.game-shell .event-overview .event-row{grid-template-columns:20px minmax(0,1fr) minmax(44px,22%) 10px}.gameplay.game-shell .event-overview .event-row small{grid-area:1/3;font-size:10px;display:block}.gameplay.game-shell .event-overview .event-row .event-chevron{grid-area:1/4}.gameplay.game-shell .event-show-all{min-height:32px;margin-top:3px;font-size:13px}.gameplay.game-shell .game-tabs{border-width:2px;gap:4px;padding:4px}.gameplay.game-shell .game-tabs-heading{padding:2px 6px 4px}.gameplay.game-shell .game-tabs-heading h2{font-size:17px}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button:nth-child(n+4){min-height:32px;padding:4px 2px;font-size:12px}.gameplay.game-shell .game-panel{scrollbar-gutter:auto;padding:5px}.gameplay.game-shell .game-panel>.meta{display:none}.gameplay.game-shell .choices{gap:4px}.gameplay.game-shell .choice.btn{grid-template-columns:40px minmax(0,1fr) 65px;gap:5px;min-height:62px;padding:5px}.gameplay.game-shell .upgrade-art{width:40px;height:40px}.gameplay.game-shell .choice-label{font-size:13px}.gameplay.game-shell .choice-benefit{font-size:11px;line-height:1.3}.gameplay.game-shell .choice-current{font-size:10px;line-height:1.25}.gameplay.game-shell .choice-copy{gap:2px}.gameplay.game-shell .choice-price{padding:4px 2px;font-size:10px}.gameplay.game-shell .choice-price b{margin-top:2px;font-size:14px}.gameplay.game-shell .year-dock{border-width:2px;min-height:58px;padding:5px}.gameplay.game-shell .year-btn,.gameplay.game-shell .year-finish.btn{height:44px;min-height:44px;font-size:23px}.gameplay.game-shell .year-btn>span small{font-size:14px;top:12px;right:10px}.gameplay.game-shell .event-group-controls button{font-size:11px}}@media (width<=699px) and (height<=740px){.gameplay.game-shell .event-overview .event-row:nth-child(n+2){display:none}.gameplay.game-shell .trait-status-strip:has(.trait-status-empty){display:none}.gameplay.game-shell .top{padding:4px 7px}.gameplay.game-shell .top-main{gap:2px 4px}.gameplay.game-shell .hud-value small{font-size:10px}.gameplay.game-shell .hud-value b,.gameplay.game-shell .company-name summary{font-size:14px}.gameplay.game-shell .company-crest{display:none}.gameplay.game-shell .company-name summary{min-height:26px}.gameplay.game-shell .event-overview{grid-template-columns:minmax(0,1fr) auto;gap:3px;display:grid}.gameplay.game-shell .event-overview-heading{grid-area:1/1;grid-template-columns:1fr 1.2fr;padding:0}.gameplay.game-shell .event-overview-heading>h2{display:none}.gameplay.game-shell .event-overview>.event-rows{grid-area:2/1/auto/-1}.gameplay.game-shell .event-show-all{grid-area:1/2;gap:4px;min-height:30px;margin:0;padding:3px 5px;font-size:11px}}@media (width>=700px) and (height<=600px){.gameplay.game-shell{gap:6px;padding:6px}.gameplay.game-shell .top-main{grid-template-columns:minmax(0,1.5fr) 1fr 1fr}.gameplay.game-shell .top{padding:5px 8px}.gameplay.game-shell .top-tools{font-size:11px}.gameplay.game-shell .top-tools .btn{width:32px;height:26px;min-height:26px}.gameplay.game-shell .company-name summary{font-size:14px}.gameplay.game-shell .company-crest{display:none}.gameplay.game-shell .hud-value b{font-size:14px}.gameplay.game-shell .game-content{grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:6px}.gameplay.game-shell .scene{max-height:100px}.gameplay.game-shell .game-stage{gap:5px}.gameplay.game-shell .game-tablist{grid-template-columns:.7fr 1fr .65fr 1.2fr 1.45fr}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button:nth-child(n+4){grid-column:auto;min-height:32px;font-size:11px}.gameplay.game-shell .game-tabs-heading h2{font-size:16px}.gameplay.game-shell .game-tabs-heading{padding:0 5px 4px}.gameplay.game-shell .choice.btn{grid-template-columns:36px minmax(0,1fr) 65px;min-height:54px;padding:4px}.gameplay.game-shell .choices{gap:4px}.gameplay.game-shell .upgrade-art{width:36px;height:36px}.gameplay.game-shell .choice-label{font-size:13px}.gameplay.game-shell .choice-benefit{font-size:11px}.gameplay.game-shell .choice-current{font-size:10px}.gameplay.game-shell .game-panel>.meta{display:none}.gameplay.game-shell .year-dock{min-height:56px;padding:4px}.gameplay.game-shell .year-btn,.gameplay.game-shell .year-finish.btn{height:44px;min-height:44px;font-size:23px}.gameplay.game-shell .year-btn>span small{top:12px}.gameplay.game-shell .game-stage:has(.event-overview .event-row:nth-child(3)) .scene{display:none}}@media (height<=480px){.gameplay.game-shell .scene,.gameplay.game-shell .event-overview .event-row:nth-child(n+2){display:none}.gameplay.game-shell .trait-status-strip{height:26px}}.gameplay.game-shell .choice-price b{white-space:nowrap;letter-spacing:-.2px;font-size:clamp(11px,1vw,14px)}.gameplay.game-shell{--painted-panel:url(/assets/ui/painted-frames-v1/panel.svg);--painted-inset:url(/assets/ui/painted-frames-v1/inset.svg);--painted-control:url(/assets/ui/painted-frames-v1/control.svg)}.gameplay.game-shell .top,.gameplay.game-shell .scene,.gameplay.game-shell .game-tabs,.gameplay.game-shell .event-overview,.gameplay.game-shell .year-dock{border-style:solid;border-color:#0000;border-image-source:var(--painted-panel);box-shadow:none;border-image-slice:112;border-image-width:20px;border-image-outset:0;border-image-repeat:stretch;outline:0}.gameplay.game-shell .game-panel,.gameplay.game-shell .choice.btn,.gameplay.game-shell .inline-result,.gameplay.game-shell .stat,.gameplay.game-shell .year-row,.gameplay.game-shell .bankrupt-restart,.gameplay.game-shell .event-card,.gameplay.game-shell .event-detail-dialog,.gameplay.game-shell .company-full,.gameplay.game-shell .governance-risk,.gameplay.game-shell .governance-metrics>div,.gameplay.game-shell .restructuring-status,.gameplay.game-shell .upgrade-art,.gameplay.game-shell .rank,.gameplay.game-shell .badge.trait,.gameplay.game-shell .trait-status-item,.gameplay.game-shell .trait-status-strip{border-style:solid;border-color:#0000;border-image-source:var(--painted-inset);box-shadow:none;border-image-slice:80;border-image-width:10px;border-image-outset:0;border-image-repeat:stretch;outline:0}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button.on,.gameplay.game-shell .event-group-controls button,.gameplay.game-shell .event-group-controls button[aria-pressed=true],.gameplay.game-shell .event-overview-heading button,.gameplay.game-shell .event-overview-heading button[aria-pressed=true],.gameplay.game-shell .event-show-all,.gameplay.game-shell .choice-price,.gameplay.game-shell .year-btn,.gameplay.game-shell .year-finish.btn,.gameplay.game-shell .event-detail-dialog .btn,.gameplay.game-shell .top-tools .btn{border-style:solid;border-color:#0000;border-image-source:var(--painted-control);box-shadow:none;border-image-slice:96;border-image-width:12px;border-image-outset:0;border-image-repeat:stretch}.gameplay.game-shell .event-row{border-image-source:var(--painted-inset);border-bottom-color:#0000;border-image-slice:80;border-image-width:0 0 4px;border-image-repeat:stretch}.gameplay.game-shell .trait-status-strip{border-image-width:6px}.gameplay.game-shell .rank,.gameplay.game-shell .badge.trait,.gameplay.game-shell .trait-status-item{border-image-width:5px}.gameplay.game-shell .upgrade-art{border-image-width:6px}.gameplay.game-shell .event-detail-dialog{padding:24px}.gameplay.game-shell .year-btn svg.year-perimeter{z-index:1}.gameplay.game-shell .year-btn>span{z-index:2}.gameplay.game-shell :focus-visible{outline-offset:2px;outline:3px solid #ffe79a}@media (width<=699px),(height<=600px){.gameplay.game-shell .top,.gameplay.game-shell .scene,.gameplay.game-shell .game-tabs,.gameplay.game-shell .event-overview,.gameplay.game-shell .year-dock{border-image-width:16px}.gameplay.game-shell .game-panel,.gameplay.game-shell .choice.btn,.gameplay.game-shell .stat,.gameplay.game-shell .inline-result{border-image-width:8px}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .game-tablist button.on,.gameplay.game-shell .event-show-all,.gameplay.game-shell .choice-price{border-image-width:10px}}.gameplay.game-shell .painted-icon{flex:none;width:42px;height:42px;display:block;overflow:hidden}.gameplay.game-shell .trait-status-item>.painted-icon{width:20px;height:20px}.gameplay.game-shell .canvas-heading{border-bottom:1px solid #c6a265;align-items:center;gap:14px;margin-bottom:12px;padding:4px 0 10px;display:flex}.gameplay.game-shell .canvas-heading>.painted-icon{width:52px;height:48px}.gameplay.game-shell .canvas-heading h3{color:#431c15;margin:0;font:700 30px/1.15 Cambria,Georgia,serif}.gameplay.game-shell .canvas-caption{color:#78654e;margin:-5px 0 14px;font:16px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .enterprise-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.gameplay.game-shell .enterprise-stat{background:linear-gradient(125deg,#fff7e4,#f1e0b9);border:1px solid #cba569;border-radius:6px;align-items:center;gap:12px;min-width:0;min-height:106px;padding:12px;display:flex}.gameplay.game-shell .enterprise-stat>.painted-icon{width:70px;height:72px}.gameplay.game-shell .enterprise-stat>div{min-width:0}.gameplay.game-shell .enterprise-stat span{color:#4b251b;font:17px/1.25 Cambria,Georgia,serif;display:block}.gameplay.game-shell .enterprise-stat b{white-space:nowrap;color:#542518;margin-top:4px;font:700 30px/1.1 Cambria,Georgia,serif;display:block}.gameplay.game-shell .enterprise-stat small{color:#826f50;margin-top:3px;font:15px/1.2 Cambria,Georgia,serif;display:block}.gameplay.game-shell .enterprise-environment{align-items:center;gap:14px;margin:16px 0;display:flex}.gameplay.game-shell .enterprise-environment>.painted-icon{width:52px;height:52px}.gameplay.game-shell .enterprise-environment>div{flex:1;min-width:0}.gameplay.game-shell .enterprise-environment p{color:#594732;flex-wrap:wrap;align-items:baseline;gap:20px;margin:0 0 9px;font:17px/1.3 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .enterprise-environment b{color:#31552a;font-size:22px}.gameplay.game-shell .environment-meter{background:#d7c4a3;border-radius:20px;height:10px;overflow:hidden}.gameplay.game-shell .environment-meter>span{background:#8caa62;height:100%;display:block}.gameplay.game-shell .enterprise-perks{border-top:1px solid #c6a265;margin-top:14px;padding-top:14px}.gameplay.game-shell .enterprise-perks h4{color:#4a2118;margin:0 0 12px;font:700 24px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .enterprise-perks h4>span{color:#94764e;font-weight:400}.gameplay.game-shell .perk-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:9px;display:grid}.gameplay.game-shell .perk-chip{color:#431e18;cursor:pointer;text-align:left;background:linear-gradient(#fff7e4,#edd9ae);border:1px solid #b99a68;border-radius:10px;align-items:center;gap:12px;min-width:0;min-height:58px;padding:8px 14px;font:700 17px/1.25 Cambria,Georgia,serif;display:flex;box-shadow:inset 0 0 0 2px #f6e4be}.gameplay.game-shell .perk-chip>.painted-icon{width:42px;height:42px}.gameplay.game-shell .perk-chip>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gameplay.game-shell .perk-chip.on{color:#fff2d5;background:linear-gradient(135deg,#6a1d2b,#40111c);border-color:#a86519;box-shadow:inset 0 0 0 2px #f6cc69}.gameplay.game-shell .perk-detail{border-top:1px solid #cdb17e;align-items:center;gap:15px;margin-top:14px;padding-top:12px;display:flex}.gameplay.game-shell .perk-detail>.painted-icon{width:54px;height:54px}.gameplay.game-shell .perk-detail b{color:#4b2118;font:700 19px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .perk-detail p{color:#554330;margin:5px 0 0;font:15px/1.45 Cambria,Georgia,serif}.gameplay.game-shell .perk-help,.gameplay.game-shell .canvas-help{color:#8b775b;text-align:right;margin:10px 0 0;font:italic 14px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .disclosure-arrow{fill:none;stroke:#9f5319;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:17px;height:17px;transition:transform .15s}.gameplay.game-shell .disclosure-arrow.open{transform:rotate(180deg)}.gameplay.game-shell .year-summary-list{flex-direction:column;gap:10px;display:flex}.gameplay.game-shell .year-card{background:linear-gradient(125deg,#fff8e7,#f4e4c4);border:1px solid #c9a166;border-radius:8px;min-width:0}.gameplay.game-shell .year-toggle{text-align:left;color:#4b2416;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto 17px;align-items:center;gap:12px;width:100%;min-height:58px;margin:0;padding:8px 13px;display:grid}.gameplay.game-shell .year-ribbon{white-space:nowrap;background:linear-gradient(#fff4d5,#e6c28a);border:1px solid #b38437;border-radius:4px;padding:9px 12px;font:700 21px/1.1 Cambria,Georgia,serif;display:block}.gameplay.game-shell .year-card.expanded .year-ribbon{color:#fff4d9;background:linear-gradient(#711d2b,#45101c);border-color:#cb9534}.gameplay.game-shell .year-activities{align-items:center;gap:5px;min-width:0;display:flex}.gameplay.game-shell .activity-chip{align-items:center;gap:7px;min-width:0;font:16px/1.2 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .activity-chip>.painted-icon{width:34px;height:32px}.gameplay.game-shell .activity-chip>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gameplay.game-shell .year-activities>small{color:#927246;flex:none;font-size:11px}.gameplay.game-shell .year-cash-delta{white-space:nowrap;align-items:center;gap:7px;display:flex}.gameplay.game-shell .year-cash-delta>.painted-icon{width:32px;height:32px}.gameplay.game-shell .year-cash-delta>b{font:700 26px/1.1 Cambria,Georgia,serif}.gameplay.game-shell .year-canvas .up{color:#315c2c}.gameplay.game-shell .year-canvas .down{color:#aa251d}.gameplay.game-shell .year-canvas .neutral{color:#776043}.gameplay.game-shell .year-expanded{padding:0 13px 12px}.gameplay.game-shell .year-category-totals{flex-wrap:wrap;gap:8px;margin:0 0 8px;display:flex}.gameplay.game-shell .year-category-totals>div{border:1px solid #d9bc87;border-radius:5px;flex:150px;align-items:center;gap:10px;min-width:0;padding:8px 12px;font:16px/1.3 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .year-category-totals b{margin-top:3px;font-size:22px;display:block}.gameplay.game-shell .grouped-ledger{margin:0;padding:0;list-style:none}.gameplay.game-shell .grouped-ledger>li{background:0 0;border:0;border-bottom:1px solid #e1cba8;padding:0}.gameplay.game-shell .ledger-group-row,.gameplay.game-shell .ledger-entry-details>summary{grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:46px;padding:5px 0;font:16px/1.25 Cambria,Georgia,serif;list-style:none;display:grid}.gameplay.game-shell .ledger-entry-details>summary{cursor:pointer}.gameplay.game-shell .ledger-entry-details>summary::-webkit-details-marker{display:none}.gameplay.game-shell .ledger-group-row>.painted-icon,.gameplay.game-shell .ledger-entry-details>summary>.painted-icon{width:36px;height:36px}.gameplay.game-shell .ledger-group-label{align-items:center;gap:5px;min-width:0;display:flex}.gameplay.game-shell .ledger-group-label>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gameplay.game-shell .ledger-group-label>.disclosure-arrow{width:11px;height:11px}.gameplay.game-shell .ledger-entry-details[open] .ledger-group-label>.disclosure-arrow{transform:rotate(180deg)}.gameplay.game-shell .ledger-item-art{width:36px;height:36px;display:block;position:relative}.gameplay.game-shell .ledger-item-art>.painted-icon{width:100%;height:100%}.gameplay.game-shell .ledger-item-art>img{object-fit:contain;background:#f7e9cc;border-radius:4px;width:100%;height:100%;display:block;position:absolute;inset:0}.gameplay.game-shell .ledger-item-art>img[hidden]{display:none}.gameplay.game-shell .ledger-group-label small{color:#997a4e;margin-top:2px;font:11px/1.3 Cambria,Georgia,serif;display:block}.gameplay.game-shell .package-chip{color:#67462b;white-space:nowrap;background:#f4e5c9;border:1px solid #dfc79b;border-radius:4px;padding:3px 6px;font:14px/1.1 Cambria,Georgia,serif}.gameplay.game-shell .ledger-group-row>b,.gameplay.game-shell .ledger-entry-details>summary>b{white-space:nowrap;justify-self:end;font-size:19px}.gameplay.game-shell .ledger-group-row>b:last-child,.gameplay.game-shell .ledger-entry-details>summary>b:last-child{grid-column:4}.gameplay.game-shell .ledger-entry-details>ul{color:#735737;margin:0 0 8px 46px;padding:0;font-size:12px;list-style:none}.gameplay.game-shell .ledger-entry-details>ul>li{background:#f5e7cd;border:0;margin:3px 0;padding:6px;line-height:1.4}.gameplay.game-shell .ledger-entry-details>ul span{font-weight:700;display:block}.gameplay.game-shell .year-balance-footer{color:#716044;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;padding-top:10px;display:flex}.gameplay.game-shell .year-balance-footer p{align-items:center;gap:8px;margin:0;font:15px/1.35 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .year-balance-footer p>.painted-icon{width:26px;height:26px}.gameplay.game-shell .year-balance-footer>details>summary{cursor:pointer;align-items:center;gap:8px;font:italic 14px/1.3 Cambria,Georgia,serif;list-style:none;display:flex}.gameplay.game-shell .year-balance-footer>details>p{padding-top:8px}@media (width<=1100px){.gameplay.game-shell .enterprise-stat{gap:8px;min-height:93px;padding:9px}.gameplay.game-shell .enterprise-stat>.painted-icon{width:50px;height:54px}.gameplay.game-shell .enterprise-stat b{font-size:25px}.gameplay.game-shell .enterprise-stat span{font-size:15px}}@media (width<=900px){.gameplay.game-shell .enterprise-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gameplay.game-shell .year-toggle{gap:7px;padding:9px}.gameplay.game-shell .year-ribbon{padding:8px;font-size:17px}.gameplay.game-shell .year-cash-delta>b{font-size:20px}.gameplay.game-shell .year-cash-delta>.painted-icon{width:24px;height:26px}.gameplay.game-shell .activity-chip{gap:4px;font-size:13px}.gameplay.game-shell .activity-chip>.painted-icon{width:26px;height:26px}.gameplay.game-shell .grouped-ledger .ledger-group-label{font-size:14px}}@media (width<=480px){.gameplay.game-shell .canvas-heading{gap:10px;margin-bottom:10px}.gameplay.game-shell .canvas-heading>.painted-icon{width:40px;height:37px}.gameplay.game-shell .canvas-heading h3{font-size:25px}.gameplay.game-shell .canvas-caption{font-size:14px}.gameplay.game-shell .enterprise-stats{gap:6px}.gameplay.game-shell .enterprise-stat{gap:7px;min-height:83px;padding:7px}.gameplay.game-shell .enterprise-stat>.painted-icon{width:42px;height:45px}.gameplay.game-shell .enterprise-stat b{font-size:23px}.gameplay.game-shell .enterprise-stat small{font-size:12px}.gameplay.game-shell .enterprise-environment{gap:10px;margin:12px 0}.gameplay.game-shell .enterprise-environment p{flex-direction:column;gap:3px;margin-bottom:7px;font-size:14px}.gameplay.game-shell .enterprise-environment b{font-size:19px}.gameplay.game-shell .enterprise-perks h4{font-size:21px}.gameplay.game-shell .perk-chip{min-height:50px;padding:6px 10px;font-size:16px}.gameplay.game-shell .perk-chip>.painted-icon{width:36px;height:36px}.gameplay.game-shell .perk-detail>.painted-icon{width:44px;height:44px}.gameplay.game-shell .perk-detail b{font-size:17px}.gameplay.game-shell .perk-detail p{font-size:14px}.gameplay.game-shell .year-ribbon{padding:7px 6px;font-size:16px}.gameplay.game-shell .year-cash-delta>b{font-size:19px}.gameplay.game-shell .year-cash-delta>.painted-icon{width:20px;height:23px}.gameplay.game-shell .year-toggle{grid-template-columns:auto minmax(0,1fr) auto 12px;gap:5px;min-height:58px;padding:8px}.gameplay.game-shell .activity-chip{gap:3px;font-size:12px}.gameplay.game-shell .activity-chip>.painted-icon{width:23px;height:23px}.gameplay.game-shell .year-expanded{padding:0 8px 10px}.gameplay.game-shell .year-category-totals>div{flex-basis:110px;gap:7px;padding:7px;font-size:14px}.gameplay.game-shell .year-category-totals .painted-icon{width:35px;height:35px}.gameplay.game-shell .year-category-totals b{font-size:20px}.gameplay.game-shell .ledger-group-row,.gameplay.game-shell .ledger-entry-details>summary{grid-template-columns:31px minmax(0,1fr) auto auto;gap:7px}.gameplay.game-shell .ledger-group-row>.painted-icon,.gameplay.game-shell .ledger-entry-details>summary>.painted-icon{width:30px;height:32px}.gameplay.game-shell .ledger-group-row>b,.gameplay.game-shell .ledger-entry-details>summary>b{font-size:17px}.gameplay.game-shell .package-chip{padding:3px 4px;font-size:12px}.gameplay.game-shell .year-balance-footer p{font-size:14px}}@media (prefers-reduced-motion:reduce){.gameplay.game-shell .disclosure-arrow{transition:none}}.gameplay.game-shell .investment-card.choice.btn{cursor:default;color:#442617;grid-template-columns:64px minmax(0,1.25fr) minmax(120px,1fr) 88px;align-items:center;min-height:102px;padding:9px}.gameplay.game-shell .investment-card .upgrade-art{width:64px;height:64px}.gameplay.game-shell .investment-card .choice-label{margin:0;font:700 16px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .choice-result{border-left:1px solid #c9a96d;flex-direction:column;gap:4px;min-width:0;padding-left:10px;display:flex}.gameplay.game-shell .choice-result strong{color:#28592e;overflow-wrap:anywhere;font:700 17px/1.15 Cambria,Georgia,serif}.gameplay.game-shell .choice-result small{color:#66523a;font:12px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .investment-buy{cursor:pointer;border-radius:6px;width:100%;min-width:0;min-height:50px;font-family:inherit}.gameplay.game-shell .investment-buy:disabled{opacity:.55;cursor:default}.gameplay.game-shell .investment-buy:focus-visible{outline-offset:2px;outline:3px solid #642821}.gameplay.game-shell .investment-warning{color:#9e3b16;margin:3px 0;font-size:12px;line-height:1.3}.gameplay.game-shell .investment-projection{grid-column:2/-1;min-width:0;font:12px/1.4 Cambria,Georgia,serif}.gameplay.game-shell .investment-projection summary,.gameplay.game-shell .pollution-explainer summary{cursor:pointer;color:#663b1d;min-height:24px}.gameplay.game-shell .investment-projection p{margin:4px 0}.gameplay.game-shell .investment-footnote{color:#69573b;align-items:center;gap:8px;margin:10px 0;font:12px/1.4 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .investment-footnote .painted-icon{width:30px;height:30px}.gameplay.game-shell .pollution-explainer{color:#5c4935;border-top:1px solid #c8ab76;padding:8px 0;font:13px/1.4 Cambria,Georgia,serif}.gameplay.game-shell .pollution-explainer p{margin:6px 0}@media (width<=1100px){.gameplay.game-shell .investment-card.choice.btn{grid-template-columns:48px minmax(0,1fr) 80px;gap:5px 8px;min-height:100px}.gameplay.game-shell .investment-card .upgrade-art{grid-row:1/3;width:48px;height:52px}.gameplay.game-shell .investment-card .choice-copy{grid-area:1/2}.gameplay.game-shell .investment-card .choice-result{border:0;grid-area:2/2;gap:2px;padding:0}.gameplay.game-shell .investment-card .investment-buy{grid-area:1/3/3}.gameplay.game-shell .investment-card .investment-projection{grid-column:1/-1}.gameplay.game-shell .investment-card .choice-label{font-size:14px}.gameplay.game-shell .investment-card .choice-result strong{font-size:15px}.gameplay.game-shell .investment-card .choice-benefit,.gameplay.game-shell .investment-card .investment-warning{font-size:11px}}@media (width<=480px){.gameplay.game-shell .investment-card.choice.btn{grid-template-columns:44px minmax(0,1fr) 72px;gap:4px 6px;padding:7px}.gameplay.game-shell .investment-card .upgrade-art{width:44px;height:48px}.gameplay.game-shell .investment-card .choice-label{font-size:14px}.gameplay.game-shell .investment-card .choice-result small{font-size:11px}.gameplay.game-shell .investment-card .investment-buy{padding:7px 3px;font-size:11px}.gameplay.game-shell .investment-projection{font-size:12px}.gameplay.game-shell .canvas-caption{font-size:13px}}.gameplay.game-shell #dirs.choices{order:0}.gameplay.game-shell .investment-toolbar{border-bottom:1px solid #c6a265;flex:none;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;padding-bottom:6px;display:flex}.gameplay.game-shell .investment-toolbar .canvas-heading{border:0;gap:8px;margin:0;padding:0}.gameplay.game-shell .investment-toolbar .canvas-heading h3{font-size:25px}.gameplay.game-shell .investment-toolbar .canvas-heading>.painted-icon{width:40px;height:40px}.gameplay.game-shell .investment-toolbar .investment-quantity{width:min(50%,300px);margin:0}.gameplay.game-shell .game-panel:has(>.investment-toolbar)>.meta{display:none}.gameplay.game-shell .game-panel:has(>.investment-toolbar)>.canvas-caption{flex:none;margin:0 0 8px;font-size:13px}.gameplay.game-shell .investment-card.choice.btn{gap:4px 8px;min-height:86px;padding:7px}@media (width<=1100px){.gameplay.game-shell .investment-toolbar{flex-wrap:wrap;gap:5px}.gameplay.game-shell .investment-toolbar .canvas-heading,.gameplay.game-shell .investment-toolbar .investment-quantity{width:100%}}.gameplay.game-shell .operation-icon{flex:none;width:26px;height:26px;display:block}.gameplay.game-shell button:focus-visible,.gameplay.game-shell summary:focus-visible{outline-offset:2px;outline:2px solid #ffe19a}.gameplay.game-shell .game-panel button:focus-visible,.gameplay.game-shell .game-panel summary:focus-visible,.gameplay.game-shell .factory-report :focus-visible{outline-color:#8d421d}.gameplay.game-shell .game-tab-transition{min-width:0;animation:.16s ease-out game-tab-enter}.gameplay.game-shell .game-tab-transition:has(>.investment-toolbar)>.meta{display:none}.gameplay.game-shell .game-tablist button,.gameplay.game-shell .report-tabs button{transition:color .16s,background-color .16s,border-color .16s}.gameplay.game-shell .factory-scene.scene{aspect-ratio:auto;perspective:1000px;border-width:2px;flex:none;height:clamp(260px,38vh,360px);max-height:none;padding:7px;display:block}.gameplay.game-shell .factory-photo{border-radius:4px;height:100%;animation:.22s ease-out report-face-enter;position:relative;overflow:hidden}.gameplay.game-shell .factory-photo img{object-fit:cover;width:100%;height:100%}.gameplay.game-shell .factory-photo-caption{text-align:center;color:#472313;background:#f9e7bcd9;padding:6px 8px;font:13px/1.3 Cambria,Georgia,serif;position:absolute;bottom:0;left:0;right:0}.gameplay.game-shell .factory-report-toggle{z-index:2;color:#ffedc0;cursor:pointer;background:linear-gradient(#651b22,#3d1019);border:1px solid #b47724;border-radius:5px;align-items:center;gap:6px;min-height:44px;padding:4px 10px;font:700 15px/1.2 Cambria,Georgia,serif;display:flex;position:absolute;top:12px;left:13px;box-shadow:inset 0 0 0 2px #e7b861}.gameplay.game-shell .factory-report{color:#442418;background:radial-gradient(at 30% 10%,#fff8e5,#eddbb3);border-radius:4px;flex-direction:column;height:100%;padding:5px 8px;animation:.22s ease-out report-face-enter;display:flex;overflow:hidden}.gameplay.game-shell .factory-report>header{flex-direction:column;justify-content:center;gap:2px;min-height:46px;padding-left:128px;display:flex}.gameplay.game-shell .factory-report h3{color:#4e2417;margin:0;font:700 20px/1.1 Cambria,Georgia,serif}.gameplay.game-shell .factory-report header small{color:#80613d;font:12px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .report-tabs{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:4px 0 6px;display:grid}.gameplay.game-shell .report-tabs button{color:#4b291c;cursor:pointer;white-space:nowrap;background:#f2e0b9;border:1px solid #bb8c44;border-radius:4px;min-width:0;min-height:36px;font:700 14px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .report-tabs button[aria-selected=true]{color:#fff1cf;background:linear-gradient(#bc4218,#781d1b);border-color:#ce8d28;box-shadow:inset 0 0 0 1px #ffe29a}.gameplay.game-shell .report-tab-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bb7b28 #ebd8ae;flex:1;min-height:0;padding:0 3px 5px;font:13px/1.4 Cambria,Georgia,serif;animation:.16s ease-out game-tab-enter;overflow:auto}.gameplay.game-shell .report-output-result{background:#fff2d8;border:1px solid #cfb079;border-radius:5px;align-items:center;gap:9px;margin:1px 0 7px;padding:8px;display:flex}.gameplay.game-shell .report-output-result>.painted-icon{width:40px;height:42px}.gameplay.game-shell .report-output-result>div{min-width:0}.gameplay.game-shell .report-output-result small{color:#7c6040;font-size:12px;display:block}.gameplay.game-shell .report-output-result strong{color:#315831;overflow-wrap:anywhere;font:700 22px/1.15 Cambria,Georgia,serif;display:block}.gameplay.game-shell .report-output-result strong span{font-size:14px}.gameplay.game-shell .report-capacity{justify-content:center;align-items:center;gap:8px;font-weight:700;display:flex}.gameplay.game-shell .report-capacity .operation-icon{width:22px;height:22px}.gameplay.game-shell .report-equation{background:#e7cb903d;border-bottom:1px solid #d5b37a;margin:6px 0;padding:6px;font-size:14px}.gameplay.game-shell .report-factor{justify-content:space-between;gap:10px;margin:5px 0;display:flex}.gameplay.game-shell .report-factor b{flex:none}.gameplay.game-shell .report-delivery{background:#e1dcbf;border-radius:4px;align-items:center;gap:6px;padding:6px;display:flex}.gameplay.game-shell .report-delivery>.painted-icon{width:30px;height:28px}.gameplay.game-shell .report-history-link{color:#774021;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;width:100%;min-height:36px;padding:8px 3px;font:700 13px/1.3 Cambria,Georgia,serif;text-decoration:underline;display:flex}.gameplay.game-shell .report-history-link .operation-icon{width:18px;height:18px}.gameplay.game-shell .forecast-conditions{color:#7e684b;margin:6px 0;font-size:12px;font-style:italic}.gameplay.game-shell .report-effect{border-bottom:1px solid #d9be90;margin:0 0 7px;padding:5px 0}.gameplay.game-shell .report-effect b,.gameplay.game-shell .report-effect small{display:block}.gameplay.game-shell .report-effect small{color:#846843}.gameplay.game-shell .report-effect p{margin:3px 0}.gameplay.game-shell .finance-lines{margin:6px 0}.gameplay.game-shell .finance-lines>div{border-bottom:1px solid #d9bd8d88;justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;display:flex}.gameplay.game-shell .finance-lines dt{color:#5b3c25;flex:1;min-width:0}.gameplay.game-shell .finance-lines dd{text-align:right;overflow-wrap:anywhere;flex:none;max-width:60%;margin:0;font-weight:700}.gameplay.game-shell .finance-emphasis{background:#f8e9c8}.gameplay.game-shell .finance-total{border-top:1px solid #b68540;font-size:19px;font-weight:700}.gameplay.game-shell .finance-note{color:#7a6346;margin:7px 0;font:12px/1.4 Cambria,Georgia,serif}.gameplay.game-shell .production-receipt{background:#fdf2d7;border:1px solid #d9bd88;margin:6px 0;padding:10px 12px}.gameplay.game-shell .production-receipt h4{align-items:center;gap:8px;margin:0 0 10px;font:700 22px/1.2 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .production-receipt h4 .painted-icon{width:40px;height:36px}.gameplay.game-shell .production-receipt h5{margin:10px 0 5px;font:700 18px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .cash-opening,.gameplay.game-shell .cash-closing{grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:6px 0;font:18px/1.25 Cambria,Georgia,serif;display:grid}.gameplay.game-shell .cash-opening .painted-icon,.gameplay.game-shell .cash-closing .painted-icon{width:34px;height:32px}.gameplay.game-shell .cash-closing{border-top:1px solid #bb914e;margin-top:8px;font-size:22px;font-weight:700}.gameplay.game-shell .cash-ledger .production-ledger-item>details>summary{cursor:pointer;grid-template-columns:40px minmax(0,1fr) auto 16px;align-items:center;gap:10px;padding:8px 0;list-style:none;display:grid}.gameplay.game-shell .production-ledger-item>details>summary::marker{display:none}.gameplay.game-shell .production-ledger-item summary .painted-icon{width:38px;height:38px}.gameplay.game-shell .production-ledger-item summary small{color:#7b6243;margin-top:4px;font-size:13px;font-weight:400;line-height:1.3;display:block}.gameplay.game-shell .production-ledger-item summary strong{white-space:nowrap;font:700 22px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .cash-reconciliation{border:1px solid #b59b66;border-radius:5px;align-items:center;gap:10px;margin:10px 0;padding:10px;font:15px/1.3 Cambria,Georgia,serif;display:flex}.gameplay.game-shell .cash-reconciliation p{margin:3px 0 0;font-size:13px}.gameplay.game-shell .cash-reconciliation.mismatch{color:#8b3b17;background:#ffe5a5;border-color:#d79b31}.gameplay.game-shell .cash-reconciliation.matched{color:#385839;background:#e2e6cc;border-color:#a1b17f}.gameplay.game-shell .cash-precision{color:#7c6343;font:12px/1.4 Cambria,Georgia,serif}.gameplay.game-shell .noncash-effects{border-top:1px solid #d2b17b;margin-top:10px;padding-top:8px}.gameplay.game-shell .noncash-effects h4{margin:3px 0 8px;font:700 17px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .year-expanded{animation:.18s ease-out receipt-enter}.gameplay.game-shell .purchase-feedback{grid-column:2/-1;padding:3px 0;font:12px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .purchase-feedback.confirmed{color:#2d652c;animation:.32s ease-out confirmed-value}.gameplay.game-shell .purchase-feedback.failed{color:#a23d20}.gameplay.game-shell .purchase-confirmed{animation:.32s ease-out purchase-confirmed}.gameplay.game-shell .investment-buy:active:not(:disabled){transform:translateY(2px)}.gameplay.game-shell .stat-value-pulse{animation:.32s ease-out confirmed-value;display:inline-block}.gameplay.game-shell .event-arriving{animation:.24s ease-out event-arrive}.gameplay.game-shell .event-exiting{pointer-events:none;animation:.18s ease-in forwards event-exit}.gameplay.game-shell .event-new-badge{color:#874520;vertical-align:middle;background:#f0d38c;border-radius:4px;margin-left:5px;padding:1px 5px;font:700 11px/1.3 Cambria,Georgia,serif;display:inline-block}.gameplay.game-shell .event-unread-count{font-size:12px}.gameplay.game-shell .year-btn>.year-settlement-note{opacity:0;pointer-events:none;padding:0;font-size:11px;line-height:1.2;animation:.4s ease-out year-settlement;position:absolute;inset:auto auto 5px 12px}@keyframes game-tab-enter{0%{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes report-face-enter{0%{opacity:.2;transform-origin:0;transform:rotateY(-7deg)}to{opacity:1;transform-origin:0;transform:rotateY(0)}}@keyframes receipt-enter{0%{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes confirmed-value{0%{color:#9e661e}to{color:inherit}}@keyframes purchase-confirmed{35%{box-shadow:inset 0 0 0 2px #cfaa4c}}@keyframes event-arrive{0%{opacity:.3;transform:translateY(8px)}55%{box-shadow:inset 0 0 0 2px #d8ad43}to{opacity:1;transform:translateY(0)}}@keyframes event-exit{to{opacity:0;transform:translateY(-4px)}}@keyframes year-settlement{0%,80%{opacity:1}to{opacity:0}}@media (width<=1100px){.gameplay.game-shell .factory-report h3{font-size:17px}.gameplay.game-shell .factory-report header small{font-size:11px}.gameplay.game-shell .factory-report>header{padding-left:116px}.gameplay.game-shell .factory-report-toggle{padding:4px 7px;font-size:14px}.gameplay.game-shell .report-output-result strong{font-size:19px}.gameplay.game-shell .report-output-result>.painted-icon{width:34px;height:34px}.gameplay.game-shell .cash-opening,.gameplay.game-shell .cash-closing{grid-template-columns:30px minmax(0,1fr) auto;gap:6px;font-size:16px}}@media (width<=699px){.gameplay.game-shell .factory-scene.scene{height:clamp(165px,25svh,220px);min-height:0;padding:5px;display:block}.gameplay.game-shell .factory-report{padding:3px 6px}.gameplay.game-shell .factory-report-toggle{min-height:44px;top:8px;left:9px}.gameplay.game-shell .factory-report>header{min-height:43px}.gameplay.game-shell .factory-report h3{font-size:17px}.gameplay.game-shell .report-tabs{margin:3px 0}.gameplay.game-shell .report-tabs button{min-height:32px;font-size:13px}.gameplay.game-shell .report-tab-content{font-size:12px}.gameplay.game-shell .report-output-result{margin-bottom:5px;padding:5px}.gameplay.game-shell .report-output-result strong{font-size:18px}.gameplay.game-shell .cash-ledger .production-ledger-item>details>summary{grid-template-columns:27px minmax(0,1fr) auto 13px;gap:5px}.gameplay.game-shell .production-ledger-item summary strong{font-size:17px}.gameplay.game-shell .production-ledger-item summary small{font-size:11px}.gameplay.game-shell .production-ledger-item summary .painted-icon{width:27px;height:28px}.gameplay.game-shell .production-receipt{padding:6px;font-size:13px}.gameplay.game-shell .production-receipt h4{font-size:18px}.gameplay.game-shell .finance-total{font-size:16px}.gameplay.game-shell .finance-lines dd{max-width:54%}.gameplay.game-shell .event-unread-count{font-size:10px}}@media (height<=600px) and (width>=700px){.gameplay.game-shell .factory-scene.scene{height:170px}}@media (prefers-reduced-motion:reduce){.gameplay.game-shell .game-tab-transition,.gameplay.game-shell .factory-report,.gameplay.game-shell .factory-photo,.gameplay.game-shell .report-tab-content,.gameplay.game-shell .year-expanded,.gameplay.game-shell .purchase-confirmed,.gameplay.game-shell .purchase-feedback,.gameplay.game-shell .stat-value-pulse,.gameplay.game-shell .event-row,.gameplay.game-shell .year-btn>.year-settlement-note{transition:none;animation:none}.gameplay.game-shell .event-exiting{visibility:hidden}}@media (width<=699px){.gameplay.game-shell .game-tab-transition .investment-toolbar .canvas-heading{display:none}.gameplay.game-shell .game-tab-transition:has(>.investment-toolbar)>.canvas-caption{display:none}.gameplay.game-shell .game-tab-transition .investment-toolbar{margin-bottom:5px;padding-bottom:4px}.gameplay.game-shell .event-overview{grid-template-columns:minmax(0,1fr) auto;gap:3px;display:grid}.gameplay.game-shell .event-overview-heading{grid-area:1/1;grid-template-columns:1fr 1.2fr;padding:0}.gameplay.game-shell .event-overview-heading>h2{display:none}.gameplay.game-shell .event-overview>.event-rows{grid-area:2/1/auto/-1}.gameplay.game-shell .event-overview .event-row:nth-child(n+2){display:none}.gameplay.game-shell .event-show-all{grid-area:1/2;gap:4px;min-height:30px;margin:0;padding:3px 5px;font-size:11px}.gameplay.game-shell .event-show-all .event-unread-count{display:none}}.gameplay.game-shell .year-production-aside{min-width:0}@media (width>=1200px){.gameplay.game-shell .year-expanded.has-production{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.gameplay.game-shell .year-expanded.has-production .cash-register{order:2;min-width:0}.gameplay.game-shell .year-expanded.has-production .year-production-aside{order:1}.gameplay.game-shell .year-production-aside .production-receipt{margin:0;padding:8px;font:12px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .year-production-aside .production-receipt h4{font-size:19px}.gameplay.game-shell .year-production-aside .finance-lines>div{padding:5px 0}.gameplay.game-shell .has-production .cash-opening,.gameplay.game-shell .has-production .cash-closing{gap:5px;font-size:17px}.gameplay.game-shell .has-production .production-ledger-item summary strong,.gameplay.game-shell .has-production .ledger-group-row>b{font-size:17px}.gameplay.game-shell .has-production .production-ledger-item summary small{font-size:11px}.gameplay.game-shell .has-production .cash-ledger .production-ledger-item>details>summary{grid-template-columns:30px minmax(0,1fr) auto 13px;gap:5px}.gameplay.game-shell .has-production .cash-reconciliation{padding:7px;font-size:13px}}.event-static{vertical-align:middle;flex:none;line-height:0;display:inline-block;animation:none!important}.event-static>img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block;animation:none!important}.gameplay.game-shell .event-row{background:linear-gradient(110deg,#fff7e4,#f5e4bf);border:1px solid #cfb17a;border-image:;border-radius:6px;grid-template-columns:64px minmax(0,1fr) minmax(48px,17%) 12px;gap:10px;min-height:84px;margin-bottom:4px;padding:8px 10px}.gameplay.game-shell .event-row .event-static{width:64px;height:64px}.gameplay.game-shell .event-row-copy b{font:700 17px/1.25 Cambria,Georgia,serif}.gameplay.game-shell .event-row-copy>span{font:400 14px/1.35 Cambria,Georgia,serif}.gameplay.game-shell .event-row small{text-align:right;grid-area:auto;font:400 12px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .event-row .event-chevron{grid-area:auto}.gameplay.game-shell .event-row:focus-visible{outline-offset:-3px;outline:3px solid #d58a24}.gameplay.game-shell .event-row:hover:not(:disabled){background:#fff3d1}.gameplay.game-shell .event-overview .event-row{grid-template-columns:56px minmax(0,1fr) minmax(44px,18%) 10px;gap:7px;min-height:72px;padding:5px 7px}.gameplay.game-shell .event-overview .event-row .event-static{width:56px;height:56px}.gameplay.game-shell .event-overview .event-row-copy b{font-size:15px}.gameplay.game-shell .event-overview .event-row-copy>span{font-size:12px}.gameplay.game-shell .event-group-controls button{color:#542616;background:#f3dfb2;min-height:40px;font:700 15px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .event-group-controls button[aria-pressed=true],.gameplay.game-shell .event-overview-heading button[aria-pressed=true]{color:#ffe6a0;background:linear-gradient(#85221f,#4e101c)}.gameplay.game-shell .event-detail-dialog{text-align:center;background:#fff0d1;width:min(440px,100vw - 24px)}.gameplay.game-shell .event-detail-dialog .event-static{width:192px;height:192px;margin:0 auto 8px}.gameplay.game-shell .event-detail-dialog h2{margin:0 0 9px;font-size:24px}.gameplay.game-shell .event-detail-dialog p{font:400 15px/1.5 Cambria,Georgia,serif}.gameplay.game-shell .event-detail-dialog .btn{color:#fff2cd;background:linear-gradient(#ff992b 0%,#ec6a0b 15%,#ba3f05 100%);width:min(100%,240px);margin:16px auto 0;font:700 20px/1.2 Cambria,Georgia,serif}@media (width<=1100px){.gameplay.game-shell .event-row-copy b{font-size:15px}.gameplay.game-shell .event-row-copy>span{font-size:12px}}@media (width<=699px){.gameplay.game-shell .event-row,.gameplay.game-shell .event-overview .event-row{grid-template-columns:48px minmax(0,1fr) minmax(36px,17%) 10px;gap:6px;min-height:62px;padding:5px}.gameplay.game-shell .event-row .event-static,.gameplay.game-shell .event-overview .event-row .event-static{width:48px;height:48px}.gameplay.game-shell .event-row-copy b,.gameplay.game-shell .event-overview .event-row-copy b{font-size:13px}.gameplay.game-shell .event-row-copy b{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.gameplay.game-shell .event-row-copy>span,.gameplay.game-shell .event-overview .event-row-copy>span{font-size:11px}.gameplay.game-shell .event-row small,.gameplay.game-shell .event-overview .event-row small{grid-area:1/3;font-size:10px}.gameplay.game-shell .event-row .event-chevron,.gameplay.game-shell .event-overview .event-row .event-chevron{grid-area:1/4}.gameplay.game-shell .event-overview .event-row:nth-child(2){display:grid}.gameplay.game-shell .event-group-controls button{font-size:12px}.gameplay.game-shell .event-detail-dialog{padding:18px}.gameplay.game-shell .event-detail-dialog .event-static{width:176px;height:176px}.gameplay.game-shell .event-detail-dialog h2{font-size:21px}}.gameplay.game-shell .event-overview-heading button,.gameplay.game-shell .event-group-controls button{transition:color .16s,background-color .16s,border-color .16s}.gameplay.game-shell .event-detail-dialog[open]{animation:.16s ease-out game-tab-enter}.gameplay.game-shell .ledger-entry-details[open]>summary .disclosure-arrow,.gameplay.game-shell .production-ledger-item>details[open]>summary .disclosure-arrow{transform:rotate(180deg)}.gameplay.game-shell .transaction-balances{color:#7a6547;margin-top:3px;font-weight:400;display:block}@media (prefers-reduced-motion:reduce){.gameplay.game-shell .event-detail-dialog[open],.gameplay.game-shell .event-overview-heading button,.gameplay.game-shell .event-group-controls button{transition:none;animation:none}}.gameplay.game-shell .investment-start-guide{color:#5a321b;background:#fff0c9;border:1px solid #c5994c;border-left:4px solid #c45b15;margin:0 0 8px;padding:9px 11px;font:14px/1.4 Cambria,Georgia,serif}.gameplay.game-shell .investment-start-guide p{margin:4px 0}.gameplay.game-shell .investment-start-guide small{font-size:12px}.gameplay.game-shell .recruit-crew{color:#ffe8af;cursor:pointer;background:#581823;border:1px solid #bd8d3e;border-radius:4px;grid-column:2/-1;justify-self:start;min-height:36px;padding:6px 9px;font:700 13px Cambria,Georgia,serif}.gameplay.game-shell .recruit-crew:disabled{opacity:.5;cursor:default}.gameplay.game-shell .quality-upgrade-art{width:56px;height:56px}.gameplay.game-shell .company-upgrades{margin:8px 0}@media (width<=699px){.gameplay.game-shell .quality-upgrade-art{width:40px;height:40px}.gameplay.game-shell .recruit-crew{font-size:12px}}.gameplay.game-shell .company-upgrades-panel{border-top:1px solid #c7a269;margin:12px 0;padding-top:10px}.gameplay.game-shell .company-upgrades-panel>summary{cursor:pointer;color:#6b311d;padding:5px 0;font:700 20px/1.3 Cambria,Georgia,serif}.gameplay.game-shell .enterprise-quality{flex-wrap:wrap;gap:8px 14px;padding:8px 0;font:14px Cambria,Georgia,serif;display:flex}.gameplay.game-shell .enterprise-quality small{color:#725333;flex-basis:100%;font-size:12px}@media (width<=699px){.gameplay.game-shell[data-economy-model="3"] .factory-scene.scene{height:clamp(100px,15svh,140px)}.gameplay.game-shell .company-upgrades-panel>summary{font-size:16px}}.gameplay.game-shell .starter-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.gameplay.game-shell .starter-actions button{color:#fff0c9;cursor:pointer;background:linear-gradient(#e98720,#a83a0c);border:1px solid #b77828;border-radius:5px;min-width:0;min-height:44px;padding:7px;font:700 14px/1.2 Cambria,Georgia,serif}.gameplay.game-shell .starter-actions button:disabled{opacity:.5;cursor:default}@media (width<=699px){.gameplay.game-shell .starter-actions button{font-size:12px}}.public-site{--public-wine:#680f16;--public-ink:#471c10;--public-gold:#dda943;--public-paper:#fff0d2;min-height:100svh;color:var(--public-ink);isolation:isolate;background:#700e18 url(/assets/landing-v2/wine.webp) 0 0/512px;padding:10px 0 0;font-size:17px;line-height:1.45}.public-site *{box-sizing:border-box}.public-site .sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.public-wrap{width:min(1480px,100% - 40px);margin-inline:auto}.public-site img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;display:block}.public-site svg{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.public-site h1,.public-site h2,.public-site h3{color:inherit;text-shadow:none;overflow-wrap:normal;margin:0 0 12px;line-height:1.15}.public-site p{margin:0 0 12px}.public-site a{text-decoration:none}.public-site button{cursor:pointer;color:inherit;font:inherit}.public-site button:disabled{cursor:default;opacity:.55}.public-site a:focus-visible,.public-site button:focus-visible,.public-site summary:focus-visible{outline-offset:4px;outline:3px solid #eaa721}.public-site input,.public-site select{color:#4b2b20;background:#fffaf1;border:1px solid #bd8f4d;border-radius:5px;min-width:0;max-width:100%;min-height:44px;padding:10px 12px;font:16px Georgia,Times New Roman,serif}.public-site input:focus-visible,.public-site select:focus-visible{outline-offset:2px;outline:3px solid #e8ad43}.art-text{vertical-align:middle;white-space:normal;flex-wrap:wrap;align-items:baseline;gap:0 .22em;max-width:100%;line-height:1.35;display:inline-flex}.art-text>svg{flex:none;max-width:100%;height:1.34375em;display:block;overflow:visible}:where(.public-site) .painted-frame{background-clip:padding-box;border:18px solid #0000;border-image:url(/assets/landing-v2/public-frame.webp) 310/40px}.public-header{color:#fff1cf;z-index:3;border-bottom:2px solid #d1a04b;grid-template-columns:minmax(190px,1fr) auto minmax(290px,1fr);align-items:center;gap:28px;min-height:76px;padding:0 12px 8px;display:grid;position:relative}.public-brand{width:246px;max-width:100%;display:block}.public-brand img{width:100%;height:68px}.public-nav{white-space:nowrap;justify-content:center;align-items:center;gap:30px;display:flex}.public-nav a{color:#fff1d6;align-items:center;min-height:44px;font-size:19px;transition:color .17s;display:flex}.public-nav a:hover,.public-nav a[aria-current=page]{color:#ffd47c}.public-nav a[aria-current=page]{border-bottom:2px solid #e9bb63}.public-account{justify-content:flex-end;align-items:center;gap:10px;display:flex}.public-button{min-height:48px;box-shadow:none;white-space:nowrap;background:linear-gradient(#ef6d0b,#ad2308);border:7px solid #0000;border-image:url(/assets/landing-v2/public-frame.webp) 310/13px;border-radius:0;justify-content:center;align-items:center;gap:9px;padding:7px 20px;transition:transform .15s,background-color .15s;display:inline-flex;color:#fff6d9!important}.public-button .art-text{flex-wrap:nowrap;justify-content:center}.public-button:hover{background:linear-gradient(#fc8422,#be300c)}.public-button:active{transform:translateY(2px)}.public-button-dark{background:#650d17 url(/assets/landing-v2/wine.webp) 0 0/400px}.public-button-dark:hover{background-blend-mode:screen;background-color:#90101c}.public-skip{color:#4b1d13;z-index:100;background:#fff0d2;padding:12px;position:absolute;top:-200px;left:16px}.public-skip:focus{top:8px}.public-server,.public-loading{color:#fff0d2;padding:18px}.public-landing{gap:10px;padding-top:8px;display:grid}.public-hero{isolation:isolate;background:#fff1d5 url(/assets/landing-v2/paper.webp) 0 0/512px;align-items:center;height:clamp(420px,31.5vw,500px);min-height:420px;padding:22px 26px;display:flex;position:relative}.public-hero-art{object-position:right center;z-index:0;width:68%;height:100%;position:absolute;inset:0 0 0 auto;object-fit:contain!important}.public-hero-copy{z-index:1;align-self:center;width:46%;max-width:620px;padding:4px 0 0;position:relative}.public-hero h1{margin:0 0 8px;line-height:0}.public-title-art{width:100%;height:auto;max-height:230px}.public-tagline{max-width:530px;font-size:20px;margin:10px 8px 18px!important}.public-join{border-width:12px;background:#fff5dccc;border-image-width:19px;padding:11px 10px;scroll-margin-top:16px;position:relative}.public-join-form{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.public-join-form label{min-width:0;display:block}.public-join-form input{color:#442315;width:100%;height:50px;box-shadow:none;background:#fffdf8;border:1px solid #a9793b;outline:none;font-size:18px}.public-join-form input:focus,.public-join-form input:focus-visible{box-shadow:none;border-color:#a9793b;outline:none}.public-join:focus-within{outline-offset:1px;outline:3px solid #e4ae41}.public-join-form input::placeholder{color:#6d6052;opacity:1}.public-join-form input:-webkit-autofill{-webkit-text-fill-color:#442315;box-shadow:inset 0 0 0 1000px #fffdf8}.public-join-form .public-button{min-height:52px;padding-inline:17px;font-size:19px}.public-join-name{grid-template-columns:minmax(0,1fr) auto}.public-join-status{grid-column:1/-1;font-size:15px;margin:0!important}.public-join-name small{margin-top:4px;font-size:12px;display:block}.public-change{background:0 0;border:0;border-bottom:1px solid #865d35;grid-column:1/-1;justify-self:start;min-height:36px;padding:4px 0;font-size:14px!important}.public-error{color:#a12216;font-size:15px;margin:10px 0 0!important}.public-how{background:var(--public-paper) url(/assets/landing-v2/paper.webp);background-size:512px;padding:8px 22px 10px}.public-section-title{text-align:center;margin:0 0 14px!important;font-size:30px!important}.public-section-title>.art-text{justify-content:center}.public-how ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none;display:grid}.public-how li{grid-template-columns:42% minmax(0,1fr);align-items:center;gap:14px;min-width:0;display:grid;position:relative}.public-how li+li{border-left:1px solid #cfaa68;padding-left:16px}.public-how li>img{object-fit:contain;width:100%;height:116px}.public-how h3{align-items:center;gap:9px;margin-bottom:4px;font-size:21px;display:flex}.public-step-number{color:#ffe1a0;background:#6a1119;border:1px solid #c6963a;border-radius:50%;flex:none;justify-content:center;align-items:center;width:35px;height:35px;font-size:20px;display:flex}.public-how p{margin:0;font-size:15px}.public-features{color:#ffe7a9;background:#720d18 url(/assets/landing-v2/wine.webp) 0 0/512px;padding:9px 24px 13px}.public-features .public-section-title{font-size:30px!important}.public-investment-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.public-investment-strip a{text-align:center;color:#fff0c9;flex-direction:column;align-items:center;min-width:0;font-size:17px;display:flex}.public-investment-strip img{object-fit:cover;border-radius:3px;width:100%;height:103px;-webkit-mask-image:linear-gradient(#0000,#000 12% 83%,#0000);mask-image:linear-gradient(#0000,#000 12% 83%,#0000)}.public-investment-strip a .art-text{justify-content:center;margin-top:3px}.public-wiki-link{justify-content:center;margin-top:14px;display:flex}.public-wiki-link img{object-fit:cover;width:30px;height:26px}.public-footer{text-align:center;color:#f0cf98;padding:12px;font-size:13px}.public-footer .art-text{justify-content:center}.public-site .public-modal{z-index:80;background:#24060bcc}.public-modal .card{color:#471c10;max-width:700px;max-height:88svh;box-shadow:none;background:#fff0d2 url(/assets/landing-v2/paper.webp) 0 0/512px;border-radius:0;padding:25px;overflow:auto}.public-modal h2{font-size:28px}.public-modal .btn{color:#fff1d6;box-shadow:none;background:linear-gradient(#e75d0c,#a9290f);border:1px solid #c7974b;border-radius:4px;min-height:44px}.public-modal .warn{color:#93261b;background:#f8d9b5}.public-modal label{margin:8px 0;display:block}.public-modal input{width:100%}.public-modal .settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;display:grid}.public-modal small{font-size:13px;display:block}.wiki-layout{grid-template-columns:270px minmax(0,1fr);align-items:stretch;gap:0;min-height:calc(100svh - 130px);padding-top:10px;display:grid}.wiki-sidebar{color:#ffe8a8;background:0 0;min-width:0;padding:18px 9px;position:relative;overflow:hidden}.wiki-sidebar nav{z-index:1;gap:8px;display:grid;position:relative}.wiki-sidebar button{text-align:left;width:100%;min-height:66px;color:inherit;background:0 0;border:0;border-bottom:1px solid #bd7a39;align-items:center;gap:9px;padding:8px;font-size:16px;display:flex}.wiki-sidebar button img{object-fit:contain;flex:none;width:30px;height:34px}.wiki-sidebar button.active{background:#870d18;border:6px solid #0000;border-image:url(/assets/landing-v2/public-frame.webp) 310/13px}.wiki-side-art{object-position:right bottom;width:100%;height:290px;margin-top:30px;position:sticky;top:26px;-webkit-mask-image:linear-gradient(#0000,#000 25%);mask-image:linear-gradient(#0000,#000 25%);object-fit:cover!important}.wiki-paper{background:var(--public-paper) url(/assets/landing-v2/paper.webp);color:#471c10;background-size:512px;min-width:0;padding:25px 28px}.wiki-heading h1{margin-bottom:4px;font-size:40px}.wiki-heading p{margin:0 0 22px;font-size:20px}.wiki-paper h2{margin:0 0 10px;font-size:24px}.wiki-paper h3{margin:0 0 3px;font-size:18px}.wiki-paper p{font-size:17px}.wiki-paper .wiki-meta{color:#805c3c;margin:12px 0;font-size:14px}.wiki-search{gap:8px;margin-bottom:20px;display:flex}.wiki-search input{flex:1;min-width:0}.wiki-entry-list{gap:10px;display:grid}.wiki-entry{text-align:left;background:#fffdeb40;border:1px solid #cda56b;border-radius:7px;grid-template-columns:34% minmax(0,1fr) 18px;align-items:center;gap:22px;width:100%;min-height:146px;padding:4px 15px 4px 4px;display:grid}.wiki-entry img{object-fit:cover;width:100%;height:145px;-webkit-mask-image:linear-gradient(90deg,#000 75%,#0000);mask-image:linear-gradient(90deg,#000 75%,#0000)}.wiki-entry h2{font-size:28px}.wiki-entry p{margin:0;font-size:18px}.wiki-chevron{color:#6e391d;font-size:34px}.wiki-notice{background:#ffe8b473;border:1px solid #cda56b;border-radius:6px;margin-top:20px;padding:16px 18px}.wiki-notice p:last-child{margin:0}.wiki-toolbar{flex-wrap:wrap;gap:10px;margin:18px 0 12px;display:flex}.wiki-toolbar input{flex:1;min-width:180px}.wiki-toolbar select{max-width:245px}.wiki-industry-selector{margin:0 0 15px;display:block}.wiki-industry-selector select{width:100%;font-weight:700}.wiki-article-top{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.wiki-article-top>.wiki-heading{flex:1}.wiki-article-top .wiki-industry-selector{width:260px;max-width:38%}.wiki-industry-head,.wiki-industry-row{grid-template-columns:2.4fr .75fr 1fr 1fr 1fr;align-items:center;gap:12px;display:grid}.wiki-industry-head{padding:10px;font-size:14px}.wiki-industry-list{gap:7px;display:grid}.wiki-industry-row{text-align:left;background:#fff7e059;border:1px solid #ceab76;border-radius:5px;width:100%;padding:7px 12px 7px 5px;font-size:15px!important}.wiki-industry-name{align-items:center;gap:12px;min-width:0;display:flex}.wiki-industry-name img{object-fit:cover;border-radius:2px;flex:none;width:96px;height:73px}.wiki-industry-row small{display:none}.wiki-industry-row.selected,.wiki-event-row.selected,.wiki-upgrade-row.selected{background:#f9d88f66;border-color:#a86c20}.wiki-pages{justify-content:center;align-items:center;gap:20px;margin:18px 0;display:flex}.wiki-pages button,.wiki-inline-actions button{background:#fff1cf;border:1px solid #b7843f;border-radius:4px;min-height:42px;padding:8px 14px}.wiki-industry-summary{border:1px solid #d1ad75;grid-template-columns:30% minmax(0,1fr);gap:20px;margin-top:18px;padding:15px;display:grid}.wiki-industry-summary>img{object-fit:cover;width:100%;height:170px}.wiki-inline-actions{flex-wrap:wrap;gap:8px;font-size:14px;display:flex}.wiki-article-hero{object-position:center 65%;width:100%;height:180px;margin:8px 0 20px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000);mask-image:linear-gradient(90deg,#0000,#000 5% 95%,#0000);object-fit:cover!important}.wiki-cost-cards{background:#fff5da59;border:1px solid #d0ac74;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 20px;padding:12px;display:grid}.wiki-cost-cards>div{align-items:center;gap:12px;min-width:0;font-size:20px;display:flex}.wiki-cost-cards>div+div{border-left:1px solid #d0ac74;padding-left:12px}.wiki-cost-cards img{object-fit:cover;flex:none;width:74px;height:74px}.wiki-process{border:1px solid #d0ac74;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:12px 0 20px;padding:12px;display:grid}.wiki-process>div{text-align:center;flex-direction:column;align-items:center;gap:8px;font-size:16px;display:flex;position:relative}.wiki-process>div+div:before{content:"";border:2px solid #b4812c;border-width:2px 2px 0 0;width:12px;height:12px;position:absolute;top:40%;left:-17px;transform:rotate(45deg)}.wiki-process img{object-fit:contain;width:100%;height:105px}.wiki-process .art-text{justify-content:center}.wiki-article-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;margin-top:18px;display:grid}.wiki-inset{background:#fff8e440;border:1px solid #d2b282;border-radius:5px;min-width:0;padding:16px}.wiki-receipt{margin:0}.wiki-receipt>div{border-bottom:1px solid #ddc29a;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;display:flex}.wiki-receipt>div:last-child{color:#256249;border-top:1px solid #b77f26;border-bottom:0;font-size:21px}.wiki-receipt dt{min-width:0}.wiki-receipt dd{text-align:right;flex:none;max-width:60%;margin:0}.wiki-fold{background:#fff6db40;border:1px solid #cfab70;border-radius:4px;margin-bottom:10px;padding:0 12px}.wiki-fold summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:8px 0;font-size:18px;list-style:none;display:flex}.wiki-fold summary::-webkit-details-marker{display:none}.wiki-fold-arrow{flex:none;display:block;transform:rotate(90deg)}.wiki-fold[open] .wiki-fold-arrow{transform:rotate(-90deg)}.wiki-fold>div{padding:4px 0 10px}.wiki-fold p{font-size:16px}.wiki-upgrade-list{gap:9px;margin-bottom:18px;display:grid}.wiki-upgrade-row{text-align:left;background:#fff7e04d;border:1px solid #cda56c;border-radius:5px;grid-template-columns:25% minmax(0,1fr) auto;align-items:center;gap:20px;padding:5px 14px 5px 5px;display:grid}.wiki-upgrade-row img{object-fit:cover;width:100%;height:85px;-webkit-mask-image:linear-gradient(90deg,#000 80%,#0000);mask-image:linear-gradient(90deg,#000 80%,#0000)}.wiki-upgrade-row h2{margin-bottom:3px;font-size:23px}.wiki-upgrade-row p{margin:0;font-size:16px}.wiki-quality{align-items:center;gap:15px;min-width:0;margin-bottom:14px;display:flex}.wiki-quality>img{object-fit:contain;flex:none;width:74px;height:76px}.wiki-quality p{margin:0;font-size:16px}.wiki-events-list{gap:7px;display:grid}.wiki-event-row{text-align:left;background:#fff7e24d;border:1px solid #cda66a;border-radius:5px;grid-template-columns:115px minmax(0,1fr) 20px;align-items:center;gap:20px;width:100%;padding:7px 15px 7px 7px;display:grid}.wiki-event-row>img{object-fit:contain;width:115px;height:90px}.wiki-event-row h2{margin-bottom:5px;font-size:23px}.wiki-event-row p{color:#8b6138;margin:0;font-size:15px}.wiki-event-detail{border-top:2px solid #c79a4b;margin-top:22px;padding-top:22px;scroll-margin-top:18px}.wiki-event-detail h2{font-size:28px}.wiki-event-detail label select{width:100%;margin:8px 0 18px}.wiki-event-detail-grid{grid-template-columns:30% minmax(0,1fr);gap:20px;margin:12px 0 20px;display:grid}.wiki-event-detail-grid>img{object-fit:contain;width:100%;height:240px}.wiki-event-detail .wiki-receipt>div:last-child{color:inherit;border-top:0;font-size:17px}.wiki-system-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0;display:grid}.wiki-system-grid>div{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.wiki-system-grid img{width:80px;height:80px}.wiki-system-grid .art-text{justify-content:center}.wiki-risk-pair .wiki-inset>img{object-fit:contain;width:100%;height:170px;margin-bottom:12px}.wiki-mobile-nav{display:none}@media (width>=1600px){.public-hero{min-height:490px}.public-how li>img{height:140px}.public-investment-strip img{height:130px}}@media (width<=1100px){.public-header{grid-template-columns:minmax(170px,1fr) auto minmax(240px,1fr);gap:15px}.public-brand{width:200px}.public-nav{gap:18px}.public-nav a{font-size:17px}.public-account{gap:7px}.public-account .public-button{padding-inline:12px;font-size:15px}.public-hero{height:auto;min-height:410px;padding:22px 15px}.public-hero-copy{width:49%}.public-tagline{font-size:17px}.public-hero-art{width:64%}.public-join-form{grid-template-columns:1fr}.public-join-form .public-button{width:100%;min-height:44px}.public-how{padding-inline:10px}.public-how li{grid-template-columns:1fr;gap:5px}.public-how li>img{height:100px}.public-how h3{font-size:19px}.public-how p{font-size:15px}.wiki-layout{grid-template-columns:210px minmax(0,1fr)}.wiki-sidebar{padding:10px 0}.wiki-sidebar button{gap:8px;padding-inline:5px;font-size:16px}.wiki-sidebar button img{width:29px;height:32px}.wiki-paper{padding:20px 17px}.wiki-heading h1{font-size:32px}.wiki-heading p{font-size:18px}.wiki-article-columns{grid-template-columns:1fr}.wiki-industry-head,.wiki-industry-row{grid-template-columns:2fr .7fr 1fr 1fr 1fr;gap:7px}.wiki-industry-name{gap:6px}.wiki-industry-name img{width:56px;height:55px}.wiki-industry-row{font-size:13px!important}.wiki-cost-cards>div{flex-direction:column;align-items:start;font-size:17px}.wiki-entry{gap:14px}.wiki-entry h2{font-size:23px}.wiki-entry p{font-size:16px}.wiki-upgrade-row{gap:12px}.wiki-upgrade-row h2{font-size:20px}}@media (width<=767px){.public-site{padding-top:3px;font-size:16px}.public-wrap{width:calc(100% - 20px)}.public-header{grid-template-columns:1fr auto;gap:4px 8px;min-height:96px;padding:0 4px 5px}.public-brand{width:160px}.public-brand img{height:53px}.public-nav{grid-area:2/1/auto/-1;gap:35px}.public-nav a{min-height:34px;font-size:16px}.public-account{gap:5px}.public-account .public-button{border-width:5px;border-image-width:10px;min-height:40px;padding:5px 10px;font-size:14px}.public-landing{gap:8px;padding-top:6px}:where(.public-site) .painted-frame{border-width:12px;border-image-width:23px}.public-hero{flex-direction:column;gap:0;height:auto;min-height:0;padding:18px 9px 2px;display:flex}.public-hero-copy{align-self:center;width:100%;max-width:600px;padding:0}.public-title-art{width:100%;max-height:none}.public-hero h1{margin-bottom:7px}.public-tagline{max-width:none;font-size:17px;margin:10px 2px 16px!important}.public-hero-art{z-index:0;order:2;width:calc(100% + 16px);max-width:none;height:auto;margin-top:7px;position:relative;inset:auto}.public-join{border-width:10px;border-image-width:18px;padding:9px 6px}.public-join-form{grid-template-columns:minmax(0,1fr) auto;gap:6px}.public-join-form input{height:47px;padding-inline:9px;font-size:16px}.public-join-form .public-button{width:auto;min-height:47px;padding-inline:10px;font-size:16px}.public-join-name{grid-template-columns:minmax(0,1fr) auto}.public-join-status{font-size:14px}.public-how{padding:10px}.public-section-title{font-size:25px!important}.public-how ol{grid-template-columns:1fr;gap:8px}.public-how li{grid-template-columns:36% minmax(0,1fr);gap:10px}.public-how li+li{border-top:1px solid #d4b883;border-left:0;padding:10px 0 0}.public-how li>img{height:105px}.public-how h3{font-size:20px}.public-how p{font-size:15px}.public-step-number{width:29px;height:29px;font-size:17px}.public-features{padding:11px 10px}.public-features .public-section-title{font-size:23px!important}.public-investment-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-investment-strip a:last-child{grid-column:1/-1;justify-self:center;width:100%;max-width:50%}.public-investment-strip a{font-size:16px}.public-investment-strip img{height:110px}.public-wiki-link{margin-top:10px}.public-modal .card{width:calc(100% - 24px);max-height:90svh;padding:20px 14px}.public-modal h2{font-size:24px}.wiki-layout{min-height:70svh;padding-top:8px;display:block}.wiki-sidebar{display:none}.wiki-paper{border-width:12px;padding:15px 12px}.wiki-mobile-nav{margin-bottom:17px;display:block}.wiki-mobile-nav select{color:#fff0c9;background:#77121c;border:1px solid #c99a46;width:100%}.wiki-heading h1{font-size:30px}.wiki-heading p{margin-bottom:16px;font-size:17px}.wiki-paper h2{font-size:22px}.wiki-paper p{font-size:16px}.wiki-search{gap:5px}.wiki-search input{width:0}.wiki-search .public-button{padding-inline:9px;font-size:14px}.wiki-entry{grid-template-columns:30% minmax(0,1fr) 12px;gap:10px;min-height:130px;padding:8px}.wiki-entry img{height:110px}.wiki-entry h2{font-size:20px}.wiki-entry p{font-size:15px}.wiki-chevron{font-size:26px}.wiki-notice{margin-top:16px;padding:12px}.wiki-toolbar{gap:7px}.wiki-toolbar input{flex:auto;width:100%;min-width:100%}.wiki-toolbar select{flex:1;width:100%;min-width:0;max-width:none}.wiki-toolbar input,.wiki-toolbar select{font-size:16px}.wiki-industry-head{display:none}.wiki-industry-list{gap:12px}.wiki-industry-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;padding:10px;font-size:16px!important}.wiki-industry-name{grid-column:1/-1;gap:13px}.wiki-industry-name img{width:90px;height:65px}.wiki-industry-row small{color:#8d653b;font-size:12px;display:block}.wiki-industry-summary{grid-template-columns:1fr;padding:12px}.wiki-industry-summary>img{width:100%;height:150px}.wiki-inline-actions{gap:8px;display:grid}.wiki-article-top{display:block}.wiki-article-top .wiki-industry-selector{width:100%;max-width:none}.wiki-article-hero{height:145px}.wiki-cost-cards{gap:5px;padding:9px}.wiki-cost-cards>div{gap:7px;font-size:15px}.wiki-cost-cards>div+div{padding-left:6px}.wiki-cost-cards img{width:55px;height:55px}.wiki-process{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wiki-process img{height:90px}.wiki-process>div+div:before{display:none}.wiki-article-columns{gap:12px}.wiki-inset{padding:12px}.wiki-receipt>div{gap:10px}.wiki-receipt>div:last-child{font-size:19px}.wiki-fold{padding:0 10px}.wiki-fold summary{font-size:17px}.wiki-upgrade-row{grid-template-columns:78px minmax(0,1fr);gap:9px;padding:7px}.wiki-upgrade-row>img{object-fit:cover;width:78px;height:80px;-webkit-mask-image:none;mask-image:none}.wiki-upgrade-row>div{min-width:0}.wiki-upgrade-row>span{color:#885114;grid-column:2;font-size:15px}.wiki-upgrade-row h2{font-size:20px}.wiki-upgrade-row p{font-size:15px}.wiki-quality{align-items:flex-start;gap:10px}.wiki-quality>img{width:61px;height:65px}.wiki-event-row{grid-template-columns:76px minmax(0,1fr) 12px;gap:10px;padding:7px}.wiki-event-row>img{width:76px;height:79px}.wiki-event-row h2{font-size:20px}.wiki-event-row p{font-size:14px}.wiki-event-detail h2{font-size:24px}.wiki-event-detail-grid{grid-template-columns:1fr;gap:10px}.wiki-event-detail-grid>img{height:170px}.wiki-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wiki-system-grid .art-text{font-size:15px}.wiki-risk-pair .wiki-inset>img{height:140px}}@media (width>=768px) and (width<=1023px){.wiki-layout{display:block}.wiki-sidebar{display:none}.wiki-mobile-nav{margin-bottom:18px;display:block}.wiki-mobile-nav select{color:#fff0c9;background:#77121c;border-color:#c99a46;width:100%}}@media (width<=380px){.public-brand{width:135px}.public-account .public-button{padding-inline:7px;font-size:13px}.public-join-form{grid-template-columns:1fr}.public-join-form .public-button{width:100%}}@media (prefers-reduced-motion:no-preference){.public-site main{animation:.22s ease-out public-arrive}.wiki-entry:hover img,.public-investment-strip a:hover img{transition:transform .18s;transform:translateY(-2px)}.wiki-fold[open]>div{animation:.18s ease-out public-arrive}@keyframes public-arrive{0%{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}}
